From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1666) id BB85C3858C2F; Mon, 17 Apr 2023 11:39:50 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org BB85C3858C2F DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1681731590; bh=wQO+V8PRhfRShD3UAwq+WrxakKsD4g2eF7uqNDvfynA=; h=To:Subject:Date:From:From; b=lp/KdU4PJ8GKf2fklE7LAWJfXBTwWcvbdSO5DaBs9iFQkZGiKarsZq/Tk9pUkYYuv c/mRH3ZsNxijmJ2E1WpLyujZ9O+c/FeqyjGjYPsa6h5ey6lRdBuNdmcBx++6sF4g9C /OjAMt6833h90VNnqXFavlSUU5zBIuy1W8cZobI4= To: gcc-cvs-wwwdocs@gcc.gnu.org Subject: gcc-wwwdocs branch master updated. c06f4956bbcb13837e52f58cadf07379645b0399 X-Git-Refname: refs/heads/master X-Git-Reftype: branch X-Git-Oldrev: c64a22493359c02392aed483d514c6d3a28832c4 X-Git-Newrev: c06f4956bbcb13837e52f58cadf07379645b0399 Message-Id: <20230417113950.BB85C3858C2F@sourceware.org> Date: Mon, 17 Apr 2023 11:39:50 +0000 (GMT) From: Richard Biener 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 c06f4956bbcb13837e52f58cadf07379645b0399 (commit) from c64a22493359c02392aed483d514c6d3a28832c4 (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 c06f4956bbcb13837e52f58cadf07379645b0399 Author: Richard Biener Date: Mon Apr 17 13:37:22 2023 +0200 [www] Move -fstrict-flex-arrays entry The following moves the -fstrict-flex-arrays option mentioning from "Other significant improvements" to "C family" since the option only applies there. diff --git a/htdocs/gcc-13/changes.html b/htdocs/gcc-13/changes.html index 84207104..f3b9afed 100644 --- a/htdocs/gcc-13/changes.html +++ b/htdocs/gcc-13/changes.html @@ -195,6 +195,13 @@ a work-in-progress.

assumptions support also in C or older C++: __attribute__((assume(EXPR))); +
  • GCC can now control when to treat the trailing array of a structure as a + flexible array member for the purpose of accessing the elements of such + an array. By default, all trailing arrays in aggregates are treated as + flexible array members. Use the new command-line option + -fstrict-flex-arrays + to control which array members are treated as flexible arrays. +
  • C

    @@ -708,17 +715,6 @@ a work-in-progress.

    Other significant improvements

    -

    Treating trailing arrays as flexible array members

    - -
      -
    • GCC can now control when to treat the trailing array of a structure as a - flexible array member for the purpose of accessing the elements of such - an array. By default, all trailing arrays in aggregates are treated as - flexible array members. Use the new command-line option - -fstrict-flex-arrays - to control which array members are treated as flexible arrays. -
    • -
    ----------------------------------------------------------------------- Summary of changes: htdocs/gcc-13/changes.html | 18 +++++++----------- 1 file changed, 7 insertions(+), 11 deletions(-) hooks/post-receive -- gcc-wwwdocs