This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Patch: document __OPTIMIZE_SIZE__



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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]