This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/86844] wrong code generation cause by store merging pass
- From: "krebbel at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 03 Aug 2018 16:21:33 +0000
- Subject: [Bug tree-optimization/86844] wrong code generation cause by store merging pass
- Auto-submitted: auto-generated
- References: <bug-86844-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=86844
--- Comment #1 from Andreas Krebbel <krebbel at gcc dot gnu.org> ---
Created attachment 44503
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=44503&action=edit
experimental patch
This patch adds a check to check_no_overlap which rejects overlaps if it has
seen a non-constant store in between. This fixes the testcase for me.