From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 7381 invoked by alias); 28 Nov 2007 21:48:26 -0000 Received: (qmail 7330 invoked by uid 48); 28 Nov 2007 21:48:15 -0000 Date: Wed, 28 Nov 2007 21:48:00 -0000 Subject: [Bug c++/34275] New: [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' 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-11/txt/msg02863.txt.bz2 A broken diagnostic is issued since GCC 4.0.0 for the following code snippet: =============================================================== struct A { virtual A foo(); }; void bar(A& a) { a.foo()=0; } =============================================================== bug.cc: In function 'void bar(A&)': bug.cc:8: error: no match for 'operator=' in '#'obj_type_ref' not supported by dump_expr#() = 0' bug.cc:2: note: candidates are: A& A::operator=(const A&) -- Summary: [4.1/4.2/4.3 regression] Broken diagnostic: 'obj_type_ref' 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=34275