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
c5898ca8
Commit
c5898ca8
authored
Dec 17, 2003
by
Kazu Hirata
Committed by
Kazu Hirata
Dec 17, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* emit-rtl.c: Fix signed/unsigned comparison warnings.
From-SVN: r74758
parent
2c45a16a
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
2 deletions
+6
-2
gcc/ChangeLog
+4
-0
gcc/emit-rtl.c
+2
-2
No files found.
gcc/ChangeLog
View file @
c5898ca8
2003-12-16 Kazu Hirata <kazu@cs.umass.edu>
* emit-rtl.c: Fix signed/unsigned comparison warnings.
2003-12-17 Joseph S. Myers <jsm@polyomino.org.uk>
* predict.c (struct block_info_def, struct edge_info_def): Change
...
...
gcc/emit-rtl.c
View file @
c5898ca8
...
...
@@ -1323,7 +1323,7 @@ subreg_realpart_p (rtx x)
abort
();
return
((
unsigned
int
)
SUBREG_BYTE
(
x
)
<
GET_MODE_UNIT_SIZE
(
GET_MODE
(
SUBREG_REG
(
x
))));
<
(
unsigned
int
)
GET_MODE_UNIT_SIZE
(
GET_MODE
(
SUBREG_REG
(
x
))));
}
/* Assuming that X is an rtx (e.g., MEM, REG or SUBREG) for a value,
...
...
@@ -1391,7 +1391,7 @@ gen_highpart (enum machine_mode mode, rtx x)
/* This case loses if X is a subreg. To catch bugs early,
complain if an invalid MODE is used even in other cases. */
if
(
msize
>
UNITS_PER_WORD
&&
msize
!=
GET_MODE_UNIT_SIZE
(
GET_MODE
(
x
)))
&&
msize
!=
(
unsigned
int
)
GET_MODE_UNIT_SIZE
(
GET_MODE
(
x
)))
abort
();
result
=
simplify_gen_subreg
(
mode
,
x
,
GET_MODE
(
x
),
...
...
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