[Bug fortran/107397] [10/11/12/13 Regression] ICE in gfc_arith_plus, at fortran/arith.cc:654
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Oct 29 19:09:21 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107397
--- Comment #7 from anlauf at gcc dot gnu.org ---
Created attachment 53789
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=53789&action=edit
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=kargl@...")
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".
More information about the Gcc-bugs
mailing list