Limited support for inheritance in gengtype now in trunk (was Re: [PATCH] make gengtype more robust against user error)

2013-10-28 Thread David Malcolm
On Mon, 2013-10-28 at 15:19 -0600, Jeff Law wrote: > On 10/25/13 15:37, David Malcolm wrote: > > This patch addresses various forms of failure described in > > http://gcc.gnu.org/ml/gcc-patches/2013-10/msg01974.html > > > [...] > Thanks for diving into this stuff and getting it fixed. > > OK for t

Re: [PATCH] make gengtype more robust against user error

2013-10-28 Thread Jeff Law
On 10/25/13 15:37, David Malcolm wrote: This patch addresses various forms of failure described in http://gcc.gnu.org/ml/gcc-patches/2013-10/msg01974.html It adds a "default: gcc_unreachable();" to the autogenerated switch() statement in the routines for a base class, converting various kinds of

Re: [PATCH] make gengtype more robust against user error

2013-10-25 Thread Basile Starynkevitch
On Fri, 2013-10-25 at 17:37 -0400, David Malcolm wrote: > This patch addresses various forms of failure described in > http://gcc.gnu.org/ml/gcc-patches/2013-10/msg01974.html > > It adds a "default: gcc_unreachable();" to the autogenerated switch() > statement in the routines for a base class, con

[PATCH] make gengtype more robust against user error

2013-10-25 Thread David Malcolm
This patch addresses various forms of failure described in http://gcc.gnu.org/ml/gcc-patches/2013-10/msg01974.html It adds a "default: gcc_unreachable();" to the autogenerated switch() statement in the routines for a base class, converting various kinds of tag errors from leading to silent lack-of