[Bug fortran/28174] New: Corruption of multiple character arrays when passing array sections
anlauf at gmx dot de
gcc-bugzilla@gcc.gnu.org
Mon Jun 26 20:58:00 GMT 2006
Here's a very strange example of data corruption when passing
a character array section in the form
call foo (a(:)(7:11))
to a subroutine even if the parameter is declared as INTENT(IN).
Furthermore, even another array gets corrupted which is intended
to hold a copy.
See testcase for details.
Cheers,
-ha
--
Summary: Corruption of multiple character arrays when passing
array sections
Product: gcc
Version: 4.2.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: anlauf at gmx dot de
GCC host triplet: i686-pc-linux-gnu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28174
More information about the Gcc-bugs
mailing list