Commit da4ce9c2 by Jeffrey A Law Committed by Jeff Law

* gcc.c-torture/execute/980612-1.c: New test.

From-SVN: r20438
parent 19a86235
Fri Jun 12 01:08:49 1998 Jeffrey A Law (law@cygnus.com)
* gcc.c-torture/execute/980612-1.c: New test.
Mon Jun 8 02:13:42 1998 Jeffrey A Law (law@cygnus.com)
* gcc.dg/980523-1.c: Only test on ppc-linux.
......
struct fd
{
unsigned char a;
unsigned char b;
} f = { 5 };
struct fd *g() { return &f; }
int h() { return -1; }
int main()
{
struct fd *f = g();
f->b = h();
if (((f->a & 0x7f) & ~0x10) <= 2)
abort ();
exit (0);
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment