Message250182
Yes, according to C99 the shift is undefined:
6.5.7:
"If the value of the right operand is negative or is greater than
or equal to the width of the promoted left operand, the behavior
is undefined." |
|
Date |
User |
Action |
Args |
2015-09-08 11:23:55 | skrah | set | recipients:
+ skrah, tim.peters, paul.moore, pitrou, vstinner, tim.golden, r.david.murray, zach.ware, serhiy.storchaka, steve.dower |
2015-09-08 11:23:55 | skrah | set | messageid: <1441711435.43.0.50508803541.issue24999@psf.upfronthosting.co.za> |
2015-09-08 11:23:55 | skrah | link | issue24999 messages |
2015-09-08 11:23:55 | skrah | create | |
|