1 /* This used to fail on H8/300 due to incorrect specification of pushi1.  */
2 
3 /* { dg-do run } */
4 /* { dg-options "-O2" } */
5 /* { dg-options "-O2 -fomit-frame-pointer" { target h8300-*-* } } */
6 
7 extern void abort (void);
8 extern void exit (int);
9 
10 void
bar(int a,int b,int c,int d,int e)11 bar (int a, int b, int c, int d, int e)
12 {
13   if (d != 1)
14     abort ();
15 }
16 
17 void
foo(int a,int b,int c,int d,int e)18 foo (int a, int b, int c, int d, int e)
19 {
20   bar (a, b, c, d, e);
21 }
22 
23 int
main()24 main ()
25 {
26   foo (0, 0, 0, 1, 2);
27   exit (0);
28 }
29