Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-27542

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

    • Type: Icon: Bug Bug
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 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.

            Assignee:
            backlog-server-platform DO NOT USE - Backlog - Platform Team
            Reporter:
            mark.benvenuto@mongodb.com Mark Benvenuto
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: