This is the mail archive of the gcc@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]

Re: Converting tm.h macros to functions


>
> How far do we want to go with putting stuff in structures?  For
> example, should the target escapes like TARGET_FF go in?

I don't think there's any need to put constants in the structures -- but we
could.  I think it's more the function-like macros that we want to 
encapsulate.
The worst are the macros that are supposed to exit with a `goto' to a 
particular
label under some circumstances.  Too ugly for words, in my opinion.

> at least when we get this stuff right in the future.  How do we handle
> that?

For now, I'd just leave this stuff alone.  Even if we can only do 80% of 
the
gunk, that will be a huge win.

--
Mark Mitchelll               mark@codesourcery.com
CodeSourcery, LLC            http://www.codesourcery.com


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