On November 24, 2014 6:35:51 AM CET, Markus Wichmann <nullp...@gmx.net> wrote:
>that this asumption removes most overflow checking code.

This behaviour is a pro, not a con, of GCC. If you rely on undefined behaviour 
to
check for ... well ... undefined behaviour there is a compiler flag to enable 
it.

>something, but... well, the problem is, most code out there is not
>strictly conforming to the C standard.

Fix the code instead of breaking the compiler.

>By now, the only thing that really bugs me is that GCC's optimizers
>make
>code undebuggable.

-O0 and -g are your best friends.


Reply via email to