[Bug c++/39813] improve __PRETTY_FUNCTION__ for templated methos

lundberj at gmail dot com gcc-bugzilla@gcc.gnu.org
Sat Aug 18 18:58:00 GMT 2012


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=39813

Johan Lundberg <lundberj at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |lundberj at gmail dot com

--- Comment #10 from Johan Lundberg <lundberj at gmail dot com> 2012-08-18 18:57:30 UTC ---
I confirm this issue with gcc 4.7.

> g++ outputs:
>   void A<T>::fn() [with T = int]
>   void B::fn() [with T = int]
> 
> I think that the latter should output:
>   void B::fn<T>() [with T = int]



More information about the Gcc-bugs mailing list