From 4be4a8eaeb063beb90d3ddf72200b4070c00fc8c Mon Sep 17 00:00:00 2001 From: aj Date: Thu, 15 Nov 2001 07:55:45 +0000 Subject: [PATCH] * cfgrtl.c (purge_all_dead_edges): Use int as argument for portability. * basic-block.h: Adjust prototype. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@47041 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/ChangeLog | 28 +++++++++++++++++----------- gcc/basic-block.h | 2 +- gcc/cfgrtl.c | 2 +- 3 files changed, 19 insertions(+), 13 deletions(-) diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 8aed0a44900..4026e7e7f45 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2001-11-15 Andreas Jaeger + + * cfgrtl.c (purge_all_dead_edges): Use int as argument for + portability. + * basic-block.h: Adjust prototype. + 2001-11-15 Kazu Hirata * config/rs6000/aix31.h: Fix comment formatting. @@ -18,11 +24,11 @@ 2001-11-14 Alan Matsuoka - * rtl.def (INCLUDE) : Define. + * rtl.def (INCLUDE) : Define. * gensupport.c (init_include_reader, process_include, save_string) : New functions to implement an include facility in .md files. - * gensupport.h : Add prototype for init_md_reader_args. + * gensupport.h : Add prototype for init_md_reader_args. * genattr.c genattrtab.c gencodes.c genconfig.c genemit.c genextract.c genflags.c genopinit.c genoutput.c genpeep.c genrecog.c: Change call to init_md_reader to @@ -100,7 +106,7 @@ Wed Nov 14 19:46:08 CET 2001 Jan Hubicka * cfglayout.c (fixup_fallthru_exit_predecesor): New static function. (cfg_layout_finalize): Use it. * bb-reorder.c (HAVE_epilogue): Remove. - (make_reorder_chain): Do not care special placement of + (make_reorder_chain): Do not care special placement of last basic block. * predict.c (expected_value_to_br_prob): Delete the note @@ -460,7 +466,7 @@ Sun Nov 11 05:56:01 2001 Richard Kenner (store_bit_field, extract_bit_field): Likewise. * calls.c, expr.c, function.c: Change calls to above functions. * ifcvt.c, stmt.c: Likewise. - + * alias.c (nonoverlapping_memrefs_p): Not overlapping if one base is constant and one is on frame. If know memref offset, adjust size from decl. @@ -699,7 +705,7 @@ objc: don't pass --gdwarf2 to the assembler if the compiler will also provide debug info. - * config/stormy16/stormy16.c (xstormy16_expand_casesi): + * config/stormy16/stormy16.c (xstormy16_expand_casesi): Don't change INDEX. Fri Nov 9 17:51:09 2001 Richard Kenner @@ -724,7 +730,7 @@ Fri Nov 9 17:51:09 2001 Richard Kenner Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com) - * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0 + * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0 to work around limitations of certain versions of GAS. * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues. @@ -774,7 +780,7 @@ Fri Nov 9 11:27:42 2001 Jeffrey A Law (law@cygnus.com) * Makefile.in ($(HOST_PREFIX_1)rtl.o, $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o, - $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o, + $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o, $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o, $(HOST_PREFIX_1)ggc-none.o): Update dependencies. @@ -1031,13 +1037,13 @@ Thu Nov 8 18:00:55 2001 Richard Kenner (REG_CLASS_NAMES): Same. (REG_CLASS_CONTENTS): Same. (REGNO_REG_CLASS): Same. - + * config/rs6000/sysv4.h (STACK_BOUNDARY): Adjust for altivec. (ABI_STACK_BOUNDARY): Same. (BIGGEST_ALIGNMENT): Same. (ADJUST_FIELD_ALIGN): Remove undef. Define anew. (ROUND_TYPE_ALIGN): Same. - + * config/rs6000/aix.h (ROUND_TYPE_ALIGN): Change BIGGEST_ALIGNMENT to 64. @@ -1204,7 +1210,7 @@ Thu Nov 8 18:00:55 2001 Richard Kenner 2001-11-07 Daniel Berlin * Makefile.in (df.o): Add fibheap.h to dependencies. - + * df.h: Add prototypes for transfer functions, iterative_dataflow functions. (enum df_flow_dir): New enum. @@ -1627,7 +1633,7 @@ Sun Nov 4 11:53:31 2001 Richard Kenner Sat Nov 3 10:37:56 2001 Richard Kenner * cselib.c (cselib_subst_to_values, case CONST_DOUBLE): Remove - reference to CONST_DOUBLE_MEM in comment. + reference to CONST_DOUBLE_MEM in comment. * emit-rtl.c (gen_rtx_CONST_DOUBLE): Remove one operand. (gen_rtx, case CONST_DOUBLE): Call it with one less operand. (init_emit_once): Don't clear CONST_DOUBLE_MEM. diff --git a/gcc/basic-block.h b/gcc/basic-block.h index 4eba1e49c27..253e1fd3e60 100644 --- a/gcc/basic-block.h +++ b/gcc/basic-block.h @@ -638,7 +638,7 @@ extern basic_block force_nonfallthru PARAMS ((edge)); extern bool redirect_edge_and_branch PARAMS ((edge, basic_block)); extern rtx block_label PARAMS ((basic_block)); extern bool forwarder_block_p PARAMS ((basic_block)); -extern bool purge_all_dead_edges PARAMS ((bool)); +extern bool purge_all_dead_edges PARAMS ((int)); extern bool purge_dead_edges PARAMS ((basic_block)); extern void find_sub_basic_blocks PARAMS ((basic_block)); extern void find_many_sub_basic_blocks PARAMS ((sbitmap)); diff --git a/gcc/cfgrtl.c b/gcc/cfgrtl.c index 20cb12264a3..e6170f0bf23 100644 --- a/gcc/cfgrtl.c +++ b/gcc/cfgrtl.c @@ -1935,7 +1935,7 @@ purge_dead_edges (bb) bool purge_all_dead_edges (update_life_p) - bool update_life_p; + int update_life_p; { int i, purged = false; sbitmap blocks; -- 2.11.4.GIT