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
eeec05e1
Commit
eeec05e1
authored
Feb 26, 2003
by
Richard Henderson
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update commentary.
From-SVN: r63484
parent
49b973cb
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
8 additions
and
0 deletions
+8
-0
gcc/real.c
+8
-0
No files found.
gcc/real.c
View file @
eeec05e1
...
@@ -1311,6 +1311,10 @@ real_to_integer (r)
...
@@ -1311,6 +1311,10 @@ real_to_integer (r)
case
rvc_normal
:
case
rvc_normal
:
if
(
r
->
exp
<=
0
)
if
(
r
->
exp
<=
0
)
goto
underflow
;
goto
underflow
;
/* Only force overflow for unsigned overflow. Signed overflow is
undefined, so it doesn't matter what we return, and some callers
expect to be able to use this routine for both signed and
unsigned conversions. */
if
(
r
->
exp
>
HOST_BITS_PER_WIDE_INT
)
if
(
r
->
exp
>
HOST_BITS_PER_WIDE_INT
)
goto
overflow
;
goto
overflow
;
...
@@ -1371,6 +1375,10 @@ real_to_integer2 (plow, phigh, r)
...
@@ -1371,6 +1375,10 @@ real_to_integer2 (plow, phigh, r)
exp
=
r
->
exp
;
exp
=
r
->
exp
;
if
(
exp
<=
0
)
if
(
exp
<=
0
)
goto
underflow
;
goto
underflow
;
/* Only force overflow for unsigned overflow. Signed overflow is
undefined, so it doesn't matter what we return, and some callers
expect to be able to use this routine for both signed and
unsigned conversions. */
if
(
exp
>
2
*
HOST_BITS_PER_WIDE_INT
)
if
(
exp
>
2
*
HOST_BITS_PER_WIDE_INT
)
goto
overflow
;
goto
overflow
;
...
...
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