diff options
author | Aldy Hernandez <aldyh@redhat.com> | 2022-09-03 15:41:06 +0200 |
---|---|---|
committer | Aldy Hernandez <aldyh@redhat.com> | 2022-09-03 17:37:29 +0200 |
commit | dae8b9e2bbb6017bf90d68c7b720c500125c8295 (patch) | |
tree | 7f82ff761e84280258ffc14750b36f84cba718f0 /libcpp | |
parent | 08de065293f8b08158e1089fbacce9dbaba95077 (diff) | |
download | gcc-dae8b9e2bbb6017bf90d68c7b720c500125c8295.zip gcc-dae8b9e2bbb6017bf90d68c7b720c500125c8295.tar.gz gcc-dae8b9e2bbb6017bf90d68c7b720c500125c8295.tar.bz2 |
[PR/middle-end 106819] NANs can never be a singleton
Possible NANs can never be a singleton, so they will never be
propagated. This was the intent, and then the signed zero code crept
in, and was mistakenly checked before the NAN.
PR/middle-end 106819
gcc/ChangeLog:
* value-range.cc (frange::singleton_p): Move NAN check to the top.
gcc/testsuite/ChangeLog:
* gcc.dg/tree-ssa/pr106819.c: New test.
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions