https://gcc.gnu.org/bugzilla/show_bug.cgi?id=102211
--- Comment #7 from Andrew Waterman <andrew at sifive dot com> --- On Tue, Sep 7, 2021 at 10:55 PM wilson at gcc dot gnu.org via Gcc-bugs <gcc-bugs@gcc.gnu.org> wrote: > > The hardware may trap if > you access a 32-bit value which is not properly NaN-boxed. I don't think the following affects the resolution of the ticket, but just for the record, trapping is _not_ an option the ISA permits. The only legal outcome from using an improperly NaN-boxed value as an argument to an instruction that requires NaN-boxed inputs is that the canonical NaN is substituted in its place.