aboutsummaryrefslogtreecommitdiff
path: root/gcc/cif-code.def
diff options
context:
space:
mode:
authorEric Botcazou <ebotcazou@adacore.com>2019-07-25 16:07:29 +0000
committerEric Botcazou <ebotcazou@gcc.gnu.org>2019-07-25 16:07:29 +0000
commit5ab2422adf894bdf84deed8c7c0557c16d6dca2b (patch)
tree0b3f29e17af61b133ca4870bda6e49e4fd6a75dc /gcc/cif-code.def
parent75088696935c7e179699cb448e0a2cee74c8494f (diff)
downloadgcc-5ab2422adf894bdf84deed8c7c0557c16d6dca2b.zip
gcc-5ab2422adf894bdf84deed8c7c0557c16d6dca2b.tar.gz
gcc-5ab2422adf894bdf84deed8c7c0557c16d6dca2b.tar.bz2
cif-code.def (NEVER_CALL): New code.
* cif-code.def (NEVER_CALL): New code. * ipa-inline.c (want_inline_small_function_p): Fix formatting issues. Set the failure to CIF_NEVER_CALL if the IPA count is zero. From-SVN: r273804
Diffstat (limited to 'gcc/cif-code.def')
-rw-r--r--gcc/cif-code.def4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/cif-code.def b/gcc/cif-code.def
index cee16cf..ccd08e2 100644
--- a/gcc/cif-code.def
+++ b/gcc/cif-code.def
@@ -83,6 +83,10 @@ DEFCIFCODE(RECURSIVE_INLINING, CIF_FINAL_NORMAL,
DEFCIFCODE(UNLIKELY_CALL, CIF_FINAL_NORMAL,
N_("call is unlikely and code size would grow"))
+/* Call is considered never executed. */
+DEFCIFCODE(NEVER_CALL, CIF_FINAL_NORMAL,
+ N_("call is considered never executed and code size would grow"))
+
/* Function is not declared as inline. */
DEFCIFCODE(NOT_DECLARED_INLINED, CIF_FINAL_NORMAL,
N_("function not declared inline and code size would grow"))