Disable strict-aliasing for GCC based builds

XMLWordPrintableJSON

    • ASeasonTooMany-2023-08-22
    • 1

      We found via WT-10740 that are under certain optimization levels the WT code can confuse the GCC, especially around the WT_CELL_UNPACK* structures with strict aliasing. Given the importance of the cell unpacking code and its robustness, the team has agreed the best solution is to disable strict aliasing with GCC as it has known issues (e.g. linux does the same, as does MongoDB).

              Assignee:
              Mick Graham
              Reporter:
              Mick Graham
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: