https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105732
Bug ID: 105732 Summary: [REGRESSION] internal compiler error: unspellable token PADDING Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c++ Assignee: unassigned at gcc dot gnu.org Reporter: linux_dr at yahoo dot com Target Milestone: --- Created attachment 53033 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53033&action=edit Source file, with no includes, exhibiting the issue. Regression appeared between 11.2.0 and 11.3.0. viewable online with "Compiler Explorer”: https://godbolt.org/z/bsenoqdjv g++ (Compiler-Explorer-Build-gcc--binutils-2.36.1) 11.3.0 Copyright (C) 2021 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. ===What we need=== Please include all of the following items, the first three of which can be obtained from the output of gcc -v: * the exact version of GCC: + g++ 11.3.0 * the system type: + x86_64-linux-gnu * the options given when GCC was configured/built: + From debug output: COLLECT_GCC=/opt/compiler-explorer/gcc-11.3.0/bin/g++ Target: x86_64-linux-gnu Configured with: ../gcc-11.3.0/configure --prefix=/opt/compiler-explorer/gcc-build/staging --build=x86_64-linux-gnu --host=x86_64-linux-gnu --target=x86_64-linux-gnu --disable-bootstrap --enable-multiarch --with-abi=m64 --with-multilib-list=m32,m64,mx32 --enable-multilib --enable-clocale=gnu --enable-languages=c,c++,fortran,ada,go,d --enable-ld=yes --enable-gold=yes --enable-libstdcxx-debug --enable-libstdcxx-time=yes --enable-linker-build-id --enable-lto --enable-plugins --enable-threads=posix --with-pkgversion=Compiler-Explorer-Build-gcc--binutils-2.36.1 Thread model: posix Supported LTO compression algorithms: zlib gcc version 11.3.0 (Compiler-Explorer-Build-gcc--binutils-2.36.1) COLLECT_GCC_OPTIONS='-fdiagnostics-color=always' '-g' '-o' '/app/output.s' '-masm=intel' '-S' '-v' '-shared-libgcc' '-mtune=generic' '-march=x86-64' '-dumpdir' '/app/' * the complete command line that triggers the bug: + From debug output: /opt/compiler-explorer/gcc-11.3.0/bin/../libexec/gcc/x86_64-linux-gnu/11.3.0/cc1plus -quiet -v -imultiarch x86_64-linux-gnu -iprefix /opt/compiler-explorer/gcc-11.3.0/bin/../lib/gcc/x86_64-linux-gnu/11.3.0/ -D_GNU_SOURCE <source> -quiet -dumpdir /app/ -dumpbase output.cpp -dumpbase-ext .cpp -masm=intel -mtune=generic -march=x86-64 -g -version -fdiagnostics-color=always -o /app/output.s * the compiler output (error messages, warnings, etc.): + (attached) * the preprocessed file (*.i*) that triggers the bug, generated by adding -save-temps to the complete compilation command, or, in the case of a bug report for the GNAT front end, a complete set of source files (see below). + As the bug appears to be in the preprocessor, I think the single source file may be sufficient: (attached) (It should also be included in the link above)