Commit a5ad11e1 by Jakub Jelinek Committed by Jakub Jelinek

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

From-SVN: r36891
parent f2a9645f
2000-10-16 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/20001013-1.c: New test.
2000-10-16 Joseph S. Myers <jsm28@cam.ac.uk> 2000-10-16 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/format-branch-1.c: New test. * gcc.dg/format-branch-1.c: New test.
......
struct x {
int a, b;
} z = { -4028, 4096 };
int foo(struct x *p, int y)
{
if ((y & 0xff) != y || -p->b >= p->a)
return 1;
return 0;
}
main()
{
if (foo (&z, 10))
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