OSDN Git Service

* config/i386/i386.md (conditional_trap): Remove warning.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index dc25aad..043a1f9 100644 (file)
@@ -1,3 +1,355 @@
+Wed Mar 21 14:27:11 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * config/i386/i386.md (conditional_trap): Remove warning.
+
+       * recog.c (push_operand): Fix error in last change that caused
+       undefined symbol on many targets.
+
+       * sdbout.c: #include ggc.h.
+       (sdbout_init): Move to end of file.
+       Call ggc_add_tree_root for anonymous_types.
+       (sdbout_symbol): Use DECL_NAME for local, not DECL_ASSEMBLER_NAME.
+       (sdbout_one_type): Use DECL_NAME for field name.
+       * Makefile.in (sdbout.o): Show includes ggc.h.
+
+Wed Mar 21 20:33:26 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (override_options): Default ix86_regparm to REGPARM_MAX.
+       (override_options): Use properlimits for preferred_stack_boundary.
+       (ix86_valid_type_attribute_p): Disable stdcall and cdecl attributes
+       on x86_64.
+       (ext_register_operand): Accept DImode.
+       (load_pic_register): Abort on 64bit.
+       (gen_push): Use Pmode instead of SImode.
+       (ix86_save_reg): Pic reg is never used on 64bit.
+       (ix86_expand_prologue): Likewise.
+       (ix86_emit_save_regs): Use Pmode instead of SImode.
+       (legitimate_address_p): Check displacement for 64bit.
+       (print_operand): Avoid outputting of (%rip) on 64bit.
+       (print_operand_address): Output (%rip) where possible.
+       (split_di): Abort on 64bit registers.
+       (ix86_expand_branch): DImode comparison is simple for x86_64.
+       (memory_address_length): Recognize memory addresses formed using
+       PRE/POST modify.
+       (ix86_data_alignment, ix86_local_alignment): Align arrays to 16 bytes 
+       for x86_64.
+       * i386.h (TARGET_USE_SAHF): Disable for 64bit.
+
+Wed Mar 21 18:51:19 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * recog.c (push_operand): Recognize new format of push instructions.
+
+Wed Mar 21 10:53:57 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (pushqi1): New.
+       * i386-protos.h (x86_64_general_operand, x86_64_szext_general_operand,
+       x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
+       x86_64_immediate_operand, x86_64_immediate_operand,
+       x86_64_zext_immediate_operand): Declare.
+       * i386.c (x86_64_general_operand, x86_64_szext_general_operand,
+       x86_64_nonmemory_operand, x86_64_szext_nonmemory_operand,
+       x86_64_immediate_operand, x86_64_immediate_operand,
+       x86_64_zext_immediate_operand): define.
+       * i386.h (PREDICATE_CODES): Add new predicates.
+
+Wed Mar 21 10:25:13 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (pophi1, popqi1, pushqi1): Remove.
+
+       * expr.c (emit_single_push_insn): New function.
+       (move_by_pieces): Accept NULL as destination for push instructions.
+       (gen_push_operand): Kill.
+       (emit_push_insn): Pass NULL when pushing; avoid updating of
+       stack_pointer_delta.
+       * expr.h (gen_push_operand): Kill.
+
+Tue Mar 20 20:15:06 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * rtl.texi (COMPARE): Clarify documentation and reference section
+       on comparisons.
+
+2001-03-20  Stan Shebs  <shebs@apple.com>
+
+       * objc/objc-act.c (get_static_reference): Use NULL_TREE.
+       (get_object_reference): Ditto.
+       (error_with_ivar): Use error_with_file_and_line.
+       (warn_with_method): Use warning_with_file_and_line.
+
+2001-03-20  Tom Tromey  <tromey@redhat.com>
+
+       * libgcc-std.ver: Added __fixunssfsi and __fixunsdfsi.
+
+2001-03-20  Mark Mitchell  <mark@codesourcery.com>
+
+       * tree.c (set_decl_assembler_name): Set DECL_ASSEMBLER_NAME for
+       variables that are TREE_PUBLIC, even if not TREE_STATIC.
+
+2001-03-20  DJ Delorie  <dj@redhat.com>
+
+       * Makefile.in (install-libgcc): Pass complete list of variables.
+       (install-multilib): Ditto.
+
+2001-03-20  David Billinghurst  <David.Billinghurst@riotinto.com>
+
+       * config/i386/cygwin.h: Declare ctor_section, dtor_section
+       drectve_section, switch_to_section.
+
+       * winnt.c: Declare functions associated_type, gen_stdcall_suffix,
+       i386_pe_dllexport_p, i386_pe_dllimport_p, i386_pe_mark_dllexport,
+       i386_pe_mark_dllimport.
+
+2001-03-20  David Billinghurst <David.Billinghurst@riotinto.com>
+  
+       * config/i386/cygwin.h: Include <stdio.h> Declare and constify
+       functions i386_pe_*.
+
+       * config/i386/winnt.c: Include "tm_p.h" and "toplev.h" Constify
+       i386_pe_* functions with char * arguments.
+
+2001-03-20  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/sh/sh.md (movsf_ie): Fix output patterns for fpul load
+       and store.
+       (movsi_ie): Introduce fpul store.
+
+2001-03-20  Alan Modra  <alan@linuxcare.com.au>
+
+       * Makefile.in (OBJS): Remove hashtab.o.
+
+2001-03-19  Stan Shebs  <shebs@apple.com>
+
+       * objc/objc-act.c (maybe_objc_method_name): Remove, never called.
+       * c-lang.c (maybe_objc_method_name): Ditto.
+       * c-tree.h (maybe_objc_method_name): Remove decl.
+
+2001-03-19  Tom Tromey  <tromey@redhat.com>
+
+       * gcc.c (init_gcc_specs): Fix comment.
+
+2001-03-19  Mark Mitchell  <mark@codesourcery.com>
+
+       Compute DECL_ASSEMBLER_NAME lazily.
+       * tree.h (DECL_ASSEMBLER_NAME): Compute it lazily.
+       (DECL_ASSEMBLER_NAME_SET_P): New macro.
+       (SET_DECL_ASSEMBLER_NAME): Likewise.
+       (COPY_DECL_ASSEMBLER_NAME): Likewise.
+       (set_decl_assembler_name): Declare.
+       (lang_set_decl_assembler_name): Likewise.
+       * tree.c (lang_set_decl_assembler_name): New variab.e
+       (set_decl_assembler_name): New function.
+       (init_obstacks): Set lang_set_decl_assembler_name.
+       (build_decl): Don't set DECL_ASSEMBLER_NAME.
+       * c-decl.c (duplicate_decls): Use SET_DECL_ASSEMBLER_NAME,
+       COPY_DECL_ASSEMBLER_NAME, etc.  Don't set DECL_ASSEMBLER_NAME
+       where it's not necessary.
+       (builtin_function): Likewise.
+       (finish_decl): Likewise.
+       * dbxout.c (dbxout_type_methods): Likewise.
+       * ggc-common.c (ggc_mark_trees): Likewise.
+       * profile.c (output_func_start_profiler): Likewise.
+       * varasm.c (make_decl_rtl): Likewise.
+
+       * cse.c (find_comparison_args): Update documentation.  Fix
+       mishandling of COMPARE operations.
+
+       * tree.def (ABS_EXPR): Add documentation.
+       * fold-const.c (fold): Improve folding of ABS_EXPRs.
+
+2001-03-19  Zack Weinberg  <zackw@stanford.edu>
+
+       * Makefile.in (hash.o): Depend on $(GCONFIG_H), not $(CONFIG_H).
+
+2001-03-19  Jakub Jelinek  <jakub@redhat.com>
+
+       * crtstuff.c (init_dummy): Use CRT_END_INIT_DUMMY if defined.
+       Remove ia32 linux PIC kludge and move it...
+       * config/i386/linux.h (CRT_END_INIT_DUMMY): ...here.
+
+Mon Mar 19 18:53:54 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.md (absdf2 expander): Fix 64bit case.
+
+2001-03-19  Brad Lucier  <lucier@math.purdue.edu>
+
+       * Makefile.in: Have splay-tree.o depend on $(GCONFIG_H).
+
+2001-03-16  Andrew Haley  <aph@cambridge.redhat.com>
+
+        * config/ia64/libgcc-ia64.ver: Add __ia64_backtrace.
+
+2001-03-19  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * README.X11: Remove obsolete file.
+
+2001-03-18  Anthony Green  <green@redhat.com>
+
+       * config/pj/pj.h: Remove some trailing commas.
+       (ASM_SPEC): Use -EB and -EL, not -mb and -ml.
+
+2001-03-18  Richard Henderson  <rth@redhat.com>
+
+       * defaults.h (ACCUMULATE_OUTGOING_ARGS, PUSH_ARGS): Move from ...
+       * calls.c: ... here.
+       * combine.c, expr.c, final.c, function.c toplev.c: Don't provide
+       defaults for them here.
+
+2001-03-17  Anthony Green  <green@redhat.com>
+
+       * config/pj/lib1funcs.S: Fix broken comment.
+       * config/pj/pj.h (LOCAL_LABEL_PREFIX): Prefix internal
+       labels with '.'.
+
+2001-03-18  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * gcc.texi: Remove obsolete information relating to build and
+       installation problems with enquire or the Pyramid C compiler.
+
+2001-03-17  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2out.c (queue_reg_save): New.
+       (flush_queued_reg_saves, clobbers_queued_reg_save): New.
+       (dwarf2out_frame_debug_expr): Call queue_reg_save instead of
+       dwarf2out_reg_save.
+       (dwarf2out_frame_debug): Call flush_queued_reg_saves when needed.
+       (cfa, cfa_store, cfa_temp): Make static.
+       * final.c (final_scan_insn): Always call dwarf2out_frame_debug.
+
+2001-03-17  Richard Henderson  <rth@redhat.com>
+
+       * integrate.h (struct inline_remap): Add local_return_label.
+       * integrate.c (expand_inline_function): Initialize it and emit
+       it after copy_insn_notes.
+       (copy_insn_list): Don't store local_return_label here.
+       (copy_insn_notes): New function split out from copy_insn_list.
+
+2001-03-17  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2out.c (lookup_filename): Emit .file if the assembler
+       is generating .debug_line.
+       (dwarf2out_init): Add main_input_filename to the file table first.
+       * configure.in (as_dwarf2_debug_line): Test with file number 1
+       instead of file number 0.
+
+Sat Mar 17 11:52:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * combine.c (undobuf): Remove field previous_undos; all refs deleted.
+       (gen_rtx_combine): Deleted; all references changed as appropriate.
+       (gen_unary): Deleted; all refs changed to call simplify_gen_unary.
+
+       * print-tree.c (print_node): Print DECL_NONADDRESSABLE_P.
+
+2001-03-17  David Billinghurst  <David.Billinghurst@riotinto.com>
+
+       * config/i386/xm-cygwin.h: Include <sys/cygwin.h.  Remove unused
+       variable.
+
+2001-03-16  Jim Wilson  <wilson@redhat.com>
+
+       * config/ia64/ia64.c (ia64_compute_frame_size): If reg_fp is zero,
+       then set it to LOC_REG (79) instead of aborting.
+
+2001-03-16  Phil Edwards  <pme@sources.redhat.com>
+
+       * gccbug.in:  Remove high priority.
+
+2001-03-16  Richard Henerson  <rth@redhat.com>
+
+       * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): Substitute leading od
+       output with a space instead of deleting it.
+       * configure: Regenerate.
+
+2001-03-16  Zack Weinberg  <zackw@stanford.edu>
+
+       * aclocal.m4 (gcc_AC_EXAMINE_OBJECT): New utility macro which
+       handles the gory details of converting an object file into
+       something that's safe to grep.
+       (gcc_AC_C_COMPILE_BIGENDIAN): Rename to
+       gcc_AC_C_COMPILE_ENDIAN.  Use gcc_AC_EXAMINE_OBJECT.  Put
+       newlines at either end of the string we're looking for.
+       Make 'checking ...' message less stilted.
+       (gcc_AC_C_FLOAT_FORMAT): Use gcc_AC_EXAMINE_OBJECT.  Handle
+       ARM in-memory layout and its hypothetical converse.  Don't
+       define HOST_FLOAT_WORDS_BIG_ENDIAN unless it's different from
+       HOST_WORDS_BIG_ENDIAN.
+
+       * configure.in: Adjust for renamed macro.  Move
+       gcc_AC_C_FLOAT_FORMAT below gcc_AC_C_COMPILE_ENDIAN.
+       * configure, config.in: Regenerate.
+
+2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
+
+       * fixinc/Makefile.in: Set SHELL.
+
+2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
+
+       * fixinc/fixincl.c (fix_with_system): Quote file names before
+       passing them to shell.
+
+2001-03-16  Laurynas Biveinis  <lauras@softhome.net>
+
+       * Makefile.in: Use fix-header$(build_exeext) instead
+       of fix-header.
+
+2001-03-16  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2out.c: Revert most of 2000-11-25 and 2001-01-24 changes.
+       (LN_PROLOG_AS_LABEL, LN_PROLOG_END_LABEL): New.
+       (size_of_line_prolog): Remove.
+       (output_line_info): Compute prologue size via label difference.
+       (lookup_filename): Return "unspecified" for <internal> and <built-in>.
+
+       * configure.in (HAVE_AS_DWARF2_DEBUG_LINE): Require that the
+       assembler error when redefining file numbers.
+       * config.in, configure: Rebuild.
+
+       * dwarf2asm.c (dw2_asm_output_data): Mask data to the output size.
+       (dw2_asm_output_data_uleb128): Use space not tab after .uleb128.
+       (dw2_asm_output_delta_uleb128): Likewise.
+       (dw2_asm_output_delta_sleb128): Similarly.
+       (dw2_asm_output_data_sleb128): Similarly.  Print number in decimal.
+
+2001-03-16  Michael Meissner  <meissner@redhat.com>
+
+       * mips.h (BITMASK_HIGH): Replacement for 0x80000000 that avoids
+       warnings.
+       (BITMASK_UPPER16): Replacement for 0xffff0000 that avoids
+       warnings.
+       (BITMASK_LOWER16): Replacement for 0x0000ffff.
+
+       * mips.c (save_restore_insns): Use BITMASK_UPPER16/BITMASK_LOWER16
+       instead of 0xffff0000/0x0000ffff to avoid warnings about constants
+       being unsigned in ISO C and signed in traditional.
+       (expand_prologue): Ditto.
+       (RA_MASK): Use BITMASK_HIGH to avoid warnings.
+
+       * mips.md (divmodsi4,divmodsi4): Use BITMASK_HIGH to avoid
+       warnings.
+       (divsi3,divdi3): Ditto.
+       (modsi3,moddi3): Ditto.
+       (fix_truncdfsi2,fix_truncdfdi2): Ditto.
+       (fix_truncsfsi2,fix_truncsfdi2): Ditto.
+       (movsi split): Use BITMASK_UPPER16/BITMASK_LOWER16 to avoid
+       warnings.
+
+Fri Mar 16 14:47:57 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.c (ix86_expand_fp_movcc): Do not attempt to construct
+       SSE based conditional moves on LTGT/UNEQ conditions;
+       Canonicalize EQ to NE.
+       * i386.md (sse_mov?fcc): Disallow EQ and NE in IEEE mode.
+       (sse_mov?fcc_ne): New.
+
+       * i386-protos.h (sign_extended_value, zero_extended_value): Declare.
+
+2001-03-16  Alexandre Oliva  <aoliva@redhat.com>
+
+       * config/sh/sh.c (sh_expand_prologue): Insns that set up the PIC
+       register may be dead.
+
+2001-03-16  Brad Lucier  <lucier@math.purdue.edu>
+
+       * Makefile.in (hash.o): Depend on CONFIG_H.
+
 2001-03-15  Mark Mitchell  <mark@codesourcery.com>
 
        * dwarf2out.c (rtl_for_decl_location): Use DECL_RTL_IF_SET.
 
 2001-03-15  Steve Ellcey  <sje@cup.hp.com>
 
-        * config.gcc (ia64*-*-hpux*): New case.
-        * config/ia64/hpux.h: New file for HP-UX support.
-        * config/ia64/t-hpux: New file for HP-UX support.
+       * config.gcc (ia64*-*-hpux*): New case.
+       * config/ia64/hpux.h: New file for HP-UX support.
+       * config/ia64/t-hpux: New file for HP-UX support.
 
 2001-03-16  Bruce Korb  <bkorb@gnu.org>, Alexandre Oliva  <aoliva@redhat.com>
 
@@ -166,7 +518,7 @@ Thu Mar 15 11:24:29 EST 2001  John Wehle  (john@feith.com)
        (rest_of_decl_compilation): Likewise.
        * tree.c (simple_cst_equal): Likewise.
        * objc/objc-act.c (generate_static_references): Likewise.
-       
+
 2001-03-14  Zack Weinberg  <zackw@stanford.edu>
 
        * aclocal.m4 (gcc_AC_C_CHARSET, gcc_AC_C_COMPILE_BIGENDIAN,