Message ID | Pine.LNX.4.64.1101140014270.6059@digraph.polyomino.org.uk |
---|---|
State | New |
Headers | show |
On 01/14/11 00:15, Joseph S. Myers wrote: > config/rs6000/vxworks.h defines CC1_SPEC to handle -fvec and > -fvec-eabi, translating them to -m options. But since the original > options would still be passed to cc1 (all -f options are), this is > useless in practice; the -f options would result in errors as they are > in no .opt file. This patch removes the useless specs. OK to commit? ok
diff -rupN --exclude=.svn gcc-mainline-17/gcc/config/rs6000/vxworks.h gcc-mainline/gcc/config/rs6000/vxworks.h --- gcc-mainline-17/gcc/config/rs6000/vxworks.h 2011-01-12 14:43:16.000000000 -0800 +++ gcc-mainline/gcc/config/rs6000/vxworks.h 2011-01-12 14:44:59.000000000 -0800 @@ -80,8 +80,7 @@ VXWORKS_ADDITIONAL_CPP_SPEC #define CC1_SPEC \ "%{G*} %{mno-sdata:-msdata=none} %{msdata:-msdata=default} \ - %{mlittle|mlittle-endian:-mstrict-align} \ - %{fvec:-maltivec} %{fvec-eabi:-maltivec -mabi=altivec}" + %{mlittle|mlittle-endian:-mstrict-align}" #define ASM_SPEC \ "%(asm_cpu) \