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
b15e2802
Commit
b15e2802
authored
Oct 25, 2018
by
Jason Merrill
Committed by
Jason Merrill
Oct 25, 2018
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* parser.c (cp_parser_sizeof_operand): Remove redundant grokdeclarator.
From-SVN: r265503
parent
8145e6a0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
14 deletions
+6
-14
gcc/cp/ChangeLog
+5
-0
gcc/cp/parser.c
+1
-14
No files found.
gcc/cp/ChangeLog
View file @
b15e2802
2018-10-25 Jason Merrill <jason@redhat.com>
* parser.c (cp_parser_sizeof_operand): Remove redundant use of
grokdeclarator.
2018-10-24 Jakub Jelinek <jakub@redhat.com>
2018-10-24 Jakub Jelinek <jakub@redhat.com>
PR c++/86288
PR c++/86288
...
...
gcc/cp/parser.c
View file @
b15e2802
...
@@ -28167,20 +28167,7 @@ cp_parser_sizeof_operand (cp_parser* parser, enum rid keyword)
...
@@ -28167,20 +28167,7 @@ cp_parser_sizeof_operand (cp_parser* parser, enum rid keyword)
/* If all went well, then we're done. */
/* If all went well, then we're done. */
if
(
cp_parser_parse_definitely
(
parser
))
if
(
cp_parser_parse_definitely
(
parser
))
{
expr
=
type
;
cp_decl_specifier_seq
decl_specs
;
/* Build a trivial decl-specifier-seq. */
clear_decl_specs
(
&
decl_specs
);
decl_specs
.
type
=
type
;
/* Call grokdeclarator to figure out what type this is. */
expr
=
grokdeclarator
(
NULL
,
&
decl_specs
,
TYPENAME
,
/*initialized=*/
0
,
/*attrlist=*/
NULL
);
}
}
}
/* If the type-id production did not work out, then we must be
/* If the type-id production did not work out, then we must be
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