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: Propagation of pointer alignment information


> 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.


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