This is the mail archive of the
mailing list for the GCC project.
Re: [PATCH] Fix includes of sparseset.*
- From: Tom Tromey <tromey at redhat dot com>
- To: Peter Bergner <bergner at vnet dot ibm dot com>
- Cc: Bernhard Fischer <rep dot dot dot nop at gmail dot com>, gcc-patches at gcc dot gnu dot org
- Date: Tue, 04 Dec 2007 07:42:51 -0700
- Subject: Re: [PATCH] Fix includes of sparseset.*
- References: <20071127220158.GA17973@aon.at> <email@example.com> <20071201124147.GB17973@aon.at> <firstname.lastname@example.org> <1196780723.7774.27.camel@otta>
- Reply-to: Tom Tromey <tromey at redhat dot com>
>>>>> "Peter" == Peter Bergner <email@example.com> writes:
Peter> On Sun, 2007-12-02 at 11:44 -0700, Tom Tromey wrote:
>> FWIW it seems to me that the <assert.h> include in sparseset.h must
>> be unused.
Peter> Well, sparseset.h:sparseset_bit_p() calls gcc_assert(). Doesn't that
Peter> require <assert.h> to be included? Or did I include the wrong file?
Peter> ...which is possible.
gcc_assert uses fancy_abort, which is defined by gcc.
It doesn't matter, though. That include doesn't hurt anything.