Message ID | 20200210140905.GO17695@tucnak |
---|---|
State | New |
Headers | show
Return-Path: <gcc-patches-return-519232-incoming=patchwork.ozlabs.org@gcc.gnu.org> 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-519232-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=<UNKNOWN>) Authentication-Results: ozlabs.org; dmarc=fail (p=none dis=none) header.from=redhat.com 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=JfrVPlot; dkim=fail reason="signature verification failed" (1024-bit key; unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256 header.s=mimecast20190719 header.b=QcO3JLun; 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 48GST30ZZ3z9sT8 for <incoming@patchwork.ozlabs.org>; Tue, 11 Feb 2020 01:09:26 +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:date :from:to:subject:message-id:reply-to:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=ssI8x6eEEt2oR7yX /rkBiYgOfhLsDGUUmo7L7cyIwMuTbso8DLa2djWQwNjh3rLgSV73MmjxwX61zd9n N4Mynrq1qjYj0y9TuqPzsGeuZnmBhWdzCbEj3NULXYdtVQ0hBNtKqgwe7TEj2+mm qdORZARCKirvQbTzrdMkoa7lhFo= 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:subject:message-id:reply-to:mime-version:content-type :content-transfer-encoding; s=default; bh=HkGmKOOkJOYQeuHYZmKsFA +TbZQ=; b=JfrVPlotX/aHqW/qD8DFxpgau4MnjjEmyU8HcvcuJGNs/5SrNc07n+ eJFs67v2nPy1TyNTty3+SrVhep5hAbqa7v9uI7CojWGtc4PFhYtKlKFlshG2bvG5 1qzXblbZvAtHmZzNdi0aTUL2AwMmsrTINWBH6KnJpSwokpKZ3S734= Received: (qmail 97407 invoked by alias); 10 Feb 2020 14:09:19 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: <gcc-patches.gcc.gnu.org> List-Unsubscribe: <mailto:gcc-patches-unsubscribe-incoming=patchwork.ozlabs.org@gcc.gnu.org> List-Archive: <http://gcc.gnu.org/ml/gcc-patches/> List-Post: <mailto:gcc-patches@gcc.gnu.org> List-Help: <mailto:gcc-patches-help@gcc.gnu.org> Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 97392 invoked by uid 89); 10 Feb 2020 14:09:18 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-8.0 required=5.0 tests=AWL, BAYES_00, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: us-smtp-1.mimecast.com Received: from us-smtp-1.mimecast.com (HELO us-smtp-1.mimecast.com) (207.211.31.81) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 10 Feb 2020 14:09:17 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1581343756; h=from:from:reply-to:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:mime-version:mime-version: content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=wf+xgFBE6AuehKE6wRuSAAjgev0rgpO0jqqUhZOy68o=; b=QcO3JLunQfntwVB3ONoE9+wZypWLgtvau7QWIrqbrEuoZ+pgakku8fXd1a0SFtgYIvR9rv E/fTk/3C6oTju2yzujKLULA/qzyJUoI3RYW4xEX07hGYwy2T7YoMikCE7UWRUEn6l/uzeH bYv1fjOABxo5yZnS+Gf+pHXyfB4AF+8= Received: from mimecast-mx01.redhat.com (mimecast-mx01.redhat.com [209.132.183.4]) (Using TLS) by relay.mimecast.com with ESMTP id us-mta-5-45SkD4S3ON2gNJGMWGktJQ-1; Mon, 10 Feb 2020 09:09:13 -0500 Received: from smtp.corp.redhat.com (int-mx03.intmail.prod.int.phx2.redhat.com [10.5.11.13]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by mimecast-mx01.redhat.com (Postfix) with ESMTPS id CBD05800D4E for <gcc-patches@gcc.gnu.org>; Mon, 10 Feb 2020 14:09:12 +0000 (UTC) Received: from tucnak.zalov.cz (ovpn-116-51.ams2.redhat.com [10.36.116.51]) by smtp.corp.redhat.com (Postfix) with ESMTPS id 77B6F87B01 for <gcc-patches@gcc.gnu.org>; Mon, 10 Feb 2020 14:09:12 +0000 (UTC) Received: from tucnak.zalov.cz (localhost [127.0.0.1]) by tucnak.zalov.cz (8.15.2/8.15.2) with ESMTP id 01AE95t1004614 for <gcc-patches@gcc.gnu.org>; Mon, 10 Feb 2020 15:09:06 +0100 Received: (from jakub@localhost) by tucnak.zalov.cz (8.15.2/8.15.2/Submit) id 01AE95nR004613 for gcc-patches@gcc.gnu.org; Mon, 10 Feb 2020 15:09:05 +0100 Date: Mon, 10 Feb 2020 15:09:05 +0100 From: Jakub Jelinek <jakub@redhat.com> To: gcc-patches@gcc.gnu.org Subject: [committed] c++: Fix strncmp last argument in dump_decl_name [PR93641] Message-ID: <20200210140905.GO17695@tucnak> Reply-To: Jakub Jelinek <jakub@redhat.com> MIME-Version: 1.0 User-Agent: Mutt/1.11.3 (2019-02-01) X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-IsSubscribed: yes |
Series |
[committed] c++: Fix strncmp last argument in dump_decl_name [PR93641]
|
expand
|
--- gcc/cp/error.c.jj 2020-02-08 10:58:28.450865914 +0100 +++ gcc/cp/error.c 2020-02-10 09:39:48.207008572 +0100 @@ -1098,7 +1098,7 @@ dump_decl_name (cxx_pretty_printer *pp, } const char *str = IDENTIFIER_POINTER (t); - if (!strncmp (str, "_ZGR", 3)) + if (!strncmp (str, "_ZGR", 4)) { pp_cxx_ws_string (pp, "<temporary>"); return;