From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 06DD3386CE56; Wed, 29 Nov 2023 18:21:16 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 06DD3386CE56 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701282077; bh=lcvPU/9hLnp0xkaM3AvsH6sl2CF6E73jHwvrjkYKxus=; h=From:To:Subject:Date:In-Reply-To:References:From; b=TocY/LcANuGbxA7K7OMNRNhKOhZHZBYP0npBXx8hhgk+f6e1BasS8U/UnZy35fyxP VgVuQfthXH+ZKQEfaMeFlrXNZjmpUZN/CRjhWs1UWppAdkEUz0Cwb9C8Oq4AHjNryi SbExBzXi6p72GPGPo/Q3D9yejPZLmHTzzzZmen1Y= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/112725] [14 Regression] powerpc64le-linux-gnu: 'c-c++-common/builtin-classify-type-1.c:113:3: error: AltiVec argument passed to unprototyped function' Date: Wed, 29 Nov 2023 18:21:16 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: target X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: testsuite-fail X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: jakub at gcc dot gnu.org X-Bugzilla-Target-Milestone: 14.0 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D112725 --- Comment #5 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:259bb7a45a26b76cbde2131a62926d4419c1cc1b commit r14-5974-g259bb7a45a26b76cbde2131a62926d4419c1cc1b Author: Jakub Jelinek 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 t= est. 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 t= ype. The following patch makes sure we don't diagnose it for this builtin. 2023-11-29 Jakub Jelinek PR target/112725 * config/rs6000/rs6000.cc (invalid_arg_for_unprototyped_fn): Re= turn NULL for __builtin_classify_type calls with vector arguments.=