aboutsummaryrefslogtreecommitdiff
path: root/gcc/go
diff options
context:
space:
mode:
authorAldy Hernandez <aldyh@redhat.com>2023-03-08 10:58:01 +0100
committerAldy Hernandez <aldyh@redhat.com>2023-03-22 10:07:13 +0100
commit81295d445ec569c6413fd6f7921e27420167f8fa (patch)
treef84f266d86af5f3873a0a64325d832750efcc75a /gcc/go
parent5e812e8c1e8d65aee05cc3fbbe5727d4e365df57 (diff)
downloadgcc-81295d445ec569c6413fd6f7921e27420167f8fa.zip
gcc-81295d445ec569c6413fd6f7921e27420167f8fa.tar.gz
gcc-81295d445ec569c6413fd6f7921e27420167f8fa.tar.bz2
frange: Implement nan_state class [PR109008]
This patch implements a nan_state class, that allows us to query or pass around the NANness of an frange. We can store +NAN, -NAN, +-NAN, or not-a-NAN with it. I tried to touch as little as possible, leaving other cleanups to the next release. For example, we should replace the m_*_nan fields in frange with nan_state, and provide relevant accessors to nan_state (isnan, etc). PR tree-optimization/109008 gcc/ChangeLog: * value-range.cc (frange::set): Add nan_state argument. * value-range.h (class nan_state): New. (frange::get_nan_state): New.
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions