]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
invoke.texi (C Dialect Options): Remove -flang-c9x, add -std documentation.
authorMartin v. Löwis <loewis@informatik.hu-berlin.de>
Tue, 7 Dec 1999 21:58:00 +0000 (21:58 +0000)
committerMartin v. Löwis <loewis@gcc.gnu.org>
Tue, 7 Dec 1999 21:58:00 +0000 (21:58 +0000)
* invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
documentation.

From-SVN: r30818

gcc/ChangeLog
gcc/invoke.texi

index 7621becdf7c96fd0e9455236927a9ad3064fac66..6fa5342a54022c6e50e18ab52a65bba7b6a16930 100644 (file)
@@ -1,3 +1,8 @@
+1999-12-07  Martin v. Löwis  <loewis@informatik.hu-berlin.de>
+
+       * invoke.texi (C Dialect Options): Remove -flang-c9x, add -std
+       documentation.
+
 Sun Oct 31 22:32:17 1999  Alexandre Oliva  <oliva@lsd.ic.unicamp.br>
 
        * config/i386/sol2gas.h: I had installed the wrong version of Sept
index 230174c036c6ed62c813a79545ff533d8b7cf019..571348e151fcef87d14c86f70c3c1ba35c9c4852 100644 (file)
@@ -93,7 +93,7 @@ in the following sections.
 @item C Language Options
 @xref{C Dialect Options,,Options Controlling C Dialect}.
 @smallexample
--ansi -flang-isoc9x -fallow-single-precision  -fcond-mismatch  -fno-asm
+-ansi -fstd  -fallow-single-precision  -fcond-mismatch  -fno-asm
 -fno-builtin  -ffreestanding  -fhosted  -fsigned-bitfields  -fsigned-char
 -funsigned-bitfields  -funsigned-char  -fwritable-strings
 -traditional  -traditional-cpp  -trigraphs
@@ -667,14 +667,37 @@ programs that might use these names for other things.
 The functions @code{alloca}, @code{abort}, @code{exit}, and
 @code{_exit} are not builtin functions when @samp{-ansi} is used.
 
-@item -flang-isoc9x
-Enable support for features found in the C9X standard.  In particular,
-enable support for the C9X @code{restrict} keyword.  
+@item -fstd=
+Determine the language standard.  A value for this option must be provided;
+possible values are 
 
-Even when this option is not specified, you can still use some C9X
-features in so far as they do not conflict with previous C standards.
-For example, you may use @code{__restrict__} even when -flang-isoc9x
-is not specified. 
+@itemize @minus
+@item iso9899:1990
+Same as -ansi
+
+@item iso9899:199409
+ISO C as modified in amend. 1
+
+@item iso9899:199x
+ISO C 9x
+
+@item c89
+same as -std=iso9899:1990
+
+@item c9x
+same as -std=iso9899:199x
+
+@item gnu89
+default, iso9899:1990 + gnu extensions
+
+@item gnu9x
+iso9899:199x + gnu extensions
+@end itemize
+
+Even when this option is not specified, you can still use some of the
+features of newer standards in so far as they do not conflict with
+previous C standards.  For example, you may use @code{__restrict__} even
+when -fstd=c9x is not specified.
 
 @item -fno-asm
 Do not recognize @code{asm}, @code{inline} or @code{typeof} as a