OSDN Git Service

* configure.in (m68*-*-rtemscoff*): New target, formal name for
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index aa1d9cd..bcf3674 100644 (file)
@@ -1,3 +1,382 @@
+2000-01-04  Joel Sherrill (joel@OARcorp.com>
+
+       * configure.in (m68*-*-rtemscoff*): New target, formal name for
+       old m68*-*-rtems*.
+        (m68*-*-rtemself*): New target.
+       (mips64orion-*-rtems*): Remove duplicate definition of tm_file.
+       (sparc*-*-rtemsaout*): New target, formal name for old sparc*-*-rtems*.
+        (sparc*-*-rtemself*): New target.
+        (sparc*-*-rtems*): Now elf not a.out.
+       * config/i386/rtems.h: Include config/rtems.h.
+       * config/i386/rtemself.h: Include config/rtems.h.
+       * config/i960/rtems.h: Include config/rtems.h.
+       * config/m68k/rtems.h: Include config/rtems.h.
+       * config/m68k/rtemself.h: Include config/rtems.h.
+       * config/mips/rtems64.h: Include config/rtems.h.
+       * config/pa/rtems.h: Include config/rtems.h.
+       * config/rs6000/rtems.h: Include config/rtems.h.
+       * config/sh/rtems.h: Include config/rtems.h.
+       * config/sh/rtemself.h: Include config/rtems.h.
+       * config/sparc/rtems.h: Include config/rtems.h.
+       * config/sparc/rtemself.h: Include config/rtems.h
+
+Tue Jan  4 23:59:26 2000  Denis Chertykov <denisc@overta.ru>
+
+       * final.c (shorten_branches): Correctly compute length of
+       asms without operands.
+Tue Jan  4 22:55:41 2000  Steve Chamberlain <sac@pobox.com>
+
+       * configure.in: Add pj target.
+       * configure: Regenerate.
+       * config/pj: New directory.
+       * config/pj/lib1funcs.S: New file.
+       * config/pj/linux.h: New file.
+       * config/pj/pj.c: New file.
+       * config/pj/pj.md: New file.
+       * config/pj/pjl.h: New file.
+       * config/pj/t-pj: New file.
+       * config/pj/xm-pj.h: New file
+
+Tue Jan  4 22:30:16 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * toplev.c (rest_of_compilation): Run shorten-branches before
+       reg-stack for now.
+
+2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * config/c4x/c4x.h (IS_XXX_REG, IS_XXX_REGNO): Swap behaviour of 
+       macros so that they're consistent with their names.
+       * config/c4x/c4x.c (IS_XXX_REG, IS_XXX_REGNO): Likewise.
+       * config/c4x/c4x.md (IS_XXX_REG, IS_XXX_REGNO): Likewise.
+
+2000-01-05  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * config/c4x/c4x.md (*addqi3_noclobber_reload): Ensure that CC never
+       modified inadvertently.
+
+2000-01-04  Joel Sherrill <joel@OARcorp.com>
+
+       * configure.in (v850*-*-rtems*): New target.
+       * configure: Regenerate.
+       * config/v850/rtems.h: New file.
+
+2000-01-04  Mumit Khan  <khan@xraylith.wisc.edu>
+
+       * gthr-win32.h (__gthread_active_p): Support Mingw MT runtime.
+       (__gthread_key_create): Likewise. 
+       (__gthread_key_dtor):  Likewise.
+       (__gthread_once): Fix logic.
+       (__gthread_key_delete): Cast away constness.
+
+       * i386/cygwin.h (SUBTARGET_SWITCHES): Add -mthreads option.
+       * invoke.texi: Document.
+       * i386/mingw32.h (CPP_SPEC): Use.
+       (LIBGCC_SPEC): Likewise.
+       * i386/crtdll.h (LIBGCC_SPEC): Likewise.
+
+2000-01-04  David Edelsohn  <edelsohn@gnu.org>
+
+       * rs6000/sysv4.h (ASM_OUTPUT_DEF): Undefine.
+       (HANDLE_PRAGMA_PACK): Undefine.
+       (SLOW_UNALIGNED_ACCESS): Define.
+
+2000-01-04  David Edelsohn  <edelsohn@gnu.org>
+
+       * expmed.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
+       to default definition.
+       (store_bit_field): Call SLOW_UNALIGNED_ACCESS with mode and alignment.
+       (store_fixed_bit_field): Call macro with word_mode and alignment.
+       (extract_bit_field): Call macro with relevant mode and alignment.
+       * expr.c (SLOW_UNALIGNED_ACCESS): Add mode and align parameters
+       to default definition.
+       (move_by_pieces): Call SLOW_UNALIGNED_ACCESS with word_mode
+       and alignment.
+       (move_by_pieces_ninsns): Likewise.
+       (clear_by_pieces): Likewise.
+       (emit_push_insn): Likewise.
+       (store_field): Call macro with relevant mode and alignment.
+       (expand_expr): Likewise.
+       (expand_expr_unaligned): Likewise.
+
+       * rs6000.h (HANDLE_PRAGMA_PACK): Define.
+       (SLOW_UNALIGNED_ACCESS): Define.
+       (CASE_VECTOR_MODE): Always use 32-bit offsets.
+       (ASM_FILE_END): Generate 64-bit symbol in 64-bit mode.
+       (EXTRA_SECTOIN_FUNCTIONS): Indent .csect pseudo-op.
+       (toc_section): Likewise and .toc pseudo-op.
+       (ASM_DECLARE_FUNCTION): Likewise.  Align text more strictly in
+       64-bit mode.
+       (TEXT_SECTION_ASM_OP): Likewise.
+       (ASM_OUTPUT_ADD_VEC_ELT, ASM_OUTPUT_ADDR_DIFF_ELT): Always use
+       32-bit offsets.
+
+       * a29k.h (SLOW_UNALIGNED_ACCESS): Add MODE and ALIGN parameters.
+       * alpha.h (SLOW_UNALIGNED_ACCESS): Likewise.
+       * arm/thumb.h (SLOW_UNALIGNED_ACCESS): Likewise.
+       * gmicro.h (SLOW_UNALIGNED_ACCESS): Likewise.
+       * fr30.h (SLOW_UNALIGNED_ACCESS): Likewise.
+
+Tue Jan  4 11:44:13 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * regclass.c: Revert my Jan 4 change to loop cost computation.
+
+Tue Jan  4 19:22:39 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
+
+       * regclass.c (regclass): Do not obey REG_N_REFS in non-optimizing
+       compilation.
+
+2000-01-04  Stan Cox  <scox@cygnus.com>
+
+       * haifa-sched.c (build_control_flow): Change unreachable simple
+       loop test to check if current block has only one predecessor.
+       (find_rgns): Initialize degree.  Use dest as degree index, not src.
+
+2000-01-04  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * builtins.c (expand_builtin_strlen): Initialize variable `icode'.
+
+       * calls.c (expand_call): Likewise for
+       `old_stack_arg_under_construction'.
+
+       * cpphash.c (macroexpand): Likewise for `args' and `rest_zero'.
+
+       * function.c (pad_to_arg_alignment): Likewise for `save_var' and
+       `save_constant'.
+
+       * gcc.c (execute): Likewise for `ut' and `st'.
+
+       * genattrtab.c (attr_rtx): Likewise for `rt_val'.
+
+       * genopinit.c (gen_insn): Likewise for `m1', `m2' and `op'.
+
+       * jump.c (jump_optimize_1): Likewise for `temp2'.
+
+       * local-alloc.c (block_alloc): Likewise for `r1'.
+
+       * loop.c (recombine_givs): Likewise for `life_start' and `life_end'.
+
+       * reg-stack.c (check_asm_stack_operands): Likewise for `clobber_reg'.
+       (subst_asm_stack_regs): Likewise for `clobber_reg' and `clobber_loc'.
+       
+       * regmove.c (fixup_match_1): Likewise for `insn_const', `dst_node'
+       and `set2'.
+
+       * reload.c (find_reloads): Likewise for `goal_alternative_number'
+       and `goal_earlyclobber'.
+
+       * scan-decls.c (scan_decls): Likewise for `prev_id_end'.
+
+       * sdbout.c (sdbout_one_type): Likewise for `member_scl'.
+
+       * stupid.c (stupid_life_analysis): Likewise for `chain'.
+
+       * unroll.c (copy_loop_body): Likewise for `copy'.
+
+       * varasm.c (output_constructor): Likewise for `byte'.   
+
+Tue Jan  4 15:34:34 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
+
+       * i386.c (ix86_expand_move): Allow pushes of memory, offload to memory
+       all FP constants for constant->reg moves.
+       (ix86_split_to_parts): Try to convert memory address into immediate
+       when available in the constant pool.
+       * i386.h (PREFERRED_RELOAD_CLASS): Allow CONST_DOUBLE->integer reg
+       moves.
+       (LEGITIMATE_CONSTANT_P): Return 1.
+       * i386.md (pushsf): New splitter to convert constant pool memory
+       reference to immediate.
+       (mov?f): Likewise; do not allow CONST_DOUBLE for reg moves before
+       reload.
+
+2000-01-04  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * i386.md (ashlsi3_cmpno): Don't accept variables shifts.
+       (ashlhi3_cmpno, ashlqi3_cmpno, ashrsi3_cmpno, ashrhi3_cmpno,
+       ashrqi3_cmpno, lshrsi3_cmpno, lshrhi3_cmpno, lshrqi3_cmpno): Likewise.
+       (rotlsi3_cmpno, rotlhi3_cmpno, rotlqi3_cmpno, rotrsi3_cmpno,
+       rotrhi3_cmpno, rotrqi3_cmpno): Likewise.
+
+2000-01-04  Martin von Löwis  <loewis@informatik.hu-berlin.de>
+
+       * ginclude/stdbool.h:  Support compilation as C++.
+
+Tue Jan  4 01:35:13 2000  J"orn Rennecke <amylaar@cygnus.co.uk>
+
+       * fold-const.c (make_range): Don't try to reverse an unbounded range.
+
+Tue Jan  4 00:18:46 2000  Jeffrey A Law  (law@cygnus.com)
+
+       * regclass.c (regclass): Properly compute loop_cost.  Adjust
+       comments.
+
+       * regclass.c: Fix minor whitespace problems.
+
+2000-01-03  Anthony Green  <green@cygnus.com>
+       
+       * config/i386/i386.md (builtin_setjmp_receiver): New pattern.
+       Restore the pic register if required.
+
+2000-01-03  Ulrich Drepper  <drepper@cygnus.com>
+
+       * c-common.c (format_char_info): Update comment.
+       (check_format_info): Recognize 'z' modifier in the same way 'Z'
+       was recognized.  Emit warning for formats new in ISO C99 only
+       if flag_isoc9x is not set.
+
+Mon Jan  3 12:59:54 2000  Mark P. Mitchell  <mark@codesourcery.com>
+
+       * config/mips/iris6gld.h: Fix typo in -mabi=n32 specs.
+
+Mon Jan  3 15:33:37 MET 2000  Jan Hubicka  <hubicka@freesoft.cz>
+
+       * combine.c (expand_compound_operation): Do not convert ZERO_EXTEND to
+       SIGN_EXTEND, convert SIGN_EXTEND to ZERO_EXTEND.
+       (make_compound_operation): Choose cheaper alternative between
+       ZERO_EXTEND and SIGN_EXTEND when sign bit is not set.
+
+       * regclass.c (op_costs): Remove global variable.
+       (record_reg_classes): New parameter "op_costs" and "reg_pref".
+       (record_operand_costs): Break out from ...
+       (scan_one_insn): ... here.
+       (dump_regclass): Make dumps nicer.
+       (regclass): Dump preferrences choosed and changes done during passes.
+
+2000-01-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/sparc/sparc.c (gen_df_reg): Fix for 32bit SPARC.
+
+2000-01-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/sparc/sparc.c (gen_df_reg): New function.
+       * config/sparc/sparc-protos.h (gen_df_reg): Add prototype.
+       * config/sparc/sparc.md (movtf_no_e_insn_sp64+1,
+       movtf_no_e_insn_sp64+2, movtf_no_e_insn_sp64+3, movtf_cc_sp64+1,
+       movtf_cc_reg_sp64+1): Use it.
+
+2000-01-02  Mark Mitchell  <mark@codesourcery.com>
+
+       * integrate.c (copy_decl_for_inlining): Clear TREE_ADDRESSABLE on
+       copied LABEL_DECLs.
+
+Mon Jan  3 02:54:40 2000  Hans-Peter Nilsson  <hp@bitrange.com>
+
+       * config/i386/i386.c (ix86_expand_unary_operator): Function
+       definition made void.
+       (ix86_expand_binary_operator): Update outdated preceding comment.
+       * config/i386/i386-protos.h (ix86_expand_unary_operator): Update
+       prototype.
+
+       * config/i386/i386.c (override_options): Fix option-name typo.
+
+2000-01-02  Mark Mitchell  <mark@codesourcery.com>
+
+       * system.h (CEIL): Define.
+       * builtins.c (CEIL): Remove.
+       * expmed.c (CEIL): Likewise.
+       * expr.c (CEIL): Likewise.
+       * stor-layout.c (CEIL): Likewise.
+       
+2000-01-02  Franz Sirl <Franz.Sirl-kernel@lauterbach.com>
+
+       * expr.c (store_constructor_field): Fix typo introduced with last
+       gcc2 merge.
+
+2000-01-01  Mark Mitchell  <mark@codesourcery.com>
+
+       * tree.h (BINFO_N_BASETYPES): New macro.
+
+2000-01-01  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * expmed.c (emit_store_flag): Prevent losing a pending stack
+       adjust the same way we prevent losing queued increments.
+
+Fri Dec 31 19:10:31 1999  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * function.c (update_temp_slot_address): Handle case where sum of
+       temporary address plus offset in register is a valid address.
+
+1999-12-30  Herman A.J. ten Brugge  <Haj.Ten.Brugge@net.HCC.nl>
+
+        * genrecog.c (change_state) Corrected typo.
+
+1999-12-30  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h (bcopy, bcmp, bzero, index, rindex, atof, atol, free,
+       getcwd, getenv, getwd, sbrk, strstr, malloc, calloc, realloc,
+       strerror, getrlimit, setrlimit, abort): Add prototype arguments.
+
+1999-12-30  Bernd Schmidt  <bernds@cygnus.co.uk>
+
+       * i386.c (ix86_expand_fp_compare): In non-sahf non-TARGET_IEEE
+       case, expand GT comparisons correctly.  Fix a comment before this
+       part of the code.
+
+1999-12-30  Gabriel Dos Reis  <dosreis@cmla.ens-cachan.fr>
+
+       * dwarfout.c: Include "frame.h" 
+       * dwarf2out.c: Likewise.
+       * Makefile.in (dwarfout.o): Depend on frame.h
+       (dwarf2out.o): Likewise.
+
+1999-12-29  "Martin v. Loewis" <martin@loewis.home.cs.tu-berlin.de>
+
+       Restore i386 binary compatibility in Dwarf EH info.
+       * config/i386/i386.h (DWARF_FRAME_REGISTERS): Define as 17, the old
+       value of FIRST_PSEUDO_REGISTER.
+       * frame.h (DWARF_FRAME_REGISTERS): Default to FIRST_PSEUDO_REGISTER.
+       (struct frame_state): Use DWARF_FRAME_REGISTERS.
+       * dwarfout.c (output_reg_number): Ditto.
+       * dwarf2out.c (reg_number, expand_builtin_init_dwarf_reg_sizes): Ditto.
+       (DWARF_FRAME_RETURN_COLUMN): Default to DWARF_FRAME_REGISTERS.
+
+1999-12-29  Bruce Korb  <autogen@linuxbox.com>
+
+       * fixinc/fixincl.c(wait_for_pid): sometimes a WSTOPSIG of zero is OK
+       * fixinc/fixincl.tpl(<hack>TEST_CT): Just do the existence test once
+       (<hack>_RE_CT): not needed
+       * fixinc/fixlib.c(is_cxx_header): moved from fixtests.c
+       rewritten to scan the file text once only
+       "template<..." test added
+       * fixinc/fixlib.h(apply_fix_p_t): moved from fixtests.c
+       (is_cxx_header): declaration added
+       * fixinc/fixtests.c(is_cxx_header): removed
+       (apply_fix_p_t): removed
+       (double_slash_test): is_cxx_header is only called once now
+       * fixinc/hackshell.tpl: indexing the fixes is now done under DEBUG
+       * fixinc/inclhack.def(FIXINC_DEBUG): added for testing DEBUG state
+       within the templates.
+       The borken spelling of "broken" was fixed.
+       * fixinc/inclhack.tpl: The $VERBOSE level is used on various messages
+       The default level depends on FIXINC_DEBUG.
+
+1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * crtstuff.c: If !inhibit_libc, include stdlib.h/unistd.h.
+       Otherwise provide a declaration for atexit.
+       (init_dummy): Make sure dummy call to atexit is nevertheless
+       called with correct number of args.
+
+       * frame.c: Update comments referring to other files.
+       
+       * libgcc2.c: Likewise.
+
+1999-12-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * cse.c (free_element, get_element): Remove unused prototypes.
+
+       * fold-const.c (extract_muldiv): Initialize variables `op0' and
+       `op1'.
+
+       * jump.c (invert_exp): Add explicit braces to avoid ambiguous
+       `else' clauses.
+
+Wed Dec 29 12:44:54 1999  Donald Lindsay  <dlindsay@cygnus.com>
+
+       * configure.in,configure: case arm for mn10200-*-* now sets
+       float_format=i32 so that float.h will correctly claim "double"
+       to be 32 bits. Ran autoconf to generate configure from .in file.
+
 Wed Dec 29 10:53:21 1999  Jeffrey A Law  (law@cygnus.com)
 
        * pa.md (conditional zero): If op1 is a register, force it into