This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33208] New: Broken diagnostic: 'component_ref' not supported by dump_decl
- From: "reichelt at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 27 Aug 2007 21:34:15 -0000
- Subject: [Bug c++/33208] New: Broken diagnostic: 'component_ref' not supported by dump_decl
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
The following invalid code snippet triggers a broken diagnostic since
at least GCC 2.95.3:
====================
struct A
{
bool b;
};
void f(A a)
{
a.b--;
}
====================
bug.cc: In function 'void f(A)':
bug.cc:8: error: invalid use of '--' on bool variable '#'component_ref' not
supported by dump_decl#<declaration error>'
--
Summary: Broken diagnostic: 'component_ref' not supported by
dump_decl
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=33208