[Bug tree-optimization/106352] SLP seems to need temporary variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106352 --- Comment #3 from Andrew Pinski --- Oh the non loop based slp, does not add alias checks. And you just enabled that. I think this is a won't fix as adding of aliasing checks for non loop based slp, adds way too much overhead and might (will) be slower
[Bug tree-optimization/106352] SLP seems to need temporary variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106352 --- Comment #2 from Andrew Pinski --- I have to double check but the testcase might be hard to produce alias checks too. Marking the incoming arguments with restrict will also "fix" the code gen.
[Bug tree-optimization/106352] SLP seems to need temporary variables
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106352 Richard Biener changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|--- |INVALID --- Comment #1 from Richard Biener --- dst and src[12] alias but when you have the temporaries all reads happen before the writes.