From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-wr1-x431.google.com (mail-wr1-x431.google.com [IPv6:2a00:1450:4864:20::431]) by sourceware.org (Postfix) with ESMTPS id 4E0403858CDB for ; Thu, 18 Apr 2024 13:28:41 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 4E0403858CDB Authentication-Results: sourceware.org; dmarc=pass (p=quarantine dis=none) header.from=adacore.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=adacore.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 4E0403858CDB Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=2a00:1450:4864:20::431 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713446924; cv=none; b=b0cH1iOEmDZKrtUpWOd4aiz+n45T+9wKCB7KN/QwvbduTjBdhBCdamoIy10o0cgekdSXLM2StA6U0zL1dDXdTeKfZJvDDgXG7Yy8W4gvRoBs3LHco5dAyaxK+17qFi1ZKJGwsUvlf4X03lwFPJ4vme+/gVn6/CSQHOaKKqiCyio= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1713446924; c=relaxed/simple; bh=ZBT1Yo/dAB/iesWwc9Dvydd/f8v78mIHC4QQJPc7dnc=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=ZOMzmvKQeLoiF8OEVHibwxlzkNzD8M0S6IqHIMBkY8767XVH+2rnejUXjjD/eoclSmXJ/2EhsFXOdl7h5nToLCUh1ovPyszSwDPqBDlVxRAxiEkKZ+rr4n1mCSiOpy3RDICsoKkv/5brbx6uHjpVcenRKhm9R4sfxaApIQvbGGE= ARC-Authentication-Results: i=1; server2.sourceware.org Received: by mail-wr1-x431.google.com with SMTP id ffacd0b85a97d-345522f7c32so351565f8f.0 for ; Thu, 18 Apr 2024 06:28:41 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=adacore.com; s=google; t=1713446920; x=1714051720; darn=gcc.gnu.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to; bh=571yv/2sRLJOrBQAU3OiIkkH0ywALz3jOHOPwubUBI8=; b=CuSJ2TISU7bqRNUsSe1bj0PbFhG3hnSY9FmubUwUmN5+AXS+F0FRmDzObuG/Fpy4BM bOaKM3wBzpDjHVXh90Lqz5jX97P5BTI4xqvGNY1mf1U9Nhi4ja03mZt3StMNDwrQOabL M5DmnYn30fbEbHFhFWKcmvCYLYGUKfTUOWUx5+JH4kmKCFbZHNKvNbtABC/TUsRQq1Ne 0uNXftUfLP60rS3h45pOl8QSFlONKRp08Z1x+ten0zYGiqHHNCnMjm0HzeHmmAmfNv+j 0N6ElbU6nul1OT3OagAKjgvYcj8bqCkPXY/hcf0ODQuMzdUo3DaCmkLjub2RnmNYQBa6 UuZA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1713446920; x=1714051720; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=571yv/2sRLJOrBQAU3OiIkkH0ywALz3jOHOPwubUBI8=; b=OsXoi+75E5pD2SKuRNM+EpXFmCt/cjyzn1uBWQ3byN8HMC25mLSniqumoKbt7Pt3S5 Ct8TwD2bHPf9znToIrN9s60R1jT5eCsr5QwM6xmcxP7wW3gXXgxb/elBT486DwsVRZ6L jFXq6UgJzB11PsNZ4NWMG7n/4UOKahbDZ+rpQyqodJyYBpQ5NJ2XNWdg8vOtaZPuRyps EjNuT3r+D1VFUsKpzEIK8hv/f1XMa2q0+7fWdsAVTx8CelwhggMqbDzSl2xNPR5Ut0yu k8an21sIpeD0WVD3jwZW2dGnTuZeQ0dzyTrd3e7bqOxEPnDgjbG+sIHGspMX++6zQaiq HMaA== X-Forwarded-Encrypted: i=1; AJvYcCUtkFMKp3xLeX6t/QreHVMW0zItTDbF+5CxAt+rsNJ65u4R285Z2onXc+PYOijFZIEc6PbnaBJhd0gsl7ORtaPQ5dVzZUe6vg== X-Gm-Message-State: AOJu0YyCrw8PR+Bu72YD/smupZc5hD3VRo/KpC65Qo8ElyxrVR9Gxn3l o4J8L0YisRxxzHDEPItQzHsBXyBWE2zxh3Fc4e21Z1rXraJchV12dgyddELD7Q== X-Google-Smtp-Source: AGHT+IG2tn/ukn8LD99SIlfrE63TB53cCKjNoYXb7FbvOoKzooTc2pPiVG5lK1rCaIjah5tK1xS2Fw== X-Received: by 2002:adf:f242:0:b0:343:3a67:85f4 with SMTP id b2-20020adff242000000b003433a6785f4mr1957696wrp.41.1713446919887; Thu, 18 Apr 2024 06:28:39 -0700 (PDT) Received: from poulhies-Precision-5550.telnowedge.local (lmontsouris-659-1-24-67.w81-250.abo.wanadoo.fr. [81.250.175.67]) by smtp.gmail.com with ESMTPSA id u6-20020a5d6da6000000b00346ab3c372bsm1875219wrs.73.2024.04.18.06.28.38 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 18 Apr 2024 06:28:39 -0700 (PDT) From: =?UTF-8?q?Marc=20Poulhi=C3=A8s?= To: irvise_ml@irvise.xyz Cc: charlet@adacore.com, gcc-patches@gcc.gnu.org, =?UTF-8?q?Marc=20Poulhi=C3=A8s?= Subject: [PATCH v2] gcc-14: Add Ada changes Date: Thu, 18 Apr 2024 15:24:01 +0200 Message-ID: <20240418132756.164412-1-poulhies@adacore.com> X-Mailer: git-send-email 2.43.2 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Spam-Status: No, score=-13.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,GIT_PATCH_0,KAM_SHORT,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,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 List-Id: Co-authored-by: Fernando Oleo Blanco --- Hello Fernando, Thanks again for your changes. After consulting other colleagues, I'm proposing this revised version. Does that look ok to you? As it was simpler I've created a new commit with a Co-authored-by line, but can easily change that if you prefer. Marc htdocs/gcc-14/changes.html | 69 +++++++++++++++++++++++++++++++++++++- 1 file changed, 68 insertions(+), 1 deletion(-) diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index b4c602a5..ca2ee1eb 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -204,7 +204,74 @@ a work-in-progress.

New Languages and Language specific improvements

- +

Ada

+ +
    +
  • New implementation-defined aspects and pragmas: +
      +
    • Local_Restrictions, + which specifies that a particular subprogram does not violate one or more + local restrictions, nor can it call a subprogram that is not subject to + the same requirements.
    • +
    • User_Aspect_Definition + and User_Aspect, + which provide a mechanism for avoiding textual duplication if some set of + aspect specifications is needed in multiple places.
    • +
    +
  • +
  • New implementation-defined aspects and pragmas for verification of the + SPARK 2014 subset of Ada: +
      +
    • Always_Terminates, + which provides a condition for a subprogram to necessarily complete + (either return normally or raise an exception).
    • +
    • Ghost_Predicate, + which introduces a subtype predicate that can reference Ghost entities. +
    • +
    • Exceptional_Cases, + which lists exceptions that might be propagated by the subprogram with + side effects in the context of its precondition and associates them with a + specific postcondition. +
    • +
    • Side_Effects, + which indicates that a function should be handled like a procedure with + respect to parameter modes, Global contract, exceptional contract and + termination: it may have output parameters, write global variables, raise + exceptions and not terminate.
    • +
    +
  • +
  • The new attributes and contracts have been applied to the relevant parts + of the Ada runtime library, which has been subsequently proven to be correct + with SPARK 2014.
  • +
  • Initial support for the + CHERI + architecture.
  • +
  • Support for the LoongArch architecture.
  • +
  • Support for vxWorks 7 Cert RTP has been removed.
  • +
  • Additional hardening improvements. For more information reltated to + hardening options, refer to + the GCC + Instrumentation Options and + the GNAT + Reference Manual, Security and Hardening Features. +
  • +
  • Improve style checking for redundant parentheses + with -gnatyz
  • +
  • New + switch -gnateH + to force reverse Bit_Order threshold to 64.
  • +
  • Experimental features: +
      Storage + Model: this feature proposes to redesign the concepts of Storage Pools + into a more efficient model allowing higher performances and easier + integration with low footprint embedded run-times.
    + +
  • +
  • Bug fixes, refactorization and streamlining of the finalization machinery + for declared objects.
  • +
  • Further clean up and improvements to the GNAT code.
  • +
-- 2.43.2