This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-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: Wed, 27 Dec 2017 05:32:42 +0000
- Subject: [Bug tree-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
--- Comment #7 from Alexandre Oliva <aoliva at gcc dot gnu.org> ---
Hmm, what the complementary patch won't do is improve the odds of auto_inc or
even saving a temp in spaghetti code, rather than in loops. Maybe that's
important too? I wonder if we should add the post-increment to the gimple stmt
seq after the use of the old value, like IIRC we used to.