From 7c1950cdf15a9a1b0509ef0cff47411a2a812ec2 Mon Sep 17 00:00:00 2001 From: Eric Botcazou Date: Thu, 17 Jan 2008 12:42:20 +0000 Subject: [PATCH] 20080114-1.c: Use empty asm statements. * gcc.c-torture/compile/20080114-1.c: Use empty asm statements. From-SVN: r131596 --- gcc/testsuite/ChangeLog | 4 ++++ 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 + + * 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 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)); } } -- 2.7.4