This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33836] [4.1/4.2/4.3 regresssion] ICE with invalid use of &&
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 5 Nov 2007 08:18:08 -0000
- Subject: [Bug c++/33836] [4.1/4.2/4.3 regresssion] ICE with invalid use of &&
- References: <bug-33836-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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