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

--- Comment #19 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
(In reply to [email protected] from comment #18)
> On Mon, 5 Jan 2026, tnfchris at gcc dot gnu.org wrote:
> 
> > https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122103
> > 
> > Tamar Christina <tnfchris at gcc dot gnu.org> changed:
> > 
> >            What    |Removed                     |Added
> > ----------------------------------------------------------------------------
> >             Summary|[15/16 Regression] SVE      |[15 Regression] SVE
> >                    |vectorisation not honoring  |vectorisation not honoring
> >                    |-ftrapping-math             |-ftrapping-math
> > 
> > --- Comment #16 from Tamar Christina <tnfchris at gcc dot gnu.org> ---
> > Fixed on trunk so far, not sure if backporting makes sense as it's pretty 
> > much
> > never been correct.
> 
> It's a bit large of a change and definitely needs soaking time, so 
> possibly only for GCC 15.3, but even maybe not to that.

Agreed. A middle ground might be to only backport the gimple_could_trap and
if-cvt change. This would prevent the wrong codegen since the bug was reported
on GCC 15.

But indeed probably should be revisited once we see what falls out from the
change.

Reply via email to