[PATCH] Fix create_expression_by_pieces (PR tree-optimization/56381)

Richard Biener rguenther@suse.de
Tue Feb 19 09:03:00 GMT 2013


On Mon, 18 Feb 2013, Jeff Law wrote:

> On 02/18/13 15:32, Jakub Jelinek wrote:
> > Hi!
> > 
> > This accesses one past the last initialized argument.
> > Fixed thusly, bootstrapped/regtested on x86_64-linux and i686-linux, ok for
> > trunk?
> > 
> > 2013-02-18  Jakub Jelinek  <jakub@redhat.com>
> > 
> > 	PR tree-optimization/56381
> > 	* tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument
> > 	to fold_build3.
> > 
> > 	* g++.dg/opt/pr56381.C: New test.
> OK.  Arguably this could have gone in under the obvious rule.

Btw, the 4.7 branch is affected, too.

Richard.



More information about the Gcc-patches mailing list