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
dd193c79
Commit
dd193c79
authored
Sep 15, 2000
by
Bernd Schmidt
Committed by
Bernd Schmidt
Sep 15, 2000
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Set rsize properly for args passed by reference.
From-SVN: r36429
parent
c363a0c0
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+2
-0
gcc/config/mips/mips.c
+4
-1
No files found.
gcc/ChangeLog
View file @
dd193c79
...
@@ -3,6 +3,8 @@
...
@@ -3,6 +3,8 @@
* config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
* config/sh/sh.h (CPP_SPEC): For -m4-nofpu, define __SH4_NOFPU__.
* config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
* config/sh/lib1funcs.asm (movstr_i4): Also compile if __SH4_NOFPU__
is defined.
is defined.
* config/mips/mips.c (mips_va_arg): Args passed by reference have a
rsize of UNITS_PER_WORD.
Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
Fri 15-Sep-2000 06:49:07 BST Neil Booth <NeilB@earthling.net>
...
...
gcc/config/mips/mips.c
View file @
dd193c79
...
@@ -4456,7 +4456,10 @@ mips_va_arg (valist, type)
...
@@ -4456,7 +4456,10 @@ mips_va_arg (valist, type)
indirect
indirect
=
function_arg_pass_by_reference
(
NULL
,
TYPE_MODE
(
type
),
type
,
0
);
=
function_arg_pass_by_reference
(
NULL
,
TYPE_MODE
(
type
),
type
,
0
);
if
(
indirect
)
if
(
indirect
)
size
=
rsize
=
POINTER_SIZE
/
BITS_PER_UNIT
;
{
size
=
POINTER_SIZE
/
BITS_PER_UNIT
;
rsize
=
UNITS_PER_WORD
;
}
addr_rtx
=
gen_reg_rtx
(
Pmode
);
addr_rtx
=
gen_reg_rtx
(
Pmode
);
...
...
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