Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
R
riscv-gcc-1
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
riscv-gcc-1
Commits
6cc902a1
Commit
6cc902a1
authored
Mar 25, 1994
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(push_parm_decl): Move decl of unused variable OLDDECL into #if 0
block. From-SVN: r6872
parent
c4e8f305
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
3 deletions
+2
-3
gcc/c-decl.c
+2
-3
No files found.
gcc/c-decl.c
View file @
6cc902a1
...
@@ -3655,7 +3655,7 @@ void
...
@@ -3655,7 +3655,7 @@ void
push_parm_decl
(
parm
)
push_parm_decl
(
parm
)
tree
parm
;
tree
parm
;
{
{
tree
decl
,
olddecl
;
tree
decl
;
int
old_immediate_size_expand
=
immediate_size_expand
;
int
old_immediate_size_expand
=
immediate_size_expand
;
/* Don't try computing parm sizes now -- wait till fn is called. */
/* Don't try computing parm sizes now -- wait till fn is called. */
immediate_size_expand
=
0
;
immediate_size_expand
=
0
;
...
@@ -3668,6 +3668,7 @@ push_parm_decl (parm)
...
@@ -3668,6 +3668,7 @@ push_parm_decl (parm)
#if 0
#if 0
if (DECL_NAME (decl))
if (DECL_NAME (decl))
{
{
tree olddecl;
olddecl = lookup_name (DECL_NAME (decl));
olddecl = lookup_name (DECL_NAME (decl));
if (pedantic && olddecl != 0 && TREE_CODE (olddecl) == TYPE_DECL)
if (pedantic && olddecl != 0 && TREE_CODE (olddecl) == TYPE_DECL)
pedwarn_with_decl (decl, "ANSI C forbids parameter `%s' shadowing typedef");
pedwarn_with_decl (decl, "ANSI C forbids parameter `%s' shadowing typedef");
...
@@ -5564,10 +5565,8 @@ finish_enum (enumtype, values)
...
@@ -5564,10 +5565,8 @@ finish_enum (enumtype, values)
tree
minnode
=
0
,
maxnode
=
0
;
tree
minnode
=
0
,
maxnode
=
0
;
register
HOST_WIDE_INT
maxvalue
=
0
;
register
HOST_WIDE_INT
maxvalue
=
0
;
register
HOST_WIDE_INT
minvalue
=
0
;
register
HOST_WIDE_INT
minvalue
=
0
;
register
int
i
;
unsigned
precision
=
0
;
unsigned
precision
=
0
;
int
toplevel
=
global_binding_level
==
current_binding_level
;
int
toplevel
=
global_binding_level
==
current_binding_level
;
int
temporary
=
allocation_temporary_p
();
if
(
in_parm_level_p
())
if
(
in_parm_level_p
())
warning
(
"enum defined inside parms"
);
warning
(
"enum defined inside parms"
);
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment