This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/70274] optimization goes astray and adds completely redundant code
- From: "rguenth at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Thu, 17 Mar 2016 13:42:15 +0000
- Subject: [Bug tree-optimization/70274] optimization goes astray and adds completely redundant code
- Auto-submitted: auto-generated
- References: <bug-70274-4 at http dot gcc dot gnu dot org/bugzilla/>
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.