This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/49369] typeof() strips const from member when used in const method
- From: "jason at gcc dot gnu.org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Tue, 14 Jun 2011 18:17:03 +0000
- Subject: [Bug c++/49369] typeof() strips const from member when used in const method
- Auto-submitted: auto-generated
- References: <bug-49369-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=49369
--- Comment #5 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-14 18:15:53 UTC ---
Author: jason
Date: Tue Jun 14 18:15:51 2011
New Revision: 175042
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175042
Log:
PR c++/49369
* class.c (build_base_path): Fix cv-quals in unevaluated context.
Added:
trunk/gcc/testsuite/g++.dg/cpp0x/decltype30.C
Modified:
trunk/gcc/cp/ChangeLog
trunk/gcc/cp/class.c
trunk/gcc/testsuite/ChangeLog