https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
--- Comment #20 from Lukas Grätz ---
(In reply to Petr Skocik from comment #19)
> IMO(In reply to Xi Ruoyao from comment #16)
>
> > In practice most _Noreturn functions are abort, exit, ..., i.e. they are
> > only executed one time so
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Petr Skocik changed:
What|Removed |Added
CC||pskocik at gmail dot com
--- Comment #19
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
--- Comment #18 from Lukas Grätz ---
On another thought: I think something like -fignore-backtrace could be a
reasonable optimization flag (enabled by default for -O4). By ignoring the
backtrace we could do other optimizations on size and speed,
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
--- Comment #17 from Lukas Grätz ---
(In reply to Xi Ruoyao from comment #16)
> (In reply to gooncreeper from comment #15)
> > May I suggest we just add something like __attribute__((trace)) for the
> > special abort case? Noreturn was added for
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Xi Ruoyao changed:
What|Removed |Added
See Also||https://gcc.gnu.org/bugzill
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
gooncreeper changed:
What|Removed |Added
CC||goon.pri.low at gmail dot com
--- Comment
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Xi Ruoyao changed:
What|Removed |Added
CC||lukas.graetz@tu-darmstadt.d
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
--- Comment #13 from Andrew Pinski ---
*** Bug 68677 has been marked as a duplicate of this bug. ***
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
--- Comment #12 from H.J. Lu hjl.tools at gmail dot com ---
(In reply to Richard Henderson from comment #2)
Working as designed.
(1) It often takes more insns to pop the stack frame than to make the call.
(2) You get a proper backtrace from
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
CC||hjl.tools at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
CC||jay.foad at
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Andy Lutomirski luto at mit dot edu changed:
What|Removed |Added
CC||luto at mit dot edu
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
--- Comment #8 from Andrew Pinski pinskia at gcc dot gnu.org 2013-02-03
02:18:59 UTC ---
*** Bug 56165 has been marked as a duplicate of this bug. ***
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837
Andrew Pinski pinskia at gcc dot gnu.org changed:
What|Removed |Added
CC||akobets
--- Comment #6 from pinskia at gcc dot gnu dot org 2007-12-26 09:36 ---
*** Bug 34589 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
--- Comment #4 from kauer at os dot inf dot tu-dresden dot de 2007-08-28
19:07 ---
Some comments from the outside:
(1) It should be possible to exchange the emmited call into a jmp, without
adding the function epilog.
(2) A proper backtrace is not generated on optimized sibling
--- Comment #5 from kauer at os dot inf dot tu-dresden dot de 2007-08-28
19:27 ---
(4) abort produce a proper backtrace, if it is not a noreturn function
(5) this optimization could be configurable by something like
-foptimize-noreturns
--
--- Comment #3 from pinskia at gcc dot gnu dot org 2007-08-16 10:38 ---
*** Bug 33083 has been marked as a duplicate of this bug. ***
--
pinskia at gcc dot gnu dot org changed:
What|Removed |Added
18 matches
Mail list logo