OSDN Git Service

* config/alpha/osf5.h (ASM_OLDAS_SPEC): Add -c.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 266904d..c7f94da 100644 (file)
@@ -1,3 +1,348 @@
+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.
+
+2001-06-09  Peter Jakubek <pjak@snafu.de>
+
+       * config/m68k/m68k.md (ashrdi_const): Fix right shift by 16.
+
+2001-06-09  John David Anglin  <dave@hiauly1.hia.nrc.ca>
+
+       * vax.h (NOTICE_UPDATE_CC): Set CC_NO_OVERFLOW in cc_status.flags
+       for integer operations that don't update C bit.
+
+2001-06-09  Nicola Pero <nicola@brainstorm.co.uk>
+
+       * gthr-posix.h (__gthread_objc_init_thread_system): If
+       pthread_key_create fails, it's not clear what the return value is.
+       This obvious fix makes sure it always returns -1 if a problem
+       occurs.
+
+2001-06-09  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/gcc.texi: Use @defcodeindex for the index of options.  Add
+       more index entries.  Use more logical markup where appropriate.
+       Use TeX quotes and dashes.
+
+2001-06-09  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * unwind-pe.h: Conditionally qualify references to abort with
+       std::.
+
+2001-06-09  Julian Foad <julian_foad@hotmail.com>
+
+       * doc/invoke.texi: Remove superfluous text.
+
+2001-06-08  Richard Henderson  <rth@redhat.com>
+
+       * config/alpha/linux.h (CPLUSPLUS_CPP_SPEC): New.
+       (LIB_SPEC): Mirror config/linux.h version.
+
+2001-06-08  Richard Henderson  <rth@redhat.com>
+
+       * except.c (get_exception_pointer, get_exception_filter): Take a
+       struct function.  Update all callers.
+       * except.h (get_exception_pointer): Update declaration.
+       * expr.c (expand_expr): Update get_exception_pointer call.
+       * integrate.c (expand_inline_function): Remap the exception pointer
+       from callee to caller.
+
+2001-06-08  Mark Mitchell  <mark@codesourcery.com>
+
+       * c-decl.c (grokdeclarator): Make the TREE_TYPE for declarations
+       accurately reflect its cv-qualification.
+       * c-typeck.c (type_lists_compatible_p): Ignore the top-levl
+       cv-qualifiers on function types.
+
+2001-06-08  Mark Mitchell  <mark@codesourcery.com>
+
+       * basic-block.h: Improve comments.
+       * except.c (expand_eh_region_end_allowed): Remove redundant call
+       to do_pending_stack_adjust.
+       * flow.c (life_analysis): Fix typo in comment.
+       (calculate_global_regs_live): Add documentation.
+       (mark_set_1): Likewise.
+       (debug_regset): Likewise.
+       * doc/rtl.texi (cond_exec): Document it.
+
+Fri Jun  8 21:52:51 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * i386.h (CONST_COSTS): set cost of constants representable in
+       immediate fields to 0.
+
+Fri Jun  8 21:34:54 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * function.c (diddle_return_value): Kill code to determine
+       return value before expand_function_end.
+       (expand_function_end): Delay call to clobber_return_register
+       after fucntion return value is computed.
+
+       Re-install temporary reverted patch:
+       * toplev.c (rest_of_compilation): Call split_all_insns
+       before reg-stack and shorten-branches. Do shorten-branches
+       after reg-stack.
+       * final.c (shorten_branches): Remove insn splitting code.
+
+2001-06-08  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/gcc.texi, doc/invoke.texi: Add index of command line
+       options.  Use @opindex to index them rather than other indexing
+       commands.  Use @var{...} instead of <...>.  Avoid spaces in names
+       inside @var.  Don't use @kindex to index escape sequences in
+       source code.
+
+2001-06-08  Jason Merrill  <jason_merrill@redhat.com>
+
+       * stmt.c (current_nesting_level): New fn.
+       * tree.h: Declare it.
+       * c-semantics.c (genrtl_compound_stmt): Use it.
+
+       * dbxout.c (dbxout_symbol): Use DECL_RTL_SET_P.
+
+2001-06-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * jump.c (mark_modified_reg): Allow jump threading if condition
+       codes are represented by a hard register.
+
+2001-06-08  Jakub Jelinek  <jakub@redhat.com>
+
+       * config/ia64/ia64.c (ia64_function_arg): Use [SDT]Fmode as gr_mode
+       for complex floats passed to unprototyped functions.
+
+2001-06-08  Mark Mitchell  <mark@codesourcery.com>
+
+       * except.c (expand_eh_region_end_allowed): Call
+       do_pending_stack_adjust as necessary.
+
+Fri Jun  8 14:16:33 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * function.c (clobber_return_register): Clobber the pseudo return
+       register too.
+
+       * sibcall.c (skip_unreturned_value): New function.
+       (call_ends_block_p): Use it.
+
+       * recog.c (split_insn): Break out from ...
+       (split_all_insns): ... here; do not use basic block information
+       when it is broken.
+
+Thu Jun  7 18:27:53 CEST 2001  Jan Hubicka  <jh@suse.cz>
+
+       * simplify-rtx.c (simplify_subreg):  Fix verification of
+       combined subreg.
+
+2001-06-08  Rainer Orth  <ro@TechFak.Uni-Bielefeld.DE>
+
+       * config/mips/mips.h (CPP_SPEC): Simplify .s/.S handling.
+       Don't define _LANGUAGE_C and variants for .cpp/.cp/.c++ files.
+       Move definition of _LANGUAGE_C_PLUS_PLUS ...
+       (CPLUSPLUS_CPP_SPEC): ... here.
+       Fixes PRs c++/3047, target/441.
+
+2001-06-08  Gerald Pfeifer  <pfeifer@dbai.tuwien.ac.at>
+
+       * doc/install.texi2html (MAKEINFO): Keep value if set already.
+
+2001-06-08  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/gcc.texi: Add trailing slash to URL.
+
+2001-06-07  Stan Shebs  <shebs@apple.com>
+
+       * config/darwin.h (ENCODE_SECTION_INFO): Define.
+       (REDO_SECTION_INFO_P): Ditto.
+       (STRIP_NAME_ENCODING): Ditto.
+       (ASM_DECLARE_OBJECT_NAME): Use ENCODE_SECTION_INFO.
+       (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Ditto.
+       (ASM_OUTPUT_LABELREF): Use STRIP_NAME_ENCODING.
+       (GEN_LAZY_PTR_NAME_FOR_SYMBOL): Ditto.
+       * config/darwin.c: No longer include c-tree.h.
+       (machopic_classify_ident): Rewrite to use symbol encoding.
+       (lookup_name_darwin): Remove.
+       (machopic_non_lazy_ptr_name): Handle encoded symbols.
+       (machopic_stub_name): Use STRIP_NAME_ENCODING.
+       (machopic_validate_stub_or_non_lazy_ptr): Ditto.
+       (machopic_finish): Ditto, remove test of decl.
+       (update_non_lazy_ptrs): New function.
+       (darwin_encode_section_info): New function.
+       * config/darwin-protos.h: Declare it.
+       * config/rs6000/rs6000.c (machopic_output_stub): Use
+       STRIP_NAME_ENCODING.
+       
+2001-06-07  Mark Mitchell  <mark@codesourcery.com>
+
+       * tree.h (DECL_SOURCE_FILE): Improve documentation.
+       (DECL_SOURCE_LINE): Likewise.
+
+2001-06-07  Loren J. Rittle  <ljrittle@acm.org>
+
+       * config/alpha/elf.h (MAKE_DECL_ONE_ONLY): Copy definition
+       from config/elfos.h.
+
+2001-06-07  Phil Edwards  <pme@sources.redhat.com>
+
+       * linux.h (CPLUSPLUS_CPP_SPEC):  Move -D_GNU_SOURCE to here.
+       * pa/pa-linux.h:  Allow CPLUSPLUS_CPP_SPEC to remain.
+
+2001-06-08  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/contrib.texi: Add copyright notice.
+
+2001-06-08  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * doc/md.texi: Use four digit years in copyright notice.
+
+2001-06-08  Joseph S. Myers  <jsm28@cam.ac.uk>
+
+       * config.gcc: For $target_alias of athlon-*, set
+       target_cpu_default2=5.
+
 Thu Jun  7 16:17:40 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 
        * global.c (build_insn_chain): Allow ADDR_VEC or ADDR_DIF_VEC after
@@ -471,8 +816,9 @@ Sat Jun  2 06:53:50 2001  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
 2001-06-01  DJ Delorie  <dj@redhat.com>
 
        * c-tree.texi, contrib.texi, cpp.texi, cppinternals.texi,
-       extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi, objc.texi,
-       rtl.texi, tm.texi, texinfo.tex: Move to doc subdirectory.
+       extend.texi, fdl.texi, gcov.texi, invoke.texi, md.texi,
+       objc.texi, rtl.texi, tm.texi, texinfo.tex, gcc.1, cpp.1,
+       gcov.1: Move to doc subdirectory.
        * install.texi: Move to doc/install-old.texi.
        * gcc.texi: Move to doc, refer to install-old.texi.
        * Makefile.in: Reflect move of docs to doc/.