]> git.ipfire.org Git - thirdparty/gcc.git/commit
nds32: Fix up nds32_setup_incoming_varargs [PR114175]
authorJakub Jelinek <jakub@redhat.com>
Wed, 20 Mar 2024 15:59:56 +0000 (16:59 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 20 Mar 2024 15:59:56 +0000 (16:59 +0100)
commitb22a9c7dd29a14a217de8b86d3e100e4e8b7785e
tree568d13546954fdf5e68bcf5ffdb311bf60b0201d
parent921eb457c5b105bcd84eaeac22067e9b03d5b9d1
nds32: Fix up nds32_setup_incoming_varargs [PR114175]

Like for x86-64, alpha or rs6000, nds32 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/nds32/nds32.cc (nds32_setup_incoming_varargs): Only skip
function arg advance for TYPE_NO_NAMED_ARGS_STDARG_P functions
if arg.type is NULL.
gcc/config/nds32/nds32.cc