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
30c3267c
Commit
30c3267c
authored
Aug 24, 2003
by
Kazu Hirata
Committed by
Kazu Hirata
Aug 24, 2003
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* rtlanal.c (may_trap_p): Simplify an integer comparison.
From-SVN: r70761
parent
791996d1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
3 deletions
+5
-3
gcc/ChangeLog
+4
-0
gcc/rtlanal.c
+1
-3
No files found.
gcc/ChangeLog
View file @
30c3267c
2003-08-24 Kazu Hirata <kazu@cs.umass.edu>
* rtlanal.c (may_trap_p): Simplify an integer comparison.
2003-08-24 Nathanael Nerode <neroden@gcc.gnu.org>
2003-08-24 Nathanael Nerode <neroden@gcc.gnu.org>
* fixinc/inclhack.def (AAB_svr4_replace_byteorder): Enhance
* fixinc/inclhack.def (AAB_svr4_replace_byteorder): Enhance
...
...
gcc/rtlanal.c
View file @
30c3267c
...
@@ -2388,9 +2388,7 @@ may_trap_p (rtx x)
...
@@ -2388,9 +2388,7 @@ may_trap_p (rtx x)
||
(
GET_MODE_CLASS
(
GET_MODE
(
x
))
==
MODE_FLOAT
||
(
GET_MODE_CLASS
(
GET_MODE
(
x
))
==
MODE_FLOAT
&&
flag_trapping_math
))
&&
flag_trapping_math
))
return
1
;
return
1
;
/* This was const0_rtx, but by not using that,
if
(
XEXP
(
x
,
1
)
==
const0_rtx
)
we can link this file into other programs. */
if
(
GET_CODE
(
XEXP
(
x
,
1
))
==
CONST_INT
&&
INTVAL
(
XEXP
(
x
,
1
))
==
0
)
return
1
;
return
1
;
break
;
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