typeck.c (c_expand_asm_operands): Restore the original contents of the output list.

* typeck.c (c_expand_asm_operands): Restore the original
        contents of the output list.

From-SVN: r33362
This commit is contained in:
Richard Henderson 2000-04-23 15:32:18 -07:00
parent 16ab191f30
commit 713f0303cc
2 changed files with 11 additions and 2 deletions

View File

@ -1,6 +1,11 @@
2000-04-23 Richard Henderson <rth@cygnus.com>
* typeck.c (c_expand_asm_operands): Restore the original
contents of the output list.
2000-04-22 Gabriel Dos Reis <gdr@codesourcery.com>
* ir.texi: Document complex number representation.
* ir.texi: Document complex number representation.
2000-04-20 Nathan Sidwell <nathan@codesourcery.com>
@ -544,7 +549,7 @@ Sat Apr 15 16:00:01 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
2000-04-05 Benjamin Kosnik <bkoz@cygnus.com>
* decl2.c: Make flag_honor_std dependant on ENABLE_STD_NAMESPACE.
* decl2.c: Make flag_honor_std dependant on ENABLE_STD_NAMESPACE.
2000-04-05 Mark Mitchell <mark@codesourcery.com>

View File

@ -6670,6 +6670,10 @@ c_expand_asm_operands (string, outputs, inputs, clobbers, vol, filename, line)
expand_expr (build_modify_expr (o[i], NOP_EXPR, TREE_VALUE (tail)),
const0_rtx, VOIDmode, EXPAND_NORMAL);
free_temp_slots ();
/* Restore the original value so that it's correct the next
time we expand this function. */
TREE_VALUE (tail) = o[i];
}
/* Detect modification of read-only values.
(Otherwise done by build_modify_expr.) */