From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7A1D93858C74; Thu, 18 Jan 2024 17:12:11 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7A1D93858C74 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705597931; bh=GjCaOMSENwhbBL1XX7+JzNdVmlcN2NQoZrLprkvV7oY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=bL5riC+5WMuyF1GZRSd6SFL/J61Ir3Urlvad4Xz4yJZ+3e2pwP4acRlqWGpoEymwR T9WyD1XUIJIk+ndXyMHYOtL84fXDBnIOmqDLlYVTzu2ElAdnn6tCphMh3eo+u2OhFJ MF/+41CrF6WQmKBlL/UEBmdTdFEdFBFh8WQxcXtg= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug middle-end/112684] ICE: in main, at toplev.cc:2327 with -ftarget-help -fdiagnostics-generate-patch Date: Thu, 18 Jan 2024 17:12:10 +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: 14.0 X-Bugzilla-Keywords: diagnostic, ice-on-valid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: dmalcolm 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=3D112684 --- Comment #4 from GCC Commits --- The master branch has been updated by David Malcolm : https://gcc.gnu.org/g:e254d1224df306a07f3b0b572af2582f509b7d67 commit r14-8255-ge254d1224df306a07f3b0b572af2582f509b7d67 Author: David Malcolm Date: Thu Jan 18 12:11:57 2024 -0500 Fix ICE in -fdiagnostics-generate-patch [PR112684] gcc/ChangeLog: PR middle-end/112684 * toplev.cc (toplev::main): Don't ICE in -fdiagnostics-generate-patch when exiting after options, since no edit context will have been created. Signed-off-by: David Malcolm =