From 40490c8afd02b1052edca3f79e0010977975f9c8 Mon Sep 17 00:00:00 2001 From: Gerald Pfeifer Date: Fri, 25 Feb 2011 23:20:40 +0000 Subject: [PATCH] cpp.texi (Obsolete Features): Add background on the origin of assertions. * doc/cpp.texi (Obsolete Features): Add background on the origin of assertions. Update copyright years. From-SVN: r170506 --- gcc/ChangeLog | 6 ++++++ gcc/doc/cpp.texi | 9 +++++---- 2 files changed, 11 insertions(+), 4 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index e1b60e6400e1..f6f7a411d924 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2011-02-15 Gerald Pfeifer + + * doc/cpp.texi (Obsolete Features): Add background on the + origin of assertions. + Update copyright years. + 2011-02-25 Andriy Gapon PR target/45808 diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi index 02e2be78c159..aed7117ca428 100644 --- a/gcc/doc/cpp.texi +++ b/gcc/doc/cpp.texi @@ -12,7 +12,7 @@ @c man begin COPYRIGHT Copyright @copyright{} 1987, 1989, 1991, 1992, 1993, 1994, 1995, 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, -2008, 2009, 2010 +2008, 2009, 2010, 2011 Free Software Foundation, Inc. Permission is granted to copy, distribute and/or modify this document @@ -4161,9 +4161,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. -- 2.47.2