[Bug fortran/104313] [10/11/12/13 Regression] ICE verify_gimple failed with -ff2c since r10-2279-ge0af8f52b10385d8
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Sat Jul 16 18:30:44 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104313
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-12 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:c1b0037bcc26019a87935e5634b6d448e9773193
commit r12-8572-gc1b0037bcc26019a87935e5634b6d448e9773193
Author: Steve Kargl <kargl@gcc.gnu.org>
Date: Fri Jul 15 22:07:15 2022 +0200
Fortran: do not generate conflicting results under -ff2c [PR104313]
gcc/fortran/ChangeLog:
PR fortran/104313
* trans-decl.cc (gfc_generate_return): Do not generate conflicting
fake results for functions with no result variable under -ff2c.
gcc/testsuite/ChangeLog:
PR fortran/104313
* gfortran.dg/pr104313.f: New test.
(cherry picked from commit 517fb1a78102df43f052c6934c27dd51d786aff7)
More information about the Gcc-bugs
mailing list