https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117340

            Bug ID: 117340
           Summary: gdb-interface problem? on deferred-length character
                    array
           Product: gcc
           Version: 14.2.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: fortran
          Assignee: unassigned at gcc dot gnu.org
          Reporter: furutaka.kazuyoshi at gmail dot com
  Target Milestone: ---

The attached program runs w/o problems but the inquiries of type of a
deferred-length character array ("chararr") using gdb fail:
(gdb) p chararr
$1 = <incomplete type>
(gdb) ptype chararr
type = Type 
End Type 
(gdb) p &chararr
$2 = (PTR TO -> ( Type  )) 0x7fffffffc920
  • [Bug fortran/117340] New:... furutaka.kazuyoshi at gmail dot com via Gcc-bugs

Reply via email to