* stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
it as volatile.
Don't miscompile Linux kernels for egcs-1.0.1.
From-SVN: r17145
+Fri Dec 19 09:32:57 1997 Jeffrey A Law (law@cygnus.com)
+
+ * stmt.c (expand_asm_operands): If an ASM has no outputs, then treat
+ it as volatile.
+
Wed Dec 3 01:13:45 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Update for egcs-1.0 release.
/* 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");