]>
Commit | Line | Data |
---|---|---|
b11b0178 | 1 | /* This used to fail on H8/300 due to incorrect specification of pushi1. */ |
b516907f KH |
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 | |
11 | bar (int a, int b, int c, int d, int e) | |
12 | { | |
13 | if (d != 1) | |
14 | abort (); | |
15 | } | |
16 | ||
17 | void | |
18 | foo (int a, int b, int c, int d, int e) | |
19 | { | |
20 | bar (a, b, c, d, e); | |
21 | } | |
22 | ||
23 | int | |
24 | main () | |
25 | { | |
26 | foo (0, 0, 0, 1, 2); | |
27 | exit (0); | |
28 | } |