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

            Bug ID: 60380
           Summary: [C++11] ICE: in gen_type_die_with_usage with -g and
                    template instantiation
           Product: gcc
           Version: 4.8.1
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: debug
          Assignee: unassigned at gcc dot gnu.org
          Reporter: bcmpinc at hotmail dot com

Created attachment 32237
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=32237&action=edit
A minimal testcase triggering the ICE

GCC crashes with an ICE, when trying to generate the debug information of a
template class that contains a function that cannot be instantiated due to
substitution failure.

A minimal testcase and compiler output are attached. The testcase was compiled
with:

g++ -v -save-temps -std=c++11 -g testcase.cpp 2> output.txt

Reply via email to