This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/24052] New: &#`label_decl' not supported by dump_expr#<expression error>
- From: "guillaume dot melquiond at ens-lyon dot fr" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 25 Sep 2005 08:48:16 -0000
- Subject: [Bug c++/24052] New: &#`label_decl' not supported by dump_expr#<expression error>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
I do not think labels as values are widely used with C++ operators; I stumbled
over it only because of a typo (double &&). But in case of error, it will
produce a garbled message (tested from 3.3 to 4.1). For example,
a.cpp:3:no match for 'operator&&' in 'A() && &#'label_decl' not supported by
dump_expr#<expression error>'
Testcase:
struct A {};
bool operator&&(A const &, A const &);
int main() { A() && && b; }
--
Summary: &#`label_decl' not supported by dump_expr#<expression
error>
Product: gcc
Version: 4.1.0
Status: UNCONFIRMED
Severity: minor
Priority: P2
Component: c++
AssignedTo: unassigned at gcc dot gnu dot org
ReportedBy: guillaume dot melquiond at ens-lyon dot fr
CC: gcc-bugs at gcc dot gnu dot org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=24052