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
edef8288
Commit
edef8288
authored
Mar 29, 1999
by
Jason Merrill
Committed by
Jason Merrill
Mar 28, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* pt.c (fn_type_unification): Ignore 'this' parm from conversion ops.
From-SVN: r26050
parent
4c692e19
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
3 deletions
+8
-3
gcc/cp/ChangeLog
+4
-0
gcc/cp/pt.c
+4
-3
No files found.
gcc/cp/ChangeLog
View file @
edef8288
1999-03-28 Jason Merrill <jason@yorick.cygnus.com>
* pt.c (fn_type_unification): Ignore 'this' parm from conversion ops.
1999-03-27 Mark Mitchell <mark@codesourcery.com>
1999-03-27 Mark Mitchell <mark@codesourcery.com>
* cp-tree.h (add_friend): Declare.
* cp-tree.h (add_friend): Declare.
...
...
gcc/cp/pt.c
View file @
edef8288
...
@@ -7317,10 +7317,11 @@ fn_type_unification (fn, explicit_targs, targs, args, return_type,
...
@@ -7317,10 +7317,11 @@ fn_type_unification (fn, explicit_targs, targs, args, return_type,
if
(
DECL_CONV_FN_P
(
fn
))
if
(
DECL_CONV_FN_P
(
fn
))
{
{
/* This is a template conversion operator. Use the return types
/* This is a template conversion operator. Use the return types
as well as the argument types. */
as well as the argument types. We use it instead of 'this', since
we could be comparing conversions from different classes. */
parms
=
scratch_tree_cons
(
NULL_TREE
,
TREE_TYPE
(
fntype
),
parms
=
scratch_tree_cons
(
NULL_TREE
,
TREE_TYPE
(
fntype
),
parms
);
TREE_CHAIN
(
parms
)
);
args
=
scratch_tree_cons
(
NULL_TREE
,
return_type
,
args
);
args
=
scratch_tree_cons
(
NULL_TREE
,
return_type
,
TREE_CHAIN
(
args
)
);
}
}
/* We allow incomplete unification without an error message here
/* We allow incomplete unification without an error message here
...
...
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