[PATCH][last/n] LTO type merging cleanup

H.J. Lu hjl.tools@gmail.com
Mon May 23 16:16:00 GMT 2011


On Mon, May 23, 2011 at 8:18 AM, Richard Guenther <rguenther@suse.de> wrote:
>
> This is the last (planned) bit for the regular type merging machinery
> (there is still some issues with TYPE_CANONICAL that I will try to
> address next).  It avoids merging types which have different names
> as that leads to interesting debuginfo issues.
>
> LTO-bootstrapped and tested on x86_64-unknown-linux-gnu, SPEC 2k6
> non--g built (w/o any but the TYPE_CANONICAL issues), SPEC 2k6 -g
> build running.
>
> Richard.
>
> 2011-05-23  Richard Guenther  <rguenther@suse.de>
>
>        * gimple.c (gimple_types_compatible_p_1): Always compare type names.
>        (iterative_hash_gimple_type): Always hash type names.
>

Will it fix

http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49078

Thanks.

-- 
H.J.



More information about the Gcc-patches mailing list