[PATCH] Disable ppc/spu context sensitive macros for CLK_ASM preprocessing (PR preprocessor/61977)

Ulrich Weigand uweigand@de.ibm.com
Wed Apr 1 12:09:00 GMT 2015


Jakub Jelinek wrote:

> The context sensitive macros are inherently C/C++ specific, so trying to
> expand them into anything when preprocessing assembler doesn't make any
> sense to me.

Makes sense.

> 2015-04-01  Jakub Jelinek  <jakub@redhat.com>
> 
> 	PR preprocessor/61977
> 	* config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Don't
> 	predefine __vector/__bool/__pixel macros nor context sensitive
> 	macros for CLK_ASM.
> 	* config/spu/spu-c.c (spu_cpu_cpp_builtins): Similarly.

The SPU part is OK.

Thanks,
Ulrich

-- 
  Dr. Ulrich Weigand
  GNU/Linux compilers and toolchain
  Ulrich.Weigand@de.ibm.com



More information about the Gcc-patches mailing list