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
5f311aec
Commit
5f311aec
authored
Feb 26, 1998
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
comment
From-SVN: r18282
parent
bd762873
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
0 deletions
+4
-0
gcc/cp/init.c
+1
-0
gcc/cp/pt.c
+3
-0
No files found.
gcc/cp/init.c
View file @
5f311aec
...
...
@@ -1836,6 +1836,7 @@ build_offset_ref (type, name)
tree
basebinfo
=
NULL_TREE
;
int
dtor
=
0
;
/* class templates can come in as TEMPLATE_DECLs here. */
if
(
TREE_CODE
(
name
)
!=
IDENTIFIER_NODE
)
return
name
;
...
...
gcc/cp/pt.c
View file @
5f311aec
...
...
@@ -107,6 +107,7 @@ finish_member_template_decl (template_parameters, decl)
return
NULL_TREE
;
else
if
(
TREE_CODE
(
decl
)
==
TREE_LIST
)
{
/* Assume that the class is the only declspec. */
decl
=
TREE_VALUE
(
decl
);
if
(
IS_AGGR_TYPE
(
decl
)
&&
CLASSTYPE_TEMPLATE_INFO
(
decl
))
{
...
...
@@ -2958,6 +2959,7 @@ instantiate_class_template (type)
template
=
DECL_TI_TEMPLATE
(
template
);
}
/* FIXME deal with partial specializations of member templates. */
t
=
most_specialized_class
(
DECL_TEMPLATE_SPECIALIZATIONS
(
template
),
args
);
...
...
@@ -3615,6 +3617,7 @@ tsubst (t, args, in_decl)
if
(
PRIMARY_TEMPLATE_P
(
t
))
TREE_TYPE
(
DECL_INNERMOST_TEMPLATE_PARMS
(
tmpl
))
=
tmpl
;
/* FIXME deal with partial specializations. */
if
(
TREE_CODE
(
decl
)
==
TYPE_DECL
)
return
tmpl
;
...
...
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