20080114-1.c: Use empty asm statements.
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 17 Jan 2008 12:42:20 +0000 (12:42 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 17 Jan 2008 12:42:20 +0000 (12:42 +0000)
* gcc.c-torture/compile/20080114-1.c: Use empty asm statements.

From-SVN: r131596

gcc/testsuite/ChangeLog
gcc/testsuite/gcc.c-torture/compile/20080114-1.c

index a4a95462c037f671ffa17dcd4ce3711e1897a536..329c57a969e7b5db22c760df846e2cbc1fcf7d57 100644 (file)
@@ -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
index 51affb7bddc9b89dc22b1d3a86a04438bf588c6a..f251c22b96ee185c661d1717447a367254cd09f4 100644 (file)
@@ -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));
   }
 }