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]

Re: -mpreferred-stack-boundary may overflow


On Oct 23, 2001, "Joseph S. Myers" <jsm28@cam.ac.uk> wrote:

> On 23 Oct 2001, Alexandre Oliva wrote:
>> multiplied by BITS_PER_UNIT.  Besides, it assumes `int' (the type used
>> to hold the computed alignment) is 32-bits wide, but int is not
>> guaranteed to be wider than 16 bits.  I don't see much point in

> GNU Coding Standards:

> 	However, don't make any effort to cater to the possibility that an
> 	`int' will be less than 32 bits.  We don't support 16-bit machines in
> 	GNU.

Indeed.  But we may overflow on 32-bit machines too, so this doesn't
render the patch useless.

-- 
Alexandre Oliva   Enjoy Guarana', see http://www.ic.unicamp.br/~oliva/
Red Hat GCC Developer                  aoliva@{cygnus.com, redhat.com}
CS PhD student at IC-Unicamp        oliva@{lsd.ic.unicamp.br, gnu.org}
Free Software Evangelist    *Please* write to mailing lists, not to me


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