[Patch,AVR] Print no-return functions as JMP

Paolo Bonzini bonzini@gnu.org
Sun Oct 16 17:10:00 GMT 2011


> -moptimize-noreturn-calls
>        Optimize noreturn calls.  This might make debugging harder but
>        will save storing the return address when calling roreturn
>        functions.
>
>        Enabled at levels -O2, -O3, -Os.
>
> But the "makes debugging harder" clause is true for almost any optimization
> available, so should this tautology be mentioned along with each
> optimization that makes debugging harder?

If there's one kind of debugging that you don't want to make harder,
that's post mortem debugging.

Paolo



More information about the Gcc-patches mailing list