From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 25844 invoked by alias); 16 Sep 2010 17:46:31 -0000 Received: (qmail 25817 invoked by uid 22791); 16 Sep 2010 17:46:29 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL,BAYES_00 X-Spam-Check-By: sourceware.org Received: from outpost1.zedat.fu-berlin.de (HELO outpost1.zedat.fu-berlin.de) (130.133.4.66) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Thu, 16 Sep 2010 17:46:24 +0000 Received: from relay1.zedat.fu-berlin.de ([130.133.4.67]) by outpost1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1OwIXO-00058Q-II>; Thu, 16 Sep 2010 19:46:22 +0200 Received: from login.physik.fu-berlin.de ([160.45.66.88] helo=tux.net-b.de) by relay1.zedat.fu-berlin.de (Exim 4.69) with esmtp (envelope-from ) id <1OwIXL-00048p-FO>; Thu, 16 Sep 2010 19:46:21 +0200 Message-ID: <4C9257E8.1020007@net-b.de> Date: Thu, 16 Sep 2010 17:46:00 -0000 From: Tobias Burnus User-Agent: Mozilla/5.0 (X11; U; Linux x86_64; de; rv:1.9.2.7) Gecko/20100714 SUSE/3.1.1 Thunderbird/3.1.1 MIME-Version: 1.0 To: "Joseph S. Myers" CC: gcc-patches@gcc.gnu.org, fortran@gcc.gnu.org, java-patches@gcc.gnu.org Subject: Re: Replace translate_options with .opt aliases References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Mailing-List: contact java-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: java-patches-owner@gcc.gnu.org X-SW-Source: 2010-q3/txt/msg00065.txt.bz2 Joseph S. Myers wrote: > This patch replaces translate_options, a textual substitution pass > over the command line taking place before the options are decoded, > with use of the .opt option alias facility and handling variants such > as -- for -f at the time options are decoded (while keeping the > original spellings available for diagnostics). [...] > > > Bootstrapped with no regressions on x86_64-unknown-linux-gnu. Also > tested with cross to mep-elf (patched as described in > ) that > appropriate translations were made in the > TARGET_OPTION_TRANSLATE_TABLE case. OK to commit? The Fortran bits are OK. Tobias > 2010-09-08 Joseph Myers > > fortran: > 2010-09-08 Joseph Myers > > * gfortranspec.c (lang_specific_driver): Handle OPT__version and > OPT__help instead of OPT_fversion and OPT_fhelp. > * lang.opt (-all-warnings, -assert, -assert=, -comments, > -comments-in-macros, -define-macro, -define-macro=, -dependencies, > -dump, -dump=, -include-barrier, -include-directory, > -include-directory=, -include-directory-after, > -include-directory-after=, -include-prefix, -include-prefix=, > -no-line-commands, -no-standard-includes, -output, -output=, > -preprocess, -print-missing-file-dependencies, -trace-includes, > -undefine-macro, -undefine-macro=, -user-dependencies, -verbose, > -write-dependencies, -write-user-dependencies): New.