From patchwork Mon Oct 11 14:48:57 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: John David Anglin X-Patchwork-Id: 67428 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 32CEBB70A3 for ; Tue, 12 Oct 2010 01:49:10 +1100 (EST) Received: (qmail 2591 invoked by alias); 11 Oct 2010 14:49:07 -0000 Received: (qmail 2578 invoked by uid 22791); 11 Oct 2010 14:49:06 -0000 X-SWARE-Spam-Status: No, hits=-2.0 required=5.0 tests=AWL, BAYES_00, T_RP_MATCHES_RCVD X-Spam-Check-By: sourceware.org Received: from hiauly1.hia.nrc.ca (HELO hiauly1.hia.nrc.ca) (132.246.100.193) by sourceware.org (qpsmtpd/0.43rc1) with ESMTP; Mon, 11 Oct 2010 14:49:02 +0000 Received: by hiauly1.hia.nrc.ca (Postfix, from userid 1000) id EB6044E7B; Mon, 11 Oct 2010 10:48:58 -0400 (EDT) Subject: [committed] Delete endless loop typo To: gcc-patches@gcc.gnu.org Date: Mon, 11 Oct 2010 10:48:57 -0400 (EDT) From: "John David Anglin" MIME-Version: 1.0 Message-Id: <20101011144858.EB6044E7B@hiauly1.hia.nrc.ca> 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 This fixes PR middle-end/45955. Tested on hppa64-hp-hpux11.11. Committed as obvious. Dave Index: ipa.c =================================================================== --- ipa.c (revision 165242) +++ ipa.c (working copy) @@ -1487,7 +1487,6 @@ TREE_SIDE_EFFECTS (call) = 1; append_to_statement_list (call, &body); } - while (i < len); gcc_assert (body != NULL_TREE); /* Generate a function to call all the function of like priority. */