aboutsummaryrefslogtreecommitdiff
path: root/libgfortran/runtime/environ.c
diff options
context:
space:
mode:
authorMark Mitchell <mark@codesourcery.com>2006-10-17 22:43:37 +0000
committerMark Mitchell <mmitchel@gcc.gnu.org>2006-10-17 22:43:37 +0000
commitd19b84e94b3a0b93c02128f4a9f34281a70ebf41 (patch)
treed259806834b4f4ee036d1af0e724187d570c357b /libgfortran/runtime/environ.c
parentc7b0e0273ea01ccc3a8b8065944f89b6d619e787 (diff)
downloadgcc-d19b84e94b3a0b93c02128f4a9f34281a70ebf41.zip
gcc-d19b84e94b3a0b93c02128f4a9f34281a70ebf41.tar.gz
gcc-d19b84e94b3a0b93c02128f4a9f34281a70ebf41.tar.bz2
re PR c++/28261 (ICE with enum in constructor definition)
PR c++/28261 * parser.c (cp_lexer_next_token_is_decl_specifier_keyword): New function. (cp_parser_constructor_declarator_p): Use it. (cp_parser_check_type_definition): Return a value indicating whether or not the definition is valid. (cp_parser_enum_specifier): Skip invalid enum definitions. PR c++/28261 * g++.dg/parse/enum3.C: New test. From-SVN: r117835
Diffstat (limited to 'libgfortran/runtime/environ.c')
0 files changed, 0 insertions, 0 deletions