This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR38826 and PR38477


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]