+2015-05-19 Marek Polacek <polacek@redhat.com>
+
+ * c-typeck.c (start_init): Use AGGREGATE_TYPE_P.
+
2015-05-19 Jakub Jelinek <jakub@redhat.com>
PR middle-end/66199
2015-05-19 Mikhail Maltsev <maltsevm@gmail.com>
* c-typeck.c (build_array_ref): Use std::swap instead of explicit
- swaps
+ swaps.
2015-05-16 Manuel López-Ibáñez <manu@gcc.gnu.org>
= ((TREE_STATIC (decl) || (pedantic && !flag_isoc99))
/* For a scalar, you can always use any value to initialize,
even within braces. */
- && (TREE_CODE (TREE_TYPE (decl)) == ARRAY_TYPE
- || TREE_CODE (TREE_TYPE (decl)) == RECORD_TYPE
- || TREE_CODE (TREE_TYPE (decl)) == UNION_TYPE
- || TREE_CODE (TREE_TYPE (decl)) == QUAL_UNION_TYPE));
+ && AGGREGATE_TYPE_P (TREE_TYPE (decl)));
locus = identifier_to_locale (IDENTIFIER_POINTER (DECL_NAME (decl)));
}
else