Ralph wrote:

>     With -D_FORTIFY_SOURCE=2:
>         -O0  Compile fails;  optimisation needed.

configure.ac doesn't add -D_FORTIFY_SOURCE if CFLAGS contains -O0, but
that can be easily fooled at compile time.

> So valgrind looks best with -O2, but gcc spots some problems itself at
> -O3 if no -D_FORTIFY_SOURCE=2.

Interesting.  build_nmh uses -O2, coincidentally.

David

_______________________________________________
Nmh-workers mailing list
[email protected]
https://lists.nongnu.org/mailman/listinfo/nmh-workers

Reply via email to