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