This issue tracker has been migrated to GitHub, and is currently read-only.
For more information, see the GitHub FAQs in the Python's Developer Guide.

Author pitrou
Recipients paul.moore, pitrou, r.david.murray, serhiy.storchaka, skrah, steve.dower, tim.golden, tim.peters, vstinner, zach.ware
Date 2015-09-07.21:06:35
SpamBayes Score -1.0
Marked as misclassified Yes
Message-id <1441659995.48.0.725812533571.issue24999@psf.upfronthosting.co.za>
In-reply-to
Content
I *think* shifting by an amount larger than the operand's width is undefined behaviour (at least LLVM clearly seems to think so, since it gives different results on x86 and ARM), so the compiler is probably allowed to do what it wants (even return 42).
History
Date User Action Args
2015-09-07 21:06:35pitrousetrecipients: + pitrou, tim.peters, paul.moore, vstinner, tim.golden, r.david.murray, skrah, zach.ware, serhiy.storchaka, steve.dower
2015-09-07 21:06:35pitrousetmessageid: <1441659995.48.0.725812533571.issue24999@psf.upfronthosting.co.za>
2015-09-07 21:06:35pitroulinkissue24999 messages
2015-09-07 21:06:35pitroucreate