https://gcc.gnu.org/bugzilla/show_bug.cgi?id=65181
--- Comment #8 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The trunk branch has been updated by Thomas Schwinge <tschwi...@gcc.gnu.org>: https://gcc.gnu.org/g:678c3f06fc165b883f63b0c44ce9f650b7c1504a commit r15-6712-g678c3f06fc165b883f63b0c44ce9f650b7c1504a Author: Thomas Schwinge <tschwi...@baylibre.com> Date: Thu Dec 12 23:26:14 2024 +0100 nvptx: Add '__builtin_alloca(0)' test cases [PR65181] Documenting the status quo. This specific behavior relates to a 1994 change (Subversion r7229, Git commit 15fc002672d643fd9d93d220027b5cd2aefc632c). That one, however, isn't to blame here: we'd otherwise of course run into nvptx' 'sorry, unimplemented: target cannot support alloca'. PR target/65181 gcc/testsuite/ * gcc.target/nvptx/__builtin_alloca_0-1-O0.c: New. * gcc.target/nvptx/__builtin_alloca_0-1-O1.c: Likewise.