This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][LTO] Fix PRs 41808 and 41839
- From: Ian Lance Taylor <iant at google dot com>
- To: Richard Guenther <rguenther at suse dot de>
- Cc: gcc-patches at gcc dot gnu dot org, Diego Novillo <dnovillo at google dot com>
- Date: Wed, 28 Oct 2009 07:42:39 -0700
- Subject: Re: [PATCH][LTO] Fix PRs 41808 and 41839
- References: <alpine.LNX.2.00.0910271424450.4520@zhemvz.fhfr.qr>
Richard Guenther <rguenther@suse.de> writes:
> 2009-10-27 Richard Guenther <rguenther@suse.de>
>
> PR lto/41808
> PR lto/41839
> * tree-ssa.c (useless_type_conversion_p): Do not treat
> conversions to pointers to incomplete types as useless.
> * gimple.c (gimple_types_compatible_p): Compare struct tags,
> not typedef names.
>
> * gcc.dg/lto/20091027-1_0.c: New testcase.
> * gcc.dg/lto/20091027-1_1.c: Likewise.
> * g++.dg/lto/20091026-1_0.C: Likewise.
> * g++.dg/lto/20091026-1_1.C: Likewise.
> * g++.dg/lto/20091026-1_a.h: Likewise.
This is OK.
Thanks.
Ian