------- Comment #5 from burnus at gcc dot gnu dot org  2007-11-17 08:08 -------
Additional problems, spotted by FX:

subroutine foo(x) bind(c)
   character(len=1) :: x

function bar(x) bind(c)
   character(len=1) :: x, bar

These generates:
  foo (x, _x)
  bar (__result, .__result, x, _x)

Instead of
   void foo(char *x)
and
  char bar(char *x)


-- 

burnus at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |crickett at lanl dot gov
OtherBugsDependingO|                            |32630
              nThis|                            |
            Summary|Bind(C): Don't pass the     |Bind(C): Character
                   |string length as argument   |argument/return value
                   |(for STDCALL)               |problems


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34079

Reply via email to