public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/11685] New: typeinfo is not demangled in error messages
@ 2003-07-27 17:10 pinskia at physics dot uc dot edu
  2003-07-28  3:45 ` [Bug c++/11685] " pinskia at physics dot uc dot edu
  2003-07-30 15:22 ` ehrhardt at mathematik dot uni-ulm dot de
  0 siblings, 2 replies; 3+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-27 17:10 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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

           Summary: typeinfo is not demangled in error messages
           Product: gcc
           Version: 3.4
            Status: UNCONFIRMED
          Keywords: diagnostic
          Severity: normal
          Priority: P2
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: pinskia at physics dot uc dot edu
                CC: gcc-bugs at gcc dot gnu dot org,gdr at gcc dot gnu dot
                    org

Code:
#include <typeinfo>
int get_uuidof( const std::type_info& inf );

template< class T ,int i = get_uuidof( typeid(T) ) >
struct TBoaz{
} ;

template TBoaz<int>;

Gives the following error: 

prnew10.cc:8: error: non-constant `get_uuidof(const std::type_info&)((&_ZTIi))' 
   cannot be used as template argument

Notice _ZTIi is not demangled to typeid(int).


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/11685] typeinfo is not demangled in error messages
  2003-07-27 17:10 [Bug c++/11685] New: typeinfo is not demangled in error messages pinskia at physics dot uc dot edu
@ 2003-07-28  3:45 ` pinskia at physics dot uc dot edu
  2003-07-30 15:22 ` ehrhardt at mathematik dot uni-ulm dot de
  1 sibling, 0 replies; 3+ messages in thread
From: pinskia at physics dot uc dot edu @ 2003-07-28  3:45 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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



------- Additional Comments From pinskia at physics dot uc dot edu  2003-07-28 03:45 -------
Note before 3.4, this just to seg fault.


^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug c++/11685] typeinfo is not demangled in error messages
  2003-07-27 17:10 [Bug c++/11685] New: typeinfo is not demangled in error messages pinskia at physics dot uc dot edu
  2003-07-28  3:45 ` [Bug c++/11685] " pinskia at physics dot uc dot edu
@ 2003-07-30 15:22 ` ehrhardt at mathematik dot uni-ulm dot de
  1 sibling, 0 replies; 3+ messages in thread
From: ehrhardt at mathematik dot uni-ulm dot de @ 2003-07-30 15:22 UTC (permalink / raw)
  To: gcc-bugs

PLEASE REPLY TO gcc-bugzilla@gcc.gnu.org ONLY, *NOT* gcc-bugs@gcc.gnu.org.

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


ehrhardt at mathematik dot uni-ulm dot de changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|                            |1
   Last reconfirmed|0000-00-00 00:00:00         |2003-07-30 15:22:57
               date|                            |


------- Additional Comments From ehrhardt at mathematik dot uni-ulm dot de  2003-07-30 15:22 -------
Confirmed on 3.4. Earlier versions ICE.


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2003-07-30 15:22 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-07-27 17:10 [Bug c++/11685] New: typeinfo is not demangled in error messages pinskia at physics dot uc dot edu
2003-07-28  3:45 ` [Bug c++/11685] " pinskia at physics dot uc dot edu
2003-07-30 15:22 ` ehrhardt at mathematik dot uni-ulm dot de

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).