diff options
author | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-17 19:58:27 +0000 |
---|---|---|
committer | ebotcazou <ebotcazou@138bc75d-0d04-0410-961f-82ee72b054a4> | 2006-12-17 19:58:27 +0000 |
commit | 3bcef99fa3e41347ffc0920d3dc7289f51fc9126 (patch) | |
tree | 6b40108e34e21eab768398a66056803086b8d5aa | |
parent | eb89ca849119c8c61dc92a7edaf2b3879ee03941 (diff) | |
download | gcc-3bcef99fa3e41347ffc0920d3dc7289f51fc9126.tar.gz |
* gcc.c-torture/compile/pr27528.c: Use empty templates.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@119991 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/pr27528.c | 12 |
2 files changed, 10 insertions, 6 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index ffb2e3a7d76..56331b7ab5a 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 ee3cf656fb1..2e732f47887 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__)); } |