[PATCH] Fix PR42805

Richard Guenther rguenther@suse.de
Mon Mar 1 12:39:00 GMT 2010


On Mon, 1 Mar 2010, Jakub Jelinek wrote:

> On Mon, Mar 01, 2010 at 01:16:17PM +0100, Richard Guenther wrote:
> > I'm going to bootstrap & test the following patch which addresses
> > the issue that SRA ends up introducing new accesses to DECLs with
> > DECL_HAS_VALUE_EXPR_P set.
> > 
> > Martin, does this look ok?  David - can you test this on hppa
> > (I verified the testcase no longer ICEs with a cross and the patch).
> 
> Isn't this a dup of PR41250 that should be fixed by the patch there?

Probably yes, but I'm not sure what is the most safe approach at this 
point (though Dave says the patch works for him).  Also the patch
probably doesn't preserve debug information - the newly built decl
is not linked anywhere.

Richard.



More information about the Gcc-patches mailing list