re PR tree-optimization/64295 (ICE: SIGSEGV (infinite recursion) with -frounding...
authorRichard Biener <rguenther@suse.de>
Mon, 15 Dec 2014 13:01:47 +0000 (13:01 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Mon, 15 Dec 2014 13:01:47 +0000 (13:01 +0000)
commit249700b5f180c66cab7ea3914db89ac77c6e1e25
tree8ec6e02620a39d9d92b51c578294be9d51965088
parent024660c5942a95a54712adc9e91953ca83081c07
re PR tree-optimization/64295 (ICE: SIGSEGV (infinite recursion) with -frounding-math -funsafe-math-optimizations)

2014-12-15  Richard Biener  <rguenther@suse.de>

PR middle-end/64295
* match.pd (X / CST -> X * (1 / CST): Use const_binop instead of
fold_binary to compute the constant to multiply with.

* gcc.dg/pr64295.c: New testcase.

From-SVN: r218748
gcc/ChangeLog
gcc/match.pd
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/pr64295.c [new file with mode: 0644]