This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: RFA: Fix ICE related to ADDR_EXPR forward propagation


Daniel Berlin <dberlin@dberlin.org> writes:
> You want to call recompute_tree_invariant_for_addr_expr on the ADDR_EXPR
> after the operands are replaced.
>
> It'll do what it says (recompute the invariant flag, etc, as
> approriate).

OK, thanks for the heads up.  I'll reboostrap and retest with that change.
(It does indeed still fix the testcase.)

Richard


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]