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
c77f56bb
Commit
c77f56bb
authored
Mar 20, 2013
by
Jason Merrill
Committed by
Jason Merrill
Mar 20, 2013
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c (retrieve_specialization): Handle null tmpl argument.
From-SVN: r196850
parent
9f5d44f4
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
0 deletions
+5
-0
gcc/cp/ChangeLog
+2
-0
gcc/cp/pt.c
+3
-0
No files found.
gcc/cp/ChangeLog
View file @
c77f56bb
2013-03-20 Jason Merrill <jason@redhat.com>
2013-03-20 Jason Merrill <jason@redhat.com>
* pt.c (retrieve_specialization): Handle null tmpl argument.
PR c++/17232
PR c++/17232
PR c++/56642
PR c++/56642
* pt.c (tsubst_decl): Check return value of register_specialization.
* pt.c (tsubst_decl): Check return value of register_specialization.
...
...
gcc/cp/pt.c
View file @
c77f56bb
...
@@ -1009,6 +1009,9 @@ optimize_specialization_lookup_p (tree tmpl)
...
@@ -1009,6 +1009,9 @@ optimize_specialization_lookup_p (tree tmpl)
static
tree
static
tree
retrieve_specialization
(
tree
tmpl
,
tree
args
,
hashval_t
hash
)
retrieve_specialization
(
tree
tmpl
,
tree
args
,
hashval_t
hash
)
{
{
if
(
tmpl
==
NULL_TREE
)
return
NULL_TREE
;
if
(
args
==
error_mark_node
)
if
(
args
==
error_mark_node
)
return
NULL_TREE
;
return
NULL_TREE
;
...
...
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