From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 4F3B73858C2A; Thu, 18 Jan 2024 18:41:30 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 4F3B73858C2A DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gcc.gnu.org; s=default; t=1705603290; bh=TJbft9IvpnbFV+JJcvynztNcaSq3S7NEL8dQ1wqY6jY=; h=From:To:Subject:Date:In-Reply-To:References:From; b=QAm06F3wcF7HP/S6hG4rKaAGOZayGnMFCAvrYgt3gOjzfnD7xyW1a8cJhXteGvBkK bS2+1xzPYYn7pU1k6PnbHSByDG/Lmh9kv2nOiCYcP7gOqO+NCG7gglbfrte5WvZW+W uJ6DXZM6c/8s6Tpowf54vgH80g44t8laCOhHUJZc= From: "cvs-commit at gcc dot gnu.org" To: gcc-bugs@gcc.gnu.org Subject: [Bug c/107942] [11/12/13/14 Regression] Documentation of the volatile style for noreturn is gone and const style for const attribute is gone Date: Thu, 18 Jan 2024 18:41:28 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: gcc X-Bugzilla-Component: c X-Bugzilla-Version: 13.0 X-Bugzilla-Keywords: documentation X-Bugzilla-Severity: normal X-Bugzilla-Who: cvs-commit at gcc dot gnu.org X-Bugzilla-Status: NEW X-Bugzilla-Resolution: X-Bugzilla-Priority: P3 X-Bugzilla-Assigned-To: unassigned at gcc dot gnu.org X-Bugzilla-Target-Milestone: 11.5 X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://gcc.gnu.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 List-Id: https://gcc.gnu.org/bugzilla/show_bug.cgi?id=3D107942 --- Comment #9 from GCC Commits --- The master branch has been updated by Sandra Loosemore : https://gcc.gnu.org/g:dbda6cd58308bf13bf9b367604cb459b1c627344 commit r14-8258-gdbda6cd58308bf13bf9b367604cb459b1c627344 Author: Sandra Loosemore 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 g= one. 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.=