RFA: Add support for FRV to 20020312-2.c test

Janis Johnson janis187@us.ibm.com
Mon Apr 23 16:18:00 GMT 2007


On Sat, Apr 21, 2007 at 08:57:57AM +0100, Nick Clifton wrote:
> Hi Guys,
> 
>   Please may I apply the following patch to the gcc.dg/20020312-2.c
>   test ?  It adds definitions of the PIC registers used by the FRV
>   port so that the test can run without encountering a #error.
> 
>  #elif defined(__SPU__)
>  #  define PIC_REG  "126"
> +#elif defined __frv__

Please put parentheses around __frv__ to match the rest of the test,
just so eyeballs don't have to re-adjust for that one check.

Janis



More information about the Gcc-patches mailing list