From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 208943858C5F; Sat, 21 Jan 2023 06:17:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 208943858C5F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1674281863; bh=lKbUofm80zMXH6r1t66b+QNPcF3PqcXo6DRmLN87/KI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=RxWs77/D2O/XVX38eGCvdFNG4Qw2jBf4NWhiDVd3ClS/CT+2k/b0Yt+iRmcX88m0h LBg3ndYWlxMjzPkoe+6pr6ZNdI2H10Xz+3Hu2y/QW3pFj5wWg54DOG5qxWOElwC2eJ fythSKL6oTLT72uT7kMi6YYPiXhpTknhGCJDrCdI= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/80922] #pragma diagnostic ignored not honoured with -flto Date: Sat, 21 Jan 2023 06:17:42 +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: pinskia at gcc dot gnu.org 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 #9 from Andrew Pinski --- (In reply to pefoley2 from comment #8) > Note that this appears to be affecting the gcc source tree. >=20 > Attempting a build with --with-build-config=3Dbootstrap-lto --enable-werr= or > errors out with: Yes but lto bootstrap disables werror on purpose so you adding --enable-we= rror is not supported.=