aboutsummaryrefslogtreecommitdiff
path: root/gcc/doc
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@pfeifer.com>2011-02-18 00:10:26 +0000
committerGerald Pfeifer <gerald@gcc.gnu.org>2011-02-18 00:10:26 +0000
commitf73c8882148d957e05d446755b1038cb10115855 (patch)
treee0b1e842946e07b1973c052a2354ecc3620a8b0c /gcc/doc
parentd764a8e6bdae09aecb7a8378def9d900f84ce53e (diff)
downloadgcc-f73c8882148d957e05d446755b1038cb10115855.zip
gcc-f73c8882148d957e05d446755b1038cb10115855.tar.gz
gcc-f73c8882148d957e05d446755b1038cb10115855.tar.bz2
cpp.texi (Obsolete Features): Add background on the origin of assertions.
* doc/cpp.texi (Obsolete Features): Add background on the origin of assertions. From-SVN: r170261
Diffstat (limited to 'gcc/doc')
-rw-r--r--gcc/doc/cpp.texi7
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index 195fcda..328cc59 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -4200,9 +4200,10 @@ program will run on. Assertions are usually predefined, but you can
define them with preprocessing directives or command-line options.
Assertions were intended to provide a more systematic way to describe
-the compiler's target system. However, in practice they are just as
-unpredictable as the system-specific predefined macros. In addition, they
-are not part of any standard, and only a few compilers support them.
+the compiler's target system and we added them for compatibility with
+existing compilers. In practice they are just as unpredictable as the
+system-specific predefined macros. In addition, they are not part of
+any standard, and only a few compilers support them.
Therefore, the use of assertions is @strong{less} portable than the use
of system-specific predefined macros. We recommend you do not use them at
all.