summaryrefslogtreecommitdiff
path: root/contrib
diff options
context:
space:
mode:
authorpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-18 00:48:05 +0000
committerpbrook <pbrook@138bc75d-0d04-0410-961f-82ee72b054a4>2004-05-18 00:48:05 +0000
commitd9b3f26bfd2dcda4c60d6317ac42db8d348b398d (patch)
treec59d49b2984c03bcf5e5f018b12cc2f44288e7a1 /contrib
parent86a940c6087fcf3e23586a30dc4e8354dce6a1d0 (diff)
downloadgcc-d9b3f26bfd2dcda4c60d6317ac42db8d348b398d.tar.gz
PR fortran/13930
* decl.c (add_init_expr_to_sym): Remove incorrect check. (default_initializer): Move to expr.c. (variable_decl): Don't assign default initializer to variables. * expr.c (gfc_default_initializer): Move to here. * gfortran.h (gfc_default_initializer): Add prototype. * resolve.c (resolve_symbol): Check for illegal initializers. Assign default initializer. testsuite/ * gfortran.fortran-torture/execute/der_init_4.f90: New test. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@81966 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'contrib')
0 files changed, 0 insertions, 0 deletions