This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR36339, missed call-clobbering
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Date: Tue, 27 May 2008 14:58:47 +0200 (CEST)
- Subject: Re: [PATCH] Fix PR36339, missed call-clobbering
- References: <Pine.LNX.4.64.0805271218570.26762@zhemvz.fhfr.qr>
On Tue, 27 May 2008, Richard Guenther wrote:
>
> If a pointer has its value escaped but we computed it as
> points-to-anything and chose to not fill its points-to-set (thus we
> didn't allocate a NMT for it) because it was not dereferenced we
> miss to mark all addressable variables as call-clobbered.
>
> Fixed with the following patch, bootstrapped and tested on
> x86_64-unknown-linux-gnu, I'll apply this later together with
> the patch for the 4.3 branch.
Both variants of the patch requires me to XFAIL
testsuite/gcc.dg/tree-ssa/loadpre8.c.
But - correctness before optimization.
Richard.