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
c4fd10e7
Commit
c4fd10e7
authored
Aug 02, 1992
by
Richard Kenner
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(canon_hash): Use HOST_WIDE_INT instead of int when casting pointers
to integers. From-SVN: r1750
parent
ab176425
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
gcc/cse.c
+4
-4
No files found.
gcc/cse.c
View file @
c4fd10e7
...
@@ -1817,12 +1817,12 @@ canon_hash (x, mode)
...
@@ -1817,12 +1817,12 @@ canon_hash (x, mode)
/* Assume there is only one rtx object for any given label. */
/* Assume there is only one rtx object for any given label. */
case
LABEL_REF
:
case
LABEL_REF
:
/* Use `and' to ensure a positive number. */
/* Use `and' to ensure a positive number. */
return
(
hash
+
((
int
)
LABEL_REF
<<
7
)
return
(
hash
+
((
HOST_WIDE_INT
)
LABEL_REF
<<
7
)
+
((
int
)
XEXP
(
x
,
0
)
&
((
1
<<
HASHBITS
)
-
1
)));
+
((
HOST_WIDE_INT
)
XEXP
(
x
,
0
)
&
((
1
<<
HASHBITS
)
-
1
)));
case
SYMBOL_REF
:
case
SYMBOL_REF
:
return
(
hash
+
((
int
)
SYMBOL_REF
<<
7
)
return
(
hash
+
((
HOST_WIDE_INT
)
SYMBOL_REF
<<
7
)
+
((
int
)
XEXP
(
x
,
0
)
&
((
1
<<
HASHBITS
)
-
1
)));
+
((
HOST_WIDE_INT
)
XEXP
(
x
,
0
)
&
((
1
<<
HASHBITS
)
-
1
)));
case
MEM
:
case
MEM
:
if
(
MEM_VOLATILE_P
(
x
))
if
(
MEM_VOLATILE_P
(
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