re PR tree-optimization/64199 (ICE: tree check: expected class 'constant', have ...
authorRichard Biener <rguenther@suse.de>
Tue, 9 Dec 2014 11:58:51 +0000 (11:58 +0000)
committerRichard Biener <rguenth@gcc.gnu.org>
Tue, 9 Dec 2014 11:58:51 +0000 (11:58 +0000)
commit85fd4c288ae10b75a5ccf48abf79e10b5d8a6d06
tree3dc7f562ef1b368aa33bba5c8f65fe0b301d4f4e
parent60b6534a84cd08e403ed5d1f91def59b161e8424
re PR tree-optimization/64199 (ICE: tree check: expected class 'constant', have 'binary' (plus_expr) in fold_binary_loc, at fold-const.c:10404 with -ffast-math -frounding-math)

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

PR middle-end/64199
* fold-const.c (fold_binary_loc): Use TREE_OVERFLOW_P.

* gcc.dg/torture/pr64199.c: New testcase.

From-SVN: r218513
gcc/ChangeLog
gcc/fold-const.c
gcc/testsuite/ChangeLog
gcc/testsuite/gcc.dg/torture/pr64199.c [new file with mode: 0644]