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
3385bb91
Commit
3385bb91
authored
Feb 06, 1995
by
Jim Wilson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(sh_function_arg): Don't reject unaligned structures.
(sh_function_arg_partial_nregs): Likewise. From-SVN: r8881
parent
272627c1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
0 additions
and
3 deletions
+0
-3
gcc/config/sh/sh.c
+0
-3
No files found.
gcc/config/sh/sh.c
View file @
3385bb91
...
@@ -2585,8 +2585,6 @@ sh_function_arg (cum, mode, type, named)
...
@@ -2585,8 +2585,6 @@ sh_function_arg (cum, mode, type, named)
if
(
rr
<
NPARM_REGS
)
if
(
rr
<
NPARM_REGS
)
{
{
return
(((
type
)
==
0
||
!
TREE_ADDRESSABLE
((
tree
)
(
type
)))
return
(((
type
)
==
0
||
!
TREE_ADDRESSABLE
((
tree
)
(
type
)))
&&
((
type
)
==
0
||
(
mode
)
!=
BLKmode
||
(
TYPE_ALIGN
((
type
))
%
PARM_BOUNDARY
==
0
))
?
gen_rtx
(
REG
,
(
mode
),
?
gen_rtx
(
REG
,
(
mode
),
(
FIRST_PARM_REG
+
rr
))
(
FIRST_PARM_REG
+
rr
))
:
0
);
:
0
);
...
@@ -2612,7 +2610,6 @@ sh_function_arg_partial_nregs (CUM, MODE, TYPE, NAMED)
...
@@ -2612,7 +2610,6 @@ sh_function_arg_partial_nregs (CUM, MODE, TYPE, NAMED)
if
((
CUM
)
<
NPARM_REGS
)
if
((
CUM
)
<
NPARM_REGS
)
{
{
if
(((
TYPE
)
==
0
||
!
TREE_ADDRESSABLE
((
tree
)
(
TYPE
)))
if
(((
TYPE
)
==
0
||
!
TREE_ADDRESSABLE
((
tree
)
(
TYPE
)))
&&
((
TYPE
)
==
0
||
(
TYPE_ALIGN
((
TYPE
))
%
PARM_BOUNDARY
==
0
))
&&
((
CUM
)
+
((
MODE
)
==
BLKmode
&&
((
CUM
)
+
((
MODE
)
==
BLKmode
?
ROUND_ADVANCE
(
int_size_in_bytes
(
TYPE
))
?
ROUND_ADVANCE
(
int_size_in_bytes
(
TYPE
))
:
ROUND_ADVANCE
(
GET_MODE_SIZE
(
MODE
)))
-
NPARM_REGS
>
0
))
:
ROUND_ADVANCE
(
GET_MODE_SIZE
(
MODE
)))
-
NPARM_REGS
>
0
))
...
...
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