Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 129116 Details for
Bug 190154
gcc 4.2.0 miscompiles bitfields
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
testcase that miscompiles for me
bitbug.c (text/plain), 262 bytes, created by
Reimar Döffinger
on 2007-08-25 08:27:58 UTC
(
hide
)
Description:
testcase that miscompiles for me
Filename:
MIME Type:
Creator:
Reimar Döffinger
Created:
2007-08-25 08:27:58 UTC
Size:
262 bytes
patch
obsolete
>#include <stdio.h> > >struct { > int test1 : 1; > int test2 : 1; >} bf; > >int main(int argc, char *argv[]) { > int a = atoi(argv[1]); > int b = atoi(argv[2]); > bf.test1 = !a; > bf.test2 = !b; > printf("vals: %i %i %i %i\n", a, bf.test1, b, bf.test2); > return 0; >}
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 190154
: 129116