This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug rtl-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization
- From: "aoliva at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 26 Dec 2017 22:05:05 +0000
- Subject: [Bug rtl-optimization/81611] [8 Regression] gcc un-learned loop / post-increment optimization
- Auto-submitted: auto-generated
- References: <bug-81611-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=81611
Alexandre Oliva <aoliva at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |aoliva at gcc dot gnu.org
--- Comment #3 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
I see the same problem on x86_64. Compiling with -fno-tree-forwprop stops
str_6 from being propagated out of the loop, so it dies at the str_11 def and
everything optimizes nicely.