https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112344
Jakub Jelinek <jakub at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |jakub at gcc dot gnu.org
Keywords|needs-bisection |
Status|WAITING |NEW
--- Comment #6 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Bisection shows this started with
r14-4089-gd45ddc2c04e471d0dcee016b6edacc00b8341b16
and still reproduces on latest trunk.
-fsanitize=undefined doesn't report anything.
Slightly cleaned up:
int
main ()
{
long long b = 2036854775807LL;
signed char c = 3;
short d = 0;
int e = -2147483647 - 1, f;
for (f = 0; f < 7; f++)
while (e < 20)
{
e += 2;
d = c -= b;
}
if (d != 13)
__builtin_abort ();
}