[Bug c++/37006] explicitly deleted inline function gives warning "used but never defined"
jason at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Mon Aug 4 18:41:00 GMT 2008
------- Comment #3 from jason at gcc dot gnu dot org 2008-08-04 18:40 -------
Subject: Bug 37006
Author: jason
Date: Mon Aug 4 18:39:16 2008
New Revision: 138648
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=138648
Log:
PR c++/37006
* pt.c (tsubst_decl): Leave DECL_INITIAL set on deleted
instantiations.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/defaulted3.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37006
More information about the Gcc-bugs
mailing list