This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH][4.3] Fix PR36187, wrong partitioning with SFTs and unions
- From: Richard Guenther <rguenther at suse dot de>
- To: Andreas Meier <andreasmeier80 at gmx dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Fri, 9 May 2008 21:56:59 +0200 (CEST)
- Subject: Re: [PATCH][4.3] Fix PR36187, wrong partitioning with SFTs and unions
- References: <Pine.LNX.4.64.0805091651250.4134@zhemvz.fhfr.qr> <4824A7F9.30902@gmx.de>
On Fri, 9 May 2008, Andreas Meier wrote:
> Hello,
>
> should the testcase go also in mainline?
Yes. I'll take care of that later.
Richard.
>
> Best regards
>
> Andreas
>
> Richard Guenther schrieb:
> > With the testcase in this PR we forget to mark unpartitionable SFTs as
> > such if going through the special case for unions in set_uids_in_ptset.
> >
> > Fixed with the following patch, bootstrap & regtest on
> > x86_64-unknown-linxu-gnu in progress. I'll apply this to the branch
> > after it succeeded.
> >
> > Thanks,
> > Richard.
> >
> > 2008-05-09 Richard Guenther <rguenther@suse.de>
> >
> > PR tree-optimization/36187
> > * tree-dfa.c (dump_variable): Correct dumping of
> > SFT_BASE_FOR_COMPONENTS_P.
> > * tree-ssa-structalias.c (set_uids_in_ptset): Set
> > SFT_UNPARTITIONABLE_P correctly for the union case.
> >
> > * g++.dg/pr36187.C: New testcase.
> >
>
>
>
--
Richard Guenther <rguenther@suse.de>
Novell / SUSE Labs
SUSE LINUX Products GmbH - Nuernberg - AG Nuernberg - HRB 16746 - GF: Markus Rex