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 c++/38635] [4.4 regression] ICE parsing broken code



------- Comment #4 from jakub at gcc dot gnu dot org  2008-12-29 18:28 -------
Subject: Bug 38635

Author: jakub
Date: Mon Dec 29 18:27:03 2008
New Revision: 142951

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142951
Log:
        PR c++/38635
        * parser.c (cp_parser_condition): Use cp_parser_require
        instead of cp_lexer_consume_token to consume =.

        * g++.dg/parse/cond4.C: New test.

Added:
    trunk/gcc/testsuite/g++.dg/parse/cond4.C
Modified:
    trunk/gcc/cp/ChangeLog
    trunk/gcc/cp/parser.c
    trunk/gcc/testsuite/ChangeLog


-- 


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


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