From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 640 invoked by alias); 12 Nov 2014 15:52:22 -0000 Mailing-List: contact gdb-patches-help@sourceware.org; run by ezmlm Precedence: bulk List-Id: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: gdb-patches-owner@sourceware.org Received: (qmail 630 invoked by uid 89); 12 Nov 2014 15:52:21 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-3.2 required=5.0 tests=AWL,BAYES_00,RCVD_IN_DNSWL_LOW,RP_MATCHES_RCVD,SPF_PASS autolearn=ham version=3.3.2 X-HELO: mail-vc0-f172.google.com Received: from mail-vc0-f172.google.com (HELO mail-vc0-f172.google.com) (209.85.220.172) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with (AES128-SHA encrypted) ESMTPS; Wed, 12 Nov 2014 15:52:20 +0000 Received: by mail-vc0-f172.google.com with SMTP id hq11so569791vcb.17 for ; Wed, 12 Nov 2014 07:52:18 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:mime-version:in-reply-to:references:date :message-id:subject:from:to:cc:content-type; bh=QtbAh7D92XGm/K4TC/Esn8DkMZHIpkoalfgHGF/0Bdc=; b=ZjslDM8a1vMu1YkOUyDRTv45idpYox48TBZuJ3vhxHs1yOR8lnrNcGc/JablMljAlY FmZZRxBTuYq2AYVO6krpdaP2A/eQSuK3ZtD1XRIDO+B6JJNjmJuPxzscYegfvY2pPQgE kjPV5ctvJU4w5cR/av2h4E6/tFIRmxDPorjL/ayUdrXlHWVOAWHQlO6KPoQ6BfElxbT6 n9U2F1WEQHp8TaPiRu8cJIaLeeNznbP9wg0jSkHfnG5TNDDay5+CfqwkMND716ZnIQkw DAYxrp5G+G8+OPO5uUDkghzOlwc2TJ4/PptZ0IcSE7ilsUEaS7zTPipAGljKFBARX5gM Uddw== X-Gm-Message-State: ALoCoQm1IOY7EKM22nWWdMrCqkQudYLm1yHu5pys7bVLlSLeMzsbUWgYpKjNH+wtVijOSgtO/iFK MIME-Version: 1.0 X-Received: by 10.220.136.17 with SMTP id p17mr35157529vct.3.1415807538004; Wed, 12 Nov 2014 07:52:18 -0800 (PST) Received: by 10.52.114.101 with HTTP; Wed, 12 Nov 2014 07:52:17 -0800 (PST) In-Reply-To: <545FE524.5070607@dancol.org> References: <543300A0.50705@dancol.org> <545FE524.5070607@dancol.org> Date: Wed, 12 Nov 2014 15:52:00 -0000 Message-ID: Subject: Re: Fix infinite loop in update_enumeration_type_from_children From: Doug Evans To: Daniel Colascione Cc: gdb-patches Content-Type: text/plain; charset=UTF-8 X-IsSubscribed: yes X-SW-Source: 2014-11/txt/msg00217.txt.bz2 On Sun, Nov 9, 2014 at 2:05 PM, Daniel Colascione wrote: > On 10/08/2014 06:58 AM, Doug Evans wrote: >> Changing the loop to a for loop is another way to go, and arguably preferable. > > Either way, it looks like this bug is unfixed in master. Now that I have > papers, can this patch (or an equivalent for-loop version) be committed? Hi. I kinda like the for-loop version better. I'll get that checked in today.