OSDN Git Service

* fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index a0335b0..364d76f 100644 (file)
@@ -1,3 +1,216 @@
+2002-01-28  Loren J. Rittle  <ljrittle@acm.org>
+
+       * fixinc/inclhack.def (strict_ansi_not): Add a bypass based on
+       the old, removed AAA_standards fix.
+       * fixinc/fixincl.x: Rebuilt.
+
+2002-01-28  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Change to emit
+       atexit call in crtbegin, hooked in after call to frame_dummy;
+       register EH before registering __fini__start.
+
+2002-01-28  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/altivec.h: Remove spurious semicolons.
+
+2002-01-27  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.md: Replace dead bit extraction patterns
+       with ones that work.
+
+Sun Jan 27 13:23:40 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * emit-rtl.c (get_mem_attrs): Don't default alignment for non-BLKmode
+       if not STRICT_ALIGNMENT.
+       * rtl.h (MEM_ALIGN): Likewise.
+
+2002-01-27  Craig Rodrigues  <rodrigc@gcc.gnu.org>
+
+       * doc/invoke.texi (-fdump-translation-unit): Revert this
+       patch: 2001-10-21  Craig Rodrigues  <rodrigc@gcc.gnu.org>
+
+2002-01-27  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.md (define_constants): New.
+       (anonymous patterns) Use defined constants appropriately.
+
+2002-01-27  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.c (function_arg): Remove redundant code.
+
+2002-01-26  Richard Henderson  <rth@redhat.com>
+
+       * sched-deps.c (reg_pending_uses_head): New.
+       (reg_pending_barrier): Rename from reg_pending_sets_all.
+       (find_insn_list): Don't mark inline.
+       (find_insn_mem_list): Remove.
+       (add_dependence_list, add_dependence_list_and_free): New.
+       (flush_pending_lists): Replace only_write param with separate
+       for_read and for_write parameters.  Update all callers.  Use
+       add_dependence_list_and_free.
+       (sched_analyze_1): Do not add reg dependencies here; just set
+       the pending bits.  Use add_dependence_list.
+       (sched_analyze_2): Likewise.
+       (sched_analyze_insn): Replace schedule_barrier_found with
+       reg_pending_barrier.  Add all dependencies for pending reg
+       uses, sets, and clobbers.
+       (sched_analyze): Don't add reg dependencies for calls, just
+       set pending bits.  Use regs_invalidated_by_call.  Treat
+       sched_before_next_call as a normal list, not a fake insn.
+       (init_deps): No funny init for sched_before_next_call.
+       (free_deps): Free pending mems lists.  Don't zero reg_last.
+       (init_deps_global): Init reg_pending_uses.
+       (finish_deps_global): Free it.
+       * sched-int.h (deps): Make in_post_call_group_p boolean.  Update docs.
+       (find_insn_mem_list): Remove.
+       * sched-rgn.c (concat_INSN_LIST, concat_insn_mem_list): New.
+       (propagate_deps): Use them.  Zero temp mem lists.
+
+2002-01-26  Richard Henderson  <rth@redhat.com>
+
+       * Makefile.in (CRTSTUFF_CFLAGS): New.
+       (crtbegin.o, crtend.o, crtbeginS.o, crtendS.o, crtbeginT.o): Use it.
+       * config.gcc (alpha-linux, alpha-freebsd, alpha-netbsd): Use plain
+       crtstuff.c instead of alpha assembly version.
+       * crtstuff.c (CRT_CALL_STATIC_FUNCTION): Rewrite to assume the
+       entire dummy function sequence.  Use FORCE_CODE_SECTION_ALIGN
+       not FORCE_{INIT,FINI}_SECTION_ALIGN.
+       (__do_global_dtors_aux): Mark used.
+       (frame_dummy, __do_global_ctors_aux): Mark used.
+       (fini_dummy, init_dummy): Remove.
+
+       * config/alpha/crtbegin.asm: Remove file.
+       * config/alpha/crtend.asm: Remove file.
+       * config/alpha/t-crtbe: Remove file.
+       * config/alpha/elf.h (CRT_CALL_STATIC_FUNCTION): New.
+       (LINK_EH_SPEC): New.
+
+       * config/cris/cris.h (CRT_CALL_STATIC_FUNCTION): Rewrite old
+       FORCE_INIT_SECTION_ALIGN hack.  Register __fini_start before
+       calling constructors.
+       * config/cris/linux.h (CRT_CALL_STATIC_FUNCTION): Undef.
+
+       * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): New.
+       * config/i386/linux.h (CRT_CALL_STATIC_FUNCTION): Replace old
+       CRT_END_INIT_DUMMY hack.
+       * config/i386/sol2.h (FORCE_CODE_SECTION_ALIGN): Replace
+       FORCE_{INIT,FINI}_SECTION_ALIGN.
+
+       * config/mcore/mcore-elf.h (FORCE_CODE_SECTION_ALIGN): Replace
+       FORCE_{INIT,FINI}_SECTION_ALIGN.
+
+       * config/s390/s390.h (CRT_CALL_STATIC_FUNCTION): Update for new
+       invocation sequence.
+       * config/sh/sh.h (CRT_CALL_STATIC_FUNCTION): Likewise.
+
+       * doc/tm.texi (CRT_CALL_STATIC_FUNCTION): Update.
+       (FORCE_CODE_SECTION_ALIGN): New.
+
+2002-01-26  Richard Henderson  <rth@redhat.com>
+
+       * config/cris/cris.c (cris_print_operand): Handle 64-bit CONST_INT.
+
+2002-01-26  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (alpha_sa_mask): Mark RA for unicos here too.
+       (alpha_sa_size): Use alpha_sa_mask to compute size of saved regs.
+
+2002-01-26  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.md: Remove bit extraction patterns that
+       cannot be triggered.
+       Restrict each bit extraction pattern to a variant on which the
+       pattern is tested.
+
+2002-01-26  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/include/texinfo.tex: Update to version 2002-01-04.07.
+
+2002-01-26  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.md: Remove bit test patterns that cannot
+       be triggered.
+       Restrict each bit test pattern to a variant on which the
+       pattern is tested.
+
+2002-01-26  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * builtins.c (expand_builtin_strncat): Remove redundant check for
+       INTEGER_CST.
+
+2002-01-25  David O'Brien  <obrien@FreeBSD.org>
+
+       * config/i386/x86-64.h (DEFAULT_PCC_STRUCT_RETURN): Do not overide
+       default setting.
+       * config/i386/freebsd64.h (DEFAULT_PCC_STRUCT_RETURN): Do not override
+       existing setting.
+
+2002-01-25  Geoffrey Keating  <geoffk@redhat.com>
+
+       * dbxout.c (dbxout_init): Use assemble_name rather than just
+       stripping off the first character.
+       (dbxout_source_file): Likewise.
+
+2002-01-25  DJ Delorie  <dj@redhat.com>
+
+       * config/sparc/sparc.c (sparc_emit_set_symbolic_const64): Compare
+       using rtx_equal_p, not by comparing pointers.
+
+2002-01-25  Steve Ellcey  <sje@cup.hp.com>
+
+       * emit-rtl.c (gen_rtx_REG): Always return the same rtx
+       for PIC_OFFSET_TABLE_REGNUM.
+       (init_emit_once): Use gen_raw_REG to initialize pic_offset_table_rtx.
+
+2002-01-25  David O'Brien  <obrien@FreeBSD.org>
+
+       * config.gcc (x86_64-*-freebsd*): New target.
+       (x86_64-*-netbsd*,x86_64-*-linux*): Use ${tm_file} rather than its
+       value.
+       (i[34567]86-*-freebsd*): Don't include svr4.h.
+       * config/i386/freebsd64.h: New file.
+
+2002-01-25  Douglas B Rupp  <rupp@gnat.com>
+
+       * config/alpha/x-vms (version): Make static.
+
+       * config/alpha/vms.h (MD_FALLBACK_FRAME_STATE_FOR): Fix error
+       in previous checkin.
+
+       * Makefile.in (install-headers-cp): New target.
+       * config.gcc (alpha-dec-*vms*): Install headers with
+       install-headers-cp
+
+Fri Jan 25 22:42:49 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * unroll.c (unroll_loop): Lower final_value to nonmemory operand;
+       avoid it's copies.
+
+Fri Jan 25 08:26:19 2002  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * builtins.c (expand_builtin_strncpy): Use integer_zerop instead
+       of compare_tree_int.
+       (expand_builtin_strncat): Likewise.
+       * c-decl.c (finish_struct): Use tree_low_cst.
+       * tree.h (compare_tree_int): Arg is unsigned HOST_WIDE_INT.
+       * tree.c (compare_tree_int): Likewise.
+
+2002-01-25  Ulrich Weigand  <uweigand@de.ibm.com>
+
+       * reload1.c (eliminate_regs_in_insn): Recognize frame pointer
+       adjustments even if they are implemented by more than two insns.
+
+Fri Jan 25 20:43:56 CET 2002  Jan Hubicka  <jh@suse.cz>
+
+       * df.c (df_ref_create, df_ref_record_1, df_ref_record): Kill BB arg.
+       * df.h (struct ref): Kill B.
+       (DF_REF_BB, DF_REF_BBNO): Use BLOCK_FOR_INSN.
+
+       * basic-block.h (PROP_EQUAL_NOTES): New flag.
+       * flow.c (propagate_one_insn): Use it.
+       (mark_used_regs): Handle NIL.
+
 2001-01-25  Geoffrey Keating  <geoffk@redhat.com>
 
        * config/stormy16/stormy16.md (tablejump_pcrel): Use a MEM