For gcc:
authorGavin Romig-Koch <gavin@cygnus.com>
Thu, 26 Aug 1999 20:47:25 +0000 (20:47 +0000)
committerGavin Romig-Koch <gavin@gcc.gnu.org>
Thu, 26 Aug 1999 20:47:25 +0000 (20:47 +0000)
* tree.c (lang_unsave_expr_now) : Correct return type.
* tree.h (lang_unsave_expr_now) : Same.

For gcc/cp:
* cp-tree.h (cplus_unsave_expr_now) : Correct return type.
* tree.h (cplus_unsave_expr_now) : Same.

From-SVN: r28906

gcc/ChangeLog
gcc/cp/ChangeLog
gcc/cp/cp-tree.h
gcc/cp/tree.c
gcc/tree.c
gcc/tree.h

index 789d53e70708a976eda767de2584462ed52774c1..e1debc0cbc0084ff7e3a60f0fdc36091d4df8b4d 100644 (file)
@@ -1,3 +1,8 @@
+Thu Aug 26 16:10:56 1999  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * tree.c (lang_unsave_expr_now) : Correct return type.
+       * tree.h (lang_unsave_expr_now) : Same.
+
 Thu Aug 26 13:12:29 1999  Jeffrey A Law  (law@cygnus.com)
 
        * pa.c (cint_ok_for_move): Use CONST_INT_OK_FOR_LETTER_P macros
index 3fa07ec03a993e450661c6c8b5dcb011a3f2d5f6..0a79ce8e6a8afff75f4bee9dbe4d01c47a8e11cc 100644 (file)
@@ -1,3 +1,8 @@
+1999-08-26  Gavin Romig-Koch  <gavin@cygnus.com>
+
+       * cp-tree.h (cplus_unsave_expr_now) : Correct return type.
+       * tree.h (cplus_unsave_expr_now) : Same.
+
 1999-08-25  Mark Mitchell  <mark@codesourcery.com>
 
        * decl.c (grokdeclarator): Amend comment.
index 13f1e7d8cd7c4099f81198cf6f62f5757acd29e9..f544ca3721b6bc4b251c0c0a25ff78ac8dad3232 100644 (file)
@@ -3413,7 +3413,7 @@ extern tree arbitrate_lookup                      PROTO((tree, tree, tree));
 
 /* in tree.c */
 extern void init_cplus_unsave                  PROTO((void));
-extern tree cplus_unsave_expr_now               PROTO((tree));
+extern void cplus_unsave_expr_now               PROTO((tree));
 extern int pod_type_p                          PROTO((tree));
 extern void unshare_base_binfos                        PROTO((tree));
 extern int member_p                            PROTO((tree));
index 8c1ff3f171aa90653fa0fea14fc19e803185335f..83c79ee337732398b29e5b2640e2a0a3d90bdc3c 100644 (file)
@@ -2866,7 +2866,7 @@ init_cplus_unsave ()
 /* The C++ version of unsave_expr_now.
    See gcc/tree.c:unsave_expr_now for comments. */
 
-tree
+void
 cplus_unsave_expr_now (expr)
      tree expr;
 {
index aca04f6520ab8c4e28067d404b581114916f4acf..6b5630d22d3811b1f2f8d9c70bd1696019b7e719 100644 (file)
@@ -270,7 +270,7 @@ void gcc_obstack_init ();
 
 /* If non-null, a language specific helper for unsave_expr_now. */
 
-int (*lang_unsave_expr_now) PROTO((tree));
+void (*lang_unsave_expr_now) PROTO((tree));
 \f
 /* Init the principal obstacks.  */
 
index 4e078efadda461e00e24eb90811d0a53318b6d27..703aad0e7ae58b5ef5453cc921fd66d9c0054d0f 100644 (file)
@@ -1738,7 +1738,7 @@ extern tree unsave_expr_now               PROTO((tree));
 
 /* If non-null, a language specific helper for unsave_expr_now. */
 
-extern int (*lang_unsave_expr_now)      PROTO((tree));
+extern void (*lang_unsave_expr_now)      PROTO((tree));
   
 /* Return 1 if EXP contains a PLACEHOLDER_EXPR; i.e., if it represents a size
    or offset that depends on a field within a record.