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
2dfa30b4
Commit
2dfa30b4
authored
Oct 26, 2010
by
Jason Merrill
Committed by
Jason Merrill
Oct 26, 2010
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* call.c (build_over_call): Use argarray[0] for 'this' argument.
From-SVN: r165968
parent
d70a5179
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
3 deletions
+4
-3
gcc/cp/ChangeLog
+2
-0
gcc/cp/call.c
+2
-3
No files found.
gcc/cp/ChangeLog
View file @
2dfa30b4
2010
-
10
-
26
Jason
Merrill
<
jason
@redhat
.
com
>
*
call
.
c
(
build_over_call
)
:
Use
argarray
[
0
]
for
'
this
'
argument
.
*
decl
.
c
(
finish_function
)
:
Don
'
t
look
at
function_depth
.
2010
-
10
-
25
Rodrigo
Rivas
Costa
<
rodrigorivascosta
@gmail
.
com
>
...
...
gcc/cp/call.c
View file @
2dfa30b4
...
...
@@ -5964,9 +5964,7 @@ build_over_call (struct z_candidate *cand, int flags, tsubst_flags_t complain)
INIT_EXPR to collapse the temp into our target. Otherwise, if the
ctor is trivial, do a bitwise copy with a simple TARGET_EXPR for a
temp or an INIT_EXPR otherwise. */
fa
=
(
cand
->
first_arg
!=
NULL_TREE
?
cand
->
first_arg
:
VEC_index
(
tree
,
args
,
0
));
fa
=
argarray
[
0
];
if
(
integer_zerop
(
fa
))
{
if
(
TREE_CODE
(
arg
)
==
TARGET_EXPR
)
...
...
@@ -6041,6 +6039,7 @@ build_over_call (struct z_candidate *cand, int flags, tsubst_flags_t complain)
return
val
;
}
/* FIXME handle trivial default constructor and destructor, too. */
if
(
!
already_used
)
mark_used
(
fn
);
...
...
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