Doc and warning fixes.

From-SVN: r39580
This commit is contained in:
Anthony Green 2001-02-10 23:30:55 +00:00 committed by Anthony Green
parent 36b8ffbe4f
commit 3220116ffb
3 changed files with 16 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2001-02-10 Anthony Green <green@redhat.com>
* cpp.texi (Standard Predefined): Add documentation for
__OPTIMIZE_SIZE__.
* c-common.c (combine_strings): Improve warning message.
2001-02-10 Geoffrey Keating <geoffk@redhat.com>
* config/rs6000/sysv4.h (LINK_TARGET_SPEC): Use two dashes for

View File

@ -466,7 +466,7 @@ combine_strings (strings)
nchars = wide_flag ? length / wchar_bytes : length;
if (pedantic && nchars - 1 > nchars_max && c_language == clk_c)
pedwarn ("string length `%d' is greater than the minimum length `%d' ISO C%d is required to support",
pedwarn ("string length `%d' is greater than the length `%d' ISO C%d compilers are required to support",
nchars - 1, nchars_max, flag_isoc99 ? 99 : 89);
/* Create the array type for the string constant.

View File

@ -1191,6 +1191,14 @@ 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 __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