5 ms·
I've fixed this now in all the PHP branches. http://svn.php.net/viewvc/?view=revision&revision=307095 http://svn.php.net/viewvc/?view=revision&revision=307095
by scottmac 16y ago
I've fixed this now in all the PHP branches.
http://svn.php.net/viewvc/?view=revision&revision=307095 http://svn.php.net/viewvc/?view=revision&revision=307095
- roel_v 16y agoInteresting. I've never used 'volatile', would you mind explaining how it works in this case?
- scottmac 16y agoThe copying from the 80-bit register to the 64-bit memory cell is causing the result to be corrupted. When we use volatile it tells the compiler not to apply the optimisation which in this case was putting it in a register.
- roel_v 16y agoBut doesn't that make it a compiler bug? If the root cause is that the compiler truncates data it shouldn't, does that mean the fundamental issue is a compiler bug?