re PR lto/41668 (ICE in get_alias_set, at alias.c:698)
authorRichard Guenther <rguenther@suse.de>
Thu, 15 Oct 2009 16:04:29 +0000 (16:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 15 Oct 2009 16:04:29 +0000 (16:04 +0000)
commit77785f4f7a3a06369be1847032cf14ba77699daa
tree24a1e9bf43484053e7e4f1ab4c37fea20babe765
parent4c8160e78b39d879b01a838ab5bddc49f046816d
re PR lto/41668 (ICE in  get_alias_set, at alias.c:698)

2009-10-15  Richard Guenther  <rguenther@suse.de>

PR lto/41668
* gimple.c (compare_type_names_p): Handle anonymous names
differently based on new mode argument.
(gimple_types_compatible_p): For structs also compare the tags.
(iterative_hash_type_name): Rename to ...
(iterative_hash_name): ... this.  Hash all names.
(iterative_hash_gimple_type): Fix hashing the struct tag of
pointer targets.  Hash field decl names.

From-SVN: r152851
gcc/ChangeLog
gcc/gimple.c