[Bug fortran/105954] ICE in gfc_element_size, at fortran/target-memory.cc:132
cvs-commit at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Fri Jul 1 18:12:39 GMT 2022
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105954
--- 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:7296a7c9aa35a9731a73e33c29f6bbc488a0c837
commit r11-10103-g7296a7c9aa35a9731a73e33c29f6bbc488a0c837
Author: Harald Anlauf <anlauf@gmx.de>
Date: Mon Jun 20 20:59:55 2022 +0200
Fortran: handle explicit-shape specs with constant bounds [PR105954]
gcc/fortran/ChangeLog:
PR fortran/105954
* decl.c (variable_decl): Adjust upper bounds for explicit-shape
specs with constant bound expressions to ensure non-negative
extents.
gcc/testsuite/ChangeLog:
PR fortran/105954
* gfortran.dg/pr105954.f90: New test.
(cherry picked from commit a312407bd715647f7c11b67e0a52effc94d0f15d)
More information about the Gcc-bugs
mailing list