------- Comment #2 from pinskia at gcc dot gnu dot org  2007-01-14 04:46 -------
Since in this case we have:
struct a1
struct a2
both of which have virtualfunction with no exception-specification

and then we have
struct b : a1
struct c: a2
which have virtutalfunction with an exception-specification

and now we have:
struct d : b, c
which have a virutualfunction with a differnet exception-specification from b
or c



I think this case is invalid because the base class of D has a different
exception-specification for get_obj_type


>I have no error when D only inherits from either B or C.

I do with both 4.0.4 and the trunk so that would be a bug in the compiler you
are using I think.


-- 

pinskia at gcc dot gnu dot org changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |RESOLVED
         Resolution|                            |INVALID


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

Reply via email to