[Bug c++/54616] New: Segmentation fault (during parsing?)

patrik.h.hagglund at gmail dot com gcc-bugzilla@gcc.gnu.org
Tue Sep 18 13:36:00 GMT 2012


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

             Bug #: 54616
           Summary: Segmentation fault (during parsing?)
    Classification: Unclassified
           Product: gcc
           Version: 4.7.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned@gcc.gnu.org
        ReportedBy: patrik.h.hagglund@gmail.com


cat << EOF > foo.c
class node { virtual bool is_sub (); };
class __lambda:node {};
EOF
g++ -c foo.c

foo.c:2:7: internal compiler error: Segmentation fault
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

(This is a reduced testcase (using C-Reduce and hand editing), originated from
compiling cxa_demangle.cpp in lldb.)



More information about the Gcc-bugs mailing list