aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr17529.c13
2 files changed, 18 insertions, 0 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index 38f1950..66a07d7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -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
index 0000000..fc6a0ad
--- /dev/null
+++ b/gcc/testsuite/gcc.c-torture/compile/pr17529.c
@@ -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);
+}