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
a646a211
Commit
a646a211
authored
Jun 16, 1994
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(warn_if_unused_value): Handle TREE_NO_UNUSED_WARNING for
COMPOUND_EXPRs, too. From-SVN: r7500
parent
248c0f74
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
0 deletions
+2
-0
gcc/stmt.c
+2
-0
No files found.
gcc/stmt.c
View file @
a646a211
...
...
@@ -1697,6 +1697,8 @@ warn_if_unused_value (exp)
return
warn_if_unused_value
(
TREE_OPERAND
(
exp
,
1
));
case
COMPOUND_EXPR
:
if
(
TREE_NO_UNUSED_WARNING
(
exp
))
return
0
;
if
(
warn_if_unused_value
(
TREE_OPERAND
(
exp
,
0
)))
return
1
;
/* Let people do `(foo (), 0)' without a warning. */
...
...
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