This is the mail archive of the gcc-patches@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]
Other format: [Raw text]

Re: [PATCH] Fix rs6000/38731 local strings on the stack not aligned


On Wed, Jun 24, 2009 at 10:47:31AM -0400, David Edelsohn wrote:
> Should the alignment of strings in DATA_ALIGNMENT and LOCAL_ALIGNMENT
> be predicated by optimize_size?

For DATA_ALIGNMENT, probably.  For LOCAL_ALIGNMENT, probably not; I'd
guess this has either no effect on code size, or a small improvement
from being able to assume alignment.  I don't think -Os should cover
stack usage.

-- 
Daniel Jacobowitz
CodeSourcery


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