OSDN Git Service

* config/elfos.h: Revert my patch from 2005-02-25 since it broke
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 903d625..b5d1314 100644 (file)
@@ -1,3 +1,325 @@
+2005-02-28  Julian Brown  <julian@codesourcery.com>
+
+       * config/elfos.h: Revert my patch from 2005-02-25 since it broke
+       building libjava and caused PR regression/20228.
+
+2005-02-28  Paolo Bonzini  <bonzini@gnu.org>
+
+       PR bootstrap/17383
+       * Makefile.in (host_subdir): New.
+       (build_objdir): New.  Replace ../$(build_subdir) with it throughout.
+       * configure: Regenerate.
+
+2005-02-27  Zack Weinberg  <zack@codesourcery.com>
+
+       * config/alpha/t-osf4, config/arm/t-netbsd, config/ia64/t-hpux
+       * config/pa/t-hpux-shlib (SHLIB_INSTALL): Create the
+       installation directory first.
+
+2005-02-28  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR target/19065.
+       * config/cris/cris.h (EXTRA_CONSTRAINT_Q): Accept only (mem (reg)),
+       not including (reg). Do not check for reg being CRIS_PC_REGNUM.
+       (EXTRA_MEMORY_CONSTRAINT): Define as 'Q'.
+       * config/cris/cris.md: Tweak comments referring to Q.
+       ("cmpsi", "cmphi", "cmpqi", "*movsi_internal", "movhi")
+       ("movstricthi", "movqi", "movstrictqi", "movsf", "addsi3")
+       ("addhi3", "addqi3", "subsi3", "subhi3", "subqi3")
+       ("*expanded_andsi", "*expanded_andhi", "*andhi_lowpart", "andqi3")
+       ("*andqi_lowpart", "iorsi3", "iorhi3", "iorqi3", "uminsi3"):
+       Insert spaces in constraints to align alternatives vertically for
+       readability.
+       ("cmphi"): Ditto.  Add separate alternative for operand 0 "Q>",
+       operand 1: "M".
+
+2005-02-27  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR rtl-optimization/17728
+       * pa.md (mulsi3, divsi3, udivsi3, modsi3): Change predicate for
+       operand 0 from general_operand to move_dest_operand.
+
+2005-02-26  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       * pa/elf.h, pa/som.h (ASM_OUTPUT_EXTERNAL): Use assemble_name_raw
+       instead of trying to save and restore TREE_SYMBOL_REFERENCED.
+       * pa/pa64-hpux.h (ASM_OUTPUT_TYPE_DIRECTIVE): Define.
+       (ASM_OUTPUT_EXTERNAL): Don't save and restore TREE_SYMBOL_REFERENCED.
+
+2005-02-26  Nathanael Nerode  <neroden@gcc.gnu.org>
+
+       * configure.ac: Rename cc_for_cross_gnattools to host_cc_for_libada.
+       * configure: Regenerate.
+       * libada-mk.in: Remove CC; rename
+       cc_for_cross_gnattools / cc_set_by_configure to host_cc_for_libada.
+
+2005-02-26  Andrew Pinski  <pinskia@physics.uc.edu>
+
+       PR tree-opt/20188
+       * tree-ssa-alias.c (count_uses_and_derefs): If we have TREE_LIST
+       for the lhs, also walk over the tree.  Likewise for rhs.
+
+2005-02-26  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       * tree-ssa-dom.c (simple_iv_increment_p): New function.
+       (simplify_rhs_and_lookup_avail_expr, eliminate_redundant_computations):
+       Do not propagate value of iv before increment over the increment.
+
+2005-02-25  Joseph S. Myers  <joseph@codesourcery.com>
+
+       * c-parser.c: New file.
+       * c-parse.in: Remove.
+       * Makefile.in (c-parse.o-warn, c-parse.o, c-parse.c, c-parse.y):
+       Remove.
+       (c-parser.o): Add dependencies.
+       (C_AND_OBJC_OBJC, C_OBJS, gcc.srcextra, GTFILES, distclean,
+       maintainer-clean, TAGS): Update.
+       * c-config-lang.in (gtfiles): Update.
+       * gengtype-lex.l: Don't handle "@@".
+       * stub-objc.c (objc_get_class_ivars, objc_build_throw_stmt,
+       objc_build_synchronized, objc_begin_try_stmt,
+       objc_begin_catch_clause, objc_finish_catch_clause,
+       objc_build_finally_clause, objc_finish_try_stmt): New.
+       * c-tree.h (struct c_declspecs): Add declspecs_seen_p and
+       type_seen_p.
+       (c_parse_init): Update comment.
+       * c-decl.c (c_init_decl_processing): Update comment.
+       (build_null_declspecs, declspecs_add_qual, declspecs_add_type,
+       declspecs_add_scspec, declspecs_add_attrs): Initialize and update
+       new c_declspecs members.
+
+2005-02-25  Julian Brown  <julian@codesourcery.com>
+
+       * config/elfos.h (MAKE_DECL_ONE_ONLY): Redefined to stop DECL_WEAK
+       from being used for symbols with vague linkage when
+       HAVE_GAS_COMDAT_GROUP is true.
+
+2005-02-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * doc/include/gcc-common.texi (version-GCC): Update to 4.1.
+
+2005-02-25  Steve Ellcey  <sje@cup.hp.com>
+
+       PR target/19930
+       * doc/tm.texi (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Document.
+       (LIBGCC2_HAS_DF_MODE): New.
+       (LIBGCC2_HAS_XF_MODE): New.
+       (LIBGCC2_HAS_TF_MODE): New.
+       * libgcc2.h (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE.
+       (LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE.
+       * libgcc2.c (LIBGCC2_HAS_XF_MODE): New name for HAVE_XFMODE.
+       (LIBGCC2_HAS_TF_MODE): New name for HAVE_TFMODE.
+       (LIBGCC2_HAS_DF_MODE): New name for HAVE_DFMODE.
+       * config/ia64/t-ia64 (LIB1ASMFUNCS): Remove __compat
+       and add _fixtfdi, _fixunstfdi, _floatditf
+       * lib1funcs.asm: Remove L__compat. Add L_fixtfdi,
+       L_fixunstfdi, L_floatditf.
+       * config/ia64/hpux.h (LIBGCC2_HAS_XF_MODE): Define.
+       (LIBGCC2_HAS_TF_MODE): Define.
+
+2005-02-25  Diego Novillo  <dnovillo@redhat.com>
+
+       PR tree-optimization/20204
+       * tree-into-ssa.c (insert_phi_nodes_for): Do not use
+       REWRITE_THIS_STMT markers on PHI nodes.
+       (rewrite_initialize_block): Likewise.
+
+2005-02-25  Mark Mitchell  <mark@codesourcery.com>
+
+       * version.c (version_string): Update to 4.1.
+
+2005-02-25  Paolo Carlini  <pcarlini@suse.de>
+
+       * doc/extend.texi (5.24 Declaring Attributes of Functions)<noreturn>:
+       Clarify that the alternative way doesn't work in GNU C++.
+
+2005-02-25  Zdenek Dvorak  <dvorakz@suse.cz>
+
+       PR tree-optimization/19937
+       * tree-ssa-loop-ivopts.c (rewrite_use_compare): Cast the final value
+       to the type of the induction variable.
+
+2005-02-25  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR rtl-optimization/20117
+       * bb-reorder.c (duplicate_computed_gotos): Don't duplicate
+       the block including noncopyable insn.
+
+2005-02-24  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cse.c (delete_trivially_dead_insns): Speed up by minimizing
+       calls to find_reg_note.
+
+2005-02-24  Richard Henderson  <rth@redhat.com>
+
+       PR tree-opt/20127
+       * tree-sra.c (instantiate_element): Copy TREE_THIS_VOLATILE from
+       the type.
+
+2005-02-24  Fariborz Jahanian <fjahanian@apple.com>
+
+       * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Check for
+       vector types if to use base reg for misaligned non-word ld/std.
+
+2005-02-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR target/14619
+       * config/cris/cris.c (cris_target_asm_function_prologue): Create
+       dwarf2 label manually and put it after, not before the prologue.
+
+2005-02-24  David Edelsohn  <edelsohn@gnu.org>
+
+       PR target/19019
+       * reload.c (operands_match_p): Only increment register number for
+       SCALAR_INT_MODE_P modes in multiple hard registers.
+
+       * config/rs6000/rs6000.md (trunctfdf2): Remove register constraints.
+       Fix formatting.
+
+2005-02-24  Volker Reichelt  <reichelt@igpm.rwth-aachen.de>
+
+       * ChangeLog.5: Fix log message typo(s).
+       * ChangeLog.7: Likewise.
+       * ChangeLog.tree-ssa: Likewise.
+       * cfgexpand.c: Fix comment typo(s).
+       * conflict.c: Likewise.
+       * defaults.h: Likewise.
+       * dwarf2out.c: Likewise.
+       * gcse.c: Likewise.
+       * ggc-page.c: Likewise.
+       * tree-eh.c: Likewise.
+       * tree-ssa-dom.c: Likewise.
+
+2005-02-24  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/19019
+       * mklibgcc.in: Pass -DSHARED when compiling all *_s${objext} objects.
+       * config/rs6000/darwin-ldouble.c: Only use the .symver directives
+       if SHARED is defined.
+
+       PR target/20196
+       * config/rs6000/rs6000.md (LTU, GTU sCC splitters): Add earlyclobber,
+       allow splitting only if operands 0 and 3 don't overlap.
+
+2005-02-24  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/19953
+       * builtins.c (fold_builtin_complex_mul, fold_builtin_complex_div): New.
+       (fold_builtin_1): Call them.
+       * fold-const.c (fold_complex_mult_parts): Split out from ...
+       (fold_complex_mult): ... here.  Fix typo in both imaginary case.
+       (fold_complex_div_parts, fold_complex_div): New.
+       (fold): Use them.
+       * tree.h (fold_complex_mult_parts, fold_complex_div_parts): Declare.
+
+2005-02-24  Richard Kenner  <kenner@vlsi1.ultra.nyu.edu>
+
+       * tree-ssa-ccp.c (visit_assignment): Verify that result of
+       VIEW_CONVERT_EXPR is_gimple_min_invariant.
+
+       * print-tree.c (print_node_brief): Print LABEL_DECL_UID.
+       (print_node): Likewise.
+       Print TYPE_SIZES_GIMPLIFIED.
+
+2005-02-24  Hans-Peter Nilsson  <hp@axis.com>
+
+       * config/cris/cris.md ("umulhisi3", "umulqihi3", "mulsi3")
+       ("mulqihi3", "mulhisi3", "mulsidi3", "umulsidi3"): Mark input
+       operands as commutative in constraints.
+
+2005-02-24  Diego Novillo  <dnovillo@redhat.com>
+
+       * tree-into-ssa.c: Re-organize internal functions.
+
+2005-02-24  Richard Henderson  <rth@redhat.com>
+
+       PR middle-end/18902
+       * c-opts.c (c_common_post_options): Set flag_complex_method to 2
+       for c99.
+       * common.opt (fcx-limited-range): New.
+       * opts.c (set_fast_math_flags): Set flag_cx_limited_range.
+       * toplev.c (flag_complex_method): Initialize to 1.
+       (process_options): Set flag_complex_method to 0 if
+       flag_cx_limited_range.
+       * doc/invoke.texi (-fcx-limited-range): New.
+
+2005-02-24  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * cse.c (delete_trivially_dead_insns): Speed up by using
+       NEXT_INSN and PREV_INSN directly instead of next_real_insn and
+       prev_real_insn.
+
+2005-02-24  Andrea Tarani  <andrea.tarani@gilbarco.com>
+
+       * config/m68k/m68k.c (m68k_save_reg): Also save A5 for non-leaf
+       functions when -mid-shared-library is being used.
+
+2005-02-23  Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * doc/tm.texi (LINK_LIBGCC_SPECIAL): Remove.
+       (LINK_LIBGCC_SPECIAL_1): Don't mention it.
+       * gcc.c: Don't check for LINK_LIBGCC_SPECIAL.
+       * system.h: Poison LINK_LIBGCC_SPECIAL.
+
+2005-02-23  James E Wilson  <wilson@specifixinc.com>
+
+       * gengtype.c (note_insn_name): Make 1 element larger.
+
+2005-02-23  Roger Sayle  <roger@eyesopen.com>
+
+       PR target/20018
+       PR rtl-optimization/20097
+       * simplify-rtx.c (simplify_relational_operation_1): Avoid creating
+       BImode SUBREGs of SImode registers which confuse the ia64 backend.
+
+2005-02-23  David Edelsohn  <edelsohn@gnu.org>
+
+       * t-aix43 (SHLIB_INSTALL): Create directory for shared library.
+       * t-aix52 (SHLIB_INSTALL): Same.
+
+2005-02-23  Kazu Hirata  <kazu@cs.umass.edu>
+
+       * genpreds.c: Update copyright.
+
+2005-02-23  Michael Beach  <michaelb@ieee.org>
+
+       PR target/20159
+       * config/sparc/t-elf (startup files): Assemble with CPP.
+
+2005-02-23  Paolo Bonzini  <bonzini@gnu.org>
+
+       * genpreds.c (mark_mode_tests): Handle non-VOIDmode match_operands.
+       (write_predicate_expr): Likewise.
+
+2005-02-22  Diego Novillo  <dnovillo@redhat.com>
+
+       PR tree-optimization/20100
+       PR tree-optimization/20115
+       * tree-optimize.c (init_tree_optimization_passes): Remove
+       pass_maybe_create_global_var.
+       * tree-pass.h (pass_maybe_create_global_var): Remove.
+       * tree-ssa-alias.c (aliases_computed_p): Declare.
+       (struct alias_info): Add field NUM_PURE_CONST_CALLS_FOUND.
+       (count_calls_and_maybe_create_global_var): Remove.
+       (pass_maybe_create_global_var): Remove.
+       (init_alias_info): Do not declare aliases_computed_p.
+       (maybe_create_global_var): If the function contains no
+       call-clobbered variables and a mix of pure/const and regular
+       function calls, create .GLOBAL_VAR.
+       Mark all call-clobbered variables for renaming.
+       (merge_pointed_to_info): Update comment.
+       (add_pointed_to_var): Likewise.
+       (is_escape_site): Likewise.
+       Accept struct alias_info * instead of size_t *.
+       Update all users.
+       Update AI->NUM_CALLS_FOUND and AI->NUM_PURE_CONST_CALLS_FOUND
+       as necessary.
+       * tree-ssa-operands.c (get_call_expr_operands): If
+       ALIASES_COMPUTED_P is false, do not add call-clobbering
+       operands.
+       * tree-ssa.c (init_tree_ssa): Set ALIASES_COMPUTED_P to false.
+       (delete_tree_ssa): Likewise.
+
 2005-02-22  James E Wilson  <wilson@specifixinc.com>
 
        * toplev.c (backend_init): Don't call init_adjust_machine_modes here.
 2005-02-22  Devang Patel  <dpatel@apple.com>
 
        PR 19952
-       * tree-if-conv.c (process_phi_nodes): Use bsi_after_labels and skip 
+       * tree-if-conv.c (process_phi_nodes): Use bsi_after_labels and skip
        all labels
-       
+
 2005-02-22  David Edelsohn  <edelsohn@gnu.org>
 
        * config/rs6000/aix.h (WINT_TYPE): Define.
        numbering at LAST_VIRTUAL_REGISTER+1 to avoid possibly using hard
        registers in unsupported ways.
        * expmed.c (init_expmed): Likewise.
-       
+
 2005-02-21  Stan Cox  <scox@redhat.com>
 
        * config/iq2000/iq2000.h (DWARF_FRAME_RETURN_COLUMN): Change to 31.