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/57380] [4.7/4.8 Regression] GCC 4.9.0 will not vectorize std::max and similar functions


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57380

Richard Biener <rguenth at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
      Known to work|                            |4.9.0
            Summary|[4.7/4.8/4.9 Regression]    |[4.7/4.8 Regression] GCC
                   |GCC 4.9.0 will not          |4.9.0 will not vectorize
                   |vectorize std::max and      |std::max and similar
                   |similar functions           |functions
      Known to fail|4.9.0                       |4.8.1

--- Comment #4 from Richard Biener <rguenth at gcc dot gnu.org> ---
Author: rguenth
Date: Thu May 23 12:23:59 2013
New Revision: 199246

URL: http://gcc.gnu.org/viewcvs?rev=199246&root=gcc&view=rev
Log:
2013-05-23  Richard Biener  <rguenther@suse.de>

    PR tree-optimization/57380
    * tree-ssa-phiprop.c (propagate_with_phi): Do not require at
    least one invariant or re-used load.
    * passes.c (init_optimization_passes): Move pass_phiprop before
    pass_forwprop.

    * g++.dg/tree-ssa/pr57380.C: New testcase.

Added:
    trunk/gcc/testsuite/g++.dg/tree-ssa/pr57380.C
Modified:
    trunk/gcc/ChangeLog
    trunk/gcc/passes.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/tree-ssa-phiprop.c


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