The old code was added in rBbaa4a9c7d4dd: CMake/OSX: remove gcc arguments conflicts raising warnings when building in…
While the hotfix committed in rB336a675c6442485f45dc52de1770ad4 fixed
the id_management test, the correct reason was found at
https://bugs.llvm.org/show_bug.cgi?id=47984