Bad gcc -O optimization cause core dump. What to do?

Eygene Ryabinkin rea-fbsd at codelabs.ru
Tue Mar 13 12:48:44 UTC 2007


> The ATTR_NOTHROW_NONNULL_1 makes me think that not all is lost and something
> can be done with the NULL pointer. I am not very familiar with gcc
> internals, but I will try to see if something can be changed.

OK, the 'gcc -O -o test -fno-builtin-printf test.c' is your friend.
-- 
Eygene


More information about the freebsd-current mailing list