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


On Wed, Nov 22, 2000 at 09:52:11PM +0000, Joern Rennecke wrote:
> As Alexandre has pointed out, you can't just include insn-codes.h in tm.h,
> since the generator files themselves include tm.h.
> So my idea is to define GENERATOR_FILE while one of these files is
> compiled, so that in tm.h, you can do:
> 
> #ifndef GENERATOR_FILE
> #include "insn-codes.h"
> #endif

If we're going to do this, I think we should do it in the tm.h
generated by configure rather than in config/cpu/cpu.h.



r~

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