From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4D16A3858413; Fri, 26 Aug 2022 10:09:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4D16A3858413 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1661508594; bh=E/qDDxbSwsKWOskuyeNlWmYEFf+DG7FB/4hlDIHb6O4=; h=From:To:Subject:Date:From; b=VMLd0QI6+L0C/6widi/m9fVwRrdODushIj13eZv3ePtS0DcAp3o3rhdKQhIygu9TP ixfLT+el6jnmTf8q+0LyWK3F1oaCIr496U3DzPD1MYorkoQP68CadbGXPxQXivQSy/ uLiGOwdHZu34a+vfiop0tAyDrFVb8XPFeADZu1w4= From: "christophe.leroy at csgroup dot eu" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/106751] New: internal compiler error: in purge_dead_edges, at cfgrtl.cc:3347 Date: Fri, 26 Aug 2022 10:09:53 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: new X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 11.3.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: christophe.leroy at csgroup dot eu X-Bugzilla-Status: UNCONFIRMED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter target_milestone Message-ID: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D106751 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' specifi= ed Using built-in specs. COLLECT_AS_OPTIONS=3D'-maltivec' '-mpower4' '-many' COLLECT_GCC=3D/opt/gcc-12.2.0-nolibc/powerpc64-linux/bin/powerpc64-linux-gcc Target: powerpc64-linux Configured with: /home/arnd/git/gcc/configure --target=3Dpowerpc64-linux --enable-targets=3Dall --prefix=3D/home/arnd/cross/x86_64/gcc-12.2.0-nolibc/powerpc64-linux --enable-languages=3Dc --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=3Dr= elease Thread model: single Supported LTO compression algorithms: zlib gcc version 12.2.0 (GCC)=20 COLLECT_GCC_OPTIONS=3D'-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=3D1' '-fmacro-prefix-map=3D./=3D' '-W= all' '-Wundef' '-Werror=3Dstrict-prototypes' '-Wno-trigraphs' '-fno-strict-alias= ing' '-fno-common' '-fshort-wchar' '-fno-PIE' '-Werror=3Dimplicit-function-declaration' '-Werror=3Dimplicit-int' '-Werror=3Dreturn-type' '-Wno-format-security' '-std=3Dgnu11' '-mlittle-end= ian' '-m64' '-msoft-float' '-pipe' '-mtraceback=3Dno' '-mabi=3Delfv2' '-mcmodel= =3Dmedium' '-mno-pointers-to-nested-functions' '-mcpu=3Dpower8' '-mtune=3Dpower9' '-mno-altivec' '-mno-vsx' '-fno-asynchronous-unwind-tables' '-mno-strict-al= ign' '-mlittle-endian' '-mstack-protector-guard=3Dtls' '-mstack-protector-guard-reg=3Dr13' '-fno-delete-null-pointer-checks' '-Wno-frame-address' '-Wformat-truncation=3D0' '-Wformat-overflow=3D0' '-Wno-address-of-packed-member' '-O2' '-fno-allow-store-data-races' '-Wframe-larger-than=3D2048' '-fstack-protector-strong' '-Wimplicit-fallthrough=3D5' '-Wno-main' '-Wno-unused-but-set-variable' '-Wunused-const-variable=3D0' '-fno-stack-clash-protection' '-pg' '-mprofile-kernel' '-Wdeclaration-after-statement' '-Wvla' '-Wno-pointer-si= gn' '-Wcast-function-type' '-Wno-stringop-truncation' '-Wstringop-overflow=3D0' '-Wno-restrict' '-Wno-maybe-uninitialized' '-Walloc-size-larger-than=3D18446744073709551615EiB' '-fno-strict-overflow' '-fstack-check=3Dno' '-fconserve-stack' '-Werror=3Ddate-time' '-Werror=3Dincompatible-pointer-types' '-Werror=3Ddesignated-init' '-Wno-packed-not-aligned' '-mstack-protector-guard-offset=3D3200' '-D' 'KBUILD_MODFILE=3D"kernel/locking/rtmutex_api"' '-D' 'KBUILD_BASENAME=3D"rtmutex_api"' '-D' 'KBUILD_MODNAME=3D"rtmutex_api"' '-D' '__KBUILD_MODNAME=3Dkmod_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/1= 2.2.0/cc1 -E -quiet -nostdinc -v -I ./arch/powerpc/include -I ./arch/powerpc/include/generated -I ./include -I ./arch/powerpc/include/uap= i -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=3D1 -D KBUILD_MODFILE=3D"kernel/locking/rtmutex_api" -D KBUILD_BASENAME=3D"rtmutex= _api" -D KBUILD_MODNAME=3D"rtmutex_api" -D __KBUILD_MODNAME=3Dkmod_rtmutex_api -incl= ude ./include/linux/compiler-version.h -include ./include/linux/kconfig.h -incl= ude ./include/linux/compiler_types.h -MMD kernel/locking/.rtmutex_api.o.d kernel/locking/rtmutex_api.c -mlittle-endian -m64 -msoft-float -mtraceback= =3Dno -mabi=3Delfv2 -mcmodel=3Dmedium -mno-pointers-to-nested-functions -mcpu=3Dp= ower8 -mtune=3Dpower9 -mno-altivec -mno-vsx -mno-strict-align -mlittle-endian -mstack-protector-guard=3Dtls -mstack-protector-guard-reg=3Dr13 -mprofile-k= ernel -mstack-protector-guard-offset=3D3200 -std=3Dgnu11 -Wall -Wundef -Werror=3Dstrict-prototypes -Wno-trigraphs -Werror=3Dimplicit-function-decl= aration -Werror=3Dimplicit-int -Werror=3Dreturn-type -Wno-format-security -Wno-frame-address -Wformat-truncation=3D0 -Wformat-overflow=3D0 -Wno-address-of-packed-member -Wframe-larger-than=3D2048 -Wimplicit-fallthr= ough=3D5 -Wno-main -Wno-unused-but-set-variable -Wunused-const-variable=3D0 -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wstringop-overflow=3D0 -Wno-restrict -Wno-maybe-uninitialized -Walloc-size-larger-than=3D18446744073709551615EiB -Werror=3Ddate-time -Werror=3Dincompatible-pointer-types -Werror=3Ddesignat= ed-init -Wno-packed-not-aligned -fmacro-prefix-map=3D./=3D -fno-strict-aliasing -fn= o-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=3Dno -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=3D'-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=3D1' '-fmacro-prefix-map=3D./=3D' '-W= all' '-Wundef' '-Werror=3Dstrict-prototypes' '-Wno-trigraphs' '-fno-strict-alias= ing' '-fno-common' '-fshort-wchar' '-fno-PIE' '-Werror=3Dimplicit-function-declaration' '-Werror=3Dimplicit-int' '-Werror=3Dreturn-type' '-Wno-format-security' '-std=3Dgnu11' '-mlittle-end= ian' '-m64' '-msoft-float' '-pipe' '-mtraceback=3Dno' '-mabi=3Delfv2' '-mcmodel= =3Dmedium' '-mno-pointers-to-nested-functions' '-mcpu=3Dpower8' '-mtune=3Dpower9' '-mno-altivec' '-mno-vsx' '-fno-asynchronous-unwind-tables' '-mno-strict-al= ign' '-mlittle-endian' '-mstack-protector-guard=3Dtls' '-mstack-protector-guard-reg=3Dr13' '-fno-delete-null-pointer-checks' '-Wno-frame-address' '-Wformat-truncation=3D0' '-Wformat-overflow=3D0' '-Wno-address-of-packed-member' '-O2' '-fno-allow-store-data-races' '-Wframe-larger-than=3D2048' '-fstack-protector-strong' '-Wimplicit-fallthrough=3D5' '-Wno-main' '-Wno-unused-but-set-variable' '-Wunused-const-variable=3D0' '-fno-stack-clash-protection' '-pg' '-mprofile-kernel' '-Wdeclaration-after-statement' '-Wvla' '-Wno-pointer-si= gn' '-Wcast-function-type' '-Wno-stringop-truncation' '-Wstringop-overflow=3D0' '-Wno-restrict' '-Wno-maybe-uninitialized' '-Walloc-size-larger-than=3D18446744073709551615EiB' '-fno-strict-overflow' '-fstack-check=3Dno' '-fconserve-stack' '-Werror=3Ddate-time' '-Werror=3Dincompatible-pointer-types' '-Werror=3Ddesignated-init' '-Wno-packed-not-aligned' '-mstack-protector-guard-offset=3D3200' '-D' 'KBUILD_MODFILE=3D"kernel/locking/rtmutex_api"' '-D' 'KBUILD_BASENAME=3D"rtmutex_api"' '-D' 'KBUILD_MODNAME=3D"rtmutex_api"' '-D' '__KBUILD_MODNAME=3Dkmod_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/1= 2.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=3Dno -mabi=3Delfv2 -mcmodel=3Dmedium -mno-pointers-to-nested-fu= nctions -mcpu=3Dpower8 -mtune=3Dpower9 -mno-altivec -mno-vsx -mno-strict-align -mlittle-endian -mstack-protector-guard=3Dtls -mstack-protector-guard-reg= =3Dr13 -mprofile-kernel -mstack-protector-guard-offset=3D3200 -O2 -Wall -Wundef -Werror=3Dstrict-prototypes -Wno-trigraphs -Werror=3Dimplicit-function-decl= aration -Werror=3Dimplicit-int -Werror=3Dreturn-type -Wno-format-security -Wno-frame-address -Wformat-truncation=3D0 -Wformat-overflow=3D0 -Wno-address-of-packed-member -Wframe-larger-than=3D2048 -Wimplicit-fallthr= ough=3D5 -Wno-main -Wno-unused-but-set-variable -Wunused-const-variable=3D0 -Wdeclaration-after-statement -Wvla -Wno-pointer-sign -Wcast-function-type -Wno-stringop-truncation -Wstringop-overflow=3D0 -Wno-restrict -Wno-maybe-uninitialized -Walloc-size-larger-than=3D18446744073709551615EiB -Werror=3Ddate-time -Werror=3Dincompatible-pointer-types -Werror=3Ddesignat= ed-init -Wno-packed-not-aligned -std=3Dgnu11 -version -p -fmacro-prefix-map=3D./=3D -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=3Dno -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=3D100 --param ggc-min-heapsize=3D131= 072 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=3D100 --param ggc-min-heapsize=3D131= 072 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_edg= es, at cfgrtl.cc:3347 1612 | } | ^ Please submit a full bug report, with preprocessed source (by using -freport-bug). See for instructions.=