It's going to go through the g++ frontend, parsing and compiling it using C++ semantics. There's no guarantee that the C subset of C++ will yield the exact same result as that of an actual C compiler. And a decade or two ago, as TFA notes, it most definitely did not.
Hope that helps! Rusty.
TFA did not bench how long the original compilation (whether through C or through C++) took, that would have been pointless and irrelevant.