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]

[21/25] Specs cleanup: SPU


config/spu/spu-elf.h defines ASM_SPEC to include %{w:-W}.  This is
redundant, since gcc.c:asm_options hardcodes that spec for the GNU
assembler, and this patch removes it.  OK to commit?

2011-01-13  Joseph Myers  <joseph@codesourcery.com>

	* config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.

diff -rupN --exclude=.svn gcc-mainline-20/gcc/config/spu/spu-elf.h gcc-mainline/gcc/config/spu/spu-elf.h
--- gcc-mainline-20/gcc/config/spu/spu-elf.h	2009-12-30 09:05:24.000000000 -0800
+++ gcc-mainline/gcc/config/spu/spu-elf.h	2011-01-12 15:03:00.000000000 -0800
@@ -78,7 +78,6 @@
       mcache-size=8  :-lgcc_cache8k; \
                      :-lgcc_cache64k}"
 
-/* Turn off warnings in the assembler too. */
 #undef ASM_SPEC
-#define ASM_SPEC  "%{w:-W}"
+#define ASM_SPEC  ""
 

-- 
Joseph S. Myers
joseph@codesourcery.com


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