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
fbb57b2a
Commit
fbb57b2a
authored
Oct 29, 1999
by
Catherine Moore
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix up last patch.
From-SVN: r30265
parent
e03c5670
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
8 additions
and
6 deletions
+8
-6
gcc/calls.c
+1
-1
gcc/function.c
+7
-5
No files found.
gcc/calls.c
View file @
fbb57b2a
...
...
@@ -2581,6 +2581,7 @@ emit_library_call VPROTO((rtx orgfun, int no_queue, enum machine_mode outmode,
rtx
fun
;
int
inc
;
int
count
;
struct
args_size
alignment_pad
;
rtx
argblock
=
0
;
CUMULATIVE_ARGS
args_so_far
;
struct
arg
{
rtx
value
;
enum
machine_mode
mode
;
rtx
reg
;
int
partial
;
...
...
@@ -3643,7 +3644,6 @@ emit_library_call_value VPROTO((rtx orgfun, rtx value, int no_queue,
highest_outgoing_arg_in_use
=
initial_highest_arg_in_use
;
stack_usage_map
=
initial_stack_usage_map
;
#endif
struct
args_size
alignment_pad
;
return
value
;
}
...
...
gcc/function.c
View file @
fbb57b2a
...
...
@@ -5008,14 +5008,16 @@ pad_to_arg_alignment (offset_ptr, boundary, alignment_pad)
alignment_pad
->
var
=
size_binop
(
MINUS_EXPR
,
offset_ptr
->
var
,
save_var
);
}
else
offset_ptr
->
constant
=
{
offset_ptr
->
constant
=
#ifdef ARGS_GROW_DOWNWARD
FLOOR_ROUND
(
offset_ptr
->
constant
,
boundary_in_bytes
);
FLOOR_ROUND
(
offset_ptr
->
constant
,
boundary_in_bytes
);
#else
CEIL_ROUND
(
offset_ptr
->
constant
,
boundary_in_bytes
);
CEIL_ROUND
(
offset_ptr
->
constant
,
boundary_in_bytes
);
#endif
if
(
boundary
>
PARM_BOUNDARY
)
alignment_pad
->
constant
=
offset_ptr
->
constant
-
save_constant
;
if
(
boundary
>
PARM_BOUNDARY
)
alignment_pad
->
constant
=
offset_ptr
->
constant
-
save_constant
;
}
}
}
...
...
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