This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: working around "QImode can alias everything" missed optimizations


Jamie Lokier <egcs@tantalophile.demon.co.uk> writes:

> Mike Stump wrote:
> > > Is it possible to use an anonymous struct containing a char?
> > 
> > No.
> 
> <raises eyebrow>
> 
> Why not?  I thought a `struct X { int_type y; }' would not type-alias
> anything except certain struct types related to X.

I tried it when the original question came up, but it seems to generate
a lot worse code (at least with egcs 1.1) than a simple char.

-Andi

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]