------- Comment #12 from reichelt at gcc dot gnu dot org 2007-06-17 23:40 ------- Andrew, Gaby's testcase from comment #4 gets an even worse diagnostic since the merge of the ptr_plus stuff:
========================================= struct A { void foo(); }; struct B : virtual A { void bar() { if (foo()) ; } }; ========================================= bug.cc: In member function 'void B::bar()': bug.cc:8: error: could not convert '#'pointer_plus_expr' not supported by dump_expr#<expression error>->A::foo()' to 'bool' Would you mind having a look? -- reichelt at gcc dot gnu dot org changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |pinskia at gcc dot gnu dot | |org http://gcc.gnu.org/bugzilla/show_bug.cgi?id=22238