aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp/decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp/decl.c')
-rw-r--r--gcc/cp/decl.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c
index 74e829a..78f6fc5 100644
--- a/gcc/cp/decl.c
+++ b/gcc/cp/decl.c
@@ -12849,6 +12849,7 @@ xref_basetypes (code_type_node, name, ref, binfo)
tree base;
int i, len;
+ enum tag_types tag_code;
/* If we are called from the parser, code_type_node will sometimes be a
TREE_LIST. This indicates that the user wrote
@@ -12857,7 +12858,7 @@ xref_basetypes (code_type_node, name, ref, binfo)
if (TREE_CODE (code_type_node) == TREE_LIST)
code_type_node = TREE_VALUE (code_type_node);
- enum tag_types tag_code = (enum tag_types) tree_low_cst (code_type_node, 1);
+ tag_code = (enum tag_types) tree_low_cst (code_type_node, 1);
if (tag_code == union_type)
{