aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/cpp.texi13
2 files changed, 13 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 0185eba..46bb63a 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,7 @@
+2000-06-24 Nathan Sidwell <nathan@codesourcery.com>
+
+ * cpp.texi: Clarify #pragma GCC namespace.
+
2000-06-24 Philipp Thomas <pthomas@suse.de>
* aclocal.m4(AM_GNU_GETTEXT): If LINGUAS isn't set, build
diff --git a/gcc/cpp.texi b/gcc/cpp.texi
index 20f278d..6413eec 100644
--- a/gcc/cpp.texi
+++ b/gcc/cpp.texi
@@ -2646,10 +2646,15 @@ some old C programs contain such lines.
The ANSI standard specifies that the effect of the @samp{#pragma}
directive is implementation-defined. The GNU C preprocessor recognizes
some pragmas, and passes unrecognized ones through to the preprocessor
-output, so they are available to the compilation pass. GNU C preprocessor
-pragmas are of the form @samp{#pragma GCC ...}. For backwards
-compatibility previously supported pragmas are also recognized without
-the @samp{GCC}, however that use is deprecated.
+output, so they are available to the compilation pass.
+
+In line with the C99 standard, which introduces a STDC namespace for
+C99 pragmas, the preprocessor introduces a GCC namespace for GCC
+pragmas. Supported GCC preprocessor pragmas are of the form
+@samp{#pragma GCC ...}. For backwards compatibility previously
+supported pragmas are also recognized without the @samp{GCC} prefix,
+however that use is deprecated. Pragmas that are already deprecated
+are not recognized with a @samp{GCC} prefix.
@findex #ident
The @samp{#ident} directive is supported for compatibility with certain