Commit 06be4f56 by Paolo Carlini Committed by Paolo Carlini

re PR c++/34273 (Broken diagnostic: 'tree_binfo' not supported by dump_decl)

/cp
2007-12-02  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34273
        * error.c (dump_decl): Handle TREE_BINFO.

/testsuite
2007-12-02  Paolo Carlini  <pcarlini@suse.de>

        PR c++/34273
        * g++.dg/other/error21.C: New.

From-SVN: r130570
parent 19cfe6c0
2007-12-02 Paolo Carlini <pcarlini@suse.de>
PR c++/34273
* error.c (dump_decl): Handle TREE_BINFO.
2007-12-01 Ollie Wild <aaw@google.com> 2007-12-01 Ollie Wild <aaw@google.com>
PR c++/8171 PR c++/8171
......
...@@ -956,6 +956,7 @@ dump_decl (tree t, int flags) ...@@ -956,6 +956,7 @@ dump_decl (tree t, int flags)
case UNBOUND_CLASS_TEMPLATE: case UNBOUND_CLASS_TEMPLATE:
case TYPE_PACK_EXPANSION: case TYPE_PACK_EXPANSION:
case TREE_BINFO:
dump_type (t, flags); dump_type (t, flags);
break; break;
......
2007-12-02 Paolo Carlini <pcarlini@suse.de>
PR c++/34273
* g++.dg/other/error21.C: New.
2007-12-02 Revital Eres <eres@il.ibm.com> 2007-12-02 Revital Eres <eres@il.ibm.com>
* gcc.dg/sms-4.c: New testcase. * gcc.dg/sms-4.c: New testcase.
// PR c++/34273
struct A {};
struct B : A
{
B() : A()... {} // { dg-error "cannot expand" }
};
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment