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
8595f67b
Commit
8595f67b
authored
Jul 25, 2017
by
Marek Polacek
Committed by
Marek Polacek
Jul 25, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* c-decl.c (grokfield): Remove local variable.
From-SVN: r250513
parent
edf8ba4b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
+5
-2
gcc/c/ChangeLog
+4
-0
gcc/c/c-decl.c
+1
-2
No files found.
gcc/c/ChangeLog
View file @
8595f67b
2017
-
07
-
25
Marek
Polacek
<
polacek
@redhat
.
com
>
2017
-
07
-
25
Marek
Polacek
<
polacek
@redhat
.
com
>
*
c
-
decl
.
c
(
grokfield
)
:
Remove
local
variable
.
2017
-
07
-
25
Marek
Polacek
<
polacek
@redhat
.
com
>
PR
c
/
81364
PR
c
/
81364
*
c
-
parser
.
c
(
c_parser_else_body
)
:
Don
'
t
warn
about
multistatement
*
c
-
parser
.
c
(
c_parser_else_body
)
:
Don
'
t
warn
about
multistatement
macro
expansion
if
the
body
is
in
{
}.
macro
expansion
if
the
body
is
in
{
}.
...
...
gcc/c/c-decl.c
View file @
8595f67b
...
@@ -7559,10 +7559,9 @@ grokfield (location_t loc,
...
@@ -7559,10 +7559,9 @@ grokfield (location_t loc,
that took root before someone noticed the bug... */
that took root before someone noticed the bug... */
tree
type
=
declspecs
->
type
;
tree
type
=
declspecs
->
type
;
bool
type_ok
=
RECORD_OR_UNION_TYPE_P
(
type
);
bool
ok
=
false
;
bool
ok
=
false
;
if
(
type_ok
if
(
RECORD_OR_UNION_TYPE_P
(
type
)
&&
(
flag_ms_extensions
&&
(
flag_ms_extensions
||
flag_plan9_extensions
||
flag_plan9_extensions
||
!
declspecs
->
typedef_p
))
||
!
declspecs
->
typedef_p
))
...
...
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