For more, including information about the "Diverse Double-Compiling" (DDC) countermeasure, see my page:
https://dwheeler.com/trusting-trust/
In particular, it could be one you wrote yourself. It doesn't need to support everything, just enough to compile the compiler under test.
It could also be a compiler from a different group/organization.
You could use many compilers and test with all them.