https://gcc.gnu.org/bugzilla/show_bug.cgi?id=85970
Jose Dapena Paz <jose.dapena at lge dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Component|c++ |libstdc++ --- Comment #1 from Jose Dapena Paz <jose.dapena at lge dot com> --- Though I reported to gcc, it seems it is actually related to the libstdc++ library. GCC properly compiles this code using LLVM libc++.