summaryrefslogtreecommitdiff
path: root/gcc/cp/lex.c
diff options
context:
space:
mode:
authormmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-03 02:27:15 +0000
committermmitchel <mmitchel@138bc75d-0d04-0410-961f-82ee72b054a4>2000-03-03 02:27:15 +0000
commit89e923d833a2efa615827c0018cd42d49d57bcb7 (patch)
treedb09bd0c5719c40d563da6f148b6e0c062ae1ce1 /gcc/cp/lex.c
parent03ae52bb585e3edfe54407edb7f13a2337c6509e (diff)
downloadgcc-89e923d833a2efa615827c0018cd42d49d57bcb7.tar.gz
* tree.h (TYPE_ALIGN_UNIT): New macro.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@32302 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cp/lex.c')
-rw-r--r--gcc/cp/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/lex.c b/gcc/cp/lex.c
index 2e5a2e6b466..5c42a414699 100644
--- a/gcc/cp/lex.c
+++ b/gcc/cp/lex.c
@@ -3147,7 +3147,7 @@ do_identifier (token, parsing, args)
else if (!DECL_ERROR_REPORTED (id))
{
DECL_ERROR_REPORTED (id) = 1;
- if (TYPE_NEEDS_DESTRUCTOR (TREE_TYPE (id)))
+ if (TYPE_HAS_NONTRIVIAL_DESTRUCTOR (TREE_TYPE (id)))
{
error ("name lookup of `%s' changed for new ISO `for' scoping",
IDENTIFIER_POINTER (token));