https://gcc.gnu.org/bugzilla/show_bug.cgi?id=120812

--- Comment #3 from anlauf at gcc dot gnu.org ---
(In reply to kargls from comment #2)
> Harald, there's a bug (at least it fails on FreeBSD).    Here's 
> a testcase based on the original code.  On FreeBSD, I see
> 
> % gfcx -o z a.f90 && ./z
> STOP 2
> 
> In sub2, the line 'str(11:11) = c_new_line' places the new line
> character in str(1:1).

Interesting.

The dump of sub2 shows here:

  *(str + 10) = 10;

Can you provide details on what's different for you?

Reply via email to