[Bug fortran/104311] [9/10/11/12 Regression] ICE out of memory since r9-6321-g4716603bf875ce
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Feb 4 19:15:07 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=104311
--- Comment #10 from CVS Commits <cvs-commit at gcc dot gnu.org> ---
The releases/gcc-11 branch has been updated by Harald Anlauf
<anlauf@gcc.gnu.org>:
https://gcc.gnu.org/g:7a0fab4bddce549380b2713a910127332a091e19
commit r11-9539-g7a0fab4bddce549380b2713a910127332a091e19
Author: Harald Anlauf <anlauf@gmx.de>
Date: Tue Feb 1 23:33:24 2022 +0100
Fortran: reject simplifying TRANSFER for MOLD with storage size 0
gcc/fortran/ChangeLog:
PR fortran/104311
* check.c (gfc_calculate_transfer_sizes): Checks for case when
storage size of SOURCE is greater than zero while the storage size
of MOLD is zero and MOLD is an array shall not depend on SIZE.
gcc/testsuite/ChangeLog:
PR fortran/104311
* gfortran.dg/transfer_simplify_15.f90: New test.
(cherry picked from commit 4e4252db0348a7274663a892c3a96d3ed7702aff)
More information about the Gcc-bugs
mailing list