From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 11318 invoked by alias); 25 Mar 2019 12:39:01 -0000 Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org Received: (qmail 11302 invoked by uid 89); 25 Mar 2019 12:39:01 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-16.4 required=5.0 tests=AWL,BAYES_00,FREEMAIL_FROM,GIT_PATCH_0,GIT_PATCH_1,GIT_PATCH_2,GIT_PATCH_3,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_PASS autolearn=ham version=3.3.1 spammy= X-HELO: mail-qt1-f193.google.com Received: from mail-qt1-f193.google.com (HELO mail-qt1-f193.google.com) (209.85.160.193) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Mon, 25 Mar 2019 12:38:59 +0000 Received: by mail-qt1-f193.google.com with SMTP id d13so5292557qth.5 for ; Mon, 25 Mar 2019 05:38:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:subject:date:message-id; bh=5YbFHkOBymMbphFpMKpFM35LOHu0+r6TKWpICZErhCk=; b=FUASajZ8yQjTA2ii0GOU3I77C+nMQvfSo/NoufRJBj+qji+Pd7r3P/RvE+wq9xgOAK EcYfzcTkVqNMWvqDAP0RKQ1+cUpfvNFIPRuKwdbaNOCLIuIGzHHettZN0jgOS50WZCuG GjwAbUCR6BVbNTYOQ47os+x8eRfJtdV51OYz+NqYpeu3pkNwVXdDxtvCFyEBXYQ5yyMA f0Nx8+JxEhjEs9mAizuqEIFR8YugBeXSoYrfkdoYB6r09EOUioZhSKolWe+TO5ObO/gc bo4HSYWkh81kR2Uu98OugZru7gC3TqEDd4NwUNpbVEA0gjSXWYso45Bi5uvf02Xr1VMb oTBg== Return-Path: Received: from nick-System-Product-Name.hitronhub.home (173-230-163-230.cable.teksavvy.com. [173.230.163.230]) by smtp.googlemail.com with ESMTPSA id o136sm7759741qke.48.2019.03.25.05.38.56 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 25 Mar 2019 05:38:57 -0700 (PDT) From: Nicholas Krause To: gcc@gcc.gnu.org Subject: [PATCH] Proposed patch to fix bug id, 89796 on bugzilla Date: Mon, 25 Mar 2019 12:39:00 -0000 Message-Id: <20190325123852.2331-1-xerofoify@gmail.com> X-IsSubscribed: yes X-SW-Source: 2019-03/txt/msg00192.txt.bz2 Not sure if this is a correct fix to this bug found here: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=89796 but comments are welcome. If a backtrace is required please let me know. I am just sending it to the development list for review to make sure it's OK in terms of my understanding the code. Signed-off-by: Nicholas Krause --- gcc/cp/constraint.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gcc/cp/constraint.cc b/gcc/cp/constraint.cc index 9884eb0db50..a78d0a9a49b 100644 --- a/gcc/cp/constraint.cc +++ b/gcc/cp/constraint.cc @@ -1882,7 +1882,7 @@ tsubst_requires_expr (tree t, tree args, tree parms = TREE_OPERAND (t, 0); if (parms) { - parms = tsubst_constraint_variables (parms, args, complain, in_decl); + parms = tsubst_constraint_variables (PARM_CONSTR_PARMS (parms), args, complain, in_decl); if (parms == error_mark_node) return error_mark_node; } -- 2.17.1