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: sh64-elf (SH5) port


On Feb  5, 2002, Neil Booth <neil@daikokuya.demon.co.uk> wrote:

> Alexandre Oliva wrote:-
>> It's not a target hook.  It's a generic hook.  Think of these hooks as
>> (lambda (&rest args) t) or (lambda (&rest args) nil) fit into the
>> limitations of C, such that we don't have to go into the insanity of
>> adding declarations, definitions and whatnot  every time we introduce
>> a new hook, be it a target hook or a language hook.  The point is to
>> have some do-nothing functions that can be reused whenever we don't
>> really have to do anything.

> Ah, I see.  Thanks for the explanation.  You might want to have a look
> at target.c and langhooks.c; there are probably redundant copies of
> do nothing functions there.

I'll get to that.  But I wanted to check whether the idea would fly
before spending more time on that.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist                Professional serial bug killer


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