Are you sure you aren't thinking of diverse double-compiling[0]? Which specifically does not require different compilers to produce the same output[1], just different runs of different binaries of the same compiler.
0: https://dwheeler.com/trusting-trust/dissertation/html/wheele...
When given the same input and expecting the same output, there remains only one thing: compile speed.
>There's no way that every compiler would produce the same exact insrtuctions for each respected input.
You don't know this.
When adding new features to a compiler, you might want to verify that the old and new versions have the same output given the same input. If your compilers produced non-deterministic output, this exercise would not be possible.
https://salsa.debian.org/reproducible-builds/reproducible-we...