Re: [PATCH] Fix CSE RTL sharing ICE (PR rtl-optimization/55010)

2012-10-24 Thread Eric Botcazou
> On the following testcase we have IF_THEN_ELSE in insn notes, > and when folding it, folded_arg1 is a subreg from earlier CC setter, > as the other argument has equiv constant, simplify_relational_operation > is called on it to simplify it and we end up with invalid RTL sharing > of the subreg in

[PATCH] Fix CSE RTL sharing ICE (PR rtl-optimization/55010)

2012-10-22 Thread Jakub Jelinek
Hi! On the following testcase we have IF_THEN_ELSE in insn notes, and when folding it, folded_arg1 is a subreg from earlier CC setter, as the other argument has equiv constant, simplify_relational_operation is called on it to simplify it and we end up with invalid RTL sharing of the subreg in betw