diff options
Diffstat (limited to 'gcc-4.9/gcc/ipa-utils.c')
-rw-r--r-- | gcc-4.9/gcc/ipa-utils.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc-4.9/gcc/ipa-utils.c b/gcc-4.9/gcc/ipa-utils.c index dccecb16a..e914d8fb7 100644 --- a/gcc-4.9/gcc/ipa-utils.c +++ b/gcc-4.9/gcc/ipa-utils.c @@ -38,6 +38,7 @@ along with GCC; see the file COPYING3. If not see #include "flags.h" #include "diagnostic.h" #include "langhooks.h" +#include "l-ipo.h" #include "lto-streamer.h" #include "ipa-inline.h" @@ -331,6 +332,9 @@ ipa_reverse_postorder (struct cgraph_node **order) && !DECL_DISREGARD_INLINE_LIMITS (cgraph_function_node (edge->callee, NULL)->decl)) node2 = NULL; + if (L_IPO_COMP_MODE + && cgraph_is_fake_indirect_call_edge (edge)) + node2 = NULL; } for (;ipa_ref_list_referring_iterate (&stack[stack_size].node->ref_list, stack[stack_size].ref, |