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
fe86f537
Commit
fe86f537
authored
Feb 25, 2020
by
Steven G. Kargl
Committed by
Tobias Burnus
Feb 25, 2020
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Dead code in fortran/simplify.c
* simplify.c (degrees_f): Remove unused code.
parent
103bc4db
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
4 additions
and
5 deletions
+4
-5
gcc/fortran/ChangeLog
+4
-0
gcc/fortran/simplify.c
+0
-5
No files found.
gcc/fortran/ChangeLog
View file @
fe86f537
2020-02-25 Steven G. Kargl <kargl@gcc.gnu.org>
* simplify.c (degrees_f): Remove unused code.
2020-02-25 Jakub Jelinek <jakub@redhat.com>
2020-02-25 Jakub Jelinek <jakub@redhat.com>
PR translation/93864
PR translation/93864
...
...
gcc/fortran/simplify.c
View file @
fe86f537
...
@@ -1775,11 +1775,6 @@ degrees_f (mpfr_t x, mpfr_rnd_t rnd_mode)
...
@@ -1775,11 +1775,6 @@ degrees_f (mpfr_t x, mpfr_rnd_t rnd_mode)
mpfr_t
tmp
;
mpfr_t
tmp
;
mpfr_init
(
tmp
);
mpfr_init
(
tmp
);
/* Set x = x % 2pi to avoid offsets with large angles. */
mpfr_const_pi
(
tmp
,
rnd_mode
);
mpfr_mul_ui
(
tmp
,
tmp
,
2
,
rnd_mode
);
mpfr_fmod
(
tmp
,
x
,
tmp
,
rnd_mode
);
/* Set x = x * 180. */
/* Set x = x * 180. */
mpfr_mul_ui
(
x
,
x
,
180
,
rnd_mode
);
mpfr_mul_ui
(
x
,
x
,
180
,
rnd_mode
);
...
...
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