aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/testsuite/ChangeLog4
-rw-r--r--gcc/testsuite/gcc.c-torture/compile/20080114-1.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog
index a4a9546..329c57a 100644
--- a/gcc/testsuite/ChangeLog
+++ b/gcc/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2008-01-17 Eric Botcazou <ebotcazou@adacore.com>
+
+ * gcc.c-torture/compile/20080114-1.c: Use empty asm statements.
+
2008-01-17 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34825
diff --git a/gcc/testsuite/gcc.c-torture/compile/20080114-1.c b/gcc/testsuite/gcc.c-torture/compile/20080114-1.c
index 51affb7..f251c22 100644
--- a/gcc/testsuite/gcc.c-torture/compile/20080114-1.c
+++ b/gcc/testsuite/gcc.c-torture/compile/20080114-1.c
@@ -6,9 +6,9 @@ int type;
void stuck(int res)
{
if (type == 1) {
- if (res == 0) asm volatile("nop");
+ if (res == 0) asm volatile("");
}
else if (type == 0) {
- if (res == 0) asm volatile("nop" : : "i" (0));
+ if (res == 0) asm volatile("" : : "i" (0));
}
}