OSDN Git Service

* system.h (SSIZE_MAX): Delete backup definition.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 1056434..f6a6c20 100644 (file)
@@ -1,3 +1,211 @@
+2000-06-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * system.h (SSIZE_MAX): Delete backup definition.
+
+       * cppfiles.c (read_include_file): Use INTTYPE_MAXIMUM(ssize_t)
+       instead of SSIZE_MAX.
+
+2000-06-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * configure.in: Check whether gas supports -relax.
+       * configure, config.in: Rebuilt.
+       * config/sparc/sparc.h (ASM_RELAX_SPEC): Define.
+       (EXTRA_SPECS): Add asm_relax.
+       (ASM_SPEC): Add %(asm_relax).
+       (TARGET_SWITCHES): Add -mrelax and -mno-relax.
+       * config/sparc/linux64.h (LINK_ARCH_SPEC): Rename to LINK_SPEC.
+       (LINK_SPEC): Pass -relax to linker unless -mno-relax or -r.
+       (ASM_SPEC): Add %(asm_relax).
+       * config/sparc/linux.h (LINK_SPEC, ASM_SPEC): Likewise.
+       * config/sparc/sparc.c (output_sibcall): If HAVE_AS_RELAX_OPTION,
+       never use sethi/jmpl for leaf tail calls.  Use or with rs2 %g0
+       instead of mov, so that gas can further optimize it.
+
+2000-06-08  James E. Wilson  <wilson@bletchleypark.cygnus.com>
+
+       * dwarf2out.c (size_of_die, case dw_val_class_const): Use
+       size_of_sleb128.
+       (value_format, case dw_val_class_const): Use sdata format.
+       (output_die): Call output_sleb128.
+
+2000-06-08  Mark Mitchell  <mark@codesourcery.com>
+
+       * invoke.texi: Remove documentation for -fsquangle and
+       -fname-mangling-version.
+
+2000-06-08  James E. Wilson  <wilson@cygnus.com>
+
+       * dwarf2out.c (ASM_OUTPUT_DWARF_DATA8): Add new macro that uses
+       UNALIGNED_DOUBLE_INT_ASM_OP.  Rename old macro to
+       ASM_OUTPUT_DWARF_CONST_DOUBLE.
+       (output_die, case dw_val_class_unsigned_const): Correct call to
+       ASM_OUTPUT_DWARF_DATA8.
+       (output_die, case dw_val_class_long_long): Use
+       ASM_OUTPUT_DWARF_CONST_DOUBLE.
+       * tree.c (host_integerp): Accept unsigned HOST_WIDE_INT values when
+       pos is zero.
+       
+       * config/ia64/ia64-protos.h (ia64_output_end_prologue): Add.
+       (output_function_prologue): Fix mispelling.
+       (output_function_prologue, output_function_epilogue): Reorder to
+       match ia64.c definition order.
+       * config/ia64/ia64.c (ia64_expand_prologue): Add comment.
+       (ia64_expand_epilogue): Set RTX_FRAME_RELATED_P on stack restore insns.
+       Use r3 instead of r2 for large stack restores.
+       (ia64_output_end_prologue): New function.
+       (process_set): Emit ".restore sp" for epilogue stack restores.
+       * config/ia64/ia64.h (FUNCTION_END_PROLOGUE): Define.
+       
+2000-06-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * dbxout.c (dbxout_type_fields): Don't segfault on fields with
+       incomplete types.
+
+2000-06-08  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * frame.c (end_fde_sort): Remove extraneous erratic array test.
+
+2000-06-08  Denis Perchine <dyp@perchine.com>
+
+       * frame.c (start_fde_sort): Don't malloc (0).
+
+2000-06-07  Zack Weinberg  <zack@wolery.cumb.org>
+
+       * c-decl.c (pushdecl): Do not call COMPLETE_TYPE_P on
+       error_mark_node. 
+       * print-tree.c (print_node): The transparent_union_flag means
+       different things for unions and arrays.  Do not inspect it
+       with TYPE_TRANSPARENT_UNION.
+
+2000-06-06  Jakub Jelinek  <jakub@redhat.com>
+
+       * cpplib.c (do_ifdef, do_ifndef): Don't segfault if parse_ifdef
+       returned NULL.
+
+Wed Jun  7 20:34:33 2000  Denis Chertykov  <denisc@overta.ru>
+
+       * config/avr/avr.c (asm_output_section_name): output section
+       attributes.
+       * config/avr/libgcc.S (.text.libgcc): declare section attributes.
+
+2000-06-06  James E. Wilson  <wilson@cygnus.com>
+
+       * frame.h (struct unwind_info_ptr): Collapse version, flags, and length
+       fields into header field.
+       (IA64_UNW_HDR_LENGTH, IA64_UNW_HDR_FLAGS, IA64_UNW_HDR_VERSION): New
+       macros to access length, flags, and version info from header field.
+       * config/ia64/crtbegin.asm (__do_frame_setup_aux): Delete here.
+       * config/ia64/crtend.asm (__do_frame_setup_aux): Add here.
+       (__do_global_ctors_aux): Fix caller.
+       * config/ia64/frame-ia64.c (get_unwind_record): Change parameter
+       prologue_flag to header.  Pass to read_P_record.
+       (read_P_record): New argument header.  Implement P4 format.
+       Multiply P7_T_SIZE by 16.
+       (execute_one_ia64_descriptor): New static local region_header.  Pass to
+       get_unwind_record.  Copy r to region_header if r is a header record.
+       (print_all_records): Likewise.
+       (__build_ia64_frame_state): Use IA64_UNW_HDR_LENGTH.
+       (__get_personality, __get_except_table): Likewise.
+       * config/ia64/ia64.c (process_set): Do not divide offsets by 4.
+
+2000-06-06  Philipp Thomas  <pthomas@suse.de>
+
+        * configure.in (AC_C_INLINE): Added.
+       * aclocal.m4 (AM_WITH_NLS): Enable --with-included-gettext by default.
+       * configure: Regenerate.
+
+2000-06-06  Mark Mitchell  <mark@codesourcery.com>
+
+       * c-common.h (c_language_kind): New type.
+       (c_language): New variab.e
+       * c-common.c (lang_get_alias_set): Don't put structures in
+       non-zero alias sets in C++.
+       * c-decl.c (c_language): Define it.
+       * c-lex.c (doing_objc_thang): Remove.
+       * c-tree.h (doing_objc_thang): Make it a macro.
+       * objc/objc-act.c (lang_decode_option): Set c_language, not
+       doing_objc_thang. 
+       
+2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
+
+       * diagnostic.c (output_maximum_width): Remove.
+       (doing_line_wrapping): Tweak.
+       (diagnostic_buffer): New object.
+       (global_output_buffer): New object.
+       (output_destroy_prefix): New function.
+       (default_initialize_buffer): Likewise.
+       (reshape_diagnostic_buffer): Likewise.
+       (initialize_diagnostics): Likewise.
+       (output_clear): Tweak.
+       (line_wrapper_printf): Adjust call to init_output_buffer.
+       (vline_wrapper_message_with_location): Likewise.  Use
+       output_destroy_prefix. 
+       (v_message_with_decl): Likewise.
+
+       * diagnostic.h (struct output_buffer): Constify prefix.
+       (init_output_buffer, output_get_prefix): Constify.
+       (diagnostic_message_length_per_line): Likewise.
+       (reshape_diagnostic_buffer): Declare.
+       (default_initialize_buffer): Declare.
+       (initialize_diagnostics): Declare.
+       (diagnostic_buffer): Declare new obbject.
+
+       * toplev.c: #include diagnostic.h
+       (display_help): Document diagnostic formatting options.
+       (decode_f_option): Handle diagnostic formatting options.
+       (main): Setup initialization for diagnostic messages outputter.
+
+       * toplev.h (set_message_length): Remove.
+
+       * Makefile.in (toplev.o): Depends upon diagnostic.h
+
+       * invoke.texi : Document diagnostics formatting options.
+
+Tue Jun  6 19:25:32 2000  Philippe De Muyter  <phdm@macqel.be>
+
+       * configure.in (Make the links): Typo fix : the file that must be
+       included without #ifdef IN_GCC is `auto-host.h', not `auto-config.h'.
+       * configure: File rebuilt.
+
+2000-06-06  Nathan Sidwell  <nathan@codesourcery.com>
+
+       * eh-common.h (EH_ALLOC_SIZE, EH_ALLOC_ALIGN): New #defines.
+       (eh_context): Add alloc_mask and alloc_buffer emergency fallback
+       space.
+       * libgcc2.c (__eh_alloc): Moved from cp/exception.cc. Fallback on
+       emergency eh_context buffer, if malloc fails.
+       (__eh_free): Moved from cp/exception.cc. Release to emergency
+       eh_context buffer, if appropriate.
+
+2000-06-06  Jason Merrill  <jason@casey.soma.redhat.com>
+
+       * expr.c (store_expr): Fix typo.
+
+2000-06-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * m68k.c (legitimize_pic_address): Move prototype ...
+       
+       * m68k-protos.h (legitimize_pic_address): ... here.
+
+       * m68k.md (legitimize_pic_address): Delete prototypes.
+       (untyped_call): Invoke GEN_CALL(), not gen_call().
+
+       * nextstep.c: Include system.h and toplev.h.
+       (get_directive_line): Don't prototype.
+       (handle_pragma): Mark parameters with ATTRIBUTE_UNUSED and constify.
+
+       * nextstep.h (handle_pragma): Prototype.
+       (SECTION_FUNCTION): Prototype FUNCTION().  Move prototype of
+       objc_section_init ...
+       (EXTRA_SECTION_FUNCTIONS): ... here.
+
+Tue Jun  6 08:17:26 2000  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * sdbout.c (struct sdb_file): NAME now const.
+       (sdbout_init): input_file_name now const.
+       (sdbout_start_new_source_file): FILENAME now const.
+       * sdbout.c (sdbout_init, sdbout_start_new_source_file): Reflect above.
+
 2000-06-06  Gabriel Dos Reis  <gdr@codesourcery.com>
 
        * c-typeck.c (build_conditional_expr): Handle complex data types.