[Bug fortran/92123] [F2018/array-descriptor] Scalar allocatable/pointer with array descriptor (via bind(C)): ICE with select rank or error scalar variable with POINTER or ALLOCATABLE in procedure with BIND(C) is not yet supported

pault at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Nov 14 12:23:00 GMT 2019


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

--- Comment #10 from Paul Thomas <pault at gcc dot gnu.org> ---
Created attachment 47261
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=47261&action=edit
A better fix

Hi Jakub and Tobias,

It turns out that the TREE_STATIC is only required for the gfc descriptor and
not the pointers.

Is this OK?

Cheers

Paul


More information about the Gcc-bugs mailing list