]> git.ipfire.org Git - thirdparty/gcc.git/commit
epiphany: Fix up epiphany_setup_incoming_varargs [PR114175]
authorJakub Jelinek <jakub@redhat.com>
Wed, 20 Mar 2024 15:59:21 +0000 (16:59 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 20 Mar 2024 15:59:21 +0000 (16:59 +0100)
commitb089ceb365e5132e4b2a8acfb18127bbee2d0d00
treecde5e403b1097a67a28d62efaee39c18a1c1bc5a
parent68eca9b6aefeb40bdd4c55e42528cb32d1e2935b
epiphany: Fix up epiphany_setup_incoming_varargs [PR114175]

Like for x86-64, alpha or rs6000, epiphany seems to be affected too.

Just visually checked differences in c23-stdarg-9.c assembly in a cross
without/with the patch, committed to trunk.

2024-03-20  Jakub Jelinek  <jakub@redhat.com>

PR target/114175
* config/epiphany/epiphany.cc (epiphany_setup_incoming_varargs): Only
skip function arg advance for TYPE_NO_NAMED_ARGS_STDARG_P functions
if arg.type is NULL.
gcc/config/epiphany/epiphany.cc