This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: g++ and aliasing bools
- From: Daniel Berlin <dan at dberlin dot org>
- To: Paolo Carlini <pcarlini at unitus dot it>
- Cc: Joe Buck <jbuck at synopsys dot COM>, <gcc at gcc dot gnu dot org>
- Date: Fri, 25 Jan 2002 17:21:05 -0500 (EST)
- Subject: Re: g++ and aliasing bools
On Fri, 25 Jan 2002, Paolo Carlini wrote:
> Joe Buck wrote:
>
> > cxx_get_alias_set ()
> > {
> > if (AGGREGATE_TYPE && HAS_BASECLASSES && HAS_VIRTUALS)
> > return 0;
> > return c_get_alias_set();
> > }
>
> Should'nt this be in pseudocode, even more safely:
>
> {
> if (AGGREGATE_TYPE && (HAS_BASECLASSES || HAS_VIRTUALS))
> return 0;
> return c_get_alias_set();
> }
>
> ???
Yes, it should.
>
> Otherwise, I'm all with your way of approaching the issue!!!
>
> Cheers,
> Paolo.
>
>