mirror of
git://gcc.gnu.org/git/gcc.git
synced 2025-03-09 05:16:48 +08:00
Testcase for ia64-linux extract_muldiv bug.
* execute/20000503-1.c: New test for extract_muldiv bug. From-SVN: r33642
This commit is contained in:
parent
a6d7adfd47
commit
8ae7150163
@ -1,3 +1,7 @@
|
||||
Wed May 3 13:02:10 2000 Jim Wilson <wilson@cygnus.com>
|
||||
|
||||
* execute/20000503-1.c: New test for extract_muldiv bug.
|
||||
|
||||
Thu Apr 27 15:58:18 MET DST 2000 Jan Hubicka <jh@suse.cz>
|
||||
|
||||
* compile/20000427-1.c: New test for loop hoisting code
|
||||
|
13
gcc/testsuite/gcc.c-torture/execute/20000503-1.c
Normal file
13
gcc/testsuite/gcc.c-torture/execute/20000503-1.c
Normal file
@ -0,0 +1,13 @@
|
||||
unsigned long
|
||||
sub (int a)
|
||||
{
|
||||
return ((0 > a - 2) ? 0 : a - 2) * sizeof (long);
|
||||
}
|
||||
|
||||
main ()
|
||||
{
|
||||
if (sub1 (0) != 0)
|
||||
abort ();
|
||||
|
||||
exit (0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user