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]

Re: SH: use register names instead of numbers


    > My concern is about the potiential for, for example, define a constant
    > named PLUS, which conflicts with an RTL name.  It's just too easy
    > to make that sort of mistake.
    
    I don't consider this to be a very likely ocurrence.  I'd expect
    these constants to be named e.g. STACK_POINTER_REGNUM and such.
    
Great example STACK_POINTER_REGNUM in fact conflicts with a
tm.h macro of the same name!

I think you made my point for me.  ;-)

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