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: Hitachi SH: no-cache-align option


On Tue, Aug 13, 2002 at 10:04:31AM +0900, Honda Hiroki wrote:
> Oh, really?  I think -falign-functions=N can only increase alignments.

Nope.  That's how -Os turns off all padding.

The fact that the SH definition of FUNCTION_BOUNDARY includes
CACHE_LOG is actually a bug.  FUNCTION_BOUNDARY is an ABI promise
that function pointers are aligned to a particular value.

The sh port should be using CACHE_LOG to set the default value
for align_functions in OVERRIDE_OPTIONS.


r~


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