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 executable produced by the three compilation approaches. Run the executable you get and compare the performance of different executable. Explain why the performance is different.