This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: SH: use register names instead of numbers
- To: Joern Rennecke <amylaar at redhat dot com>
- Subject: Re: SH: use register names instead of numbers
- From: Richard Henderson <rth at redhat dot com>
- Date: Wed, 22 Nov 2000 14:19:39 -0800
- Cc: Zack Weinberg <zackw at Stanford dot EDU>, Alexandre Oliva <aoliva at redhat dot com>, gcc-patches at gcc dot gnu dot org
- References: <20001121164353.A18945@redhat.com> <200011222152.eAMLqBG17135@tantra.cygnus.co.uk>
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~