OSDN Git Service

* gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index e7e264a..58d47b0 100644 (file)
@@ -1,4 +1,334 @@
-Fri Nov 16 09:06:25 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+2001-11-19  Jeff Law <law@redhat.com>
+
+       * gcse.c (cprop_jump): Clear JUMP_LABEL field when we create
+       a nop-jump.
+
+2000-11-19  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppmacro.c (_cpp_backup_tokens): Revert previous check-in.
+       Don't fall off the base token run.
+
+2001-11-19  Jason Wilkins <fenix@io.com>
+
+       * Makefile.in: Use INSTALL_SCRIPT not INSTALL_PROGRAM.
+
+Mon Nov 19 15:13:43 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree.def (VIEW_CONVERT_EXPR): New tree code.
+       * tree.h (handled_component_p): New declaration.
+       * alias.c (handled_component_p): Move function from here ...
+       * expr.c (handled_component_p): ... to here and non longer static.
+       (is_zeros_p, case VIEW_CONVERT_EXPR): New case.
+       (store_field): Remove unneeded MEM_COPY_ATTRIBUTES call.
+       (get_inner_reference): Handle VIEW_CONVERT_EXPR.
+       (expand_expr, case VAR_DECL): Clean up handling of re-layout case.
+       (expand_expr, case VIEW_CONVERT_EXPR): New case.
+       (expand_expr, cse ADDR_EXPR): No need to copy if already
+       BIGGEST_ALIGNMENT.
+       * fold-const.c (fold, case VIEW_CONVERT_EXPR): New case.
+       * varasm.c (initializer_constant_value_p, case VIEW_CONVERT_EXPR): New.
+       (output_constant): Handle VIEW_CONVERT_EXPR.
+       * dwarf2out.c (loc-descriptor_from_tree, add_bound_info):
+       Add new case for VIEW_CONVERT_EXPR.
+
+2001-11-19  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * a29k/unix.h (ASM_FILE_START): Const-ify.
+       * i386/beos-elf.h (INCLUDE_DEFAULTS): Remove semi-colon.
+       * i386/isc.h (ASM_FILE_START): Const-ify.
+       * i386/sun386.h (ASM_FILE_START): Likewise.
+       * m32r.md: Likewise.
+       * m68k/auxas.h (ADDITIONAL_REGISTER_NAMES): Add missing brackets.
+       * m68k/auxgas.h ADDITIONAL_REGISTER_NAMES): Likewise.
+       * m68k/tower.h (REGISTER_NAMES): Remove semi-colon.
+       * mn10200.md: Initialize variable.
+
+Mon Nov 19 18:06:21 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * gcse.c (try_replace_reg): Copy RTX before creating note.
+
+       * df.h (df_ref_flags): New uenum.
+       (DF_REF_FLAGS): New macro.
+       (struct ref): Add field "flags".
+       * df.c (HANDLE_SUBREG): Remove.
+       (df_ref_create): Likewise; set flags field of ref.
+       (df_def_record_1): Strip down read_write subreg; remove
+       commented out code; set READ_WRITE flag.
+       (read_modify_subreg_p): New static function.
+       (df_uses_record): Cleanup SET handling; set READ_WRITE flag;
+       new argument "flags".
+       (df_insn_refs_record): Update call of df_uses_record.
+       (df_insn_modify): Avoid #if 0 around comment.
+       (df_dump): Dump the read/write flag.
+
+       * predict.c (propagate_freq): Make cyclic_probability and frequency
+       volatile
+
+       * i386.c (ix86_cc_mode): Accept USE.
+
+       * cfgrtl.c (purge_dead_edges):  Cleanup EDGE_ABNORMAL flag if computed
+       jump is turned into simplejump.
+
+2001-11-19  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/fragments.texi, doc/trouble.texi: Remove links to old
+       installation chapter.
+       * doc/gcc.texi: Don't claim that this manual documents
+       installation.  Mark Installation menu entry as being out of date.
+
+Mon Nov 19 07:21:35 2001  Douglas B. Rupp  <rupp@gnat.com>
+
+       * config/alpha/xm-vms.h: Don't define macros that autoconf handles.
+       (SUCCESS_EXIT_CODE, FATAL_EXIT_CODE): Define for posix compatibility.
+       * gcc.c (exit): Remove definition for VMS; moved to xm-vms.h.
+
+2001-11-19  Jason Merrill  <jason@redhat.com>
+
+       * cppmacro.c (_cpp_backup_tokens): Pop cur_run before decrementing
+       cur_token, not after.
+
+       * config/clipper/clix.h, config/h8300/elf.h, config/mips/linux.h:
+       Lose ASM_OUTPUT_CONSTRUCTOR.
+       * system.h: Poison it and INT_ASM_OP.
+       * c-lang.c (finish_file): Don't check for it.
+       * libgcc2.c (L_ctors): Check TARGET_ASM_CONSTRUCTOR instead.
+
+2001-11-18  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * mmix.c (mmix_cc1_ignored_option): Const-ify.
+       (mmix_init_machine_status): Make static to match declaration.
+       (mmix_unique_section): Const-ify.
+       (mmix_output_quoted_string): Avoid automatic aggregate
+       initialization.
+       (mmix_output_register_setting): Likewise.
+       (mmix_output_shiftvalue_op_from_str): Likewise.
+
+       * mmix.h (mmix_cc1_ignored_option): Const-ify.
+       (ASM_OUTPUT_BYTE): Fix format specifier warning.
+       (ASM_GENERATE_INTERNAL_LABEL): Likewise.
+
+2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
+
+       PR c/4448
+       * gthr-win32.h: (__gthread_objc_thread_exit): Fix variable
+       name __objc_thread_exit_status so that it matches the 
+       variable defined in objc/thr.h.
+
+2001-11-18  Craig Rodrigues  <rodrigc@gcc.gnu.org>
+
+       PR bootstrap/4020
+       * mklibgcc.in: Add missing semi-colons.
+       * Makefile.in: Same.
+
+Sun Nov 18 16:47:00 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * expr.c (expand_expr, case VAR_DECL): Update alignment of DECL_RTL
+       after re-laying out decl in incomplete case.
+       (expand_expr, case ADDR_EXPR): Fix typo in copy case.
+
+2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/install-old.texi: Move some sections out to ...
+       * doc/collect2.texi, doc/configfiles.texi, doc/headerdirs.texi:
+       ... here.  New files.  Make into chapters rather than sections.
+       * doc/gcc.texi: Include the new files and add menu entries for
+       them.
+       * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
+
+Sun Nov 18 14:13:52 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree.h (TYPE_ALIGN_OK): New flag.
+       * emit-rtl.c (set_mem_attributes): Handle it.
+       * expr.c (emit_single_push_insn): Only set to alias set 0 if
+       doing sibcall optimization.
+       (expand_expr, case COMPONENT_REF): Call set_mem_attributes on case
+       when make temporary.
+       (expand_expr, case CONVERT_EXPR): Simplify convert-to-union case.
+       (expand_expr, case ADDR_EXPR): Abort if TYPE_ALIGN_OK and need copy.
+
+       * sdbout.c (sdbout_symbol): Avoid warning due to &DECL_RTL.
+
+2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * c-decl.c (c_decode_option): Give deprecation warning for
+       -traditional.
+       * doc/invoke.texi (-traditional): Note that this option is
+       deprecated.
+
+Sun Nov 18 07:40:07 2001  Douglas B. Rupp  <rupp@gnat.com>
+
+       * config/alpha/alpha.c (alpha_start_function, VMS): Cast shift
+       arg to HOST_WIDE_INT, not long.
+
+       * config/alpha/vms.h (DIR_SEPARATOR, PREFIX). Don't define.
+       (HAS_INIT_SECTION): Define.
+       (REAL_ARITHMETIC): Don't undefine.
+
+2001-11-18  Egor Duda  <deo@logos-m.ru>
+
+       * config/i386/cygwin.h: Strip leading '*' from name, if any.
+
+2001-11-18  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * Makefile.in (c-parse.o, c-common.o): Update dependencies.
+       * c-common.c: Include diagnostic.h.
+       (c_common_finish): New.
+       * c-common.h (c_common_finish): New.
+       * c-lang.c (LANG_HOOKS_FINISH): Override.
+       * c-parse.in: Don't include diagnostic.h.
+       (finish_parse): Remove.
+       * langhooks.h: Update comments.
+       * toplev.c (lang_dependent_init): New prototype.
+       (finalize): New.
+       (compile_file): Split cleanup code out to finalize.
+       (lang_dependent_init): Stop if lang_hooks.init fails.
+       (toplev_main): Update.
+       * tree.h (finish_parse): Remove.
+objc:
+       * objc-act.c (LANG_HOOKS_FINISH): Override.
+
+Sat Nov 17 23:30:44 2001  Douglas B. Rupp  <rupp@gnat.com>
+
+       * config/alpha/t-vms (LIB2FUNCS_EXTRA): Add vms_tramp.asm.
+       * config/alpha/vms_tramp.asm: New file.
+       * config/alpha/vms-tramp.asm: Removed.
+
+2001-11-18  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * c-common.c (struct disabled_builtin, disabled_builtins,
+       disable_builtin_function, builtin_function_disabled_p): New.
+       (builtin_function_2): Check for disabled built-in functions.
+       * c-common.h (disable_builtin_function): Declare.
+       * c-decl.c (c_decode_option): Handle -fno-builtin-FUNCTION.
+       * doc/invoke.texi: Document -fno-builtin-FUNCTION.
+       * doc/extend.texi: Mention -fno-builtin-FUNCTION.
+
+2001-11-17  Craig Rodrigues  <rodrigc@gcc.gnu.org>
+
+       PR target/4606
+       * config.gcc: Remove reference to va-clipper.h.
+
+2001-11-17  Stan Shebs  <shebs@apple.com>
+
+       * config/rs6000/rs6000.h (REG_CLASS_CONTENTS): Fix the
+       AltiVec-related bitfields.
+
+Sat Nov 17 12:06:31 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * except.c (enum eh_region_type): Add ERT_UNKNOWN.
+       (mark_eh_region, case ERT_UKNONW): New case.
+
+2001-11-17  Christopher Faylor  <cgf@redhat.com>
+           Corinna Vinschen  <vinschen@redhat.com>
+
+       * config/i386/cygwin.h: Search target specific include directory for
+       w32api stuff, if appropriate.
+
+Sat Nov 17 08:20:44 2001  Douglas Rupp  <rupp@gnat.com>
+
+       * config/alpha/vms.h (REG_ALLOC_ORDER): Redefine.
+
+2001-11-16  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.md: Change all ldvx to lvx.
+
+2001-11-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * gensupport.c (process_rtx): Don't assume filename is the first
+       argument of any rtl.
+
+2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * vax-protos.h (reg_was_0_p): New prototype.
+       * vax.md (movsi, movhi, movqi): Use reg_was_0_p.
+       * vax.c (follows_p, reg_was_0_p): New functions.
+
+2001-11-16  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * vax.md (casesi): Swap arguments in "(plus:SI (pc) (mult))". Reformat.
+       (casesi1): Likewise.  Define new pattern which arises by simplification
+       when operand 1 is a constant int.  Correct pattern which arises by
+       simplification when operand 1 is zero.
+
+2001-11-16  David O'Brien  <obrien@FreeBSD.org>
+
+       * config.gcc (arm*-*-rtems*, arm-*-coff*, armel-*-coff*,
+       arm-*-vxworks*, arm-*-riscix1.[01]*, arm-*-riscix*,
+       arm-semi-aout, armel-semi-aout, arm-semi-aof, armel-semi-aof,
+       arm*-*-netbsd*, arm*-*-linux*, arm*-*-uclinux*, arm*-*-aout,
+       arm*-*-ecos-elf, arm*-*-elf, arm*-*-conix*, arm*-*-oabi,
+       arm-*-pe*, strongarm-*-elf*, strongarm-*-coff*, strongarm-*-pe,
+       xscale-*-elf, xscale-*-coff: Include various CPU headers via tm_file.
+       * config/arm/aof.h: Don't include arm.h.
+       * config/arm/aout.h: Likewise.
+       * config/arm/coff.h: Don't include semi.h and aout.h.
+       * config/arm/elf.h: Don't include aout.h.
+       * config/arm/netbsd.h: Don't include netbsd.h and aout.h.
+       (TARGET_VERSION): Undef before defining.
+       (ARM_OS_NAME): Likewise
+       (TARGET_DEFAULT): Likewise
+       (TARGET_MEM_FUNCTIONS): Do not need to undefine now.
+       * config/arm/pe.h: Don't include arm/coff.h.
+       * config/arm/riscix.h (CPP_SPEC, SUBTARGET_CPP_SPEC): Use
+       SUBTARGET_CPP_SPEC rather than overiding the arm.h CPP_SPEC definition.
+       * config/arm/riscix1-1.h: Likewise.
+       * config/arm/rix-gas.h: Don't include riscix.h.
+       (DBX_CONTIN_LENGTH): Undef before defining.
+       * config/arm/semi.h: Don't include aout.h.
+       * config/arm/semiaof.h: Don't include aof.h.
+       * config/arm/strongarm-coff.h: Don't include coff.h.
+       * config/arm/strongarm-pe.h: Don't include strongarm-coff.h and pe.h.
+       * config/arm/vxarm.h: Don't include arm/coff.h.
+       * config/arm/xscale-coff.h: Don't include coff.h.
+
+Fri Nov 16 15:22:35 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * config/pa/pa.c: Reflect changes in calling sequences of alter_reg and
+       emit_cmp_insn.
+
+2001-11-16  Andreas Jaeger  <aj@suse.de>
+
+       * cfglayout.c (fixup_fallthru_exit_predecesor): Make void, rename
+       to ....
+       (fixup_fallthru_exit_predecessor): ... this.
+       Change callers and prototype.
+
+2001-11-16  Bernd Schmidt  <bernds@redhat.com>
+
+        * config/i386/i386.c (ix86_expand_sse_comi): Generate setcc by
+       hand; don't use gen_setcc_2.
+       (ix86_expand_builtin): Fix pshufw.
+       * config/i386/i386.md (maskncmpv4sf3, vmmmaskncmpv4sf3): Special
+        case UNORDERED to emit the right assembler instruction.
+       (mmx_pshufw): Lose operand 2.
+       (cvtsi2ss): Fix representation.
+       From Graham Stott:
+       (mmx_clrdi, sse_clrti, stmxcsr, ldmxcsr): Set memory attribute.
+
+2001-11-16  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/include/linux-and-gnu.texi: Remove.
+       * doc/gnu.texi: New.
+       * doc/gcc.texi: Include gnu.texi instead of linux-and-gnu.texi.
+       * Makefile.in ($(docdir)/gcc.info, gcc.dvi): Update dependencies.
+
+2001-11-16  Kazu Hirata  <kazu@hxi.com>
+
+       * config/a29k/a29k.c: Fix comment formatting.
+       * config/a29k/a29k.h: Likewise.
+       * config/arc/arc.c: Likewise.
+       * config/arc/arc.h: Likewise.
+       * config/vax/vax.c: Likewise.
+       * config/vax/vax.h: Likewise.
+       * config/we32k/we32k.c: Likewise.
+       * config/we32k/we32k.h: Likewise.
+
+2001-11-16  Jeff Law  <law@redhat.com>
+
+       * unroll.c (copy_loop_body): Initialize JUMP_LABEL field after
+       creating a new jump insn.
+
+Fri Nov 13 09:06:25 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * expr.c (expand_expr, case ADDR_EXPR): Refine test for when to
        copy misaligned data.
@@ -48,10 +378,10 @@ Fri Nov 16 06:37:05 2001  Andreas Tobler  <a.tobler@schweiz.ch>
 2001-11-15  Stan Shebs  <shebs@apple.com>
 
        * expr.c (expand_expr, case COMPONENT_REF): Fix variable ref.
-       
+
 2001-11-16  Bryce McKinlay  <bryce@waitaki.otago.ac.nz>
 
-       * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns 
+       * config/s390/s390.md: Remove ALIGN arg from emit_cmp_and_jump_insns
        call.
        * config/i386/i386.md: Likewise.