This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++ and aliasing bools
- From: Mark Mitchell <mark at codesourcery dot com>
- To: Dan Nicolaescu <dann at godzilla dot ICS dot UCI dot EDU>, Daniel Berlin <dan at dberlin dot org>
- Cc: "gcc at gcc dot gnu dot org" <gcc at gcc dot gnu dot org>
- Date: Thu, 24 Jan 2002 13:25:27 -0800
- Subject: Re: g++ and aliasing bools
- References: <200201231756.aa00607@gremlin-relay.ics.uci.edu>
> Can the AGGREGATE_TYPE_P check be relaxed for classes that don't have
> a base class?
Maybe, but it needs careful thought. "It makes sense" isn't good enough;
we need a proof that this is safe. Such a proof needs to take into
account that other classes may be derived (possibly indirectly or
virtually) from the simple class.
--
Mark Mitchell mark@codesourcery.com
CodeSourcery, LLC http://www.codesourcery.com