summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.dg/h8300-stack-1.c
blob: b63bde29c9ceb82b1d29f3651f3aab4d559f4707 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
/* Make sure that the H8 backend does not generate a non-atomic stack
   adjustment.  */
/* { dg-do compile { target h8300-*-* } } */
/* { dg-options "" } */

void foo (short, short, short, short, short, short);

void
bar ()
{
  foo (0, 0, 0, 0, 0, 0);
}

/* { dg-final { scan-assembler-not "addx" } } */