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: [PATCH] Fix MIPS bootstrap after new enum comparison warning


Adam Nemet <anemet@caviumnetworks.com> writes:
> Along the lines of the s390 fix:
>
>   http://gcc.gnu.org/ml/gcc-patches/2009-04/msg01343.html
>
> OK if bootstrapping completes on mips64octeon-linux?  (It's already in stage
> 3.)
>
> Adam
>
>
> 	* config/mips/mips.h (mips_tune_attr): New macro.
> 	* config/mips/mips.md (cpu): Use it.

OK, thanks.

FWIW, I have a WIP patch that allows cpu.h to include attributes defined
in cpu.md, so that we don't need this duplication between processor_type
and the "cpu" attribute.  Unfortunately, it's just another patch in my
pile of half-complete stuff.  I couldn't decide whether it was better to
(a) have fake always-false insn_conditions for gen* programs that don't
care about C conditions, or (b) have an .md "header file" that doesn't
have any of the constructs that indirectly depend on cpu.h.

Richard


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