summaryrefslogtreecommitdiff
path: root/gcc/c-decl.c
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/c-decl.c')
-rw-r--r--gcc/c-decl.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/gcc/c-decl.c b/gcc/c-decl.c
index 1af84da3940..4e9564d25e1 100644
--- a/gcc/c-decl.c
+++ b/gcc/c-decl.c
@@ -3977,7 +3977,6 @@ grokdeclarator (const struct c_declarator *declarator,
int volatilep;
int type_quals = TYPE_UNQUALIFIED;
const char *name, *orig_name;
- tree typedef_type = 0;
bool funcdef_flag = false;
bool funcdef_syntax = false;
int size_varies = 0;
@@ -4051,7 +4050,6 @@ grokdeclarator (const struct c_declarator *declarator,
type = integer_type_node;
}
- typedef_type = type;
size_varies = C_TYPE_VARIABLE_SIZE (type);
/* Diagnose defaulting to "int". */
@@ -4701,7 +4699,6 @@ grokdeclarator (const struct c_declarator *declarator,
if (decl_context == PARM)
{
- tree type_as_written;
tree promoted_type;
/* A parameter declared as an array of T is really a pointer to T.
@@ -4737,8 +4734,6 @@ grokdeclarator (const struct c_declarator *declarator,
else if (type_quals)
type = c_build_qualified_type (type, type_quals);
- type_as_written = type;
-
decl = build_decl (PARM_DECL, declarator->u.id, type);
DECL_SOURCE_LOCATION (decl) = declarator->id_loc;
if (size_varies)