This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug fortran/34079] Bind(C): Character argument/return value problems



------- Comment #12 from burnus at gcc dot gnu dot org  2007-11-25 22:03 -------
Subject: Bug 34079

Author: burnus
Date: Sun Nov 25 22:02:53 2007
New Revision: 130414

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=130414
Log:
2007-11-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34079
        * trans-types.c (gfc_return_by_reference,
        gfc_get_function_type): Do not return result of
        character-returning bind(C) functions as argument.
        * trans-expr.c (gfc_conv_function_call): Ditto.

2007-11-25  Tobias Burnus  <burnus@net-b.de>

        PR fortran/34079
        * gfortran.dg/bind_c_usage_10_c.c: Fix comment.
        * gfortran.dg/bind_c_usage_16.f03: New.
        * gfortran.dg/bind_c_usage_16_c.c: New.


Added:
    trunk/gcc/testsuite/gfortran.dg/bind_c_usage_16.f03
    trunk/gcc/testsuite/gfortran.dg/bind_c_usage_16_c.c
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/fortran/trans-types.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/bind_c_usage_10_c.c


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]