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
b7a29012
Commit
b7a29012
authored
27 years ago
by
Jason Merrill
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
tweak
From-SVN: r17469
parent
19428ce4
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
13 additions
and
11 deletions
+13
-11
gcc/cp/class.c
+1
-2
gcc/cp/error.c
+10
-6
gcc/cp/pt.c
+2
-3
No files found.
gcc/cp/class.c
View file @
b7a29012
...
...
@@ -4499,8 +4499,7 @@ finish_struct (t, list_of_fieldlists, attributes, warn_anon)
TYPE_BEING_DEFINED
(
t
)
=
0
;
/* Now, figure out what any member template specializations were
specializing. */
/* Now, figure out which member templates we're specializing. */
for
(
x
=
specializations
;
x
!=
NULL_TREE
;
x
=
TREE_CHAIN
(
x
))
{
tree
spec_args
;
...
...
This diff is collapsed.
Click to expand it.
gcc/cp/error.c
View file @
b7a29012
...
...
@@ -250,11 +250,13 @@ dump_type (t, v)
arg
=
TREE_VALUE
(
arg
);
if
(
TREE_CODE
(
arg
)
==
TYPE_DECL
)
{
OB_PUTS
(
"class "
);
if
(
DECL_NAME
(
arg
))
OB_PUTID
(
DECL_NAME
(
arg
));
{
OB_PUTS
(
"class "
);
OB_PUTID
(
DECL_NAME
(
arg
));
}
else
OB_PUTS
(
"
{anon}
"
);
OB_PUTS
(
"
class
"
);
}
else
dump_decl
(
arg
,
1
);
...
...
@@ -821,11 +823,13 @@ dump_decl (t, v)
arg
=
TREE_VALUE
(
arg
);
if
(
TREE_CODE
(
arg
)
==
TYPE_DECL
)
{
OB_PUTS
(
"class "
);
if
(
DECL_NAME
(
arg
))
OB_PUTID
(
DECL_NAME
(
arg
));
{
OB_PUTS
(
"class "
);
OB_PUTID
(
DECL_NAME
(
arg
));
}
else
OB_PUTS
(
"
{anon}
"
);
OB_PUTS
(
"
class
"
);
}
else
dump_decl
(
arg
,
1
);
...
...
This diff is collapsed.
Click to expand it.
gcc/cp/pt.c
View file @
b7a29012
...
...
@@ -3077,9 +3077,8 @@ tsubst (t, args, nargs, in_decl)
{
/* We are processing a type constructed from
a template template parameter */
tree
argvec
=
tsubst
(
TREE_VALUE
(
CLASSTYPE_TEMPLATE_INFO
(
t
)),
args
,
nargs
,
in_decl
);
tree
argvec
=
tsubst
(
CLASSTYPE_TI_ARGS
(
t
),
args
,
nargs
,
in_decl
);
tree
r
;
/* We can get a TEMPLATE_TEMPLATE_PARM here when
...
...
This diff is collapsed.
Click to expand it.
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