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
2ca340ae
Commit
2ca340ae
authored
Sep 10, 1997
by
Jason Merrill
Committed by
Jason Merrill
Sep 09, 1997
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c (unify): Just return 0 for a TYPENAME_TYPE.
From-SVN: r15213
parent
f12bc7b5
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
0 deletions
+10
-0
gcc/cp/ChangeLog
+4
-0
gcc/cp/pt.c
+6
-0
No files found.
gcc/cp/ChangeLog
View file @
2ca340ae
Tue Sep 9 19:49:38 1997 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (unify): Just return 0 for a TYPENAME_TYPE.
Tue Sep 9 17:57:25 1997 Mark Mitchell <mmitchell@usa.net>
* error.c (dump_decl): Avoid crashing when presented with a
...
...
gcc/cp/pt.c
View file @
2ca340ae
...
...
@@ -3141,6 +3141,12 @@ unify (tparms, targs, ntparms, parm, arg, nsubsts, strict)
switch
(
TREE_CODE
(
parm
))
{
case
TYPENAME_TYPE
:
/* In a type which contains a nested-name-specifier, template
argument values cannot be deduced for template parameters used
within the nested-name-specifier. */
return
0
;
case
TEMPLATE_TYPE_PARM
:
(
*
nsubsts
)
++
;
idx
=
TEMPLATE_TYPE_IDX
(
parm
);
...
...
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