This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Committed: fix gcc.dg/webizer.c (the trivial part :)
- From: Hans-Peter Nilsson <hp at bitrange dot com>
- To: Andreas Schwab <schwab at linux-m68k dot org>
- Cc: gcc-patches at gcc dot gnu dot org, Jan Hubicka <jh at suse dot cz>
- Date: Sun, 21 Oct 2012 09:46:09 -0400 (EDT)
- Subject: Re: Committed: fix gcc.dg/webizer.c (the trivial part :)
- References: <alpine.BSF.2.00.1210210900170.50139@dair.pair.com> <m2a9vgq7xy.fsf@igel.home>
On Sun, 21 Oct 2012, Andreas Schwab wrote:
> Hans-Peter Nilsson <hp@bitrange.com> writes:
>
> > I used __builtin_exit just to avoid declarations or includes;
>
> A "return 0" would have worked just as well.
It's not the preferred method. Fail: abort(). Pass: exit(0).
Don't remember where I read it, though.
Brgds, H-P