<p dir="ltr">On Jul 22, 2016 12:46 AM, "Rob Landley" <<a href="mailto:rob@landley.net">rob@landley.net</a>> wrote:<br>
><br>
> 's not a bug if you never use the result. Not unless you enable<br>
> something that traps on an integer overflow or similar.</p>
<p dir="ltr">FWIW, the standard explicitly says it's undefined behavior, and clang and gcc seem to be in a competition to find new and inventive ways to optimize seemingly benign UB into broken programs. Just because it works now doesn't mean it'll stay that way.<br>
</p>