[Bug c/79025] Incorrect loop optimization for -Os and above

2017-01-08 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79025 Eric Botcazou changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED CC|

[Bug c/79025] Incorrect loop optimization for -Os and above

2017-01-07 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79025 --- Comment #2 from Andrew Pinski --- Signed interger overflow is undefined behavior.

[Bug c/79025] Incorrect loop optimization for -Os and above

2017-01-07 Thread selinger at mathstat dot dal.ca
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79025 --- Comment #1 from Peter Selinger --- I would like to add that while the gcc option "-fdisable-tree-vrp1" appears to fix the first problem, it does not solve the "secondary bug": extern int printf (const char *__restrict __format, ...); int ma