re PR middle-end/67285 (ICE with (rdiv (POW:s @0 REAL_CST@1) @0))
authorRichard Biener <rguenther@suse.de>
Fri, 21 Aug 2015 08:06:20 +0000 (08:06 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Fri, 21 Aug 2015 08:06:20 +0000 (08:06 +0000)
commit4d20d00a0d94ad1e62a194b6f027e8007ceabc1d
treeb32693bf83d37cce052c0efbf3283c147d1c7a96
parent6b00e42da3a26fae6f878e3b83baffbda7f79227
re PR middle-end/67285 (ICE with (rdiv (POW:s @0 REAL_CST@1) @0))

2015-08-21  Richard Biener  <rguenther@suse.de>

PR middle-end/67285
* gimple-fold.c (replace_stmt_with_simplification): Assert
seq is empty when replacing a call with itself but different
arguments.
* gimple-match-head.c (maybe_push_res_to_seq): When pushing
a call require that it is const.

From-SVN: r227053
gcc/ChangeLog
gcc/gimple-fold.c
gcc/gimple-match-head.c