From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 4658 invoked by alias); 17 Aug 2015 21:35:26 -0000 Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org Received: (qmail 4603 invoked by uid 55); 17 Aug 2015 21:35:22 -0000 From: "jason at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/66919] [5 Regression] C++14 ICE during error reporting Date: Mon, 17 Aug 2015 21:35:00 -0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 5.2.1 X-Bugzilla-Keywords: ice-on-invalid-code X-Bugzilla-Severity: normal X-Bugzilla-Who: jason at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 5.3 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: 7bit X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-SW-Source: 2015-08/txt/msg01173.txt.bz2 https://gcc.gnu.org/bugzilla/show_bug.cgi?id=66919 --- Comment #1 from Jason Merrill --- Author: jason Date: Mon Aug 17 21:34:50 2015 New Revision: 226955 URL: https://gcc.gnu.org/viewcvs?rev=226955&root=gcc&view=rev Log: PR c++/66919 * pt.c (tsubst_copy): Pass complain to mark_used, check return value. Added: branches/gcc-5-branch/gcc/testsuite/g++.dg/cpp1y/auto-fn27.C Modified: branches/gcc-5-branch/gcc/cp/ChangeLog branches/gcc-5-branch/gcc/cp/pt.c