From patchwork Thu May 4 18:39:09 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Nathan Sidwell X-Patchwork-Id: 758751 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 3wJkMb0HXnz9s7v for ; Fri, 5 May 2017 04:39:21 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.b="kqX25Dq5"; 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:to :from:subject:message-id:date:mime-version:content-type; q=dns; s=default; b=APUnT8Ws2fHyHWFGnnaFRvcG/C8qVrh6XSsaCKy1sm+X3nKy7e vtHN+bBp+OZ0dSUZzdLyGq4wDRv/4MYpj7By4aDUP9rSnuNqjE2sd9XnTFGdm3vy JQ7E5JzEalBNkeGxRLdj+14PF1XIXFwAiuSM/UxJj5oqImoNaRINhvZFM= 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:to :from:subject:message-id:date:mime-version:content-type; s= default; bh=8FfDum3v8ww/+fxX0I0TcUnd4vA=; b=kqX25Dq5NuDXMtHLRp2d S2Y7ajVD7/TsPkvMnOW4GZXMOIfU+MwfeXs7N9g6CYfD6fHjuX9ab3/x89eEDI+j TwK5FjePLP3gO75ybGoksilHUEnvpEU18+verkZP4hbC7PAzny1w1GLOICSVPqV6 c+KwyUoCU1U5oCheTIwO5Go= Received: (qmail 61530 invoked by alias); 4 May 2017 18:39:12 -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 61508 invoked by uid 89); 4 May 2017 18:39:11 -0000 Authentication-Results: sourceware.org; auth=none X-Virus-Found: No X-Spam-SWARE-Status: No, score=-11.4 required=5.0 tests=BAYES_00, FREEMAIL_FROM, GIT_PATCH_2, GIT_PATCH_3, RCVD_IN_DNSWL_NONE, RCVD_IN_SORBS_SPAM, SPF_PASS autolearn=ham version=3.3.2 spammy= X-HELO: mail-yw0-f171.google.com Received: from mail-yw0-f171.google.com (HELO mail-yw0-f171.google.com) (209.85.161.171) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Thu, 04 May 2017 18:39:10 +0000 Received: by mail-yw0-f171.google.com with SMTP id l18so11054028ywh.3 for ; Thu, 04 May 2017 11:39:12 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:to:from:subject:message-id:date :user-agent:mime-version:content-language; bh=Ni4VhUibb0fzjlOtixpyUc4nY+FWfvHcXxEscCtsfa8=; b=QvqDsqw7NjhTcqafXzb9XOm5agbQpWZzoAbBuKAkqWkDOar+Jnurbt6s1q1oUHjy1t p9yBob6CYePMuPOGsqX17OTs1SVDXLkf0IJopTMDt1h0pna648gqMIw/05C4YjT9sP+H EXbhMQfo4A4A6QN3hR8s/aMhrWeFGQZrAm+WIm7I3xzl5FdqIkzoyNt4yWb7jnJW4N6K 1NMCrTNiwlsKniS7O0Hly9L4YXPu0RE8kIGURGn9dskcfudZqWnj0XiLR1Kl83wWl40v vJ2VZkIHhKBras7bPfblUmeg0GGueG8gYo4pipt70E1U8sxIIkyg9N4GFfJXuT+BF5XC RnWQ== X-Gm-Message-State: AN3rC/74sgDHqFcroa78g3QU1sGkqJhd8yPZjHdFWifbZKX/uIMDp84U Bx5+h/ppeItILQ== X-Received: by 10.13.251.4 with SMTP id l4mr34585569ywf.329.1493923150954; Thu, 04 May 2017 11:39:10 -0700 (PDT) Received: from ?IPv6:2620:10d:c0a3:20fb:f6d0:5ac5:64cd:f102? ([2620:10d:c091:200::2:16e0]) by smtp.googlemail.com with ESMTPSA id p124sm1529766ywp.49.2017.05.04.11.39.10 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 04 May 2017 11:39:10 -0700 (PDT) To: GCC Patches From: Nathan Sidwell Subject: [C++ PATCH] fix constrait diag Message-ID: <3295fbe7-5c2e-a518-83f5-475bcb70d31c@acm.org> Date: Thu, 4 May 2017 14:39:09 -0400 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.0 MIME-Version: 1.0 Changing '%qE %S' to '%' is missing a % and ICES constraints/req4. Fixed thusly. 2017-05-04 Nathan Sidwell * constraint.cc (diagnose_check_constraint): Fix %E thinko. Index: constraint.cc =================================================================== --- constraint.cc (revision 247613) +++ constraint.cc (working copy) @@ -2859,7 +2859,7 @@ diagnose_check_constraint (location_t lo { if (elide_constraint_failure_p ()) return; - inform (loc, "in the expansion of concept %", check, sub); + inform (loc, "in the expansion of concept %<%E %S%>", check, sub); cur = get_concept_definition (decl); tsubst_expr (cur, targs, tf_warning_or_error, NULL_TREE, false); return;