OSDN Git Service

* config/alpha/osf5.h (TARGET_LD_BUGGY_LDGP): New.
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 3ae51dd..6d8b7ab 100644 (file)
@@ -1,3 +1,380 @@
+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.
+
+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.