C++ Logo

sg12

Advanced search

Re: [ub] A proposal to define signed overflow submitted?

From: Hyman Rosen <hyman.rosen_at_[hidden]>
Date: Wed, 14 Mar 2018 17:52:21 -0400
On Wed, Mar 14, 2018 at 5:37 PM, Aaron Ballman <aaron_at_[hidden]>
wrote:

> On Wed, Mar 14, 2018 at 5:30 PM, Hyman Rosen <hyman.rosen_at_[hidden]>
> wrote:
> > No behavior should ever be designated undefined in order to allow
> > optimizers to generate code by assuming that the behavior never occurs.
>
> Infinite loops are a counter-example to this assertion.


 How so?

Received on 2018-03-14 22:52:42