This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFC: allowing fold to change location of args (PR/41451)


On Mon, Oct 26, 2009 at 09:40:06AM -0700, Andrew Pinski wrote:
> Except (b) is correct as fold should not be modifiying the tree at
> all.  That is the whole point of fold_checksum_tree.  We allow some
> things to change like TYPE_VARIANTs and such but we should not allow a

The TYPE_VARIANTs case is just that a new variant can be added to a type,
but that's not a change of the type.  Similarly with other chains.
The only actual change we allow is that a decl might have
DECL_ASSEMBLER_NAME set during fold.

	Jakub


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]