This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: Propagation of pointer alignment information
- To: richard dot earnshaw at arm dot com
- Subject: Re: Propagation of pointer alignment information
- From: Joern Rennecke <amylaar at cygnus dot co dot uk>
- Date: Tue, 15 Dec 1998 18:02:46 +0000 (GMT)
- Cc: egcs at egcs dot cygnus dot com, richard dot earnshaw at arm dot com
> Would it be reasonable to make the compiler not propagate alignment
> through a cast? This would still leave the case where the alignment is
> derived from the layout of a struct.
I don't think that should be the default. If this is really needed
for some programs, you could make a new invokation options that
disables these alignment propagations, just like -fvolatile caters
for programs that really mean volatile even they don't say so.