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
4741f6ad
Commit
4741f6ad
authored
Aug 28, 1999
by
Jeffrey A Law
Committed by
Jeff Law
Aug 27, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* cse.c (fold_rtx): Work around bug in Sun V5.0 compilers.
From-SVN: r28941
parent
5f9ee695
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
1 deletions
+10
-1
gcc/ChangeLog
+2
-0
gcc/cse.c
+8
-1
No files found.
gcc/ChangeLog
View file @
4741f6ad
Fri
Aug
27
15
:
35
:
24
1999
Jeffrey
A
Law
(
law
@cygnus
.
com
)
*
cse
.
c
(
fold_rtx
)
:
Work
around
bug
in
Sun
V5
.
0
compilers
.
*
pa
.
c
(
emit_move_sequence
)
:
Do
not
stop
on
SUBREG_WORD
of
an
operand
.
...
...
gcc/cse.c
View file @
4741f6ad
...
...
@@ -5802,7 +5802,14 @@ fold_rtx (x, insn)
hence not save anything) or be incorrect. */
if
(
const_arg1
!=
0
&&
GET_CODE
(
const_arg1
)
==
CONST_INT
&&
INTVAL
(
const_arg1
)
<
0
&&
-
INTVAL
(
const_arg1
)
>=
0
/* This used to test
- INTVAL (const_arg1) >= 0
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
))
&&
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