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
75b107f5
Commit
75b107f5
authored
Mar 11, 2014
by
Ian Bolton
Committed by
Ian Bolton
Mar 11, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Don't override -ffp-contract=fast if -funsafe-math-optimizations
From-SVN: r208474
parent
747425d0
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
7 additions
and
1 deletions
+7
-1
gcc/c-family/ChangeLog
+5
-0
gcc/c-family/c-opts.c
+2
-1
No files found.
gcc/c-family/ChangeLog
View file @
75b107f5
2014
-
03
-
11
Ian
Bolton
<
ian
.
bolton
@arm
.
com
>
*
c
-
opts
.
c
(
c_common_post_options
)
:
Don
'
t
override
-
ffp
-
contract
=
fast
if
unsafe
-
math
-
optimizations
is
on
.
2014
-
03
-
08
Paulo
Matos
<
paulo
@matos
-
sorge
.
com
>
*
c
.
opt
:
Enable
LTO
FE
for
fshort
-
double
.
...
...
gcc/c-family/c-opts.c
View file @
75b107f5
...
...
@@ -834,7 +834,8 @@ c_common_post_options (const char **pfilename)
if
(
flag_iso
&&
!
c_dialect_cxx
()
&&
(
global_options_set
.
x_flag_fp_contract_mode
==
(
enum
fp_contract_mode
)
0
))
==
(
enum
fp_contract_mode
)
0
)
&&
flag_unsafe_math_optimizations
==
0
)
flag_fp_contract_mode
=
FP_CONTRACT_OFF
;
/* By default we use C99 inline semantics in GNU99 or C99 mode. C99
...
...
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