This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/33208] Broken diagnostic: 'component_ref' not supported by dump_decl



------- Comment #6 from pinskia at gcc dot gnu dot org  2007-09-01 21:12 -------
Another testcase:
void f(bool *b)
{
  (*b)--;
}

And another one:
bool &g(void);

void f(bool *b)
{
  g()--;
}

So variable in the error message does not make sense at all.  We want to use
lvalue instead.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33208


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]