This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix includes of sparseset.*


>>>>> "Peter" == Peter Bergner <bergner@vnet.ibm.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.
See system.h.

It doesn't matter, though.  That include doesn't hurt anything.

Tom


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]