| Submitter | Aldy Hernandez |
|---|---|
| Date | Oct. 31, 2011, 7:44 p.m. |
| Message ID | <4EAEFA95.8040402@redhat.com> |
| Download | mbox | patch |
| Permalink | /patch/122929/ |
| State | New |
| Headers | show |
Comments
Patch
Index: ipa-inline.c =================================================================== --- ipa-inline.c (revision 180710) +++ ipa-inline.c (working copy) @@ -291,8 +291,7 @@ can_inline_edge_p (struct cgraph_edge *e && is_tm_safe (e->caller->decl)) { e->inline_failed = CIF_UNSPECIFIED; - gimple_call_set_cannot_inline (e->call_stmt, true); - return false; + inlinable = false; } /* Don't inline if the callee can throw non-call exceptions but the caller cannot.