aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Weigand <uweigand@de.ibm.com>2011-11-18 18:17:05 +0000
committerUlrich Weigand <uweigand@gcc.gnu.org>2011-11-18 18:17:05 +0000
commit4a0051e4db55a7de184bc51f9d2a03b352d16420 (patch)
tree3080c95511109c9741b3771e303fc842c79bf7cf
parent7bc6df2ca1e069c9cd2b58d5b0560d2bd7ffe703 (diff)
downloadgcc-4a0051e4db55a7de184bc51f9d2a03b352d16420.zip
gcc-4a0051e4db55a7de184bc51f9d2a03b352d16420.tar.gz
gcc-4a0051e4db55a7de184bc51f9d2a03b352d16420.tar.bz2
pr44707.c: Do not assume assembler supports /* ...
* gcc.c-torture/compile/pr44707.c: Do not assume assembler supports /* ... */ comments. From-SVN: r181489
-rw-r--r--gcc/testsuite/ChangeLog5
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/pr44707.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index b22ebc6..ca5740f 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,8 @@
+2011-11-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
+
+ * gcc.c-torture/compile/pr44707.c: Do not assume assembler
+ supports /* ... */ comments.
+
2011-11-18 Paolo Carlini <paolo.carlini@oracle.com>
PR c++/51150
diff --git a/gcc/testsuite/gcc.c-torture/compile/pr44707.c b/gcc/testsuite/gcc.c-torture/compile/pr44707.c
index 9031f00..d5d39fc 100644
--- a/gcc/testsuite/gcc.c-torture/compile/pr44707.c
+++ b/gcc/testsuite/gcc.c-torture/compile/pr44707.c
@@ -9,6 +9,6 @@ foo (void)
int e3 = v.b;
int e4 = v.c;
int e5 = v.d;
- __asm__ volatile ("/* %0 %1 %2 %3 %4 */" : : "nro" (e1), "nro" (e2), "nro" (e3), "nro" (e4), "nro" (e5));
+ __asm__ volatile ("" : : "nro" (e1), "nro" (e2), "nro" (e3), "nro" (e4), "nro" (e5));
}