[Bug target/126641] [17 Regression], ice in frange_nextafter, at range-op-float.cc:315

pinskia at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Aug 5 05:24:14 GMT 2026


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=126641

--- Comment #3 from Drea Pinski <pinskia at gcc dot gnu.org> ---
(In reply to Drea Pinski from comment #2)
> But I do get some valgrind failures:

I think that one is benign:

void
prange_storage::set_prange (const prange &r)
{
  unsigned num_words;
  m_kind = prange_format (r, num_words);
  m_has_bitmask = !r.get_bitmask ().unknown_p ();

we should check m_kind before accessing get_bitmask if m_kind == UNDEFINED.


More information about the Gcc-bugs mailing list