From patchwork Mon Feb 13 19:47:22 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jakub Jelinek X-Patchwork-Id: 727545 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]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3vMbgL28c4z9s4s for ; Tue, 14 Feb 2017 06:47:42 +1100 (AEDT) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="MnVv6rSu"; dkim-atps=neutral DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:reply-to:mime-version :content-type; q=dns; s=default; b=NbyFJ46qINFUKhLIsE38UhiEV6IkD bczhGiArV/G9WnTlL2eGg2PZxnUlqGPbCVhY+CvGlhBEqMbQu3o/4S7PN0j7wC+I S6Lxi9JE08Hft4e4Z6H85m9fLDtqPmZXR/EaIFjFY0SxH2wym28j4QLMJNrYy1fZ Xlp3QrQUAYoEag= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:cc:subject:message-id:reply-to:mime-version :content-type; s=default; bh=YQtIsEjDgogD9L0LvkxSd7XVSGk=; b=MnV v6rSuWEPDlmsfhTgvBKsWaX4xbJzBC5TYKJnNO2vxs/IFXE1m6xXv8BxgxsFb4Rh +uu/YMj0wa720/WWR5UltYYAPpD6XR+wUl+Pck+2LfyT5/Ku0/gOpMoi4aAgIbUV GvoPWy0/37pFbrXK5b1YXZ7n7zXMGqM//ZcrKdZ4= Received: (qmail 19909 invoked by alias); 13 Feb 2017 19:47:29 -0000 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 Received: (qmail 19889 invoked by uid 89); 13 Feb 2017 19:47:28 -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, RP_MATCHES_RCVD, SPF_HELO_PASS autolearn=ham version=3.3.2 spammy=fselftest, fself-test, food X-HELO: mx1.redhat.com Received: from mx1.redhat.com (HELO mx1.redhat.com) (209.132.183.28) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 13 Feb 2017 19:47:27 +0000 Received: from int-mx14.intmail.prod.int.phx2.redhat.com (int-mx14.intmail.prod.int.phx2.redhat.com [10.5.11.27]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.redhat.com (Postfix) with ESMTPS id B9E8681236 for ; Mon, 13 Feb 2017 19:47:27 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-76.ams2.redhat.com [10.36.116.76]) by int-mx14.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id v1DJlQ48027701 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-GCM-SHA384 bits=256 verify=NO); Mon, 13 Feb 2017 14:47:27 -0500 Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id v1DJlNtV006150; Mon, 13 Feb 2017 20:47:23 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id v1DJlMJs006149; Mon, 13 Feb 2017 20:47:22 +0100 Date: Mon, 13 Feb 2017 20:47:22 +0100 From: Jakub Jelinek To: David Malcolm Cc: gcc-patches@gcc.gnu.org Subject: [PATCH] Fix spellcheck test data Message-ID: <20170213194722.GO1849@tucnak> Reply-To: Jakub Jelinek MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.7.1 (2016-10-04) X-IsSubscribed: yes Hi! Not really sure about this, but I'd expect if you meant to write "foofood", you'd have written it that way and not "foo" "food", Passes -fself-test either way, bootstrapped/regtested on x86_64-linux and i686-linux, ok for trunk? 2017-02-13 Jakub Jelinek * spellcheck.c (test_data): Add , in between "foo" and "food". Jakub --- gcc/spellcheck.c.jj 2017-01-01 12:45:35.000000000 +0100 +++ gcc/spellcheck.c 2017-02-13 11:34:22.352425744 +0100 @@ -221,7 +221,7 @@ test_find_closest_string () static const char * const test_data[] = { "", - "foo" + "foo", "food", "boo", "1234567890123456789012345678901234567890123456789012345678901234567890"