This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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



------- Comment #25 from tobi at gcc dot gnu dot org  2007-02-11 22:36 -------
Subject: Bug 30478

Author: tobi
Date: Sun Feb 11 22:35:56 2007
New Revision: 121830

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=121830
Log:
2007-02-11  Tobias Schlueter  <tobi@gcc.gnu.org>

PR fortran/30478
fortran/
* decl.c (add_init_expr_to_sym): Remove ENUM specific code.
(variable_decl): Likewise.  Rewrap comment.
(match_attr_spec): Remove ENUM specific code.
(gfc_match_enum): Fix typo in error message.
(enumerator_decl): New function.
(gfc_match_enumerator_def): Use enumerator_decl instead of
variable_decl.  Adapt code accordingly.
testsuite/
* gfortran.dg/enum_4.f90: Update error message checks.

Modified:
    trunk/gcc/fortran/ChangeLog
    trunk/gcc/fortran/decl.c
    trunk/gcc/testsuite/ChangeLog
    trunk/gcc/testsuite/gfortran.dg/enum_4.f90


-- 


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]