This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug tree-optimization/84969] [8 Regression] Wrong code with -ftree-loop-distribute-patterns


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.

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]