diff options
Diffstat (limited to 'gcc-4.4.3/gcc/l-ipo.c')
-rw-r--r-- | gcc-4.4.3/gcc/l-ipo.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.4.3/gcc/l-ipo.c b/gcc-4.4.3/gcc/l-ipo.c index 121baadc2..1a9232af3 100644 --- a/gcc-4.4.3/gcc/l-ipo.c +++ b/gcc-4.4.3/gcc/l-ipo.c @@ -1689,6 +1689,10 @@ process_module_scope_static_func (struct cgraph_node *cnode) || DECL_ARTIFICIAL (decl)) return; + if (flag_ripa_no_promote_always_inline + && lookup_attribute ("always_inline", DECL_ATTRIBUTES (decl)) != NULL) + return; + if (cgraph_is_auxiliary (cnode->decl)) { gcc_assert (cgraph_get_module_id (cnode->decl) |