From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id C64D93858027; Sat, 29 Oct 2022 19:09:23 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org C64D93858027 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1667070567; bh=e5riQghk0cbV4SJJ7iVN6XWJfxgrFc+IsJALJwcNb4E=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qXWSBgwwVjPf3O+xxM7WmugekT2m9LlhmCfr9mshJQQv+JS/fnGOsR8g1fsN0NP53 BkAVwz3BZDWLWDQmIEHcNH31+3Dqm8uNlPBfyel90+Ll1/8AglUIPBKA1xrr6a5W3T gGlLAEQFCCEHr0v5Fu01SHBwHWzWGs4k+G2PJevw= From: "anlauf at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug fortran/107397] [10/11/12/13 Regression] ICE in gfc_arith_plus, at fortran/arith.cc:654 Date: Sat, 29 Oct 2022 19:09:21 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: fortran X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: anlauf at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P4 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 10.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: attachments.created 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=3D107397 --- Comment #7 from anlauf at gcc dot gnu.org --- Created attachment 53789 --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=3D53789&action=3Dedit Formatted patch Here's the commands to generate the attached formatted patch, assuming that decl.cc was clean before your fix: git add gcc/fortran/decl.cc git add gcc/testsuite/gfortran.dg/pr107397.f90 git diff --cached # to verify that you added what you wanted git gcc-commit-mklog # you then edit the commit message ... (afterwards I fixed the authorship of the commit using "git commit --amend --author=3Dkargl@...") git format-patch -1 # this produces the attached file Just try it yourself. I leave it to you to submit the patch for review. If you want to remove the commit (as long as it is not pushed), invoke: git rebase --interactive where you can select individual commits for deletion. If you have multiple changes in a file and want to select a subset, see "git help add" and look in particular at the option "-i".=