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

           Summary: [4.6 Regression] ICE: failed to reclaim unneeded
                    function with -fipa-cp -fipa-cp-clone
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: zso...@seznam.cz


Created attachment 22137
  --> http://gcc.gnu.org/bugzilla/attachment.cgi?id=22137
reduced testcase

Compiler output:
$ gcc -O -fipa-cp -fipa-cp-clone pr46154.C 
virtual int S::foo()/0(0) @0x7fb7f736a160 (asm: _ZN1S3fooEv)
availability:not_available 15 time, 13 benefit 6 size, 4 benefit reachable body
externally_visible finalized versionable
  called by: 
  calls: 
  References: 
  Refering this function: 
pr46154.C:14:1: internal compiler error: failed to reclaim unneeded function
Please submit a full bug report,
with preprocessed source if appropriate.
See <http://gcc.gnu.org/bugs.html> for instructions.

Tested revisions:
r165885 - crash
r165699 - crash
r163636 - OK

Reply via email to