Fix more problems from GC diffs

From-SVN: r28820
This commit is contained in:
Bernd Schmidt 1999-08-24 12:05:09 +00:00 committed by Bernd Schmidt
parent 55247fce70
commit bf6bb899e1
18 changed files with 42 additions and 23 deletions

View File

@ -1,3 +1,25 @@
Tue Aug 24 12:35:20 1999 Bernd Schmidt <bernds@cygnus.co.uk>
* tree.h (current_function_calls_setjmp,
current_function_calls_longjmp): Delete declarations.
* dsp16xx.c: Include "function.h".
* elxsi.c: Likewise.
* gmicro.c: Likewise.
* h8300.c: Likewise.
* i370.c: Likewise.
* m32r.c: Likewise.
* mn10200.c: Likewise.
* mn10300.c: Likewise.
* ns32k.c: Likewise.
* spur.c: Likewise.
* v850.c: Likewise.
* rtl.h (rtx_equal_function_value_matters): Declare.
* toplev.c (rtx_equal_function_value_matters): Don't declare.
* cse.c: Likewise.
* function.c: Likewise.
* emit-rtl.c: Likewise.
Tue Aug 24 02:47:44 1999 Jeffrey A Law (law@cygnus.com)
* expr.c (convert_move): Fix arguments to TRULY_NOOP_TRUNCATION

View File

@ -33,6 +33,7 @@ Boston, MA 02111-1307, USA. */
#include "insn-attr.h"
#include "tree.h"
#include "expr.h"
#include "function.h"
#include "flags.h"
char *text_seg_name;

View File

@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include <stdio.h>
#include "rtl.h"
#include "function.h"
extern char *reg_names[];
rtx cmp_op0=0, cmp_op1=0;

View File

@ -35,6 +35,7 @@ Boston, MA 02111-1307, USA. */
#include "conditions.h"
#include "insn-flags.h"
#include "output.h"
#include "function.h"
#include "insn-attr.h"
mypr (s, a1, a2, a3, a4, a5)

View File

@ -24,6 +24,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include <stdio.h>
#include "rtl.h"
#include "tree.h"
#include "regs.h"
#include "hard-reg-set.h"
#include "real.h"
@ -35,7 +36,7 @@ Boston, MA 02111-1307, USA. */
#include "flags.h"
#include "recog.h"
#include "expr.h"
#include "tree.h"
#include "function.h"
#include "obstack.h"
/* Forward declarations. */

View File

@ -38,6 +38,7 @@ Boston, MA 02111-1307, USA. */
#include "insn-flags.h"
#include "output.h"
#include "insn-attr.h"
#include "function.h"
#include "flags.h"
#include "recog.h"
#include <time.h>

View File

@ -32,6 +32,7 @@ Boston, MA 02111-1307, USA. */
#include "insn-attr.h"
#include "flags.h"
#include "expr.h"
#include "function.h"
#include "recog.h"
/* Save the operands last given to a compare for use when we

View File

@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include <stdio.h>
#include "rtl.h"
#include "tree.h"
#include "regs.h"
#include "hard-reg-set.h"
#include "real.h"
@ -33,7 +34,7 @@ Boston, MA 02111-1307, USA. */
#include "flags.h"
#include "recog.h"
#include "expr.h"
#include "tree.h"
#include "function.h"
#include "obstack.h"
/* Global registers known to hold the value zero.

View File

@ -22,6 +22,7 @@ Boston, MA 02111-1307, USA. */
#include "config.h"
#include <stdio.h>
#include "rtl.h"
#include "tree.h"
#include "regs.h"
#include "hard-reg-set.h"
#include "real.h"
@ -33,7 +34,7 @@ Boston, MA 02111-1307, USA. */
#include "flags.h"
#include "recog.h"
#include "expr.h"
#include "tree.h"
#include "function.h"
#include "obstack.h"
/* The size of the callee register save area. Right now we save everything

View File

@ -31,6 +31,7 @@ Boston, MA 02111-1307, USA. */
#include "output.h"
#include "insn-attr.h"
#include "tree.h"
#include "function.h"
#include "expr.h"
#include "flags.h"

View File

@ -29,6 +29,7 @@ Boston, MA 02111-1307, USA. */
#include "conditions.h"
#include "insn-flags.h"
#include "output.h"
#include "function.h"
#include "insn-attr.h"
static rtx find_addr_reg ();

View File

@ -35,6 +35,7 @@ Boston, MA 02111-1307, USA. */
#include "flags.h"
#include "recog.h"
#include "expr.h"
#include "function.h"
#include "obstack.h"
#include "toplev.h"

View File

@ -693,8 +693,6 @@ static void check_fold_consts PROTO((PTR));
static struct cse_reg_info* get_cse_reg_info PROTO((int));
static void free_cse_reg_info PROTO((splay_tree_value));
static void flush_hash_table PROTO((void));
extern int rtx_equal_function_value_matters;
/* Dump the expressions in the equivalence class indicated by CLASSP.
This function is used only for debugging. */

View File

@ -184,8 +184,6 @@ static rtx free_insn;
#define last_filename (current_function->emit->x_last_filename)
#define first_label_num (current_function->emit->x_first_label_num)
extern int rtx_equal_function_value_matters;
static rtx make_jump_insn_raw PROTO((rtx));
static rtx make_call_insn_raw PROTO((rtx));
static rtx find_line_note PROTO((rtx));

View File

@ -120,12 +120,6 @@ static int virtuals_instantiated;
void (*save_machine_status) PROTO((struct function *));
void (*restore_machine_status) PROTO((struct function *));
/* Nonzero if we need to distinguish between the return value of this function
and the return value of a function called by this function. This helps
integrate.c */
extern int rtx_equal_function_value_matters;
/* The FUNCTION_DECL for an inline function currently being expanded. */
tree inline_function_decl;

View File

@ -818,6 +818,12 @@ extern const char * const note_insn_name[];
/* For a NOTE_INSN_LIVE note, the original basic block number. */
#define RANGE_LIVE_ORIG_BLOCK(INSN) (XINT (INSN, 1))
/* Nonzero if we need to distinguish between the return value of this function
and the return value of a function called by this function. This helps
integrate.c.
This is 1 until after the rtl generation pass. */
extern int rtx_equal_function_value_matters;
/* Generally useful functions. */
/* The following functions accept a wide integer argument. Rather than

View File

@ -137,8 +137,6 @@ You Lose! You must define PREFERRED_DEBUGGING_TYPE!
#define DIR_SEPARATOR '/'
#endif
extern int rtx_equal_function_value_matters;
#if ! (defined (VMS) || defined (OS2))
extern char **environ;
#endif

View File

@ -1940,14 +1940,6 @@ extern int immediate_size_expand;
extern tree current_function_decl;
/* Nonzero if function being compiled can call setjmp. */
extern int current_function_calls_setjmp;
/* Nonzero if function being compiled can call longjmp. */
extern int current_function_calls_longjmp;
/* Nonzero means all ..._TYPE nodes should be allocated permanently. */
extern int all_types_permanent;