From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 63792 invoked by alias); 14 Jun 2017 07:14:11 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Received: (qmail 63771 invoked by uid 89); 14 Jun 2017 07:14:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-1.9 required=5.0 tests=BAYES_00,SPF_PASS autolearn=ham version=3.3.2 spammy=H*M:63b8 X-HELO: mx1.suse.de Received: from mx2.suse.de (HELO mx1.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Wed, 14 Jun 2017 07:14:10 +0000 Received: from relay1.suse.de (charybdis-ext.suse.de [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 8C8F9AC29; Wed, 14 Jun 2017 07:14:12 +0000 (UTC) Subject: Re: [PATCH] Enhance dump_probability function. To: Jakub Jelinek , Rainer Orth Cc: Paul Hua , gcc-patches References: <20170614063103.GO2099@tucnak> From: =?UTF-8?Q?Martin_Li=c5=a1ka?= Message-ID: <5967658f-63b8-42f4-b210-bfa3b1d983ff@suse.cz> Date: Wed, 14 Jun 2017 07:14:00 -0000 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.1.1 MIME-Version: 1.0 In-Reply-To: <20170614063103.GO2099@tucnak> Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-IsSubscribed: yes X-SW-Source: 2017-06/txt/msg00992.txt.bz2 On 06/14/2017 08:31 AM, Jakub Jelinek wrote: > I've looked at the patch and committed following change that makes > both tests pass. Scanning for [^:]* is weird, it would make more sense > to scan for [^]]*, but as only [0-9INV]* can appear there, I think it > doesn't hurt to be more precise. Yes, we can be more precise. Thanks for the fix. Martin