From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id CAEE4382A2EA; Thu, 27 Oct 2022 07:44:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org CAEE4382A2EA DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666856691; bh=t1wrxjCAyKlP4ZMpGHIcSBbyIg88lEfZmbFE6Yd9Jhc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=JPmtPNSIMDS9rZkGgN+bFKrGvXCZ6nH7LN9A3+C7j3RuEyaDFlK0r+WYjR8S5QL4/ CmsW6gHdaLpRVJhVwhm7Mr+fu/DaT3jgJyrPZT/CTbL+yrhnVdRwUvGHQi0Dx6pvwy yNXea0WAeOhfXaUFbnWq3xBF0aLYCNhjvqBKjyYU= From: "asolokha at gmx dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug rtl-optimization/90259] ICE: verify_flow_info failed (error: missing REG_EH_REGION note at the end of bb 4) Date: Thu, 27 Oct 2022 07:44:20 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: rtl-optimization X-Bugzilla-Version: 9.0 X-Bugzilla-Keywords: EH, ice-checking, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: asolokha at gmx dot com X-Bugzilla-Status: WAITING 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: Message-ID: In-Reply-To: References: 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=3D90259 --- Comment #3 from Arseny Solokha --- Aha! I've just managed to reproduce it even w/ the current gcc 13 snapshot = by adding -fstack-protector-all to the list of command line arguments: % powerpc-e300c3-linux-gnu-g++-13 -m32 -O1 -ffloat-store -fgcse -fnon-call-exceptions -fno-forward-propagate -fno-omit-frame-pointer -c svj3x11t.cc -fstack-protector-all svj3x11t.cc: In static member function 'static ar p::as(const int&, j ...) [with ar =3D void; i =3D q::r; j =3D {o}]': svj3x11t.cc:30:65: error: missing REG_EH_REGION note at the end of bb 6 30 | static ar as(const int &p1, j...) { (*ao::ap(p1))(j()...); } | ^ during RTL pass: cprop_hardreg svj3x11t.cc:30:65: internal compiler error: verify_flow_info failed 0xc77f7e verify_flow_info() =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221023/work/g= cc-13-20221023/gcc/cfghooks.cc:284 0x10731e3 execute_function_todo =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221023/work/g= cc-13-20221023/gcc/passes.cc:2103 0x10736fe execute_todo =20=20=20=20=20=20=20 /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221023/work/g= cc-13-20221023/gcc/passes.cc:2145 % powerpc-e300c3-linux-gnu-g++-13 -v Using built-in specs. COLLECT_GCC=3Dpowerpc-e300c3-linux-gnu-g++-13 COLLECT_LTO_WRAPPER=3D/usr/libexec/gcc/powerpc-e300c3-linux-gnu/13/lto-wrap= per Target: powerpc-e300c3-linux-gnu Configured with: /var/tmp/portage/cross-powerpc-e300c3-linux-gnu/gcc-13.0.0_p20221023/work/g= cc-13-20221023/configure --host=3Dx86_64-pc-linux-gnu --target=3Dpowerpc-e300c3-linux-gnu --build=3Dx86_64-pc-linux-gnu --prefix=3D/usr --bindir=3D/usr/x86_64-pc-linux-gnu/powerpc-e300c3-linux-gnu/gcc-bin/13 --includedir=3D/usr/lib/gcc/powerpc-e300c3-linux-gnu/13/include --datadir=3D/usr/share/gcc-data/powerpc-e300c3-linux-gnu/13 --mandir=3D/usr/share/gcc-data/powerpc-e300c3-linux-gnu/13/man --infodir=3D/usr/share/gcc-data/powerpc-e300c3-linux-gnu/13/info --with-gxx-include-dir=3D/usr/lib/gcc/powerpc-e300c3-linux-gnu/13/include/g= ++-v13 --with-python-dir=3D/share/gcc-data/powerpc-e300c3-linux-gnu/13/python --enable-languages=3Dc,c++,fortran --enable-obsolete --enable-secureplt --disable-werror --with-system-zlib --disable-nls --disable-libunwind-exceptions --enable-checking=3Dyes --with-gcc-major-version-only --disable-esp --enable-libstdcxx-time --disable-libstdcxx-pch --enable-poison-system-directories --with-sysroot=3D/usr/powerpc-e300c3-linux-gnu --disable-bootstrap --enable-__cxa_atexit --enable-clocale=3Dgnu --disable-multilib --disable-fixed-point --enable-targets=3Dall --enable-libgomp --disable-lib= ssp --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-ssp Thread model: posix Supported LTO compression algorithms: zlib gcc version 13.0.0 20221023 (experimental) (GCC)=