From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 317873858D20; Thu, 16 Nov 2023 17:34:19 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 317873858D20 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1700156059; bh=Oyw5AbUzU9EjxBuVSCSfkli4QQFt82K1WiogGe2vRNI=; h=From:To:Subject:Date:In-Reply-To:References:From; b=nVWNZJBKVpLX4Yo74yy8T0sXPdXcQdORYtxyJdGSw6AaNxbzS75ESeyrf7Alpsx60 D+SekKgVQQSVIb06fIFvyXHxAhCZoL5hYHwTIVbGcWKlZR8rwtjahhGIyGTvL+6CPA qLBxX/KSOeuAkdmO3sAzuvjapdL73bU99X+x1ufE= From: "pinskia at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/83324] [feature request] Pragma or special syntax for guaranteed tail calls Date: Thu, 16 Nov 2023 17:34:18 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 7.0 X-Bugzilla-Keywords: missed-optimization X-Bugzilla-Severity: enhancement X-Bugzilla-Who: pinskia at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D83324 --- 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. Just not expose= d to C. That was mentioned in the gcc mailing list archive that you pointed to t= oo. e.g. https://gcc.gnu.org/onlinedocs/jit/topics/expressions.html#c.gcc_jit_rvalue= _set_bool_require_tail_call=