]> git.ipfire.org Git - thirdparty/gcc.git/commit
csky: Fix up csky_setup_incoming_varargs [PR114175]
authorJakub Jelinek <jakub@redhat.com>
Wed, 20 Mar 2024 15:59:08 +0000 (16:59 +0100)
committerJakub Jelinek <jakub@redhat.com>
Wed, 20 Mar 2024 15:59:08 +0000 (16:59 +0100)
commit68eca9b6aefeb40bdd4c55e42528cb32d1e2935b
treeb1a93096fe7fcd3299b2ae40ea39e0fbd0a56996
parent47cdd86cd5d3d3fd26f9764020c4502ea8eca27b
csky: Fix up csky_setup_incoming_varargs [PR114175]

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