Tested revisions:
r159305 - crash (after pr34491 fix)
4.5 r158978 - crash
4.4 r158133 - crash

Compiler output:
$ /mnt/svn/gcc-trunk/binary-159305-lto-fortran/bin/g++ testcase.C
testcase.C:2:30: error: template parameters not used in partial specialization:
testcase.C:2:30: error:         '<template-parameter-1-1>'
testcase.C: In function 'void f()':
testcase.C:11:16:   recursively instantiated from 'void S<int>::f()'
testcase.C:11:16:   instantiated from here
testcase.C:11:16: internal compiler error: in instantiate_decl, at
cp/pt.c:16657
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.


-- 
           Summary: ICE: in instantiate_decl, at cp/pt.c:16657
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: minor
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz


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

Reply via email to