Priority: P3
Component: c++
Assignee: unassigned at gcc dot gnu.org
Reporter: dlesnikov at hotmail dot com
Target Milestone: ---
Hello!
# g++-7 --version
g++-7 (Ubuntu 7.2.0-8ubuntu3.1~16.04.york0) 7.2.0
# g++-8 --version
g++-8 (Ubuntu 8-20180218-1ubuntu1
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=84816
Dmitry Lesnikov changed:
What|Removed |Added
Status|RESOLVED|UNCONFIRMED
Resolution|INVALID
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.
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
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