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

           Summary: ICE: tree code 'template_parm_index' is not supported
                    in gimple streams with -lto
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: tbp...@gmail.com


Created attachment 22022
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22022
refrigeration

Hello,

in the vein of PR45947, PR45959 and others, i'm still having issues in LTO
mode:
$ /usr/local/gcc-4.6-20101012/bin/g++ -flto -std=c++0x -c synth.ii
src/audio/synth.cc:96:1: internal compiler error: tree code
'template_parm_index' is not supported in gimple streams
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Sorry for the ugly test-case.

PS: initially i also suffered a 'template_type_parm' ICE somewhere else and
contacted R. Guenther, about PR45947, and he provided a patch that fixed
everything.

Reply via email to