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

Jeff Law law@redhat.com
Mon Feb 18 23:42:00 GMT 2013


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.

jeff



More information about the Gcc-patches mailing list