This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49691] ICE in cp_parser_late_return_type_opt, at cp/parser.c:15562
- From: "markus at trippelsdorf dot de" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Sat, 9 Jul 2011 18:46:18 +0000
- Subject: [Bug c++/49691] ICE in cp_parser_late_return_type_opt, at cp/parser.c:15562
- Auto-submitted: auto-generated
- References: <bug-49691-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49691
--- Comment #2 from Markus Trippelsdorf <markus at trippelsdorf dot de> 2011-07-09 18:46:16 UTC ---
Reduced testcase (produced with multidelta):
% cat test.cpp
class QObject { };
class QPaintDevice { };
class QFontInfo { };
class QWidget : public QObject, public QPaintDevice { };
class KateViewInternal : public QWidget {
void updateBracketMarkAttributes();
};
void KateViewInternal::updateBracketMarkAttributes() {
if (QFontInfo(renderer()->currentFont()).fixedPitch()) {
% g++ test.cpp
test.cpp: In member function âvoid
KateViewInternal::updateBracketMarkAttributes()â:
test.cpp:9:43: internal compiler error: in cp_parser_late_return_type_opt, at
cp/parser.c:15562
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.