diff options
author | Paolo Carlini <paolo.carlini@oracle.com> | 2011-06-10 11:08:14 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2011-06-10 11:08:14 +0000 |
commit | b504a91833ea26e7469077975b098e3c42551d4e (patch) | |
tree | 9e97fc62830a4c4b6d61b8286612e1d1f1b41fb5 /gcc/dbxout.c | |
parent | 3f5ea9dc58907a2d3898ac666572c103d46aa917 (diff) | |
download | gcc-b504a91833ea26e7469077975b098e3c42551d4e.zip gcc-b504a91833ea26e7469077975b098e3c42551d4e.tar.gz gcc-b504a91833ea26e7469077975b098e3c42551d4e.tar.bz2 |
cp-tree.h (error_operand_p): Remove.
/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.
From-SVN: r174899
Diffstat (limited to 'gcc/dbxout.c')
-rw-r--r-- | gcc/dbxout.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/dbxout.c b/gcc/dbxout.c index be43ed3..9160fb3 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. */ |