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.