Commit 296f8acc by Jeffrey A Law Committed by Jeff Law

stmt.c (expand_asm_operands): If an ASM has no outputs, then treat it as volatile.

	* stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
	it as volatile.

From-SVN: r17100
parent acda6d8b
Mon Dec 15 08:48:24 1997 Jeffrey A Law (law@cygnus.com)
* stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
it as volatile.
Mon Dec 15 00:04:48 1997 Jeffrey A Law (law@cygnus.com)
* haifa-sched.c (remove_dependencies): Set RTX_INTEGRATED_P on
......
......@@ -1421,6 +1421,10 @@ expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
/* The insn we have emitted. */
rtx insn;
/* An ASM with no outputs needs to be treated as volatile. */
if (noutputs == 0)
vol = 1;
if (output_bytecode)
{
error ("`asm' is invalid when generating bytecode");
......
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