Something doesn't work as expected with tree inlining.  This is visible by
adding the missing check to the CALL_CANNOT_INLINE_P flag:

#define CALL_CANNOT_INLINE_P(NODE) (CALL_EXPR_CHECK (NODE)->base.static_flag)

You get gazillions of failures in the C testsuite coming from cgraphbuild.c
and ipa-inline.c: the 'call_stmt' it is applied to can be GIMPLE_MODIFY_STMT.

Jan, any idea as to what is going on here?


-- 
           Summary: latent problem with tree inlining
           Product: gcc
           Version: 4.4.0
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: ebotcazou at gcc dot gnu dot org


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

Reply via email to