OSDN Git Service

Fix PR debug/49047
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index f203d45..9ec727b 100644 (file)
@@ -1,3 +1,176 @@
+2011-05-31  Dodji Seketeli  <dodji@redhat.com>
+
+       PR debug/49047
+       * dwarf2out.c (gen_subprogram_die): Emit linkage name attribute
+       for concrete functions containing the code of cloned functions.
+
+2011-05-31  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-forwprop.c (forward_propagate_into_comparison): Rename
+       to ...
+       (forward_propagate_into_comparison_1): ... this.
+       (forward_propagate_comparison): Rename to ...
+       (forward_propagate_into_comparison): ... this.  Split out
+       real forward propagation code to ...
+       (forward_propagate_comparison): ... this.
+       (forward_propagate_into_gimple_cond): Remove looping.
+       (forward_propagate_into_cond): Likewise.
+       (simplify_not_neg_expr): Return whether we have done something.
+       (simplify_gimple_switch): Likewise.
+       (tree_ssa_forward_propagate_single_use_vars): Rename to ...
+       (ssa_forward_propagate_and_combine): ... this.  Re-structure
+       to do a forward forward-propagation walk on BBs and a backward
+       stmt combining walk on BBs.  Consistently re-scan changed
+       statements.
+       (pass_forwprop): Adjust.
+
+2011-05-30  Ian Lance Taylor  <iant@google.com>
+
+       * godump.c (go_format_type): Correct length of name added to
+       obstack for anonymous field.
+
+2011-05-30  Kaz Kojima  <kkojima@gcc.gnu.org>
+
+       PR target/49186
+       * config/sh/sh.c (expand_cbranchdi4): Set msw_skip when the high
+       part of the second operand is 0.
+
+2011-05-30  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*movxf_internal): Penalize FYx*r->o alternative
+       to prevent partial memory stalls.  Do not move CONST_DOUBLEs directly
+       to memory for !TARGET_MEMORY_MISMATCH_STALL.
+       (*movdf_internal_rex64): Do not penalize F->r alternative.
+       (*movdf_internal):  Penalize FYd*r->o alternative to prevent partial
+       memory stalls.  Generate SSE and x87 CONST_DOUBLE immediates only
+       when optimizing function for size.  Do not move CONST_DOUBLEs
+       directly to memory for !TARGET_MEMORY_MISMATCH_STALL.
+       (FP move splitters): Merge {TF,XF,DF}mode move splitters.  Do not
+       handle SUBREGs.  Do not check for MEM_P operands in the insn condition,
+       check for ANY_FP_REGNO_P instead.
+       * config/i386/constraints.md (Yd): Enable GENERAL_REGS for
+       TARGET_64BIT and for TARGET_INTEGER_DFMODE_MOVES when optimizing
+       function for speed.
+       * config/i386/i386.c (ix86_option_override_internal): Do not
+       set TARGET_INTEGER_DFMODE_MOVES here.
+
+2011-05-30  H.J. Lu  <hongjiu.lu@intel.com>
+
+       PR target/49168
+       * config/i386/i386.md (*movtf_internal): Handle misaligned
+       load/store.
+
+2011-05-30  Jakub Jelinek  <jakub@redhat.com>
+
+       * dwarf2out.c (modified_type_die, gen_reference_type_die): Use
+       DW_TAG_rvalue_reference_type even for
+       -gdwarf-4 -fno-debug-types-section.
+
+2011-05-30  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
+
+       PR tree-optimization/46728
+       * tree-ssa-math-opts.c (build_and_insert_call): Reorder parms.
+       (build_and_insert_binop): New.
+       (gimple_expand_builtin_pow): Reorder args for
+       build_and_insert_call; use build_and_insert_binop; add more
+       optimizations for fractional exponents.
+
+2011-05-30  Nathan Froyd  <froydnj@gcc.gnu.org>
+
+       PR bootstrap/49190
+
+       Revert:
+       2011-05-26  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * tree.h (struct tree_identifier): Inherit from tree_typed, not
+       tree_common.
+       (HT_IDENT_TO_GCC_IDENT): Adjust for said change.
+       * tree.c (initialize_tree_contains_struct): Mark TS_IDENTIFIER as
+       TS_BASE instead of TS_COMMON.
+       * varasm.c (assemble_name): Remove assert.
+
+2011-05-30  Richard Sandiford  <rdsandiford@googlemail.com>
+
+       * config.gcc: Keep obselete list sorted.
+
+2011-05-30  Jakub Jelinek  <jakub@redhat.com>
+           Eric Botcazou  <ebotcazou@adacore.com>
+
+       * var-tracking.c (vt_add_function_parameter): Remap incoming MEMs with
+       crtl->args.internal_arg_pointer based address to arg_pointer_rtx if
+       there is a DRAP register and arg_pointer_rtx is the CFA pointer.
+       (vt_init_cfa_base): Don't equate cfa_base_rtx if stack was realigned.
+       (vt_initialize): Initialize cfa_base_rtx if there is a DRAP register.
+
+2011-05-30  Richard Guenther  <rguenther@suse.de>
+
+       * gimple.c (gimple_types_compatible_p_1): Compare record
+       and union type members properly.
+
+2011-05-30  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/49210
+       * ipa-split.c (split_function): Care for the case where the
+       call result is not trivially convertible to the result holding
+       variable.
+
+2011-05-30  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/49218
+       * tree-vrp.c (adjust_range_with_scev): Properly check whether
+       overflow occured.
+
+2011-05-30  Richard Guenther  <rguenther@suse.de>
+
+       * tree-ssa-forwprop.c (forward_propagate_into_comparison):
+       New function split out from ...
+       (forward_propagate_into_gimple_cond): ... here.  Adjust.
+       (forward_propagate_into_cond): Likewise.
+       (forward_propagate_comparison): Also propagate into
+       comparisons on assignment RHS.  Change return value to
+       behave similar to forward_propagate_into_cond.
+       (tree_ssa_forward_propagate_single_use_vars): Handle
+       strict-overflow warnings properly for forward_propagate_comparison.
+
+2011-05-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
+
+       * configure.ac (gcc_cv_lto_plugin): Determine lto plugin support
+       from plugin linker.
+       * configure: Regenerate.
+
+2011-05-30  Ira Rosen  <ira.rosen@linaro.org>
+
+       PR tree-optimization/49199
+       * tree-vect-loop.c (vect_is_slp_reduction): Check that the
+       non-reduction operands are either defined in the loop or by induction.
+
+2011-05-29  Xinliang David Li  <davidxl@google.com>
+
+       * opts-global.c (handle_common_deferred_options): Handle new options.
+       * passes.c (register_one_dump_file): Call register_pass_name.
+       (execute_one_pass): Check explicit enable/disable flag.
+       (passr_hash): New function.
+       (passr_eq): Ditto.
+       (register_pass_name): Ditto.
+       (get_pass_by_name): Ditto.
+       (pass_hash): Ditto.
+       (pass_eq): Ditto.
+       (enable_pass): Ditto.
+       (disable_pass): Ditto.
+       (is_pass_explicitly_enabled_or_disabled): Ditto.
+
+2011-05-29  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.md (*movoi_internal_avx): Use
+       standard_sse_constant_opcode for alternative 0.
+       (*movti_internal_sse): Ditto.
+       (*movti_internal_rex64): Use standard_sse_constant_opcode for
+       alternative 2.
+       (*movdi_internal_rex64): Use standard_sse_constant_opcode for
+       sselog1 type moves.
+       (*movsi_internal): Ditto.
+       (*movdi_internal): Ditto.  Add ssecvt type moves.
+
 2011-05-29  Eric Botcazou  <ebotcazou@adacore.com>
 
        PR target/48830
        (lto_output_location_bitpack): Update.
        (lto_output_builtin_tree): Update.
        * lto-streamer.h (struct output_block): Add obstack.
-       (lto_output_string, lto_output_string_with_length): Remove declarations;
-       functions are static now.
+       (lto_output_string, lto_output_string_with_length): Remove
+       declarations; functions are static now.
 
 2011-05-28  Jan Hubicka  <jh@suse.cz>
 
        (build_and_insert_call): New.
        (gimple_expand_builtin_pow): Add handling for pow(x,y) when y is
        0.5, 0.25, 0.75, 1./3., or 1./6.
-       
+
 2011-05-27  Alexander Monakov  <amonakov@ispras.ru>
 
        * doc/contrib.texi: Update copyright years.
        len values.
        * lto-streamer-in.c (string_for_index): Break out from ...; offset
        values by 1.
-       (input_string_internal): ... here; 
+       (input_string_internal): ... here;
        (input_string_cst, input_identifier, lto_input_string): Update handling
        of NULL strings.
        (lto_input_location_bitpack): New function
 2011-05-26  Hariharan Sandanagobalane <hariharan@picochip.com>
 
        * config/picochip/picochip.md (cbranchhi4): No :CC for match_operator.
-         The instruction is then expanded explicitly.
+       The instruction is then expanded explicitly.
        (supported_compare): Callable instruction.
        (compare): Likewise.