From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id D793D3858401; Tue, 1 Nov 2022 07:19:21 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org D793D3858401 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667287161; bh=TB/TRqeCeSy/g3/A338Kw+5WJj0ZuVInGqrQJXOe1es=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Jsz7wJ9FHXWlqtzqekaPPSlmQf7M5VoGZ8CMrFIv7C6/lLSYnJM0dZ8QY6yHgrRnG zwmKhqAIgMSZX+lCNquzKi1MT8jAVpd/MacIPgTFabL21l8vJwQywvHglpoNR0Yy0L BerAcjnvn8drIiAoLggesBOrIm+QIFj5hyhogXtc= From: "linkw at gcc dot gnu.org" 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: Tue, 01 Nov 2022 07:19: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: linkw at gcc dot gnu.org X-Bugzilla-Status: NEW 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 #4 from Kewen Lin --- (In reply to Arseny Solokha from comment #3) > 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: >=20 > % 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(con= st > 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()...); } > | ^ It's weird that I still can't reproduce this with the extra option -fstack-protector-all, I double checked your provided configuration command, although the host and build are different, the others are the same as mine. Could you provide one dump file for -mdebug=3Dtarget?=