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] Remove unused macro and functions from tree-flow.h and tree-flow-inline.h


On 09/10/2013 09:15 AM, Jakub Jelinek wrote:
On Tue, Sep 10, 2013 at 09:04:41AM -0400, Andrew MacLeod wrote:
Really? If it were useful I would have thought they'd be using it now.

In any case, it doesn't belong in tree-flow.h.. . shouldn't these
functions and macros be in hashtab.h then?
It doesn't belong to hashtab.h, because that is a libiberty API, this
style of iterators is GCC specific.



Doesn't seem to be anywhere obvious to put gcc specific hash table iterators at first glance. You seem to think we should keep them so unless you have a better idea, I'll put it into a new file gcc-hash.h which can be included when someone needs it... (or simply removed when determined to be obsolete.)

Andrew


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