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
f83b0cb6
Commit
f83b0cb6
authored
Sep 11, 1995
by
Jason Merrill
Committed by
Richard Kenner
Sep 11, 1995
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(tsubst): Handle PROMOTE_PROTOTYPES.
From-SVN: r10309
parent
e02791a6
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
gcc/cp/pt.c
+6
-0
No files found.
gcc/cp/pt.c
View file @
f83b0cb6
...
...
@@ -1461,6 +1461,12 @@ tsubst (t, args, nargs, in_decl)
r
=
build_decl
(
PARM_DECL
,
DECL_NAME
(
t
),
type
);
DECL_INITIAL
(
r
)
=
TREE_TYPE
(
r
);
DECL_ARTIFICIAL
(
r
)
=
DECL_ARTIFICIAL
(
t
);
#ifdef PROMOTE_PROTOTYPES
if
((
TREE_CODE
(
type
)
==
INTEGER_TYPE
||
TREE_CODE
(
type
)
==
ENUMERAL_TYPE
)
&&
TYPE_PRECISION
(
type
)
<
TYPE_PRECISION
(
integer_type_node
))
DECL_ARG_TYPE
(
r
)
=
integer_type_node
;
#endif
if
(
TREE_CHAIN
(
t
))
TREE_CHAIN
(
r
)
=
tsubst
(
TREE_CHAIN
(
t
),
args
,
nargs
,
TREE_CHAIN
(
t
));
return
r
;
...
...
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