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: RFA: fix for 17961 (ppc vectors)


On Thu, Jun 09, 2005 at 08:02:24PM -0400, Aldy Hernandez wrote:
> in stor-layout.c), I see one use in finalize_type_size() which does
> not default to the max of COMPUTED and SPECIFIED:
> 
> 	  /* Do machine-dependent extra alignment.  */
> 	#ifdef ROUND_TYPE_ALIGN
> 	  TYPE_ALIGN (type)
> 	    = ROUND_TYPE_ALIGN (type, TYPE_ALIGN (type), BITS_PER_UNIT);
> 	#endif

Think, man, BITS_PER_UNIT is as small as it gets.

> Also, is there a reason why rs6000/linux64.h has its own definition of
> ROUND_TYPE_ALIGN that's exactly the same as sysv4.h's?  From what I can
> see, powerpc64-*-linux* includes sysv4.h, so the linux64.h version is
> redundant.

*shrug* Ask a ppc maintainer.


r~


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