[Bug tree-optimization/64199] [4.8/4.9/5 Regression] ICE: tree check: expected class 'constant', have 'binary' (plus_expr) in fold_binary_loc, at fold-const.c:10404 with -ffast-math -frounding-math

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Dec 9 11:59:00 GMT 2014


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64199

--- Comment #2 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Tue Dec  9 11:58:51 2014
New Revision: 218513

URL: https://gcc.gnu.org/viewcvs?rev=218513&root=gcc&view=rev
Log:
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.

Added:
    trunk/gcc/testsuite/gcc.dg/torture/pr64199.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/fold-const.c
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list