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
5c45a8ac
Commit
5c45a8ac
authored
Aug 31, 1999
by
Kaveh R. Ghazi
Committed by
Kaveh Ghazi
Aug 31, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c: (fold_rtx): Cast to HOST_WIDE_INT in left shift.
From-SVN: r28993
parent
963d4411
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
1 deletions
+6
-1
gcc/ChangeLog
+4
-0
gcc/cse.c
+2
-1
No files found.
gcc/ChangeLog
View file @
5c45a8ac
Mon
Aug
30
20
:
21
:
34
1999
Kaveh
R
.
Ghazi
<
ghazi
@caip
.
rutgers
.
edu
>
*
cse
.
c
:
(
fold_rtx
)
:
Cast
to
HOST_WIDE_INT
in
left
shift
.
Mon
Aug
30
16
:
07
:
49
1999
Richard
Henderson
<
rth
@cygnus
.
com
>
*
flow
.
c
(
new_insn_dead_notes
)
:
Use
sets_reg_or_subreg
not
...
...
gcc/cse.c
View file @
5c45a8ac
...
...
@@ -5809,7 +5809,8 @@ fold_rtx (x, insn)
But The Sun V5.0 compilers mis-compiled that test. So
instead we test for the problematic value in a more direct
manner and hope the Sun compilers get it correct. */
&&
INTVAL
(
const_arg1
)
!=
(
1
<<
(
HOST_BITS_PER_WIDE_INT
-
1
))
&&
INTVAL
(
const_arg1
)
!=
((
HOST_WIDE_INT
)
1
<<
(
HOST_BITS_PER_WIDE_INT
-
1
))
&&
GET_CODE
(
folded_arg1
)
==
REG
)
{
rtx
new_const
=
GEN_INT
(
-
INTVAL
(
const_arg1
));
...
...
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