From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21434 invoked by alias); 14 Jan 2011 00:15:16 -0000 Received: (qmail 21365 invoked by uid 22791); 14 Jan 2011 00:15:15 -0000 X-SWARE-Spam-Status: No, hits=-1.8 required=5.0 tests=AWL,BAYES_00,T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from mail.codesourcery.com (HELO mail.codesourcery.com) (38.113.113.100) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Fri, 14 Jan 2011 00:15:11 +0000 Received: (qmail 14731 invoked from network); 14 Jan 2011 00:15:10 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 14 Jan 2011 00:15:10 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1PdXJs-0002SY-Sa; Fri, 14 Jan 2011 00:15:08 +0000 Date: Fri, 14 Jan 2011 00:17:00 -0000 From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org cc: geoffk@geoffk.org, dje.gcc@gmail.com, Nathan Sidwell Subject: [18/25] Specs cleanup: rs6000/vxworks.h -fvec* In-Reply-To: Message-ID: References: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org X-SW-Source: 2011-01/txt/msg00910.txt.bz2 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? 2011-01-13 Joseph Myers * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. 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) \ -- Joseph S. Myers joseph@codesourcery.com