From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1534) id 1FE3A3858D37; Tue, 16 Apr 2024 08:04:42 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 1FE3A3858D37 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1713254683; bh=kK5IGU+Qm0b3OTBTSW7lMBkYmU0DQTh83rQA4oh65/8=; h=To:Subject:Date:From:From; b=MrVEMk7E5nBntwDeOyTxO+ZVK4ALn+DWrJPDMp0EALXPnZvH+FnYWgw7glMcfMYbl K5ZOvNTv5QSzbNc3nXX7YmqahUkLvyQ14nQAgkE+Wczzng9b28GYIr9QVFpL7SYC8A mBZCr+Jy9j6qNPzbCiHKWBtV9nJY0DNvpuWisUAE= To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. 794555052d5c1d9a92298aba1fc4b645042946dd X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: c5e08294215518f00e9762cebe3d6f46f1f00526 X-Git-Newrev: 794555052d5c1d9a92298aba1fc4b645042946dd Message-Id: <20240416080443.1FE3A3858D37@sourceware.org> Date: Tue, 16 Apr 2024 08:04:42 +0000 (GMT) From: Tobias Burnus 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 794555052d5c1d9a92298aba1fc4b645042946dd (commit) from c5e08294215518f00e9762cebe3d6f46f1f00526 (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 794555052d5c1d9a92298aba1fc4b645042946dd Author: Tobias Burnus Date: Tue Apr 16 09:57:57 2024 +0200 gcc-14/changes.html + projects/gomp/: Fix OpenMP/OpenACC changes section/anchor In earlier release notes, OpenMP and OpenACC changes were under "New Languages and Language specific improvements", either directly under that section as in 4.2, 4.4, 4.7, 4.9, 5, 6 (+ c-family + Fortran), 10, 11, and 12 or under a subsection in 4.5 (Fortran), 4.8 (C++), 7 (Fortran), 9 (c-family). In gcc-13, the OpenMP and OpenACC ended up by chance under "General Improvements", which gcc-14 replicated. This commit does not touch gcc-13 to avoid breaking links, but it corrects the anchor used in the links to GCC 13 in projects/gomp/. However, for GCC 14, it moves the OpenMP/OpenACC changes to the language section. diff --git a/htdocs/gcc-14/changes.html b/htdocs/gcc-14/changes.html index b4c602a5..6035ae37 100644 --- a/htdocs/gcc-14/changes.html +++ b/htdocs/gcc-14/changes.html @@ -59,6 +59,75 @@ a work-in-progress.

General Improvements

+
    +
  • For offload-device code generated via OpenMP and OpenACC, the math + and the Fortran runtime libraries will now automatically be linked, + 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. +
  • +
  • + New configure options: --enable-host-pie, to build the + compiler executables as PIE; and --enable-host-bind-now, + to link the compiler executables with -Wl,-z,now in order + to enable additional hardening. +
  • +
  • + New option + -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, + 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 + functions. +
  • +
  • + New type attribute + hardbool, + for C and Ada. Hardened + booleans take user-specified representations for true + and false, presumably with higher hamming distance + than standard booleans, and get verified at every use, detecting + memory corruption and some malicious attacks. +
  • +
  • + New type attribute + 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 + or exception escaping. Scalar variables marked with the attribute + cause functions contaning or accessing them to get stack scrubbing + enabled implicitly. +
  • +
  • + New option + -finline-stringops, + to force inline + expansion of memcmp, memcpy, + memmove and memset, even when that is + not an optimization, to avoid relying on library + implementations. +
  • +
  • + + New function attribute + null_terminated_string_arg(PARAM_IDX) + for indicating parameters that are expected to be null-terminated + strings. +
  • +
+ +

New Languages and Language specific improvements

+
  • OpenMP
      @@ -136,73 +205,7 @@ a work-in-progress.

      acc_memcpy_from_device_async.
  • -
  • For offload-device code generated via OpenMP and OpenACC, the math - and the Fortran runtime libraries will now automatically be linked, - 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. -
  • -
  • - New configure options: --enable-host-pie, to build the - compiler executables as PIE; and --enable-host-bind-now, - to link the compiler executables with -Wl,-z,now in order - to enable additional hardening. -
  • -
  • - New option - -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, - 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 - functions. -
  • -
  • - New type attribute - hardbool, - for C and Ada. Hardened - booleans take user-specified representations for true - and false, presumably with higher hamming distance - than standard booleans, and get verified at every use, detecting - memory corruption and some malicious attacks. -
  • -
  • - New type attribute - 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 - or exception escaping. Scalar variables marked with the attribute - cause functions contaning or accessing them to get stack scrubbing - enabled implicitly. -
  • -
  • - New option - -finline-stringops, - to force inline - expansion of memcmp, memcpy, - memmove and memset, even when that is - not an optimization, to avoid relying on library - implementations. -
  • -
  • - - New function attribute - null_terminated_string_arg(PARAM_IDX) - for indicating parameters that are expected to be null-terminated - strings. -
- -

New Languages and Language specific improvements

diff --git a/htdocs/projects/gomp/index.html b/htdocs/projects/gomp/index.html index 798efb21..05b81f1e 100644 --- a/htdocs/projects/gomp/index.html +++ b/htdocs/projects/gomp/index.html @@ -314,7 +314,7 @@ than listed, depending on resolved corner cases and optimizations.

GCC 9
GCC 12
- GCC 13
+ GCC 13
GCC 14 @@ -378,7 +378,7 @@ than listed, depending on resolved corner cases and optimizations.

Non-rectangular loop nests - GCC 11
GCC 13 + GCC 11
GCC 13 C/C++ (full)
Fortran (partial, PR110735) @@ -435,7 +435,7 @@ than listed, depending on resolved corner cases and optimizations.

ancestor modifier on device clause GCC 12
- GCC 13 + GCC 13 Reverse offload unsupported
@@ -634,47 +634,47 @@ than listed, depending on resolved corner cases and optimizations.

device-specific ICV settings with environment variables - GCC 13 + GCC 13 assume and assumes directives - GCC 13 + GCC 13 inoutset argument to the depend clause - GCC 13 + GCC 13 omp_target_is_accessible runtime routine - GCC 13 + GCC 13 omp_target_memcpy_async and omp_target_memcpy_rect_async runtime routines - GCC 13 + GCC 13 omp_get_mapped_ptr runtime routine - GCC 13 + GCC 13 omp_all_memory reserved locator - GCC 13 + GCC 13 nowait clause in taskwait directive - GCC 13 + GCC 13 Support begin/end declare target syntax in C/C++ - GCC 13 + GCC 13 @@ -806,7 +806,7 @@ than listed, depending on resolved corner cases and optimizations.

omp_in_explicit_task routine and implicit-task-var ICV - GCC 13 + GCC 13 @@ -816,7 +816,7 @@ than listed, depending on resolved corner cases and optimizations.

Clauses on end directive can be on directive - GCC 13 + GCC 13 @@ -831,7 +831,7 @@ than listed, depending on resolved corner cases and optimizations.

linear clause syntax changes and step modifier - GCC 13 + GCC 13 @@ -856,7 +856,7 @@ than listed, depending on resolved corner cases and optimizations.

New enter clause as alias for to on declare target directive - GCC 13 + GCC 13 @@ -916,7 +916,7 @@ than listed, depending on resolved corner cases and optimizations.

allocate and firstprivate clauses on scope - GCC 13 + GCC 13 @@ -926,12 +926,12 @@ than listed, depending on resolved corner cases and optimizations.

Default map-type for the map clause in target enter/exit data - GCC 13 + GCC 13 New doacross clause as alias for depend with source/sink modifier - GCC 13 + GCC 13 @@ -941,7 +941,7 @@ than listed, depending on resolved corner cases and optimizations.

omp_cur_iteration keyword - GCC 13 + GCC 13 @@ -951,7 +951,7 @@ than listed, depending on resolved corner cases and optimizations.

Conforming device numbers and omp_initial_device and omp_invalid_device enum/PARAMETER - GCC 13 + GCC 13 @@ -1022,7 +1022,7 @@ error.

_ALL suffix to the device-scope environment variables - GCC 13 + GCC 13 Host device number wrongly accepted ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-14/changes.html | 135 ++++++++++++++++++++-------------------- htdocs/projects/gomp/index.html | 44 ++++++------- 2 files changed, 91 insertions(+), 88 deletions(-) hooks/post-receive -- gcc-wwwdocs