Commit 529c0acb by Jakub Jelinek Committed by Jakub Jelinek

* gcc.c-torture/execute/loop-7.c: New test.

From-SVN: r37430
parent b7438415
2000-11-13 Jakub Jelinek <jakub@redhat.com>
* gcc.c-torture/execute/loop-7.c: New test.
2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk> 2000-11-13 Joseph S. Myers <jsm28@cam.ac.uk>
* gcc.dg/c99-mixdecl-1.c, gcc.dg/c90-mixdecl-1.c: New tests. * gcc.dg/c99-mixdecl-1.c, gcc.dg/c90-mixdecl-1.c: New tests.
......
void foo (unsigned int n)
{
int i, j = -1;
for (i = 0; i < 10 && j < 0; i++)
{
if ((1UL << i) == n)
j = i;
}
if (j < 0)
abort ();
}
main()
{
foo (64);
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