[Bug tree-optimization/64295] [5 Regression] ICE: SIGSEGV (infinite recursion) with -frounding-math -funsafe-math-optimizations

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Mon Dec 15 13:02:00 GMT 2014


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

--- Comment #5 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Dec 15 13:01:47 2014
New Revision: 218748

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

Added:
    trunk/gcc/testsuite/gcc.dg/pr64295.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/match.pd
    trunk/gcc/testsuite/ChangeLog



More information about the Gcc-bugs mailing list