[PATCH][match-and-simplify] Fix ICE

2014-10-14 Thread Richard Biener
This fixes an ICE that occurs when valueziation returns NULL and we are looking at single-rhs REALPART_EXPR. We should check for is_gimple_min_invariant before valueization. Bootstrapped on x86_64-unknown-linux-gnu, applied. Richard. 2014-10-14 Richard Biener * genmatch.c (dt_opera

[PATCH][match-and-simplify] Fix ICE with updating EH info

2014-08-06 Thread Richard Biener
Wasn't done properly. Committed. Richard. 2014-08-06 Richard Biener * tree-ssa-forwprop.c (pass_forwprop::execute): Properly clean EH info on folded stmts. Index: gcc/tree-ssa-forwprop.c === --- gcc/tree-ssa-fo