[Bug fortran/89077] ICE using * as len specifier for character parameter
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Thu Jan 31 22:44:00 GMT 2019
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89077
--- Comment #8 from Harald Anlauf <anlauf at gmx dot de> ---
OK, here's another one for fun:
program pr89077_4
implicit none
character(*), parameter :: s = 7HForward
print *, '#', s, '#', len (s)
end program pr89077_4
prints:
#Forward # 8
This time it is really padded with a space which comes out of the blue.
Oracle sunf95 prints:
#Forward# 7
Intel rejects it.
More information about the Gcc-bugs
mailing list