Commit 7c1950cd by Eric Botcazou Committed by Eric Botcazou

20080114-1.c: Use empty asm statements.

	* gcc.c-torture/compile/20080114-1.c: Use empty asm statements.

From-SVN: r131596
parent 8a5b57cd
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> 2008-01-17 Richard Guenther <rguenther@suse.de>
PR tree-optimization/34825 PR tree-optimization/34825
...@@ -6,9 +6,9 @@ int type; ...@@ -6,9 +6,9 @@ int type;
void stuck(int res) void stuck(int res)
{ {
if (type == 1) { if (type == 1) {
if (res == 0) asm volatile("nop"); if (res == 0) asm volatile("");
} }
else if (type == 0) { else if (type == 0) {
if (res == 0) asm volatile("nop" : : "i" (0)); if (res == 0) asm volatile("" : : "i" (0));
} }
} }
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment