diff options
author | Segher Boessenkool <segher@kernel.crashing.org> | 2019-04-19 18:58:01 +0200 |
---|---|---|
committer | Segher Boessenkool <segher@gcc.gnu.org> | 2019-04-19 18:58:01 +0200 |
commit | c5c4d431e0d526738fbf54a92d36fefff8f647e4 (patch) | |
tree | ec8affc01cdd4316eb8e6b0b070196568ad9fa76 /gcc/target-hooks-macros.h | |
parent | 3734fb6a274e7574f614bb8139d085e19c85ff9e (diff) | |
download | gcc-c5c4d431e0d526738fbf54a92d36fefff8f647e4.zip gcc-c5c4d431e0d526738fbf54a92d36fefff8f647e4.tar.gz gcc-c5c4d431e0d526738fbf54a92d36fefff8f647e4.tar.bz2 |
tree-call-cdce: If !HONOR_NANS do not make code with NaNs (PR88055)
If we don't HONOR_NANS we should not try to use any unordered
comparison results. Best case those will just be optimized away;
realistically, they ICE. For example, the rs6000 backend has some
code that specifically checks we never do this.
PR tree-optimization/88055
* tree-call-cdce.c (comparison_code_if_no_nans): New function.
(gen_one_condition): Use it if !HONOR_NANS.
From-SVN: r270460
Diffstat (limited to 'gcc/target-hooks-macros.h')
0 files changed, 0 insertions, 0 deletions