[Bug fortran/53296] New: Segfault on non-constant character array constructor containing kind spec
gccbgz.lionm at xoxy dot net
gcc-bugzilla@gcc.gnu.org
Wed May 9 15:53:00 GMT 2012
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53296
Bug #: 53296
Summary: Segfault on non-constant character array constructor
containing kind spec
Classification: Unclassified
Product: gcc
Version: 4.6.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: gccbgz.lionm@xoxy.net
Created attachment 27360
--> http://gcc.gnu.org/bugzilla/attachment.cgi?id=27360
source raising the segfault
Executing the binary compiled from attached source prints:
size 78
arr: ABCDEGHIJ
size 1
Speicherzugriffsfehler (Speicherabzug geschrieben)
Besides the segfault, the array size should not change.
This is not reproducable when replacing the character(*)-type entities by
integer(INT64) nor when omitting the function call in the constructor.
More information about the Gcc-bugs
mailing list