From patchwork Fri Jan 24 15:25:44 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Lewis Hyatt X-Patchwork-Id: 1228861 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Authentication-Results: ozlabs.org; spf=pass (sender SPF authorized) smtp.mailfrom=gcc.gnu.org (client-ip=209.132.180.131; helo=sourceware.org; envelope-from=gcc-patches-return-518225-incoming=patchwork.ozlabs.org@gcc.gnu.org; receiver=) Authentication-Results: ozlabs.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: ozlabs.org; dkim=pass (1024-bit key; unprotected) header.d=gcc.gnu.org header.i=@gcc.gnu.org header.a=rsa-sha1 header.s=default header.b=iw1KZ2x4; dkim=pass (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20161025 header.b=P8u1Nruh; dkim-atps=neutral Received: from sourceware.org (server1.sourceware.org [209.132.180.131]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 4842zB5SnPz9sNx for ; Sat, 25 Jan 2020 02:25:57 +1100 (AEDT) DomainKey-Signature: a=rsa-sha1; c=nofws; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; q=dns; s=default; b=Sw6y0SypbaUTR5ch XPotigYFpiWsVY/Lyhy5s65mjAOQotsKRCcehBjTbW9eW9+deaBiB1WnJzRMbD5k AsoLQ+FjbfSoXncZY1GMpXLbjtxziZBWqZyo+z+WTgr1eqXucZR40+ZCLrlB5FWw qdlRBqHCeh3YAfzjjjZq1X0aa7o= DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=gcc.gnu.org; h=list-id :list-unsubscribe:list-archive:list-post:list-help:sender:date :from:to:subject:message-id:mime-version:content-type :content-transfer-encoding; s=default; bh=XKp79DKbrdXrGt3WOR8iYg ef3xI=; b=iw1KZ2x492PTei5JQ2SUOhPhkeKQKcYyD47iCzjOx6oPh1agBsBlxb /w9voZCH33Pq/JZ1QIML3bdlYtUtip7+AUFBz9V1aJdejDPYKEBioUnUKiJ6VeYh I+sPuHJIiY5nkfpOrS9UDCvhyJzqVhuOjkKDhhrk1Lk1ZMGM28jaA= Received: (qmail 97975 invoked by alias); 24 Jan 2020 15:25:50 -0000 Mailing-List: contact gcc-patches-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Archive: List-Post: List-Help: Sender: gcc-patches-owner@gcc.gnu.org Delivered-To: mailing list gcc-patches@gcc.gnu.org Received: (qmail 97965 invoked by uid 89); 24 Jan 2020 15:25:49 -0000 Authentication-Results: sourceware.org; auth=none X-Spam-SWARE-Status: No, score=-24.6 required=5.0 tests=AWL, BAYES_00, FREEMAIL_FROM, GIT_PATCH_0, GIT_PATCH_1, GIT_PATCH_2, GIT_PATCH_3, KAM_NUMSUBJECT, KAM_SHORT, RCVD_IN_DNSWL_NONE, SPF_PASS autolearn=ham version=3.3.1 spammy=HX-Received:sk:d11mr25, suggesting, HContent-Transfer-Encoding:8bit X-HELO: mail-qt1-f176.google.com Received: from mail-qt1-f176.google.com (HELO mail-qt1-f176.google.com) (209.85.160.176) by sourceware.org (qpsmtpd/0.93/v0.84-503-g423c35a) with ESMTP; Fri, 24 Jan 2020 15:25:48 +0000 Received: by mail-qt1-f176.google.com with SMTP id w8so1753090qts.11 for ; Fri, 24 Jan 2020 07:25:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:subject:message-id:mime-version:content-disposition :content-transfer-encoding:user-agent; bh=K5+0Q6fbnzRchGUCrHYUpUHTC+FTvRBwpLw+5Q0K2ZY=; b=P8u1Nruh/rg5tXv2RIih3vVxHAekmNSXxsrqcHvoDbZPaUOgQRSBycvcCdyfhMzOTq TLENACxF5LAQnvFIK+wH58Kn6PMw9pa2Wir4lj0I4wdd9deZRrdlh2iWQTCncO+GofE+ UuyKr+SEY1H4jP3zyvm63C20QnehY6h75sk9zQQybbx8Y0qu08XMRuhA1liSTg1qYwt6 uMWXBKseDnwBDnJgjHekt3QY3oyfWYBzGgf5KXiF5FbPVI3cQPyImRA0Z5/FkF9of8hW 6di3Fljx5/adFb/+e1ChZ+LP1jm3PUY5YEBE3lSTe4OGeESYM37T2DKRQZDWw5BE6Mxp IqsQ== Received: from ldh.local (944c6a92.cst.lightpath.net. [148.76.106.146]) by smtp.gmail.com with ESMTPSA id i16sm3207806qkh.120.2020.01.24.07.25.45 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 24 Jan 2020 07:25:45 -0800 (PST) Date: Fri, 24 Jan 2020 10:25:44 -0500 From: Lewis Hyatt To: gcc-patches@gcc.gnu.org Subject: [PATCH] wwwdocs: Document support for extended identifiers added to GCC 10 Message-ID: <20200124152544.GA97856@ldh.local> MIME-Version: 1.0 Content-Disposition: inline User-Agent: Mutt/1.12.1 (2019-06-15) X-IsSubscribed: yes Hello- There was a comment on PR67224: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=67224#c33 suggesting to document this feature in changes.html. Here would be my suggestion, in case that's desirable. Thanks! -Lewis commit 6aad009fb93ced5fc79867a79a9021adec0d23d1 Author: Lewis Hyatt Date: Tue Jan 14 18:52:20 2020 -0500 Document support for extended identifiers added to GCC 10 in changes.html diff --git a/htdocs/gcc-10/changes.html b/htdocs/gcc-10/changes.html index ef27c9bb..1f6c03cd 100644 --- a/htdocs/gcc-10/changes.html +++ b/htdocs/gcc-10/changes.html @@ -204,6 +204,15 @@ a work-in-progress.

with the new attribute access. +
  • Extended characters in identifiers may now be specified directly in + the input encoding (UTF-8, by default), in addition to the UCN syntax + (\uNNNN or \UNNNNNNNN) that is already + supported: +
    +static const int π = 3;
    +int get_naïve_pi() {
    +  return π;
    +}
  • C