[Bug c/91362] program compiled with O3 optimization give different output than without optimization

2019-08-06 Thread matic at nimp dot co.uk
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91362 --- Comment #3 from matic at nimp dot co.uk --- Sorry I was not aware of "aliasing". Thanks for the pointers to solutions.

[Bug c/91362] program compiled with O3 optimization give different output than without optimization

2019-08-05 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91362 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c/91362] program compiled with O3 optimization give different output than without optimization

2019-08-05 Thread redi at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91362 --- Comment #1 from Jonathan Wakely --- Looks like an aliasing violation.