------- Comment #2 from burnus at gcc dot gnu dot org 2007-03-21 22:31 ------- Richard Main wrote in http://groups.google.com/group/comp.lang.fortran/browse_thread/thread/5e91eb94c1ea71ec/
See Notes 15.29 and 15.23 for a (bried) explanation and example of exactly this. I knoew this was an mportant issue; that's why I wrote (the first draft of) Note 15.23. See also pg 170, lines 25:26. The mention of the C character kind there is specifically to guarantee that this will work even if the C character kind doesn't happen to be the default kind. That was a special rule for default character, but it was extended to also apply to the C character kind. In essence, the rule amounts to a requirement that characters of length greater than 1 be represented the same way as an array. It is possible for there to be character kinds that aren't represented that way (not that I know of any actual examples in existance). -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=30940