Command line:
$ g++ -O2 -fipa-cp-clone -flto -nostdlib -r file1.cpp file2.cpp

Compiler output:
$ g++ -O2 -fipa-cp-clone -flto -nostdlib -r file1.cpp file2.cpp
lto1: error: inlined_to pointer is set but no predecessors found
_ZN1S2v1Ev.constprop.1/6(-1) @0x7f44a7e9eac0 (asm: _ZN1S2v1Ev.constprop.1)
(inline copy in foo/0) (clone of _ZN1S2v1Ev.constprop.1/1) availability:local
analyzed 13 time, 12 benefit 4 size, 3 benefit reachable body local finalized
  called by: 
  calls: v2/5 (1.00 per call) 
  References:  var:s (addr)
  Refering this function: 
lto1: internal compiler error: verify_cgraph_node failed
Please submit a full bug report,
with preprocessed source if appropriate.
See <> for instructions.
returned 1 exit status
collect2: lto-wrapper returned 1 exit status

Tested revisions:

           Summary: [4.6 Regression] ICE: verify_cgraph_node failed:
                    inlined_to pointer is set but no predecessors found with
                    -fipa-cp-clone -flto
           Product: gcc
           Version: 4.6.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: rtl-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: zsojka at seznam dot cz
  GCC host triplet: x86_64-pc-linux-gnu
GCC target triplet: x86_64-pc-linux-gnu

Reply via email to