aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNeil Vachharajani <nvachhar@google.com>2009-10-10 00:34:21 +0000
committerNeil Vachharajani <nvachhar@gcc.gnu.org>2009-10-10 00:34:21 +0000
commit2214382ca9c3dc847aedfbd60fa50e906445fd8c (patch)
tree802f327b8d84abd92a0b62a787f75c58dc03bcfe
parent98f4c2a362337a4b11510eea4cda4930ca72c381 (diff)
downloadgcc-2214382ca9c3dc847aedfbd60fa50e906445fd8c.zip
gcc-2214382ca9c3dc847aedfbd60fa50e906445fd8c.tar.gz
gcc-2214382ca9c3dc847aedfbd60fa50e906445fd8c.tar.bz2
directives.c (DIRECTIVE_TABLE): Remove DEPRECATED from ident and sccs.
2009-10-09 Neil Vachharajani <nvachhar@google.com> * 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. From-SVN: r152612
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/doc/cpp.texi2
-rw-r--r--libcpp/ChangeLog5
-rw-r--r--libcpp/directives.c4
4 files changed, 12 insertions, 4 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 50aebde..b91b6cc 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -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
diff --git a/gcc/doc/cpp.texi b/gcc/doc/cpp.texi
index ce4c0c3..590630c 100644
--- a/gcc/doc/cpp.texi
+++ b/gcc/doc/cpp.texi
@@ -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
diff --git a/libcpp/ChangeLog b/libcpp/ChangeLog
index 7a30a84..4672abe 100644
--- a/libcpp/ChangeLog
+++ b/libcpp/ChangeLog
@@ -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.
diff --git a/libcpp/directives.c b/libcpp/directives.c
index c5a1895..f9dba53 100644
--- a/libcpp/directives.c
+++ b/libcpp/directives.c
@@ -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