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 #20 from tobi at gcc dot gnu dot org  2007-02-10 02:18 -------
Forgot the ChangeLog:
2007-02-10  Tobias Schlüter  <tobi@gcc.gnu.org>

       PR fortran/30478
       * decl.c (variabl_decl): Add argument for case where we are compiling an
       ENUM declaration.
       (gfc_match_data_decl, gfc_match_enumerator_def: Update calls
accordingly.

It may be cleaner to create a stripped down sibling of variable_decl for use
with ENUMERATORs, this would also make clearer which extensions we actually
want to allow.


-- 


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]