* c-typeck.c (require_complete_type): Return error_mark_node
if type is error_mark_node.
From-SVN: r49150
+2002-01-23 Zack Weinberg <zack@codesourcery.com>
+
+ * c-typeck.c (require_complete_type): Return error_mark_node
+ if type is error_mark_node.
+
2002-01-23 Janis Johnson <janis187@us.ibm.com>
* toplev.c (process_options): Disable -fprefetch-loop-arrays with
{
tree type = TREE_TYPE (value);
- if (TREE_CODE (value) == ERROR_MARK)
+ if (value == error_mark_node || type == error_mark_node)
return error_mark_node;
/* First, detect a valid value with a complete type. */