* gcc.dg/h8300-stack-1.c: New.

From-SVN: r60785
This commit is contained in:
Kazu Hirata 2003-01-02 15:01:14 +00:00 committed by Kazu Hirata
parent 8ccf5d5fe8
commit cb203576cf
2 changed files with 18 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2003-01-02 Kazu Hirata <kazu@cs.umass.edu>
* gcc.dg/h8300-stack-1.c: New.
2003-01-01 Nathanael Nerode <neroden@gcc.gnu.org>
g++.dg/lookup/exception1.C: New test.

View File

@ -0,0 +1,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" } } */