Author alexandre.vassalotti
Recipients alexandre.vassalotti, christian.heimes, gregory.p.smith, loewis
Date 2007-12-17.06:42:01
SpamBayes Score 0.00999896
Marked as misclassified No
Message-id <1197873723.13.0.500659276608.issue1621@psf.upfronthosting.co.za>
In-reply-to
Content
I compiled Python using gcc 4.3.0 with the -Wstrict-overflow, and that's
the only warning I got:  

Objects/doubledigits.c: In function ‘_PyFloat_Digits’:
Objects/doubledigits.c:313: error: assuming signed overflow does not
occur when assuming that (X + c) < X is always false

I am sure yet how to interpret it, though. It says that the overflow
check is in _PyFloat_Digits(), line 313 is in the function add_big(). It
probably means that add_big() gets inlined. I tried to set
-finline-limit=0, but strangely the overflow warning disappears...

I will try to investigate this further, when I will have a bit more time
in my hands.
History
Date User Action Args
2007-12-17 06:42:03alexandre.vassalottisetspambayes_score: 0.00999896 -> 0.00999896
recipients: + alexandre.vassalotti, loewis, gregory.p.smith, christian.heimes
2007-12-17 06:42:03alexandre.vassalottisetspambayes_score: 0.00999896 -> 0.00999896
messageid: <1197873723.13.0.500659276608.issue1621@psf.upfronthosting.co.za>
2007-12-17 06:42:02alexandre.vassalottilinkissue1621 messages
2007-12-17 06:42:01alexandre.vassalotticreate