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
8e5a0fcb
Commit
8e5a0fcb
authored
Sep 19, 2000
by
Richard Henderson
Committed by
Richard Henderson
Sep 19, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-decl.c (poplevel): Invoke warn_about_unused_variables.
From-SVN: r36531
parent
0b534c3f
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
0 deletions
+8
-0
gcc/ChangeLog
+2
-0
gcc/c-decl.c
+6
-0
No files found.
gcc/ChangeLog
View file @
8e5a0fcb
2000-09-19 Richard Henderson <rth@cygnus.com>
* c-decl.c (poplevel): Invoke warn_about_unused_variables.
* unroll.c (copy_loop_body): Update LABEL_NUSES before
calling invert_jump.
...
...
gcc/c-decl.c
View file @
8e5a0fcb
...
...
@@ -1100,6 +1100,12 @@ poplevel (keep, reverse, functionbody)
TREE_ADDRESSABLE
(
DECL_ABSTRACT_ORIGIN
(
decl
))
=
1
;
}
/* We used to warn about unused variables in expand_end_bindings,
i.e. while generating RTL. But in function-at-a-time mode we may
choose to never expand a function at all (e.g. auto inlining), so
we do this explicitly now. */
warn_about_unused_variables
(
getdecls
());
/* If there were any declarations or structure tags in that level,
or if this level is a function body,
create a BLOCK to record them for the life of this function. */
...
...
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