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
be1559e5
Commit
be1559e5
authored
26 years ago
by
Jason Merrill
Committed by
Jason Merrill
26 years ago
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* call.c (build_over_call): Tweak empty class handling.
From-SVN: r19833
parent
b77ead33
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/cp/ChangeLog
+2
-0
gcc/cp/call.c
+4
-2
No files found.
gcc/cp/ChangeLog
View file @
be1559e5
Mon May 18 03:00:57 1998 Jason Merrill <jason@yorick.cygnus.com>
* call.c (build_over_call): Tweak empty class handling.
* decl.c (make_typename_type): Use currently_open_class.
* class.c (instantiate_type): Don't abort on TREE_NONLOCAL_FLAG.
...
...
This diff is collapsed.
Click to expand it.
gcc/cp/call.c
View file @
be1559e5
...
...
@@ -3394,8 +3394,10 @@ build_over_call (cand, args, flags)
/* Don't copy the padding byte; it might not have been allocated
if to is a base subobject. */
if
(
is_empty_class
(
DECL_CLASS_CONTEXT
(
fn
)))
return
build
(
COMPOUND_EXPR
,
TREE_TYPE
(
to
),
cp_convert
(
void_type_node
,
arg
),
to
);
return
build_unary_op
(
ADDR_EXPR
,
build
(
COMPOUND_EXPR
,
TREE_TYPE
(
to
),
cp_convert
(
void_type_node
,
arg
),
to
),
0
);
val
=
build
(
INIT_EXPR
,
DECL_CONTEXT
(
fn
),
to
,
arg
);
TREE_SIDE_EFFECTS
(
val
)
=
1
;
...
...
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