* gcc.dg/20020210-1.c: New.
From-SVN: r49657
This commit is contained in:
parent
232bd029ee
commit
b516907f33
@ -1,3 +1,7 @@
|
||||
2002-02-10 Kazu Hirata <kazu@hxi.com>
|
||||
|
||||
* gcc.dg/20020210-1.c: New.
|
||||
|
||||
2002-02-09 Toon Moene <toon@moene.indiv.nluug.nl>
|
||||
|
||||
* g77.f-torture/execute/947.f: New regression test
|
||||
|
28
gcc/testsuite/gcc.dg/20020210-1.c
Normal file
28
gcc/testsuite/gcc.dg/20020210-1.c
Normal file
@ -0,0 +1,28 @@
|
||||
/* This used fail on H8/300 due to incorrect specification of pushi1. */
|
||||
|
||||
/* { dg-do run } */
|
||||
/* { dg-options "-O2" } */
|
||||
/* { dg-options "-O2 -fomit-frame-pointer" { target h8300-*-* } } */
|
||||
|
||||
extern void abort (void);
|
||||
extern void exit (int);
|
||||
|
||||
void
|
||||
bar (int a, int b, int c, int d, int e)
|
||||
{
|
||||
if (d != 1)
|
||||
abort ();
|
||||
}
|
||||
|
||||
void
|
||||
foo (int a, int b, int c, int d, int e)
|
||||
{
|
||||
bar (a, b, c, d, e);
|
||||
}
|
||||
|
||||
int
|
||||
main ()
|
||||
{
|
||||
foo (0, 0, 0, 1, 2);
|
||||
exit (0);
|
||||
}
|
Loading…
Reference in New Issue
Block a user