OSDN Git Service

* PR middle-end/32693
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index da1fd40..d9bcac0 100644 (file)
@@ -1,3 +1,174 @@
+2010-03-03  Jeff Law  <law@redhat.com>
+
+       * PR middle-end/32693
+       * expmed.c (store_bit_field_1): Use gen_lowpart_SUBREG rather
+       than gen_rtx_SUBREG.
+       (extract_bit_field_1): Likewise.
+
+2010-03-03  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/sourcebuild.texi (Test directives): Document that arguments
+       include-opts and exclude-opts are now optional for dg-skip-if,
+       dg-xfail-if, dg-xfail-run-if, and dg-shouldfail.
+
+2010-03-03  Jason Merrill  <jason@redhat.com>
+
+       PR c++/12909
+       * cgraph.h (varpool_node): Add extra_name field.
+       * varpool.c (varpool_extra_name_alias): New.
+       (varpool_assemble_decl): Emit extra name aliases.
+       (varpool_mark_needed_node): Look past an extra name alias.
+       * lto-streamer.h (LTO_tags): Add LTO_var_decl_alias.
+       * lto-streamer-in.c (lto_input_tree): Read it.
+       * lto-streamer-out.c (output_unreferenced_globals): Write it.
+
+2010-03-03  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config.gcc (sparc64-*-solaris2*, sparc-*-solaris2*): Merge into...
+       (sparc*-*-solaris2*): ...this.
+
+2010-03-03  Jakub Jelinek  <jakub@redhat.com>
+
+       PR debug/43229
+       * cfgexpand.c (expand_debug_expr): Handle DOT_PROD_EXPR,
+       WIDEN_MULT_EXPR and WIDEN_SUM_EXPR.  Return NULL without
+       ICE for vector expressions, ADDR_SPACE_CONVERT_EXPR,
+       FIXED_CONVERT_EXPR, OBJ_TYPE_REF and WITH_SIZE_EXPR.
+
+       PR debug/43237
+       * dwarf2out.c (add_bound_info): If a decl bound doesn't have decl_die,
+       fallthrough to default handling, just with want_address 0 instead of 2.
+       For single element lists, add_AT_loc directly, otherwise create an
+       artificial variable DIE and stick location list to it.
+
+       PR debug/43177
+       * var-tracking.c (loc_cmp): Don't assert VALUEs have the same mode.
+       (VAL_EXPR_HAS_REVERSE): Define.
+       (reverse_op): New function.
+       (add_stores): For reversible operations add an extra MO_VAL_USE.
+
+2010-03-02  Jason Merrill  <jason@redhat.com>
+
+       * c-pretty-print.c (pp_c_specifier_qualifier_list): Print vector size.
+
+2010-03-02  Eric Botcazou  <ebotcazou@adacore.com>
+
+       * config.gcc (sparc-*-linux*): Do not include sparc/gas.h.
+       (sparc64-*-linux*): Likewise.
+       (sparc64-*-solaris2*): Include assembler files before linker ones.
+       (sparc-*-solaris2*): Simplify and reorder to match previous case.
+       * config/sparc/gas.h: Delete.
+       * config/sparc/sol2-64.h: Add copyright notice.
+       * config/sparc/sol2-gas-bi.h: Likewise.
+       * config/sparc/sol2-gld.h: Likewise.
+       * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Delete.
+       * config/sparc/sol2.h (TARGET_ASM_NAMED_SECTION): Redefine.
+       * config/sparc/sol2-gas.h (TARGET_ASM_NAMED_SECTION): Likewise.
+       * config/sparc/sparc.c (TARGET_ASM_ALIGNED_SI_OP): Never redefine.
+       (sparc_elf_asm_named_section): Rename into...
+       (sparc_solaris_elf_asm_named_section): ...this.  Always define.
+
+2010-03-02  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/alpha/alpha.c (override_options): Fix -mtune error message.
+
+2010-03-02  Jeff Law  <law@redhat.com>
+
+       PR middle-end/42431
+       * reload1.c (rtx_p, substitute_stack): Declare.
+       (substitute): Record addresses of changed rtxs.
+       (gen_reload_chain_without_interm_reg_p): Don't use copy_rtx anymore.
+       Restore the original rtx when complete.
+       (reload): Free subsitute_stack when complete.
+
+2010-03-02  Janis Johnson  <janis187@us.ibm.com>
+
+       * doc/gccint.texi (menu): Add Testsuites as a chapter.
+       * doc/sourcebuild.texi (Testsuites): Move up a level to be a
+       new chapter.
+       (Test Idioms, Test Directives, Ada Tests, C Tests, libgcj Tests,
+       LTO Testing, gcov Testing, profopt Testing, compat Testing,
+       Torture Tests): Change from subsection to section.
+
+2010-03-02  Jakub Jelinek  <jakub@redhat.com>
+           Steven Bosscher  <steven@gcc.gnu.org>
+
+       * var-tracking.c (vt_initialize): Scan insns in ebb chunks
+       instead of bb.
+
+2010-03-02  Reza Yazdani  <reza.yazdani@amd.com>
+
+       PR middle-end/42640
+       * tree-loop-distribution.c (update_phis_for_loop_copy): Replaced
+       the assignment from the new induction variable to the assignment
+       of the value from the original loop PHI function.
+
+2010-03-01  Janis Johnson  <janis187@us.ibm.com>
+           Daniel Jacobowitz  <dan@codesourcery.com>
+
+       * doc/sourcebuild.texi (Test directives): Clarify options to
+       dg-skip-if.
+
+2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac (gcc_cv_as_cfi_directive) [i?86-*-solaris*]:
+       Disable cfi directives unless GCC and gas agree on using read-only
+       .eh_frame sections for 64-bit.
+       * configure: Regenerate.
+
+2010-03-01  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/43220
+       * tree-ssa-ccp.c (optimize_stack_restore): Do not optimize
+       BUILT_IN_STACK_{SAVE,RESTORE} around alloca.
+
+2010-03-01  Richard Guenther  <rguenther@suse.de>
+           Martin Jambor  <mjambor@suse.cz>
+
+       PR middle-end/41250
+       * gimplify.c (gimplify_body): Unset DECL_HAS_VALUE_EXPR_P on
+       gimplified parameters.
+
+2010-03-01  Christian Bruel  <christian.bruel@st.com>
+
+       * except.c (dw2_build_landing_pads): set LABEL_PRESERVE_P.
+
+2010-03-01  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/i386/linux64.h (ASM_SPEC): Use SPEC_32 and SPEC_64.
+
+2010-03-01  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/43213
+       * expr.c (expand_assignment): Use the alias-oracle to tell
+       if the rhs aliases the result decl.
+
+2010-03-01  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       PR pch/14940
+       * config/host-solaris.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Redefine
+       to sol_gt_pch_get_address.
+       (TRY_EMPTY_VM_SPACE): Define for all combinations of 32 and
+       64-bit, SPARC and x86.
+       (sol_gt_pch_get_address): New function.
+
+2010-03-01  Marco Poletti  <poletti.marco@gmail.com>
+
+       * toplev.h (inform_n, error_n): Declare.
+       * diagnostic.c (inform_n, error_n): New function.
+
+2010-03-01  Jakub Jelinek  <jakub@redhat.com>
+
+       * cfgexpand.c (expand_used_vars): If an artificial non-ignored var
+       has no rtl yet when processing local_decls, queue it and recheck
+       if deferred stack allocation hasn't assigned it rtl.
+
+2010-02-28  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       * config/sh/sh.c (unspec_bbr_uid): New.
+       (gen_block_redirect): Use it instead of INSN_UID.
+       (gen_far_branch): Likewise.
+
 2010-02-28  H.J. Lu  <hongjiu.lu@intel.com>
 
        * config/i386/darwin.h (TARGET_SUBTARGET32_ISA_DEFAULT): Make
        * doc/standards.texi: Likewise.
        * doc/extend.texi: Likewise.
        * doc/trouble.texi: Likewise.
-       * doc/cppopts.texi: Likewise. 
+       * doc/cppopts.texi: Likewise.
        * doc/install.texi: Likewise.
        * c.opt (std=c90,std=gnu90): New options.
        * c-opts.c (c_common_handle_option): Handle them.
 
        PR target/43175
        * config/i386/i386.c (expand_vec_perm_blend): Use correct
-       operands in V8HImode subregs.  Fix operand order in VEC_MERGE
-       rtx.
+       operands in V8HImode subregs.  Fix operand order in VEC_MERGE rtx.
 
 2010-02-26  Jan Kratochvil  <jan.kratochvil@redhat.com>
 
        * optc-gen.awk: Handle -ftemplate-depth=.
        * opth-gen.awk: Likewise.
        * c-opts.c (c_common_handle_option): Likewise.
-       * doc/invoke.texi (-ftemplate-depth-): Replace with
-       -ftemplate-depth=.
+       * doc/invoke.texi (-ftemplate-depth-): Replace with -ftemplate-depth=.
 
 2010-02-24  Jason Merrill  <jason@redhat.com>
 
        (movdi_pic_gotdata_op): Likewise.
        * config/sparc/sparc.c (legitimize_pic_address): If flag_pic is 2,
        emit gen_mov{si,di}_pic_gotdata_op for the GOT slot load.
-       
+
 2010-02-20  Uros Bizjak  <ubizjak@gmail.com>
 
        PR target/43067
 2010-02-03  Alexandre Oliva  <aoliva@redhat.com>
 
        PR debug/42896
-       * cselib.h (struct cselib_val_struct): Add uid.  Rename value to
-       hash.
+       * cselib.h (struct cselib_val_struct): Add uid.  Rename value to hash.
        (cselib_reset_table): Renamed from...
        (cselib_reset_table_with_next_value): ... this.
        (cselib_get_next_uid): Renamed from...