This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: ICE in change_address at emit_rtl.c
- From: kenner at vlsi1 dot ultra dot nyu dot edu (Richard Kenner)
- To: per at bothner dot com
- Cc: gcc at gcc dot gnu dot org
- Date: Sun, 25 Nov 01 16:38:27 EST
- Subject: Re: ICE in change_address at emit_rtl.c
This is one reason why fold causes problems as it sometimes
creates SAVE_EXPR. Using a scoped temporary:
let tmp := expr in BODY
would be preferable for us.
But is it realistic for fold to make one? fold has no idea where the
expression being folded is going.
Another problem with fold is that it does not obey Java rules for
expression evaluation order. We would probably want to add a flag to
force it to do that.
This is very much a separate issue, of course.