Commit 9bf6b5c1 by Uros Bizjak

re PR testsuite/38163 (gcc.dg/tree-ssa/loop-3.c failure at -m64 on i686-apple-darwin9)

	PR testsuite/38163
	* gcc.dg/tree-ssa/loop-3.c: Compile only on nonpic x86 targets.
	Remove dg-skip-if directive.

From-SVN: r142726
parent 72c282c6
...@@ -48,8 +48,8 @@ ...@@ -48,8 +48,8 @@
2008-12-12 Ben Elliston <bje@au.ibm.com> 2008-12-12 Ben Elliston <bje@au.ibm.com>
* config/fp-bit.c (nan): Rename from this .. * config/fp-bit.c (nan): Rename from this ...
(makenan): .. to this. (makenan): ... to this.
2008-12-11 Adam Nemet <anemet@caviumnetworks.com> 2008-12-11 Adam Nemet <anemet@caviumnetworks.com>
...@@ -178,8 +178,7 @@ ...@@ -178,8 +178,7 @@
(new_graphite_bb): Test for useful statements before building a (new_graphite_bb): Test for useful statements before building a
graphite statement for the basic block. graphite statement for the basic block.
(free_graphite_bb): Do not free GBB_DATA_REFS: this is a bug (free_graphite_bb): Do not free GBB_DATA_REFS: this is a bug
in free_data_ref that calls BITMAP_FREE (DR_VOPS (dr)) without in free_data_ref that calls BITMAP_FREE (DR_VOPS (dr)) without reason.
reason.
(recompute_all_dominators, graphite_verify, (recompute_all_dominators, graphite_verify,
nb_reductions_in_loop, graphite_loop_normal_form): New. nb_reductions_in_loop, graphite_loop_normal_form): New.
(scop_record_loop): Call graphite_loop_normal_form. (scop_record_loop): Call graphite_loop_normal_form.
...@@ -198,7 +197,7 @@ ...@@ -198,7 +197,7 @@
(debug_rename_elt, debug_rename_map_1, debug_rename_map): New. (debug_rename_elt, debug_rename_map_1, debug_rename_map): New.
(remove_all_edges_1, remove_all_edges): Removed. (remove_all_edges_1, remove_all_edges): Removed.
(get_new_name_from_old_name): New. (get_new_name_from_old_name): New.
(graphite_rename_variables_in_stmt): Renamed (graphite_rename_variables_in_stmt): Renamed.
rename_variables_in_stmt. Call get_new_name_from_old_name. rename_variables_in_stmt. Call get_new_name_from_old_name.
Use replace_exp and update_stmt. Use replace_exp and update_stmt.
(is_old_iv): Renamed is_iv. (is_old_iv): Renamed is_iv.
...@@ -225,7 +224,7 @@ ...@@ -225,7 +224,7 @@
patch_phis_for_virtual_defs): Removed huge hack. patch_phis_for_virtual_defs): Removed huge hack.
(mark_old_loops, remove_dead_loops, skip_phi_defs, (mark_old_loops, remove_dead_loops, skip_phi_defs,
collect_scop_exit_phi_args, patch_scop_exit_phi_args, collect_scop_exit_phi_args, patch_scop_exit_phi_args,
gbb_can_be_ignored, scop_remove_ignoreable_gbbs, ): Removed. gbb_can_be_ignored, scop_remove_ignoreable_gbbs): Removed.
(remove_sese_region, ifsese, if_region_entry, if_region_exit, (remove_sese_region, ifsese, if_region_entry, if_region_exit,
if_region_get_condition_block, if_region_set_false_region, if_region_get_condition_block, if_region_set_false_region,
create_if_region_on_edge, move_sese_in_condition, bb_in_sese_p, create_if_region_on_edge, move_sese_in_condition, bb_in_sese_p,
...@@ -376,8 +375,7 @@ ...@@ -376,8 +375,7 @@
ira_reg_class_super_classes): New. ira_reg_class_super_classes): New.
* ira-color.c (update_copy_costs): Use * ira-color.c (update_copy_costs): Use
ira_reg_classes_intersect_p. Use right class to find hard reg ira_reg_classes_intersect_p. Use right class to find hard reg index.
index.
(update_conflict_hard_regno_costs): Ditto. Add a new parameter. (update_conflict_hard_regno_costs): Ditto. Add a new parameter.
(assign_hard_reg): Ditto. Pass additional argument to (assign_hard_reg): Ditto. Pass additional argument to
update_conflict_hard_regno_costs. Do not uncoalesce for priority update_conflict_hard_regno_costs. Do not uncoalesce for priority
...@@ -405,13 +403,11 @@ ...@@ -405,13 +403,11 @@
* ira-build.c (propagate_allocno_info): Use flag flag_ira_region * ira-build.c (propagate_allocno_info): Use flag flag_ira_region
instead of flag_ira_algorithm. instead of flag_ira_algorithm.
(allocno_range_compare_func): Ignore classes for priority (allocno_range_compare_func): Ignore classes for priority coloring.
coloring.
(setup_min_max_conflict_allocno_ids): Ditto. (setup_min_max_conflict_allocno_ids): Ditto.
(ira_flattening): Use ira_reg_classes_intersect_p. (ira_flattening): Use ira_reg_classes_intersect_p.
* genpreds.c (write_enum_constraint_num): Output * genpreds.c (write_enum_constraint_num): Output CONSTRAINT__LIMIT.
CONSTRAINT__LIMIT.
* common.opt (fira-algorithm): Modify. * common.opt (fira-algorithm): Modify.
(fira-region): New. (fira-region): New.
...@@ -427,8 +423,7 @@ ...@@ -427,8 +423,7 @@
(ira): Use flag flag_ira_region instead of flag_ira_algorithm. (ira): Use flag flag_ira_region instead of flag_ira_algorithm.
* ira-costs.c (common_classes): New. * ira-costs.c (common_classes): New.
(print_costs): Use flag flag_ira_region instead of (print_costs): Use flag flag_ira_region instead of flag_ira_algorithm.
flag_ira_algorithm.
(find_allocno_class_costs): Ditto. Use common_classes. Translate (find_allocno_class_costs): Ditto. Use common_classes. Translate
alt_class. alt_class.
(ira_costs): Allocate/deallocate common_classes. (ira_costs): Allocate/deallocate common_classes.
...@@ -485,10 +480,10 @@ ...@@ -485,10 +480,10 @@
2008-12-09 Andreas Krebbel <krebbel1@de.ibm.com> 2008-12-09 Andreas Krebbel <krebbel1@de.ibm.com>
* config/s390/s390.md (movti, movdi_64, movdi_31, * config/s390/s390.md (movti, movdi_64, movdi_31,
*movsi_zarch, *movhi, *movqi, *mov<mode>_64, *mov<mode>_31, *movsi_zarch, *movhi, *movqi, *mov<mode>_64, *mov<mode>_31,
*mov<mode>_64dfp, *mov<mode>_64, *mov<mode>_31, mov<mode>): Remove *mov<mode>_64dfp, *mov<mode>_64, *mov<mode>_31, mov<mode>): Remove
Q->Q alternative. Q->Q alternative.
(Integer->BLKmode splitter): Removed. (Integer->BLKmode splitter): Removed.
2008-12-08 Uros Bizjak <ubizjak@gmail.com> 2008-12-08 Uros Bizjak <ubizjak@gmail.com>
...@@ -3419,7 +3414,7 @@ ...@@ -3419,7 +3414,7 @@
* global.c (compute_regs_asm_clobbered, build_insn_chain): * global.c (compute_regs_asm_clobbered, build_insn_chain):
Replaced struct df_ref * with df_ref. Replaced struct df_ref * with df_ref.
* ifcvt.c (dead_or_predicable): Replaced struct df_ref * with df_ref. * ifcvt.c (dead_or_predicable): Replaced struct df_ref * with df_ref.
* sel-sched-ir.c (maybe_downgrade_id_to_use, setup_id_reg_sets, ): * sel-sched-ir.c (maybe_downgrade_id_to_use, setup_id_reg_sets):
Replaced struct df_ref * with df_ref. Replaced struct df_ref * with df_ref.
* ira-lives.c (mark_ref_live, def_conflicts_with_inputs_p, * ira-lives.c (mark_ref_live, def_conflicts_with_inputs_p,
mark_ref_dead, process_bb_node_lives): Replaced struct df_ref * mark_ref_dead, process_bb_node_lives): Replaced struct df_ref *
...@@ -19070,7 +19065,7 @@ ...@@ -19070,7 +19065,7 @@
* doc/rtl.texi: Removed reference to REG_NO_CONFLICT notes. * doc/rtl.texi: Removed reference to REG_NO_CONFLICT notes.
* optabs.c (expand_binop, expand_absneg_bit, expand_unop, * optabs.c (expand_binop, expand_absneg_bit, expand_unop,
expand_copysign_bit, ): Change call to emit_no_conflict_block to expand_copysign_bit): Change call to emit_no_conflict_block to
emit_insn and remove unneeded code to construct extra args. emit_insn and remove unneeded code to construct extra args.
(emit_no_conflict_block): Removed. (emit_no_conflict_block): Removed.
* optabls.h: (emit_no_conflict_block): Removed. * optabls.h: (emit_no_conflict_block): Removed.
...@@ -19350,7 +19345,7 @@ ...@@ -19350,7 +19345,7 @@
* dojump.c (do_jump): Likewise. * dojump.c (do_jump): Likewise.
* tree-ssa-sccvn.c (simplify_unary_expression): Likewise. * tree-ssa-sccvn.c (simplify_unary_expression): Likewise.
* tree-gimple.c (is_gimple_cast): Likewise. * tree-gimple.c (is_gimple_cast): Likewise.
* fold-const.c (decode_field_reference, ) * fold-const.c (decode_field_reference)
(fold_sign_changed_comparison, fold_unary, fold_comparison) (fold_sign_changed_comparison, fold_unary, fold_comparison)
(fold_binary): Likewise. (fold_binary): Likewise.
* tree-ssa-alias-warnings.c (find_alias_site_helper) * tree-ssa-alias-warnings.c (find_alias_site_helper)
...@@ -21353,7 +21348,7 @@ ...@@ -21353,7 +21348,7 @@
(compute_reloc_for_constant, output_addressed_constants): Likewise. (compute_reloc_for_constant, output_addressed_constants): Likewise.
* emit-rtl.c (component_ref_for_mem_expr) * emit-rtl.c (component_ref_for_mem_expr)
(set_mem_attributes_minus_bitpos): Likewise. (set_mem_attributes_minus_bitpos): Likewise.
* expr.c (highest_pow2_factor, expand_expr_real_1, ) * expr.c (highest_pow2_factor, expand_expr_real_1)
(is_aligning_offset): Likewise. (is_aligning_offset): Likewise.
* dwarf2out.c (loc_descriptor_from_tree_1, add_bound_info): Likewise. * dwarf2out.c (loc_descriptor_from_tree_1, add_bound_info): Likewise.
* tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Likewise. * tree-ssa-loop-ivopts.c (may_be_nonaddressable_p): Likewise.
2008-12-12 Uros Bizjak <ubizjak@gmail.com>
PR testsuite/38163
* gcc.dg/tree-ssa/loop-3.c: Compile only on nonpic x86 targets.
Remove dg-skip-if directive.
2008-12-12 Janis Johnson <janis187@us.ibm.com> 2008-12-12 Janis Johnson <janis187@us.ibm.com>
PR libgfortran/24685 PR libgfortran/24685
...@@ -118,7 +124,7 @@ ...@@ -118,7 +124,7 @@
PR tree-optimization/37416 PR tree-optimization/37416
* gcc.dg/vect/pr36630.c: Expect 1 vectorized loop. * gcc.dg/vect/pr36630.c: Expect 1 vectorized loop.
2008-12-10 Uros Bizjak <ubizjak@gmail.com> 2008-12-10 Uros Bizjak <ubizjak@gmail.com>
* gcc.dg/20020919-1.c: Correct target selector to alpha*-*-*. * gcc.dg/20020919-1.c: Correct target selector to alpha*-*-*.
* gcc.dg/pr31866.c: Ditto. * gcc.dg/pr31866.c: Ditto.
...@@ -7107,7 +7113,7 @@ ...@@ -7107,7 +7113,7 @@
PR c++/35327 PR c++/35327
* g++.dg/parse/crash41.C: New. * g++.dg/parse/crash41.C: New.
2008-06-06 Uros Bizjak <ubizjak@gmail.com> 2008-06-06 Uros Bizjak <ubizjak@gmail.com>
PR rtl-optimization/36438 PR rtl-optimization/36438
* gcc.target/i386/pr36438.c * gcc.target/i386/pr36438.c
......
...@@ -2,9 +2,8 @@ ...@@ -2,9 +2,8 @@
Target is restricted to x86 type architectures, so that we may Target is restricted to x86 type architectures, so that we may
assume something about memory addressing modes. */ assume something about memory addressing modes. */
/* { dg-do compile { target i?86-*-* x86_64-*-* } } */ /* { dg-do compile { target { { i?86-*-* x86_64-*-* } && nonpic } } } */
/* { dg-skip-if "" { i?86-*-* x86_64-*-* } { "-fpic" "-fPIC" } { "" } } */ /* { dg-options "-O1 -fdump-tree-optimized" } */
/* { dg-options "-O1 -fno-pic -fno-PIC -fdump-tree-optimized" } */
int arr_base[100]; int arr_base[100];
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment