TYPE_MAIN_VARIANT of ERROR_MARK.
* c-lex.c (readescape): Avoid using printf syntax we don't recognize.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@36472
138bc75d-0d04-0410-961f-
82ee72b054a4
Sun Sep 17 10:46:17 2000 Richard Kenner <kenner@vlsi1.ultra.nyu.edu>
+ * c-decl.c (grokdeclarator): Reorder tests to avoid looking at
+ TYPE_MAIN_VARIANT of ERROR_MARK.
+ * c-lex.c (readescape): Avoid using printf syntax we don't recognize.
+
* simplify-rtx.c (simplify_unary_operation): Add cases
FLOAT_EXTEND and FLOAT_TRUNCATE to ones that return 0.
controlled separately by its own initializer. */
if (type != 0 && typedef_type != 0
- && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (typedef_type)
- && TREE_CODE (type) == ARRAY_TYPE && TYPE_DOMAIN (type) == 0)
+ && TREE_CODE (type) == ARRAY_TYPE && TYPE_DOMAIN (type) == 0
+ && TYPE_MAIN_VARIANT (type) == TYPE_MAIN_VARIANT (typedef_type))
{
type = build_array_type (TREE_TYPE (type), 0);
if (size_varies)
if (ISGRAPH (c))
pedwarn ("unknown escape sequence '\\%c'", c);
else
- pedwarn ("unknown escape sequence: '\\' followed by char 0x%.2x", c);
+ pedwarn ("unknown escape sequence: '\\' followed by char 0x%x", c);
*cptr = c;
return p;