Merge from mainline.
[official-gcc.git] / gcc / testsuite / gcc.dg / 20020210-1.c
blob369963b25bdd682d613e986d1e78ca8be3d7c49c
1 /* This used to fail on H8/300 due to incorrect specification of pushi1. */
3 /* { dg-do run } */
4 /* { dg-options "-O2" } */
5 /* { dg-options "-O2 -fomit-frame-pointer" { target h8300-*-* } } */
7 extern void abort (void);
8 extern void exit (int);
10 void
11 bar (int a, int b, int c, int d, int e)
13 if (d != 1)
14 abort ();
17 void
18 foo (int a, int b, int c, int d, int e)
20 bar (a, b, c, d, e);
23 int
24 main ()
26 foo (0, 0, 0, 1, 2);
27 exit (0);