Paolo Bonzini schrieb:
-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
And what is the conclusion?
- Not to imlement this optimization at all?
- Implement it but don't turn it on depending on -O*
- Implement it as is but explicitely mention
"post mortem debugging" in docs?
There is no real post morten debugging on AVR as there is nothing like
core dump.
Johann