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/33040] [ISO_C_BINDING] ICE in gfc_trans_structure_assign



------- Comment #4 from burnus at gcc dot gnu dot org  2007-09-11 15:53 -------
Subject: Bug 33040

Author: burnus
Date: Tue Sep 11 15:53:22 2007
New Revision: 128385

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128385
Log:
2007-09-11  Christopher D. Rickett  <crickett@lanl.gov>

        PR fortran/33040
        * trans-expr.c (gfc_trans_structure_assign): Convert component
        C_NULL_PTR and C_NULL_FUNPTR component initializers to (void *).
        * trans-types.c (gfc_get_derived_type): Create a backend_decl for
        the c_address field of C_PTR and C_FUNPTR and ensure initializer
        is of proper type/kind for (void *).

2007-09-11  Christopher D. Rickett  <crickett@lanl.gov>

        PR fortran/33040
        * gfortran.dg/c_ptr_tests_11.f03: New test case.


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


-- 


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


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