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

janus at gcc dot gnu.org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|WAITING                     |RESOLVED
                 CC|                            |janus at gcc dot gnu.org
         Resolution|---                         |INVALID

--- Comment #3 from janus at gcc dot gnu.org ---
(In reply to zmi from comment #0)
> I see difference between ifort and gfortran interpretation of a
> non-interoperable procedure (without BIND(C)) with VALUE attribute in dummy
> argument. 

IMHO using a non-interoperable procedure to interface with C code is basically
a user error. You can do it, but the result will be highly compiler-dependent
(as you saw).

If you want mixed C/Fortran code to be compiler-independent, just use BIND(C)!

I'll close this PR as invalid.

Reply via email to