[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-12-23 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 Sam James changed: What|Removed |Added CC||trashyankes at wp dot pl --- Comment #35 fro

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-09-04 Thread egallager at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #34 from Eric Gallager --- Yeah I think GCC should support the __attribute__ style syntax for this attribute, too

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-08-25 Thread lucier at math dot purdue.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #33 from lucier at math dot purdue.edu --- I don't know what the issues are about whether to support __attribute__, whether the notation is obsolete or nonstandard. If gcc doesn't support this notation, it might lead to just one more

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-08-25 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #32 from andi at firstfloor dot org --- The feature is currently only supported with standard C/C++ attributes ([[clang/gnu::musttail]]), not __attribute__ But given that you have existing code that uses the old syntax and clang suppo

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-08-24 Thread lucier at math dot purdue.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #31 from lucier at math dot purdue.edu --- Are there plans to support the __attribute__((musttail)) notation for C code? It appears that with heine:~/programs/gambit/gambit> clang -v Ubuntu clang version 14.0.0-1ubuntu1.1 one needs

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-08-23 Thread lucier at math dot purdue.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #30 from lucier at math dot purdue.edu --- Thanks. I asked for some help in testing this new attribute at gcc-help: https://gcc.gnu.org/pipermail/gcc-help/2024-August/143676.html

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-08-22 Thread andi at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #29 from andi at firstfloor dot org --- The semantics of -foptimize-sibling-calls do not change. However if your program depends on sbling calls for correctness it should migrate to the new attribute

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-08-21 Thread lucier at math dot purdue.edu via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 lucier at math dot purdue.edu changed: What|Removed |Added CC||lucier at math dot purdue.

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-23 Thread ak at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 ak at gcc dot gnu.org changed: What|Removed |Added Resolution|--- |FIXED CC|

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #26 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:8daae81113eeff37b4ae2e08a9797295fbc8b81e commit r15-2234-g8daae81113eeff37b4ae2e08a9797295fbc8b81e Author: Andi Kleen Date: Tue Jan

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #24 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:2bd8177256b6d87f6e75819218cf22c2c0bfc1ac commit r15-2231-g2bd8177256b6d87f6e75819218cf22c2c0bfc1ac Author: Andi Kleen Date: Tue Jan

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-23 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #24 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:2bd8177256b6d87f6e75819218cf22c2c0bfc1ac commit r15-2231-g2bd8177256b6d87f6e75819218cf22c2c0bfc1ac Author: Andi Kleen Date: Tue Jan

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #22 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:7db47f7b915c5f5d645fa536547e26b92290afe3 commit r15-2170-g7db47f7b915c5f5d645fa536547e26b92290afe3 Author: Andi Kleen Date: Wed Jan

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #23 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:56f824cc206ff00d466aaeb11211d8005c4668bc commit r15-2172-g56f824cc206ff00d466aaeb11211d8005c4668bc Author: Andi Kleen Date: Tue Jan

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #21 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:59dd1d7ab21ad9a7ebf641ec9aeea609c003ad2f commit r15-2169-g59dd1d7ab21ad9a7ebf641ec9aeea609c003ad2f Author: Andi Kleen Date: Tue Jan

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-19 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #20 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:5c4c1fe6df0f752764cdfd7404a60bfd2b4f5057 commit r15-2168-g5c4c1fe6df0f752764cdfd7404a60bfd2b4f5057 Author: Andi Kleen Date: Wed May

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-18 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #19 from Andi Kleen --- Middle/back-end parts are in, still need acks for the C/C++ frontend parts

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #18 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:d062b0abf45cd54057352fc4b7827a3b1b9a160a commit r15-2126-gd062b0abf45cd54057352fc4b7827a3b1b9a160a Author: Andi Kleen Date: Fri Jun

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #17 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:81824596361cf4919d6dc026155160581c99b860 commit r15-2125-g81824596361cf4919d6dc026155160581c99b860 Author: Andi Kleen Date: Tue May

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #16 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:b738a63e528db410a1c51fc27db37fe22f0cb397 commit r15-2124-gb738a63e528db410a1c51fc27db37fe22f0cb397 Author: Andi Kleen Date: Wed May

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-17 Thread cvs-commit at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #15 from GCC Commits --- The trunk branch has been updated by Andi Kleen : https://gcc.gnu.org/g:a6502accf381358173b19e615fdeb0aa17949c93 commit r15-2122-ga6502accf381358173b19e615fdeb0aa17949c93 Author: Andi Kleen Date: Tue Jan

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-07-12 Thread mpolacek at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 Marek Polacek changed: What|Removed |Added CC||mpolacek at gcc dot gnu.org

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-06-19 Thread andi-gcc at firstfloor dot org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #14 from Andi Kleen --- Latest patchkit is here, but stalled due to lack of reviewers: https://gcc.gnu.org/pipermail/gcc-patches/2024-June/653319.html

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2024-01-24 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 Sam James changed: What|Removed |Added CC||andi-gcc at firstfloor dot org --- Comment #

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-12-25 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 Sam James changed: What|Removed |Added CC||arsen at gcc dot gnu.org,

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-11-20 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #11 from David Edelsohn --- GIMPLE supports must_tail, but it is not exposed at the sources level / attributes in GCC. CPython is not adding the LLVM JIT at runtime. The proposal is to utilize LLVM at build time to generate code tem

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-11-19 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #10 from Andrew Pinski --- (In reply to David Edelsohn from comment #9) > Brandt Bucher: A JIT compiler for CPython > https://www.youtube.com/watch?v=HxSHIpEQRjs > https://github.com/brandtbucher/cpython/tree/justin But must tail is

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-11-19 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #9 from David Edelsohn --- Brandt Bucher: A JIT compiler for CPython https://www.youtube.com/watch?v=HxSHIpEQRjs https://github.com/brandtbucher/cpython/tree/justin

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-11-19 Thread sjames at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #8 from Sam James --- (In reply to David Edelsohn from comment #4) > The lack of this feature is motivating CPython to rely on LLVM for its JIT > in future releases. Do you have something I can read up on for this part? It's the firs

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

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

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-11-16 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #6 from Andrew Pinski --- (In reply to David Edelsohn from comment #4) > The lack of this feature is motivating CPython to rely on LLVM for its JIT > in future releases. Which is interesting because GCC JIT supports this already. Jus

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-11-16 Thread mikpelinux at gmail dot com via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #5 from Mikael Pettersson --- To get guaranteed tail-calls to work you need to adjust the calling convention for the caller as well as the callee. Things are trivial as long as parameters always fit in registers. With parameters on th

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-11-15 Thread dje at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 David Edelsohn changed: What|Removed |Added Priority|P3 |P2 Ever confirmed|0

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2023-11-15 Thread pinskia at gcc dot gnu.org via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 Andrew Pinski changed: What|Removed |Added CC||dje at gcc dot gnu.org --- Comment #3 fr

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2021-12-04 Thread pietro.gcc at sociotechnical dot xyz via Gcc-bugs
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 pietro changed: What|Removed |Added CC||pietro.gcc at sociotechnical dot x

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2017-12-08 Thread m...@daniel-mendler.de
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 --- Comment #1 from m...@daniel-mendler.de --- See also bug 77734

[Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls

2017-12-08 Thread rguenth at gcc dot gnu.org
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=83324 Richard Biener changed: What|Removed |Added Keywords||missed-optimization Severity|