Testcase for loop reversal (check_dbra_loop) bug.

From-SVN: r19031
This commit is contained in:
Jim Wilson 1998-04-07 12:02:08 +00:00 committed by Jim Wilson
parent 668d07befc
commit d6a007a2ab
2 changed files with 20 additions and 0 deletions

View File

@ -1,3 +1,7 @@
Tue Apr 7 12:01:24 1998 Jim Wilson <wilson@cygnus.com>
* execute/980407-1.c: New test from Joern Rennecke.
Fri Apr 3 12:27:49 1998 Jim Wilson <wilson@cygnus.com>
* compile/980329-1.c: New test.

View File

@ -0,0 +1,16 @@
int
f()
{
int j = 1;
long i;
for (i = -0x70000000L; i < 0x60000000L; i += 0x10000000L) j <<= 1;
return j;
}
int
main ()
{
if (f () != 8192)
abort ();
return 0;
}