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++/57352] New: internal compiler error in cp_parser_abort_tentative_parse at cp/parser.c:22878


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=57352

            Bug ID: 57352
           Summary: internal compiler error in
                    cp_parser_abort_tentative_parse at cp/parser.c:22878
           Product: gcc
           Version: 4.7.2
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: vanyacpp at gmail dot com

gcc 4.7.2 crashes on the following code:

struct x
{
    operator class {} ();
};

With error message:

13.cpp:3:21: internal compiler error: in cp_parser_abort_tentative_parse, at
cp/parser.c:22878
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]