From patchwork Mon Jan 17 01:08:22 2011 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jack Howarth X-Patchwork-Id: 79112 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 3E727B7088 for ; Mon, 17 Jan 2011 12:08:33 +1100 (EST) Received: (qmail 17386 invoked by alias); 17 Jan 2011 01:08:30 -0000 Received: (qmail 17371 invoked by uid 22791); 17 Jan 2011 01:08:29 -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 bromo.med.uc.edu (HELO bromo.med.uc.edu) (129.137.3.146) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Mon, 17 Jan 2011 01:08:24 +0000 Received: from bromo.med.uc.edu (localhost.localdomain [127.0.0.1]) by bromo.med.uc.edu (Postfix) with ESMTP id 65918B2D53; Sun, 16 Jan 2011 20:08:22 -0500 (EST) Received: (from howarth@localhost) by bromo.med.uc.edu (8.14.3/8.14.3/Submit) id p0H18Mbl022179; Sun, 16 Jan 2011 20:08:22 -0500 Date: Sun, 16 Jan 2011 20:08:22 -0500 From: Jack Howarth To: gcc-patches@gcc.gnu.org Cc: rth@gcc.gnu.org Subject: [PATCH] Fix PR middle-end/47319 typo Message-ID: <20110117010822.GA22177@bromo.med.uc.edu> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.5.18 (2008-05-17) 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 Currently a typo exists in dump_eh_tree() introduced at r151696. The attached patch removes the erroneous ';' from the for statement so that the braced code that follows is properly executed. Bootstrap and regression tested on x86_64-apple-darwin10. Okay for gcc trunk under the obvious rule? Jack 2011-01-16 Jack Howarth PR middle-end/47319 * gcc/except.c (dump_eh_tree): Fix typo. Index: gcc/except.c =================================================================== --- gcc/except.c (revision 168859) +++ gcc/except.c (working copy) @@ -3194,7 +3194,7 @@ dump_eh_tree (FILE * out, struct functio } else { - for (lp = i->landing_pads; lp ; lp = lp->next_lp); + for (lp = i->landing_pads; lp ; lp = lp->next_lp) { fprintf (out, "{%i,", lp->index); if (lp->landing_pad)