https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96930
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Oh, C++, I was trying C. Apparently this optimization is done by the C FE only.
jakub at gcc dot gnu.org via Gcc-bugs Sun, 03 Jan 2021 06:18:03 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=96930
--- Comment #7 from Jakub Jelinek <jakub at gcc dot gnu.org> --- Oh, C++, I was trying C. Apparently this optimization is done by the C FE only.