gcc/gcc/ChangeLog

862 lines
30 KiB
Plaintext

Sun Sep 7 23:18:32 1997 Fred Fish <fnf@ninemoons.com>
* INSTALL: Change 'amigados' to 'amigaos' to match current usage.
* install.texi (Configurations): Ditto.
* config.sub: Ditto.
Sun Sep 7 22:56:56 1997 Weiwen Liu (liu@hepvms.physics.yale.edu)
* Makefile.in (sdbout.o): Depend on insn-config.h.
Sun Sep 7 18:44:50 1997 Jim Wilson <wilson@cygnus.com>
* m68k/m68k.h (TARGET_SWITCHES): For 68000, 68302, subtract MASK_68881.
For 68303, 68332, cpu32, subtract MASK_68040_ONLY.
Sun Sep 7 14:19:39 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump for snapshot.
Sun Sep 7 14:17:36 1997 Torbjorn Granlund (tege@pdc.kth.se)
* expmed.c (expand_divmod): Make op1_is_pow2 depend on unsignedp
for negative constants. Promote EXACT_DIV_EXPR to TRUNC_DIV_EXPR
when op1_is_pow2.
Sun Sep 7 13:46:46 1997 Jeffrey A Law (law@cygnus.com)
* final.c (shorten_branches): During first pass, assume worst
possible alignment for ADDR_VEC and ADDR_VEC_DIFF insns.
* Makefile.in (distclean): Remove various things left around
by running the testsuite.
Sun Sep 7 13:16:06 1997 Manfred Hollstein <manfred@s-direktnet.de>
* configure.in (out_file): Emit definition to config.status in order
to have a defined value for configure.lang.
* configure: Re-built.
Sun Sep 7 09:59:08 1997 Jan-Jaap van der Heijden (J.J.vanderHeijden@student.utwente.nl)
* configure.in: Make symlink to as-new rather than as.new. Similarly
for ld-new.
* configure: Rebuilt.
Fri Sep 5 16:54:55 1997 Jim Wilson <wilson@cygnus.com>
* profile.c (output_func_start_profiler): Set DECL_EXTERNAL to zero.
Fri Sep 5 16:16:44 1997 Christian Kuehnke <Christian.Kuehnke@arbi.Informatik.Uni-Oldenburg.DE>
* sparc/sparc.md: Add ultrasparc scheduling support.
* sparc/sparc.h (RTX_COSTS): For MULT give v9 a cost of 25 insns.
Fri Sep 5 14:04:59 1997 Philippe De Muyter <phdm@info.ucl.ac.be>
* integrate.c (save_for_inline_copying): Use 0, not NULL_PTR,
as initial value for real_label_map.
(copy_for_inline): Likewise.
Fri Sep 5 13:36:44 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* sched.c (update_flow_info) When looking if to set found_split_dest
or found_orig_dest, look at all parts of a PARALLEL.
* haifa-sched.c (update_flow_info): Likewise.
Fri Sep 5 10:08:44 1997 Jeffrey A Law (law@cygnus.com)
* v850: New directory for v850 port.
* v850/lib1funcs.asm: New file.
* t-v850, v850.c, v850.h, v850.md, xm-v850.h: New files.
* ginclude/va-v850.h: New file.
* ginclude/varargs.h, ginclude/stdarg.h: Include va-mn10200.h.
* configure.in (mn10200-*-*): New target.
* configure: Rebuilt.
* config.sub: Handle v850-elf.
* Makefile.in (USER_H): Add va-mn10200.h.
* invoke.texi: Document v850 stuff.
Fri Sep 5 09:37:50 1997 Jim Wilson (wilson@cygnus.com)
* sdbout.c (plain_type_1, case ARRAY_TYPE): Verify that TYPE_DOMAIN
has integer TYPE_{MAX,MIN}_VALUE before using them.
* m68k/m68k.h (MACHINE_STATE_SAVE, MACHINE_STATE_RESTORE): Add
__HPUX_ASM__ versions.
Fri Sep 5 09:08:44 1997 Jeffrey A Law (law@cygnus.com)
* install.sh: Delete duplicate install script.
Thu Sep 4 23:14:27 1997 Stan Cox (coxs@dg-rtp.dg.com)
* reg-stack.c (subst_stack_regs): Pop the stack register for a
computed goto which sets the same stack register.
* reg-stack.c (compare_for_stack_reg): Swap only if the source and
destination are both on the regstack.
(subst_stack_regs_pat): Put the destination at the top of the regstack.
Thu Sep 4 15:02:27 1997 Jim Wilson <wilson@cygnus.com>
* mips.md (nonlocal_goto_receiver): Define.
* profile.c (output_arc_profiler): Check next_insert_after for non
NULL before deferencing it.
* i386/t-sol2 (TARGET_LIBGCC2_CFLAGS): Define to -fPIC.
Thu Sep 4 14:51:57 1997 Jeffrey A Law (law@cygnus.com)
* i386.h (CPP_CPU_DEFAULT): Avoid using #elif.
Thu Sep 4 15:01:49 1997 Michael Meissner <meissner@cygnus.com>
* toplev.c (rest_of_compilation): For passes starting with
flow_analysis, use print_rtl_with_bb instead of print_rtl.
* print-rtl.c (print_rtl_single): Print a single rtl value to a
file.
* flow.c (print_rtl_with_bb): Print which insns start and end
basic blocks. For the start of a basic block, also print the live
information.
Thu Sep 4 11:51:43 1997 Jim Wilson <wilson@cygnus.com>
* toplev.c (main): Change #elif to #else/#ifdef
* tlink.c: Include ctype.h.
* ginclude/va-mips.h: Add _VA_MIPS_H_ENUM ifdef/define/endif.
Thu Sep 4 11:17:16 1997 Mikeael Meissner (meissner@cygnus.com)
* bitmap.c: Conditionally include stdlib.h.
(free): Provide a declaration if NEED_DECLARATION_FREE.
Thu Sep 4 09:58:53 1997 Joel Sherrill (joel@OARcorp.com)
* i960/i960.h: Added default for SUBTARGET_SWITCHES macro.
Thu Sep 4 09:53:20 1997 Jim Wilson (wilson@cygnus.com)
* profile.c (output_arc_profiler): Verify next_insert_after is an
INSN before and after skipping a stack pop.
Thu Sep 4 07:39:19 1997 J"orn Rennecke <amylaar@cygnus.co.uk>
* final.c (shorten_branches): Don't count the lengths of deleted
instructions.
Thu Sep 4 09:43:01 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump for snapshot.
Thu Sep 4 11:04:21 1997 Michael Meissner <meissner@cygnus.com>
* bitmap.h (EXECUTE_IF_AND_IN_BITMAP): New macro, to iterate over
two bitmaps ANDed together.
(bitmap_print): Declare.
* bitmap.c (function_obstack): Don't declare any more.
(bitmap_obstack): Obstack for allocating links from.
(bitmap_obstack_init): New static to say whether to initialize
bitmap_obstack.
(bitmap_element_allocate): Use bitmap_obstack to allocate from.
(bitmap_release_memory): Free all memory allocated from
bitmap_obstack.
* basic-block.h (EXECUTE_IF_AND_IN_REG_SET): New macro, invoke
EXECUTE_IF_AND_IN_BITMAP.
Wed Sep 3 10:39:42 1997 Jim Wilson <wilson@cygnus.com>
* alias.c (true_dependence): Address with AND can alias scalars.
(anti_dependence, output_dependence): Likewise.
* alias.c (true_dependence): Test x for BLKmode, in addition to mem.
Wed Sep 3 09:28:50 CDT 1997 Joel Sherrill (joel@OARcorp.com)
* i386/go32-rtems.h, i386/rtems.h, i960/rtems.h, m68k/rtems.h,
mips/rtems64.h, pa/rtems.h, rs6000/rtems.h, sh/rtems.h,
sparc/rtems.h (subtarget_switches): Removed SUBTARGET_SWITCHES
definitions. Use -qrtems instead of -mrtems.
Wed Sep 3 09:05:41 1997 Robert Lipe (robert@dgii.com)
* xm-sco5.h (sys_siglist): Define.
(SYS_SIGLIST_DECLARED): Likewise.
Tue Sep 2 23:33:33 1997 Jeffrey A Law (law@cygnus.com)
* expr.c (convert_move): Handle truncation from TQFmode to QFmode.
Wed Sep 3 02:09:30 1997 Torbjorn Granlund <tege@pdc.kth..se>
* except.c (eh_outer_context): Expand masking operation using
expand_binop.
Tue Sep 2 18:09:39 1997 Jim Wilson <wilson@cygnus.com>
* alpha.md (floatdisf2-1): New pattern.
Tue Sep 2 18:41:55 1997 Jeffrey A Law (law@cygnus.com)
* xm-svr4.h (SYS_SIGLIST_DECLARED): Define.
* xm-news.h (SYS_SIGLIST_DECLARED): Likewise.
* xm-sysv4.h (SYS_SIGLIST_DECLARED): Likewise.
* gcc.texi: Note that if you define sys_siglist that you should
also define SYS_SIGLIST_DECLARED.
* mn10200.h (INITIALIZE_TRAMPOLINE): PC relative instructions
are relative to the next instruction, not the current instruction.
Tue Sep 2 14:22:43 1997 Jim Wilson <wilson@cygnus.com>
* local-alloc.c (contains_replace_regs): New function.
(update_equiv_regs): When adding a REG_EQUIV note for a set of a MEM,
verify that there is no existing REG_EQUIV note, and add a call to
contains_place_regs.
Tue Sep 2 12:48:11 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* config/alpha/elf.h (CPP_PREDEFINES): Add -D__PIC__ -D__pic__.
(STARTFILE_SPEC): Always use crtbegin.o%s
(ENDFILE_SPEC): Always use crtend.o%s.
Tue Sep 2 12:00:36 1997 Jim Wilson <wilson@cygnus.com>
* alpha/alpha.h (PREFERRED_RELOAD_CLASS): Return NO_REGS if NO_REGS
is passed in.
* emit-rtl.c (gen_lowpart_common): Add code to convert CONST_INT to
SFmode for 64 bit hosts.
Tue Sep 2 13:42:38 1997 Paul N. Hilfinger <hilfingr@CS.Berkeley.EDU>
* fixincludes: Permits spaces between # and define. Discard C++
comments in sys/pci.h on HP/UX 10.20.
Mon Sep 1 22:13:18 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump for snapshot.
* pa.c (restore_unscaled_index_insn_codes): New function.
(record_unscaled_index_insn_codes): Likewise.
(output_function_prologue): Call restore_unscaled_index_insn_codes.
(output_function_epilogue): Free memory for unscaled_index_insn_codes.
(pa_reorg): Call record_unscaled_index_insn_codes.
* haifa-sched.c (move_insn): Handle notes correctly for insns
with SCHED_GROUP_P set.
Mon Sep 1 16:58:57 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* alpha/xm-linux.h (USE_BFD): Undef before define.
Mon Sep 1 16:25:34 1997 Jim Wilson <wilson@cygnus.com>
* cse.c (cse_insn): Don't record BLKmode values.
Mon Sep 1 11:25:47 1997 Stephen Williams (steve@icarus.icarus.com)
* i960.h (LINK_SPEC): Handle "-mjX" and "-mrp" switches.
Mon Sep 1 08:29:46 1997 Jeffrey A Law (law@cygnus.com)
* cccp.c (sys_errlist): Remove special 4.4bsd declaration.
* collect2.c (sys_errlist): Likewise.
* cpplib.c (sys_errlist): Likewise.
* gcc.c (sys_errlist): Likewise.
* protoize (sys_errlist): Likewise.
* configure.in: Check for strerror.
* xm-freebsd.h (HAVE_STRERROR): Remove definition.
* xm-gnu.h (HAVE_STRERROR): Likewise.
* xm-linux.h (HAVE_STRERROR): Likewise.
* xm-netbsd.h (HAVE_STRERROR): Likewise.
* xm-bsd386.h (HAVE_STRERROR): Likewise.
* xm-cygwin32.h (HAVE_STRERROR): Likewise.
* xm-dos.h (HAVE_STRERROR): Likewise.
* xm-mingw32.h (HAVE_STRERROR): Likewise.
* xm-pa.h (HAVE_STRERROR): Likewise.
* xm-papro.h (HAVE_STRERROR): Likewise.
* xm-sysv4.h (HAVE_STRERROR): Likewise.
* configure, config.in: Rebuilt.
* Makefile.in: Add several missing "else true" clauses.
* collect2.c: Change DONT_DECLARE_SYS_SIGLIST to SYS_SIGLIST_DECLARED.
* mips-tfile.c: Likewise.
* gcc.texi: DONT_DECLARE_SYS_SIGLIST: Remove docs.
* xm-linux.h (DONT_DECLARE_SYS_SIGLIST): Delete definition.
* xm-freebsd.h, xm-bsd386.h, xm-sysv4.h, xm-sol2.h: Likewise.
* configure.in: Check for sys_siglist declaration.
* configure, config.in: Rebuilt.
Mon Sep 1 08:04:07 1997 Joel Sherrill (joel@OARcorp.com)
* i386/go32-rtems.h, i386/rtems.h, i960/rtems.h,
m68k/rtems.h, mips/rtems64.h, pa/rtems.h, rs6000/rtems.h,
sparc/rtems.h (subtarget_switches): Added -mrtems as a switch.
* i960/i960.h: Added SUBTARGET_SWITCHES macro.
* rs6000/sysv4.h (extra_subtarget_switches): Added new
macro EXTRA_SUBTARGET_SWITCHES.
* configure.in (sh*-*-rtems*): New target.
* sh/rtems.h: New file.
* sh/sh.h: Added SUBTARGET_SWITCHES macro.
* configure: Rebuilt.
Sat Aug 30 22:54:26 1997 Jim Wilson <wilson@cygnus.com>
* unroll.c (calculate_giv_inc): Handle increment with code PLUS.
Sat Aug 30 10:49:46 1997 David Edelsohn <edelsohn@mhpcc.edu>
* rs6000.md: Make DF fused-add operations pay attention to
-mno-fused-add.
Fri Aug 29 19:19:54 1997 Jim Wilson <wilson@cygnus.com>
* i386/xm-sysv4.h (DONT_DECLARE_SYS_SIGLIST): Define.
Fri Aug 29 16:13:51 1997 Jeffrey A Law (law@cygnus.com)
* pa.md (reload_peepholes): Make sure operand is a REG before
examining REGNO. Allow general registers too.
Fri Aug 29 11:42:04 1997 Jim Wilson <wilson@cygnus.com>
* varasm.c (mark_constants): Don't look inside CONST_DOUBLEs.
Fri Aug 29 09:33:20 1997 Philipp Thomas (kthomas@lxi165.gwdg.de)
* dwarf2out.c (build_abbrev_table): Use xrealloc, not xmalloc
to reallocate abbrev_die_table.
Thu Aug 28 15:14:46 1997 Jim Wilson <wilson@cygnus.com>
* m68k/m68k.md (iorsi_zexthi_ashl16): Disable.
1997-08-27 Andreas Schwab <schwab@issan.informatik.uni-dortmund.de>
* Makefile.in (config.status): Depend on version.c
* expr.h (insn_gen_function): Reenable prototype.
* expr.c (move_by_pieces_1, clear_by_pieces_1): Fix prototype of
first parameter.
Thu Aug 28 13:01:43 1997 Jim Wilson <wilson@cygnus.com>
* i386.c (ix86_expand_epilogue): Emit blockage instruction when pic.
Thu Aug 28 07:03:15 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump for latest snapshot.
* bc-optab.c: Conditionally include stdlib.h.
(free): Provide a declaration if NEED_DECLARATION_FREE.
* tree.c (free): Provide a declaration if NEED_DECLARATION_FREE.
* rtl.h (free): Remove declaration.
* tree.h (free): Remvoe declaration.
* configure: Rebuilt.
Wed Aug 27 21:32:20 1997 Jeffrey A Law (law@cygnus.com)
* flags.h (flag_move_all_movables): Declare.
(flag_reduce_all_givs): Likewise.
* loop.c (move_movables): Handle flag_move_all_movables.
(strength_reduce): Handle flag_reduce_all_givs.
* toplev.c (flag_move_all_movables): Define.
(flag_reduce_all_givs): Likewise.
(f_options): Add -fmove-all-movables and -freduce-all-givs.
* invoke.texi: Document new options, including alias stuff that
wasn't included last time.
Wed Aug 27 18:08:51 1997 Bob Manson (manson@cygnus.com)
* t-h8300: Use TARGET_LIBGCC2_CFLAGS instead of LIBGCC2_CFLAGS.
* t-mn10200: Ditto.
* t-vxsparc: Ditto.
* t-vxworks68: Ditto.
* t-vxworks960: Ditto.
* t-vx29k: Ditto.
Wed Aug 27 16:35:29 1997 Richard Henderson <rth@cygnus.com>
* alpha/xm-alpha.h (alloca): Define alloca to builtin_alloca for GNUC
if not already defined, and USE_C_ALLOCA not defined.
Wed Aug 27 16:08:43 1997 Jim Wilson <wilson@cygnus.com>
* config.guess: Replace with script that uses ../config.guess.
* config/alpha/elf.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1
if USE_GNULIBC_1 is not defined.
Wed Aug 27 15:49:12 1997 Richard Henderson <rth@cygnus.com>
* alpha/elf.h (LINK_SPEC): Conditionalize on USE_GNULIBC_1.
* config.guess: Recognize alpha-linux-gnulibc1.
* configure.in (alpha-*-linux-gnulibc1): New target.
(alpha-*-linux-gnu*): Don't build crtbegin/end.
Wed Aug 27 11:52:58 1997 Jim Wilson <wilson@cygnus.com>
* m68k.md (iorsi3_internal): Readd ! TARGET_5200 check lost in
last change.
Wed Aug 27 01:56:18 1997 Doug Evans <dje@seba.cygnus.com>
* loop.c (combine_movables): Earlier insns don't match later ones.
Wed Aug 27 01:24:25 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* config/linux.h (CC1_SPEC): Define it only if not defined.
* config/m68k/linux.h (CC1_SPEC): Undefine it before include
<linux.h>
* config/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1 if
USE_GNULIBC_1 is not defined.
* config/rs6000/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined as 1.
* config/sparc/linux.h (DEFAULT_VTABLE_THUNKS): New. Defined
as 1 if USE_GNULIBC_1 is not defined.
Wed Aug 27 00:49:14 1997 Jeffrey A Law (law@cygnus.com)
* reorg.c (dbr_schedule): Allow current_function_return_rtx
to be something other than a REG.
* function.c (expand_function_end): Fix current_function_return_rtx
if it was a pseudo.
* t-freebsd (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS.
* x-netbsd: Likewise
* x-dgux (USER_H): Include EXTRA_HEADERS and LANG_EXTRA_HEADERS
(INSTALL_HEADERS): Delete.
* x-dguxbcs: Likewise.
* x-hp3bsd44: Likewise
* x-pa: Likewise.
Wed Aug 27 00:30:00 1997 Bernd Schmidt <crux@pool.informatik.rwth-aachen.de>
* i386.md (pop): pop increments the stack pointer.
(prologue_set_stack_ptr): New pattern.
* i386.c (ix86_expand_prologue): Use prologue_set_stack_ptr
instead of subsi3.
Tue Aug 26 18:50:32 1997 Jim Wilson <wilson@cygnus.com>
* reload.c (find_reloads, case '0'): Reject matching a non-offsettable
address where an offsettable address is required.
Tue Aug 26 17:54:56 1997 Michael P. Hayes (michaelh@ongaonga.chch.cri.nz>
* loop.c (check_final_value): Don't miss a biv increment in a
parallel.
Tue Aug 26 12:03:49 1997 Jim Wilson (wilson@cygnus.com)
* dwarfout.c (dwarfout_file_scope_decl, case TYPE_DECL): Check
TYPE_DECL_IS_STUB instead of DECL_NAME.
Mon Aug 25 23:27:10 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* objc/Make-lang.in ($(OBJC_O)): Also depend on cc1obj.
Mon Aug 25 23:27:10 1997 Jim Meyering <meyering@eng.ascend.com>
* objc/Make-lang.in ($(OBJC_O)): Also depend on $(GCC_PASSES).
Mon Aug 25 13:12:24 1997 Jeffrey A Law (law@cygnus.com)
* haifa-sched.c (find_pre_sched_live): Remove #if 0 code.
(find_post_sched_live): Likewise.
* haifa-sched.c (schedule_block): Remove old code to get arguments
from hard regs into pseudos early.
Mon Aug 25 08:55:00 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump for new snapshot.
* local-alloc.c (update_equiv_regs): All the target to reject
promotion of some REG_EQUAL to REG_EQUIV notes.
* pa.h (DONT_RECORD_EQUIVALENCE): Define.
* pa.c (secondary_reload_class): (mem (mem ... )) does not need
secondary reloads.
* pa.c (hppa_builtin_saveregs): Emit a blockage insn after the
store of the argument registers.
Mon Aug 25 08:39:02 1997 Craig Burley (burley@gnu.ai.mit.edu)
* fold-const.c (multiple_of_p): New function.
(fold): Turn some cases of *_DIV_EXPR into EXACT_DIV_EXPR.
Mon Aug 25 01:47:41 1997 Jeffrey A Law (law@cygnus.com)
* expr.h (insn_gen_function): Temporarily remove prototype.
Sun Aug 24 17:22:21 1997 Jim Wilson <wilson@cygnus.com>
* Makefile.in (install-info): Don't cd into srcdir. Add srcdir to
filenames. Use sed to extract base filename for install.
Sat Aug 23 18:19:40 1997 John F. Carr <jfc@mit.edu>
* unroll.c (find_splittable_givs): Only share if two givs have the
same add and multiply values.
Sat Aug 23 14:36:27 1997 Jim Wilson <wilson@cygnus.com>
* m68k/next.h (GO_IF_INDEXABLE_BASE): Fix typo in undef.
* m68k/m68kemb.h (LIB_SPEC): Add missing comment end before it.
Sat Aug 23 00:18:22 1997 Jeffrey A Law (law@cygnus.com)
* pa.c (pa_reorg): Always put begin_brtab and end_brtab insns
around branch tables.
* pa.md (begin_brtab, end_brtab): Only emit the .begin_brtab
and .end_brtab directives if TARGET_GAS.
Fri Aug 22 14:05:55 1997 Jim Wilson <wilson@cygnus.com>
* alias.c (true_dependence): Pass x_addr not x to varies.
* acconfig.h (NEED_DECLARATION_CALLOC): Add.
* configure.in: Add GCC_NEED_DECLARATION call for calloc.
* rs6000/xm-rs6000.h (malloc, realloc, calloc, free): Delete
declarations.
* config.in, configure: Regenerate.
Thu Aug 21 23:52:16 1997 John F. Carr <jfc@mit.edu>
* alias.c (find_base_value): Improve handling of PLUS, MINUS, and
LO_SUM.
(record_set): Handle LO_SUM like PLUS.
(init_alias_analysis): When following chains of base addresses,
do not stop on reaching a hard register.
Thu Aug 21 20:17:37 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump for new snapshot.
Thu Aug 21 17:28:00 1997 Jim Wilson <wilson@cygnus.com>
* alpha.h (ARCH_ASM_FILE_START): Define.
(ASM_FILE_START): Use ARCH_ASM_FILE_START.
* osf12.h, osf2or3.h (ARCH_ASM_FILE_START): Redefine to null string.
Thu Aug 21 10:22:19 1997 Jeffrey A Law (law@cygnus.com)
* Makefile.in (install-common): Put gcov comment at start of line.
Wed Aug 20 22:47:33 1997 Jeffrey A Law (law@cygnus.com)
* alias.c (init_alias_analysis): When simplifying the reg_base_value
array, simplify entries for hard registers too.
Wed Aug 20 12:35:47 1997 Dave Love <d.love@dl.ac.uk>
* dwarf2.h (enum dwarf_call_frame_info): Remove trailing comma from
list.
Wed Aug 20 11:58:33 1997 Jim Wilson <wilson@cygnus.com>
* stmt.c (start_cleanup_deferal, end_cleanup_deferal): Test
block_stack before dereferencing it.
Wed Aug 20 11:57:11 1997 Michael Meissner <meissner@cygnus.com>
* rs6000.h (ISSUE_RATE): Define instead of MACHINE_issue_rate.
Tue Aug 19 17:10:56 1997 Jason Merrill <jason@yorick.cygnus.com>
* cplus-dem.c: Add 'extern' to prepends_underscore.
Tue Aug 19 09:34:57 1997 Jeffrey A Law (law@cygnus.com)
* haifa-sched.c (ISSUE_RATE): Renamed from MACHINE_issue_rate.
(get_issue_rate): Delete.
* pa.h (ISSUE_RATE): Define.
* configure.in: Turn on haifa by default for the PA.
* configure: Rebuilt.
* pa.c (override_options): Accept -mschedule=7200 option.
(pa_adjust_cost): No longer need to scale costs for newer
processors.
* pa.h (enum processor_type): Add PROCESSOR_7200.
* pa.md: Revamp scheduling parameters to work better with
haifa. Add scheduling parameters for the 7200.
* haifa-sched.c (move_insn): Reemit notes for SCHED_GROUP_P
insns too.
(schedule_block): When adjusting basic_block_{head,end}, account
for movement of SCHED_GROUP_P insns too.
* haifa-sched.c (debug_dependencies): Fix thinko.
* Makefile.in (EXPECT, RUNTEST, RUNTESTFLAGS): Define.
(site.exp, check, check-g++, check-gcc): New targets.
* haifa-sched.c: Make lots of variables static.
Tue Aug 19 07:18:34 1997 H.J. Lu (hjl@gnu.ai.mit.edu)
* expr.h, real.h: Finish prototyping.
Mon Aug 18 21:49:02 1997 Jim Wilson <wilson@cygnus.com>
* reload.c (find_reloads): Add code to convert RELOAD_FOR_OPADDR_ADDR
reloads to RELOAD_FOR_OPERAND_ADDRESS reloads.
* reload1.c: Undo bugfix from Aug 11.
Mon Aug 18 17:39:02 1997 Mike Meissner <meissner@cygnus.com>
* configure.in ({powerpc,rs6000}*-*-*, --with-cpu): Remove single
quotes around the name.
* configure: Regenerate.
Mon Aug 18 13:46:47 1997 Jim Wilson <wilson@cygnus.com>
* Makefile.in (stmp-multilib-sub): Fix typo in last change.
Thu Aug 7 10:33:13 1997 Manfred Hollstein <manfred@s-direktnet.de>
* Makefile.in (sub-makes): Pass the current value of LANGUAGES down
to sub-makes to avoid building more passes than the user might have
requested on the command line.
Sun Aug 17 15:42:17 1997 Dave Love (d.love@dl.ac.uk)
* configure.in: Expurgate `broken_install' (install is
autoconfed).
* configure.lang: Substitute autoconfed ${INSTALL} (not currently
relevant).
Sat Aug 16 01:08:12 1997 Jeffrey A Law (law@cygnus.com)
* loop.c (is_power_of_2, is_conditional_branch): Delete unused
functions and declarations.
(analyze_loop_iterations): Use condjump_p.
(insert_bct): Likewise. Use exact_log2.
Fri Aug 15 23:48:32 1997 Jeffrey A Law (law@cygnus.com)
* haifa-sched.c (find_post_sched_live): Call FREE_REG_SET as needed.
(schedule_region): Likewise.
(schedule_insns): Likewise.
* PROJECTS: Update with Haifa stuff.
Fri Aug 15 12:49:56 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Change the version string to look like:
egcs-2.90.00 970814 (gcc2-970802 experimental).
* loop.c (is_conditional_branch): Make definition match declaration.
* gcc.c: Take out experimental snapshot warning message.
Fri Aug 15 13:43:39 1997 Michael Meissner <meissner@cygnus.com>
* haifa-sched.c (debug_dependencies): Use GET_NOTE_INSN_NAME to
print out the names of the notes. Print out the name of the insn
that is not a note, and not an {,CALL_,JUMP_}INSN.
Wed Aug 13 01:03:37 1997 Doug Evans <dje@canuck.cygnus.com>
* configure.in (haifa configury): Fix typo.
* configure: Regenerate.
Tue Aug 12 10:20:36 1997 Jeffrey A Law (law@cygnus.com)
* version.c: Bump version to "gcc-3.0.0 970802 experimental".
* gcc.info*: Rebuilt.
* COPYING.g77, README.g77: New files.
* real.c (ereal_unto_float, ereal_unto_double): New functions.
* real.h (ereal_unto_float, ereal_unto_double): Declare them.
(REAL_VALUE_UNTO_TARGET_DOUBLE, REAL_VALUE_UNTO_TARGET_SINGLE): Define.
Mon Aug 11 14:50:55 1997 Jeffrey A Law (law@cygnus.com)
* Integrate Haifa instruction scheduler.
* Makefile.in (ALL_CFLAGS): Add SCHED_CFLAGS. Prefix all references
to sched with $(SCHED_CFLAGS.
* configure.in: Handle --enable-haifa.
* configure: Rebuilt.
* flags.h: Add new flags for haifa instruction scheduler.
* genattrtab.c (expand_units): For haifa, don't subtract one
when computing blockage.
* toplev.h (flag_schedule_interblock): Haifa scheduler flag.
(flag_schedule_speculative): Ditto.
(flag_schedule_speculative_load): Ditto.
(flag_schedule_speculative_load_dangerous): Ditto.
(flag_schedule_reverse_before_reload): Ditto.
(flag_schedule_reverse_after_reload): Ditto.
(flag_branch_on_count_reg): Ditto.
(f_options): Add Haifa switches.
(main): Turn off some Haifa options if appropriate macro is
defined. Process Haifa switches.
* unroll.c (iteration_info): No longer static, since Haifa
scheduler uses it.
(unroll_loop): Inform HAIFA scheduler about loop unrolling factor.
* unroll.c (unroll_loop): Set loop_unroll_iter, loop_start_value.
* loop.h (loop_unroll_factor, loop_number): Add HAIFA decls.
* loop.h (loop_initial_value,loop_unroll_iter): New globals.
* loop.c (loop_optimize): If HAIFA is defined, allocate additional
storage for the Haifa scheduler.
(mark_loop_jump): If HAIFA defined, set LABEL_OUTSIDE_LOOP_P and
LABEL_NEXTREF.
(strength_reduce): If HAIFA and HAVE_decrement_and_branch_on_count
are defined, call analyze_loop_iterations and insert_bct to use
countdown loops.
(record_giv): Refine test for jumps out of loops if HAIFA is
defined.
(analyze_loop_iterations): New function to identify if we can use
a countdown loop.
(insert_bct): Insert countdown loop.
(instrument_loop_bct): Low level code to insert countdown loop.
(loop_number): Calculate UID of loop.
(indirect_jump_in_function_p): Return true if an indirect jump is
in the function.
(is_power_of_2): Return true if value is a power of 2.
(is_conditional_branch): Return true if insn is a conditional
jump.
(fix_bct_param): Process -fbct-{min,max}-N switches.
(check_bct_param): Return true if loop should be instrumented.
* loop.c (loop_initial_value,loop_unroll_iter): New globals.
(loop_optimize): Initialize.
(get_condition_for_loop): Ditto.
* loop.c (strength_reduce): Inside of code that uses #ifdef
HAVE_decrement_and_branch_on_count code, test it to make sure the
condition is true.
(instrument_loop_bct): Ditto.
* haifa-sched.c: New file.
* Integrate regmove pass.
* Makefile.in (OBJS): Add regmove.o
(regmove.o): Add dependencies.
* flow.c (find_use_as_address): No longer static.
* rtl.h (find_use_as_address): Declare.
* toplev.c (regmove_dump, flag_regmove): Define.
(f_options): Add -fregmove.
(regmove_dump_file, regmove_time): Define.
(fatal_insn): Close the regmove dump file.
(compile_file): Initialize regmove_time; open/close the regmove dump
file as needed. Print regmove time as needed.
(rest_of_compilation): Run regmove pass if requested, dump
RTL after regmove if requested.
(main): If -O2 or more, turn on regmove. Handle dump switches.
* regmove.c: New file.
Mon Aug 11 14:15:02 1997 Jeffrey A Law (law@cygnus.com)
* Integrate tlink patch from jason@cygnus.com
* gcc.c (SWITCH_TAKES_ARG): Add 'V', 'B' and 'b'.
(process_command): Increment n_switches for them. Don't discard
their args. Validate them.
(main): Escape " marks when creating COLLECT_GCC_OPTIONS.
From Rohan Lenard.
(process_command): Set include_prefixes from COMPILER_PATH.
(main): Set COLLECT_GCC_OPTIONS sooner.
* confiugre.in: Link ../ld/ld.new to collect-ld rather than real-ld.
* tlink.c, hash.c, hash.h: New files.
* Makefile.in (USE_COLLECT2): Always use collect2.
(collect2): Depend on and link in hash.o and tlink.o.
(tlink.o, hash.o): Add dependencies.
Mon Aug 11 10:04:49 1997 Jeffrey A Law (law@cygnus.com)
* Integrate alias analysis changes from jfc@mit.edu
* Makefile.in (OBJS): Add alias.o
(alias.o): Add dependencies.
* alias.c: New file.
* sched.c: Remove alias analysis code. It lives in alias.c now.
(sched_analyze_2): Add new arguments to true_dependence.
(schedule_insns): Always call init_alias_analysis.
* calls.c (expand_call): Note calls to malloc, calloc, and realloc;
mark return value from such functions as a pointer and keep track of
them for alias analysis. If a return value from a function is a
pointer, mark it as such.
* combine.c (distribute_notes): Handle REG_NOALIAS.
* cse.c (struct write_data): Delete. No longer needed.
(invalidate): Don't call set_nonvarying_address_components anymore.
Use true_dependence to decide if an entry should be removed from
the hash table.
(invalidate_memory): Remove WRITES argument, simplify appropriately.
Fix all callers.
(note_mem_written): Similarly for WRITE_PTR argument.
(invalidate_from_clobbers): Similarly for W argument.
(invalidate_for_call): Remove memory elements from the hash table.
(refers_to_mem_p, cse_rtx_addr_varies_p): Deleted.
(cse_rtx_varies_p): New function. Derived from old
cse_rtx_addr_varies_p.
(cse_insn): Remove WRITES_MEMORY and INIT variables and all references.
Don't call note_mem_written anymore. Stack pushes invalidate the stack
pointer if PUSH_ROUNDING is defined. No longer need to call
cse_rtx_addr_varies_p to decide if a MEM should be invalidated.
(skipped_writes_memory): Remove variable.
(invalidate_skipped_set): Simplify and wewrite to use invalidate_memory.
(invalidate_skipped_block): Simplify for new alias analysis code.
(cse_set_around_loop): Likewise.
(cse_main): Call init_alias_analysis.
* flags.h (flag_alias_check, flag_argument_noalias): Declare.
* toplev.c (flag_alias_check, flag_argument_noalias): Define.
(f_options): Add new alias checking arguments.
(main): Set flag_alias_check when optimizing.
* local_alloc (validate_equiv_mem_from_store): Add new arguments
to true_dependence.
(memref_referenced_p): Likewise.
* loop.c (NUM_STORES): Increase to 30.
(prescan_loop): Only non-constant calls set unknown_address_altered.
(invariant_p): Add new arguments to true_dependence.
(record_giv): Initialize unrolled and shared fields.
(emit_iv_add_mult): Call record_base_value as needed.
* loop.h (struct induction): Add unrolled and shared fields.
* unroll.c (unroll_loop): Call record_base_value as needed.
(copy_loop_body): Likewise.
(final_biv_value): Likewise.
(final_giv_value): Likewise.
(find_splittable_regs): Likewise. Only create one new pseudo
if we have multiple address GIVs that were combined with the same
dst_reg GIV. Note when a new register is created due to unrolling.
* rtl.c (reg_note_name): Add REG_NOALIAS.
* rtl.h (enum reg_note): Similarly.
(rtx_varies_p, may_trap_p, side_effects_p): Declare.
(volatile_refs_p, volatile_insn_p, remove_note): Likewise.
(note_stores, refers_to_regno_p, reg_overlap_mentioned_p): Likewise.
(true_dependence, read_dependence, anti_dependence): Likewise.
(output_dependence, init_alias_analysis, end_alias_analysis): Likewise.
(mark_user_reg, mark_reg_pointer): Likewise.
* Integrate reload bugfix from Wilon which enables the PA port
to bootstrap again.
* reload1.c (reload): Sum needs for both OPADDR_ADDR and and
OPERAND_ADDRESS when computing how many registers an insn needs.
(reload_reg_free_p): OPADDR_ADDR and OPERAND_ADDRESS reloads do
conflict.
(reload_reg_free_before_p): Treat OPERAND_ADDRESS reloads just like
OPADDR_ADDR reload.
(reload_reg_reaches_end_p): For RELOAD_FOR_OPADDR_ADDR insns, registers
in reload_reg_use_in_op_addr do not reach the end.
do not reach the end.
(reloads_conflict): RELOAD_FOR_OPADDR_ADDR conflicts with
RELOAD_FOR_OPERAND_ADDRESS.
Sun Aug 10 12:00:20 1997 Jeffrey A Law (law@cygnus.com)
* egcs project officially starts.