diff options
author | Bernd Schmidt <bernds@cygnus.co.uk> | 1999-11-29 12:18:56 +0000 |
---|---|---|
committer | Bernd Schmidt <crux@gcc.gnu.org> | 1999-11-29 12:18:56 +0000 |
commit | 97c1c80b37a9f61753836c4dd059e9bf4a06f099 (patch) | |
tree | 7285b98b397c836a998dca303d3d9b77c7480e18 /gcc | |
parent | 96b42f4c8c58667385e0090ef8f0765751ef7472 (diff) | |
download | gcc-97c1c80b37a9f61753836c4dd059e9bf4a06f099.zip gcc-97c1c80b37a9f61753836c4dd059e9bf4a06f099.tar.gz gcc-97c1c80b37a9f61753836c4dd059e9bf4a06f099.tar.bz2 |
New test: gcc.dg/991129-1.c
From-SVN: r30703
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.dg/991129-1.c | 15 |
2 files changed, 19 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index 146865a..4f72f80 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +1999-11-29 Bernd Schmidt <bernds@cygnus.co.uk> + + * gcc.dg/991129-1.c: New test. + 1999-11-22 Nathan Sidwell <nathan@acm.org> * g++.old-deja/g++.other/warn4.C: New test. diff --git a/gcc/testsuite/gcc.dg/991129-1.c b/gcc/testsuite/gcc.dg/991129-1.c new file mode 100644 index 0000000..24faefd --- /dev/null +++ b/gcc/testsuite/gcc.dg/991129-1.c @@ -0,0 +1,15 @@ +/* Test against a problem in push_reload. */ + +/* { dg-do compile { target i?86-*-* } } */ +/* { dg-options "-O2" } */ + +unsigned long foo (unsigned long long x, unsigned long y) +{ + unsigned long a; + + x += y; + + asm ("" : "=a" (a) : "A" (x), "rm" (y)); + + return a; +} |