This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/27821] [4.0/4.1 regression] ICE with invalid ptr-to-member
- From: "lmillward at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Jun 2006 17:00:52 -0000
- Subject: [Bug c++/27821] [4.0/4.1 regression] ICE with invalid ptr-to-member
- References: <bug-27821-1771@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #4 from lmillward at gcc dot gnu dot org 2006-06-25 17:00 -------
Subject: Bug 27821
Author: lmillward
Date: Sun Jun 25 17:00:43 2006
New Revision: 114988
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=114988
Log:
PR c++/27821
* decl.c (grokdeclarator): Return error_mark_node
on invalid uses of the scope resolution operator.
Added:
branches/gcc-4_1-branch/gcc/testsuite/g++.dg/template/error22.C
Modified:
branches/gcc-4_1-branch/gcc/cp/ChangeLog
branches/gcc-4_1-branch/gcc/cp/decl.c
branches/gcc-4_1-branch/gcc/testsuite/ChangeLog
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=27821