[PATCH] Fix PR middle-end/31579: ICE with initializers

Mark Mitchell mark@codesourcery.com
Tue Jun 12 02:49:00 GMT 2007


Andrew_Pinski@PlayStation.Sony.Com wrote:

>         * expr.c (expand_expr_addr_expr_1): Call expand_expr
>         for the offset with the modifier as EXPAND_INITIALIZER
>         if the modifier is EXPAND_INITIALIZER.
>         (expand_expr_real_1 <case INTEGER_CST>): Don't force to
>         a register if we had an overflow.
> 
>         * g++.dg/torture/pr31579.C: New testcase.

OK.

-- 
Mark Mitchell
CodeSourcery
mark@codesourcery.com
(650) 331-3385 x713



More information about the Gcc-patches mailing list