What we need is that the source code for the smaller number of optimizing compilers can be compiled by the many, many different inefficient C compilers.
We need to be sure that the binary of the optimizing compiler is not compromised by the compiler which compiled the optimizing compiler.
You could compile compilers. Including compiling various compilers written in C. At some point you compile the wanted optimizing compiler's source using various different compilers generated through various chains of compilation. Those binaries of the optimizing compiler may all differ, but the code generated by those multiple binary versions of the optimizing compiler should be identical.
Finally use the uncompromised optimizing compiler to compile itself. In fact, using the multiple binaries of the optimizing compiler to compile itself and be sure they all produced the same final binary.
Cross compilation doesn't hurt either. For example a Raspbery Pi compiles the optimizing compiler for x86-64. The binary of that compiler should still match the same compiler compiled from other C compilers.
Now we not only have to be paranoid about the binary of a compiler being compromised by another compiler, but by the Intel Management Engine. Compromise baked right into the hardware.
Every paranoid thing I thought ten years ago turned out to be true.
http://wiki.c2.com/?TheKenThompsonHack
http://vxer.org/lib/pdf/Reflections%20on%20Trusting%20Trust....
That seems like confirmation bias. But yeah, good idea about compiler integrity.
Is this even possible?
And wouldn't it be easier to just verify the binary manually?
Which is why I've been writing a mini-LLVM in haskell as a tutorial to explain optimising compiler construction: [Tiny optimising compiler](https://github.com/bollu/tiny-optimising-compiler)