[Bug c/97831] Lack of disable_tail_calls attribute

2025-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 Andrew Pinski changed: What|Removed |Added CC||pinskia at gcc dot gnu.org --- Comment #

[Bug c/97831] Lack of disable_tail_calls attribute

2025-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 Andrew Pinski changed: What|Removed |Added See Also||https://github.com/llvm/llv

[Bug c/97831] Lack of disable_tail_calls attribute

2025-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 --- Comment #6 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) > I think this was rejected 3 years ago: > https://gcc.gnu.org/legacy-ml/gcc-patches/2017-05/msg02221.html Note clang's not_tail_called does NOT apply to the funct

[Bug c/97831] Lack of disable_tail_calls attribute

2025-03-31 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 Andrew Pinski changed: What|Removed |Added Assignee|unassigned at gcc dot gnu.org |pinskia at gcc dot gnu.org E

[Bug c/97831] Lack of disable_tail_calls attribute

2021-09-01 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 --- Comment #4 from Andrew Pinski --- In the case of glibc, the callee needs to be marked as not a tail callable and not the caller.

[Bug c/97831] Lack of disable_tail_calls attribute

2020-11-15 Thread rguenth at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 Richard Biener changed: What|Removed |Added Severity|normal |enhancement Version|unknown

[Bug c/97831] Lack of disable_tail_calls attribute

2020-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 --- Comment #3 from Andrew Pinski --- (In reply to Andrew Pinski from comment #2) And see https://gcc.gnu.org/legacy-ml/gcc-patches/2017-07/msg00130.html

[Bug c/97831] Lack of disable_tail_calls attribute

2020-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 --- Comment #2 from Andrew Pinski --- I think this was rejected 3 years ago: https://gcc.gnu.org/legacy-ml/gcc-patches/2017-05/msg02221.html

[Bug c/97831] Lack of disable_tail_calls attribute

2020-11-14 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831 --- Comment #1 from Andrew Pinski --- I can think of a simple way disabling tail calls: static void disabletailcallfunc(void*) __attribute__((noipa)); static void disabletailcallfunc(void *x){} #define disabletailcall() do {int a; disabletailcal