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
e9f7ae44
Commit
e9f7ae44
authored
Mar 31, 1993
by
Richard Stallman
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
(expand_fix): Initialized REAL_VALUE_TYPE confuses some compilers.
From-SVN: r3942
parent
2c7ff63c
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
9 additions
and
6 deletions
+9
-6
gcc/optabs.c
+9
-6
No files found.
gcc/optabs.c
View file @
e9f7ae44
...
@@ -3030,12 +3030,15 @@ expand_fix (to, from, unsignedp)
...
@@ -3030,12 +3030,15 @@ expand_fix (to, from, unsignedp)
&&
CODE_FOR_nothing
!=
can_fix_p
(
GET_MODE
(
to
),
fmode
,
0
,
&&
CODE_FOR_nothing
!=
can_fix_p
(
GET_MODE
(
to
),
fmode
,
0
,
&
must_trunc
))
&
must_trunc
))
{
{
int
bitsize
=
GET_MODE_BITSIZE
(
GET_MODE
(
to
));
int
bitsize
;
REAL_VALUE_TYPE
offset
=
REAL_VALUE_LDEXP
(
dconst1
,
bitsize
-
1
);
REAL_VALUE_TYPE
offset
;
rtx
limit
=
immed_real_const_1
(
offset
,
fmode
);
rtx
limit
,
lab1
,
lab2
,
insn
;
rtx
lab1
=
gen_label_rtx
();
rtx
lab2
=
gen_label_rtx
();
bitsize
=
GET_MODE_BITSIZE
(
GET_MODE
(
to
));
rtx
insn
;
offset
=
REAL_VALUE_LDEXP
(
dconst1
,
bitsize
-
1
);
limit
=
immed_real_const_1
(
offset
,
fmode
);
lab1
=
gen_label_rtx
();
lab2
=
gen_label_rtx
();
emit_queue
();
emit_queue
();
to
=
protect_from_queue
(
to
,
1
);
to
=
protect_from_queue
(
to
,
1
);
...
...
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