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: Sat, 11 Jun 2011 05:05:17 +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
Jason Merrill <jason at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |NEW
Last reconfirmed| |2011.06.11 05:05:12
Ever Confirmed|0 |1
--- Comment #4 from Jason Merrill <jason at gcc dot gnu.org> 2011-06-11 05:05:12 UTC ---
Yes, this is a bug. build_base_path is failing to preserve the cv-quals on
this when converting to a pointer to B.