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
1490f93a
Commit
1490f93a
authored
Jul 25, 2005
by
Manfred Hollstein
Committed by
Manfred Hollstein
Jul 25, 2005
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* calls.c (store_one_arg): Fix unsigned comparison warning.
From-SVN: r102363
parent
76e20664
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
8 deletions
+17
-8
gcc/ChangeLog
+4
-0
gcc/calls.c
+13
-8
No files found.
gcc/ChangeLog
View file @
1490f93a
2005-07-25 Manfred Hollstein <mh@suse.com>
* calls.c (store_one_arg): Fix unsigned comparison warning.
2005-07-25 Serge Belyshev <belyshev@depni.sinp.msu.ru>
2005-07-25 Serge Belyshev <belyshev@depni.sinp.msu.ru>
PR other/22337
PR other/22337
...
...
gcc/calls.c
View file @
1490f93a
...
@@ -4080,7 +4080,7 @@ store_one_arg (struct arg_data *arg, rtx argblock, int flags,
...
@@ -4080,7 +4080,7 @@ store_one_arg (struct arg_data *arg, rtx argblock, int flags,
if
((
flags
&
ECF_SIBCALL
)
&&
MEM_P
(
arg
->
value
))
if
((
flags
&
ECF_SIBCALL
)
&&
MEM_P
(
arg
->
value
))
{
{
int
i
=
-
1
;
int
i
=
-
1
;
unsigned
int
k
;
unsigned
HOST_WIDE_INT
k
;
rtx
x
=
arg
->
value
;
rtx
x
=
arg
->
value
;
if
(
XEXP
(
x
,
0
)
==
current_function_internal_arg_pointer
)
if
(
XEXP
(
x
,
0
)
==
current_function_internal_arg_pointer
)
...
@@ -4098,13 +4098,18 @@ store_one_arg (struct arg_data *arg, rtx argblock, int flags,
...
@@ -4098,13 +4098,18 @@ store_one_arg (struct arg_data *arg, rtx argblock, int flags,
#ifdef ARGS_GROW_DOWNWARD
#ifdef ARGS_GROW_DOWNWARD
i
=
-
i
-
arg
->
locate
.
size
.
constant
;
i
=
-
i
-
arg
->
locate
.
size
.
constant
;
#endif
#endif
for
(
k
=
0
;
k
<
arg
->
locate
.
size
.
constant
;
k
++
)
if
(
arg
->
locate
.
size
.
constant
>
0
)
if
(
i
+
k
<
stored_args_map
->
n_bits
{
&&
TEST_BIT
(
stored_args_map
,
i
+
k
))
unsigned
HOST_WIDE_INT
sc
=
arg
->
locate
.
size
.
constant
;
{
sibcall_failure
=
1
;
for
(
k
=
0
;
k
<
sc
;
k
++
)
break
;
if
(
i
+
k
<
stored_args_map
->
n_bits
}
&&
TEST_BIT
(
stored_args_map
,
i
+
k
))
{
sibcall_failure
=
1
;
break
;
}
}
}
}
}
}
...
...
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