public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug c++/33463]  New: [4.1/4.2/4.3 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr
@ 2007-09-17 22:20 reichelt at gcc dot gnu dot org
  2007-09-17 22:21 ` [Bug c++/33463] " reichelt at gcc dot gnu dot org
                   ` (7 more replies)
  0 siblings, 8 replies; 9+ messages in thread
From: reichelt at gcc dot gnu dot org @ 2007-09-17 22:20 UTC (permalink / raw)
  To: gcc-bugs

The following invalid testcase triggers a broken diagnostic since GCC 3.4.0:

===================================
namespace std
{
  class type_info {};
}

template<int> void foo()
{
  !typeid(void);
}
===================================

bug.cc: In function 'void foo()':
bug.cc:8: error: no match for 'operator!' in '!#'typeid_expr' not supported by
dump_expr#<expression error>'
bug.cc:8: note: candidates are: operator!(bool) <built-in>


-- 
           Summary: [4.1/4.2/4.3 regression] Broken diagnostic:
                    'typeid_expr' not supported by dump_expr
           Product: gcc
           Version: 4.3.0
            Status: UNCONFIRMED
          Keywords: diagnostic, monitored
          Severity: normal
          Priority: P3
         Component: c++
        AssignedTo: unassigned at gcc dot gnu dot org
        ReportedBy: reichelt at gcc dot gnu dot org


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


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

end of thread, other threads:[~2008-07-04 16:14 UTC | newest]

Thread overview: 9+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2007-09-17 22:20 [Bug c++/33463] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr reichelt at gcc dot gnu dot org
2007-09-17 22:21 ` [Bug c++/33463] " reichelt at gcc dot gnu dot org
2007-09-18 14:45 ` pcarlini at suse dot de
2007-09-18 15:38 ` paolo at gcc dot gnu dot org
2007-09-18 15:40 ` [Bug c++/33463] [4.1/4.2 " pcarlini at suse dot de
2007-09-28  4:06 ` mmitchel at gcc dot gnu dot org
2008-01-02 23:54 ` reichelt at gcc dot gnu dot org
2008-01-02 23:57 ` [Bug c++/33463] [4.1 " reichelt at gcc dot gnu dot org
2008-07-04 16:14 ` jsm28 at gcc dot gnu dot org

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).