comparison gcc/cif-code.def @ 145:1830386684a0

gcc-9.2.0
author anatofuz
date Thu, 13 Feb 2020 11:34:05 +0900
parents 84e7813d76e9
children
comparison
equal deleted inserted replaced
131:84e7813d76e9 145:1830386684a0
1 /* This file contains the definitions of the cgraph_inline_failed_t 1 /* This file contains the definitions of the cgraph_inline_failed_t
2 enums used in GCC. 2 enums used in GCC.
3 3
4 Copyright (C) 2008-2018 Free Software Foundation, Inc. 4 Copyright (C) 2008-2020 Free Software Foundation, Inc.
5 Contributed by Doug Kwan <dougkwan@google.com> 5 Contributed by Doug Kwan <dougkwan@google.com>
6 6
7 This file is part of GCC. 7 This file is part of GCC.
8 8
9 GCC is free software you can redistribute it and/or modify it under 9 GCC is free software you can redistribute it and/or modify it under
81 81
82 /* Call is unlikely. */ 82 /* Call is unlikely. */
83 DEFCIFCODE(UNLIKELY_CALL, CIF_FINAL_NORMAL, 83 DEFCIFCODE(UNLIKELY_CALL, CIF_FINAL_NORMAL,
84 N_("call is unlikely and code size would grow")) 84 N_("call is unlikely and code size would grow"))
85 85
86 /* Call is considered never executed. */
87 DEFCIFCODE(NEVER_CALL, CIF_FINAL_NORMAL,
88 N_("call is considered never executed and code size would grow"))
89
86 /* Function is not declared as inline. */ 90 /* Function is not declared as inline. */
87 DEFCIFCODE(NOT_DECLARED_INLINED, CIF_FINAL_NORMAL, 91 DEFCIFCODE(NOT_DECLARED_INLINED, CIF_FINAL_NORMAL,
88 N_("function not declared inline and code size would grow")) 92 N_("function not declared inline and code size would grow"))
89
90 /* Caller and callee disagree on the arguments. */
91 DEFCIFCODE(MISMATCHED_ARGUMENTS, CIF_FINAL_ERROR,
92 N_("mismatched arguments"))
93 93
94 /* Caller and callee disagree on the arguments. */ 94 /* Caller and callee disagree on the arguments. */
95 DEFCIFCODE(LTO_MISMATCHED_DECLARATIONS, CIF_FINAL_ERROR, 95 DEFCIFCODE(LTO_MISMATCHED_DECLARATIONS, CIF_FINAL_ERROR,
96 N_("mismatched declarations during linktime optimization")) 96 N_("mismatched declarations during linktime optimization"))
97 97
130 130
131 /* We can't inline because of mismatched caller/callee attributes. */ 131 /* We can't inline because of mismatched caller/callee attributes. */
132 DEFCIFCODE(ATTRIBUTE_MISMATCH, CIF_FINAL_ERROR, 132 DEFCIFCODE(ATTRIBUTE_MISMATCH, CIF_FINAL_ERROR,
133 N_("function attribute mismatch")) 133 N_("function attribute mismatch"))
134 134
135 /* We can't inline because the user requests only static functions
136 but the function has external linkage for live patching purpose. */
137 DEFCIFCODE(EXTERN_LIVE_ONLY_STATIC, CIF_FINAL_ERROR,
138 N_("function has external linkage when the user requests only"
139 " inlining static for live patching"))
140
135 /* We proved that the call is unreachable. */ 141 /* We proved that the call is unreachable. */
136 DEFCIFCODE(UNREACHABLE, CIF_FINAL_ERROR, 142 DEFCIFCODE(UNREACHABLE, CIF_FINAL_ERROR,
137 N_("unreachable")) 143 N_("unreachable"))
138
139 /* We can't inline because of instrumentation thunk. */
140 DEFCIFCODE(CHKP, CIF_FINAL_ERROR,
141 N_("caller is instrumentation thunk"))