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
6c86bd88
Commit
6c86bd88
authored
Jul 04, 2017
by
Marek Polacek
Committed by
Marek Polacek
Jul 04, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-warn.c (warn_if_unused_value): Remove WITH_CLEANUP_EXPR handling.
From-SVN: r249943
parent
f5474a4c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
1 deletions
+4
-1
gcc/c-family/ChangeLog
+4
-0
gcc/c-family/c-warn.c
+0
-1
No files found.
gcc/c-family/ChangeLog
View file @
6c86bd88
2017
-
07
-
04
Marek
Polacek
<
polacek
@
redhat
.
com
>
*
c
-
warn
.
c
(
warn_if_unused_value
):
Remove
WITH_CLEANUP_EXPR
handling
.
2017
-
06
-
28
Martin
Liska
<
mliska
@
suse
.
cz
>
PR
ipa
/
81128
...
...
gcc/c-family/c-warn.c
View file @
6c86bd88
...
...
@@ -465,7 +465,6 @@ warn_if_unused_value (const_tree exp, location_t locus)
case
TARGET_EXPR
:
case
CALL_EXPR
:
case
TRY_CATCH_EXPR
:
case
WITH_CLEANUP_EXPR
:
case
EXIT_EXPR
:
case
VA_ARG_EXPR
:
return
false
;
...
...
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