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
10e8dd82
Commit
10e8dd82
authored
Sep 07, 2011
by
Jason Merrill
Committed by
Jason Merrill
Sep 07, 2011
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c (tsubst_aggr_type): Check TYPE_P before tsubsting.
From-SVN: r178650
parent
aad0eef6
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
3 deletions
+6
-3
gcc/cp/ChangeLog
+4
-0
gcc/cp/pt.c
+2
-3
No files found.
gcc/cp/ChangeLog
View file @
10e8dd82
2011-09-07 Jason Merrill <jason@redhat.com>
* pt.c (tsubst_aggr_type): Check TYPE_P before tsubsting.
2011-09-06 Jason Merrill <jason@redhat.com>
PR c++/50296
...
...
gcc/cp/pt.c
View file @
10e8dd82
...
...
@@ -9590,14 +9590,13 @@ tsubst_aggr_type (tree t,
/* First, determine the context for the type we are looking
up. */
context
=
TYPE_CONTEXT
(
t
);
if
(
context
)
if
(
context
&&
TYPE_P
(
context
)
)
{
context
=
tsubst_aggr_type
(
context
,
args
,
complain
,
in_decl
,
/*entering_scope=*/
1
);
/* If context is a nested class inside a class template,
it may still need to be instantiated (c++/33959). */
if
(
TYPE_P
(
context
))
context
=
complete_type
(
context
);
context
=
complete_type
(
context
);
}
/* Then, figure out what arguments are appropriate for the
...
...
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