From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 2153) id 8A0E63858417; Tue, 7 May 2024 06:34:43 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 8A0E63858417 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1715063683; bh=M3pFFHFX/XcgWHRuV1GSqHGqTAaHulyqvTR1/Vt9WHA=; h=To:Subject:Date:From:From; b=aVcfUpIFlHFgxB5lTKLVP2W5LO2mb2gDzFtNYKE2WElXfj91MnkkDdXqURdvcqB3p h+FWfgF6RGWq4XYEyHLYAQrR45LEoaYrh2xHsa1xYko3A/UwCXMUoUoEgP0c+19KyI fBIWTDcsmLZExRwZxQOEQZ0VYt+K8gE2NUtw2fPE= To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 8095e54fa7c659dc5b00ddc4ff4e48a30dfaa1f2 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: b018ddd6e4b85c37ea3129b567c1f67717a40132 X-Git-Newrev: 8095e54fa7c659dc5b00ddc4ff4e48a30dfaa1f2 Message-Id: <20240507063443.8A0E63858417@sourceware.org> Date: Tue, 7 May 2024 06:34:43 +0000 (GMT) From: Jakub Jelinek List-Id: This is an automated email from the git hooks/post-receive script. It was generated because a ref change was pushed to the repository containing the project "gcc-wwwdocs". The branch, master has been updated via 8095e54fa7c659dc5b00ddc4ff4e48a30dfaa1f2 (commit) from b018ddd6e4b85c37ea3129b567c1f67717a40132 (commit) Those revisions listed above that are new to this repository have not appeared on any other notification email; so we list those revisions in full, below. - Log ----------------------------------------------------------------- commit 8095e54fa7c659dc5b00ddc4ff4e48a30dfaa1f2 Author: Jakub Jelinek Date: Tue May 7 08:32:45 2024 +0200 Adjust onlinedocs references to 14.1.0. diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index 82906de1..28e5da9f 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -32,12 +32,12 @@ a work-in-progress.

Support for the GCC extension, a structure containing a C99 flexible array member, or a union containing such a structure, is not the last field of another structure, is deprecated. Refer to - + Zero Length Arrays. Any code relying on this extension should be modifed to ensure that C99 flexible array members only end up at the ends of structures. Please use the warning option - -Wflex-array-member-not-at-end to + -Wflex-array-member-not-at-end to identify all such cases in the source code and modify them.
  • C: @@ -45,7 +45,7 @@ a work-in-progress.

    Porting to GCC 14 for details.
  • -
  • -fcf-protection=[full|branch|return|none|check] +
  • -fcf-protection=[full|branch|return|none|check] is refactored, to override -fcf-protection, -fcf-protection=none needs to be added and then with -fcf-protection=xxx. @@ -58,7 +58,7 @@ a work-in-progress.

    declared obsolete in GCC 14, and the sources will also be removed in the next release of GCC.
  • -
  • -fanalyzer +
  • -fanalyzer is still only suitable for analyzing C code. In particular, using it on C++ is unlikely to give meaningful output.
  • @@ -74,7 +74,7 @@ a work-in-progress.

    when the user or compiler links them on the host side. Thus, it is no longer required to explicitly pass -lm and/or -lgfortran to the offload-device linker using the -foffload-options= flag.
  • @@ -85,14 +85,14 @@ a work-in-progress.

  • New option - -fhardened, + -fhardened, an umbrella option that enables a set of hardening flags. The options it enables can be displayed using the --help=hardened option.
  • New option - -fharden-control-flow-redundancy, + -fharden-control-flow-redundancy, to verify, at the end of functions, that the visited basic blocks correspond to a legitimate execution path, so as to detect and prevent attacks that transfer control into the middle of @@ -100,7 +100,7 @@ a work-in-progress.

  • New type attribute - hardbool, + hardbool, for C and Ada. Hardened booleans take user-specified representations for true and false, presumably with higher hamming distance @@ -109,7 +109,7 @@ a work-in-progress.

  • New type attribute - strub + strub to control stack scrubbing properties of functions and variables. The stack frame used by functions marked with the attribute gets zeroed-out upon returning @@ -119,7 +119,7 @@ a work-in-progress.

  • New option - -finline-stringops, + -finline-stringops, to force inline expansion of memcmp, memcpy, memmove and memset, even when that is @@ -129,7 +129,7 @@ a work-in-progress.

  • New function attribute - null_terminated_string_arg(PARAM_IDX) + null_terminated_string_arg(PARAM_IDX) for indicating parameters that are expected to be null-terminated strings.
  • @@ -287,7 +287,7 @@ a work-in-progress.

  • Support for vxWorks 7 Cert RTP has been removed.
  • Additional hardening improvements. For more information reltated to hardening options, refer to - the GCC + the GCC Instrumentation Options and the GNAT Reference Manual, Security and Hardening Features. @@ -446,7 +446,7 @@ a work-in-progress.

    warning does not warn about std::span-like classes; there is also a new attribute gnu::no_dangling to suppress the warning. See - the manual + the manual for more info.
  • noexcept(expr) is now mangled as per the Itanium ABI
  • the named return value optimization can now be performed even for @@ -456,7 +456,7 @@ a work-in-progress.

  • New -Wnrvo warning, to warn if the named return value optimization is not performed although it is allowed by [class.copy.elision]. See - the manual + the manual for more info.
  • The backing array for std::initializer_list has been made static, allowing combining multiple equivalent initializer-lists @@ -500,7 +500,7 @@ a work-in-progress.

    (PR18474)
  • Attributes hot and cold can be applied to classes as well. See - the manual + the manual for more info.
  • Function template constraints, as well as CTAD placeholders, are now mangled
  • @@ -748,7 +748,7 @@ a work-in-progress.

  • The option -mtp= is now supported for changing the TPIDR register used for TLS accesses. For more details please refer to the - + documentation.
  • @@ -856,9 +856,9 @@ __asm (".global __flmap_lock" "\n\t" The default is to locate read-only data in program memory for devices that support it, e.g. for AVR64* and AVR128* devices as explained above, and for devices from the - avrxmega3 + avrxmega3 and - avrtiny families. + avrtiny families.
  • The new built-in macro __AVR_RODATA_IN_RAM__ is supported on all devices. It's defined to 0 or 1. @@ -866,7 +866,7 @@ __asm (".global __flmap_lock" "\n\t"
  • A new optimization tries to improve code generation for indirect memory accesses on - Reduced Tiny devices. It can be controlled by the new compiler option -mfuse-add=level where level @@ -977,7 +977,7 @@ __asm (".global __flmap_lock" "\n\t"

    LoongArch