loop.c (indirect_jump_in_function_p): Return 0 by default.
[gcc.git] / gcc / ChangeLog
index 5331d7d7e7fdba97a04c9f9b83a69485d35a20b4..e52ce3cca869c15ba53acf34b6754c95c27bd4c4 100644 (file)
@@ -1,3 +1,169 @@
+Tue Sep 23 00:42:44 1997  H.J. Lu  (hjl@gnu.ai.mit.edu)
+
+       * loop.c (indirect_jump_in_function_p): Return 0
+       by default.
+
+Tue Sep 23 00:33:55 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * rs6000/xm-rs6000.h: Fix thinko in last change.
+       * rs6000/xm-sysv4.h: Likewise.
+
+Mon Sep 22 19:33:53 1997  Jim Wilson  <wilson@cygnus.com>
+
+       * mips.c (save_restore_insns): Only set RTX_FRAME_RELATED_P if store_p.
+
+Mon Sep 22 14:41:00 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * reg-stack.c (find_blocks): Fix thinko in last change.
+
+1997-09-21  Andreas Schwab  <schwab@issan.informatik.uni-dortmund.de>
+
+       * m68k.c (output_function_prologue): Add dwarf2 support.
+
+       * m68k.h (INCOMING_RETURN_ADDR_RTX, DWARF_FRAME_REGNUM,
+       INCOMING_FRAME_SP_OFFSET): New definitions.
+Mon Sep 22 11:36:42 1997  David S. Miller  <davem@tanya.rutgers.edu>
+
+       * combine.c (try_combine): Use NULL_RTX instead of '0' where
+       appropriate in calls to gen_rtx().
+       * cse.c (cse_main): Likewise.
+       * emit-rtl.c (gen_label_rtx): Likewise.
+       * expr.c (init_expr_once): Likewise.
+       * haifa-sched.c (flush_pending_lists, sched_analyze_insn,
+       sched_analyze, init_rgn_data_dependences,
+       compute_block_backward_dependences): Likewise.
+       * sched.c (schedule_insns): Likewise.
+       * varasm.c (immed_double_const): Likewise.
+
+       * sparc.h (INCOMING_FRAME_SP_OFFSET): Define to
+       SPARC_STACK_BIAS for sake of dwarf2 on sparc64.
+
+Mon Sep 22 11:21:33 1997  J. Kean Johnston  <jkj@sco.com>
+
+       * i386/sco5.h: Make ELF default file format and add -mcoff/-melf..
+       (MULTILIB_DEFAULTS): Define.
+       (ASM_SPEC, CPP_SPEC): Handle -mcoff.
+       (STARTFILE_SPEC, ENDFILE_SPEC, LINK_SPEC): Likewise.
+       (LIBGCC_SPEC): Likewise.
+       (MASK_COFF, TARGET_COFF, TARGET_ELF): Define.
+       (SUBTARGET_SWITCHES): Add -mcoff and -melf.
+       * i386/t-sco5 (CRTSTUFF_T_CFLAGS): Add -fPIC.
+       (CRTSTUFF_T_CFLAGS_S): Tweak for COFF.
+       (EXTRA_PARTS, TAROUTOPTS): Delete.
+       (libgcc1-elf, libgcc2-elf, libgcc-elf targets): Delete.
+       (MULTILIB_OPTIONS): Define.
+       (MULTILIB_DIRNAMES, MULTILIB_EXCEPTIONS): Likewise.
+       (MULTILIB_MATCHE, MULTILIB_EXTRA_OPTS): Likewise.
+
+Mon Sep 22 02:10:43 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * version.c: Bump for snapshot.
+
+Sun Sep 21 17:45:45 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * loop.c (loop_number): Delete function.  Change all references
+       to use uid_loop_num array.
+       * loop.h (loop_number): Delete declaration.
+       * unroll.c (unroll_loop): Change "loop_number" references to
+       use uid_loop_num instead.
+
+       * loop.c (loop_unroll_factor): Move outside #ifdef HAIFA
+       conditional.
+       (loop_unroll_iter): Remove unused variable and all references.
+       (loop_optimize): Always allocate and clear space for loop_unroll_factor.
+       (insert_bct): Fix minor formatting problems.
+       * loop.h (loop_unroll_factor): Move decl outside #ifdef HAIFA.
+       (loop_unroll_iter): Removed unused decl.
+       * unroll.c (unroll_loop): Remove code to set loop_unroll_iter.
+       Always record the unrolling factor.
+
+       * cse.c (simplify_relational_operation): Set h0u just like h0s.
+       Similarly for h1u and h1s.
+
+       * flow.c (jmp_uses_reg_or_mem): Deleted unused function.
+       (find_basic_blocks): Use computed_jump_p to determine if a
+       particular JUMP_INSN is a computed jump.
+       * reg-stack.c (find_blocks): Use computed_jump_p to determine
+       if a particular JUMP_INSN is a computed jump.
+       * rtlanal.c (jmp_uses_reg_or_mem): New function.
+       (computed_jump_p): Likewise.
+       * rtl.h (computed_jump_p): Declare.
+       * genattrtab.c (pc_rtx): Define and initialize.
+       * loop.c (loop_optimize): Always determine if the current
+       function has a computed jump.
+       (indirect_jump_in_function_p): Use computed_jump_p to determine
+       if a particular JUMP_INSN is a computed jump.
+
+       * loop.c (fix_bct_param): Delete unused function.
+       (check_bct_param): Likewise.
+
+Sat Sep 20 16:22:06 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * frame.c (__deregister_frame): Check properly for initialized object.
+
+Fri Sep 19 20:51:03 199  H.J. Lu  (hjl@gnu.ai.mit.edu)
+
+       * alpha/linux.h (HANDLE_SYSV_PRAGMA): Defined.
+
+Fri Sep 19 18:53:50 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * jump.c (thread_jumps): check can_reverse_comparison_p before
+       threading a reversed-condition jump.
+
+       * sched.c (update_flow_info): Don't pass SCRATCH to dead_or_set_p.
+       * haifa-sched.c (update_flow_info): Likewise.
+
+Thu Sep 18 21:13:40 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * Makefile.in (BOOT_CFLAGS): Use -O2.
+
+       * configure.in (strtoul, bsearch): Have autoconf check for these
+       functions.
+       * configure, config.in: Rebuilt.
+
+       * m68k/xm-mot3300.h (alloca): Properly declare if __STDC__.
+       * mips/mips.h (alloca): Likewise.
+       * rs6000/xm-rs6000.h (alloca): Likewise.
+       * rs6000/xm-sysv4.h: Likewise.
+
+Thu Sep 18 14:22:22 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * final.c (final_scan_insn): Hand BARRIERs off to the dwarf2 code.
+       * dwarf2out.c (dwarf2out_frame_debug): Pass the whole insn along.
+       (dwarf2out_stack_adjust): A BARRIER resets the args space to 0.
+
+       * except.c (end_eh_unwinder): Subtract 1 from return address.
+       * libgcc2.c (__throw): Likewise.
+       (find_exception_handler): Don't change PC here.  Compare end with >.
+
+Thu Sep 18 10:43:07 1997  Nick Clifton  <nickc@cygnus.com>
+       * v850.c (compute_register_save_size): Correct register
+       number.
+       * v850.md (save_interrupt, return_interrupt): Correct
+       register number.
+       * v850/lib1funcs.asm (save_interrupt): Correct register number.
+       (return_interrupt): Use stack pointer, not element pointer.
+
+1997-09-18  Brendan Kehoe  <brendan@lisa.cygnus.com>
+
+       * configure.in, configure: Make sure to create the stage* and include
+       symbolic links in each subdirectory.
+
+Thu Sep 18 01:47:06 1997  Jeffrey A Law  (law@cygnus.com)
+
+       * pa.md (reload_peepholes): Don't allow addresses with side
+       effects for the memory operand.
+
+Wed Sep 17 18:19:53 1997  Jason Merrill  <jason@yorick.cygnus.com>
+
+       * libgcc2.c (find_exception_handler): Subtract one from our PC when
+       looking for a handler, to avoid hitting the beginning of the next
+       region.
+
+       * except.c (expand_builtin_set_return_addr_reg): Use force_operand.
+
 Wed Sep 17 18:33:59 1997  Jeffrey A Law  (law@cygnus.com)
 
        * mips/abi64.h (LONG_MAX_SPEC): Define.
@@ -5,12 +171,6 @@ Wed Sep 17 18:33:59 1997  Jeffrey A Law  (law@cygnus.com)
        (CPP_SPEC): Include long_max_spec.
        (EXTRA_SPECS): Include long_max_spec.
 
-1997-09-17  Brendan Kehoe  <brendan@lisa.cygnus.com>
-
-       * configure.in, configure: Make sure to create the stage* and include
-       symbolic links in each subdirectory, as we do in configure.lang for
-       non-autoconf configurations.
-
 Wed Sep 17 14:11:38 1997  Jeffrey A Law  (law@cygnus.com)
 
        * v850.c (construct_save_jarl): Fix thinko in last change.