From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 6A7CB3858427; Fri, 9 Feb 2024 08:46:56 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 6A7CB3858427 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1707468416; bh=x7Y0y6SSewYWqsbYB6OfboX8aJQjFg9X1MXzr7wKX38=; h=From:To:Subject:Date:In-Reply-To:References:From; b=uau0ZKrCgoptCLpe0nWS8pIiOrOf+sa01HUxB41JeeRbWASpQhvoGT4PsufY7g0Er LHf1hDVOx/XtTb8EZLdwXG9Y00t/kNUoddEhbCAFJ0ezjc+RZg5nB5Llgphs1fw8Eo icrt8enmYVhY6AT1fd25PONvKpAGiZUK/LRoAVh8= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug libstdc++/112467] [14 Regression] libstdc++ fails to build on clang: bits/stl_bvector.h:189:23: error: '__assume__' attribute cannot be applied to a statement Date: Fri, 09 Feb 2024 08:46:55 +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: 14.0 X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: RESOLVED X-Bugzilla-Resolution: FIXED X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: redi 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=3D112467 --- Comment #10 from GCC Commits --- The releases/gcc-13 branch has been updated by Torbjorn Svensson : https://gcc.gnu.org/g:adef1e0ebeb5055ed4e8776fd3f73c9d84821eaa commit r13-8310-gadef1e0ebeb5055ed4e8776fd3f73c9d84821eaa Author: Jonathan Wakely Date: Fri Nov 10 21:06:15 2023 +0000 libstdc++: Do not use assume attribute for Clang [PR112467] Clang has an 'assume' attribute, but it's a function attribute not a statement attribute. The recently-added use of the statement form causes an error with Clang. libstdc++-v3/ChangeLog: PR libstdc++/112467 * include/bits/stl_bvector.h (_M_assume_normalized): Do not use statement form of assume attribute for Clang. (cherry picked from commit 807f47497f17ed50be91f0f879308cb6fa063966)=