Testcase for loop reversal (check_dbra_loop) bug.
From-SVN: r19031
This commit is contained in:
parent
668d07befc
commit
d6a007a2ab
|
@ -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.
|
||||
|
|
|
@ -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;
|
||||
}
|
Loading…
Reference in New Issue