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
47898a19
Commit
47898a19
authored
Mar 10, 1999
by
Jason Merrill
Committed by
Jason Merrill
Mar 09, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* call.c (add_builtin_candidates): Handle overloaded conversion ops.
From-SVN: r25663
parent
a5d753c0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/cp/ChangeLog
+4
-0
gcc/cp/call.c
+2
-2
No files found.
gcc/cp/ChangeLog
View file @
47898a19
1999-03-09 Jason Merrill <jason@yorick.cygnus.com>
* call.c (add_builtin_candidates): Handle overloaded conversion ops.
1999-03-09 Mark Mitchell <mark@markmitchell.com>
* cp-tree.h (flag_access_control): Declare.
...
...
gcc/cp/call.c
View file @
47898a19
...
...
@@ -1868,7 +1868,7 @@ add_builtin_candidates (candidates, code, code2, fnname, args, flags)
;
else
if
(
IS_AGGR_TYPE
(
argtypes
[
i
]))
{
tree
convs
=
lookup_conversions
(
argtypes
[
i
])
;
tree
convs
;
if
(
i
==
0
&&
code
==
MODIFY_EXPR
&&
code2
==
NOP_EXPR
)
return
candidates
;
...
...
@@ -1890,7 +1890,7 @@ add_builtin_candidates (candidates, code, code2, fnname, args, flags)
for
(;
convs
;
convs
=
TREE_CHAIN
(
convs
))
{
type
=
TREE_TYPE
(
TREE_TYPE
(
TREE_VALUE
(
convs
)));
type
=
TREE_TYPE
(
TREE_TYPE
(
OVL_CURRENT
(
TREE_VALUE
(
convs
)
)));
if
(
i
==
0
&&
ref1
&&
(
TREE_CODE
(
type
)
!=
REFERENCE_TYPE
...
...
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