comparison gcc/cif-code.def @ 131:84e7813d76e9

gcc-8.2
author mir3636
date Thu, 25 Oct 2018 07:37:49 +0900
parents 04ced10e8804
children 1830386684a0
comparison
equal deleted inserted replaced
111:04ced10e8804 131:84e7813d76e9
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-2017 Free Software Foundation, Inc. 4 Copyright (C) 2008-2018 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
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
98 /* Caller is variadic thunk. */
99 DEFCIFCODE(VARIADIC_THUNK, CIF_FINAL_ERROR,
100 N_("variadic thunk call"))
101
98 /* Call was originally indirect. */ 102 /* Call was originally indirect. */
99 DEFCIFCODE(ORIGINALLY_INDIRECT_CALL, CIF_FINAL_NORMAL, 103 DEFCIFCODE(ORIGINALLY_INDIRECT_CALL, CIF_FINAL_NORMAL,
100 N_("originally indirect function call not considered for inlining")) 104 N_("originally indirect function call not considered for inlining"))
101 105
102 /* Ths edge represents an indirect edge with a yet-undetermined callee . */ 106 /* Ths edge represents an indirect edge with a yet-undetermined callee . */
126 130
127 /* We can't inline because of mismatched caller/callee attributes. */ 131 /* We can't inline because of mismatched caller/callee attributes. */
128 DEFCIFCODE(ATTRIBUTE_MISMATCH, CIF_FINAL_ERROR, 132 DEFCIFCODE(ATTRIBUTE_MISMATCH, CIF_FINAL_ERROR,
129 N_("function attribute mismatch")) 133 N_("function attribute mismatch"))
130 134
131 /* We can't inline because of mismatched caller/callee attributes. */
132 DEFCIFCODE(CILK_SPAWN, CIF_FINAL_ERROR,
133 N_("caller function contains cilk spawn"))
134
135 /* We proved that the call is unreachable. */ 135 /* We proved that the call is unreachable. */
136 DEFCIFCODE(UNREACHABLE, CIF_FINAL_ERROR, 136 DEFCIFCODE(UNREACHABLE, CIF_FINAL_ERROR,
137 N_("unreachable")) 137 N_("unreachable"))
138 138
139 /* We can't inline because of instrumentation thunk. */ 139 /* We can't inline because of instrumentation thunk. */