[Bug fortran/15129] assumed size characters passed to subroutines incorrect
tobi at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Tue Jun 22 23:33:00 GMT 2004
------- Additional Comments From tobi at gcc dot gnu dot org 2004-06-22 23:33 -------
Paul and I analyzed this on IRC. An easy work around is to write
CHARACTER*(*) A
CHARACTER*(*) B
instead of
CHARACTER*(*) A,B
:-) that is because declarations on the same line share the same character
length node. This makes sense, except for assumed length characters.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=15129
More information about the Gcc-bugs
mailing list