Consider N_SPEC_DECL a statement in classify_node.
@@ -7115,15 +7115,15 @@ static void classify_node (node_t n, int *expr_attr_p, int *stmt_p) {
*expr_attr_p = TRUE;
break;
REP8 (NODE_CASE, IF, SWITCH, WHILE, DO, FOR, GOTO, CONTINUE, BREAK)
- REP3 (NODE_CASE, RETURN, EXPR, BLOCK)
+ REP4 (NODE_CASE, RETURN, EXPR, BLOCK, SPEC_DECL) /* SPEC DECL may have an initializer */
*stmt_p = TRUE;
break;
- REP8 (NODE_CASE, IGNORE, CASE, DEFAULT, LABEL, LIST, SPEC_DECL, SHARE, TYPEDEF)
- REP8 (NODE_CASE, EXTERN, STATIC, AUTO, REGISTER, THREAD_LOCAL, DECL, VOID, CHAR)
- REP8 (NODE_CASE, SHORT, INT, LONG, FLOAT, DOUBLE, SIGNED, UNSIGNED, BOOL)
- REP8 (NODE_CASE, STRUCT, UNION, ENUM, ENUM_CONST, MEMBER, CONST, RESTRICT, VOLATILE)
- REP8 (NODE_CASE, ATOMIC, INLINE, NO_RETURN, ALIGNAS, FUNC, STAR, POINTER, DOTS)
- REP7 (NODE_CASE, ARR, INIT, FIELD_ID, TYPE, ST_ASSERT, FUNC_DEF, MODULE)
+ REP8 (NODE_CASE, IGNORE, CASE, DEFAULT, LABEL, LIST, SHARE, TYPEDEF, EXTERN)
+ REP8 (NODE_CASE, STATIC, AUTO, REGISTER, THREAD_LOCAL, DECL, VOID, CHAR, SHORT)
+ REP8 (NODE_CASE, INT, LONG, FLOAT, DOUBLE, SIGNED, UNSIGNED, BOOL, STRUCT)
+ REP8 (NODE_CASE, UNION, ENUM, ENUM_CONST, MEMBER, CONST, RESTRICT, VOLATILE, ATOMIC)
+ REP8 (NODE_CASE, INLINE, NO_RETURN, ALIGNAS, FUNC, STAR, POINTER, DOTS, ARR)
+ REP6 (NODE_CASE, INIT, FIELD_ID, TYPE, ST_ASSERT, FUNC_DEF, MODULE)
break;
default: assert (FALSE);
}
