X-Git-Url: http://git.sourceforge.jp/view?p=pf3gnuchains%2Fgcc-fork.git;a=blobdiff_plain;f=gcc%2FChangeLog;h=bff16dc5d19d451faac7a15c3d01889666dfb6b3;hp=fda7e80c4b15be7a69c68ba0ef26349b365bf273;hb=eca87a93f3e4482e01ffcbce86525bbd87dc7993;hpb=11a409a4aa164b9c6186283c616563a8c8ed54ac diff --git a/gcc/ChangeLog b/gcc/ChangeLog index fda7e80c4b1..bff16dc5d19 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,444 @@ +2010-03-24 Rainer Orth + + * configure.ac (i[34567]86-*-*): Handle Solaris 2/x86 TLS support + and Sun as TLS syntax. + (TLS_SECTION_ASM_FLAG) [on_solaris && !gas_flag]: Define. + * configure: Regenerate. + * config.in: Regenerate. + * varasm.c (TLS_SECTION_ASM_FLAG): Define default. + (default_elf_asm_named_section): Use it. + * config/i386/i386.c (output_pic_addr_const): Lowercase @DTPOFF. + (i386_output_dwarf_dtprel): Likewise. + (output_addr_const_extra): Likewise. + (output_pic_addr_const): Lowercase @GOTTPOFF. + (output_addr_const_extra): Likewise. + (output_pic_addr_const): Lowercase @GOTNTPOFF. + (output_addr_const_extra): Likewise. + (output_pic_addr_const): Lowercase @INDNTPOFF. + (output_addr_const_extra): Likewise. + (output_pic_addr_const): Lowercase @NTPOFF. + (output_addr_const_extra): Likewise. + (output_pic_addr_const): Lowercase @TPOFF. + (output_addr_const_extra): Likewise. + * config/i386/i386.md (*tls_global_dynamic_32_gnu): Lowercase + @TLSGD. + (*tls_global_dynamic_64): Likewise. + (*tls_local_dynamic_base_32_gnu): Lowercase @TLSLDM. + (*tls_local_dynamic_base_64): Lowercase @TLSLD. + + * defaults.h (TLS_COMMON_ASM_OP): Provide default. + (ASM_OUTPUT_TLS_COMMON): Use it. + * config/i386/sol2-gas.h (TLS_COMMON_ASM_OP): Undef. + + PR target/38118 + * config.gcc (sparc*-*-solaris2*) [$gas=yes]: Add usegas.h to + tm_file. + * config/sparc/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Move ... + * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): ... here. + * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Redefine. + * config/i386/sol2.h (TARGET_SUN_TLS): Redefine. + (ASM_DECLARE_OBJECT_NAME) [!USE_GAS]: Redefine. + +2010-03-24 Rainer Orth + + * config/i386/i386.c (override_options): Don't accept + -mtls-dialect=sun any longer. + * config/i386/i386.h (TARGET_SUN_TLS): Define as 0. + * config/i386/i386.md (*tls_global_dynamic_32_sun): Remove. + (*tls_local_dynamic_base_32_sun): Likewise. + * config/i386/sol2.h (TARGET_SUN_TLS): Redefine. + +2010-03-24 Jakub Jelinek + + PR debug/43508 + * dwarf2out.c (mem_loc_descriptor): Don't ICE on + VEC_{MERGE,SELECT,CONCAT,DUPLICATE}. + + PR debug/43479 + * ira.c (adjust_cleared_regs): New function. + (update_equiv_regs): Adjust cleared_regs in DEBUG_INSNs. + + PR debug/19192 + PR debug/43479 + * cfgexpand.c (gimple_assign_rhs_to_tree): Also set TREE_BLOCK + from gimple_block. + * expr.c (expand_expr_real): Restore previous + curr_insn_source_location and curr_insn_block after + expand_expr_real_1 call. + (expand_expr_real_1) : Call expand_expr_real + instead of expand_expr_real_1. + +2010-03-23 Vladimir Makarov + + PR rtl-optimization/43413 + * ira-color.c (setup_allocno_available_regs_num): Count prohibited + hard regs too. + +2010-03-22 James E. Wilson + + PR target/43348 + * ia64.md (call_nogp, call_value_nogp, sibcall_nogp, call_gp, + call_value_gp,sibcall_gp): Use 's' constraint not 'i'. + +2010-03-22 H.J. Lu + + * config/i386/i386.c (ix86_target_string): Fix a typo in comments. + Add -mfma. + +2010-03-22 Mike Stump + + PR target/23071 + * config/rs6000/rs6000.c (darwin_rs6000_special_round_type_align): + Don't overly align based upon packed packed fields. + +2010-03-22 Jason Merrill + + * c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]: + Use () rather than [], and move before the element type. + +2010-03-22 Rainer Orth + + * doc/configfiles.texi (Configuration Files): Removed + fixinc/Makefile*, intl/Makefile.*. + * doc/makefile.texi: Fixed markup. + Abstract from version control system used. + (Makefile): Removed obsolete gcc/java/parse.y example. + * doc/sourcebuild.texi: Likewise. + (Top Level): Added config, gnattools, libdecnumber, libgcc, + libgomp, libssp. + Removed fastjar. + (Miscellaneous Docs): Clarify location. + Added COPYING3, COPYING3.LIB. + (Front End Directory): Moved Make-lang.in entry to new + subsubsection. + +2010-03-22 Rainer Orth + + PR target/38085 + * config/i386/i386.c (x86_function_profiler) + [!NO_PROFILE_COUNTERS]: Fix typo. + * config/i386/gmon-sol2.c (_mcleanup) [__x86_64__]: Use call + instead of callq. + +2010-03-22 Janis Johnson + Rainer Orth + + * doc/sourcebuild.texi (Test Directives): Split into six + subsections, with most of the current text in new subsections + Directives, Selectors, and Final Actions. + (Directives): Split list of test directives into multiple + subsubsections. + (Selectors): Describe use and syntax of selectors. + (Effective-Target Keywords): Describe all existing keywords. + (Add Options): Describe features for dg-add-options. + (Require Support): Describe variants of dg-require-support. + (Final Actions): Describe commands to use in dg-final. + +2010-03-22 Michael Matz + + PR middle-end/43475 + * recog.c (validate_replace_rtx_group): Replace also in + REG_EQUAL and REG_EQUIV notes. + +2010-03-22 Richard Guenther + + PR tree-optimization/43390 + * tree-vect-stmts.c (get_vectype_for_scalar_type): Make + sure vector extracts are type correct. + +2010-03-22 Richard Guenther + + PR middle-end/40106 + * builtins.c (expand_builtin_pow): Expand pow (x, 1.5) as + x * sqrt (x) even when optimizing for size if the target + has native support for sqrt. + +2010-03-22 Jakub Jelinek + + * varasm.c (make_decl_rtl_for_debug): Also clear + flag_mudflap for the duration of make_decl_rtl call. + + PR debug/43443 + * var-tracking.c (add_cselib_value_chains): Remove ASM_OPERANDS + locs from preserved VALUEs. + +2010-03-21 John David Anglin + + PR middle-end/42718 + * pa.md (movmemsi): Set align to one if zero. + (movmemdi): Likewise. + +2010-03-21 Richard Earnshaw + + PR target/42321 + * arm.c (arm_output_epilogue): Correctly match VFP pop instructions + with their corresponding prologue pushes. + +2010-03-20 Andrew Pinski + + PR target/43156 + * config/spu/spu.c (spu_expand_prologue): Don't emit NOTE_INSN_DELETED + at the begining or end. + (spu_expand_epilogue): Likewise. + +2010-03-20 Richard Guenther + + PR rtl-optimization/43438 + * combine.c (make_extraction): Properly zero-/sign-extend an + extraction of the low part of a CONST_INT. Also handle + CONST_DOUBLE. + +2010-03-19 Mike Stump + + * config/i386/darwin.h (SUBTARGET32_DEFAULT_CPU): Add. + * config/i386/i386.c (SUBTARGET32_DEFAULT_CPU): Add. + (override_options): Use SUBTARGET32_DEFAULT_CPU. + +2010-03-19 Andrew Pinski + + PR c/43211 + * c-decl.c (grokparms): Set arg_types to NULL_TREE if there was an + error. + +2010-03-19 Bernd Schmidt + + PR rtl-optimization/42258 + * ira-lives.c (check_and_make_def_conflict): Ignore conflict for a + use that may match DEF. + + PR target/40697 + * optabs.c (avoid_expensive_constant): Use rtx_cost to find out + the cost of loading the constant rather than assuming + COSTS_N_INSNS (1). + * config/arm/arm.c (thumb1_rtx_costs) : If the + outer code is AND, do the same tests as the andsi3 expander and + return COSTS_N_INSNS (1) if and is cheap. + + * optabs.c (avoid_expensive_constant): Fix formatting. + +2010-03-19 Michael Matz + + PR c++/43116 + * attribs.c (decl_attributes): When rebuilding a function pointer + type use the same qualifiers as the original pointer type. + +2010-03-19 Martin Jambor + + * doc/gimple.texi (Logical Operators): Describe is_gimple_ip_invariant + and is_gimple_ip_invariant_address. + +2010-03-19 Ramana Radhakrishnan + + Revert + 2009-10-01 Ramana Radhakrishnan + + * config/arm/arm.c (arm_override_options): Turn off + flag_dwarf2_cfi_asm for AAPCS variants. + +2010-03-19 Ramana Radhakrishnan + + PR target/43399 + * config/arm/arm.c (emit_multi_reg_push): Update comments. + Use PRE_MODIFY instead of PRE_DEC. + (emit_sfm): Use PRE_MODIFY instead of PRE_DEC. + (vfp_emit_fstmd): Likewise. + +2010-03-19 Michael Matz + + PR target/43305 + * builtins.c (expand_builtin_interclass_mathfn, + expand_builtin_signbit): Use maybe_emit_unop_insn, emit libcalls + if that fails. + +2010-03-19 Richard Guenther + + PR tree-optimization/43415 + * tree-ssa-pre.c (phi_translate): Split out worker to ... + (phi_translate_1): ... this. + (phi_translate): Move all caching here. Cache all NARY + and REFERENCE translations. + +2010-03-19 David S. Miller + + With help from Eric Botcazou. + * config/sparc/sparc.c: Include dwarf2out.h. + (emit_pic_helper): Delete. + (pic_helper_symbol_name): Delete. + (pic_helper_emitted_p): Delete. + (pic_helper_needed): New. + (USE_HIDDEN_LINKONCE): Define to '1' if HAVE_GAS_HIDDEN else '0'. + (get_pc_thunk_name): New. + (load_pic_register): Remove 'delay_pic_helper' arg. Use + get_thunk_pc_name and ggc_strdup to generate PIC thunk symbol. + Set pic_helper_needed to true. Don't call emit_pic_helper. + (sparc_expand_prologue): Update load_pic_register call. + (sparc_output_mi_thunk): Likewise. + (sparc_file_end): Emit a hidden comdat symbol for the PIC + thunk if possible. Output CFI information as needed. + +2010-03-18 Francois-Xavier Coudert + Jack Howarth + + PR target/36399 + * config/i386/i386.h: Fix ABI on darwin x86-32. + +2010-03-18 Aldy Hernandez + + * tree.h: Declare make_decl_rtl_for_debug. + * varasm.c (make_decl_rtl_for_debug): New. + * dwarf2out.c (rtl_for_decl_location): Call it. + * cfgexpand.c (expand_debug_expr): Call it. + +2010-03-18 Jakub Jelinek + + PR bootstrap/43399 + * var-tracking.c (adjust_mems) : Allow BLKmode + mem_mode. + + PR bootstrap/43403 + * var-tracking.c (vt_init_cfa_base): Do nothing if + cfa_base_rtx would be hard_frame_pointer_rtx or non-fixed + register. + +2010-03-18 Alexandre Oliva + + PR debug/42873 + * var-tracking.c (canonicalize_vars_star): New. + (dataflow_post_merge_adjust): Use it. + +2010-03-18 Jakub Jelinek + + PR debug/43058 + * var-tracking.c (non_suitable_const): New function. + (add_uses): For DEBUG_INSNs with constants, don't record any + value, instead just the constant value itself. + (compute_bb_dataflow) : If PAT_VAR_LOCATION_LOC + is not VAR_LOC_UNKNOWN_P, set var to the constant. + (emit_notes_in_bb): Likewise. + (emit_note_insn_var_location): For onepart variables if + cur_loc is a VOIDmode constant, use DECL_MODE. + +2010-03-18 Martin Jambor + + PR middle-end/42450 + * cgraph.h (cgraph_redirect_edge_call_stmt_to_callee): Declare. + * cgraphunit.c (cgraph_materialize_all_clones): Update calls in + all non-clones. Moved call redirection... + (cgraph_redirect_edge_call_stmt_to_callee): ...to this new + function. + (cgraph_materialize_all_clones): Dispose of all + combined_args_to_skip bitmaps. + (verify_cgraph_node): Do not check for edges pointing to wrong + nodes in inline clones. + * tree-inline.c (copy_bb): Call + cgraph_redirect_edge_call_stmt_to_callee. + * ipa.c (cgraph_remove_unreachable_nodes): Call + cgraph_node_remove_callees even when there are used clones. + +2010-03-18 H.J. Lu + + * config/i386/libgcc-glibc.ver: Make GCC_4.5.0 inherit GCC_4.4.0. + +2010-03-18 H.J. Lu + + PR target/43383 + * config/i386/libgcc-glibc.ver: Add __extendxftf2 to GCC_4.5.0 + for 32bit. + +2010-03-18 Michael Matz + + PR middle-end/43419 + * builtins.c (expand_builtin_pow): Don't transform pow(x, 0.5) + into sqrt(x) if we need to preserve signed zeros. + +2010-03-18 Steven Bosscher + Eric Botcazou + + PR rtl-optimization/43360 + * loop-invariant.c (move_invariant_reg): Remove the REG_EQUAL + note if we don't know its invariant status. + +2010-03-18 Michael Matz + + PR tree-optimization/43402 + * tree-cfgcleanup.c (cleanup_control_expr_graph): Don't follow + PHI chains of ssa names registered for update. + +2010-03-17 Peter Bergner + + PR target/42427 + * config/rs6000/rs6000.c (rs6000_split_multireg_move): Add support for + non-offsettable and pre_modify update addressing. + * config/rs6000/dfp.md (*movdd_hardfloat32): Make the "0", "1" + and "2" alternatives "#". + (*movdd_softfloat32): Make all alternatives "#"; + * config/rs6000/rs6000.md (DIFD): New define_mode_iterator. + (*movdf_hardfloat32): Make the "0", "1" and "2" alternatives "#". + (*movdf_softfloat32): Make all alternatives "#"; + (movdi): Use the new DIFD mode iterator to create a common splitter + for movdi, movdf and movdd patterns. + +2010-03-18 Shujing Zhao + + * common.opt (dumpdir): Remove redundant tab. + +2010-03-17 Martin Jambor + + PR tree-optimization/43347 + * tree-sra.c (create_access_replacement): Set TREE_NO_WARNING when the + original base is DECL_ARTIFICIAL or DECL_IGNORED_P. + +2010-03-17 Bernd Schmidt + + PR rtl-optimization/42216 + * regrename.c (create_new_chain): New function, broken out from... + (scan_rtx_reg): ... here. Call it. Handle the case where we are + appending a use to an empty chain. + (build_def_use): Remove previous changes that convert OP_INOUT to + OP_OUT operands; instead detect the case where an OP_INOUT operand + uses a previously untracked register and create an empty chain for + it. + +2010-03-17 Ralf Wildenhues + + * doc/extend.texi (Function Attributes): Rewrite unfinished + sentence in ms_abi documentation. + +2010-03-17 Alan Modra + + * config/rs6000/linux64.opt (mprofile-kernel): Use profile_kernel var. + * config/rs6000/linux64.h (TARGET_PROFILE_KERNEL): Define. + (SUBSUBTARGET_OVERRIDE_OPTIONS): Don't use SET_PROFILE_KERNEL. + * config/rs6000/rs6000.c (SET_PROFILE_KERNEL): Don't define. + +2010-03-16 Richard Henderson + + PR middle-end/43365 + * tree-eh.c (replace_goto_queue): Also replace in the eh_seq. + (lower_try_finally): Save and restore eh_seq around the expansion + of the try-finally. + +2010-03-16 Aldy Hernandez + + * graphite-sese-to-poly.c (split_reduction_stmt): Skip debug + statements before splitting block. + +2010-03-16 Rainer Orth + + * doc/sourcebuild.texi (Testsuites): Fix markup. + Use pathnames relative to gcc/testsuite. + (Test Directives): Move description of how timeout is determined. + (Ada Tests): Favor gnat.exp over ada/acats/tests/gcc. + (C Tests): Correct gcc.misc-tests directory. + Framework tests now live in gcc.test-framework. + +2010-03-16 Richard Guenther + + PR middle-end/43379 + * tree-cfg.c (gimple_merge_blocks): When propagating virtual + PHI operands make sure to merge SSA_NAME_OCCURS_IN_ABNORMAL_PHI + properly. + 2010-03-16 Aldy Hernandez Alexandre Oliva