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
002fe164
Commit
002fe164
authored
25 years ago
by
Mark Mitchell
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo
From-SVN: r33114
parent
dbd9f7c9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
7 additions
and
24 deletions
+7
-24
gcc/cp/init.c
+7
-24
No files found.
gcc/cp/init.c
View file @
002fe164
...
...
@@ -2987,32 +2987,15 @@ build_dtor_call (exp, in_charge, flags)
else
if
(
tree_int_cst_equal
(
in_charge
,
integer_two_node
))
name
=
complete_dtor_identifier
;
if
(
name
)
{
if
(
!
binfo
)
return
build_method_call
(
exp
,
name
,
NULL_TREE
,
NULL_TREE
,
flags
);
else
return
build_scoped_method_call
(
exp
,
binfo
,
name
,
NULL_TREE
);
}
return
build_method_call
(
exp
,
name
,
NULL_TREE
,
NULL_TREE
,
flags
);
/* If that didn't work, build the various alternatives. */
if
(
!
binfo
)
{
call1
=
build_method_call
(
exp
,
complete_dtor_identifier
,
NULL_TREE
,
NULL_TREE
,
flags
);
call2
=
build_method_call
(
exp
,
deleting_dtor_identifier
,
NULL_TREE
,
NULL_TREE
,
flags
);
call3
=
build_method_call
(
exp
,
base_dtor_identifier
,
NULL_TREE
,
NULL_TREE
,
flags
);
}
else
{
call1
=
build_scoped_method_call
(
exp
,
binfo
,
complete_dtor_identifier
,
NULL_TREE
);
call2
=
build_scoped_method_call
(
exp
,
binfo
,
deleting_dtor_identifier
,
NULL_TREE
);
call3
=
build_scoped_method_call
(
exp
,
binfo
,
base_dtor_identifier
,
NULL_TREE
);
}
call1
=
build_method_call
(
exp
,
complete_dtor_identifier
,
NULL_TREE
,
NULL_TREE
,
flags
);
call2
=
build_method_call
(
exp
,
deleting_dtor_identifier
,
NULL_TREE
,
NULL_TREE
,
flags
);
call3
=
build_method_call
(
exp
,
base_dtor_identifier
,
NULL_TREE
,
NULL_TREE
,
flags
);
/* Build the conditionals. */
result
=
build
(
COND_EXPR
,
void_type_node
,
...
...
This diff is collapsed.
Click to expand it.
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