https://gcc.gnu.org/bugzilla/show_bug.cgi?id=109008
--- Comment #50 from CVS Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Aldy Hernandez <al...@gcc.gnu.org>: https://gcc.gnu.org/g:81295d445ec569c6413fd6f7921e27420167f8fa commit r13-6797-g81295d445ec569c6413fd6f7921e27420167f8fa Author: Aldy Hernandez <al...@redhat.com> Date: Wed Mar 8 10:58:01 2023 +0100 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.