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/RFA] spec functions


> Actually, what's with the linked list in the first place?  If you just
> made this an array of name:function pairs that you scan directly, you
> wouldn't need the macro, you wouldn't need to initialize anything at
> runtime, you could make the table read-only data, and it wouldn't even
> be slower.

So that backends and frontends can add their own functions to the list
at runtime.


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