Message 213760 - Python tracker
Message213760
| Author | gdr@garethrees.org |
|---|---|
| Recipients | Jeffrey.Walton, gdr@garethrees.org, vstinner |
| Date | 2014-03-16.21:22:04 |
| SpamBayes Score | -1.0 |
| Marked as misclassified | Yes |
| Message-id | <1395004924.83.0.669965701773.issue20941@psf.upfronthosting.co.za> |
| In-reply-to |
| Content | |
|---|---|
> How did you get this warning? This looks like runtime output from a program built using Clang/LLVM with -fsanitize=undefined. See here: http://clang.llvm.org/docs/UsersManual.html#controlling-code-generation Signed integer overflow is undefined behaviour, so by the time *sec = (time_t)intpart has been evaluated, the undefined behaviour has already happened. It is too late to check for it afterwards. |
|
| History | |||
|---|---|---|---|
| Date | User | Action | Args |
| 2014-03-16 21:22:04 | gdr@garethrees.org | set | recipients: + gdr@garethrees.org, vstinner, Jeffrey.Walton |
| 2014-03-16 21:22:04 | gdr@garethrees.org | set | messageid: <1395004924.83.0.669965701773.issue20941@psf.upfronthosting.co.za> |
| 2014-03-16 21:22:04 | gdr@garethrees.org | link | issue20941 messages |
| 2014-03-16 21:22:04 | gdr@garethrees.org | create | |