From patchwork Thu Apr 4 16:42:03 2024
Content-Type: text/plain; charset="utf-8"
MIME-Version: 1.0
Content-Transfer-Encoding: 7bit
X-Patchwork-Submitter: David Malcolm
X-Patchwork-Id: 1919884
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=UpU+VHsq;
dkim-atps=neutral
Authentication-Results: legolas.ozlabs.org;
spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org
(client-ip=2620:52:3:1:0:246e:9693:128c; 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
[IPv6:2620:52:3:1:0:246e:9693:128c])
(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 4V9SBG3ssyz1yYn
for ; Fri, 5 Apr 2024 03:44:06 +1100 (AEDT)
Received: from server2.sourceware.org (localhost [IPv6:::1])
by sourceware.org (Postfix) with ESMTP id A55513858C62
for ; Thu, 4 Apr 2024 16:44:04 +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.129.124])
by sourceware.org (Postfix) with ESMTPS id 543CE3858C33
for ; Thu, 4 Apr 2024 16:42:13 +0000 (GMT)
DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 543CE3858C33
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 543CE3858C33
Authentication-Results: server2.sourceware.org;
arc=none smtp.remote-ip=170.10.129.124
ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1712248936; cv=none;
b=gh6Fsw5JBidDbHdl8/EtaLnPoIdM6FZ/92XwMvSk27DzJDXzuN09nlYEDowMMOTw5mmbOvhutCI2VLzA0zlxEH+ppX2kgCxwLOznX+9KTk/r9wLuF9Q4el+OFgs3jVrnMETpIWRG9CJ3HrVUhP7t1i7OEEW97VhV/zc9g7bZWdI=
ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key;
t=1712248936; c=relaxed/simple;
bh=/+OO4400LRT0wD0BeXv7GpOMXuO2awDJNHr0zRA+KSY=;
h=DKIM-Signature:From:To:Subject:Date:Message-Id:MIME-Version;
b=DFRpr3/z0SibbEoFJiQxelBPqxU+87usuclsFlT5oLLxrAZYOj2/Ra8LQX4CkFSsXxZZJv4KeelHG5QM7G3SeddpJbHod6Iep81O4uYg6uf6cM6XyO+2++Vs4ZMgWFAWrmF5OWp4r41burzjKay6kOPICge0VeAvvPNEiwD8xM8=
ARC-Authentication-Results: i=1; server2.sourceware.org
DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com;
s=mimecast20190719; t=1712248933;
h=from:from:reply-to:subject:subject:date:date:message-id:message-id:
to:to:cc:cc:mime-version:mime-version:content-type:content-type:
content-transfer-encoding:content-transfer-encoding:
in-reply-to:in-reply-to:references:references;
bh=Q/kvz8g45CiWmIT5qIfPibThUv8U3rQJoBrCpHfsAaM=;
b=UpU+VHsqOD+hN2XaNM9w5vx5i4Liy0Fw1Oy+FS+D+9b+JPvhqWxeiBRuRbA5y4WFhTGGrx
7IssYOP1ckhUQ7LWe4oxGrIuqWB+MCngZzp0c1GoPaM+9uyeRcFzqMO5DkM+51O7Yz5/HD
QHsVZTm29s9ri7Geqi7rI+i1kbXvRro=
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-303-vM4qRXw6PLeys3Y7jbUYJQ-1; Thu,
04 Apr 2024 12:42:10 -0400
X-MC-Unique: vM4qRXw6PLeys3Y7jbUYJQ-1
Received: from smtp.corp.redhat.com (int-mx07.intmail.prod.int.rdu2.redhat.com
[10.11.54.7])
(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 454233C11CC4
for ; Thu, 4 Apr 2024 16:42:10 +0000 (UTC)
Received: from t14s.localdomain.com (unknown [10.22.32.209])
by smtp.corp.redhat.com (Postfix) with ESMTP id 1E7FD1C060CE;
Thu, 4 Apr 2024 16:42:10 +0000 (UTC)
From: David Malcolm
To: gcc-patches@gcc.gnu.org
Cc: David Malcolm
Subject: [PATCH 4/9] wwwdocs: gcc-14: c++: note changes to source quoting in
template errors
Date: Thu, 4 Apr 2024 12:42:03 -0400
Message-Id: <20240404164208.2437213-5-dmalcolm@redhat.com>
In-Reply-To: <20240404164208.2437213-1-dmalcolm@redhat.com>
References: <20240404164208.2437213-1-dmalcolm@redhat.com>
MIME-Version: 1.0
X-Scanned-By: MIMEDefang 3.4.1 on 10.11.54.7
X-Mimecast-Spam-Score: 0
X-Mimecast-Originator: redhat.com
X-Spam-Status: No, score=-11.6 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_H4, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE,
SPF_NONE, TXREP 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+incoming=patchwork.ozlabs.org@gcc.gnu.org
Signed-off-by: David Malcolm
---
htdocs/gcc-14/changes.html | 7 +++++++
1 file changed, 7 insertions(+)
diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html
index f9ce4fe5..95ed00c9 100644
--- a/htdocs/gcc-14/changes.html
+++ b/htdocs/gcc-14/changes.html
@@ -262,6 +262,13 @@ a work-in-progress.
constinit
and optimized dynamic initialization
+
+
+ When a diagnostic occurrs involving a C++ template,
+ GCC will now quote the source code of the context at which
+ the template is instantiated ("required from here
"),
+ rather than just print filename and line/column numbers.
+
Runtime Library (libstdc++)