This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug lto/51105] New: [4.7 Regression] FAIL: gcc.c-torture/execute/920501-1.c compilation, -O2 -flto -flto-partition=none


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: unassigned@gcc.gnu.org
        ReportedBy: dominiq@lps.ens.fr
                CC: hjl.tools@gmail.com, rguenther@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)));


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]