From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 947A83858C52; Wed, 24 May 2023 08:28:08 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 947A83858C52 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1684916888; bh=FqJSz1JLWlcRdZi8IWfhJmM0WhJePWI05qSJe1LTCSY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=Lxjz0J+tvbbZxFOFXFW3vPzdORPni+xFt/gDZPbDLPJ/3Fb8Wv/C5WToiRvgVdx7I R37gK6JVUKB408R7BBsD9PXynPUMu9veaOJrZoHCHOvLm36tir48GrYDCG2LFNfxbv ncbLmtnQkc29107czyyNHYqPdz3Raimh+q7ynDnY= From: "clyon at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/109261] std::experimental::simd is not usable in several constant expressions Date: Wed, 24 May 2023 08:28:07 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: libstdc++ X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: clyon at gcc dot gnu.org X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: mkretz at gcc dot gnu.org X-Bugzilla-Target-Milestone: 13.2 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=3D109261 --- Comment #8 from Christophe Lyon --- I guess gcc185 is an aarch64 machine? (as opposed to arm) I confirm your patch fixes the problem on aarch64 (the testcase now passes), but it still fails on arm, with: /arm-linux-gnueabihf/libstdc++-v3/include/experimental/bits/simd.h:2412: er= ror: static assertion failed: should use explicit specialization above /arm-linux-gnueabihf/libstdc++-v3/include/experimental/bits/simd.h:2415: er= ror: invalid use of incomplete type 'struct std::experimental::parallelism_v2::__intrinsic_type'=