gcc/testsuite/gcc.dg/h8300-stack-1.c
raw| 1 | /* Make sure that the H8 backend does not generate a non-atomic stack |
| 2 | adjustment. */ |
| 3 | /* { dg-do compile { target h8300-*-* } } */ |
| 4 | /* { dg-options "" } */ |
| 5 | |
| 6 | void foo (short, short, short, short, short, short); |
| 7 | |
| 8 | void |
| 9 | bar () |
| 10 | { |
| 11 | foo (0, 0, 0, 0, 0, 0); |
| 12 | } |
| 13 | |
| 14 | /* { dg-final { scan-assembler-not "addx" } } */ |