diff options
author | Eric Botcazou <ebotcazou@adacore.com> | 2008-01-17 12:42:20 +0000 |
---|---|---|
committer | Eric Botcazou <ebotcazou@gcc.gnu.org> | 2008-01-17 12:42:20 +0000 |
commit | 7c1950cdf15a9a1b0509ef0cff47411a2a812ec2 (patch) | |
tree | d26acc8fe95807fe73e36d8330c1cd0daa54eaba | |
parent | 8a5b57cdfd40c2996c755d4cc2707c5ea3c2ca67 (diff) | |
download | gcc-7c1950cdf15a9a1b0509ef0cff47411a2a812ec2.zip gcc-7c1950cdf15a9a1b0509ef0cff47411a2a812ec2.tar.gz gcc-7c1950cdf15a9a1b0509ef0cff47411a2a812ec2.tar.bz2 |
20080114-1.c: Use empty asm statements.
* gcc.c-torture/compile/20080114-1.c: Use empty asm statements.
From-SVN: r131596
-rw-r--r-- | gcc/testsuite/ChangeLog | 4 | ||||
-rw-r--r-- | gcc/testsuite/gcc.c-torture/compile/20080114-1.c | 4 |
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)); } } |