OSDN Git Service

* NEWS: Remove.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 2c81809..0ab727a 100644 (file)
@@ -1,3 +1,478 @@
+2001-06-13  Mark Mitchell  <mark@codesourcery.com>
+
+       * NEWS: Remove.
+
+2001-06-13  Richard Henderson  <rth@redhat.com>
+
+       * ifcvt.c (cond_exec_get_condition): Use reversed_comparison_code.
+       (cond_exec_process_if_block, dead_or_predicable): Likewise.
+
+2001-06-13  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * mips-tfile.c (copy_object): Always pass indexNil for symbol
+       table index.
+
+2001-06-13  Kazu Hirata  <kazu@hxi.com>
+
+       * config/h8300/h8300.h (OK_FOR_T): Remove.
+       (EXTRA_CONSTRAINT): Do not use OK_FOR_T.
+       * config/h8300/h8300.md: Remove alternatives involving inc and dec
+       in the helper patterns for addhi3 and addsi3.
+
+2001-06-13  Phil Edwards  <pme@sources.redhat.com>
+
+       * doc/contrib.texi:  Link to libstdc++'s thanks.html for now.
+
+2001-06-13  Zack Weinberg  <zackw@stanford.edu>
+
+       * Makefile.in: Move _bb and __gcc_bcmp to LIB2FUNCS_ST.
+       * libgcc-std.ver: Take out __bb* and __gcc_bcmp.                        
+
+       * config/t-slibgcc-elf-ver, config/t-slibgcc-sld,
+       config/alpha/t-osf4, config/mips/t-iris6: Extract all
+       references to @shlib_map_file@, @shlib_objs@, or     
+       @shlib_base_name@ to Makefile variables.
+       Bump soname version of libgcc to 1.
+
+2001-06-13  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/install.texi: Use more logical markup.  Include @node
+       commands in the source when generating any non-HTML.
+
+2001-06-13  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * README: Remove.  Some of the contents moved to ../README.
+
+2001-06-13  Alexandre Oliva  <aoliva@redhat.com>
+
+       * doc/install.texi (--enable-shared): List package names
+       recognized by GCC.
+
+2001-06-13  Alexandre Oliva  <aoliva@redhat.com>
+
+       * doc/install.texi (ix86-*-solaris*): Removed, outdated.
+       (*-*-solaris*): Document problem in /bin/sh that affects
+       configuring libraries.
+       (sparc-*-solaris*): Recommend GNU binutils 2.11.1 or vendor tools.
+       (*-sun-solaris2.8): Document linker problem that explains why
+       libjava is disabled by default.
+
+2001-06-09  Mark Mitchell  <mark@codesourcery.com>
+
+       Revert this patch:
+       * toplev.c (rest_of_compilation): Remove dead code before
+       purge_addressof.
+       
+2001-06-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       Reverted:
+       2001-06-07  Nathan Sidwell  <nathan@codesourcery.com>
+       * configure.in (sparc*-*-*): Check assembler R_SPARC_UA32 support.
+       * configure: Rebuilt.
+
+2001-06-12  Jim Wilson  <wilson@redhat.com>
+
+       * loop.c (strength_reduce): Move bl->all_reduced set before
+       check_ext_dependant_givs call.
+       (check_ext_dependant_givs): Clear bl->all_reduced when ignoring givs.
+
+2001-06-12  Alexandre Oliva  <aoliva@redhat.com>
+
+       * doc/extend.texi (Function Attributes): Document SH's sp_switch
+       and trap_exit.
+
+2001-06-13  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/invoke.texi: Use more logical markup.  Use TeX quotes,
+       dashes and @dots{}.
+
+2001-06-12  Richard Henderson  <rth@redhat.com>
+
+       * config/i386/i386.c (ix86_expand_prologue): Always use
+       gen_pro_epilogue_adjust_stack; update arguments.
+       (ix86_expand_epilogue): Likewise.
+       (ix86_emit_epilogue_esp_adjustment): Remove.
+       (ix86_adjust_cost): Remove pro_epilogue_adjust_stack hack.
+       * config/i386/i386.md (pro_epilogue_adjust_stack): Use a BLKmode
+       clobber of scratch memory instead of a modification of EBP as the
+       barrier.  Update all peepholes to match.
+
+2001-06-12  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/gcc.texi: Change the font used for @def... commands to a
+       fixed width font.
+       * doc/extend.texi: Use more logical markup.  Use "built-in"
+       instead of "builtin".  Use @deftypefn to mark up built-in
+       functions; specify their types in the @deftypefn and not in the
+       descriptive text.  Use TeX quotes and dashes.  Add more index
+       entries.
+
+2001-06-12  lars brinkhoff  <lars@nocrew.org>
+
+       * gcc.texi (HOST_BITS_PER_LONGLONG): Document.
+       (DIR_SEPARATOR_2): Likewise.
+
+2001-06-12  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/install.texi (--exec-prefix, --bindir, --libdir,
+       --with-slibdir, --infodir, --mandir, --with-cpp-install-dir):
+       Document.
+       (--enable-cpp): Change to document --disable-cpp instead; update
+       to reflect current default.
+       (--without-fast-fixincludes): Remove documentation.
+       (Final install): Document installation directories in more
+       detail.  Document use of make dvi.
+
+Tue Jun 12 19:01:43 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * recog.c (validate_replace_rtx_1): Fix previous patch.
+
+Tue Jun 12 17:25:39 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * recog.c (validate_replace_rtx_1): Do plus_constant call always.
+
+Tue Jun 12 17:24:07 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * simplify-rtx.c (simplify_subreg): Allow volatile memory
+       to be subregged in case we don't have move instruction.
+
+Tue Jun 12 12:20:12 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * loop.c: Include predict.h
+       (strength_reduce): Drop branch prediction note in case
+       number of iterations is known.
+       * predict.def (PRED_LOOP_ITERATIONS): new.
+       * Makefile.in (loop.o): Add dependancy on predict.h
+
+2001-06-12  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       * c-decl.c (grokdeclarator): Use INTEGRAL_TYPE_P.
+
+       * c-typeck.c (c_start_case): Likewise.
+
+2001-06-12  Mark Mitchell  <mark@codesourcery.com>
+
+       * expr.c (store_field): Don't set MEM_ALIAS_SET for a field
+       in a structure at a variable address.
+
+2001-06-12  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/gcov.texi: Use more logical markup.
+
+2001-06-11  Mark Mitchell  <mark@codesourcery.com>
+
+       * unroll.c (initial_reg_note_copy): Use PUT_REG_NOTE_KIND and
+       REG_NOTE_KIND, not PUT_MODE and GET_MODE.
+       (final_reg_note_copy): Remove REG_WAS_0 notes that are no longer
+       valid.
+
+2001-06-11  Stan Shebs  <shebs@apple.com>
+
+       * darwin.h (ASM_FILE_END): Remove decl of language_string.
+
+2001-06-11  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.md ("*lshrdi3_const32"): Mark the clobber 
+       as an early clobber to make sure it is not used by reload in 
+       one of the operands.
+
+2001-06-11  Mark Mitchell  <mark@codesourcery.com>
+
+       * doc/c-tree.texi: Update information about flag_honor_std.
+       * doc/install.texi: Note that binutils is required on HPUX 11.
+       * doc/invoke.texi (-fhonor-std): Note that -fno-honor-std is
+       now the default.
+
+       * config/mips/abi64.h (RETURN_IN_MEMORY): Fix handling of
+       variable-sized types.
+
+2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/md.texi: Use TeX dashes and quotes.
+
+2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/rtl.texi: Reference manual chapter about trees.
+
+2001-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/mips/iris6.h (NO_BUILTIN_WINT_TYPE): Define.
+       (WINT_TYPE): Override.
+       (WINT_TYPE_SIZE): Likewise.
+       (SUBTARGET_CPP_SIZE_SPEC): Define __WINT_TYPE__ as appropriate.
+
+       * config/sparc/sol2.h (WINT_TYPE): Define.
+       (WINT_TYPE_SIZE): Likewise.
+
+       * config/sparc/sol2-sld-64.h (NO_BUILTIN_WINT_TYPE): Define.
+       (WINT_TYPE): Override.
+       (WINT_TYPE_SIZE): Likewise.
+       (CPP_ARCH32_SPEC): Add __WINT_TYPE__ definition.
+       (CPP_ARCH64_SPEC): Likewise.
+
+2001-06-11  Richard Henderson  <rth@redhat.com>
+
+       * unwind-dw2-fde.c (__deregister_frame_info): Don't play games
+       with alias attribute.
+
+       * config/linux.h (CPLUSPLUS_CPP_SPEC): Use %(cpp) not $(cpp_cpu).
+       * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): Likewise.
+
+2001-06-11  Franz Sirl  <Franz.Sirl-kernel@lauterbach.com>
+
+       * config/rs6000/linux.h (CPLUSPLUS_CPP_SPEC): New.
+
+2001-06-11  Stan Shebs  <shebs@apple.com>
+
+       * darwin.c (darwin_encode_section_info):  Rewrite to simplify
+       and fix coding mistakes.
+
+2001-06-11  Nick Clifton  <nickc@cambridge.redhat.com>
+
+       * config/m32r/m32r.md (movstrsi_internal): Do not expect a
+       return string from m32r_output_block_move.
+       * config/m32r/m32r-protos.h: Make m32r_output_block_move a
+       void function.
+       * config/m32r/m32r.h (INT32_P): Rename to UNIT32_P and remove
+       integer overflow.
+       (ROUND_ADVANCE): Remove signed/unsigned conflict.
+       * config/m32r/m32r.c: Declare prototypes for static functions.
+       (move_src_operand): Replace INT32_P with UINT32_P.
+       (function_arg_partial_nregs): Fixed signed/unsigned conflict
+       in initialisation of 'size'.
+       (m32r_sched_reord): Remove redundant declarations of 'code'.
+       (m32r_output_block_move): Change to a void function.
+       (m32r_encode_section_info): Cast return of
+       TREE_STRING_POINTER to avoid compile time warning.
+
+2001-06-11  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/osf5.h (TARGET_LD_BUGGY_LDGP): New.
+       * config/alpha/alpha.h (TARGET_LD_BUGGY_LDGP): Default.
+       (struct machine_function): Add gp_save_rtx.
+       * config/alpha/alpha.c (alpha_mark_machine_status): Mark it.
+       (alpha_gp_save_rtx): New.
+       * config/alpha/alpha-protos.h: Declare it.
+       * config/alpha/alpha.md (exception_receiver): Make an expander.
+       Use alpha_gp_save_rtx if TARGET_LD_BUGGY_LDGP.
+
+2001-06-11  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/osf.h (LINK_SPEC): Hide _GLOBAL_* symbols.
+
+2001-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * configure.in: Align --help messages.
+       Remove trailing full stops.
+       Consistently use lower case.
+       Fix DWARF 2 spelling.   
+       * configure: Rebuilt.
+
+2001-06-11  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/alpha/alpha.h (CPP_SPEC): Don't define __LANGUAGE_C and
+       variants for .cpp/.cp/.c++ files. 
+       Move definition of __LANGUAGE_C_PLUS_PLUS ...
+       (CPLUSPLUS_CPP_SPEC): ... here.
+
+Mon Jun 11 15:47:45 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * jump.c (duplicate_loop_exit_test): Fix loop header heuristics.
+
+2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * c-decl.c (store_parm_decls): When comparing types in an
+       old-style function declaration with those from a previous
+       prototype, compare the unqualified versions of parameter types.
+       Fixes PR c/3116.
+
+2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/objc.texi: Use more logical markup.  Use TeX dashes.
+
+2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/c-tree.texi: Use more logical markup.
+
+2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * c-decl.c (xref_tag): Don't return previous tags of wrong type.
+
+2001-06-11  Aldy Hernandez  <aldyh@redhat.com>
+
+       * loop.c (scan_loop): Do not combine asm statements.
+
+2001-06-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * simplify-rtx.c (simplify_subreg): Fix offset calculation
+       for complex values within a CONCAT.
+
+2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/install.texi: Update details of what components are included
+       in the GCC distribution.  Update default directory for g++
+       includes.  Update documentation relating to old libio.  Adjust
+       documentation on DejaGnu environment variables.  Remove
+       documentation of --enable-cpplib.
+
+2001-06-11  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/contrib.texi: Fix alphabetical order.  Fix typos.  Improve
+       markup.
+
+2001-06-10  Richard Henderson  <rth@redhat.com>
+
+       * ifcvt.c (life_data_ok): New.
+       (merge_if_block): Use it to determine whether to update
+       global_live_at_end.
+       (if_convert): Set it.
+
+2001-06-10  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
+
+2001-06-10  Alexandre Oliva  <aoliva@redhat.com>
+
+       * doc/invoke.texi (MN10300 Options): Document -mno-crt0.
+       (SH Options): Document -mieee.
+       * doc/install.texi (Final install): Remove obsolete information
+       about installing cross compilers.
+       * doc/gcc.1: Rebuilt.
+
+2001-06-10  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/alpha.c (override_options): Set align_loops,
+       align_jumps, and align_functions.
+       * config/alpha/alpha.h (FUNCTION_BOUNDARY): Set to 32 bits.
+       (LOOP_ALIGN, LABEL_ALIGN_AFTER_BARRIER): Remove.  
+
+2001-06-11  Michael Hayes  <m.hayes@elec.canterbury.ac.nz>
+
+       * emit-rtl.c (gen_lowpart_common): Do not assume that SFmode and DFmode
+       are one and two words in size.
+
+2001-06-10  Richard Henderson  <rth@redhat.com>
+
+       * doc/invoke.texi (Optimization Options): Document -fpeephole2.
+       (Code Generation Options): Document -fnon-call-exceptions.
+
+2001-06-10  Mark Kettenis  <kettenis@gnu.org>
+
+       * config/i386/gnu.h (MD_FALLBACK_FRAME_STATE_FOR): Undefine.
+
+2001-06-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * m68hc11.md (peepholes): Remove unused and wrong peepholes.
+
+2001-06-10  Mark Mitchell <mark@codesourcery.com>
+           Gabriel Dos Reis  <gdr@codesourcery.com>
+
+       * Makefile.in (c-parse.o): Depend on diagnostic.h
+       (dwarf2out.o): Likewise.
+
+       * dwarf2out.c: #include diagnostic.h
+
+       * toplev.h (warningcount, errorcount, sorrycount): Remove
+       declarations. 
+
+       * toplev.c (warningcount, errorcount, sorrycount): Remove
+       definitions. 
+
+       * diagnostic.h (struct output_buffer): Reorder fields.
+       (diagnostic_kind_count): New macro.     
+       (errorcount, warningcount, sorrycount): Define as macros.
+       (diagnostic_report_warnings_p): New macro.
+       (output_state): Add diagnostic_count field.
+
+       * diagnostic.c (warningcount, errorcount, inhibit_warnings):
+       Remove tentative declaration.
+       (count_error): Use diagnostic_report_warnings_p.
+
+       * c-parse.in: #include diagnostic.h
+
+2001-06-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.md ("extendhisi2"): Fix constraints to
+       prefer a memory for operand 1.
+       ("*addsi3"): Fix constraints, the '!' was too strong.
+       ("*addsi3_split"): Accept soft register and split accordingly.
+
+2001-06-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11-protos.h (m68hc11_initialize_trampoline): 
+       Move definition in the RTX_CODE section.
+
+2001-06-10  Stephane Carrez  <Stephane.Carrez@worldnet.fr>
+
+       * config/m68hc11/m68hc11.h (RETURN_ADDR_RTX): Define the return 
+       address as relative to the argument pointer.
+
+Sun Jun 10 10:58:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * predict.def (PRED_OPCODE): Place before call and error_return.
+
+Sun Jun 10 10:00:17 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * predict.def (PRED_CALL, PRED_ERROR_RETURN): New.
+       * predict.c (estimate_probability): Calculate dominance
+       information; improve detection of NORETURN heuristics;
+       add call/error_return heuiristics; tweak comparison heuristics
+       to recognize -1.
+
+2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
+
+       * doc/invoke.texi (C Dialect Options): Document -aux-info.
+       (Debugging Options): Document -print-multi-directory and
+       -print-multi-lib.
+       * doc/gcc.1: Rebuilt.
+
+       * toplev.c (independent_decode_option): Require `=' between
+       `-aux-info' and filename in the same argument.
+       * gcc.c: Don't pass -aux-info=filename twice.
+
+2001-06-09  Mark Mitchell  <mark@codesourcery.com>
+
+       * expr.c (expand_expr, case ARRAY_REF): Do not replace
+       an array element with the known initializing value if it has
+       side-effects.
+
+       * toplev.c (rest_of_compilation): Remove dead code before
+       purge_addressof.
+       
+2001-06-09  Neil Booth  <neil@daikokuya.demon.co.uk>
+
+       * cppinit.c (print_help): Document -fpreprocessed.
+       * invoke.texi: Similarly.
+
+Sun Jun 10 00:35:37 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * predict.def: New file.
+       * predict.h: New file.
+       * predict.c: Include predict.h.
+       (predictor_info): New structure and array.
+       (predict_edge, predict_insn): Rewrite; make global.
+       (predict_edge_def, predict_insn_def): New global functions.
+       (dump_prediction, combine_predictions_for_insns): New
+       static functions.
+       (estimate_probability): Change calls to predict_edge
+       to predict_edge_def and calls to predict_insn to predict_insn_def;
+       combine probabilities.
+       (expected_value_to_br_prob): Behave as predictor.
+       * rtl.h (REG_BR_PRED): Update coment.
+       (invert_br_probabilities): New.
+       * jump.c: Include predict.h
+       (duplicate_loop_exit_test): Drop branch prediction notes.
+       (invert_jump): Use invert_br_probabilities.
+       * Makefile.in: Add dependancy on predict.h for jump and predict pass.
+       * ifcvt.c (dead_or_predicable): Use invert_br_probabilities.
+       * combine.c (distribute_notes): Handle BR_PRED.
+
+Sat Jun  9 23:29:41 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * predict.c (predict_insn, predict_edge): New static functions.
+       (estimate_probability): Revamp to use new functions;
+       fix loop header heruistics; add loop exist heruistics
+
 2001-06-09  Alexandre Oliva  <aoliva@redhat.com>
 
        * config.gcc: Re-enable bi-arch sparc on Solaris 7 and above.