https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831
Andrew Pinski changed:
What|Removed |Added
CC||pinskia at gcc dot gnu.org
--- Comment #
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831
Andrew Pinski changed:
What|Removed |Added
See Also||https://github.com/llvm/llv
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
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
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.
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=97831
Richard Biener changed:
What|Removed |Added
Severity|normal |enhancement
Version|unknown
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
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
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