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
bdf57c40
Commit
bdf57c40
authored
Aug 28, 2007
by
DJ Delorie
Committed by
DJ Delorie
Aug 28, 2007
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* config/sh/sh.c (sh_gimplify_va_arg_expr): Fix sh2a support.
From-SVN: r127879
parent
0b51511b
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/config/sh/sh.c
+2
-2
No files found.
gcc/ChangeLog
View file @
bdf57c40
2007-08-28 DJ Delorie <dj@redhat.com>
* config/sh/sh.c (sh_gimplify_va_arg_expr): Fix sh2a support.
2007-08-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* system.h (CONST_CAST): Avoid union for gcc-4.0.x.
...
...
gcc/config/sh/sh.c
View file @
bdf57c40
...
...
@@ -7201,7 +7201,7 @@ sh_gimplify_va_arg_expr (tree valist, tree type, tree *pre_p,
}
}
if
(
TARGET_SH4
)
if
(
TARGET_SH4
||
TARGET_SH2A_DOUBLE
)
{
pass_as_float
=
((
TREE_CODE
(
eff_type
)
==
REAL_TYPE
&&
size
<=
8
)
||
(
TREE_CODE
(
eff_type
)
==
COMPLEX_TYPE
...
...
@@ -7313,7 +7313,7 @@ sh_gimplify_va_arg_expr (tree valist, tree type, tree *pre_p,
tmp
=
build1
(
LABEL_EXPR
,
void_type_node
,
lab_false
);
gimplify_and_add
(
tmp
,
pre_p
);
if
(
size
>
4
&&
!
TARGET_SH4
)
if
(
size
>
4
&&
!
(
TARGET_SH4
||
TARGET_SH2A
)
)
{
tmp
=
build2
(
GIMPLE_MODIFY_STMT
,
ptr_type_node
,
next_o
,
next_o_limit
);
...
...
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