https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66255

            Bug ID: 66255
           Summary: ice in retrieve_specialization
           Product: gcc
           Version: 6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
          Assignee: unassigned at gcc dot gnu.org
          Reporter: dcb314 at hotmail dot com
  Target Milestone: ---

Created attachment 35601
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=35601&action=edit
gzipped C++ source code

The attached code, when compiled by gcc trunk dated 20150520 and with
flags -O2 -march=native  -std=c++0x on a x86_64 box, says this:

/usr/include/qt5/QtCore/qglobalstatic.h:123:1: internal compiler error: in
retrieve_specialization, at cp/pt.c:1065
 {
  ^
0x6344fa retrieve_specialization
    ../../src/trunk/gcc/cp/pt.c:1065
0x65a169 tsubst_decl
    ../../src/trunk/gcc/cp/pt.c:11290
0x645c8e tsubst(tree_node*, tree_node*, int, tree_node*)
    ../../src/trunk/gcc/cp/pt.c:11812
0x678268 instantiate_class_template_1
    ../../src/trunk/gcc/cp/pt.c:9400

Reply via email to