OSDN Git Service

2009-10-09 Neil Vachharajani <nvachhar@google.com>
authornvachhar <nvachhar@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Oct 2009 00:34:21 +0000 (00:34 +0000)
committernvachhar <nvachhar@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 10 Oct 2009 00:34:21 +0000 (00:34 +0000)
       * libcpp/directives.c (DIRECTIVE_TABLE): Remove DEPRECATED from ident and
       sccs.

       * gcc/doc/cpp.texi (Other Directives): Do not list #ident and #sccs as
       deprecated.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@152612 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/doc/cpp.texi
libcpp/ChangeLog
libcpp/directives.c

index 50aebde..b91b6cc 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-09  Neil Vachharajani <nvachhar@google.com>
+
+       * doc/cpp.texi (Other Directives): Do not list #ident and #sccs as
+       deprecated.
+
 2009-10-09  Richard Guenther  <rguenther@suse.de>
 
        PR lto/41638
index ce4c0c3..590630c 100644 (file)
@@ -3609,8 +3609,6 @@ These directives are not part of the C standard, but they are not
 official GNU extensions either.  What historical information we have
 been able to find, suggests they originated with System V@.
 
-Both @samp{#ident} and @samp{#sccs} are deprecated extensions.
-
 @cindex null directive
 The @dfn{null directive} consists of a @samp{#} followed by a newline,
 with only whitespace (including comments) in between.  A null directive
index 7a30a84..4672abe 100644 (file)
@@ -1,3 +1,8 @@
+2009-10-09  Neil Vachharajani <nvachhar@google.com>
+
+       * directives.c (DIRECTIVE_TABLE): Remove DEPRECATED from ident and
+       sccs.
+
 2009-09-23  Loren J. Rittle  <ljrittle@acm.org>
 
        * configure.ac (AC_CHECK_HEADERS after AC_LANG(C++)): Add sys/stat.h.
index c5a1895..f9dba53 100644 (file)
@@ -151,11 +151,11 @@ D(error,  T_ERROR,        STDC89,    0)              /*    475 */ \
 D(pragma,      T_PRAGMA,       STDC89,    IN_I)           /*    195 */ \
 D(warning,     T_WARNING,      EXTENSION, 0)              /*     22 */ \
 D(include_next,        T_INCLUDE_NEXT, EXTENSION, INCL | EXPAND)  /*     19 */ \
-D(ident,       T_IDENT,        EXTENSION, IN_I | DEPRECATED) /*     11 */ \
+D(ident,       T_IDENT,        EXTENSION, IN_I)           /*     11 */ \
 D(import,      T_IMPORT,       EXTENSION, INCL | EXPAND)  /* 0 ObjC */ \
 D(assert,      T_ASSERT,       EXTENSION, DEPRECATED)     /* 0 SVR4 */ \
 D(unassert,    T_UNASSERT,     EXTENSION, DEPRECATED)     /* 0 SVR4 */ \
-D(sccs,                T_SCCS,         EXTENSION, IN_I | DEPRECATED) /* 0 SVR4? */
+D(sccs,                T_SCCS,         EXTENSION, IN_I)           /* 0 SVR4? */
 
 /* #sccs is synonymous with #ident.  */
 #define do_sccs do_ident