From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id A06D13857C77; Tue, 25 Oct 2022 10:25:51 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org A06D13857C77 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1666693551; bh=PpwW3yhgWKNYWXseGl3vCB64WlqPLljY4OnxjePlAys=; h=From:To:Subject:Date:In-Reply-To:References:From; b=oc3S9f/3sLQ4Revvjmhbg/ck3prJes85goZSKoWWm//kRNiNMfWZ5WWZo/6RAXiQY VMsQT/Cb0q7a7qyiNksV2xIyBu0kqFCdnMND7iXuH59H88tQBjpNAeXoJlmuJmtyIe yUuD+c+1z+IPgKT5RKvo73Tc5Dp3pq8SbjA7AXoU= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/101598] [debug, ada] .loc generated for defs__struct1IP Date: Tue, 25 Oct 2022 10:25:51 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: debug X-Bugzilla-Version: 12.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED 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=3D101598 --- Comment #12 from CVS Commits --- The releases/gcc-12 branch has been updated by Eric Botcazou : https://gcc.gnu.org/g:da1f6e5260dbcce59372cb522e1af763f25eed6b commit r12-8866-gda1f6e5260dbcce59372cb522e1af763f25eed6b Author: Eric Botcazou Date: Tue Oct 25 12:20:33 2022 +0200 Relax assertion in profiler This assertion in branch_prob: if (bb =3D=3D ENTRY_BLOCK_PTR_FOR_FN (cfun)->next_bb) { location_t loc =3D DECL_SOURCE_LOCATION (current_function_decl); gcc_checking_assert (!RESERVED_LOCATION_P (loc)); had been correct until the fix for PR debug/101598 was installed. gcc/ * profile.cc (branch_prob): Be prepared for ignored functions w= ith DECL_SOURCE_LOCATION set to UNKNOWN_LOCATION. gcc/testsuite: * gnat.dg/specs/coverage1.ads: New test. * gnat.dg/specs/variant_part.ads: Minor tweak. * gnat.dg/specs/weak1.ads: Add dg directive.=