+2011-06-10 Richard Guenther <rguenther@suse.de>
+
+ * stor-layout.c (initialize_sizetypes): Give names to all
+ sizetype kinds.
+
2011-06-10 Ira Rosen <ira.rosen@linaro.org>
PR tree-optimization/49318
/* Create stubs for sizetype and bitsizetype so we can create constants. */
sizetype = make_node (INTEGER_TYPE);
- /* ??? We can't set a name for sizetype because it appears in C diagnostics
- and pp_c_type_specifier doesn't deal with IDENTIFIER_NODE TYPE_NAMEs. */
+ TYPE_NAME (sizetype) = get_identifier ("sizetype");
TYPE_PRECISION (sizetype) = precision;
TYPE_UNSIGNED (sizetype) = 1;
TYPE_IS_SIZETYPE (sizetype) = 1;
/* Create the signed variants of *sizetype. */
ssizetype = make_signed_type (TYPE_PRECISION (sizetype));
+ TYPE_NAME (ssizetype) = get_identifier ("ssizetype");
TYPE_IS_SIZETYPE (ssizetype) = 1;
sbitsizetype = make_signed_type (TYPE_PRECISION (bitsizetype));
+ TYPE_NAME (sbitsizetype) = get_identifier ("sbitsizetype");
TYPE_IS_SIZETYPE (sbitsizetype) = 1;
}
\f