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
9a54f10d
Commit
9a54f10d
authored
Jul 11, 2016
by
Jason Merrill
Committed by
Jason Merrill
Jul 11, 2016
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* decl.c (store_parm_decls): Remove check for void parm.
From-SVN: r238214
parent
741d3be5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
7 deletions
+5
-7
gcc/cp/ChangeLog
+4
-0
gcc/cp/decl.c
+1
-7
No files found.
gcc/cp/ChangeLog
View file @
9a54f10d
2016-07-11 Jason Merrill <jason@redhat.com>
* decl.c (store_parm_decls): Remove check for void parm.
2016-07-08 Jason Merrill <jason@redhat.com>
* cp-tree.h: Unpoison lvalue_p.
...
...
gcc/cp/decl.c
View file @
9a54f10d
...
...
@@ -14376,13 +14376,7 @@ store_parm_decls (tree current_function_parms)
{
next
=
DECL_CHAIN
(
parm
);
if
(
TREE_CODE
(
parm
)
==
PARM_DECL
)
{
if
(
DECL_NAME
(
parm
)
==
NULL_TREE
||
!
VOID_TYPE_P
(
parm
))
pushdecl
(
parm
);
else
error
(
"parameter %qD declared void"
,
parm
);
}
pushdecl
(
parm
);
else
{
/* If we find an enum constant or a type tag,
...
...
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