https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104778
--- Comment #2 from Arseny Solokha <asolokha at gmx dot com> --- Created attachment 52586 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=52586&action=edit powerpc-e300c3-linux-gnu-gcc-12.0.1 -mcmpb -Og -g -c k1n69laf.c -Q --help=target It still ICEs for we w/ 20220306 snapshot. 1. It does not ICE w/ -m64. 2. It does not ICE when I add either -fPIC or -fno-PIC, likewise for -fpic and -fno-pic. 3. It ICEs if I replace -mcpu=a2 w/ -mcmpb (i.e. powerpc-e300c3-linux-gnu-gcc-12.0.1 -mcmpb -Og -g -c poy2oawm.c). % powerpc-e300c3-linux-gnu-gcc-12.0.1 -v Using built-in specs. COLLECT_GCC=powerpc-e300c3-linux-gnu-gcc-12.0.1 COLLECT_LTO_WRAPPER=/usr/libexec/gcc/powerpc-e300c3-linux-gnu/12.0.1/lto-wrapper Target: powerpc-e300c3-linux-gnu Configured with: /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-12.0.1_p20220306/work/gcc-12-20220306/configure --host=x86_64-pc-linux-gnu --target=powerpc-e300c3-linux-gnu --build=x86_64-pc-linux-gnu --prefix=/usr --bindir=/usr/x86_64-pc-linux-gnu/powerpc-e300c3-linux-gnu/gcc-bin/12.0.1 --includedir=/usr/lib/gcc/powerpc-e300c3-linux-gnu/12.0.1/include --datadir=/usr/share/gcc-data/powerpc-e300c3-linux-gnu/12.0.1 --mandir=/usr/share/gcc-data/powerpc-e300c3-linux-gnu/12.0.1/man --infodir=/usr/share/gcc-data/powerpc-e300c3-linux-gnu/12.0.1/info --with-gxx-include-dir=/usr/lib/gcc/powerpc-e300c3-linux-gnu/12.0.1/include/g++-v12 --with-python-dir=/share/gcc-data/powerpc-e300c3-linux-gnu/12.0.1/python --enable-languages=c,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --disable-libunwind-exceptions --enable-checking=yes --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-poison-system-directories --with-sysroot=/usr/powerpc-e300c3-linux-gnu --disable-bootstrap --enable-__cxa_atexit --enable-clocale=gnu --disable-multilib --disable-fixed-point --enable-targets=all --enable-libgomp --disable-libssp --disable-libada --disable-cet --disable-systemtap --enable-valgrind-annotations --disable-vtable-verify --disable-libvtv --without-zstd --enable-lto --with-isl --disable-isl-version-check --disable-libsanitizer --enable-default-pie --enable-default-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 12.0.1 20220306 (experimental) (GCC)