[Bug c++/49691] New: ICE in cp_parser_late_return_type_opt, at cp/parser.c:15562
markus at trippelsdorf dot de
gcc-bugzilla@gcc.gnu.org
Sat Jul 9 17:31:00 GMT 2011
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49691
Summary: ICE in cp_parser_late_return_type_opt, at
cp/parser.c:15562
Product: gcc
Version: 4.7.0
Status: UNCONFIRMED
Severity: normal
Priority: P3
Component: c++
AssignedTo: unassigned@gcc.gnu.org
ReportedBy: markus@trippelsdorf.de
I've hit the following ICE when I try to build kdelibs-4.6.5 with the latest
gcc:
/var/tmp/portage/kde-base/kdelibs-4.6.5/work/kdelibs-4.6.5/kate/view/kateviewinternal.cpp:
In member function ‘void KateViewInternal::updateBracketMarkAttributes()’:
/var/tmp/portage/kde-base/kdelibs-4.6.5/work/kdelibs-4.6.5/kate/view/kateviewinternal.cpp:1865:27:
internal compiler error: in cp_parser_late_return_type_opt, at
cp/parser.c:15562
This points to commit 0499ac793b687:
Author: jason <jason@138bc75d-0d04-0410-961f-82ee72b054a4>
Date: Wed Jun 29 21:19:31 2011 +0000
DR 1207
PR c++/49003
* cp-tree.h (struct saved_scope): Add x_current_class_ptr,
x_current_class_ref.
(current_class_ptr, current_class_ref): Use them.
* decl.c (build_this_parm): Handle getting the class type.
* parser.c (cp_parser_late_return_type_opt): Set up 'this'
for use within the trailing return type.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@175671
The preprocessed file is attached.
More information about the Gcc-bugs
mailing list