GCC 4.8 and -Og

Tobias Burnus burnus@net-b.de
Mon Feb 25 11:16:00 GMT 2013


Jeffrey Walton wrote:
> On Mon, Feb 25, 2013 at 4:51 AM, Richard Biener
> <richard.guenther@gmail.com> wrote:
>> On Mon, Feb 25, 2013 at 6:20 AM, Chung-Ju Wu <jasonwucj@gmail.com> wrote:

> Don't worry about possible confusion (-Og needs -gN). Document it at
> http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#Debugging-Options,
> and folks should be able to find it. (That's the first place I
> looked).

I leave this to others.

> Address Sanitizer looks very interesting also (-fsanitize=address).
> It's listed at http://gcc.gnu.org/onlinedocs/gcc/Option-Summary.html,
> but there's no topic when following the link to
> http://gcc.gnu.org/onlinedocs/gcc/Debugging-Options.html#Debugging-Options.

That's a section-ordering bug. The flag is (wrongly) documented under 
optimization options, i.e. in the next section: 
http://gcc.gnu.org/onlinedocs/gcc/Optimize-Options.html

That's now fixed.

Tobias



More information about the Gcc mailing list