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

Paul Thomas <pault at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
           Assignee|unassigned at gcc dot gnu.org      |pault at gcc dot gnu.org

--- Comment #2 from Paul Thomas <pault at gcc dot gnu.org> ---
This is already fixed on my working branch.

This used to be the error message:

Character argument ‘c’ at (1) must be length 1 because procedure ‘bar’ is
BIND(C)

Is this required by the standard?

What about?

subroutine bar(c,d) BIND(C)
  character (len=*) c(:)
  character (len=2) d(:)
end

I have been working on passing CFI descriptors to such a procedure. I guess
that the old error only pertains to scalars?

Cheers

Paul

Reply via email to