This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/53055] ICE in cp_build_indirect_ref, at cp/typeck.c:2836
- From: "glisse at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Fri, 12 Oct 2012 14:14:46 +0000
- Subject: [Bug c++/53055] ICE in cp_build_indirect_ref, at cp/typeck.c:2836
- Auto-submitted: auto-generated
- References: <bug-53055-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=53055
--- Comment #10 from Marc Glisse <glisse at gcc dot gnu.org> 2012-10-12 14:14:46 UTC ---
Author: glisse
Date: Fri Oct 12 14:14:37 2012
New Revision: 192401
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=192401
Log:
2012-10-12 Marc Glisse <marc.glisse@inria.fr>
PR c++/53055
gcc/c-family/
* c-common.h (enum ref_operator) [RO_ARROW_STAR]: New.
gcc/cp/
* call.c (build_new_op_1): Pass RO_ARROW_STAR to cp_build_indirect_ref.
* typeck.c (cp_build_indirect_ref): Handle RO_ARROW_STAR.
gcc/testsuite/
* g++.dg/pr53055.C: New testcase.
Added:
trunk/gcc/testsuite/g++.dg/pr53055.C (with props)
Modified:
trunk/gcc/c-family/ChangeLog
trunk/gcc/c-family/c-common.h
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/call.c
trunk/gcc/cp/typeck.c
trunk/gcc/testsuite/ChangeLog
Propchange: trunk/gcc/testsuite/g++.dg/pr53055.C
('svn:eol-style' added)
Propchange: trunk/gcc/testsuite/g++.dg/pr53055.C
('svn:keywords' added)