This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/66694] New: Failure in function returning an allocated CHARACTER array
- From: "urbanjost at comcast dot net" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sun, 28 Jun 2015 23:14:03 +0000
- Subject: [Bug fortran/66694] New: Failure in function returning an allocated CHARACTER array
- Auto-submitted: auto-generated
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,