ipa-inline.c (can_inline_edge_p): Short circuit if inline_failed already is final.
authorJan Hubicka <hubicka@ucw.cz>
Fri, 20 Mar 2015 06:41:17 +0000 (07:41 +0100)
committerJan Hubicka <hubicka@gcc.gnu.org>
Fri, 20 Mar 2015 06:41:17 +0000 (06:41 +0000)
commit7ce7e4d49497bb1b3459dd6e35dea6b7327531d5
treeaae13f8578d0f05cdbe59e21353a22070a4f17cb
parent21e357f1f2ecbd7b6ab479d8f2836e251681194b
ipa-inline.c (can_inline_edge_p): Short circuit if inline_failed already is final.

* ipa-inline.c (can_inline_edge_p): Short circuit if inline_failed
already is final.
(ipa_inline): Recompute inline_failed codes.
* cif-code.def (FUNCTION_NOT_OPTIMIZED, REDEFINED_EXTERN_INLINE,
USES_COMDAT_LOCAL, ATTRIBUTE_MISMATCH, UNREACHABLE): Declare as
CIF_FINAL_ERROR.

From-SVN: r221530
gcc/ChangeLog
gcc/cif-code.def
gcc/ipa-inline.c