aboutsummaryrefslogtreecommitdiff
path: root/gcc/dbxout.c
diff options
context:
space:
mode:
authorPaolo Carlini <paolo.carlini@oracle.com>2011-06-10 11:08:14 +0000
committerPaolo Carlini <paolo.carlini@oracle.com>2011-06-10 11:08:14 +0000
commitedee98ec7e5d45ea59b4f2e32d57405e8308cf2b (patch)
tree9e97fc62830a4c4b6d61b8286612e1d1f1b41fb5 /gcc/dbxout.c
parente5c7820a702cfb7f37fe8ae170cd3b9ef1c2ba89 (diff)
/gcc/cp
2011-06-10 Paolo Carlini <paolo.carlini@oracle.com> * cp-tree.h (error_operand_p): Remove. /gcc 2011-06-10 Paolo Carlini <paolo.carlini@oracle.com> * tree.h (error_operand_p): Add. * dbxout.c (dbxout_type_fields): Use the latter. * c-decl.c (add_stmt): Likewise. * gimplify.c (omp_add_variable, omp_notice_variable, gimplify_scan_omp_clauses): Likewise. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@174899 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r--gcc/dbxout.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c
index be43ed3dae7..9160fb3ded9 100644
--- a/gcc/dbxout.c
+++ b/gcc/dbxout.c
@@ -1510,7 +1510,7 @@ dbxout_type_fields (tree type)
{
/* If one of the nodes is an error_mark or its type is then
return early. */
- if (tem == error_mark_node || TREE_TYPE (tem) == error_mark_node)
+ if (error_operand_p (tem))
return;
/* Omit here local type decls until we know how to support them. */