[PATCH, PR 40464] Intra-SRA workaround so that PR 40464 is not hit

Richard Henderson rth@redhat.com
Thu Aug 6 21:22:00 GMT 2009


On 08/06/2009 10:54 AM, Martin Jambor wrote:
> tree-complex.c does not do this by itself but through a call to
> force_gimple_opernad_gsi on "REALPART_EXPR<b._M_value>" which leads
> to invocation of gimplify_var_or_parm_decl on decl "b", which, being
> DECL_HAS_VALUE_EXPR_P, is translated by the means of DECL_VALUE_EXPR
> into the variable that is already dead.  More details are in the bug.

 From the comment in front of DECL_VALUE_EXPR:
   ... once this field has been set, the decl itself may not
   legitimately appear in the function.

So the bug is, in fact, that it appears as an argument to the
REALPART_EXPR at all.  Where does the thing come from (or fail
to go away from) in the first place?


r~



More information about the Gcc-patches mailing list