OSDN Git Service

* stor-layout.c (layout_type): Complain if an array's size can
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3094a9e..bc21be5 100644 (file)
@@ -1,3 +1,403 @@
+2001-09-05  Jeffrey A Law  (law@cygnus.com)
+           Jason Merrill (jason@redhat.com)
+
+       * stor-layout.c (layout_type): Complain if an array's size can
+       not be represented in a size_t.
+
+       * config/h8300/elf.h (ENDFILE_SPEC, STARTFILE_SPEC): Define.
+
+2001-09-05  David Billinghurst <David.Billinghurst@riotinto.com>
+
+       * gcc.c: (process_command) Add parentheses around assignment 
+       used as truth value.
+
+2001-09-05  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (save_restore_insns): Don't mark any register
+       save slots as unchanging if current_function_calls_eh_return.
+
+2001-09-05  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (alpha_legitimate_address_p): New.
+       * config/alpha/alpha-protos.h: Declare it.
+       * config/alpha/alpha.h (GO_IF_LEGITIMATE_ADDRESS): Move to c file.
+       (NONSTRICT_REG_OK_FOR_BASE_P): Rename from non-strict macro.
+       (NONSTRICT_REG_OK_FP_BASE_P): Likewise.
+       (STRICT_REG_OK_FOR_BASE_P): Rename from strict macro.
+       (REG_OK_FOR_BASE_P): Select one of the above.
+
+2001-09-05  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/t-elf (EXTRA_PARTS): Use EXTRA_MULTILIB_PARTS instead.
+       (crti.o): Prefix name of object file with $(T).
+       (crtn.o): Likewise.
+
+2001-09-05  David S. Miller  <davem@redhat.com>
+
+       * config/sparc/linux.h: Set CPLUSPLUS_CPP_SPEC.
+       * config/sparc/linux64.h: Likewise.
+
+2001-09-05  Andreas Jaeger  <aj@suse.de>
+
+       * doc/invoke.texi (i386 Options): -mwide-multiply is not
+       available anymore, remove the documentation.
+       (i386 Options): Fix typo, cleanup index entries.
+
+       * prefix.c (concat): Remove, we can use the version from liberty.
+
+2001-09-05  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (alpha_expand_mov, alpha_expand_mov_nobwx):
+       New functions split out of md file expanders.
+       * config/alpha/alpha-protos.h: Declare them.
+       * config/alpha/alpha.md (movqi, movhi, movsi, movdi): Use them.
+
+2001-09-05  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppmacro.c (funlike_invocation_p): No need to restore context.
+
+2001-09-04  Richard Henderson  <rth@redhat.com>
+
+       * reload.c (push_reload): Export.
+       * reload.h (push_reload): Declare it.
+
+       * config/alpha/alpha.h (LEGITIMIZE_ADDRESS): Move out o' line.
+       (LEGITIMIZE_RELOAD_ADDRESS): Likewise.
+       * config/alpha/alpha.c (alpha_legitimize_address): New.
+       (alpha_legitimize_reload_address): Likewise.
+       * config/alpha/alpha-protos.h: Declare them.
+
+2001-09-04  Stan Shebs  <shebs@apple.com>
+
+       * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Define.
+       * config/darwin.c (machopic_stub_name): Account for internally
+       generated lib calls such as memcpy.
+
+2001-09-04  Richard Henderson  <rth@redhat.com>
+
+       * unwind.h (_UA_END_OF_STACK): New flag.
+       * unwind.inc (_Unwind_ForcedUnwind_Phase2): Set it.
+
+Tue Sep  4 11:16:35 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * h8300/elf.h (LINK_SPEC): Redefine appropriately for the H8.
+
+2001-09-04  Richard Sandiford  <rsandifo@redhat.com>
+
+       * config/mips/mips.c (save_restore_insns): Change base_offset to
+       fp_offset in second call to mips_emit_frame_related_store.
+
+2001-09-04  Hans-Peter Nilsson  <hp@axis.com>
+
+       * doc/rtl.texi: Mention that besides as a CODE_LABEL, a label can
+       sometimes be represented as a NOTE of type
+       NOTE_INSN_DELETED_LABEL.
+       (Insns): Document NOTE_INSN_DELETED_LABEL.
+
+2001-09-04  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * c-common.h (tree_dump_index): Add more comments.
+       * c-dump.c (dump_files): Name flags `tree' rather than `ast'.
+       (dump_option_value_info): New struct.
+       (dump_options): New array.
+       (dump_switch_p): Parse switch options symbolically.
+       * doc/invoke.texi (-fdump-ast): Rename to ...
+       (-fdump-tree): ... here. Document that options are symbolic, and
+       not all are applicable.
+
+2001-09-04  David S. Miller  <davem@redhat.com>
+
+       * config/sparc/sparc.md (define_splits): Kill constraints.
+
+       Cleanup redundant and unused insn attributes.
+       * config/sparc/sparc.md (define_attr "insn"): Kill address, unary,
+       binary, and move.  Mark ialu as default.
+       (commented out define_function_unit "alu"): Kill.
+       (define_attr "use_clobbered"): Kill.
+       (whole file): Kill address insn type references.  Replace
+       all unary/binary/move references with ialu.
+       * config/sparc/sparc.c (whole file): Kill TYPE_ADDRESS
+       references.  Replace TYPE_{UNARY,BINARY,MOVE} references with
+       TYPE_IALU.
+
+       Simplify length insn attribute and make more judicious use
+       of insn attribute defaulting.
+       * config/sparc/sparc.md (all insns with length > one): Mark as
+       insn type multi if real instructions, else use default if
+       it is a forced splitter.
+       (all insns with length == one): Use default insn length.
+       (all insns of type ialu): Use default insn type.
+
+       Fix erroneous insn attribute settings.
+       (addx): Set insn type to misc.
+       (mulsidi3_sp64, const_mulsidi3_sp64, umulsidi3_sp64,
+       const_umulsidi3_sp64): Set insn type to imul.
+
+       Track SFmode vs DFmode insns according to UltraSPARC
+       scheduling rules.
+       * config/sparc/sparc.md ("fptype"): New attribute, default
+       to "single".
+       (all DFmode single insns): Mark as fptype "double".
+
+2001-09-03  Jakub Jelinek  <jakub@redhat.com>
+
+       * loop.c (express_from_1): Fix CONSTANT_P(a) case.
+
+2001-09-03  Richard Henderson  <rth@redhat.com>
+
+       * function.h (struct function): Add arg_pointer_save_area_init.
+       * function.c (expand_function_end): Init arg_pointer_save_area.
+       (get_arg_pointer_save_area): Do not init arg_pointer_save_area
+       when called from a nested function.
+
+2001-09-02  Angela Marie Thomas <angela@cygnus.com>
+
+       * fixinc/Makefile.in: Regenerate fixincl.x only if maintainer-mode
+       is enabled.
+
+Sun Sep  2 18:37:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * reload1.c (fixup_abnormal_edges): Allow NOTEs in the sequence.
+
+2001-09-01  Geoffrey Keating  <geoffk@redhat.com>
+
+       * expr.c (push_block): Make sane use of STACK_GROWS_DOWNWARD.
+       (emit_push_insn): Use specified padding direction when
+       STACK_PUSH_CODE is POST_INC.
+
+       * config/stormy16/stormy16.h (DWARF2_UNWIND_INFO): Define to 0.
+
+2001-09-01  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * mips.h (INITIAL_ELIMINATION_OFFSET): Add missing `else abort'.
+
+2001-09-01  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppinit.c (cpp_start_read): Free the imacros list as we
+       traverse it.  Don't free the chains before returning.
+       (_cpp_push_next_buffer): Only try pushing buffers if we've
+       completed -imacros handling.
+
+2001-08-31  Eric Christopher  <echristo@redhat.com>
+
+       * gcc.c (handle_braces): Add explaination for abort.
+
+2001-08-30  Roman Zippel  <zippel@linux-m68k.org>
+
+       * expmed.c (store_bit_field): Update to patch from 2001-08-27:
+       move adjustment of bitpos instead.
+
+2001-08-31  Zack Weinberg  <zack@codesourcery.com>
+
+       * function.c: Remove all_functions.  Make outer_function_chain
+       static.
+       (init_function_start): Don't add new function structure to
+       all_functions.
+       (find_function_data, push_function_context_to,
+       pop_function_context_from, put_var_into_stack,
+       trampoline_address): Update for changed structure element names.
+       (push_function_context_to): Disentangle.
+       (free_after_compilation): Also free F.
+       (expand_dummy_function_end): Don't free cfun here.
+       (put_var_into_stack): Comment why we can't use find_function_data here.
+       (fix_lexical_addr, trampoline_address, ): Use find_function_data.
+       (mark_function_chain): Split into maybe_mark_struct_function and
+       ggc_mark_struct_function.  Export the latter.
+       (init_function_once): Mark from cfun and outer_function_chain;
+       not all_functions.
+
+       * function.h (struct function): Kill next_global.  Rename next
+       to outer.  All users updated to match.
+       (all_functions, outer_function_chain): Don't declare.
+
+       * ggc-common.c (ggc_mark_trees): Mark DECL_SAVED_INSNS.
+       * integrate.c (output_inline_function): Clear DECL_SAVED_INSNS,
+       don't touch f->inlinable, after calling rest_of_compilation.
+
+       * tree.h: Forward-declare struct function.  Prototype
+       ggc_mark_struct_function.
+
+2001-08-31  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.md (*andorhi3): Fix typos.
+
+2001-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * calls.c (emit_library_call_value): Don't use a fixed
+       argument after VA_CLOSE, i.e. out of scope in traditional C.
+
+       * emit-rtl.c (gen_rtvec): Likewise.
+
+2001-08-31  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * Makefile.in (c-pragma.o): Depend on output.h.
+       (reorg.o): Depend on except.h.
+
+       * c-pragma.c: Include output.h.
+
+       * reorg.c: Include except.h.
+
+       * unwind-dw2.c: Call __builtin_alloca, not alloca.
+
+2001-08-31  Richard Henderson  <rth@redhat.com>
+
+       * sched-deps.c (add_dependence): Don't elide dependancy if the
+       conditional used by insn is modified in elem.
+
+2001-08-31  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Define.
+
+2001-08-31  Diego Novillo  <dnovillo@redhat.com>
+
+       * c-decl.c (c_decode_option): Skip '-f' prefix before calling
+       dump_switch_p.
+
+2001-08-31  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config/stormy16/stormy16.c (stormy16_asm_out_destructor): New
+       function.
+       (stormy16_asm_out_constructor): New function.
+       (TARGET_ASM_CONSTRUCTOR): Define.
+       (TARGET_ASM_DESTRUCTOR): Define.
+
+2001-08-31  Andreas Jaeger  <aj@suse.de>
+
+       * gcse.c (add_label_notes): REG_LABEL is an INSN_LIST.
+       * loop.c (add_label_notes): Likewise.
+       * reload.c (find_reloads): Likewise.
+       * config/sh/sh.c (machine_dependent_reorg): Likewise.
+
+2001-08-31  Jason Merrill  <jason_merrill@redhat.com>
+
+       * unwind-pe.h (read_uleb128, read_sleb128): Move actual reading
+       code here.  Take _Unwind_{W,Sw}ord*.
+       (read_encoded_value_with_base): Use them.
+       * unwind-dw2.c (_Unwind_FrameState): Make cfa_offset and cfa_reg
+       words.
+       (extract_cie_info): Simplify read_?leb128 handling.
+       (execute_stack_op, execute_cfa_program): Likewise.
+       * unwind-dw2-fde.c (get_cie_encoding): Likewise.
+
+2001-08-31  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config/stormy16/stormy16.c (stormy16_expand_epilogue): Use
+       the frame pointer to pop the stack if convenient.
+
+       * config/stormy16/stormy16.c (stormy16_initialize_trampoline):
+       Don't use post-increment before combine.
+       * config/stormy16/stormy16.h (STATIC_CHAIN_REGNUM): Don't use
+       a call-saved register.
+
+2001-08-31  Andreas Jaeger  <aj@suse.de>
+
+       * jump.c (mark_jump_label): Revert patch from 2001-08-28, the
+       code was correct.
+
+2001-08-30  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config/stormy16/stormy16.md (udivmodhi4): Express using UDIV/UMOD,
+       not DIV/MOD, of course.
+
+2001-08-30  Vladimir Makarov  <vmakarov@redhat.com>
+
+       * rtl.def: Undo my patch commited 2001-08-27.
+
+       * genattrtab.c: Ditto.
+
+       * rtl.h: Ditto.
+
+       * sched-int.h: Ditto.
+
+       * target-def.h: Ditto.
+
+       * target.h: Ditto.
+
+       * haifa-sched.c: Ditto.
+
+       * sched-rgn.c: Ditto.
+
+       * sched-vis.c: Ditto.
+
+       * Makefile.in: Ditto.
+
+       * doc/md.texi: Ditto.
+
+       * doc/tm.texi: Ditto.
+
+       * doc/contrib.texi: Ditto.
+
+       * doc/gcc.texi: Ditto.
+
+       * genattrtab.h: Remove it.
+
+       * genautomata.c: Remove it.
+
+       * genattr.c: Undo my patch and Richard Henderson's patch commited
+       2001-08-27.
+
+Thu Aug 30 19:22:15 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * config.gcc (h8300-*-elf*): New case.
+       * h8300.h (CPP_SPEC): Add subtarget_cpp_spec.
+       (SUBTARGET_CPP_SPEC): Define.
+       (EXTRA_SPECS): Define.
+       (SUBTARGET_EXTRA_SPECS): Define.
+       * config/h8300/crti.asm, config/h8300/crtn.asm: New files.
+       * config/h8300/elf.h, config/h8300/t-elf: Likewise.
+
+Thu Aug 30 18:50:37 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * t-h8300 (LIB1ASMFUNCS): Add _fixunssfdi and _fixunssfsi_asm.
+       (LIB2FUNCS_EXTRA): Define.
+       config/h8300/lib1funcs.asm: New part: L_fixunssfsi_asm .
+       config/h8300/fixunssfsi.c: New file.
+
+2001-08-30  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.md (zero_extendqihi2): Changes to
+       define_expand to accomodate target-specific attributes.
+       (anonymous zero_extendqihi2 patterns): New.
+
+Thu Aug 30 18:10:56 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * h8300.md (*andorhi3): New pattern.
+
+Thu Aug 30 16:00:31 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * h8300.c (dosize): Fix test for "sub".
+
+Thu Aug 30 10:21:43 2001  J"orn Rennecke <amylaar@redhat.com>
+
+       * c-typeck.c (pointer_diff): Try to eliminate common term before
+       doing conversions.
+
+2001-08-30  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/arm/arm.c (arm_compute_initial_elimination_offset):
+       Account for the saves of the FP registers.
+
+       * config/arm/unknown-elf.h (TEXT_SECTION): Delete.
+       (TEXT_SECTION_ASM_OP): Define.
+       (INIT_SECTION_ASM_OP): Define.
+       (FINI_SECTION_ASM_OP): Define.
+       (SUBTARGET_EXTRA_SECTIONS): Remove trailing comma.
+       (RDATA_SECTION_FUNCITON): Provide prototype.
+
+2001-08-29  Geoffrey Keating  <geoffk@redhat.com>
+
+       * reload1.c (move2add_note_store): Correct typo checking for
+       argument pushes.
+
+2001-08-29  Andrew MacLeod  <amacleod@redhat.com>
+
+       * gcse.c (compute_hash_table): The SRC part of an insn with a RETVAL
+       note should not be considered outside the libcall block.
+
+2001-08-29  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * genattrtab.c (attr_printf): Use VA_OPEN/VA_FIXEDARG/VA_CLOSE.
+
 2001-08-29  Kazu Hirata  <kazu@hxi.com>
 
        * config/h8300/h8300.md (movsi_h8300hs): Make it 64-bit safe.
 
        * iris6.h (ASM_DECLARE_OBJECT_NAME, ASM_FINISH_DECLARE_OBJECT):
        Fix format specifier warnings.
-       
+
        * irix6-libc-compat.c (inet_ntoa, inet_lnaof, inet_netof,
        inet_makeaddr, semctl): Prototype.
 
        df_visit_next.
        (df_ru_global_compute): Use df_visit_next_rts instead of
        df_visit_next.
-       
+
        * flow.c (flow_reverse_top_sort_order_compute): New function.
 
        * basic-block.h: Add prototype.
        * ssa-ccp.c (ssa_ccp_df_delete_unreachable_insns): For unreachable
        blocks, the BB_REACHABLE is now set, rather than aux being
        non-NULL. Update the test to reflect this.
-       
+
 2001-08-28  Eric Christopher  <echristo@redhat.com>
 
        * config/mips/crtn.asm: Add comment explaining 16 byte alignment.