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++/33836] [4.1/4.2/4.3 regresssion] ICE with invalid use of &&



------- Comment #2 from jakub at gcc dot gnu dot org  2007-11-05 08:18 -------
Subject: Bug 33836

Author: jakub
Date: Mon Nov  5 08:18:03 2007
New Revision: 129896

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=129896
Log:
        PR c++/33836
        * parser.c (cp_parser_unary_expression): For &&label call
        cp_parser_non_integral_constant_expression and return error_mark_node
        if it returned true.

        * g++.dg/ext/label10.C: New test.

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


-- 


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


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