From patchwork Tue Nov 28 12:44:20 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Wakely X-Patchwork-Id: 170747 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:ce62:0:b0:403:3b70:6f57 with SMTP id o2csp3887882vqx; Tue, 28 Nov 2023 04:45:02 -0800 (PST) X-Google-Smtp-Source: AGHT+IG5cy/u+YxcfanUCuIgaJOeAIMDt+gctm+pxYEVRX8HWahREZJE0Zm+u3IrFN+FyWx3q6/2 X-Received: by 2002:a0c:e987:0:b0:67a:141b:af48 with SMTP id z7-20020a0ce987000000b0067a141baf48mr16729926qvn.59.1701175502152; Tue, 28 Nov 2023 04:45:02 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1701175502; cv=pass; d=google.com; s=arc-20160816; b=sKCn8zYOpqSOJUJrh17K8tuVANjgiHOzphkzMw2Xg3i/4p1StitX/ZQdQUU/CX49zI SdyLPcPVeeUf1e4LyKx4zBeLWbcPuyzhfLMFkQ1co8uNDwq0XGxYV3Mq/zvmNyXci650 BviH/IfXA9kZmJeWyyFzX95UrEycEUuxp+YFzLAIywJW16xiv2L4eAj31gnTous79Wdz kuAX6gfsh8/lYipsVjSeDSGt5ojL+CLgcd8BUpxrHHJ6dnhWP9kDr67AI1vuaQt7zzRL SuuNXg58f3pNVLZ2m2n/SD2YWTk9iJxAN7whAn1s5EiCDflSDLoZR9utZCYAl5gUwKld BAWg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=errors-to:list-subscribe:list-help:list-post:list-archive :list-unsubscribe:list-id:precedence:content-transfer-encoding :mime-version:message-id:date:subject:to:from:dkim-signature :arc-filter:dmarc-filter:delivered-to; bh=H+xkUPMw6fU6puBL6dq2qIDIADL3MDMnPTkl3hMAMUY=; fh=sJ+2/4g29YdyXkoRrFZSpsL2zxijepB7X/1rB0LDDh8=; b=c9c1006SMy42YhZPQ+22DXuK2RRp50qRx+w1fuM/ycjnoWX68h1AvF19BTMN6GGgPv KjOJsU9VQ0zfaU/4v/NWvHOKZNr0usIHjgajQwCl8hHkazWoFsjthipkdnc3MCWbs9pN ZN+vzjFy7C0Jb8IMwGU0X6I7gxdmGiwp4b0QY9htlSjkEr3F0d6QiQdR7TbF4H9DYLdg zQNuwIuz5aPIlxjaDq+bBfQKmn0J4bskmc0D7srrgDj89j50H6rN33bRr6D2SELq5nBw DsQqzxgiIaEx5Dv0mWq5JMsdyiWrW3AfSC1w3iC9YiePkIF61phJEx1QAglIgrop6hOV iycw== ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Fojqmmp4; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (server2.sourceware.org. [8.43.85.97]) by mx.google.com with ESMTPS id i13-20020ad4410d000000b0067a3f66d4aasi4512316qvp.259.2023.11.28.04.45.02 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 04:45:02 -0800 (PST) Received-SPF: pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) client-ip=8.43.85.97; Authentication-Results: mx.google.com; dkim=pass header.i=@redhat.com header.s=mimecast20190719 header.b=Fojqmmp4; arc=pass (i=1); spf=pass (google.com: domain of gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org designates 8.43.85.97 as permitted sender) smtp.mailfrom="gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=redhat.com Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 74ACD3882648 for ; Tue, 28 Nov 2023 12:44:57 +0000 (GMT) X-Original-To: gcc-patches@gcc.gnu.org Delivered-To: gcc-patches@gcc.gnu.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.133.124]) by sourceware.org (Postfix) with ESMTPS id BC1AC3839DF9 for ; Tue, 28 Nov 2023 12:44:32 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org BC1AC3839DF9 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org BC1AC3839DF9 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.133.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701175473; cv=none; b=rxT7l9yvTHQyxfITVFqabiyBS/alRKtjljOMHIN+QCyxLoJWWKcHQoGJhqBrgEWWrS5u5rvGCSBTcYKWffqz3k0N5pNOr7nwUSD16EBLN1aGluz+tZE+n59sbn6EEJt1VdmTHvxMLLv0VJx57Rwpxfq+BUNT8w1V/dnHdGi57Sc= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1701175473; c=relaxed/simple; bh=8I+8CcIlhhvm3f4s0XATTu7WTSN4AZ9NXh2g+lADdYg=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=icwHYRfjxNfA/J9S3WzI8h1lxOovA7AMxNr2LIGCIOa1tbUcaJNL0s1lb0OHopDU1e8oedZX7kQekBKrIUO8BC8iO2iCY/MhGbj/A+c0o0Tlx8++SJsRMXQ83pl+xAS3s7fyPZOfa82pnbsvtnsrtgQve8zLW/KpjwLQofYpiFc= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1701175472; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=H+xkUPMw6fU6puBL6dq2qIDIADL3MDMnPTkl3hMAMUY=; b=Fojqmmp40rjewc5ikrVsVw5Tey6CsteG1vie2/GvvJCiwHqn7j6H5bE0IssNG3pU5FAKgw 5JMsHF84YvXzegQO/80vYuc/0WmjjXxy8OE7WDlw3Bz9xmJEFafSN4OJhRPpTsJQ46qayD tRDAP4ZqZ5IFN74xBMFYThQ39w3DQu0= Received: from mimecast-mx02.redhat.com (mx-ext.redhat.com [66.187.233.73]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-212-eCJ_2iR6MD6rOdxGB_dSNw-1; Tue, 28 Nov 2023 07:44:31 -0500 X-MC-Unique: eCJ_2iR6MD6rOdxGB_dSNw-1 Received: from smtp.corp.redhat.com (int-mx02.intmail.prod.int.rdu2.redhat.com [10.11.54.2]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by mimecast-mx02.redhat.com (Postfix) with ESMTPS id AF3FC1C05134; Tue, 28 Nov 2023 12:44:30 +0000 (UTC) Received: from localhost (unknown [10.42.28.72]) by smtp.corp.redhat.com (Postfix) with ESMTP id 4049E40C6EB9; Tue, 28 Nov 2023 12:44:30 +0000 (UTC) From: Jonathan Wakely To: libstdc++@gcc.gnu.org, gcc-patches@gcc.gnu.org Subject: [committed] libstdc++: Include in Date: Tue, 28 Nov 2023 12:44:20 +0000 Message-ID: <20231128124429.2774070-1-jwakely@redhat.com> MIME-Version: 1.0 X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.2 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: gcc-patches@gcc.gnu.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Gcc-patches mailing list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: gcc-patches-bounces+ouuuleilei=gmail.com@gcc.gnu.org X-getmail-retrieved-from-mailbox: INBOX X-GMAIL-THRID: 1783811803446825919 X-GMAIL-MSGID: 1783811803446825919 Tested x86_64-linux. Pushed to trunk. Backports to follow. -- >8 -- This is needed in order to compile it as a header-unit, which might be desired because it's included by both and . libstdc++-v3/ChangeLog: * include/bits/atomic_wait.h: Include . --- libstdc++-v3/include/bits/atomic_wait.h | 1 + 1 file changed, 1 insertion(+) diff --git a/libstdc++-v3/include/bits/atomic_wait.h b/libstdc++-v3/include/bits/atomic_wait.h index 506b7f0cc9d..1460b1d8d5c 100644 --- a/libstdc++-v3/include/bits/atomic_wait.h +++ b/libstdc++-v3/include/bits/atomic_wait.h @@ -35,6 +35,7 @@ #include #if __glibcxx_atomic_wait +#include #include #include #include