From: Eric Botcazou Date: Thu, 17 Jan 2008 12:42:20 +0000 (+0000) Subject: 20080114-1.c: Use empty asm statements. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7c1950cdf15a9a1b0509ef0cff47411a2a812ec2;p=gcc.git 20080114-1.c: Use empty asm statements. * gcc.c-torture/compile/20080114-1.c: Use empty asm statements. From-SVN: r131596 --- diff --git a/gcc/testsuite/ChangeLog b/gcc/testsuite/ChangeLog index a4a95462c03..329c57a969e 100644 --- a/gcc/testsuite/ChangeLog +++ b/gcc/testsuite/ChangeLog @@ -1,3 +1,7 @@ +2008-01-17 Eric Botcazou + + * gcc.c-torture/compile/20080114-1.c: Use empty asm statements. + 2008-01-17 Richard Guenther 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 51affb7bddc..f251c22b96e 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)); } }