https://gcc.gnu.org/bugzilla/show_bug.cgi?id=107942

--- Comment #9 from GCC Commits <cvs-commit at gcc dot gnu.org> ---
The master branch has been updated by Sandra Loosemore <san...@gcc.gnu.org>:

https://gcc.gnu.org/g:dbda6cd58308bf13bf9b367604cb459b1c627344

commit r14-8258-gdbda6cd58308bf13bf9b367604cb459b1c627344
Author: Sandra Loosemore <san...@codesourcery.com>
Date:   Thu Jan 18 18:28:22 2024 +0000

    Restore documentation for const/volatile functions [PR107942]

    In r5-7698-g8648c55f3b703a I accidentally removed the documentation of
    GCC's special interpretation of const/volatile qualifiers on functions
    from the function attributes section, thinking this was just a
    bit-rotten leftover from old versions of GCC.  PR107942 points out
    that this functionality is still present even though the docs are now gone.

    I decided this material didn't really belong in the function
    attributes discussion, but a new subsection in the general list of GCC
    extensions to the C language.  And I agree with the comment in the
    issue that we shouldn't really recommend this usage any more.

    gcc/ChangeLog
            PR c/107942
            * doc/extend.texi (C Extensions): Add new section to menu.
            (Function Attributes):  Move dangling index entries to....
            (Const and Volatile Functions): New section.
  • [Bug c/107942] [11/12/13/14 Reg... cvs-commit at gcc dot gnu.org via Gcc-bugs

Reply via email to