gimple.c (gtc_visit): Compare TREE_ADDRESSABLE, handle NULLPTR_TYPE similar to VOID_TYPE.
authorRichard Guenther <rguenther@suse.de>
Thu, 12 May 2011 14:04:29 +0000 (14:04 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Thu, 12 May 2011 14:04:29 +0000 (14:04 +0000)
commit61332f77748bd6ea8cb59c15f08a48466940ac95
treed89587a55faefe1666ed384e83326f44e2600826
parente2a3a5f1add296430b85b6b6be24b7340a7bcc9e
gimple.c (gtc_visit): Compare TREE_ADDRESSABLE, handle NULLPTR_TYPE similar to VOID_TYPE.

2011-05-12  Richard Guenther  <rguenther@suse.de>

* gimple.c (gtc_visit): Compare TREE_ADDRESSABLE, handle
NULLPTR_TYPE similar to VOID_TYPE.  Defer type-leader lookup
until after simple checks.
(gimple_types_compatible_p): Likewise.
(iterative_hash_gimple_type): Always hash pointer targets
and function return and argument types.
(iterative_hash_canonical_type): Do not hash TYPE_QUALS,
hash TYPE_ALIGN.  Do not hash TYPE_MIN/MAX_VALUE.
(gimple_canonical_types_compatible_p): Compare TREE_ADDRESSABLE,
handle NULLPTR_TYPE similar to VOID_TYPE.  Handle non-aggregates
completely in the simple compare section.
(gimple_register_canonical_type): Query the cache again after
registering.

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