g++ and aliasing bools
Daniel Berlin
dan@dberlin.org
Fri Jan 25 15:23:00 GMT 2002
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.
>
>
More information about the Gcc
mailing list