-
Committer:
Daniel Scharrer
-
Date:
2022-01-12 20:35:52 UTC
-
Revision ID:
git-v1:c134113478ac30a030b9e62aafba59bd08ca380f
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