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
* [Bug c++/33463] [4.1/4.2/4.3 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr 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 ` reichelt at gcc dot gnu dot org 2007-09-18 14:45 ` pcarlini at suse dot de ` (6 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: reichelt at gcc dot gnu dot org @ 2007-09-17 22:21 UTC (permalink / raw) To: gcc-bugs -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Target Milestone|--- |4.1.3 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33463 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/33463] [4.1/4.2/4.3 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr 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 ` (5 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pcarlini at suse dot de @ 2007-09-18 14:45 UTC (permalink / raw) To: gcc-bugs -- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|unassigned at gcc dot gnu |pcarlini at suse dot de |dot org | Status|UNCONFIRMED |ASSIGNED Ever Confirmed|0 |1 Last reconfirmed|0000-00-00 00:00:00 |2007-09-18 14:44:59 date| | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33463 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/33463] [4.1/4.2/4.3 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr 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 ` (4 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: paolo at gcc dot gnu dot org @ 2007-09-18 15:38 UTC (permalink / raw) To: gcc-bugs ------- Comment #1 from paolo at gcc dot gnu dot org 2007-09-18 15:38 ------- Subject: Bug 33463 Author: paolo Date: Tue Sep 18 15:38:02 2007 New Revision: 128582 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=128582 Log: /cp 2007-09-18 Paolo Carlini <pcarlini@suse.de> PR c++/33463 * cxx-pretty-print.c (pp_cxx_postfix_expression): Split out case TYPEID_EXPR to... (pp_cxx_typeid_expression): ... here; use pp_cxx_left_paren and pp_cxx_right_paren. * cxx-pretty-print.h (pp_cxx_typeid_expression): Declare. * error.c (dump_expr): Use it. /testsuite 2007-09-18 Paolo Carlini <pcarlini@suse.de> PR c++/33463 * g++.dg/rtti/typeid6.C: New. Added: trunk/gcc/testsuite/g++.dg/rtti/typeid6.C Modified: trunk/gcc/cp/ChangeLog trunk/gcc/cp/cxx-pretty-print.c trunk/gcc/cp/cxx-pretty-print.h trunk/gcc/cp/error.c trunk/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33463 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/33463] [4.1/4.2 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr 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 ` (2 preceding siblings ...) 2007-09-18 15:38 ` paolo at gcc dot gnu dot org @ 2007-09-18 15:40 ` pcarlini at suse dot de 2007-09-28 4:06 ` mmitchel at gcc dot gnu dot org ` (3 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: pcarlini at suse dot de @ 2007-09-18 15:40 UTC (permalink / raw) To: gcc-bugs ------- Comment #2 from pcarlini at suse dot de 2007-09-18 15:40 ------- Fixed in mainline. -- pcarlini at suse dot de changed: What |Removed |Added ---------------------------------------------------------------------------- AssignedTo|pcarlini at suse dot de |unassigned at gcc dot gnu | |dot org Status|ASSIGNED |NEW Summary|[4.1/4.2/4.3 regression] |[4.1/4.2 regression] Broken |Broken diagnostic: |diagnostic: 'typeid_expr' |'typeid_expr' not supported |not supported by dump_expr |by dump_expr | http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33463 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/33463] [4.1/4.2 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr 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 ` (3 preceding siblings ...) 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 ` (2 subsequent siblings) 7 siblings, 0 replies; 9+ messages in thread From: mmitchel at gcc dot gnu dot org @ 2007-09-28 4:06 UTC (permalink / raw) To: gcc-bugs -- mmitchel at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Priority|P3 |P4 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33463 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/33463] [4.1/4.2 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr 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 ` (4 preceding siblings ...) 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 7 siblings, 0 replies; 9+ messages in thread From: reichelt at gcc dot gnu dot org @ 2008-01-02 23:54 UTC (permalink / raw) To: gcc-bugs ------- Comment #3 from reichelt at gcc dot gnu dot org 2008-01-02 23:41 ------- Subject: Bug 33463 Author: reichelt Date: Wed Jan 2 23:40:41 2008 New Revision: 131265 URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=131265 Log: Backport: 2007-09-18 Paolo Carlini <pcarlini@suse.de> PR c++/33463 * cxx-pretty-print.c (pp_cxx_postfix_expression): Split out case TYPEID_EXPR to... (pp_cxx_typeid_expression): ... here; use pp_cxx_left_paren and pp_cxx_right_paren. * cxx-pretty-print.h (pp_cxx_typeid_expression): Declare. * error.c (dump_expr): Use it. * g++.dg/rtti/typeid6.C: New. Added: branches/gcc-4_2-branch/gcc/testsuite/g++.dg/rtti/typeid6.C Modified: branches/gcc-4_2-branch/gcc/cp/ChangeLog branches/gcc-4_2-branch/gcc/cp/cxx-pretty-print.c branches/gcc-4_2-branch/gcc/cp/cxx-pretty-print.h branches/gcc-4_2-branch/gcc/cp/error.c branches/gcc-4_2-branch/gcc/testsuite/ChangeLog -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33463 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/33463] [4.1 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr 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 ` (5 preceding siblings ...) 2008-01-02 23:54 ` reichelt at gcc dot gnu dot org @ 2008-01-02 23:57 ` reichelt at gcc dot gnu dot org 2008-07-04 16:14 ` jsm28 at gcc dot gnu dot org 7 siblings, 0 replies; 9+ messages in thread From: reichelt at gcc dot gnu dot org @ 2008-01-02 23:57 UTC (permalink / raw) To: gcc-bugs ------- Comment #4 from reichelt at gcc dot gnu dot org 2008-01-02 23:54 ------- Now also fixed in GCC 4.2.3. -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Summary|[4.1/4.2 regression] Broken |[4.1 regression] Broken |diagnostic: 'typeid_expr' |diagnostic: 'typeid_expr' |not supported by dump_expr |not supported by dump_expr http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33463 ^ permalink raw reply [flat|nested] 9+ messages in thread
* [Bug c++/33463] [4.1 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr 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 ` (6 preceding siblings ...) 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 7 siblings, 0 replies; 9+ messages in thread From: jsm28 at gcc dot gnu dot org @ 2008-07-04 16:14 UTC (permalink / raw) To: gcc-bugs ------- Comment #5 from jsm28 at gcc dot gnu dot org 2008-07-04 16:13 ------- Closing 4.1 branch. -- jsm28 at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- Status|NEW |RESOLVED Known to fail| |4.1.3 Known to work| |4.2.3 Resolution| |FIXED Target Milestone|4.1.3 |4.2.3 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).