[Bug sanitizer/63361] Test case c-c++-common/ubsan/float-cast-overflow-1.c fails on Pentium2
marxin at gcc dot gnu.org
gcc-bugzilla@gcc.gnu.org
Mon Jul 17 12:57:00 GMT 2017
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=63361
Martin Liška <marxin at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|WAITING |ASSIGNED
Assignee|unassigned at gcc dot gnu.org |marxin at gcc dot gnu.org
--- Comment #9 from Martin Liška <marxin at gcc dot gnu.org> ---
Nice, confirmed. There's minimal reproducer:
cat float-cast-overflow-1.i
int
main (void)
{
volatile double d;
volatile long long ll;
d = 0.0;
d = 0x7fffffffffffffffLL;
(ll) = (d) -5.0;
return 0;
}
I'll take a look. Thanks.
More information about the Gcc-bugs
mailing list