From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1AE053857C77; Tue, 25 Oct 2022 10:52:52 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1AE053857C77 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666695172; bh=vwUVIpWbE9nXdetkt7fM66kxv/71PKUvEIMa7JXBSFc=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Ka6fh8wokZkiBDL+NzGzzuvgMTYRQO2K1xzE8R/JLHCQjPKAtPhYeTUTD+H9bbfPb hFrrW5FwgZ8FmlolPoVcj1up1c1fLl8+3LMLSX1a6tdIhdGee8g3e/U0RDMODI5wla GsLkrE9r4g0HNfT7cTWGVOMuenYTf1I/3/K/ADNM= From: "tschwinge at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/106208] [12/13 Regression] ICE in branch_prob, at profile.cc:1459 since r12-5275-gbcebd05720540e25 Date: Tue, 25 Oct 2022 10:52:50 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: middle-end X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: tschwinge at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: tschwinge at gcc dot gnu.org X-Bugzilla-Target-Milestone: 12.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: see_also cc 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=3D106208 Thomas Schwinge changed: What |Removed |Added ---------------------------------------------------------------------------- See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D101598 CC| |ebotcazou at gcc dot gnu.o= rg, | |edlinger at gcc dot gnu.org --- Comment #5 from Thomas Schwinge --- This ICE (when compiling with '-ftest-coverage -fcoarray=3Dlib') reported h= ere originally: 'gfortran.dg/coarray/registering_1.f90' as well as Martin's red= uced test case 'reg.f90' disappears via Eric's PR101598-related commit r13-3485-gcb21297f9259ceedd5f5dd7c3973535f14124d6d "Relax assertion in profiler". Should we still add these Fortran test cases -- or is in fact 'gfortran' st= ill generating "undesirable" location information? Stated by Eric: "This asser= tion in branch_prob [...] had been correct until the fix for PR debug/101598 was installed", but that clearly doesn't apply to the Fortran case discussed in this PR, as Bernd's commit r12-2846-ga45918f8a7444a40eb397a037683ba5900a2db= 74 "Ada: Remove debug line number for DECL_IGNORED_P functions" was relevant f= or Ada only; 'gcc/ada/gcc-interface/trans.c'.=