diff options
author | Kazu Hirata <kazu@cs.umass.edu> | 2003-01-02 15:01:14 +0000 |
---|---|---|
committer | Kazu Hirata <kazu@gcc.gnu.org> | 2003-01-02 15:01:14 +0000 |
commit | cb203576cf1cceb5bbeb402e5a0e571e6f8a99aa (patch) | |
tree | 1cda42e954a54411cbd824d6bcf1199570c61145 | |
parent | 8ccf5d5fe8ab1facea7ad7563d11edf5fb56411c (diff) | |
download | gcc-cb203576cf1cceb5bbeb402e5a0e571e6f8a99aa.zip gcc-cb203576cf1cceb5bbeb402e5a0e571e6f8a99aa.tar.gz gcc-cb203576cf1cceb5bbeb402e5a0e571e6f8a99aa.tar.bz2 |
* gcc.dg/h8300-stack-1.c: New.
From-SVN: r60785
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/h8300-stack-1.c | 14 |
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 4439f02..ada2e5a 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -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. diff --git a/gcc/testsuite/gcc.dg/h8300-stack-1.c b/gcc/testsuite/gcc.dg/h8300-stack-1.c new file mode 100644 index 0000000..b63bde2 --- /dev/null +++ b/gcc/testsuite/gcc.dg/h8300-stack-1.c @@ -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" } } */ |