https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80009
Bug ID: 80009
Summary: Printing/writing a structure with a real edit
descriptor.
Product: gcc
Version: 7.0.1
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: fortran
Assignee: unassigned at gcc dot gnu.org
Reporter: walt.brainerd at gmail dot com
Target Milestone: ---
Created attachment 40948
--> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40948&action=edit
bug.f90, the file compiled as shown in Description/Comment
$ gfortran --version bug.f90
GNU Fortran (GCC) 7.0.1 20170122 (experimental)
Copyright (C) 2017 Free Software Foundation, Inc.
This is free software; see the source for copying conditions. There is NO
warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
Walt@HP_Envy /cygdrive/c/walt/ZHI/FC/FC_Code
$ ./a
At line 48 of file bug.f90 (unit = 6, file = 'stdout')
Fortran runtime error: Expected REAL for item 1 in formatted transfer, got
CLASS or DERIVED
(f4.1)
^
Error termination. Backtrace:
Could not print backtrace: libbacktrace could not find executable to open
#0 0xffffffff
#1 0xffffffff
#2 0xffffffff
#3 0xffffffff
#4 0xffffffff
#5 0xffffffff
#6 0xffffffff
#7 0xffffffff
#8 0xffffffff
#9 0xffffffff
#10 0xffffffff
#11 0xffffffff
#12 0xffffffff
#13 0xffffffff