FPU Bounds [Was: Re: openssh4.0 upgrade]

Simon 'corecode' Schubert corecode at fs.ei.tum.de
Wed Mar 23 09:37:28 PST 2005


On 23.03.2005, at 18:13, Joerg Sonnenberger wrote:
    In anycase, it looks like GCC just breaks when you use the 
internal
    va_arg with a 'char' type.  It is supposed to promote the 
argument
    to an int and then cast it to a char.  Instead it generates, 
well,
    what you see.
Actually this is a bug in the code using va_arg. There is even a 
warning
flag for GCC to catch implicit int promotions for variadic functions,
because the variadic function has to use int.
And the flag is on, the compiler does warn about this. One more reason 
to get
our kernel -Werror ready :)
maybe we should feed warnings of at least kernel compiles to a 
webpage/mailing list? i'm doing world builds twice a day anyways...

cheers
  simon
--
Serve - BSD     +++  RENT this banner advert  +++    ASCII Ribbon   /"\
Work - Mac      +++  space for low $$$ NOW!1  +++      Campaign     \ /
Party Enjoy Relax   |   http://dragonflybsd.org      Against  HTML   \
Dude 2c 2 the max   !   http://golden-apple.biz       Mail + News   / \
Attachment:
PGP.sig
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgp00011.pgp
Type: application/octet-stream
Size: 186 bytes
Desc: "Description: This is a digitally signed message part"
URL: <http://lists.dragonflybsd.org/pipermail/submit/attachments/20050323/d94aeb89/attachment-0019.obj>


More information about the Submit mailing list