[Bug fortran/28174] Corruption of multiple character arrays when passing array sections
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Mon Jun 26 21:01:00 GMT 2006
------- Comment #1 from anlauf at gmx dot de 2006-06-26 20:58 -------
Created an attachment (id=11759)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=11759&action=view)
Testcase
Output of testcase:
Before foo:
a(1)=abc def ghij
a(2)=klm nop qrst
b(1)=abc def ghij
b(2)=klm nop qrst
In foo: c(1)=f ghi
After foo:
a(1)=abc d
a(2)=klm n
b(1)=abc d
b(2)=klm n
Bug: array a corrupted in subroutine call!
Bug: array b corrupted in subroutine call!
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28174
More information about the Gcc-bugs
mailing list