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
3da33383
Commit
3da33383
authored
Aug 04, 2015
by
Jason Merrill
Committed by
Jason Merrill
Aug 04, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c (lookup_template_class_1): Clear elt.spec.
From-SVN: r226581
parent
f107ee33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
0 deletions
+3
-0
gcc/cp/ChangeLog
+2
-0
gcc/cp/pt.c
+1
-0
No files found.
gcc/cp/ChangeLog
View file @
3da33383
2015-08-04 Jason Merrill <jason@redhat.com>
2015-08-04 Jason Merrill <jason@redhat.com>
* pt.c (lookup_template_class_1): Clear elt.spec.
* tree.c (build_target_expr): Copy the location from value.
* tree.c (build_target_expr): Copy the location from value.
2015-08-02 Patrick Palka <ppalka@gcc.gnu.org>
2015-08-02 Patrick Palka <ppalka@gcc.gnu.org>
...
...
gcc/cp/pt.c
View file @
3da33383
...
@@ -7876,6 +7876,7 @@ lookup_template_class_1 (tree d1, tree arglist, tree in_decl, tree context,
...
@@ -7876,6 +7876,7 @@ lookup_template_class_1 (tree d1, tree arglist, tree in_decl, tree context,
/* If we already have this specialization, return it. */
/* If we already have this specialization, return it. */
elt
.
tmpl
=
gen_tmpl
;
elt
.
tmpl
=
gen_tmpl
;
elt
.
args
=
arglist
;
elt
.
args
=
arglist
;
elt
.
spec
=
NULL_TREE
;
hash
=
spec_hasher
::
hash
(
&
elt
);
hash
=
spec_hasher
::
hash
(
&
elt
);
entry
=
type_specializations
->
find_with_hash
(
&
elt
,
hash
);
entry
=
type_specializations
->
find_with_hash
(
&
elt
,
hash
);
...
...
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