From patchwork Thu Apr 7 21:48:27 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Joseph Myers X-Patchwork-Id: 90237 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) by ozlabs.org (Postfix) with SMTP id 33183B6F87 for ; Fri, 8 Apr 2011 07:48:37 +1000 (EST) Received: (qmail 8287 invoked by alias); 7 Apr 2011 21:48:35 -0000 Received: (qmail 8235 invoked by uid 22791); 7 Apr 2011 21:48:34 -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; Thu, 07 Apr 2011 21:48:30 +0000 Received: (qmail 23105 invoked from network); 7 Apr 2011 21:48:29 -0000 Received: from unknown (HELO digraph.polyomino.org.uk) (joseph@127.0.0.2) by mail.codesourcery.com with ESMTPA; 7 Apr 2011 21:48:29 -0000 Received: from jsm28 (helo=localhost) by digraph.polyomino.org.uk with local-esmtp (Exim 4.72) (envelope-from ) id 1Q7x3z-0003iU-NL; Thu, 07 Apr 2011 21:48:27 +0000 Date: Thu, 7 Apr 2011 21:48:27 +0000 (UTC) From: "Joseph S. Myers" To: gcc-patches@gcc.gnu.org cc: nickc@redhat.com Subject: Re: Avoid global state in rx_handle_option In-Reply-To: Message-ID: References: MIME-Version: 1.0 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org There was a bug in how the conversion to Enum was done in this patch; I've applied this followup patch to fix it. Index: ChangeLog =================================================================== --- ChangeLog (revision 172137) +++ ChangeLog (working copy) @@ -1,5 +1,10 @@ 2011-04-07 Joseph Myers + * config/rx/rx.opt (rx610, rx200, rx600): Use Enum not Name on + EnumValue lines. + +2011-04-07 Joseph Myers + * config/m68k/m68k.c (m68k_handle_option): Don't handle OPT_m68000, OPT_mc68000, OPT_m68010, OPT_m68020, OPT_mc68020, OPT_m68030, OPT_m68040, OPT_m68060, OPT_m68302, OPT_m68332 and Index: config/rx/rx.opt =================================================================== --- config/rx/rx.opt (revision 172137) +++ config/rx/rx.opt (working copy) @@ -53,13 +53,13 @@ Name(rx_cpu_types) Type(enum rx_cpu_types) EnumValue -Name(rx_cpu_types) String(rx610) Value(RX610) +Enum(rx_cpu_types) String(rx610) Value(RX610) EnumValue -Name(rx_cpu_types) String(rx200) Value(RX200) +Enum(rx_cpu_types) String(rx200) Value(RX200) EnumValue -Name(rx_cpu_types) String(rx600) Value(RX600) +Enum(rx_cpu_types) String(rx600) Value(RX600) ;---------------------------------------------------