Why don't two binaries of programs with only comments changed exactly match in gcc?
问题 I created two C programs Program 1 int main() { } Program 2 int main() { //Some Harmless comments } AFAIK, when compiling, the compiler(gcc) should ignore the comments and redundant whitepaces, and hence the output must be similar. But when I checked the md5sums of the output binaries, they don't match. I also tried compiling with optimisation -O3 and -Ofast but they still didn't match. What is happening here? EDIT: the exact commands and there md5sums are(t1.c is program 1 and t2.c is