OSDN Git Service

* targhooks.c (GO_IF_MODE_DEPENDENT_ADDRESS): Use CONST_CAST_RTX.
authoruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 May 2010 19:58:30 +0000 (19:58 +0000)
committeruros <uros@138bc75d-0d04-0410-961f-82ee72b054a4>
Sat, 15 May 2010 19:58:30 +0000 (19:58 +0000)
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@159441 138bc75d-0d04-0410-961f-82ee72b054a4

gcc/ChangeLog
gcc/targhooks.c

index db8e005..e4de1bb 100644 (file)
@@ -1,3 +1,7 @@
+2010-05-15  Uros Bizjak  <ubizjak@gmail.com>
+
+       * targhooks.c (GO_IF_MODE_DEPENDENT_ADDRESS): Use CONST_CAST_RTX.
+
 2010-05-15  Joseph Myers  <joseph@codesourcery.com>
 
        * c-decl.c (grokfield): Allow typedefs for anonymous structs and
@@ -36,7 +40,7 @@
        ipa_reference_read_optimization_summary): New.
        (struct ipa_opt_pass_d pass_ipa_reference): Add
        optimization summary streaming.
-       * lto-cgraph.c (referenced_from_this_partition_p, 
+       * lto-cgraph.c (referenced_from_this_partition_p,
        reachable_from_this_partition_p): New functions.
        * tree-ssa-alias.c (ref_maybe_used_by_call_p_1,
        call_may_clobber_ref_p_1): Ask ipa-reference even for public vars.
        Add check for TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit packed
        single logical operations i.e and, or and xor instead of packed double
        logical operations for SSE and AVX.
-       * config/i386/i386-c.c
-       (ix86_target_macros_internal): Add PROCESSOR_BDVER1.
+       * config/i386/i386-c.c (ix86_target_macros_internal):
+       Add PROCESSOR_BDVER1.
        * config/i386/driver-i386.c: Turn on -mtune=native for BDVER1.
        (has_fma4, has_xop): New.
        * config/i386/i386.c (bdver1_cost): New variable.
        t-mingw-w64 or t-mingw-w32 for multilib configuration.
        * config/i386/t-mingw-w32: New.
        * config/i386/t-mingw-w64 (MULTILIB_OSDIRNAMES): Change lib64 to lib.
-       
+
 2010-05-13  Martin Jambor  <mjambor@suse.cz>
 
        * gimple.c (gimple_fold_obj_type_ref): Removed (a replacement moved to
        by SRA.
        * Makefile.in (dwarf2out.o): Depend on $(TREE_FLOW_H).
        * tree-sra.c (create_access_replacement): Call unshare_expr before
-       passing expr to SET_DECL_DEBUG_EXPR, and remove any SSA_NAMEs from
-       it.
+       passing expr to SET_DECL_DEBUG_EXPR, and remove any SSA_NAMEs from it.
        * dwarf2out.c: Include tree-flow.h.
        (struct var_loc_node): Rename var_loc_note field to loc, add comment.
        (size_of_loc_descr, output_loc_operands, output_loc_operands_raw):
index 5a06351..da84019 100644 (file)
@@ -965,7 +965,7 @@ default_mode_dependent_address_p (const_rtx addr ATTRIBUTE_UNUSED)
 {
 #ifdef GO_IF_MODE_DEPENDENT_ADDRESS
 
-  GO_IF_MODE_DEPENDENT_ADDRESS ((rtx) addr, win);
+  GO_IF_MODE_DEPENDENT_ADDRESS (CONST_CAST_RTX (addr), win);
   return false;
   /* Label `win' might (not) be used via GO_IF_MODE_DEPENDENT_ADDRESS.  */
  win: ATTRIBUTE_UNUSED_LABEL