[Bug c++/49369] typeof() strips const from member when used in const method

jason at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Tue Jun 14 22:15:00 GMT 2011


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



More information about the Gcc-bugs mailing list