[Bug c++/91475] Optimization causes infinite loop

2019-08-16 Thread eric_musser at yahoo dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=91475 --- Comment #2 from Eric Musser --- But in this case the undefineness is not directly related to the for loop. Further the optimizer that changes the loop to maintain and compare j * 0x2001 as opposed to just j could detect certain overflow a

[Bug c++/91475] Optimization causes infinite loop

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