OSDN Git Service

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