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/35983] C_LOC in derived type constructor gives weird result



------- Comment #3 from mikael at gcc dot gnu dot org  2008-12-09 19:13 -------
Subject: Bug 35983

Author: mikael
Date: Tue Dec  9 19:12:27 2008
New Revision: 142605

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142605
Log:
2008-12-09  Mikael Morin  <mikael.morin@tele2.fr>

        PR fortran/35983
        * trans-expr.c (gfc_trans_subcomponent_assign):
        Add se's pre and post blocks to current block.
        (gfc_trans_structure_assign): Remove specific handling
        of C_NULL_PTR and C_NULL_FUNPTR.

2008-12-09  Mikael Morin  <mikael.morin@tele2.fr>

        PR fortran/35983
        * gfortran.dg/pr35983.f90: New test.


Added:
    trunk/gcc/testsuite/gfortran.dg/pr35983.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/trans-expr.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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