Author christian.heimes
Recipients alexandre.vassalotti, christian.heimes, donmez, gregory.p.smith, gvanrossum, loewis
Date 2008-01-20.13:56:09
SpamBayes Score 0.00730052
Marked as misclassified No
Message-id <47935293.7010306@cheimes.de>
In-reply-to <1200829020.44.0.674928379316.issue1621@psf.upfronthosting.co.za>
Content
Ismail Donmez wrote:
> Final patch should be complete. Used a trick in _sre.c, instead of i < 0
> , I used 
> i + i < i to trick gcc.
> 
> Added file: http://bugs.python.org/file9242/fix-overflows-final.patch

Does the C89 standard allow this code?

int q = 1;
int p = (unsigned)q;

I've never seen an unsigned cast without a type. Does the code compile
with gcc -std=C89?

Christian
History
Date User Action Args
2008-01-20 13:56:10christian.heimessetspambayes_score: 0.00730052 -> 0.00730052
recipients: + christian.heimes, gvanrossum, loewis, gregory.p.smith, alexandre.vassalotti, donmez
2008-01-20 13:56:09christian.heimeslinkissue1621 messages
2008-01-20 13:56:09christian.heimescreate