And since it's a Mac, it is probably llvm-gcc (GCC with an LLVM backend).
A colleague/friend who is developing neural network software recently switched from gcc 4.2.1 to 4.5 (which is still old) and got a 50% speed increase without touching any code.