OSDN Git Service

include:
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 00a5217..66792a3 100644 (file)
@@ -1,3 +1,292 @@
+2001-09-24  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * c-aux-info.c (affix_data_type): Use ATTRIBUTE_MALLOC.  Avoid
+       leak by passing malloc'ed pointer to reconcat, not concat.
+
+2001-09-24  DJ Delorie  <dj@redhat.com>
+
+       * varasm.c (array_size_for_constructor): Handle STRING_CSTs also.
+
+2001-09-24  Ulrich Weigand  <uweigand@de.ibm.com>:
+
+       * flow.c (delete_dead_jumptables): Delete jumptable if the only
+       reference is from the literal pool.
+
+2001-09-24  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/install.texi (Final install): Request additional information
+       in mail about successful builds. 
+
+2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.c (return_addr_rtx): Return NULL_RTX if count is not zero.  Use
+       initial value of return pointer register instead of value in frame-20.
+       Revise comments.
+
+2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * som.h (ASM_OUTPUT_EXTERNAL): Improve formatting.
+       (ASM_OUTPUT_EXTERNAL_LIBCALL): Only generate a .IMPORT statement for
+       the libcall if there isn't a referenced identifier for the symbol.
+
+2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.h (TRAMPOLINE_TEMPLATE): Add two words to the template for
+       non 64-bit machines.  Use these as a plabel for the trampoline.
+       (TRAMPOLINE_SIZE): Adjust size for new words.
+       (INITIALIZE_TRAMPOLINE): Initialize new words.
+       (TRAMPOLINE_ADJUST_ADDRESS): New.  Adjust address to make it a
+       pointer to the plabel in the trampoline.
+
+2001-09-24  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.c (function_arg): Pass floating arguments in both general and
+       floating registers in indirect (dynamic) calls when generating code
+       for the 32 bit ABI and the HP assembler.
+
+2001-09-24  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * doc/install.texi: Markup fixes.
+       Use Solaris 2, SunOS 4 as appropriate.
+       (Specific, *-*-solaris2*): Explain this.
+       Unconditionally warn against /usr/ucb tools.
+       Remove Sun as warning, obsolete.
+       Move X11 header bug workaround here, update patches.
+       (Specific, sparc-sun-solaris2*): Detail Sun as fix status.
+       (Specific, sparc-sun-solaris2.7): Update patch 106950 status.
+
+2001-09-23  Zack Weinberg  <zack@codesourcery.com>
+
+       * errors.h (warning, error, fatal, internal_error): Don't mark
+       with ATTRIBUTE_PRINTF_n.
+       * toplev.h (internal_error, fatal_io_error, warning, error,
+       pedwarn, pedwarn_with_file_and_line, warning_with_file_and_line,
+       error_with_file_and_line, sorry, error_for_asm, warning_for_asm):
+       Likewise.
+
+Sun Sep 23 18:19:48 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * function.c (pop_function_context_from): var_refs_queue
+       and temp slots now in GC memory.
+       (mark_function_status, free_after_compilation): Likewise;
+       also struct function now in GC memory.
+       (assign_stack_temp_for_type): struct temp_slot now in GC memory.
+       (combine_temp_slots): Likewise.
+       (schedule_fixup_var_refs): var_refs_queue now in GC memory.
+       (prepare_function_start): Use GC memory for struct function.
+       (mark_temp_slot): Deleted.
+       (gcc_mark_struct_function): struct function now in GC memory.
+
+       * fold-const.c (extract_muldiv, case PLUS_EXPR): Only adjust
+       code for division, not modulus.
+
+       * rtl.def (MEM): Remove obsolete part of comment.
+
+2001-09-22  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * c-format.c (init_function_format_info): Check __builtin_printf
+       and __builtin_fprintf even if -ffreestanding.  Check C99 functions
+       in gnu89 mode.
+
+Sat Sep 22 09:09:32 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * c-common.c (format_attribute_table): Remove decl.
+       * tree.h (format_attribute_table, lang_attribute_table): New decls.
+       (lang_attribute_common): Likewise.
+
+       * function.c (fix_lexical_address): Use set_mem_alias_set.
+       (expand_function_start): Likewise.
+       * config/alpha/alpha.h (SETUP_INCOMING_VARARGS): Likewise.
+
+       * varasm.c (output_constant): Fix unused variable warning.
+
+       * attribs.c: New file, from c-common.c.
+       (attribute_tables): Now four elements.
+       (format_attribute_table, lang_attribute_common): New variables.
+       (init_attributes): Reflect above changes.
+       (handle_mode_attribute): Delete check for wider than uintmax.
+       * c-common.c: Delete parts moved to attribs.c.
+       (enum attrs): Deleted; unused.
+       (c_format_attribute_table): New variable.
+       (c_common_lang_init): Initialize format_attribute_table with it.
+       * c-common.h (decl_attributes): Remove decl.
+       * tree.h (decl_attribute): Move it to here.
+       * Makefile.in (C_AND_OBJS_OBJS): Add attribs.o.
+       (attribs.o): New rule.
+
+2001-09-22  Andreas Jaeger  <aj@suse.de>
+
+       * builtins.c (c_getstr): Remove unused variable.
+
+2001-09-21  Richard Henderson  <rth@redhat.com>
+
+       * reload1.c (reload): Use delete_insn instead of splatting
+       NOTE_INSN_DELETED.
+
+2001-09-21  Richard Henderson  <rth@redhat.com>
+
+       * reload.c (push_secondary_reload): Don't check for "=" in output
+       constraint after ""->ALL_REGS check.
+
+2001-09-21  Richard Henderson  <rth@redhat.com>
+
+       * predict.c (expected_value_to_br_prob): Use pc_set.
+
+       * optabs.c (init_one_libfunc): Gen a FUNCTION_DECL for use by
+       ENCODE_SECTION_INFO; get SYMBOL_REF from make_decl_rtl.
+
+2001-09-21  Richard Henderson  <rth@redhat.com>
+
+       * rtl.h (LCT_RETURNS_TWICE): New.
+       * calls.c (emit_call_1): Set current_function_calls_setjmp for
+       ECF_RETURNS_TWICE.
+       (emit_library_call_value_1): Map LCT_RETURNS_TWICE
+       to ECF_RETURNS_TWICE.
+       * except.c (sjlj_emit_function_enter): Use LCT_RETURNS_TWICE for
+       call to setjmp.
+
+       * unwind-sjlj.c: Invent the setjmp.h declarations if inhibit_libc.
+
+       * config/stormy16/stormy16.h (DONT_USE_BUILTIN_SETJMP): New.
+       (JMP_BUF_SIZE): New.
+
+2001-09-21  Richard Henderson  <rth@redhat.com>
+
+       * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Map 'd'
+       to R8_REGS.
+
+2001-09-21  Richard Henderson  <rth@redhat.com>
+
+       * tree.def (FDESC_EXPR): New.
+       * expr.c (expand_expr): Handle it.
+       * varasm.c (initializer_constant_valid_p): Likewise.
+       (output_constant): Likewise.
+       * defaults.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
+       * config/ia64/ia64.h (TARGET_VTABLE_USES_DESCRIPTORS): New.
+       (ASM_OUTPUT_FDESC): New.
+       * doc/tm.texi: Document the new macros.
+
+21-09-2001  Richard Earnshaw  (reanrsha@arm.com)
+
+       * cfgcleanup.c (merge_blocks_move_successor_nojumps): Don't leave
+       ADDR_VEC or ADDR_DIFF_VEC jump insns as part of the basic block
+       once merging is complete.
+
+Fri Sep 21 11:20:12 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * integrate.c (allocate_initial_values): Eliminate unused arg warning.
+
+21-09-2001  Richard Earnshaw  (reanrsha@arm.com)
+
+       * cfgcleanup.c (flow_find_cross_jump): Delete any REG_EQUAL notes
+       that would be invalid after a merge.
+
+Fri Sep 21 14:24:29 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * basic-block.h (flow_delete_insn, flow_delete_insn_chain): Kill.
+       * cfg.c (delete_insn): Rename from ....; use remove_insn; do not
+       remove some labels.
+       (flow_delete_insn): This one.
+       (delete_insn_chain): Rename from ...; do not care labels.
+       (flow_delete_insn_chain): ... this one.
+       (flow_delete_block): Remove the insns one BB has been expunged.
+       (merge_blocks_nomove): Likewise.
+       (try_redirect_by_replacing_jump): Use delete_insn[_chain]; do not care
+       updating BB boundaries.
+       (tidy_fallthru_edge): Likewise.
+       (commit_one_edge_insertion): Likewise.
+       * cfgbuild.c (find_basic_block): Likewise.
+       (find_basic_blocks_1): Likewise.
+       * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): Likewise.
+       (try_crossjump_to_edge): Likewise.
+       (try_optimize_cfg): Likewise.
+       * cse.c (delete_trivially_dead_insns): Likewise.
+       * df.c (df_insn_delete): Likewise.
+       * doloop.c (doloop_modify): Use delete_related_insns.
+       * emit-rtl.c (try_split): Likewise.
+       (remove_insn): Update BB boundaries.
+       * expect.c (connect_post_landing_pads): Use delete_related_insns.
+       * flow.c (delete_dead_jumptables): Use delete_insn[_chain]; do not care
+       updating BB boundaries.
+       (propagate_block_delete_insn): Likewise.
+       (propagate_block_delete_libcall): Likewise.
+       * function.c (delete_handlers): Use delete_related_insns.
+       (thread_prologue_and_epilogue_insns): Likewise.
+       * gcse.c (delete_null_pointer_checks): Use delete_related_insns.
+       * genpeep.c (gen_peephole): Use delete_related_insns.
+       * ifcvt.c (noce_process_if_block): Use delete_insn; do not care updating
+       BB boundaries.
+       (find_cond_trap): Likewise.
+       * integrate.c (save_for_inline): Use delete_related_insns.
+       (copy_insn_list): Likewise.
+       * jump.c (pruge_linie_number_notes): Likewise.
+       (duplicate_loop_exit_test): Likewise.
+       (delete_computation): Likewise.
+       (delete_related_insn): Rename from ...; use delete_insn
+       (delete_insn): ... this one.
+       (redirect_jump): Use delete_related_insns.
+       * loop.c (scan_loop): Likewise.
+       (move_movables): Likewise.
+       (find_and_verify_loops): Likewise.
+       (check_dbra_loop): Likewise.
+       * recog.c (peephole2_optimize): Likewise.
+       * reg-stack.c (delete_insn_for_stacker): Remove.
+       (move_for_stack_reg): Use delete_insn.
+       * regmove.c (combine_stack_adjustments_for_block): Likewise.
+       * reload1.c (delete_address_reloads): Use delete_related_insns.
+       (fixup_abnormal_edges): Use delete_insn.
+       * recog.c (emit_delay_sequence): Use delete_related_insns.
+       (delete_from-delay_slot): Likewise.
+       (delete_scheduled_jump): likewise.
+       (optimize_skip): Likewise.
+       (try_merge_delay_insns): Likewise.
+       (full_simple_delay_slots): Likewise.
+       (fill_slots_from_thread): Likewise.
+       (relax_delay_slots): Likewise.
+       (make_return_insns): Likewise.
+       (dbr_schedule): Likewise.
+       * rtl.h (delete_insn): Rename to delete_related_insns.
+       (delete_insn, delete_insn_chain): New prototypes.
+       * ssa-ccp (sse_fast_dce):  Remove deleting of DEF, as it is done
+       by df_insn_delete already.
+       * ssa-dce.c (delete_insn_bb): Use delete_insn.
+       * ssa.c (convert_from_ssa): Use delete_related_insns.
+       * unroll.c (unroll_loop): Likewise.
+       (calculate_giv_inc): Likewise.
+       (copy_loop_body): Likewise.
+
+       * i386-protos.h (ix86_libcall_value, ix86_function_value,
+       ix86_function_arg_regno_p, ix86_function_arg_boundary,
+       ix86_return_in_memory, ix86_function_value): Declare.
+       * i386.c (x86_64_int_parameter_registers, x86_64_int_return_registers):
+       new static valurables.
+       (x86_64_reg_class): New enum
+       (x86_64_reg_class_name): New array.
+       (classify_argument, examine_argument, construct_container,
+        merge_classes): New static functions.
+       (optimization_options): Enable flag_omit_frame_pointer and disable
+       flag_pcc_struct_return on 64bit.
+       (ix86_libcall_value, ix86_function_value,
+       ix86_function_arg_regno_p, ix86_function_arg_boundary,
+       ix86_return_in_memory, ix86_function_value): New global functions.
+       (init_cumulative_args): Refuse regparm on x86_64, set maybe_vaarg.
+       (function_arg_advance): Handle x86_64 passing conventions.
+       (function_arg): Likewise.
+       * i386.h (FUNCTION_ARG_BOUNDARY): New macro.
+       (RETURN_IN_MEMORY): Move offline.
+       (FUNCTION_VALUE, LIBCALL_VALUE): Likewise.
+       (FUNCTION_VALUE_REGNO_P): New macro.
+       (FUNCTION_ARG_REGNO_P): Move offline.
+       (struct ix86_args): Add maybe_vaarg.
+       * next.h (FUNCTION_VALUE_REGNO_P): Delete.
+       * unix.h (FUNCTION_VALUE_REGNO_P): Delete.
+
+2001-09-21  Hartmut Penner  <hpenner@de.ibm.com>
+
+       * s390.md: Changed attributes for scheduling.
+       * s390.c: (s390_adjust_cost, s390_adjust_priority)
+       Changed scheduling
+
 2001-09-21  Joseph S. Myers  <jsm28@cam.ac.uk>
 
        Table-driven attributes.
@@ -275,6 +564,11 @@ Thu Sep 20 12:19:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
        (i386_simplify_dwarf_addr): Strip down the 64bit PIC references.
        * i386.h (CASE_VECTOR_MODE): Set to SImode for 64bit PIC compilation.
 
+2001-09-19  Alexandre Petit-Bianco  <apbianco@redhat.com>
+
+       * stringpool.c (get_identifier_with_length): New function.
+       * tree.h (get_identifier_with_length): New prototype.
+
 2001-09-19  Alan Modra  <amodra@bigpond.net.au>
            David Edelsohn  <edelsohn@gnu.org>
 
@@ -340,30 +634,30 @@ Thu Sep 20 12:19:36 CEST 2001  Jan Hubicka  <jh@suse.cz>
 
 2001-09-18  Catherine Moore  <clm@redhat.com>
 
-       * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN): 
+       * config/stormy16/stormy16.h (DEFAULT_PCC_STRUCT_RETURN):
        Define as 0.
 
 2001-09-18  Ulrich Weigand  <uweigand@de.ibm.com>:
-        * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to 
-       new-style tm_file specification.  Specify correct tm_p_file, 
-       md_file, and out_file for s390x. 
+
+       * config.gcc (s390-*-linux-*, s390x-*-linux*): Switch to
+       new-style tm_file specification.  Specify correct tm_p_file,
+       md_file, and out_file for s390x.
 
        * config/s390/linux.h, linux64.h:  Don't include other target
        macro header files.  Now handled via tm_file.
 
-       * config/s390/linux.h, s390.h:  (IEEE_FLOAT, TARGET_IEEE_FLOAT, 
+       * config/s390/linux.h, s390.h:  (IEEE_FLOAT, TARGET_IEEE_FLOAT,
        TARGET_IBM_FLOAT): Move from linux.h to s390.h to ensure they
        are defined before use.
-       
+
 Tue Sep 18 09:51:11 2001  Eric Christopher  <ecechristo@redhat.com>
 
-        * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
-        code generation only for Gnu assembler.
+       * config/mips/mips.c (mips_asm_file_start): Conditionalize Elf
+       code generation only for Gnu assembler.
 
 2001-09-18  Catherine Moore  <clm@redhat.com>
 
-        * config/stormy16 (LIB_SPEC): Remove -lnosys.
+       * config/stormy16 (LIB_SPEC): Remove -lnosys.
 
 2001-09-18  Richard Sandiford  <rsandifo@redhat.com>