Investigate the need for volatile in src/mongo/db/geo/shapes.cpp in 32-bit code

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Won't Fix
    • Priority: Major - P3
    • None
    • Affects Version/s: 3.5.1
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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.

            Assignee:
            DO NOT USE - Backlog - Platform Team
            Reporter:
            Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: