Re: Should GCC emit the same code for compilation with '-g' and without '-g'
On Tue, May 01, 2018 at 12:53:45PM -0700, Chengnian Sun wrote: > Does gcc have a requirement about the impact of emitting debug info on the > generated code? Should the code be the same no matter whether '-g' is > specified? Yes (except for selective scheduling, but that warns if you combine -fsel
Should GCC emit the same code for compilation with '-g' and without '-g'
Hi, Does gcc have a requirement about the impact of emitting debug info on the generated code? Should the code be the same no matter whether '-g' is specified? Thank you. -- Best Regards. Chengnian