This is the mail archive of the gcc-patches@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]

[patch, gfortran] PRs 15975 & 16606


:ADDPATCH fortran:

The attached patch fixes PRs 15975 & 16606 (they are duplicates).

The problem was that we tried to assign default initializers to
derived type variables, even when they were pointers.

Bubblestrapped and reg.tested on 4.0 and mainline, Linux/x86.
Please apply if OK.


        Erik


2005-09-16 Erik Edelmann <erik.edelmann@iki.fi>

        PR fortran/15975
        PR fortran/16606
        * resolve.c (resolve_symbol): Don't assign default
          initializer to pointers.

2005-09-16 Erik Edelmann <erik.edelmann@iki.fi>

        PR fortran/15975
        PR fortran/16606
        * gfortran.dg/der_pointer_2.f90: New test.

Attachment: 15975.diff
Description: Text document

Attachment: der_pointer_2.f90
Description: Text document


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