From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 1E8A1385AE65; Fri, 1 Dec 2023 07:15:34 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1E8A1385AE65 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1701414934; bh=uFSrxKLDozUg64ECwIFbGnaYilnfcFUlR0tc95cq2IA=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Y64OBLaFxtScElkgO8VivKRCoqUO1L47ju1PG4qbhVb6DO4Y3iuDqZE29bNBo0oOv fcHrSX+JkXVEoXYilAxmxwflT/+UGgD/HmT6TZEs8CZ5fvdlKxuGq1r2b48wY4CpZ/ qWXkJ3kIcrr5OX5YJQWTWbBKi22ZlPAnH8tXTLu4= 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: Fri, 01 Dec 2023 07:15:32 +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 #6 from GCC Commits --- The master branch has been updated by Jakub Jelinek : https://gcc.gnu.org/g:28944a016bb5eef9a99691b3c55b124882375180 commit r14-6039-g28944a016bb5eef9a99691b3c55b124882375180 Author: Jakub Jelinek Date: Fri Dec 1 08:11:34 2023 +0100 s390: Fix builtin-classify-type-1.c on s390 too [PR112725] s390 suffers from the same issue with __builtin_classify_type vector arguments, the target hook diagnoses those because it thinks a vector is passed to an unprototyped function, but in this case it is a type-generic builtin which can support vector types just fine, by folding into the appropriate constant. This fixes -FAIL: c-c++-common/builtin-classify-type-1.c -Wc++-compat (test for excess errors) -UNRESOLVED: c-c++-common/builtin-classify-type-1.c -Wc++-compat=20 compilation failed to produce executable on s390x-linux. 2023-12-01 Jakub Jelinek PR target/112725 * config/s390/s390.cc (s390_invalid_arg_for_unprototyped_fn): Return NULL for __builtin_classify_type calls with vector arguments.=