]> git.ipfire.org Git - thirdparty/gcc.git/commit
ft32: Fix up ft32_setup_incoming_varargs [PR114175]
authorJakub Jelinek <jakub@redhat.com>
Wed, 20 Mar 2024 15:59:32 +0000 (16:59 +0100)
committerJakub Jelinek <jakub@redhat.com>
Sat, 30 Mar 2024 03:53:47 +0000 (04:53 +0100)
commita2565fbb722f9ea9a990286b72ae1a95145af910
tree38b9eb634cff8c98eada80341f445ac213eec9b5
parentfce980ba3802e1adc68cb34ae81d17bc8c9d13b9
ft32: Fix up ft32_setup_incoming_varargs [PR114175]

Like for x86-64, alpha or rs6000, ft32 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/ft32/ft32.cc (ft32_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 22612a8b5e0853c530f98fc7c0d6f6812b36518d)
gcc/config/ft32/ft32.cc