]> git.ipfire.org Git - thirdparty/gcc.git/commit
Doc: Remove redundant info from documentation of -ansi.
authorSandra Loosemore <sloosemore@baylibre.com>
Wed, 12 Mar 2025 23:36:17 +0000 (23:36 +0000)
committerSandra Loosemore <sloosemore@baylibre.com>
Fri, 14 Mar 2025 00:19:20 +0000 (00:19 +0000)
commit81203220af87714fd0f3170a2043ab5d95353eef
tree47c3194ea6b8bfa6fefafa076095c55fe89707e9
parent82294e9e38a54a916e67123c5022f22528444324
Doc: Remove redundant info from documentation of -ansi.

The -ansi option has essentially been superseded by the more general
-std= option, and all the additional information about its effects is
already covered elsewhere in the manual.  I also cleaned up some
confusing text about alternate keywords that I noticed while
confirming this.

gcc/ChangeLog
* doc/extend.texi (Alternate Keywords): Clean up text and remove
discussion of "restrict", which is not a GNU extension at all.
* doc/invoke.texi (C Dialect Options): Remove detailed discussion.
gcc/doc/extend.texi
gcc/doc/invoke.texi