https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94086
--- Comment #4 from Andrew Pinski ---
The testcase in comment #0 in GCC11+ GCC can optimize it to just a move
followed by a return. Note the optimization only happens on the RTL level
even.
I have not looked into what allowed this to be
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94086
Eric Gallager changed:
What|Removed |Added
CC||egallager at gcc dot gnu.org
---
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94086
Richard Biener changed:
What|Removed |Added
Ever confirmed|0 |1
Status|UNCONFIRMED
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94086
alex_lop at walla dot com changed:
What|Removed |Added
CC||alex_lop at walla dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94086
Andrew Pinski changed:
What|Removed |Added
CC||pinskia at gcc dot gnu.org