This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/49691] ICE in cp_parser_late_return_type_opt, at cp/parser.c:15562


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]