Message163378
| Author |
christian.heimes |
| Recipients |
Jon.Oberheide, alex, christian.heimes, fijall, georg.brandl, hynek, loewis, ncoghlan, petri.lehtinen, pitrou, python-dev, serhiy.storchaka |
| Date |
2012年06月21日.23:26:17 |
| SpamBayes Score |
-1.0 |
| Marked as misclassified |
Yes |
| Message-id |
<1340321178.97.0.93843340546.issue15061@psf.upfronthosting.co.za> |
| In-reply-to |
| Content |
The patch has another flaw. The compiler may choose to fold and optimize code in _tscmp(). I'm going to declare the length of the right side and both char* as volatile. That should stop any compiler.
I could also add some pragmas:
MSVC:
#pragma optimize("", off)
code
#pragma optimize("", on)
GCC 4.4+:
#pragma GCC push_options
#pragma GCC optimize ("O0")
code
#pragma GCC pop_options |
|
History
|
|---|
| Date |
User |
Action |
Args |
| 2012年06月21日 23:26:19 | christian.heimes | set | recipients:
+ christian.heimes, loewis, georg.brandl, ncoghlan, pitrou, alex, fijall, python-dev, petri.lehtinen, hynek, serhiy.storchaka, Jon.Oberheide |
| 2012年06月21日 23:26:18 | christian.heimes | set | messageid: <1340321178.97.0.93843340546.issue15061@psf.upfronthosting.co.za> |
| 2012年06月21日 23:26:18 | christian.heimes | link | issue15061 messages |
| 2012年06月21日 23:26:17 | christian.heimes | create |
|