https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99858
Richard Biener <rguenth at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2021-04-01
Ever confirmed|0 |1
Keywords| |wrong-code
--- Comment #1 from Richard Biener <rguenth at gcc dot gnu.org> ---
clang behaves as you expect, ICC behaves the same as GCC so it's unclear (it
might be that the ABI makes GCC/ICC behavior more natural to follow).