https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78676
--- Comment #9 from kargl at gcc dot gnu.org ---
(In reply to kargl from comment #8)
> (In reply to janus from comment #4)
> > This seems to be a regression that started with version 4.9. In 4.7 and 4.8
> > I see the same results with all
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78676
kargl at gcc dot gnu.org changed:
What|Removed |Added
Status|NEW |RESOLVED
CC|
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78676
--- Comment #7 from mecej4 at operamail dot com ---
(In reply to Andrew Pinski from comment #3)
> Try -fwrapv .
Thanks! Using that flag with -O2 does make the program give correct results,
but I am a little confused about what that flag does and
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78676
janus at gcc dot gnu.org changed:
What|Removed |Added
Summary|[5/6/7 Regression] |[5/6/7 Regression]