From 703ad42b4be14b9b1e84816dede360721361ed86 Mon Sep 17 00:00:00 2001 From: "Kaveh R. Ghazi" Date: Sat, 19 Jul 2003 14:47:15 +0000 Subject: alias.c [...]: Remove unnecessary casts. * alias.c alloc-pool.c bitmap.c bitmap.h bt-load.c builtins.c c-common.c c-decl.c c-incpath.c c-lex.c c-opts.c c-parse.in c-pragma.c c-typeck.c calls.c cfg.c cfganal.c cfgloop.c cfgrtl.c collect2.c combine.c conflict.c coverage.c cppexp.c cppfiles.c cpphash.c cppinit.c cpplex.c cpplib.c cppmacro.c cppspec.c cpptrad.c cse.c cselib.c dbxout.c defaults.h df.c dominance.c dwarf2out.c dwarfout.c emit-rtl.c except.c expmed.c expr.c final.c fix-header.c flow.c fold-const.c function.c gcc.c gccspec.c gcov.c gcse.c genattr.c genattrtab.c genautomata.c genconditions.c genemit.c genextract.c genoutput.c genrecog.c gensupport.c ggc-page.c ggc-simple.c global.c graph.c haifa-sched.c hashtable.c integrate.c jump.c langhooks.c lcm.c line-map.c local-alloc.c loop.c mips-tdump.c mips-tfile.c mkdeps.c optabs.c params.c postreload.c prefix.c print-tree.c protoize.c ra-build.c ra-colorize.c ra-rewrite.c ra.c recog.c reg-stack.c regclass.c regmove.c regrename.c reload.c reload1.c reorg.c resource.c sbitmap.c sched-deps.c sched-rgn.c sched-vis.c sdbout.c simplify-rtx.c ssa-ccp.c ssa.c stmt.c stor-layout.c timevar.c tlink.c toplev.c tree-dump.c tree.c unroll.c unwind-dw2-fde.c varasm.c varray.c vmsdbgout.c xcoffout.c: Remove unnecessary casts. From-SVN: r69587 --- gcc/reorg.c | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'gcc/reorg.c') diff --git a/gcc/reorg.c b/gcc/reorg.c index 9a7c05b..3d7159d 100644 --- a/gcc/reorg.c +++ b/gcc/reorg.c @@ -3587,7 +3587,7 @@ dbr_schedule (rtx first, FILE *file) epilogue_insn = insn; } - uid_to_ruid = (int *) xmalloc ((max_uid + 1) * sizeof (int)); + uid_to_ruid = xmalloc ((max_uid + 1) * sizeof (int)); for (i = 0, insn = first; insn; i++, insn = NEXT_INSN (insn)) uid_to_ruid[INSN_UID (insn)] = i; @@ -3595,7 +3595,7 @@ dbr_schedule (rtx first, FILE *file) if (unfilled_firstobj == 0) { gcc_obstack_init (&unfilled_slots_obstack); - unfilled_firstobj = (rtx *) obstack_alloc (&unfilled_slots_obstack, 0); + unfilled_firstobj = obstack_alloc (&unfilled_slots_obstack, 0); } for (insn = next_active_insn (first); insn; insn = next_active_insn (insn)) @@ -3629,8 +3629,8 @@ dbr_schedule (rtx first, FILE *file) end_of_function_label = 0; /* Initialize the statistics for this function. */ - memset ((char *) num_insns_needing_delays, 0, sizeof num_insns_needing_delays); - memset ((char *) num_filled_delays, 0, sizeof num_filled_delays); + memset (num_insns_needing_delays, 0, sizeof num_insns_needing_delays); + memset (num_filled_delays, 0, sizeof num_filled_delays); /* Now do the delay slot filling. Try everything twice in case earlier changes make more slots fillable. */ @@ -3670,7 +3670,7 @@ dbr_schedule (rtx first, FILE *file) obstack_free (&unfilled_slots_obstack, unfilled_firstobj); /* It is not clear why the line below is needed, but it does seem to be. */ - unfilled_firstobj = (rtx *) obstack_alloc (&unfilled_slots_obstack, 0); + unfilled_firstobj = obstack_alloc (&unfilled_slots_obstack, 0); if (file) { @@ -3703,8 +3703,8 @@ dbr_schedule (rtx first, FILE *file) fprintf (file, "\n"); } } - memset ((char *) total_delay_slots, 0, sizeof total_delay_slots); - memset ((char *) total_annul_slots, 0, sizeof total_annul_slots); + memset (total_delay_slots, 0, sizeof total_delay_slots); + memset (total_annul_slots, 0, sizeof total_annul_slots); for (insn = first; insn; insn = NEXT_INSN (insn)) { if (! INSN_DELETED_P (insn) -- cgit v1.1