OSDN Git Service

2001-11-11 H.J. Lu <hjl@gnu.org>
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 5b9c592..5430046 100644 (file)
@@ -1,3 +1,404 @@
+2001-11-11  H.J. Lu <hjl@gnu.org>
+
+       * config.gcc: Add "elfos.h svr4.h" to $tm_file for Linux/mips.
+
+Sun Nov 11 01:26:00 CET 2001  Jan Hubicka  <jh@suse.cz>
+
+       * final.c (*_MAX_SKIP): Use *_max_skip variables.
+       * flags.h (align_loops_max_skip, align_jumps_max_skip,
+       align_labels_max_skip): New global variables.
+       * toplev.c (align_loops_max_skip, align_jumps_max_skip,
+       align_labels_max_skip): New global variables.
+       (toplev_main): Set new variables.
+       * i386.c (override_options): Set max_skip values.
+
+2001-11-10  Geoffrey Keating  <geoffk@redhat.com>
+
+       * doc/tm.texi (Label Output): Document ASM_OUTPUT_LABEL_REF.
+       * final.c (output_addr_const): Use ASM_OUTPUT_LABEL_REF.
+       * config/stormy16/stormy16.c (xstormy16_print_operand): For '%C',
+       don't print an @fptr for labels either.
+       (xstormy16_output_addr_vec): Don't print @fptr here.
+       * config/stormy16/stormy16.h (ASM_OUTPUT_LABEL_REF): New macro.
+
+Sat Nov 10 08:50:50 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * ssa-ccp.c (examine_flow_edges): Use old-style definition, not
+       an ANSI/ISO definitino.
+       (ssa_const_prop): Likewise.
+
+2001-11-10  Aldy Hernandez  <aldyh@redhat.com>
+
+       * config/rs6000/rs6000.c (rs6000_reg_names): Remove leading "v" or
+       altivec registers.
+
+2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * cppexp.c (parse_number): Use ISXDIGIT/hex_value.
+       * cpplex.c (hex_digit_value): Use hex_p/hex_value.
+       * cppmain.c (general_init): Call hex_init.
+       * tradcif.y (parse_number): Use TOLOWER/ISXDIGIT/hex_value/hex_p.
+
+       * config.gcc (i[34567]86-dg-dgux*): Don't set `out_file'.
+
+       * i386/dgux.h (ASM_FILE_START): Set to the meaningful portions
+       of dgux.c:output_file_start().
+
+       * i386/dgux.c: Delete file.
+
+2001-11-09  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (decl_in_text_section): New.
+       (current_file_function_operand): Use it.
+       (alpha_encode_section_info, alpha_end_function): Likewise.
+
+2001-11-07  David O'Brien  <obrien@FreeBSD.org>
+
+       * config.gcc: Add FreeBSD/IA-64 target. Expand config/i64/elf.h headers.
+       * config/i64/ia64.h (TARGET_VERSION,ASM_SPEC,LINK_SPEC): Remove,
+       they are OS specific.  Use CPP_CPU_SPEC rather than CPP_PREDEFINES,
+       so OS specific files and use CPP_PREDEFINES for their needs.
+       * config/i64/elf.h (TARGET_VERSION): Add.  Also, move inclusion of
+       target headers to tm_file.
+       * config/ia64/aix.h (TARGET_VERSION): Likewise.
+       * config/ia64/hpux.h (TARGET_VERSION): Likewise.
+       * config/ia64/linux.h (TARGET_VERSION): Likewise.
+       (FUNCTION_PROFILER): Remove.
+       * config/ia64/ia64.h (FUNCTION_PROFILER): Update defintion using the
+       version in config/ia64/linux.h.
+       * config/ia64/freebsd.h: New file.
+       * config/freebsd.h: Tidy up.
+       (_USING_CONFIG_FREEBSD): Define.
+       (FBSD_CPP_PREDEFINES): Add __KPRINTF_ATTRIBUTE__.
+       (FBSD_CPP_SPEC): Define generic FreeBSD spec.
+       (FBSD_STARTFILE_SPEC): Likewise.
+       (FBSD_ENDFILE_SPEC): Likewise.
+       (FBSD_LIB_SPEC): Likewise.
+       (WCHAR_UNSIGNED): Undefine, FreeBSD's wchars are signed.
+       (USER_LABEL_PREFIX): Define to ELF compatible value as some CPU headers
+       set an ELF-improper one.
+
+2001-11-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.c (emit_move_sequence): Use cint_ok_for_move to check whether a
+       constant can be loaded in a single instruction to a register.  When
+       loading immediate constants, use PLUS instead of HIGH/LO_SUM.  Use
+       depdi for insertion of most significant 32-bits on 64-bit hosts.
+       * pa.h (LEGITIMATE_CONSTANT_P): Accept constants that can be built
+       with ldil/ldo/depdi instruction sequence on 64-bit hosts.
+       * pa.md: New addmove pattern for adding constant_int to HImode
+       register and moving result to HImode register.  Remove HImode HIGH
+       and LO_SUM patterns.
+
+2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * Makefile.in: Update.
+       * c-decl.c (print_lang_decl, print_lang_type): Remove.
+       (print_lang_identifier): Rename c_print_identifier.
+       * c-lang.c (LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
+       (print_lang_statistics, lang_print_xnode): Remove.
+       * c-parse.in (set_yydebug): Rename c_set_yydebug.
+       * c-tree.h (c_set_yydebug, c_print_identifier): New.
+       * langhooks-def.h (lhd_print_tree_nothing, lhd_set_yydebug): New.
+       LANG_HOOKS_PRINT_STATISTICS, LANG_HOOKS_PRINT_XNODE,
+       LANG_HOOKS_PRINT_DECL, LANG_HOOKS_PRINT_TYPE,
+       LANG_HOOKS_PRINT_IDENTIFIER, LANG_HOOKS_SET_YYDEBUG): New.
+       (LANG_HOOKS_INITIALIZER): Update.
+       * langhooks.h (struct lang_hooks): New members.
+       (lang_print_tree_hook): New.
+       * langhooks.c (lhd_print_tree_nothing, lhd_set_yydebug): New.
+       * print-tree.c: Include langhooks.h.
+       (print_node): Update.
+       * toplev.c (decode_d_option): Update.
+       * tree.c: Include langhooks.h.
+       (dump_tree_statistics): Update.
+       * tree.h (print_lang_statistics, print_lang_decl, print_lang_type,
+       print_lang_identifier, set_yydebug, lang_print_xnode): Remove.
+objc:
+       * objc-act.c (LANG_HOOKS_PRINT_IDENTIFIER,
+       LANG_HOOKS_SET_YYDEBUG): Override.
+       (lang_print_xnode, print_lang_statistics): Remove.
+
+2001-11-09  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2asm.c (dw2_force_const_mem): Invoke STRIP_NAME_ENCODING
+       on the symbol string.
+
+2001-11-09  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * pa/elf.h (ASM_DECLARE_FUNCTION_NAME,
+       ASM_OUTPUT_EXTERNAL_LIBCALL): Undef before defining.
+       * config.gcc (hppa1.1-*-rtems*): Remove duplicate clause.
+
+       * clipper.h (ASM_OUTPUT_REG_POP): Fix typo.
+
+       * tlink.c (recompile_files): Copy strings passed to `putenv'.
+
+2001-11-09  Geoffrey Keating  <geoffk@redhat.com>
+
+       * tree.h (TYPE_VOLATILE): Trap use not on TYPEs.
+       (TYPE_READONLY): Likewise.
+
+       * flow.c (insn_dead_p): Allow for AUTO_INC notes all the time.
+
+       * config/stormy16/stormy16.h (ASM_SPEC): Revert last change,
+       don't pass --gdwarf2 to the assembler if the compiler will also
+       provide debug info.
+
+       * config/stormy16/stormy16.c (xstormy16_expand_casesi): 
+       Don't change INDEX.
+
+Fri Nov  9 17:51:09 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * alias.c (nonoverlapping_memrefs_p): New function.
+       (true_dependence, canon_true_depenence, write_dependence_p): Call it.
+
+       * emit-rtl.c (set_mem_attributes): Get alignments for constants.
+
+2001-11-09  Aldy Hernandez  <aldyh@redhat.com>
+
+        * rs6000.h (REG_CLASS_CONTENTS): Add VRSAVE bit to ALL_REGS.
+       (CONDITIONAL_REGISTER_USAGE): Disable AltiVec registers unless
+       generating altivec code.
+       (FIXED_REGISTERS): VRSAVE is fixed.
+       (CALL_USED_REGISTERS): VRSAVE is call used.
+
+2001-11-09  Jason Eckhardt  <jle@rice.edu>
+
+       * config/mips/mips.c (mips_output_conditional_branch): Do not hard
+       code the branch target as ".+16/.+12", but rather use labels.
+
+Fri Nov  9 11:27:42 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * config/pa/milli64.S: Use %r25 and %r0 instead of arg1 and r0  
+       to work around limitations of certain versions of GAS.
+
+       * pa.md (mulsi3): Remove PA64 hack to work around SUBREG issues.
+       (muldi3): Update due to SUBREG_BYTE changes.
+       (casesi): Similarly.
+
+2001-11-09  Zack Weinberg  <zack@codesourcery.com>
+
+       * doc/invoke.texi: Remove comment referring to -xf77-version.
+
+2001-11-09  Kazu Hirata  <kazu@hxi.com>
+
+       * config/convex/convex.c: Fix comment formatting.
+       * config/convex/convex.h: Likewise.
+
+2001-11-08  Zack Weinberg  <zack@codesourcery.com>
+
+       * Makefile.in (.po.pox): Look both in srcdir and builddir
+       for $(PACKAGE).pot.
+       (po/$(PACKAGE).pot): Don't move-if-change the new potfile over
+       to the source directory.
+
+2001-11-09 Ben Elliston  <bje@redhat.com>
+          Michael Meissner  <meissner@redhat.com>
+           Andrew MacLeod  <amacleod@redhat.com>
+          Richard Henderson  <rth@redhat.com>
+          Nick Clifton  <nickc@redhat.com>
+          Catherine Moore  <clm@redhat.com>
+
+       * m32r.c: Add support for m32rx processor.
+       * m32r.h: Ditto.
+       * m32r.md: Ditto.
+       * t-m32r: Ditto.
+       * m32r-protos.h: Add prototypes for m32rx functions.
+       * doc/invoke.texi: Document -m32rx option.
+
+2001-11-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/sparc/sparc.md (movdf): Avoid calling validize_mem during
+       or after reload.
+
+2001-11-09  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * doc/install.texi2html: Use $MAKEINFO --no-split.
+
+2001-11-09  Andreas Schwab  <schwab@suse.de>
+
+       * Makefile.in ($(HOST_PREFIX_1)rtl.o,
+       $(HOST_PREFIX_1)print-rtl.o, $(HOST_PREFIX_1)bitmap.o,
+       $(HOST_PREFIX_1)vfprintf.o, $(HOST_PREFIX_1)doprint.o, 
+       $(HOST_PREFIX_1)strstr.o, $(HOST_PREFIX_1)errors.o,
+       $(HOST_PREFIX_1)ggc-none.o): Update dependencies.
+
+2001-11-09  H.J. Lu <hjl@gnu.org>
+
+       * config/mips/mips.c (mips_output_function_prologues): Cast
+       `tsize' to long for output.
+
+2001-11-09  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * c-lang.c (LANG_HOOKS_NAME): New.
+       (lang_hooks): Constify.
+       (c_init_options): Update.
+       (lang_identify): Remove.
+       * c-parse.in (language_string): Remove.
+       * dbxout.c: Include langhooks.h.
+       (dbxout_symbol_location): Update.
+       * dwarf2out.c: Include langhooks.h.
+       (gen_compile_unit_die): Update.
+       * dwarfout.c: Include langhooks.h.
+       (prototyped_attribute, output_compile_unit_die): Update.
+       * langhooks-def.h (LANG_HOOKS_NAME, LANG_HOOKS_IDENTIFIER_SIZE): New.
+       (LANG_HOOKS_INITIALIZER): Update.
+       * langhooks.h (struct lang_hooks): New members.  Constify.
+       * stringpool.c: Don't include toplev.h.
+       (set_identifier_size): Remove.
+       * toplev.c (toplev_main): Initialize identifier size.
+       (print_version): Update.
+       * tree.h (language_string, init_lex, lang_identify,
+       set_identifier_size): Remove.
+       * Makefile.in: Update dependencies.
+       * config/darwin.c: Include langhooks.h.
+       (func_name_maybe_scoped): Update.
+       * config/darwin.h (ASM_END_FILE): Update.
+       * config/nextstep.h (ASM_END_FILE): Update.
+       * config/nextstep21.h (ASM_END_FILE): Update.
+       * config/i386/sun386.h (ASM_END_FILE): Update.
+       * config/rs6000/rs6000.c (ASM_END_FILE): Include langhooks.h.
+       (rs6000_output_function_epilogue): Update.
+objc:
+       * objc-act.c (LANG_HOOKS_NAME): Override.
+       (struct lang_hooks): Constify.
+       (objc_init_options): Update.
+       (lang_identify): Remove.
+
+Fri Nov  9 00:25:18 EST 2001  John Wehle  (john@feith.com)
+
+       * fold-const.c (lshift_double): Honor PREC.
+       (rshift_double): Likewise.
+
+2001-11-08  Kazu Hirata  <kazu@hxi.com>
+
+       * config/1750a/1750a.c: Fix comment formatting.
+       * config/1750a/1750a.h: Likewise.
+
+2001-11-08  Phil Edwards  <pedwards@disaster.jaj.com>
+
+       * configure.in (--enable-languages): Be more permissive about
+       syntax.  Check for empty lists better.  Warn about $LANGUAGES.
+       * configure: Regenerated.
+
+2001-11-08  Richard Henderson  <rth@redhat.com>
+
+       * dwarf2asm.c (dw2_force_const_mem): Fix typo.
+
+2001-11-08  Geoffrey Keating  <geoffk@redhat.com>
+
+       * config.gcc: Rename stormy16 to xstormy16.
+       * config/stormy16/stormy-abi: Likewise.
+       * config/stormy16/stormy16-protos.h: Likewise.
+       * config/stormy16/stormy16.c: Likewise.
+       * config/stormy16/stormy16.h: Likewise.
+       * config/stormy16/stormy16.md: Likewise.
+
+2001-11-06  Geoffrey Keating  <geoffk@redhat.com>
+
+       * tree.h (TYPE_VOLATILE): Add enable-checking code.
+       (TYPE_READONLY): Likewise.
+
+Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * reload1.c (reload): Don't delete equiv insn if can throw.
+
+       * expr.c (emit_block_move): If X is readonly emit CLOBBER for it.
+       (clear_storage): Likewise, for OBJECT.
+
+Thu Nov  8 16:23:51 2001  Jeffrey A Law  (law@cygnus.com)
+
+       * pa.c (emit_move_sequence): Fix SUBREG expression to
+       use proper byte offset when extending a constant from
+       SImode to DImode.
+
+2001-11-09  Jakub Jelinek  <jakub@redhat.com>
+
+       * cfgrtl.c (purge_dead_edges): Remove REG_EH_REGION note for insns
+       which cannot throw.
+
+Thu Nov  8 18:00:55 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * explow.c (convert_memory_address, case SUBREG): Only return
+       inner object if SUBREG_PROMOTED_VAR_P or known to be pointer.
+
+2001-11-08  Richard Henderson  <rth@redhat.com>
+
+       * Makefile.in (GCC_FOR_TARGET): Add build_tooldir/sys-include.
+       (CROSS_SYSTEM_HEADER_DIR): Use build_tooldir not tooldir.
+       (ORDINARY_FLAGS_TO_PASS, stmp-fixinc): Likewise.
+
+2001-11-08  Aldy Hernandez  <aldyh@redhat.com>
+
+        * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -maltivec.
+
+2001-11-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (debug_str_hash): New.
+       (struct indirect_string_node): New.
+       (struct dw_val_struct): Change type of val_str to it.
+       (DEBUG_STR_SECTION_FLAGS): Define.
+       (add_AT_string): Push string into hashtable, increment reference
+       counter.
+       (AT_string): Return string from ht_identifier.
+       (AT_string_form): New.
+       (free_AT): For dw_val_class_str, just decrement reference counter.
+       (size_of_string): Remove.
+       (size_of_die): Use AT_string_form to decide what size the string
+       occupies in DIE.
+       (size_of_pubnames): Use strlen instead of size_of_string.
+       (value_format): Use AT_string_form for dw_val_class_str.
+       (output_die): Output DW_FORM_strp strings using
+       dw2_asm_output_offset.
+       (indirect_string_alloc, output_indirect_string): New.
+       (dwarf2out_finish): Emit .debug_str strings if there are any.
+
+2001-11-08  Andreas Franck  <afranck@gmx.de>
+
+       * configure.in: Add AC_ARG_PROGRAM to support program name
+       transformation with --program-prefix, --program-suffix and
+       --program-transform-name.
+       * configure: Regenerated.
+       * Makefile.in (GCC_INSTALL_NAME, CPP_INSTALL_NAME,
+       PROTOIZE_INSTALL_NAME, UNPROTOIZE_INSTALL_NAME, GCOV_INSTALL_NAME,
+       GCCBUG_INSTALL_NAME, GCC_CROSS_NAME, CPP_CROSS_NAME,
+       PROTOIZE_CROSS_NAME, UNPROTOIZE_CROSS_NAME): Handle
+       program_transform_name the way suggested by autoconf.
+       (GCC_TARGET_INSTALL_NAME): Define.
+       (install-driver): Use the transformed target alias name.
+
+2001-11-08  Richard Henderson  <rth@redhat.com>
+
+       * config/mips/mips.c (save_restore_insns): Remove GP from the
+       restore registers mask early instead of special casing it inside
+       the loop.
+
+2001-11-08  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cp/decl.c (shadow_warning): New function.
+       (pushdecl): Improve -Wshadow warnings.  Don't give both a warning
+       and an error when a block scope decl shadows a parameter.
+
+2001-11-08  Richard Henderson  <rth@redhat.com>
+
+       * config/fp-bit.h (usi_to_float): Define for US_SOFTWARE_GOFAST
+       case as well.
+
+2001-11-08  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * pa.md (negdf2, negsf2): Use multiplication rather than subtraction
+       to implement floating negation on processors prior to PA 2.0.
+
+2001-11-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2asm.c (mark_indirect_pool_entry, mark_indirect_pool): New.
+       (USE_LINKONCE_INDIRECT): Define.
+       (dw2_output_indirect_constant_1): Try to output indirect constants
+       into linkonce sections if possible.
+       (dw2_force_const_mem): Likewise.  Register indirect_pool with GGC.
+       (dw2_output_indirect_constants): Likewise.
+
 2001-11-07  Aldy Hernandez  <aldyh@redhat.com>
 
        * config/rs6000/rs6000.h (REG_ALLOC_ORDER): Add vrsave.
@@ -374,7 +775,6 @@ Tue Nov  6 09:21:34 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
        arrays.
        Fixes PR c/461.
 
->>>>>>> 1.11778
 2001-11-05  Zack Weinberg  <zack@codesourcery.com>
 
        * aclocal.m4: (AM_WITH_NLS): Don't look at ALL_LINGUAS.