https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94111
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
--- Comment #2 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Indeed, this is a folding bug and simplified testcase is:
int
main ()
{
_Decimal32 d = (_Decimal32) __builtin_inff ();
if (!__builtin_isinf ((double) d))
__builtin_abort ();
return 0;
}
