New test: gcc.dg/991129-1.c
authorBernd Schmidt <bernds@cygnus.co.uk>
Mon, 29 Nov 1999 12:18:56 +0000 (12:18 +0000)
committerBernd Schmidt <crux@gcc.gnu.org>
Mon, 29 Nov 1999 12:18:56 +0000 (12:18 +0000)
From-SVN: r30703

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/991129-1.c [new file with mode: 0644]

index 146865a08f4ae934f194a773fb8dd6688617864d..4f72f8069abae9645596b22b51040565e2747ee6 100644 (file)
@@ -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 (file)
index 0000000..24faefd
--- /dev/null
@@ -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;
+}