https://gcc.gnu.org/bugzilla/show_bug.cgi?id=112725
--- Comment #5 from GCC Commits <cvs-commit at gcc dot gnu.org> --- The master branch has been updated by Jakub Jelinek <ja...@gcc.gnu.org>: https://gcc.gnu.org/g:259bb7a45a26b76cbde2131a62926d4419c1cc1b commit r14-5974-g259bb7a45a26b76cbde2131a62926d4419c1cc1b Author: Jakub Jelinek <ja...@redhat.com> Date: Wed Nov 29 19:19:07 2023 +0100 rs6000: Fix up c-c++-common/builtin-classify-type-1.c failure [PR112725] The rs6000 backend (and s390 one as well) diagnoses passing vector types to unprototyped functions, which breaks the builtin-classify-type-1.c test. The builtin isn't really unprototyped, it is just type-generic and accepting vector types is just fine there, all it does is categorize the vector type. The following patch makes sure we don't diagnose it for this builtin. 2023-11-29 Jakub Jelinek <ja...@redhat.com> PR target/112725 * config/rs6000/rs6000.cc (invalid_arg_for_unprototyped_fn): Return NULL for __builtin_classify_type calls with vector arguments.