[Bug c++/84816] [7.2.0/8.0.1 x86_64] Incorrect code generation if signed overflow

2018-03-11 Thread ebotcazou at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84816 Eric Botcazou changed: What|Removed |Added CC||ebotcazou at gcc dot gnu.org --- Comment

[Bug c++/84816] [7.2.0/8.0.1 x86_64] Incorrect code generation if signed overflow

2018-03-10 Thread dlesnikov at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84816 --- Comment #7 from Dmitry Lesnikov --- (In reply to Andrew Pinski from comment #5) > (In reply to Dmitry Lesnikov from comment #4) > > (In reply to Andrew Pinski from comment #1) > > > signed overflow is undefined behavior at runtime. > > > > f

[Bug c++/84816] [7.2.0/8.0.1 x86_64] Incorrect code generation if signed overflow

2018-03-10 Thread dlesnikov at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84816 --- Comment #6 from Dmitry Lesnikov --- (In reply to Andrew Pinski from comment #5) > (In reply to Dmitry Lesnikov from comment #4) > > (In reply to Andrew Pinski from comment #1) > > > signed overflow is undefined behavior at runtime. > > > > f

[Bug c++/84816] [7.2.0/8.0.1 x86_64] Incorrect code generation if signed overflow

2018-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84816 --- Comment #5 from Andrew Pinski --- (In reply to Dmitry Lesnikov from comment #4) > (In reply to Andrew Pinski from comment #1) > > signed overflow is undefined behavior at runtime. > > for(int i=0; i<10; i++) > > this loop is correct. But t

[Bug c++/84816] [7.2.0/8.0.1 x86_64] Incorrect code generation if signed overflow

2018-03-10 Thread dlesnikov at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84816 --- Comment #4 from Dmitry Lesnikov --- (In reply to Andrew Pinski from comment #1) > signed overflow is undefined behavior at runtime. for(int i=0; i<10; i++) this loop is correct.

[Bug c++/84816] [7.2.0/8.0.1 x86_64] Incorrect code generation if signed overflow

2018-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84816 Andrew Pinski changed: What|Removed |Added Status|UNCONFIRMED |RESOLVED Resolution|---

[Bug c++/84816] [7.2.0/8.0.1 x86_64] Incorrect code generation if signed overflow

2018-03-10 Thread dlesnikov at hotmail dot com
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84816 Dmitry Lesnikov changed: What|Removed |Added Status|RESOLVED|UNCONFIRMED Resolution|INVALID

[Bug c++/84816] [7.2.0/8.0.1 x86_64] Incorrect code generation if signed overflow

2018-03-10 Thread pinskia at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84816 Andrew Pinski changed: What|Removed |Added Target|x86_84 | Status|UNCONFIRMED