https://gcc.gnu.org/bugzilla/show_bug.cgi?id=129043
--- Comment #2 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Richard Biener <[email protected]>: https://gcc.gnu.org/g:f70c2bf2a6b8adc779f336f528d505228a4c6652 commit r17-6723-gf70c2bf2a6b8adc779f336f528d505228a4c6652 Author: Richard Biener <[email protected]> Date: Thu Nov 26 08:54:55 2026 +0100 tree-optimization/129043 - loop_niter_by_eval vs. FP We assumed we'll only deal with integers here, but this is not always the case as the testcase shows. Properly indicate possible NaNs to invert_tree_comparison. PR tree-optimization/129043 * tree-ssa-loop-niter.cc (loop_niter_by_eval): Pass HONOR_NANS to invert_tree_comparison. * gcc.dg/torture/pr129043.c: New testcase.
