[Bug fortran/20845] Module variablle with defualt component needs SAVE attribute.

2006-02-03 Thread kargl at gcc dot gnu dot org


--- Comment #7 from kargl at gcc dot gnu dot org  2006-02-03 21:32 ---
Subject: Bug 20845

Author: kargl
Date: Fri Feb  3 21:32:14 2006
New Revision: 110560

URL: http://gcc.gnu.org/viewcvs?root=gccview=revrev=110560
Log:
2006-02-03  Steven G. Kargl  [EMAIL PROTECTED]
Paul Thomas  [EMAIL PROTECTED]

PR fortran/20845
* resolve.c (resolve_symbol): Default initialization of derived type
component reguires the SAVE attribute.

2006-02-02  Steven G. Kargl  [EMAIL PROTECTED]

PR fortran/24958
match.c (gfc_match_nullify):  Free the list from head not tail.

PR fortran/25072
* match.c (match_forall_header): Fix internal error caused by bogus
gfc_epxr pointers.


2006-02-03  Steven G. Kargl  [EMAIL PROTECTED]

PR fortran/24958
* gfortran.dg/nullify_2.f90

PR fortran/20845
* gfortran.dg/char_result_11.f90: Add SAVE.
* gfortran.dg/der_pointer_4.f90: Ditto.
* gfortran.dg/used_dummy_types_5.f90
* gfortran.dg/default_initialization.f90: New test.



Added:
   
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/default_initialization.f90
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/nullify_2.f90
Modified:
branches/gcc-4_1-branch/gcc/fortran/ChangeLog
branches/gcc-4_1-branch/gcc/fortran/match.c
branches/gcc-4_1-branch/gcc/fortran/resolve.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/char_result_11.f90
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/der_pointer_4.f90
branches/gcc-4_1-branch/gcc/testsuite/gfortran.dg/used_dummy_types_5.f90


-- 


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



[Bug fortran/20845] Module variablle with defualt component needs SAVE attribute.

2006-02-03 Thread kargl at gcc dot gnu dot org


--- Comment #8 from kargl at gcc dot gnu dot org  2006-02-03 21:36 ---
Fixed in 4.1 and trunk


-- 

kargl at gcc dot gnu dot org changed:

   What|Removed |Added

 Status|ASSIGNED|RESOLVED
 Resolution||FIXED
   Target Milestone|--- |4.1.0


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



[Bug fortran/20845] Module variablle with defualt component needs SAVE attribute.

2006-01-27 Thread kargl at gcc dot gnu dot org


--- Comment #6 from kargl at gcc dot gnu dot org  2006-01-27 19:11 ---
I working on a patch for this.


-- 

kargl at gcc dot gnu dot org changed:

   What|Removed |Added

 AssignedTo|unassigned at gcc dot gnu   |kargl at gcc dot gnu dot org
   |dot org |
 Status|NEW |ASSIGNED
   Last reconfirmed|2005-09-30 17:03:07 |2006-01-27 19:11:13
   date||


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