This is the mail archive of the
gcc-cvs@gcc.gnu.org
mailing list for the GCC project.
r197982 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
- From: jason at gcc dot gnu dot org
- To: gcc-cvs at gcc dot gnu dot org
- Date: Mon, 15 Apr 2013 15:24:03 -0000
- Subject: r197982 - in /trunk/gcc: cp/ChangeLog cp/pt.c t...
Author: jason
Date: Mon Apr 15 15:24:03 2013
New Revision: 197982
URL: http://gcc.gnu.org/viewcvs?rev=197982&root=gcc&view=rev
Log:
PR c++/52748
* pt.c (tsubst) [DECLTYPE_TYPE]: If ~id is an expression
rather than a destructor name, it isn't an unqualified-name.
(tsubst_copy_and_build): Pass down decltype_flag to operator
handling code, too.
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/pt.c
trunk/gcc/testsuite/g++.dg/cpp0x/decltype-call3.C