This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/56365] [4.9/5 Regression] Missed opportunities for smin/smax standard name patterns when compiling as C++


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

--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Mon Mar 14 14:50:40 2016
New Revision: 234183

URL: https://gcc.gnu.org/viewcvs?rev=234183&root=gcc&view=rev
Log:
2016-03-14  Richard Biener  <rguenther@suse.de>

        PR tree-optimization/56365
        * tree-ssa-phiopt.c (minmax_replacement): Handle alternate
        constants to compare against.

        * gcc.dg/tree-ssa/phi-opt-14.c: New testcase.

Added:
    trunk/gcc/testsuite/gcc.dg/tree-ssa/phi-opt-14.c
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-phiopt.c

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]