[Bug fortran/30478] FAIL: gfortran.dg/enum_2.f90 -O (internal compiler error)

tobi at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Mon Feb 12 00:52:00 GMT 2007



------- Comment #26 from tobi at gcc dot gnu dot org  2007-02-12 00:51 -------
Subject: Bug 30478

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


-- 


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



More information about the Gcc-bugs mailing list