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/45507] [4.6 Regression] Bogus Error: Can't convert TYPE(c_ptr) to INTEGER(4)



------- Comment #5 from janus at gcc dot gnu dot org  2010-09-04 09:29 -------
Subject: Bug 45507

Author: janus
Date: Sat Sep  4 09:29:11 2010
New Revision: 163856

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=163856
Log:
2010-09-04  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/45507
        * resolve.c (resolve_allocate_expr): Generate default initializers
        already at this point, resolve them and put them into expr3, ...
        * trans-stmt.c (gfc_trans_allocate): ... instead of waiting until
        translation stage.


2010-09-04  Janus Weil  <janus@gcc.gnu.org>

        PR fortran/45507
        * gfortran.dg/allocate_alloc_opt_12.f90: New.

Added:
    trunk/gcc/testsuite/gfortran.dg/allocate_alloc_opt_12.f90
Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/resolve.c
    trunk/gcc/fortran/trans-stmt.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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