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  <rguent...@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

Reply via email to