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/70274] optimization goes astray and adds completely redundant code


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

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

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Keywords|                            |missed-optimization
             Status|UNCONFIRMED                 |NEW
   Last reconfirmed|                            |2016-03-17
                 CC|                            |rguenth at gcc dot gnu.org
          Component|middle-end                  |tree-optimization
     Ever confirmed|0                           |1

--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
Yes.  It's SCCP that runs and does this transform independently of whether
it makes the loop "dead" or whether it enables other transforms such as
vectorization.

IMHO it should be re-written as a tool used by transforms it enables.

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