From patchwork Wed Oct 9 13:01:50 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: Jonathan Wakely
X-Patchwork-Id: 1994861
Return-Path:
X-Original-To: incoming@patchwork.ozlabs.org
Delivered-To: patchwork-incoming@legolas.ozlabs.org
Authentication-Results: legolas.ozlabs.org;
dkim=pass (1024-bit key;
unprotected) header.d=redhat.com header.i=@redhat.com header.a=rsa-sha256
header.s=mimecast20190719 header.b=ZpuQjd+E;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org
(client-ip=8.43.85.97; helo=server2.sourceware.org;
envelope-from=gcc-patches-bounces~incoming=patchwork.ozlabs.org@gcc.gnu.org;
receiver=patchwork.ozlabs.org)
Received: from server2.sourceware.org (server2.sourceware.org [8.43.85.97])
(using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)
key-exchange X25519 server-signature ECDSA (secp384r1) server-digest SHA384)
(No client certificate requested)
by legolas.ozlabs.org (Postfix) with ESMTPS id 4XNtNX257gz1xsq
for ; Thu, 10 Oct 2024 00:03:08 +1100 (AEDT)
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id 7A98A386D60F
for ; Wed, 9 Oct 2024 13:03:06 +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 ESMTP id 6F58238650D6
for ; Wed, 9 Oct 2024 13:02:05 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 6F58238650D6
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 6F58238650D6
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=1728478927; cv=none;
b=AVHOC98ovpix7B72iKjh7KM/rKQaks1ZqTck7O4558twTztrvQkFuiMG02xCZhtKtRlD/TS7M6E1ss+5+BJD6Ck7+Jg2OQMjGjW/iCy0gRa1KbZWUKUTxY/goQtFM5pHI8bi7J2VyAZX7rqjevWeZtJszT3AkeXNgFbHqyfMOn0=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1728478927; c=relaxed/simple;
bh=a3+BGvesJVgTfi736knMgKrgwzL3FmJC6Xwq+5G7QiY=;
h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version;
b=l7BZkkt9KRjRAmIQcbAiZpAsPfItUdTGvLgmS8ec6lGfxxmCqcWHkJ96eH7L+nILPNVS8zzElY7u/B9sfs8aulUIzqRqORYqwptd2gHGOm7syhTHoEAHEKs12P8+5NhXzarpgNeayy5YdIdd/HQeyA3ScqWk5KILfAKxAVQBh38=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1728478925;
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=CqsClsjeWJgMRqPrY/adU+ZeEQpUIzY/TflrqwCNBiw=;
b=ZpuQjd+Emq54/sZacF0elH9ZvYrQjerU5yQW0MCOaWLWTFuZgpDPsn/LrM0PrHLY2Lcoxz
yMJ734faadU2muPzoOwLNTLygyKARNvF+84wjxTtQ72qcyrwXhzQvic8ovQfI3kS5cvds8
qJJ8Im4F+6U8vtBO6V4+nhR3f2NJFjo=
Received: from mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com
(ec2-54-186-198-63.us-west-2.compute.amazonaws.com [54.186.198.63]) by
relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3,
cipher=TLS_AES_256_GCM_SHA384) id us-mta-38-PPa1xo81P5iBuRcfByuIvw-1; Wed,
09 Oct 2024 09:02:01 -0400
X-MC-Unique: PPa1xo81P5iBuRcfByuIvw-1
Received: from mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com
(mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com [10.30.177.12])
(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 mx-prod-mc-04.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTPS
id CE36D19560B0; Wed, 9 Oct 2024 13:02:00 +0000 (UTC)
Received: from localhost (unknown [10.42.28.136])
by mx-prod-int-03.mail-002.prod.us-west-2.aws.redhat.com (Postfix) with ESMTP
id 315EC19560A2; Wed, 9 Oct 2024 13:01:59 +0000 (UTC)
From: Jonathan Wakely
To: gcc-patches@gcc.gnu.org,
libstdc++@gcc.gnu.org
Subject: [wwwdocs] Document defining _GLIBCXX_ASSERTIONS for -O0
Date: Wed, 9 Oct 2024 14:01:50 +0100
Message-ID: <20241009130158.585173-1-jwakely@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 3.0 on 10.30.177.12
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
X-Spam-Status: No, score=-11.8 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH,
DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0,
KAM_NUMSUBJECT, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL,
SPF_HELO_NONE, SPF_NONE,
TXREP autolearn=unavailable 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~incoming=patchwork.ozlabs.org@gcc.gnu.org
---
Pushed to wwwdocs.
htdocs/gcc-15/changes.html | 3 +++
1 file changed, 3 insertions(+)
diff --git a/htdocs/gcc-15/changes.html b/htdocs/gcc-15/changes.html
index ad0daf04..805a6703 100644
--- a/htdocs/gcc-15/changes.html
+++ b/htdocs/gcc-15/changes.html
@@ -93,6 +93,9 @@ a work-in-progress.
Runtime Library (libstdc++)
+ - Debug assertions are now enabled by default for unoptimized builds.
+ Use
-D_GLIBCXX_NO_ASSERTIONS
to override this.
+
- Improved experimental support for C++26, including: