This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r173704 - in /trunk/gcc: ChangeLog gimple.c
- From: rguenth at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Thu, 12 May 2011 14:04:31 -0000
- Subject: r173704 - in /trunk/gcc: ChangeLog gimple.c
Author: rguenth
Date: Thu May 12 14:04:29 2011
New Revision: 173704
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=173704
Log:
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.
Modified:
trunk/gcc/ChangeLog
trunk/gcc/gimple.c