https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83816
--- Comment #12 from Oleg Endo <olegendo at gcc dot gnu.org> --- Created attachment 43152 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=43152&action=edit preprocessed c++ source I was able to reduce it somewhat. However, I'd be surprised if it does not reproduce the error on some other system. I get the error only with the RX cross compiler rx-elf-gcc -v Using built-in specs. COLLECT_GCC=rx-elf-gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/rx-elf/6.4.1/lto-wrapper Target: rx-elf Configured with: ../gcc-6-branch-rx/configure --target=rx-elf --prefix=/usr/local --enable-languages=c,c++ --disable-nls --disable-werror --with-newlib --enable-lto --enable-multilib --with-system-zlib --disable-libstdcxx-verbose --disable-symvers Thread model: single gcc version 6.4.1 20180114 (GCC)