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 22:14:52 +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 #6 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-14 22:13:32 UTC ---
Author: jason
Date: Tue Jun 14 22:13:29 2011
New Revision: 175059
URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=175059
Log:
PR c++/49369
* class.c (build_base_path): Fix cv-quals in unevaluated context.
Added:
branches/gcc-4_6-branch/gcc/testsuite/g++.dg/cpp0x/decltype30.C
Modified:
branches/gcc-4_6-branch/gcc/cp/ChangeLog
branches/gcc-4_6-branch/gcc/cp/class.c
branches/gcc-4_6-branch/gcc/testsuite/ChangeLog