https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94953
--- Comment #3 from Andrew Pinski ---
So there looks like there are two issues.
First warning for each template instantiation.
The second problem is SLP is introducing some uses that was not in the original
IR.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94953
--- Comment #2 from Olaf Krzikalla ---
Created attachment 48469
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48469&action=edit
Test case code triggering the warning
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94953
Richard Biener changed:
What|Removed |Added
Blocks||24639
Last reconfirmed|