From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id AB0ED385B1AC; Tue, 29 Nov 2022 13:23:54 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org AB0ED385B1AC DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1669728234; bh=0y1LbKFoO8bf8NA0rai8YFfYm3jqwbISCvdCDeWFNjk=; h=From:To:Subject:Date:In-Reply-To:References:From; b=qFwOCHRw12Xq3mXwAyX7gE08H/YOgoDc1RGVdhw+9zZY5G6UEq62MPknl6dC6bHn3 5X6ELoXViEx5uq1MB3f0QEPPAkrrbfBe4DuXQQAN7fNe1wrKB6wyRFMPKoEbF3wPxA zg5/5CP7basCKItJZ9yakgyTphQHSanVbextI4RU= From: "stammark at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug target/107515] MVE: Generic functions do not accept _Float16 scalars Date: Tue, 29 Nov 2022 13:23:53 +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: 12.2.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: stammark at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: stammark at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- 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=3D107515 --- Comment #7 from Stam Markianos-Wright --- (In reply to Kevin Bracey from comment #6) > Retesting the Godbolt on trunk, it's now worse - every line produces > multiple not-very-informative errors: >=20 > source>:7:9: error: '_Generic' specifies two compatible types > 7 | x =3D vmulq(x, 0.5); // ok > | ^~~~~ > :7:9: note: compatible type is here > 7 | x =3D vmulq(x, 0.5); // ok > | ^~~~~ >=20 > (repeated 6 times per source line) Interesting... Thanks for spotting this, I didn't see this in my testing, because it doesn't seem to happen on baremetal `arm-none-eabi` (and I still can't replicate it there), but I do see this on the linux target (let me kn= ow if you are seeing anything different). I am investigating further!=