http://gcc.gnu.org/bugzilla/show_bug.cgi?id=54442
Marc Glisse <glisse at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |glisse at gcc dot gnu.org
--- Comment #2 from Marc Glisse <glisse at gcc dot gnu.org> 2012-08-31 20:40:55
UTC ---
"using" and "extern"C"" are not guilty:
struct S
{
void s (int) const throw ();
void s (int) throw ();
};
typedef int index_t;
void (S::*f) (index_t) = &S::s;
void (S::*g) (index_t) const = &S::s;
The bogus pretty printing with attribute((const)) is PR 48665.