gimple.c (gimple_canonical_types_compatible_p): Split out from gimple_types_compatibl...
authorRichard Guenther <rguenther@suse.de>
Wed, 11 May 2011 08:36:51 +0000 (08:36 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Wed, 11 May 2011 08:36:51 +0000 (08:36 +0000)
commit825b27deb98d103766b049ec879ccc423707467b
treef73b15759f701d7d9b16849be8ec6df75f72acad
parentca7566250ff8874b9bd02fb1215d0ee2ba43eef7
gimple.c (gimple_canonical_types_compatible_p): Split out from gimple_types_compatible_p and friends.

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

* gimple.c (gimple_canonical_types_compatible_p): Split out
from gimple_types_compatible_p and friends.  Do not recurse
to pointed-to types.
(gimple_canonical_type_eq): Use it.
(iterative_hash_canonical_type): Split out from
iterative_hash_gimple_type and friends.  Do not recurse
to pointed-to types.
(gimple_canonical_type_hash): Use it, allocate the hash here.

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