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
e545d37f
Commit
e545d37f
authored
Dec 20, 1999
by
Richard Kenner
Committed by
Richard Kenner
Dec 20, 1999
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
* tree.c (real_value_from_int_cst): Clear REAL_VALUE_TYPE object first.
From-SVN: r31038
parent
b7010412
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
6 additions
and
0 deletions
+6
-0
gcc/ChangeLog
+2
-0
gcc/tree.c
+4
-0
No files found.
gcc/ChangeLog
View file @
e545d37f
Mon
Dec
20
15
:
00
:
04
1999
Richard
Kenner
<
kenner
@vlsi1
.
ultra
.
nyu
.
edu
>
*
tree
.
c
(
real_value_from_int_cst
)
:
Clear
REAL_VALUE_TYPE
object
first
.
*
expr
.
c
(
store_constructor
)
:
New
argument
SIZE
;
pass
to
clear_storage
.
(
store_constructor_field
,
expand_expr
)
:
Pass
new
arg
.
...
...
gcc/tree.c
View file @
e545d37f
...
...
@@ -1425,6 +1425,10 @@ real_value_from_int_cst (type, i)
REAL_VALUE_TYPE
d
;
#ifdef REAL_ARITHMETIC
/* Clear all bits of the real value type so that we can later do
bitwise comparisons to see if two values are the same. */
bzero
((
char
*
)
&
d
,
sizeof
d
);
if
(
!
TREE_UNSIGNED
(
TREE_TYPE
(
i
)))
REAL_VALUE_FROM_INT
(
d
,
TREE_INT_CST_LOW
(
i
),
TREE_INT_CST_HIGH
(
i
),
TYPE_MODE
(
type
));
...
...
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