This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug tree-optimization/84969] [8 Regression] Wrong code with -ftree-loop-distribute-patterns
- From: "amker at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 20 Mar 2018 15:27:40 +0000
- Subject: [Bug tree-optimization/84969] [8 Regression] Wrong code with -ftree-loop-distribute-patterns
- Auto-submitted: auto-generated
- References: <bug-84969-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84969
--- Comment #2 from amker at gcc dot gnu.org ---
I see, there are two issues here.
- wrong code issue: fuse_memset_builtins breaks dependence between two
intersect memset call;
- efficiency issue: The loop should not be distributed into two memset calls
by some model.
I will fix the first one now and check if the second should be fixed at this
point or not.