This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r121837 - in /branches/gcc-4_2-branch/gcc: fort...
- From: tobi at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 12 Feb 2007 00:51:44 -0000
- Subject: r121837 - in /branches/gcc-4_2-branch/gcc: fort...
Author: tobi
Date: Mon Feb 12 00:51:43 2007
New Revision: 121837
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121837
Log:
2007-02-10 Tobias Schlueter <tobi@gcc.gnu.org>
PR fortran/30478
fortran/
* decl.c (create_enum_history, gfc_free_enum_history): Formatting
fixes.
(add_init_expr_to_sym): Remove ENUM-specific code-path.
(variable_decl): Likewise. Formatting fix.
(match_attr_spec): Remove ENUM-specific codepath.
(gfc_match_enum): Fix typo in error message.
(enumerator_decl): New.
(gfc_match_enumerator_def): Strip down to code necessary for
ENUMs, use enumerator_decl.
testsuite/
* gfortran.dg/enum_4.f90: Update expected error message.
Modified:
branches/gcc-4_2-branch/gcc/fortran/ChangeLog
branches/gcc-4_2-branch/gcc/fortran/decl.c
branches/gcc-4_2-branch/gcc/testsuite/ChangeLog
branches/gcc-4_2-branch/gcc/testsuite/gfortran.dg/enum_4.f90