Background

The reason for this is that Apple doesn’t bundle gcc for newer versions of Xcode, but instead bundles llvm-gcc.
llvm-gcc is mostly compatible with gcc, but not completely [unverified source: doesn’t compile gcc itself].