OSDN Git Service

2004-10-17 Andrew Pinski <pinskia@physics.uc.edu>
authorpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Oct 2004 17:24:59 +0000 (17:24 +0000)
committerpinskia <pinskia@138bc75d-0d04-0410-961f-82ee72b054a4>
Sun, 17 Oct 2004 17:24:59 +0000 (17:24 +0000)
        PR c/17529
        * gcc.c-torture/compile/pr17529.c: New test.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89175 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/pr17529.c [new file with mode: 0644]

index 38f1950..66a07d7 100644 (file)
@@ -1,3 +1,8 @@
+2004-10-17  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR c/17529
+       * gcc.c-torture/compile/pr17529.c: New test.
+
 2004-10-17  Giovanni Bajo  <giovannibajo@gcc.gnu.org>
 
        PR c++/17743
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr17529.c b/gcc/testsuite/gcc.c-torture/compile/pr17529.c
new file mode 100644 (file)
index 0000000..fc6a0ad
--- /dev/null
@@ -0,0 +1,13 @@
+static inline void 
+bar (const int * const x) 
+{ 
+  __asm__ __volatile__ ("paddd" " %0, %%" "mm0"::"m" (*x)); 
+} 
+static const int y[]; 
+void 
+foo (void) 
+{ 
+  bar (y); 
+}