[Bug fortran/107996] ICE in gfc_walk_array_ref, at fortran/trans-array.cc:11429
anlauf at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Tue Jul 2 20:37:46 GMT 2024
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107996
anlauf at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-07-02
Status|UNCONFIRMED |NEW
Ever confirmed|0 |1
--- Comment #2 from anlauf at gcc dot gnu.org ---
The testcase in comment#0 is rejected since gcc-14 (but still ICEs in gcc-13):
pr107996-z1.f90:3:31:
3 | print *, [character(size(a(:))) :: 'a']
| 1
Error: Scalar variable 'a' has an array reference at (1)
The testcases in comment#1 however still fail with a bogus error.
More information about the Gcc-bugs
mailing list