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
77f484de
Commit
77f484de
authored
Mar 29, 1998
by
Jeffrey A Law
Committed by
Jeff Law
Mar 29, 1998
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* typeck.c (expand_target_expr): Delete dead function.
From-SVN: r18903
parent
769467b9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
2 additions
and
35 deletions
+2
-35
gcc/cp/ChangeLog
+2
-0
gcc/cp/typeck.c
+0
-35
No files found.
gcc/cp/ChangeLog
View file @
77f484de
Sun Mar 29 00:47:32 1998 Jeffrey A Law (law@cygnus.com)
Sun Mar 29 00:47:32 1998 Jeffrey A Law (law@cygnus.com)
* typeck.c (expand_target_expr): Delete dead function.
* search.c: Put various prototypes inside #ifdef MI_MATRIX.
* search.c: Put various prototypes inside #ifdef MI_MATRIX.
* repo.c (save_string): Delete dead function.
* repo.c (save_string): Delete dead function.
...
...
gcc/cp/typeck.c
View file @
77f484de
...
@@ -62,7 +62,6 @@ static tree convert_sequence PROTO((tree, tree));
...
@@ -62,7 +62,6 @@ static tree convert_sequence PROTO((tree, tree));
static
tree
lookup_anon_field
PROTO
((
tree
,
tree
));
static
tree
lookup_anon_field
PROTO
((
tree
,
tree
));
static
tree
pointer_diff
PROTO
((
tree
,
tree
,
tree
));
static
tree
pointer_diff
PROTO
((
tree
,
tree
,
tree
));
static
tree
qualify_type
PROTO
((
tree
,
tree
));
static
tree
qualify_type
PROTO
((
tree
,
tree
));
static
tree
expand_target_expr
PROTO
((
tree
));
static
tree
get_delta_difference
PROTO
((
tree
,
tree
,
int
));
static
tree
get_delta_difference
PROTO
((
tree
,
tree
,
int
));
/* Return the target type of TYPE, which meas return T for:
/* Return the target type of TYPE, which meas return T for:
...
@@ -5725,40 +5724,6 @@ build_c_cast (type, expr)
...
@@ -5725,40 +5724,6 @@ build_c_cast (type, expr)
return
value
;
return
value
;
}
}
static
tree
expand_target_expr
(
t
)
tree
t
;
{
extern
int
temp_slot_level
;
extern
int
target_temp_slot_level
;
int
old_temp_level
=
target_temp_slot_level
;
tree
xval
=
make_node
(
RTL_EXPR
);
rtx
rtxval
;
/* Any TARGET_EXPR temps live only as long as the outer temp level.
Since they are preserved in this new inner level, we know they
will make it into the outer level. */
push_temp_slots
();
target_temp_slot_level
=
temp_slot_level
;
do_pending_stack_adjust
();
start_sequence_for_rtl_expr
(
xval
);
emit_note
(
0
,
-
1
);
rtxval
=
expand_expr
(
t
,
NULL_RTX
,
VOIDmode
,
EXPAND_NORMAL
);
do_pending_stack_adjust
();
TREE_SIDE_EFFECTS
(
xval
)
=
1
;
RTL_EXPR_SEQUENCE
(
xval
)
=
get_insns
();
end_sequence
();
RTL_EXPR_RTL
(
xval
)
=
rtxval
;
TREE_TYPE
(
xval
)
=
TREE_TYPE
(
t
);
pop_temp_slots
();
target_temp_slot_level
=
old_temp_level
;
return
xval
;
}
/* Build an assignment expression of lvalue LHS from value RHS.
/* Build an assignment expression of lvalue LHS from value RHS.
MODIFYCODE is the code for a binary operator that we use
MODIFYCODE is the code for a binary operator that we use
to combine the old value of LHS with RHS to get the new value.
to combine the old value of LHS with RHS to get the new value.
...
...
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