re PR fortran/13910 (Cannot initialize variables with declation as allowed by g77)
authorTobias Schlüter <tobias.schlueter@physik.uni-muenchen.de>
Sun, 29 Aug 2004 16:58:39 +0000 (18:58 +0200)
committerTobias Schlüter <tobi@gcc.gnu.org>
Sun, 29 Aug 2004 16:58:39 +0000 (18:58 +0200)
commit294fbfc89faac46092334188d2bbe527880794a7
tree7bdfd86accd5c303039855aeeec2bd0434510805
parent048c989961b261b522d1af001cec42518361e36b
re PR fortran/13910 (Cannot initialize variables with declation as allowed by g77)

fortran/
PR fortran/13910
* decl.c (free_variable, free_value, gfc_free_data, var_list,
var_element, top_var_list, match_data_constant, top_val_list,
gfc_match_data): Move here from match.c.
(match_old_style_init): New function.
(variable_decl): Match old-style initialization.
* expr.c (gfc_get_variable_expr): New function.
* gfortran.h (gfc_get_variable_expr): Add prototype.
* gfortran.texi: Start documentation for supported extensions.
* match.c: Remove the functions moved to decl.c.
* match.h (gfc_match_data): Move prototype to under decl.c.
* symbol.c (gfc_find_sym_tree, gfc_find_symbol): Add/correct
comments.

testsuite/
PR fortran/13910
* gfortran.dg/oldstyle_1.f90: New test.

From-SVN: r86729
gcc/fortran/ChangeLog
gcc/fortran/decl.c
gcc/fortran/expr.c
gcc/fortran/gfortran.h
gcc/fortran/gfortran.texi
gcc/fortran/match.c
gcc/fortran/match.h
gcc/fortran/symbol.c
gcc/testsuite/ChangeLog
gcc/testsuite/gfortran.dg/oldstyle_1.f90 [new file with mode: 0644]