On 19 September 2014 07:41, Koz Ross via Digitalmars-d
<[email protected]> wrote:
> An update:
>
> If I don't use -O3 (in fact, if I don't use the -O flag at all), the code
> compiles and runs exactly as expected. I'm a little surprised (as even -O1
> causes this same strange behaviour). Could this be a bug?

If there's overflow occurring, and overflow is *expected* in the code,
then you are at the mercy of the optimiser working against you. :)

Reply via email to