[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2024-02-26 Thread lukas.graetz--- via Gcc-bugs
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

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2024-02-25 Thread pskocik at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837 Petr Skocik changed: What|Removed |Added CC||pskocik at gmail dot com --- Comment #19

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2024-02-14 Thread lukas.graetz--- via Gcc-bugs
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,

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2024-02-11 Thread lukas.graetz--- via Gcc-bugs
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

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2024-02-11 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837 Xi Ruoyao changed: What|Removed |Added See Also||https://gcc.gnu.org/bugzill

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2024-02-11 Thread goon.pri.low at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837 gooncreeper changed: What|Removed |Added CC||goon.pri.low at gmail dot com --- Comment

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2023-10-12 Thread xry111 at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837 Xi Ruoyao changed: What|Removed |Added CC||lukas.graetz@tu-darmstadt.d

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2015-12-03 Thread pinskia at gcc dot gnu.org
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. ***

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2015-08-25 Thread hjl.tools at gmail dot com
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

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2015-08-23 Thread pinskia at gcc dot gnu.org
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

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2013-08-14 Thread pinskia at gcc dot gnu.org
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

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2013-08-09 Thread luto at mit dot edu
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

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2013-02-02 Thread pinskia at gcc dot gnu.org
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. ***

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2013-01-31 Thread pinskia at gcc dot gnu.org
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=10837 Andrew Pinski pinskia at gcc dot gnu.org changed: What|Removed |Added CC||akobets

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2007-12-26 Thread pinskia at gcc dot gnu dot org
--- 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

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2007-08-28 Thread kauer at os dot inf dot tu-dresden dot de
--- 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

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2007-08-28 Thread kauer at os dot inf dot tu-dresden dot de
--- 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 --

[Bug rtl-optimization/10837] noreturn attribute causes no sibling calling optimization

2007-08-16 Thread pinskia at gcc dot gnu dot org
--- 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