Warning there are a couple of bugs around Og mostly due to optimising too aggressively. Eg https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78685 On Mon, 17 May 2021, 19:30 Ezhil P via Gcc-help <gcc-help@xxxxxxxxxxx> wrote: > Hi, > can you kindly clarify the unique feature of -Og flag?. It is described as > "optimize the debugging experience". How does it do? > thank you > > -- > P.Ezhil, > Asst Prof, > L.N GOVERNMENT COLLEGE, > PONNERI - 601204 >