Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 13 Mar 2007 15:48:36 +0300
From:      Eygene Ryabinkin <rea-fbsd@codelabs.ru>
To:        Andrey Chernov <ache@freebsd.org>, current@freebsd.org
Subject:   Re: Bad gcc -O optimization cause core dump. What to do?
Message-ID:  <20070313124836.GV58523@codelabs.ru>
In-Reply-To: <20070313123717.GU58523@codelabs.ru>
References:  <20070313121106.GA96293@nagual.pp.ru> <20070313123717.GU58523@codelabs.ru>

next in thread | previous in thread | raw e-mail | index | archive | help
> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20070313124836.GV58523>