]> 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>
Sat, 30 Mar 2024 03:53:46 +0000 (04:53 +0100)
commitfce980ba3802e1adc68cb34ae81d17bc8c9d13b9
tree5c49ae6a1ac42602af401b704eb16ae2474bba66
parent06f9476a60bcf2d206b7b86e68ea433954f91f20
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.

(cherry picked from commit b089ceb365e5132e4b2a8acfb18127bbee2d0d00)
gcc/config/epiphany/epiphany.cc