[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 -- http://gcc.gnu.org/bugzilla/show_bug.cgi

[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 middle-end/32004] [4.1/4.2/4.3 regression] : can't find a register in class 'GENERAL_REGS' while reloading 'asm'

2007-07-04 Thread kauer at os dot inf dot tu-dresden dot de
--- Comment #21 from kauer at os dot inf dot tu-dresden dot de 2007-07-04 21:50 --- This simple testcase triggers the bug, too. Unfortunatelly I didnot test the patch yet. -- inline void g(int b) { register int reg __asm__ ("eax") = 0; asm volatile ("nop"