From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 20292 invoked by alias); 17 Sep 2007 22:20:54 -0000 Received: (qmail 20232 invoked by uid 48); 17 Sep 2007 22:20:44 -0000 Date: Mon, 17 Sep 2007 22:20:00 -0000 Subject: [Bug c++/33463] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'typeid_expr' not supported by dump_expr X-Bugzilla-Reason: CC Message-ID: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "reichelt at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2007-09/txt/msg01399.txt.bz2 The following invalid testcase triggers a broken diagnostic since GCC 3.4.0: =================================== namespace std { class type_info {}; } template 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#' bug.cc:8: note: candidates are: operator!(bool) -- 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