From patchwork Mon Feb 17 12:17:23 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?Martin_Li=C5=A1ka?= X-Patchwork-Id: 1239180 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-519635-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=none (p=none dis=none) header.from=suse.cz Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=ejC1BhH6; dkim-atps=neutral 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 48Ljfk6mgwz9sPJ for ; Mon, 17 Feb 2020 23:17:34 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:from :subject:to:message-id:date:mime-version:content-type; q=dns; s= default; b=vjwuhq3nC0zfTZ8EIbv/iNJ5AuB1dg7PvLXwr96hk2c79hg0m2dKe IL3pTi9q8j48yikHAq6olp3axb3q3o0OE4pYTbKKUSqKS3FkgWGthTW0q+xZZuOm kQ/eVgfFajdqIjrAZdzSDjc8JJuFahyGO74EJUMVnYbzgBfwoi4sm8= 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:from :subject:to:message-id:date:mime-version:content-type; s= default; bh=hishVrUXFBUM4zZRfuyUzOF9bQY=; b=ejC1BhH6ksQhVGGaJOdh qDTnXJLDooH0WJMhSnlhVo64S2/WkvTL/JvI1oz5pJspH5IsBgUJ3G96hbYXEjNM SvRV4rxHcBPZ33sXwM9TM7ZoaGzSUwg/GT2aVN7h+QkV6viyVWbD2jUqWAjTHLVz nRdr6hUYNWFDC9I8DWvfmFE= Received: (qmail 19511 invoked by alias); 17 Feb 2020 12:17:27 -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 18840 invoked by uid 89); 17 Feb 2020 12:17:26 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-18.7 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mx2.suse.de Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 17 Feb 2020 12:17:25 +0000 Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id 838F8B01D for ; Mon, 17 Feb 2020 12:17:23 +0000 (UTC) From: =?utf-8?q?Martin_Li=C5=A1ka?= Subject: [PATCH][OBVIOUS] Fix a typo. To: gcc-patches@gcc.gnu.org Message-ID: Date: Mon, 17 Feb 2020 13:17:23 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.5.0 MIME-Version: 1.0 X-IsSubscribed: yes Hi. One obvious typo fix. Patch can bootstrap on x86_64-linux-gnu and survives regression tests. Thanks, Martin gcc/ChangeLog: 2020-02-17 Martin Liska PR other/93756 * config/rx/elf.opt: Fix typo. libphobos/ChangeLog: 2020-02-17 Martin Liska PR other/93756 * src/std/algorithm/iteration.d: Fix typo. --- gcc/config/rx/elf.opt | 2 +- libphobos/src/std/algorithm/iteration.d | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/gcc/config/rx/elf.opt b/gcc/config/rx/elf.opt index d65c1ee94c4..f130e799680 100644 --- a/gcc/config/rx/elf.opt +++ b/gcc/config/rx/elf.opt @@ -29,7 +29,7 @@ Use the simulator runtime. mas100-syntax Target Mask(AS100_SYNTAX) Report -Generate assembler output that is compatible with the Renesas AS100 assembler. This may restrict some of the compiler's capabilities. The default is to generate GAS compatable syntax. +Generate assembler output that is compatible with the Renesas AS100 assembler. This may restrict some of the compiler's capabilities. The default is to generate GAS compatible syntax. ;--------------------------------------------------- diff --git a/libphobos/src/std/algorithm/iteration.d b/libphobos/src/std/algorithm/iteration.d index 7e5782406d1..93cf1e7cfb3 100644 --- a/libphobos/src/std/algorithm/iteration.d +++ b/libphobos/src/std/algorithm/iteration.d @@ -3151,7 +3151,7 @@ The number of seeds must be correspondingly increased. static assert(!is(typeof(reduce!(min, max)(tuple(c), "hello")))); //"Seed (dchar, dchar, dchar) does not have the correct amount of fields (should be 2)" static assert(!is(typeof(reduce!(min, max)(tuple(c, c, c), "hello")))); - //"Incompatable function/seed/element: all(alias pred = "a")/int/dchar" + //"Incompatible function/seed/element: all(alias pred = "a")/int/dchar" static assert(!is(typeof(reduce!all(1, "hello")))); static assert(!is(typeof(reduce!(all, all)(tuple(1, 1), "hello")))); }