This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Prototype for safe_for_unsave



While compiling on mips-linux, I got:
/home/aj/builds/gcc/gcc/calls.c: In function `expand_call':
/home/aj/builds/gcc/gcc/calls.c:2027: warning: implicit declaration of function `safe_for_unsave'

IMO we should add a prototype, a patch is appended.

Andreas

2000-03-20  Andreas Jaeger  <aj@suse.de>

	* tree.h: Add prototype for safe_for_unsave.

============================================================
Index: gcc/tree.h
--- gcc/tree.h	2000/03/19 05:26:48	1.146
+++ gcc/tree.h	2000/03/20 11:27:47
@@ -2021,6 +2021,11 @@
 /* If non-null, a language specific version of safe_for_unsave. */
 extern int (*lang_safe_for_unsave)	PARAMS ((tree));
 
+/* Return nonzero if it is safe to unsave EXPR, else return zero.
+   It is not safe to unsave EXPR if it contains any embedded RTL_EXPRs.  */
+extern int safe_for_unsave PARAMS ((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.
 

-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]