diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 50aebde213958df4bd82b27296cdefc130ead125..b91b6ccdd61b320203d83e1dc3ca9ef29a1e3d5f 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 ce4c0c3ff5deea8b894ad6291e3fefabe2db5732..590630cee0da0ccb7c1dbed3d6cba33356e7db79 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 7a30a8426f9537f32dd2333f59d29f83e3080af6..4672abed750167921682cbf4e6c685d91252da69 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 c5a1895b86eedb05a31a958abc835d8c20d3682b..f9dba539ea219424c9eb24ed3062466d3bdc5ea8 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