aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@libertysurf.fr>2006-12-17 20:58:27 +0100
committerEric Botcazou <ebotcazou@gcc.gnu.org>2006-12-17 19:58:27 +0000
commitd3f1be5dcd17b4c11648708a4e2786de03c6f9af (patch)
tree6b40108e34e21eab768398a66056803086b8d5aa
parentfcd443200bdf5cefcfd2a711ae6fae6239443aca (diff)
downloadgcc-d3f1be5dcd17b4c11648708a4e2786de03c6f9af.zip
gcc-d3f1be5dcd17b4c11648708a4e2786de03c6f9af.tar.gz
gcc-d3f1be5dcd17b4c11648708a4e2786de03c6f9af.tar.bz2
pr27528.c: Use empty templates.
* gcc.c-torture/compile/pr27528.c: Use empty templates. From-SVN: r119991
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr27528.c12
2 files changed, 10 insertions, 6 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index ffb2e3a..56331b7 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2006-12-17 Eric Botcazou <ebotcazou@libertysurf.fr>
+
+ * gcc.c-torture/compile/pr27528.c: Use empty templates.
+
2006-12-17 Steven G. Kargl <kargl@gcc.gnu.org>
PR fortran/30207
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr27528.c b/gcc/testsuite/gcc.c-torture/compile/pr27528.c
index ee3cf65..2e732f4 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr27528.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr27528.c
@@ -6,13 +6,13 @@ int x[2] = { 1, 2 };
static inline void __attribute__((__always_inline__))
insn1 (int x)
{
- asm volatile ("# %0 %1" :: "n" (x), "i" (x));
+ asm volatile ("" :: "n" (x), "i" (x));
}
static inline void __attribute__((__always_inline__))
insn2 (const void *x)
{
- asm volatile ("# %0 %1" :: "s" (x), "i" (x));
+ asm volatile ("" :: "s" (x), "i" (x));
}
#endif
@@ -29,10 +29,10 @@ foo (void)
insn2 (&x[1]);
insn2 ("string");
#endif
- asm volatile ("# %0 %1" :: "s" (x), "i" (x));
+ asm volatile ("" :: "s" (x), "i" (x));
/* At the time of writing, &x[1] is decomposed before reaching expand
when compiling with -O0. */
- asm volatile ("# %0 %1" :: "s" ("string"), "i" ("string"));
- asm volatile ("# %0 %1" :: "s" (__FILE__), "i" (__FILE__));
- asm volatile ("# %0 %1" :: "s" (__FUNCTION__), "i" (__FUNCTION__));
+ asm volatile ("" :: "s" ("string"), "i" ("string"));
+ asm volatile ("" :: "s" (__FILE__), "i" (__FILE__));
+ asm volatile ("" :: "s" (__FUNCTION__), "i" (__FUNCTION__));
}