===================================================================
@@ -4859,17 +4859,6 @@ ptrofftype_p (tree type)
&& TYPE_UNSIGNED (type) == TYPE_UNSIGNED (sizetype));
}
-/* Return true if the argument is a complete type or an array
- of unknown bound (whose type is incomplete but) whose elements
- have complete type. */
-static inline bool
-complete_or_array_type_p (const_tree type)
-{
- return COMPLETE_TYPE_P (type)
- || (TREE_CODE (type) == ARRAY_TYPE
- && COMPLETE_TYPE_P (TREE_TYPE (type)));
-}
-
/* Return true if the value of T could be represented as a poly_widest_int. */
inline bool
===================================================================
@@ -750,6 +750,17 @@ #define COMPLETE_OR_VOID_TYPE_P(NODE) \
#define COMPLETE_OR_UNBOUND_ARRAY_TYPE_P(NODE) \
(COMPLETE_TYPE_P (TREE_CODE (NODE) == ARRAY_TYPE ? TREE_TYPE (NODE) : (NODE)))
+/* Return true if the argument is a complete type or an array
+ of unknown bound (whose type is incomplete but) whose elements
+ have complete type. */
+static inline bool
+complete_or_array_type_p (const_tree type)
+{
+ return COMPLETE_TYPE_P (type)
+ || (TREE_CODE (type) == ARRAY_TYPE
+ && COMPLETE_TYPE_P (TREE_TYPE (type)));
+}
+
struct visibility_flags
{
unsigned inpragma : 1; /* True when in #pragma GCC visibility. */