New testcase
authorBernd Schmidt <bernds@cygnus.co.uk>
Tue, 14 Dec 1999 10:01:23 +0000 (10:01 +0000)
committerBernd Schmidt <crux@gcc.gnu.org>
Tue, 14 Dec 1999 10:01:23 +0000 (10:01 +0000)
From-SVN: r30908

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

index 6374f1191add9e38a852330160d3f5eeaf8d7eb3..4aa9038fa6908ff577645b681a76263ca24d1bf4 100644 (file)
@@ -1,3 +1,7 @@
+1999-12-14  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * gcc.dg/991214-1.c: New test.
+       
 Mon Dec 13 23:03:09 1999  Jeffrey A Law  (law@cygnus.com)
 
        * gcc.c-torture/compile/991213-3.c: New test.
diff --git a/gcc/testsuite/gcc.dg/991214-1.c b/gcc/testsuite/gcc.dg/991214-1.c
new file mode 100644 (file)
index 0000000..2bc7f3f
--- /dev/null
@@ -0,0 +1,7 @@
+/* { dg-do compile { target i?86-*-* } } */
+
+int foo (int, int) __attribute__ ((regparm (3)));
+int foo (int x, int y)
+{
+  asm volatile("" : : "d" (x), "r" (y));
+}