+2001-08-06 Andreas Jaeger <aj@suse.de>
+
+ * profile.c (branch_prob): Remove unused variable insn.
+
+ * Makefile.in (local-alloc.o): Add dependency on except.h.
+
+ * local-alloc.c: Include except.h for can_throw_internal prototype.
+
2001-08-06 Richard Henderson <rth@redhat.com>
* config/i386/i386.h (FORCE_PREFERRED_STACK_BOUNDARY_IN_MAIN): New.
* config/rs6000/darwin.h (DOUBLE_INT_ASM_OP): New macro.
* config/rs6000/linux.h: Remove vtable thunks stuff we accidently
- readded.
+ readded.
* config/rs6000/linux64.h: Ditto.
* config/rs6000/sysv4.h: Move CPP_CPU_SPEC and ASM_CPU_SPEC back
to rs6000.h
-
+
2001-08-05 Richard Henderson <rth@redhat.com>
* local-alloc.c (update_equiv_regs): Do not move insns that
2001-08-04 Stephane Carrez <Stephane.Carrez@worldnet.fr>
- * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
+ * config/m68hc11/m68hc11.md ("cmphi_1", "cmpqi_1"): Allow memory
and soft register for operand 0.
("cmphi_z_used", "cmpqi_z_used"): Allow memory for operand 0.
2001-08-03 Zack Weinberg <zackw@stanford.edu>
- * sparc-protos.h: Add prototypes for fp_zero_operand and
+ * sparc-protos.h: Add prototypes for fp_zero_operand and
reg_or_0_operand.
* sh-protos.h: Add prototype for fpul_operand.
2001-08-03 Richard Henderson <rth@redhat.com>
- * target.h (gcc_target): Add asm_out.named_section,
+ * target.h (gcc_target): Add asm_out.named_section,
section_type_flags, have_named_sections.
* target-def.h (TARGET_ASM_NAMED_SECTION): New.
(TARGET_HAVE_NAMED_SECTIONS): New.
* config/ia64/sysv4.h, config/mcore/mcore-pe.h: Likewise.
* config/mips/elf.h, config/mips/elf64.h: Likewise.
* config/mips/iris6gld.h, config/mips/mips.h: Likewise.
- * config/pa/pa64-hpux.h,
+ * config/pa/pa64-hpux.h,
* config/elfos.h (ASM_OUTPUT_SECTION_NAME): Remove.
(TARGET_ASM_NAMED_SECTION): New.
(__gthread_mutex_init_function): New function for mutex initialization.
2001-08-03 Daniel Berlin <dan@cgsoftware.com>
-
+
* Makefile.in: Revert screwed up commit.
2001-08-03 Stephane Carrez <Stephane.Carrez@worldnet.fr>
(DTORS_SECTION_FUNCTION): Likewise for __do_global_dtors.
2001-08-03 Daniel Berlin <dan@cgsoftware.com>
-
+
* ChangeLog: Fix date on previous ChangeLog entry for GCSE.
-
+
* Makefile.in: Add df.h to gcse.c dependencies.
2001-08-03 John David Anglin <dave@hiauly1.hia.nrc.ca>
the answer, and just want to know if the store itself was killed.
(build_store_vector): Largely rewritten to calculate the various
vectors properly, and somewhat optimized.
- (store_motion): Init the df_analyzer, get REG_DEF chains.
+ (store_motion): Init the df_analyzer, get REG_DEF chains.
Also handle trapping expressions (since mems almost always trap)
(simple_mem): Redefine what a simple mem is.
* doc/install.texi (Configuration): Fix markup.
(Specific, i?86-*-udk): Likewise.
(Specific, alpha*-dec-osf*): Warn against --with-gnu-as,
- --with-gnu-ld.
+ --with-gnu-ld.
Document --enable-threads and --enable-libgcj status.
(Specific, mips-sgi-irix*): Canonicalize triples.
(Specific, mips-sgi-irix5): Warn about problems with this config.
2001-07-11 Andrew Cagney <ac131313@redhat.com>
* config.gcc: Recognize powerpc-*-netbsd*.
-
+
* doc/install.texi (Host/target specific installation notes for
GCC): Mention powerpc-*-netbsd*.
(EXTRA_MULTILIB_PARTS): Add ncrti$(objext) and ncrtn$(objext).
(ncrti.S, ncrtn.S): New targets.
($(T)ncrti$(objext), $(T)ncrtn$(objext)): New targets.
-
+
* config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Recognize
"netbsd' as a V4 ABI.
(ASM_SPEC): Check for -mcall-netbsd.
_mulvsi3 _mulvdi3 _negvsi2 _negvdi2 _ctors
# Defined in libgcc2.c, included only in the static library.
-LIB2FUNCS_ST = _eprintf _bb __gcc_bcmp
+LIB2FUNCS_ST = _eprintf _bb __gcc_bcmp
FPBIT_FUNCS = _pack_sf _unpack_sf _addsub_sf _mul_sf _div_sf \
_fpcmp_parts_sf _compare_sf _eq_sf _ne_sf _gt_sf _ge_sf \
toplev.h function.h output.h $(GGC_H) $(TM_P_H) $(EXPR_H)
local-alloc.o : local-alloc.c $(CONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h \
$(BASIC_BLOCK_H) $(REGS_H) hard-reg-set.h insn-config.h $(RECOG_H) \
- output.h function.h $(INSN_ATTR_H) toplev.h $(TM_P_H)
+ output.h function.h $(INSN_ATTR_H) toplev.h except.h $(TM_P_H)
bitmap.o : bitmap.c $(GCONFIG_H) $(SYSTEM_H) $(RTL_H) flags.h $(BASIC_BLOCK_H) \
$(REGS_H)
$(CC) -c $(ALL_CFLAGS) -DGENERATOR_FILE $(ALL_CPPFLAGS) $(INCLUDES) $< $(OUTPUT_OPTION)
-/* Calculate branch probabilities, and basic block execution counts.
+/* Calculate branch probabilities, and basic block execution counts.
Copyright (C) 1990, 1991, 1992, 1993, 1994, 1996, 1997, 1998, 1999,
2000, 2001 Free Software Foundation, Inc.
Contributed by James E. Wilson, UC Berkeley/Cygnus Support;
/* Keep all basic block indexes nonnegative in the gcov output. Index 0
is used for entry block, last block exit block. */
#define GCOV_INDEX_TO_BB(i) ((i) == 0 ? ENTRY_BLOCK_PTR \
- : (((i) == n_basic_blocks + 1) \
+ : (((i) == n_basic_blocks + 1) \
? EXIT_BLOCK_PTR : BASIC_BLOCK ((i)-1)))
-#define BB_TO_GCOV_INDEX(bb) ((bb) == ENTRY_BLOCK_PTR ? 0 \
- : ((bb) == EXIT_BLOCK_PTR \
+#define BB_TO_GCOV_INDEX(bb) ((bb) == ENTRY_BLOCK_PTR ? 0 \
+ : ((bb) == EXIT_BLOCK_PTR \
? n_basic_blocks + 1 : (bb)->index + 1))
/* Name and file pointer of the output file for the basic block graph. */
long delimiter;
{
long temp;
-
+
/* Write a delimiter to indicate that a file name follows. */
__write_long (delimiter, bb_file, 4);
EDGE_INFO (e)->count_valid = 1;
e->count = total;
bi->succ_count--;
-
+
BB_INFO (e->dest)->pred_count--;
changes = 1;
}
EDGE_INFO (e)->count_valid = 1;
e->count = total;
bi->pred_count--;
-
+
BB_INFO (e->src)->succ_count--;
changes = 1;
}
prob = e->probability;
index = prob * 20 / REG_BR_PROB_BASE;
-
+
if (index == 20)
index = 19;
hist_br_prob[index]++;
REG_NOTES (bb->end));
}
num_branches++;
-
+
}
}
edge from entry node and every destination by fake edge to exit.
This keeps graph acyclic and our calculation exact for all normal
edges except for exit and entrance ones.
-
+
We also add fake exit edges for each call and asm statement in the
basic, since it may not return. */
for (i = 0; i < n_basic_blocks ; i++)
{
- rtx insn;
int need_exit_edge = 0, need_entry_edge = 0;
int have_exit_edge = 0, have_entry_edge = 0;
basic_block bb = BASIC_BLOCK (i);