http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018
Tobias Burnus changed:
What|Removed |Added
Status|NEW |RESOLVED
Resolution|
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018
--- Comment #7 from Tobias Burnus 2010-10-26
06:49:47 UTC ---
Author: burnus
Date: Tue Oct 26 06:49:43 2010
New Revision: 165936
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=165936
Log:
2010-10-26 Tobias Burnus
PR fortran/45
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018
--- Comment #6 from Tobias Burnus 2010-10-24
19:10:10 UTC ---
The problem was that for copying the component, not the size of the element but
the size of the pointer was used.
Cf. http://gcc.gnu.org/ml/fortran/2010-10/msg00229.html for more deta
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018
--- Comment #5 from Tobias Burnus 2010-10-24
10:04:19 UTC ---
Actually, it does not have anything to do with PACK but rather with the
assignment -- which implicitly also happens if one uses
print *, pack(a2,[.true.])
The assignment works as fo
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018
--- Comment #4 from janus at gcc dot gnu.org 2010-10-07 21:07:07 UTC ---
It seems the "invalid read" is due to the call to PACK. It still appear when
commenting out lines 15 & 16, but not any more when commenting out 14, 15 & 16.
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43018
janus at gcc dot gnu.org changed:
What|Removed |Added
Status|UNCONFIRMED |NEW
Last reconfirmed|