From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 0E4AD3858D38; Mon, 23 Jan 2023 04:33:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 0E4AD3858D38 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674448415; bh=70QvNqqxy9sjI+o7axAkxC+sQt3P/CZ9YsHBHdMmPz4=; h=From:To:Subject:Date:In-Reply-To:References:From; b=jwfcgiNNRdDY70j6HtOmYfZ3nlHYpXEdFnruSlvLjjK8AZ5WJRBE1Yy6lu7Vr6Yuf JgAmNdBynqoRrp2I47nocL5Sf3uLWjuBmd8qQXmcfXWOjDvuwi+S73/kZReKEp5oJU Ux1rCL9KH67HBCyRK3h1dywiIOEIsrkEgydjJSV8= From: "pefoley2 at pefoley dot com" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/80922] #pragma diagnostic ignored not honoured with -flto Date: Mon, 23 Jan 2023 04:33:33 +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: 7.0.1 X-Bugzilla-Keywords: diagnostic, lto X-Bugzilla-Severity: normal X-Bugzilla-Who: pefoley2 at pefoley dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: marxin 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=3D80922 --- Comment #10 from pefoley2 at pefoley dot com --- It does? I wasn't aware of that. My read of the configure options is that the two options are tangential. And from a quick skim, I couldn't find anything that made enabling lto supp= ress Werror. Besides, regardless of whether it's supported or not, it's another example = of this issue in the wild.=