Home > Back-end >  Help! The same code, use the same compiler two consecutive results are completely different
Help! The same code, use the same compiler two consecutive results are completely different

Time:11-24

such as topic, chicken dishes for help, check for a long time, solved the part, and part of the solution

CodePudding user response:

Compiled output of the binary file is different, the company requirements must be consistent

CodePudding user response:

Compiler will automatically optimize and estimate the compiler can choose according to some algorithm optimization strategy, a load balancing algorithm, the optimization of the compile-time options parameter set to the same compiled a try,
Is personal inference

CodePudding user response:

In addition to see if the code have undefined behavior, for undefined behavior, code execution order may be different, also is to compile the generated instruction is different,

CodePudding user response:

Have a time stamp in the file, not may.

CodePudding user response:

And this kind of request, write programs and not doing a compiler

CodePudding user response:

There is such a request, in order to do bad things?

CodePudding user response:

http://bbs.cskin.net/thread-3013-1-2.html

https://bbs.csdn.net/topics/270055083

CodePudding user response:

Question, thank you, most of the identified as a matter of time, generate some of the projects. Pyc files, compressed files inside cause time is abhorrent, underneath, docker container time whether can remain the same
  • Related