https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106751
Bug ID: 106751 Summary: internal compiler error: in purge_dead_edges, at cfgrtl.cc:3347 Product: gcc Version: 11.3.0 Status: UNCONFIRMED Severity: normal Priority: P3 Component: c Assignee: unassigned at gcc dot gnu.org Reporter: christophe.leroy at csgroup dot eu Target Milestone: --- powerpc64-linux-gcc: warning: '-pipe' ignored because '-save-temps' specified Using built-in specs. COLLECT_AS_OPTIONS='-maltivec' '-mpower4' '-many' COLLECT_GCC=/opt/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc Target: powerpc64-linux Configured with: /home/arnd/git/gcc/configure --target=powerpc64-linux --enable-targets=all --prefix=/home/arnd/cross/x86_64/gcc-12.2.0-nolibc/powerpc64-linux --enable-languages=c --without-headers --disable-bootstrap --disable-nls --disable-threads --disable-shared --disable-libmudflap --disable-libssp --disable-libgomp --disable-decimal-float --disable-libquadmath --disable-libatomic --disable-libcc1 --disable-libmpx --enable-checking=release Thread model: single Supported LTO compression algorithms: zlib gcc version 12.2.0 (GCC) COLLECT_GCC_OPTIONS='-nostdinc' '-I' './arch/powerpc/include' '-I' './arch/powerpc/include/generated' '-I' './include' '-I' './arch/powerpc/include/uapi' '-I' './arch/powerpc/include/generated/uapi' '-I' './include/uapi' '-I' './include/generated/uapi' '-include' './include/linux/compiler-version.h' '-include' './include/linux/kconfig.h' '-include' './include/linux/compiler_types.h' '-D' '__KERNEL__' '-I' './arch/powerpc' '-D' 'HAVE_AS_ATHIGH=1' '-fmacro-prefix-map=./=' '-Wall' '-Wundef' '-Werror=strict-prototypes' '-Wno-trigraphs' '-fno-strict-aliasing' '-fno-common' '-fshort-wchar' '-fno-PIE' '-Werror=implicit-function-declaration' '-Werror=implicit-int' '-Werror=return-type' '-Wno-format-security' '-std=gnu11' '-mlittle-endian' '-m64' '-msoft-float' '-pipe' '-mtraceback=no' '-mabi=elfv2' '-mcmodel=medium' '-mno-pointers-to-nested-functions' '-mcpu=power8' '-mtune=power9' '-mno-altivec' '-mno-vsx' '-fno-asynchronous-unwind-tables' '-mno-strict-align' '-mlittle-endian' '-mstack-protector-guard=tls' '-mstack-protector-guard-reg=r13' '-fno-delete-null-pointer-checks' '-Wno-frame-address' '-Wformat-truncation=0' '-Wformat-overflow=0' '-Wno-address-of-packed-member' '-O2' '-fno-allow-store-data-races' '-Wframe-larger-than=2048' '-fstack-protector-strong' '-Wimplicit-fallthrough=5' '-Wno-main' '-Wno-unused-but-set-variable' '-Wunused-const-variable=0' '-fno-stack-clash-protection' '-pg' '-mprofile-kernel' '-Wdeclaration-after-statement' '-Wvla' '-Wno-pointer-sign' '-Wcast-function-type' '-Wno-stringop-truncation' '-Wstringop-overflow=0' '-Wno-restrict' '-Wno-maybe-uninitialized' '-Walloc-size-larger-than=18446744073709551615EiB' '-fno-strict-overflow' '-fstack-check=no' '-fconserve-stack' '-Werror=date-time' '-Werror=incompatible-pointer-types' '-Werror=designated-init' '-Wno-packed-not-aligned' '-mstack-protector-guard-offset=3200' '-D' 'KBUILD_MODFILE="kernel/locking/rtmutex_api"' '-D' 'KBUILD_BASENAME="rtmutex_api"' '-D' 'KBUILD_MODNAME="rtmutex_api"' '-D' '__KBUILD_MODNAME=kmod_rtmutex_api' '-c' '-o' 'kernel/locking/rtmutex_api.o' '-save-temps' '-v' '-dumpdir' 'kernel/locking/' /opt/gcc-12.2.0-nolibc/powerpc64-linux/bin/../libexec/gcc/powerpc64-linux/12.2.0/cc1 -E -quiet -nostdinc -v -I ./arch/powerpc/include -I ./arch/powerpc/include/generated -I ./include -I ./arch/powerpc/include/uapi -I ./arch/powerpc/include/generated/uapi -I ./include/uapi -I ./include/generated/uapi -I ./arch/powerpc -imultilib le -iprefix /opt/gcc-12.2.0-nolibc/powerpc64-linux/bin/../lib/gcc/powerpc64-linux/12.2.0/ -D __KERNEL__ -D HAVE_AS_ATHIGH=1 -D KBUILD_MODFILE="kernel/locking/rtmutex_api" -D KBUILD_BASENAME="rtmutex_api" -D KBUILD_MODNAME="rtmutex_api" -D __KBUILD_MODNAME=kmod_rtmutex_api -include ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -include ./include/linux/compiler_types.h -MMD kernel/locking/.rtmutex_api.o.d kernel/locking/rtmutex_api.c -mlittle-endian -m64 -msoft-float -mtraceback=no -mabi=elfv2 -mcmodel=medium -mno-pointers-to-nested-functions -mcpu=power8 -mtune=power9 -mno-altivec -mno-vsx -mno-strict-align -mlittle-endian -mstack-protector-guard=tls -mstack-protector-guard-reg=r13 -mprofile-kernel -mstack-protector-guard-offset=3200 -std=gnu11 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -Wno-frame-address -Wformat-truncation=0 -Wformat-overflow=0 -Wno-address-of-packed-member -Wframe-larger-than=2048 -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wunused-const-variable=0 -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wstringop-overflow=0 -Wno-restrict -Wno-maybe-uninitialized -Walloc-size-larger-than=18446744073709551615EiB -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -fmacro-prefix-map=./= -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -fno-allow-store-data-races -fstack-protector-strong -fno-stack-clash-protection -fno-strict-overflow -fstack-check=no -fconserve-stack -O2 -fpch-preprocess -o kernel/locking/rtmutex_api.i #include "..." search starts here: #include <...> search starts here: ./arch/powerpc/include ./arch/powerpc/include/generated ./include ./arch/powerpc/include/uapi ./arch/powerpc/include/generated/uapi ./include/uapi ./include/generated/uapi ./arch/powerpc End of search list. COLLECT_GCC_OPTIONS='-nostdinc' '-I' './arch/powerpc/include' '-I' './arch/powerpc/include/generated' '-I' './include' '-I' './arch/powerpc/include/uapi' '-I' './arch/powerpc/include/generated/uapi' '-I' './include/uapi' '-I' './include/generated/uapi' '-include' './include/linux/compiler-version.h' '-include' './include/linux/kconfig.h' '-include' './include/linux/compiler_types.h' '-D' '__KERNEL__' '-I' './arch/powerpc' '-D' 'HAVE_AS_ATHIGH=1' '-fmacro-prefix-map=./=' '-Wall' '-Wundef' '-Werror=strict-prototypes' '-Wno-trigraphs' '-fno-strict-aliasing' '-fno-common' '-fshort-wchar' '-fno-PIE' '-Werror=implicit-function-declaration' '-Werror=implicit-int' '-Werror=return-type' '-Wno-format-security' '-std=gnu11' '-mlittle-endian' '-m64' '-msoft-float' '-pipe' '-mtraceback=no' '-mabi=elfv2' '-mcmodel=medium' '-mno-pointers-to-nested-functions' '-mcpu=power8' '-mtune=power9' '-mno-altivec' '-mno-vsx' '-fno-asynchronous-unwind-tables' '-mno-strict-align' '-mlittle-endian' '-mstack-protector-guard=tls' '-mstack-protector-guard-reg=r13' '-fno-delete-null-pointer-checks' '-Wno-frame-address' '-Wformat-truncation=0' '-Wformat-overflow=0' '-Wno-address-of-packed-member' '-O2' '-fno-allow-store-data-races' '-Wframe-larger-than=2048' '-fstack-protector-strong' '-Wimplicit-fallthrough=5' '-Wno-main' '-Wno-unused-but-set-variable' '-Wunused-const-variable=0' '-fno-stack-clash-protection' '-pg' '-mprofile-kernel' '-Wdeclaration-after-statement' '-Wvla' '-Wno-pointer-sign' '-Wcast-function-type' '-Wno-stringop-truncation' '-Wstringop-overflow=0' '-Wno-restrict' '-Wno-maybe-uninitialized' '-Walloc-size-larger-than=18446744073709551615EiB' '-fno-strict-overflow' '-fstack-check=no' '-fconserve-stack' '-Werror=date-time' '-Werror=incompatible-pointer-types' '-Werror=designated-init' '-Wno-packed-not-aligned' '-mstack-protector-guard-offset=3200' '-D' 'KBUILD_MODFILE="kernel/locking/rtmutex_api"' '-D' 'KBUILD_BASENAME="rtmutex_api"' '-D' 'KBUILD_MODNAME="rtmutex_api"' '-D' '__KBUILD_MODNAME=kmod_rtmutex_api' '-c' '-o' 'kernel/locking/rtmutex_api.o' '-save-temps' '-v' '-dumpdir' 'kernel/locking/' /opt/gcc-12.2.0-nolibc/powerpc64-linux/bin/../libexec/gcc/powerpc64-linux/12.2.0/cc1 -fpreprocessed kernel/locking/rtmutex_api.i -quiet -dumpdir kernel/locking/ -dumpbase rtmutex_api.c -dumpbase-ext .c -mlittle-endian -m64 -msoft-float -mtraceback=no -mabi=elfv2 -mcmodel=medium -mno-pointers-to-nested-functions -mcpu=power8 -mtune=power9 -mno-altivec -mno-vsx -mno-strict-align -mlittle-endian -mstack-protector-guard=tls -mstack-protector-guard-reg=r13 -mprofile-kernel -mstack-protector-guard-offset=3200 -O2 -Wall -Wundef -Werror=strict-prototypes -Wno-trigraphs -Werror=implicit-function-declaration -Werror=implicit-int -Werror=return-type -Wno-format-security -Wno-frame-address -Wformat-truncation=0 -Wformat-overflow=0 -Wno-address-of-packed-member -Wframe-larger-than=2048 -Wimplicit-fallthrough=5 -Wno-main -Wno-unused-but-set-variable -Wunused-const-variable=0 -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wstringop-overflow=0 -Wno-restrict -Wno-maybe-uninitialized -Walloc-size-larger-than=18446744073709551615EiB -Werror=date-time -Werror=incompatible-pointer-types -Werror=designated-init -Wno-packed-not-aligned -std=gnu11 -version -p -fmacro-prefix-map=./= -fno-strict-aliasing -fno-common -fshort-wchar -fno-PIE -fno-asynchronous-unwind-tables -fno-delete-null-pointer-checks -fno-allow-store-data-races -fstack-protector-strong -fno-stack-clash-protection -fno-strict-overflow -fstack-check=no -fconserve-stack -o kernel/locking/rtmutex_api.s GNU C11 (GCC) version 12.2.0 (powerpc64-linux) compiled by GNU C version 8.3.0, GMP version 6.1.0, MPFR version 3.1.6, MPC version 1.0.3, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 GNU C11 (GCC) version 12.2.0 (powerpc64-linux) compiled by GNU C version 8.3.0, GMP version 6.1.0, MPFR version 3.1.6, MPC version 1.0.3, isl version isl-0.18-GMP GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072 Compiler executable checksum: 85577641c47121e3caf5e8a8694ad06b during RTL pass: combine In file included from kernel/locking/rtmutex_api.c:9: kernel/locking/rtmutex.c: In function '__rt_mutex_slowlock.constprop': kernel/locking/rtmutex.c:1612:1: internal compiler error: in purge_dead_edges, at cfgrtl.cc:3347 1612 | } | ^ Please submit a full bug report, with preprocessed source (by using -freport-bug). See <https://gcc.gnu.org/bugs/> for instructions.