This is the mail archive of the
mailing list for the GCC project.
Re: Aliasing brokenness (Was: Re: [patch RFC] SH: Use FRAME_GROWS_DOWNWARD)
Mark Mitchell wrote:
Andreas Schwab wrote:
And can we assume that visibility does NOT mean in some other
Gabriel Dos Reis <firstname.lastname@example.org> writes:
Is the conclusion that a presence of "potentially unused" union that
contains two structures with the same prefix destroys non-aliasing
IMHO the third example in 126.96.36.199 gives a strong hint at that. AFAIU
second fragment becomes valid as soon as declaration of the union is
before function f.
I think it's hard to read 188.8.131.52 to say anything other than that the
mere visibilty implies that sturctures contained in the union with
common initial sequences may alias. I don't particularly like that
rule, but I think that's what it says.