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

             Bug #: 51105
           Summary: [4.7 Regression] FAIL:
                    gcc.c-torture/execute/920501-1.c compilation,  -O2
                    -flto -flto-partition=none
    Classification: Unclassified
           Product: gcc
           Version: 4.7.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: lto
        AssignedTo: unassig...@gcc.gnu.org
        ReportedBy: domi...@lps.ens.fr
                CC: hjl.to...@gmail.com, rguent...@suse.de


Between revisions 181189 (OK) and 181208 (see
http://gcc.gnu.org/ml/gcc-regression/2011-11/msg00230.html : r181205?), the
test gcc.c-torture/execute/920501-1.c compiled with '-O2 -flto
-flto-partition=none' has started to give an ICE:

lto1: internal compiler error: in can_inline_edge_p, at ipa-inline.c:353

This corresponds to the gcc_checking_assert for

/* In -flto-partition=none mode we really keep things out of
   sync because call_stmt_cannot_inline_p is set at cgraph
   merging when function bodies are not there yet.  */
|| (in_lto_p && !gimple_call_cannot_inline_p (e->call_stmt)));

Reply via email to