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

--- Comment #19 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Fri Mar 24 12:34:19 2017
New Revision: 246439

URL: https://gcc.gnu.org/viewcvs?rev=246439&root=gcc&view=rev
Log:
2017-03-24  Bill Schmidt  <wschm...@linux.vnet.ibm.com>

        PR tree-optimization/80158
        * gimple-ssa-strength-reduction.c (replace_mult_candidate): When
        replacing a candidate statement, also replace it for the
        candidate's alternate interpretation.
        (replace_rhs_if_not_dup): Likewise.
        (replace_one_candidate): Likewise.

        * gfortran.fortran-torture/compile/pr80158.f: New file.

Added:
    trunk/gcc/testsuite/gfortran.fortran-torture/compile/pr80158.f
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/gimple-ssa-strength-reduction.c
    trunk/gcc/testsuite/ChangeLog

Reply via email to