OSDN Git Service

* expr.h (mark_seen_cases): Add declaration, but only when tree.h
authorlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 May 1998 22:22:14 +0000 (22:22 +0000)
committerlaw <law@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 6 May 1998 22:22:14 +0000 (22:22 +0000)
        has been included.

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

gcc/ChangeLog
gcc/expr.h

index 22404d2..9bbb77e 100644 (file)
@@ -34,7 +34,8 @@ Wed May  6 15:51:39 1998  Jim Wilson  <wilson@cygnus.com>
 Wed May  6 16:46:01 1998  Jeffrey A Law  (law@cygnus.com)
 
        * stmt.c (mark_seen_cases): Make it have external linkage again.
-       * expr.h (mark_seen_cases): Add declaration.
+       * expr.h (mark_seen_cases): Add declaration, but only when tree.h
+       has been included.
 
        * haifa-sched.c (print_value, case SUBREG): Fix typo.
 
index b3d02be..ef90c84 100644 (file)
@@ -950,5 +950,7 @@ extern void init_mov_optab                  PROTO ((void));
 extern void do_jump_by_parts_greater_rtx       PROTO ((enum machine_mode, int,
                                                        rtx, rtx, rtx, rtx));
 
+#ifdef TREE_CODE   /* Don't lose if tree.h not included.  */
 extern void mark_seen_cases                    PROTO ((tree, unsigned char *,
                                                        long, int));
+#endif