This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR38826 and PR38477
- From: Richard Guenther <rguenther at suse dot de>
- To: gcc-patches at gcc dot gnu dot org
- Cc: Daniel Berlin <dberlin at dberlin dot org>
- Date: Tue, 13 Jan 2009 17:44:27 +0100 (CET)
- Subject: Re: [PATCH] Fix PR38826 and PR38477
- References: <alpine.LNX.2.00.0901131549120.24314@zhemvz.fhfr.qr>
On Tue, 13 Jan 2009, Richard Guenther wrote:
>
> This fixes the underlying PTA problem (PR38826) that causes the
> false positive alias warnings to be emitted in PR38477. The patch
> disables field-sensitive points-to analysis in non-IPA mode where
> we rely on correct points-to solutions in the face of transitive
> closures with call-clobbering.
>
> This should be safe for 4.4.
>
> Bootstrap and regtest on x86_64-unknown-linux-gnu in progress. Danny,
> do you think this is ok? (we already disable field-sensitive analysis
> for -O1 now)
Actually it exposes that we miss to create constraints for the
passed-by-reference result decl. I'll add a backport from the
alias-improvements branch.
Richard.