https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99015
--- Comment #1 from zhan3299 at purdue dot edu --- It seems clang at any optimization level can compile this. GCC at -O0 can also compile it.
zhan3299 at purdue dot edu via Gcc-bugs Fri, 12 Feb 2021 11:14:23 -0800
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99015
--- Comment #1 from zhan3299 at purdue dot edu --- It seems clang at any optimization level can compile this. GCC at -O0 can also compile it.