[Bug fortran/66694] New: Failure in function returning an allocated CHARACTER array
urbanjost at comcast dot net
gcc-bugzilla@gcc.gnu.org
Sun Jun 28 23:14:00 GMT 2015
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66694
Bug ID: 66694
Summary: Failure in function returning an allocated CHARACTER
array
Product: gcc
Version: 4.9.2
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: urbanjost at comcast dot net
Target Milestone: ---
Created attachment 35872
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35872&action=edit
Source code that generates error and output identifying compiler and
programming environment
A function intended to allocate and return a CHARACTER array fails with
a compiler error.
Incidentally, the intent of the function is to split a CHARACTER variable into
tokens.
Compiler message produced is:
M_strings.F90: In function 'testit':
M_strings.F90:238:0: internal compiler error: Segmentation fault
mytokens=split(line,dlm,order)
^
Please submit a full bug report,
More information about the Gcc-bugs
mailing list