-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.5.1
-
Component/s: None
-
Labels:None
-
Fully Compatible
-
ALL
The code here:
https://github.com/mongodb/mongo/blob/241b64c7bffb9c8cadc9b1a01844833218b0c8f0/src/mongo/db/geo/shapes.cpp#L496-L505
uses volatile to work around a 32-bit gcc compiler bug. This change was originally added in SERVER-2940, but with the migration to GCC 5.4.0, this workaround needs to be evaluated if it it is still necessary, and can be removed.