https://gcc.gnu.org/bugzilla/show_bug.cgi?id=93580
markeggleston at gcc dot gnu.org changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |markeggleston at gcc dot
gnu.org
--- Comment #3 from markeggleston at gcc dot gnu.org ---
Regarding initial report
program p
integer, parameter :: n = 4
complex(n%len) :: x
x = 2.0
end
produces an identical ICE.
Regarding comment 1:
program p
integer, parameter :: n = 4
character(kind=n%len) :: x
x = 'a'
print *, x
end
use of %len is also accepted and the output is the same.
The invalid use of %len should also be handled.