Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
CMake: Don't use __builtin_unreachable() with GCC 9.0-9.4 and 10.0-10.3
These compilers are known to miscompile the save loading code due to a bug in the variable range information gained from these hints. This bug was fixed in GCC 11 and has now been backported to the 9 and 10 branches. See: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97953 Fixes: issue #1600 (cherry picked from commit c134113)
- Loading branch information