OSDN Git Service

PR target/34393
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 4ad2970..6351ce2 100644 (file)
@@ -1,3 +1,697 @@
+2008-02-14  Alan Modra  <amodra@bigpond.net.au>
+
+       PR target/34393
+       * config/rs6000/rs6000.md (restore_stack_block): Force operands[1]
+       to a reg.
+
+2008-02-14  Jesper Nilsson  <jesper.nilsson@axis.com>
+
+       * doc/md.texi (clz, ctz): Add reference.
+       * doc/rtl.texi (clz, ctz): Likewise.
+
+2008-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/35148
+       * Makefile.in (gcc-vers.texi): Use abs_srcdir for the value of
+       srcdir.
+
+2008-02-13  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.c (struct constant_pool): New field
+       emit_pool_after added.
+       (s390_mainpool_start): Set the emit_pool_after flag according
+       to the section switch notes.
+       (s390_mainpool_finish): Consider emit_pool_after when emitting
+       the literal pool at the end of the function.
+       (s390_chunkify_start): Force literal pool splits at section
+       switch notes.
+
+2008-02-13  Michael Matz  <matz@suse.de>
+
+       PR debug/35065
+       * var-tracking.c (clobber_variable_part): Correctly traverse the
+       list.
+
+2008-02-13  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       PR 29673
+       * doc/invoke.texi (Debugging Options): Remove -fdump-tree-inlined.
+       Add -fdump-ipa-inline.
+       * tree-dump.c (dump_files): Remove tree-inlined dump.
+       * tree-pass.h (tree_dump_index): Remove TDI_inlined.
+       
+2008-02-12  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/35171
+       * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Deal with
+       default defs.
+
+2008-02-12  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/35163
+       * fold-const.c (fold_widened_comparison): Use get_unwidened in
+       value-preserving mode.  Disallow final truncation.
+
+2008-02-12  Eric Botcazou  <ebotcazou@adacore.com>
+
+       PR middle-end/35136
+       * gimplify.c (force_gimple_operand_bsi): Move SSA renaming
+       code from here to...
+       (force_gimple_operand): ...here.
+
+2008-02-12  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/35144
+       * tree-sra.c (sra_build_assignment): fold_convert SRC if copying
+       non-compatible pointers.
+       (generate_element_copy): If SRC and DST are RECORD_TYPEs with
+       different FIELD_DECLs, try harder by comparing field offsets, sizes
+       and types.
+
+       PR inline-asm/35160
+       * function.c (match_asm_constraints_1): Don't replace the same input
+       multiple times.
+
+2008-02-12  Anatoly Sokolov <aesok@post.ru>
+
+       * config/avr/avr.h (AVR_HAVE_RAMPZ): Define.
+       * config/avr/avr.c (expand_prologue): Save RAMPZ register.
+       (expand_epilogue): Restore RAMPZ register.
+       * config/avr/avr.md (RAMPZ_ADDR): New constant.
+
+2008-02-11  Kai Tietz  <kai.tietz@onevision.com>
+
+       * config/i386/cygwin.asm: (__alloca): Correct calling
+       convention and alignment.
+       (__chkstk): Force 8 byte stack alignment.
+
+2008-02-11  Uros Bizjak  <ubizjak@gmail.com>
+           Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/33992
+       * tree-ssa-loop-im.c (rewrite_bittest): Fixup the type of
+       the zero we compare against.
+
+2008-02-10  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       PR libfortran/35063
+       * gthr-win32.h (__gthread_mutex_destroy_function): New function
+       to CloseHandle after unlocking to prevent accumulation of handle
+       count.
+
+2008-02-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
+
+       PR middle_end/34150
+       * pa.c (legitimize_pic_address): Add REG_EQUAL note on sets with a
+       pic_label_operand source.  Similarly, add a REG_LABEL_OPERAND note
+       and update LABEL_NUSES during and after reload.
+
+2008-02-08  Steven Bosscher  <stevenb.gcc@gmail.com>
+
+       PR middle-end/34627
+       * combine.c (simplify_if_then_else): Make sure the comparison is
+       against const0_rtx when simplifying to (abs x) or (neg (abs X)).
+
+2008-02-08  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       PR bootstrap/35051
+       * double-int.h: Don't include gmp.h for GENERATOR_FILEs.
+       (mpz_set_double_int, mpz_get_double_int): Hide from GENERATOR_FILEs.
+       * real.h: Don't include gmp.h or mpfr.h for GENERATOR_FILEs.
+       (real_from_mpfr, mpfr_from_real): Hide from GENERATOR_FILEs.
+       * tree.h (get_type_static_bounds): Likewise.
+
+2008-02-08  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       * doc/invoke.texi (Option Summary, C++ Dialect Options)
+       (Objective-C and Objective-C++ Dialect Options, Warning Options):
+       Make -Wfoo language annotations match what the compiler outputs.
+
+2008-02-08  Sa Liu  <saliu@de.ibm.com>
+
+       * config/spu/spu-builtins.def: Fixed wrong parameter type in spu 
+       intrinsics spu_convts, spu_convtu, spu_convtf.
+       * testsuite/gcc.target/spu/intrinsics-3.c: New. Test error messages.
+
+2008-02-08  Hans-Peter Nilsson  <hp@axis.com>
+
+       * doc/extend.texi (Function Attributes) <noinline>: Mention
+       asm ("") as method to keep calls.
+
+2008-02-07  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       PR other/32754
+       * doc/options.texi (Options): Replace references to opts.sh with
+       optc-gen.awk.
+       * opts-common.c: Likewise.
+       * optc-gen.awk: Likewise.
+       
+2008-02-07  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/s390.h (FUNCTION_ARG_REGNO_P): Fix fprs for 64 bit.
+
+2008-02-07  Richard Henderson  <rth@redhat.com>
+
+       PR rtl-opt/33410
+       * config/alpha/alpha.c (alpha_emit_xfloating_compare): Use an
+       EXPR_LIST for the REG_EQUAL instead of a comparison with a 
+       funny mode.
+
+2008-02-07  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR tree-optimization/35085
+       * tree-ssa-reassoc.c (rewrite_expr_tree): Enable destructive update
+       for operand entry oe2 in addition to operand entry oe3 in order to
+       expose more opportunities for vectorizer sum reduction.
+
+2008-02-06  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       PR other/35107
+       * Makefile.in (LIBS): Remove $(GMPLIBS).
+       (cc1-dummy, cc1): Add $(GMPLIBS).
+
+2008-02-06  Jan Hubicka  <jh@suse.cz>
+
+       PR target/23322
+       * i386.md (moddf_integer): Do not produce partial memory stalls for
+       targets where it hurts.
+
+2008-02-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/35083
+       * optabs.c (expand_float): Do not check for decimal modes when
+       expanding unsigned integer through signed conversion.
+
+2008-02-06  Nick Clifton  <nickc@redhat.com>
+
+       * config/stormy16/stormy16.md (eqbranchsi): Replace a match_dup
+       inside the clobber with a match_operand and duplicated operand
+       number in the constraint.
+       (ineqbranchsi): Delete redundant comment.
+
+2008-02-06  Ralf Corsepius  <ralf.corsepius@rtems.org>
+
+       * config/arm/rtems-elf.h (TARGET_OS_CPP_BUILTINS): Add 
+       builtin_define ("__USE_INIT_FINI__").
+       * config/h8300/t-rtems (MULTILIB_OPTION,MULTILIB_DIRNAMES): Add
+       -msx multilibs.
+       * gthr-rtems.h: Remove __GTHREAD_MUTEX_INIT.
+
+2008-02-06  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR documentation/30330
+       * doc/invoke.texi (C++ Dialect Options)
+       (Objective-C and Objective-C++ Dialect Options, Warning Options):
+       For each warning option -Wfoo that allows -Wno-foo, ensure both
+       -Wfoo and -Wno-foo are listed in the option index.  Fix index
+       entry of -Wswitch-default, index -Wnormalized= including the
+       `=', and -Wlarger-than-@var{len} including @var{len}.
+
+2008-02-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (floatunssisf2): Use
+       ix86_expand_convert_uns_sisf_sse also for TARGET_SSE.
+       (floatunssi<mode>2): Rename from floatunssisf2 and floatunssidf2.
+       Macroize expander using MODEF mode iterator.
+
+2008-02-05  Diego Novillo  <dnovillo@google.com>
+
+       http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00140.html
+
+       PR 33738
+       * tree-vrp.c (vrp_evaluate_conditional): Revert fix for PR 33738.
+
+2008-02-05  Kaveh R. Ghazi  <ghazi@caip.rutgers.edu>
+
+       PR other/35070
+       * toplev.c (print_version): Honor `indent' for GMP/MPFR warnings.
+
+2008-02-05  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/35084
+       * config/i386/i386.c (ix86_function_sseregparm): Add an arg
+       to indicate if a message should be generated.
+       (init_cumulative_args): Updated.
+       (function_value_32): Likewise.
+
+2008-02-05  Joseph Myers  <joseph@codesourcery.com>
+
+       * doc/include/texinfo.tex: Update to version 2008-02-04.16.
+
+2008-02-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/35083
+       * config/i386/i386.md (floatunsisf2): Enable for TARGET_SSE_MATH only.
+       Call ix86_expand_convert_uns_sisf_sse for TARGET_SSE2.
+
+2008-02-04  Diego Novillo  <dnovillo@google.com>
+
+       http://gcc.gnu.org/ml/gcc-patches/2008-02/msg00110.html
+
+       PR 33738
+       * tree-vrp.c (vrp_evaluate_conditional): With
+       -Wtype-limits, emit a warning when comparing against a
+       constant outside the natural range of OP0's type.
+
+2008-02-04  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/33631
+       * expr.c (count_type_elements): Give for unions instead of
+       guessing.
+
+2008-02-04  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/35043
+       * gimplify.c (gimplify_init_ctor_eval): Convert array indices
+       to TYPE_DOMAINs base type instead of using bitsizetype here.
+
+2008-02-03  Jason Merrill  <jason@redhat.com>
+
+       * print-tree.c (print_node) [CONSTRUCTOR]: Print elements.
+
+2008-02-04  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
+
+       PR other/29972
+       * doc/invoke.texi (C++ Dialect Options, Optimize Options)
+       (HPPA Options, i386 and x86-64 Options, IA-64 Options)
+       (RS/6000 and PowerPC Options): Fix typos and markup.
+       * doc/passes.texi (Tree-SSA passes): Likewise.
+
+2008-02-02  Michael Matz  <matz@suse.de>
+
+       PR target/35045
+       * postreload-gcse.c (record_last_reg_set_info_regno): Renamed
+       from record_last_reg_set_info.
+       (record_last_reg_set_info): Take an RTX argument, iterate over all
+       constituent hardregs.
+       (record_last_set_info, record_opr_changes): Change calls to
+       new signature or to record_last_reg_set_info_regno.
+
+2008-02-02  Gerald Pfeifer  <gerald@pfeifer.com>
+
+       * doc/extend.texi (X86 Built-in Functions): Fix grammar.
+
+2008-02-01  Hans-Peter Nilsson  <hp@axis.com>
+
+       PR rtl-optimization/34773
+       * reg-notes.def (EQUAL): Mention significance of combination of
+       REG_EQUAL and REG_RETVAL.
+       * fwprop.c (try_fwprop_subst): Don't add REG_EQUAL to an
+       insn that has a REG_RETVAL.
+
+2008-02-01  Roger Sayle  <roger@eyesopen.com>
+
+       PR bootstrap/33781
+       * configure.ac (--enable-fixed-point): Disable unless explicitly
+       requested on IRIX.
+       * configure: Regenerate.
+
+2008-02-01  Richard Guenther  <rguenther@suse.de>
+
+       PR other/35042
+       * invoke.texi (-finline-limit): Remove no longer true parts
+       of the documentation.  Note that there is no default value.
+
+2008-02-01  Andrew Pinski  <pinskia@gmail.com>
+           Mark Mitchell  <mark@codesourcery.com>
+           Ben Elliston  <bje@au.ibm.com>
+
+       PR c/29326
+       * doc/extend.texi (Other Builtins): Document.
+
+2008-01-31  Tom Browder <tom.browder@gmail.com>
+
+       * doc/c-tree.texi (Types): Fix grammar.
+       (Expression trees): Ditto.
+       * doc/passes.texi (Tree-SSA passes): Ditto.
+       
+       * doc/configterms.texi (Configure Terms): Fix typo.
+       * doc/cpp.texi (Common Predefined Macros): Ditto.
+       * doc/md.texi (Machine Constraints): Ditto.
+       
+       * doc/makefile.texi (Makefile): Add comma.
+
+2008-01-31  Tom Browder  <tom.browder@gmail.com>
+           Gerald Pfeifer  <gerald@pfeifer.com>
+       
+       * doc/sourcebuild.texi (Front End): Remove references to CVS
+       and CVSROOT/modules.
+       (Texinfo Manuals): Replace reference to CVS by one to SVN.
+       (Back End): Remove reference to CVS.
+
+2008-01-31  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       PR target/34900
+       * config/mips/mips.c (gen_load_const_gp): New function, taking a
+       comment from...
+       (mips16_gp_pseudo_reg): ...here.
+       * config/mips/mips.md (load_const_gp): Replace with...
+       (load_const_gp_<mode>): ...this :P-based insn.
+
+2008-01-31  Manuel Lopez-Ibanez  <manu@gcc.gnu.org>
+
+       * doc/invoke.texi (-ansi): Mention explicitly corresponding -std=
+       options. Minor fixes.
+       (-std): Move reference to standards closer to where language
+       standards are first mentioned.
+       
+2008-01-31  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       PR rtl-optimization/34995
+       * reload.c (alternative_allows_const_pool_ref): Take an rtx
+       parameter and return a bool.  If the rtx parameter is nonnull,
+       check that it satisfies an EXTRA_MEMORY_CONSTRAINT.
+       (find_reloads): Update call accordingly.  Pass the new operand
+       if it needed no address reloads, otherwise pass null.
+
+2008-01-30  Richard Henderson  <rth@redhat.com>
+
+       PR c/34993
+       * tree.c (build_type_attribute_qual_variant): Skip TYPE_DOMAIN
+       for unbounded arrays.
+
+2008-01-30  Silvius Rus  <rus@google.com>
+
+       * config/i386/xmmintrin.h (_mm_prefetch): Add const to first arg.
+
+2008-01-30  Jan Hubicka  <jh@suse.cz>
+
+       PR target/34982
+       * i386.c (init_cumulative_args): Use real function declaration when
+       calling locally.
+
+2008-01-30  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       PR rtl-optimization/34998
+       * global.c (build_insn_chain): Treat non-subreg_lowpart
+       SUBREGs of pseudos as clobbering all the words covered by the
+       SUBREG, not just all the bytes.
+       * ra-conflict.c (clear_reg_in_live): Likewise.  Take the
+       original df_ref rather than an extract parameter.
+       (global_conflicts): Update call accordingly.
+
+2008-01-30  Andreas Krebbel  <krebbel1@de.ibm.com>
+
+       * config/s390/fixdfdi.h (__fixunstfdi, __fixtfdi): Rearrange
+       the overflow check to make it easier to read.
+       (__fixtfdi): Change the type of the ll member in union
+       long_double to UDItype_x.
+
+2008-01-30  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/34969
+       * cgraph.h (cgraph_update_edges_for_call_stmt): New prototype.
+       * cgraph.c (cgraph_update_edges_for_call_stmt): New function.
+       * tree-inline.c (fold_marked_statements): Call
+       cgraph_update_edges_for_call_stmt if folding a call statement.
+       * cgraphunit.c (verify_cgraph_node): Set cfun to this_cfun for
+       debug_generic_stmt calls, reset it back afterwards.
+
+       PR c/35017
+       * c-decl.c (start_decl): Don't pedwarn about TREE_READONLY
+       static decls.
+       * c-typeck.c (build_external_ref): Don't pedwarn about
+       static vars in current function's scope.
+
+2008-01-29  Joseph Myers  <joseph@codesourcery.com>
+
+       * config.gcc (i[34567]86-*-nto-qnx*): Remove deprecation.
+
+2008-01-29  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       PR c/35002
+       * ipa-struct-reorg.c: Fix spelling.
+       * params.def: Ditto.
+
+2008-01-29  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/35006
+       * tree-inline.h (struct copy_body_data): Add remapping_type_depth
+       field.
+       * tree-inline.c (remap_type): Increment remapping_type_depth
+       around remapping types.
+       (copy_body_r): Only add referenced variables if they are referenced
+       from code, not types.
+
+2008-01-29  Douglas Gregor  <doug.gregor@gmail.com>
+
+       PR c++/34055
+       PR c++/34103
+       PR c++/34219
+       PR c++/34606
+       PR c++/34753
+       PR c++/34754
+       PR c++/34755
+       PR c++/34919
+       PR c++/34961
+       * c-pretty-print.c (pp_c_type_qualifier_list): Don't try to print
+       qualifiers for an ERROR_MARK_NODE or a NULL_TREE.
+
+2008-01-28  Andy Hutchinson   <hutchinsonandy@netscape.net>
+
+       PR target/34412
+       * config/avr/avr.c (expand_prologue): Use correct QI mode frame 
+       pointer for tiny stack.
+
+2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * doc/tree-ssa.texi: Add cindex PHI nodes and improve wording.
+
+2008-01-28  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * config/vx-common.h: Fix typo in comment.
+
+2008-01-28  Ian Lance Taylor  <iant@google.com>
+
+       PR c++/34862
+       PR c++/33407
+       * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
+       coalesce pointers if they have different DECL_NO_TBAA_P values.
+       * tree-ssa-copy.c (may_propagate_copy): Don't propagate copies
+       between variables with different DECL_NO_TBAA_P values.
+
+2008-01-28  Nathan Froyd  <froydnj@codesourcery.com>
+
+       PR 31535
+       * config/rs6000/rs6000.c (small_data_operand): Vectors and floats
+       are not legitimate small data references on SPE targets.
+
+2008-01-28  David Daney  <ddaney@avtrex.com>
+
+       * doc/install.texi (mips-*-*): Recommend binutils 2.18.
+
+2008-01-28  David Daney  <ddaney@avtrex.com>
+
+       * doc/install.texi (--disable-libgcj-bc):  Reword documentation.
+
+2008-01-27  Joseph Myers  <joseph@codesourcery.com>
+
+       * config.gcc (strongarm*-*, ep9312*-*, xscale*-*, parisc*-*,
+       m680[012]0-*, *-*-beos*, *-*-kaos*, *-*-linux*aout*,
+       *-*-linux*libc1*, *-*-solaris2.[0-6], *-*-solaris2.[0-6].*,
+       *-*-sysv*, *-*-windiss*, alpha*-*-unicosmk*, cris-*-aout,
+       hppa1.1-*-pro*, hppa1.1-*-osf*, hppa1.1-*-bsd*,
+       i[34567]86-sequent-ptx4*, i[34567]86-*-nto-qnx*,
+       i[34567]86-*-sco3.2v5*, i[34567]86-*-uwin*, powerpc-*-chorusos*,
+       vax-*-bsd*, vax-*-ultrix*): Mark obsolete.
+
+2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * basic-block.h (condjump_equiv_p): Fix comment.
+
+2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * tree-pretty-print.c (print_generic_decl, print_generic_stmt,
+       print_generic_stmt_indented): Fix comment.
+
+2008-01-27  Bernhard Fischer  <aldot@gcc.gnu.org>
+
+       * configure.ac (__stack_chk_fail): Add detecion for availability
+       of SSP in uClibc by checking if __UCLIBC_HAS_SSP__ is defined.
+       * configure: Regenerate.
+
+2008-01-26  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       PR middle-end/34688
+       * final.c (output_addr_const): Handle TRUNCATE.
+
+2008-01-26  Zdenek Dvorak  <ook@ucw.cz>
+
+       PR target/34711
+       * tree-ssa-loop-ivopts.c (comp_cost): New type.
+       (zero_cost, infinite_cost): New constants.
+       (struct cost_pair): Change type of cost to comp_cost.
+       (struct iv_ca): Change type of cand_use_cost and cost to comp_cost.
+       (new_cost, add_costs, sub_costs, compare_costs, infinite_cost_p):
+       New functions.
+       (set_use_iv_cost, force_expr_to_var_cost, force_var_cost,
+       split_address_cost, ptr_difference_cost, difference_cost,
+       get_computation_cost_at, get_computation_cost,
+       determine_use_iv_cost_generic, determine_use_iv_cost_address,
+       determine_use_iv_cost_condition, determine_use_iv_costs,
+       cheaper_cost_pair, iv_ca_recount_cost, iv_ca_set_no_cp,
+       iv_ca_set_cp, iv_ca_cost, iv_ca_new, iv_ca_dump, iv_ca_extend,
+       iv_ca_narrow, iv_ca_prune, try_improve_iv_set, find_optimal_iv_set):
+       Change type of cost to comp_cost.
+       (determine_iv_cost): Increase cost of non-original ivs, instead
+       of decreasing the cost of original ones.
+       (get_address_cost): Indicate the complexity of the addressing mode 
+       in comp_cost.
+       (try_add_cand_for): Prefer using ivs not specific to some object.
+       * tree-flow.h (force_expr_to_var_cost): Declaration removed.
+
+2008-01-26  Peter Bergner  <bergner@vnet.ibm.com>
+           Janis Johnson  <janis187@us.ibm.com>
+
+       PR target/34814
+       * doc/tm.texi (TARGET_EXPAND_TO_RTL_HOOK): Document.
+       (TARGET_INSTANTIATE_DECLS): Likewise.
+       * target.h (expand_to_rtl_hook): New target hook.
+       (instantiate_decls): Likewise.
+       * function.c (instantiate_decl): Make non-static.  Rename to...
+       (instantiate_decl_rtl): ... this.
+       (instantiate_expr): Use instantiate_decl_rtl.
+       (instantiate_decls_1): Likewise.
+       (instantiate_decls): Likewise.
+       (instantiate_virtual_regs: Call new instantiate_decls taget hook.
+       * function.h (instantiate_decl_rtl): Add prototype.
+       * cfgexpand.c (target.h): New include.
+       (tree_expand_cfg): Call new expand_to_rtl_hook target hook.
+       * target-def.h (TARGET_EXPAND_TO_RTL_HOOK): New define.
+       (TARGET_INSTANTIATE_DECLS): Likewise.
+       (TARGET_INITIALIZER): New target hooks added.
+       * config/rs6000/rs6000-protos.h (rs6000_secondary_memory_needed_rtx):
+       New prototype.
+       * config/rs6000/rs6000.c (tree-flow.h): New include.
+       (machine_function): Add sdmode_stack_slot field.
+       (rs6000_alloc_sdmode_stack_slot): New function.
+       (rs6000_instantiate_decls): Likewise.
+       (rs6000_secondary_memory_needed_rtx): Likewise.
+       (rs6000_check_sdmode): Likewise.
+       (TARGET_EXPAND_TO_RTL_HOOK): Target macro defined.
+       (TARGET_INSTANTIATE_DECLS): Likewise.
+       (rs6000_hard_regno_mode_ok): Allow SDmode.
+       (num_insns_constant): Likewise.  Handle _Decimal32 constants.
+       (rs6000_emit_move): Handle SDmode.
+       (function_arg_advance): Likewise.
+       (function_arg): Likewise.
+       (rs6000_gimplify_va_arg): Likewise.  Add special handling of
+       SDmode var args for 32-bit compiles.
+       (rs6000_secondary_reload_class): Handle SDmode.
+       (rs6000_output_function_epilogue): Likewise.
+       (rs6000_function_value): Simplify if statement.
+       (rs6000_libcall_value): Likewise.
+       * config/rs6000/rs6000.h (SLOW_UNALIGNED_ACCESS): Handle SDmode.
+       (SECONDARY_MEMORY_NEEDED_RTX): Add define.
+       * config/rs6000/dfp.md (movsd): New define_expand and splitter.
+       (movsd_hardfloat): New define_insn.
+       (movsd_softfloat): Likewise.
+       (movsd_store): Likewise.
+       (movsd_load): Likewise.
+       (extendsddd2): Likewise.
+       (extendsdtd2): Likewise.
+       (truncddsd2): Likewise.
+       (movdd_hardfloat64): Fixup comment.
+       (UNSPEC_MOVSD_LOAD): New constant.
+       (UNSPEC_MOVSD_STORE): Likewise.
+
+2008-01-26  Jakub Jelinek  <jakub@redhat.com>
+
+       PR c++/34965
+       * c-pretty-print.c (pp_c_exclusive_or_expression): Handle
+       TRUTH_XOR_EXPR.
+       (pp_c_logical_and_expression): Handle TRUTH_AND_EXPR.
+       (pp_c_logical_or_expression): Handle TRUTH_OR_EXPR.
+       (pp_c_expression): Handle TRUTH_AND_EXPR, TRUTH_OR_EXPR
+       and TRUTH_XOR_EXPR.
+
+2008-01-26  David Edelsohn  <edelsohn@gnu.org>
+
+       PR target/34794
+       * config.gcc: Separate AIX 5.3 from AIX 6.1.
+       * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define
+       __LONGDOUBLE128 too.
+       * config/rs6000/aix61.h: New file.
+
+2008-01-26  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       PR rtl-optimization/34959
+       * optabs.c (expand_unop): In libcall notes, give ffs, clz, ctz,
+       popcount and parity rtxes the same mode as their operand.
+       Truncate or extend the result to the return value's mode
+       if necessary.
+
+2008-01-26  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       PR target/34981
+       * config/mips/mips-protos.h (mips_expand_call): Return an rtx.
+       * config/mips/mips.h (FIRST_PSEUDO_REGISTER): Rename FAKE_CALL_REGNO
+       to GOT_VERSION_REGNUM.
+       (CALL_REALLY_USED_REGISTERS): Set the GOT_VERSION_REGNUM entry to 0.
+       (EPILOGUE_USES): Include GOT_VERSION_REGNUM if TARGET_USE_GOT.
+       * config/mips/mips.c (mips_emit_call_insn): New function.
+       (mips_call_tls_get_addr): Call mips_expand_call directly.
+       (mips16_copy_fpr_return_value): Use mips_emit_call_insn rather than
+       emit_call_insn.
+       (mips16_build_call_stub): Likewise.  Return the call insn or null.
+       (mips_expand_call): Update the call to mips16_build_call_stub
+       accordingly and a remove redundant condition.  Assert that MIPS16
+       stubs do not use lazy binding.  Use mips_emit_call_insn and return
+       the call insn.
+       (mips_extra_live_on_entry): Include GOT_VERSION_REGNUM if
+       TARGET_USE_GOT.
+       (mips_hard_regno_mode_ok_p): Allow SImode for GOT_VERSION_REGNUM.
+       (mips_avoid_hazard): Remove hazard_set handling.
+       * config/mips/mips.md (UNSPEC_EH_RECEIVER): Rename to...
+       (UNSPEC_RESTORE_GP): ...this.
+       (UNSPEC_SET_GOT_VERSION, UNSPEC_UPDATE_GOT_VERSION): New constants.
+       (FAKE_CALL_REGNO): Rename to...
+       (GOT_VERSION_REGNUM): ...this.
+       (type): Add "ghost" value.  Add an associated insn reservation.
+       (hazard_set): Remove.
+       (exception_receiver): Rename to...
+       (restore_gp): ...this and update the unspec identifier accordingly.
+       (exception_receiver, nonlocal_got_receiver): New expanders.
+       (load_call<mode>): Use GOT_VERSION_REGNUM.  Don't set
+       FAKE_CALL_REGNO.  Remove hazard_set attribute.
+       (set_got_version, update_got_version): New patterns.
+
+2008-01-26  Danny Smith  <dannysmith@users.sourceforge.net>
+
+       PR target/34970
+       * config/i386/cygming.h (ASM_OUTPUT_LABELREF): Define.
+
+2008-01-25  Joseph Myers  <joseph@codesourcery.com>
+
+       PR other/31955
+       * doc/install.texi2html: Generate gcc-vers.texi.
+
+2008-01-25  DJ Delorie  <dj@redhat.com>
+
+       * config/m32c/m32c.h (ASM_PREFERRED_EH_DATA_FORMAT): Define.
+
+2008-01-25  Joseph Myers  <joseph@codesourcery.com>
+
+       * config/c4x: Remove directory.
+       * config.gcc (crx-*, mt-*): Mark obsolete.
+       (c4x-*, tic4x-*, c4x-*-rtems*, tic4x-*-rtems*, c4x-*, tic4x-*,
+       h8300-*-rtemscoff*, ns32k-*-netbsdelf*, ns32k-*-netbsd*,
+       sh-*-rtemscoff*): Remove cases.
+       * defaults.h (C4X_FLOAT_FORMAT): Remove.
+       * real.c (encode_c4x_single, decode_c4x_single,
+       encode_c4x_extended, decode_c4x_extended, c4x_single_format,
+       c4x_extended_format): Remove.
+       * real.h (c4x_single_format, c4x_extended_format): Remove.
+       * doc/extend.texi (interrupt, naked): Remove mention of attributes
+       on C4x.
+       (Pragmas): Remove comment about c4x pragmas.
+       * doc/install.texi (c4x): Remove target-specific instructions.
+       * doc/invoke.texi (TMS320C3x/C4x Options): Remove.
+       * doc/md.texi (Machine Constraints): Remove C4x documentation.
+       * doc/tm.texi (MEMBER_TYPE_FORCES_BLK, c_register_pragma): Do not
+       refer to C4x source files as examples.
+       (C4X_FLOAT_FORMAT): Remove documentation.
+
 2008-01-25  Bernd Schmidt  <bernd.schmidt@analog.com>
 
        * config/bfin/bfin.c (override_options): Reorder tests so that
        cold_text_section_used, *cold_text_sections): Move declarations
        before their uses.
 
-2007-01-17  Bob Wilson  <bob.wilson@acm.org>
+2008-01-17  Bob Wilson  <bob.wilson@acm.org>
 
        * config/xtensa/unwind-dw2-xtensa.h (_Unwind_FrameState): Remove pc
        field and add signal_ra.
        * config/xtensa/linux.h (MD_UNWIND_SUPPORT): Define.
        * config/xtensa/linux-unwind.h: New file.
 
-2007-01-18  Bernhard Fischer  <aldot@gcc.gnu.org>
+2008-01-18  Bernhard Fischer  <aldot@gcc.gnu.org>
 
        * modulo-sched.c (get_sched_window): Fix comment typo.
 
        "-pthread" is specified.
        * pa-hpux11.h (LIB_SPEC): Likewise.
 
-2007-01-16  Janis Johnson  <janis187@us.ibm.com>
+2008-01-16  Janis Johnson  <janis187@us.ibm.com>
            Peter Bergner  <bergner@vnet.ibm.com>
 
        PR rtl-optimization/33796