| Submitter | Richard Guenther |
|---|---|
| Date | July 26, 2010, 9:14 a.m. |
| Message ID | <alpine.LNX.2.00.1007261113310.25856@zhemvz.fhfr.qr> |
| Download | mbox | patch |
| Permalink | /patch/59900/ |
| State | New |
| Headers | show |
Comments
Patch
Index: gcc/testsuite/gcc.c-torture/execute/pr45017.c =================================================================== --- gcc/testsuite/gcc.c-torture/execute/pr45017.c (revision 162526) +++ gcc/testsuite/gcc.c-torture/execute/pr45017.c (working copy) @@ -1,22 +0,0 @@ -int tester(char *bytes) -{ - union { - struct { - unsigned int r1:4; - unsigned int r2:4; - } fmt; - char value[1]; - } ovl; - - ovl.value[0] = bytes[0]; - return ovl.fmt.r1; -} -extern void abort (void); -int main() -{ - char buff = 0x2f; - if (tester(&buff) != 0x0f) - abort (); - return 0; -} -