Patch for enable-checking failure egcs-19980715
grahams@rcp.co.uk
grahams@rcp.co.uk
Thu Jul 16 12:51:00 GMT 1998
Hi,
egcs-19980715 fails to bootstrap with enable-checking enabled
This is because safe_from_p() temporarily marks any visited SAVE_EXPR
tree nodes as ERROR_MARK tree nodes to prevent combinational explosion.
Here's a patch which allows egcs-19980715 to complete "make bootstrap"
on x86-linux.
The patch replaces the use of ERROR_MARK tree node to mark a
SAVE_EXPR tree node visited node with a new tree node
SAVE_EXPR_MARKED defined in tree.def
Ch
PATCH~1.DIF
angeLog entries
* gcc/tree.def: Define new tree node SAVE_EXPR_MARKED.
* gcc/expr.c (safe_from_p): Use new tree node SAVE_EXPR_MARKED
to mark SAVE_EXPR nodes visited.
With this change It would be possible to eliminate save_expr_rewritten[]
at the
expense of another tree walk to change any SAVE_EXPR_MARKED
nodes back into SAVE_EXPR nodes.
Graham
-------------- next part --------------
A non-text attachment was scrubbed...
Name: PATCH~1.DIF
Type: text/x-diff
Size: 3259 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/19980716/e8548577/attachment.bin>
More information about the Gcc-patches
mailing list