This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Patch: document __OPTIMIZE_SIZE__
- To: gcc-patches at gcc dot gnu dot org
- Subject: Patch: document __OPTIMIZE_SIZE__
- From: Anthony Green <green at cygnus dot com>
- Date: Sat, 10 Feb 2001 07:05:47 -0800 (PST)
- Reply-to: green at cygnus dot com
This adds some missing documentation. Ok to commit?
2001-02-10 Anthony Green <green@redhat.com>
* cpp.texi (Standard Predefined): Add documentation for
__OPTIMIZE_SIZE__.
Index: gcc/cpp.texi
===================================================================
RCS file: /cvs/gcc/gcc/gcc/cpp.texi,v
retrieving revision 1.45
diff -c -r1.45 cpp.texi
*** cpp.texi 2001/02/02 19:39:46 1.45
--- cpp.texi 2001/02/10 14:55:08
***************
*** 1191,1196 ****
--- 1191,1204 ----
this macro unless you make very sure that programs will execute with the
same effect regardless.
+ @item __OPTIMIZE_SIZE__
+ @findex __OPTIMIZE_SIZE__
+ GNU CC defines this macro when optimizing for size with @samp{-Os}. It
+ causes certain GNU header files to define alternative macro definitions
+ for some system library functions. You should not refer to or test the
+ definition of this macro unless you make very sure that programs will
+ execute with the same effect regardless.
+
@item __CHAR_UNSIGNED__
@findex __CHAR_UNSIGNED__
GNU C defines this macro if and only if the data type @code{char} is