From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 809853858D33; Mon, 26 Jun 2023 13:45:47 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 809853858D33 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1687787147; bh=4p9T2S4vG+EeL/V4gHNNsLyj0HbxdMvkBp5jvWTYu8I=; h=From:To:Subject:Date:In-Reply-To:References:From; b=urTlS9szSlDOhJcFwsDN7yNzp8aZADbml/7PG3qPEQrXO5zd2kQ9tRvzJu7ghqwWz QggMwAlSg2a89pHXt4s/SPN8qWp4aRhxdxbUq7OdNNdPOfELgnjmwfIB45UzU6dzGF tKK6Q8kvK01kTOjP8yxNXc+RgTJx+ObADcsy0yuw= From: "ppalka at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c++/110403] dependent function constexpr inside vector_size __attribute__ does not compile Date: Mon, 26 Jun 2023 13:45:46 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c++ X-Bugzilla-Version: 14.0 X-Bugzilla-Keywords: rejects-valid X-Bugzilla-Severity: normal X-Bugzilla-Who: ppalka at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: keywords see_also everconfirmed cc cf_reconfirmed_on bug_status 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=3D110403 Patrick Palka changed: What |Removed |Added ---------------------------------------------------------------------------- Keywords| |rejects-valid See Also| |https://gcc.gnu.org/bugzill | |a/show_bug.cgi?id=3D105233 Ever confirmed|0 |1 CC| |ppalka at gcc dot gnu.org Last reconfirmed| |2023-06-26 Status|UNCONFIRMED |NEW --- Comment #2 from Patrick Palka --- Confirmed, closely related to PR105233 which was the same issue for the ali= gned attribute (and alignas), and was fixed by performing manifestly constant evaluation of their argument. I guess the same could be done for vector_si= ze?=