aboutsummaryrefslogtreecommitdiff
path: root/gcc/haifa-sched.c
diff options
context:
space:
mode:
authorKaveh R. Ghazi <ghazi@caip.rutgers.edu>1998-06-29 17:36:07 +0000
committerKaveh Ghazi <ghazi@gcc.gnu.org>1998-06-29 17:36:07 +0000
commit4f70758f3747997152952ed15ebd75d0b5575972 (patch)
tree07c5fd6d4cde7e41ec1d7a902a997120ed06ebdd /gcc/haifa-sched.c
parentd0902cd14bd55a38e0a049e885df3647ecbe3aee (diff)
downloadgcc-4f70758f3747997152952ed15ebd75d0b5575972.zip
gcc-4f70758f3747997152952ed15ebd75d0b5575972.tar.gz
gcc-4f70758f3747997152952ed15ebd75d0b5575972.tar.bz2
Warning fixes:
* Makefile.in (fix-header): Don't needlessly depend on cpperror.o. * alias.c (CHECK_ALIAS_SETS_FOR_CONSISTENCY): Cast expansion to void since it is evaluated in a comma list. * mips.h (ASM_GENERATE_INTERNAL_LABEL): Always sprintf `NUM' argument as a long and cast `NUM' to long to ensure it is of the proper width. Wrap macro arguments in parens when they appear in the expansion. * sol2.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. * sparc.h (ASM_GENERATE_INTERNAL_LABEL): Likewise. (ASM_DECLARE_RESULT): Fix fprintf format specifier to match function argument return type. (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_FP_P, REGNO_OK_FOR_CCFP_P): Use `(unsigned)' not `U'. * cpplib.c (cpp_message_from_errno): Remove unneeded argument to cpp_message. * dbxout.c: Fix the comments after an #endif to reflect the actual condition tested in the preceding #if. * except.c (find_all_handler_type_matches): Switch to old-style function definition. * expr.c (expand_builtin): Remove unused variable `type' twice. * gbl-ctors.h (DO_GLOBAL_CTORS_BODY): Cast -1 before comparing it to an unsigned long. * haifa-sched.c (print_insn_chain): Remove unused function. * objc/objc-act.c (build_msg_pool_reference): Hide prototype and definition. * toplev.c: When testing whether to include dbxout.h, also include it when XCOFF_DEBUGGING_INFO is defined. * unroll.c (unroll_loop): Add parentheses around assignment used as truth value. From-SVN: r20801
Diffstat (limited to 'gcc/haifa-sched.c')
-rw-r--r--gcc/haifa-sched.c31
1 files changed, 0 insertions, 31 deletions
diff --git a/gcc/haifa-sched.c b/gcc/haifa-sched.c
index fff73ca..5452478 100644
--- a/gcc/haifa-sched.c
+++ b/gcc/haifa-sched.c
@@ -456,7 +456,6 @@ static char *safe_concat PROTO ((char *, char *, char *));
static int insn_issue_delay PROTO ((rtx));
static int birthing_insn_p PROTO ((rtx));
static void adjust_priority PROTO ((rtx));
-static void print_insn_chain PROTO ((rtx));
/* Mapping of insns to their original block prior to scheduling. */
static int *insn_orig_block;
@@ -6277,36 +6276,6 @@ print_insn (buf, x, verbose)
}
} /* print_insn */
-void
-print_insn_chain (rtx_first)
- rtx rtx_first;
-{
- register rtx tmp_rtx;
- char str[BUF_LEN];
-
- strcpy (str, "(nil)\n");
- if (rtx_first != 0)
- switch (GET_CODE (rtx_first))
- {
- case INSN:
- case JUMP_INSN:
- case CALL_INSN:
- case NOTE:
- case CODE_LABEL:
- case BARRIER:
- for (tmp_rtx = rtx_first; tmp_rtx != NULL;
- tmp_rtx = NEXT_INSN (tmp_rtx))
- {
- print_insn (str, tmp_rtx, 0);
- printf ("%s\n", str);
- }
- break;
- default:
- print_insn (str, rtx_first, 0);
- printf ("%s\n", str);
- }
-} /* print_insn_chain */
-
/* Print visualization debugging info */
static void