GCC compiler optimization report
What optimizations will the gcc compiler perform on your code when you compile your code using the compilation flags “-O0”, “-O1”, “-O2”, and “-O3” respectively? Compile the C code provided with the compilation flags “-O0”, “-O1”, “-O2”, and “-O3” respectively and report the size (in bytes) of the executables produced by the three compilation approaches. Run the executables you get and compare the performance of different executables. Explain why the performance is different.