From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 79A643858D39; Fri, 3 Nov 2023 19:19:04 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 79A643858D39 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1699039144; bh=v2oQQprUOq+n9Lm98eYhT3GACdCjS+NBmmcWSMH8J/o=; h=From:To:Subject:Date:In-Reply-To:References:From; b=fAFN+soS26LhMC2V0bSaugKMmgVZiRzgjMZv5XEGyVxUG9I8BM5J+BiNzvJ0cTBfI o7FnQEoIhGXVvEJDcJ88eoWfnfL3MtR2GwnjkzbWHS449XUr7JKaTEEMYAGAJvYJqH CPmn9+z5lPIfqK/761ckUey3BODSe5IAoapELbuk= From: "gprocida at google dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug debug/112372] GCC omits function location in DWARF at higher optimisation levels Date: Fri, 03 Nov 2023 19:19:04 +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: 13.2.0 X-Bugzilla-Keywords: wrong-debug X-Bugzilla-Severity: normal X-Bugzilla-Who: gprocida at google dot com 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: 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=3D112372 --- Comment #4 from Giuliano Procida --- The provided example was exactly my original test case. It's part of our test suite for https://android.googlesource.com/platform/external/stg/. I'm currently running multiple versions of GCC and Clang over 100s of tests, looking for discrepancies. There will probably be more bug reports.=