]>
Commit | Line | Data |
---|---|---|
b1b7c0c4 | 1 | 2007-08-14 Daniel Berlin <dberlin@dberlin.org> |
2 | ||
3 | * tree-pass.h (PROP_pta): Removed. | |
4 | (TODO_rebuild_alias): New. | |
5 | (pass_may_alias): Removed. | |
6 | * tree-ssa-ccp.c (execute_fold_all_builtins): Only rebuild | |
7 | aliasing if we changed something. | |
8 | * tree-ssa-alias.c (compute_may_aliases): Make non-static. Update | |
9 | SSA internally. | |
10 | (pass_may_alias): Removed. | |
11 | (create_structure_vars): Return TODO_rebuild_alias. | |
12 | * tree-ssa-pre.c (do_pre): Return TODO_rebuild_alias. | |
13 | * tree-sra.c (tree_sra): Only rebuild aliasing if something | |
14 | changed. | |
15 | (tree_sra_early): We never affect aliasing right now. | |
16 | * tree-flow.h (compute_may_aliases): New prototype. | |
17 | * passes.c: Remove pass_may_alias from the passes. | |
18 | (execute_function_todo): Support TODO_rebuild_alias. | |
19 | ||
fc7fd143 | 20 | 2007-08-14 Kai Tietz <kai.tietz@onevision.com> |
21 | ||
22 | * i386.c: (legitimize_address): Move dllimported variable check | |
23 | infront of legitimizing pic address of CONST symbols. | |
24 | ||
46699809 | 25 | 2007-08-14 Steve Ellcey <sje@cup.hp.com> |
26 | ||
27 | PR tree-optimization/32941 | |
28 | * tree-eh.c (struct leh_tf_state): Add goto_queue_map field. | |
29 | (goto_queue_cmp): Remove. | |
30 | (find_goto_replacement): Change search method. | |
31 | (maybe_record_in_goto_queue): Add assert. | |
32 | (lower_try_finally): Remove qsort call, add pointer_map_destroy call. | |
33 | * Makefile.in (tree-eh.o): Add pointer-set.h dependency. | |
34 | ||
1f1872fd | 35 | 2007-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
36 | ||
37 | * alias.c (component_uses_parent_alias_set): Constify. | |
38 | * alias.h (component_uses_parent_alias_set): Likewise. | |
39 | * cfgrtl.c (print_rtl_with_bb): Likewise. | |
40 | * double-int.c (tree_to_double_int, double_int_fits_to_tree_p, | |
41 | mpz_get_double_int): Likewise. | |
42 | * double-int.h (double_int_fits_to_tree_p, tree_to_double_int, | |
43 | mpz_get_double_int): Likewise. | |
44 | * expr.c (is_aligning_offset, undefined_operand_subword_p, | |
45 | mostly_zeros_p, all_zeros_p, safe_from_p, is_aligning_offset): | |
46 | Likewise. | |
47 | * expr.h (safe_from_p): Likewise. | |
48 | * gimple-low.c (try_catch_may_fallthru, block_may_fallthru): | |
49 | Likewise. | |
50 | * gimplify.c (should_carry_locus_p, zero_sized_field_decl, | |
51 | zero_sized_type, goa_lhs_expr_p): Likewise. | |
52 | * omp-low.c (is_variable_sized, use_pointer_for_field): Likewise. | |
53 | * rtl.h (print_rtl_with_bb): Likewise. | |
54 | * sched-vis.c (print_exp, print_value, print_pattern): Likewise. | |
55 | * tree-cfg.c (const_first_stmt, const_last_stmt): New. | |
56 | * tree-flow-inline.h (bb_stmt_list): Constify. | |
57 | (cbsi_start, cbsi_last, cbsi_end_p, cbsi_next, cbsi_prev, | |
58 | cbsi_stmt): New. | |
59 | * tree-flow.h (const_block_stmt_iterator, cbsi_start, cbsi_last, | |
60 | const_first_stmt, const_last_stmt): New. | |
61 | (block_may_fallthru, empty_block_p): Constify. | |
62 | * tree-iterator.c (EXPR_FIRST_BODY, EXPR_LAST_BODY, | |
63 | EXPR_ONLY_BODY): New. | |
64 | (expr_first, expr_last, expr_only): Use macro for body. | |
65 | (const_expr_first, const_expr_last, const_expr_only): New. | |
66 | * tree-iterator.h (const_tree_stmt_iterator, ctsi_start, | |
67 | ctsi_last, ctsi_end_p, ctsi_one_before_end_p, ctsi_next, | |
68 | ctsi_prev, ctsi_stmt): New. | |
69 | * tree-scalar-evolution.c (get_loop_exit_condition): Constify. | |
70 | * tree-scalar-evolution.h (get_loop_exit_condition): Likewise. | |
71 | * tree-ssa-loop-niter.c (loop_only_exit_p, | |
72 | derive_constant_upper_bound): Likewise. | |
73 | * tree-ssa-phiopt.c (empty_block_p): Likewise. | |
74 | * tree-ssa-threadupdate.c (redirection_block_p): Likewise. | |
75 | * tree-vectorizer.c (slpeel_can_duplicate_loop_p): Likewise. | |
76 | * tree-vectorizer.h (slpeel_can_duplicate_loop_p): Likewise. | |
77 | * tree-vrp.c (vrp_bitmap_equal_p): Likewise. | |
78 | * tree.c (get_type_static_bounds): Likewise. | |
79 | * tree.h (const_expr_first, const_expr_last, const_expr_only): New. | |
80 | (get_type_static_bounds): Constify. | |
81 | ||
aa8c6aad | 82 | 2007-08-14 Rask Ingemann Lambertsen <rask@sygehus.dk> |
83 | ||
84 | PR target/30315 | |
85 | * config/i386/i386.h (CANONICALIZE_COMPARISON): New. | |
86 | * config/i386/i386.md (plusminus)(addsub)(SWI): New. | |
87 | (*<addsub><mode>3_cc_overflow): New. | |
88 | (*add<mode>3_cconly_overflow): New. | |
89 | (*sub<mode>3_cconly_overflow): New. | |
90 | (*<addsub>si3_zext_cc_overflow): New. | |
91 | * config/i386/predicates.md (fcmov_comparison_operator): Accept | |
92 | CCCmode for LTU, GTU, LEU and GEU. | |
93 | (ix86_comparison_operator): Likewise. | |
94 | (ix86_carry_flag_operator): Carry flag is set if LTU or GTU in CCCmode. | |
95 | * gcc/config/i386/i386.c (put_condition_code): Support CCCmode. | |
96 | (ix86_cc_mode): Use CCCmode when testing for overflow of PLUS | |
97 | or MINUS expressions. | |
98 | ||
f8629d35 | 99 | 2007-08-14 Andrew Pinski <pinskia@gmail.com> |
100 | ||
101 | PR c/30428 | |
102 | * c-typeck.c (build_binary_op): Disallow vector float types with | |
103 | BIT_IOR_EXPR, BIT_AND_EXPR, and BIT_XOR_EXPR. | |
104 | ||
93f6b030 | 105 | 2007-08-14 Maxim Kuvyrkov <maxim@codesourcery.com> |
106 | ||
107 | * sched-int.h (struct _dep): Rename field 'kind' to 'type'. | |
108 | (DEP_KIND): Rename to DEP_TYPE. Update all uses. | |
109 | (dep_def): New typedef. | |
110 | (init_dep_1, sd_debug_dep): Declare functions. | |
111 | (DEP_LINK_KIND): Rename to DEP_LINK_TYPE. | |
112 | (debug_dep_links): Remove. | |
113 | (struct _deps_list): New field 'n_links'. | |
114 | (DEPS_LIST_N_LINKS): New macro. | |
115 | (FOR_EACH_DEP_LINK): Remove. | |
116 | (create_deps_list, free_deps_list, delete_deps_list): Remove | |
117 | declaration. | |
118 | (deps_list_empty_p, debug_deps_list, add_back_dep_to_deps_list): Ditto. | |
119 | (find_link_by_pro_in_deps_list, find_link_by_con_in_deps_list): Ditto. | |
120 | (copy_deps_list_change_con, move_dep_link): Ditto. | |
121 | (struct haifa_insn_data): Split field 'back_deps' into 'hard_back_deps' | |
122 | and 'spec_back_deps'. New field 'resolved_forw_deps'. Remove field | |
123 | 'dep_count'. | |
124 | (INSN_BACK_DEPS): Remove. | |
125 | (INSN_HARD_BACK_DEPS, INSN_SPEC_BACK_DEPS, INSN_RESOLVED_FORW_DEPS): | |
126 | New macros. | |
127 | (INSN_DEP_COUNT): Remove. | |
128 | (enum DEPS_ADJUST_RESULT): Add new constant DEP_NODEP. Fix comments. | |
129 | (spec_info, haifa_recovery_block_was_added_during_scheduling_p): | |
130 | Declare global variables. | |
131 | (deps_pools_are_empty_p, sched_free_deps): Declare functions. | |
132 | (add_forw_dep, compute_forward_dependences): Remove declarations. | |
133 | (add_or_update_back_dep, add_or_update_back_forw_dep): Ditto. | |
134 | (add_back_forw_dep, delete_back_forw_dep): Ditto. | |
135 | (debug_ds, sched_insn_is_legitimate_for_speculation_p): Declare | |
136 | functions. | |
137 | (SD_LIST_NONE, SD_LIST_HARD_BACK, SD_LIST_SPEC_BACK, SD_LIST_FORW): New | |
138 | constants. | |
139 | (SD_LIST_RES_BACK, SD_LIST_RES_FORW, SD_LIST_BACK): Ditto. | |
140 | (sd_list_types_def): New typedef. | |
141 | (sd_next_list): Declare function. | |
142 | (struct _sd_iterator): New type. | |
143 | (sd_iterator_def): New typedef. | |
144 | (sd_iterator_start, sd_iterator_cond, sd_iterator_next): New inline | |
145 | functions. | |
146 | (FOR_EACH_DEP): New cycle wrapper. | |
147 | (sd_lists_size, sd_lists_empty_p, sd_init_insn, sd_finish_insn): | |
148 | Declare functions. | |
149 | (sd_find_dep_between, sd_add_dep, sd_add_or_update_dep): Ditto. | |
150 | (sd_resolve_dep, sd_copy_back_deps, sd_delete_dep, sd_debug_lists): | |
151 | Ditto. | |
152 | ||
153 | * sched-deps.c (init_dep_1): Make global. | |
154 | (DUMP_DEP_PRO, DUMP_DEP_CON, DUMP_DEP_STATUS, DUMP_DEP_ALL): New | |
155 | constants. | |
156 | (dump_dep): New static function. | |
157 | (dump_dep_flags): New static variable. | |
158 | (sd_debug_dep): New function. | |
159 | (add_to_deps_list, remove_from_deps_list): Update 'n_links' field of | |
160 | the list. | |
161 | (move_dep_link): Use remove_from_deps_list (), instead of | |
162 | detach_dep_link (). | |
163 | (dep_links_consistent_p, dump_dep_links, debug_dep_links): Remove. | |
164 | (dep_link_is_detached_p): New static function. | |
165 | (deps_obstack, dl_obstack, dn_obstack): Remove. Use dn_pool, dl_pool | |
166 | instead. | |
167 | (dn_pool, dl_pool): New alloc_pools. | |
168 | (dn_pool_diff, dl_pool_diff): New static variables. | |
169 | (create_dep_node, delete_dep_node): New static function. | |
170 | (create_deps_list): Make it static. Use alloc_pool 'dl_pool'. | |
171 | (deps_list_empty_p): Make it static. Use 'n_links' field. | |
172 | (deps_pools_are_empty_p): New static function. | |
173 | (alloc_deps_list, delete_deps_list): Remove. | |
174 | (dump_deps_list, debug_deps_list, add_back_dep_to_deps_list): Remove. | |
175 | (find_link_by_pro_in_deps_list, find_link_by_con_in_deps_list): Ditto. | |
176 | (copy_deps_list_change_con): Remove. Use sd_copy_back_deps () instead. | |
177 | (forward_dependency_cache): Remove. | |
178 | (maybe_add_or_update_back_dep_1, add_or_update_back_dep_1): Remove | |
179 | 'back' from the names. Change signature to use dep_t instead of | |
180 | equivalent quad. | |
181 | (add_back_dep): Ditto. Make global. | |
182 | (check_dep_status): Rename to check_dep (). | |
183 | (sd_next_list, sd_lists_size, sd_lists_empty_p, sd_init_insn): | |
184 | New functions. | |
185 | (sd_finish_insn): Ditto. | |
186 | (sd_find_dep_between_no_cache): New static function. | |
187 | (sd_find_dep_between): New function. | |
188 | (ask_dependency_caches, set_dependency_caches): New static functions. | |
189 | (update_dependency_caches, change_spec_dep_to_hard, update_dep): Ditto. | |
190 | (add_or_update_dep_1): Separate pieces of functionality into | |
191 | ask_dependency_caches (), update_dependency_caches (), | |
192 | change_spec_dep_to_hard (), update_dep (). | |
193 | (get_back_and_forw_lists): New static function. | |
194 | (sd_add_dep): Separate setting of dependency caches into | |
195 | set_dependency_caches (). | |
196 | (sd_add_or_update_dep, sd_resolve_dep, sd_copy_back_deps): | |
197 | New functions. | |
198 | (sd_delete_dep): Ditto. | |
199 | (DUMP_LISTS_SIZE, DUMP_LISTS_DEPS, DUMP_LISTS_ALL): New constants. | |
200 | (dump_lists): New static function. | |
201 | (sd_debug_lists): New debug function. | |
202 | (delete_all_dependences, fixup_sched_groups): Update to use | |
203 | sd_* infrastructure. | |
204 | (sched_analyze_2): Create data-speculative dependency only if | |
205 | data-speculation is enabled. | |
206 | (sched_analyze_insn): If insn cannot be speculative, make all its | |
207 | dependencies non-speculative. | |
208 | (sched_analyze): Use sd_init_insn (). | |
209 | (add_forw_dep, compute_forward_dependencies): Remove. | |
210 | (delete_dep_nodes_in_back_deps): New static function. | |
211 | (sched_free_deps): New function. | |
212 | (init_dependency_caches): Init alloc_pools. | |
213 | (extend_depedency_caches): Update after removing of | |
214 | forward_dependency_cache. | |
215 | (free_dependency_caches): Ditto. Free alloc_pools. | |
216 | (adjust_add_sorted_back_dep, adjust_back_add_forw_dep): Remove. | |
217 | (delete_forw_dep, add_or_update_back_dep, add_or_update_back_forw_dep): | |
218 | Ditto. | |
219 | (add_back_forw_dep, delete_back_forw_dep): Ditto. | |
220 | (add_dependence): Use init_dep (). | |
221 | (get_dep_weak_1): New static function. | |
222 | (get_dep_weak): Move logic to get_dep_weak_1 (). | |
223 | (dump_ds): New static function moved from haifa-sched.c: | |
224 | debug_spec_status (). | |
225 | (debug_ds): New debug function. | |
226 | (check_dep_status): Rename to check_dep (). Update to check whole | |
227 | dependencies. | |
228 | ||
229 | * haifa-sched.c (spec_info): Make global. | |
230 | (added_recovery_block_p): Rename to | |
231 | 'haifa_recovery_block_was_added_during_current_schedule_block_p'. | |
232 | (haifa_recovery_block_was_added_during_scheduling_p): New variable. | |
233 | (dep_cost, priority, rank_for_schedule, schedule_insn): Update | |
234 | to use new interfaces. | |
235 | (ok_for_early_queue_removal): Ditto. | |
236 | (schedule_block): Initialize logical uids of insns emitted by the | |
237 | target. | |
238 | (sched_init): Initialize new variable. | |
239 | (fix_inter_tick, try_ready, fix_tick_ready): Update to use new | |
240 | interfaces. | |
241 | (extend_global): Initialize insn data. | |
242 | (init_h_i_d): Remove code that is now handled in sd_init_insn (). | |
243 | (process_insn_forw_deps_be_in_spec): Change signature. Update to use | |
244 | new interfaces. | |
245 | (add_to_speculative_block): Update to use new interfaces. | |
246 | (create_recovery_block): Set new variables. | |
247 | (create_check_block_twin, fix_recovery_deps): Update to use new | |
248 | interfaces. | |
249 | (sched_insn_is_legitimate_for_speculation_p): New function. | |
250 | (speculate_insn): Move checking logic to | |
251 | sched_insn_is_legitimate_for_speculation_p (). | |
252 | (sched_remove_insn): Finalize sched-deps information of instruction. | |
253 | (clear_priorities, add_jump_dependencies): Update to use new | |
254 | interfaces. | |
255 | (debug_spec_status): Rename to dump_ds () and move to sched-deps.c. | |
256 | ||
257 | * sched-rgn.c (set_spec_fed, find_conditional_protection): Update | |
258 | to use new interfaces. | |
259 | (is_conditionally_protected, is_pfree, is_prisky) Ditto. | |
260 | (new_ready): Try to use control speculation only if it is available. | |
261 | (add_branch_dependences): Update to use new interfaces. | |
262 | (compute_block_backward_dependences): Rename to | |
263 | compute_block_dependences (). Call | |
264 | targetm.sched.dependencies_evaluation_hook (). | |
265 | (free_block_dependencies): New static function. | |
266 | (debug_dependencies): Update to use new interfaces. | |
267 | (schedule_region): Remove separate computation of forward dependencies. | |
268 | Move call of targetm.sched.dependencies_evaluation_hook () to | |
269 | compute_block_dependences (). Free dependencies at the end of | |
270 | scheduling the region. | |
271 | ||
272 | * sched-ebb.c (earliest_block_with_similiar_load): Update to use | |
273 | new interfaces. | |
274 | (add_deps_for_risky_insns): Ditto. | |
275 | (schedule_ebb): Remove separate computation of forward dependencies. | |
276 | Free dependencies at the end of scheduling the ebb. | |
277 | ||
278 | * ddg.c (create_ddg_dependence): Update to use new interfaces. | |
279 | (build_intra_loop_deps): Ditto. Remove separate computation of forward | |
280 | dependencies. Free sched-deps dependencies. | |
281 | ||
282 | * config/ia64/ia64.c (ia64_dependencies_evaluation_hook): Update | |
283 | to use new interfaces. | |
284 | (ia64_dfa_new_cycle, ia64_gen_check): Ditto. | |
285 | ||
286 | * config/rs6000/rs6000.c (rs6000_is_costly_dependence): Update to use | |
287 | new interfaces. | |
288 | (is_costly_group): Ditto. | |
289 | ||
7ecb5bb2 | 290 | 2007-08-14 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
291 | ||
292 | * alias.c (rtx_equal_for_memref_p): Constify. | |
293 | * basic-block.h (const_edge, const_basic_block): New. | |
294 | (reg_set_to_hard_reg_set, dfs_enumerate_from, single_succ_p, | |
295 | single_pred_p, single_succ_edge, single_pred_edge, single_succ, | |
296 | single_pred, maybe_hot_bb_p, probably_cold_bb_p, | |
297 | probably_never_executed_bb_p, edge_probability_reliable_p, | |
298 | br_prob_note_reliable_p, forwarder_block_p, flow_nodes_print, | |
299 | inside_basic_block_p, control_flow_insn_p, dominated_by_p): | |
300 | Likewise. | |
301 | * bb-reorder.c (better_edge_p, push_to_next_round_p): Likewise. | |
302 | * bt-load.c (basic_block_freq, insn_sets_btr_p, can_move_up): | |
303 | Likewise. | |
304 | * cfganal.c (flow_active_insn_p, forwarder_block_p, | |
305 | flow_nodes_print, dfs_enumerate_from): Likewise. | |
306 | * cfgbuild.c (count_basic_blocks, inside_basic_block_p, | |
307 | control_flow_insn_p, count_basic_blocks): Likewise. | |
308 | * cfgloop.c (flow_bb_inside_loop_p, glb_enum_p, | |
309 | get_loop_body_with_size, loop_exit_edge_p): Likewise. | |
310 | * cfgloop.h (flow_bb_inside_loop_p, num_loop_insns, | |
311 | average_num_loop_insns, loop_exit_edge_p, | |
312 | just_once_each_iteration_p, can_duplicate_loop_p): Likewise. | |
313 | * cfgloopanal.c (just_once_each_iteration_p, num_loop_insns, | |
314 | average_num_loop_insns, seq_cost): Likewise. | |
315 | * cfgloopmanip.c (rpe_enum_p, can_duplicate_loop_p): Likewise. | |
316 | * dominance.c (dominated_by_p): Likewise. | |
317 | * emit-rtl.c (validate_subreg): Likewise. | |
318 | * except.c (can_throw_internal, can_throw_external): Likewise. | |
319 | * except.h (can_throw_internal, can_throw_external): Likewise. | |
320 | * gcse.c (gcse_constant_p, oprs_unchanged_p, oprs_anticipatable_p, | |
321 | oprs_available_p, hash_expr, expr_equiv_p, oprs_not_set_p, | |
322 | compute_transp, load_killed_in_block_p, reg_killed_on_edge, | |
323 | simple_mem, store_ops_ok, load_kills_store, find_loads, | |
324 | store_killed_in_insn, store_killed_after, store_killed_before, | |
325 | gcse_mem_operand, implicit_set_cond_p, store_killed_in_pat): | |
326 | Likewise. | |
327 | * ifcvt.c (count_bb_insns, cheap_bb_rtx_cost_p, noce_operand_ok, | |
328 | noce_mem_write_may_trap_or_fault_p): Likewise. | |
329 | * pointer-set.c (pointer_set_contains, pointer_map_contains): | |
330 | Likewise. | |
331 | * pointer-set.h (pointer_set_contains, pointer_map_contains): | |
332 | Likewise. | |
333 | * predict.c (can_predict_insn_p, maybe_hot_bb_p, | |
334 | probably_cold_bb_p, probably_never_executed_bb_p, | |
335 | edge_probability_reliable_p, br_prob_note_reliable_p, | |
336 | can_predict_insn_p): Likewise. | |
337 | * regclass.c (reg_set_to_hard_reg_set): Likewise. | |
338 | * resource.c (return_insn_p): Likewise. | |
339 | * rtl.h (reg_set_between_p, reg_set_p, validate_subreg): | |
340 | Likewise. | |
341 | * rtlanal.c (reg_set_between_p, reg_set_p): Likewise. | |
342 | * tracer.c (count_insns, ignore_bb_p, better_p): Likewise. | |
343 | * tree-cfg.c (verify_gimple_unary_expr, verify_gimple_binary_expr, | |
344 | verify_gimple_modify_stmt): Likewise. | |
345 | * tree-chrec.c (is_not_constant_evolution, | |
346 | is_multivariate_chrec_rec, is_multivariate_chrec, | |
347 | chrec_contains_symbols, chrec_contains_undetermined, | |
348 | tree_contains_chrecs, evolution_function_is_affine_multivariate_p, | |
349 | evolution_function_is_univariate_p, avoid_arithmetics_in_type_p, | |
350 | eq_evolutions_p, scev_direction): Likewise. | |
351 | * tree-chrec.h (automatically_generated_chrec_p, tree_is_chrec, | |
352 | eq_evolutions_p, is_multivariate_chrec, chrec_contains_symbols, | |
353 | chrec_contains_symbols_defined_in_loop, | |
354 | chrec_contains_undetermined, tree_contains_chrecs, | |
355 | evolution_function_is_affine_multivariate_p, | |
356 | evolution_function_is_univariate_p, chrec_zerop, | |
357 | evolution_function_is_constant_p, evolution_function_is_affine_p, | |
358 | evolution_function_is_affine_or_constant_p, | |
359 | tree_does_not_contain_chrecs, chrec_type): Likewise. | |
360 | * tree-data-ref.c (tree_fold_divides_p, | |
361 | object_address_invariant_in_loop_p, dr_may_alias_p, | |
362 | ziv_subscript_p, siv_subscript_p, gcd_of_steps_may_divide_p, | |
363 | same_access_functions, constant_access_functions, | |
364 | access_functions_are_affine_or_constant_p, find_vertex_for_stmt): | |
365 | Likewise. | |
366 | * tree-flow.h (scev_direction): Likewise. | |
367 | * tree-gimple.c (is_gimple_stmt): Likewise. | |
368 | * tree-outof-ssa.c (identical_copies_p, identical_stmt_lists_p): | |
369 | Likewise. | |
370 | * tree-pretty-print.c (op_prio): Likewise. | |
371 | * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop, | |
372 | analyzable_condition, backedge_phi_arg_p): Likewise. | |
373 | * tree-scalar-evolution.h (get_chrec_loop): Likewise. | |
374 | * tree-ssa-operands.c (get_name_decl, operand_build_cmp): Likewise. | |
375 | * tree-ssa-threadupdate.c (dbds_continue_enumeration_p): | |
376 | Likewise. | |
377 | ||
7b3a7c6b | 378 | 2007-08-13 Dan Hipschman <dsh@google.com> |
379 | ||
380 | PR c/32953 | |
381 | * c-format.c (check_format_arg): Move check for zero-length | |
382 | format strings below the check for unterminated strings. | |
383 | ||
0eb14c3d | 384 | 2007-08-13 Andrew Pinski <pinskia@gmail.com> |
385 | ||
386 | PR C/30427 | |
387 | * c-typeck.c (build_unary_op <case BIT_NOT_EXPR>): Reject vector float | |
388 | types. | |
389 | ||
a7cb1e13 | 390 | 2007-08-13 Nick Clifton <nickc@redhat.com> |
391 | ||
392 | * config/arm/arm_neon.h: Revert GPLv3 patch to this file. | |
393 | ||
6a78072d | 394 | 2007-08-12 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
395 | ||
396 | PR fortran/32860 | |
397 | * c-format.c (gcc_gfc_length_specs): New array. | |
398 | (gcc_gfc_char_table): Add unsigned specifier, and references to | |
399 | the l length modifier. | |
400 | (format_types_orig): Use the new gcc_gfc_length_specs. | |
401 | ||
048a46c2 | 402 | 2007-08-12 Sa Liu <saliu@de.ibm.com> |
403 | ||
404 | * emit-rtl.c (try_split): Relink the insns with REG_LIBCALL note | |
405 | and with REG_RETVAL note after split. | |
406 | ||
b1b7c0c4 | 407 | >>>>>>> .r127481 |
28c18fea | 408 | 2007-08-11 David Daney <ddaney@avtrex.com> |
409 | ||
410 | * config/mips/mips.c (mips_sched_reorder): Mark cycle parameter | |
411 | as ATTRIBUTE_UNUSED. | |
412 | ||
26ac30e1 | 413 | 2007-08-11 David Edelsohn <edelsohn@gnu.org> |
414 | Segher Boessenkool <segher@kernel.crashing.org> | |
415 | ||
416 | * config/rs6000/rs6000.h (CC1_CPU_SPEC): Define as empty string if | |
417 | HAVE_LOCAL_CPU_DETECT not defined. | |
418 | ||
2de29097 | 419 | 2007-08-11 Jan Hubicka <jh@suse.cz> |
420 | ||
421 | * cgraphunit.c (record_cdtor_fn): Declare all cdtors always inlined. | |
422 | (cgraph_process_new_functions): Honor previous value of | |
423 | disregard_inline_limits. | |
424 | * ipa-inline.c (compute_inline_parameters): Likewise. | |
425 | ||
32c2fdea | 426 | 2007-08-11 Ian Lance Taylor <iant@google.com> |
427 | ||
428 | * alias.h (alias_set_type): Define new type. | |
429 | (ALIAS_SET_MEMORY_BARRIER): Use it. | |
430 | * rtl.h: Include alias.h. | |
431 | (struct mem_attrs): Use alias_set_type. | |
432 | * tree.h: Include alias.h | |
433 | (struct tree_type): Use alias_set_type. | |
434 | (struct tree_struct_field_tag): Likewise. | |
435 | (struct tree_decl_common): Likewise. | |
436 | * alias.c (struct alias_set_entry): Use alias_set_type. | |
437 | (get_alias_set_entry, alias_set_subset_of): Likewise. | |
438 | (alias_sets_conflict_p): Likewise. | |
439 | (alias_sets_must_conflict_p): Likewise. | |
440 | (objects_must_conflict_p): Likewise. | |
441 | (get_alias_set, new_alias_set): Likewise. | |
442 | (record_alias_subset, record_component_aliases): Likewise. | |
443 | (varargs_set, frame_set): Change to alias_set_type. | |
444 | (get_varargs_alias_set): Use alias_set_type. | |
445 | (get_frame_alias_set): Likewise. | |
446 | * builtins.c (setjmp_alias_set): Change to alias_set_type. | |
447 | * dse.c (struct store_info): Use alias_set_type. | |
448 | (struct read_info, struct clear_alias_mode_holder): Likewise. | |
449 | (clear_alias_set_lookup, canon_address): Likewise. | |
450 | (record_store, check_mem_read_rtx): Likewise. | |
451 | (dse_record_singleton_alias_set): Likewise. | |
452 | (dse_invalidate_singleton_alias_set): Likewise. | |
453 | * emit-rtl.c (get_mem_attrs): Likewise. | |
454 | (set_mem_attributes_minus_bitpos): Likewise. | |
455 | (set_mem_alias_set): Likewise. | |
456 | * expr.c (store_constructor_field, store_field): Likewise. | |
457 | * gimplify.c (struct gimplify_init_ctor_preeval_data): Likewise. | |
458 | * langhooks.c (lhd_get_alias_set): Likewise. | |
459 | * langhooks-def.h (lhd_get_alias_set): Likewise. | |
460 | * reload1.c (alter_reg): Likewise. | |
461 | * tree-flow.h (struct fieldoff): Likewise. | |
462 | * tree-ssa-alias.c (struct alias_map_d): Likewise. | |
463 | (may_alias_p, get_smt_for, create_sft): Likewise. | |
464 | * tree-ssa-alias-warnings.c (nonstandard_alias_types_p): Likewise. | |
465 | * tree-ssa-structalias.c (set_uids_in_ptset): Likewise. | |
466 | (merge_smts_into): Likewise. | |
467 | * varasm.c (const_alias_set): Likewise. | |
468 | * c-common.c (strict_aliasing_warning): Likewise. | |
469 | (c_common_get_alias_set): Likewise. | |
470 | * dse.h (dse_record_singleton_alias_set): Update declaration. | |
471 | (dse_invalidate_singleton_alias_set): Likewise. | |
472 | * emit-rtl.h (set_mem_alias_set): Likewise. | |
473 | * c-common.h (c_common_get_alias_set): Likewise. | |
474 | * print-rtl.c (print_rtx): Cast MEM_ALIAS_SET when printing it. | |
475 | * print-tree.c (print_node): Likewise. | |
476 | * config/alpha/alpha.c (alpha_sr_alias_set): Change to | |
477 | alias_set_type. | |
478 | (alpha_setup_incoming_varargs): Use alias_set_type. | |
479 | * config/i386/i386.c (setup_incoming_varargs_64): Use | |
480 | alias_set_type. | |
481 | (setup_incoming_varargs_ms_64): Likewise. | |
482 | (ix86_GOT_alias_set): Likewise. | |
483 | * config/mn10300/mn10300.c (mn10300_builtin_saveregs): Likewise. | |
484 | * config/rs6000/rs6000.c (setup_incoming_varargs): Likewise. | |
485 | (set): Change to alias_set_type. | |
486 | (get_TOC_alias_set): Use alias_set_type. | |
487 | * config/rs6000/rs6000-protos.h (get_TOC_alias_set): Update | |
488 | declaration. | |
489 | * config/sh/sh.c (sh_builtin_saveregs): Use alias_set_type. | |
490 | * config/sparc/sparc.c (sparc_sr_alias_set): Change to | |
491 | alias_set_type. | |
492 | (struct_value_alias_set): Likewise. | |
493 | * Makefile.in (GTFILES): Add $(srcdir)/alias.h. | |
494 | ||
2baac351 | 495 | 2007-08-11 Richard Sandiford <richard@codesourcery.com> |
496 | ||
497 | * config/vxworks-dummy.h (TARGET_VXWORKS): Define. | |
498 | * config/vxworks.h (TARGET_VXWORKS): Override. | |
499 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Don't define | |
500 | "mips" if TARGET_VXWORKS. | |
501 | ||
90af1361 | 502 | 2007-08-11 Richard Sandiford <richard@codesourcery.com> |
503 | ||
504 | * calls.c (avoid_likely_spilled_reg): New function. | |
505 | (expand_call): Use it. | |
506 | ||
b8abcbd2 | 507 | 2007-08-11 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
508 | ||
509 | * c-typeck.c (build_c_cast): Add OPT_Wcast_qual to warnings. | |
510 | ||
4c10df75 | 511 | 2007-08-10 Adam Nemet <anemet@caviumnetworks.com> |
512 | ||
513 | * config/mips/predicates.md (const_call_insn_operand): Invoke | |
514 | SYMBOL_REF_LONG_CALL_P only on SYMBOL_REFs. | |
515 | ||
293e5c85 | 516 | 2007-08-10 David Edelsohn <edelsohn@gnu.org> |
517 | ||
518 | PR target/33042 | |
519 | * config/rs6000/driver-rs6000.c: Include link.h. | |
520 | Use ElfW instead of wordsize-specif typedef. | |
521 | ||
c21f4fcd | 522 | 2007-08-10 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
523 | ||
524 | * system.h (CONST_CAST): New. | |
525 | * c-decl.c (c_make_fname_decl): Use it. | |
526 | * c-lex.c (cb_ident, lex_string): Likewise. | |
527 | * c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise. | |
528 | * gcc.c (set_spec, read_specs, for_each_path, execute, do_spec_1, | |
529 | give_switch, set_multilib_dir): Likewise. | |
530 | * gengtype-parse.c (string_seq, typedef_name): Likewise. | |
531 | * passes.c (execute_one_pass): Likewise. | |
532 | * prefix.c (update_path): Likewise. | |
533 | * pretty-print.c (pp_base_destroy_prefix): Likewise. | |
534 | * tree.c (build_string): Likewise. | |
535 | ||
e7ec31c6 | 536 | 2007-08-10 Aldy Hernandez <aldyh@redhat.com> |
537 | ||
538 | * tree-flow-inline.h (is_exec_stmt): Remove. | |
539 | (is_label_stmt): Remove. | |
540 | * tree-flow.h: Remove prototypes for is_exec_stmt, get_filename, and | |
541 | is_label_stmt. | |
542 | ||
4d8ad352 | 543 | 2007-08-10 Andreas Krebbel <krebbel1@de.ibm.com> |
544 | ||
545 | * lower-subreg.c (resolve_shift_zext): Don't adjust | |
546 | src_reg_num for wordmode operands. | |
547 | ||
657801e9 | 548 | 2007-08-10 Sandra Loosemore <sandra@codesourcery.com> |
549 | David Ung <davidu@mips.com> | |
550 | ||
551 | * config/mips/mips.c (TARGET_SCHED_INIT): Define. | |
552 | (TARGET_SCHED_REORDER2): Define. | |
553 | (mips_maybe_swap_ready): New. | |
554 | (mips_last_74k_agen_insn): New. | |
555 | (mips_74k_agen_init): New. | |
556 | (mips_74k_agen_reorder): New function to group loads and stores | |
557 | in the ready queue. | |
558 | (mips_sched_init): New. | |
559 | (mips_sched_reorder): Don't do initialization here. Call | |
560 | mips_74k_agen_reorder. | |
561 | (mips_variable_issue): Call mips_74k_agen_init. | |
562 | ||
c27a314d | 563 | 2007-08-10 Aldy Hernandez <aldyh@redhat.com> |
564 | ||
565 | * tree-flow-inline.h (get_filename): Remove. | |
566 | ||
6107a46e | 567 | 2007-08-10 Richard Sandiford <richard@codesourcery.com> |
568 | ||
569 | * config/mips/mips-protos.h (mips_address_insns): Add a boolean | |
570 | argument. | |
571 | (mips_fetch_insns): Delete in favor of... | |
572 | (mips_load_store_insns): ...this new function. | |
573 | * config/mips/mips.c (mips_address_insns): Add a boolean argument | |
574 | to say whether multiword moves _might_ be split. | |
575 | (mips_fetch_insns): Delete in favor of... | |
576 | (mips_load_store_insns): ...this new function. | |
577 | (mips_rtx_costs): Update the call to mips_address_insns. | |
578 | (mips_address_cost): Likewise. | |
579 | * config/mips/mips.md (length): Use mips_load_store_insns instead | |
580 | of mips_fetch_insns. | |
581 | * config/mips/constraints.md (R): Use mips_address_insns rather | |
582 | than mips_fetch_insns. Assume that the move never needs to be split. | |
583 | ||
951d98af | 584 | 2007-08-09 Sandra Loosemore <sandra@codesourcery.com> |
585 | ||
586 | * config/mips/mips.opt (mhard-float, msoft-float): Make these | |
587 | control TARGET_HARD_FLOAT_ABI and TARGET_SOFT_FLOAT_ABI, rather | |
588 | than TARGET_HARD_FLOAT and TARGET_SOFT_FLOAT. | |
589 | * config/mips/mips.h (mips16_hard_float): Delete. | |
590 | (TARGET_HARD_FLOAT_ABI, TARGET_SOFT_FLOAT_ABI): Delete these | |
591 | definitions, and replace with.... | |
592 | (TARGET_HARD_FLOAT, TARGET_SOFT_FLOAT): Define. | |
593 | * config/mips/mips.c (mips16_hard_float): Delete. Replace | |
594 | all references with (TARGET_MIPS16 && TARGET_HARD_FLOAT_ABI). | |
595 | (MIPS_MARCH_CONTROLS_SOFT_FLOAT): Update comments. | |
596 | (override_options): Replace MASK_SOFT_FLOAT references with | |
597 | MASK_SOFT_FLOAT_ABI. Delete twiddling with MASK_SOFT_FLOAT | |
598 | and mips16_hard_float when TARGET_MIPS16. | |
599 | ||
ed9e916d | 600 | 2007-08-09 Andrew Pinski <andrew_pinski@playstation.sony.com> |
601 | ||
602 | PR c/32796 | |
603 | * c-typeck.c (build_binary_op): Check for non pointer types before | |
604 | calling int_fits_type_p. | |
605 | ||
9e0e518b | 606 | 2007-08-09 Andrew Pinski <andrew_pinski@playstation.sony.com> |
607 | ||
608 | PR middle-end/32813 | |
609 | * fold-const.c (omit_one_operand): Return only the ommitted expression | |
610 | if the result is an empty statement. | |
611 | (pedantic_omit_one_operand): Likewise. | |
612 | ||
227d73b4 | 613 | 2007-08-09 Daniel Berlin <dberlin@dberlin.org> |
614 | ||
615 | * c-typeck.c (readonly_error): Improve error for assignment. | |
616 | ||
617 | * c-pretty-print.c (pp_c_additive_expression): Handle pointer-plus | |
618 | expression. | |
619 | (pp_c_expression): Ditto. | |
620 | ||
5cda8d0d | 621 | 2007-08-09 Simon Baldwin <simonb@google.com> |
622 | ||
623 | * simplify-rtx.c (simplify_binary_operation_1): Removed erroneous | |
624 | break that was preventing simplify_associative_operation() for xor. | |
625 | ||
e533b20e | 626 | 2007-08-09 Sandra Loosemore <sandra@codesourcery.com> |
627 | Nigel Stephens <nigel@mips.com> | |
628 | ||
629 | * doc/tm.texi (CLZ_DEFINED_VALUE_AT_ZERO, CTZ_DEFINED_VALUE_AT_ZERO): | |
630 | Document change in interpretation of value from boolean to | |
631 | tri-state integer. | |
632 | * optabs.c (expand_ffs, expand_ctz): New functions to compute | |
633 | ffs and ctz using clz. | |
634 | (expand_unop): Call them. | |
635 | * config/rs6000/rs6000.h (CLZ_DEFINED_VALUE_AT_ZERO): Fix its | |
636 | result value. | |
637 | (CTZ_DEFINED_VALUE_AT_ZERO): Likewise. | |
638 | * config/mips/mips.h (CLZ_DEFINED_VALUE_AT_ZERO): Likewise, to | |
639 | enable the new ffs expansion on this target. | |
640 | ||
99bdde56 | 641 | 2007-08-09 Jan Hubicka <jh@suse.cz> |
642 | ||
643 | * optabs.c (expand_widen_pattern_expr): Use optabs accestors. | |
644 | (expand_ternary_op): Likewise. | |
645 | (expand_vec_shift_expr): Likewise. | |
646 | (expand_binop_directly): Likewise. | |
647 | (expand_binop): Likewise. | |
648 | (sign_expand_binop): Likewise. | |
649 | (expand_twoval_unop): Likewise. | |
650 | (expand_twoval_binop): Likewise. | |
651 | (expand_twoval_binop_libfunc): Likewise. | |
652 | (widen_clz): Likewise. | |
653 | (widen_bswap): Likewise. | |
654 | (expand_parity): Likewise. | |
655 | (expand_unop): Likewise. | |
656 | (expand_abs_nojump): Likewise. | |
657 | (expand_copysign): Likewise. | |
658 | (emit_no_conflict_block): Likewise. | |
659 | (emit_libcall_block): Likewise. | |
660 | (can_compare_p): Likewise. | |
661 | (prepare_cmp_insn): Likewise. | |
662 | (emit_cmp_and_jump_insn_1): Likewise. | |
663 | (prepare_float_lib_cmp): Likewise. | |
664 | (emit_conditional_add): Likewise. | |
665 | (gen_add2_insn): Likewise. | |
666 | (have_add2_insn): Likewise. | |
667 | (gen_sub2_insn): Likewise. | |
668 | (have_sub2_insn): Likewise. | |
669 | (can_extend_p): Likewise. | |
670 | (can_fix_p): Likewise. | |
671 | (can_float_p): Likewise. | |
672 | (expand_float): Likewise. | |
673 | (expand_fix): Likewise. | |
674 | (expand_sfix_optab): Likewise. | |
675 | (new_optab): Likewise. | |
676 | (new_convert_optab): Likewise. | |
677 | (init_libfuncs): Likewise. | |
678 | (init_interclass_conv_libfuncs): Likewise. | |
679 | (init_intraclass_conv_libfuncs): Likewise. | |
680 | (set_conv_libfunc): Likewise. | |
681 | (init_optabs): Likewise. | |
682 | (debug_optab_libfuncs): Likewise. | |
683 | (gen_cond_trap): Likewise. | |
684 | * optabs.h (optab_handler, convert_optab_hanlder): New. | |
685 | * genopinit.c: Update optabs generation table. | |
686 | * reload.c (find_reloads_address_1): Use optabs accestors. | |
687 | * builtins.c (expand_builtin_mathfn): Likewise. | |
688 | (expand_builtin_mathfn_2): Likewise. | |
689 | (expand_builtin_mathfn_3): Likewise. | |
690 | (expand_builtin_interclass_mathfn): Likewise. | |
691 | (expand_builtin_sincos): Likewise. | |
692 | (expand_builtin_cexpi): Likewise. | |
693 | (expand_builtin_powi): Likewise. | |
694 | (expand_builtin_strlen): Likewise. | |
695 | * dojump.c (do_jump): Likewise. | |
696 | * expr.c (convert_move): Likewise. | |
697 | (move_by_pieces): Likewise. | |
698 | (move_by_pieces_ninsns): Likewise. | |
699 | (can_store_by_pieces): Likewise. | |
700 | (store_by_pieces_1): Likewise. | |
701 | (emit_move_via_integer): Likewise. | |
702 | (emit_move_complex): Likewise. | |
703 | (emit_move_ccmode): Likewise. | |
704 | (emit_move_insn_1): Likewise. | |
705 | (emit_single_push_insn): Likewise. | |
706 | (store_constructor): Likewise. | |
707 | (expand_expr_real_1): Likewise. | |
708 | (do_store_flag): Likewise. | |
709 | * ada/misc.c (gnat_compute_largest_alignment): Likewise. | |
710 | (enumerate_modes): Likewise. | |
711 | * tree-vectorizer.c (vect_supportable_dr_alignment): Likewise. | |
712 | (supportable_widening_operation): Likewise. | |
713 | (supportable_narrowing_operation): Likewise. | |
714 | * expmed.c (store_bit_field_1): Likewise. | |
715 | (extract_bit_field_1): Likewise. | |
716 | (expand_mult_highpart_optab): Likewise. | |
717 | (expand_smod_pow2): Likewise. | |
718 | (expand_divmod): Likewise. | |
719 | (emit_store_flag): Likewise. | |
720 | * tree-vect-patterns.c | |
721 | (vect_pattern_recog_1): Likewise. | |
722 | * tree-ssa-loop-prefetch.c | |
723 | (nontemporal_store_p): Likewise. | |
724 | * tree-vect-transform.c (vect_model_reduction_cost): Likewise. | |
725 | (vect_create_epilog_for_reduction): Likewise. | |
726 | (vectorizable_reduction): Likewise. | |
727 | (vectorizable_operation): Likewise. | |
728 | (vect_strided_store_supported): Likewise. | |
729 | (vectorizable_store): Likewise. | |
730 | (vect_strided_load_supported): Likewise. | |
731 | (vectorizable_load): Likewise. | |
732 | * combine.c (simplify_comparison): Likewise. | |
733 | * tree-vect-generic.c | |
734 | (type_for_widest_vector_mode): Likewise. | |
735 | (expand_vector_operations_1): Likewise. | |
736 | * config/spu/spu.c (spu_expand_mov): Likewise. | |
737 | (spu_emit_vector_compare): Likewise. | |
738 | * config/rs6000/rs6000.c | |
739 | (rs6000_emit_vector_compare): Likewise. | |
740 | * stmt.c (add_case_node): Likewise. | |
741 | * reload1.c (gen_reload): | |
742 | ||
4dc2a232 | 743 | 2007-08-09 Michael Matz <matz@suse.de> |
744 | ||
745 | * tree.h (fixed_zerop): Declare as taking a const_tree. | |
746 | * tree.c (fixed_zerop): Take a const_tree. | |
747 | ||
d984cd60 | 748 | 2007-08-09 Ira Rosen <irar@il.ibm.com> |
749 | ||
750 | * tree-vect-transform.c (vectorizable_store): Remove call to | |
751 | copy_virtual_operands() and call mark_symbols_for_renaming() for | |
752 | the created vector store. | |
753 | (vect_setup_realignment): Don't call copy_virtual_operands() and | |
754 | update_vuses_to_preheader(). | |
755 | (vectorizable_load): Don't call copy_virtual_operands(). | |
756 | (update_vuses_to_preheader): Remove. | |
757 | ||
06f0b99c | 758 | 2007-08-08 Chao-ying Fu <fu@mips.com> |
759 | ||
760 | * tree.def (FIXED_POINT_TYPE): New type. | |
761 | (FIXED_CST): New constant. | |
762 | (FIXED_CONVERT_EXPR): New expr. | |
763 | * doc/c-tree.texi (Types): Document FIXED_POINT_TYPE. | |
764 | (Expressions): Document FIXED_CST and FIXED_CONVERT_EXPR. | |
765 | * tree.h (struct tree_base): Add saturating_flag. | |
766 | Remove one bit of spare for saturating_flag. | |
767 | (NUMERICAL_TYPE_CHECK): Support FIXED_POINT_TYPE. | |
768 | (NON_SAT_FIXED_POINT_TYPE_P, SAT_FIXED_POINT_TYPE_P, | |
769 | FIXED_POINT_TYPE_P): Define. | |
770 | (TYPE_SATURATING): Define. | |
771 | (TREE_FIXED_CST_PTR, TREE_FIXED_CST): Define. | |
772 | (struct tree_fixed_cst): New. | |
773 | (TYPE_IBIT, TYPE_FBIT): Define. | |
774 | (tree_node): Add fixed_cst. | |
775 | (enum tree_index): Add new enumeration values of | |
776 | TI_SAT_SFRACT_TYPE, TI_SAT_FRACT_TYPE, TI_SAT_LFRACT_TYPE, | |
777 | TI_SAT_LLFRACT_TYPE, TI_SAT_USFRACT_TYPE, TI_SAT_UFRACT_TYPE, | |
778 | TI_SAT_ULFRACT_TYPE, TI_SAT_ULLFRACT_TYPE, TI_SFRACT_TYPE, | |
779 | TI_FRACT_TYPE, TI_LFRACT_TYPE, TI_LLFRACT_TYPE, TI_USFRACT_TYPE, | |
780 | TI_UFRACT_TYPE, TI_ULFRACT_TYPE, TI_ULLFRACT_TYPE, | |
781 | TI_SAT_SACCUM_TYPE, TI_SAT_ACCUM_TYPE, TI_SAT_LACCUM_TYPE, | |
782 | TI_SAT_LLACCUM_TYPE, TI_SAT_USACCUM_TYPE, TI_SAT_UACCUM_TYPE, | |
783 | TI_SAT_ULACCUM_TYPE, TI_SAT_ULLACCUM_TYPE, TI_SACCUM_TYPE, | |
784 | TI_ACCUM_TYPE, TI_LACCUM_TYPE, TI_LLACCUM_TYPE, TI_USACCUM_TYPE, | |
785 | TI_UACCUM_TYPE, TI_ULACCUM_TYPE, TI_ULLACCUM_TYPE, | |
786 | TI_QQ_TYPE, TI_HQ_TYPE,_TYPE, TI_SQ_TYPE, TI_DQ_TYPE, TI_TQ_TYPE, | |
787 | TI_UQQ_TYPE, TI_UHQ_TYPE, TI_USQ_TYPE, TI_UDQ_TYPE, TI_UTQ_TYPE, | |
788 | TI_SAT_QQ_TYPE, TI_SAT_HQ_TYPE, TI_SAT_SQ_TYPE, TI_SAT_DQ_TYPE, | |
789 | TI_SAT_TQ_TYPE, TI_SAT_UQQ_TYPE, TI_SAT_UHQ_TYPE, TI_SAT_USQ_TYPE, | |
790 | TI_SAT_UDQ_TYPE, TI_SAT_UTQ_TYPE, TI_HA_TYPE, TI_SA_TYPE, TI_DA_TYPE, | |
791 | TI_TA_TYPE, TI_UHA_TYPE, TI_USA_TYPE, TI_UDA_TYPE, TI_UTA_TYPE, | |
792 | TI_SAT_HA_TYPE, TI_SAT_SA_TYPE, TI_SAT_DA_TYPE, TI_SAT_TA_TYPE, | |
793 | TI_SAT_UHA_TYPE, TI_SAT_USA_TYPE, TI_SAT_UDA_TYPE, TI_SAT_UTA_TYPE. | |
794 | (sat_short_fract_type_node, sat_fract_type_node, | |
795 | sat_long_fract_type_node, sat_long_long_fract_type_node, | |
796 | sat_unsigned_short_fract_type_node, sat_unsigned_fract_type_node, | |
797 | sat_unsigned_long_fract_type_node, | |
798 | sat_unsigned_long_long_fract_type_node, short_fract_type_node, | |
799 | fract_type_node, long_fract_type_node, long_long_fract_type_node, | |
800 | unsigned_short_fract_type_node, unsigned_fract_type_node, | |
801 | unsigned_long_fract_type_node, unsigned_long_long_fract_type_node, | |
802 | sat_short_accum_type_node, sat_accum_type_node, | |
803 | sat_long_accum_type_node, sat_long_long_accum_type_node, | |
804 | sat_unsigned_short_accum_type_node, sat_unsigned_accum_type_node, | |
805 | sat_unsigned_long_accum_type_node, | |
806 | sat_unsigned_long_long_accum_type_node, short_accum_type_node, | |
807 | accum_type_node, long_accum_type_node, long_long_accum_type_node, | |
808 | unsigned_short_accum_type_node, unsigned_accum_type_node, | |
809 | unsigned_long_accum_type_node, unsigned_long_long_accum_type_node, | |
810 | qq_type_node, hq_type_node, sq_type_node, dq_type_node, tq_type_node, | |
811 | uqq_type_node, uhq_type_node, usq_type_node, udq_type_node, | |
812 | utq_type_node, sat_qq_type_node, sat_hq_type_node, sat_sq_type_node, | |
813 | sat_dq_type_node, sat_tq_type_node, sat_uqq_type_node, | |
814 | sat_uhq_type_node, sat_usq_type_node, sat_udq_type_node, | |
815 | sat_utq_type_node, ha_type_node, sa_type_node, da_type_node, | |
816 | ta_type_node, uha_type_node, usa_type_node, uda_type_node, | |
817 | uta_type_node, sat_ha_type_node, sat_sa_type_node, sat_da_type_node, | |
818 | sat_ta_type_node, sat_uha_type_node, sat_usa_type_node, | |
819 | sat_uda_type_node, sat_uta_type_node): New macro. | |
820 | (make_fract_type, make_accum_type): Declare. | |
821 | (make_signed_fract_type, make_unsigned_fract_type, | |
822 | make_sat_signed_fract_type, make_sat_unsigned_fract_type, | |
823 | make_signed_accum_type, make_unsigned_accum_type, | |
824 | make_sat_signed_accum_type, make_sat_unsigned_accum_type, | |
825 | make_or_reuse_signed_fract_type, make_or_reuse_unsigned_fract_type, | |
826 | make_or_reuse_sat_signed_fract_type, | |
827 | make_or_reuse_sat_unsigned_fract_type, make_or_reuse_signed_accum_type, | |
828 | make_or_reuse_unsigned_accum_type, make_or_reuse_sat_signed_accum_type, | |
829 | make_or_reuse_sat_unsigned_accum_type): New macro. | |
830 | (fixed_zerop): Declare. | |
831 | * defaults.h (SHORT_FRACT_TYPE_SIZE, FRACT_TYPE_SIZE, | |
832 | LONG_FRACT_TYPE_SIZE, LONG_LONG_FRACT_TYPE_SIZE, | |
833 | SHORT_ACCUM_TYPE_SIZE, ACCUM_TYPE_SIZE, LONG_ACCUM_TYPE_SIZE, | |
834 | LONG_LONG_ACCUM_TYPE_SIZE): Define. | |
835 | * treestruct.def: Add TS_FIXED_CST. | |
836 | * Makefile.in (c-pretty-print.o): Add dependence on fixed-value.h. | |
837 | (tree.o): Likewise. | |
838 | (tree-dump.o): Likewise. | |
839 | (print-tree.o): Likewise. | |
840 | (tree-pretty-print.o): Likewise. | |
841 | (fold-const.o): Likewise. | |
842 | * tree-complex.c (some_nonzerop): Handle FIXED_CST. | |
843 | * tree-gimple.c (is_gimple_formal_tmp_rhs): Handle FIXED_CST. | |
844 | (is_gimple_min_invariant): Handle FIXED_CST. | |
845 | * stor-layout.c (int_mode_for_mode): Handle MODE_FRACT, MODE_UFRACT, | |
846 | MODE_ACCUM, MODE_UACCUM, MODE_VECTOR_FRACT, MODE_VECTOR_UFRACT, | |
847 | MODE_VECTOR_ACCUM, MODE_VECTOR_UACCUM. | |
848 | (layout_type): Handle FIXED_POINT_TYPE. | |
849 | (make_fract_type, make_accum_type): New functions. | |
850 | * tree-browser.c (browse_tree): Handle FIXED_POINT_TYPE. | |
851 | * tree-dump.c (fixed-value.h): New include. | |
852 | (dump_fixed): New function. | |
853 | (dequeue_and_dump): Handle FIXED_POINT_TYPE and FIXED_CST. | |
854 | * tree-inline.c (remap_type_1): Handle FIXED_POINT_TYPE. | |
855 | (estimate_num_insns_1): Handle FIXED_CST and FIXED_CONVERT_EXPR. | |
856 | * tree-pretty-print.c (fixed-value.h): New include. | |
857 | (dump_generic_node): Handle FIXED_POINT_TYPE, FIXED_CST, and | |
858 | FIXED_CONVERT_EXPR. | |
859 | * tree-scalar-evolution.c (get_scalar_evolution): Handle FIXED_CST. | |
860 | * tree-ssa-loop-im.c (for_each_index): Handle FIXED_CST. | |
861 | * tree-ssa-pre.c (poolify_tree): Handle FIXED_CST. | |
862 | * tree-ssa-reassoc.c (break_up_subtract_bb): We can do reassociation | |
863 | for non-saturating fixed-point types. | |
864 | (reassociate_bb): Likewise. | |
865 | * emit-rtl.c (fixed-value.h): New include. | |
866 | (fconst0, fconst1): New array. | |
867 | (init_emit_once): Initialize fconst0 and fconst1 for fixed-point modes. | |
868 | * tree-vect-generic.c expand_vector_operation): Support | |
869 | MODE_VECTOR_FRACT, MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, and | |
870 | MODE_VECTOR_UACCUM. | |
871 | (type_for_widest_vector_mode): Add one parameter for the | |
872 | saturating flag. | |
873 | Check scalar FRACT, UFRACT, ACCUM, and UACCUM mode to select their | |
874 | vector mode. | |
875 | Pass the satp parameter to type_for_mode for fixed-point types. | |
876 | (expand_vector_operations_1): Pass the saturating flag to | |
877 | type_for_widest_vector_mode. | |
878 | Support MODE_VECTOR_FRACT, MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, | |
879 | and MODE_VECTOR_UACCUM. | |
880 | * tree-vect-transform.c (vect_is_simple_cond): Support FIXED_CST. | |
881 | (vectorizable_condition): Likewise. | |
882 | * tree.c (fixed-value.h): New include. | |
883 | (tree_code_size): Support FIXED_CST. | |
884 | (build_fixed): New function. | |
885 | (build_one_cst): Support FIXED_POINT_TYPE for accum types. | |
886 | (fixed_zerop): New function. | |
887 | (tree_node_structure): Support FIXED_CST. | |
888 | (type_contains_placeholder_1): Support FIXED_POINT_TYPE. | |
889 | (build_type_attribute_qual_variant): Handle FIXED_POINT_TYPE. | |
890 | (type_hash_eq): Handle FIXED_POINT_TYPE. | |
891 | (simple_cst_equal): Support FIXED_CST. | |
892 | (iterative_hash_expr): Handle FIXED_CST. | |
893 | (get_unwidened): Make sure type is not FIXED_POINT_TYPE. | |
894 | (get_narrower): Likewise. | |
895 | (variably_modified_type_p): Handle FIXED_POINT_TYPE. | |
896 | (make_or_reuse_fract_type, make_or_reuse_accum_type): New functions. | |
897 | (build_common_tree_nodes_2): Use MAKE_FIXED_TYPE_NODE_FAMILY and | |
898 | MAKE_FIXED_MODE_NODE macros to initialize fixed-point type | |
899 | nodes. | |
900 | (build_vector_type_for_mode): Handle MODE_VECTOR_FRACT, | |
901 | MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, MODE_VECTOR_UACCUM. | |
902 | (initializer_zerop): Support FIXED_CST. | |
903 | (walk_tree): Handle FIXED_CST and FIXED_POINT_TYPE. | |
904 | * dwarf2out.c (base_type_die): Use DW_ATE_signed_fixed or | |
905 | DW_ATE_unsigned_fixed to describe FIXED_POINT_TYPE. | |
906 | (is_base_type): Handle FIXED_POINT_TYPE. | |
907 | (add_type_attribute): Handle FIXED_POINT_TYPE. | |
908 | (gen_type_die_with_usage): Handle FIXED_POINT_TYPE. | |
909 | * print-tree.c (fixed-value.h): New include. | |
910 | (print_node_brief): Support FIXED_CST. | |
911 | (print_node): Support FIXED_POINT_TYPE and FIXED_CST. | |
912 | * c-pretty-print.c (fixed-value.h): New include. | |
913 | (pp_c_type_specifier): Handle FIXED_POINT_TYPE. Need to pass | |
914 | TYPE_SATURATING to c_common_type_for_mode for fixed-point modes. | |
915 | (pp_c_direct_abstract_declarator): Handle FIXED_POINT_TYPE. | |
916 | Support fixed-point types for inner items in VECTOR_TYPE. | |
917 | (pp_c_direct_declarator): Likewise. | |
918 | (pp_c_declarator): Likewise. | |
919 | (pp_c_fixed_constant): New function. | |
920 | (pp_c_constant): Handle FIXED_CST. | |
921 | (pp_c_primary_expression): Likewise. | |
922 | (pp_c_expression): Likewise. | |
923 | * fold-const.c (fixed-value.h): New include. | |
924 | (negate_expr_p): Return true for FIXED_CST. | |
925 | (fold_negate_expr): Support FIXED_CST. | |
926 | (split_tree): Support FIXED_CST. | |
927 | (const_binop): Support FIXED_CST. | |
928 | (fold_convert_const_int_from_fixed): New function to convert from | |
929 | fixed to int. | |
930 | (fold_convert_const_real_from_fixed): New function to convert from | |
931 | fixed to real. | |
932 | (fold_convert_const_fixed_from_fixed): New function to convert from | |
933 | fixed to another fixed. | |
934 | (fold_convert_const_fixed_from_int): New function to convert from | |
935 | int to fixed. | |
936 | (fold_convert_const_fixed_from_real): New function to convert from | |
937 | real to fixed. | |
938 | (fold_convert_const): Support conversions from fixed to int, from | |
939 | fixed to real, from fixed to fixed, from int to fixed, and from real | |
940 | to fixed. | |
941 | (fold_convert): Support FIXED_CST and FIXED_POINT_TYPE. | |
942 | (operand_equal_p): Support FIXED_CST. | |
943 | (make_range): For fixed-point modes, we need to pass the | |
944 | saturating flag as the 2nd parameter. | |
945 | (tree_swap_operands_p): Handle FIXED_CST. | |
946 | (fold_plusminus_mult_expr): For fract modes, we cannot generate | |
947 | constant 1. | |
948 | (fold_unary): Support FIXED_CONVERT_EXPR. | |
949 | (fold_binary): Handle FIXED_CST. | |
950 | Make sure the type is not saturating, before associating operations. | |
951 | Ex: A + B + C, A * B * C, (A1 * C1) +/- (A2 * C2). | |
952 | (tree_expr_nonnegative_warnv_p): Handle FIXED_CST. | |
953 | (fold_negate_const): Support FIXED_CST. | |
954 | (fold_relational_const): Support FIXED_CST. | |
955 | * gimplify.c (omp_firstprivatize_type_sizes): Handle FIXED_POINT_TYPE. | |
956 | (gimplify_expr): Handle FIXED_CST. | |
957 | (gimplify_type_sizes): Handle FIXED_POINT_TYPE. | |
958 | * ipa-prop.c (ipa_callsite_compute_param): Support FIXED_CST. | |
959 | * ipa-type-escape.c (type_to_consider): Handle FIXED_POINT_TYPE. | |
960 | * doc/tm.texi (Type Layout): Document SHORT_FRACT_TYPE_SIZE, | |
961 | FRACT_TYPE_SIZE, LONG_FRACT_TYPE_SIZE, LONG_LONG_FRACT_TYPE_SIZE, | |
962 | SHORT_ACCUM_TYPE_SIZE, ACCUM_TYPE_SIZE, LONG_ACCUM_TYPE_SIZE, | |
963 | LONG_LONG_ACCUM_TYPE_SIZE. | |
964 | * dbxout.c (dbxout_type): Handle FIXED_POINT_TYPE. | |
965 | * c-aux-info.c (gen_type): Handle FIXED_POINT_TYPE. | |
966 | * tree-sra.c (is_sra_scalar_type): Support FIXED_POINT_TYPE. | |
967 | * expmed.c (extract_bit_field): Support MODE_FRACT, MODE_UFRACT, | |
968 | MODE_ACCUM, and MODE_UACCUM. | |
969 | * tree-vectorizer.c (vect_is_simple_reduction): Check for saturating | |
970 | fixed-point types to disable reduction. | |
971 | * explow.c (promote_mode): Support FIXED_POINT_TYPE. | |
972 | ||
7cfb6ab6 | 973 | 2007-08-08 David Edelsohn <edelsohn@gnu.org> |
974 | ||
975 | * config/rs6000/x-rs6000: New file. | |
976 | * config/rs6000/darwin.h (CC1_SPEC): Add cc1_cpu. | |
977 | * config/rs6000/rs6000.h (EXTRA_SPECS): Add cc1_cpu. | |
978 | (EXTRA_SPEC_FUNCTIONS): Define. | |
979 | (HAVE_LOCAL_CPU_DETECT): Define. | |
980 | (CC1_CPU_SPEC): Define. | |
981 | * config/rs6000/driver-rs6000.c: New file. | |
982 | * config/rs6000/aix.h (CC1_SPEC): Define. | |
983 | * config/rs6000/sysv4.h (CC1_SPEC): Add cc1_cpu. | |
984 | * config.host: Add x-rs6000 to host_xmake_file if host and target | |
985 | are rs6000 or powerpc. | |
986 | ||
e5d92397 | 987 | 2007-08-08 Paolo Bonzini <paolo.bonzini@lu.unisi.ch> |
988 | ||
989 | * config/i386/t-crtstuff (CRTSTUFF_T_CFLAGS): Use +=. | |
990 | ||
f02776dd | 991 | 2007-08-08 Richard Sandiford <richard@codesourcery.com> |
992 | Sandra Loosemore <sandra@codesourcery.com> | |
993 | Chao-ying Fu <fu@mips.com> | |
994 | Nigel Stephens <nigel@mips.com> | |
995 | David Ung <davidu@mips.com> | |
996 | ||
997 | * doc/invoke.texi (-mcode-readable): Document. | |
998 | * config/mips/mips.opt (mcode-readable): New option. | |
999 | * config/mips/mips-protos.h (SYMBOL_32_HIGH): New symbol type. | |
1000 | * config/mips/mips.h (mips_code_readable_setting): New enum. | |
1001 | (mips_code_readable): Declare. | |
1002 | (TARGET_MIPS16_TEXT_LOADS, TARGET_MIPS16_PCREL_LOADS): New macros. | |
1003 | (TARGET_MIPS16_SHORT_JUMP_TABLES): New macro. | |
1004 | (JUMP_TABLES_IN_TEXT_SECTION): Use it. | |
1005 | (CASE_VECTOR_MODE, CASE_VECTOR_PC_RELATIVE): Likewise. Remove | |
1006 | boiler-plate comments. | |
1007 | (ASM_OUTPUT_ADDR_DIFF_ELT): Use TARGET_MIPS16_SHORT_JUMP_TABLES. | |
1008 | * config/mips/mips.c (mips_code_readable): New variable. | |
1009 | (mips_classify_symbol): Only return SYMBOL_PC_RELATIVE for | |
1010 | MIPS16 labels if TARGET_MIPS16_SHORT_JUMP_TABLES. Use both the | |
1011 | context and -mcode-readable setting to restrict the use of | |
1012 | SYMBOL_PC_RELATIVE for MIPS16 constant pool references. | |
1013 | Only return TARGET_FORCE_TO_MEM if PC-relative loads are allowed. | |
1014 | (mips_symbolic_constant_p): Handle SYMBOL_32_HIGH. | |
1015 | (mips_blocks_for_constant_p): Only return false for | |
1016 | TARGET_MIPS16_PCREL_LOADS. | |
1017 | (mips_symbol_insns_1): Treat HIGHs as 2 extended instructions | |
1018 | for MIPS16. Handle SYMBOL_32_HIGH. | |
1019 | (mips_const_insns): Allow HIGHs for MIPS16 too. | |
1020 | (mips_unspec_address_offset): New function, split out from... | |
1021 | (mips_unspec_address): ...here. | |
1022 | (mips_output_move): Handle MIPS16 HIGH moves. Use "li" to load | |
1023 | 16-bit symbolic constants. Assert approropiate conditions for | |
1024 | using the "la" and "dla" macros. | |
1025 | (mips_handle_option): Handle -mcode-readable=. | |
1026 | (override_options): Use %hi/%lo relocations for TARGET_MIPS16 too. | |
1027 | Set up mips_lo_relocs[SYMBOL_32_HIGH]. | |
1028 | (mips_strip_unspec_address): New function, split out from... | |
1029 | (print_operand_reloc): ...here. | |
1030 | (print_operand): Pass constants through mips_strip_unspec_address. | |
1031 | (print_operand_address): Likewise. | |
1032 | (mips_output_mi_thunk): Remove guard of mips16_lay_out_constants. | |
1033 | (mips_select_rtx_section): Remove MIPS16 handling. | |
1034 | (mips16_gp_pseudo_reg): Check currently_expanding_to_rtl. | |
1035 | (mips16_rewrite_pool_refs): Wrap the labels in an address UNSPEC. | |
1036 | (mips16_lay_out_constants): Do nothing unless | |
1037 | TARGET_MIPS16_PCREL_LOADS. | |
1038 | (mips_avoid_hazards): Remove guard of mips16_lay_out_constants. | |
1039 | * config/mips/mips.md: Split HIGHs for MIPS16. | |
1040 | (tablejump): Use TARGET_MIPS16_SHORT_JUMP_TABLES. | |
1041 | ||
8af7bf62 | 1042 | 2007-08-08 Richard Sandiford <richard@codesourcery.com> |
1043 | ||
1044 | * config/mips/mips-protos.h (mips_emit_move): Declare. | |
1045 | * config/mips/mips.c (mips_emit_move): New function. | |
1046 | (mips_force_temporary): Use mips_emit_move instead of emit_move_insn. | |
1047 | (mips_legitimize_const_move): Likewise. | |
1048 | (mips_legitimize_move): Likewise. | |
1049 | (mips_split_64bit_move): Likewise. | |
1050 | (mips_restore_gp): Likewise. | |
1051 | (mips_load_call_address): Likewise. | |
1052 | (mips_emit_fcc_reload): Likewise. | |
1053 | (mips_set_return_address): Likewise. | |
1054 | (mips_block_move_straight): Likewise. | |
1055 | (mips_block_move_loop): Likewise. | |
1056 | (mips_setup_incoming_varargs): Likewise. | |
1057 | (mips_save_reg): Likewise. | |
1058 | (mips_expand_prologue): Likewise. | |
1059 | (mips_restore_reg): Likewise. | |
1060 | (mips_expand_epilogue): Likewise. | |
1061 | (mips_output_mi_thunk): Likewise. | |
1062 | (build_mips16_call_stub): Likewise. | |
1063 | (mips_builtin_branch_and_move): Likewise. | |
1064 | * config/mips/mips.h (INITIALIZE_TRAMPOLINE): Likewise. | |
1065 | * config/mips/mips.md (fixuns_truncdfsi2): Likewise. | |
1066 | (fixuns_truncdfdi2): Likewise. | |
1067 | (fixuns_truncsfsi2): Likewise. | |
1068 | (fixuns_truncsfdi2): Likewise. | |
1069 | (loadgp_absolute): Likewise. | |
1070 | (builtin_setjmp_setup): Likewise. | |
1071 | (builtin_longjmp): Likewise. | |
1072 | (untyped_call): Likewise. | |
1073 | ||
0b14f86a | 1074 | 2007-08-08 Richard Sandiford <richard@codesourcery.com> |
1075 | ||
1076 | * config/mips/mips-protos.h (mips_split_symbol): Add a mode and | |
1077 | an "rtx *" argument. Return a bool. | |
1078 | * config/mips/mips.c (mips_split_symbol): Accept arbitrary source | |
1079 | values and return true if they can be split. Take the same kind of | |
1080 | mode argument as mips_symbol_insns. Add a "lo_sum_out" parameter | |
1081 | and store the lo_sum there if nonnull. Use the symbol type to | |
1082 | determine whether a $gp or HIGH is needed. | |
1083 | (mips_legitimize_address): Update call to mips_split_symbol and | |
1084 | simplify accordingly. | |
1085 | (mips_legitimize_const_move): Likewise. | |
1086 | * config/mips/mips.md: In the combine define_split, | |
1087 | check mips_split_symbol instead of splittable_symbolic_operand. | |
1088 | Update use of mips_split_symbol in the generator code. | |
1089 | * config/mips/predicates.md (splittable_symbolic_operand): Delete. | |
1090 | ||
87a97e78 | 1091 | 2007-08-08 Richard Sandiford <richard@codesourcery.com> |
1092 | ||
1093 | * config/mips/mips.c (mips_symbolic_address_p): Delete. | |
1094 | (mips_symbol_insns_1): New function, split out from... | |
1095 | (mips_symbol_insns): ...here. Take a mode argument. Treat loads | |
1096 | and stores separately from load addresses. | |
1097 | (mips_classify_address): Replace uses of mips_symbolic_address_p | |
1098 | with uses of mips_symbol_insns. | |
1099 | (mips_address_insns): Update calls to mips_symbol_insns. | |
1100 | (mips_const_insns): Likewise. | |
1101 | (mips_legitimize_address): Likewise. | |
1102 | ||
dcd433aa | 1103 | 2007-08-08 Richard Sandiford <richard@codesourcery.com> |
1104 | ||
1105 | * config/mips/mips-protos.h (SYMBOL_FORCE_TO_MEM): New symbol type. | |
1106 | * config/mips/mips.c (mips_classify_symbol): Skip TARGET_ABICALLS | |
1107 | block for locally-binding symbols if TARGET_ABSOLUTE_ABICALLS. | |
1108 | Return SYMBOL_FORCE_TO_MEM instead of SYMBOL_ABSOLUTE for | |
1109 | non-call contexts if TARGET_MIPS16. | |
1110 | (mips_symbolic_constant_p): Handle SYMBOL_FORCE_TO_MEM. | |
1111 | (mips_symbolic_address_p): Likewise. Remove special TARGET_MIPS16 | |
1112 | code for SYMBOL_ABSOLUTE. | |
1113 | (mips_symbol_insns): Likewise. | |
1114 | ||
5039caa5 | 1115 | 2007-08-08 Richard Sandiford <richard@codesourcery.com> |
1116 | ||
1117 | * config/mips/mips-protos.h (mips_symbol_context): New enumeration. | |
1118 | * config/mips/mips.c (mips_classify_symbol): Take a context argument. | |
1119 | (mips_symbolic_constant_p): Likewise. Update the call to | |
1120 | mips_classify_symbol. | |
1121 | (mips_classify_address): Update the calls to mips_symbolic_constant_p. | |
1122 | (mips_const_insns): Likewise. Update the call to mips_classify_symbol. | |
1123 | (mips_legitimize_address): Update the call to mips_symbolic_constant_p. | |
1124 | (print_operand_reloc): Add a context argument. Update the call to | |
1125 | mips_symbolic_constant_p. | |
1126 | (print_operand): Update the calls to print_operand_reloc. | |
1127 | (print_operand_address): Use print_operand_reloc rather than | |
1128 | print_operand. | |
1129 | (mips_rewrite_small_data_p): Add a context argument. Update the call | |
1130 | to mips_symbolic_constant_p. | |
1131 | (mips_small_data_pattern_1): Make DATA the containing mem. | |
1132 | Update the call to mips_rewrite_small_data_p. | |
1133 | (mips_rewrite_small_data_1): Likewise. | |
1134 | (mips_use_anchors_for_symbol_p): Update the call to | |
1135 | mips_symbolic_constant_p. | |
1136 | * config/mips/predicates.md (const_call_insn_operand): Likewise. | |
1137 | (splittable_symbolic_operand): Likewise. | |
1138 | (move_operand): Likewise. | |
1139 | (absolute_symbolic_operand): Likewise. | |
1140 | (got_disp_operand): Likewise. | |
1141 | (got_page_ofst_operand): Likewise. | |
1142 | ||
a738b930 | 1143 | 2007-08-08 Richard Sandiford <richard@codesourcery.com> |
1144 | ||
1145 | * config/mips/mips-protos.h (SYMBOL_GENERAL): Rename to... | |
1146 | (SYMBOL_ABSOLUTE): ...this. | |
1147 | (SYMBOL_SMALL_DATA): Rename to... | |
1148 | (SYMBOL_GP_RELATIVE): ...this. | |
1149 | (SYMBOL_CONSTANT_POOL): Rename to... | |
1150 | (SYMBOL_PC_RELATIVE): ...this. | |
1151 | * config/mips/mips.c (mips_classify_symbol, mips_symbolic_constant_p) | |
1152 | (mips_symbolic_address_p, mips_symbol_insns, override_options) | |
1153 | (mips_rewrite_small_data_p, mips_use_anchors_for_symbol_p): Update | |
1154 | after above changes. | |
1155 | * config/mips/predicates.md (const_call_insn_operand): Likewise. | |
1156 | (general_symbolic_operand): Rename to... | |
1157 | (absolute_symbolic_operand): ...this. | |
1158 | * config/mips/mips.md: Update after above changes. | |
1159 | ||
896dbaed | 1160 | 2007-08-08 Vladimir Yanovsky <yanov@il.ibm.com> |
1161 | Revital Eres <eres@il.ibm.com> | |
1162 | ||
1163 | * ddg.c (print_ddg): Add dump information. | |
1164 | * modulo-sched.c (print_node_sched_params): Add parameter and | |
1165 | verbosity. | |
1166 | (calculate_maxii): Remove function. | |
1167 | (undo_generate_reg_moves): Likewise. | |
1168 | (undo_permute_partial_schedule): Likewise. | |
1169 | (kernel_number_of_cycles): Likewise. | |
1170 | (MAXII_FACTOR): New definition to calculate the upper bound of II. | |
1171 | (sms_schedule): Use it. Remove profitability checks. | |
1172 | (sms_schedule_by_order): Fix order of nodes within the cycle. | |
1173 | ||
0c7f7ed4 | 1174 | 2007-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org> |
1175 | ||
1176 | * gcc/config/i386/gnu.h (STARTFILE_SPEC): Use gcrt0.o in profile mode, add | |
1177 | -profile option, add pie support. | |
1178 | (ENDFILE_SPEC): New spec. | |
1179 | * gcc/config/gnu.h (LIB_SPEC): Add -profile option. | |
1180 | ||
8786a5e0 | 1181 | 2007-08-08 Samuel Thibault <samuel.thibault@ens-lyon.org> |
1182 | ||
1183 | * gcc/config/i386/gnu.h (CPP_SPEC): Add -pthread option. | |
1184 | * gcc/config/gnu.h (LIB_SPEC): Likewise. | |
1185 | ||
a95c0776 | 1186 | 2007-08-07 Yaz Saito <saito@google.com> |
1187 | Ian Lance Taylor <iant@google.com> | |
1188 | ||
1189 | * common.opt (finstrument-functions-exclude-function-list): New | |
1190 | option. | |
1191 | (finstrument-functions-exclude-file-list): New option. | |
1192 | * opts.c (char_p): Define and DEF_VEC. | |
1193 | (flag_instrument_functions_exclude_functions): New static | |
1194 | variable. | |
1195 | (flag_instrument_functions_exclude_files): New static variable. | |
1196 | (add_instrument_functions_exclude_list): New static function. | |
1197 | (flag_instrument_functions_exclude_p): New function. | |
1198 | (common_handle_option): Handle new options. | |
1199 | * flags.h (flag_instrument_functions_exclude_p): Declare. | |
1200 | * gimplify.c (gimplify_function_tree): Call | |
1201 | flag_instrument_functions_exclude_p. | |
1202 | * doc/invoke.texi (Option Summary): Mention new options. | |
1203 | (Code Gen Options): Document new options. | |
1204 | ||
db2200eb | 1205 | 2007-08-07 Ian Lance Taylor <iant@google.com> |
1206 | ||
1207 | PR rtl-optimization/32776 | |
1208 | * lower-subreg.c (resolve_clobber): Call resolve_reg_notes. | |
1209 | (resolve_use): Likewise. | |
1210 | (decompose_multiword_subregs): Remove "changed" local variable. | |
1211 | ||
c6429fa9 | 1212 | 2007-08-07 Carlos O'Donell <carlos@codesourcery.com> |
1213 | ||
1214 | * configure.ac: Define HAVE_GNU_AS if $gas_flag is yes. | |
1215 | * configure: Regenerate. | |
1216 | * config.in: Regenerate. | |
1217 | * gcc.c [HAVE_GNU_AS]: Add "%{v} %{w:-W} %{I*} " to asm_options | |
1218 | spec string. | |
1219 | ||
58e13bdf | 1220 | 2007-08-07 Ian Lance Taylor <iant@google.com> |
1221 | ||
1222 | * lower-subreg.c (resolve_clobber): If the clobber has a LIBCALL | |
1223 | note, just delete the insn. | |
1224 | ||
046553d4 | 1225 | 2007-08-07 Andreas Schwab <schwab@suse.de> |
1226 | ||
1227 | PR bootstrap/32973 | |
1228 | * gengtype-lex.l: Ignore backslash/newline pair while scanning a | |
1229 | struct definition. | |
1230 | ||
9cf5d19e | 1231 | 2007-08-07 Andreas Krebbel <krebbel1@de.ibm.com> |
1232 | ||
1233 | * lower-subreg.c (resolve_subreg_use): Remove assertion. | |
1234 | (find_decomposable_shift_zext, resolve_shift_zext): New functions. | |
1235 | (decompose_multiword_subregs): Use the functions above to decompose | |
1236 | multiword shifts and zero-extends. | |
1237 | ||
b2eb12de | 1238 | 2007-08-07 Rask Ingemann Lambertsen <rask@sygehus.dk> |
1239 | ||
1240 | * doc/sourcebuild.texi (Test Directives): Fix "compile" and | |
1241 | "assemble" descriptions which were swapped. | |
1242 | ||
5efd9b45 | 1243 | 2007-08-06 Chao-ying Fu <fu@mips.com> |
1244 | ||
1245 | * fixed-value.h: New file. | |
1246 | * fixed-value.c: New file. | |
1247 | * Makefile.in (OBJS-common): Add fixed-value.o. | |
1248 | (fixed-value.o): New rule. | |
1249 | (GTFILES): Add fixed-value.h. | |
1250 | * double-int.c (double_int_scmp): We should use unsigned HOST_WIDE_INT | |
1251 | to compare a.low and b.low. | |
1252 | * gengtype.c (main): Handle FIXED_VALUE_TYPE type as scalar typedef. | |
1253 | ||
0f2457b8 | 1254 | 2007-08-06 H.J. Lu <hongjiu.lu@intel.com> |
1255 | Daniel Jacobowitz <dan@codesourcery.com> | |
1256 | ||
1257 | PR target/31868 | |
1258 | * config.gcc (x86_64-*-freebsd*): Add i386/t-crtstuff to | |
1259 | tmake_file. | |
1260 | (x86_64-*-netbsd*): Likewise. | |
1261 | (x86_64-*-linux*): Likewise. | |
1262 | (x86_64-*-kfreebsd*-gnu): Likewise. | |
1263 | (x86_64-*-knetbsd*-gnu): Likewise. | |
1264 | (i[34567]86-*-solaris2.1[0-9]*): Likewise. | |
1265 | ||
1266 | * config/i386/t-linux64 (CRTSTUFF_T_CFLAGS): Removed. | |
1267 | ||
1268 | * config/i386/t-crtstuff (CRTSTUFF_T_CFLAGS): Update comments. | |
1269 | Add -fno-asynchronous-unwind-tables. | |
1270 | ||
1271 | * config/t-freebsd (CRTSTUFF_T_CFLAGS_S): Add $(CRTSTUFF_T_CFLAGS). | |
1272 | * config/t-libc-ok (CRTSTUFF_T_CFLAGS_S): Likewise. | |
1273 | * config/t-lynx (CRTSTUFF_T_CFLAGS_S): Likewise. | |
1274 | * config/t-netbsd (CRTSTUFF_T_CFLAGS_S): Likewise. | |
1275 | * config/t-svr4 (CRTSTUFF_T_CFLAGS_S): Likewise. | |
1276 | ||
0ddb2244 | 1277 | 2007-08-06 Steve Ellcey <sje@cup.hp.com> |
1278 | ||
1279 | * config/ia64/ia64.c (ia64_c_mode_for_suffix): New. | |
1280 | (TARGET_C_MODE_FOR_SUFFIX): New. | |
1281 | ||
ffd77765 | 1282 | 2007-08-06 Steve Ellcey <sje@cup.hp.com> |
1283 | ||
1284 | * config/ia64/div.md (m2subrf4_cond): Change 'g' to 'G'. | |
1285 | ||
64ba0e80 | 1286 | 2007-08-06 Steve Ellcey <sje@cup.hp.com> |
1287 | ||
1288 | * config/ia64/ia64.h (MODES_TIEABLE_P): Fix typo. | |
1289 | ||
d07cd931 | 1290 | 2007-08-06 H.J. Lu <hongjiu.lu@intel.com> |
1291 | ||
1292 | * config/i386/i386.md: Check TARGET_ macros and optimize_size | |
1293 | before checking function returns in conditional expressions. | |
1294 | ||
d103f41f | 1295 | 2007-08-06 Alfred Minarik <a.minarik@aon.at> |
1296 | ||
1297 | PR pch/13676 | |
1298 | * doc/invoke.texi: Add .hp, .hxx, .hpp, .h, .HPP, .tcc as c++ header. | |
1299 | ||
d2c9d80d | 1300 | 2008-08-05 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1301 | ||
1302 | PR middle-end/32988 | |
1303 | * tree.c (build2_stat): Instead of checking for INTEGER_TYPE, check | |
1304 | for INTEGRAL_TYPE_P. | |
1305 | ||
314966f4 | 1306 | 2008-08-05 Paolo Bonzini <bonzini@gnu.org> |
1307 | ||
d07cd931 | 1308 | * configure.ac: Remove --enable-checking=df from default settings. |
1309 | * tree-pass.h (TODO_df_verify): New. Shift TODO_mark_first_instance. | |
1310 | * df-core.c (df_finish_pass) [ENABLE_CHECKING]: Schedule verification | |
1311 | if the parameter is true. | |
1312 | (df_analyze) [!ENABLE_DF_CHECKING]: Also do verification if the | |
1313 | DF_VERIFY_SCHEDULED flag is true. | |
1314 | * df.h (enum df_changeable_flags): Add DF_VERIFY_SCHEDULED. | |
1315 | (df_finish_pass): Adjust prototype. | |
1316 | * passes.c (execute_todo): Schedule verification if TODO_df_verify is | |
1317 | true. | |
1318 | ||
1319 | * see.c (pass_see): Add TODO_df_verify. | |
1320 | * loop-init.c (pass_rtl_move_loop_invariants): Add TODO_df_verify. | |
1321 | * global.c (rest_of_handle_global_alloc): Schedule verification | |
1322 | after the pass. | |
1323 | * local-alloc.c (rest_of_handle_local_alloc): Schedule verification | |
1324 | before the pass. | |
1325 | * function.c (pass_thread_prologue_and_epilogue): Add TODO_df_verify. | |
1326 | * gcse.c (rest_of_handle_gcse): Adjust call to df_finish_pass. | |
1327 | * loop-iv.c (iv_analysis_done): Schedule verification after the pass. | |
1328 | ||
1329 | * config/sh/sh.c (sh_output_mi_thunk): Remove dead code. | |
1330 | * config/ia64/ia64.c (ia64_reorg): Adjust call to df_finish_pass. | |
1331 | * config/bfin/bfin.c (bfin_reorg): Adjust call to df_finish_pass. | |
314966f4 | 1332 | |
3a943084 | 1333 | 2007-08-05 Vladimir Yanovsky <yanov@il.ibm.com> |
d07cd931 | 1334 | Revital Eres <eres@il.ibm.com> |
3a943084 | 1335 | |
1336 | * doc/invoke.texi (-fmodulo-sched-allow-regmoves): Document new | |
1337 | flag. | |
1338 | * ddg.c (create_ddg_dependence): Rename to... | |
1339 | (create_ddg_dep_from_intra_loop_link): This. Do not check | |
1340 | for interloop edges. Do not create anti dependence edge when | |
1341 | a true dependence edge exists in the opposite direction and | |
1342 | -fmodulo-sched-allow-regmoves is set. | |
1343 | (build_intra_loop_deps): Call create_ddg_dep_from_intra_loop_link. | |
1344 | (add_cross_iteration_register_deps): Create anti dependence edge | |
1345 | when -fno-modulo-sched-allow-regmoves is set. | |
1346 | * common.opt (-fmodulo-sched-allow-regmoves): New flag. | |
1347 | ||
befb0bac | 1348 | 2007-08-04 Richard Sandiford <richard@codesourcery.com> |
1349 | ||
1350 | * config/arm/arm.md (movsi): Add braces. | |
1351 | ||
f6b25e1c | 1352 | 2007-08-04 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1353 | ||
1354 | PR middle-end/32780 | |
1355 | * fold-const.c (fold_binary <case MINUS_EXPR>): Fix the type of operands | |
1356 | for the folding of "A - (A & B)" into "~B & A"; cast them to type. | |
1357 | ||
f24ec26f | 1358 | 2007-08-03 Zdenek Dvorak <ook@ucw.cz> |
1359 | ||
1360 | * tree-ssa-threadupdate.c (thread_through_all_blocks): Use loops' state | |
1361 | accessor functions. | |
1362 | * cfgloopmanip.c (remove_path, create_preheaders, | |
1363 | force_single_succ_latches, fix_loop_structure): Ditto. | |
1364 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa, | |
1365 | tree_duplicate_loop_to_header_edge): Ditto. | |
1366 | * cfgloopanal.c (mark_irreducible_loops): Ditto. | |
1367 | * loop-init.c (loop_optimizer_init, loop_optimizer_finalize): | |
1368 | Ditto. | |
1369 | * tree-cfgcleanup.c (cleanup_tree_cfg_noloop, repair_loop_structures, | |
1370 | cleanup_tree_cfg): Ditto. | |
1371 | * tree-cfg.c (tree_merge_blocks): Ditto. | |
1372 | * cfgloop.c (rescan_loop_exit, record_loop_exits, | |
1373 | release_recorded_exits, get_loop_exit_edges, verify_loop_structure, | |
1374 | loop_preheader_edge, single_exit): Ditto. | |
1375 | (flow_loops_find): Do not clear loops->state. | |
1376 | * cfgloop.h (loops_state_satisfies_p, loops_state_set, | |
1377 | loops_state_clear): New functions. | |
1378 | ||
e45bbad2 | 1379 | 2007-08-03 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1380 | ||
1381 | PR middle-end/32399 | |
1382 | * tree-ssa-address.c (add_to_parts): Use POINTER_PLUS_EXPR | |
1383 | when adding to the base and convert ELT to sizetype instead of type. | |
1384 | ||
9dd2d192 | 1385 | 2007-08-03 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1386 | ||
1387 | PR middle-end/32304 | |
1388 | * ipa-reference.c (has_proper_scope_for_analysis): Return false when | |
1389 | the decl's type has TYPE_NEEDS_CONSTRUCTING set. | |
1390 | ||
843a4f91 | 1391 | 2007-08-03 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1392 | ||
1393 | PR middle-end/32935 | |
1394 | * fold-convert.c (fold_negate_expr <NOP_EXPR>): Convert back to the | |
1395 | correct type the negate expression. | |
1396 | ||
99a25da7 | 1397 | 2007-08-03 Jan Hubicka <jh@suse.cz> |
1398 | ||
1399 | * i386.c (setup_incoming_varargs_64): Tolerate 64bit preferred | |
1400 | stack boundary. | |
1401 | ||
784abdb2 | 1402 | 2007-08-03 David Edelsohn <edelsohn@gnu.org> |
1403 | ||
1404 | * config/rs6000/rs6000.c (struct processor_cost): Change | |
1405 | l1_cache_lines to l1_cache_size. Add l2_cache_size. | |
1406 | (*_cost): Convert l1 cache information to kilobytes. Add l2 cache | |
1407 | information. | |
1408 | (rios1_costs, rios2_cost): Correct cache line size. | |
1409 | (rs6000_override_options): Set l2-cache-size parameter. | |
1410 | ||
92f9b59a | 1411 | 2007-08-03 Andrew Pinski <andrew_pinski@playstation.sony.com> |
1412 | Diego Novillo <dnovillo@google.com> | |
1413 | ||
1414 | PR 31521 | |
1415 | * tree-vrp.c (simplify_div_or_mod_using_ranges): Also simplify | |
1416 | if the range includes 0. | |
1417 | ||
c3f4e157 | 1418 | 2007-08-03 Ben Elliston <bje@au.ibm.com> |
1419 | ||
1420 | * config/spu/spu.md (dftsv, dftsv_celledp): Attach the appropriate | |
1421 | mode to unspec expressions to silence a warning from the generator | |
1422 | programs. | |
1423 | ||
fa998541 | 1424 | 2007-08-02 Steve Ellcey <sje@cup.hp.com> |
1425 | ||
1426 | * config/ia64/constraints.md ("U"): Make constraint vector only. | |
1427 | ||
44f601d1 | 1428 | 2007-08-02 Nathan Froyd <froydnj@codesourcery.com> |
1429 | ||
1430 | PR middle-end/25446 | |
1431 | * c-objc-common.c (c_cannot_inline_tree_fn): Check for an | |
1432 | always_inline attribute on the function decl. | |
1433 | ||
0739a4b8 | 1434 | 2007-08-02 Nathan Froyd <froydnj@codesourcery.com> |
1435 | ||
1436 | PR middle-end/25445 | |
1437 | * varasm.c (default_binds_local_p_1): Consult flag_whole_program | |
1438 | if we are compiling with -fPIC. | |
1439 | ||
b43927bc | 1440 | 2007-08-02 Sandra Loosemore <sandra@codesourcery.com> |
1441 | Nigel Stephens <nigel@mips.com> | |
1442 | ||
1443 | * longlong.h [__mips__] (count_leading_zeros, COUNT_LEADING_ZEROS_0): | |
1444 | Define for MIPS32 and MIPS64. | |
1445 | ||
b899a96b | 1446 | 2007-08-02 Nick Clifton <nickc@redhat.com> |
1447 | ||
1448 | * config/host-hpux.c: Change copyright header to refer to version | |
1449 | 3 of the GNU General Public License and to point readers at the | |
1450 | COPYING3 file and the FSF's license web page. | |
1451 | * config/alpha/predicates.md, config/alpha/vms-ld.c, | |
1452 | config/alpha/linux.h, config/alpha/alpha.opt, | |
1453 | config/alpha/linux-elf.h, config/alpha/vms.h, config/alpha/elf.h, | |
1454 | config/alpha/vms-unwind.h, config/alpha/ev4.md, | |
1455 | config/alpha/ev6.md, config/alpha/alpha.c, config/alpha/vms-cc.c, | |
1456 | config/alpha/alpha.h, config/alpha/sync.md, | |
1457 | config/alpha/openbsd.h, config/alpha/alpha.md, | |
1458 | config/alpha/alpha-modes.def, config/alpha/ev5.md, | |
1459 | config/alpha/alpha-protos.h, config/alpha/freebsd.h, | |
1460 | config/alpha/osf5.h, config/alpha/netbsd.h, config/alpha/vms64.h, | |
1461 | config/alpha/constraints.md, config/alpha/osf.h, | |
1462 | config/alpha/xm-vms.h, config/alpha/unicosmk.h, config/linux.h, | |
1463 | config/frv/predicates.md, config/frv/frv.h, config/frv/linux.h, | |
1464 | config/frv/frv.md, config/frv/frv.opt, config/frv/frv-modes.def, | |
1465 | config/frv/frv-asm.h, config/frv/frv-protos.h, | |
1466 | config/frv/frv-abi.h, config/frv/frv.c, config/s390/tpf.h, | |
1467 | config/s390/s390.c, config/s390/predicates.md, config/s390/s390.h, | |
1468 | config/s390/linux.h, config/s390/tpf.md, config/s390/tpf.opt, | |
1469 | config/s390/2064.md, config/s390/2084.md, config/s390/s390.md, | |
1470 | config/s390/s390.opt, config/s390/s390-modes.def, | |
1471 | config/s390/fixdfdi.h, config/s390/constraints.md, | |
1472 | config/s390/s390-protos.h, config/s390/s390x.h, config/elfos.h, | |
1473 | config/dbxcoff.h, config/m32c/predicates.md, config/m32c/cond.md, | |
1474 | config/m32c/m32c.c, config/m32c/minmax.md, config/m32c/blkmov.md, | |
1475 | config/m32c/m32c-pragma.c, config/m32c/m32c.h, | |
1476 | config/m32c/prologue.md, config/m32c/m32c.abi, | |
1477 | config/m32c/muldiv.md, config/m32c/bitops.md, config/m32c/mov.md, | |
1478 | config/m32c/addsub.md, config/m32c/m32c.md, config/m32c/m32c.opt, | |
1479 | config/m32c/t-m32c, config/m32c/m32c-modes.def, | |
1480 | config/m32c/jump.md, config/m32c/shift.md, | |
1481 | config/m32c/m32c-protos.h, config/libgloss.h, | |
1482 | config/spu/spu-protos.h, config/spu/predicates.md, | |
1483 | config/spu/spu-builtins.h, config/spu/spu.c, | |
1484 | config/spu/spu-builtins.def, config/spu/spu-builtins.md, | |
1485 | config/spu/spu.h, config/spu/spu-elf.h, config/spu/constraints.md, | |
1486 | config/spu/spu.md, config/spu/spu-c.c, config/spu/spu.opt, | |
1487 | config/spu/spu-modes.def, config/spu/t-spu-elf, config/interix.h, | |
1488 | config/sparc/hypersparc.md, config/sparc/predicates.md, | |
1489 | config/sparc/linux.h, config/sparc/sp64-elf.h, | |
1490 | config/sparc/supersparc.md, config/sparc/cypress.md, | |
1491 | config/sparc/openbsd1-64.h, config/sparc/openbsd64.h, | |
1492 | config/sparc/niagara.md, config/sparc/sparc.md, | |
1493 | config/sparc/long-double-switch.opt, config/sparc/ultra3.md, | |
1494 | config/sparc/sparc.opt, config/sparc/sync.md, | |
1495 | config/sparc/sp-elf.h, config/sparc/sparc-protos.h, | |
1496 | config/sparc/ultra1_2.md, config/sparc/biarch64.h, | |
1497 | config/sparc/sparc.c, config/sparc/little-endian.opt, | |
1498 | config/sparc/sysv4-only.h, config/sparc/sparc.h, | |
1499 | config/sparc/linux64.h, config/sparc/freebsd.h, | |
1500 | config/sparc/sol2.h, config/sparc/rtemself.h, | |
1501 | config/sparc/netbsd-elf.h, config/sparc/vxworks.h, | |
1502 | config/sparc/sparc-modes.def, config/sparc/sparclet.md, | |
1503 | config/sparc/sysv4.h, config/vx-common.h, config/netbsd-aout.h, | |
1504 | config/flat.h, config/m32r/m32r.md, config/m32r/predicates.md, | |
1505 | config/m32r/little.h, config/m32r/m32r.c, config/m32r/m32r.opt, | |
1506 | config/m32r/linux.h, config/m32r/constraints.md, | |
1507 | config/m32r/m32r.h, config/m32r/m32r-protos.h, config/vxworks.opt, | |
1508 | config/darwin-c.c, config/darwin.opt, config/i386/i386.h, | |
1509 | config/i386/cygming.h, config/i386/linux.h, config/i386/cygwin.h, | |
1510 | config/i386/i386.md, config/i386/netware-crt0.c, | |
1511 | config/i386/sco5.h, config/i386/mmx.md, config/i386/vx-common.h, | |
1512 | config/i386/kaos-i386.h, config/i386/winnt-stubs.c, | |
1513 | config/i386/netbsd64.h, config/i386/djgpp.h, config/i386/gas.h, | |
1514 | config/i386/sol2.h, config/i386/constraints.md, | |
1515 | config/i386/netware-libgcc.c, config/i386/sysv5.h, | |
1516 | config/i386/predicates.md, config/i386/geode.md, | |
1517 | config/i386/x86-64.h, config/i386/kfreebsd-gnu.h, | |
1518 | config/i386/freebsd64.h, config/i386/vxworksae.h, | |
1519 | config/i386/pentium.md, config/i386/lynx.h, config/i386/i386elf.h, | |
1520 | config/i386/rtemself.h, config/i386/netbsd-elf.h, | |
1521 | config/i386/ppro.md, config/i386/k6.md, config/i386/netware.c, | |
1522 | config/i386/netware.h, config/i386/i386-modes.def, | |
1523 | config/i386/sysv4-cpp.h, config/i386/i386-interix.h, | |
1524 | config/i386/cygwin1.c, config/i386/djgpp.opt, config/i386/uwin.h, | |
1525 | config/i386/unix.h, config/i386/ptx4-i.h, config/i386/xm-djgpp.h, | |
1526 | config/i386/att.h, config/i386/winnt.c, config/i386/beos-elf.h, | |
1527 | config/i386/sol2-10.h, config/i386/darwin64.h, config/i386/sse.md, | |
1528 | config/i386/i386.opt, config/i386/bsd.h, config/i386/cygming.opt, | |
1529 | config/i386/xm-mingw32.h, config/i386/linux64.h, | |
1530 | config/i386/openbsdelf.h, config/i386/xm-cygwin.h, | |
1531 | config/i386/sco5.opt, config/i386/darwin.h, config/i386/mingw32.h, | |
1532 | config/i386/winnt-cxx.c, config/i386/i386-interix3.h, | |
1533 | config/i386/nwld.c, config/i386/nwld.h, config/i386/host-cygwin.c, | |
1534 | config/i386/cygwin2.c, config/i386/i386-protos.h, | |
1535 | config/i386/sync.md, config/i386/openbsd.h, | |
1536 | config/i386/host-mingw32.c, config/i386/i386-aout.h, | |
1537 | config/i386/nto.h, config/i386/biarch64.h, | |
1538 | config/i386/i386-coff.h, config/i386/freebsd.h, | |
1539 | config/i386/driver-i386.c, config/i386/knetbsd-gnu.h, | |
1540 | config/i386/host-i386-darwin.c, config/i386/vxworks.h, | |
1541 | config/i386/crtdll.h, config/i386/i386.c, config/i386/sysv4.h, | |
1542 | config/darwin-protos.h, config/linux.opt, config/sol2.c, | |
1543 | config/sol2.h, config/sh/symbian.c, config/sh/sh-protos.h, | |
1544 | config/sh/linux.h, config/sh/elf.h, config/sh/superh.h, | |
1545 | config/sh/sh4.md, config/sh/coff.h, config/sh/newlib.h, | |
1546 | config/sh/embed-elf.h, config/sh/symbian-pre.h, config/sh/rtems.h, | |
1547 | config/sh/kaos-sh.h, config/sh/sh4a.md, config/sh/constraints.md, | |
1548 | config/sh/sh64.h, config/sh/sh.opt, config/sh/symbian-post.h, | |
1549 | config/sh/sh-c.c, config/sh/predicates.md, config/sh/sh.c, | |
1550 | config/sh/sh.h, config/sh/shmedia.md, config/sh/sh-modes.def, | |
1551 | config/sh/little.h, config/sh/sh1.md, config/sh/sh4-300.md, | |
1552 | config/sh/superh64.h, config/sh/rtemself.h, | |
1553 | config/sh/netbsd-elf.h, config/sh/sh.md, config/sh/vxworks.h, | |
1554 | config/usegas.h, config/svr3.h, config/pdp11/pdp11-protos.h, | |
1555 | config/pdp11/2bsd.h, config/pdp11/pdp11.md, config/pdp11/pdp11.c, | |
1556 | config/pdp11/pdp11.opt, config/pdp11/pdp11-modes.def, | |
1557 | config/pdp11/pdp11.h, config/avr/rtems.h, config/avr/avr-protos.h, | |
1558 | config/avr/predicates.md, config/avr/constraints.md, | |
1559 | config/avr/avr.md, config/avr/avr.c, config/avr/avr.opt, | |
1560 | config/avr/avr.h, config/sol2-protos.h, config/dbxelf.h, | |
1561 | config/lynx.opt, config/crx/crx.h, config/crx/crx-protos.h, | |
1562 | config/crx/crx.md, config/crx/crx.c, config/crx/crx.opt, | |
1563 | config/c4x/c4x-c.c, config/c4x/c4x.c, config/c4x/c4x.opt, | |
1564 | config/c4x/c4x-modes.def, config/c4x/rtems.h, | |
1565 | config/c4x/predicates.md, config/c4x/c4x.h, | |
1566 | config/c4x/c4x-protos.h, config/c4x/c4x.md, config/kfreebsd-gnu.h, | |
1567 | config/xtensa/predicates.md, config/xtensa/xtensa.c, | |
1568 | config/xtensa/linux.h, config/xtensa/xtensa.h, | |
1569 | config/xtensa/elf.h, config/xtensa/xtensa.md, | |
1570 | config/xtensa/xtensa.opt, config/xtensa/constraints.md, | |
1571 | config/xtensa/xtensa-protos.h, config/dbx.h, | |
1572 | config/stormy16/predicates.md, config/stormy16/stormy16.md, | |
1573 | config/stormy16/stormy16.c, config/stormy16/stormy16.opt, | |
1574 | config/stormy16/stormy16.h, config/stormy16/stormy16-protos.h, | |
1575 | config/host-solaris.c, config/fr30/fr30.h, | |
1576 | config/fr30/predicates.md, config/fr30/fr30-protos.h, | |
1577 | config/fr30/fr30.md, config/fr30/fr30.c, config/fr30/fr30.opt, | |
1578 | config/vxworksae.h, config/sol2-c.c, config/lynx.h, | |
1579 | config/m68hc11/m68hc11-protos.h, config/m68hc11/predicates.md, | |
1580 | config/m68hc11/m68hc11.md, config/m68hc11/m68hc11.c, | |
1581 | config/m68hc11/m68hc11.opt, config/m68hc11/m68hc11.h, | |
1582 | config/m68hc11/m68hc12.h, config/openbsd-oldgas.h, | |
1583 | config/host-linux.c, config/interix3.h, config/cris/cris.c, | |
1584 | config/cris/predicates.md, config/cris/linux.h, | |
1585 | config/cris/cris.h, config/cris/aout.h, config/cris/cris.md, | |
1586 | config/cris/linux.opt, config/cris/cris.opt, config/cris/elf.opt, | |
1587 | config/cris/aout.opt, config/cris/cris-protos.h, | |
1588 | config/vxworks-dummy.h, config/netbsd.h, config/netbsd-elf.h, | |
1589 | config/iq2000/iq2000.h, config/iq2000/predicates.md, | |
1590 | config/iq2000/iq2000-protos.h, config/iq2000/iq2000.md, | |
1591 | config/iq2000/iq2000.c, config/iq2000/iq2000.opt, | |
1592 | config/host-darwin.c, config/mt/mt.md, config/mt/mt.c, | |
1593 | config/mt/mt.opt, config/mt/t-mt, config/mt/mt.h, | |
1594 | config/mt/mt-protos.h, config/svr4.h, config/host-darwin.h, | |
1595 | config/chorus.h, config/mn10300/mn10300.c, | |
1596 | config/mn10300/mn10300.opt, config/mn10300/predicates.md, | |
1597 | config/mn10300/mn10300.h, config/mn10300/linux.h, | |
1598 | config/mn10300/constraints.md, config/mn10300/mn10300-protos.h, | |
1599 | config/mn10300/mn10300.md, config/ia64/predicates.md, | |
1600 | config/ia64/itanium1.md, config/ia64/unwind-ia64.h, | |
1601 | config/ia64/ia64-c.c, config/ia64/sync.md, config/ia64/ia64.c, | |
1602 | config/ia64/itanium2.md, config/ia64/ia64.h, config/ia64/vect.md, | |
1603 | config/ia64/freebsd.h, config/ia64/ia64.md, | |
1604 | config/ia64/ia64-modes.def, config/ia64/constraints.md, | |
1605 | config/ia64/hpux.h, config/ia64/ia64-protos.h, config/windiss.h, | |
1606 | config/gofast.h, config/rtems.h, config/sol2-10.h, | |
1607 | config/m68k/predicates.md, config/m68k/m68k.md, | |
1608 | config/m68k/linux.h, config/m68k/m68k-modes.def, | |
1609 | config/m68k/print-sysroot-suffix.sh, config/m68k/m68k-protos.h, | |
1610 | config/m68k/coff.h, config/m68k/m68k-none.h, config/m68k/ieee.opt, | |
1611 | config/m68k/openbsd.h, config/m68k/m68k-aout.h, | |
1612 | config/m68k/m68k.opt, config/m68k/m68020-elf.h, | |
1613 | config/m68k/m68kelf.h, config/m68k/m68k-devices.def, | |
1614 | config/m68k/uclinux-oldabi.h, config/m68k/m68k.c, | |
1615 | config/m68k/constraints.md, config/m68k/rtemself.h, | |
1616 | config/m68k/netbsd-elf.h, config/m68k/m68k.h, | |
1617 | config/m68k/uclinux.h, config/rs6000/power4.md, | |
1618 | config/rs6000/host-darwin.c, config/rs6000/6xx.md, | |
1619 | config/rs6000/linux.h, config/rs6000/eabi.h, | |
1620 | config/rs6000/aix41.opt, config/rs6000/xcoff.h, | |
1621 | config/rs6000/secureplt.h, config/rs6000/linuxspe.h, | |
1622 | config/rs6000/eabialtivec.h, config/rs6000/8540.md, | |
1623 | config/rs6000/darwin8.h, config/rs6000/kaos-ppc.h, | |
1624 | config/rs6000/windiss.h, config/rs6000/603.md, | |
1625 | config/rs6000/aix41.h, config/rs6000/cell.md, | |
1626 | config/rs6000/mpc.md, config/rs6000/aix43.h, config/rs6000/beos.h, | |
1627 | config/rs6000/gnu.h, config/rs6000/rtems.h, config/rs6000/aix.opt, | |
1628 | config/rs6000/darwin.md, config/rs6000/darwin64.h, | |
1629 | config/rs6000/default64.h, config/rs6000/7xx.md, | |
1630 | config/rs6000/darwin.opt, config/rs6000/spe.md, | |
1631 | config/rs6000/rs6000.opt, config/rs6000/rs6000-c.c, | |
1632 | config/rs6000/rios2.md, config/rs6000/linuxaltivec.h, | |
1633 | config/rs6000/7450.md, config/rs6000/linux64.h, | |
1634 | config/rs6000/constraints.md, config/rs6000/440.md, | |
1635 | config/rs6000/darwin.h, config/rs6000/host-ppc64-darwin.c, | |
1636 | config/rs6000/rs6000.c, config/rs6000/aix52.h, | |
1637 | config/rs6000/rs6000.h, config/rs6000/power6.md, | |
1638 | config/rs6000/predicates.md, config/rs6000/altivec.md, | |
1639 | config/rs6000/aix64.opt, config/rs6000/rios1.md, | |
1640 | config/rs6000/rs6000-modes.def, config/rs6000/rs64.md, | |
1641 | config/rs6000/eabisim.h, config/rs6000/sysv4le.h, | |
1642 | config/rs6000/darwin7.h, config/rs6000/dfp.md, | |
1643 | config/rs6000/linux64.opt, config/rs6000/sync.md, | |
1644 | config/rs6000/vxworksae.h, config/rs6000/power5.md, | |
1645 | config/rs6000/lynx.h, config/rs6000/biarch64.h, | |
1646 | config/rs6000/rs6000.md, config/rs6000/sysv4.opt, | |
1647 | config/rs6000/eabispe.h, config/rs6000/e500.h, | |
1648 | config/rs6000/freebsd.h, config/rs6000/rs6000-protos.h, | |
1649 | config/rs6000/netbsd.h, config/rs6000/e500-double.h, | |
1650 | config/rs6000/aix.h, config/rs6000/vxworks.h, | |
1651 | config/rs6000/40x.md, config/rs6000/aix51.h, | |
1652 | config/rs6000/sysv4.h, config/arc/arc-protos.h, config/arc/arc.md, | |
1653 | config/arc/arc.c, config/arc/arc.opt, config/arc/arc-modes.def, | |
1654 | config/arc/arc.h, config/mcore/mcore-elf.h, | |
1655 | config/mcore/mcore-protos.h, config/mcore/predicates.md, | |
1656 | config/mcore/mcore.md, config/mcore/mcore.c, | |
1657 | config/mcore/mcore.opt, config/mcore/mcore.h, | |
1658 | config/mcore/mcore-pe.h, config/darwin.c, config/freebsd-nthr.h, | |
1659 | config/score/predicates.md, config/score/score-version.h, | |
1660 | config/score/score-protos.h, config/score/misc.md, | |
1661 | config/score/elf.h, config/score/score.c, config/score/mac.md, | |
1662 | config/score/score7.md, config/score/score.h, | |
1663 | config/score/score-conv.h, config/score/score-mdaux.c, | |
1664 | config/score/score.md, config/score/score.opt, | |
1665 | config/score/score-modes.def, config/score/score-mdaux.h, | |
1666 | config/score/mul-div.S, config/arm/uclinux-elf.h, | |
1667 | config/arm/semi.h, config/arm/ecos-elf.h, config/arm/arm1020e.md, | |
1668 | config/arm/symbian.h, config/arm/linux-elf.h, | |
1669 | config/arm/arm1026ejs.md, config/arm/arm1136jfs.md, | |
1670 | config/arm/elf.h, config/arm/aout.h, config/arm/arm.c, | |
1671 | config/arm/thumb2.md, config/arm/vec-common.md, config/arm/coff.h, | |
1672 | config/arm/strongarm-pe.h, config/arm/arm.h, | |
1673 | config/arm/cortex-a8-neon.md, config/arm/semiaof.h, | |
1674 | config/arm/cortex-a8.md, config/arm/uclinux-eabi.h, | |
1675 | config/arm/arm-modes.def, config/arm/linux-eabi.h, | |
1676 | config/arm/rtems-elf.h, config/arm/neon-schedgen.ml, | |
1677 | config/arm/arm-cores.def, config/arm/arm-protos.h, | |
1678 | config/arm/vfp.md, config/arm/aof.h, config/arm/linux-gas.h, | |
1679 | config/arm/wince-pe.h, config/arm/neon.md, | |
1680 | config/arm/constraints.md, config/arm/neon.ml, | |
1681 | config/arm/xscale-elf.h, config/arm/strongarm-coff.h, | |
1682 | config/arm/arm.opt, config/arm/arm926ejs.md, | |
1683 | config/arm/predicates.md, config/arm/iwmmxt.md, | |
1684 | config/arm/arm_neon.h, config/arm/unknown-elf.h, | |
1685 | config/arm/kaos-arm.h, config/arm/bpabi.h, config/arm/pe.opt, | |
1686 | config/arm/neon-testgen.ml, config/arm/arm.md, | |
1687 | config/arm/xscale-coff.h, config/arm/pe.c, | |
1688 | config/arm/arm-generic.md, config/arm/pe.h, | |
1689 | config/arm/kaos-strongarm.h, config/arm/freebsd.h, | |
1690 | config/arm/neon-docgen.ml, config/arm/netbsd.h, config/arm/fpa.md, | |
1691 | config/arm/strongarm-elf.h, config/arm/cirrus.md, | |
1692 | config/arm/netbsd-elf.h, config/arm/vxworks.h, | |
1693 | config/arm/neon-gen.ml, config/kaos.h, config/darwin-driver.c, | |
1694 | config/pa/predicates.md, config/pa/pa64-hpux.h, | |
1695 | config/pa/pa-hpux.opt, config/pa/som.h, config/pa/pa-hpux1010.opt, | |
1696 | config/pa/pa-hpux1111.opt, config/pa/pa-pro-end.h, | |
1697 | config/pa/elf.h, config/pa/fptr.c, config/pa/pa64-linux.h, | |
1698 | config/pa/pa.md, config/pa/pa.opt, config/pa/pa-hpux.h, | |
1699 | config/pa/pa-hpux10.h, config/pa/pa-hpux11.h, | |
1700 | config/pa/pa-hpux1010.h, config/pa/pa-protos.h, | |
1701 | config/pa/pa-osf.h, config/pa/pa-hpux1111.h, config/pa/pa-64.h, | |
1702 | config/pa/milli64.S, config/pa/pa.c, config/pa/pa-linux.h, | |
1703 | config/pa/pa.h, config/pa/pa32-linux.h, config/pa/pa64-hpux.opt, | |
1704 | config/pa/pa64-regs.h, config/pa/pa-modes.def, | |
1705 | config/pa/constraints.md, config/darwin9.h, config/mips/4100.md, | |
1706 | config/mips/linux.h, config/mips/elfoabi.h, config/mips/elf.h, | |
1707 | config/mips/sdb.h, config/mips/windiss.h, config/mips/rtems.h, | |
1708 | config/mips/3000.md, config/mips/iris5.h, config/mips/5000.md, | |
1709 | config/mips/7000.md, config/mips/9000.md, config/mips/4600.md, | |
1710 | config/mips/linux64.h, config/mips/elforion.h, | |
1711 | config/mips/constraints.md, config/mips/generic.md, | |
1712 | config/mips/predicates.md, config/mips/4300.md, | |
1713 | config/mips/mips-ps-3d.md, config/mips/iris.h, config/mips/24k.md, | |
1714 | config/mips/mips.md, config/mips/mips.opt, config/mips/4k.md, | |
1715 | config/mips/5k.md, config/mips/vr4120-div.S, | |
1716 | config/mips/openbsd.h, config/mips/iris6.h, config/mips/4000.md, | |
1717 | config/mips/mips-protos.h, config/mips/6000.md, | |
1718 | config/mips/mips.c, config/mips/mips.h, config/mips/r3900.h, | |
1719 | config/mips/74k.md, config/mips/netbsd.h, config/mips/vxworks.h, | |
1720 | config/mips/mips-modes.def, config/mips/vr.h, | |
1721 | config/soft-fp/t-softfp, config/openbsd.h, config/ptx4.h, | |
1722 | config/freebsd-spec.h, config/vax/vax.c, config/vax/openbsd.h, | |
1723 | config/vax/vax.h, config/vax/elf.h, config/vax/vax.md, | |
1724 | config/vax/bsd.h, config/vax/vax.opt, config/vax/vax-modes.def, | |
1725 | config/vax/openbsd1.h, config/vax/netbsd.h, | |
1726 | config/vax/vax-protos.h, config/vax/netbsd-elf.h, | |
1727 | config/vax/vaxv.h, config/vax/ultrix.h, config/freebsd.h, | |
1728 | config/h8300/rtems.h, config/h8300/predicates.md, | |
1729 | config/h8300/h8300.c, config/h8300/h8300.h, config/h8300/elf.h, | |
1730 | config/h8300/h8300.md, config/h8300/h8300.opt, | |
1731 | config/h8300/coff.h, config/h8300/h8300-protos.h, | |
1732 | config/v850/v850.md, config/v850/predicates.md, | |
1733 | config/v850/v850-c.c, config/v850/v850.c, config/v850/v850.opt, | |
1734 | config/v850/v850.h, config/v850/v850-protos.h, config/vxworks.c, | |
1735 | config/knetbsd-gnu.h, config/sol2-6.h, config/vxworks.h, | |
1736 | config/mmix/mmix.h, config/mmix/predicates.md, | |
1737 | config/mmix/mmix-protos.h, config/mmix/mmix.md, | |
1738 | config/mmix/mmix.c, config/mmix/mmix.opt, | |
1739 | config/mmix/mmix-modes.def, config/bfin/bfin.opt, | |
1740 | config/bfin/rtems.h, config/bfin/bfin-modes.def, | |
1741 | config/bfin/predicates.md, config/bfin/bfin-protos.h, | |
1742 | config/bfin/bfin.c, config/bfin/bfin.h, config/bfin/bfin.md: | |
1743 | Likewise. | |
1744 | ||
265be050 | 1745 | 2007-08-02 Richard Sandiford <richard@codesourcery.com> |
1746 | ||
1747 | * emit-rtl.c (reset_used_decls): Rename to... | |
1748 | (set_used_decls): ...this. Set the used flag rather than clearing it. | |
1749 | (unshare_all_rtl_again): Update accordingly. Set flags on argument | |
1750 | DECL_RTLs rather than resetting them. | |
1751 | ||
ab22ec57 | 1752 | 2007-08-02 Andreas Krebbel <krebbel1@de.ibm.com> |
1753 | ||
1754 | * config/s390/s390.md ("*xordi3_cconly"): Change xr to xg. | |
1755 | ||
7c88646f | 1756 | 2007-08-01 Sandra Loosemore <sandra@codesourcery.com> |
1757 | ||
1758 | * reload.c (find_reloads_address_part): Pass correct MEMREFLOC | |
1759 | argument to find_reloads_address. | |
1760 | ||
5f6261a7 | 1761 | 2007-08-01 Daniel Jacobowitz <dan@codesourcery.com> |
1762 | ||
1763 | PR tree-optimization/32919 | |
1764 | * tree-ssa-sccvn.c (visit_phi): Do not visit abnormal PHIs. | |
1765 | * tree-ssa-coalesce.c (ssa_conflicts_dump): New. | |
1766 | (coalesce_ssa_name): Call it. | |
1767 | ||
fd79383e | 1768 | 2007-08-01 Sandra Loosemore <sandra@codesourcery.com> |
1769 | David Ung <davidu@mips.com> | |
1770 | ||
fd79383e | 1771 | * config/mips/mips16.S (__mips16_unordsf2, __mips16_floatunsisf): New. |
1772 | (__mips16_unorddf2, __mips16_floatunsidf): New. | |
1773 | * config/mips/mips.c (mips_init_libfuncs): Add optab entries for | |
1774 | above functions. | |
1775 | * config/mips/t-libgcc-mips16 (LIB1ASMFUNCS): Add new functions. | |
1776 | ||
ac6e3339 | 1777 | 2007-08-01 Zdenek Dvorak <ook@ucw.cz> |
1778 | ||
1779 | * tree-pretty-print.c (dump_generic_node): Dump OMP_SECTIONS_SWITCH. | |
1780 | Display new operands of OMP_SECTIONS and OMP_CONTINUE. | |
1781 | * tree.h (OMP_SECTIONS_CONTROL): New macro. | |
1782 | (OMP_DIRECTIVE_P): Add OMP_SECTIONS_SWITCH. | |
1783 | * omp-low.c (get_ws_args_for, determine_parallel_type, | |
1784 | expand_omp_for_generic, expand_omp_for_static_nochunk, | |
1785 | expand_omp_for_static_chunk, expand_omp_for, expand_omp_sections): | |
1786 | Work with more precise CFG. | |
1787 | (build_omp_regions_1): Handle OMP_SECTIONS_SWITCH. | |
1788 | (lower_omp_sections): Emit OMP_SECTIONS_SWITCH. Add arguments to | |
1789 | OMP_CONTINUE. | |
1790 | * tree-gimple.c (is_gimple_stmt): Handle OMP_SECTIONS_SWITCH. | |
1791 | * gimple-low.c (lower_stmt): Ditto. | |
1792 | * tree-inline.c (estimate_num_insns_1): Ditto. | |
1793 | * tree.def (OMP_SECTIONS, OMP_CONTINUE): Added new operands. | |
1794 | (OMP_SECTIONS_SWITCH): New. | |
1795 | * tree-cfgcleanup.c (cleanup_omp_return): New. | |
1796 | (cleanup_tree_cfg_bb): Call cleanup_omp_return. | |
1797 | * tree-cfg.c (make_edges): Create back edges for OMP_CONTINUE | |
1798 | and exit edge for OMP_FOR. Handle OMP_SECTIONS_SWITCH. | |
1799 | (tree_redirect_edge_and_branch): Handle omp constructs. | |
1800 | ||
1801 | * fortran/trans-openmp.c (gfc_trans_omp_sections): Build OMP_SECTIONS | |
1802 | with three arguments. | |
1803 | ||
fd859561 | 1804 | 2007-08-01 Zdenek Dvorak <ook@ucw.cz> |
1805 | ||
1806 | * tree-cfg.c (tree_merge_blocks): Preserve loop exit phi nodes only | |
1807 | in loop closed ssa. | |
1808 | ||
eb2a640e | 1809 | 2007-08-01 Zdenek Dvorak <ook@ucw.cz> |
1810 | ||
1811 | * tree-ssa-threadupdate.c (thread_through_all_blocks): Record that | |
1812 | the loop structures may need fixing. | |
1813 | * tree-cfgcleanup.c (cleanup_tree_cfg_noloop, repair_loop_structures): | |
1814 | New functions. | |
1815 | (cleanup_tree_cfg_loop): Removed. | |
1816 | (cleanup_tree_cfg): If loops need fixing, call repair_loop_structures. | |
1817 | * tree-predcom.c (tree_predictive_commoning): Return TODO_cleanup_cfg | |
1818 | instead of running cleanup_tree_cfg_loop. | |
1819 | * cfgloop.h (LOOPS_NEED_FIXUP): New constant. | |
1820 | * tree-flow.h (cleanup_tree_cfg_loop): Declaration removed. | |
1821 | (tree_predictive_commoning): Declaration changed. | |
1822 | * passes.c (execute_function_todo): Do not use cleanup_tree_cfg_loop. | |
1823 | ||
0c916a7b | 1824 | 2007-08-01 Zdenek Dvorak <ook@ucw.cz> |
1825 | ||
1826 | * doc/invoke.texi (l1-cache-size): Update documentation. | |
1827 | (l2-cache-size): Document. | |
1828 | * params.h (L2_CACHE_SIZE): New macro. | |
1829 | * tree-ssa-loop-prefetch.c (L1_CACHE_SIZE_BYTES): Reflect | |
1830 | that L1_CACHE_SIZE is in kB now. | |
1831 | (L2_CACHE_SIZE_BYTES): New macro. | |
1832 | (tree_ssa_prefetch_arrays): Show size in kB. | |
1833 | * config/i386/i386.h (struct processor_costs): Add l1_cache_size | |
1834 | and l2_cache_size fields. | |
1835 | * config/i386/driver-i386.c (describe_cache): Detect cache size | |
1836 | in kB. | |
1837 | * config/i386/i386.c (size_cost, i386_cost, i486_cost,pentium_cost, | |
1838 | pentiumpro_cost, geode_cost, k6_cost, athlon_cost, k8_cost, | |
1839 | amdfam10_cost, pentium4_cost, nocona_cost, core2_cost, | |
1840 | generic64_cost, generic32_cost): Add l1_cache_size and l2_cache_size. | |
1841 | (override_options): Set l1-cache-size and l2-cache-size to default | |
1842 | values if not specified otherwise. | |
1843 | * params.def (PARAM_L1_CACHE_SIZE): Change to set in kB. | |
1844 | (PARAM_L2_CACHE_SIZE): New. | |
1845 | ||
5aeba334 | 1846 | 2007-08-01 Nigel Stephens <nigel@mips.com> |
1847 | David Ung <davidu@mips.com> | |
1848 | Thiemo Seufer <ths@mips.com> | |
1849 | Chris Dearman <chris@mips.com> | |
1850 | Richard Sandiford <richard@codesourcery.com> | |
1851 | ||
1852 | * config.gcc (mips*-sde-elf*): New stanza. | |
1853 | (mipsisa32-*-elf*, mipsisa32el-*-elf*, mipsisa32r2-*-elf*) | |
1854 | (mipsisa32r2el-*-elf*, mipsisa64-*-elf*, mipsisa64el-*-elf*) | |
1855 | (mipsisa64sb1-*-elf*, mipsisa64sb1el-*-elf*, mips-*-elf*) | |
1856 | (mipsel-*-elf*, mips64-*-elf*, mips64el-*-elf*, mips64orion-*-elf*) | |
1857 | (mips64orionel-*-elf*, mips*-*-rtems*, mips-wrs-windiss) | |
1858 | (mipstx39-*-elf*, mipstx39el-*-elf*): Add mips/t-libgcc-mips16 | |
1859 | to tmake_file. | |
1860 | * config/mips/sde.h: New file. | |
1861 | * config/mips/t-libgcc-mips16: Likewise. | |
1862 | * config/mips/t-sde: Likewise. | |
1863 | * config/mips/linux.h (TARGET_OS_CPP_BUILTINS): Remove settings | |
1864 | of _ABIN32, _ABI64, _ABIO32, _MIPS_SIM, _MIPS_SZLONG, _MIPS_SZPTR, | |
1865 | _MIPS_FPSET and _MIPS_SZINT. | |
1866 | * config/mips/iris.h (TARGET_OS_CPP_BUILTINS): Likewise. | |
1867 | * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Remove separate | |
1868 | insertion of a default -mips option. Use MIPS_32BIT_OPTION_SPEC. | |
1869 | * config/mips/t-isa3264 (LIB1ASMSRC, LIB1ASMFUNCS): Delete. | |
1870 | * config/mips/t-r3900 (LIB1ASMSRC, LIB1ASMFUNCS): Likewise. | |
1871 | * config/mips/t-elf (LIB1ASMSRC, LIB1ASMFUNCS): Likewise. | |
1872 | * config/mips/mips.h (TARGET_CPU_CPP_BUITINS): Define _ABIO32, | |
1873 | _ABIN32, _ABI64, _ABIO64, _MIPS_SIM, _MIPS_SZINT, _MIPS_SZLONG, | |
1874 | _MIPS_SZPTR and _MIPS_FPSET. | |
1875 | (MIPS_ISA_LEVEL_SPEC): Inject the default -mips option if no | |
1876 | architecture is specified. | |
1877 | (MIPS_32BIT_OPTION_SPEC): New macro. | |
1878 | ||
558cc3be | 1879 | 2007-07-31 Dan Hipschman <dsh@google.com> |
1880 | ||
1881 | * gcc.c (end_going_arg): New function. | |
1882 | (do_spec_2): Use it. | |
1883 | (do_spec_1): Use it. | |
1884 | ||
d044e004 | 1885 | 2007-07-31 H.J. Lu <hongjiu.lu@intel.com> |
1886 | ||
1887 | * ddg.c (add_cross_iteration_register_deps): Declare bb_info | |
1888 | only if ENABLE_CHECKING is defined. | |
1889 | ||
e51dfa02 | 1890 | 2007-07-31 Kenneth Zadeck <zadeck@naturalbridge.com> |
1891 | ||
1892 | * df.h (DF_RU, DF_RU_BB_INFO, df_ru_bb_info, df_ru, | |
1893 | df_ru_add_problem, df_ru_get_bb_info): Removed. | |
1894 | (DF_RD, DF_UREC, DF_CHAIN, DF_NOTE): Renumbered. | |
1895 | * df-problems.c (df_ru_problem_data, df_ru_set_bb_info, | |
1896 | df_ru_free_bb_info, df_ru_alloc, | |
1897 | df_ru_bb_local_compute_process_def, | |
1898 | df_ru_bb_local_compute_process_use, df_ru_bb_local_compute, | |
1899 | df_ru_local_compute, df_ru_init_solution, df_ru_confluence_n, | |
1900 | df_ru_transfer_function, df_ru_free, df_ru_start_dump, | |
1901 | df_ru_top_dump, df_ru_bottom_dump, df_problem problem_RU, | |
1902 | df_ru_add_problem): Removed. | |
1903 | ||
249f9322 | 1904 | 2007-07-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
1905 | ||
1906 | PR target/32847 | |
e51dfa02 | 1907 | * pa.md (casesi32): Use match_scratch. Revise insn condition. |
249f9322 | 1908 | (casesi32p, casesi64p): Likewise. |
1909 | (casesi): Adjust for above. | |
1910 | ||
1915b15f | 1911 | 2007-07-31 Richard Sandiford <richard@codesourcery.com> |
1912 | ||
1913 | * mode-switching.c (create_pre_exit): Don't search past calls. | |
1914 | ||
506e9f60 | 1915 | 2007-07-31 Sandra Loosemore <sandra@codesourcery.com> |
1916 | ||
1917 | * config/mips/mips.h (ISA_HAS_SYNCI): Add !TARGET_MIPS16 test. | |
1918 | ||
47912321 | 1919 | 2007-07-31 Revital Eres <eres@il.ibm.com> |
1920 | ||
1921 | * ddg.c (add_deps_for_def): Rename to... | |
1922 | (add_cross_iteration_register_deps): This. Change implementation | |
1923 | to use only reaching def and def-use chains to construct the | |
1924 | inter loop dependencies. | |
1925 | (add_deps_for_use): Remove function. | |
1926 | (build_inter_loop_deps): Call add_cross_iteration_register_deps | |
1927 | function to build the inter loop dependencies. | |
1928 | * modulo-sched.c (sms_schedule): Build only | |
1929 | reaching def and def-use chains for the propose of the ddg | |
1930 | construction. | |
1931 | ||
eecb5747 | 1932 | 2007-07-31 Julian Brown <julian@codesourcery.com> |
1933 | ||
1934 | * config/arm/neon.md (vec_set<mode>_internal, vec_setv2di_internal): | |
1935 | New define_insns. Use correct RTL. | |
1936 | (vec_set<mode>): Write as expander. | |
1937 | ||
4d6145f4 | 1938 | 2007-07-31 Razya Ladelsky <razya@il.ibm.com> |
1939 | ||
eecb5747 | 1940 | * matrix-reorg.c (analyze_matrix_allocation_site): Avoid referring |
4d6145f4 | 1941 | to an unallocated space. |
1942 | ||
a091367a | 1943 | 2007-07-30 Jan Sjodin <jan.sjodin@amd.com> |
1944 | ||
1945 | * tree-data-ref.c | |
1946 | (split_constant_offset): Enable split_constant_offset to extract | |
1947 | constants from other statements. | |
1948 | * tree-vect-transform.c | |
1949 | (vect_create_addr_base_for_vector_ref): Generate data_ref_base | |
1950 | to a temp var. Force base_offset to be simple. | |
1951 | ||
21de87e9 | 1952 | 2007-07-30 Seongbae Park <seongbae.park@gmail.com> |
1953 | ||
1954 | * df-scan.c (df_scan_verify): Remove artificial limit on | |
1955 | the number of blocks for verification. | |
1956 | * df-problems.c (df_lr_bb_local_compute, df_simulate_find_defs, | |
1957 | df_simulate_defs): Avoid unnecessary insn checking for defs. | |
1958 | ||
341f16c2 | 1959 | 2007-07-29 Mark Mitchell <mark@codesourcery.com> |
1960 | ||
1961 | gcc/ | |
1962 | * config/m68k/lb1sf68.asm (FUNC): New macro. | |
1963 | (__mulsi3): Use it. | |
1964 | (__udivsi3): Likewise. | |
1965 | (__divsi3): Likewise. | |
1966 | (__umodsi3): Likewise. | |
1967 | (__modsi3): Likewise. | |
1968 | (__subdf3): Likewise. | |
1969 | (__adddf3): Likewise. | |
1970 | (__muldf3): Likewise. | |
1971 | (__divdf3): Likewise. | |
1972 | (__negdf2): Likewise. | |
1973 | (__cmpdf2): Likewise. | |
1974 | (__subsf3): Likewise. | |
1975 | (__addsf3): Likewise. | |
1976 | (__mulsf3): Likewise. | |
1977 | (__divsf3): Likewise. | |
1978 | (__negsf2): Likewise. | |
1979 | (__cmpsf2): Likewise. | |
1980 | (__eqdf2): Likewise. | |
1981 | (__nedf2): Likewise. | |
1982 | (__gtdf2): Likewise. | |
1983 | (__gedf2): Likewise. | |
1984 | (__ltdf2): Likewise. | |
1985 | (__ledf2): Likewise. | |
1986 | (__eqsf2): Likewise. | |
1987 | (__nesf2): Likewise. | |
1988 | (__gtsf2): Likewise. | |
1989 | (__gesf2): Likewise. | |
1990 | (__ltsf2): Likewise. | |
1991 | (__lesf2): Likewise. | |
1992 | ||
fcde64dc | 1993 | 2007-07-30 Ollie Wild <aaw@google.com> |
1994 | ||
1995 | * c-ppoutput.c (print_lines_directives_only): New function. | |
1996 | (scan_translation_unit_directives_only): New function. | |
1997 | (preprocess_file): Add call to scan_translation_unit_directives_only. | |
1998 | * c-opts.c (c_common_handle_option): Add OPT_fdirectives_only. | |
1999 | (sanitize_cpp_opts): Add default flag_dump_macros setting for | |
2000 | -fdirectives-only. Add errors for -fdirectives-only conflict with | |
2001 | -Wunused-macros and -traditional. | |
2002 | (finish_options): Add builtin macro initialization for | |
2003 | -fdirectives-only + -fpreprocessed. | |
2004 | * c.opt (fdirectives-only): New. | |
2005 | * doc/cppopts.texi (fdirectives-only): New. | |
2006 | ||
81a410b1 | 2007 | 2007-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2008 | ||
2009 | * alias.c (record_set, memory_modified_1): Constify. | |
2010 | * bt-load.c (note_btr_set): Likewise. | |
2011 | * caller-save.c (mark_set_regs, add_stored_regs): Likewise. | |
2012 | * combine.c (set_nonzero_bits_and_sign_copies, | |
2013 | expand_field_assignment, record_dead_and_set_regs_1, | |
2014 | use_crosses_set_p, reg_dead_at_p_1, can_combine_p, | |
2015 | likely_spilled_retval_1): Likewise. | |
2016 | * config/frv/frv.c (frv_registers_update_1, frv_io_check_address, | |
2017 | frv_io_handle_set): Likewise. | |
2018 | * config/mips/mips.c (mips_sim_record_set, | |
2019 | vr4130_true_reg_dependence_p_1): Likewise. | |
2020 | * config/mt/mt.c (insn_dependent_p_1): Likewise. | |
2021 | * config/s390/s390.c (s390_reg_clobbered_rtx): Likewise. | |
2022 | * config/sh/sh.c (flow_dependent_p_1): Likewise. | |
2023 | * cselib.c (cselib_invalidate_rtx_note_stores): Likewise. | |
2024 | * dce.c (mark_nonreg_stores_1, mark_nonreg_stores_2): Likewise. | |
2025 | * ddg.c (mark_mem_store): Likewise. | |
2026 | * df-problems.c (df_urec_mark_reg_change): Likewise. | |
2027 | * function.c (update_epilogue_consts): Likewise. | |
2028 | * gcse.c (record_set_info, record_last_set_info, | |
2029 | mems_conflict_for_gcse_p, canon_list_insert, reg_set_info, | |
2030 | reg_clear_last_set): Likewise. | |
2031 | * global.c (mark_reg_store, mark_reg_clobber, reg_becomes_live): | |
2032 | Likewise. | |
2033 | * jump.c (reversed_comparison_code_parts): Likewise. | |
2034 | * local-alloc.c (validate_equiv_mem_from_store, no_equiv, | |
2035 | reg_is_set): Likewise. | |
2036 | * loop-iv.c (mark_altered): Likewise. | |
2037 | * mode-switching.c (reg_becomes_live): Likewise. | |
2038 | * optabs.c (no_conflict_move_test): Likewise. | |
2039 | * postreload-gcse.c (record_last_set_info, find_mem_conflicts): | |
2040 | Likewise. | |
2041 | * postreload.c (reload_combine_note_store, move2add_note_store): | |
2042 | Likewise. | |
2043 | * regmove.c (flags_set_1): Likewise. | |
2044 | * regrename.c (note_sets, kill_clobbered_value, kill_set_value): | |
2045 | Likewise. | |
2046 | * reload1.c (mark_not_eliminable, forget_old_reloads_1): | |
2047 | Likewise. | |
2048 | * resource.c (update_live_status): Likewise. | |
2049 | * rtl.h (set_of, note_stores): Likewise. | |
2050 | * rtlanal.c (set_of_1, parms_set, struct set_of_data, set_of, | |
2051 | note_stores, parms_set): Likewise. | |
2052 | * sched-rgn.c (sets_likely_spilled_1): Likewise. | |
2053 | * stack-ptr-mod.c (notice_stack_pointer_modification_1): | |
2054 | Likewise. | |
2055 | * var-tracking.c (count_stores, add_stores): Likewise. | |
2056 | ||
52d07779 | 2057 | 2007-07-30 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2058 | ||
2059 | * alias.c (mems_in_disjoint_alias_sets_p, | |
2060 | fixed_scalar_and_varying_struct_p, aliases_everything_p, | |
2061 | nonoverlapping_component_refs_p, nonoverlapping_memrefs_p, | |
2062 | write_dependence_p, mems_in_disjoint_alias_sets_p, | |
2063 | read_dependence, true_dependence, canon_true_dependence, | |
2064 | anti_dependence, output_dependence): Constify. | |
2065 | * combine.c (extended_count): Likewise. | |
2066 | * cse.c (cse_rtx_varies_p, hash_rtx, exp_equiv_p): Likewise. | |
2067 | * cselib.c (get_value_hash, references_value_p, | |
2068 | cselib_reg_set_mode, cselib_rtx_varies_p): Likewise. | |
2069 | * cselib.h (cselib_reg_set_mode, references_value_p): Likewise. | |
2070 | * emit-rtl.c (mem_expr_equal_p, active_insn_p): Likewise. | |
2071 | * function.c (contains, prologue_epilogue_contains, | |
2072 | sibcall_epilogue_contains): Likewise. | |
2073 | * jump.c (simplejump_p, condjump_p, condjump_in_parallel_p, | |
2074 | pc_set, any_uncondjump_p, any_condjump_p, onlyjump_p, | |
2075 | only_sets_cc0_p, sets_cc0_p, rtx_renumbered_equal_p, true_regnum, | |
2076 | reg_or_subregno): Likewise. | |
2077 | * recog.c (asm_noperands): Likewise. | |
2078 | * reload1.c (function_invariant_p): Likewise. | |
2079 | * rtl.h (mem_expr_equal_p, active_insn_p, rtx_varies_p, | |
2080 | rtx_addr_varies_p, asm_noperands, exp_equiv_p, hash_rtx, | |
2081 | condjump_p, any_condjump_p, any_uncondjump_p, pc_set, | |
2082 | simplejump_p, onlyjump_p, only_sets_cc0_p, sets_cc0_p, | |
2083 | true_regnum, reg_or_subregno, condjump_in_parallel_p, | |
2084 | extended_count, prologue_epilogue_contains, | |
2085 | sibcall_epilogue_contains, function_invariant_p, true_dependence, | |
2086 | canon_true_dependence, read_dependence, anti_dependence, | |
2087 | output_dependence): Likewise. | |
2088 | * rtlanal.c (rtx_varies_p, rtx_addr_varies_p): Likewise. | |
2089 | ||
4c0b79b4 | 2090 | 2007-07-30 Julian Brown <julian@codesourcery.com> |
2091 | ||
2092 | * config/arm/neon.md (V_ext): New mode attribute. | |
2093 | (neon_vget_lane<mode>): Replace with define_expand. | |
2094 | (neon_vget_lane<mode>_sext_internal) | |
2095 | (neon_vget_lane<mode>_zext_internal): New define_insns for double | |
2096 | and quad precision vectors. | |
2097 | (neon_vget_lanedi): Add bounds check. Remove dead comment. | |
2098 | * config/arm/neon.ml (get_lane): Make 32-bit get-lane intrinsics | |
2099 | have typeless 32-bit result. | |
2100 | ||
2ccb5abd | 2101 | 2007-07-30 Andrew Pinski <andrew_pinski@playstation.sony.com> |
2102 | ||
2103 | PR tree-opt/32527 | |
2104 | * tree-affine.h (aff_tree): The type of rest is sizetype for types | |
2105 | of pointers. | |
2106 | * tree-affine.c (aff_combination_scale): If type is a pointer type, | |
2107 | use sizetype for rest. | |
2108 | (aff_combination_add_elt): Likewise. Don't specialize pointer types. | |
2109 | (aff_combination_convert): Don't convert rest for pointer types. | |
2110 | ||
6cc9bd27 | 2111 | 2007-07-28 Daniel Berlin <dberlin@dberlin.org> |
2112 | ||
2113 | * Makefile.in (tree-ssa-alias.o): Add alloc-pool.h | |
2114 | ||
2115 | * tree-ssa-alias.c: Add alloc-pool.h. | |
2116 | (init_alias_info): Free alias_bitmap_obstack. | |
2117 | (delete_alias_info): Call delete_mem_ref_stats. | |
2118 | (get_mem_sym_stats_for): Use alloc_pool. | |
2119 | (init_mem_ref_stats): Do not delete mem_ref_stats here. | |
2120 | (delete_mem_sym_stats): Removed. | |
2121 | ||
bb11a0e8 | 2122 | 2007-07-29 Sebastian Pop <sebpop@gmail.com> |
2123 | ||
2124 | * tree-data-ref.c (add_multivariate_self_dist): Parametric access | |
2125 | functions cannot be represented as classical distance vectors. | |
2126 | ||
b7bf20db | 2127 | 2007-07-29 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2128 | ||
2129 | * attribs.c (hash_attr, eq_attr, init_attributes): Constify. | |
2130 | * builtins.c (validate_arg, builtin_mathfn_code, | |
2131 | validate_arglist): Likewise. | |
2132 | * calls.c (call_expr_flags): Likewise. | |
2133 | * combine.c (reg_nonzero_bits_for_combine, | |
2134 | reg_num_sign_bit_copies_for_combine, get_last_value, | |
2135 | reg_truncated_to_mode): Likewise. | |
2136 | * emit-rtl.c (subreg_lowpart_p): Likewise. | |
2137 | * expr.c (highest_pow2_factor_for_target, | |
2138 | categorize_ctor_elements_1, categorize_ctor_elements, | |
2139 | count_type_elements, contains_packed_reference, | |
2140 | highest_pow2_factor, highest_pow2_factor_for_target): Likewise. | |
2141 | * fold-const.c (may_negate_without_overflow_p, int_const_binop, | |
2142 | fold_convertible_p, operand_equal_p, tree_swap_operands_p, | |
2143 | native_encode_int, native_encode_real, native_encode_complex, | |
2144 | native_encode_vector, native_encode_expr, native_interpret_int, | |
2145 | native_interpret_real, native_interpret_complex, | |
2146 | native_interpret_vector, native_interpret_expr): Likewise. | |
2147 | * function.c (use_register_for_decl): Likewise. | |
2148 | * gimplify.c (get_name): Likewise. | |
2149 | * langhooks-def.h (lhd_return_null_const_tree): New. | |
2150 | (LANG_HOOKS_GET_CALLEE_FNDECL): Use it. | |
2151 | * langhooks.c (lhd_return_null_const_tree): New. | |
2152 | * langhooks.h (lang_get_callee_fndecl): Constify. | |
2153 | * output.h (constructor_static_from_elts_p): Likewise. | |
2154 | * rtl-factoring.c (gen_symbol_ref_rtx_for_label): Likewise. | |
2155 | * rtl.h (nonzero_bits, num_sign_bit_copies, truncated_to_mode, | |
2156 | subreg_lowpart_p, noop_move_p, struct rtl_hooks): Likewise. | |
2157 | * rtlanal.c (cached_nonzero_bits, nonzero_bits1, | |
2158 | cached_num_sign_bit_copies, num_sign_bit_copies1, noop_move_p, | |
2159 | nonzero_bits, num_sign_bit_copies, truncated_to_mode): Likewise. | |
2160 | * rtlhooks-def.h (reg_nonzero_bits_general, | |
2161 | reg_num_sign_bit_copies_general, reg_truncated_to_mode_general): | |
2162 | Likewise. | |
2163 | * rtlhooks.c (reg_num_sign_bit_copies_general, | |
2164 | reg_nonzero_bits_general, reg_truncated_to_mode_general): | |
2165 | Likewise. | |
2166 | * stmt.c (warn_if_unused_value, is_body_block): Likewise. | |
2167 | * stor-layout.c (mode_for_size_tree): Likewise. | |
2168 | * tree-ssa-loop-im.c (memref_eq): Likewise. | |
2169 | * tree-ssa-loop-ivopts.c (tree_int_cst_sign_bit): Likewise. | |
2170 | * tree.c (contains_placeholder_p, type_list_equal, | |
2171 | simple_cst_equal, get_callee_fndecl, operand_equal_for_phi_arg_p): | |
2172 | Likewise. | |
2173 | * tree.h (tree_int_cst_sign_bit, may_negate_without_overflow_p, | |
2174 | mode_for_size_tree, categorize_ctor_elements, count_type_elements, | |
2175 | contains_placeholder_p, contains_packed_reference, | |
2176 | get_callee_fndecl, operand_equal_for_phi_arg_p, | |
2177 | warn_if_unused_value, is_body_block, native_encode_expr, | |
2178 | native_interpret_expr, fold_convertible_p, operand_equal_p, | |
2179 | int_const_binop, tree_swap_operands_p, builtin_mathfn_code, | |
2180 | validate_arglist, simple_cst_equal, type_list_equal, | |
2181 | use_register_for_decl, call_expr_flags, get_name, | |
2182 | highest_pow2_factor): Likewise. | |
2183 | (const_call_expr_arg_iterator_d, | |
2184 | init_const_call_expr_arg_iterator, next_const_call_expr_arg, | |
2185 | first_const_call_expr_arg, more_const_call_expr_args_p, | |
2186 | FOR_EACH_CONST_CALL_EXPR_ARG): New. | |
2187 | * varasm.c (constructor_static_from_elts_p): Constify. | |
2188 | ||
4a7e4fcc | 2189 | 2007-07-28 Kazu Hirata <kazu@codesourcery.com> |
2190 | ||
2191 | * cfglayout.c, config/arm/arm.c, config/arm/cortex-a8.md, | |
2192 | config/arm/neon-schedgen.ml, config/arm/neon.ml, | |
2193 | config/arm/vec-common.md, config/ia64/div.md, cselib.c, | |
2194 | df-core.c, df.h, dominance.c, optabs.c, opts.c, reg-stack.c, | |
2195 | regstat.c, target.h, tree-ssa-live.c, tree-ssa-pre.c, | |
2196 | tree-vect-transform.c, tree.def: Fix comment typos. Follow | |
2197 | spelling conventions. | |
2198 | * doc/invoke.texi: Follow spelling conventions. | |
2199 | ||
6b835e3c | 2200 | 2007-07-29 Vladimir Yanovsky <yanov@il.ibm.com> |
d07cd931 | 2201 | Revital Eres <eres@il.ibm.com> |
6b835e3c | 2202 | |
2203 | * modulo-sched.c (sms_schedule): Avoid loops which includes | |
2204 | auto-increment instructions. | |
2205 | ||
de165fbd | 2206 | 2007-07-28 Richard Guenther <rguenther@suse.de> |
2207 | ||
2208 | PR middle-end/32920 | |
2209 | * fold-const.c (fold_cond_expr_with_comparison): Convert | |
2210 | operand zero of MIN/MAX_EXPR to correct type. | |
2211 | ||
5d1b319b | 2212 | 2007-07-28 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2213 | ||
2214 | * calls.c (special_function_p, setjmp_call_p, alloca_call_p, | |
2215 | flags_from_decl_or_type): Constify. | |
2216 | * gcc.c (do_spec_1): Likewise. | |
2217 | * print-tree.c (dump_addr, print_node_brief): Likewise. | |
2218 | * tree-cfg.c (stmt_starts_bb_p, is_ctrl_stmt, computed_goto_p, | |
2219 | simple_goto_p, tree_can_make_abnormal_goto, stmt_starts_bb_p, | |
2220 | tree_purge_all_dead_eh_edges): Likewise. | |
2221 | * tree-flow.h (is_ctrl_stmt, computed_goto_p, simple_goto_p, | |
2222 | tree_can_make_abnormal_goto, tree_purge_all_dead_eh_edges): | |
2223 | Likewise. | |
2224 | * tree.c (expr_location, expr_has_location, expr_locus, | |
2225 | expr_filename, expr_lineno, get_inner_array_type, | |
2226 | fields_compatible_p): Likewise. | |
2227 | * tree.h (get_inner_array_type, fields_compatible_p, | |
2228 | expr_location, expr_has_location, expr_locus, expr_filename, | |
2229 | expr_lineno, dump_addr, print_node_brief, flags_from_decl_or_type, | |
2230 | setjmp_call_p, alloca_call_p): Likewise. | |
2231 | ||
01feb1a2 | 2232 | 2007-07-28 Daniel Berlin <dberlin@dberlin.org> |
2233 | ||
2234 | * timevar.def: Add TV_CALL_CLOBBER, TV_FLOW_SENSITIVE, | |
2235 | TV_FLOW_INSENSITIVE. | |
2236 | ||
2237 | * tree-ssa-alias.c (compute_call_clobbered): Push/pop | |
2238 | TV_CALL_CLOBBER. | |
2239 | (compute_flow_sensitive_aliasing): Ditto for TV_FLOW_SENSITIVE. | |
2240 | (compute_flow_insensitive_aliasing): Ditto for | |
2241 | TV_FLOW_INSENSITIVE. | |
2242 | ||
5b634bfa | 2243 | 2007-07-27 Jan Hubicka <jh@suse.cz> |
2244 | ||
2d23b7b8 | 2245 | * config/i386/i386.c (register_move_cost): Remove accidentally comitted |
2246 | #if 0 block. | |
2247 | ||
5b634bfa | 2248 | * attribs.c: Include hashtab.h |
2249 | (attribute_hash): New. | |
2250 | (substring): New structure. | |
2251 | (extract_attribute_substring, substring_hash, hash_attr, eq_attr): | |
2252 | New function. | |
2253 | (init_attributes): Initialize attribute hash. | |
2254 | (decl_attributes): Use attribute hash. | |
2255 | * Makefile.in (attribs.c): Depend on hashtab.h. | |
2256 | ||
89bee033 | 2257 | 2007-07-27 Steve Ellcey <sje@cup.hp.com> |
2258 | ||
2259 | * config/ia64/vect.md (vec_initv2si): Remove bad BIG_ENDIAN test. | |
2260 | ||
2c66090f | 2261 | 2007-07-27 Richard Sandiford <richard@codesourcery.com> |
2262 | ||
2263 | * doc/invoke.texi (mdsp, mdspr2): Document the __mips_dsp, | |
2264 | __mips_dspr2 and __mips_dsp_rev macros. | |
2265 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_dsp_rev. | |
2266 | ||
34da8800 | 2267 | 2007-07-27 Douglas Gregor <doug.gregor@gmail.com> |
2268 | ||
2269 | * c-common.h (enum rid): Add RID_DECLTYPE, update RID_LAST_CXX0X. | |
2270 | ||
4f409e20 | 2271 | 2007-07-26 Kenneth Zadeck <zadeck@naturalbridge.com> |
2272 | ||
2273 | PR middle-end/32749 | |
2274 | ||
2275 | * df-problems.c (df_create_unused_note): Removed do_not_gen parm | |
2276 | and the updating of the live and do_not_gen sets. | |
2277 | (df_note_bb_compute): Added updating of live and do_not_gen sets | |
2278 | for regular defs so that the case of clobber inside conditional | |
2279 | call is processed correctly. | |
2280 | ||
06ae9c5b | 2281 | 2007-07-27 Zdenek Dvorak <dvorakz@suse.cz> |
2282 | ||
2283 | * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Generate the | |
2284 | operands with compatible type. | |
2285 | ||
36122326 | 2286 | 2007-07-27 Richard Sandiford <richard@codesourcery.com> |
2287 | ||
2288 | * expr.h (store_bit_field): Don't return a value. | |
2289 | * expmed.c (check_predicate_volatile_ok): New function. | |
2290 | (store_bit_field_1): New function, extracted from store_bit_field. | |
2291 | Take a fallback_p argument and return true if the operation succeeded. | |
2292 | Only use store_fixed_bit_field if fallback_p. Don't recompute | |
2293 | mode_for_extraction; use op_mode instead. Try forcing memories | |
2294 | into registers if the insv expander fails. | |
2295 | (store_bit_field): Use store_bit_field_1 with fallback_p true. | |
2296 | Don't return a value. | |
2297 | (convert_extracted_bit_field): New function, extracted from | |
2298 | store_bit_field. | |
2299 | (extract_bit_field_1): Likewise. Take a fallback_p argument | |
2300 | and return NULL if the operation succeeded. Only use | |
2301 | extract_fixed_bit_field if fallback_p. Only calculate one | |
2302 | extraction mode. Combine code for extv and extzv. Try forcing | |
2303 | memories into registers if the ext(z)v expander fails. | |
2304 | (extract_bit_field): Use extract_bit_field_1 with fallback_p true. | |
2305 | ||
4d1af246 | 2306 | 2007-07-27 Richard Sandiford <rsandifo@nildram.co.uk> |
2307 | ||
2308 | * df.h (df_mw_hardreg): Turn df_ref_type and df_ref_flags | |
2309 | into bitfields. | |
2310 | (df_ref): Likewise. Put regno with other integer fields. | |
2311 | ||
05beda33 | 2312 | 2007-07-27 Richard Sandiford <rsandifo@nildram.co.uk> |
2313 | ||
2314 | * df.h (df_mw_hardreg): Remove "loc" field. | |
2315 | * df-scan.c (df_ref_record): Don't set it. Remove redundant | |
2316 | local variable. | |
2317 | * df-problems.c (df_whole_mw_reg_unused_p): New function, | |
2318 | split out from df_set_unused_notes_for_mw. Return false for | |
2319 | partial references. Assert that mw_reg is a REG when returning true. | |
2320 | (df_set_unused_notes_for_mw): Use it. Use mw_reg instead of *loc. | |
2321 | (df_whole_mw_reg_dead_p): New function, split out from | |
2322 | df_set_dead_notes_for_mw. Return false for partial references. | |
2323 | Assert that mw_reg is a REG when returning true. | |
2324 | (df_set_dead_notes_for_mw): Use it. Use mw_reg instead of *loc. | |
2325 | Remove redundant bitmap check. | |
2326 | ||
89bd57be | 2327 | 2007-07-26 H.J. Lu <hongjiu.lu@intel.com> |
2328 | ||
2329 | * config/ia64/t-ia64 ($(T)crtbegin.o): Removed. | |
2330 | ($(T)crtend.o): Likwise. | |
2331 | ($(T)crtbeginS.o): Likwise. | |
2332 | ($(T)crtendS.o): Likwise. | |
2333 | ($(T)crtfastmath.o): Likwise. | |
2334 | ||
edfe0dbf | 2335 | 2007-07-26 Zdenek Dvorak <dvorakz@suse.cz> |
2336 | ||
2337 | * dominance.c (dom_computed, n_bbs_in_dom_tree): Removed. | |
2338 | * function.h (dom_computed, n_bbs_in_dom_tree): New macros. | |
2339 | * basic-block.h (struct control_flow_graph): Added x_dom_computed | |
2340 | and x_n_bbs_in_dom_tree fields. | |
2341 | ||
be429d54 | 2342 | 2007-07-26 Steve Ellcey <sje@cup.hp.com> |
2343 | ||
2344 | PR tree-optimization/32087 | |
2345 | * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): | |
2346 | Do not call scale_bbs_frequencies_int with prob of zero. | |
2347 | ||
8521669a | 2348 | 2007-07-26 Julian Brown <julian@codesourcery.com> |
2349 | ||
2350 | * config/arm/arm-protos.h (neon_lane_bounds, neon_const_bounds) | |
2351 | (neon_element_bits): Add prototypes. | |
2352 | * config/arm/arm.c (bounds_check, neon_lane_bounds) | |
2353 | (neon_const_bounds, neon_element_bits): New functions. | |
2354 | * config/arm/neon.md (neon_vget_lane<mode>, neon_vget_lanedi) | |
2355 | (neon_vget_lanev2di, neon_vset_lane<mode>, neon_vset_lanedi) | |
2356 | (neon_vset_lanev2di, neon_vdup_lane<mode>, neon_vdup_lanedi) | |
2357 | (neon_vdup_lanev2di, neon_vcvt_n<mode>, neon_vmul_lane<mode>) | |
2358 | (neon_vmull_lane<mode>, neon_vqdmull_lane<mode>) | |
2359 | (neon_vqdmulh_lane<mode>, neon_vmla_lane<mode>) | |
2360 | (neon_vmlal_lane<mode>, neon_vqdmlal_lane<mode>) | |
2361 | (neon_vmls_lane<mode>, neon_vmlsl_lane<mode>) | |
2362 | (neon_vqdmlsl_lane<mode>, neon_vext<mode>, neon_vshr_n<mode>) | |
2363 | (neon_vshrn_n<mode>, neon_vqshrn_n<mode>, neon_vqshrun_n<mode>) | |
2364 | (neon_vshl_n<mode>, neon_vshl_n<mode>, neon_vqshl_n<mode>) | |
2365 | (neon_vqshlu_n<mode>, neon_vshll_n<mode>, neon_vsra_n<mode>) | |
2366 | (neon_vsri_n<mode>, neon_vsli_n<mode>): Add bounds checks. | |
2367 | ||
6017c98f | 2368 | 2007-07-26 Nathan Froyd <froydnj@codesourcery.com> |
2369 | ||
2370 | * config/vxworks.h (VXWORKS_LINK_SPEC): Fix typo. | |
2371 | (HAVE_AS_GNU_ATTRIBUTE): Undefine. | |
2372 | ||
bcaec148 | 2373 | 2007-07-26 Mark Shinwell <shinwell@codesourcery.com> |
2374 | Julian Brown <julian@codesourcery.com> | |
2375 | ||
2376 | * config/arm/arm.c (arm_mac_accumulator_is_mul_result): New. | |
2377 | * config/arm/arm-protos.h (arm_mac_accumulator_is_mul_result): New. | |
2378 | * config/arm/cortex-a8.md: New. | |
2379 | * config/arm/cortex-a8-neon.md: New. | |
2380 | * config/arm/neon-schedgen.ml: New. | |
2381 | * config/arm/neon.md (vqh_mnem): New. | |
2382 | (neon_type): New. | |
2383 | (Is_float_mode): New. | |
2384 | (Scalar_mul_8_16): New. | |
2385 | (Is_d_reg): New. | |
2386 | (V_mode_nunits): New. | |
2387 | (All instruction patterns): Annotate with neon_type attribute | |
2388 | values. | |
2389 | * config/arm/arm.md: Include cortex-a8.md. | |
2390 | (insn): Add smmla, umaal, smlald, smlsld, clz, mrs, msr and xtab | |
2391 | values. | |
2392 | Annotate instruction patterns accordingly. | |
2393 | (generic_sched): Do not use generic scheduling for Cortex-A8. | |
2394 | (generic_vfp): Do not use generic VFP scheduling for Cortex-A8. | |
2395 | ||
7b050b7b | 2396 | 2007-07-26 Daniel Jacobowitz <dan@codesourcery.com> |
2397 | ||
2398 | * fold-const.c (fold_read_from_constant_string): Use | |
2399 | build_int_cst_type. | |
2400 | * tree-ssa-ccp.c (fold_const_aggregate_ref): Likewise. | |
2401 | ||
8c4c00c1 | 2402 | 2007-07-26 Nick Clifton <nickc@redhat.com> |
2403 | ||
2404 | * tree-ssa-operands.h: Change copyright header to refer to version | |
2405 | 3 of the GNU General Public License and to point readers at the | |
2406 | COPYING3 file and the FSF's license web page. | |
2407 | * tree-vrp.c, regrename.c, attribs.c, loop-unswitch.c, | |
2408 | sched-ebb.c, fwprop.c, tree-loop-linear.c, dwarf2asm.c, | |
2409 | tree-into-ssa.c, dwarf2asm.h, tree-ssa-loop-im.c, sbitmap.c, | |
2410 | targhooks.c, tree-dump.c, tree-complex.c, sbitmap.h, targhooks.h, | |
2411 | tree-dump.h, regstat.c, see.c, machmode.h, hooks.c, cgraphbuild.c, | |
2412 | hooks.h, genrecog.c, tree-ssa-threadupdate.c, gen-protos.c, | |
2413 | flags.h, rtlhooks.c, gencheck.c, tree-ssa-loop-niter.c, | |
2414 | opts-common.c, dbgcnt.def, tree-pretty-print.c, tracer.c, | |
2415 | gengtype.c, mkconfig.sh, gengtype.h, tree-ssa-loop-unswitch.c, | |
2416 | cgraph.c, c-lex.c, cgraph.h, libfuncs.h, cfgloopmanip.c, | |
2417 | rtl-error.c, optabs.c, postreload-gcse.c, tree-ssa-loop-manip.c, | |
2418 | optabs.h, genmddeps.c, defaults.h, postreload.c, value-prof.c, | |
2419 | tree-ssa-loop-ch.c, tree-tailcall.c, gengenrtl.c, value-prof.h, | |
2420 | genopinit.c, tree.c, tree.h, reload.c, tree-pass.h, ipa-cp.c, | |
2421 | reload.h, bitmap.c, bitmap.h, tree-scalar-evolution.c, | |
2422 | c-config-lang.in, tree-scalar-evolution.h, target.h, cppspec.c, | |
2423 | rtlanal.c, ddg.c, lambda-mat.c, mips-tdump.c, ddg.h, | |
2424 | tree-phinodes.c, mips-tfile.c, pointer-set.c, pointer-set.h, | |
2425 | diagnostic.c, final.c, diagnostic.h, builtins.c, genoutput.c, | |
2426 | gcc.c, lists.c, tree-ssa-alias-warnings.c, gcc.h, cfghooks.c, | |
2427 | input.h, gensupport.c, fold-const.c, cfghooks.h, insn-notes.def, | |
2428 | gensupport.h, builtin-attrs.def, sync-builtins.def, params.c, | |
2429 | cfgloopanal.c, params.h, graphds.c, omp-low.c, tree-ssa-dse.c, | |
2430 | graphds.h, gcov.c, cfg.c, genextract.c, ipa-reference.c, | |
2431 | genautomata.c, tree-ssa-uncprop.c, auto-inc-dec.c, toplev.c, | |
2432 | tree-gimple.c, ipa-reference.h, vmsdbgout.c, errors.c, toplev.h, | |
2433 | reorg.c, tree-gimple.h, tree-chrec.c, pretty-print.c, errors.h, | |
2434 | real.c, tree-chrec.h, pretty-print.h, debug.c, real.h, genemit.c, | |
2435 | omega.c, c-cppbuiltin.c, genmultilib, debug.h, omega.h, | |
2436 | tree-ssa-sccvn.c, genconfig.c, tree-ssa-sccvn.h, cgraphunit.c, | |
2437 | regs.h, df-scan.c, vec.c, hosthooks-def.h, vec.h, | |
2438 | tree-ssa-copyrename.c, scan.c, builtin-types.def, tree-ssa-ccp.c, | |
2439 | scan.h, mode-classes.def, haifa-sched.c, dominance.c, dojump.c, | |
2440 | double-int.c, gcov-io.c, dbxout.c, builtins.def, double-int.h, | |
2441 | dbxout.h, tree-ssa-loop-ivopts.c, df-core.c, mode-switching.c, | |
2442 | gengtype-lex.l, tree-nomudflap.c, modulo-sched.c, c-objc-common.c, | |
2443 | hosthooks.h, c-objc-common.h, caller-save.c, graph.c, | |
2444 | ipa-pure-const.c, graph.h, c-format.c, cse.c, fix-header.c, | |
2445 | c-format.h, web.c, tree-stdarg.c, genpeep.c, tree-stdarg.h, | |
2446 | tree-ssa-math-opts.c, xcoffout.c, tree-ssa-dom.c, tree-nrv.c, | |
2447 | xcoffout.h, tree-ssa-propagate.c, ipa-utils.c, | |
2448 | tree-ssa-propagate.h, tree-ssa-alias.c, loop-init.c, ipa-utils.h, | |
2449 | gimple-low.c, rtl.def, c-tree.h, tree-ssa-sink.c, ipa-inline.c, | |
2450 | mkmap-symver.awk, machmode.def, c-pch.c, cfganal.c, global.c, | |
2451 | alloc-pool.c, c-semantics.c, alloc-pool.h, jump.c, ifcvt.c, | |
2452 | dwarf2out.c, expr.c, cfgbuild.c, tree-browser.c, dwarf2out.h, | |
2453 | expr.h, longlong.h, opts.c, gcov-iov.c, opts.h, dwarf2.h, | |
2454 | genattrtab.c, genconditions.c, genattr.c, optc-gen.awk, | |
2455 | timevar.def, tree-ssa-loop-ivcanon.c, hard-reg-set.h, predict.c, | |
2456 | tree-ssa-loop.c, host-default.c, predict.h, recog.c, dbgcnt.c, | |
2457 | recog.h, dbgcnt.h, c-aux-info.c, tree-ssa-address.c, timevar.c, | |
2458 | dse.c, lcm.c, tree-ssa-ifcombine.c, timevar.h, dse.h, | |
2459 | matrix-reorg.c, tree-vn.c, treestruct.def, fp-test.c, c-decl.c, | |
2460 | tree-eh.c, c-errors.c, c-pretty-print.c, regmove.c, | |
2461 | lambda-trans.c, c-pretty-print.h, et-forest.c, et-forest.h, | |
2462 | ebitmap.c, configure.ac, local-alloc.c, function.c, langhooks.c, | |
2463 | ebitmap.h, cppdefault.c, tree-vectorizer.c, function.h, | |
2464 | langhooks.h, print-rtl.c, cppdefault.h, df.h, tree-vectorizer.h, | |
2465 | sdbout.c, stor-layout.c, sdbout.h, rtlhooks-def.h, read-rtl.c, | |
2466 | gcse.c, ipa-type-escape.c, vmsdbg.h, alias.c, gengtype-parse.c, | |
2467 | ipa-type-escape.h, domwalk.c, alias.h, tree-if-conv.c, profile.c, | |
2468 | init-regs.c, domwalk.h, ipa.c, gccbug.in, tree-data-ref.c, | |
2469 | loop-unroll.c, tree-data-ref.h, tree-flow-inline.h, tree-affine.c, | |
2470 | mkmap-flat.awk, tree-affine.h, tree-vect-analyze.c, c.opt, ggc.h, | |
2471 | opt-gather.awk, c-typeck.c, gimplify.c, coretypes.h, exec-tool.in, | |
2472 | insn-addr.h, tree-ssa-phiopt.c, c-pragma.c, c-pragma.h, calls.c, | |
2473 | tree-ssa-coalesce.c, genmodes.c, loop-doloop.c, predict.def, | |
2474 | dwarf.h, tree.def, rtl-factoring.c, lower-subreg.c, expmed.c, | |
2475 | bt-load.c, ggc-common.c, genflags.c, tree-dfa.c, except.c, | |
2476 | coverage.c, except.h, emit-rtl.c, cfgexpand.c, coverage.h, | |
2477 | stringpool.c, cselib.c, emit-rtl.h, tree-cfgcleanup.c, c-opts.c, | |
2478 | cselib.h, cfgcleanup.c, simplify-rtx.c, tree-ssa-pre.c, explow.c, | |
2479 | tree-ssa-live.c, tree-sra.c, tree-ssa-live.h, tree-predcom.c, | |
2480 | loop-invariant.c, genpreds.c, protoize.c, opth-gen.awk, c-dump.c, | |
2481 | lambda.h, loop-iv.c, tree-mudflap.c, ipa-prop.c, print-tree.c, | |
2482 | tree-mudflap.h, tree-ssa-copy.c, ipa-prop.h, cfglayout.c, | |
2483 | tree-ssa-forwprop.c, c-convert.c, cfglayout.h, common.opt, | |
2484 | ggc-zone.c, ggc-page.c, c-omp.c, tree-ssa-dce.c, gencodes.c, | |
2485 | varasm.c, tree-vect-patterns.c, libada-mk.in, tree-ssa-ter.c, | |
2486 | sched-deps.c, tree-nested.c, c-ppoutput.c, tree-ssa.c, | |
2487 | target-def.h, tree-ssa-loop-prefetch.c, lambda-code.c, | |
2488 | omp-builtins.def, rtl.c, regclass.c, stab.def, intl.c, rtl.h, | |
2489 | intl.h, tree-inline.c, conditions.h, tree-inline.h, integrate.c, | |
2490 | sched-int.h, tree-iterator.c, integrate.h, tree-iterator.h, | |
2491 | genchecksum.c, tree-optimize.c, output.h, tree-vect-transform.c, | |
2492 | tree-object-size.c, combine.c, tree-outof-ssa.c, addresses.h, | |
2493 | bb-reorder.c, stack-ptr-mod.c, resource.c, var-tracking.c, | |
2494 | cfgloop.c, system.h, resource.h, ggc-none.c, tree-profile.c, | |
2495 | cfgloop.h, c-gimplify.c, c-common.c, opt-functions.awk, | |
2496 | tree-vect-generic.c, tree-flow.h, df-problems.c, scan-decls.c, | |
2497 | c-common.h, config.gcc, reg-stack.c, tlink.c, main.c, stub-objc.c, | |
2498 | fixproto, config.host, Makefile.in, gccspec.c, sched-rgn.c, | |
2499 | vecprim.h, basic-block.h, tree-ssa-structalias.c, | |
2500 | tree-ssa-structalias.h, c-common.def, sched-vis.c, tree-cfg.c, | |
2501 | passes.c, genconstants.c, c-incpath.c, c-incpath.h, | |
2502 | struct-equiv.c, c-parser.c, tree-ssa-reassoc.c, varray.c, sreal.c, | |
2503 | varray.h, dfp.c, sreal.h, combine-stack-adj.c, dfp.h, | |
2504 | reg-notes.def, cfgrtl.c, config.build, varpool.c, gengtype-yacc.y, | |
2505 | stmt.c, dce.c, tree-browser.def, prefix.c, statistics.h, | |
2506 | params.def, dce.h, c-lang.c, gcov-dump.c, prefix.h, | |
2507 | tree-ssanames.c, collect2.c, collect2.h, tree-ssa-threadedge.c, | |
2508 | convert.c, convert.h, langhooks-def.h, reload1.c, | |
2509 | tree-ssa-operands.c: Likewise. | |
2510 | ||
2ff2a12b | 2511 | 2007-07-26 Jan Hubicka <jh@suse.cz> |
2512 | ||
2513 | * tree-ssa-live.c: Include debug.h and flags.h. | |
2514 | (mark_scope_block_unused): New function. | |
2515 | (remove_unused_scope_block_p): New function. | |
2516 | (remove_unused_locals): Remove unused blocks too. | |
2517 | ||
7ed1bb71 | 2518 | 2007-07-25 Ian Lance Taylor <iant@google.com> |
2519 | ||
2520 | * combine.c (combine_max_regno): Remove. Remove all uses. | |
2521 | (struct reg_stat_struct): Rename from struct reg_stat. | |
2522 | (reg_stat_type): Define, and declare VECs. | |
2523 | (reg_stat): Change from pointer to VEC. Change all uses. | |
2524 | (combine_split_insns): New static function. | |
2525 | (try_combine, find_split_point): Call it instead of split_insns. | |
2526 | ||
2197fd81 | 2527 | 2007-07-25 Zdenek Dvorak <dvorakz@suse.cz> |
2528 | ||
2529 | * cfghooks.c (split_block): Fix the information about loop latch. | |
2530 | ||
5405298c | 2531 | 2007-07-25 Zdenek Dvorak <dvorakz@suse.cz> |
2532 | ||
2533 | * cfgloopmanip.c (fix_loop_structure): Call force_single_succ_latches. | |
2534 | ||
f9614b84 | 2535 | 2007-07-25 Zdenek Dvorak <dvorakz@suse.cz> |
2536 | ||
2537 | * tree-ssa-threadupdate.c (create_edge_and_update_destination_phis): | |
2538 | Scan the new edge for loop exit info. | |
2539 | ||
cf756914 | 2540 | 2007-07-25 Andreas Tobler <a.tobler@schweiz.org> |
2541 | ||
2542 | * config/darwin.c: Include debug.h. | |
2543 | ||
43de460b | 2544 | 2007-07-25 Steve Ellcey <sje@cup.hp.com> |
2545 | ||
2546 | PR target/32218 | |
2547 | * tree-vect-patterns.c (vect_pattern_recog_1): Check for valid type. | |
2548 | ||
78d690bb | 2549 | 2007-07-25 Steve Ellcey <sje@cup.hp.com> |
2550 | ||
2551 | * config/ia64/ia64.h (HARD_REGNO_NREGS): Handle RFmode. | |
2552 | (HARD_REGNO_MODE_OK): Ditto. | |
2553 | (MODES_TIEABLE_P): Ditto. | |
2554 | (HARD_REGNO_CALLER_SAVE_MODE): Ditto. | |
2555 | (CLASS_MAX_NREGS): Ditto. | |
2556 | * config/ia64/ia64.c (ia64_print_operand_address): Add R format. | |
2557 | * config/ia64/ia64.md (divsf3_internal_thr): Removed. | |
2558 | (divdf3_internal_thr): Removed. | |
2559 | * config/ia64/div.md: New file. | |
2560 | * config/ia64/constraints.md: Add H constraint. | |
2561 | ||
ac0ff66f | 2562 | 2007-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2563 | ||
2564 | * sbitmap.c (sbitmap_verify_popcount, sbitmap_alloc_with_popcount, | |
2565 | sbitmap_copy, sbitmap_copy_n, sbitmap_equal, sbitmap_empty_p, | |
2566 | sbitmap_union_of_diff_cg, sbitmap_union_of_diff, sbitmap_not, | |
2567 | sbitmap_difference, sbitmap_any_common_bits, sbitmap_a_and_b_cg, | |
2568 | sbitmap_a_and_b, sbitmap_a_xor_b_cg, sbitmap_a_xor_b, | |
2569 | sbitmap_a_or_b_cg, sbitmap_a_or_b, sbitmap_a_subset_b_p, | |
2570 | sbitmap_a_or_b_and_c_cg, sbitmap_a_or_b_and_c, | |
2571 | sbitmap_a_and_b_or_c_cg, sbitmap_a_and_b_or_c, | |
2572 | sbitmap_first_set_bit, sbitmap_last_set_bit, dump_sbitmap, | |
2573 | dump_sbitmap_file, debug_sbitmap, popcount_table, | |
2574 | sbitmap_popcount): Constify. | |
2575 | * sbitmap.h (const_sbitmap, const_sbitmap_ptr): New. | |
2576 | (sbitmap_iterator, sbitmap_iter_init, dump_sbitmap, | |
2577 | dump_sbitmap_file, sbitmap_copy, sbitmap_copy_n, sbitmap_equal, | |
2578 | sbitmap_empty_p, sbitmap_union_of_diff, sbitmap_union_of_diff_cg, | |
2579 | sbitmap_difference, sbitmap_not, sbitmap_a_or_b_and_c, | |
2580 | sbitmap_a_or_b_and_c_cg, sbitmap_a_and_b_or_c, | |
2581 | sbitmap_a_and_b_or_c_cg, sbitmap_any_common_bits, sbitmap_a_and_b, | |
2582 | sbitmap_a_and_b_cg, sbitmap_a_or_b, sbitmap_a_or_b_cg, | |
2583 | sbitmap_a_xor_b, sbitmap_a_xor_b_cg, sbitmap_a_subset_b_p, | |
2584 | sbitmap_first_set_bit, sbitmap_last_set_bit, debug_sbitmap, | |
2585 | sbitmap_popcount, sbitmap_verify_popcount): Constify. | |
2586 | ||
056755a1 | 2587 | 2007-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2588 | ||
2589 | * bitmap.c (hash_descriptor, eq_descriptor, bitmap_element_zerop, | |
2590 | bitmap_copy, bitmap_clear_bit, popcount_table, bitmap_count_bits, | |
2591 | bitmap_first_set_bit, bitmap_and, bitmap_and_into, | |
2592 | bitmap_elt_copy, bitmap_and_compl, bitmap_and_compl_into, | |
2593 | bitmap_compl_and_into, bitmap_elt_ior, bitmap_ior, | |
2594 | bitmap_ior_into, bitmap_xor, bitmap_xor_into, bitmap_equal_p, | |
2595 | bitmap_intersect_p, bitmap_intersect_compl_p, | |
2596 | bitmap_ior_and_compl, bitmap_ior_and_compl_into, | |
2597 | debug_bitmap_file, debug_bitmap, bitmap_print, bitmap_hash): | |
2598 | Constify. | |
2599 | * bitmap.h (bitmap_copy, bitmap_equal_p, bitmap_intersect_p, | |
2600 | bitmap_intersect_compl_p, bitmap_count_bits, bitmap_and, | |
2601 | bitmap_and_into, bitmap_and_compl, bitmap_and_compl_into, | |
2602 | bitmap_compl_and_into, bitmap_ior, bitmap_ior_into, bitmap_xor, | |
2603 | bitmap_xor_into, bitmap_ior_and_compl, bitmap_ior_and_compl_into, | |
2604 | debug_bitmap, debug_bitmap_file, bitmap_print, | |
2605 | bitmap_first_set_bit, bitmap_hash, bmp_iter_set_init, | |
2606 | bmp_iter_and_init, bmp_iter_and_compl_init): Likewise. | |
2607 | ||
ffdfb40f | 2608 | 2007-07-25 Daniel Berlin <dberlin@dberlin.org> |
2609 | ||
2610 | * config/darwin.c (darwin_override_options): Additional fix for | |
2611 | debug info formats that don't support var tracking. | |
2612 | ||
dea3189b | 2613 | 2007-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2614 | ||
2615 | * cselib.c (entry_and_rtx_equal_p): Constify. | |
2616 | * gengtype.c (output_mangled_typename, write_types, write_local): | |
2617 | Likewise. | |
2618 | * gengtype.h (const_type_p): New. | |
2619 | * see.c (eq_descriptor_extension, hash_descriptor_extension): | |
2620 | Constify. | |
2621 | * tlink.c (scan_linker_output): De-constify. | |
2622 | * tree-ssa-loop-im.c (memref_eq): Constify. | |
2623 | * tree-ssa-structalias.c (const_shared_bitmap_info_t): New. | |
2624 | (shared_bitmap_hash, shared_bitmap_eq): Constify. | |
2625 | ||
aae87fc3 | 2626 | 2007-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2627 | ||
2628 | * c-common.c (fname_as_string, c_type_hash): Constify. | |
2629 | * c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise. | |
2630 | * cgraph.c (edge_hash, edge_eq): Likewise. | |
2631 | * dwarf2out.c (decl_die_table_eq, decl_loc_table_eq): Likewise. | |
2632 | * emit-rtl.c (mem_attrs_htab_eq, reg_attrs_htab_hash, | |
2633 | reg_attrs_htab_eq): Likewise. | |
2634 | * except.c (t2r_eq, t2r_hash, ttypes_filter_eq, ehl_hash, ehl_eq): | |
2635 | Likewise. | |
2636 | * genautomata.c (const_reserv_sets_t, const_unit_decl_t, | |
2637 | const_decl_t, const_state_t, const_automata_list_el_t): New. | |
2638 | (first_out_arc, DECL_UNIT, DECL_BYPASS, DECL_AUTOMATON, DECL_EXCL, | |
2639 | DECL_PRESENCE, DECL_ABSENCE, DECL_RESERV, DECL_INSN_RESERV, | |
2640 | automaton_decl_hash, automaton_decl_eq_p, insn_decl_hash, | |
2641 | insn_decl_eq_p, decl_hash, decl_eq_p, alt_state_cmp, | |
2642 | reserv_sets_cmp, reserv_sets_eq, state_hash, state_eq_p, | |
2643 | automata_list_hash, automata_list_eq_p, compare_states_for_equiv, | |
2644 | compare_max_occ_cycle_nums, out_state_arcs_num, | |
2645 | compare_transition_els_num, units_cmp, state_reservs_cmp): | |
2646 | Constify. | |
2647 | * genmodes.c (cmp_modes): Likewise. | |
2648 | * ggc-common.c (saving_htab_hash, saving_htab_eq): Likewise. | |
2649 | * gimplify.c (compare_case_labels): Likewise. | |
2650 | * ipa-type-escape.c (get_name_of_type, type_brand_s): Likewise. | |
2651 | * loop-unroll.c (si_info_hash, ve_info_hash): Likewise. | |
2652 | * matrix-reorg.c (mtt_info_hash): Likewise. | |
2653 | * postreload-gcse.c (hash_expr_for_htab, expr_equiv_p): Likewise. | |
2654 | * rtl-factoring.c (const_p_hash_bucket, const_p_hash_elem): New. | |
2655 | (htab_hash_bucket, htab_hash_elem): Constify. | |
2656 | * tree-browser.c (TB_parent_eq): Likewise. | |
2657 | * tree-scalar-evolution.c (hash_scev_info): Likewise. | |
2658 | * tree-ssa-alias.c (sort_tags_by_id): Likewise. | |
2659 | * tree-ssa-coalesce.c (const_coalesce_pair_p): New. | |
2660 | (coalesce_pair_map_hash, coalesce_pair_map_eq, compare_pairs): | |
2661 | Constify. | |
2662 | * tree-ssa-dom.c (avail_expr_hash, avail_expr_eq): Likewise. | |
2663 | * tree-ssa-pre.c (const_expr_pred_trans_t): New. | |
2664 | (expr_pred_trans_hash, expr_pred_trans_eq): Constify. | |
2665 | * tree-ssa-sccvn.c (const_vn_binary_op_t, const_vn_unary_op_t, | |
2666 | const_vn_phi_t, const_vn_reference_op_t, const_vn_reference_t): | |
2667 | New. | |
2668 | (vn_reference_op_eq, vn_reference_hash, vn_reference_eq, | |
2669 | vn_unary_op_hash, vn_unary_op_eq, vn_binary_op_hash, | |
2670 | vn_binary_op_eq, vn_phi_hash, vn_phi_eq): Constify. | |
2671 | * tree-ssa-threadupdate.c (redirection_data_hash, | |
2672 | redirection_data_eq): Likewise. | |
2673 | * tree-ssa-uncprop.c (equiv_hash, equiv_eq): Likewise. | |
2674 | * tree-ssa.c (var_ann_eq): Likewise. | |
2675 | * tree-vrp.c (compare_case_labels): Likewise. | |
2676 | * tree.c (int_cst_hash_hash, int_cst_hash_eq, | |
2677 | tree_map_base_marked_p, type_hash_marked_p, tree_check_failed, | |
2678 | tree_not_check_failed, tree_class_check_failed, | |
2679 | tree_range_check_failed, tree_not_class_check_failed, | |
2680 | omp_clause_check_failed, omp_clause_range_check_failed, | |
2681 | tree_contains_struct_check_failed, tree_operand_check_failed): | |
2682 | Likewise. | |
2683 | * tree.h (tree_contains_struct_check_failed, tree_check_failed, | |
2684 | tree_not_check_failed, tree_class_check_failed, | |
2685 | tree_range_check_failed, tree_not_class_check_failed, | |
2686 | tree_operand_check_failed, omp_clause_operand_check_failed, | |
2687 | tree_operand_length): Likewise. | |
2688 | * var-tracking.c (const_variable): New. | |
2689 | (variable_htab_hash, variable_htab_eq): Constify. | |
2690 | * varasm.c (const_desc_hash): Likewise. | |
2691 | ||
720082dc | 2692 | 2007-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2693 | ||
2694 | * expr.c (handled_component_p): Constify. | |
2695 | * fold-const.c (fit_double_type): Likewise. | |
2696 | * real.h (real_value_from_int_cst): Likewise. | |
2697 | * tree-flow-inline.h (gimple_in_ssa_p, | |
2698 | gimple_aliases_computed_p, gimple_addressable_vars, | |
2699 | gimple_call_clobbered_vars, gimple_referenced_vars, | |
2700 | gimple_global_var, gimple_nonlocal_all, gimple_var_anns, | |
2701 | end_htab_p, end_referenced_vars_p, var_ann, function_ann, | |
2702 | may_aliases, end_readonly_imm_use_p, has_zero_uses, | |
2703 | has_single_use, single_imm_use, num_imm_uses, is_exec_stmt, | |
2704 | is_label_stmt, is_global_var, phi_ssa_name_p, | |
2705 | factoring_name_p, is_call_clobbered, tree_common_ann, | |
2706 | op_iter_done, end_imm_use_stmt_p, end_imm_use_on_stmt_p, | |
2707 | unmodifiable_var_p, array_ref_contains_indirect_ref, | |
2708 | ref_contains_array_ref, lookup_subvars_for_var, | |
2709 | var_can_have_subvars, overlap_subvar, gimple_ssa_operands, | |
2710 | gimple_mem_ref_stats): Likewise. | |
2711 | * tree-flow.h (tree_common_ann, var_ann, function_ann, | |
2712 | may_aliases, is_exec_stmt, is_label_stmt, | |
2713 | ref_contains_array_ref, array_ref_contains_indirect_ref, | |
2714 | var_can_have_subvars, overlap_subvar, is_call_clobbered, | |
2715 | unmodifiable_var_p): Likewise. | |
2716 | * tree-gimple.c (is_gimple_min_invariant): Likewise. | |
2717 | * tree-gimple.h (is_gimple_min_invariant): Likewise. | |
2718 | * tree.c (type_hash_list, attribute_hash_list, tree_size, | |
2719 | cst_and_fits_in_hwi, real_value_from_int_cst, | |
2720 | build_real_from_int_cst, integer_zerop, integer_onep, | |
2721 | integer_all_onesp, integer_pow2p, integer_nonzerop, tree_log2, | |
2722 | tree_floor_log2, real_zerop, real_onep, real_twop, | |
2723 | real_minus_onep, really_constant_p, purpose_member, chain_member, | |
2724 | list_length, fields_length, int_size_in_bytes, bit_position, | |
2725 | int_bit_position, byte_position, int_byte_position, expr_align, | |
2726 | array_type_nelts, tree_node_structure, | |
2727 | type_contains_placeholder_1, iterative_hash_pointer, | |
2728 | is_attribute_with_length_p, is_attribute_p, check_qualified_type, | |
2729 | tree_map_base_eq, type_hash_list, type_hash_eq, | |
2730 | attribute_hash_list, type_num_arguments, tree_int_cst_equal, | |
2731 | tree_int_cst_lt, tree_int_cst_compare, host_integerp, | |
2732 | tree_low_cst, tree_int_cst_msb, tree_int_cst_sgn, | |
2733 | simple_cst_list_equal, compare_tree_int, iterative_hash_expr, | |
2734 | int_fits_type_p, get_containing_scope, decl_function_context, | |
2735 | decl_type_context, omp_clause_operand_check_failed, | |
2736 | initializer_zerop, int_cst_value, num_ending_zeros): Likewise. | |
2737 | * tree.h (omp_clause_operand_check_failed, tree_size, | |
2738 | build_real_from_int_cst, array_type_nelts, purpose_member, | |
2739 | tree_int_cst_equal, tree_int_cst_lt, tree_int_cst_compare, | |
2740 | host_integerp, tree_low_cst, tree_int_cst_msb, tree_int_cst_sgn, | |
2741 | is_attribute_p, check_qualified_type, expr_align, | |
2742 | int_size_in_bytes, bit_position, int_bit_position, byte_position, | |
2743 | int_byte_position, list_length, fields_length, initializer_zerop, | |
2744 | integer_zerop, integer_onep, integer_all_onesp, integer_pow2p, | |
2745 | integer_nonzerop, cst_and_fits_in_hwi, num_ending_zeros, | |
2746 | tree_node_structure, handled_component_p, get_containing_scope, | |
2747 | decl_function_context, decl_type_context, real_zerop, | |
2748 | type_num_arguments, fit_double_type, really_constant_p, | |
2749 | int_fits_type_p, tree_log2, tree_floor_log2, iterative_hash_expr, | |
2750 | compare_tree_int, chain_member, simple_cst_list_equal, real_onep, | |
2751 | real_twop, real_minus_onep, int_cst_value): Likewise. | |
2752 | ||
dd9b9fc5 | 2753 | 2007-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2754 | ||
2755 | * cfglayout.c (insn_scope, insn_line): Constify. | |
2756 | * emit-rtl.c (const_int_htab_hash, const_int_htab_eq, | |
2757 | const_double_htab_hash, const_double_htab_eq, | |
2758 | mem_attrs_htab_hash): Likewise. | |
2759 | * loop-iv.c (biv_eq): Likewise. | |
2760 | * print-rtl.c (print_rtx, print_decl_name, print_mem_expr, | |
2761 | print_inline_rtx, debug_rtx, debug_rtx_list, debug_rtx_range, | |
2762 | debug_rtx_find, print_rtl, print_rtl_single, print_simple_rtl): | |
2763 | Likewise. | |
2764 | * rtl-error.c (location_for_asm, diagnostic_for_asm, | |
2765 | error_for_asm, warning_for_asm, _fatal_insn, | |
2766 | _fatal_insn_not_found): Likewise. | |
2767 | * rtl.c (rtx_size, shared_const_p, shallow_copy_rtx_stat, | |
2768 | rtx_equal_p, rtl_check_failed_bounds, rtl_check_failed_type1, | |
2769 | rtl_check_failed_type2, rtl_check_failed_code1, | |
2770 | rtl_check_failed_code2, rtl_check_failed_code_mode, | |
2771 | rtvec_check_failed_bounds, rtl_check_failed_flag): Likewise. | |
2772 | * rtl.h (rtl_check_failed_bounds, rtl_check_failed_type1, | |
2773 | rtl_check_failed_type2, rtl_check_failed_code1, | |
2774 | rtl_check_failed_code2, rtl_check_failed_code_mode, | |
2775 | rtvec_check_failed_bounds, rtl_check_failed_flag, LABEL_KIND, | |
2776 | SET_LABEL_KIND, rhs_regno, subreg_lsb, subreg_regno, subreg_nregs, | |
2777 | shared_const_p, rtx_size, shallow_copy_rtx_stat, rtx_equal_p, | |
2778 | get_pool_mode, insn_line, insn_file, simplify_replace_rtx, | |
2779 | mode_signbit_p, rtx_addr_can_trap_p, nonzero_address_p, | |
2780 | rtx_unstable_p, get_integer_term, get_related_value, | |
2781 | offset_within_block_p, reg_mentioned_p, count_occurrences, | |
2782 | reg_referenced_p, reg_used_between_p, no_labels_between_p, | |
2783 | single_set_2, multiple_sets, set_noop_p, refers_to_regno_p, | |
2784 | reg_overlap_mentioned_p, dead_or_set_p, dead_or_set_regno_p, | |
2785 | find_reg_note, find_regno_note, find_reg_equal_equiv_note, | |
2786 | find_constant_src, find_reg_fusage, find_regno_fusage, | |
2787 | pure_call_p, remove_note, side_effects_p, volatile_refs_p, | |
2788 | volatile_insn_p, may_trap_p, may_trap_after_code_motion_p, | |
2789 | may_trap_or_fault_p, inequality_comparisons_p, tablejump_p, | |
2790 | computed_jump_p, auto_inc_p, in_expr_list_p, | |
2791 | remove_node_from_expr_list, loc_mentioned_in_p, | |
2792 | label_is_jump_target_p, reversed_comparison_code_parts, | |
2793 | debug_rtx, debug_rtx_list, debug_rtx_range, debug_rtx_find, | |
2794 | print_mem_expr, print_rtl, print_simple_rtl, print_rtl_single, | |
2795 | print_inline_rtx): Likewise. | |
2796 | * rtlanal.c (covers_regno_p, covers_regno_no_parallel_p, | |
2797 | computed_jump_p_1, nonzero_bits1, rtx_unstable_p, | |
2798 | rtx_addr_can_trap_p_1, rtx_addr_can_trap_p, nonzero_address_p, | |
2799 | get_integer_term, get_related_value, offset_within_block_p, | |
2800 | count_occurrences, reg_mentioned_p, no_labels_between_p, | |
2801 | reg_used_between_p, reg_referenced_p, single_set_2, | |
2802 | multiple_sets, set_noop_p, refers_to_regno_p, | |
2803 | reg_overlap_mentioned_p, dead_or_set_p, | |
2804 | covers_regno_no_parallel_p, covers_regno_p, | |
2805 | dead_or_set_regno_p, find_reg_note, find_regno_note, | |
2806 | find_reg_equal_equiv_note, find_constant_src, find_reg_fusage, | |
2807 | find_regno_fusage, pure_call_p, remove_note, in_expr_list_p, | |
2808 | remove_node_from_expr_list, volatile_insn_p, volatile_refs_p, | |
2809 | side_effects_p, may_trap_p_1, may_trap_p, | |
2810 | may_trap_after_code_motion_p, may_trap_or_fault_p, | |
2811 | inequality_comparisons_p, tablejump_p, computed_jump_p_1, | |
2812 | computed_jump_p, auto_inc_p, loc_mentioned_in_p, subreg_lsb, | |
2813 | subreg_regno, subreg_nregs, label_is_jump_target_p): Likewise. | |
2814 | * simplify-rtx.c (neg_const_int, plus_minus_operand_p, | |
2815 | mode_signbit_p, simplify_replace_rtx, plus_minus_operand_p): | |
2816 | Likewise. | |
2817 | * toplev.h (_fatal_insn_not_found, _fatal_insn, error_for_asm, | |
2818 | warning_for_asm): Likewise. | |
2819 | * tree.h (print_rtl): Likewise. | |
2820 | * varasm.c (get_pool_mode): Likewise. | |
2821 | ||
c1fdef8e | 2822 | 2007-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2823 | ||
2824 | * c-lex.c (c_lex_with_flags, lex_string): Constify. | |
2825 | * c-ppoutput.c (print_line, pp_dir_change): Likewise. | |
2826 | * c-typeck.c (free_all_tagged_tu_seen_up_to): Likewise. | |
2827 | * cfg.c (bb_copy_original_hash, bb_copy_original_eq): Likewise. | |
2828 | * cfgloop.c (loop_exit_hash, loop_exit_eq): Likewise. | |
2829 | * ddg.c (compare_sccs): Likewise. | |
2830 | * df-scan.c (df_ref_compare, df_mw_compare): Likewise. | |
2831 | * dfp.c (decimal_real_from_string, decimal_to_decnumber, | |
2832 | decimal_to_binary, decimal_do_compare, decimal_real_to_decimal, | |
2833 | decimal_do_fix_trunc, decimal_real_to_integer, | |
2834 | decimal_real_to_integer2, decimal_real_maxval): Likewise. | |
2835 | * dse.c (const_group_info_t): New. | |
2836 | (invariant_group_base_eq, invariant_group_base_hash): Constify. | |
2837 | * dwarf2out.c (const_dw_die_ref): New. | |
2838 | (decl_die_table_hash, decl_die_table_eq, file_info_cmp): Constify. | |
2839 | * tree-browser.c (TB_parent_eq): Likewise. | |
2840 | * unwind-dw2-fde.c (__register_frame_info_bases, | |
2841 | __deregister_frame_info_bases, fde_unencoded_compare, fde_split, | |
2842 | add_fdes, linear_search_fdes, binary_search_unencoded_fdes): | |
2843 | Likewise. | |
2844 | * unwind-dw2-fde.h (get_cie, next_fde): Likewise. | |
2845 | * unwind-dw2.c (uw_frame_state_for): Likewise. | |
2846 | * value-prof.c (histogram_hash, histogram_eq): Likewise. | |
2847 | * value-prof.h (const_histogram_value): New. | |
2848 | ||
6c1ca223 | 2849 | 2007-07-25 Richard Sandiford <richard@codesourcery.com> |
2850 | ||
2851 | * config/mips/mips.c (machine_function): Add | |
2852 | initialized_mips16_gp_pseudo_p. | |
2853 | (mips16_gp_pseudo_reg): Do not emit the initialization of | |
2854 | mips16_gp_pseudo_rtx when being called from the gimple cost- | |
2855 | calculation routines; emit it on the first use outside those | |
2856 | routines. | |
2857 | ||
0c16c31b | 2858 | 2007-07-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
2859 | ||
2860 | * coretypes.h (const_bitmap, const_rtx, const_rtvec, const_tree): | |
2861 | New. | |
2862 | ||
2863 | * rtl.h (RTL_CHECK1, RTL_CHECK2, RTL_CHECKC1, RTL_CHECKC2, | |
2864 | RTVEC_ELT, XWINT, XCWINT, XCMWINT, XCNMPRV, BLOCK_SYMBOL_CHECK, | |
2865 | RTL_FLAG_CHECK1, RTL_FLAG_CHECK2, RTL_FLAG_CHECK3, | |
2866 | RTL_FLAG_CHECK4, RTL_FLAG_CHECK5, RTL_FLAG_CHECK6, | |
2867 | RTL_FLAG_CHECK7, RTL_FLAG_CHECK8, LABEL_KIND, SET_LABEL_KIND): | |
2868 | Preserve const-ness of parameters through use of __typeof(), | |
2869 | also constify and tidy. | |
2870 | ||
2871 | * tree.h (TREE_CHECK, TREE_NOT_CHECK, TREE_CHECK2, | |
2872 | TREE_NOT_CHECK2, TREE_CHECK3, TREE_NOT_CHECK3, TREE_CHECK4, | |
2873 | NON_TREE_CHECK4, TREE_CHECK5, TREE_NOT_CHECK5, | |
2874 | CONTAINS_STRUCT_CHECK, TREE_CLASS_CHECK, TREE_RANGE_CHECK, | |
2875 | OMP_CLAUSE_SUBCODE_CHECK, OMP_CLAUSE_RANGE_CHECK, EXPR_CHECK, | |
2876 | GIMPLE_STMT_CHECK, NON_TYPE_CHECK, TREE_VEC_ELT_CHECK, | |
2877 | PHI_NODE_ELT_CHECK, OMP_CLAUSE_ELT_CHECK, TREE_OPERAND_CHECK, | |
2878 | TREE_OPERAND_CHECK_CODE, GIMPLE_STMT_OPERAND_CHECK, | |
2879 | TREE_RTL_OPERAND_CHECK, TREE_CHAIN, TREE_TYPE): Likewise. | |
2880 | ||
eddcdde1 | 2881 | 2007-07-25 Julian Brown <julian@codesourcery.com> |
2882 | Mark Shinwell <shinwell@codesourcery.com> | |
2883 | ||
2884 | * config/alpha/alpha.c (alpha_mangle_fundamental_type): Rename to... | |
2885 | (alpha_mangle_type): This. | |
2886 | (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define. | |
2887 | (TARGET_MANGLE_TYPE): Define this instead. | |
2888 | * config/arm/arm-protos.h (arm_mangle_type): Add prototype. | |
2889 | * config/arm/arm.c (TARGET_MANGLE_TYPE): Define target hook. | |
2890 | (arm_init_neon_builtins): Fix comment. | |
2891 | (arm_mangle_map_entry): New. | |
2892 | (arm_mangle_map): New. | |
2893 | (arm_mangle_type): New. | |
2894 | * config/i386/i386.c (ix86_mangle_fundamental_type): Rename to... | |
2895 | (ix86_mangle_type): This. Use TYPE_MAIN_VARIANT and restrict | |
2896 | mangled types to VOID_TYPE, BOOLEAN_TYPE, INTEGER_TYPE, REAL_TYPE. | |
2897 | (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define. | |
2898 | (TARGET_MANGLE_TYPE): Define this instead. | |
2899 | * config/ia64/ia64.c (ia64_mangle_fundamental_type): Rename to... | |
2900 | (ia64_mangle_type): This. Use TYPE_MAIN_VARIANT and restrict | |
2901 | mangled types to VOID_TYPE, BOOLEAN_TYPE, INTEGER_TYPE, REAL_TYPE. | |
2902 | (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define. | |
2903 | (TARGET_MANGLE_TYPE): Define this instead. | |
2904 | * config/rs6000/rs6000.c (rs6000_mangle_fundamental_type): Rename | |
2905 | to... | |
2906 | (rs6000_mangle_type): This. Use TYPE_MAIN_VARIANT. | |
2907 | (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define. | |
2908 | (TARGET_MANGLE_TYPE): Define this instead. | |
2909 | * config/s390/s390.c (s390_mangle_fundamental_type): Rename to... | |
2910 | (s390_mangle_type): This. | |
2911 | (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define. | |
2912 | (TARGET_MANGLE_TYPE): Define this instead. | |
2913 | * config/sparc/sparc.c (sparc_mangle_fundamental_type): Rename to... | |
2914 | (sparc_mangle_type): This. | |
2915 | (TARGET_MANGLE_FUNDAMENTAL_TYPE): Don't define. | |
2916 | (TARGET_MANGLE_TYPE): Define this instead. | |
2917 | * cp/mangle.c (write_type): Call mangle_type target hook on all | |
2918 | types before mangling. Use original type, not main variant, as | |
2919 | argument. | |
2920 | * target-def.h (TARGET_MANGLE_FUNDAMENTAL_TYPE): Rename hook to... | |
2921 | (TARGET_MANGLE_TYPE): This. | |
2922 | * target.h (gcc_target): Rename mangle_fundamental_type to | |
2923 | mangle_type. | |
2924 | * doc/tm.texi (TARGET_MANGLE_FUNDAMENTAL_TYPE): Rename section to... | |
2925 | (TARGET_MANGLE_TYPE): This. Note slightly different semantics. | |
2926 | ||
d98a3884 | 2927 | 2007-07-25 Julian Brown <julian@codesourcery.com> |
2928 | Paul Brook <paul@codesourcery.com> | |
2929 | Joseph Myers <joseph@codesourcery.com> | |
2930 | Mark Shinwell <shinwell@codesourcery.com> | |
2931 | ||
2932 | * Makefile.in (TEXI_GCC_FILES): Add arm-neon-intrinsics.texi. | |
2933 | * config.gcc (arm*-*-*): Add arm_neon.h to extra headers. | |
2934 | (with_fpu): Allow --with-fpu=neon. | |
2935 | * config/arm/aof.h (ADDITIONAL_REGISTER_NAMES): Add Q0-Q15. | |
2936 | * config/arm/aout.h (ADDITIONAL_REGISTER_NAMES): Add Q0-Q15. | |
2937 | * config/arm/arm-modes.def (EI, OI, CI, XI): New modes. | |
2938 | * config/arm/arm-protos.h (neon_immediate_valid_for_move) | |
2939 | (neon_immediate_valid_for_logic, neon_output_logic_immediate) | |
2940 | (neon_pairwise_reduce, neon_expand_vector_init, neon_reinterpret) | |
2941 | (neon_emit_pair_result_insn, neon_disambiguate_copy) | |
2942 | (neon_vector_mem_operand, neon_struct_mem_operand, output_move_quad) | |
2943 | (output_move_neon): Add prototypes. | |
2944 | * config/arm/arm.c (FL_NEON): New flag for NEON processor capability. | |
2945 | (all_fpus): Add FPUTYPE_NEON. | |
2946 | (fp_model_for_fpu): Add NEON field. | |
2947 | (arm_return_in_memory): Return vectors <= 16 bytes in ARM registers. | |
2948 | (arm_arg_partial_bytes): Allow NEON vectors to be passed partially | |
2949 | in registers. | |
2950 | (arm_legitimate_address_p): Don't support fancy addressing for NEON | |
2951 | structure moves. | |
2952 | (thumb2_legitimate_address_p): Likewise. | |
2953 | (neon_valid_immediate): Recognize and prepare constants suitable for | |
2954 | NEON instructions. | |
2955 | (neon_immediate_valid_for_move): New function. Recognize and prepare | |
2956 | immediates for NEON move instructions. | |
2957 | (neon_immediate_valid_for_logic): New function. Recognize and | |
2958 | prepare immediates for NEON logic instructions. | |
2959 | (neon_output_logic_immediate): New function. Create asm string | |
2960 | suitable for outputting immediate logic instructions. | |
2961 | (neon_pairwise_reduce): New function. Implement reduction using | |
2962 | pairwise operations. | |
2963 | (neon_expand_vector_init): New function. Expand a (possibly | |
2964 | non-constant) vector initialization. | |
2965 | (neon_vector_mem_operand): New function. Memory operands supported | |
2966 | for quad-word loads/stores to/from ARM or NEON registers. Don't | |
2967 | allow base+offset addressing for core regs. | |
2968 | (neon_struct_mem_operand): New function. Valid mems for NEON | |
2969 | structure moves. | |
2970 | (coproc_secondary_reload_class): Enable NEON registers to be loaded | |
2971 | from neon_vector_mem_operand addresses without a secondary register. | |
2972 | (add_minipool_forward_ref): Handle >8-byte minipool entries. | |
2973 | (add_minipool_backward_ref): Likewise. | |
2974 | (dump_minipool): Likewise. | |
2975 | (push_minipool_fix): Likewise. | |
2976 | (output_move_quad): New function. Output quad-word moves, loads and | |
2977 | stores using ARM registers. | |
2978 | (output_move_vfp): Add support for vectors in VFP (NEON) D | |
2979 | registers. | |
2980 | (output_move_neon): Output a NEON load/store to/from a quadword | |
2981 | register. | |
2982 | (arm_print_operand): Implement new codes: | |
2983 | - 'c' for unadorned integers (without a # sign). | |
2984 | - 'J', 'K' for reg+2/reg+3, reg+3/reg+2 in little/big-endian | |
2985 | mode. | |
2986 | - 'e', 'f' for the low and high D parts of a NEON Q register. | |
2987 | - 'q' outputs a NEON Q register. | |
2988 | - 'h' outputs ranges of D registers for VLDM/VSTM etc. | |
2989 | - 'T' prints NEON opcode features from a coded bitmask. | |
2990 | - 'F' is similar to T, but signed/unsigned codes both print as | |
2991 | 'i'. | |
2992 | - 't' is similar to T, but 'u' is printed instead of 'p'. | |
2993 | - 'O' prints 'r' if NEON instruction should perform rounding (as | |
2994 | specified by bitmask), else prints nothing. | |
2995 | - '#' is a punctuation character to stop operand numbers from | |
2996 | running together with following digits in the assembler | |
2997 | strings for instructions (when using mode attributes). | |
2998 | (arm_assemble_integer): Handle extra NEON vector modes. Permute | |
2999 | constant vectors in big-endian mode, where necessary. | |
3000 | (arm_hard_regno_mode_ok): Allow vectors in VFP/NEON registers. | |
3001 | Handle EI, OI, CI, XI modes. | |
3002 | (ashlv4hi3, ashlv2si3, lshrv4hi3, lshrv2si3, ashrv4hi3) | |
3003 | (ashrv2si3): Rename IWMMXT2_BUILTINs to... | |
3004 | (ashlv4hi3_iwmmxt, ashlv2si3_iwmmxt, lshrv4hi3_iwmmxt) | |
3005 | (lshrv2si3_iwmmxt, ashrv4hi3_iwmmxt, ashrv2si3_iwmmxt): New names. | |
3006 | (neon_builtin_type_bits): Add enumeration, one bit for each vector | |
3007 | type. | |
3008 | (v8qi_UP, v4hi_UP, v2si_UP, v2sf_UP, di_UP, v16qi_UP, v8hi_UP) | |
3009 | (v4si_UP, v4sf_UP, v2di_UP, ti_UP, ei_UP, oi_UP, UP): Define macros | |
3010 | to turn v8qi, etc. into bits defined above. | |
3011 | (neon_itype): New enumeration. Classifications of NEON builtins. | |
3012 | (neon_builtin_datum): Define struct. Contains information about | |
3013 | a single builtin (with multiple modes). | |
3014 | (CF): Define helper macro for... | |
3015 | (VAR1...VAR10): Define builtins with a type, name and 1-10 different | |
3016 | modes. | |
3017 | (neon_builtin_data): New array. Define information about builtins | |
3018 | for use during initialization/expansion. | |
3019 | (arm_init_neon_builtins): New function. | |
3020 | (arm_init_builtins): Call arm_init_neon_builtins if TARGET_NEON is | |
3021 | true. | |
3022 | (neon_builtin_compare): New function. | |
3023 | (locate_neon_builtin_icode): New function. Find an insn code for a | |
3024 | builtin given a function code for that builtin. Also return type of | |
3025 | builtin (NEON_BINOP, NEON_UNOP etc.). | |
3026 | (builtin_arg): New enumeration. Types of arguments for builtins. | |
3027 | (arm_expand_neon_args): New function. Expand a generic NEON builtin. | |
3028 | Takes a variable argument list of builtin_arg types, terminated by | |
3029 | NEON_ARG_STOP. | |
3030 | (arm_expand_neon_builtin): New function. Expand a NEON builtin. | |
3031 | (neon_reinterpret): New function. Expand NEON reinterpret intrinsic. | |
3032 | (neon_emit_pair_result_insn): New function. Support returning pairs | |
3033 | of vectors via a pointer. | |
3034 | (neon_disambiguate_copy): New function. Set up operands for a | |
3035 | multi-word copy such that registers do not get clobbered. | |
3036 | (arm_expand_builtin): Call arm_expand_neon_builtin if fcode >= | |
3037 | ARM_BUILTIN_NEON_BASE. | |
3038 | (arm_file_start): Set float-abi attribute for NEON. | |
3039 | (arm_vector_mode_supported_p): Enable NEON vector modes. | |
3040 | (arm_mangle_map_entry): New. | |
3041 | (arm_mangle_map): New. | |
3042 | (arm_mangle_vector_type): New. | |
3043 | * config/arm/arm.h (TARGET_CPU_CPP_BUILTINS): Define __ARM_NEON__ | |
3044 | when appropriate. | |
3045 | (TARGET_NEON): New macro. Target supports NEON. | |
3046 | (fputype): Add FPUTYPE_NEON. | |
3047 | (UNITS_PER_SIMD_WORD): Define. Allow quad-word registers to be used | |
3048 | for vectorization based on command-line arg. | |
3049 | (NEON_REGNO_OK_FOR_NREGS): Define. | |
3050 | (VALID_NEON_DREG_MODE, VALID_NEON_QREG_MODE) | |
3051 | (VALID_NEON_STRUCT_MODE): Define. | |
3052 | (PRINT_OPERAND_PUNCT_VALID_P): '#' is valid punctuation. | |
3053 | (arm_builtins): Add ARM_BUILTIN_NEON_BASE. | |
3054 | * config/arm/arm.md (VUNSPEC_POOL_16): Insert constant for unspec. | |
3055 | (consttable_16): Add pattern for outputting 16-byte minipool | |
3056 | entries. | |
3057 | (movv2si, movv4hi, movv8qi): Remove blank expanders (redefined in | |
3058 | vec-common.md). | |
3059 | (vec-common.md, neon.md): Include md files. | |
3060 | * config/arm/arm.opt (mvectorize-with-neon-quad): Add option. | |
3061 | * config/arm/constraints.md (constraint "Dn", "Dl", "DL"): Define. | |
3062 | (memory_constraint "Ut", "Un", "Us"): Define. | |
3063 | * config/arm/iwmmxt.md (VMMX, VSHFT): New mode macros. | |
3064 | (MMX_char): New mode attribute. | |
3065 | (addv8qi3, addv4hi3, addv2si3): Remove. Replace with... | |
3066 | (*add<mode>3_iwmmxt): New insn pattern. | |
3067 | (subv8qi3, subv4hi3, subv2si3): Remove. Replace with... | |
3068 | (*sub<mode>3_iwmmxt): New insn pattern. | |
3069 | (mulv4hi3): Rename to... | |
3070 | (*mulv4hi3_iwmmxt): This. | |
3071 | (smaxv8qi3, smaxv4hi3, smaxv2si3, umaxv8qi3, umaxv4hi3) | |
3072 | (umaxv2si3, sminv8qi3, sminv4hi3, sminv2si3, uminv8qi3) | |
3073 | (uminv4hi3, uminv2si3): Remove. Replace with... | |
3074 | (*smax<mode>3_iwmmxt, *umax<mode>3_iwmmxt, *smin<mode>3_iwmmxt) | |
3075 | (*umin<mode>3_iwmmxt): These. | |
3076 | (ashrv4hi3, ashrv2si3, ashrdi3_iwmmxt): Replace with... | |
3077 | (ashr<mode>3_iwmmxt): This new pattern. | |
3078 | (lshrv4hi3, lshrv2si3, lshrdi3_iwmmxt): Replace with... | |
3079 | (lshr<mode>3_iwmmxt): This new pattern. | |
3080 | (ashlv4hi3, ashlv2si3, ashldi3_iwmmxt): Replace with... | |
3081 | (ashl<mode>3_iwmmxt): This new pattern. | |
3082 | * config/arm/neon-docgen.ml: New file. Generate documentation for | |
3083 | intrinsics. | |
3084 | * config/arm/neon-gen.ml: New file. Generate arm_neon.h header. | |
3085 | * config/arm/arm_neon.h: New (autogenerated). | |
3086 | * config/arm/neon-testgen.ml: New file. Generate NEON tests | |
3087 | automatically. | |
3088 | * config/arm/neon.md: New file. Define NEON instructions. | |
3089 | * config/arm/neon.ml: New file. Abstract description of NEON | |
3090 | instructions, used to generate arm_neon.h header, documentation and | |
3091 | tests. | |
3092 | * config/arm/t-arm (MD_INCLUDES): Add vec-common.md, neon.md. | |
3093 | * vec-common.md: New file. Shared parts for iWMMXt and NEON vector | |
3094 | support. | |
3095 | * doc/extend.texi (ARM Built-in Functions): Rename and remove | |
3096 | extraneous comma. | |
3097 | (ARM NEON Intrinsics): New subsection. | |
3098 | * doc/arm-neon-intrinsics.texi: New (autogenerated). | |
3099 | ||
1217a39a | 3100 | 2007-07-25 Danny Smith <dannysmith@users.sourceforge.net> |
3101 | ||
3102 | * config/i386/i386-protos.h (i386_pe_asm_file_end): Remove | |
3103 | prototype. | |
3104 | ||
099d85c4 | 3105 | 2007-07-24 Jan Hubicka <jh@suse.cz> |
3106 | ||
3107 | * regclass.c (move_table): New type. | |
3108 | (move_cost, may_move_in_cost, may_move_out_cost): Use it. | |
3109 | (init_move_cost): Break out from ... | |
3110 | (init_reg_sets_1): ... here; simplify computation of | |
3111 | have_regs-of_mode and contains_reg_of_mode. | |
3112 | (record_reg_classes): Unswitch internal loops. | |
3113 | (copy_cost): Trigger lazy initialization of move cost | |
3114 | (record_address_regs): Likewise. | |
3115 | ||
fe6e8926 | 3116 | 2007-07-24 Daniel Berlin <dberlin@dberlin.org> |
3117 | ||
3118 | * config/darwin.c (darwin_override_options): Don't force on | |
3119 | flag_var_tracking_uninit when no debug info is requested. | |
3120 | ||
a8a97201 | 3121 | 2007-07-25 Zdenek Dvorak <dvorakz@suse.cz> |
3122 | ||
3123 | * cfgloop.c (init_loops_structure): New function. | |
3124 | (flow_loops_find): Create root of the loop tree unconditionally. | |
3125 | ||
ee7b149f | 3126 | 2007-07-24 Daniel Jacobowitz <dan@codesourcery.com> |
3127 | ||
3128 | * tree-ssa-ccp.c (fold_const_aggregate_ref): Use fold_convert. | |
3129 | ||
d7be1dc6 | 3130 | 2007-07-24 Jan Hubicka <jh@suse.cz> |
3131 | ||
3132 | * caller-save.c: Include ggc.h, gt-caller-save.h | |
3133 | (reg_save_code, reg_restore_code): Rename to ... | |
3134 | (cached_reg_save_code, cached_reg_restore_code): ... those. | |
3135 | (savepat, restpat, test_reg, test_mem, saveinsn, restinsn): New. | |
3136 | (reg_save_code, reg_restore_code): New functions. | |
3137 | (init_caller_save): Do not intialize | |
3138 | reg_save_code/reg_restore_code tables. | |
bb11a0e8 | 3139 | * Makefile.in: (gt-caller-save.h): New. |
d7be1dc6 | 3140 | |
9289fc25 | 3141 | 2007-07-24 Andreas Krebbel <krebbel1@de.ibm.com> |
3142 | ||
3143 | * tree-ssa-ifcombine.c (ifcombine_ifandif): Use a ONE operand | |
3144 | with the mode of the original operand instead of | |
3145 | integer_one_node. | |
3146 | ||
53c6ada5 | 3147 | 2007-07-23 Jan Hubicka <jH@suse.cz> |
3148 | ||
3149 | * i386.c (ix86_secondary_memory_needed): Break out to... | |
3150 | (inline_secondary_memory_needed): ... here. | |
3151 | (ix86_memory_move_cost): Break out to ... | |
3152 | (inline_memory_move_cost): ... here; add support for IN value of 2 for | |
3153 | maximum of input and output; fix handling of Q_REGS on 64bit. | |
3154 | (ix86_secondary_memory_needed): Microoptimize. | |
3155 | ||
74c8f69a | 3156 | 2007-07-23 Sebastian Pop <sebpop@gmail.com> |
3157 | ||
3158 | * tree-data-ref.c (find_vertex_for_stmt, create_rdg_edge_for_ddr, | |
3159 | create_rdg_edges_for_scalar, create_rdg_edges, create_rdg_vertices, | |
3160 | stmts_from_loop, known_dependences_p, build_rdg): New. | |
3161 | * tree-data-ref.h: Depends on graphds.h. | |
3162 | (rdg_vertex, RDGV_STMT, rdg_dep_type, rdg_edge, RDGE_TYPE): New. | |
3163 | (build_rdg): Declared. | |
3164 | * Makefile.in (TREE_DATA_REF_H): Depends on graphds.h. | |
3165 | ||
a33fd067 | 3166 | 2007-07-23 Daniel Berlin <dberlin@dberlin.org> |
3167 | ||
3168 | * tree-ssa-propagate.c (valid_gimple_expression_p): Match up with | |
3169 | ccp_min_invariant. | |
3170 | ||
1f3b83af | 3171 | 2007-07-23 Peter Bergner <bergner@vnet.ibm.com> |
3172 | Jakub Jelinek <jakub@redhat.com> | |
3173 | ||
3174 | PR middle-end/PR28690 | |
3175 | * optabs.c (expand_binop): (emit_cmp_and_jump_insns): Allow EQ compares. | |
3176 | * rtlanal.c (commutative_operand_precedence): Prefer both REG_POINTER | |
3177 | and MEM_POINTER operands over REG and MEM operands. | |
3178 | (swap_commutative_operands_p): Change return value to bool. | |
3179 | * rtl.h: Update the corresponding prototype. | |
3180 | * tree-ssa-address.c (gen_addr_rtx): Use simplify_gen_binary | |
3181 | instead of gen_rtx_PLUS. | |
3182 | * simplify-rtx.c (simplify_plus_minus_op_data_cmp): Change return | |
3183 | value to bool. Change function arguments to rtx's and update code | |
3184 | to match. | |
3185 | (simplify_plus_minus): Update the simplify_plus_minus_op_data_cmp | |
3186 | calls to match the new declaration. | |
3187 | * simplify-rtx.c (simplify_associative_operation): Don't | |
3188 | reorder simplify_binary_operation arguments. | |
3189 | ||
d61e7fe9 | 3190 | 2007-07-23 Richard Sandiford <richard@codesourcery.com> |
3191 | ||
3192 | * config/mips/mips.c (override_options): Use mips_costs to derive | |
3193 | the default branch cost. | |
3194 | * config/mips/mips.h (BRANCH_COST): Use mips_branch_cost rather | |
3195 | than mips_costs. | |
3196 | * config/mips/mips.opt (mbranch-cost=): New option. | |
63d40e53 | 3197 | * doc/invoke.texi (-mbranch-cost): Document new MIPS option. |
d61e7fe9 | 3198 | |
d870c009 | 3199 | 2007-07-23 Richard Sandiford <richard@codesourcery.com> |
3200 | ||
3201 | * config/mips/mips.h (GR_REG_CLASS_P, COP_REG_CLASS_P): Delete. | |
3202 | (SECONDARY_MEMORY_NEEDED): Delete commented-out definition. | |
3c70a4dc | 3203 | * config/mips/mips.c (mips_register_move_cost): Use reg_class_subset_p |
d870c009 | 3204 | instead of GR_REG_CLASS_P and COP_REG_CLASS_P. |
3205 | ||
02b2dafb | 3206 | 2007-07-23 Richard Sandiford <richard@codesourcery.com> |
3207 | ||
3208 | * config/mips/constraints.md (ks): New constraint. | |
3209 | * config/mips/mips.md (*add<mode>3_sp1, *add<mode>3_sp2): Fold into... | |
56bedb66 | 3210 | (*add<mode>3_mips16): ...here. |
02b2dafb | 3211 | |
27eda240 | 3212 | 2007-07-21 Uros Bizjak <ubizjak@gmail.com> |
3213 | ||
3214 | * optabs.h (enum optab_index): Add new OTI_signbit. | |
3215 | (signbit_optab): Define corresponding macro. | |
3216 | (enum insn_code signbit_optab[]): Remove array. | |
3217 | * optabs.c (init_optabs): Initialize signbit_optab using init_optab. | |
3218 | (expand_copysign_absneg): If back end provides signbit insn, use it | |
3219 | instead of bit operations on floating point argument. | |
3220 | * builtins.c (enum insn_code signbit_optab[]): Remove array. | |
3221 | (expand_builtin_signbit): Check signbit_optab->handlers[].insn_code for | |
3222 | availability of signbit insn. | |
3223 | ||
3224 | * config/i386/i386.md (signbit<mode>2): New insn pattern to implement | |
3225 | signbitf, signbit and signbitl built-ins as inline x87 intrinsics when | |
3226 | SSE mode is not active. | |
3227 | (isinf<mode>2): Disable for mfpmath=sse,387. | |
3228 | ||
418a0769 | 3229 | 2007-07-22 Ben Elliston <bje@au.ibm.com> |
3230 | ||
3231 | * regclass.c (invalid_mode_change_p): Attach ATTRIBUTE_UNUSED to | |
3232 | `class' parameter. | |
3233 | * struct-equiv.c (note_local_live): Likewise for `y_regno'. | |
3234 | ||
79307120 | 3235 | 2007-07-20 Richard Guenther <rguenther@suse.de> |
3236 | ||
3237 | * tree-cfg.c (verify_expr): COND_EXPRs can have any | |
3238 | integral typed condition. | |
3239 | * tree-ssa.c (useless_type_conversion_p): Do not preserve | |
3240 | booleanness. Only preserve conversions from a non-base | |
3241 | type to a base type, not in general between types with | |
3242 | different TYPE_MIN_VALUE or TYPE_MAX_VALUE. | |
3243 | * tree.def (COND_EXPR): Document that the condition | |
3244 | can be of any integral type. | |
3245 | ||
4509d619 | 3246 | 2007-07-20 Nigel Stephens <nigel@mips.com> |
3247 | Richard Sandiford <richard@codesourcery.com> | |
3248 | ||
3249 | * config/mips/mips.h (mips_dwarf_regno): Declare. | |
3250 | (DBX_REGISTER_NUMBER): Remove redundant brackets. | |
3251 | (HI_REGNUM, LO_REGNUM): Define in an endian-dependent way. | |
3252 | (AC1HI_REGNUM, AC1LO_REGNUM, AC2HI_REGNUM, AC2LO_REGNUM) | |
3253 | (AC3HI_REGNUM, AC3LO_REGNUM, ACC_HI_REG_P): Delete. | |
3254 | (reg_class): Rename HI_REG to MD0_REG and LO_REG to MD1_REG. | |
3255 | (REG_CLASS_NAMES): Update accordingly. | |
3256 | * config/mips/mips.c (mips_dwarf_regno): New array. | |
3257 | (mips_regno_to_class): Rename HI_REG to MD0_REG and LO_REG to MD1_REG. | |
3258 | (mips_subword): Remove special handling for accumulator registers. | |
3259 | (override_options): Initiailize mips_dwarf_regno. Remove use | |
3260 | of ACC_HI_REG_P. | |
3261 | (mips_swap_registers): New function. | |
3262 | (mips_conditional_register_usage): Swap accumulator registers | |
3263 | around if TARGET_LITTLE_ENDIAN. | |
3264 | (mips_cannot_change_mode_class): Remove special treatment of ACC_REGS. | |
3265 | * config/mips/constraints.md (h, l): Use the endianness to choose | |
3266 | between MD0_REG and MD1_REG. | |
3267 | * config/mips/mips.md (*mfhilo_<mode>_macc): Use a fixed-string, | |
3268 | alternative-dependent template. | |
3269 | ||
b308ddcf | 3270 | 2007-07-20 Richard Sandiford <richard@codesourcery.com> |
3271 | ||
3272 | * config/arm/arm.md (movsi): Use can_create_pseudo_p instead of | |
3273 | no_new_pseudos. | |
3274 | ||
e08b2eb8 | 3275 | 2007-07-20 Zdenek Dvorak <dvorakz@suse.cz> |
3276 | ||
3277 | * function.c (thread_prologue_and_epilogue_insns): Fix exit | |
3278 | predecessor fallthru flags. | |
3279 | ||
e88bb328 | 3280 | 2007-07-20 Zdenek Dvorak <dvorakz@suse.cz> |
3281 | ||
3282 | * tree-ssa-loop-niter.c (assert_loop_rolls_lt): Convert the operands | |
3283 | of compare to the same type. | |
3284 | * cfgloopmanip.c (add_loop): Update information about loop exits. | |
3285 | (loop_version): Remove the innermost loop requirement. | |
3286 | * tree-ssa-loop-manip.c (determine_exit_conditions): Convert bounds | |
3287 | to sizetype for pointers. | |
3288 | ||
c042caf0 | 3289 | 2007-07-18 H.J. Lu <hongjiu.lu@intel.com> |
3290 | ||
3291 | * Makefile.in (D32PBIT_FUNCS): Add _sd_to_tf and _tf_to_sd. | |
3292 | (D64PBIT_FUNCS): Add _dd_to_tf and _tf_to_dd. | |
3293 | (D128PBIT_FUNCS): Add _td_to_tf and _tf_to_td. | |
3294 | ||
3295 | * config/dfp-bit.c: Empty for TFmode conversions. | |
3296 | ||
22e3029e | 3297 | 2007-07-18 Caroline Tice <ctice@apple.com> |
3298 | ||
3299 | * var-tracking.c (find_src_status): Check for COND_EXEC insns | |
3300 | and handle them correctly; check that src is not NULL before | |
3301 | trying to use it. | |
3302 | (find_src_set_src): Likewise. | |
3303 | ||
4690907f | 3304 | 2007-07-18 Bob Wilson <bob.wilson@acm.org> |
3305 | ||
3306 | * config/xtensa/xtensa.c (xtensa_expand_mask_and_shift): New. | |
3307 | (struct alignment_context, init_alignment_context): New. | |
3308 | (xtensa_expand_compare_and_swap, xtensa_expand_atomic): New. | |
3309 | * config/xtensa/xtensa.h (XCHAL_HAVE_RELEASE_SYNC): Add default. | |
3310 | (XCHAL_HAVE_S32C1I): Likewise. | |
3311 | (TARGET_RELEASE_SYNC, TARGET_S32C1I): New. | |
3312 | * config/xtensa/xtensa.md (UNSPECV_MEMW): New constant. | |
3313 | (UNSPECV_S32RI, UNSPECV_S32C1I): Likewise. | |
3314 | (ATOMIC, HQI): New macros. | |
3315 | (memory_barrier, *memory_barrier): New. | |
3316 | (sync_lock_releasesi): New. | |
3317 | (sync_compare_and_swapsi, sync_compare_and_swap<mode>): New. | |
3318 | (sync_lock_test_and_set<mode>): New. | |
3319 | (sync_<atomic><mode>): New. | |
3320 | (sync_old_<atomic><mode>, sync_new_<atomic><mode>): New. | |
3321 | * config/xtensa/xtensa-protos.h (xtensa_expand_compare_and_swap): New. | |
3322 | (xtensa_expand_atomic): New. | |
3323 | ||
8a1a9cb7 | 3324 | 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3325 | ||
3326 | PR target/30652 | |
3327 | ||
3328 | * builtins.c (expand_builtin_interclass_mathfn): Provide a generic | |
3329 | transformation for builtin ISNORMAL. | |
3330 | (expand_builtin): Handle BUILT_IN_ISNORMAL. | |
3331 | * builtins.def (BUILT_IN_ISNORMAL): New. | |
3332 | * doc/extend.texi: Document isnormal. | |
3333 | ||
cde061c1 | 3334 | 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3335 | ||
3336 | PR target/30652 | |
3337 | ||
3338 | * builtins.c (expand_builtin_interclass_mathfn): Allow for missing | |
3339 | optabs infrastructure. Provide generic implementation for | |
3340 | FINITE/ISFINITE. | |
3341 | (expand_builtin): Handle FINITE/ISFINITE. | |
3342 | (fold_builtin_classify): Make ISFINITE canonical instead of FINITE. | |
3343 | (fold_builtin_1): Likewise. | |
3344 | ||
3345 | * builtins.def (BUILT_IN_ISFINITE): New. | |
3346 | ||
3347 | * doc/extend.texi: Document isfinite. | |
3348 | ||
06f7a99d | 3349 | 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3350 | ||
3351 | PR target/30652 | |
3352 | PR middle-end/20558 | |
3353 | ||
3354 | * builtins.c (expand_builtin_interclass_mathfn): Provide a | |
3355 | generic fallback for isinf. | |
3356 | * c-cppbuiltin.c (builtin_define_float_constants): Move FP max | |
3357 | calculation code ... | |
3358 | * real.c (get_max_float): ... to here. | |
3359 | * real.h (get_max_float): New. | |
3360 | ||
b5c26b42 | 3361 | 2007-07-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
3362 | ||
3363 | PR middle-end/32668 | |
3364 | ||
3365 | * builtin-attrs.def (ATTR_TYPEGENERIC, | |
3366 | ATTR_CONST_NOTHROW_TYPEGENERIC): New. | |
3367 | ||
3368 | * builtins.def (BUILT_IN_ISINF, BUILT_IN_ISNAN, | |
3369 | BUILT_IN_ISGREATER, BUILT_IN_ISGREATEREQUAL, BUILT_IN_ISLESS, | |
3370 | BUILT_IN_ISLESSEQUAL, BUILT_IN_ISLESSGREATER, | |
3371 | BUILT_IN_ISUNORDERED): Use ATTR_CONST_NOTHROW_TYPEGENERIC. | |
3372 | ||
3373 | * c-common.c (handle_type_generic_attribute): New. | |
3374 | (c_common_attribute_table): Add "type generic". | |
3375 | ||
3376 | * c-typeck.c (convert_arguments): Handle "type generic" functions. | |
3377 | ||
2602affd | 3378 | 2007-07-18 Daniel Berlin <dberlin@dberlin.org> |
3379 | ||
3380 | * tree-ssa-sccvn.c (try_to_simplify): Use valid_gimple_expression | |
3381 | * tree-ssa-propagate (valid_gimple_expression): Handle ADDR_EXPR | |
3382 | properly. | |
3383 | ||
94d1be51 | 3384 | 2007-07-18 Rask Ingemann Lambertsen <rask@sygehus.dk> |
3385 | ||
3386 | PR target/32808 | |
3387 | * config/cris/cris.c (cris_print_index): Don't use XEXP before | |
3388 | checking that the operand is an expression. | |
3389 | ||
8a76d177 | 3390 | 2007-07-19 Christoph von Wittich <Christoph_vW@reactos.org> |
3391 | Danny Smith <dannysmith@users.sourceforge.net> | |
3392 | ||
3393 | PR/other 30335 | |
3394 | * config/i386/host-mingw32.c (mingw32_gt_pch_use_address): Put | |
3395 | file mapping object in local namespace if Windows version later | |
3396 | than NT4 | |
3397 | ||
e348ff3e | 3398 | 2007-07-18 Richard Sandiford <richard@codesourcery.com> |
3399 | ||
3400 | * config/arm/arm-protos.h (arm_cannot_force_const_mem): Declare. | |
3401 | * config/arm/arm.c (TARGET_CANNOT_FORCE_CONST_MEM): Redefine to | |
3402 | arm_cannot_force_const_mem. | |
3403 | (arm_cannot_force_const_mem): New function. | |
3404 | * config/arm/arm.h (ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): New macro. | |
3405 | (LEGITIMATE_CONSTANT_P): Test arm_cannot_force_const_mem instead | |
3406 | of arm_tls_referenced_p. | |
3407 | * config/arm/arm.md (movsi): Split out-of-section constants when | |
3408 | ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P. | |
3409 | * config/arm/vxworks.h (ARM_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): Define. | |
3410 | ||
e13cda6d | 3411 | 2007-07-18 Richard Sandiford <richard@codesourcery.com> |
3412 | ||
3413 | * config/mips/mips.md (clear_cache): Treat the size argument as Pmode. | |
3414 | ||
6bd07e6e | 3415 | 2007-07-18 Richard Sandiford <richard@codesourcery.com> |
3416 | ||
3417 | * config/mips/mips.md (*extendqihi2): Convert the destination | |
3418 | to SImode. | |
3419 | ||
afb9ca77 | 3420 | 2007-07-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3421 | ||
3422 | * config/pa/fptr.c: Update license header. | |
3423 | * config/pa/milli64.S: Likewise. | |
3424 | ||
1ee47085 | 3425 | 2007-07-17 Nick Clifton <nickc@redhat.com> |
3426 | ||
3427 | * COPYING_v3: New file. Contains version 3 of the GNU General | |
3428 | Public License. | |
3429 | * COPYING.LIB_v3: New file. Contains version 3 of the GNU | |
3430 | Lesser General Public License. | |
3431 | * doc/include/gpl_v3.texi: New file. Contains version 3 of | |
3432 | the GNU General Public License. | |
3433 | ||
c473c074 | 3434 | 2007-07-17 Zdenek Dvorak <dvorakz@suse.cz> |
3435 | ||
3436 | PR rtl-optimization/32773 | |
3437 | * cfglayout.c (force_one_exit_fallthru): New function. | |
3438 | (cfg_layout_finalize): Use it. | |
3439 | ||
5e13091d | 3440 | 2007-07-16 Richard Guenther <rguenther@suse.de> |
3441 | Uros Bizjak <ubizjak@gmail.com> | |
3442 | ||
3443 | * tree-if-conv.c (find_phi_replacement_condition): Unshare "*cond" | |
3444 | before forcing it to gimple operand. | |
3445 | ||
7f666194 | 3446 | 2007-07-16 Sandra Loosemore <sandra@codesourcery.com> |
3447 | David Ung <davidu@mips.com> | |
3448 | ||
d07cd931 | 3449 | * config/mips/mips.h (TUNE_24K): Define. |
7f666194 | 3450 | (TUNE_MACC_CHAINS): Add TUNE_24K. |
d07cd931 | 3451 | * config/mips/mips.md: (*mul_acc_si, *mul_sub_si): Change type to |
3452 | imadd. | |
3453 | * config/mips/74k.md (r74k_int_mult): Split madd/msub to .. | |
3454 | (r74k_int_madd): .. this new reservation. | |
3455 | (define_bypass): Fixed bypasses for r74k_int_madd to use | |
7f666194 | 3456 | mips_linked_madd_p. |
d07cd931 | 3457 | * config/mips/24k.md (define_bypass): Define new |
3458 | r24k_int_mul3->r24k_int_madd bypass using mips_linked_madd_p. | |
7f666194 | 3459 | |
477a45f3 | 3460 | 2007-07-16 Sandra Loosemore <sandra@codesourcery.com> |
3461 | Nigel Stephens <nigel@mips.com> | |
3462 | ||
3463 | * config/mips/mips.md: Include 20kc.md. | |
3464 | * config/mips/20kc.md: New file. | |
3465 | * config/mips/mips.c (mips_rtx_cost_data): Fill in 20Kc costs. | |
3466 | (mips_adjust_cost): Tweak for 20Kc. | |
3467 | (mips_issue_rate): Likewise. | |
3468 | * config/mips/mips.h (TUNE_20KC): Define. | |
3469 | ||
05656ad2 | 3470 | 2007-07-16 David Edelsohn <edelsohn@gnu.og> |
3471 | ||
3472 | * config/rs6000/rs6000.c (struct processor_cost): Add | |
3473 | cache_line_size, l1_cache_lines, and simultaneous_prefetches | |
3474 | fields. | |
3475 | (*_cost): Add cache information. | |
3476 | (rs6000_override_options): Set cache parameters. | |
3477 | ||
2f1d7291 | 3478 | 2007-07-16 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
3479 | ||
3480 | PR bootstrap/3456 | |
3481 | * config.gcc (mips-sgi-irix[56]*): Enable pthread support. | |
3482 | * doc/install.texi (mips-sgi-irix6): pthread support works now. | |
3483 | ||
e2340456 | 3484 | 2007-07-16 Paul Brook <paul@codesourcery.com> |
3485 | ||
3486 | PR target/32753 | |
e2340456 | 3487 | * config/arm/cirrus.md (cirrus_arm_movsi_insn): Remove dead insn. |
a9fc98af | 3488 | (cirrus_thumb2_movsi_insn): Ditto. |
e2340456 | 3489 | |
164413e2 | 3490 | 2007-07-15 Geoffrey Keating <geoffk@apple.com> |
3491 | ||
3492 | * config/rs6000/darwin-fallback.c (interpret_libc): Change | |
3493 | CR2_REGNO to R_CR2. | |
3494 | ||
c27697e2 | 3495 | 2007-07-15 Andrew Haley <aph@redhat.com> |
3496 | ||
3497 | * unwind-sjlj.c (_Unwind_GetIPInfo): Check for context->fc != NULL | |
3498 | before looking in the context. | |
3499 | ||
df6b92e4 | 3500 | 2007-07-15 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3501 | ||
3502 | PR middle-end/32398 | |
3503 | PR middle-end/32769 | |
3504 | * pa-protos.h (pa_eh_return_handler_rtx): Declare. | |
3505 | * pa.c (pa_extra_live_on_entry, rp_saved): Declare. | |
3506 | (TARGET_EXTRA_LIVE_ON_ENTRY): Define. | |
3507 | (pa_output_function_prologue): Use rp_saved and current_function_is_leaf | |
3508 | to generate .CALLINFO statement. | |
3509 | (hppa_expand_prologue): Set rp_saved. | |
3510 | (hppa_expand_epilogue): Use rp_saved. | |
3511 | (pa_extra_live_on_entry, pa_eh_return_handler_rtx): New functions. | |
3512 | * pa.h (EH_RETURN_HANDLER_RTX): Use pa_eh_return_handler_rtx. | |
3513 | ||
5a30047c | 3514 | 2007-07-14 Dirk Mueller <dmueller@suse.de> |
3515 | ||
3516 | * omega.c (coalesce): Fix memory leak on early exit. | |
3517 | * matrix-reorg.c (check_allocation_function): Likewise. | |
3518 | * tree-vect-transform.c (vect_get_new_vect_var): free result | |
3519 | of concat(). | |
3520 | * bb-reorder.c (find_rarely_executed_basic_blocks_and_crossing_edges): | |
3521 | pass pointer to edge vector | |
3522 | (partition_hot_cold_basic_blocks): Fix memory leak. | |
3523 | * collect2.c (prefix_from_string): Free temporary storage. | |
3524 | * reload1.c (fixup_abnormal_edges): Free sbitmap. | |
3525 | ||
6392d503 | 3526 | 2007-07-14 Kaz Kojima <kkojima@gcc.gnu.org> |
3527 | ||
3528 | * config/sh/sh.h (DO_GLOBAL_CTORS_BODY): Add void to prototype. | |
3529 | (DO_GLOBAL_DTORS_BODY): Likewise. | |
3530 | ||
e85b06c5 | 3531 | 2007-07-14 Sandra Loosemore <sandra@codesourcery.com> |
3532 | Nigel Stephens <nigel@mips.com> | |
3533 | ||
3534 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
3535 | SYMBOL_SMALL_DATA for constant pool addresses if | |
3536 | TARGET_EMBEDDED_DATA is true. | |
3537 | ||
55be12b2 | 3538 | 2007-07-14 Uros Bizjak <ubizjak@gmail.com> |
3539 | ||
3540 | * config/i386/i386.c (init_mmx_sse_builtins): Define all builtins | |
3541 | except __builtin_ia32_emms, __builtin_ia32_ldmxcsr, | |
3542 | __builtin_ia32_stmxcsr, __builtin_ia32_maskmovq, __builtin_ia32_loadups, | |
3543 | __builtin_ia32_storeups, __builtin_ia32_loadhps, __builtin_ia32_loadlps, | |
3544 | __builtin_ia32_storehps, __builtin_ia32_storelps, | |
3545 | __builtin_ia32_movntps, __builtin_ia32_movntq, __builtin_ia32_sfence, | |
3546 | __builtin_ia32_femms, __builtin_ia32_maskmovdqu, __builtin_ia32_loadupd, | |
3547 | __builtin_ia32_storeupd, __builtin_ia32_loadhpd, __builtin_ia32_loadlpd, | |
3548 | __builtin_ia32_movnti, __builtin_ia32_movntpd, __builtin_ia32_movntdq, | |
3549 | __builtin_ia32_clflush, __builtin_ia32_lfence, __builtin_ia32_mfence, | |
3550 | __builtin_ia32_loaddqu, __builtin_ia32_storedqu, __builtin_ia32_monitor, | |
3551 | __builtin_ia32_mwait, __builtin_ia32_lddqu, __builtin_ia32_movntdqa, | |
3552 | __builtin_ia32_movntsd and __builtin_ia32_movntss as const builtins | |
3553 | using def_builtin_const. | |
3554 | ||
6f177738 | 3555 | 2007-07-14 Eric Botcazou <ebotcazou@adacore.com> |
3556 | ||
3557 | PR tree-optimization/32705 | |
3558 | * tree-ssa-sccvn.c (set_ssa_val_to): Accept VN_TOP as value number. | |
3559 | (simplify_binary_expression): Use SSA_VAL consistently. | |
3560 | ||
e18e5bf1 | 3561 | 2007-07-13 David Edelsohn <edelsohn@gnu.org> |
3562 | ||
3563 | * config/rs6000/spe.md (SPE_ACC_REGNO): Delete definition. | |
3564 | (SPEFSCR_REGNO): Delete definition. | |
3565 | * config/rs6000/rs6000.c: LINK_REGISTER_REGNUM -> LR_REGNO. | |
3566 | COUNT_REGISTER_REGNUM -> CTR_REGNO. | |
3567 | * config/rs6000/rs6000.h: Do not define *_REGNO. | |
3568 | LINK_REGISTER_REGNUM -> LR_REGNO. | |
3569 | COUNT_REGISTER_REGNUM -> CTR_REGNO. | |
3570 | * config/rs6000/predicates.md: LINK_REGISTER_REGNUM -> LR_REGNO. | |
3571 | COUNT_REGISTER_REGNUM -> CTR_REGNO. | |
3572 | * config/rs6000/linux-unwind.h: Define R_LR, R_CR2, R_VR0, | |
3573 | R_VRSAVE, R_VSCR. Use them. | |
3574 | * config/rs6000/darwin-fallback.c: Define R_LR, R_CTR, R_CR2, | |
3575 | R_XER, R_VR0, R_VRSAVE, R_VSCR, R_SPEFSCR. Use them. | |
3576 | * config/rs6000/rs6000.md: Define REGNO constants. Use them. | |
3577 | * config/rs6000/aix.h: Define R_LR. Use it. | |
3578 | ||
d53bb226 | 3579 | 2007-07-13 Caroline Tice <ctice@apple.com> |
3580 | ||
3581 | * toplev.c (process_options): Turn flag_var_tracking_uninit off when | |
3582 | flag_var_tracking is explicitly turned off (i.e. when variable | |
3583 | tracking is not feasible); otherwise, turn flag_var_tracking on when | |
3584 | flag_var_tracking_uninit is on. | |
3585 | * rtl.def (VAR_LOCATION): Add a new integer subfield to VAR_LOCATION | |
3586 | note definitions, to allow recording of initialization status in the | |
3587 | notes. | |
3588 | * dwarf2out.c (dwarf_stack_op_name): Add case for DW_OP_GNU_uninit. | |
3589 | (add_var_loc_to_decl): Add comparison of NOTE_VAR_LOCATION_STATUS to | |
3590 | determine if two note locations are equal. | |
3591 | (output_loc_list): Don't output list entries whose start & end labels | |
3592 | are the same. | |
3593 | (reg_loc_descriptor): Add parameter for initialization status; pass it | |
3594 | to other loc descriptor functions. | |
3595 | (one_reg_loc_descriptor): Add parameter for initialization status; | |
3596 | check its value and add DW_OP_GNU_uninit to returned loc descr if | |
3597 | appropriate. | |
3598 | (multiple_reg_loc_descriptor): Add parameter for initialization | |
3599 | status; | |
3600 | pass init status argument to other loc descriptor functions; check | |
3601 | value of intialization parameter and add DW_OP_GNU_uninit to returned | |
3602 | loc descr if appropriate. | |
3603 | (based_loc_descr): Add parameter for initialization status; add new | |
3604 | variable for return value; check value of initialization parameter and | |
3605 | add DW_OP_GNU_uninit to returned loc descr if appropriate. | |
3606 | (concatn_mem_loc_descriptor): Add parameter for initialization status; | |
3607 | pass init status argument to other loc descriptor functions; check | |
3608 | value of intialization parameter and add DW_OP_GNU_uninit to returned | |
3609 | loc descr if appropriate. | |
3610 | (mem_loc_descriptor): Likewise. | |
3611 | (concat_loc_descriptor): Likewise. | |
3612 | (concatn_loc_descriptor): Likewise. | |
3613 | (loc_descriptor): Add parameter for initialization status; pass it as | |
3614 | argument to other loc descriptor function calls. | |
3615 | (loc_descriptor_from_tree_1): Add appropriate initialization status | |
3616 | to loc descriptor function calls. | |
3617 | (add_location_or_const_value_attribute): Get initialization status | |
3618 | from VAR_LOCATION note; add initialization status to loc descriptor | |
3619 | function calls. | |
3620 | * dwarf2.h (enum dwarf_location_atom): New op, DW_OP_GNU_uninit. | |
3621 | * print-rtl.c (print_rtx): When printing a VAR_LOCATION note, if | |
3622 | status is uninitialized, add "[uninint]" to output. | |
3623 | * common.opt (fvar-tracking-uninit): New option, similar to | |
3624 | fvar-tracking, to turn on tracking of uninitialized variables; creates | |
3625 | a new global flag, flag_var_tracking_uninit. | |
3626 | * rtl.h (NOTE_VAR_LOCATION_STATUS): New macro for accessing new field. | |
3627 | (enum var_init_status): New type, for var initialization status field. | |
3628 | * var-tracking.c (struct location_chain_def): Two new fields, init, | |
3629 | for initialization status, and set_src for the assignment value expr. | |
3630 | (unshare_variable): New parameter for initialization status; | |
3631 | initialize new init and set_src fields. | |
3632 | (var_reg_set): New parameters for initialization status and value; | |
3633 | pass them to set_variable_part. | |
3634 | (var_mem_set): Likewise. | |
3635 | (get_init_value): New function. | |
3636 | (var_reg_delete_and_set): New initialization status & value | |
3637 | parameters; add call to get_init_value if status is unknown; pass new | |
3638 | parameters to clobber_variable_part and var_reg_set. | |
3639 | (var_mem_delete_and_set): Likewise. | |
3640 | (var_reg_delete): Pass null set_src value to clobber_variable_part. | |
3641 | (var_mem_delete): Likewise. | |
3642 | (variable_union): Pass status to unshare_variable; initialize new init | |
3643 | and set_src fields. If flag_var_tracking_uninit is not set, force | |
3644 | status to initialized. | |
3645 | (add_stores): Store insn, rather than NEXT_INSN(insn), so it can be | |
3646 | used later to get the set_src value. | |
3647 | (find_src_status): New function. | |
3648 | (find_src_set_src): New function. | |
3649 | (compute_bb_dataflow): Pass init status to calls to var_reg_set, | |
3650 | var_mem_set, var_reg_delete_and_set and var_mem_delete_and_set; for | |
3651 | MO_SET, get set_src value and pass it to var_reg_delete_and_set | |
3652 | and var_mem_delete_and_set. | |
3653 | (dump_variable): Print out "[uninit]" if appropriate. | |
3654 | (set_variable_part): Add new initialization and set_src parameters; | |
3655 | pass status to unshare_variable; set node->init and node- >set_src | |
3656 | fields and modify slot in hash table appropriately; save the init and | |
3657 | set_src values if appropriate and assign to the new node. | |
3658 | (clobber_variable_part): New set_src parameter; if two nodes have | |
3659 | same variable and same location but different set_src (assignment) | |
3660 | values, clobber old node. | |
3661 | (delete_variable_part): Pass init status to unshare_variable. | |
3662 | (emit_note_insn_var_location): Add initialized var; assign var's init | |
3663 | status to new 'initialized'; pass new init status field to calls to | |
3664 | gen_rtx_VAR_LOCATION. If flag_var_tracking_uninit is not set, force | |
3665 | status to initialized. | |
3666 | (emit_notes_in_bb): Pass initialization status to calls to | |
3667 | var_reg_set, var_mem_set, var_reg_delete_and_set and | |
3668 | var_mem_delete_and_set; for MO_SET, get set_src value and pass it to | |
3669 | var_reg_delete_and_set and var_mem_delete_and_set; call | |
3670 | emit_notes_for_changes on NEXT_INSN(insn) rather than on insn, to | |
3671 | make up for change in add_stores. | |
3672 | (vt_add_function_parameters): Add status to calls to | |
3673 | set_variable_part. | |
3674 | * config/darwin.c (darwin_override_options): Turn on uninitialized | |
3675 | tracking automatically, if var_tracking is on and the system is | |
3676 | 10.5 or higher. | |
3677 | ||
5474166e | 3678 | 2007-07-13 Sa Liu <saliu@de.ibm.com> |
3679 | ||
3680 | * config.gcc: Add options for arch and tune on SPU. | |
3681 | * config/spu/predicates.md: Add constant operands 0 and 1. | |
3682 | * config/spu/spu-builtins.def: Add builtins for double precision | |
3683 | floating point comparison: si_dfceq, si_dfcmeq, si_dfcgt, si_dfcmgt, | |
3684 | si_dftsv, spu_cmpeq_13, spu_cmpabseq_1, spu_cmpgt_13, spu_cmpabsgt_1, | |
3685 | spu_testsv. | |
3686 | * config/spu/spu-c.c: Define __SPU_EDP__ when builtins invoked with | |
3687 | a CELLEDP target. | |
3688 | * config/spu/spu-protos.h: Add new function prototypes. | |
3689 | * config/spu/spu.c (spu_override_options): Check options -march and | |
3690 | -mtune. | |
3691 | (spu_comp_icode): Add comparison code for DFmode and vector mode. | |
3692 | (spu_emit_branch_or_set): Use the new code for DFmode and vector | |
3693 | mode comparison. | |
3694 | (spu_const_from_int): New. Create a vector constant from 4 ints. | |
3695 | (get_vec_cmp_insn): New. Get insn index of vector compare instruction. | |
3696 | (spu_emit_vector_compare): New. Emit vector compare. | |
3697 | (spu_emit_vector_cond_expr): New. Emit vector conditional expression. | |
3698 | * config/spu/spu.h: Add options -march and -mtune. Define processor | |
3699 | types PROCESSOR_CELL and PROCESSOR_CELLEDP. Define macro | |
3700 | CANONICALIZE_COMPARISON. | |
3701 | * config/spu/spu.md: Add new insns for double precision compare | |
3702 | and double precision vector compare. Add vcond and smax/smin patterns | |
3703 | to enable DFmode vector conditional expression. | |
3704 | * config/spu/spu.opt: Add options -march and -mtune. | |
3705 | * config/spu/spu_internals.h: Add builtins for CELLEDP target: | |
3706 | si_dfceq, si_dfcmeq, si_dfcgt, si_dfcmgt, si_dftsv. Add builtin for | |
3707 | both CELL and CELLEDP targets: spu_testsv. | |
3708 | * config/spu/spu_intrinsics.h: Add flag mnemonics for test special | |
3709 | values. | |
3710 | ||
5acf8305 | 3711 | 2007-07-13 Richard Guenther <rguenther@suse.de> |
3712 | ||
3713 | PR tree-optimization/32721 | |
3714 | * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Preserve | |
3715 | TREE_THIS_VOLATILE on the folded reference. | |
3716 | * tree-ssa-operands.c (get_expr_operands): Set has_volatile_ops | |
3717 | if the array reference has TREE_THIS_VOLATILE set. | |
3718 | ||
ec2344ff | 3719 | 2007-07-13 H.J. Lu <hongjiu.lu@intel.com> |
3720 | ||
3721 | PR other/32188 | |
3722 | * doc/libgcc.texi: Update DFP intrinsics for DPD and BID. | |
3723 | ||
30dfb8d1 | 3724 | 2007-07-13 Andreas Schwab <schwab@suse.de> |
3725 | ||
3726 | * gengtype-lex.l: Allow declarations to be indented. | |
3727 | ||
50388ca3 | 3728 | 2007-07-12 Geoffrey Keating <geoffk@apple.com> |
3729 | ||
3730 | * ginclude/tgmath.h: New. | |
3731 | * config.gcc: Use GCC's tgmath.h on non-glibc systems. | |
3732 | * doc/sourcebuild.texi (Headers): Document use_gcc_tgmath. | |
3733 | * configure.ac (STMP_FIXPROTO): Honor use_gcc_tgmath. | |
3734 | * configure: Regenerate. | |
3735 | ||
b47f1d93 | 3736 | 2007-07-13 Kaz Kojima <kkojima@gcc.gnu.org> |
3737 | ||
3738 | * config/sh/linux-unwind.h (sh_fallback_frame_state): Use | |
3739 | correct index when setting register save state for xd | |
3740 | registers. | |
3741 | ||
d2897f00 | 3742 | 2007-07-13 Kaz Kojima <kkojima@gcc.gnu.org> |
3743 | ||
3744 | * config/sh/sh.c (mark_use): Remove. | |
3745 | ||
c550a00b | 3746 | 2007-07-12 Paul Brook <paul@codesourcery.com> |
3747 | ||
3748 | * config/arm/arm.c (thumb1_compute_save_reg_mask): Make sure scratch | |
3749 | reg does not overlap return value. | |
3750 | ||
c5e2ed66 | 3751 | 2007-07-12 Daniel Berlin <dberlin@dberlin.org> |
3752 | ||
3753 | * tree-ssa-pre.c (get_expression_vuses): Move out side-effect. | |
3754 | (set_expression_vuses): Ditto. | |
3755 | (init_pre): Initialize expression_vuses. | |
3756 | ||
f9b930dd | 3757 | 2007-07-12 Zdenek Dvorak <dvorakz@suse.cz> |
3758 | ||
3759 | * config/i386/sse.md (storentdf, storentsf): New. | |
3760 | ||
6c96b31e | 3761 | 2007-07-12 Geoffrey Keating <geoffk@apple.com> |
3762 | ||
3763 | * builtins.c (get_pointer_alignment): Honor DECL_ALIGN on a | |
3764 | FUNCTION_DECL. | |
3765 | * tree.c (build_decl_stat): Move code from here... | |
3766 | (make_node_stat): ... to here. Don't uselessly clear DECL_USER_ALIGN. | |
3767 | (expr_align): Honor DECL_ALIGN on a FUNCTION_DECL. Add comment | |
3768 | about using DECL_ALIGN of LABEL_DECL and CONST_DECL. | |
3769 | * tree.h (DECL_USER_ALIGN): Fix misplaced comment. | |
3770 | * varasm.c (assemble_start_function): Use DECL_ALIGN instead of | |
3771 | FUNCTION_BOUNDARY. | |
3772 | ||
5a2538e1 | 3773 | 2007-07-12 Dorit Nuzman <dorit@il.ibm.com> |
3774 | Devang Patel <dpatel@apple.com> | |
3775 | ||
3776 | PR tree-optimization/25413 | |
3777 | * targhooks.c (default_builtin_vector_alignment_reachable): New. | |
3778 | * targhooks.h (default_builtin_vector_alignment_reachable): New. | |
3779 | * tree.h (contains_packed_reference): New. | |
3780 | * expr.c (contains_packed_reference): New. | |
3781 | * tree-vect-analyze.c (vector_alignment_reachable_p): New. | |
3782 | (vect_enhance_data_refs_alignment): Call | |
3783 | vector_alignment_reachable_p. | |
3784 | * target.h (vector_alignment_reachable): New builtin. | |
3785 | * target-def.h (TARGET_VECTOR_ALIGNMENT_REACHABLE): New. | |
3786 | * config/rs6000/rs6000.c (rs6000_vector_alignment_reachable): New. | |
3787 | (TARGET_VECTOR_ALIGNMENT_REACHABLE): Define. | |
3788 | ||
a28df51d | 3789 | 2007-07-12 Dorit Nuzman <dorit@il.ibm.com> |
3790 | ||
3791 | * target.h (builtin_vectorization_cost): Add new target builtin. | |
3792 | * target-def.h (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): New. | |
3793 | * tree-vectorizer.h (TARG_SCALAR_STMT_COST): New. | |
3794 | (TARG_SCALAR_LOAD_COST, TARG_SCALAR_STORE_COST): New. | |
3795 | * tree-vect-analyze.c (vect_analyze_slp_instance): Initisliaze | |
3796 | uninitialized variables. | |
3797 | * tree-vect-transform.c (cost_for_stmt): New function. | |
3798 | (vect_estimate_min_profitable_iters): Call cost_for_stmt instead of | |
3799 | using cost 1 for all scalar stmts. Be less conservative when | |
3800 | estimating the number of prologue/epulogue iterations. Call | |
3801 | targetm.vectorize.builtin_vectorization_cost. Return | |
3802 | min_profitable_iters-1. | |
3803 | (vect_model_reduction_cost): Use TARG_SCALAR_TO_VEC_COST for | |
3804 | initialization cost instead of TARG_VEC_STMT_COST. Use | |
3805 | TARG_VEC_TO_SCALAR_COST instead of TARG_VEC_STMT_COST for reduction | |
3806 | epilogue code. Fix epilogue cost computation. | |
3807 | * config/spu/spu.c (spu_builtin_vectorization_cost): New. | |
3808 | (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Implement. | |
3809 | * config/spu/spu.h (TARG_COND_BRANCH_COST, TARG_SCALAR_STMT_COST): | |
3810 | (TARG_SCALAR_LOAD_COST, TARG_SCALAR_STORE_COST, TARG_VEC_STMT_COST): | |
3811 | (TARG_VEC_TO_SCALAR_COST, TARG_SCALAR_TO_VEC, TARG_VEC_LOAD_COST): | |
3812 | (TARG_VEC_UNALIGNED_LOAD_COST, TARG_VEC_STORE_COST): Define. | |
3813 | ||
29988845 | 3814 | 2007-07-12 Richard Guenther <rguenther@suse.de> |
3815 | ||
3816 | * gimplify.c (gimplify_conversion): Make sure that the result | |
3817 | from maybe_fold_offset_to_reference is trivially convertible | |
3818 | to the desired type before doing the simplification. | |
3819 | (gimplify_expr): Likewise. | |
3820 | * fold-const.c (fold_binary): Use the correct types for | |
3821 | building the simplified expression. | |
3822 | ||
235835a0 | 3823 | 2007-07-12 Zdenek Dvorak <dvorakz@suse.cz> |
3824 | ||
3825 | PR rtl-optimization/32729 | |
3826 | * cfghooks.c (can_duplicate_block_p): Do not forbid duplicating blocks | |
3827 | that fallthru to exit. | |
3828 | ||
904b6081 | 3829 | 2007-07-12 Kaz Kojima <kkojima@gcc.gnu.org> |
3830 | ||
3831 | * config/sh/sh.md (symGOTOFF2reg): Add missing parenthesis. | |
3832 | (symDTPOFF2reg): Likewise. | |
3833 | ||
8252ce4d | 3834 | 2007-07-11 Daniel Berlin <dberlin@dberlin.org> |
3835 | ||
3836 | PR tree-optimization/32663 | |
3837 | ||
3838 | * tree.h (VALUE_HANDLE_VUSES): Remove. | |
3839 | (struct tree_value_handle): Remove vuses. | |
3840 | ||
3841 | * tree-vn.c (create_value_handle_for_expr): Don't set | |
3842 | VALUE_HANDLE_VUSES. | |
3843 | ||
3844 | * tree-ssa-pre.c (expression_vuses): New. | |
3845 | (alloc_expression_id): Set up expression_vuses. | |
3846 | (get_expression_vuses): New. | |
3847 | (set_expression_vuses): Ditto. | |
3848 | (clear_expression_ids): Modify for expression_vuses. | |
3849 | (phi_translate_1): Ditto. | |
3850 | (phi_translate_set): Ditto. | |
3851 | (value_dies_in_block_x): Ditto | |
3852 | (valid_in_sets): Ditto. | |
3853 | (add_to_sets): Ditto. | |
3854 | (find_existing_value_expr): Ditto. | |
3855 | (create_value_handle_for_expr): Ditto. | |
3856 | (make_values_for_stmt): Ditto. | |
3857 | (vuse_equiv): Remove. | |
3858 | ||
e11ec584 | 3859 | 2007-07-11 Alexandre Oliva <aoliva@redhat.com> |
3860 | ||
3861 | * Makefile.in (mostlyclean): Remove object files. | |
3862 | ||
4629257b | 3863 | 2007-07-11 Kenneth Zadeck <zadeck@naturalbridge.com> |
3864 | ||
3865 | * toplev.c (no_new_pseudos): Deleted. | |
3866 | * rtl.h (no_new_pseudos): Deleted. | |
3867 | * tree-pass.h (pass_no_new_pseudos): Deleted. | |
3868 | * passes.c (pass_no_new_pseudos): Deleted. | |
3869 | * final.c (rest_of_clean_state): Removed no_new_pseudos. | |
3870 | (rest_of_no_new_pseudos, pass_no_new_pseudos): Deleted. | |
3871 | * struct-equiv.c (rtx_equiv_p): Replaced no_new_pseudos with | |
3872 | reload_completed. | |
3873 | * cfgcleanup.c (try_crossjump_to_edge): Ditto. | |
3874 | * rtlhooks.c (gen_lowpart_general): Ditto. | |
3875 | * optabs.c (prepare_operand): Ditto. | |
3876 | * mode-switching.c (rest_of_handle_mode_switching): Deleted set of | |
3877 | no_new_pseudos. | |
3878 | * modulo-sched.c (rest_of_handle_sms): Ditto. | |
3879 | * see.c (rest_of_handle_see): Ditto. | |
3880 | * ifcvt.c (if_convert): Ditto. | |
3881 | (gate_handle_if_after_combine): Replaced no_new_pseudos with | |
3882 | reload_completed. | |
3883 | * init-regs.c (gate_initialize_regs): Deleted set of | |
3884 | no_new_pseudos. | |
3885 | * lower-subreg.c (decompose_multiword_subregs): Ditto. | |
3886 | * bb-reorder.c (rest_of_handle_partition_blocks): Ditto. | |
3887 | * doc/md.texi: Changed no_new_pseudos to can_create_pseudo_p. | |
3888 | ||
bdbf1fdf | 3889 | 2007-07-11 Uros Bizjak <ubizjak@gmail.com> |
3890 | ||
3891 | PR target/32661 | |
3892 | * config/i386/sse.md (*sse2_storeq_rex64): Handle 64bit mem->reg moves. | |
3893 | (*vec_extractv2di_1_sse2): Disable for TARGET_64BIT. | |
3894 | (*vec_extractv2di_1_rex64): New insn pattern. | |
3895 | ||
f7e97fb8 | 3896 | 2007-07-11 David Daney <ddaney@avtrex.com> |
3897 | ||
3898 | * config/mips/linux-unwind.h (mips_fallback_frame_state): Rewrite | |
3899 | return address calculation. Substitute DWARF_ALT_FRAME_RETURN_COLUMN | |
3900 | for SIGNAL_UNWIND_RETURN_COLUMN. | |
3901 | * config/mips/mips.h (SIGNAL_UNWIND_RETURN_COLUMN): Remove. | |
3902 | (DWARF_FRAME_REGNUM): Rewrite. | |
3903 | (DWARF_ALT_FRAME_RETURN_COLUMN) Define. | |
3904 | ||
23bd5abb | 3905 | 2007-07-11 Nick Clifton <nickc@redhat.com> |
3906 | ||
3907 | * config/m32r/m32r.h (INITIALIZE_TRAMPOLINE): Revert previous | |
3908 | delta and use gen_int_mode in place of GET_INT instead. | |
3909 | ||
2a761313 | 3910 | 2007-07-11 Uros Bizjak <ubizjak@gmail.com> |
3911 | ||
3912 | * reg-stack.c (struct tree_opt_pass pass_stack_regs): Nullify name | |
3913 | and letter field. | |
3914 | ||
a1406b2e | 3915 | 2007-07-11 Douglas Gregor <doug.gregor@gmail.com> |
3916 | ||
3917 | * params.def (PARAM_VERIFY_CANONICAL_TYPES): Remove. | |
3918 | (PARAM_USE_CANONICAL_TYPES): New; decides whether to use canonical | |
3919 | types or not. | |
3920 | * params.h (VERIFY_CANONICAL_TYPES): Remove. | |
3921 | (USE_CANONICAL_TYPES): New. | |
3922 | * doc/invoke.texi (verify-canonical-types): Remove. | |
3923 | (use-canonical-types): Add. | |
2a761313 | 3924 | |
14d408d9 | 3925 | 2007-07-11 Ulrich Weigand <uweigand@de.ibm.com> |
3926 | ||
3927 | * config/spu/spu.c (spu_optimization_options): Remove setting of | |
3928 | parameter PARAM_MAX_COMPLETELY_PEEL_TIMES. | |
3929 | (spu_override_options): Move it here. | |
3930 | ||
7b50aae4 | 3931 | 2007-07-11 Richard Sandiford <richard@codesourcery.com> |
3932 | ||
2a761313 | 3933 | * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Handle -m4ksc and -m4ksd. |
3934 | * config/mips/mips.c (mips_cpu_info_table): Mention | |
3935 | MIPS_ISA_LEVEL_SPEC in the comment. | |
7b50aae4 | 3936 | |
7342d4d1 | 3937 | 2007-07-11 Eric Botcazou <ebotcazou@adacore.com> |
3938 | ||
3939 | PR tree-optimization/32713 | |
3940 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle REAL_CST. | |
3941 | ||
e8e3aee6 | 3942 | 2007-07-11 Paolo Carlini <pcarlini@suse.de> |
3943 | ||
3944 | PR middle-end/30482 | |
3945 | * c-opts.c (c_common_post_options): Do not change flag_complex_method | |
3946 | conditional to flag_isoc99. | |
3947 | (c_common_init_options): Do it here, unconditionally. | |
3948 | ||
1c6d350b | 3949 | 2007-07-11 Eric Botcazou <ebotcazou@adacore.com> |
3950 | ||
3951 | PR tree-optimization/32589 | |
3952 | * doc/tree-ssa.texi (Rough GIMPLE Grammar): Add missing rule. | |
3953 | * tree-gimple.c (is_gimple_min_invariant): Clarify head comment. | |
3954 | * tree-ssa-propagate.c (valid_gimple_expression_p): New | |
3955 | predicate, extracted from... | |
3956 | (set_rhs): ...here. Call it for the expression on entry. | |
3957 | * tree-ssa-propagate.h (valid_gimple_expression_p): Declare. | |
3958 | * tree-ssa-sccvn.c: Include tree-ssa-propagate.h. | |
3959 | (simplify_binary_expression): Use valid_gimple_expression_p | |
3960 | to validate the simplification. | |
3961 | * Makefile.in (tree-ssa-sccvn.o): Depends on tree-ssa-propagate.h. | |
3962 | ||
ee453562 | 3963 | 2007-07-11 Danny Smith <dannysmith@users.sourceforge.net> |
3964 | ||
3965 | * config/i386/cygming.h (PREFERRED_DEBUGGING_TYPE): Define to | |
3966 | DWARF2_DEBUG on 32 bit target too. | |
3967 | (DWARF2_UNWIND_INFO): Reorganize 64-bit vs 32-bit definition. | |
3968 | ||
64966d8b | 3969 | 2007-07-11 Nick Clifton <nickc@redhat.com> |
3970 | ||
3971 | * config/m32r/m32r.h (INITIALIZE_TRAMPOLINE): Provide alternative | |
3972 | version for 64-bit hosts. | |
3973 | ||
381be270 | 3974 | 2007-07-10 David Daney <ddaney@avtrex.com> |
3975 | ||
3976 | * config/mips/mips.h (ISA_HAS_SYNCI): New target capability | |
3977 | predicate. | |
3978 | (INITIALIZE_TRAMPOLINE): Emit clear_cache insn instead of library | |
3979 | call. | |
3980 | * config/mips/mips.c (mips_expand_synci_loop): New function. | |
3981 | * config/mips/mips.md (UNSPEC_CLEAR_HAZARD): New constant. | |
3982 | (UNSPEC_RDHWR): Same. | |
3983 | (UNSPEC_SYNCI): Same. | |
3984 | (UNSPEC_SYNC): Same. | |
3985 | (clear_cache): New expand. | |
3986 | (sync): New insn. | |
3987 | (synci): Same. | |
3988 | (rdhwr): Same. | |
3989 | (clear_hazard): Same. | |
3990 | * config/mips/mips-protos.h (mips_expand_synci_loop): Declare | |
3991 | function. | |
3992 | * testsuite/gcc.target/mips/clear-cache-1.c: New test. | |
3993 | * testsuite/gcc.target/mips/clear-cache-2.c: New test. | |
3994 | ||
1b7ff857 | 3995 | 2007-07-10 Ian Lance Taylor <iant@google.com> |
3996 | ||
3997 | * emit-rtl.c (gen_reg_rtx): Check can_create_pseudo_p rather than | |
3998 | no_new_pseudos. | |
3999 | ||
ac8fb6db | 4000 | 2007-07-10 David Daney <ddaney@avtrex.com> |
4001 | ||
4002 | * builtins.def (BUILT_IN_CLEAR_CACHE): New builtin. | |
4003 | * builtins.c (expand_builtin___clear_cache): New function. | |
4004 | (expand_builtin): Call expand_builtin___clear_cache for | |
4005 | BUILT_IN_CLEAR_CACHE case. | |
4006 | * doc/extend.texi (__builtin___clear_cache): Document new builtin. | |
4007 | * doc/md.texi (clear_cache): Document new instruction pattern. | |
4008 | * testsuite/gcc.dg/builtins-64.c: New test. | |
4009 | ||
7ec30120 | 4010 | 2007-07-11 Hans-Peter Nilsson <hp@axis.com> |
4011 | ||
4012 | * config/cris/cris.md ("movsi"): Fix typo in last change. | |
4013 | ||
097b5c8b | 4014 | 2007-07-09 Geoffrey Keating <geoffk@apple.com> |
4015 | ||
4016 | PR 32617 | |
4017 | * c-common.c (c_alignof_expr): Look at DECL_ALIGN of | |
4018 | FUNCTION_DECLs. | |
4019 | (handle_aligned_attribute): Allow use on FUNCTION_DECLs. | |
4020 | * varasm.c (assemble_start_function): Honor DECL_ALIGN | |
4021 | for FUNCTION_DECLs. Don't use align_functions_log if | |
4022 | DECL_USER_ALIGN. | |
4023 | * print-tree.c (print_node): Print DECL_ALIGN and DECL_USER_ALIGN | |
4024 | even for FUNCTION_DECLs. | |
4025 | * c-decl.c (merge_decls): Propagate DECL_ALIGN even for | |
4026 | FUNCTION_DECLs. | |
4027 | * tree.h (DECL_ALIGN): Update for new location of 'align'. | |
4028 | (DECL_FUNCTION_CODE): Update for new location and name of | |
4029 | 'function_code'. | |
4030 | (DECL_OFFSET_ALIGN): Update for new location of 'off_align'. | |
4031 | (struct tree_decl_common): Move 'align' and 'off_align' out | |
4032 | of union, ensure they're still on a 32-bit boundary. Remove | |
4033 | other fields in union 'u1'. | |
4034 | (struct tree_function_decl): Add field 'function_code' replacing | |
4035 | 'u1.f' in tree_decl_common. | |
4036 | * tree.c (build_decl_stat): Set initial value of DECL_ALIGN. | |
4037 | * doc/extend.texi (Function Attributes): Add 'aligned' attribute. | |
4038 | (Variable Attributes): Cross-reference 'aligned' attribute | |
4039 | to Function Attributes. | |
4040 | * flags.h (force_align_functions_log): Delete. | |
4041 | * toplev.c (force_align_functions_log): Delete. | |
4042 | ||
911efec9 | 4043 | 2007-07-10 Uros Bizjak <ubizjak@gmail.com> |
4044 | ||
4045 | PR target/32708 | |
4046 | * config/i386/sse.md (vec_concatv2di): Disable for TARGET_64BIT. | |
4047 | (*vec_concatv2di_rex): New insn pattern. | |
4048 | ||
95bc673f | 4049 | 2007-07-10 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4050 | ||
4051 | PR target/32538 | |
4052 | * config/mips/iris6.h (LIBGCC_SPEC): Add libm. | |
4053 | ||
e1ba4a27 | 4054 | 2007-07-10 Ian Lance Taylor <iant@google.com> |
4055 | ||
4056 | Replace no_new_pseudos in backends. | |
4057 | * rtl.h (can_create_pseudo_p): Define. | |
4058 | * config/darwin.c (machopic_indirect_data_reference): Use | |
4059 | can_create_pseudo_p () instead of no_new_pseudos. | |
4060 | (machopic_indirect_data_reference): Likewise. | |
4061 | (machopic_legitimize_pic_address): Likewise. | |
4062 | * config/alpha/alpha.c (alpha_legitimize_address): Likewise. | |
4063 | (alpha_emit_set_const_1): Likewise. | |
4064 | (alpha_emit_set_const): Likewise. | |
4065 | (alpha_emit_conditional_move): Likewise. | |
4066 | (alpha_split_conditional_move): Likewise. | |
4067 | * config/alpha/alpha.md (various splitters): Likewise. | |
4068 | (movti): Likewise. | |
4069 | * config/arm/arm.c (legitimize_pic_address): Likewise. | |
4070 | (arm_load_pic_register): Likewise. | |
4071 | * config/arm/arm.md (addsi3, subsi3, andsi3, iorsi3): Likewise. | |
4072 | (movdi, movsi, movhi, movqi, movsf, movdf): Likewise. | |
4073 | * config/bfin/bfin.c (legitimize_pic_address): Likewise. | |
4074 | * config/cris/cris.c (cris_expand_pic_call_address): Likewise. | |
4075 | * config/cris/cris.md (movsi): Likewise. | |
4076 | * config/frv/frv.md (symGOT2reg_hilo): Likewise. | |
4077 | (symGOTOFF2reg_hilo): Likewise. | |
4078 | (symGPREL2reg, symGPREL2reg_hilo): Likewise. | |
4079 | * config/h8300/h8300.md (insv, extzv): Likewise. | |
4080 | * config/i386/i386.c (ix86_expand_move): Likewise. | |
4081 | (ix86_expand_vector_move): Likewise. | |
4082 | (ix86_prepare_fp_compare_args): Likewise. | |
4083 | (ix86_expand_carry_flag_compare): Likewise. | |
4084 | * config/i386/i386.md (tls_dynamic_gnu2_32): Likewise. | |
4085 | (tls_dynamic_gnu2_combine_32): Likewise. | |
4086 | (tls_dynamic_gnu2_64, tls_dynamic_gnu2_combine_64): Likewise. | |
4087 | * config/ia64/ia64.c (ia64_expand_move): Likewise. | |
4088 | (ia64_expand_movxf_movrf): Likewise. | |
4089 | * config/m32c/m32c.c (m32c_prepare_move): Likewise. | |
4090 | (m32c_split_move): Likewise. | |
4091 | (m32c_expand_insv): Likewise. | |
4092 | * config/m68k/m68k.md (movsi): Likewise. | |
4093 | * config/mips/mips.c (mips_force_temporary): Likewise. | |
4094 | (mips_split_symbol): Likewise. | |
4095 | (mips_move_integer): Likewise. | |
4096 | (mips_legitimize_const_move): Likewise. | |
4097 | * config/mn10300/mn10300.md (movsi): Likewise. | |
4098 | * config/pa/pa.c (emit_move_sequence): Likewise. | |
4099 | * config/rs6000/rs6000.c (rs6000_emit_move): Likewise. | |
4100 | (rs6000_got_register): Likewise. | |
4101 | (create_TOC_reference): Likewise. | |
4102 | (rs6000_machopic_legitimize_pic_address): Likewise. | |
4103 | * config/rs6000/rs6000.md (add<mode>3): Likewise. | |
4104 | (various splitters): Likewise. | |
4105 | (iorsi3, xorsi3, iordi3, xordi3): Likewise. | |
4106 | (movsi_got): Likewise. | |
4107 | * config/s390/s390.c (emit_symbolic_move): Likewise. | |
4108 | * config/s390/s390.md (movhi, movqi): Likewise. | |
4109 | (load_multiple, store_multiple): Likewise. | |
4110 | * config/score/score.c (score_force_temporary): Likewise. | |
4111 | * config/sh/sh.c (prepare_move_operands): Likewise. | |
4112 | (prepare_cbranch_operands): Likewise. | |
4113 | (emit_fpu_switch): Likewise. | |
4114 | (fpscr_set_from_mem): Likewise. | |
4115 | * config/sh/sh.md (movdicc, movsicc, movsicc_umin): Likewise. | |
4116 | (adddi3, subsi3): Likewise. | |
4117 | (various splitters): Likewise. | |
4118 | (divsi_inv_fp_combine): Likewise. | |
4119 | (symGOT_load, symGOTOFF2reg, symDTPOFF2reg): Likewise. | |
4120 | (seq, slt, sle, sgt, sge, sgtu, sltu, sleu, sgeu): Likewise. | |
4121 | (sne): Likewise. | |
4122 | * config/sh/predicates.md (xor_operand): Likewise. | |
4123 | * config/sparc/sparc.c (legitimize_tls_address): Likewise. | |
4124 | * config/sparc/sparc.md (movsi_pic_label_ref): Likewise. | |
4125 | (movdi_pic_label_ref): Likewise. | |
4126 | * config/spu/spu.c (spu_split_immediate): Likewise. | |
4127 | * config/alpha/alpha.md (various splitters): Remove test | |
4128 | !no_new_pseudos || reload_completed. | |
4129 | * config/ia64/ia64.c (ia64_output_mi_thunk): Don't set | |
4130 | no_new_pseudos. | |
4131 | * config/m68k/m68k.c (m68k_output_mi_thunk): Likewise. | |
4132 | * config/mips/mips.c (mips_output_mi_thunk): Likewise. | |
4133 | * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. | |
4134 | * config/score/score.c (th_output_mi_thunk): Likewise. | |
4135 | * config/sh/sh.c (sh_output_mi_thunk): Likewise. | |
4136 | * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. | |
4137 | ||
646857a5 | 4138 | 2007-07-10 Kaz Kojima <kkojima@gcc.gnu.org> |
4139 | ||
4140 | PR rtl-optimization/32664 | |
4141 | * mode-switching.c (create_pre_exit): Skip barrier insns. | |
4142 | ||
0d734975 | 4143 | 2007-07-10 Zdenek Dvorak <dvorakz@suse.cz> |
4144 | ||
4145 | * tree-scalar-evolution.c (scev_const_prop): Add arguments to | |
4146 | force_gimple_operand_bsi. | |
4147 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr, | |
4148 | rewrite_use_compare): Ditto. | |
4149 | * tree-ssa-address.c (gimplify_mem_ref_parts, create_mem_ref): | |
4150 | Ditto. | |
4151 | * tree-ssa-ifcombine.c (ifcombine_ifandif): Ditto. | |
4152 | * tree-ssa-loop-prefetch.c (issue_prefetch_ref): Ditto. | |
4153 | * lambda-code.c (replace_uses_equiv_to_x_with_y): Ditto. | |
4154 | * tree-profile.c (prepare_instrumented_value, | |
4155 | tree_gen_interval_profiler, tree_gen_pow2_profiler, | |
4156 | tree_gen_one_value_profiler, tree_gen_ic_profiler, | |
4157 | tree_gen_ic_func_profiler, tree_gen_average_profiler, | |
4158 | tree_gen_ior_profiler): Ditto. | |
4159 | * tree-ssa-reassoc.c (negate_value): Ditto. | |
4160 | * matrix-reorg.c (transform_access_sites, transform_allocation_sites): | |
4161 | Use force_gimple_operand_bsi. | |
4162 | * tree-vect-transform.c (vect_update_ivs_after_vectorizer): Ditto. | |
4163 | * tree-if-conv.c (add_to_dst_predicate_list, | |
4164 | find_phi_replacement_condition): Ditto. | |
4165 | * gimplify.c (force_gimple_operand_bsi): Add before and m arguments. | |
4166 | Call mark_symbols_for_renaming for new statements. | |
4167 | * tree-flow.h (force_gimple_operand_bsi): Declaration changed. | |
4168 | ||
c8e41bd9 | 4169 | 2007-07-10 Zdenek Dvorak <dvorakz@suse.cz> |
4170 | ||
4171 | * cfghooks.c (remove_edge): New function. | |
4172 | (redirect_edge_and_branch, remove_branch, merge_blocks): Updated | |
4173 | loop exit rescans. | |
4174 | * cfghooks.h (remove_edge): Declare. | |
4175 | * cfg.c (remove_edge): Renamed to remove_edge_raw. | |
4176 | * basic-block.h (remove_edge): Declaration changed to remove_edge_raw. | |
4177 | ||
93f564d6 | 4178 | 2007-07-09 Wolfgang Gellerich <gellerich@de.ibm.com> |
4179 | ||
4180 | * optabs.h: Added declaration for signbit_optab. | |
4181 | * optabs.c: (init_optabs): Added initialization for signbit_optab. | |
4182 | * genoptinit.c (optabs): Added entry for signbit insns. | |
911efec9 | 4183 | * builtins.c (expand_builtin_signbit): Added code to use a signbit |
4184 | insn, if available. | |
93f564d6 | 4185 | * config/s390/s390.h (S390_TDC_SIGNBIT_SET): New constant. |
4186 | * config/s390/s390.md (signbit<mode>2): New expander. | |
4187 | ||
efd4cd99 | 4188 | 2007-07-09 Richard Guenther <rguenther@suse.de> |
4189 | ||
4190 | PR middle-end/32698 | |
4191 | * fold-const.c (fold_plusminus_mult_expr): Move constant | |
4192 | arguments second to allow decomposing. | |
4193 | ||
924eff81 | 4194 | 2007-07-09 Alexandre Oliva <aoliva@oliva.athome.lsd.ic.unicamp.br> |
4195 | ||
4196 | Revert: | |
4197 | 2007-07-06 Alexandre Oliva <aoliva@redhat.com> | |
4198 | PR debug/23551 | |
4199 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
4200 | Disregard DECL_FROM_INLINE. | |
4201 | ||
621a93b1 | 4202 | 2007-07-09 Uros Bizjak <ubizjak@gmail.com> |
4203 | ||
4204 | PR target/27855 | |
4205 | * doc/invoke.texi: Add ftree-reassoc flag. | |
4206 | * common.opt (ftree-reassoc): New flag. | |
4207 | * tree-ssa-reassoc.c (gate_tree_ssa_reassoc): New static function. | |
4208 | (struct tree_opt_pass pass_reassoc): Use gate_tree_ssa_reassoc. | |
4209 | ||
0b6a85ec | 4210 | 2007-07-09 Uros Bizjak <ubizjak@gmail.com> |
4211 | ||
4212 | PR tree-optimization/32681 | |
4213 | * tree-if-conv.c (find_phi_replacement_condition): Use the condition | |
4214 | saved in second_edge->aux when first_bb is a loop header. | |
4215 | ||
ce9e1d34 | 4216 | 2007-07-09 Jan HUbicka <jh@suse.cz> |
4217 | ||
4218 | * cse.c (cse_insn): Avoid invalid sharing on trial replacement. | |
4219 | ||
ed32c090 | 4220 | 2007-07-09 Richard Guenther <rguenther@suse.de> |
4221 | ||
4222 | * c-decl.c (start_function): Do not promote return type. | |
4223 | ||
76776e6d | 4224 | 2007-07-08 Daniel Franke <franke.daniel@gmail.com> |
4225 | ||
4226 | * function.c (do_warn_unused_parameter): Do not warn if | |
4227 | TREE_NO_WARNING is set. | |
4228 | ||
73632d39 | 4229 | 2007-07-08 Andreas Schwab <schwab@suse.de> |
4230 | ||
4231 | * doc/invoke.texi (DEC Alpha/VMS Options): Fix typo. | |
4232 | ||
d7518d5f | 4233 | 2007-07-08 Sandra Loosemore <sandra@codesourcery.com> |
4234 | ||
4235 | Revert this patch: | |
4236 | 2007-07-06 Sandra Loosemore <sandra@codesourcery.com> | |
4237 | ||
4238 | * c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS | |
4239 | apply to assembly language, too. | |
4240 | * doc/tm.texi (DOLLARS_IN_IDENTIFIERS): Update. | |
4241 | ||
c22ba30f | 4242 | 2007-07-07 Daniel Berlin <dberlin@dberlin.org> |
4243 | ||
4244 | Revert (note the sccvn portions are *not* reverted) | |
4245 | 2007-07-06 Daniel Berlin <dberlin@dberlin.org> | |
4246 | ||
4247 | Fix PR tree-optimization/23488 | |
4248 | ||
4249 | * tree-vn.c (set_value_handle): Use decl_vh_map for decl value | |
4250 | handles. | |
4251 | * tree-flow-inline.h (get_value_handle): Ditto. | |
4252 | * tree-ssa-pre.c (decl_vh_map): New. | |
4253 | (decl_node_pool): New. | |
4254 | (can_value_number_operation): Support DECL_P. | |
4255 | (can_PRE_operation): Ditto. | |
4256 | (create_expression_by_pieces): Ditto. | |
4257 | (find_existing_value_expr): Modify to differnetiate between | |
4258 | addressing and top level. | |
4259 | (create_value_handle_for_expr): Handle DECL's. | |
4260 | (poolify_tree): Ditto. | |
4261 | (make_values_for_phi): Don't insert into PHI_GEN during FRE. | |
4262 | (make_values_for_stmt): Handle DECL's properly. | |
4263 | (init_pre): Reorg to not init useless things during FRE. | |
4264 | (fini_pre): Ditto. | |
4265 | * tree-flow.h: Include pointer-set.h. | |
4266 | (decl_vh_map): Declare. | |
4267 | * Makefile.in (TREE_FLOW_H): Add pointer-set.h | |
4268 | ||
378eb4b7 | 4269 | 2007-07-07 Eric Weddington <eweddington@cso.atmel.com> |
4270 | ||
4271 | * config/avr/constraints.md (define_memory_constraint "Q"): Fix | |
4272 | the constraint description. | |
4273 | * doc/md.texi: Update documentation of AVR constraints. | |
4274 | ||
6dfdc153 | 4275 | 2007-07-07 Kazu Hirata <kazu@codesourcery.com> |
4276 | ||
4277 | * auto-inc-dec.c, config/arm/arm.c, | |
4278 | config/m32r/constraints.md, config/mips/mips.md, | |
4279 | config/rs6000/rs6000.c, cselib.c, dce.c, df-core.c, | |
4280 | df-problems.c, df-scan.c, df.h, dse.c, gimplify.c, | |
4281 | tree-if-conv.c, tree-ssa-sccvn.c, tree-ssa.c: Fix comment | |
4282 | typos. Follow spelling conventions. | |
4283 | * doc/invoke.texi, doc/rtl.texi: Fix typos. | |
4284 | ||
812779b7 | 4285 | * cfgrtl.c (delete_insn_chain_and_edges): Remove. |
4286 | * rtl.h: Remove the prototype for delete_insn_chain_and_edges. | |
4287 | ||
026af966 | 4288 | * tree-ssa-operands.c (realloc_vop, realloc_vdef, |
4289 | realloc_vuse): Remove. | |
4290 | * tree-ssa-operands.h: Remove the prototype for realloc_vdef | |
4291 | and realloc_vuse. | |
4292 | ||
70ae6476 | 4293 | 2007-07-06 Daniel Berlin <dberlin@dberlin.org> |
4294 | ||
4295 | Fix PR tree-optimization/23488 | |
4296 | ||
4297 | * tree-ssa-sccvn.c (expr_has_constants): Handle tcc_declaration. | |
4298 | (try_to_simplify): Ditto. | |
4299 | (visit_use): Ditto. | |
4300 | * tree-vn.c (set_value_handle): Use decl_vh_map for decl value | |
4301 | handles. | |
4302 | * tree-flow-inline.h (get_value_handle): Ditto. | |
4303 | * tree-ssa-pre.c (decl_vh_map): New. | |
4304 | (decl_node_pool): New. | |
4305 | (can_value_number_operation): Support DECL_P. | |
4306 | (can_PRE_operation): Ditto. | |
4307 | (create_expression_by_pieces): Ditto. | |
4308 | (find_existing_value_expr): Modify to differnetiate between | |
4309 | addressing and top level. | |
4310 | (create_value_handle_for_expr): Handle DECL's. | |
4311 | (poolify_tree): Ditto. | |
4312 | (make_values_for_phi): Don't insert into PHI_GEN during FRE. | |
4313 | (make_values_for_stmt): Handle DECL's properly. | |
4314 | (init_pre): Reorg to not init useless things during FRE. | |
4315 | (fini_pre): Ditto. | |
4316 | * tree-flow.h: Include pointer-set.h. | |
4317 | (decl_vh_map): Declare. | |
4318 | * Makefile.in (TREE_FLOW_H): Add pointer-set.h | |
4319 | ||
c74b2b0d | 4320 | 2007-07-06 Sandra Loosemore <sandra@codesourcery.com> |
4321 | ||
4322 | * c-opts.c (c_common_handle_option): Make DOLLARS_IN_IDENTIFIERS | |
4323 | apply to assembly language, too. | |
4324 | * doc/tm.texi (DOLLARS_IN_IDENTIFIERS): Update. | |
4325 | ||
f03c17bc | 4326 | 2007-07-06 Ian Lance Taylor <iant@google.com> |
d07cd931 | 4327 | Zack Weinberg <zackw@panix.com> |
f03c17bc | 4328 | |
4329 | PR middle-end/32441 | |
4330 | * builtins.c (std_expand_builtin_va_start): Don't use make_tree. | |
4331 | ||
ec519c2a | 4332 | 2007-07-06 Richard Sandiford <richard@codesourcery.com> |
4333 | ||
4334 | * config/sh/sh.md (*prefetch_i4): Disable for TARGET_VXWORKS_RTP. | |
4335 | (prefetch): Likewise if "pref" would be used. | |
4336 | ||
2ad152f7 | 4337 | 2007-07-06 Josh Conner <jconner@apple.com> |
4338 | ||
4339 | PR middle-end/32602 | |
4340 | PR middle-end/32603 | |
4341 | * calls.c (store_one_arg): Handle arguments which are partially | |
4342 | on the stack when detecting argument overlap. | |
4343 | ||
ac9d5119 | 4344 | 2007-07-06 Bernd Schmidt <bernd.schmidt@analog.com> |
4345 | ||
4346 | * reload1.c (choose_reload_regs): Set reload_spill_index for regs | |
4347 | chosen during find_reloads. | |
4348 | ||
11582f4e | 4349 | 2007-07-06 Richard Guenther <rguenther@suse.de> |
4350 | ||
4351 | * gimplify.c (gimplify_call_expr): Prefer DECL_ARGUMENTS over | |
4352 | TYPE_ARG_TYPES for verification of argument types. Use | |
4353 | DECL_ARG_TYPE instead of the PARM_DECL type. Take excess | |
4354 | parameters as variable arguments. | |
4355 | ||
0ef89dfd | 4356 | 2007-07-06 Andreas Krebbel <krebbel1@de.ibm.com> |
4357 | ||
4358 | * libgcc2.h (word_type): Type definition removed. | |
4359 | (cmp_return_type, shift_count_type): Type definitions added. | |
4360 | (__lshrdi3, __ashldi3, __ashrdi3): word_type of second parameter | |
4361 | replaced with shift_count_type. | |
4362 | (__cmpdi2, __ucmpdi2): word_type of return type replaced with | |
4363 | cmp_return_type. | |
4364 | * libgcc2.c (__udivmoddi4, __moddi3): Type of local variable c | |
4365 | changed from word_type to Wtype. | |
4366 | (__lshrdi3, __ashldi3, __ashrdi3): word_type of second parameter | |
4367 | replaced with shift_count_type. | |
4368 | (__cmpdi2, __ucmpdi2): word_type of return type replaced with | |
4369 | cmp_return_type. | |
0b6a85ec | 4370 | * c-common.c (handle_mode_attribute): Handling for libgcc_cmp_return |
4371 | and libgcc_shift_count attribute added. | |
0ef89dfd | 4372 | * target-def.h (TARGET_LIBGCC_CMP_RETURN_MODE, |
4373 | TARGET_LIBGCC_SHIFT_COUNT_MODE): New target hooks defined. | |
4374 | (TARGET_INITIALIZER): New target hooks added. | |
4375 | * targhooks.c (default_libgcc_cmp_return_mode, | |
4376 | default_libgcc_shift_count_mode): Default implementations for the new | |
4377 | target hooks added. | |
4378 | * targhooks.h (default_libgcc_cmp_return_mode, | |
4379 | default_libgcc_shift_count_mode): Function prototypes added. | |
4380 | * target.h (struct gcc_target): Fields for the new target hooks added. | |
4381 | * optabs.c (expand_binop): Use shift_count_mode when expanding shift | |
4382 | as library call. | |
4383 | (prepare_cmp_insn): Use cmp_return_mode when expanding comparison as | |
4384 | library call. | |
4385 | ||
4386 | * doc/tm.texi (TARGET_LIBGCC_CMP_RETURN_MODE, | |
4387 | TARGET_LIBGCC_SHIFT_COUNT_MODE): Documentation added. | |
4388 | ||
4389 | * config/s390/s390.c (s390_libgcc_cmp_return_mode, | |
4390 | s390_libgcc_shift_count_mode): Functions added. | |
0b6a85ec | 4391 | (TARGET_LIBGCC_CMP_RETURN_MODE, TARGET_LIBGCC_SHIFT_COUNT_MODE): |
4392 | Target hooks defined. | |
0ef89dfd | 4393 | |
f999f5d0 | 4394 | 2007-07-06 Richard Sandiford <richard@codesourcery.com> |
4395 | ||
4396 | * config/mips/mips.c (compute_frame_size): Restore the original | |
4397 | gp_sp_offset for !GENERATE_MIPS16E_SAVE_RESTORE and remove the | |
4398 | fp_size term from the GENERATE_MIPS16E_SAVE_RESTORE calculation. | |
4399 | Document why the difference is needed. | |
4400 | ||
69db191c | 4401 | 2007-07-06 Richard Guenther <rguenther@suse.de> |
4402 | ||
4403 | * c-common.c (boolean_increment): Use correctly typed | |
4404 | constant. | |
4405 | ||
40af8c1d | 4406 | 2007-07-06 Richard Sandiford <richard@codesourcery.com> |
4407 | ||
4408 | * config/mips/mips.c (mips16e_save_restore_pattern_p): Check that | |
4409 | the topmost argument register is not also included in the save mask. | |
4410 | (mips16e_collect_argument_save_p): Take a pointer to the argument | |
4411 | register, rather than a pointer to the number of arguments. | |
4412 | (mips16e_collect_argument_saves): Only include argument saves | |
4413 | that aren't in the register mask. | |
4414 | ||
d86df71c | 4415 | 2007-07-06 Uros Bizjak <ubizjak@gmail.com> |
4416 | ||
0b6a85ec | 4417 | PR rtl-optimization/32450 |
d86df71c | 4418 | * function.c (thread_prologue_and_epilogue_insns): Emit blockage insn |
4419 | to ensure that instructions are not moved into the prologue when | |
4420 | profiling is on. Remove unused prologue_end variable. | |
4421 | (expand_function_end): Emit blockage insn instead of ASM_INPUT rtx | |
4422 | as a scheduling barrier. | |
4423 | ||
fab3c371 | 4424 | 2007-07-06 Alexandre Oliva <aoliva@redhat.com> |
4425 | ||
4426 | PR debug/23551 | |
4427 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
4428 | Disregard DECL_FROM_INLINE. | |
4429 | ||
c07054e9 | 4430 | 2007-07-05 Adam Nemet <anemet@caviumnetworks.com> |
4431 | ||
4432 | * rtlanal.c (num_sign_bit_copies1): Improve cases of ANDing or | |
4433 | IORing with a constant. | |
4434 | ||
37ad3318 | 4435 | 2007-07-05 Seongbae Park <seongbae.park@gmail.com> |
4436 | ||
4437 | PR rtl-optimization/32475 | |
4438 | * df-scan.c (df_def_record_1): Add a use of the stack pointer | |
4439 | for every definition of the stack pointer. | |
4440 | ||
2e5b424c | 4441 | 2007-07-05 Richard Earnshaw <rearnsha@arm.com> |
4442 | ||
4443 | * arm.c (vfp3_const_double_index): Copy signed results of | |
4444 | REAL_VALUE_TO_INT into unsigned vars. | |
4445 | ||
73bb980c | 4446 | 2007-07-05 Richard Guenther <rguenther@suse.de> |
4447 | ||
4448 | PR middle-end/32639 | |
4449 | * alias.c (get_alias_set): Tread METHOD_TYPE the same as | |
4450 | FUNCTION_TYPE. | |
4451 | * tree-ssa.c (useless_type_conversion_p): Check canonical | |
4452 | types early. | |
4453 | ||
a000256c | 4454 | 2007-07-05 Anatoly Sokolov <aesok@post.ru> |
4455 | ||
4456 | * config/avr/avr.md (zero_extendqihi2, zero_extendqisi2, | |
4457 | zero_extendhisi2): Change to define_insn_and_split. | |
4458 | (zero_extendqidi2, zero_extendhidi2, zero_extendsidi2): New. | |
4459 | ||
9dc6d5bb | 4460 | 2007-07-05 Paolo Bonzini <bonzini@gnu.org> |
4461 | ||
4462 | * function.c (match_asm_constraints_1, rest_of_match_asm_constraints, | |
4463 | pass_match_asm_constraints): New. | |
4464 | * passes.c (init_optimization_passes): Add new pass. | |
4465 | * stmt.c (expand_asm_operands): Set cfun->has_asm_statement. | |
4466 | * function.h (struct function): Add has_asm_statement bit. | |
4467 | (current_function_has_asm_statement): New. | |
4468 | * tree-pass.h (pass_match_asm_constraints): New. | |
4469 | ||
d59d4f21 | 4470 | 2007-07-05 Richard Sandiford <rsandifo@nildram.co.uk> |
4471 | ||
4472 | * config/mips/mips.c (mips_file_start): Avoid declaration | |
4473 | after code. | |
4474 | ||
cf53f8ba | 4475 | 2007-07-05 Sandra Loosemore <sandra@codesourcery.com> |
4476 | ||
4477 | * optabs.c (expand_binop_directly): Fix signed/unsigned comparison. | |
4478 | ||
1fa1f15b | 4479 | 2007-07-05 Uros Bizjak <ubizjak@gmail.com> |
4480 | ||
4481 | * rtl.def (NOTE): Change print format string to print | |
4482 | operand 5 as a note insn name. | |
4483 | ||
5faca124 | 4484 | 2007-07-05 Sandra Loosemore <sandra@codesourcery.com> |
4485 | David Ung <davidu@mips.com> | |
4486 | ||
5faca124 | 4487 | * config/mips/mips.c (mips_cpu_info): Add 4ksc and 4ksd processors. |
4488 | * doc/invoke.texi: (MIPS Options): Document them. | |
4489 | ||
122a6978 | 4490 | 2007-07-05 Sandra Loosemore <sandra@codesourcery.com> |
4491 | David Ung <davidu@mips.com> | |
4492 | ||
4493 | Add support for SmartMIPS ASE. | |
4494 | ||
4495 | * optabs.c (expand_binop_directly): New, broken out from... | |
4496 | (expand_binop): Here. Make it try rotating in the other | |
4497 | direction even when the second operand isn't constant. | |
4498 | * config/mips/mips.md (*lwxs): New. | |
4499 | * config/mips/mips.opt (msmartmips): New. | |
4500 | * config/mips/mips.c (mips_lwxs_address_p): New. | |
4501 | (mips_rtx_costs): Make it recognize scaled indexed addressing. | |
4502 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define | |
4503 | __mips_smartmips when compiling for TARGET_SMARTMIPS. | |
4504 | (ISA_HAS_ROR): Define for TARGET_SMARTMIPS. | |
4505 | (ISA_HAS_LWXS): New. | |
4506 | (ASM_SPEC): Add -msmartmips/-mno-smartmips. | |
4507 | * doc/invoke.texi (MIPS Options): Document -msmartmips/-mno-smartmips. | |
4508 | * testsuite/gcc.target/mips/smartmips-lwxs.c: New test case. | |
4509 | * testsuite/gcc.target/mips/smartmips-ror-1.c: New test case. | |
4510 | * testsuite/gcc.target/mips/smartmips-ror-2.c: New test case. | |
4511 | * testsuite/gcc.target/mips/smartmips-ror-3.c: New test case. | |
4512 | * testsuite/gcc.target/mips/smartmips-ror-4.c: New test case. | |
4513 | ||
62612fe9 | 4514 | 2007-07-05 Dorit Nuzman <dorit@il.ibm.com> |
4515 | ||
4516 | * tree-vectorizer.c (new_loop_vec_info): Initialize | |
4517 | LOOP_VINFO_COST_MODEL_MIN_ITERS. | |
4518 | * tree-vectorizer.h (_loop_vec_info): Added new filed | |
4519 | min_profitable_iters. | |
4520 | (LOOP_VINFO_COST_MODEL_MIN_ITERS): New access macro to above new field. | |
4521 | (TARG_SCALAR_TO_VEC_COST): Define cost of scalar to vector operation. | |
4522 | * tree-vect-analyze.c (vect_analyze_operations): Set | |
4523 | LOOP_VINFO_COST_MODEL_MIN_ITERS. | |
4524 | * tree-vect-transform.c (vect_estimate_min_profitable_iters): Use | |
4525 | VEC_length to determine if there are any LOOP_VINFO_MAY_MISALIGN_STMTS. | |
4526 | Fix calculation of peel_iters_prologue. Move consideration of epilogue | |
4527 | and prologue cost to after they are computed. | |
4528 | (vect_model_induction_cost): Use TARG_SCALAR_TO_VEC_COST instead of | |
4529 | TARG_VEC_STMT_COST. | |
4530 | (vect_model_simple_cost): Takes additional argument dt. Consider cost | |
4531 | of creating vectors from scalars according to dt. | |
4532 | (vect_model_store_cost): Likewise. | |
4533 | (vectorizable_call): Use dt array instead of scalar dt. Call | |
4534 | vect_model_simple_cost with additional argument dt. | |
4535 | (vectorizable_assignment): Likewise. | |
4536 | (vectorizable_operation): Likewise. | |
4537 | (vectorizable_type_demotion): Likewise. | |
4538 | (vectorizable_type_promotion): Likewise. | |
4539 | (vectorizable_store): Use dt array instead of scalar dt. Call | |
4540 | vect_model_store_cost with additional argument dt. | |
4541 | (vect_do_peeling_for_loop_bound): Don't call | |
4542 | vect_estimate_min_profitable_iters. Instead, lookup | |
4543 | LOOP_VINFO_COST_MODEL_MIN_ITERS. Don't always print | |
1fa1f15b | 4544 | "may not be profitable". |
62612fe9 | 4545 | |
9f9a2ca2 | 4546 | 2007-07-05 Dorit Nuzman <dorit@il.ibm.com> |
4547 | ||
4548 | PR testsuite/32014 | |
4549 | * config/rs6000/altivec.md (UNSPEC_VUPKHS_V4SF, UNSPEC_VUPKLS_V4SF): | |
4550 | (UNSPEC_VUPKHU_V4SF, UNSPEC_VUPKLU_V4SF): New. | |
4551 | (vec_unpacks_float_hi_v8hi, vec_unpacks_float_lo_v8hi): New patterns. | |
4552 | (vec_unpacku_float_hi_v8hi, vec_unpacku_float_lo_v8hi): New patterns. | |
4553 | ||
3e39e660 | 4554 | 2007-07-05 Zdenek Dvorak <dvorakz@suse.cz> |
4555 | ||
4556 | * config/i386/i386.c (ix86_address_cost): Do not consider more complex | |
4557 | addressing modes cheaper. | |
4558 | ||
f221c0bd | 4559 | 2007-07-05 Alexandre Oliva <aoliva@redhat.com> |
4560 | ||
4561 | * dwarf2out.c (dw_ranges_by_label_ref): New typedef. | |
4562 | (dw_ranges_struct): Rename block_num to num. Adjust. | |
4563 | (dw_ranges_by_label_struct): New. | |
4564 | (ranges_by_label, ranges_by_label_allocated, | |
4565 | ranges_by_label_in_use): New variables. | |
4566 | (add_ranges_num): Factored most of the code out of... | |
4567 | (add_ranges): ... this one. Rewrite in terms of the former. | |
4568 | (add_ranges_by_labels): New. | |
4569 | (output_ranges): Output by-label ranges. | |
4570 | (dwarf2out_finish): Output range for multiple-section | |
4571 | compile_unit. Output standard DW_AT_low_pc in addition to | |
4572 | unexpected DW_AT_entry_pc. | |
4573 | ||
40256f4a | 4574 | 2007-07-04 Daniel Berlin <dberlin@dberlin.org> |
4575 | ||
4576 | PR tree-optimization/32604 | |
4577 | PR tree-optimization/32606 | |
1fa1f15b | 4578 | |
40256f4a | 4579 | * tree-ssa-pre.c (bb_bitmap_sets): Removed antic_safe_loads. |
4580 | (compute_antic_safe): Removed. | |
4581 | (ANTIC_SAFE_LOADS): Ditto. | |
4582 | (compute_antic_aux): Don't print ANTIC_SAFE_LOADS. | |
4583 | (execute_pre): Don't call compute_antic_safe. | |
4584 | (vuse_equiv): New function. | |
4585 | (make_values_for_stmt): Use it | |
4586 | * tree-ssa-sccvn.c (set_ssa_val_to): Remove assert, since it is | |
4587 | not always true. | |
4588 | ||
f86b386b | 4589 | 2007-07-04 Anatoly Sokolov <aesok@post.ru> |
4590 | ||
4591 | PR target/31331 | |
4592 | * config/avr/avr.c (avr_naked_function_p): Handle receiving a type | |
4593 | rather than a decl. | |
4594 | (avr_attribute_table): Make "naked" attribute apply to function types | |
4595 | rather than to decls. | |
4596 | (avr_handle_fntype_attribute): New function. | |
4597 | ||
571b8105 | 4598 | 2007-07-04 Joseph Myers <joseph@codesourcery.com> |
4599 | ||
4600 | * target-def.h (TARGET_INITIALIZER): Remove trailing whitespace | |
4601 | after \. | |
4602 | ||
e91288e0 | 4603 | 2007-07-04 David Ung <davidu@mips.com> |
d07cd931 | 4604 | Joseph Myers <joseph@codesourcery.com> |
e91288e0 | 4605 | |
4606 | * config/mips/mips.md (type): Add logical, signext and move. | |
4607 | (one_cmpl<mode>2, *and<mode>3, *and<mode>3_mips16, *ior<mode>3, | |
4608 | *ior<mode>3_mips16, two unnamed insns after *ior<mode>3_mips16, | |
4609 | *nor<mode>3, "Combiner patterns to optimize truncate/zero_extend | |
4610 | combinations", *zero_extend<SHORT:mode><GPR:mode>2, | |
4611 | *zero_extendqihi2, *extend<SHORT:mode><GPR:mode>2_mips16e, | |
4612 | *extend<SHORT:mode><GPR:mode>2_se<SHORT:size>, *movdi_64bit, | |
4613 | *movdi_64bit_mips16, *movsi_internal, *movsi_mips16, movcc, | |
4614 | *movhi_internal, *movhi_mips16, *movqi_internal, *movqi_mips16, | |
4615 | *movsf_hardfloat, *movsf_softfloat, *movsf_mips16, | |
4616 | *movdf_hardfloat_64bit, *movdf_hardfloat_32bit, | |
4617 | movv2sf_hardfloat_64bit): Use the new types. | |
4618 | (*movdi_32bit, *movdi_gp32_fp64, *movdi_32bit_mips16, | |
4619 | *movdf_softfloat, *movdf_mips16): Use "multi". | |
4620 | (extendqihi2): Replace with a define_expand. | |
4621 | (*extendqihi2_mips16e, *extendqihi2, *extendqihi2_seb): New. | |
4622 | Based on extend<SHORT:mode><GPR:mode>2 patterns. | |
4623 | * config/mips/74k.md (r74k_int_logical): New reservation and | |
4624 | bypasses. | |
4625 | (r74k_int_arith): Remove "slt". | |
4626 | * config/mips/24k.md, config/mips/4130.md, config/mips/4k.md, | |
4627 | config/mips/5400.md, config/mips/5500.md, config/mips/5k.md, | |
4628 | config/mips/7000.md, config/mips/9000.md, config/mips/generic.md, | |
4629 | config/mips/sb1.md, config/mips/sr71k.md: Add new types to | |
4630 | reservations for "arith". | |
4631 | ||
f757850a | 4632 | 2007-07-04 Richard Guenther <rguenther@suse.de> |
4633 | ||
4634 | * tree-ssa.c (useless_type_conversion_p): Add handling for | |
4635 | scalar float and vector types. Only call the types_compatible_p | |
4636 | langhook for aggregate types as last resort. Follow the | |
4637 | rules. | |
4638 | ||
5d1f8880 | 4639 | 2007-07-04 Richard Guenther <rguenther@suse.de> |
4640 | ||
4641 | * tree-inline.c (estimate_num_insns_1): Treat CONVERT_EXPR | |
4642 | the same as NOP_EXPR. | |
4643 | ||
154ee3b8 | 4644 | 2007-07-04 Nick Clifton <nickc@redhat.com> |
4645 | ||
4646 | * target.h (struct gcc_target): Add target_help field. | |
4647 | * target-def.h (TARGET_HELP): New. | |
4648 | (TARGET_INITIALIZER): Use TARGET_HELP. | |
4649 | * opts.c (command_handle_option): Invoke target_help function, if | |
4650 | defined, when the user has specified --target-help on the command | |
4651 | line. | |
4652 | * doc/invoke.texi: Mention that --target-help might print | |
4653 | additional information. | |
4654 | * doc/tm.texi: Document TARGET_HELP hook. | |
4655 | ||
4656 | * arm.c (TARGET_HELP): Override default definition. | |
4657 | (arm_target_help): New - display a wrapped list of cores and | |
4658 | architectures supported. | |
4659 | ||
4c369c58 | 4660 | 2007-07-04 Rask Ingemann Lambertsen <rask@sygehus.dk> |
4661 | ||
4662 | * config/gcc/v850/v850.c (expand_prologue): Make sure | |
4663 | GEN_INT() argument is sign extended rather than zero extended. | |
4664 | (expand_epilogue): Likewise. | |
4665 | (output_move_double): Delete. | |
4666 | * config/gcc/v850/v850-protos.h (output_move_double): Delete. | |
4667 | * config/gcc/v850/v850.md (movdi): Delete. | |
4668 | (*movdi_internal): Delete. | |
4669 | (movdf): Delete. | |
4670 | (*movdf_internal): Delete. | |
4671 | ||
fc4b79ac | 4672 | 2007-07-04 Richard Sandiford <richard@codesourcery.com> |
4673 | ||
4674 | * config/sh/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Reject -mrelax | |
4675 | unless compiling RTP PIC. | |
4676 | ||
d9022390 | 4677 | 2007-07-04 Richard Guenther <rguenther@suse.de> |
4678 | ||
4679 | PR tree-optimization/32482 | |
4680 | * tree-ssa-ifcombine.c (recognize_single_bit_test): Use the | |
4681 | original ssa name if we didn't find a shift expression. | |
4682 | Fix shift constant for bit zero test. | |
4683 | ||
a819eb1f | 4684 | 2007-07-04 Richard Sandiford <richard@codesourcery.com> |
4685 | ||
4686 | * config/sh/lib1funcs.asm (ic_invalidate): Align constant pool. | |
4687 | ||
ab39d1bf | 4688 | 2007-07-04 Richard Sandiford <richard@codesourcery.com> |
4689 | ||
4690 | * config.gcc (arm-wrs-vxworks): Don't include svr4.h. | |
4691 | * config/vxworks.h (PTRDIFF_TYPE, SIZE_TYPE, TARGET_POSIX_IO): Define. | |
4692 | * config/arm/vxworks.h (ASM_SPEC): Delete. | |
4693 | (SUBTARGET_EXTRA_ASM_SPEC): Define. | |
4694 | ||
0ecb94cf | 4695 | 2007-07-04 Sebastian Pop <sebpop@gmail.com> |
4696 | ||
4697 | * tree-data-ref.h (data_dependence_relation): New flag reversed_p. | |
4698 | (DDR_REVERSED_P): New. | |
4699 | * tree-data-ref.c (initialize_data_dependence_relation, | |
4700 | build_classic_dist_vector): Set DDR_REVERSED_P. | |
4701 | ||
4ee81b10 | 4702 | 2007-07-04 Sebastian Pop <sebpop@gmail.com> |
4703 | ||
4704 | PR middle-end/32457 | |
4705 | * tree-data-ref.c (analyze_siv_subscript_cst_affine, | |
4706 | compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine, | |
4707 | init_omega_for_ddr_1): Use non conservative number of iterations | |
4708 | estimations. | |
4709 | (analyze_subscript_affine_affine): Use HOST_WIDE_INT instead of int. | |
4710 | (analyze_siv_subscript): Remove FIXME and reinitialization of | |
4711 | last_conflicts to chrec_dont_know. | |
4712 | * testsuite/gfortran.dg/vect/pr32457.f90: New. | |
4713 | ||
9cdfb835 | 4714 | 2007-07-04 Douglas Gregor <doug.gregor@gmail.com> |
4715 | ||
4716 | * tree.c (maybe_canonicalize_argtypes): Improve description. | |
4717 | ||
3084bb6f | 4718 | 2007-07-04 Douglas Gregor <doug.gregor@gmail.com> |
4719 | ||
4720 | * tree.c (maybe_canonicalize_argtypes): New. | |
4721 | (build_function_type): Set canonical type. | |
4722 | (build_method_type_directly): Ditto. | |
4723 | (reconstruct_complex_type): Rebuild the METHOD_TYPE node | |
4724 | properly. | |
4725 | ||
2595dcbb | 4726 | 2007-07-03 Andrew Pinski <andrew_pinski@playstation.sony.com> |
4727 | ||
4728 | * tree-ssa-loop-ivopts.c (strip_offset_1): Treat POINTER_PLUS_EXPR | |
4729 | like PLUS_EXPR. | |
4730 | (rewrite_use_nonlinear_expr): Likewise. | |
4731 | ||
4e1f92f7 | 4732 | 2007-07-03 Seongbae Park <seongbae.park@gmail.com> |
4733 | ||
4734 | * rtl.def (UNSPEC, USE, CLOBBER): More comments. | |
4735 | ||
6daf3d3a | 4736 | 2007-07-04 Ben Elliston <bje@au.ibm.com> |
4737 | ||
7734155f | 4738 | * dwarf2out.c: Move DWARF2 abbreviation glossary closer to the top |
4739 | of this file. | |
4740 | ||
d9106e55 | 4741 | * c-objc-common.c (c_types_compatible_p): Fix indentation. |
4742 | ||
6daf3d3a | 4743 | * doc/tm.texi (Run-time Target): Capitalise "CPU". |
4744 | (Exception Handling): Likewise. | |
4745 | ||
990be1d5 | 4746 | 2007-07-03 Jan Hubicka <jh@suse.cz> |
4747 | ||
4748 | * ifcvt.c (find_cond_trap): Avoid invalid RTL sharing. | |
4749 | ||
c67acc43 | 4750 | 2007-07-03 Eric Christopher <echristo@apple.com> |
4751 | ||
4752 | * doc/cppopts.texi: Add conflicting option note to -dM. | |
4753 | * doc/invoke.texi: Add note about possible conflicts with | |
4754 | -E for -dCHARS and note that -dM will not produce | |
4755 | any results if there is no machine dependent reorg. | |
4756 | ||
834615ab | 4757 | 2007-07-03 Geoffrey Keating <geoffk@apple.com> |
4758 | ||
4759 | * tree.h (DECL_ALIGN): Back out previous change. | |
4760 | ||
c9eabb6d | 4761 | 2007-07-03 Joseph Myers <joseph@codesourcery.com> |
4762 | ||
4763 | * configure.ac: Test for .dtprelword support on MIPS. | |
4764 | * configure, config.in: Regenerate. | |
4765 | * config/mips/mips.c (mips_output_dwarf_dtprel): New. | |
4766 | (TARGET_ASM_OUTPUT_DWARF_DTPREL): Define. | |
4767 | ||
b5a0636d | 4768 | 2007-07-03 Julian Brown <julian@codesourcery.com> |
4769 | ||
4770 | * config.gcc (with_fpu): Allow --with-fpu=vfp3. | |
4771 | * config/arm/aout.h (REGISTER_NAMES): Add D16-D31. | |
4772 | * config/arm/aof.h (REGISTER_NAMES): Add D16-D31. | |
4773 | * config/arm/arm.c (FL_VFPV3): New flag for VFPv3 processor | |
4774 | capability. | |
4775 | (all_fpus): Add FPUTYPE_VFP3. | |
4776 | (fp_model_for_fpu): Add VFPv3 field. | |
4777 | (arm_rtx_costs_1): Give cost to VFPv3 constants. | |
4778 | (vfp3_const_double_index): New function. Return integer index of | |
4779 | VFPv3 constant suitable for fconst[sd] insns, or -1 if constant | |
4780 | isn't suitable. | |
4781 | (vfp3_const_double_rtx): New function. True if VFPv3 is enabled | |
4782 | and argument represents a valid RTX for a VFPv3 constant. | |
4783 | (vfp_output_fldmd): Split fldmd with > 16 registers in the list into | |
4784 | two instructions. | |
4785 | (vfp_emit_fstmd): Similar, for fstmd. | |
4786 | (arm_print_operand): Implement new code 'G' for VFPv3 floating-point | |
4787 | constants, represented as integer indices. | |
4788 | (arm_hard_regno_mode_ok): Use VFP_REGNO_OK_FOR_SINGLE, | |
4789 | VFP_REGNO_OK_FOR_DOUBLE macros. | |
4790 | (arm_regno_class): Handle VFPv3 d0-d7, low, high register split. | |
4791 | (arm_file_start): Set float-abi attribute for VFPv3, and output | |
4792 | correct ".fpu" assembler directive. | |
4793 | (arm_dbx_register_numbering): Add FIXME. | |
4794 | * config/arm/arm.h (TARGET_VFP3): New macro. Target supports VFPv3. | |
4795 | (fputype): Add FPUTYPE_VFP3. | |
4796 | (FIXED_REGISTERS): Add 32 registers for D16-D31. | |
4797 | (CALL_USED_REGISTERS): Likewise. | |
4798 | (CONDITIONAL_REGISTER_USAGE): Add note about conditional definition | |
4799 | of LAST_VFP_REGNUM. Make D16-D31 caller-saved, if present. | |
4800 | (LAST_VFP_REGNUM): Extend available VFP registers for VFPv3. | |
4801 | (D7_VFP_REGNUM): New. | |
4802 | (LAST_LO_VFP_REGNUM, FIRST_HI_VFP_REGNUM, LAST_HI_VFP_REGNUM) | |
4803 | (VFP_REGNO_OK_FOR_SINGLE, VFP_REGNO_OK_FOR_SINGLE) | |
4804 | (VFP_REGNO_OK_FOR_DOUBLE): Define new macros. | |
4805 | (FIRST_PSEUDO_REGISTER): Shift up to 128 to accommodate VFPv3. | |
4806 | (REG_ALLOC_ORDER): Adjust for VFPv3. | |
4807 | (reg_class): Add VFP_D0_D7_REGS, VFP_LO_REGS, VFP_HI_REGS. | |
4808 | (REG_CLASS_NAMES): Add entries corresponding to VFP_D0_D7_REGS, | |
4809 | VFP_LO_REGS, VFP_HI_REGS. | |
4810 | (REG_CLASS_CONTENTS): Likewise. Extend contents for VFP_REGS. | |
4811 | (IS_VFP_CLASS): Define macro. | |
4812 | (SECONDARY_OUTPUT_RELOAD_CLASS, SECONDARY_INPUT_RELOAD_CLASS): Use | |
4813 | IS_VFP_CLASS. | |
4814 | (REGISTER_MOVE_COST): Likewise. | |
4815 | * config/arm/arm-protos.h (vfp3_const_double_rtx): Add prototype. | |
4816 | * config/arm/vfp.md (VFPCC_REGNUM): Redefine as 127. | |
4817 | (*arm_movsi_vfp, *thumb2_movsi_vfp, *movsfcc_vfp) | |
4818 | (*thumb2_movsfcc_vfp, *abssf2_vfp, *negsf2_vfp, *addsf3_vfp) | |
4819 | (*subsf3_vfp, *divsf_vfp, *mulsf_vfp, *mulsf3negsf_vfp) | |
4820 | (*mulsf3addsf_vfp, *mulsf3subsf_vfp, *mulsf3negsfaddsf_vfp) | |
4821 | (*extendsfdf2_vfp, *truncdfsf2_vfp, *truncsisf2_vfp) | |
4822 | (*truncsidf2_vfp, fixuns_truncsfsi2, fixuns_truncdfsi2) | |
4823 | (*floatsisf2_vfp, *floatsidf2_vfp, floatunssisf2) | |
4824 | (floatunssidf2, *sqrtsf2_vfp, *cmpsf_split_vfp) | |
4825 | (*cmpsf_trap_split_vfp, *cmpsf_vfp, *cmpsf_trap_vfp): Use 't' | |
4826 | where appropriate for single-word registers. | |
4827 | (*movsf_vfp, *thumb2_movsf_vfp, *movdf_vfp, *thumb2_movdf_vfp): | |
4828 | As above. Fix type attributes. | |
4829 | * config/arm/constraints.md (register_contraint "t"): Define. | |
4830 | (register_constraint "w"): Change to D0-D15, or D0-D31 for | |
4831 | VFPv3/NEON. | |
4832 | (register_constraint "x"): Define. | |
4833 | (constraint "Dv"): Define. | |
4834 | ||
752f0c67 | 4835 | 2007-07-03 Geoffrey Keating <geoffk@apple.com> |
4836 | ||
4837 | * tree.h (DECL_ALIGN): Prevent use on a FUNCTION_DECL. | |
4838 | ||
920d59b0 | 4839 | 2007-07-03 Tom Tromey <tromey@redhat.com> |
4840 | ||
4841 | * c-parser.c (objc_pq_context): Removed. | |
4842 | (objc_need_raw_identifier): Likewise. | |
4843 | (c_parser) <objc_pq_context>: New field. | |
4844 | <objc_need_raw_identifier>: Likewise. | |
4845 | (OBJC_NEED_RAW_IDENTIFIER): Removed. | |
4846 | (c_lex_one_token): Update. | |
4847 | (c_parser_objc_protocol_definition): Update. | |
4848 | (c_parser_objc_method_definition): Update. | |
4849 | (c_parser_objc_methodproto): Update. | |
4850 | (c_parser_declspecs): Update. | |
4851 | ||
d5db1563 | 4852 | 2007-07-03 David Ung <davidu@mips.com> |
4853 | ||
4854 | * config/mips/mips.c (mips_issue_rate): Return 4 for 74K processors. | |
4855 | ||
784ebca0 | 4856 | 2007-07-03 David Ung <davidu@mips.com> |
4857 | Richard Sandiford <richard@codesourcery.com> | |
4858 | ||
4859 | * doc/invoke.texi: Document -march=74kf3_2. | |
4860 | * config/mips/mips.h (PROCESSOR_74KF3_2): New processor_type. | |
4861 | (TUNE_74K): Check for it. | |
4862 | * config/mips/mips.c (mips_cpu_info): Add 74kf3_2. | |
4863 | (mips_rtx_cost_data): Add an entry for PROCESSOR_74KF3_2. | |
4864 | * config/mips/mips.md (cpu): Add 74kf3_2. | |
4865 | * config/mips/74k.md (r74k_int_logical, r74k_int_arith, r74k_int_nop) | |
4866 | (r74k_int_cmove, r74k_int_mult, r74k_int_mul3, r74k_int_mfhilo) | |
4867 | (r74k_int_mthilo, r74k_int_div, r74k_int_call, r74k_int_jump) | |
4868 | (r74k_int_load, r74k_int_store, r74k_unknown, r74k_multi): Add | |
4869 | 74kf3_2 to the CPU list. | |
4870 | (r74kf3_2_fadd, r74kf3_2_fmove, r74kf3_2_fload, r74kf3_2_fstore) | |
4871 | (r74kf3_2_fmul_sf, r74kf3_2_fmul_df, r74kf3_2_fdiv_sf) | |
4872 | (r74kf3_2_fdiv_df, r74kf3_2_frsqrt_sf, r74kf3_2_frsqrt_df) | |
4873 | (r74kf3_2_fcmp, r74kf3_2_fcvt, r74kf3_2_fxfer_to_c1) | |
4874 | (r74kf3_2_fxfer_from_c1): New insn reservations. | |
4875 | ||
3107df17 | 4876 | 2007-07-03 Richard Sandiford <richard@codesourcery.com> |
4877 | David Ung <davidu@mips.com> | |
4878 | ||
4879 | * doc/invoke.texi: Replace -march=24kf with -march=24kf2_1 and | |
4880 | -march=24kx with -march=24kf1_1. Likewise 24ke[fx], 34k[fx] | |
4881 | and 74k[fx]. Document aliases for the new options. | |
4882 | * config/mips/mips.h (PROCESSOR_24KF): Rename to... | |
4883 | (PROCESSOR_24KF2_1): ...this. | |
4884 | (PROCESSOR_24KX): Rename to... | |
4885 | (PROCESSOR_24KF1_1): ...this. | |
4886 | (PROCESSOR_74KF): Rename to... | |
4887 | (PROCESSOR_74KF2_1): ...this. | |
4888 | (PROCESSOR_74KX): Rename to... | |
4889 | (PROCESSOR_74KF1_1): ...this. | |
4890 | (TUNE_74K): Update PROCESSOR_* names. | |
4891 | * config/mips/mips.c (mips_cpu_info): Add 24kf2_1 as a synonym | |
4892 | for 24kf. Add 24kf1_1 and 24kfx as synonyms for 24kx. Likewise | |
4893 | the 24ke*, 34k* and 74k* processors. Update PROCESSOR_* names. | |
4894 | (mips_rtx_cost_data): Update processor names in comments. | |
4895 | (mips_issue_rate): Update PROCESSOR_* names. | |
4896 | * config/mips/mips.md (cpu): Rename 24kf to 24kf2_1, 24kx to | |
4897 | 24kf1_1, 74kf to 74kf2_1 and 74kx to 74kf1_1. | |
4898 | * config/mips/24k.md: Rename FPU-related r24k_* insn reservations | |
4899 | to r24kf2_1_*. Rename r24kx_* insn reservations to r24kf1_1_*. | |
4900 | Update cpu attribute names. | |
4901 | (r24k_fpu_iss): Rename this reservation to... | |
4902 | (r24kf2_1_fpu_iss): ...this and update all uses. | |
4903 | (r24kx_fpu_iss): Rename this reservation to... | |
4904 | (r24kf1_1_fpu_iss): ...this and update all uses. | |
4905 | * config/mips/74k.md: Rename FPU-related r74kf_* insn reservations | |
4906 | to r74kf2_1_*. Rename r74kx_* insn reservations to r74kf1_1_*. | |
4907 | Update cpu attribute names. | |
4908 | ||
bd9c4764 | 4909 | 2007-07-01 Kaz Kojima <kkojima@gcc.gnu.org> |
4910 | ||
4911 | * config/m32r/constraints.md: New file. | |
4912 | * config/m32r/m32r.c: Include tm-constrs.h. | |
4913 | (small_data_operand): Use satisfies_constraint_* instead of macro. | |
4914 | (addr24_operand, gen_compare): Likewise. | |
4915 | * config/m32r/m32r.h (REG_CLASS_FROM_LETTER): Remove. | |
4916 | (INT8_P, UPPER16_P, UINT32_P, UINT5_P, INVERTED_SIGNED_8BIT, | |
4917 | CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P, | |
4918 | EXTRA_CONSTRAINT): Likewise. | |
4919 | * config/m32r/m32r.md: Include constraints.md. | |
4920 | (*movsi_insn): Use satisfies_constraint_* instead of macro. | |
4921 | (andsi3, iorsi3, xorsi3, seq_insn+1, sne): Likewise. | |
4922 | * config/m32r/predicates.md (conditional_move_operand): Likewise. | |
4923 | (two_insn_const_operand, int8_operand, uint16_operand, | |
4924 | reg_or_int16_operand, reg_or_uint16_operand, | |
4925 | reg_or_cmp_int16_operand, cmp_int16_operand, | |
4926 | seth_add3_operand): Likewise. | |
4927 | ||
d2b0211b | 4928 | 2007-07-03 Eric Christopher <echristo@gmail.com> |
4929 | ||
4930 | * libgcc2.h: Conditionally declare __bswapsi2 and | |
4931 | __bswapdi2. | |
4932 | ||
d8b4f8df | 4933 | 2007-07-03 H.J. Lu <hongjiu.lu@intel.com> |
4934 | ||
4935 | * ddg.c (check_sccs): Define only if ENABLE_CHECKING is | |
4936 | defined. | |
4937 | ||
7f385964 | 4938 | 2007-07-03 Rainer Orth <ro@TechFak.Uni-Bielefeld.DE> |
4939 | ||
4940 | PR target/28307 | |
4941 | * gthr-posix.h [SUPPORTS_WEAK && GTHREAD_USE_WEAK] | |
4942 | (__gthrw_pragma): Provide default definition. | |
4943 | (__gthrw2): Use it. | |
4944 | * gthr-posix.c (__gthrw_pragma): Define. | |
4945 | ||
6effd6da | 4946 | 2007-07-03 Daniel Berlin <dberlin@dberlin.org> |
4947 | ||
4948 | * tree-ssa-sccvn.c (set_ssa_val_to): Check for operand_equal_p | |
4949 | before declaring inequality. | |
4950 | ||
0f975d00 | 4951 | 2007-07-03 Rask Ingemann Lambertsen <rask@sygehus.dk> |
4952 | ||
4953 | * combine.c (recog_for_combine): Log the success or failure of | |
4954 | matching new insn patterns against the machine description in | |
4955 | detailed dumps. | |
4956 | ||
65ef61df | 4957 | 2007-07-03 Revital Eres <eres@il.ibm.com> |
4958 | ||
4959 | * ddg.c (print_sccs): New function. | |
4960 | (check_sccs): New function. | |
4961 | (create_ddg_all_sccs): Use it. | |
4962 | * ddg.h (print_sccs): Declare. | |
4963 | * modulo-sched.c (sms_order_nodes): Call print_sccs. | |
4964 | ||
430be8e2 | 4965 | 2007-07-03 Uros Bizjak <ubizjak@gmail.com> |
4966 | ||
4967 | * targhooks.h (default_mode_for_suffix): New function declaration. | |
4968 | * targhooks.c (default_mode_for_suffix): New default target hook. | |
4969 | * target.h (struct c): New structure in the targetm struct. | |
4970 | (mode_for_suffix): New target hook as part of struct c. | |
4971 | target-def.h (TARGET_C_MODE_FOR_SUFFIX): Define as | |
4972 | default_mode_for_suffix. | |
4973 | (TARGET_C): New define. | |
4974 | * c-lex.c: Include "target.h". | |
4975 | (interpret_float): Use targetm.c.mode_for_suffix to determine | |
4976 | the mode for a given non-standard suffix. | |
4977 | Makefile.in (c-lex.o): Depend on $(TARGET_H). | |
4978 | ||
4979 | * config/i386/i386.c (ix86_c_mode_for_suffix): New static function. | |
4980 | (TARGET_C_MODE_FOR_SUFFIX): Define to ix86_c_mode_for_suffix. | |
4981 | ||
4982 | * doc/extend.texi (Floating Types): New node. Document __float80 and | |
4983 | __float128 types. Document 'w', 'W', 'q' and 'Q' suffixes. | |
4984 | ||
3459f6a6 | 4985 | 2007-07-03 Kaz Kojima <kkojima@gcc.gnu.org> |
4986 | ||
4987 | PR target/32506 | |
4988 | * config/sh/sh.md (udivsi3_i1_media): Use target_reg_operand | |
4989 | predicate instead of target_operand. | |
4990 | (divsi3_i1_media, divsi3_media_2): Likewise. | |
4991 | ||
879f881c | 4992 | 2007-07-02 Eric Botcazou <ebotcazou@adacore.com> |
4993 | ||
4994 | * tree.h (alias_sets_might_conflict_p): Rename into | |
4995 | alias_sets_must_conflict_p. | |
4996 | * alias.c (alias_sets_might_conflict_p): Likewise. | |
4997 | (alias_sets_conflict_p): Use it. | |
4998 | (objects_must_conflict_p): Likewise. | |
4999 | * c-common.c (strict_aliasing_warning): Adjust. | |
5000 | ||
ed7dbf5d | 5001 | 2007-07-02 Andrew Pinski <andrew_pinski@playstation.sony.com> |
5002 | ||
5003 | * rtlhooks.c (gen_lowpart_if_possible): Check for | |
5004 | invalid subreg before calling gen_lowpart_SUBREG. | |
5005 | ||
0cbc4a01 | 5006 | 2007-07-02 Geoffrey Keating <geoffk@apple.com> |
5007 | ||
5008 | * config/darwin9.h: Add copyright notice. | |
5009 | (LINK_COMMAND_SPEC): Add comment. | |
5010 | (DARWIN_LIBSYSTEM_HAS_UNWIND): Define. | |
5011 | * config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Conditionalise on | |
5012 | DARWIN_LIBSYSTEM_HAS_UNWIND. | |
5013 | ||
de7ef844 | 5014 | 2007-07-02 Jakub Jelinek <jakub@redhat.com> |
5015 | ||
5016 | PR libgomp/32468 | |
5017 | * omp-low.c (check_combined_parallel): New function. | |
5018 | (lower_omp_parallel): Call it via walk_stmts, set | |
5019 | OMP_PARALLEL_COMBINED if appropriate. | |
5020 | (determine_parallel_type): If OMP_FOR resp. OMP_SECTIONS | |
5021 | isn't the only statement in WS_ENTRY_BB or OMP_RETURN | |
5022 | the only one in PAR_EXIT_BB and not OMP_PARALLEL_COMBINED, | |
5023 | don't consider it as combined parallel. | |
5024 | ||
fc5f9e0c | 5025 | 2007-07-02 Richard Sandiford <richard@codesourcery.com> |
5026 | ||
5027 | * configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix). | |
5028 | (gcc_tooldir): Likewise. | |
5029 | * configure: Regenerate. | |
5030 | * Makefile.in (libsubdir_to_prefix): New variable, based on the | |
5031 | old configure.ac gcc_tooldir setting. | |
5032 | (prefix_to_exec_prefix): New variable. | |
5033 | (DRIVER_DEFINES): Use $(libsubdir_to_prefix)$(prefix_to_exec_prefix) | |
5034 | rather than $(unlibsubdir)/../ to derive TOOLDIR_BASE_PREFIX. | |
5035 | ||
8677cd08 | 5036 | 2007-07-02 Daniel Berlin <dberlin@dberlin.org> |
5037 | ||
5038 | Fix PR tree-optimization/32583 | |
5039 | Fix PR tree-optimization/32584 | |
5040 | * tree-ssa-pre.c (phi_translate): Always pass seen bitmap. | |
5041 | (phi_translate_set): Use phi_translate directly now. | |
5042 | (make_values_for_stmt): Don't value number RHS if we already know | |
5043 | it is constant. | |
5044 | ||
0f9736f3 | 5045 | 2007-07-02 Steve Ellcey <sje@cup.hp.com> |
5046 | Jim Wilson <wilson@specifix.com> | |
5047 | ||
5048 | PR target/31684 | |
5049 | * haifa-sched.c (add_to_speculative_block): Change copy_rtx to | |
5050 | copy_insn. | |
5051 | ||
0e13e859 | 5052 | 2007-07-02 Sandra Loosemore <sandra@codesourcery.com> |
5053 | Richard Sandiford <richard@codesourcery.com> | |
5054 | Nigel Stephens <nigel@mips.com> | |
5055 | ||
5056 | * config/mips/mips-protos.h (mips16e_save_restore_info): New struct. | |
5057 | (mips16e_output_save_restore): Declare. | |
5058 | (mips16e_save_restore_pattern_p): Likewise. | |
5059 | * config/mips/mips.h (GENERATE_MIPS16E_SAVE_RESTORE): New macro. | |
5060 | * config/mips/mips.c (MIPS_MAX_FIRST_STACK_STEP): Return 0x7f8 | |
5061 | for GENERATE_MIPS16E_SAVE_RESTORE. Return 0x400 for TARGET_MIPS16 | |
5062 | && !GENERATE_MIPS16E_SAVE_RESTORE && !TARGET_64BIT. | |
5063 | (BITSET_P): New global macro, extracted from... | |
5064 | (mips_for_each_saved_reg): ...here. | |
5065 | (mips16e_save_restore_info): New struct. | |
5066 | (mips16e_s2_s8_regs, mips16e_a0_a3_regs): New variables. | |
5067 | (mips16e_save_restore_regs): New variable. | |
5068 | (mips_split_plus, mips16e_find_first_register): New functions. | |
5069 | (mips16e_mask_registers): New function. | |
5070 | (compute_frame_size): Expand the commentary before the function. | |
5071 | Enforce the MIPS16e save and restore register range restrictions. | |
5072 | Pad the general register save area at the low end. | |
5073 | (mips16e_save_restore_reg, mips16e_build_save_restore) | |
5074 | (mips16e_save_restore_pattern_p, mips16e_add_register_range) | |
5075 | (mips16e_output_save_restore, mips16e_collect_propagate_value) | |
5076 | (mips16e_collect_argument_save, mips16e_collect_argument_saves): | |
5077 | New functions. | |
5078 | (mips_expand_prologue, mips_expand_epilogue): Handle | |
5079 | GENERATE_MIPS16E_SAVE_RESTORE. | |
5080 | * config/mips/mips.md (*mips16e_save_restore): New pattern. | |
5081 | ||
58bc8309 | 5082 | 2007-07-02 Uros Bizjak <ubizjak@gmail.com> |
5083 | ||
5084 | PR tree-optimization/31966 | |
5085 | PR tree-optimization/32533 | |
5086 | * tree-if-conv.c (add_to_dst_predicate_list): Use "edge", not | |
5087 | "basic_block" description as its third argument. Update function | |
5088 | calls to get destination bb from "edge" argument. Save "cond" into | |
5089 | aux field of the edge. Update prototype for changed arguments. | |
af962676 | 5090 | (if_convertible_loop_p): Clear aux field of incoming edges if bb |
5091 | contains phi node. | |
58bc8309 | 5092 | (find_phi_replacement_condition): Operate on incoming edges, not |
5093 | on predecessor blocks. If there is a condition saved in the | |
5094 | incoming edge aux field, AND it with incoming bb predicate. | |
5095 | Return source bb of the first edge. | |
5096 | (clean_predicate_lists): Clean aux field of outgoing node edges. | |
5097 | (tree_if_conversion): Do not initialize cond variable. Move | |
5098 | variable declaration into the loop. | |
5099 | (replace_phi_with_cond_gimple_modify_stmt): Remove unneded | |
5100 | initializations of new_stmt, arg0 and arg1 variables. | |
5101 | ||
fbb5d9ac | 5102 | 2007-07-02 Jakub Jelinek <jakub@redhat.com> |
5103 | ||
5104 | * tree-nrv.c (dest_safe_for_nrv_p): Grok any handled_component_p, | |
5105 | SSA_NAMEs, RESULT_DECLs and PARM_DECLs. | |
5106 | ||
5bd657e9 | 5107 | 2007-07-02 Richard Guenther <rguenther@suse.de> |
5108 | ||
5109 | * tree-ssa.c (useless_type_conversion_p): Document | |
5110 | future intent as defining the middle-end type system. | |
5111 | Re-structure to call langhook last, group by type class, | |
5112 | mark questionable parts. | |
5113 | ||
c8ca3ee7 | 5114 | 2007-07-02 Richard Guenther <rguenther@suse.de> |
5115 | ||
5116 | * tree-flow.h (types_compatible_p): Declare. | |
5117 | * tree-ssa.c (types_compatible_p): New function. | |
5118 | * ipa-type-escape.c (discover_unique_type): Use | |
5119 | types_compatible_p instead of lang_hooks.types_compatible_p. | |
5120 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Likewise. | |
5121 | * tree-vn.c (expressions_equal_p): Likewise. | |
5122 | * tree.c (fields_compatible_p): Likewise. | |
5123 | * tree-ssa-dom.c (avail_expr_eq): Likewise. | |
5124 | (cprop_operand): Use useless_type_conversion_p instead of | |
5125 | lang_hooks.types_compatible_p. | |
5126 | * tree-inline.c (setup_one_parameter): Likewise. | |
5127 | (declare_return_variable): Likewise. | |
5128 | * tree-nrv.c (tree_nrv): Likewise. | |
5129 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Likewise. | |
5130 | (maybe_fold_offset_to_component_ref): Likewise. | |
5131 | (maybe_fold_offset_to_reference): Likewise. | |
5132 | * tree-ssa-copy.c (may_propagate_copy): Likewise. | |
5133 | (merge_alias_info): Likewise. | |
5134 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise. | |
5135 | * tree-ssa-phiopt.c (conditional_replacement): Likewise. | |
5136 | * tree-ssa-reassoc.c (optimize_ops_list): Likewise. | |
5137 | * tree-tailcall.c (find_tail_calls): Likewise. | |
5138 | * tree-vect-generic.c (expand_vector_operations_1): Likewise. | |
5139 | * gimplify.c (canonicalize_addr_expr): Likewise. | |
5140 | (fold_indirect_ref_rhs): Likewise. | |
5141 | (gimplify_addr_expr): Likewise. Swap parameters to cpt_same_type. | |
5142 | (cpt_same_type): Likewise. | |
5143 | (check_pointer_types_r): Swap parameters to cpt_same_type | |
5144 | where appropriate. | |
5145 | * fold-const.c (fold_convert): Revert fix for PR15988. | |
5146 | * tree-inline.c (setup_one_parameter): Instead fix it here by | |
5147 | using fold_build1 instead of fold_convert and checking for | |
5148 | error_mark_node. Convert only if the conversion is necessary. | |
5149 | ||
6c7d78e4 | 5150 | 2007-07-02 Joseph Myers <joseph@codesourcery.com> |
5151 | ||
5152 | * configure.ac: Check for .gnu_attribute on Power. | |
5153 | * configure: Regenerate. | |
5154 | * config/rs6000/rs6000.c (rs6000_file_start): If supported, output | |
5155 | attribute for floating-point ABI. | |
5156 | ||
bc5731b6 | 5157 | 2007-07-02 Ira Rosen <irar@il.ibm.com> |
5158 | ||
5159 | PR tree-optimization/32230 | |
5160 | PR tree-optimization/32477 | |
5161 | * tree-vect-analyze.c (vect_analyze_data_refs): Fail if base | |
5162 | address is a constant. | |
5163 | ||
7583e786 | 5164 | 2007-07-02 Richard Sandiford <richard@codesourcery.com> |
5165 | ||
5166 | * config.gcc (mipsisa32-*-elf*, mipsisa32el-*-elf*) | |
5167 | (mipsisa32r2-*-elf*, mipsisa32r2el-*-elf*) | |
5168 | (mipsisa64-*-elf*, mipsisa64el-*-elf*): Combine top-level | |
5169 | stanzas. Use the first part of the triplet to set MIPS_ISA_DEFAULT. | |
5170 | Remove redundant setting of MASK_FLOAT64 and MASK_64BIT for the | |
5171 | 64-bit targets. Add support for *-elfoabi*. | |
5172 | * config/mips/t-isa3264 (MULTILIB_OPTIONS, MULTILIB_DIRNAMES): Use | |
5173 | different settings if $(tm_defines) does not select the EABI. | |
5174 | (MULTILIB_EXCLUSIONS): Define in those circumstances. | |
5175 | * config/mips/mips.h (MIPS_ISA_LEVEL_OPTION_SPEC): New macro. | |
5176 | (MIPS_ARCH_OPTION_SPEC): Likewise. | |
5177 | (MIPS_ISA_LEVEL_SPEC): Likewise. | |
5178 | (OPTION_DEFAULT_SPECS): Use MIPS_ARCH_OPTION_SPEC. | |
5179 | * config/mips/elfoabi.h: New file. | |
5180 | ||
548044d8 | 5181 | 2007-07-02 Richard Guenther <rguenther@suse.de> |
5182 | ||
5183 | * tree-flow.h (tree_ssa_useless_type_conversion_1): Rename to ... | |
5184 | (useless_type_conversion_p): ... this. | |
5185 | * tree-ssa.c (tree_ssa_useless_type_conversion_1): Rename to ... | |
5186 | (useless_type_conversion_p): ... this. | |
5187 | * builtins.c (fold_builtin_memory_op): Rename | |
5188 | tree_ssa_useless_type_conversion_1 to useless_type_conversion_p. | |
5189 | * tree-cfg.c (verify_expr): Likewise. | |
5190 | * tree-ssa-address.c (tree_ssa_useless_type_conversion_1): Likewise. | |
5191 | * tree-ssa-ccp.c (ccp_fold): Likewise. | |
5192 | * tree-ssa-copy.c (may_propagate_copy): Likewise. | |
5193 | * tree-ssa-dom.c (eliminate_redundant_computations): Likewise. | |
5194 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Likewise. | |
5195 | * tree-ssa-loop-niter.c (refine_bounds_using_guard): Likewise. | |
5196 | * tree-ssa-pre.c (eliminate): Likewise. | |
5197 | * tree-ssa.c (delete_tree_ssa): Likewise. | |
5198 | (tree_ssa_useless_type_conversion): Likewise. | |
5199 | * tree.c (build2_stat): Likewise. | |
5200 | ||
2a922cb6 | 5201 | 2007-07-01 Daniel Berlin <dberlin@dberlin.org> |
5202 | ||
5203 | Fix PR tree-optimization/32571 | |
5204 | * tree-ssa-sccvn.c (visit_use): Shortcut copies to avoid | |
5205 | simplifying them. | |
5206 | ||
a0e3bc3a | 5207 | 2007-07-01 Daniel Berlin <dberlin@dberlin.org> |
5208 | ||
5209 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle constants | |
5210 | and other expected operations explicitly, change default to | |
5211 | gcc_unreachable. | |
5212 | ||
beef0fb5 | 5213 | 2007-07-01 Daniel Jacobowitz <dan@codesourcery.com> |
5214 | ||
5215 | * config/arm/arm.c (arm_cannot_copy_insn_p): Do not expect a | |
5216 | PARALLEL. | |
5217 | * config/arm/arm.md (pic_add_dot_plus_four, pic_add_dot_plus_eight) | |
5218 | (tls_load_dot_plus_eight): Move the label number into the unspec. | |
5219 | * config/arm/thumb2.md (pic_load_dot_plus_four): Likewise. | |
5220 | ||
bf780b7e | 5221 | 2007-07-01 Andreas Schwab <schwab@suse.de> |
5222 | ||
5223 | * dwarf2out.c (initial_return_save): Define only if used. | |
5224 | ||
f22edc2d | 5225 | 2007-07-01 Kenneth Zadeck <zadeck@naturalbridge.com> |
ec2fc131 | 5226 | |
5227 | Unreverting Richard's Revert of: | |
5228 | ||
5229 | 2007-06-27 Richard Sandiford <richard@codesourcery.com> | |
5230 | ||
5231 | * dce.c (deletable_insn_p_1): New function, split out from... | |
5232 | (deletable_insn_p): ...here. Only treat bare USEs and CLOBBERs | |
5233 | specially, not those inside PARALLELs. Remove BODY argument | |
5234 | and adjust recursive call accordingly. | |
5235 | (prescan_insns_for_dce): Update call to delete_insn_p. | |
5236 | ||
56d2d05b | 5237 | 2007-07-01 Vladimir Yanovsky <yanov@il.ibm.com> |
5238 | Revital Eres <eres@il.ibm.com> | |
5239 | ||
5240 | * ddg.c (create_ddg_all_sccs): Fix missed | |
5241 | initialization of scc_nodes. | |
5242 | ||
b30baf88 | 5243 | 2007-07-01 Uros Bizjak <ubizjak@gmail.com> |
5244 | ||
5245 | PR middle-end/32559 | |
5246 | * fold-const.c (fold-binary) [PLUS_EXPR]: Convert ~X + X to 1 or | |
5247 | X + ~X to 1 only for INTEGRAL_TYPE_P type. | |
5248 | ||
0fd6d684 | 5249 | 2007-06-30 Joseph Myers <joseph@codesourcery.com> |
5250 | ||
5251 | * configure.ac: Check for .gnu_attribute on MIPS. | |
5252 | * configure, config.in: Regenerate. | |
5253 | * config/mips/mips.c (mips_file_start): If supported, output | |
5254 | attribute for floating-point ABI. | |
5255 | ||
a44110d7 | 5256 | 2007-06-30 Uros Bizjak <ubizjak@gmail.com> |
5257 | ||
5258 | PR target/32433 | |
5259 | * config/i386/i386.md (ffssi2): Expand as ffs_cmove for TARGET_CMOVE. | |
5260 | (ffs_cmove): New expander to expand using ctz pattern. | |
5261 | (*ffs_cmove): Remove pattern. | |
5262 | (*ffs_no_cmove): Enable only for !TARGET_CMOVE. | |
5263 | (ffsdi2): Expand using ctz pattern. | |
5264 | (*ffs_rex64): Remove pattern. | |
5265 | ||
a179d6b2 | 5266 | 2007-06-30 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5267 | ||
375316de | 5268 | PR rtl-optimization/32296 |
a179d6b2 | 5269 | * pa.md (return): Delete pattern. |
5270 | (return_internal): Remove "(const_int 1)" from pattern. | |
5271 | (epilogue): Use return_internal pattern for trivial returns. | |
5272 | * pa-protos.h (hppa_can_use_return_insn_p): Delete declaration. | |
5273 | * pa.c (hppa_can_use_return_insn_p): Delete function. Include "df.h". | |
5274 | ||
f75f5edd | 5275 | 2007-06-30 Daniel Berlin <dberlin@dberlin.org> |
5276 | ||
5277 | * tree-ssa-pre.c (is_exception_related): New function | |
5278 | (can_value_number_operation): Use it. | |
5279 | ||
9e9e6e3e | 5280 | 2007-06-30 Daniel Berlin <dberlin@dberlin.org> |
5281 | ||
5282 | Fix PR tree-optimization/32540 | |
5283 | Fix PR tree-optimization/31651 | |
5284 | ||
5285 | * tree-ssa-sccvn.c: New file. | |
5286 | ||
5287 | * tree-ssa-sccvn.h: Ditto. | |
5288 | ||
5289 | * tree-vn.c: Include tree-ssa-sccvn.h | |
5290 | (val_expr_paid_d): Removed. | |
5291 | (value_table): Ditto. | |
5292 | (vn_compute): Ditto. | |
5293 | (val_expr_pair_hash): Ditto. | |
5294 | (val_expr_pair_expr_eq): Ditto. | |
5295 | (copy_vuses_from_stmt): Ditto. | |
5296 | (vn_delete): Ditto. | |
5297 | (vn_init): Ditto. | |
5298 | (shared_vuses_from_stmt): Ditto. | |
5299 | (print_creation_to_file): Moved up. | |
5300 | (sort_vuses): Ditto. | |
5301 | (sort_vuses_heap): Ditto. | |
5302 | (set_value_handle): Make non-static. | |
5303 | (make_value_handle): Ditto. | |
5304 | (vn_add): Rewritten to use sccvn lookups. | |
5305 | (vn_add_with_vuses): Ditto. | |
5306 | (vn_lookup): Ditto (and second argument removed). | |
5307 | (vn_lookup_with_vuses): Ditto. | |
5308 | (vn_lookup_or_add): Ditto (and second argument removed); | |
5309 | (vn_lookup_or_add_with_vuses): Ditto. | |
5310 | (vn_lookup_with_stmt): New. | |
5311 | (vn_lookup_or_add_with_stmt): Ditto. | |
5312 | (create_value_handle_for_expr): Ditto. | |
5313 | ||
5314 | * tree-ssa-pre.c: Include tree-ssa-sccvn.h. | |
5315 | (seen_during_translate): New function. | |
5316 | (phi_trans_lookup): Use iterative_hash_expr, not vn_compute. | |
5317 | (phi_trans_add): Ditto. | |
5318 | (constant_expr_p): FIELD_DECL is always constant. | |
5319 | (phi_translate_1): Renamed from phi_translate, add seen bitmap. | |
5320 | Use constant_expr_p. | |
5321 | Avoid infinite recursion on mutually valued expressions. | |
5322 | Change callers of vn_lookup_or_add. | |
5323 | (phi_translate): New function. | |
5324 | (compute_antic_safe): Allow phi nodes. | |
5325 | (create_component_ref_by_pieces): Update for FIELD_DECL change. | |
5326 | (find_or_generate_expression): Rewrite slightly. | |
5327 | (create_expression_by_pieces): Updated for vn_lookup_or_add | |
5328 | change. | |
5329 | Update VN_INFO for new names. | |
5330 | (insert_into_preds_of_block): Update for new names. | |
5331 | (add_to_exp_gen): New function. | |
5332 | (add_to_sets): Use vn_lookup_or_add_with_stmt. | |
5333 | (find_existing_value_expr): Rewrite to changed vn_lookup. | |
5334 | (create_value_expr_from): Ditto, and use add_to_exp_gen. | |
5335 | (try_look_through_load): Removed. | |
5336 | (try_combine_conversion): Ditto. | |
5337 | (get_sccvn_value): New function. | |
5338 | (make_values_for_phi): Ditto. | |
5339 | (make_values_for_stmt): Ditto. | |
5340 | (compute_avail): Rewritten for vn_lookup_or_add changes and to use | |
5341 | SCCVN. | |
5342 | (init_pre): Update for SCCVN changes. | |
5343 | (fini_pre): Ditto. | |
5344 | (execute_pre): Ditto. | |
5345 | ||
5346 | * tree-flow.h (make_value_handle): Declare. | |
5347 | (set_value_handle): Ditto. | |
5348 | (sort_vuses_heap): Ditto. | |
5349 | (vn_lookup_or_add_with_stmt): Ditto. | |
5350 | (vn_lookup_with_stmt): Ditto. | |
5351 | (vn_compute): Remove. | |
5352 | (vn_init): Ditto. | |
5353 | (vn_delete): Ditto. | |
5354 | (vn_lookup): Update arguments. | |
5355 | ||
5356 | * Makefile.in (tree-ssa-pre.o): Add tree-ssa-sccvn.h | |
5357 | (tree-vn.o): Ditto. | |
5358 | (tree-ssa-sccvn.o): New. | |
5359 | (OBJS-common): Add tree-ssa-sccvn.o | |
5360 | ||
3d053e06 | 5361 | 2007-06-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
5362 | ||
5363 | PR c/4076 | |
5364 | * c-typeck.c (build_external_ref): Don't mark as used if called | |
5365 | from itself. | |
5366 | * calls.c (rtx_for_function_call): Likewise. | |
5367 | ||
a8b462d6 | 5368 | 2007-06-30 Richard Sandiford <richard@codesourcery.com> |
5369 | ||
5370 | Revert: | |
5371 | ||
5372 | 2007-06-27 Richard Sandiford <richard@codesourcery.com> | |
5373 | ||
5374 | * dce.c (deletable_insn_p_1): New function, split out from... | |
5375 | (deletable_insn_p): ...here. Only treat bare USEs and CLOBBERs | |
5376 | specially, not those inside PARALLELs. Remove BODY argument | |
5377 | and adjust recursive call accordingly. | |
5378 | (prescan_insns_for_dce): Update call to delete_insn_p. | |
5379 | ||
06a8a63d | 5380 | 2007-06-30 Rask Ingemann Lambertsen <rask@sygehus.dk> |
5381 | ||
5382 | * combine.c (combine_validate_cost): New parameter NEWOTHERPAT. | |
5383 | (try_combine): Move potential calls to undo_all() so they happen | |
5384 | before we commit to using the combined insns. | |
5385 | ||
ffbd194b | 5386 | 2006-06-30 Jan Hubicka <jh@suse.cz> |
5387 | ||
b30baf88 | 5388 | * loop-unroll.c (unroll_loop_runtime_iterations): Unshare newly emit |
ffbd194b | 5389 | code. |
5390 | ||
cda6870f | 5391 | 2006-06-30 Thomas Neumann <tneumann@users.sourceforge.net> |
5392 | ||
5393 | * ipa.c (cgraph_postorder): Cast according to the coding conventions. | |
5394 | (cgraph_remove_unreachable_nodes): Likewise. | |
5395 | * ipa-cp.c (ipcp_propagate_stage): Use BOTTOM instead of integer 0. | |
5396 | * ipa-inline.c (update_caller_keys): Cast according to the coding | |
5397 | conventions. | |
5398 | (cgraph_decide_recursive_inlining): Likewise. | |
5399 | (cgraph_decide_inlining_of_small_function): Likewise. | |
5400 | (try_inline): Likewise. | |
5401 | (cgraph_decide_inlining_incrementally): Likewise. | |
5402 | * ipa-pure-const.c (get_function_state): Likewise. | |
5403 | (scan_function): Likewise. | |
5404 | (analyze_function): Likewise. | |
5405 | (static_execute): Likewise. | |
5406 | * gcc/ipa-reference.c (scan_for_static_refs): Likewise. | |
5407 | (merge_callee_local_info): Likewise. | |
5408 | (analyze_function): Use type safe memory macros. | |
5409 | (static_execute): Likewise. Cast according to the coding conventions. | |
5410 | * ipa-type-escape.c (scan_for_regs): Cast according to the coding | |
5411 | conventions. | |
5412 | * ipa-utils.c (searchc): Likewise. Avoid using C++ keywords as variable | |
5413 | names. | |
5414 | (ipa_utils_reduced_inorder): Likewise. Use type safe memory macros. | |
5415 | * ipa-utils.h (struct ipa_dfa_info): Avoid using C++ keywords as | |
5416 | variable names. | |
5417 | ||
4248fc32 | 5418 | 2007-06-29 Andrew Pinski <andrew_pinski@playstation.sony.com> |
5419 | ||
2504c5e1 | 5420 | PR middle-end/30024 |
4248fc32 | 5421 | * emit-rtl.c (init_emit_once): Intilize const_tiny_rtx[0] |
5422 | for complex modes (both int and real). | |
5423 | ||
5424 | 2007-06-29 Jan Hubicka <jh@suse.cz> | |
68adecb2 | 5425 | |
5426 | * cse.c: Rever accidentally comitted TODO_verify_rtl_sharing change. | |
5427 | ||
4248fc32 | 5428 | 2007-06-29 Jan Hubicka <jh@suse.cz> |
eec33aca | 5429 | |
5430 | PR middle-end/32372 | |
5431 | * cse.c (cse_insn): Avoid invalid sharing in between register note and | |
5432 | the insn pattern. | |
5433 | ||
4248fc32 | 5434 | 2007-06-29 Anatoly Sokolov <aesok@post.ru> |
a4c6e6a2 | 5435 | |
5436 | PR target/32335 | |
5437 | * config/avr/avr.c: Include dataflow header file. | |
5438 | (expand_prologue): Adjust for prologue insn change. | |
5439 | * config/avr/avr.md (call_prologue_saves): Only modify REG_SP once | |
5440 | inside a insn. | |
5441 | ||
c50b7e73 | 5442 | 2007-06-29 Richard Guenther <rguenther@suse.de> |
020f74e7 | 5443 | |
5444 | PR middle-end/32493 | |
5445 | * gimplify.c (gimplify_call_expr): Ignore variable argument parts | |
5446 | during type verification. | |
5447 | ||
f6bee197 | 5448 | 2007-06-29 Jan Hubicka <jh@suse.cz> |
5449 | ||
5450 | * recog.c (validate_change_rtx_1): Unshare TO argument. | |
5451 | ||
887b0069 | 5452 | 2007-06-29 Uros Bizjak <ubizjak@gmail.com> |
5453 | ||
5454 | PR tree-optimization/24659 | |
5455 | * tree-vect-transform.c (vectorizable_call): Handle | |
5456 | (nunits_in == nunits_out / 2) and (nunits_out == nunits_in / 2) cases. | |
5457 | ||
5458 | * config/i386/sse.md (vec_pack_sfix_v2df): New expander. | |
5459 | * config/i386/i386.c (enum ix86_builtins) | |
5460 | [IX86_BUILTIN_VEC_PACK_SFIX]: New constant. | |
5461 | (struct bdesc_2arg) [__builtin_ia32_vec_pack_sfix]: New builtin | |
5462 | description. | |
5463 | (ix86_init_mmx_sse_builtins): Define all builtins with 2 arguments as | |
5464 | const using def_builtin_const. | |
5465 | (ix86_expand_binop_builtin): Remove bogus assert() that insn wants | |
5466 | input operands in the same modes as the result. | |
5467 | (ix86_builtin_vectorized_function): Handle BUILT_IN_LRINT. | |
5468 | ||
788925c2 | 5469 | 2007-06-29 Richard Sandiford <rsandifo@nildram.co.uk> |
5470 | ||
5471 | * df-problems.c (df_set_unused_notes_for_mw): Fix formatting. | |
5472 | (df_set_dead_notes_for_mw): Likewise. | |
5473 | ||
499e523f | 5474 | 2007-06-29 Eric Botcazou <ebotcazou@adacore.com> |
5475 | ||
5476 | * c-common.c (pointer_int_sum): Do the negation in sizetype. | |
5477 | ||
5f135410 | 5478 | 2007-06-28 DJ Delorie <dj@redhat.com> |
5479 | ||
5480 | * config/m32c/m32c.h (OVERRIDE_OPTIONS): Omit unneeded semicolon. | |
5481 | ||
54f1c2a2 | 5482 | 2007-06-28 Geoffrey Keating <geoffk@apple.com> |
5483 | ||
5484 | * doc/invoke.texi (C++ Dialect Options): Document | |
5485 | fvisibility-ms-compat. | |
5486 | * c.opt (fvisibility-ms-compat): New. | |
5487 | ||
00de526b | 5488 | 2007-06-28 Andrew Pinski <andrew_pinski@playstation.sony.com> |
5489 | ||
5490 | PR tree-opt/32417 | |
5491 | * tree-affine.c (aff_combination_add_elt): Handle | |
5492 | pointer addition specially. | |
5493 | ||
90123b86 | 5494 | 2007-06-28 Jakub Jelinek <jakub@redhat.com> |
5495 | ||
5496 | * config/rs6000/rs6000.c (rs6000_function_ok_for_sibcall): Ensure | |
5497 | decl is non-external for AIX ABI. | |
5498 | ||
5499 | 2007-06-28 David Edelsohn <edelsohn@gnu.org> | |
5500 | ||
5501 | * config/rs6000/predicates.md (current_file_function_operand): | |
5502 | Ensure the symbol is non-external for AIX ABI. | |
5503 | ||
76c71f34 | 5504 | 2007-06-28 Nick Clifton <nickc@redhat.com> |
5505 | ||
5506 | * common.opt (fipa-matrix-reorg): Add Optimization attribute. | |
5507 | (fdce, fdse, fpredictive-commoning): Likewise. | |
5508 | ||
9a61fba1 | 5509 | 2007-06-28 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
5510 | ||
5511 | PR other/31400 | |
5512 | * gcc.c (process_command): Recognize the new -static-libgfortran | |
5513 | option. | |
5514 | ||
afde7ac7 | 5515 | 2007-06-27 Rask Ingemann Lambertsen <rask@sygehus.dk> |
5516 | ||
5517 | PR target/32418 | |
5518 | * config/m32c/m32c.c (m32c_eh_return_stackadj_rtx): Dataflow fix: | |
5519 | Use a call clobbered hard reg instead of a pseudo reg. | |
5520 | ||
eb929862 | 5521 | 2007-06-27 Kaz Kojima <kkojima@gcc.gnu.org> |
5522 | ||
5523 | * config/sh/sh.md (load_gbr): Use correct operand constraint. | |
5524 | ||
0726838e | 5525 | 2007-06-27 Kaz Kojima <kkojima@gcc.gnu.org> |
5526 | ||
5527 | PR target/32479 | |
5528 | * config/sh/sh.md (udivsi3): Don't wrap the sequence with | |
5529 | REG_LIBCALL and REG_RETVAL notes. | |
5530 | (divsi3, mulsi3): Likewise. | |
5531 | (mulhisi3): Likewise. Use emit_libcall_block. | |
5532 | (umulhisi3, smulsi3_highpart, umulsi3_highpart_i): Likewise. | |
5533 | ||
d40c9fd1 | 5534 | 2007-06-27 Seongbae Park <seongbae.park@gmail.com> |
5535 | ||
5536 | PR rtl-optimization/32481 | |
5537 | * combine.c (adjust_for_new_dest): Rescan the changed insn. | |
5538 | ||
ce0cda2c | 5539 | 2007-06-27 Richard Sandiford <richard@codesourcery.com> |
5540 | ||
5541 | * dce.c (deletable_insn_p_1): New function, split out from... | |
5542 | (deletable_insn_p): ...here. Only treat bare USEs and CLOBBERs | |
5543 | specially, not those inside PARALLELs. Remove BODY argument | |
5544 | and adjust recursive call accordingly. | |
5545 | (prescan_insns_for_dce): Update call to delete_insn_p. | |
5546 | ||
f549b28d | 5547 | 2007-06-27 Richard Guenther <rguenther@suse.de> |
5548 | ||
5549 | PR middle-end/32492 | |
5550 | * tree.h (fold_convertible_p): Declare. | |
5551 | * fold-const.c (fold_convertible_p): New function. | |
5552 | * gimplify.c (gimplify_call_expr): Use fold_convertible_p | |
5553 | instead of lang_hooks.types_compatible_p. | |
5554 | ||
11d686e2 | 5555 | 2007-06-26 Jan Hubicka <jh@suse.cz> |
5556 | ||
5557 | * fwprop.c (try_fwprop_subst): Use validate_unshare_change. | |
5558 | * postreload.c (reload_cse_simplify_set): Instead of copying the rtx | |
5559 | early use validate_unshare_change. | |
5560 | (reload_combine): Likewise. | |
5561 | * recog.c (change_t): New field unshare. | |
5562 | (validate_change_1): Rename from validate_change; add argument unshare. | |
5563 | (validate_change): Turn into wrapper of validate_change_1; update | |
5564 | prototype for bools. | |
5565 | (validate_unshare_change): New. | |
5566 | (confirm_change_group): Unshare changes if asked for; avoid unnecesary | |
5567 | calls of df_insn_rescan. | |
5568 | * recog.h (validate_change): Replace ints by bools. | |
5569 | (validate_unshare_change): Declare. | |
5570 | ||
f0bd9572 | 5571 | 2007-06-26 Kenneth Zadeck <zadeck@naturalbridge.com> |
5572 | ||
d07cd931 | 5573 | * tree.def (VEC_WIDEN_MULT_LO_EXPR): Corrected string name. |
f0bd9572 | 5574 | |
940ddc5c | 5575 | 2007-06-26 Steve Ellcey <sje@cup.hp.com> |
5576 | ||
5577 | * builtins.c (expand_builtin_next_arg): Change Pmode to ptr_mode. | |
5578 | ||
4eb7a440 | 5579 | 2007-06-25 Jan Hubicka <jh@suse.cz> |
5580 | ||
5581 | * ipa-inline.c (cgraph_mark_inline): Assert that we never inline | |
5582 | uninlinable call. | |
5583 | (cgraph_decide_inlining_of_small_function, cgraph_decide_inlining, | |
5584 | cgraph_decide_inlining_incrementally): Move uninlinability checks to | |
5585 | places other call site specific checks are performed. | |
5586 | ||
c39fe4aa | 5587 | 2007-06-25 Andrew Pinski <andrew_pinski@playstation.sony.com> |
5588 | ||
5589 | PR tree-opt/32421 | |
5590 | * tree-vect-transform.c (vectorizable_operation): Convert | |
5591 | POINTER_PLUS_EXPR over to PLUS_EXPR. | |
5592 | ||
c559c639 | 5593 | 2007-06-25 Chao-ying Fu <fu@mips.com> |
5594 | ||
5595 | * doc/rtl.texi (Machine Modes): Document QQ, HQ, SQ, DQ, TQ, | |
5596 | UQQ, UHQ, USQ, UDQ, UTQ, HA, SA, DA, TA, UHA, USA, UDA, and UTAmodes. | |
5597 | Document MODE_FRACT, MODE_UFRACT, MODE_ACCUM, MODE_UACCUM. | |
5598 | Document GET_MODE_IBIT, and GET_MODE_FBIT. | |
5599 | ||
5600 | * machmode.h (VECTOR_MODE_P): Test MODE_VECTOR_FRACT, | |
5601 | MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, MODE_VECTOR_UACCUM. | |
5602 | (SCALAR_FRACT_MODE_P, SCALAR_UFRACT_MODE_P, ALL_SCALAR_FRACT_MODE_P, | |
5603 | SCALAR_ACCUM_MODE_P, SCALAR_UACCUM_MODE_P, ALL_SCALAR_ACCUM_MODE_P, | |
5604 | SIGNED_SCALAR_FIXED_POINT_MODE_P, UNSIGNED_SCALAR_FIXED_POINT_MODE_P, | |
5605 | ALL_SCALAR_FIXED_POINT_MODE_P, FRACT_MODE_P, UFRACT_MODE_P, | |
5606 | ALL_FRACT_MODE_P, ACCUM_MODE_P, UACCUM_MODE_P, ALL_ACCUM_MODE_P, | |
5607 | SIGNED_FIXED_POINT_MODE_P, UNSIGNED_FIXED_POINT_MODE_P, | |
5608 | ALL_FIXED_POINT_MODE_P): New define. | |
5609 | (CLASS_HAS_WIDER_MODES_P): Test MODE_FRACT, MODE_UFRACT, MODE_ACCUM, | |
5610 | MODE_UACCUM. | |
5611 | (GET_MODE_IBIT, GET_MODE_FBIT): New define. | |
5612 | ||
5613 | * mode-classes.def (MODE_FRACT, MODE_UFRACT, MODE_ACCUM, MODE_UACCUM, | |
5614 | MODE_VECTOR_FRACT, MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, | |
5615 | MODE_VECTOR_UACCUM): New mode classes. | |
5616 | ||
5617 | * machmode.def: Document FRACT_MODE, UFRACT_MODE, ACCUM_MODE, | |
5618 | UACCUM_MODE, ADJUST_IBIT, and ADJUST_FBIT. | |
5619 | Add QQ, HQ, SQ, DQ, TQ, UQQ, UHQ, USQ, UDQ, UTQ, HA, SA, DA, TA, UHA, | |
5620 | USA, UDA, and UTA. | |
5621 | ||
5622 | * genmodes.c (struct mode_data): Add ibit and fbit fields. | |
5623 | (blank_mode): Initialize ibit and fbit. | |
5624 | (adj_ibit, adj_fbit): New to adjust ibit and fbit. | |
ed69c853 | 5625 | (vector_class): Handle MODE_FRACT, MODE_UFRACT, MODE_ACCUM, |
5626 | MODE_UACCUM. | |
c559c639 | 5627 | (new_adjust): Change required_class to required_class_from and |
5628 | required_class_to for testing within a range. | |
5629 | (complete_mode): Handle MODE_FRACT, MODE_UFRACT, MODE_ACCUM, | |
5630 | MODE_UACCUM, MODE_VECTOR_FRACT, MODE_VECTOR_UFRACT, MODE_VECTOR_ACCUM, | |
5631 | MODE_VECTOR_UACCUM. | |
5632 | (FRACT_MODE, UFRACT_MODE, ACCUM_MODE, UACCUM_MODE): New define. | |
5633 | (make_fixed_point_mode): New. | |
5634 | (_ADD_ADJUST): Change C to C1 and C2. | |
5635 | (ADJUST_BYTESIZE, ADJUST_ALIGNMENT, ADJUST_FLOAT_FORMAT): Change to | |
5636 | use a range for machine classes. | |
5637 | (ADJUST_IBIT, ADJUST_FBIT): New. | |
5638 | (emit_insn_modes_h): Output defines of CONST_MODE_IBIT and | |
5639 | CONST_MODE_FBIT. | |
5640 | (emit_mode_adjustments): Handle MODE_VECTOR_FRACT, MODE_VECTOR_UFRACT, | |
5641 | MODE_VECTOR_ACCUM, MODE_VECTOR_UACCUM. | |
5642 | Emit adjustment for ibit and fbit. | |
5643 | (emit_mode_ibit, emit_mode_fbit): New. | |
5644 | (emit_insn_modes_c): Add emit_mode_ibit and emit_mode_fbit. | |
5645 | ||
5e791c11 | 5646 | 2007-06-25 Nathan Froyd <froydnj@codesourcery.com> |
5647 | ||
5648 | * config/rs6000/spe.md (*frob_ti_tf_2): Specify an input_operand | |
5649 | as the source of the set. | |
5650 | ||
979e5a71 | 5651 | 2007-06-25 Roman Zippel <zippel@linux-m68k.org> |
5652 | ||
5653 | * config/m68k/m68k.h (DATA_REGNO_P, ADDRESS_REGNO_P, INT_REGNO_P, | |
5654 | FP_REGNO_P): Use IN_RANGE. | |
5655 | (REGNO_OK_FOR_DATA_P, REGNO_OK_FOR_FP_P): Remove. | |
5656 | (REGNO_OK_FOR_INDEX_NONSTRICT_P, REGNO_OK_FOR_BASE_NONSTRICT_P): New. | |
5657 | (DATA_REG_P): Use DATA_REGNO_P. | |
5658 | (FP_REG_P): Use FP_REGNO_P. | |
5659 | (ADDRESS_REG_P): Use ADDRESS_REGNO_P. | |
5660 | * config/m68k/m68k.c (m68k_legitimate_base_reg_p): Use | |
5661 | REGNO_OK_FOR_INDEX_NONSTRICT_P, REGNO_OK_FOR_BASE_NONSTRICT_P. | |
5662 | ||
6e8d6e86 | 5663 | 2007-06-24 Jan Hubicka <jh@suse.cz> |
5664 | ||
5665 | PR middle-end/30563 | |
5666 | * cgraphunit.c (cgraph_analyze_function): Fix ordering problem. | |
5667 | ||
5bd7f4f4 | 5668 | 2007-06-24 Sebastian Pop <sebpop@gmail.com> |
5669 | ||
5670 | PR middle-end/32461 | |
5671 | * fold-const.c (fold_binary): Strip nops of operand 0 | |
5672 | of BIT_NOT_EXPR before calling operand_equal_p. | |
5673 | * testsuite/gcc.dg/tree-ssa/pr32461-1.c: New. | |
5674 | * testsuite/gcc.dg/tree-ssa/pr32461-2.c: New. | |
5675 | ||
098a01e7 | 5676 | 2007-06-23 Mark Mitchell <mark@codesourcery.com> |
5677 | ||
5678 | * doc/extend.texi: Document that dllimport and dllexport imply | |
5679 | default visibility. | |
5680 | * tree.c (handle_dll_attribute): Set DECL_VISIBILITY on the | |
5681 | imported or exported declaration, including type declarations. | |
5682 | * c-common.c (handle_visibility_attribute): Check for conflicts | |
5683 | with dllimport/dllexport. | |
5684 | (c_determine_visibility): Handle dllimport/dllexport as an | |
5685 | explicit visibility atttribute. | |
5686 | ||
28d5335f | 5687 | 2007-06-23 Richard Guenther <rguenther@suse.de> |
5688 | ||
5689 | PR tree-optimization/16876 | |
5690 | PR middle-end/29478 | |
5691 | * tree.h (CALL_CANNOT_INLINE_P): New macro to access static_flag | |
5692 | for CALL_EXPRs. | |
5693 | * tree-inline.c (initialize_inlined_parameters): Do not call | |
5694 | lang_hooks.tree_inlining.convert_parm_for_inlining. | |
5695 | * cgraphbuild.c (initialize_inline_failed): Set inline failed | |
5696 | reason for mismatched types. | |
5697 | * gimplify.c (gimplify_call_expr): Verify the call expression | |
5698 | arguments match the called function type signature. Otherwise | |
5699 | mark the call expression to be not considered for inlining | |
5700 | using CALL_CANNOT_INLINE_P flag. | |
5701 | * ipa-inline.c (cgraph_mark_inline): Honor CALL_CANNOT_INLINE_P on the | |
5702 | edges call expression. | |
5703 | (cgraph_decide_inlining_of_small_function): Likewise. | |
5704 | (cgraph_decide_inlining): Likewise. | |
5705 | * c-objc-common.h (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): | |
5706 | Remove define. | |
5707 | * c-tree.h (c_convert_parm_for_inlining): Remove declaration. | |
5708 | * c-typeck.c (c_convert_parm_for_inlining): Remove. | |
5709 | * langhooks-def.h (lhd_tree_inlining_convert_parm_for_inlining): | |
5710 | Remove declaration. | |
5711 | (LANG_HOOKS_TREE_INLINING_CONVERT_PARM_FOR_INLINING): Remove define. | |
5712 | * langhooks.c (lhd_tree_inlining_convert_parm_for_inlining): | |
5713 | Remove. | |
5714 | * langhooks.h (struct lang_hooks_for_tree_inlining): Remove | |
5715 | convert_parm_for_inlining member. | |
5716 | ||
2ca2ec2e | 5717 | 2007-06-23 Richard Earnshaw <rearnsha@arm.com> |
5718 | ||
5719 | PR target/31152 | |
5720 | * arm.md (negscc): Match the correct operand for optimized LT0 test. | |
5721 | Remove optimization for GT. | |
5722 | ||
d49ffcf4 | 5723 | 2007-06-23 Kenneth Zadeck <zadeck@naturalbridge.com> |
5724 | ||
5725 | PR middle-end/32437 | |
b1d106b3 | 5726 | * dce.c (deletable_insn_p): Add extra parameter and recurse if insn |
d49ffcf4 | 5727 | is a PARALLEL. |
5728 | (prescan_insns_for_dce): Add extra parameter. | |
5729 | ||
f5224fc9 | 5730 | 2007-06-23 Jan Hubicka <jh@suse.cz> |
5731 | ||
5732 | PR middle-end/31541 | |
5733 | * gimplify.c (mark_addressable): New function. | |
5734 | (gimplify_modify_expr_rhs, gimplify_addr_expr, gimplify_expr): Use it. | |
5735 | ||
887b0069 | 5736 | 2007-06-22 Uros Bizjak <ubizjak@gmail.com> |
e8d1dcf2 | 5737 | |
5738 | PR middle-end/32374 | |
5739 | * expr.c (store_constructor): Do not clobber non-zeroed memory. | |
5740 | ||
785301ff | 5741 | 2007-06-22 Uros Bizjak <ubizjak@gmail.com> |
5742 | ||
5743 | PR target/32413 | |
5744 | * config/i386/i386.c (ix86_register_move_cost): Rise the cost of | |
5745 | moves between MMX/SSE registers to at least 8 units to prevent | |
5746 | ICE caused by non-tieable SI/HI/QImodes in SSE registers. | |
5747 | ||
9d6220ce | 5748 | 2007-06-22 Uros Bizjak <ubizjak@gmail.com> |
5749 | ||
5750 | * config/i386/i386.c (override_options): Correct x86_sahf | |
5751 | setting condition. | |
5752 | ||
4abe7848 | 5753 | 2007-06-21 David Daney <ddaney@avtrex.com> |
5754 | ||
85c6e16c | 5755 | PR target/32406 |
4abe7848 | 5756 | * config/mips/mips.md (define_constants): Rename UNSPEC_EH_RECEIVER |
5757 | to UNSPEC_NONLOCAL_GOTO_RECEIVER globally. | |
5758 | (exception_receiver): Renamed to ... | |
5759 | (nonlocal_goto_receiver): ... this. | |
5760 | ||
c9a4672f | 5761 | 2007-06-22 Roman Zippel <zippel@linux-m68k.org> |
5762 | ||
5763 | * df-scan.c (df_read_modify_subreg_p): Use REGMODE_NATURAL_SIZE. | |
5764 | (df_def_record_1): Set (DF_REF_READ_WRITE | DF_REF_PARTIAL) for | |
5765 | partial register accesses. | |
5766 | ||
394e718d | 5767 | 2007-06-21 Adam Nemet <anemet@caviumnetworks.com> |
5768 | ||
5769 | * fold-const.c (debug_fold_checksum): Move it under | |
5770 | ENABLE_FOLD_CHECKING. | |
5771 | ||
2bf4108d | 5772 | 2007-06-21 Sebastian Pop <sebpop@gmail.com> |
5773 | ||
5774 | PR middle-end/20623 | |
5775 | * tree.h (debug_fold_checksum): Declared. | |
5776 | * fold-const.c (build_fold_addr_expr_with_type_1): New. | |
5777 | (build_fold_addr_expr_with_type, build_fold_addr_expr): Use | |
5778 | build_fold_addr_expr_with_type_1. | |
5779 | (fold_addr_expr, debug_fold_checksum): New. | |
5780 | (fold_checksum_tree): Don't fold TREE_CHAIN of an SSA_NAME. | |
5781 | (fold_unary, fold_comparison, split_address_to_core_and_offset): | |
5782 | Use fold_addr_expr. | |
5783 | ||
437fd8c0 | 5784 | 2007-06-21 Sebastian Pop <sebpop@gmail.com> |
5785 | ||
5786 | PR tree-optimization/19590 | |
5787 | * tree-vrp.c (adjust_range_with_scev): Set the range when the result | |
5788 | of scev is a constant. | |
5789 | * gcc/testsuite/gcc.dg/tree-ssa/pr19590.c: New. | |
5790 | ||
f5f2a0d1 | 5791 | 2007-06-21 Kenneth Zadeck <zadeck@naturalbridge.com> |
5792 | ||
d07cd931 | 5793 | * df-problems.c (df_note_bb_compute): Made computation of live |
f5f2a0d1 | 5794 | info consistent with df_lr. |
5795 | ||
079589a4 | 5796 | 2007-06-21 Richard Guenther <rguenther@suse.de> |
5797 | ||
5798 | PR tree-optimization/32453 | |
5799 | * tree-vrp.c (extract_range_from_assert): Build POINTER_PLUS_EXPR | |
5800 | for pointer anti-range. | |
5801 | ||
a3dadcde | 5802 | 2007-06-21 H.J. Lu <hongjiu.lu@intel.com> |
5803 | ||
5804 | * config/i386/i386.c (processor_target_table): Increase maximum | |
5805 | skip from 7 byte to 10 byte for Pentium Pro, Core 2 Duo and | |
5806 | default 64bit. | |
5807 | ||
5808 | * config/i386/linux.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Ensure 8 | |
5809 | byte alignment if > 8 byte alignment is preferred. | |
5810 | * config/i386/x86-64.h (ASM_OUTPUT_MAX_SKIP_ALIGN): Likewise. | |
5811 | ||
c37594c7 | 5812 | 2007-06-21 Jakub Jelinek <jakub@redhat.com> |
5813 | ||
a849aec4 | 5814 | PR tree-optimization/31866 |
5815 | * tree-ssa-coalesce.c (create_outofssa_var_map): Do nothing | |
5816 | if ASM_EXPR's input is not a SSA_NAME. | |
5817 | ||
c37594c7 | 5818 | PR middle-end/32362 |
5819 | * omp-low.c (lookup_decl_in_outer_ctx): Don't ICE if t is NULL, | |
5820 | but decl is a global var, instead return decl. | |
5821 | * gimplify.c (gimplify_adjust_omp_clauses_1): Add shared clauses | |
5822 | even for is_global_var decls, if they are private in some outer | |
5823 | context. | |
5824 | ||
ad330780 | 5825 | 2007-06-21 Richard Guenther <rguenther@suse.de> |
5826 | ||
5827 | PR tree-optimization/32451 | |
5828 | * tree-ssa-threadupdate.c (thread_single_edge): Fixup edge flags. | |
5829 | ||
2f8b8488 | 5830 | 2007-06-21 Christian Bruel <christian.bruel@st.com> |
5831 | ||
5832 | * config/sh/sh-protos.h (sh_loads_bankedreg_p): Declare. | |
5833 | * config/sh/sh.c (sh_loads_bankedreg_p): New function. | |
5834 | (push_regs): Changed saving order or banked registers. | |
5835 | (sh_expand_epilogue): Likewise. | |
5836 | * config/sh/sh.h (BANKED_REGISTER_P): New macro. | |
5837 | (FIRST_BANKED_REG): Likewise. | |
5838 | (LAST_BANKED_REG): Likewise. | |
5839 | * config/sh/sh.md (banked) New attribute. | |
5840 | (in_delay_slot): Check banked attribute. | |
5841 | ||
06d8daf4 | 5842 | 2007-06-20 Sebastian Pop <sebpop@gmail.com> |
5843 | ||
5844 | PR tree-optimization/32075 | |
5845 | * tree-data-ref.c (subscript_dependence_tester_1, | |
5846 | analyze_miv_subscript, analyze_overlapping_iterations, | |
5847 | add_distance_for_zero_overlaps, build_classic_dist_vector, | |
5848 | subscript_dependence_tester_1, analyze_overlapping_iterations, | |
5849 | subscript_dependence_tester, access_functions_are_affine_or_constant_p, | |
5850 | compute_affine_dependence, compute_all_dependences): Pass loop_nest | |
5851 | to evolution_function_is_affine_multivariate_p. | |
5852 | ||
5736c998 | 5853 | 2007-06-20 Eric Botcazou <ebotcazou@libertysurf.fr> |
5854 | ||
5855 | * df-scan.c (df_get_call_refs): Be prepared for MEMs inside CLOBBERs. | |
5856 | ||
1cc2a3ba | 5857 | 2007-06-20 Rask Ingemann Lambertsen <rask@sygehus.dk> |
5858 | ||
5859 | PR target/32335 | |
5860 | * config/m32c/m32c.c (m32c_emit_epilogue): Use new HImode epilogue | |
5861 | for TARGET_A16. | |
5862 | * config/m32c/prologue.md (epilogue_exitd_16): New. | |
5863 | (epilogue_reit_16): New. | |
5864 | (epilogue_exitd): Rename to epilogue_exitd_24. | |
5865 | (epilogue_reit): Rename to epilogue_reit_24. | |
5866 | ||
bdeaf25e | 5867 | 2007-06-20 Seongbae Park <seongbae.park@gmail.com> |
d07cd931 | 5868 | Maxim Kuvyrkov <mkuvyrkov@ispras.ru> |
bdeaf25e | 5869 | |
5870 | * dbgcnt.def (global_alloc_at_func, global_alloc_at_reg): | |
5871 | New counters. | |
5872 | * haifa-sched.c (queue_to_ready): Don't requeue next insn | |
5873 | if dbg_cnt (sched_insn) reaches the limit. | |
5874 | (choose_ready): New parameter INSN_PTR and new return value. | |
5875 | (schedule_block): Handle dbg_cnt (sched_insn). Handle | |
5876 | the new return value from choose_ready. | |
5877 | * global.c (global_aloc): New dbgcnt global_alloc_at_reg. | |
5878 | (rest_of_handle_global_alloc): New global_alloc_at_func. | |
5879 | ||
c95895c9 | 5880 | 2007-06-20 Adam Nemet <anemet@caviumnetworks.com> |
5881 | ||
5882 | PR tree-optimization/25737 | |
5883 | * tree.h (struct tree_struct_field_tag): Add new field alias_set. | |
5884 | (SFT_NONADDRESSABLE_P, SFT_ALIAS_SET): New macros. | |
5885 | * tree-flow.h (struct fieldoff): Add new field alias_set. | |
5886 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Add new | |
5887 | argument addressable_type. Set alias_set of fieldoff. | |
5888 | * tree-ssa-alias.c (create_sft): Add new argument alias_set. | |
5889 | (create_overlap_variables_for): Pass alias_set from fieldoff to | |
5890 | create_sft. | |
5891 | * alias.c (get_alias_set): Use alias_set from SFT if set. | |
5892 | ||
82231ac7 | 5893 | 2007-06-20 Hui-May Chang <hm.chang@apple.com> |
5894 | ||
5895 | * config/i386/darwin.h (ASM_OUTPUT_COMMON): Print the size | |
5896 | of a variable as an unsigned HOST_WIDE_INT integer. | |
5897 | ||
605dec4e | 5898 | 2007-06-20 Zdenek Dvorak <dvorakz@suse.cz> |
5899 | ||
5900 | PR rtl-optimization/32405 | |
5901 | * loop-iv.c (iv_get_reaching_def): Fail for partial defs. | |
5902 | ||
c5dc094f | 5903 | 2007-06-20 Jakub Jelinek <jakub@redhat.com> |
5904 | ||
cc142ae5 | 5905 | * Makefile.in (omega.o): Depend on $(DIAGNOSTIC_H). |
5906 | ||
07311427 | 5907 | PR middle-end/31959 |
5908 | * builtins.c: Include diagnostic.h. | |
5909 | (expand_builtin_expect): Make gcc_assert more permissive. | |
5910 | * Makefile.in (builtins.o): Depend on $(DIAGNOSTIC_H). | |
5911 | ||
a36f02c9 | 5912 | PR inline-asm/32109 |
5913 | * gimplify.c (gimplify_asm_expr): Issue error if type is addressable | |
5914 | and !allows_mem. | |
5915 | ||
c5dc094f | 5916 | PR middle-end/32285 |
5917 | * calls.c (precompute_arguments): Also precompute CALL_EXPR arguments | |
5918 | if ACCUMULATE_OUTGOING_ARGS. | |
5919 | ||
0eb1d2b3 | 5920 | 2007-06-19 Rask Ingemann Lambertsen <rask@sygehus.dk> |
5921 | ||
5922 | * config/m68hc11/m68hc11.c: Include dataflow header file. | |
5923 | (m68hc11_reorg): Port to dataflow. | |
5924 | ||
2e8432f2 | 5925 | 2007-06-19 Kenneth Zadeck <zadeck@naturalbridge.com> |
deb2741b | 5926 | |
5927 | * df.h (DF_FIRST_OPTIONAL_PROBLEM): Removed. | |
5928 | (struct df_problem.free_blocks_on_set_blocks): New field. | |
5929 | (struct dataflow.optional_p): New field. | |
5930 | (df_bb_regno_last_use_find, df_insn_regno_def_p): Removed. | |
5931 | (df_live_set_all_dirty): New function. | |
5932 | * df-scan.c (df_scan_alloc): Initialize optional_p. | |
5933 | (problem_SCAN): Initialize free_blocks_on_set_blocks. | |
5934 | * df-core.c (df_set_blocks): Removed use of | |
5935 | DF_FIRST_OPTIONAL_PROBLEM. Now uses | |
5936 | df_problem.free_blocks_on_set_blocks to determine which blocks are | |
5937 | recycled. | |
5938 | (df_remove_problem): Removed use of DF_FIRST_OPTIONAL_PROBLEM. | |
5939 | (df_finish_pass): Removed use of DF_FIRST_OPTIONAL_PROBLEM. Now | |
5940 | uses dataflow.optional_p to determine if problem should be | |
5941 | deleted. | |
5942 | (rest_of_handle_df_initialize): Only start live problem if | |
5943 | -02 or above. | |
5944 | (df_bb_regno_last_use_find, df_insn_regno_def_p): Removed. | |
5945 | * df-problems.c (df_ru_alloc, df_rd_alloc, df_lr_alloc, | |
5946 | df_live_alloc, df_urec_alloc, df_note_alloc): set optional_p. | |
5947 | (problem_RU, problem_RD, problem_LR, problem_UREC, problem_CHAIN, | |
5948 | problem_NOTE): Initialize free_blocks_on_set_blocks. | |
5949 | (df_lr_bb_local_compute): Recompute luids if df_live problem is | |
5950 | not active. | |
5951 | (df_live_set_all_dirty, df_note_alloc): New function. | |
5952 | * regrename.c (merge_overlapping_regs): Change DF_LIVE_* to | |
5953 | df_get_live_*. | |
5954 | * sched_ebb.c (compute_jump_reg_dependencies): Ditto. | |
5955 | * postreload.c (reload_combine): Ditto. | |
5956 | * cse.c (cse_extended_basic_block): Ditto. | |
5957 | * regmove.c (mark_flags_life_zones): Ditto. | |
5958 | * rtlfactoring.c (split_blocks_after_seqs, split_pattern_seq, | |
5959 | erase_matching_seqs): Ditto. | |
5960 | * bt-load.c (compute_defs_uses_and_gen): Ditto. | |
5961 | * integrate (allocate_initial_values): Ditto. | |
5962 | * combine.c (reg_dead_at_p): Ditto. | |
5963 | * resource.c (mark_target_live_regs): Ditto. | |
5964 | * sched-rgn.c (check_live_1, update_live_1): Ditto. | |
5965 | * config/sh/sh.c (find_r0_life_regions): Ditto. | |
5966 | * global.c (rest_of_handle_global_alloc): Only add back df_live | |
5967 | for -O > 1. | |
5968 | * local-alloc.c (rest_of_handle_local_alloc): Only remove | |
5969 | df_live for -O > 1. | |
5970 | * ifcvt.c (dead_or_predicable): Change DF_LIVE_* to | |
5971 | df_get_live_*. | |
5972 | (if_convert): Make sure df_live is there at -O == 1. | |
5973 | (pass_if_after_combine): Cleanup flags. | |
5974 | * init-regs.c (initialize_uninitialized_regs): Make sure df_live | |
5975 | is there at -O == 1. | |
5976 | ||
a650636a | 5977 | 2007-06-19 Seongbae Park <seongbae.park@gmail.com> |
5978 | ||
5979 | * config/arm/arm.c (arm_get_frame_offsets): Set | |
5980 | offsets->locals_base to avoid negative stack size. | |
5981 | (thumb1_expand_prologue): Assert on negative stack size. | |
5982 | ||
27eda240 | 5983 | 2007-06-19 Sebastian Pop <sebpop@gmail.com> |
df09cc3d | 5984 | |
5985 | PR tree-optimization/32367 | |
5986 | * tree-chrec.h (build_polynomial_chrec): Verify that the left hand side | |
5987 | of the chrec has no evolution in that loop. | |
5988 | * testsuite/gcc.dg/tree-ssa/pr32367.c: New. | |
5989 | ||
d8002fbc | 5990 | 2007-06-19 Bob Wilson <bob.wilson@acm.org> |
5991 | ||
5992 | * config/xtensa/xtensa.c: Include "df.h". | |
ed69c853 | 5993 | (xtensa_builtin_saveregs): Use adjust_address instead of |
5994 | change_address. | |
d8002fbc | 5995 | (xtensa_va_start): Invoke make_tree with sizetype for |
5996 | expand_builtin_saveregs and then convert the result to a pointer. | |
5997 | Use POINTER_PLUS_EXPR. Use size_int instead of build_int_cst. | |
5998 | (xtensa_gimplify_va_arg_expr): Use size_int instead of build_int_cst. | |
5999 | Subtract argument size from index value as integers and then use | |
6000 | POINTER_PLUS_EXPR to add the result to the array address. | |
6001 | ||
97678fce | 6002 | 2007-06-19 Rask Ingemann Lambertsen <rask@sygehus.dk> |
6003 | ||
6004 | PR target/32335 | |
6005 | * config/m32c/m32c.c: Include dataflow header file. | |
6006 | (m32c_emit_prologue): Adjust for prologue insn change. | |
6007 | * config/m32c/prologue.md (prologue_enter_16): Only modify SP_REGNO | |
6008 | once inside a PARALLEL. Assume frame size passed in operand 0 | |
6009 | includes space to save the fb register. | |
6010 | (prologue_enter_24): Likewise. | |
6011 | (epilogue_exitd): Only modify SP_REGNO once inside a PARALLEL. | |
6012 | ||
c82ceb32 | 6013 | 2007-06-19 David Daney <ddaney@avtrex.com |
6014 | ||
6015 | PR target/32313 | |
6016 | * config/mips/mips.md (cprestore): Mark $gp as used. | |
6017 | ||
33aca02a | 6018 | 2007-06-19 Rask Ingemann Lambertsen <rask@sygehus.dk> |
6019 | ||
6020 | PR target/32369 | |
6021 | * config/frv/frv.c (frv_ifcvt_modify_tests): Dataflow merge fix. | |
6022 | (frv_ifcvt_modify_insn): Likewise. | |
6023 | ||
26df3050 | 6024 | 2007-06-19 Richard Guenther <rguenther@suse.de> |
6025 | ||
6026 | * tree-ssa-structalias.c (handle_ptr_arith): Make sure to | |
6027 | only handle positive offsets that fit in a HOST_WIDE_INT. | |
6028 | ||
6029 | 2007-06-19 Uros Bizjak <ubizjak@gmail.com> | |
24355ccb | 6030 | |
7aefc96d | 6031 | * config/i386/i386.c (ix86_emit_swsqrtsf): Filter out infinity |
6032 | result of rsqrt insn for zero input argument to avoid NaN. | |
24355ccb | 6033 | |
2337199f | 6034 | 2007-06-19 Richard Guenther <rguenther@suse.de> |
6035 | ||
6036 | PR middle-end/31950 | |
6037 | * tree-ssa-alias-warnings.c (ffan_walker): Punt on MTAGs. | |
6038 | ||
770b1ac4 | 6039 | 2007-06-19 Jakub Jelinek <jakub@redhat.com> |
6040 | ||
6041 | PR tree-optimization/32353 | |
6042 | * tree-ssa-structalias.c (set_uids_in_ptset): Also handle RESULT_DECL. | |
6043 | ||
82dda0a4 | 6044 | 2007-06-19 Nick Clifton <nickc@redhat.com> |
6045 | ||
b1d106b3 | 6046 | * config/m32r/linux.h (LIB_SPEC): Always imply -lpthread for -pthread. |
82dda0a4 | 6047 | |
69ddc71a | 6048 | 2007-06-18 Uros Bizjak <ubizjak@gmail.com> |
6049 | ||
6050 | PR target/32389 | |
6051 | * config/i386/i386.h (enum ix86_stack_slot): Add SLOT_VIRTUAL. | |
6052 | * config/i386/i386.c (assign_386_stack_local): Assert that | |
6053 | SLOT_VIRTUAL is valid only before virtual regs are instantiated. | |
6054 | (ix86_expand_builtin) [IX86_BUILTIN_LDMXCSR, IX86_BUILTIN_STMXCSR]: | |
6055 | Use SLOT_VIRTUAL stack slot instead of SLOT_TEMP. | |
6056 | * config/i386/i386.md (truncdfsf2, truncxf<mode>2): Ditto. | |
6057 | ||
3d7707ba | 6058 | 2007-06-18 Steve Ellcey <sje@cup.hp.com> |
6059 | ||
6060 | * config/ia64/ia64.h (LIBGCC2_TF_CEXT): New. | |
6061 | ||
65a5a1a8 | 6062 | 2007-06-18 Seongbae Park <seongbae.park@gmail.com> |
6063 | ||
6064 | PR rtl-optimization/32321 | |
6065 | * gcse.c (replace_store_insn): Update the note before | |
6066 | calling emit_insn_after. | |
b445418c | 6067 | |
2195f002 | 6068 | 2007-06-18 Kenneth Zadeck <zadeck@naturalbridge.com> |
6069 | ||
6070 | PR middle-end/32355 | |
6071 | * gcse (rest_of_handle_gcse): Add call to df_finish_pass after | |
6072 | cse_main. | |
6073 | * df-problems.c (df_note_bb_compute): Fix dumping info. | |
6074 | ||
e12df6c7 | 6075 | 2007-06-18 Kazu Hirata <kazu@codesourcery.com> |
6076 | ||
6077 | * config/m68k/m68k.c (m68k_expand_epilogue): Emit a return | |
6078 | insn with emit_jump_insn. | |
6079 | ||
2cd360b6 | 6080 | 2007-06-18 Uros Bizjak <ubizjak@gmail.com> |
6081 | ||
6082 | PR tree-optimization/32383 | |
6083 | * targhooks.c (default_builtin_reciprocal): Add new bool argument. | |
6084 | * targhooks.h (default_builtin_reciprocal): Update prototype. | |
6085 | * target.h (struct gcc_target): Update builtin_reciprocal. | |
6086 | * doc/tm.texi (TARGET_BUILTIN_RECIPROCAL): Update description. | |
6087 | * tree-ssa-math-opts (execute_cse_reciprocals): Skip statements | |
6088 | where arg1 is not SSA_NAME. Pass true to targetm.builtin_reciprocal | |
6089 | when fndecl is in BUILT_IN_MD class. | |
6090 | (execute_convert_to_rsqrt): Ditto. | |
6091 | ||
6092 | * config/i386/i386.c (ix86_builtin_reciprocal): Update for new bool | |
6093 | argument. Convert IX86_BUILTIN_SQRTPS code only when md_fn is true. | |
6094 | Convert BUILT_IN_SQRTF code only when md_fn is false. | |
6095 | ||
e9ffa5ca | 6096 | 2007-06-18 Kaz Kojima <kkojima@gcc.gnu.org> |
6097 | ||
6098 | * bt-load.c (move_btr_def): Fix the order of arguments | |
6099 | to validate_replace_rtx. | |
6100 | ||
5f61e586 | 6101 | 2007-06-18 Nathan Sidwell <nathan@codesourcery.com> |
6102 | ||
6103 | * config/m68k/m68k-devices.def: Add 54450..54455. | |
6104 | ||
8373dacd | 6105 | 2007-06-17 Uros Bizjak <ubizjak@gmail.com> |
6106 | ||
6107 | PR rtl-optimization/32366 | |
6108 | * simplify-rtx.c (simplify_unary_operation_1) [FLOAT_TRUNCATE, | |
6109 | FLOAT_EXTEND]: Prevent non-scalar modes from entering | |
6110 | significand_size. | |
6111 | ||
73d0c05c | 6112 | 2007-06-17 Kenneth Zadeck <zadeck@naturalbridge.com> |
6113 | ||
6114 | PR middle-end/32349 | |
6115 | * modulo-sched (generate_reg_moves): Added rescan parameter and if | |
6116 | this is true, rescan insn being modified. | |
6117 | (sms_schedule): Added rescan parameter. | |
6118 | (rest_of_handle_sms): Moved freeing of dominance info to before | |
6119 | getting out of cfg_layout. | |
6120 | ||
da8fbdfe | 6121 | 2007-06-17 Nathan Sidwell <nathan@codesourcery.com> |
6122 | ||
6123 | * config/m68k/m68k.h (ISA_HAS_FF1, ISA_HAS_MVS_MVZ): New. | |
6124 | * config/m68k/m68k.md: Use ISA_HAS_FF1 and ISA_HAS_MVS_MVZ as | |
6125 | appropriate. | |
6126 | ||
b831ff4e | 6127 | * config/m68k/m68k.c (all_isas): Remove FL_CF_FPU and |
6128 | FL_CF_EMAC from the entry for isac. | |
6129 | ||
7f2330d5 | 6130 | * config/m68k/predicates.md (const_call_operand): Adjust comment. |
6131 | (const_sibcall_operand): New. | |
6132 | (sibcall_operand): Use it. | |
6133 | * config/m68k/m68k.c (FL_FOR_isa_c): Not ISA_B compatible. | |
6134 | (m68k_isas): ISAC does not imply FPU or EMAC. | |
6135 | (override_options): Add ISA_C logic for symbolic jump & call. | |
6136 | ||
7ef911ad | 6137 | 2007-06-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
6138 | ||
6139 | * config/sparc/sparc.c (sparc_vis_init_builtins): Retrieve the | |
6140 | return mode from the builtin itself. | |
6141 | (sparc_fold_builtin): Fix cast of zero constant. | |
6142 | ||
c3cc39c4 | 6143 | 2007-06-16 Uros Bizjak <ubizjak@gmail.com> |
6144 | ||
6145 | * targhooks.c (default_builtin_reciprocal): New default target hook. | |
6146 | * targhooks.h (default_builtin_reciprocal): Add prototype. | |
6147 | * hooks.c (hook_tree_tree_bool_null): Remove hook. | |
6148 | * hooks.h (hook_tree_tree_bool_null): Remove prototype. | |
6149 | * target-def.h (TARGET_BUILTIN_RECIPROCAL): Define as | |
6150 | default_builtin_reciprocal. | |
6151 | ||
e174638f | 6152 | 2007-06-16 Uros Bizjak <ubizjak@gmail.com> |
6153 | ||
6154 | PR middle-end/31723 | |
6155 | * hooks.c (hook_tree_tree_bool_null): New hook. | |
6156 | * hooks.h (hook_tree_tree_bool_null): Add prototype. | |
6157 | * tree-pass.h (pass_convert_to_rsqrt): Declare. | |
6158 | * passes.c (init_optimization_passes): Add pass_convert_to_rsqrt. | |
6159 | * tree-ssa-math-opts.c (execute_cse_reciprocals): Scan for a/func(b) | |
6160 | and convert it to reciprocal a*rfunc(b). | |
6161 | (execute_convert_to_rsqrt): New function. | |
6162 | (gate_convert_to_rsqrt): New function. | |
6163 | (pass_convert_to_rsqrt): New pass definition. | |
6164 | * target.h (struct gcc_target): Add builtin_reciprocal. | |
6165 | * target-def.h (TARGET_BUILTIN_RECIPROCAL): New define. | |
6166 | (TARGET_INITIALIZER): Initialize builtin_reciprocal with | |
6167 | TARGET_BUILTIN_RECIPROCAL. | |
6168 | * doc/tm.texi (TARGET_BUILTIN_RECIPROCAL): Document. | |
6169 | ||
6170 | * config/i386/i386.h (TARGET_RECIP): New define. | |
6171 | * config/i386/i386.md (divsf3): Expand by calling ix86_emit_swdivsf | |
6172 | for TARGET_SSE_MATH and TARGET_RECIP when flag_finite_math_only and | |
6173 | flag_unsafe_math_optimizations are set, flag_trapping_math is unset | |
6174 | and not optimizing for size. | |
6175 | (*rcpsf2_sse): New insn pattern. | |
6176 | (*rsqrtsf2_sse): Ditto. | |
6177 | (rsqrtsf2): New expander. Expand by calling ix86_emit_swsqrtsf | |
6178 | for TARGET_SSE_MATH and TARGET_RECIP when flag_finite_math_only and | |
6179 | flag_unsafe_math_optimizations are set, flag_trapping_math is unset | |
6180 | and not optimizing for size. | |
6181 | (sqrt<mode>2): Expand SFmode operands by calling ix86_emit_swsqrtsf | |
6182 | for TARGET_SSE_MATH and TARGET_RECIP when flag_finite_math_only and | |
6183 | flag_unsafe_math_optimizations are set, flag_trapping_math is unset | |
6184 | and not optimizing for size. | |
6185 | * config/i386/sse.md (divv4sf): Expand by calling ix86_emit_swdivsf | |
6186 | for TARGET_SSE_MATH and TARGET_RECIP when flag_finite_math_only and | |
6187 | flag_unsafe_math_optimizations are set, flag_trapping_math is unset | |
6188 | and not optimizing for size. | |
6189 | (*sse_rsqrtv4sf2): Do not export. | |
6190 | (sqrtv4sf2): Ditto. | |
6191 | (sse_rsqrtv4sf2): New expander. Expand by calling ix86_emit_swsqrtsf | |
6192 | for TARGET_SSE_MATH and TARGET_RECIP when flag_finite_math_only and | |
6193 | flag_unsafe_math_optimizations are set, flag_trapping_math is unset | |
6194 | and not optimizing for size. | |
6195 | (sqrtv4sf2): Ditto. | |
6196 | * config/i386/i386.opt (mrecip): New option. | |
6197 | * config/i386/i386-protos.h (ix86_emit_swdivsf): Declare. | |
6198 | (ix86_emit_swsqrtsf): Ditto. | |
6199 | * config/i386/i386.c (IX86_BUILTIN_RSQRTF): New constant. | |
6200 | (ix86_init_mmx_sse_builtins): __builtin_ia32_rsqrtf: New | |
6201 | builtin definition. | |
6202 | (ix86_expand_builtin): Expand IX86_BUILTIN_RSQRTF using | |
6203 | ix86_expand_unop1_builtin. | |
6204 | (ix86_emit_swdivsf): New function. | |
6205 | (ix86_emit_swsqrtsf): Ditto. | |
6206 | (ix86_builtin_reciprocal): New function. | |
6207 | (TARGET_BUILTIN_RECIPROCAL): Use it. | |
6208 | (ix86_vectorize_builtin_conversion): Rename from | |
6209 | ix86_builtin_conversion. | |
6210 | (TARGET_VECTORIZE_BUILTIN_CONVERSION): Use renamed function. | |
6211 | * doc/invoke.texi (Machine Dependent Options): Add -mrecip to | |
6212 | "i386 and x86_64 Options" section. | |
6213 | (Intel 386 and AMD x86_64 Options): Document -mrecip. | |
6214 | ||
0de36bdb | 6215 | 2007-06-15 Andrew Pinski <andrew_pinski@playstation.sony.com> |
d07cd931 | 6216 | Zdenek Dvorak <dvorakz@suse.cz> |
6217 | Richard Guenther <rguenther@suse.de> | |
6218 | Kaz Kojima <kkojima@gcc.gnu.org> | |
0de36bdb | 6219 | |
6220 | * tree-vrp.c (compare_values_warnv): Convert val2 to | |
6221 | the type of val1. | |
6222 | (extract_range_from_assert): Create | |
6223 | POINTER_PLUS_EXPR for pointer types. | |
6224 | (extract_range_from_binary_expr): Handle | |
6225 | only POINTER_PLUS_EXPR, MIN_EXPR, and MAX_EXPR | |
6226 | for pointer types. | |
6227 | * doc/c-tree.texi (POINTER_PLUS_EXPR): Document. | |
6228 | * tree-ssa-loop-niter.c (split_to_var_and_offset): Handle | |
6229 | POINTER_PLUS_EXPR as PLUS_EXPR. | |
6230 | (number_of_iterations_lt_to_ne): | |
6231 | For pointer types, use sizetype when | |
6232 | creating MINUS_EXPR/PLUS_EXPRs. | |
6233 | (assert_loop_rolls_lt): For pointer types, use sizetype when | |
6234 | creating MINUS_EXPR/PLUS_EXPRs. | |
6235 | (number_of_iterations_le): Likewise. | |
6236 | (expand_simple_operations): POINTER_PLUS_EXPR are simple also. | |
6237 | (derive_constant_upper_bound): Handle POINTER_PLUS_EXPR just | |
6238 | like PLUS_EXPR and MINUS_EXPR. | |
6239 | * tree-pretty-print.c (dump_generic_node): Handle | |
6240 | POINTER_PLUS_EXPR. | |
6241 | (op_prio): Likewise. | |
6242 | (op_symbol_1): Likewise. | |
6243 | * optabs.c (optab_for_tree_code): Likewise. | |
6244 | * tree-ssa-loop-manip.c (create_iv): Handle pointer base | |
6245 | specially. | |
6246 | * tree-tailcall.c (process_assignment): Mention | |
6247 | POINTER_PLUS_EXPR in a TODO comment. | |
6248 | * tree.c (build2_stat): Assert when trying to use PLUS_EXPR or | |
6249 | MINUS_EXPR with a pointer. Also assert for POINTER_PLUS_EXPR | |
6250 | not used with a pointer and an integer type. | |
6251 | * tree-scalar-evolution.c (add_to_evolution_1): Convert the | |
6252 | increment using chrec_convert_rhs instead of chrec_convert. | |
6253 | (follow_ssa_edge_in_rhs): Handle POINTER_PLUS_EXPR like | |
6254 | PLUS_EXPR except for the right hand side's type will be | |
6255 | sizetype. | |
6256 | (interpret_rhs_modify_stmt): Handle POINTER_PLUS_EXPR. | |
6257 | (fold_used_pointer_cast): Kill. | |
6258 | (pointer_offset_p): Kill. | |
6259 | (fold_used_pointer): Kill. | |
6260 | (pointer_used_p): Kill. | |
6261 | (analyze_scalar_evolution_1 <case GIMPLE_MODIFY_STMT>): Don't | |
6262 | call fold_used_pointer. | |
6263 | (instantiate_parameters_1): Convert the increment | |
6264 | using chrec_convert_rhs instead of chrec_convert. | |
6265 | Handle POINTER_PLUS_EXPR as PLUS_EXPR. | |
6266 | * builtins.c (get_pointer_alignment): Handle POINTER_PLUS_EXPR | |
6267 | instead of PLUS_EXPR. | |
6268 | (expand_builtin_strcat): Create a POINTER_PLUS_EXPR instead of | |
6269 | PLUS_EXPR for pointers. | |
6270 | (std_gimplify_va_arg_expr): Likewise. | |
6271 | (fold_builtin_memory_op): Likewise. | |
6272 | (fold_builtin_strstr): Likewise. | |
6273 | (fold_builtin_strchr): Likewise. | |
6274 | (fold_builtin_strrchr): Likewise. | |
6275 | (fold_builtin_strpbrk): Likewise. | |
6276 | (expand_builtin_memory_chk): Likewise. | |
6277 | (fold_builtin_memory_chk): Likewise. | |
6278 | (std_expand_builtin_va_start): Use | |
6279 | sizetype for the call to make_tree and then convert | |
6280 | to the pointer type. | |
6281 | (fold_builtin_memchr): Use POINTER_PLUS_EXPR | |
6282 | instead of PLUS_EXPR for adding to a pointer. | |
6283 | (std_gimplify_va_arg_expr): Use fold_build2 for | |
6284 | the creating of POINTER_PLUS_EXPR. For the BIT_AND_EXPR, cast | |
6285 | the operands to sizetype first and then cast the BIT_AND_EXPR | |
6286 | back to the pointer type. | |
6287 | * fold-const.c (build_range_check): Handle pointer types | |
6288 | specially. | |
6289 | (extract_array_ref): Look for POINTER_PLUS_EXPR instead | |
6290 | of PLUS_EXPR's. Make sure the offset is converted to | |
6291 | sizetype. | |
6292 | (try_move_mult_to_index): Strip the NOPs from the offset. | |
6293 | Remove code argument and replace all uses with PLUS_EXPR. | |
6294 | (fold_to_nonsharp_ineq_using_bound): Handle pointer types | |
6295 | specially. Don't use a pointer type for MINUS_EXPR. | |
6296 | (fold_unary): Handle for (T1)(X op Y), | |
6297 | only p+ as that is the only as that can be handled for | |
6298 | binary operators now. | |
6299 | (fold_binary <case POINTER_PLUS_EXPR>): Add folding of | |
6300 | POINTER_PLUS_EXPR. | |
6301 | <case PLUS_EXPR>: Add folding of PTR+INT into | |
6302 | PTR p+ INT. | |
6303 | Don't call try_move_mult_to_index. | |
6304 | <case MINUS_EXPR>: Fold (PTR0 p+ A) - (PTR1 p+ B) | |
6305 | into (PTR0 - PTR1) + (A - B). Fold (PTR0 p+ A) - PTR1 into | |
6306 | (PTR0 - PTR1) + A iff (PTR0 - PTR1) simplifies. | |
6307 | Don't call try_move_mult_to_index. | |
6308 | (tree_expr_nonnegative_warnv_p): Handle POINTER_PLUS_EXPR. | |
6309 | (tree_expr_nonzero_p): Likewise. | |
6310 | (fold_indirect_ref_1): Look at POINTER_PLUS_EXPR instead | |
6311 | of PLUS_EXPR for the complex expression folding. | |
6312 | * tree-chrec.c (chrec_fold_plus_poly_poly): If the | |
6313 | first chrec is a pointer type, then the second should | |
6314 | be sizetype and not the first's type. | |
6315 | For POINTER_PLUS_EXPR, use a different right hand side type. | |
6316 | Handle POINTER_PLUS_EXPR like PLUS_EXPR. | |
6317 | (chrec_fold_plus_1): For POINTER_PLUS_EXPR, use a | |
6318 | different right hand side type. | |
6319 | Handle POINTER_PLUS_EXPR like PLUS_EXPR. | |
6320 | (chrec_fold_plus): For pointer types, use POINTER_PLUS_EXPR | |
6321 | instead of PLUS_EXPR. | |
6322 | When either operand is zero, convert the other operand. | |
6323 | (chrec_apply): Use chrec_convert_rhs | |
6324 | on the argument x instead of chrec_convert. | |
6325 | (reset_evolution_in_loop): For pointer types, the new_evol | |
6326 | should be sizetype. | |
6327 | (convert_affine_scev): For POINTER_PLUS_EXPR, use a | |
6328 | different right hand side type. | |
6329 | Handle POINTER_PLUS_EXPR like PLUS_EXPR. | |
6330 | (chrec_convert_rhs): New function. | |
6331 | (chrec_convert_aggressive): For POINTER_PLUS_EXPR, use a | |
6332 | different right hand side type. | |
6333 | Handle POINTER_PLUS_EXPR like PLUS_EXPR. | |
6334 | * tree-chrec.h (chrec_convert_rhs): New prototype. | |
6335 | (build_polynomial_chrec): For pointer types, the right hand | |
6336 | * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Look for | |
6337 | POINTER_PLUS_EXPR instead of PLUS_EXPR's. | |
6338 | Remove subtraction case as it is always addition now. | |
6339 | Make sure the offset is converted to sizetype. | |
6340 | (fold_stmt_r): Don't handle PLUS_EXPR/MINUS_EXPR specially. | |
6341 | Handle POINTER_PLUS_EXPR like PLUS_EXPR was handled before. | |
6342 | * tree-ssa-loop-ivopts.c (determine_base_object): Abort for | |
6343 | PLUS_EXPR in pointer type. | |
6344 | Handle POINTER_PLUS_EXPR. | |
6345 | (tree_to_aff_combination): Likewise. | |
6346 | (force_expr_to_var_cost): Likewise. | |
6347 | (force_expr_to_var_cost): Likewise. Create a POINTER_PLUS_EXPR | |
6348 | instead of PLUS_EXPR for pointers. | |
6349 | * c-format.c (check_format_arg): Handle POINTER_PLUS_EXPR | |
6350 | instead of PLUS_EXPR of pointer types. | |
6351 | * tree-stdarg.c (va_list_counter_bump): Handle POINTER_PLUS_EXPR | |
6352 | as PLUS_EXPR. | |
6353 | (check_va_list_escapes): Likewise. | |
6354 | (check_all_va_list_escapes): Likewise. | |
6355 | * dwarf2out.c (loc_descriptor_from_tree_1): | |
6356 | Handle POINT_PLUS_EXPR as a PLUS_EXPR. | |
6357 | * expr.c (expand_expr_real_1): Handle POINTER_PLUS_EXPR. | |
6358 | (string_constant): Likewise. | |
6359 | * tree-ssa-address.c (tree_mem_ref_addr): When adding | |
6360 | the offset to the base, use POINTER_PLUS_EXPR. | |
6361 | (add_to_parts): Convert the index to sizetype. | |
6362 | (create_mem_ref): Create A POINTER_PLUS_EXPR for the one case. | |
6363 | * matrix-reorg.c (collect_data_for_malloc_call): Stmt | |
6364 | will now only be either INDIRECT_REF and POINTER_PLUS_EXPR. | |
6365 | Offset only holds something for PLUS_EXPR. | |
6366 | (ssa_accessed_in_tree): Handle POINTER_PLUS_EXPR just as | |
6367 | a PLUS_EXPR. | |
6368 | (analyze_transpose): POINTER_PLUS_EXPR will only show up now | |
6369 | and not PLUS_EXPR. | |
6370 | (analyze_accesses_for_modify_stmt): Likewise. | |
6371 | Remove comment about the type being integral type as it is | |
6372 | wrong now. | |
6373 | (can_calculate_expr_before_stmt): Handle POINTER_PLUS_EXPR as | |
6374 | PLUS_EXPR. | |
6375 | (transform_access_sites): POINTER_PLUS_EXPR will only show up now | |
6376 | and not PLUS_EXPR. | |
6377 | Correct the type which the artimentic is done in (is now | |
6378 | sizetype). | |
6379 | Reindent one loop. | |
6380 | * tree-data-ref.c (split_constant_offset): Handle | |
6381 | POINTER_PLUS_EXPR | |
6382 | * tree-affine.c (tree_to_aff_combination): Likewise. | |
6383 | * c-typeck.c (build_unary_op): For pointers create the increment | |
6384 | as a sizetype. Create a POINTER_PLUS_EXPR instead of PLUS_EXPR | |
6385 | for pointers. | |
6386 | * gimplify.c (gimplify_self_mod_expr): Create a | |
6387 | POINTER_PLUS_EXPR instead of PLUS_EXPR for pointers. | |
6388 | (gimplify_omp_atomic_fetch_op): Handle POINTER_PLUS_EXPR. | |
6389 | * tree.def (POINTER_PLUS_EXPR): New tree code. | |
6390 | * tree-predcom.c (ref_at_iteration): If we have a pointer | |
6391 | type do the multiplication in sizetype. | |
6392 | * tree-mudflap.c (mf_xform_derefs_1): Create a | |
6393 | POINTER_PLUS_EXPR instead of PLUS_EXPR for pointers. | |
6394 | * tree-ssa-forwprop.c | |
6395 | (forward_propagate_addr_into_variable_array_index): | |
6396 | Don't expect there to be a cast for the index as that | |
6397 | does not exist anymore. | |
6398 | (forward_propagate_addr_expr_1): Check for POINTER_PLUS_EXPR | |
6399 | instead of PLUS_EXPR. | |
6400 | Don't check for the first operand of the POINTER_PLUS_EXPR | |
6401 | was the index as it cannot be. | |
6402 | Call forward_propagate_addr_into_variable_array_index with | |
6403 | the SSA_NAME instead of the statement. | |
6404 | * varasm.c (const_hash_1): Handle POINTER_PLUS_EXPR. | |
6405 | (compare_constant): Likewise. | |
6406 | (copy_constant): Likewise. | |
6407 | (compute_reloc_for_constant): Likewise. | |
6408 | (output_addressed_constants): Likewise. | |
6409 | (initializer_constant_valid_p): Likewise. | |
6410 | * tree-ssa.c (tree_ssa_useless_type_conversion_1): | |
6411 | Convert the MIN/MAX of the inner type to the outer | |
6412 | type before comparing them. | |
6413 | * tree-ssa-loop-prefetch.c (idx_analyze_ref): Handle | |
6414 | POINTER_PLUS_EXPR instead of PLUS_EXPR. | |
6415 | (issue_prefetch_ref): Create a POINTER_PLUS_EXPR instead | |
6416 | of PLUS_EXPR for pointers. | |
6417 | * tree-inline.c (estimate_num_insns_1): Handle | |
6418 | POINTER_PLUS_EXPR. | |
6419 | * tree-vect-transform.c (vect_create_addr_base_for_vector_ref): | |
6420 | Create a POINTER_PLUS_EXPR instead of PLUS_EXPR for pointers. | |
6421 | (bump_vector_ptr): Create a POINTER_PLUS_EXPR | |
6422 | instead of PLUS_EXPR for the pointer increment statement. | |
6423 | (vect_update_ivs_after_vectorizer): For pointer types, create | |
6424 | POINTER_PLUS_EXPR instead of PLUS_EXPR and also create | |
6425 | MULT_EXPR in sizetype. | |
6426 | (vect_gen_niters_for_prolog_loop): Add a cast when creating | |
6427 | byte_misalign. | |
6428 | * tree-object-size.c (plus_expr_object_size): Handle | |
6429 | POINTER_PLUS_EXPR instead of PLUS_EXPR. Removing all the extra | |
6430 | code which is trying to figure out which side is a pointer and | |
6431 | is the index. | |
6432 | (check_for_plus_in_loops_1): Likewise. | |
6433 | (check_for_plus_in_loops): Likewise. | |
6434 | * c-common.c (pointer_int_sum): Create a | |
6435 | POINTER_PLUS_EXPR instead of PLUS_EXPR for pointers. | |
6436 | * tree-ssa-structalias.c (handle_ptr_arith): Handle | |
6437 | only POINTER_PLUS_EXPR. Removing all the extra | |
6438 | code which is trying to figure out which side is a pointer and | |
6439 | is the index. | |
6440 | * tree-cfg.c (verify_expr): Add extra checking for pointers and | |
6441 | PLUS_EXPR and MINUS_EXPR. | |
6442 | Also add checking to make sure the operands of POINTER_PLUS_EXPR | |
6443 | are correct. | |
6444 | * config/frv/frv.c (frv_expand_builtin_va_start): Use sizetype | |
6445 | with make_tree, instead of a pointer type. | |
6446 | * config/s390/s390.c (s390_va_start): Use POINTER_PLUS_EXPR | |
6447 | for pointers instead of PLUS_EXPR. | |
6448 | (s390_gimplify_va_arg): Likewise. | |
6449 | * config/spu/spu.c (spu_va_start): Create POINTER_PLUS_EXPR | |
6450 | instead of PLUS_EXPR when doing addition on pointer | |
6451 | types. Use sizetype for the second operand. | |
6452 | (spu_gimplify_va_arg_expr): Likewise. | |
6453 | * config/sparc/sparc.c (sparc_gimplify_va_arg): Use | |
6454 | POINTER_PLUS_EXPR instead of PLUS_EXPR when the operand was | |
6455 | a pointer. Don't create a BIT_AND_EXPR for pointer types. | |
6456 | * config/i386/i386.c (ix86_va_start): Use POINTER_PLUS_EXPR | |
6457 | for the pointer addition and also use size_int/sizetype | |
6458 | for the offset. | |
6459 | (ix86_gimplify_va_arg): Likewise. | |
6460 | Perform BIT_AND_EXPR on sizetype arguments. | |
6461 | * config/sh/sh.c (sh_va_start): Call make_tree with sizetype | |
6462 | and convert its result to a pointer type. Use POINTER_PLUS_EXPR | |
6463 | for the pointer additions and also use size_int for the offsets. | |
6464 | (sh_gimplify_va_arg_expr): Use POINTER_PLUS_EXPR for the pointer | |
6465 | additions and also use size_int for the offsets. Perform | |
6466 | BIT_AND_EXPR on sizetype arguments. | |
6467 | * config/ia64/ia64.c (ia64_gimplify_va_arg): Use | |
6468 | POINTER_PLUS_EXPR for pointers and create the | |
6469 | BIT_AND_EXPR in sizetype. | |
6470 | * config/rs6000/rs6000.c (rs6000_va_start): Use POINTER_PLUS_EXPR | |
6471 | instead of PLUS_EXPR for pointer addition. | |
6472 | (rs6000_va_start): Likewise. | |
6473 | Also use sizetype for the offset. | |
6474 | * config/pa/pa.c (reloc_needed): Handle POINTER_PLUS_EXPR | |
6475 | as PLUS_EXPR/MINUS_EXPR. | |
6476 | (hppa_gimplify_va_arg_expr): Don't create MINUS_EXPR or | |
6477 | PLUS_EXPR for pointers, instead use POINTER_PLUS_EXPR. | |
6478 | Don't use BIT_AND_EXPR on a pointer type, convert the | |
6479 | expression to sizetype first. | |
6480 | * config/mips/mips.c (mips_va_start): Use POINTER_PLUS_EXPR | |
6481 | for pointers. | |
6482 | (mips_gimplify_va_arg_expr): Likewise. | |
6483 | Don't create BIT_AND_EXPR in a pointer type. | |
6484 | ||
2e76978a | 6485 | 2007-06-15 Eric Christopher <echristo@apple.com> |
6486 | ||
6487 | * config.gcc (i?86-*-darwin*): Add t-crtfm and t-crtpc. | |
6488 | (x86_64-*-darwin*): Ditto. | |
6489 | * config/i386/darwin.h (CRTEND_SPEC): New. Add support | |
6490 | for above. | |
6491 | ||
2d3e8e7b | 6492 | 2007-06-15 Matthew Wilcox <matthew@wil.cx> |
6493 | ||
6494 | * doc/extend.texi: Document behavior of __attribute__((aligned)) | |
6495 | on typedefs. | |
2e76978a | 6496 | |
02a63053 | 6497 | 2007-06-15 Mark Mitchell <mark@codesourcery.com> |
6498 | ||
6499 | * rtlanal.c (note_stores): Improve documentation. | |
6500 | ||
c388b73a | 6501 | 2007-06-15 Bernd Schmidt <bernd.schmidt@analog.com> |
6502 | ||
6503 | * config/bfin/elf.h (ASM_GENERATE_INTERNAL_LABEL, | |
6504 | LOCAL_LABEL_PREFIX): Delete. | |
6505 | * config/bfin/bfin.c (TARGET_ASM_INTERNAL_LABEL): Delete. | |
6506 | (bfin_internal_label): Delete. | |
6507 | ||
baf35995 | 6508 | 2007-06-15 Uros Bizjak <ubizjak@gmail.com> |
6509 | ||
6510 | * libgcc2.c (CEXT): When compiling L_multc3 and L_divtc3, | |
6511 | define to "l" if LIBGCC_LONG_DOUBLE_SIZE == 128, | |
6512 | otherwise define to LIBGCC2_TF_CEXT. | |
6513 | * config/i386/linux64.h (LIBGCC2_HAS_TF_MODE): New define. | |
6514 | (LIBGCC_TF_CEXT): Ditto. | |
6515 | (TF_SIZE): Ditto. | |
6516 | ||
7577c7f7 | 6517 | 2007-06-14 Seongbae Park <seongbae.park@gmail.com> |
6518 | ||
6519 | PR rtl-optimization/32339 | |
baf35995 | 6520 | * df-scan.c (df_uses_record): Don't modify flags but just add to |
6521 | it for df_ref_record. | |
7577c7f7 | 6522 | |
f2ecdfeb | 6523 | 2007-06-14 Andrew Pinski <andrew_pinski@playstation.sony.com> |
6524 | ||
6525 | * tree-mudflap.c: Fix whitespace issues. | |
6526 | ||
b01a4e73 | 6527 | 2007-06-15 Kazu Hirata <kazu@codesourcery.com> |
6528 | ||
6529 | * config/m68k/m68k.c (ASM_DOT, ASM_DOTW, ASM_DOTL): Remove. | |
6530 | ||
0bb48c33 | 6531 | 2007-06-14 Eric Christopher <echristo@apple.com> |
6532 | ||
6533 | * config/i386/sse.md (movdi_to_sse): Rewrite body. | |
6534 | (movv4sf): Use gcc_unreachable instead of abort. | |
6535 | ||
8194ec20 | 6536 | 2007-06-14 Uros Bizjak <ubizjak@gmail.com> |
6537 | ||
6538 | PR target/32268 | |
baf35995 | 6539 | * config/i386/sfp-machine.h (CMPtype): New define. |
8194ec20 | 6540 | (mach stubs): Use CMPtype instead of int as a return type. |
6541 | ||
9d73b0fe | 6542 | 2007-06-14 Uros Bizjak <ubizjak@gmail.com> |
6543 | ||
6544 | * config/soft-fp/eqdf2.c, config/soft-fp/eqsf2.c, | |
6545 | config/soft-fp/eqtf2.c, config/soft-fp/gedf2.c, | |
6546 | config/soft-fp/gesf2.c, config/soft-fp/getf2.c, | |
6547 | config/soft-fp/ledf2.c, config/soft-fp/lesf2.c, | |
6548 | config/soft-fp/letf2.c, config/soft-fp/unorddf2.c, | |
6549 | config/soft-fp/unordsf2.c, config/soft-fp/unordtf2.c, | |
6550 | config/soft-fp/soft-fp.h: Update from glibc CVS. | |
6551 | ||
e77068c4 | 6552 | 2007-06-14 Bernd Schmidt <bernd.schmidt@analog.com> |
6553 | ||
6554 | * config/bfin/uclinux.h (MFWRAP_SPEC): New. | |
6555 | ||
9f8151b9 | 6556 | 2007-06-14 Rask Ingemann Lambertsen <rask@sygehus.dk> |
6557 | ||
6558 | PR target/32341 | |
6559 | * config/v850/v850.c: Include dataflow header file. | |
6560 | (substitute_ep_register): Fix typo. | |
6561 | ||
624a5fae | 6562 | 2007-06-14 Paolo Bonzini <bonzini@gnu.org> |
e10a4579 | 6563 | |
624a5fae | 6564 | * configure.ac: Fix earlier checkin. |
e10a4579 | 6565 | * configure: Regenerated. |
6566 | ||
c7cc973b | 6567 | 2007-06-14 Paolo Bonzini <bonzini@gnu.org> |
6568 | ||
6569 | * acinclude.m4 (gcc_AC_CHECK_PROG_VER): Remove. | |
6570 | * aclocal.m4: Regenerate. | |
6571 | * configure.ac: Use ACX_PROG_CC_WARNING_OPTS, | |
6572 | ACX_PROG_CC_WARNINGS_ARE_ERRORS, | |
6573 | ACX_PROG_CC_WARNING_ALMOST_PEDANTIC, ACX_CHECK_PROG_VER. | |
6574 | * configure: Regenerate. | |
e10a4579 | 6575 | * Makefile.in (LOOSE_WARN): Subst loose_warn. |
c7cc973b | 6576 | |
e10a4579 | 6577 | * Makefile.in (quickstrap): Build libgcc too. |
c7cc973b | 6578 | |
727a2c40 | 6579 | 2007-06-14 Paolo Bonzini <bonzini@gnu.org> |
6580 | ||
6581 | * configure.ac: Add --enable-checking=df. Explicitly mention that | |
6582 | the variables are initialized as for "release". | |
6583 | * df-core.c: Use it. | |
6584 | * configure: Regenerate. | |
6585 | * config.in: Regenerate. | |
6586 | ||
c3e2d63e | 6587 | 2007-06-14 Bob Wilson <bob.wilson@acm.org> |
6588 | ||
6589 | * config/xtensa/xtensa.c (xtensa_expand_nonlocal_goto): Use | |
6590 | validate_replace_rtx instead of replace_rtx. | |
6591 | (xtensa_expand_prologue): Call df_insn_rescan after replace_rtx. | |
6592 | ||
9e51385b | 6593 | 2007-06-14 Danny Smith <dannysmith@users.sourceforge.net> |
6594 | ||
6595 | * config/i386/cygming.h (DWARF_FRAME_REGNUM): Define. | |
6596 | (DWARF2_UNWIND_INFO): Override default if configured with | |
6597 | SJLJ EH disabled. | |
6598 | * config/i386/cygwin.h (STARTFILE_SPEC): Add crtbegin.o. | |
6599 | (ENDFILE_SPEC): Add crtend.o. | |
6600 | * config/i386/mingw32.h (STARTFILE_SEC): Add crtbegin.o. | |
6601 | (ENDFILE_SPEC): Add crtend.o. | |
6602 | (TARGET_USE_JCR_SECTION): Define. | |
6603 | (MD_UNWIND_SUPPORT): Define for 32-bit target. | |
6604 | ||
6605 | * config/i386/cygming-crtbegin.c: New file. | |
6606 | * config/i386/cygming-crtend.c: New file. | |
6607 | ||
6608 | 2007-06-14 Pascal Obry Pascal Obry <obry@adacore.com> | |
6609 | ||
6610 | * config/i386/w32-unwind.h: New file. | |
6611 | ||
4015e6f0 | 6612 | 2007-06-13 Eric Christopher <echristo@apple.com> |
6613 | ||
6614 | * config/i386/darwin.h (PREFERRED_STACK_BOUNDARY): Don't let | |
6615 | the user set a value below STACK_BOUNDARY. | |
6616 | ||
332ca4bc | 6617 | 2007-06-13 Thiemo Seufer <ths@networkno.de> |
6618 | ||
6619 | * config/mips/linux.h, config/mips/linux64.h (LIB_SPEC): Always | |
6620 | imply -lpthread for -pthread. | |
6621 | ||
be7d62e8 | 6622 | 2007-06-13 Kazu Hirata <kazu@codesourcery.com> |
6623 | ||
6624 | * basic-block.h: Remove the prototype for | |
6625 | free_basic_block_vars. | |
6626 | * cfglayout.h: Remove the prototype for | |
6627 | insn_locators_initialize. | |
6628 | * tree.h: Remove the prototype for emit_line_note. | |
6629 | ||
8696933a | 6630 | * tree-ssa-pre.c (mergephitemp): Remove. |
6631 | (init_pre): Don't use mergephitemp. | |
6632 | ||
23d5b88f | 6633 | 2007-06-13 Eric Christopher <echristo@apple.com> |
6634 | ||
6635 | * config/i386/i386.c (override_options): If we've specified | |
6636 | an arch then don't use TARGET_SUBTARGET_ISA_DEFAULTs. | |
6637 | ||
fdfd360b | 6638 | 2007-06-13 Bob Wilson <bob.wilson@acm.org> |
23d5b88f | 6639 | |
fdfd360b | 6640 | * df-scan.c (df_get_entry_block_def_set): Check if STATIC_CHAIN_REGNUM |
6641 | is defined. | |
23d5b88f | 6642 | |
c6eb5fc4 | 6643 | 2007-06-13 Bernd Schmidt <bernd.schmidt@analog.com> |
6644 | ||
6645 | * config/bfin/bfin.h (EH_RETURN_HANDLER_RTX): Use gen_frame_mem. | |
6646 | * config/bfin/bfin.md (UNSPEC_VOLATILE_STORE_EH_HANDLER): New constant. | |
6647 | (eh_store_handler): New pattern. | |
6648 | (eh_return): Emit it instead of a plain move. | |
6649 | ||
809ddccb | 6650 | 2007-06-13 Uros Bizjak <ubizjak@gmail.com> |
6651 | ||
6652 | * config/i386/i386.c (ix86_init_mmx_sse_builtins) | |
6653 | [__builtin_infq, __builtin_fabsq]: Define usign def_builtin. | |
6654 | [__builtin_ia32_rsqrtps, __builtin_ia32_rsqrtss]: Define using | |
6655 | def_builtin_const. | |
6656 | ||
771ce05e | 6657 | 2007-06-13 Bernd Schmidt <bernd.schmidt@analog.com> |
6658 | ||
6659 | * config/bfin/bfin.c (gen_one_bundle): Delete unused local variables. | |
6660 | (find_next_insn_start, find_load): New functions. | |
6661 | (bfin_reorg): Use them to deal with the fact that parallel insns are | |
6662 | no longer represented as a SEQUENCE. | |
6663 | ||
8005508c | 6664 | 2007-06-13 Eric Botcazou <ebotcazou@libertysurf.fr> |
6665 | ||
6666 | * config/sparc/sparc.c (sparc_override_options): Initialize | |
6667 | fpu mask correctly. | |
6668 | ||
7f091c3c | 6669 | 2007-06-13 Dave Korn <dave.korn@artimi.com> |
6670 | ||
6671 | * config/i386/i386.c (ix86_eax_live_at_start_p): Use | |
6672 | df_get_live_out. | |
6673 | ||
bef304b8 | 6674 | 2007-06-13 Kazu Hirata <kazu@codesourcery.com> |
6675 | ||
6676 | * auto-inc-dec.c, c-incpath.c, config/c4x/libgcc.S, | |
6677 | config/sh/divcost-analysis, dbgcnt.def, df-core.c, | |
6678 | df-problems.c, df-scan.c, df.h, dominance.c, dse.c, regstat.c, | |
6679 | tree-data-ref.c, tree-ssa-loop-im.c, tree-ssa-loop-prefetch.c, | |
6680 | tree-vect-transform.c: Fix comment typos. Follow spelling | |
6681 | conventions. | |
6682 | ||
6683 | 2007-06-12 Seongbae Park <seongbae.park@gmail.com> | |
bff9eb26 | 6684 | |
6685 | * df-scan.c (df_get_exit-block_use_set): Always add the stack pointer | |
6686 | to the exit block use set. | |
deb2741b | 6687 | (df_insn_delete, df_insn_rescan): Fixed spelling of "deferring". |
bff9eb26 | 6688 | * gcse.c (cpro_jump): Don't emit barrier in cfglayout mode. |
6689 | * config/sparc/sparc.c (sparc_check_64): Check df != NULL. | |
6690 | ||
d2153a46 | 6691 | 2007-06-12 Seongbae Park <seongbae.park@gmail.com> |
6692 | ||
6693 | * opts.c (common_handle_option): Handle new option -fdbg-cnt-list. | |
6694 | * dbgcnt.c (dbg_cnt_set_limit_by_name): Return value | |
6695 | to indicate an error. | |
ed69c853 | 6696 | (dbg_cnt_process_single_pair, dbg_cnt_list_all_counters): |
6697 | New functions. | |
d2153a46 | 6698 | (dbg_cnt_process_opt): Print an error on a bad argument. |
6699 | * dbgcnt.h (dbg_cnt_list_all_counters): New function declaration. | |
6700 | * common.opt (-fdbg-cnt-list): New. | |
6701 | * doc/invoke.texi (-fdbg-cnt-list,-fdbg-cnt=): New. | |
6702 | ||
eef5001a | 6703 | 2007-06-12 Eric Botcazou <ebotcazou@adacore.com> |
6704 | ||
6705 | * tree-ssa-alias.c (finalize_ref_all_pointers): Clear pt_anything | |
6706 | flag on ref-all pointers. | |
6707 | ||
af391a06 | 6708 | 2007-06-12 Andrew Pinski <andrew_pinski@playstation.sony.com> |
6709 | ||
6710 | PR middle-end/31579 | |
6711 | * expr.c (expand_expr_addr_expr_1): Call expand_expr | |
6712 | for the offset with the modifier as EXPAND_INITIALIZER | |
6713 | if the modifier is EXPAND_INITIALIZER. | |
6714 | (expand_expr_real_1 <case INTEGER_CST>): Don't force to | |
6715 | a register if we had an overflow. | |
6716 | ||
776a7bab | 6717 | 2007-06-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6718 | ||
6719 | * real.c (real_isfinite): New. | |
6720 | (real_sqrt): Use it. | |
6721 | * real.h (real_isfinite): New. | |
6722 | * builtins.c: Use it. | |
6723 | ||
66723563 | 6724 | 2007-06-12 Ian Lance Taylor <iant@google.com> |
6725 | Daniel Berlin <dberlin@dberlin.org> | |
6726 | ||
6727 | PR libstdc++/29286 | |
6728 | * tree.def: Add CHANGE_DYNAMIC_TYPE_EXPR. | |
6729 | * tree.h (CHANGE_DYNAMIC_TYPE_NEW_TYPE): Define. | |
6730 | (CHANGE_DYNAMIC_TYPE_LOCATION): Define. | |
6731 | (DECL_NO_TBAA_P): Define. | |
6732 | (struct tree_decl_common): Add no_tbaa_flag field. | |
6733 | * tree-ssa-structalias.c (struct variable_info): Add | |
6734 | no_tbaa_pruning field. | |
6735 | (new_var_info): Initialize no_tbaa_pruning field. | |
6736 | (unify_nodes): Copy no_tbaa_pruning field. | |
6737 | (find_func_aliases): Handle CHANGE_DYNAMIC_TYPE_EXPR. | |
6738 | (dump_solution_for_var): Print no_tbaa_pruning flag. | |
6739 | (set_uids_in_ptset): Add no_tbaa_pruning parameter. Change all | |
6740 | callers. | |
6741 | (compute_tbaa_pruning): New static function. | |
6742 | (compute_points_to_sets): Remove CHANGE_DYNAMIC_TYPE_EXPR nodes. | |
6743 | Call compute_tbaa_pruning. | |
6744 | * tree-ssa-alias.c (may_alias_p): Test no_tbaa_flag for pointers. | |
6745 | * gimplify.c (gimplify_expr): Handle CHANGE_DYNAMIC_TYPE_EXPR. | |
6746 | * gimple-low.c (lower_stmt): Likewise. | |
6747 | * tree-gimple.c (is_gimple_stmt): Likewise. | |
6748 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
6749 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise. | |
6750 | * tree-inline.c (estimate_num_insns_1): Likewise. | |
6751 | (copy_result_decl_to_var): Likewise. | |
6752 | * expr.c (expand_expr_real_1): Likewise. | |
6753 | * tree-pretty-print.c (dump_generic_node): Likewise. | |
6754 | * tree-inline.c (copy_decl_to_var): Copy DECL_NO_TBAA_P flag. | |
6755 | * omp-low.c (omp_copy_decl_2): Likewise. | |
6756 | * print-tree.c (print_node): Print DECL_NO_TBAA_P flag. | |
6757 | * doc/c-tree.texi (Expression trees): Document | |
6758 | CHANGE_DYNAMIC_TYPE_EXPR. | |
6759 | ||
83753444 | 6760 | 2007-06-12 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
6761 | ||
6762 | * fold-const.c (fold_binary): Guard (X-X) -> 0 transformation | |
6763 | with !HONOR_NANS and !HONOR_INFINITIES. | |
6764 | * simplify-rtx.c (simplify_binary_operation_1): Likewise. | |
6765 | ||
91cec198 | 6766 | 2007-06-12 Tristan Gingold <gingold@adacore.com> |
6767 | ||
6768 | * gcov.c: Comments updated. | |
6769 | (source_info): Add file_time field. | |
6770 | (source_index): New variable. | |
6771 | (mutiple_files): New variable. | |
6772 | (generate_results): New function extracted from process_file. | |
6773 | (process_file): Save and restore chain of functions, generate | |
6774 | results and free structures only if not merging results. | |
6775 | (release_structures): File names are now freed in create_file_names | |
6776 | (create_file_names): Free previous file names. | |
6777 | (find_source): File date is now read here and modifications in | |
6778 | source files is checked here. | |
6779 | (read_graph_file): Only reverse order of functions for the current | |
6780 | object file. | |
6781 | (make_gcov_file_name): Do not generate long names if input_name is | |
6782 | NULL. | |
23d5b88f | 6783 | (output_lines): If merging results do not display graph, data and |
91cec198 | 6784 | runs informations. |
6785 | Checking source file modification is done in find_source. | |
6786 | ||
6787 | * doc/gcov.texi: Append an s to sourcefile. | |
6788 | ||
d18119ae | 6789 | 2007-06-12 Bernd Schmidt <bernd.schmidt@analog.com> |
6790 | ||
6791 | * config/bfin/bfin.md (UNSPEC_NOP): New constant. | |
6792 | (forced_nop): New pattern. | |
6793 | * config/bfin/bfin.c: Include "df.h". | |
6794 | (add_to_reg): Use df_regs_ever_live_p instead of regs_ever_live. | |
6795 | (bfin_discover_loop): Use df_get_live_in instead of | |
6796 | global_live_at_start. | |
6797 | (bfin_reorder_loops): Pass 0 to cfg_layout_initialize. Call | |
6798 | df_analyze when done. | |
6799 | (gen_one_bundle): Don't generate SEQUENCE insns, just put modes on | |
6800 | the insns. Use QImode for the final insn in a bundle. Call | |
6801 | df_insn_rescan on generated NOPs; use gen_forced_nop instead of | |
6802 | gen_nop. | |
6803 | (reorder_var_tracking_notes): New function. | |
6804 | (bfin_reorg): Pass no argument to split_all_insns. Don't call | |
6805 | update_life_info. Call df_analyze after scheduling and bundle | |
ed69c853 | 6806 | generation. Call reorder_var_tracking_notes if generating these |
6807 | notes. Call df_finish_pass at the end. | |
d18119ae | 6808 | |
b1906db7 | 6809 | 2007-06-12 Dirk Mueller <dmueller@suse.de> |
6810 | ||
5f9c8932 | 6811 | * optabs.c (debug_optab_libfuncs): fix gcc_assert to |
b1906db7 | 6812 | a comparison, not an assignment. |
6813 | ||
528571a4 | 6814 | 2007-06-12 Olivier Hainque <hainque@adacore.com> |
6815 | ||
6816 | * tree-nested.c (convert_local_reference): Handle VIEW_CONVERT_EXPR. | |
6817 | Request walking the subtrees only, leaving the current is_lhs/val_only | |
6818 | untouched. | |
6819 | (convert_non_local_reference): Likewise. | |
23d5b88f | 6820 | |
de7d4e07 | 6821 | 2007-06-12 Nathan Sidwell <nathan@codesourcery.com> |
6822 | ||
6823 | * config/m68k/m68k-devices.def (52221, 52223, 5253): New. | |
23d5b88f | 6824 | |
8530c7be | 6825 | 2007-06-12 Richard Guenther <rguenther@suse.de> |
6826 | ||
6827 | PR tree-optimization/15353 | |
6828 | PR tree-optimization/31657 | |
6829 | * passes.c (init_optimization_passes): Add pass_tree_ifcombine. | |
6830 | * timevar.def: Add TV_TREE_IFCOMBINE. | |
6831 | * tree-pass.h (pass_tree_ifcombine): Declare. | |
6832 | * tree-ssa-ifcombine.c: New file. | |
6833 | * tree-ssa-phiopt.c (blocks_in_phiopt_order): Export. | |
6834 | * tree-flow.h (blocks_in_phiopt_order): Declare. | |
6835 | * Makefile.in (OBJS-common): Add tree-ssa-ifcombine.o. | |
6836 | (tree-ssa-ifcombine.o): New dependencies. | |
6837 | ||
bf6a5269 | 6838 | 2007-06-12 Uros Bizjak <ubizjak@gmail.com> |
6839 | ||
6840 | PR rtl-optimization/32293 | |
6841 | * combine.c (simplify_if_then_else): Truncate return from | |
6842 | nonzero_bits() to correct mode. | |
6843 | ||
a307ebdf | 6844 | 2007-06-12 Uros Bizjak <ubizjak@gmail.com> |
6845 | ||
6846 | * fold-const (fold_binary) [RDIV_EXPR]: Also optimize a/cbrt(b/c) | |
6847 | into a*cbrt(c/b) if flag_unsafe_math_optimizations is set. | |
6848 | ||
0c1fe26b | 6849 | 2007-06-11 Diego Novillo <dnovillo@google.com> |
6850 | ||
6851 | * Makefile.in (reload1.o-warn): Remove. | |
6852 | ||
a962da05 | 6853 | 2007-06-11 Seongbae Park <seongbae.park@gmail.com> |
6854 | ||
6855 | * combine.c (subst): Use reg_overlap_mentioned_p | |
6856 | instead of comparing register numbers directly. | |
6857 | ||
ba0876aa | 6858 | 2007-06-11 Kenneth Zadeck <zadeck@naturalbridge.com> |
6859 | ||
6860 | * reload1.c (mark_home_live_1): Use the mode parameter. | |
6861 | ||
a3de79f9 | 6862 | 2007-06-11 Kenneth Zadeck <zadeck@naturalbridge.com> |
6863 | ||
6864 | * df-scan.c (df_insn_delete, df_insn_rescan, df_insn_rescan_all, | |
6865 | df_process_deferred_rescans, df_notes_rescan): Fixed spelling of | |
6866 | word "deferred". | |
6867 | * df-core.c: Ditto. | |
23d5b88f | 6868 | |
3072d30e | 6869 | 2007-06-11 Daniel Berlin <dberlin@dberlin.org> |
6870 | ||
6871 | * Merge dataflow-branch into mainline (see ChangeLog.dataflow) | |
6872 | ||
8ceb1bfd | 6873 | 2007-06-11 Uros Bizjak <ubizjak@gmail.com> |
6874 | ||
6875 | * config/i386/i386.md ("*movtf_internal): Penalize moves to and | |
6876 | from integer registers. | |
6877 | (FP mode splitters): Handle TFmode. | |
6878 | ||
2bff6d8b | 6879 | 2007-06-11 Eric Botcazou <ebotcazou@adacore.com> |
6880 | ||
6881 | * tree-ssa-structalias.c (find_what_p_points_to): Return false | |
6882 | for ref-all pointers that point-to anything. | |
6883 | ||
4471a482 | 6884 | 2007-06-11 Joseph Myers <joseph@codesourcery.com> |
6885 | ||
6886 | * config/arm/arm.c (arm_output_dwarf_dtprel, | |
6887 | TARGET_ASM_OUTPUT_DWARF_DTPREL): New. | |
6888 | ||
7770f4b8 | 6889 | 2007-06-11 Bernd Schmidt <bernd.schmidt@analog.com> |
6890 | ||
6891 | * config/bfin/bfin.md (movdi_insn, movsi_insn, movv2hi_insn, | |
6892 | movhi_insn, movqi_insn, movsf_insn, movdf_insn): Don't allow constant | |
6893 | to memory moves. | |
6894 | ||
71354ca1 | 6895 | 2007-06-11 Rafael Avila de Espindola <espindola@google.com> |
6896 | ||
6897 | * gcc/tree.c (signed_or_unsigned_type_for): New. | |
6898 | (unsigned_type_for): Use signed_or_unsigned_type_for. | |
6899 | (signed_type_for): Use signed_or_unsigned_type_for. | |
6900 | * gcc/tree.h (signed_or_unsigned_type_for): New. | |
6901 | (get_signed_or_unsigned_type): Remove. | |
6902 | * gcc/fold-const.c (fold_negate_expr): Use signed_type_for instead of | |
6903 | lang_hooks.types.signed_type | |
6904 | (size_diffop): Likewise. | |
6905 | (all_ones_mask_p): Likewise. | |
6906 | (build_range_check): Likewise. | |
6907 | (fold_cond_expr_with_comparison): Likewise. | |
6908 | (fold_cond_expr_with_comparison): Likewise. | |
6909 | (unextend): Likewise. | |
6910 | (extract_muldiv_1): Likewise. | |
6911 | (fold_single_bit_test_into_sign_test): Likewise. | |
6912 | (fold_binary): Likewise. | |
6913 | (fold_ternary): Likewise. | |
6914 | (operand_equal_for_comparison_p): Use signed_or_unsigned_type_for | |
6915 | instead of get_signed_or_unsigned_type. | |
6916 | * gcc/c-objc-common.h (LANG_HOOKS_SIGNED_TYPE): Remove. | |
6917 | (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove. | |
6918 | * gcc/expr.c (signed_or_unsigned_type_for): Use | |
6919 | signed_or_unsigned_type_for instead of get_signed_or_unsigned_type. | |
6920 | * gcc/langhooks.c (get_signed_or_unsigned_type): Remove. | |
6921 | (lhd_signed_or_unsigned_type): Remove. | |
6922 | * gcc/langhooks.h (lang_hooks_for_types): Remove signed_type and | |
6923 | signed_or_unsigned_type. | |
6924 | (lhd_signed_or_unsigned_type): Remove. | |
6925 | * gcc/expmed.c (make_tree): Use signed_type_for instead of | |
6926 | lang_hooks.types.signed_type. | |
6927 | * gcc/c-common.c (same_scalar_type_ignoring_signedness): Use | |
6928 | c_common_signed_type instead of lang_hooks.types.signed_type. | |
6929 | (c_common_unsigned_type): New. | |
6930 | (c_common_signed_type): Just call c_common_signed_or_unsigned_type. | |
6931 | (shorten_compare): Use c_common_unsigned_type instead of | |
6932 | c_common_signed_or_unsigned_type. | |
6933 | (c_common_nodes_and_builtins): Use c_common_unsigned_type instead of | |
6934 | unsigned_type_for. | |
6935 | * gcc/convert.c (convert_to_integer): Use signed_type_for instead of | |
6936 | lang_hooks.types.signed_type. | |
6937 | * gcc/langhooks-def.h (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Remove. | |
6938 | (LANG_HOOK_FOR_TYPES_INITIALIZER): Remove LANG_HOOKS_SIGNED_TYPE and | |
6939 | LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE. | |
6940 | * gcc/c-format.c (check_format_types): Use c_common_unsigned_type | |
6941 | instead of unsigned_type_for. | |
6942 | * gcc/c-decl.c (groakdeclarator): Likewise. | |
6943 | * gcc/c-typeck.c (convert_for_assignment): Likewise. | |
6944 | * gcc/c-common.h (c_common_unsigned_type): New. | |
6945 | ||
13c14c08 | 6946 | 2007-06-11 Uros Bizjak <ubizjak@gmail.com> |
6947 | ||
6948 | PR target/32280 | |
6949 | * config/i386/sse.md ("sse2_ashlti", "sse2_lshrti3"): Move ... | |
6950 | * config/i386/i386.md ("sse2_ashlti", "sse2_lshrti3"): ... to here. | |
6951 | ||
93ad369f | 6952 | 2007-06-11 Uros Bizjak <ubizjak@gmail.com> |
6953 | ||
6954 | PR middle-end/32279 | |
6955 | * fold-const (fold_binary) [RDIV_EXPR]: Optimize a/sqrt(b/c) | |
6956 | into a*sqrt(c/b) if flag_unsafe_math_optimizations is set. | |
6957 | ||
a89f7eec | 6958 | 2007-06-10 Jan Sjodin <jan.sjodin@amd.com> |
6959 | Sebastian Pop <sebpop@gmail.com> | |
6960 | ||
6961 | * lambda-code.c (remove_iv): New. | |
6962 | (lambda_loopnest_to_gcc_loopnest): Use remove_iv. | |
6963 | ||
5b5037b3 | 6964 | 2007-06-10 Zdenek Dvorak <dvorakz@suse.cz> |
6965 | ||
6966 | * tree-data-ref.c (dr_analyze_alias): Handle case smt is NULL. | |
6967 | * tree-predcom.c (mark_virtual_ops_for_renaming): Exported. | |
6968 | * tree-ssa-loop-prefetch.c: Include optabs.h. | |
6969 | (FENCE_FOLLOWING_MOVNT): New macro. | |
6970 | (struct mem_ref): Add independent_p and storent_p fields. | |
6971 | (record_ref): Initalize the new fields. | |
6972 | (gather_memory_references_ref): Return true if the reference | |
6973 | could be analysed. | |
6974 | (gather_memory_references): Check whether all memory accesses | |
6975 | in loop were recorded. | |
6976 | (should_issue_prefetch_p): Return false for nontemporal stores. | |
6977 | (nontemporal_store_p, mark_nontemporal_store, emit_mfence_after_loop, | |
6978 | may_use_storent_in_loop_p, mark_nontemporal_stores): New functions. | |
6979 | (determine_loop_nest_reuse): Detect independent memory references. | |
6980 | (loop_prefetch_arrays): Call mark_nontemporal_stores. | |
6981 | * tree-flow.h (mark_virtual_ops_for_renaming): Declare. | |
6982 | * Makefile.in (tree-ssa-loop-prefetch.o): Add OPTABS_H dependency. | |
6983 | * config/i386/i386.h (x86_mfence): Declare. | |
6984 | (FENCE_FOLLOWING_MOVNT): Return x86_mfence. | |
6985 | * config/i386/i386.c (x86_mfence): New variable. | |
6986 | (ix86_init_mmx_sse_builtins): Initialize x86_mfence. | |
6987 | ||
6988 | * tree-pretty-print.c (dump_generic_node): Mark nontemporal stores. | |
6989 | * optabs.c (init_optabs): Initialize storent_optab. | |
6990 | * optabs.h (enum optab_index): Add OTI_storent. | |
6991 | (storent_optab): Declare. | |
6992 | * genopinit.c (optabs): Add initialization for storent_optab. | |
6993 | * tree.h (MOVE_NONTEMPORAL): New macro. | |
6994 | * expr.c (expand_assignment, store_expr, store_constructor_field, | |
6995 | store_constructor, store_field, expand_expr_real_1): Propagate | |
6996 | nontemporality of the expanded store. | |
6997 | (emit_storent_insn): New function. | |
6998 | * expr.h (expand_assignment, store_expr): Declaration changed. | |
6999 | * function.c (assign_parm_setup_reg): Pass false as nontemporality | |
7000 | to expand_assignment. | |
7001 | * stmt.c (expand_asm_expr): Ditto. | |
7002 | * calls.c (initialize_argument_information): Pass false as | |
7003 | nontemporality to store_expr. | |
7004 | * config/i386/sse.md (storentv4sf, storentv2df, storentv2di, | |
7005 | storentsi): New. | |
7006 | ||
5f414da7 | 7007 | 2007-06-09 Daniel Berlin <dberlin@dberlin.org> |
7008 | ||
7009 | * tree-ssa-structalias.c (set_uids_in_ptset): Add is_deref'd | |
7010 | parameter, use it. | |
7011 | (find_what_p_points_to): Pass new parameter to set_uids_in_ptset. | |
7012 | ||
676792f6 | 7013 | 2007-06-09 Daniel Berlin <dberlin@dberlin.org> |
7014 | ||
7015 | * tree-data-ref.c (dr_may_alias_p): Check that decl_a != decl_b, | |
7016 | and allow DECL_P here. | |
7017 | ||
de39d8ad | 7018 | 2007-06-09 Zdenek Dvorak <dvorakz@suse.cz> |
7019 | ||
7020 | * tree-scalar-evolution.c (follow_ssa_edge_in_rhs, | |
7021 | follow_ssa_edge_in_condition_phi, follow_ssa_edge): Keep more precise | |
7022 | track of the size of the expression. | |
7023 | * cfghooks.c (merge_blocks): Remove block from loops structure only | |
7024 | after call of the merge_blocks hook. | |
7025 | ||
81f218ec | 7026 | 2007-06-09 Tom Tromey <tromey@redhat.com> |
7027 | ||
7028 | * c-decl.c (grokdeclarator): Added 'deprecated_state' argument. | |
7029 | (deprecated_state): Removed. | |
7030 | (start_decl): Update. | |
7031 | (enum deprecated_states): Moved earlier. | |
7032 | (groktypename): Update. | |
7033 | (push_parm_decl): Likewise. | |
7034 | (grokfield): Likewise. | |
7035 | (start_function): Likewise. | |
7036 | ||
6d02409c | 7037 | 2007-06-09 Ian Lance Taylor <iant@google.com> |
7038 | ||
7039 | PR tree-optimization/32169 | |
7040 | * tree-vrp.c (extract_range_from_unary_expr): For NOP_EXPR and | |
7041 | CONVERT_EXPR, check whether min and max both converted to an | |
7042 | overflow infinity representation. | |
7043 | ||
ab30576b | 7044 | 2007-06-08 Eric Botcazou <ebotcazou@adacore.com> |
7045 | ||
7046 | * reload1.c (fixup_abnormal_edges): Clear bb field for insns | |
7047 | not inserted on the edge. | |
7048 | ||
8fc03a23 | 7049 | 2007-06-08 Bob Wilson <bob.wilson@acm.org> |
7050 | ||
7051 | * config/xtensa/lib1funcs.asm (__udivsi3): Use hardware divide | |
7052 | instructions if they are supported. | |
7053 | (__divsi3, __umodsi3, __modsi3): Likewise. | |
7054 | (__ashldi3, __ashrdi3, __lshrdi3): New. | |
7055 | * config/xtensa/t-xtensa (LIB1ASMFUNCS): Add DImode shift functions. | |
23d5b88f | 7056 | |
867c03eb | 7057 | 2007-06-08 Harsha Jagasia <harsha.jagasia@amd.com> |
7334ad53 | 7058 | Tony Linthicum <tony.linthicum@amd.com> |
867c03eb | 7059 | |
621a93b1 | 7060 | * doc/invoke.texi: Add fvect-cost-model flag. |
867c03eb | 7061 | * common.opt (fvect-cost-model): New flag. |
7062 | * tree-vectorizer.c (new_stmt_vec_info): Initialize inside and outside | |
7063 | cost fields in stmt_vec_info struct for STMT. | |
7064 | * tree-vectorizer.h (stmt_vec_info): Define inside and outside cost | |
7065 | fields in stmt_vec_info struct and access functions for the same. | |
7066 | (TARG_COND_BRANCH_COST): Define cost of conditional branch. | |
7067 | (TARG_VEC_STMT_COST): Define cost of any vector operation, excluding | |
7068 | load, store and vector to scalar operation. | |
7069 | (TARG_VEC_TO_SCALAR_COST): Define cost of vector to scalar operation. | |
7070 | (TARG_VEC_LOAD_COST): Define cost of aligned vector load. | |
7071 | (TARG_VEC_UNALIGNED_LOAD_COST): Define cost of misasligned vector load. | |
7072 | (TARG_VEC_STORE_COST): Define cost of vector store. | |
7073 | (vect_estimate_min_profitable_iters): Define new function. | |
7074 | * tree-vect-analyze.c (vect_analyze_operations): Add a compile-time | |
7075 | check to evaluate if loop iterations are less than minimum profitable | |
7076 | iterations determined by cost model or minimum vect loop bound defined | |
7077 | by user, whichever is more conservative. | |
7078 | * tree-vect-transform.c (vect_do_peeling_for_loop_bound): Add a | |
7079 | run-time check to evaluate if loop iterations are less than minimum | |
7080 | profitable iterations determined by cost model or minimum vect loop | |
7081 | bound defined by user, whichever is more conservative. | |
7082 | (vect_estimate_min_profitable_iterations): New function to estimate | |
7083 | mimimimum iterartions required for vector version of loop to be | |
7084 | profitable over scalar version. | |
d07cd931 | 7085 | (vect_model_reduction_cost): New function. |
867c03eb | 7086 | (vect_model_induction_cost): New function. |
7087 | (vect_model_simple_cost): New function. | |
7088 | (vect_cost_strided_group_size): New function. | |
7089 | (vect_model_store_cost): New function. | |
7090 | (vect_model_load_cost): New function. | |
7091 | (vectorizable_reduction): Call vect_model_reduction_cost during | |
7092 | analysis phase. | |
7093 | (vectorizable_induction): Call vect_model_induction_cost during | |
7094 | analysis phase. | |
7095 | (vectorizable_load): Call vect_model_load_cost during analysis phase. | |
7096 | (vectorizable_store): Call vect_model_store_cost during analysis phase. | |
7097 | (vectorizable_call, vectorizable_assignment, vectorizable_operation, | |
23d5b88f | 7098 | vectorizable_promotion, vectorizable_demotion): Call |
867c03eb | 7099 | vect_model_simple_cost during analysis phase. |
7100 | ||
2d0ff363 | 7101 | 2007-06-08 Simon Baldwin <simonb@google.com> |
7102 | ||
7103 | * reg-stack.c (get_true_reg): Readability change. Moved default case | |
7104 | label into direct switch statement scope. | |
7105 | ||
a5f2f36e | 7106 | 2007-06-08 Simon Baldwin <simonb@google.com> |
7107 | ||
7108 | * tree-flow-inline.h (var_ann): Replaced erroneous '=' assignment | |
7109 | in gcc_assert() with '==' comparison. | |
7110 | ||
56c90f67 | 7111 | 2007-06-08 Uros Bizjak <ubizjak@gmail.com> |
7112 | ||
7113 | * config/i386/i386.c (override_options): Merge TARGET_SSE4_2 and | |
7114 | TARGET_ABM handling of x86_popcnt variable. | |
7115 | ||
c902c5c2 | 7116 | 2007-06-08 Uros Bizjak <ubizjak@gmail.com> |
7117 | ||
7118 | * doc/extend.texi (X86 Built-in Functions): Document __builtin_fabsq, | |
7119 | __builtin_copysignq and __builtin_infq built-in functions. | |
7120 | ||
e6fc1977 | 7121 | 2007-06-08 Uros Bizjak <ubizjak@gmail.com> |
7122 | ||
7123 | * doc/extend.texi (X86 Built-in Functions): Add missing `@item's in | |
7124 | SSE4.2 section. Correct built-in function names in SSE4A section. | |
7125 | ||
6fc069dd | 7126 | 2007-06-08 Uros Bizjak <ubizjak@gmail.com> |
7127 | ||
7128 | PR tree-optimization/32243 | |
7129 | * tree-vect-transform.c (vectorizable_type_promotion): Move check | |
7130 | for ncopies after ratio check between nunits_out and nunits_in. | |
7131 | (vectorizable_type_demotion): Remove single-use variable "scalar_type". | |
7132 | ||
bf094cbb | 7133 | 2007-06-08 Dorit Nuzman <dorit@il.ibm.com> |
7134 | ||
7135 | PR tree-optimization/32224 | |
7136 | * tree-vect-analyze.c (vect_determine_vectorization_factor): Fail | |
7137 | vectorization upon a non GIMPLE_MODIFY_STMT. | |
7138 | ||
b06b27dd | 7139 | 2007-06-08 Christian Bruel <christian.bruel@st.com> |
7140 | ||
7141 | PR target/29953 | |
7142 | * config/sh/sh.md (doloop_end): New pattern and splitter. | |
7143 | * loop-iv.c (simple_rhs_p): Check for hardware registers. | |
23d5b88f | 7144 | |
0bffc570 | 7145 | 2007-06-08 Zdenek Dvorak <dvorakz@suse.cz> |
7146 | ||
7147 | PR middle-end/32209 | |
7148 | * dominance.c (debug_dominance_tree, debug_dominance_tree_1): New | |
7149 | functions. | |
7150 | (verify_dominators): Do not change dominance tree. | |
7151 | ||
abff7a2e | 7152 | 2007-06-08 Kaz Kojima <kkojima@gcc.gnu.org> |
7153 | ||
7154 | * config/sh/constraints.md: New file. | |
7155 | * config/sh/sh.c: Include tm-constrs.h. | |
7156 | (reg_class_from_letter): Remove. | |
7157 | (prepare_cbranch_operands): Use satisfies_constraint_* | |
7158 | function instead of macro. | |
7159 | (andcosts, broken_move, sh_secondary_reload): Likewise. | |
7160 | * config/sh/predicates.md (trapping_target_operand): Likewise. | |
7161 | (and_operand, arith_operand, arith_reg_or_0_operand, | |
7162 | cmp_operand, logical_operand, target_operand, | |
7163 | ua_address_operand, ua_offset, xor_operand): Likewise. | |
7164 | * config/sh/sh.md: Include constraints.md. | |
7165 | (*movsicc_t_false): Use satisfies_constraint_* function | |
7166 | instead of macro. | |
7167 | (*movsicc_t_true, ashlsi3_std, ashlhi3_k, lshrsi3_m, | |
7168 | lshrsi3_k, movsi_const_16bit+2, *movhi_media+1, | |
7169 | movdi_const_16bit+1, beq, bne, *ptb): Likewise. | |
7170 | * config/sh/sh.h (reg_class_from_letter): Remove prototype. | |
7171 | (OVERRIDE_OPTIONS): Don't modify reg_class_from_letter. | |
7172 | (REG_CLASS_FROM_CONSTRAINT): Remove. | |
7173 | (CONSTRAINT_LEN, CONST_OK_FOR_I20, CONST_OK_FOR_I, | |
7174 | CONST_OK_FOR_J, CONST_OK_FOR_K16, CONST_OK_FOR_K, | |
7175 | CONST_OK_FOR_P27, CONST_OK_FOR_P, CONST_OK_FOR_M, | |
7176 | CONST_OK_FOR_N, CONST_OK_FOR_CONSTRAINT_P, | |
7177 | CONST_DOUBLE_OK_FOR_LETTER_P): Likewise. | |
7178 | (SECONDARY_INOUT_RELOAD_CLASS): Use satisfies_constraint_* | |
7179 | function instead of macro. | |
7180 | (SECONDARY_INPUT_RELOAD_CLASS): Likewise. | |
7181 | (EXTRA_CONSTRAINT_Q, EXTRA_CONSTRAINT_A, | |
7182 | EXTRA_CONSTRAINT_Bsc, EXTRA_CONSTRAINT_B, | |
7183 | EXTRA_CONSTRAINT_Css, EXTRA_CONSTRAINT_Csu): Remove. | |
7184 | (IS_PC_RELATIVE_LOAD_ADDR_P): New macro. | |
7185 | (IS_LITERAL_OR_SYMBOLIC_S16_P): Likewise. | |
7186 | (IS_LITERAL_OR_SYMBOLIC_U16_P): Likewise. | |
7187 | (IS_NON_EXPLICIT_CONSTANT_P): Likewise. | |
7188 | (EXTRA_CONSTRAINT_Csy, EXTRA_CONSTRAINT_Z, EXTRA_CONSTRAINT_W, | |
7189 | EXTRA_CONSTRAINT_Cpg, EXTRA_CONSTRAINT_C, | |
7190 | EXTRA_MEMORY_CONSTRAINT, EXTRA_CONSTRAINT_Sr0, | |
7191 | EXTRA_CONSTRAINT_Sua, EXTRA_CONSTRAINT_S, | |
7192 | EXTRA_CONSTRAINT_STR): Likewise. | |
7193 | (GO_IF_LEGITIMATE_INDEX): Fix indentation. | |
7194 | ||
af8490b1 | 7195 | 2007-06-07 Geoffrey Keating <geoffk@apple.com> |
7196 | ||
7197 | * config/i386/darwin.h (STACK_BOUNDARY): Define. | |
7198 | ||
6dcdb5de | 7199 | 2007-06-07 Simon Martin <simartin@users.sourceforge.net> |
7200 | ||
7201 | PR c++/30759 | |
7202 | * c-common.h (flag_cpp0x): Replaced by... | |
7203 | (cxx_dialect): ... this new variable specifying the C++ dialect that | |
7204 | is used. | |
7205 | * c-common.c (flag_cpp0x): Removed. | |
7206 | (cxx_dialect): Defined. | |
7207 | * c-cppbuiltin.c (c_cpp_builtins): flag_cpp0x rewritten in terms of | |
7208 | cxx_dialect. | |
7209 | * c-opts.c (c_common_post_options): Likewise. | |
7210 | (set_std_cxx98): Set cxx_dialect to cxx98. | |
7211 | (set_std_cxx0x): Set cxx_dialect to cxx0x. | |
7212 | ||
af8490b1 | 7213 | 2007-06-07 Geoffrey Keating <geoffk@apple.com> |
a9540fb6 | 7214 | Hui-May Chang <hm.chang@apple.com> |
7215 | ||
7216 | * doc/invoke.texi (Darwin Options): Update documentation for | |
7217 | -mmacosx-version-min. | |
7218 | * config.gcc (*-*-darwin*): Set extra_gcc_objs. | |
7219 | * config/darwin-driver.c: New file. | |
7220 | * config/darwin.h (GCC_DRIVER_HOST_INITIALIZATION): New. | |
7221 | * config/t-darwin (darwin-driver.o): New rule. | |
7222 | ||
7223 | * config/darwin-c.c (version_as_macro): Ignore low digit. | |
7224 | ||
349d9d0e | 7225 | 2007-06-07 Uros Bizjak <ubizjak@gmail.com> |
7226 | ||
7227 | * config/i386/i386.md (standard sse constant splitter): Handle TFmode. | |
7228 | (negtf2, abstf2, *absnegtf2_sse): New insn patterns. | |
7229 | (CSGNMODE): New mode macro. | |
7230 | (CSGNVMODE): New mode attribute. | |
7231 | (copysign<mode>3): Rename from copysingsf3 and copysigndf3. Macroize | |
7232 | expander using CSGNMODE mode macro. Handle TFmode. | |
7233 | (copysign<mode>3_const): Rename from copysignsf3_const and | |
7234 | copysigndf3_const. Macroize pattern using CSGNMODE mode macro. | |
7235 | Handle TFmode. | |
7236 | (copysign<mode>3_var): Rename from copysignsf3_var and | |
7237 | copysigndf3_var. Macroize pattern using CSGNMODE mode macro. | |
7238 | Handle TFmode. | |
7239 | (copysign<mode>3_var splitter): Macroize pattern using CSGNMODE | |
7240 | mode macro. Handle TFmode. | |
7241 | * config/i386/sse.md (andtf3, *andtf3, *nandtf3): New insn patterns. | |
7242 | (iortf3, *iortf3): Ditto. | |
7243 | (xortf3, *xortf3): Ditto. | |
7244 | * config/i386/i386.c (ix86_build_signbit_mask): Create scalar | |
7245 | TFmode and TImode masks. | |
7246 | (ix86_expand_copysign): Expand TFmode copysign insn. | |
7247 | (IX86_BUILTIN_INFQ): New. | |
7248 | (IX86_BUILTIN_FABSQ): Ditto. | |
7249 | (IX86_BUILTIN_COPYSIGNQ): Ditto. | |
7250 | (ix86_init_mmx_sse_builtins) [__builtin_infq]: New builtin definition. | |
7251 | [__builtin_fabsq]: Ditto. | |
7252 | [__builtin_copysignq]: Ditto. | |
7253 | (ix86_expand_builtin) [IX86_BUILTIN_INFQ]: Expand builtin. | |
7254 | [IX86_BUILTIN_FABSQ]: Expand builtin using ix86_expand_unop_builtin(). | |
7255 | [IX86_BUILTIN_COPYSIGNQ]: Expand builtin using | |
7334ad53 | 7256 | ix86_expand_binop_builtin(). |
349d9d0e | 7257 | |
252b29c9 | 7258 | 2007-06-07 Bob Wilson <bob.wilson@acm.org> |
7259 | ||
7260 | * config/xtensa/lib1funcs.asm: Clean up whitespace. | |
7261 | ||
28bf151d | 7262 | 2007-06-07 Steve Ellcey <sje@cup.hp.com> |
7263 | ||
7264 | PR target/31850 | |
7265 | * rtl.h (push_to_sequence2): New. | |
7266 | * emit-rtl.c (push_to_sequence2): New. | |
7267 | * function.c (assign_parm_data_all): Add new fields. | |
23d5b88f | 7268 | (assign_parm_setup_block): Call push_to_sequence2 instead of |
28bf151d | 7269 | push_to_sequence. |
7270 | (assign_parm_setup_reg): Ditto. | |
7271 | (assign_parm_setup_stack): Ditto. | |
7272 | (assign_parms_unsplit_complex): Ditto. | |
7273 | (assign_parms): Change field name. | |
7274 | ||
3fa1e4f2 | 7275 | 2007-06-07 Zdenek Dvorak <dvorakz@suse.cz> |
7276 | ||
7277 | PR tree-optimization/32220 | |
7278 | * tree-predcom.c (eliminate_temp_copies): Handle the case that loop | |
7279 | phi node is reached before defining statement. | |
7280 | ||
b8905cbc | 7281 | 2007-06-06 Andrew Pinski <andrew_pinski@playstation.sony.com> |
7282 | ||
7283 | PR tree-opt/32231 | |
7284 | * tree-vect-transform.c (vectorizable_call): Call update_stmt | |
7285 | after changing the right hand side of the assignment. | |
7286 | ||
0c439d1a | 7287 | 2007-06-06 Eric Christopher <echristo@apple.com> |
7288 | ||
7289 | * config.gcc (i?86-*-darwin*): Remove arch parameter. | |
7290 | (x86_64-*-darwin*): Ditto. | |
7291 | * config/i386/darwin.h (TARGET_SUBTARGET32_ISA_DEFAULT): Define. | |
7292 | (TARGET_SUBTARGET64_ISA_DEFAULT): Ditto. | |
7293 | ||
f0d6e81c | 7294 | 2007-06-06 Thomas Neumann <tneumann@users.sourceforge.net> |
7295 | ||
7296 | * tree-ssa-alias-warnings.c (maybe_add_match): Cast according to the | |
7297 | coding conventions. | |
7298 | (add_key): Likewise. | |
7299 | * tree-ssa.c (init_tree_ssa): Use type safe memory macros. | |
7300 | * tree-ssa-ccp.c (ccp_fold_builtin): Avoid using C++ keywords as | |
7301 | variable names. | |
ed69c853 | 7302 | * tree-ssa-coalesce.c (find_coalesce_pair): Use type safe memory |
7303 | macros. | |
f0d6e81c | 7304 | (add_cost_one_coalesce): Likewise. |
7305 | * tree-ssa-copy.c (merge_alias_info): Avoid using C++ keywords as | |
7306 | variable names. Rename orig to orig_name for consistency. | |
ed69c853 | 7307 | * tree-ssa-dom.c (dom_thread_across_edge): Cast according to the |
7308 | coding conventions. | |
7309 | (cprop_into_successor_phis): Avoid using C++ keywords as variable | |
7310 | names. | |
f0d6e81c | 7311 | (record_equivalences_from_stmt): Likewise. |
7312 | * tree-ssa-dse.c (dse_initialize_block_local_data): Cast according to | |
7313 | the coding conventions. | |
7314 | (memory_ssa_name_same): Likewise. | |
7315 | (dse_optimize_stmt): Likewise. | |
7316 | (dse_record_phis): Likewise. | |
7317 | (dse_finalize_block): Likewise. | |
7318 | * tree-ssa-loop-im.c (outermost_invariant_loop_expr): Avoid using C++ | |
7319 | keywords as variable names. | |
7320 | (may_move_till): Cast according to the coding conventions. | |
7321 | (force_move_till_expr): Avoid using C++ keywords as variable names. | |
7322 | (force_move_till): Cast according to the coding conventions. | |
7323 | (memref_hash): Likewise. | |
7324 | (memref_eq): Likewise. | |
7325 | (gather_mem_refs_stmt): Likewise. | |
ed69c853 | 7326 | * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Avoid |
7327 | using C++ keywords as variable names. | |
f0d6e81c | 7328 | (idx_find_step): Cast according to the coding conventions. |
7329 | (idx_record_use): Likewise. | |
7330 | (find_depends): Likewise. | |
7331 | (prepare_decl_rtl): Likewise. | |
7332 | (mbc_entry_hash): Likewise. | |
7333 | (mbc_entry_eq): Likewise. | |
7334 | * tree-ssa-loop-niter.c (SWAP): Use the correct the type for tmp. | |
7335 | (simplify_replace_tree): Avoid using C++ keywords as variable names. | |
7336 | (idx_infer_loop_bounds): Cast according to the coding conventions. | |
7337 | * tree-ssa-loop-prefetch.c (idx_analyze_ref): Likewise. | |
7338 | * tree-ssa-math-opts.c (occ_new ): Likwise. | |
7339 | * tree-ssanames.c (duplicate_ssa_name_ptr_info): Use type safe memory | |
7340 | macros. | |
ed69c853 | 7341 | * tree-ssa-operands.c (add_def_op): Avoid using C++ keywords as |
7342 | variable names. | |
f0d6e81c | 7343 | (add_use_op): Likewise. |
7344 | (add_vop): Likewise. | |
7345 | (add_vuse_op): Likewise. | |
7346 | (add_vdef_op): Likewise. | |
7347 | (get_expr_operands): Likewise. | |
7348 | (push_stmt_changes): Use type safe memory macros. | |
7349 | * tree-ssa-phiopt.c (replace_phi_edge_with_variable): Avoid using C++ | |
7350 | keywords as variable names. | |
7351 | (conditional_replacement): Likewise. | |
7352 | (minmax_replacement): Likewise. | |
7353 | (abs_replacement): Likewise. | |
7354 | * tree-ssa-pre.c (create_expression_by_pieces): Cast according to the | |
7355 | coding conventions. | |
7356 | (insert_fake_stores): Avoid using C++ keywords as variable names. | |
7357 | * tree-ssa-reassoc.c (add_to_ops_vec): Cast according to the coding | |
7358 | conventions. | |
7359 | * tree-ssa-structalias.c (heapvar_lookup): Likewise. | |
7360 | (heapvar_insert): Use type safe memory macros. | |
7361 | (new_var_info): Cast according to the coding conventions. | |
7362 | (new_constraint): Likewise. | |
7363 | (remove_preds_and_fake_succs): Use type safe memory macros. | |
7364 | * tree-ssa-threadupdate.c (thread_block): Cast according to the coding | |
7365 | conventions. | |
7366 | (thread_single_edge): Likewise. | |
7367 | (thread_through_loop_header): Likewise. | |
7368 | ||
9e31df45 | 7369 | 2007-06-06 Eric Christopher <echristo@apple.com> |
7370 | ||
7371 | * config/i386/i386.c (override_options): Move handling | |
7372 | of TARGET_SUBTARGET* earlier. | |
7373 | ||
cc253ec9 | 7374 | 2007-06-06 Paolo Bonzini <bonzini@gnu.org> |
7375 | ||
7376 | * genmodes.c (tagged_printf, emit_insn_modes_h): Don't | |
7377 | use %n on printf. | |
7378 | ||
39257eb5 | 7379 | 2007-06-06 Zdenek Dvorak <dvorakz@suse.cz> |
7380 | ||
7381 | * haifa-sched.c (restore_bb_notes): Clear bb field of the notes | |
7382 | emited outside of basic block. | |
7383 | * cfgbuild.c (find_bb_boundaries): Clear bb field for insns between | |
7384 | the created blocks. | |
7385 | * rtl.h (delete_insn_chain): Declaration changed. | |
7386 | * cfgrtl.c (delete_insn_chain): Add option to clear bb field for | |
7387 | non-removed insns. | |
7388 | (rtl_delete_block, rtl_merge_blocks): Pass true to delete_insn_chain. | |
7389 | (delete_insn_chain_and_edges, try_redirect_by_replacing_jump, | |
9e31df45 | 7390 | rtl_tidy_fallthru_edge, cfg_layout_merge_blocks): Pass false |
39257eb5 | 7391 | to delete_insn_chain. |
7392 | (rtl_verify_flow_info_1): Verify that the insns in header and footer | |
7393 | do not have bb field set. | |
7394 | (rtl_verify_flow_info): Verify that insns between basic blocks do not | |
7395 | have bb field set. | |
7396 | * recog.c (peephole2_optimize): Add argument to delete_insn_chain call. | |
7397 | * cfgcleanup.c (try_optimize_cfg): Ditto. | |
7398 | ||
eb7d9cdc | 7399 | 2007-06-06 Thomas Neumann <tneumann@users.sourceforge.net> |
7400 | ||
7401 | * lambda-code.c (struct lambda_lattice_s): Add a name to the struct. | |
7402 | (lambda_body_vector_new): Use type safe memory macros. | |
7403 | (lambda_linear_expression_new): Likewise. | |
7404 | (lambda_loopnest_new): Likewise. | |
7405 | (lambda_lattice_new): Likewise. | |
7406 | (replace_uses_equiv_to_x_with_y): Cast according to the coding | |
7407 | conventions. Use type safe memory macros. | |
7408 | * lambda.h (struct lambda_trans_matrix_s): Add a name to the struct. | |
7409 | (lambda_body_vector_s): Likewise. | |
7410 | * lambda-mat.c (lambda_matrix_new): Use type safe memory macros. | |
7411 | * lambda-trans.c (lambda_trans_matrix_new): Likewise. | |
7412 | ||
4c580c8c | 7413 | 2007-06-06 Richard Guenther <rguenther@suse.de> |
7414 | ||
7415 | * tree-ssa-forwprop.c (forward_propagate_into_cond): Return 2 | |
7416 | if we need to schedule cfg_cleanup. | |
7417 | (tree_ssa_forward_propagate_single_use_vars): Do so. | |
7418 | ||
bdc68add | 7419 | 2007-06-06 Ian Lance Taylor <iant@google.com> |
7420 | ||
7421 | * fold-const.c (merge_ranges): If range_successor or | |
7422 | range_predecessor fail, just return 0. | |
7423 | ||
bb6c9541 | 7424 | 2007-06-06 Uros Bizjak <ubizjak@gmail.com> |
7425 | ||
7426 | PR tree-optimization/32216 | |
7427 | * tree-vectorizer.c (supportable_widening_operation): Determine | |
7428 | signedness of FIX_TRUNC_EXPR from output operand. | |
7429 | (supportable_narrowing_operation): Ditto. | |
7430 | * tree-vect-generic.c (expand_vector_operations_1): Determine | |
7431 | signedness of VEC_UNPACK_FLOAT_HI_EXPR and VEC_UNPACK_FLOAT_LO_EXPR | |
7432 | from input operand. | |
7433 | ||
14526cae | 7434 | 2007-06-06 Thomas Neumann <tneumann@users.sourceforge.net> |
7435 | ||
7436 | * config/i386/i386.c (enum pta_flags): Move out of struct scope... | |
bb6c9541 | 7437 | (struct pta): ...from here. Change flags to unsigned to avoid |
7438 | excessive casting (as it is used as a bit mask). | |
14526cae | 7439 | (override_options): Add casts according to the coding convenventions. |
7440 | (x86_64_elf_unique_section): Likewise. | |
7441 | (examine_argument): Avoid using C++ keywords as variable names. | |
7442 | (construct_container): Likewise. | |
7443 | (legitimize_pic_address): Likewise. | |
7444 | (get_dllimport_decl): Cast according to the coding conventions. Use | |
7445 | type safe memory macros. | |
7446 | (legitimize_address): Cast according to the coding conventions. | |
7447 | (emit_i387_cw_initialization): Corrected the type of slot to enum | |
7448 | ix86_stack_slot. | |
7449 | (ix86_init_machine_status): Use type safe memory macros. | |
7450 | (bdesc_pcmpestr): Use UNKNOWN instead of integer 0. | |
7451 | (bdesc_pcmpistr): Likewise. | |
7452 | (bdesc_crc32): Likewise. | |
7453 | (bdesc_sse_3arg): Likewise. | |
7454 | (bdesc_2arg): Likewise. | |
7455 | (bdesc_1arg): Likewise. | |
7456 | (ix86_expand_sse_pcmpestr): Cast according to the coding conventions. | |
7457 | (ix86_expand_sse_pcmpistr): Likewise. | |
7458 | (ix86_expand_vec_set_builtin): Use EXPAND_NORMAL instead of integer 0. | |
7459 | (ix86_builtin_vectorized_function): Change the type of fn to unsigned | |
7460 | int to match the langhook definition. | |
7461 | (ix86_builtin_conversion): Change the type of code to unsigned init to | |
7462 | match the langhook definition. | |
7463 | (ix86_preferred_reload_class): Avoid using C++ keywords as variable | |
7464 | names. | |
7465 | (ix86_preferred_output_reload_class): Likewise. | |
7466 | (ix86_cannot_change_mode_class): Likewise. | |
7467 | (ix86_memory_move_cost): Likewise. | |
7468 | (ix86_rtx_costs): Cast the outer_code parameter to enum rtx_code to | |
7469 | avoid excessive casting later on. | |
7470 | (x86_output_mi_thunk): Avoid using C++ keywords as variable names. | |
7471 | ||
acec7476 | 7472 | 2007-06-06 Uros Bizjak <ubizjak@gmail.com> |
7473 | ||
7474 | * config/i386/sse.md (sse4_2_pcmpestr_cconly): Prefer pcmpestrm | |
7475 | as flags setting insn. | |
7476 | (sse4_2_pcmpistr_cconly): Prefer pcmpistrm as flags setting insn. | |
7477 | ||
7478 | 2007-06-06 Uros Bizjak <ubizjak@gmail.com> | |
7479 | ||
7480 | * config/i386/i386.md (UNSPEC_ROUNDP, UNSPEC_ROUNDS): Remove. | |
7481 | (UNSPEC_ROUND): New. | |
7482 | ("sse4_1_round<mode>2"): New insn pattern. | |
7483 | ("rint<mode>2"): Expand using "sse4_1_round<mode>2" pattern for | |
7484 | SSE4.1 targets. | |
7485 | ("floor<mode>2"): Rename from floordf2 and floorsf2. Macroize | |
7486 | expander using SSEMODEF mode macro. Expand using | |
7487 | "sse4_1_round<mode>2" pattern for SSE4.1 targets. | |
7488 | ("ceil<mode>2"): Rename from ceildf2 and ceilsf2. Macroize | |
7489 | expander using SSEMODEF mode macro. Expand using | |
7490 | "sse4_1_round<mode>2" pattern for SSE4.1 targets. | |
7491 | ("btrunc<mode>2"): Rename from btruncdf2 and btruncsf2. Macroize | |
7492 | expander using SSEMODEF mode macro. Expand using | |
7493 | "sse4_1_round<mode>2" pattern for SSE4.1 targets. | |
7494 | * config/i386/sse.md ("sse4_1_roundpd", "sse4_1_roundps"): Use | |
7495 | UNSPEC_ROUND instead of UNSPEC_ROUNDP. | |
7496 | ("sse4_1_roundsd", "sse4_1_roundss"): Use UNSPEC_ROUND instead of | |
7497 | UNSPEC_ROUNDS. | |
7498 | ||
87cbf023 | 7499 | 2007-06-06 Jan Sjodin <jan.sjodin@amd.com> |
7500 | Sebastian Pop <sebpop@gmail.com> | |
7501 | ||
7502 | * lambda.h (build_linear_expr): New. | |
9e31df45 | 7503 | * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression): |
87cbf023 | 7504 | Use build_linear_expr, call fold and force_gimple_operand. |
7505 | (lambda_loopnest_to_gcc_loopnest): Check that there is | |
7506 | something to insert. | |
7507 | * testsuite/gcc.dg/tree-ssa/ltrans-6.c: New. | |
7508 | ||
d7282a2b | 7509 | 2007-06-05 Joerg Wunsch <j.gnu@uriah.heep.sax.de> |
7510 | ||
7511 | PR preprocessor/23479 | |
7512 | * doc/extend.texi: Document the 0b-prefixed binary integer | |
7513 | constant extension. | |
9e31df45 | 7514 | |
c8f1be8d | 7515 | 2007-06-05 Uros Bizjak <ubizjak@gmail.com> |
7516 | ||
7517 | PR tree-optimization/32215 | |
7518 | * tree-vectorizer.c (supportable_widening_operation): Return false | |
7519 | for unsupported FIX_TRUNC_EXPR tree code. | |
7520 | (supportable_narrowing_operation): Ditto for FLOAT_EXPR tree code. | |
7521 | ||
77e449db | 7522 | 2007-06-06 Nathan Froyd <froydnj@codesourcery.com> |
7523 | ||
7524 | * config/rs6000/rs6000.h (FIXED_SCRATCH): Use r0 as a scratch | |
7525 | register on SPE targets. Change documentation to reflect | |
7526 | reality. | |
7527 | * config/rs6000/rs6000.c (rs6000_conditional_register_usage): | |
7528 | Change FIXED_SCRATCH to 14 and document why we're keeping r14 | |
7529 | out of the register allocation pool. | |
7530 | (rs6000_reg_live_or_pic_offset_p): New function. | |
7531 | (rs6000_emit_prologue): Move the actual saving of LR up to free | |
7532 | r0 for holding r11. Split saving of SPE 64-bit registers into | |
7533 | its own case. Ensure that offsets will always be in-range for | |
7534 | 'evstdd' by using r11 as a scratch register to point at the start | |
7535 | of the SPE save area. Save r11 if necessary, as it is the static | |
7536 | chain register. | |
7537 | (rs6000_emit_epilogue): Split restoring of SPE 64-bit registers | |
7538 | into its own case. Ensure that offsets will always be in-range | |
7539 | for 'evldd' by using r11 as a scratch register to point at the | |
7540 | start of the SPE save area. Also adjust r11 when restoring | |
7541 | the stack pointer to compensate for pre-loading r11. | |
7542 | ||
f780cc25 | 7543 | 2007-06-05 Thomas Neumann <tneumann@users.sourceforge.net> |
7544 | ||
7545 | * cfg.c (init_flow): Use type safe memory macros. | |
7546 | (alloc_block): Likewise. | |
7547 | (unchecked_make_edge): Likewise. | |
7548 | (dump_flow_info): Avoid using C++ keywords as variable names. | |
7549 | (copy_original_table_clear): Cast according to the coding conventions. | |
7550 | (copy_original_table_set): Likewise. | |
7551 | * cfgexpand (label_rtx_for_bb): Likewise. | |
44cac4f9 | 7552 | (expand_gimple_basic_block): Likewise. |
f780cc25 | 7553 | * cfghooks.c (dump_bb): Likewise. |
acec7476 | 7554 | (lv_adjust_loop_header_phi): Avoid using C++ keywords as |
7555 | variable names. | |
f780cc25 | 7556 | (lv_add_condition_to_bb): Likewise. |
7557 | * cfglayout (relink_block_chain): Cast according to the coding | |
7558 | conventions. | |
7559 | (fixup_reorder_chain): Likewise. | |
7560 | (fixup_fallthru_exit_predecessor): Likewise. | |
7561 | * cfgloop.c (glb_enum_p): Likewise. | |
7562 | (get_exit_description): Likewise. | |
7563 | (dump_recorded_exit): Likewise. | |
7564 | * cfgloop.h (enum loop_estimation): Move out of struct scope... | |
7565 | (struct loop): ... from here. | |
acec7476 | 7566 | * cfgloopmanip.c (rpe_enum_p): Cast according to the coding |
7567 | conventions. | |
f780cc25 | 7568 | * cfgrtl.c (rtl_create_basic_block): Likewise. |
7569 | (rtl_split_block): Likewise. | |
7570 | (rtl_dump_bb): Likewise. | |
7571 | (cfg_layout_split_block): Likewise. | |
7572 | (init_rtl_bb_info): Use typesafe memory macros. | |
7573 | ||
7574 | * graphds.h (struct graph_edge): Renamed edge to graph_edge. | |
7575 | * graphds.h: Updated all usages of edge to graph_edge. | |
7576 | * graphds.c: Likewise. | |
7577 | * cfgloopanal.c: Likewise. | |
7578 | ||
d8f696cf | 7579 | 2007-06-05 Ian Lance Taylor <iant@google.com> |
7580 | ||
7581 | * tree-vrp.c (compare_values_warnv): Check TREE_NO_WARNING on a | |
7582 | PLUS_EXPR or MINUS_EXPR node before setting *strict_overflow_p. | |
7583 | (extract_range_from_assert): Set TREE_NO_WARNING when creating an | |
7584 | expression. | |
7585 | (test_for_singularity): Likewise. | |
7586 | ||
c40c9120 | 7587 | 2007-06-05 H.J. Lu <hongjiu.lu@intel.com> |
7588 | ||
7589 | * config/i386/constraints.md ("Y2"): Replaced by ... | |
7590 | ("Yt"): This. | |
7591 | * config/i386/i386.md: Likewise. | |
7592 | * config/i386/mmx.md: Likewise. | |
7593 | * config/i386/sse.md: Likewise. | |
7594 | ||
24f794d7 | 7595 | 2007-06-05 H.J. Lu <hongjiu.lu@intel.com> |
7596 | ||
7597 | * config/i386/constraints.md ("z"): Replaced by ... | |
7598 | ("Y0"): This. | |
7599 | * config/i386/sse.md (sse4_1_blendvpd): Likewise. | |
7600 | (sse4_1_blendvps): Likewise. | |
7601 | (sse4_1_pblendvb): Likewise. | |
7602 | (sse4_2_pcmpestr): Likewise. | |
7603 | (sse4_2_pcmpestrm): Likewise. | |
7604 | (sse4_2_pcmpestr_cconly): Likewise. | |
7605 | (sse4_2_pcmpistr): Likewise. | |
7606 | (sse4_2_pcmpistrm): Likewise. | |
7607 | (sse4_2_pcmpistr_cconly): Likewise. | |
7608 | ||
b31765d0 | 7609 | 2007-06-05 Razya Ladelsky <razya@il.ibm.com> |
7610 | ||
24f794d7 | 7611 | * matrix-reorg.c (transform_access_sites): Fix computation. |
7612 | (transform_allocation_sites): Same. | |
b31765d0 | 7613 | |
d3ec8b3b | 7614 | 2007-06-05 Uros Bizjak <ubizjak@gmail.com> |
7615 | ||
f002e136 | 7616 | * config/i386/i386.c (override_options): Use |
7617 | TARGET_SUBTARGET32_ISA_DEFAULT to select default ix86_isa_flags. | |
7618 | ||
7619 | 2007-06-05 Uros Bizjak <ubizjak@gmail.com> | |
7620 | ||
7621 | * config/i386/predicates.md (reg_not_xmm0_operand): New predicate. | |
d3ec8b3b | 7622 | (nonimm_not_xmm0_operand): Ditto. |
7623 | * config/i386/sse.md ("sse4_1_blendvpd"): Use "reg_not_xmm0_operand" | |
7624 | as operand[0] and operand[1] predicate. Use "nonimm_not_xmm0_operand" | |
7625 | as operand[2] predicate. Require "z" class XMM register for | |
7626 | operand[3]. Adjust asm template. | |
7627 | ("sse4_1_blendvpd"): Ditto. | |
7628 | ("sse4_1_pblendvb"): Ditto. | |
7629 | * config/i386/i386.c (ix86_expand_sse_4_operands_builtin): Do not | |
7630 | force op2 into xmm0 register for variable blend instructions. | |
7631 | ||
13c7079e | 7632 | 2007-06-04 Tom Tromey <tromey@redhat.com> |
7633 | ||
7634 | * c-tree.h (start_enum): Update. | |
7635 | (build_enumerator): Likewise. | |
7636 | * c-decl.c (enum_next_value): Removed. | |
7637 | (enum_overflow): Likewise. | |
7638 | (start_enum): Add c_enum_contents argument. Don't use globals. | |
7639 | (build_enumerator): Likewise. | |
7640 | * c-tree.h (struct c_enum_contents): New struct. | |
7641 | ||
af592f67 | 7642 | 2007-06-04 Tom Tromey <tromey@redhat.com> |
7643 | ||
7644 | * c-common.c (c_common_get_alias_set): Fix indentation. | |
7645 | ||
4d1ddfdf | 7646 | 2007-06-04 Ian Lance Taylor <iant@google.com> |
7647 | ||
7648 | * tree-vrp.c (adjust_range_with_scev): When loop is not expected | |
7649 | to overflow, reduce overflow infinity to regular infinity. | |
7650 | (vrp_var_may_overflow): New static function. | |
7651 | (vrp_visit_phi_node): Check vrp_var_may_overflow. | |
7652 | ||
a2ee4f78 | 7653 | 2007-06-04 Kazu Hirata <kazu@codesourcery.com> |
7654 | ||
7655 | * stor-layout.c (layout_type): Remove duplicate code. | |
7656 | ||
87eb1c28 | 7657 | 2007-06-04 Uros Bizjak <ubizjak@gmail.com> |
7658 | ||
7659 | PR c/32191 | |
7660 | * gcc/c-common.c (c_define_builtins): Call targetm.init_builtins () | |
7661 | before build_common_builtin_nodes (). | |
7662 | ||
8fcc0f14 | 7663 | 2007-06-04 Steve Ellcey <sje@cup.hp.com> |
7664 | ||
7665 | PR target/31733 | |
7666 | * cfgrtl.c (rtl_verify_flow_info): Skip notes when looking for barrier. | |
7667 | ||
4c580c8c | 7668 | 2007-06-04 Jan Hubicka <jh@suse.cz> |
aeb45ad3 | 7669 | |
7670 | * tree-predcom.c (replace_ref_with, initialize_root_vars_lm, | |
7671 | reassociate_to_the_same_stmt): Call build_gimple_modify_stmt | |
7672 | instead of _stat version. | |
7673 | ||
ca4882a2 | 7674 | 2007-06-03 Zdenek Dvorak <dvorakz@suse.cz> |
7675 | ||
7676 | PR tree-optimization/32194 | |
7677 | * tree-predcom.c (determine_offset): Check that both references have | |
7678 | the same type. | |
7679 | ||
3f9439d7 | 7680 | 2007-06-03 Zdenek Dvorak <dvorakz@suse.cz> |
7681 | ||
7682 | * cfgloopmanip.c (remove_path, loopify, duplicate_loop_to_header_edge): | |
7683 | Change dom_bbs to vector. Add argument to iterate_fix_dominators call. | |
7684 | * loop-unroll.c (unroll_loop_runtime_iterations): Ditto. | |
7685 | * tree-cfg.c (tree_duplicate_sese_region): Change doms to vector. | |
7686 | Add argument to iterate_fix_dominators call. | |
7687 | (remove_edge_and_dominated_blocks): Pass vector to bbs_to_fix_dom. | |
7688 | * gcse.c (hoist_code): Change domby to vector. | |
7689 | * cfghooks.c (make_forwarder_block): Change doms_to_fix to vector. | |
7690 | Add argument to iterate_fix_dominators call. | |
7691 | * loop-doloop.c (doloop_modify): Changed recount_dominator to | |
7692 | recompute_dominator. | |
7693 | * lambda-code.c (perfect_nestify): Ditto. | |
7694 | * cfgloopanal.c: Include graphds.h. | |
7695 | (struct edge, struct vertex, struct graph, dump_graph, new_graph, | |
7696 | add_edge, dfs, for_each_edge, free_graph): Moved to graphds.c. | |
7697 | (mark_irreducible_loops): Use graphds_scc. Remove argument from | |
7698 | add_edge call. | |
7699 | * graphds.c: New file. | |
7700 | * graphds.h: New file. | |
7701 | * dominance.c: Include vecprim.h, pointer-set.h and graphds.h. | |
7702 | (get_dominated_by, get_dominated_by_region): Change return type to | |
7703 | vector. | |
7704 | (verify_dominators): Recompute all dominators and compare the results. | |
7705 | (recount_dominator): Renamed to ... | |
7706 | (recompute_dominator): ... this. Do not check that the block is | |
7707 | dominated by entry. | |
7708 | (iterate_fix_dominators): Reimplemented. | |
7709 | (prune_bbs_to_update_dominators, root_of_dom_tree, | |
7710 | determine_dominators_for_sons): New functions. | |
7711 | * et-forest.c (et_root): New function. | |
7712 | * et-forest.h (et_root): Declare. | |
7713 | * Makefile.in (graphds.o): Add. | |
7714 | (cfgloopanal.o): Add graphds.h dependency. | |
7715 | (dominance.o): Add graphds.h, vecprim.h and pointer-set.h dependency. | |
7716 | * basic-block.h (get_dominated_by, get_dominated_by_region, | |
7717 | iterate_fix_dominators): Declaration changed. | |
7718 | (recount_dominator): Renamed to ... | |
7719 | (recompute_dominator): ... this. | |
7720 | * tree-ssa-threadupdate.c (thread_block): Free dominance info. | |
7721 | (thread_through_all_blocks): Do not free dominance info. | |
7722 | ||
604c77da | 7723 | 2007-06-03 Andreas Schwab <schwab@suse.de> |
7724 | ||
7725 | * config/m68k/m68k.c (override_options): Don't override | |
7726 | REAL_MODE_FORMAT. | |
7727 | * config/m68k/m68k-modes.def (SF, DF): Define to use | |
7728 | motorola_single_format and motorola_double_format, resp. | |
7729 | * real.c (motorola_single_format): Renamed from | |
7730 | coldfire_single_format. | |
7731 | (motorola_double_format): Renamed from coldfire_double_format. | |
7732 | (encode_ieee_extended): Generate a proper canonical NaN image | |
7733 | respecting canonical_nan_lsbs_set. | |
7734 | (ieee_extended_motorola_format): Set canonical_nan_lsbs_set to | |
7735 | true. | |
7736 | * real.h: Adjust declarations. | |
7737 | ||
87a96196 | 7738 | 2007-06-03 Kaz Kojima <kkojima@gcc.gnu.org> |
7739 | ||
7740 | PR target/32163 | |
7741 | * config/sh/sh.md (symGOT_load): Don't schedule insns when | |
7742 | the symbol is generated with the stack protector. | |
7743 | ||
29968436 | 7744 | 2007-06-03 Kazu Hirata <kazu@codesourcery.com> |
7745 | ||
7746 | * config/m68k/m68k.c (m68k_attribute_table): Add "interrupt". | |
7747 | (m68k_get_function_kind): Return m68k_fk_interrupt_handler on | |
7748 | "interrupt". | |
7749 | * doc/extend.texi (interrupt): Mention m68k. | |
7750 | ||
a6239bc1 | 7751 | 2007-06-02 Uros Bizjak <ubizjak@gmail.com> |
7752 | ||
a6239bc1 | 7753 | * config/i386/i386.c (ix86_expand_sse_4_operands_builtin): Call |
389f413e | 7754 | safe_vector_operand() if input operand is VECTOR_MODE_P operand. |
a6239bc1 | 7755 | (ix86_expand_sse_pcmpestr): Do not check operands for |
7756 | "register_operand", when insn operand predicate is "register_operand". | |
7757 | (ix86_expand_sse_pcmpistr): Ditto. | |
7758 | ||
f0dd3deb | 7759 | 2007-06-02 H.J. Lu <hongjiu.lu@intel.com> |
7760 | Uros Bizjak <ubizjak@gmail.com> | |
7761 | ||
7762 | * config/i386/i386.h (enum reg_class) [SSE_FIRST_REG]: New. | |
7763 | (SSE_CLASS_P): Use reg_class_subset_p between SSE_REGS. | |
7764 | (REG_CLASS_NAMES): Add "FIRST_SSE_REG" string. | |
7765 | (REG_CLASS_CONTENTS): Add members of FIRST_SSE_REG class. | |
7766 | * config/i386/constraints.md ("z"): New register constraint | |
7767 | for members of SSE_FIRST_REG class. | |
7768 | * config/i386/i386-modes.def (CCA, CCC, CCO, CCS): New compare modes. | |
7769 | * config/i386/i386.c (regclass_map): Change class of %xmm0 to | |
7770 | SSE_FIRST_REG class. | |
7771 | (put_condition_code) [EQ, NE]: Output suffixes for new compare modes. | |
7772 | (ix86_cc_modes_compatible): Handle CCA, CCC, CCO and CCS modes. | |
7773 | (IX86_BUILTIN_PCMPESTRI128): New for SSE4.2. | |
7774 | (IX86_BUILTIN_PCMPESTRM128): Likewise. | |
7775 | (IX86_BUILTIN_PCMPESTRA128): Likewise. | |
7776 | (IX86_BUILTIN_PCMPESTRC128): Likewise. | |
7777 | (IX86_BUILTIN_PCMPESTRO128): Likewise. | |
7778 | (IX86_BUILTIN_PCMPESTRS128): Likewise. | |
7779 | (IX86_BUILTIN_PCMPESTRZ128): Likewise. | |
7780 | (IX86_BUILTIN_PCMPISTRI128): Likewise. | |
7781 | (IX86_BUILTIN_PCMPISTRM128): Likewise. | |
7782 | (IX86_BUILTIN_PCMPISTRA128): Likewise. | |
7783 | (IX86_BUILTIN_PCMPISTRC128): Likewise. | |
7784 | (IX86_BUILTIN_PCMPISTRO128): Likewise. | |
7785 | (IX86_BUILTIN_PCMPISTRS128): Likewise. | |
7786 | (IX86_BUILTIN_PCMPISTRZ128): Likewise. | |
7787 | (struct builtin_description): Change "flag" field to unsigned. | |
7788 | (bdesc_pcmpestr): New builtin description table. | |
7789 | (bdesc_pcmpistr): Likewise. | |
7790 | (ix86_init_mmx_sse_builtins): Define int_ftype_v16qi_int_v16qi_int_int, | |
7791 | v16qi_ftype_v16qi_int_v16qi_int_int and int_ftype_v16qi_v16qi_int. | |
7792 | Initialize pcmp[ei]str[im] insns for SSE4.2. | |
7793 | (ix86_expand_sse_pcmpestr): New subroutine of ix86_expand_builtin. | |
7794 | (ix86_expand_sse_pcmpistr): Likewise. | |
7795 | (ix86_expand_builtin): Expand pcmp[ei]str[im] builtins for SSE4.2. | |
7796 | * config/i386/i386.md (UNSPEC_PCMPESTR): New for SSE4.2. | |
7797 | (UNSPEC_PCMPISTR): Likewise. | |
7798 | * config/i386/sse.md (sse4_2_pcmpestr): New insn patern and splitter. | |
7799 | (sse4_2_pcmpestri):New isns pattern. | |
7800 | (sse4_2_pcmpestrm): Likewise. | |
7801 | (sse4_2_pcmpestr_cconly): Likewise. | |
7802 | (sse4_2_pcmpistr): New insn patern and splitter. | |
7803 | (sse4_2_pcmpistri):New isns pattern. | |
7804 | (sse4_2_pcmpistrm): Likewise. | |
7805 | (sse4_2_pcmpistr_cconly): Likewise. | |
7806 | * config/i386/smmintrin.h: Enable pcmp[ei]str[im] intrinsics | |
7807 | in SSE4.2. | |
7808 | ||
790a389c | 7809 | 2007-06-01 David Daney <ddaney@avtrex.com> |
7810 | ||
7811 | * config/mips/mips.c (mips_output_mi_thunk): Only load gp if not | |
7812 | LOADGP_ABSOLUTE and not binds_local_p. | |
9e31df45 | 7813 | |
4e5e6d47 | 7814 | 2007-06-01 Geoffrey Keating <geoffk@apple.com> |
7815 | ||
7816 | * config/darwin.h (LINK_SPEC): Pass -fpie through to the linker. | |
7817 | ||
7192d2a6 | 7818 | 2007-06-01 Ian Lance Taylor <iant@google.com> |
7819 | ||
7820 | * tree-vrp.c (compare_name_with_value): Always set | |
7821 | used_strict_overflow if we get a result from the variable itself. | |
7822 | ||
4e7a1eb8 | 7823 | 2007-06-01 Ian Lance Taylor <iant@google.com> |
7824 | ||
7825 | PR rtl-optimization/31455 | |
7826 | * lower-subreg.c (find_decomposable_subregs): Don't decompose | |
7827 | subregs which have a cast between modes which are not tieable. | |
7828 | ||
4631d202 | 7829 | 2007-06-01 Uros Bizjak <ubizjak@gmail.com> |
7830 | ||
7831 | * expr.c (force_operand) [DIV, MOD, UDIV, UMOD, ASHIFTRT]: Remove | |
7832 | breaks after return statements. | |
7833 | ||
395df746 | 7834 | 2007-06-01 Kaz Kojima <kkojima@gcc.gnu.org> |
7835 | ||
7836 | * config/sh/sh.c (fpscr_set_from_mem): Call get_free_reg | |
7837 | only after no_new_pseudos. | |
7838 | ||
1f8b6002 | 7839 | 2007-05-31 Eric Christopher <echristo@apple.com> |
7840 | ||
7841 | * expr.c (convert_move): Assert that we don't have a BLKmode | |
7842 | operand. | |
7843 | (store_expr): Handle BLKmode moves by calling emit_block_move. | |
7844 | ||
17075f13 | 7845 | 2007-05-31 Daniel Berlin <dberlin@dberlin.org> |
7846 | ||
7847 | * c-typeck.c (build_indirect_ref): Include type in error message. | |
7848 | (build_binary_op): Pass types to binary_op_error. | |
7849 | * c-common.c (binary_op_error): Take two type arguments, print out | |
7850 | types with error. | |
7851 | * c-common.h (binary_op_error): Update prototype. | |
7852 | ||
2fc41e3c | 7853 | 2007-05-31 H.J. Lu <hongjiu.lu@intel.com> |
7854 | ||
7855 | * config/i386/i386.c: Correct coments on -mno-sse4. | |
7856 | ||
f25d51c3 | 7857 | 2007-05-31 H.J. Lu <hongjiu.lu@intel.com> |
7858 | ||
f0dd3deb | 7859 | * config.gcc (i[34567]86-*-*): Add nmmintrin.h to extra_headers. |
f25d51c3 | 7860 | (x86_64-*-*): Likewise. |
f25d51c3 | 7861 | * config/i386/i386.c (OPTION_MASK_ISA_MMX_UNSET): New. |
7862 | (OPTION_MASK_ISA_3DNOW_UNSET): Likewise. | |
7863 | (OPTION_MASK_ISA_SSE_UNSET): Likewise. | |
7864 | (OPTION_MASK_ISA_SSE2_UNSET): Likewise. | |
7865 | (OPTION_MASK_ISA_SSE3_UNSET): Likewise. | |
7866 | (OPTION_MASK_ISA_SSSE3_UNSET): Likewise. | |
7867 | (OPTION_MASK_ISA_SSE4_1_UNSET): Likewise. | |
7868 | (OPTION_MASK_ISA_SSE4_2_UNSET): Likewise. | |
7869 | (OPTION_MASK_ISA_SSE4): Likewise. | |
7870 | (OPTION_MASK_ISA_SSE4_UNSET): Likewise. | |
7871 | (OPTION_MASK_ISA_SSE4A_UNSET): Likewise. | |
f0dd3deb | 7872 | (ix86_handle_option): Use OPTION_MASK_ISA_*_UNSET. Handle SSE4.2. |
f25d51c3 | 7873 | (override_options): Support SSE4.2. |
7874 | (ix86_build_const_vector): Support SImode and DImode. | |
7875 | (ix86_build_signbit_mask): Likewise. | |
7876 | (ix86_expand_int_vcond): Support V2DImode. | |
7877 | (IX86_BUILTIN_CRC32QI): New for SSE4.2. | |
7878 | (IX86_BUILTIN_CRC32HI): Likewise. | |
7879 | (IX86_BUILTIN_CRC32SI): Likewise. | |
7880 | (IX86_BUILTIN_CRC32DI): Likewise. | |
7881 | (IX86_BUILTIN_PCMPGTQ): Likewise. | |
7882 | (bdesc_crc32): Likewise. | |
7883 | (bdesc_sse_3arg): Likewise. | |
7884 | (ix86_expand_crc32): Likewise. | |
7885 | (ix86_init_mmx_sse_builtins): Support SSE4.2. | |
7886 | (ix86_expand_builtin): Likewise. | |
f25d51c3 | 7887 | * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define |
7888 | __SSE4_2__ for -msse4.2. | |
f25d51c3 | 7889 | * config/i386/i386.md (UNSPEC_CRC32): New for SSE4.2. |
7890 | (CRC32MODE): Likewise. | |
7891 | (crc32modesuffix): Likewise. | |
7892 | (crc32modeconstraint): Likewise. | |
7893 | (sse4_2_crc32<mode>): Likewise. | |
7894 | (sse4_2_crc32di): Likewise. | |
f25d51c3 | 7895 | * config/i386/i386.opt (msse4.2): New for SSE4.2. |
7896 | (msse4): Likewise. | |
f0dd3deb | 7897 | * config/i386/nmmintrin.h: New. The dummy SSE4.2 intrinsic header file. |
f25d51c3 | 7898 | * config/i386/smmintrin.h: Add SSE4.2 intrinsics. |
f0dd3deb | 7899 | * config/i386/sse.md (sse4_2_gtv2di3): New pattern for SSE4.2. |
f25d51c3 | 7900 | (vcond<mode>): Use SSEMODEI instead of SSEMODE124. |
7901 | (vcondu<mode>): Likewise. | |
f25d51c3 | 7902 | * doc/extend.texi: Document SSE4.2 built-in functions. |
f25d51c3 | 7903 | * doc/invoke.texi: Document -msse4.2/-msse4. |
7904 | ||
a4c3242a | 7905 | 2007-05-31 Zdenek Dvorak <dvorakz@suse.cz> |
7906 | ||
7907 | PR tree-optimization/32160 | |
7908 | * tree-predcom.c (predcom_tmp_var): New function. Mark created | |
7909 | variable as gimple reg. | |
7910 | (initialize_root_vars, initialize_root_vars_lm): Use predcom_tmp_var. | |
7911 | ||
3293d046 | 7912 | 2007-05-31 Kazu Hirata <kazu@codesourcery.com> |
7913 | ||
7914 | * gcc.c (main): Don't consider linker options when issuing the | |
7915 | warning about a linker input file not being used. | |
7916 | ||
29188799 | 7917 | 2007-05-30 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
7918 | ||
7919 | * tree-vrp.c (compare_names): Initialize sop. | |
7920 | ||
ad600aea | 7921 | 2007-05-30 Dirk Mueller <dmueller@suse.de> |
7922 | ||
7923 | * cgraphunit.c (cgraph_analyze_function): Remove | |
7924 | computation of inline parameters. | |
7925 | ||
7926 | 2007-05-30 Uros Bizjak <ubizjak@gmail.com> | |
94010584 | 7927 | |
7928 | * config/i386/darwin.h (TARGET_SUBTARGET_DEFAULT): Undef before define. | |
7929 | ||
bac7fc85 | 7930 | 2007-05-30 Richard Sandiford <richard@codesourcery.com> |
7931 | ||
7932 | * config.gcc (arm-wrs-vxworks): Remove dbxelf.h from tm_file. | |
7933 | Add vx-common.h. Include vxworks.h between vx-common.h and | |
7934 | arm/vxworks.h. | |
7935 | * config/vx-common.h (DWARF2_UNWIND_INFO): Undefine before | |
7936 | redefining. | |
7937 | * config/vxworks.h (TARGET_ASM_CONSTRUCTOR): Likewise. | |
7938 | (TARGET_ASM_DESTRUCTOR): Likewise. | |
7939 | * config/arm/vxworks.h (TARGET_OS_CPP_BUILTINS): Check arm_arch_xscale | |
7940 | instead of arm_is_xscale. Use VXWORKS_OS_CPP_BUILTINS. | |
7941 | (OVERRIDE_OPTIONS, SUBTARGET_CPP_SPEC): Define. | |
7942 | (CC1_SPEC): Add -tstrongarm. Line up backslashes. | |
7943 | (VXWORKS_ENDIAN_SPEC): Define. | |
7944 | (ASM_SPEC): Add VXWORKS_ENDIAN_SPEC. | |
7945 | (LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Redefine to their | |
7946 | VXWORKS_* equivalents. | |
7947 | (LINK_SPEC): Likewise, but add VXWORKS_ENDIAN_SPEC. | |
7948 | (ASM_FILE_START): Delete. | |
7949 | (TARGET_VERSION): Reformat. | |
7950 | (FPUTYPE_DEFAULT, FUNCTION_PROFILER): Define. | |
7951 | (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define. | |
7952 | * config/arm/t-vxworks (LIB1ASMSRC, LIB1ASMFUNCS): Define. | |
7953 | (FPBIT, DPBIT): Define. | |
7954 | (fp-bit.c, dp-bit.c): New rules. | |
7955 | (MULTILIB_OPTIONS): Add strongarm, -mrtp and -mrtp/-fPIC multilibs. | |
7956 | (MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Define. | |
7957 | * config/arm/arm-protos.h (arm_emit_call_insn): Declare. | |
7958 | * config/arm/arm.h: Include vxworks-dummy.h. | |
7959 | * config/arm/arm.c (arm_elf_asm_constructor, arm_elf_asm_destructor): | |
7960 | Mark with ATTRIBUTE_UNUSED. | |
7961 | (arm_override_options): Do not allow VxWorks RTP PIC to be used | |
7962 | for Thumb. Force r9 to be the PIC register for VxWorks RTPs and | |
7963 | make it incompatible with -msingle-pic-base. | |
7964 | (arm_function_ok_for_sibcall): Return false for calls that might | |
7965 | go through a VxWorks PIC PLT entry. | |
7966 | (require_pic_register): New function, split out from... | |
7967 | (legitimize_pic_address): ...here. Do not use GOTOFF accesses | |
7968 | for VxWorks RTPs. | |
7969 | (arm_load_pic_register): Handle the VxWorks RTP initialization | |
7970 | sequence. Use pic_reg as a shorthand for cfun->machine->pic_reg. | |
7971 | (arm_emit_call_insn): New function. | |
7972 | (arm_assemble_integer): Do not use GOTOFF accesses for VxWorks RTP. | |
7973 | * config/arm/arm.md (UNSPEC_PIC_OFFSET): New unspec number. | |
7974 | (pic_offset_arm): New pattern. | |
7975 | (call, call_value): Use arm_emit_call_insn. | |
7976 | (call_internal, call_value_internal): New expanders. | |
7977 | * config/arm/lib1funcs.asm (__PLT__): Define to empty for | |
7978 | VxWorks unless __PIC__. | |
7979 | ||
fb16c776 | 7980 | 2007-05-30 Eric Christopher <echristo@gmail.com> |
7981 | ||
7982 | * genrecog.c: Include regs.h in generated file. | |
7983 | * genemit.c: Ditto. Fix up formatting. | |
7984 | * config/mn10300/constraints.md: New. | |
7985 | * config/mn10300/mn10300.md: Include. | |
7986 | * config/mn10300/mn10300.c(mn10300_secondary_reload_class): | |
7987 | Fix up for removed macro. | |
7988 | * config/mn10300/predicates.md (call_address_operand): Ditto. | |
7989 | * config/mn10300/mn10300.h (REG_CLASS_FROM_LETTER): Delete. | |
7990 | (CONST_OK_FOR_I): Ditto. | |
7991 | (CONST_OK_FOR_J): Ditto. | |
7992 | (CONST_OK_FOR_K): Ditto. | |
7993 | (CONST_OK_FOR_L): Ditto. | |
7994 | (CONST_OK_FOR_M): Ditto. | |
7995 | (CONST_OK_FOR_N): Ditto. | |
7996 | (CONST_DOUBLE_OK_FOR_LETTER_P): Ditto. | |
7997 | (OK_FOR_Q): Ditto. | |
7998 | (OK_FOR_R): Ditto. | |
7999 | (OK_FOR_T): Ditto. | |
8000 | (EXTRA_CONSTRAINT): Ditto. | |
8001 | ||
24fd7929 | 8002 | 2007-05-30 Uros Bizjak <ubizjak@gmail.com> |
8003 | ||
8004 | * config/i386/i386.h (MASK_64BIT, MASK_MMX, MASK_3DNOW*, MASK_SSE*): | |
8005 | Remove defines. | |
8006 | * config/i386/biarch.h (TARGET_64BIT_DEFAULT): Define to | |
8007 | OPTION_MASK_ISA_64BIT. | |
8008 | * config/i386/i386.c: Rename MASK_* macros to OPTION_MASK_ISA_*. | |
8009 | ||
4fafe0c4 | 8010 | 2007-05-30 Richard Guenther <rguenther@suse.de> |
8011 | ||
8012 | PR middle-end/32152 | |
8013 | * gimplify.c (gimplify_omp_atomic_pipeline): Use correct | |
8014 | types for comparison. | |
8015 | * fold-const.c (fold_comparison): Call maybe_canonicalize_comparison | |
8016 | with original typed arguments. | |
8017 | * config/i386/i386.c (ix86_gimplify_va_arg): Fix type mismatches. | |
8018 | ||
52413226 | 8019 | 2007-05-30 Jakub Jelinek <jakub@redhat.com> |
8020 | ||
8021 | PR tree-optimization/31769 | |
8022 | * except.c (duplicate_eh_regions): Clear prev_try if | |
8023 | ERT_MUST_NOT_THROW region is inside of ERT_TRY region. | |
8024 | ||
4122c2d4 | 8025 | 2007-05-30 Zdenek Dvorak <dvorakz@suse.cz> |
8026 | ||
8027 | * tree-scalar-evolution.c (scev_const_prop): Do not create labels. | |
8028 | * tree-ssa-sink.c (statement_sink_location): Return basic block and | |
8029 | bsi of the location where statements should be inserted. | |
8030 | (sink_code_in_bb): Take bsi from statement_sink_location. | |
8031 | * lambda-code.c (lambda_loopnest_to_gcc_loopnest): Use bsi_after_labels | |
8032 | instead of bsi_start. | |
8033 | * tree-profile.c (tree_gen_ic_func_profiler): Pass BSI_NEW_STMT to | |
8034 | bsi_insert_after. | |
8035 | * tree-cfg.c (bsi_move_after): Pass BSI_NEW_STMT to bsi_insert_after. | |
8036 | (bsi_move_before): Document inconsistency with bsi_move_after. | |
8037 | (tree_redirect_edge_and_branch): Do not create labels if not necessary. | |
8038 | ||
e44348b5 | 8039 | 2007-05-30 Uros Bizjak <ubizjak@gmail.com> |
8040 | ||
8041 | * config/i386/i386.h (TARGET_ABM): New define. | |
8042 | (TARGET_POPCNT): Ditto. | |
8043 | (TARGET_64BIT, TARGET_MMX, TARGET_3DNOW, TARGET_3DNOW_A, TARGET_SSE*): | |
8044 | New temporary defines to redefine from OPTION_ISA_* defines. | |
8045 | (MASK_64BIT, MASK_MMX, MASK_3DNOW, MASK_3DNOW_A, MASK_SSE*): | |
8046 | New temporary defines to redefine from OPTION_MASK_ISA_* defines. | |
8047 | (ix86_isa_flags): New extern int declaration. | |
8048 | (TARGET_SUBTARGET_DEFAULT): New define. | |
8049 | (TARGET_SUBTARGET_ISA_DEFAULT): Ditto. | |
8050 | (TARGET_SUBTARGET32_DEFAULT): Ditto. | |
8051 | (TARGET_SUBTARGET32_ISA_DEFAULT): Ditto. | |
8052 | (TARGET_SUBTARGET64_ISA_DEFAULT): Ditto. | |
8053 | * config/i386/unix.h: Undef TARGET_SUBTARGET_DEFAULT before define. | |
8054 | * config/i386/darwin.h: Change TARGET_64BIT define to | |
8055 | OPTION_ISA_64BIT. | |
8056 | ||
8057 | * config/i386/i386.opt (m3dnowa): Define as undocumented option | |
8058 | using existing "ix86_isa_flags" varible. | |
8059 | (m32, m64): Use existing "ix86_isa_flags" variable. | |
8060 | (mmmx, m3dnow): Ditto. | |
8061 | (msse, msse2, msse3, mssse3, msse4.1, msse4a): Ditto. | |
8062 | (mabm): Define as non-negative option using "x86_abm" variable. | |
8063 | (mpopcnt): Define as non-negative option using "x86_popcnt" variable. | |
8064 | ||
8065 | * config/i386/i386.c (ix86_arch_features) [X86_ARCH_CMOVE]: | |
8066 | Rewrite feature test bitmap. | |
8067 | (ix86_isa_flags): New initialized global int varible. | |
8068 | (ix86_isa_flags_explicit): New static int variable. | |
8069 | (ix86_handle_option): Set "ix86_isa_flags_explicit" when mmmx, m3dnow, | |
8070 | msse, msse2, msse3, msse4.1 and msse4a option is processed. Change | |
8071 | i86_isa_flags and ix86_isa_flags_explicit, not target_flags and | |
8072 | target_flags_explicit. | |
8073 | (override_options): Remove "target_enable" and "target_disable" fields | |
8074 | from "struct ptt". Update processor_target_table accordingly. Remove | |
8075 | PTA_PREFETCH_SSE from processor_alias_table entry if PTE_SSE is | |
8076 | defined and rearrange PTA_* bits. Use "ix86_isa_flags" instead of | |
8077 | "target_flags" and "ix86_isa_flags_explicit" instead of | |
8078 | "target_flags_explicit" when masked with MASK_64BIT, MASK_MMX, | |
8079 | MASK_3DNOW, MASK_3DNOW_A or MASK_SSE*. Set "x86_abm" to true when | |
8080 | PTA_ABM is set in processor_alias_table flags entry. Set "x86_popcnt" | |
8081 | to true when either of PTA_POPCNT or PTA_ABM is set in | |
8082 | processor_alias_table flags entry. Set "x86_prefetch_sse" to true | |
8083 | when either of PTA_PREFETCH_SSE or PTA_SSE is set in | |
8084 | processor_alias_table flags entry. Remove handling of | |
8085 | "target_enable" and "target_disable" fields of processor_target_table. | |
8086 | Mask "target_flags" with TARGET_SUBTARGET32_DEFAULT for 32-bit | |
8087 | targets or with TARGET_SUBTARGET64_DEFAULT for 64-bit targets. | |
8088 | Mask "ix86_isa_flags" with TARGET_SUBTARGET32_ISA_DEFAULT for 32-bit | |
8089 | targets or with TARGET_SUBTARGET64_ISA_DEFAULT for 64-bit targets. | |
8090 | (def_builtin): Mask "mask" variable with "ix86_isa_flags", not | |
8091 | "target_flags". | |
8092 | (TARGET_DEFAULT_TARGET_FLAGS): Do not include TARGET_64BIT_DEFAULT. | |
8093 | ||
24fd7929 | 8094 | 2007-05-29 David Daney <ddaney@avtrex.com> |
f3aae35f | 8095 | |
8096 | PR gcc/31975 | |
8097 | * config/mips/mips.c (mips_output_mi_thunk): Emit | |
8098 | NOTE_INSN_PROLOGUE_END at beginning of the thunk. | |
8099 | ||
8604e6cc | 8100 | 2007-05-29 Hui-May Chang <hm.chang@apple.com> |
fb16c776 | 8101 | * config/i386/i386.c (ix86_function_regparm): Added checking of |
8604e6cc | 8102 | ix86_force_align_arg_pointer to determine the number of |
8103 | register parameters. | |
8104 | ||
5c205353 | 8105 | 2007-05-29 Zdenek Dvorak <dvorakz@suse.cz> |
8106 | ||
8107 | * tree-vectorizer.h (DR_MISALIGNMENT): Cast aux to integer. | |
8108 | (SET_DR_MISALIGNMENT): New. | |
8109 | * tree-vect-analyze.c (vect_compute_data_ref_alignment, | |
8110 | vect_update_misalignment_for_peel, vect_enhance_data_refs_alignment): | |
8111 | Use SET_DR_MISALIGNMENT. | |
8112 | * tree-predcom.c (split_data_refs_to_components): Cast dr->aux from | |
8113 | pointer. | |
8114 | * tree-data-ref.c (create_data_ref, compute_all_dependences, | |
8115 | find_loop_nest): Export. | |
8116 | * tree-data-ref.h (struct data_reference): Change aux field to pointer. | |
8117 | (create_data_ref, compute_all_dependences, find_loop_nest): Declare. | |
8118 | * tree-ssa-loop-prefetch.c: Include tree-data-ref.h. | |
8119 | (L1_CACHE_SIZE_BYTES, L2_CACHE_SIZE_BYTES, NONTEMPORAL_FRACTION): | |
8120 | New macros. | |
8121 | (struct mem_ref): Add field reuse_distance. | |
8122 | (find_or_create_group, record_ref): Use XNEW instead of xcalloc. | |
8123 | Initialize reuse_distance field. | |
8124 | (issue_prefetch_ref): Select temporality of prefetch according to | |
8125 | reuse_distance. | |
8126 | (volume_of_references, volume_of_dist_vector, add_subscript_strides, | |
8127 | self_reuse_distance, determine_loop_nest_reuse): New functions. | |
8128 | (loop_prefetch_arrays): Call determine_loop_nest_reuse. | |
8129 | (tree_ssa_prefetch_arrays): Dump L2 cache size. | |
8130 | * Makefile.in (tree-ssa-loop-prefetch.o): Add TREE_DATA_REF_H | |
8131 | dependency. | |
8132 | ||
89467286 | 8133 | 2007-05-29 Daniel Berlin <dberlin@dberlin.org> |
8134 | ||
8135 | * tree-ssa-alias.c: Add aliasing overview. | |
8136 | ||
8f433c51 | 8137 | 2007-05-29 Zuxy Meng <zuxy.meng@gmail.com> |
5c205353 | 8138 | Danny Smith <dannysmith@users.sourceforge.net> |
8f433c51 | 8139 | |
8140 | PR target/29498 | |
8141 | * config/i386/t-crtfm: Compile crtfastmath.o with | |
8142 | -minline-all-stringops. | |
8143 | * config/i386/cygwin.h (ENDFILE_SPECS): Add crtfastmath.o. | |
8144 | * config/i386/mingw32.h (ENDFILE_SPECS): Add crtfastmath.o. | |
8145 | ||
59ad2f1e | 8146 | 2007-05-28 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8147 | ||
99a75a59 | 8148 | * doc/md.texi: Document constraints on HP PA-RISC. |
8149 | ||
59ad2f1e | 8150 | * pa/constraints.md: New file. |
8151 | * pa.md: Include constraints.md. | |
8152 | * pa.c (cint_ok_for_move): Avoid using CONST_OK_FOR_LETTER_P. | |
8153 | (integer_store_memory_operand, ldil_cint_p): New functions. | |
8154 | * pa-protos.h (integer_store_memory_operand, ldil_cint_p): Declare. | |
8155 | * pa.h (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P, | |
8156 | IS_RELOADING_PSEUDO_P, EXTRA_CONSTRAINT): Remove. | |
8157 | * pa32-regs.h (REG_CLASS_FROM_LETTER): Remove. | |
8158 | * pa64-regs.h (REG_CLASS_FROM_LETTER): Remove. | |
8159 | ||
3c550432 | 8160 | 2007-05-28 Andrew Pinski <Andrew_pinski@playstation.sony.com> |
8161 | ||
8162 | PR c/31339 | |
8163 | * c-typeck.c (build_unary_op <case PREINCREMENT_EXPR, | |
8164 | case POSTINCREMENT_EXPR, case PREDECREMENT_EXPR, | |
8165 | case POSTDECREMENT_EXPR>): Return the error_mark_node | |
8166 | if either the real or imaginary parts would an | |
8167 | error_mark_node. | |
8168 | ||
e4c991ae | 8169 | 2007-05-28 Daniel Berlin <dberlin@dberlin.org> |
8170 | ||
8171 | * tree-ssa-dce.c (eliminate_unnecessary_stmts): Release LHS SSA | |
8172 | name when we remove it from a call. | |
8173 | ||
87772ee1 | 8174 | 2007-05-28 Kazu Hirata <kazu@codesourcery.com> |
8175 | ||
8176 | * targhooks.c (default_narrow_bitfield): Remove. | |
8177 | * targhooks.h: Remove the prototype for | |
8178 | default_narrow_bitfield. | |
8179 | ||
171822d5 | 8180 | * langhooks-def.h: Remove the prototype for |
8181 | hook_get_alias_set_0. | |
8182 | * langhooks.c (hook_get_alias_set_0): Remove. | |
8183 | ||
93fa56e7 | 8184 | * global.c (EXECUTE_IF_CONFLICT): Remove. |
8185 | ||
f26516cb | 8186 | 2007-05-28 Andrew Pinski <andrew_pinski@playstation.sony.com> |
8187 | ||
8188 | PR tree-opt/32100 | |
8189 | * fold-const.c (tree_expr_nonnegative_warnv_p): Don't | |
8190 | return true when truth_value_p is true and the type | |
8191 | is of signed:1. | |
8192 | ||
d67640e5 | 8193 | 2007-05-28 Gerald Pfeifer <gerald@pfeifer.com> |
8194 | ||
8195 | * doc/install.texi (Prerequisites): We no longer require Autoconf | |
8196 | 2.13 for the top-level. | |
8197 | ||
bd318e71 | 8198 | 2007-05-28 Uros Bizjak <ubizjak@gmail.com> |
8199 | ||
8200 | * target/i386/i386.c (ix86_expand_vector_move): Expand unaligned | |
8201 | memory access via x86_expand_vector_move_misalign() only for | |
8202 | TImode values on 32-bit targets. | |
fb16c776 | 8203 | |
8204 | 2007-05-28 Razya Ladelsky <razya@il.ibm.com> | |
8205 | ||
bd318e71 | 8206 | * matrix-reorg.c: New file. Implement matrix flattening and |
8207 | transposing optimization. | |
8208 | * tree-pass.h: Add matrix reorg pass. | |
8209 | * common.opt: Add fipa-mreorg flag. | |
8210 | * Makefile.in: Add matrix-reorg.c. | |
8211 | * passes.c: Add matrix reorg pass. | |
8212 | * varpool.c (add_new_static_var): New function. | |
8213 | * cgraph.h (add_new_static_var): Declare. | |
604cde73 | 8214 | |
632dff31 | 8215 | 2007-05-27 Eric Christopher <echristo@apple.com> |
8216 | ||
8217 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Update | |
8218 | sp_offset depending on stack size. Save r12 depending | |
8219 | on registers we're saving later. | |
8220 | (rs6000_emit_epilogue): Update sp_offset depending only | |
8221 | on stack size. | |
8222 | ||
7a3bf727 | 8223 | 2007-05-27 Zdenek Dvorak <dvorakz@suse.cz> |
8224 | ||
8225 | * tree-vrp.c (execute_vrp): Do not check whether current_loops == NULL. | |
8226 | * tree-chrec.c (evolution_function_is_invariant_rec_p): Ditto. | |
8227 | * ifcvt.c (if_convert): Ditto. | |
8228 | * tree-ssa-threadupdate.c (thread_block): Ditto. | |
8229 | (thread_through_all_blocks): Ditto. Assert that loops were analysed. | |
8230 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa, | |
e44348b5 | 8231 | verify_loop_closed_ssa): Check number_of_loops instead of |
8232 | current_loops. | |
7a3bf727 | 8233 | * predict.c (tree_estimate_probability): Ditto. |
8234 | * tree-if-conv.c (main_tree_if_conversion): Ditto. | |
8235 | * tree-ssa-loop-ch.c (copy_loop_headers): Ditto. | |
8236 | * modulo-sched.c (sms_schedule): Ditto. | |
8237 | * tree-scalar-evolution.c (scev_const_prop): Ditto. | |
8238 | (scev_finalize): Do not do anything if scev analysis was not | |
8239 | initialized. | |
8240 | * cfgloopanal.c (mark_irreducible_loops): Do not check whether | |
8241 | current_loops == NULL. | |
8242 | (mark_loop_exit_edges): Check number_of_loops instead of current_loops. | |
8243 | * loop-init.c (loop_optimizer_init): Do not free current_loops when | |
8244 | there are no loops. | |
8245 | (loop_optimizer_finalize): Assert that loops were analyzed. | |
8246 | (rtl_move_loop_invariants, rtl_unswitch, rtl_unroll_and_peel_loops, | |
8247 | rtl_doloop): Check number_of_loops instead of current_loops. | |
8248 | * tree-ssa-loop.c (tree_loop_optimizer_init): Do not check whether | |
8249 | current_loops == NULL. | |
8250 | (tree_ssa_loop_init, tree_ssa_loop_im, tree_ssa_loop_unswitch, | |
8251 | gate_tree_vectorize tree_linear_transform, check_data_deps, | |
8252 | tree_ssa_loop_ivcanon, tree_ssa_empty_loop, tree_ssa_loop_bounds, | |
8253 | tree_complete_unroll, tree_ssa_loop_prefetch, tree_ssa_loop_ivopts): | |
8254 | Check number_of_loops instead of current_loops. | |
8255 | (tree_ssa_loop_done): Do not check whether current_loops == NULL. | |
8256 | * tree-ssa-pre.c (fini_pre): Do not take do_fre argument. Always | |
8257 | free loops if available. | |
8258 | (execute_pre): Do not pass do_fre to fini_pre. | |
8259 | ||
f53594a1 | 8260 | 2007-05-27 Tobias Burnus <burnus@net-b.de> |
8261 | ||
8262 | PR middle-end/32083 | |
8263 | * real.c (mpfr_from_real): Fix sign of -Inf. | |
8264 | ||
6bc904cc | 8265 | 2007-05-27 H.J. Lu <hongjiu.lu@intel.com> |
8266 | ||
8267 | * tree-vect-transform.c (vectorizable_conversion): Initialize | |
8268 | tree_code variables to ERROR_MARK. | |
8269 | (vectorizable_type_demotion): Likewise. | |
8270 | (vectorizable_type_promotion): Likewise. | |
8271 | ||
66c4d264 | 8272 | 2007-05-26 Uros Bizjak <ubizjak@gmail.com> |
8273 | ||
8274 | PR target/32065 | |
8275 | * config/i386/i386.md (movti): Handle push operands via | |
8276 | ix86_expand_push(). | |
8277 | ||
d447e866 | 8278 | 2007-05-26 Kazu Hirata <kazu@codesourcery.com> |
8279 | ||
8280 | * basic-block.h: Remove the prototype for merge_seq_blocks. | |
8281 | * cfgcleanup.c (merge_seq_blocks): Remove. | |
8282 | ||
c62a6ee6 | 8283 | * tree-flow.h: Remove the prototype for is_aliased_with. |
8284 | * tree-ssa-alias.c (is_aliased_with): Remove. | |
8285 | ||
49e5b7e8 | 8286 | 2007-05-26 H.J. Lu <hongjiu.lu@intel.com> |
8287 | ||
8288 | * config/i386/i386-protos.h (ix86_expand_sse4_unpack): New. | |
8289 | ||
8290 | * config/i386/i386.c (ix86_expand_sse4_unpack): New. | |
8291 | ||
8292 | * config/i386/sse.md (vec_unpacku_hi_v16qi): Call | |
8293 | ix86_expand_sse4_unpack if SSE4.1 is enabled. | |
8294 | (vec_unpacks_hi_v16qi): Likewise. | |
8295 | (vec_unpacku_lo_v16qi): Likewise. | |
8296 | (vec_unpacks_lo_v16qi): Likewise. | |
8297 | (vec_unpacku_hi_v8hi): Likewise. | |
8298 | (vec_unpacks_hi_v8hi): Likewise. | |
8299 | (vec_unpacku_lo_v8hi): Likewise. | |
8300 | (vec_unpacks_lo_v8hi): Likewise. | |
8301 | (vec_unpacku_hi_v4si): Likewise. | |
8302 | (vec_unpacks_hi_v4si): Likewise. | |
8303 | (vec_unpacku_lo_v4si): Likewise. | |
8304 | (vec_unpacks_lo_v4si): Likewise. | |
8305 | ||
666137bc | 8306 | 2007-05-26 Kazu Hirata <kazu@codesourcery.com> |
8307 | ||
8308 | * c-typeck.c, config/arm/arm.c, config/darwin.c, | |
8309 | config/sh/symbian.c, gcc.c, ipa-cp.c, ipa-inline.c, loop-iv.c, | |
8310 | omega.c, tree-ssa-loop-niter.c, treestruct.def: Fix typos and | |
8311 | follow spelling conventions in various | |
8312 | warning/error/diagnostic messages. | |
8313 | ||
80777cd8 | 8314 | * config/i386/i386.c, config/pa/pa.c, config/spu/spu.c, |
8315 | df-problems.c, df-scan.c, domwalk.c, ebitmap.c, ebitmap.h, | |
8316 | fold-const.c, gcc.c, ipa-type-escape.c, omega.c, omega.h, | |
8317 | tree-ssa-coalesce.c, tree-ssa-live.c, tree-ssa-structalias.c, | |
8318 | tree-vrp.c: Fix comment typos. Follow spelling conventions. | |
8319 | * doc/tm.texi: Follow spelling conventions. | |
8320 | ||
6c01267c | 8321 | 2007-05-25 Andrew Pinski <andrew_pinski@playstation.sony.com> |
8322 | ||
8323 | PR tree-opt/32090 | |
8324 | * tree-ssa-forwprop.c | |
8325 | (forward_propagate_addr_into_variable_array_index): Remove | |
8326 | the lhs argument. Use the type of def_rhs instead of lhs. | |
8327 | (forward_propagate_addr_expr_1): Update use of | |
8328 | forward_propagate_addr_into_variable_array_index. | |
8329 | ||
7808555b | 8330 | 2007-05-25 Sandra Loosemore <sandra@codesourcery.com> |
8331 | Nigel Stephens <nigel@mips.com> | |
8332 | ||
8333 | * config/mips/mips.c (mips_attribute_table): Add "near" and "far" | |
8334 | function attributes, "far" being an alias for "long_call". | |
8335 | (TARGET_COMP_TYPE_ATTRIBUTES): Define as mips_comp_type_attributes. | |
8336 | (mips_near_type_p, mips_far_type_p): New. | |
8337 | (mips_comp_type_attributes): New function to check that attributes | |
8338 | attached to a function type are compatible. | |
8339 | (mips_output_mi_thunk): Test SYMBOL_REF_LONG_CALL_P() rather than | |
8340 | TARGET_LONG_CALLS when deciding whether we can do a direct sibcall | |
8341 | to the target function of the thunk. | |
8342 | (mips_encode_section_info): Check for "near" and "far" function | |
8343 | attributes, and always set the SYMBOL_FLAG_LONG_CALL bit explicitly. | |
8344 | ||
8345 | * config/mips/predicates.md (const_call_insn_operand): Test only | |
8346 | SYMBOL_REF_LONG_CALL_P() and not TARGET_LONG_CALLS. | |
8347 | ||
8348 | * doc/extend.texi (Function Attributes): Document MIPS "near" and | |
8349 | "far" attributes. | |
8350 | ||
8351 | * testsuite/gcc.target/mips/near-far-1.c: New test case. | |
8352 | * testsuite/gcc.target/mips/near-far-2.c: New test case. | |
8353 | * testsuite/gcc.target/mips/near-far-3.c: New test case. | |
8354 | * testsuite/gcc.target/mips/near-far-4.c: New test case. | |
8355 | ||
01b68987 | 8356 | 2007-05-25 Eric Christopher <echristo@apple.com> |
8357 | ||
8358 | * config.gcc: Add i386/t-fprules-softfp64 and soft-fp/t-softfp | |
8359 | to x86-darwin configurations. | |
8360 | * config/i386/t-darwin: Add softfp support. | |
8361 | * config/i386/t-darwin64: Ditto. | |
8362 | * config/i386/sfp-machine.h: If mach then don't use | |
8363 | aliasing, emit a stub to call. | |
8364 | ||
310d2511 | 8365 | 2007-05-25 Kazu Hirata <kazu@codesourcery.com> |
8366 | ||
8367 | * cfglayout.c, cgraphunit.c, config/avr/avr.c, fold-const.c, | |
8368 | haifa-sched.c, optabs.h, tree-affine.c, tree-data-ref.c, | |
8369 | tree-predcom.c, tree-ssa-alias-warnings.c, | |
8370 | tree-ssa-forwprop.c, tree-vect-analyze.c, tree-vrp.c: Fix | |
8371 | comment typos. Follow spelling conventions. | |
8372 | * doc/cpp.texi, doc/invoke.texi: Fix typos. | |
8373 | ||
d07131bd | 8374 | 2007-05-26 Uros Bizjak <ubizjak@gmail.com> |
8375 | ||
8376 | PR target/32065 | |
8377 | * target/i386/i386.c (ix86_expand_vector_move): Force SUBREGs of | |
8378 | constants into memory. Expand unaligned memory references for | |
8379 | SSE modes via x86_expand_vector_move_misalign() function. | |
8380 | ||
cd90e13c | 8381 | 2007-05-25 Uros Bizjak <ubizjak@gmail.com> |
8382 | ||
8383 | * config/i386/sse.md (*vec_extractv2di_1_sse2): Do not calculate | |
8384 | "memory" attribute for "sseishft" type insn without operands[2]. | |
8385 | ||
4a29c97c | 8386 | 2007-05-25 Dirk Mueller <dmueller@suse.de> |
8387 | Marcus Meissner <meissner@suse.de> | |
8388 | ||
8389 | * doc/extend.texi (alloc_size): New attribute. | |
8390 | * c-common.c (handle_alloc_size_attribute): New. | |
8391 | * tree-object-size.c (alloc_object_size): Use alloc_size | |
8392 | attribute, if available. | |
8393 | ||
75bbc19a | 8394 | 2007-05-25 H.J. Lu <hongjiu.lu@intel.com> |
8395 | ||
8396 | * config/i386/i386.c (__builtin_ia32_vec_ext_v2df): Mark it | |
8397 | with MASK_SSE2. | |
8398 | (__builtin_ia32_vec_ext_v2di): Likewise. | |
8399 | (__builtin_ia32_vec_ext_v4si): Likewise. | |
8400 | (__builtin_ia32_vec_ext_v8hi): Likewise. | |
8401 | (__builtin_ia32_vec_ext_v16qi): Likewise. | |
8402 | (__builtin_ia32_vec_set_v8hi): Likewise. | |
8403 | ||
c5823964 | 8404 | 2007-05-25 H.J. Lu <hongjiu.lu@intel.com> |
8405 | ||
8406 | * config/i386/sse.md (*vec_extractv2di_1_sse2): Correct shift. | |
8407 | ||
de55252a | 8408 | 2007-05-25 Richard Sandiford <richard@codesourcery.com> |
8409 | ||
8410 | * config/arm/arm-protos.h (arm_encode_call_attribute): Delete. | |
8411 | (arm_is_longcall_p): Rename to... | |
8412 | (arm_is_long_call_p): ...this. Take a single tree argument and | |
8413 | return a bool. | |
8414 | * config/arm/arm.h (CALL_SHORT, CALL_LONG, CALL_NORMAL): Delete. | |
8415 | (CUMULATIVE_ARGS): Remove call_cookie. | |
8416 | (SHORT_CALL_FLAG_CHAR, LONG_CALL_FLAG_CHAR, ENCODED_SHORT_CALL_ATTR_P) | |
8417 | (ENCODED_LONG_CALL_ATTR_P): Delete. | |
8418 | (ARM_NAME_ENCODING_LENGTHS): Remove SHORT_CALL_FLAG_CHAR and | |
8419 | LONG_CALL_FLAG_CHAR cases. | |
8420 | (ARM_DECLARE_FUNCTION_SIZE): Delete. | |
8421 | * config/arm/elf.h (ASM_DECLARE_FUNCTION_SIZE): Don't use | |
8422 | ARM_DECLARE_FUNCTION_SIZE. | |
8423 | * config/arm/arm.c (arm_init_cumulative_args): Don't set call_cookie. | |
8424 | (arm_function_arg): Return const0_rtx for VOIDmode arguments. | |
8425 | (arm_encode_call_attribute, current_file_function_operand): Delete. | |
8426 | (arm_function_in_section_p): New function. | |
8427 | (arm_is_longcall_p): Rename to... | |
8428 | (arm_is_long_call_p): ...this. Take the target function as a single | |
8429 | argument and return a bool. Do not rely on call cookies. Check | |
8430 | whether the target symbol is in the same section as the current | |
8431 | function, not just the same compilation unit. | |
8432 | (arm_function_ok_for_sibcall): Use arm_is_long_call_p. | |
8433 | (arm_encode_section_info): Don't encode a call type. | |
8434 | * config/arm/arm.md (call, call_value): Update calls to | |
8435 | arm_is_long(_)call_p. Simplify logic. | |
8436 | (*call_symbol, *call_value_symbol, *call_insn, *call_value_insn): | |
8437 | Update calls to arm_is_long(_)call_p. | |
8438 | ||
1a773ec5 | 8439 | 2007-05-25 Richard Guenther <rguenther@suse.de> |
8440 | ||
8441 | PR tree-optimization/31982 | |
8442 | * tree-ssa-forwprop.c | |
8443 | (forward_propagate_addr_into_variable_array_index): Handle arrays | |
8444 | with element size one. | |
8445 | ||
0ac90aa3 | 8446 | 2007-05-24 Andrew Pinski <andrew_pinski@playstation.sony.com> |
8447 | ||
8448 | * config/spu/spu.md (smulsi3_highpart): Unshare the rtl chain. | |
8449 | (umulsi3_highpart): Likewise. | |
8450 | ||
93340cae | 8451 | 2007-05-24 Ian Lance Taylor <iant@google.com> |
8452 | ||
8453 | PR rtl-optimization/32069 | |
8454 | * regclass.c (regclass): Don't crash if the entry in regno_reg_rtx | |
8455 | is NULL. | |
8456 | ||
ce079f70 | 8457 | 2007-05-24 Ollie Wild <aaw@google.com> |
8458 | ||
8459 | * doc/cpp.texi (Common Predefined Macros): Add __COUNTER__ | |
8460 | description. | |
8461 | ||
20128b13 | 8462 | 2007-05-24 Richard Sandiford <rsandifo@nildram.co.uk> |
8463 | ||
8464 | * postreload-gcse.c (reg_changed_after_insn_p): New function. | |
8465 | (oprs_unchanged_p): Use it to check all registers in a REG. | |
8466 | (record_opr_changes): Look for clobbers in CALL_INSN_FUNCTION_USAGE. | |
8467 | (reg_set_between_after_reload_p): Delete. | |
8468 | (reg_used_between_after_reload_p): Likewise. | |
8469 | (reg_set_or_used_since_bb_start): Likewise. | |
8470 | (eliminate_partially_redundant_load): Use reg_changed_after_insn_p | |
8471 | and reg_used_between_p instead of reg_set_or_used_since_bb_start. | |
8472 | Use reg_set_between_p instead of reg_set_between_after_reload_p. | |
8473 | * rtlanal.c (reg_set_p): Check whether REG overlaps | |
8474 | regs_invalidated_by_call, rather than just checking the | |
8475 | membership of REGNO (REG). | |
8476 | ||
ad4a85ad | 8477 | 2007-05-24 Zdenek Dvorak <dvorakz@suse.cz> |
8478 | ||
8479 | * doc/passes.texi: Document predictive commoning. | |
8480 | * doc/invoke.texi (-fpredictive-commoning): Document. | |
8481 | * opts.c (decode_options): Enable flag_predictive_commoning on -O3. | |
8482 | * tree-ssa-loop-im.c (get_lsm_tmp_name): Export. Allow | |
8483 | adding indices to the generated name. | |
8484 | (schedule_sm): Pass 0 to get_lsm_tmp_name. | |
8485 | * tree-ssa-loop-niter.c (stmt_dominates_stmt_p): Export. | |
8486 | * tree-pretty-print.c (op_symbol_1): Renamed to ... | |
8487 | (op_symbol_code): ... and exported. | |
8488 | (dump_omp_clause, op_symbol): Use op_symbol_code | |
8489 | instead of op_symbol_1. | |
8490 | * tree-pass.h (pass_predcom): Declare. | |
8491 | * timevar.def (TV_PREDCOM): New timevar. | |
8492 | * tree-ssa-loop.c (run_tree_predictive_commoning, | |
8493 | gate_tree_predictive_commoning, pass_predcom): New. | |
8494 | * tree-data-ref.c (find_data_references_in_loop): Find the | |
8495 | references in dominance order. | |
8496 | (canonicalize_base_object_address): Ensure that the result has | |
8497 | pointer type. | |
8498 | (dr_analyze_innermost): Export. | |
8499 | (create_data_ref): Code to fail for references with invariant | |
8500 | address moved ... | |
8501 | (find_data_references_in_stmt): ... here. | |
8502 | * tree-data-ref.h (dr_analyze_innermost): Declare. | |
8503 | * tree-affine.c: Include tree-gimple.h and hashtab.h. | |
8504 | (aff_combination_find_elt, name_expansion_hash, | |
8505 | name_expansion_eq, tree_to_aff_combination_expand, | |
8506 | double_int_constant_multiple_p, aff_combination_constant_multiple_p): | |
8507 | New functions. | |
8508 | * tree-affine.h (aff_combination_constant_multiple_p, | |
8509 | tree_to_aff_combination_expand): Declare. | |
8510 | * tree-predcom.c: New file. | |
8511 | * common.opt (fpredictive-commoning): New option. | |
8512 | * tree-flow.h (op_symbol_code, tree_predictive_commoning, | |
8513 | stmt_dominates_stmt_p, get_lsm_tmp_name): Declare. | |
8514 | * Makefile.in (tree-predcom.o): Add. | |
8515 | (tree-affine.o): Add TREE_GIMPLE_H dependency. | |
8516 | * passes.c (init_optimization_passes): Add dceloop after | |
8517 | copy propagation in loop optimizer. Add predictive commoning | |
8518 | to loop optimizer passes. | |
8519 | ||
56788545 | 8520 | 2007-05-24 H.J. Lu <hongjiu.lu@intel.com> |
8521 | ||
8522 | * target-def.h (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Correct | |
8523 | default hook. | |
8524 | ||
60ad3b0e | 8525 | 2007-05-24 Jan Hubicka <jh@suse.cz> |
8526 | ||
7b613d12 | 8527 | * gengenrtl.c (gendecl, gendef): Output the gens annotated for |
8528 | statistics. | |
8529 | (genheader): Include statistics.h. | |
8530 | ||
60ad3b0e | 8531 | * doc/invoke.texi (-fdump-unnumbered): Update docs when line number |
8532 | notes are gone. | |
8533 | * print-rtl.c (flag_dump_unnumbered): Update comments. | |
8534 | (print_rtl): Fix my previous change. | |
8535 | * emit-rtl.c (emit_note_before, emit_note_after): Clear out note | |
8536 | specific data. | |
8537 | ||
96c90e5e | 8538 | 2007-05-24 Zdenek Dvorak <dvorakz@suse.cz> |
8539 | ||
8540 | PR middle-end/32018 | |
8541 | * tree-ssa-threadupdate.c (thread_through_loop_header): Use | |
8542 | set_loop_copy. | |
8543 | (thread_through_all_blocks): Call initialize_original_copy_tables | |
8544 | and free_original_copy_tables. | |
8545 | * cfgloopmanip.c (duplicate_loop, duplicate_loop_to_header_edge): | |
8546 | Use set_loop_copy. | |
8547 | * tree-cfg.c (tree_duplicate_sese_region): Ditto. | |
8548 | * cfghooks.c (duplicate_block): Use get_loop_copy. | |
8549 | * cfg.c: Include cfgloop.h. | |
8550 | (loop_copy): New hash table. | |
8551 | (initialize_original_copy_tables): Initialize loop_copy table. | |
8552 | (free_original_copy_tables): Free loop_copy table. | |
8553 | (copy_original_table_clear, copy_original_table_set, | |
8554 | set_loop_copy, get_loop_copy): New functions. | |
8555 | (set_bb_original, set_bb_copy): Use copy_original_table_set. | |
8556 | * cfgloop.h (struct loop): Remove copy field. | |
8557 | * Makefile.in (cfg.o): Add CFGLOOP_H dependency. | |
8558 | * basic-block.h (set_loop_copy, get_loop_copy): Declare. | |
8559 | ||
7ed90ee0 | 8560 | 2007-05-24 H.J. Lu <hongjiu.lu@intel.com> |
8561 | ||
8562 | * config/i386/i386.c (ix86_handle_option): Handle SSE4.1 for | |
8563 | -msse/-msse2/-msse3. | |
8564 | ||
b93eb9a1 | 8565 | 2007-05-24 H.J. Lu <hongjiu.lu@intel.com> |
8566 | ||
8567 | * config/i386/i386.c (ix86_init_mmx_sse_builtins): Mark | |
8568 | __builtin_ia32_vec_set_v2di with MASK_64BIT. | |
8569 | ||
97a424bc | 8570 | 2007-05-24 Danny Smith <dannysmith@users.sourceforge.net> |
8571 | ||
8572 | PR target/27067 | |
8573 | * doc/tm.texi (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Document. | |
8574 | * targhooks.h (default_mangle_decl_assembler_name): Declare | |
8575 | default hook. | |
8576 | * targhooks.c (default_mangle_decl_assembler_name): Define | |
8577 | default hook. | |
8578 | * target-def.h (TARGET_MANGLE_DECL_ASSEMBLER_NAME) New. Set to | |
8579 | default hook. | |
8580 | * target.h (struct gcc_target): Add mangle_decl_assembler_name field. | |
8581 | * langhooks.c (lhd_set_decl_assembler_name): Call | |
8582 | targetm.mangle_decl_assembler_name for names with global scope. | |
8583 | ||
8584 | * config/i386/cygming.h (TARGET_MANGLE_DECL_ASSEMBLER_NAME) Override | |
8585 | default. | |
8586 | (ASM_OUTPUT_DEF_FROM_DECLS): Simplify to use DECL_ASSEMBLER_NAME. | |
8587 | * config/i386/i386-protos.h (i386_pe_mangle_decl_assembler_name): | |
8588 | Declare. | |
8589 | * config/i386/winnt.c (i386_pe_maybe_mangle_decl_assembler_name): | |
8590 | New. Factored out of i386_pe_encode_section_info. | |
8591 | (gen_stdcall_or_fastcall_suffix): Get name identifier as argument. | |
8592 | Move check for prior decoration of stdcall | |
8593 | symbols to i386_pe_encode_section_info. | |
8594 | (i386_pe_encode_section_info): Adjust call to | |
8595 | gen_stdcall_or_fastcall_suffix. Use | |
8596 | i386_pe_maybe_mangle_decl_assembler_name, if needed. | |
8597 | (i386_pe_mangle_decl_assembler_name): New. Wrap | |
8598 | i386_pe_maybe_mangle_decl_assembler_name. | |
8599 | ||
ac265864 | 8600 | 2007-05-16 Rafael Avila de Espindola <espindola@google.com> |
8601 | ||
8602 | * c-common.c (c_common_signed_or_unsigned_type): Delay the check for | |
8603 | INTEGRAL_TYPE_P and TYPE_UNSIGNED. | |
8604 | * langhooks.c (get_signed_or_unsigned_type): Don't check for | |
8605 | INTEGRAL_TYPE_P or TYPE_UNSIGNED. | |
8606 | (lhd_signed_or_unsigned_type): Check for INTEGRAL_TYPE_P and | |
8607 | TYPE_UNSIGNED. | |
8608 | ||
50b412ce | 8609 | 2007-05-23 Sandra Loosemore <sandra@codesourcery.com> |
8610 | Nigel Stephens <nigel@mips.com> | |
8611 | Richard Sandiford <richard@codesourcery.com> | |
8612 | ||
8613 | Fix up MIPS16 hard float and add support for complex. | |
8614 | ||
8615 | * config/mips/mips.h (TARGET_HARD_FLOAT_ABI): New. | |
8616 | (TARGET_SOFT_FLOAT_ABI): New. | |
8617 | (TARGET_CPU_CPP_BUILTINS): Define __mips_hard_float and | |
8618 | __mips_soft_float to reflect the ABI in use, not whether the | |
8619 | FPU is directly accessible (e.g., in MIPS16 mode). | |
8620 | (UNITS_PER_HWFPVALUE): Use TARGET_SOFT_FLOAT_ABI. | |
8621 | (UNITS_PER_FPVALUE): Likewise. | |
8622 | ||
8623 | * config/mips/mips.c (mips_expand_call): Remove redundant | |
8624 | TARGET_MIPS16 check. | |
8625 | (mips_arg_regno): New. | |
8626 | (function_arg_advance): When setting bits in cum->fp_code for | |
8627 | MIPS16, don't subtract 1 from cum->arg_number, since it is now | |
8628 | zero-based. | |
8629 | (function_arg): Use mips_arg_regno. | |
8630 | (mips_return_mode_in_fpr_p): New. | |
8631 | (mips16_call_stub_mode_suffix): New. | |
8632 | (mips16_cfun_returns_in_fpr_p): New. | |
8633 | (mips_save_reg_p): Use mips16_cfun_returns_in_fpr_p. | |
8634 | (mips_output_function_prologue): Test mips16_hard_float, not | |
8635 | !TARGET_SOFT_FLOAT, to decide when a function stub is required. | |
8636 | (mips_expand_epilogue): Call MIPS16 helper routines to copy | |
8637 | return value into a floating-point register. | |
8638 | (mips_can_use_return_insn): Use mips16_cfun_returns_in_fpr_p. | |
8639 | (mips_function_value): Rewrite to use mips_return_mode_in_fpr_p. | |
8640 | (mips16_fp_args): Handle MIPS32r2 ISA which supports | |
8641 | TARGET_FLOAT64, and use mfhc1/mthc1 to copy the most significant | |
8642 | word of double arguments from or to the high bits of 64-bit | |
8643 | floating point registers. | |
8644 | (build_mips16_function_stub): Fill in DECL_RESULT for stubdecl. | |
8645 | (mips16_fpret_double): New helper function. | |
8646 | (build_mips16_call_stub): Use mips16_return_mode_in_fpr_p. Add | |
8647 | support for complex modes. Fill in DECL_RESULT for stubdecl. | |
8648 | (mips_init_libfuncs): Remove redundant TARGET_MIPS16 check. | |
8649 | ||
01b68987 | 8650 | * config/mips/mips16.S |
50b412ce | 8651 | (RET, ARG1, ARG2): New. |
8652 | (MERGE_GPRf, MERGE_GPRt): New. | |
8653 | (DELAYt, DELAYf): New. | |
8654 | (MOVE_SF_BYTE0, MOVE_SI_BYTE0): New. | |
8655 | (MOVE_SF_BYTE4, MOVE_SF_BYTE8): New. | |
8656 | (MOVE_DF_BYTE0, MOVE_DF_BYTE8): New. | |
8657 | (MOVE_SF_RET, MOVE_SC_RET, MOVE_DF_RET, MOVE_DC_RET, MOVE_SI_RET): New. | |
8658 | (SFOP): Renamed to... | |
8659 | (OPSF3): This, and macro-ified. Updated all uses. | |
8660 | (SFOP2): Renamed to... | |
8661 | (OPSF2): This, and macro-ified. Updated all uses. | |
8662 | (SFCMP): Renamed to... | |
8663 | (CMPSF): This, and macro-ified. Updated all uses. | |
8664 | (SFREVCMP): Renamed to... | |
8665 | (REVCMPSF): This, and macro-ified. Updated all uses. | |
8666 | (__mips16_floatsisf, __mips16_fix_truncsfsi): Macro-ified. | |
8667 | (LDDBL1, LDDBL2, RETDBL): Deleted. | |
8668 | (DFOP): Renamed to... | |
8669 | (OPDF3): This, and macro-ified. Updated all uses. | |
8670 | (DFOP2): Renamed to... | |
8671 | (OPDF2): This, and macro-ified. Updated all uses. | |
8672 | (__mips16_extendsfdf2, __mips16_truncdfsf2): Macro-ified. | |
8673 | (DFCMP): Renamed to... | |
8674 | (CMPDF): This, and macro-ified. Updated all uses. | |
8675 | (DFREVCMP): Renamed to... | |
8676 | (REVCMPDF): This, and macro-ified. Updated all uses. | |
8677 | (__mips16_floatsidf, __mips16_fix_truncdfsi): Macro-ified. | |
8678 | (RET_FUNCTION): New. | |
8679 | (__mips16_ret_sf, __mips16_ret_df): Macro-ified. | |
8680 | (__mips16_ret_sc, __mips16_ret_dc): New. | |
8681 | (STUB_ARGS_0, STUB_ARGS_1, STUB_ARGS_5, STUB_ARGS_9, STUB_ARGS_2, | |
8682 | STUB_ARGS_6, STUB_ARGS_10): New. | |
8683 | (CALL_STUB_NO_RET): New. | |
8684 | (__mips16_call_stub_1): Macro-ified. | |
8685 | (__mips16_call_stub_5): Macro-ified. | |
8686 | (__mips16_call_stub_2): Macro-ified. | |
8687 | (__mips16_call_stub_6): Macro-ified. | |
8688 | (__mips16_call_stub_9): Macro-ified. | |
8689 | (__mips16_call_stub_10): Macro-ified. | |
8690 | (CALL_STUB_RET): New. | |
8691 | (__mips16_call_stub_sf_0): Macro-ified. | |
8692 | (__mips16_call_stub_sf_1): Macro-ified. | |
8693 | (__mips16_call_stub_sf_5): Macro-ified. | |
8694 | (__mips16_call_stub_sf_2): Macro-ified. | |
8695 | (__mips16_call_stub_sf_6): Macro-ified. | |
8696 | (__mips16_call_stub_sf_9): Macro-ified. | |
8697 | (__mips16_call_stub_sf_10): Macro-ified. | |
8698 | (__mips16_call_stub_df_0): Macro-ified. | |
8699 | (__mips16_call_stub_df_1): Macro-ified. | |
8700 | (__mips16_call_stub_df_5): Macro-ified. | |
8701 | (__mips16_call_stub_df_2): Macro-ified. | |
8702 | (__mips16_call_stub_df_6): Macro-ified. | |
8703 | (__mips16_call_stub_df_9): Macro-ified. | |
8704 | (__mips16_call_stub_df_10): Macro-ified. | |
8705 | (__mips16_call_stub_sc_0): New. | |
8706 | (__mips16_call_stub_sc_1): New. | |
8707 | (__mips16_call_stub_sc_5): New. | |
8708 | (__mips16_call_stub_sc_2): New. | |
8709 | (__mips16_call_stub_sc_6): New. | |
8710 | (__mips16_call_stub_sc_9): New. | |
8711 | (__mips16_call_stub_sc_10): New. | |
8712 | (__mips16_call_stub_dc_0): New. | |
8713 | (__mips16_call_stub_dc_1): New. | |
8714 | (__mips16_call_stub_dc_5): New. | |
8715 | (__mips16_call_stub_dc_2): New. | |
8716 | (__mips16_call_stub_dc_6): New. | |
8717 | (__mips16_call_stub_dc_9): New. | |
8718 | (__mips16_call_stub_dc_10): New. | |
01b68987 | 8719 | |
50b412ce | 8720 | * config/mips/t-elf (LIB1ASMFUNCS): Add MIPS16 floating-point stubs. |
8721 | * config/mips/t-isa3264 (LIB1ASMFUNCS): Likewise. | |
8722 | * config/mips/t-r2900 (LIB1ASMFUNCS): Likewise. | |
8723 | ||
72d1a71d | 8724 | 2007-05-23 Ian Lance Taylor <iant@google.com> |
8725 | ||
8726 | * doc/invoke.texi (Invoking GCC): Document that the order of the | |
8727 | -l option matters. | |
8728 | ||
8cc26894 | 8729 | 2007-05-23 Chen Liqin <liqin@sunnorth.com.cn> |
8730 | ||
8731 | PR target/30987 | |
d7e69d69 | 8732 | * config/score/misc.md (bitclr_c, bitset_c, bittgl_c): Remove. |
8733 | * config/score/predicate.md (const_pow2, const_npow2): Remove. | |
8734 | * config/score/score.h (ASM_OUTPUT_EXTERNAL): Add ASM_OUTPUT_EXTERNAL | |
8735 | undef. | |
8736 | ||
8cc26894 | 8737 | PR target/30474 |
d7e69d69 | 8738 | * config/score/score.c (score_print_operand): Make sure that only |
8739 | lower bits are used. | |
01b68987 | 8740 | |
afc1ad6d | 8741 | 2007-05-22 Ian Lance Taylor <iant@google.com> |
8742 | ||
8743 | * tree-vrp.c (avoid_overflow_infinity): New static function, | |
8744 | broken out of set_value_range_to_value. | |
8745 | (set_value_range_to_value): Call avoid_overflow_infinity. | |
8746 | (extract_range_from_assert): Likewise. | |
8747 | ||
05be68f3 | 8748 | 2007-05-22 Andrew Pinski <andrew_pinski@playstation.sony.com> |
8749 | ||
8750 | PR middle-end/31095 | |
8751 | * builtins.c (expand_builtin_memmove_args): Strip nops that don't | |
8752 | change the type before looking for a COMPOUND_EXPR. | |
8753 | ||
44e61675 | 8754 | 2007-05-22 Ian Lance Taylor <iant@google.com> |
8755 | ||
8756 | * lower-subreg.c (decompose_multiword_subregs): If we change an | |
8757 | insn, call remove_retval_note on it. | |
8758 | ||
a2c6f0b7 | 8759 | 2007-05-22 Richard Sandiford <rsandifo@nildram.co.uk> |
8760 | ||
8761 | * regs.h (end_hard_regno): New function. | |
8762 | (END_HARD_REGNO, END_REGNO): New macros. | |
8763 | (add_to_hard_reg_set): New function. | |
8764 | (remove_from_hard_reg_set): Likewise. | |
8765 | (in_hard_reg_set_p): Likewise. | |
8766 | (overlaps_hard_reg_set_p): Likewise. | |
8767 | * bt-load.c (find_btr_reference): Use overlaps_hard_reg_set_p. | |
8768 | (note_btr_set): Use END_HARD_REGNO. | |
8769 | * caller-save.c (setup_save_areas): Use end_hard_regno. | |
8770 | (mark_set_regs): Use END_HARD_REGNO. | |
8771 | (add_stored_regs): Use end_hard_regno. | |
8772 | (mark_referenced_regs): Use add_to_hard_reg_set. | |
8773 | * combine.c (update_table_tick): Use END_REGNO. | |
8774 | (record_value_for_reg): Likewise. | |
8775 | (record_dead_and_set_regs): Likewise. | |
8776 | (get_last_value_validate): Likewise. | |
8777 | (use_crosses_set_p): Likewise. | |
8778 | (reg_dead_at_p_1): Likewise. | |
8779 | (reg_dead_at_p): Likewise. | |
8780 | (mark_used_regs_combine): Use add_to_hard_reg_set. | |
8781 | (move_deaths): Use END_HARD_REGNO. | |
8782 | (reg_bitfield_target_p): Use end_hard_regno. | |
8783 | (distribute_notes): Use END_HARD_REGNO. | |
8784 | * cse.c (mention_regs): Use END_REGNO. | |
8785 | (insert): Use add_to_hard_reg_set. | |
8786 | (invalidate): Use END_HARD_REGNO. | |
8787 | (invalidate_for_call): Likewise. | |
8788 | (exp_equiv_p): Use END_REGNO. | |
8789 | (cse_insn): Likewise. | |
8790 | * cselib.c (cselib_invalidate_regno): Use end_hard_regno. | |
8791 | * df-problems.c (df_urec_mark_reg_change): Use END_HARD_REGNO. | |
8792 | * df-scan.c (df_ref_record): Use END_HARD_REGNO. | |
8793 | * function.c (keep_stack_depressed): Use end_hard_regno. | |
8794 | * global.c (global_alloc): Use end_hard_regno. | |
8795 | (global_conflicts): Use add_to_hard_reg_set instead of | |
8796 | mark_reg_live_nc. | |
8797 | (find_reg): Likewise. | |
8798 | (mark_reg_store): Likewise. | |
8799 | (mark_reg_conflicts): Likewise. | |
8800 | (mark_reg_death): Use remove_from_hard_reg_set. | |
8801 | (mark_reg_live_nc): Delete. | |
8802 | (set_preference): Use end_hard_regno. | |
8803 | * local-alloc.c (mark_life): Use add_to_hard_reg_set and | |
8804 | remove_from_hard_reg_set. | |
8805 | (post_mark_life): Use add_to_hard_reg_set. | |
8806 | * mode-switching.c (reg_dies): Use remove_from_hard_reg_set. | |
8807 | (reg_becomes_live): Use add_to_hard_reg_set. | |
8808 | * recog.c (reg_fits_class_p): Use in_hard_reg_set_p. | |
8809 | (peep2_find_free_register): Use add_to_hard_reg_set. | |
8810 | * reg-stack.c (convert_regs_exit): Use END_HARD_REGNO. | |
8811 | * regclass.c (record_reg_classes): Use in_hard_reg_set_p. | |
8812 | * regrename.c (note_sets): Use add_to_hard_reg_set. | |
8813 | (clear_dead_regs): Use remove_from_hard_reg_set. | |
8814 | (regrename_optimize): Use add_to_hard_reg_set. | |
8815 | (find_oldest_value_reg): Use in_hard_reg_set_p. | |
8816 | * reload.c (push_reload): Use in_hard_reg_set_p and end_hard_regno. | |
8817 | (hard_reg_set_here_p): Use end_hard_regno. | |
8818 | (decompose): Likewise. | |
8819 | (reg_overlap_mentioned_for_reload_p): Use END_HARD_REGNO. | |
8820 | (find_equiv_reg): Use in_hard_reg_set_p and end_hard_regno. | |
8821 | * reload1.c (compute_use_by_pseudos): Use add_to_hard_reg_set. | |
8822 | (mark_home_live): Use end_hard_regno. | |
8823 | (spill_hard_reg): Likewise. | |
8824 | (clear_reload_reg_in_use): Likewise. | |
8825 | * reorg.c (delete_prior_computation): Use END_REGNO. | |
8826 | * resource.c (update_live_status): Use END_HARD_REGNO. | |
8827 | (mark_referenced_resources): Use add_to_hard_reg_set. | |
8828 | (mark_set_resources): Likewise. | |
8829 | (mark_target_live_regs): Likewise. Use remove_from_hard_reg_set. | |
8830 | * rtlanal.c (refers_to_regno_p): Use END_REGNO. | |
8831 | (reg_overlap_mentioned_p): Likewise. | |
8832 | (dead_or_set_p): Likewise. Use an exclusive upper loop bound. | |
8833 | (covers_regno_no_parallel_p): Use END_REGNO. | |
8834 | (find_regno_note): Likewise. | |
8835 | (find_reg_fusage): Use END_HARD_REGNO. | |
8836 | * stmt.c (decl_overlaps_hard_reg_set_p): Use overlaps_hard_reg_set_p. | |
8837 | * var-tracking.c (emit_note_insn_var_location): Use end_hard_regno. | |
8838 | ||
0ff4fe1d | 8839 | 2007-05-22 Richard Sandiford <rsandifo@nildram.co.uk> |
8840 | ||
8841 | * mode-switching.c (reg_dies): Change type of second argument to | |
8842 | "HARD_REG_SET *". | |
8843 | (optimize_mode_switching): Update accordingly. | |
8844 | ||
ddc556d1 | 8845 | 2007-05-22 Richard Sandiford <richard@codesourcery.com> |
8846 | ||
8847 | * hard-reg-set.h (GO_IF_HARD_REG_SUBSET, GO_IF_HARD_REG_EQUAL): Delete | |
8848 | in favor of... | |
8849 | (hard_reg_subset_p, hard_reg_sets_equal_p, hard_reg_sets_intersect_p) | |
8850 | (hard_reg_set_empty_p): ...these new functions. | |
8851 | * bt-load.c (choose_btr): Use hard_reg_subset_p instead of | |
8852 | GO_IF_HARD_REG_SUBSET. | |
8853 | * cfgcleanup.c (old_insns_match_p): Use hard_reg_sets_equal_p | |
8854 | instead of GO_IF_HARD_REG_EQUAL. | |
8855 | * df-problems.c (df_urec_local_compute): Use hard_reg_set_empty_p | |
8856 | instead of GO_IF_HARD_REG_EQUAL. | |
8857 | * global.c (find_reg): Use hard_reg_set_empty_p instead of | |
8858 | GO_IF_HARD_REG_SUBSET. | |
8859 | (modify_reg_pav): Use hard_reg_set_empty_p instead of | |
8860 | GO_IF_HARD_REG_EQUAL. | |
8861 | * local-alloc.c (find_free_reg): Use hard_reg_subset_p instead | |
8862 | of GO_IF_HARD_REG_SUBSET. | |
8863 | * reg-stack.c (change_stack, convert_regs_1): Use hard_reg_sets_equal_p | |
8864 | instead of GO_IF_HARD_REG_EQUAL. | |
8865 | * regclass.c (init_reg_sets_1, reg_scan_mark_refs): Use | |
8866 | hard_reg_subset_p instead of GO_IF_HARD_REG_SUBSET. | |
8867 | (reg_classes_intersect_p): Use hard_reg_sets_intersect_p instead | |
8868 | of GO_IF_HARD_REG_SUBSET, | |
8869 | * reload1.c (finish_spills): Use hard_reg_subset_p instead of | |
8870 | GO_IF_HARD_REG_SUBSET. | |
8871 | * struct-equiv.c (death_notes_match_p): Use hard_reg_sets_equal_p | |
8872 | instead of GO_IF_HARD_REG_EQUAL. | |
8873 | * config/sh/sh.c (push_regs, calc_live_regs): Use | |
8874 | hard_reg_sets_intersect_p instead of hard_regs_intersect_p. | |
8875 | (hard_regs_intersect_p): Delete. | |
8876 | ||
5130af5f | 8877 | 2007-05-22 Janis Johnson <janis187@us.ibm.com> |
8878 | ||
8879 | * doc/sourcebuild.texi (Test Directives) Add dg-message. | |
8880 | ||
2d771892 | 8881 | 2007-05-22 H.J. Lu <hongjiu.lu@intel.com> |
8882 | Richard Henderson <rth@redhat.com> | |
8883 | ||
8884 | * config.gcc (i[34567]86-*-*): Add smmintrin.h to | |
8885 | extra_headers. | |
8886 | (x86_64-*-*): Likewise. | |
8887 | ||
8888 | * i386/i386-modes.def (V2QI): New. | |
8889 | ||
8890 | * config/i386/i386.c (ix86_handle_option): Handle SSE4.1 and | |
8891 | SSE4A. | |
8892 | (override_options): Support SSE4.1. | |
8893 | (IX86_BUILTIN_BLENDPD): New for SSE4.1. | |
8894 | (IX86_BUILTIN_BLENDPS): Likewise. | |
8895 | (IX86_BUILTIN_BLENDVPD): Likewise. | |
8896 | (IX86_BUILTIN_BLENDVPS): Likewise. | |
8897 | (IX86_BUILTIN_PBLENDVB128): Likewise. | |
8898 | (IX86_BUILTIN_PBLENDW128): Likewise. | |
8899 | (IX86_BUILTIN_DPPD): Likewise. | |
8900 | (IX86_BUILTIN_DPPS): Likewise. | |
8901 | (IX86_BUILTIN_INSERTPS128): Likewise. | |
8902 | (IX86_BUILTIN_MOVNTDQA): Likewise. | |
8903 | (IX86_BUILTIN_MPSADBW128): Likewise. | |
8904 | (IX86_BUILTIN_PACKUSDW128): Likewise. | |
8905 | (IX86_BUILTIN_PCMPEQQ): Likewise. | |
8906 | (IX86_BUILTIN_PHMINPOSUW128): Likewise. | |
8907 | (IX86_BUILTIN_PMAXSB128): Likewise. | |
8908 | (IX86_BUILTIN_PMAXSD128): Likewise. | |
8909 | (IX86_BUILTIN_PMAXUD128): Likewise. | |
8910 | (IX86_BUILTIN_PMAXUW128): Likewise. | |
8911 | (IX86_BUILTIN_PMINSB128): Likewise. | |
8912 | (IX86_BUILTIN_PMINSD128): Likewise. | |
8913 | (IX86_BUILTIN_PMINUD128): Likewise. | |
8914 | (IX86_BUILTIN_PMINUW128): Likewise. | |
8915 | (IX86_BUILTIN_PMOVSXBW128): Likewise. | |
8916 | (IX86_BUILTIN_PMOVSXBD128): Likewise. | |
8917 | (IX86_BUILTIN_PMOVSXBQ128): Likewise. | |
8918 | (IX86_BUILTIN_PMOVSXWD128): Likewise. | |
8919 | (IX86_BUILTIN_PMOVSXWQ128): Likewise. | |
8920 | (IX86_BUILTIN_PMOVSXDQ128): Likewise. | |
8921 | (IX86_BUILTIN_PMOVZXBW128): Likewise. | |
8922 | (IX86_BUILTIN_PMOVZXBD128): Likewise. | |
8923 | (IX86_BUILTIN_PMOVZXBQ128): Likewise. | |
8924 | (IX86_BUILTIN_PMOVZXWD128): Likewise. | |
8925 | (IX86_BUILTIN_PMOVZXWQ128): Likewise. | |
8926 | (IX86_BUILTIN_PMOVZXDQ128): Likewise. | |
8927 | (IX86_BUILTIN_PMULDQ128): Likewise. | |
8928 | (IX86_BUILTIN_PMULLD128): Likewise. | |
8929 | (IX86_BUILTIN_ROUNDPD): Likewise. | |
8930 | (IX86_BUILTIN_ROUNDPS): Likewise. | |
8931 | (IX86_BUILTIN_ROUNDSD): Likewise. | |
8932 | (IX86_BUILTIN_ROUNDSS): Likewise. | |
8933 | (IX86_BUILTIN_PTESTZ): Likewise. | |
8934 | (IX86_BUILTIN_PTESTC): Likewise. | |
8935 | (IX86_BUILTIN_PTESTNZC): Likewise. | |
8936 | (IX86_BUILTIN_VEC_EXT_V16QI): Likewise. | |
8937 | (IX86_BUILTIN_VEC_SET_V2DI): Likewise. | |
8938 | (IX86_BUILTIN_VEC_SET_V4SF): Likewise. | |
8939 | (IX86_BUILTIN_VEC_SET_V4SI): Likewise. | |
8940 | (IX86_BUILTIN_VEC_SET_V16QI): Likewise. | |
8941 | (bdesc_ptest): New. | |
8942 | (bdesc_sse_3arg): Likewise. | |
8943 | (bdesc_2arg): Likewise. | |
8944 | (bdesc_1arg): Likewise. | |
8945 | (ix86_init_mmx_sse_builtins): Support SSE4.1. Handle SSE builtins | |
8946 | with 3 args. | |
8947 | (ix86_expand_sse_4_operands_builtin): New. | |
8948 | (ix86_expand_unop_builtin): Support 2 arg builtins with a constant | |
8949 | smaller than 8 bits as the 2nd arg. | |
8950 | (ix86_expand_sse_ptest): New. | |
8951 | (ix86_expand_builtin): Support SSE4.1. Support 3 arg SSE builtins. | |
8952 | (ix86_expand_vector_set): Support SSE4.1. | |
8953 | (ix86_expand_vector_extract): Likewise. | |
8954 | ||
8955 | * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Define | |
8956 | __SSE4_1__ for -msse4.1. | |
8957 | ||
8958 | * config/i386/i386.md (UNSPEC_BLENDV): New for SSE4.1. | |
8959 | (UNSPEC_INSERTPS): Likewise. | |
8960 | (UNSPEC_DP): Likewise. | |
8961 | (UNSPEC_MOVNTDQA): Likewise. | |
8962 | (UNSPEC_MPSADBW): Likewise. | |
8963 | (UNSPEC_PHMINPOSUW): Likewise. | |
8964 | (UNSPEC_PTEST): Likewise. | |
8965 | (UNSPEC_ROUNDP): Likewise. | |
8966 | (UNSPEC_ROUNDS): Likewise. | |
8967 | ||
8968 | * config/i386/i386.opt (msse4.1): New for SSE4.1. | |
8969 | ||
8970 | * config/i386/predicates.md (const_pow2_1_to_2_operand): New. | |
8971 | (const_pow2_1_to_32768_operand): Likewise. | |
8972 | ||
8973 | * config/i386/smmintrin.h: New. The SSE4.1 intrinsic header | |
8974 | file. | |
8975 | ||
8976 | * config/i386/sse.md (*vec_setv4sf_sse4_1): New pattern for | |
8977 | SSE4.1. | |
8978 | (sse4_1_insertps): Likewise. | |
8979 | (*sse4_1_extractps): Likewise. | |
8980 | (sse4_1_ptest): Likewise. | |
8981 | (sse4_1_mulv2siv2di3): Likewise. | |
8982 | (*sse4_1_mulv4si3): Likewise. | |
8983 | (*sse4_1_smax<mode>3): Likewise. | |
8984 | (*sse4_1_umax<mode>3): Likewise. | |
8985 | (*sse4_1_smin<mode>3): Likewise. | |
8986 | (*sse4_1_umin<mode>3): Likewise. | |
8987 | (sse4_1_eqv2di3): Likewise. | |
8988 | (*sse4_1_pinsrb): Likewise. | |
8989 | (*sse4_1_pinsrd): Likewise. | |
8990 | (*sse4_1_pinsrq): Likewise. | |
8991 | (*sse4_1_pextrb): Likewise. | |
8992 | (*sse4_1_pextrb_memory): Likewise. | |
8993 | (*sse4_1_pextrw_memory): Likewise. | |
8994 | (*sse4_1_pextrq): Likewise. | |
8995 | (sse4_1_blendpd): Likewise. | |
8996 | (sse4_1_blendps): Likewise. | |
8997 | (sse4_1_blendvpd): Likewise. | |
8998 | (sse4_1_blendvps): Likewise. | |
8999 | (sse4_1_dppd): Likewise. | |
9000 | (sse4_1_dpps): Likewise. | |
9001 | (sse4_1_movntdqa): Likewise. | |
9002 | (sse4_1_mpsadbw): Likewise. | |
9003 | (sse4_1_packusdw): Likewise. | |
9004 | (sse4_1_pblendvb): Likewise. | |
9005 | (sse4_1_pblendw): Likewise. | |
9006 | (sse4_1_phminposuw): Likewise. | |
9007 | (sse4_1_extendv8qiv8hi2): Likewise. | |
9008 | (*sse4_1_extendv8qiv8hi2): Likewise. | |
9009 | (sse4_1_extendv4qiv4si2): Likewise. | |
9010 | (*sse4_1_extendv4qiv4si2): Likewise. | |
9011 | (sse4_1_extendv2qiv2di2): Likewise. | |
9012 | (*sse4_1_extendv2qiv2di2): Likewise. | |
9013 | (sse4_1_extendv4hiv4si2): Likewise. | |
9014 | (*sse4_1_extendv4hiv4si2): Likewise. | |
9015 | (sse4_1_extendv2hiv2di2): Likewise. | |
9016 | (*sse4_1_extendv2hiv2di2): Likewise. | |
9017 | (sse4_1_extendv2siv2di2): Likewise. | |
9018 | (*sse4_1_extendv2siv2di2): Likewise. | |
9019 | (sse4_1_zero_extendv8qiv8hi2): Likewise. | |
9020 | (*sse4_1_zero_extendv8qiv8hi2): Likewise. | |
9021 | (sse4_1_zero_extendv4qiv4si2): Likewise. | |
9022 | (*sse4_1_zero_extendv4qiv4si2): Likewise. | |
9023 | (sse4_1_zero_extendv2qiv2di2): Likewise. | |
9024 | (*sse4_1_zero_extendv2qiv2di2): Likewise. | |
9025 | (sse4_1_zero_extendv4hiv4si2): Likewise. | |
9026 | (*sse4_1_zero_extendv4hiv4si2): Likewise. | |
9027 | (sse4_1_zero_extendv2hiv2di2): Likewise. | |
9028 | (*sse4_1_zero_extendv2hiv2di2): Likewise. | |
9029 | (sse4_1_zero_extendv2siv2di2): Likewise. | |
9030 | (*sse4_1_zero_extendv2siv2di2): Likewise. | |
9031 | (sse4_1_roundpd): Likewise. | |
9032 | (sse4_1_roundps): Likewise. | |
9033 | (sse4_1_roundsd): Likewise. | |
9034 | (sse4_1_roundss): Likewise. | |
9035 | (mulv4si3): Don't expand for SSE4.1. | |
9036 | (smax<mode>3): Likewise. | |
9037 | (umaxv4si3): Likewise. | |
9038 | (uminv16qi3): Likewise. | |
9039 | (umin<mode>3): Likewise. | |
9040 | (umaxv8hi3): Rewrite. Only enabled for SSE4.1. | |
9041 | ||
9042 | * doc/extend.texi: Document SSE4.1 built-in functions. | |
9043 | ||
9044 | * doc/invoke.texi: Document -msse4.1. | |
9045 | ||
d3f19e12 | 9046 | 2007-05-22 Nathan Sidwell <nathan@codesourcery.com> |
9047 | ||
9048 | * config/m68k/linux.h (ASM_SPEC): Add asm_pcrel_spec. | |
9049 | * config/m68k/m68k-none.h (ASM_SPEC): Don't override here. | |
9050 | * config/m68k/m68k.h (ASM_PCREL_SPEC): New. | |
9051 | (ASM_SPEC): Add asm_pcrel_spec. | |
9052 | (EXTRA_SPECS): Add asm_pcrel_spec. | |
9053 | ||
cc3b034a | 9054 | 2007-05-21 David Daney <ddaney@avtrex.com> |
9055 | ||
9056 | * doc/install.texi (Building a cross compiler): Add requirements | |
9057 | for Java cross compiler. | |
9058 | ||
9c77efff | 9059 | 2007-05-21 Andrew Pinski <andrew_pinski@playstation.sony.com> |
9060 | ||
9061 | PR middle-end/31995 | |
9062 | * tree-chrec.c (evolution_function_is_affine_multivariate_p): | |
9063 | Add loopno argument. Use evolution_function_is_invariant_rec_p | |
9064 | instead of evolution_function_is_constant_p. | |
9065 | Update calls to evolution_function_is_affine_multivariate_p. | |
d7e69d69 | 9066 | * tree-chrec.h (evolution_function_is_affine_multivariate_p): |
9c77efff | 9067 | Add loopno argument. |
9068 | * tree-scalar-evolution.c (gather_chrec_stats): Call | |
d7e69d69 | 9069 | evolution_function_is_affine_multivariate_p with a loop |
9c77efff | 9070 | number of 0. |
9071 | * tree-data-ref.c (analyze_miv_subscript): Likewise. | |
9072 | (analyze_overlapping_iterations): Likewise. | |
d7e69d69 | 9073 | (access_functions_are_affine_or_constant_p): Likewise. |
9c77efff | 9074 | (build_classic_dist_vector_1): If the access functions |
9075 | are equal, don't do anything. | |
9076 | ||
893358f7 | 9077 | 2007-05-21 Paolo Bonzini <bonzini@gnu.org> |
d7e69d69 | 9078 | Paolo Carlini <pcarlini@suse.de> |
893358f7 | 9079 | Uros Bizjak <ubizjak@gmail.com> |
9080 | ||
9081 | * c-cppbuiltin.c (c_cpp_builtins): Define | |
9082 | __GCC_HAVE_SYNC_COMPARE_AND_SWAP_1, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_2, | |
9083 | __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4, __GCC_HAVE_SYNC_COMPARE_AND_SWAP_8, | |
9084 | __GCC_HAVE_SYNC_COMPARE_AND_SWAP_16, if appropriate. | |
9085 | * doc/cpp.texi ([Standard Predefined Macros]): Document. | |
9086 | ||
0145b1e2 | 9087 | 2007-05-21 Mike Stump <mrs@apple.com> |
9088 | ||
eebb423d | 9089 | * config/darwin.h (LINK_COMMAND_SPEC): Add .cxx/.cp for dsymutil |
0145b1e2 | 9090 | handling as well. |
9091 | * config/darwin9.h (LINK_COMMAND_SPEC): Likewise. | |
9092 | ||
d61e5c1b | 9093 | 2007-05-21 Uros Bizjak <ubizjak@gmail.com> |
9094 | ||
9095 | * config/i386/tmmintrin.h (_mm_alignr_epi8): Provide macro | |
9096 | implementation if __OPTIMIZE__ is not defined. | |
9097 | (_mm_alignr_pi8): Ditto. | |
9098 | * config/i386/ammintrin.h (_mm_extracti_si64): Ditto. | |
9099 | (_mm_inserti_si64): Ditto. | |
9100 | * config/i386/emmintrin.h (_mm_shuffle_pd): Ditto. | |
9101 | (_mm_slli_epi16): Ditto. | |
9102 | (_mm_slli_epi32): Ditto. | |
9103 | (_mm_slli_epi64): Ditto. | |
9104 | (_mm_srai_epi16): Ditto. | |
9105 | (_mm_srai_epi32): Ditto. | |
9106 | (_mm_srli_si128): Ditto. | |
9107 | (_mm_slli_si128): Ditto. | |
9108 | (_mm_srli_epi16): Ditto. | |
9109 | (_mm_srli_epi32): Ditto. | |
9110 | (_mm_srli_epi64): Ditto. | |
9111 | (_mm_extract_epi16): Ditto. | |
9112 | (_mm_insert_epi16): Ditto. | |
9113 | (_mm_shufflehi_epi16): Ditto. | |
9114 | (_mm_shufflelo_epi16): Ditto. | |
9115 | (_mm_shuffle_epi32): Ditto. | |
9116 | * config/i386/xmmintrin.h (_mm_extract_pi16): Ditto. | |
9117 | (_m_pextrw): Ditto. | |
9118 | (_mm_insert_pi16): Ditto. | |
9119 | (_m_pinsrw): Ditto. | |
9120 | (_mm_shuffle_pi16): Ditto. | |
9121 | (_m_pshufw): Ditto. | |
9122 | (_mm_shufle_ps): Ditto. | |
9123 | (_mm_prefetch): Ditto. | |
9124 | ||
8fa7d67b | 9125 | 2007-05-21 Andreas Krebbel <krebbel1@de.ibm.com> |
9126 | ||
9127 | * defaults.h (IBM_FLOAT_FORMAT): Macro definition removed. | |
9128 | * doc/tm.texi (IBM_FLOAT_FORMAT): Documentation entry removed. | |
9129 | * real.c (encode_i370_single, decode_i370_single, | |
9130 | encode_i370_double, decode_i370_double): Functions removed. | |
9131 | (i370_single_format, i370_double_format): Initializations removed. | |
9132 | (real_maxval, round_for_format, exact_real_truncate, significand_size): | |
9133 | Consider the log2_b field to always be one. | |
9134 | (ieee_single_format, mips_single_format, coldfire_single_format, | |
9135 | ieee_double_format, mips_double_format, coldfire_double_format, | |
9136 | ieee_extended_motorola_format, ieee_extended_intel_96_format, | |
9137 | ieee_extended_intel_128_format, ieee_extended_intel_96_round_53_format, | |
9138 | ibm_extended_format, mips_extended_format, ieee_quad_format, | |
9139 | mips_quad_format, vax_f_format, vax_d_format, vax_g_format, | |
9140 | decimal_single_format, decimal_double_format, decimal_quad_format, | |
9141 | c4x_single_format, c4x_extended_format, real_internal_format): Remove | |
9142 | initialization of log2_b. | |
ed69c853 | 9143 | * real.h (i370_single_format, i370_double_format): Declarations |
9144 | removed. | |
8fa7d67b | 9145 | * c-cppbuiltin.c (builtin_define_float_constants): Consider the log2_b |
9146 | field to always be one. | |
9147 | ||
98b6e5c5 | 9148 | 2007-05-21 Andreas Schwab <schwab@suse.de> |
9149 | ||
9150 | * config/ia64/ia64.c (emit_predicate_relation_info): Fix use of | |
9151 | NOTE_INSN_BASIC_BLOCK_P. | |
9152 | (process_for_unwind_directive): Likewise. | |
9153 | ||
29f09705 | 9154 | 2007-05-21 Nathan Sidwell <nathan@codesourcery.com> |
9155 | ||
9156 | * builtins.c (expand_builtin_setjmp_setup): Update comment. | |
9157 | * function.h (struct function): Move va_list_gpr_size, | |
9158 | va_list_fpr_size, function_frequency to front of bitfields. Add | |
9159 | calls_unwind_init. | |
9160 | (current_function_calls_unwind_init): New. | |
9161 | * except.c (expand_builtin_unwind_init): Set | |
9162 | current_function_calls_unwind_init not | |
9163 | current_function_has_nonlocal_label. | |
9164 | * reload1.c (has_nonexceptional_receiver): New. | |
9165 | (reload): Use it and current_function_calls_unwind_init to | |
9166 | determine whether call-saved regs must be saved. | |
9167 | ||
ad4583d9 | 9168 | 2007-05-20 Jan Hubicka <jh@suse.cz> |
9169 | ||
9170 | * gengtype.c (adjust_field_rtx_def): Use NOTE_KIND instead of | |
9171 | NOTE_LINE_NUMBER; use NOTE_INSN_BASIC_BLOCK_P when possible. | |
9172 | * ddg.c (create_ddg): LIkewise. | |
ed69c853 | 9173 | * final.c (final): Remove hunk moving line number notes around since |
ad4583d9 | 9174 | they are no longer present at this stage. |
9175 | (final_scan_insn): Use NOTE_KIND instead of | |
9176 | NOTE_LINE_NUMBER; use NOTE_INSN_BASIC_BLOCK_P when possible. | |
9177 | (output_asm_label): Likewise. | |
9178 | * reorg.c (dbr_schedule): Likewise. | |
9179 | * haifa-sched.c (unlink_other_notes): Likewise. | |
9180 | * mode-switching.c (optimize_mode_switching): Likewise. | |
9181 | * graph.c (start_bb): Likewise. | |
9182 | * rtl.def (NOTE): Update description. | |
9183 | * jump.c (squeeze_notes): Delete. | |
9184 | (mark_jump_label): Use NOTE_KIND instead of NOTE_LINE_NUMBER; use | |
9185 | NOTE_INSN_BASIC_BLOCK_P when possible. | |
9186 | * ifcvt.c (dead_or_predicable): Remove call of squeeze_notes. | |
9187 | * dwarf2out.c (gen_label_die): Use NOTE_KIND instead of | |
d7e69d69 | 9188 | NOTE_LINE_NUMBER; use NOTE_INSN_BASIC_BLOCK_P when possible. |
ad4583d9 | 9189 | (dwarf2out_var_location): Likewise. |
9190 | * cfgbuild.c (make_edges): Likewise. | |
9191 | (find_basic_blocks_1): Likewise. | |
9192 | * function.c (reorder_blocks_1): Likewise. | |
9193 | (epilogue_done): Likewise. | |
9194 | (reposition_prologue_and_epilogue_notes): Likewise. | |
ed69c853 | 9195 | * print-rtl.c (print_rtx): Likewise; drop code for printing |
9196 | line number notes. | |
ad4583d9 | 9197 | (print_rtl): Likewise. |
9198 | (print_rtl_single): Likewise. | |
9199 | * gcse.c (insert_insn_start_bb): Likewise. | |
9200 | * alias.c (init_alias_analysis): Likewise. | |
9201 | * calls.c (fixup_tail_calls): Likewise. | |
9202 | * except.c (sjlj_emit_function_enter): Likewise. | |
9203 | * emit-rtl.c (add_insn_after): Likeiwse. | |
9204 | (emit_label_before): Likewise. | |
9205 | (emit_label_after): Likewise. | |
9206 | (emit_note_before, emit_note_after, emit_note): Update | |
9207 | parameter to be enum insn_note; do not deal with source | |
9208 | files. | |
9209 | * cfgcleanup.c (merge_blocks_move_predecessor_nojumps): | |
9210 | Use NOTE_KIND instead of NOTE_LINE_NUMBER; use NOTE_INSN_BASIC_BLOCK_P | |
9211 | when possible. | |
9212 | (merge_blocks_move_successor_nojumps): Simplify now when | |
9213 | we don't have BLOCK notes. | |
9214 | (try_optimize_cfg): Likewise. | |
9215 | * cfglayout.c (skip_insns_after_block): Likewise. | |
9216 | (record_effective_endpoints): Likewise. | |
9217 | (duplicate_insn_chain): Likewise. | |
9218 | * varasm.c (output_constant_pool_1): Likewise. | |
9219 | * sched-deps.c (sched_analyze): Likewise. | |
9220 | * rtl.c (NOTE_INSN_MAX_isnt_negative_adjust_NOTE_INSN_BIAS): | |
9221 | Exterminate. | |
9222 | (note_insn_name): Simplify now when NOTE_INSN_BIAS is gone. | |
9223 | * rtl.h (NOTE_SOURCE_LOCATION, NOTE_EXPANDED_LOCATION): Exterminate. | |
9224 | (SET_INSN_DELETED): Simplify. | |
9225 | (NOTE_LINE_NUMBER): Exterminate. | |
9226 | (NOTE_LINE_KIND): New. | |
9227 | (NOTE_INSN_BASIC_BLOCK_P): Update. | |
9228 | (enum insn_note): Simplify. | |
9229 | (GET_NOTE_INSN_NAME) Simplify. | |
9230 | (emit_note_before, emit_note_after, emit_note): Update prototype. | |
9231 | (squeeze_notes): Remove. | |
9232 | * sched-int.h (NOTE_NOT_BB_P): Update. | |
9233 | * resource.c (mark_target_live_regs): Update. | |
9234 | * sched-rgn.c (debug_dependencies): Update. | |
9235 | * sched-vis.c (print_insn): Update. | |
9236 | * config/alpha/alpha.c (alpha_handle_trap_shadows): Update. | |
9237 | * config/i386/i386.c (ix86_output_function_epilogue): Update. | |
9238 | * config/sh/sh.c (sh_adjust_unroll_max): Function dead since gcc 4.0.0. | |
9239 | (TARGET_ADJUST_UNROLL_MAX): Likewise. | |
9240 | (split_branches): Update. | |
9241 | (sh_optimize_target_register_callee_saved): Remove hunk dead since gcc | |
9242 | 4.0.0. | |
9243 | (sh_adjust_unroll_max): Exterminate. | |
9244 | * config/c4x/c4x.c (c4x_reorg): Use SET_INSN_DELETED. | |
9245 | * config/m68hc11/m68hc11.c (m68hc11_check_z_replacement): Likewise. | |
9246 | (m68hc11_reorg): Likewise. | |
9247 | * config/ia64/ia64.c (emit_insn_group_barriers): Update. | |
9248 | (emit_predicate_relation_info): Update. | |
9249 | (process_for_unwind_directive): Update. | |
9250 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Update. | |
9251 | (output_call): Update. | |
9252 | * config/pa/pa.c (output_lbranch): Update. | |
9253 | (output_millicode_call): Update. | |
9254 | (output_call): Update. | |
9255 | (pa_combine_instructions): Update. | |
9256 | * config/mips/mips.c (mips16_gp_pseudo_reg): Update. | |
9257 | * config/bfin/bfin.c (gen_one_bundle): Update. | |
9258 | * cfgrtl.c (can_delete_note_p): Update. | |
9259 | (delete_insn): Update. | |
9260 | (rtl_merge_blocks): Update. | |
9261 | (commit_one_edge_insertion): Update. | |
9262 | (rtl_verify_flow_info): Update. | |
9263 | * stmt.c (expand_case): Do not call squeeze_notes. | |
9264 | ||
e6e352cb | 9265 | 2007-05-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
01b68987 | 9266 | |
e6e352cb | 9267 | PR middle-end/7651 |
9268 | PR c++/11856 | |
9269 | PR c/12963 | |
9270 | PR c/23587 | |
9271 | PR other/29694 | |
9272 | * c.opt (Wtype-limits): New. | |
9273 | * doc/invoke.texi (Wtype-limits): Document it. | |
9274 | (Wextra): Enabled by -Wextra. | |
9275 | * c-opts.c (c_common_post_options): Enabled by -Wextra. | |
9276 | * c-common.c (shorten_compare): Warn with Wtype-limits. | |
9277 | ||
ccaa5066 | 9278 | 2007-05-20 Uros Bizjak <ubizjak@gmail.com> |
712fea20 | 9279 | |
9280 | * config/i386/tmmintrin.h (_mm_alignr_epi32): Implement as always | |
9281 | inlined function, not as a macro. | |
9282 | (_mm_alignr_pi8): Ditto. | |
9283 | * config/i386/ammintrin.h (_mm_extracti_si64): Ditto. | |
9284 | (_mm_inserti_si64): Ditto. | |
9285 | * config/i386/emmintrin.h (_mm_shuffle_pd): Ditto. | |
9286 | (_mm_extract_epi16): Ditto. | |
9287 | (_mm_insert_epi16): Ditto. | |
9288 | (_mm_shufflehi_epi16): Ditto. | |
9289 | (_mm_shufflelo_epi16): Ditto. | |
9290 | (_mm_shuffle_epi32): Ditto. | |
9291 | * config/i386/xmmintrin.h (_mm_set_ss): Use 0.0f for float constant. | |
9292 | * config/386/mm3dnow.h: Add __attribute__((__always_inline__)) to | |
9293 | all functions. | |
9294 | (_m_from_float): Add __extension__ to conversion. Use 0.0f for | |
9295 | float constant. | |
9296 | (_m_to_float): Use C89 compatible assignment. | |
9297 | ||
27eda240 | 9298 | 2007-05-20 Martin Michlmayr <tbm@cyrius.com> |
e1f3ed05 | 9299 | |
9300 | PR target/32007 | |
9301 | * config/arm/lib1funcs.asm: Define __ARM_ARCH__ on v2/v3 machines. | |
9302 | ||
ccaa5066 | 9303 | 2007-05-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
c6ad2d21 | 9304 | |
9305 | PR middle-end/7651 | |
9306 | * doc/invoke.texi (Wreturn-type): Complete description. | |
9307 | (Wextra): Delete item about return-type warning. | |
9308 | * c-decl.c: Delete redundant Wextra warning. | |
01b68987 | 9309 | |
ccaa5066 | 9310 | 2007-05-20 Uros Bizjak <ubizjak@gmail.com> |
4dfac92d | 9311 | |
9312 | PR target/31585 | |
9313 | * config/i386/pmmintrin.h: Do not include xmmintrin.h | |
9314 | * config/i386/xmmintrin.h (_mm_extract_pi16): Implement as always | |
9315 | inlined function, not as a macro. | |
9316 | (_mm_prefetch): Ditto. | |
9317 | (_m_pextrw): Ditto. | |
9318 | (_mm_insert_pi16): Ditto. | |
9319 | (_m_pinsrw): Ditto. | |
9320 | (_mm_shuffle_pi16): Ditto. Add const to __N argument. | |
9321 | (_m_pshufw): Ditto. Add const to __N argument. | |
9322 | (_mm_shufle_ps): Ditto. Add const to __mask argument. | |
9323 | * config/i386/emmintrin.h (_mm_slli_epi16): Add const to __B argument. | |
9324 | (_mm_slli_epi32): Ditto. | |
ed69c853 | 9325 | (_mm_srli_si128): Implement as always inlined function, not as a |
9326 | macro. Add __inline to function declaration. | |
4dfac92d | 9327 | (_mm_slli_si128): Ditto. |
9328 | ||
87929f5d | 9329 | 2007-05-19 Uros Bizjak <ubizjak@gmail.com> |
9330 | ||
9331 | * config/i386/sfp-machine.h (FP_EX_INVALID, FP_EX_DENORM, | |
9332 | FP_EXP_DIVZERO, FP_EX_OVERFLOW, FP_EX_UNDERFLOW, FP_EX_INEXACT): | |
9333 | New constants. | |
9334 | (struct fenv): New structure. | |
9335 | (FP_HANDLE_EXCEPTIONS): New define. | |
9336 | (FP_RND_NEAREST, FP_RND_ZERO, FP_RND_PINF, FP_RND_MINF): New constants. | |
9337 | (_FP_DECL_EXP): New define. | |
9338 | (FP_INIT_ROUNDMODE): New define. | |
9339 | (FP_ROUNDMODE): New define. | |
9340 | ||
7ee0d227 | 9341 | 2007-05-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
9342 | ||
9343 | * doc/invoke.texi (Warning Options): Add -Wconversion-sign. | |
9344 | (Wconversion): Update description. | |
9345 | (Wconversion-sign): New. | |
9346 | * c.opt (Wconversion-sign): New. | |
9347 | * c-opts.c (c_common_post_options): Uninitialized Wconversion-sign | |
9348 | means disabled for C++. Otherwise, take the status of Wconversion. | |
9349 | * c-common.c (conversion_warning): Warn with either Wconversion or | |
9350 | Wconversion-sign. | |
9351 | (warnings_for_convert_and_check): Conditions are already checked by | |
9352 | conversion_warning. | |
9353 | (convert_and_check): Don't check warnings if the conversion failed. | |
9354 | ||
df3d6232 | 9355 | 2007-05-19 Andy Hutchinson <HutchinsonAndy@netscape.net> |
87929f5d | 9356 | Anatoly Sokolov <aesok@dol.ru> |
df3d6232 | 9357 | |
01b68987 | 9358 | * config/avr/avr-protos.h (expand_prologue, expand_epilogue, |
df3d6232 | 9359 | avr_epilogue_uses) : Add declaration. |
9360 | * config/avr/predicates.md (avr_sp_immediate_operand): New predicate. | |
9361 | * config/avr/constraints.md (R): New constraint. | |
01b68987 | 9362 | config/avr/avr.md (SREG_ADDR, UNSPEC_SEI, UNSPEC_CLI, |
df3d6232 | 9363 | UNSPECV_PROLOGUE_SAVES, UNSPECV_EPILOGUE_RESTORES): New constants. |
9364 | (*pop1, *pop2, *pop3, *pop4, *pop5): Combine into ... | |
9365 | (*addhi3_sp_R_pc2, *addhi3_sp_R_pc3): ... these patterns. | |
01b68987 | 9366 | (*movhi_sp, popqi, pophi, enable_interrupt, disable_interrupt, |
df3d6232 | 9367 | call_prologue_saves, epilogue_restores, return_from_epilogue, |
01b68987 | 9368 | return_from_main_epilogue, return_from_interrupt_epilogue, |
df3d6232 | 9369 | return_from_naked_epilogue, prologue, epilogue): New patterns. |
9370 | (jump): Handle symbol reference. | |
01b68987 | 9371 | * config/avr/avr.c (out_adj_frame_ptr, out_set_stack_ptr, |
9372 | avr_output_function_prologue, avr_output_function_epilogue): Remove | |
df3d6232 | 9373 | functions. |
01b68987 | 9374 | (avr_init_machine_status, expand_prologue, expand_epilogue, |
9375 | avr_asm_function_end_prologue, avr_epilogue_uses, | |
df3d6232 | 9376 | avr_asm_function_begin_epilogue): New functions. |
01b68987 | 9377 | (prologue_size, epilogue_size, jump_tables_size): Remove global |
df3d6232 | 9378 | variables. |
9379 | (TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Remove. | |
9380 | (TARGET_ASM_FUNCTION_END_PROLOGUE): Define. | |
9381 | (TARGET_ASM_FUNCTION_BEGIN_EPILOGUE): Define. | |
9382 | (avr_override_options): Initialise init_machine_status. | |
9383 | (output_movhi): Handle all stack pointer loads. | |
9384 | (out_movqi_r_mr, out_movqi_mr_r): Handle SREG_ADDR address. | |
9385 | (avr_output_addr_vec_elt): Do not use variable jump_tables_size. | |
9386 | * config/avr/avr.h (AVR_2_BYTE_PC, AVR_3_BYTE_PC): New. | |
9387 | (EPILOGUE_USES) Redefine. | |
9388 | (machine_function) Declare. | |
9389 | ||
df68fc42 | 9390 | 2007-05-19 Richard Sandiford <richard@codesourcery.com> |
9391 | ||
9392 | * config/mips/mips.c (mips_offset_within_alignment_p): Tweak comment. | |
9393 | Use a single return statement. | |
9394 | ||
e84da7c1 | 9395 | 2007-05-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9396 | ||
9397 | PR middle-end/30250 | |
9398 | * builtins.c (do_mpfr_lgamma_r): New. | |
9399 | (fold_builtin_2): Handle builtin gamma_r/lgamma_r. | |
9400 | * tree.h (CASE_FLT_FN_REENT): New. | |
9401 | ||
c3dd0e85 | 9402 | 2007-05-18 Geoffrey Keating <geoffk@apple.com> |
9403 | ||
de064be9 | 9404 | * dwarf2out.c (print_die): Use '%ld' not '%lu' to print a 'long'. |
9405 | (output_die): Use 'unsigned long' with %x. | |
9406 | * sched-vis.c (print_value): Use 'unsigned HOST_WIDE_INT' and | |
9407 | HOST_WIDE_INT_PRINT_HEX to print HOST_WIDE_INT. | |
9408 | * tree-dump.c (dump_pointer): Use 'unsigned long' for %lx. | |
9409 | ||
c3dd0e85 | 9410 | * unwind-dw2.c (uw_identify_context): Use the CFA, not the IP. |
9411 | ||
d7bb133f | 9412 | 2007-05-18 H.J. Lu <hongjiu.lu@intel.com> |
9413 | ||
9414 | PR target/31989 | |
9415 | PR target/31681 | |
9416 | PR target/31666 | |
9417 | * config/i386/i386.c (init_cumulative_args): Set maybe_vaarg to | |
9418 | true if function has no argument. | |
9419 | ||
eff6a3dc | 9420 | 2007-05-18 DJ Delorie <dj@redhat.com> |
9421 | ||
9422 | * config/mips/mips.c (mips_offset_within_alignment_p): New. | |
9423 | (mips_symbolic_constant_p): Call it for TPREL and DTPREL symbols. | |
9424 | ||
520e55a3 | 9425 | 2007-05-18 Uros Bizjak <ubizjak@gmail.com> |
9426 | ||
9427 | * longlong.h (__x86_64__): Add definitions for add_ssaaaa, | |
9428 | sub_ddmmss, umul_ppmm, udiv_qrnnd, count_leading_zeros and | |
9429 | count_trailing_zeros. | |
9430 | (__i386__): Implement count_leading_zeros using __builtin_clz(). | |
9431 | Implement count_trailing_zeros usign __builtin_ctz(). | |
9432 | ||
23fd0dec | 9433 | 2007-05-18 Richard Sandiford <richard@codesourcery.com> |
9434 | ||
9435 | * config/i386/vxworks.h (ASM_PREFERRED_EH_DATA_FORMAT): Undefine. | |
9436 | ||
2749a22e | 9437 | 2007-05-18 Uros Bizjak <ubizjak@gmail.com> |
9438 | ||
f5bb5fd5 | 9439 | PR middle-end/31344 |
2749a22e | 9440 | * expr.c (emit_move_change_mode): Change mode of push operands here. |
9441 | ||
4baf1a77 | 9442 | 2007-05-17 Ian Lance Taylor <iant@google.com> |
9443 | ||
9444 | PR tree-optimization/31953 | |
9445 | * tree-vrp.c (set_value_range_to_value): Add equiv parameter. | |
9446 | Change all callers. | |
9447 | (set_value_range_to_null): Call set_value_range_to_value. | |
9448 | (extract_range_from_comparison): Likewise. | |
9449 | ||
65dd1378 | 9450 | 2007-05-17 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
9451 | ||
bd0d5325 | 9452 | * toplev.c (print_version): Output GMP/MPFR version info. |
9453 | ||
cd2656b0 | 9454 | * builtins.c (CASE_MATHFN_REENT): New macro. |
9455 | (mathfn_built_in): Use it. | |
9456 | * builtins.def (BUILT_IN_GAMMA_R, BUILT_IN_GAMMAF_R, | |
9457 | BUILT_IN_GAMMAL_R, BUILT_IN_LGAMMA_R, BUILT_IN_LGAMMAF_R, | |
9458 | BUILT_IN_LGAMMAL_R): New. | |
9459 | * doc/extend.texi: Document new builtins. | |
9460 | ||
e5407ca6 | 9461 | PR middle-end/31796 |
9462 | * builtins.c (do_mpfr_remquo): New. | |
9463 | (fold_builtin_2): Handle BUILT_IN_DREM/BUILT_IN_REMAINDER. | |
9464 | (fold_builtin_3): Handle BUILT_IN_REMQUO. | |
9465 | ||
6ff9eeff | 9466 | PR middle-end/30251 |
9467 | * builtins.c (fold_builtin_1): Handle y0, y1. | |
9468 | (fold_builtin_2): Handle yn. | |
9469 | ||
65dd1378 | 9470 | PR middle-end/30251 |
9471 | * builtins.c (do_mpfr_bessel_n): New. | |
9472 | (fold_builtin_1): Handle BUILT_IN_J0 and BUILT_IN_J1. | |
9473 | (fold_builtin_2): Handle BUILT_IN_JN. | |
9474 | ||
b556e70c | 9475 | 2007-05-17 Danny Smith <dannysmith@users.sourceforge.net> |
9476 | ||
9477 | PR target/31965 | |
9478 | * config/i386/mingw32.h (_INTEGRAL_MAX_BITS): Define builtin as | |
9479 | TYPE_PRECISION (intmax_type_node). | |
9480 | ||
455ca9be | 9481 | 2007-05-17 Steve Ellcey <sje@cup.hp.com> |
9482 | ||
9483 | PR target/31850 | |
9484 | * reload.c (subst_reloads): Remove checking. | |
9485 | ||
61e138d0 | 9486 | 2007-05-17 Eric Botcazou <ebotcazou@libertysurf.fr> |
9487 | ||
9488 | PR rtl-optimization/31691 | |
9489 | * combine.c (simplify_set): Build a new src pattern instead of | |
9490 | substituting its operands in the COMPARE case. | |
9491 | ||
7e0311ae | 9492 | 2007-05-17 Zdenek Dvorak <dvorakz@suse.cz> |
9493 | ||
9494 | * tree-vrp.c (finalize_jump_threads): Do not care about dominance info. | |
9495 | (execute_vrp): Preserve loops through jump threading. | |
9496 | * tree-ssa-threadupdate.c (thread_single_edge, | |
9497 | dbds_continue_enumeration_p, determine_bb_domination_status, | |
9498 | thread_through_loop_header): New functions. | |
9499 | (create_edge_and_update_destination_phis, | |
9500 | create_edge_and_update_destination_phis): Set loops for the new blocks. | |
9501 | (prune_undesirable_thread_requests): Removed. | |
9502 | (redirect_edges): Do not pretend that redirect_edge_and_branch can | |
9503 | create new blocks. | |
9504 | (thread_block): Do not call prune_undesirable_thread_requests. | |
9505 | Update loops. | |
9506 | (mark_threaded_blocks): Select edges to thread here. | |
9507 | (thread_through_all_blocks): Take may_peel_loop_headers argument. | |
9508 | Thread edges through loop headers independently. | |
9509 | * cfgloopmanip.c (create_preheader, mfb_keep_just): Export. | |
9510 | * tree-pass.h (TODO_mark_first_instance): New. | |
9511 | (first_pass_instance): Declare. | |
9512 | * cfghooks.c (duplicate_block): Put the block to the original loop | |
9513 | if copy is not specified. | |
9514 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Preserve loops through | |
9515 | jump threading. Pass may_peel_loop_headers to | |
9516 | thread_through_all_blocks according to first_pass_instance. | |
9517 | * cfgloop.h (create_preheader): Declare. | |
9518 | * tree-flow.h (thread_through_all_blocks): Declaration changed. | |
9519 | * basic-block.h (mfb_keep_just, mfb_kj_edge): Declare. | |
9520 | * passes.c (first_pass_instance): New variable. | |
9521 | (next_pass_1): Set TODO_mark_first_instance. | |
9522 | (execute_todo): Set first_pass_instance. | |
9523 | ||
8aa4e142 | 9524 | 2007-05-17 Uros Bizjak <ubizjak@gmail.com> |
9525 | ||
9526 | PR tree-optimization/24659 | |
9527 | * optabs.h (enum optab_index): Add OTI_vec_unpacks_float_hi, | |
9528 | OTI_vec_unpacks_float_lo, OTI_vec_unpacku_float_hi, | |
9529 | OTI_vec_unpacku_float_lo, OTI_vec_pack_sfix_trunc and | |
9530 | OTI_vec_pack_ufix_trunc. | |
9531 | (vec_unpacks_float_hi_optab): Define new macro. | |
9532 | (vec_unpacks_float_lo_optab): Ditto. | |
9533 | (vec_unpacku_float_hi_optab): Ditto. | |
9534 | (vec_unpacku_float_lo_optab): Ditto. | |
9535 | (vec_pack_sfix_trunc_optab): Ditto. | |
9536 | (vec_pack_ufix_trunc_optab): Ditto. | |
9537 | * genopinit.c (optabs): Implement vec_unpack[s|u]_[hi|lo]_optab | |
9538 | and vec_pack_[s|u]fix_trunc_optab using | |
9539 | vec_unpack[s|u]_[hi\lo]_* and vec_pack_[u|s]fix_trunc_* patterns | |
9540 | * tree-vectorizer.c (supportable_widening_operation): Handle | |
9541 | FLOAT_EXPR and CONVERT_EXPR. Update comment. | |
9542 | (supportable_narrowing_operation): New function. | |
9543 | * tree-vectorizer.h (supportable_narrowing_operation): Prototype. | |
9544 | * tree-vect-transform.c (vectorizable_conversion): Handle | |
9545 | (nunits_in == nunits_out / 2) and (nunits_out == nunits_in / 2) cases. | |
9546 | (vect_gen_widened_results_half): Move before vectorizable_conversion. | |
9547 | (vectorizable_type_demotion): Call supportable_narrowing_operation() | |
9548 | to check for target support. | |
9549 | * optabs.c (optab_for_tree_code) Return vec_unpack[s|u]_float_hi_optab | |
9550 | for VEC_UNPACK_FLOAT_HI_EXPR, vec_unpack[s|u]_float_lo_optab | |
9551 | for VEC_UNPACK_FLOAT_LO_EXPR and vec_pack_[u|s]fix_trunc_optab | |
9552 | for VEC_PACK_FIX_TRUNC_EXPR. | |
9553 | (expand_binop): Special case mode of the result for | |
9554 | vec_pack_[u|s]fix_trunc_optab. | |
9555 | (init_optabs): Initialize vec_unpack[s|u]_[hi|lo]_optab and | |
9556 | vec_pack_[u|s]fix_trunc_optab. | |
9557 | ||
9558 | * tree.def (VEC_UNPACK_FLOAT_HI_EXPR, VEC_UNPACK_FLOAT_LO_EXPR, | |
9559 | VEC_PACK_FIX_TRUNC_EXPR): New tree codes. | |
9560 | * tree-pretty-print.c (dump_generic_node): Handle | |
9561 | VEC_UNPACK_FLOAT_HI_EXPR, VEC_UNPACK_FLOAT_LO_EXPR and | |
9562 | VEC_PACK_FIX_TRUNC_EXPR. | |
9563 | (op_prio): Ditto. | |
9564 | * expr.c (expand_expr_real_1): Ditto. | |
9565 | * tree-inline.c (estimate_num_insns_1): Ditto. | |
9566 | * tree-vect-generic.c (expand_vector_operations_1): Ditto. | |
9567 | ||
9568 | * config/i386/sse.md (vec_unpacks_float_hi_v8hi): New expander. | |
9569 | (vec_unpacks_float_lo_v8hi): Ditto. | |
9570 | (vec_unpacku_float_hi_v8hi): Ditto. | |
9571 | (vec_unpacku_float_lo_v8hi): Ditto. | |
9572 | (vec_unpacks_float_hi_v4si): Ditto. | |
9573 | (vec_unpacks_float_lo_v4si): Ditto. | |
9574 | (vec_pack_sfix_trunc_v2df): Ditto. | |
9575 | ||
9576 | * doc/c-tree.texi (Expression trees) [VEC_UNPACK_FLOAT_HI_EXPR]: | |
9577 | Document. | |
9578 | [VEC_UNPACK_FLOAT_LO_EXPR]: Ditto. | |
9579 | [VEC_PACK_FIX_TRUNC_EXPR]: Ditto. | |
9580 | * doc/md.texi (Standard Names) [vec_pack_sfix_trunc]: Document. | |
9581 | [vec_pack_ufix_trunc]: Ditto. | |
9582 | [vec_unpacks_float_hi]: Ditto. | |
9583 | [vec_unpacks_float_lo]: Ditto. | |
9584 | [vec_unpacku_float_hi]: Ditto. | |
9585 | [vec_unpacku_float_lo]: Ditto. | |
9586 | ||
da1302a1 | 9587 | 2007-05-16 Uros Bizjak <ubizjak@gmail.com> |
9588 | ||
9589 | * soft-fp/README: Update for new files. | |
9590 | * soft-fp/floattisf.c: New file. | |
9591 | * soft-fp/floattidf.c: New file. | |
9592 | * soft-fp/floattitf.c: New file. | |
9593 | * soft-fp/floatuntisf.c: New file. | |
9594 | * soft-fp/floatuntidf.c: New file. | |
9595 | * soft-fp/floatuntitf.c: New file. | |
9596 | * soft-fp/fixsfti.c: New file. | |
9597 | * soft-fp/fixdfti.c: New file. | |
9598 | * soft-fp/fixtfti.c: New file. | |
9599 | * soft-fp/fixunssfti.c: New file. | |
9600 | * soft-fp/fixunsdfti.c: New file. | |
9601 | * soft-fp/fixunstfti.c: New file. | |
9602 | * soft-fp/extendxftf.c: New file. | |
9603 | * soft-fp/trunctfxf.c: New file. | |
9604 | ||
9605 | * libgcc-std.ver (__extendxftf2): Added to GCC_4.3.0 section. | |
9606 | (__trunctfxf2): Ditto. | |
9607 | ||
9608 | * config/i386/libgcc-x86_64-glibc.ver (__addtf3, __divtf3, __eqtf2, | |
9609 | __extenddftf2, __extendsftf2, __fixtfdi, __fixtfsi, __fixtfti, | |
9610 | __fixunstfdi, __fixunstfsi, __fixunstfti, __floatditf, __floatsitf, | |
9611 | __floattitf, __floatunditf, __floatunsitf, __floatuntitf, __getf2, | |
9612 | __letf2, __multf3, __negtf2, __subtf3, __trunctfdf2, __trunctfsf2, | |
9613 | __unordtf2): Exclude and add to GCC_4.3.0 section for x86_64 targets. | |
9614 | ||
9615 | * config/i386/t-fprules-softfp64: New file. | |
9616 | * config/i386/sfp-machine.h: New file. | |
9617 | * config.gcc (x86_64-*-linux*, x86_64-*-kfreebsd*-gnu, | |
9618 | x86_64-*-knetbsd*-gnu): Add i386/t-fprules-softfp64 | |
9619 | and soft-fp/t-softfp to tmake_file. | |
9620 | (i[34567]86-*-linux*, i[34567]86-*-kfreebsd*-gnu, | |
9621 | i[34567]86-*-knetbsd*-gnu): Ditto for --enable-targets=all. | |
01b68987 | 9622 | |
da1302a1 | 9623 | * config/i386/t-linux64 (softfp_wrap_start): New. |
9624 | (softfp_wrap_end): New. | |
9625 | * config/i386/i386.c (ix86_scalar_mode_supported): TFmode is | |
9626 | supported for TARGET_64BIT. | |
9627 | ||
7a91101f | 9628 | 2007-05-16 Rafael Avila de Espindola <espindola@google.com> |
9629 | ||
01b68987 | 9630 | * c-common.c (c_common_signed_or_unsigned_type): Emulate |
7a91101f | 9631 | c_common_unsigned_type behavior. |
9632 | ||
9798961f | 9633 | 2007-05-16 Paolo Bonzini <bonzini@gnu.org> |
9634 | ||
8aa4e142 | 9635 | * config/i386/i386.c (legitimize_tls_address): Mark __tls_get_addr |
9636 | calls as pure. | |
9798961f | 9637 | |
9602d040 | 9638 | 2007-05-16 Eric Christopher <echristo@apple.com> |
9639 | ||
9640 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Move altivec register | |
8aa4e142 | 9641 | saving after stack push. Set sp_offset whenever we push. |
9642 | (rs6000_emit_epilogue): Move altivec register restore before | |
9643 | stack push. | |
9602d040 | 9644 | |
35ab6286 | 9645 | 2007-05-16 Richard Sandiford <richard@codesourcery.com> |
9646 | ||
9647 | * configure.ac: Allow sysroots to be relocated under $prefix as | |
9648 | well as $exec_prefix. | |
9649 | * configure: Regenerate. | |
9650 | ||
e83194ca | 9651 | 2007-05-16 Richard Sandiford <richard@codesourcery.com> |
9652 | ||
9653 | Revert: | |
9654 | ||
9655 | 2007-05-12 Richard Sandiford <richard@codesourcery.com> | |
9656 | ||
9657 | * configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix). | |
9658 | (gcc_tooldir): Likewise. | |
9659 | * configure: Regenerate. | |
9660 | * Makefile.in (libsubdir_to_prefix): New variable, based on the | |
9661 | old configure.ac gcc_tooldir setting. | |
9662 | (prefix_to_exec_prefix): New variable. | |
9663 | (DRIVER_DEFINES): Use $(libsubdir_to_prefix)$(prefix_to_exec_prefix) | |
9664 | rather than $(unlibsubdir)/../ to derive TOOLDIR_BASE_PREFIX. | |
9665 | ||
441df341 | 9666 | 2007-05-14 Janis Johnson <janis187@us.ibm.com> |
9667 | ||
9668 | * c-typeck.c (build_binary_op): Return early for error. | |
9669 | ||
ccae4f9f | 9670 | 2007-05-15 Zdenek Dvorak <dvorakz@suse.cz> |
9671 | ||
9672 | * tree-ssa-loop-niter.c (record_estimate): Use GGC_NEW to allocate | |
9673 | struct nb_iter_bound. | |
9674 | (free_numbers_of_iterations_estimates_loop): Use ggc_free. | |
9675 | * gengtype.c (open_base_files): Add cfhloop.h to the list of includes. | |
9676 | * cfgloopmanip.c (place_new_loop): Vector larray is gc-allocated. | |
9677 | * tree-scalar-evolution.c: Include gt-tree-scalar-evolution.h. | |
9678 | (struct scev_info_str, scalar_evolution_info): Add GTY markers. | |
9679 | (new_scev_info_str): Use GGC_NEW to allocate struct scev_info_str. | |
9680 | (del_scev_info): Use ggc_free. | |
9681 | (scev_initialize): Allocate scalar_evolution_info in gc memory. | |
9682 | * loop-init.c: Include ggc.h. | |
9683 | (loop_optimizer_init): Use GGC_CNEW to allocate struct loops. | |
9684 | (loop_optimizer_finalize): Use ggc_free. | |
9685 | * tree-ssa-loop.c (pass_tree_unswitch, pass_vectorize, | |
9686 | pass_linear_transfom, pass_empty_loop, pass_complete_unroll, | |
9687 | pass_iv_optimize): Add TODO_ggc_collect. | |
ed69c853 | 9688 | * function.h (struct function): Remove skip marker from |
9689 | x_current_loops. | |
ccae4f9f | 9690 | * cfgloop.c: Include ggc.h. |
9691 | (flow_loops_free, flow_loop_free): Free the loop descriptions in gc | |
9692 | memory. | |
9693 | (establish_preds): Vector superloops is gc allocated. | |
9694 | (alloc_loop): Allocate loop using GGC_CNEW. Allocate head of | |
9695 | loop->exits list. | |
9696 | (flow_loops_find): Vector larray is gc allocated. | |
9697 | (loop_exit_free): Use ggc_free. | |
9698 | (rescan_loop_exit): Use GGC_NEW to allocate struct loop_exit. Reflect | |
9699 | that head of exits list is now not a part of struct loop. | |
9700 | (record_loop_exits): Allocate exits table in gc memory. | |
ed69c853 | 9701 | (get_loop_exit_edges, verify_loop_structure, single_exit): Reflect |
9702 | that head of exits list is now not a part of struct loop. | |
ccae4f9f | 9703 | * cfgloop.h (struct lpt_decision, struct nb_iter_bound, |
9704 | struct loop_exit): Add GTY marker. | |
9705 | (struct loop): Add GTY marker. Make superloops vector gc allocated. | |
9706 | Add skip marker to aux field. Make head of exits list a separate | |
9707 | object. | |
9708 | (struct loops): Add GTY marker. Make larray vector gc allocated. | |
9709 | Add param marker to exits table. | |
9710 | (get_loops): Type changed. | |
ed69c853 | 9711 | * Makefile.in (tree-scalar-evolution.o): Add |
9712 | gt-tree-scalar-evolution.h dependency. | |
ccae4f9f | 9713 | (cfgloop.o, loop-init.o): Add ggc.h dependency. |
9714 | (GTFILES): Add cfgloop.h and tree-scalar-evolution.c. | |
9715 | * basic-block.h (struct basic_block_def): Remove skip marker from | |
9716 | loop_father field. | |
9717 | ||
1db6d067 | 9718 | 2007-05-14 Uros Bizjak <ubizjak@gmail.com> |
9719 | ||
9720 | * builtins.c (expand_builtin_mathfn): Use EXPAND_NORMAL instead | |
9721 | of 0 in the call to expand_expr(). | |
9722 | (expand_builtin_mathfn_3): Ditto. | |
9723 | (expand_builtin_interclass_mathfn): Ditto. | |
9724 | (expand_builtin_cexpi): Ditto. | |
9725 | (expand_builtin_int_roundingfn): Ditto. | |
9726 | (expand_builtin_int_roundingfn_2): Ditto. | |
9727 | (expand_builtin_pow): Ditto. | |
9728 | (expand_builtin_powi): Ditto. | |
9729 | (expand_builtin_bswap): Ditto. | |
9730 | (expand_builtin_unop): Ditto. | |
9731 | (expand_builtin_fabs): Ditto. | |
9732 | (get_builtin_sync_mem): Use NULL_RTX instead of NULL in | |
9733 | the call to expand_expr(). | |
9734 | (expand_builtin_sync_operation): Ditto. | |
9735 | (expand_builtin_compare_and_swap): Ditto. | |
9736 | (expand_builtin_lock_test_and_set): Ditto. | |
9737 | * except.c (expand_builtin_eh_return_data_regno): Use EXPAND_NORMAL | |
9738 | instead of 0 in the call to expand_expr(). | |
9739 | (expand_builtin_extract_return_addr): Ditto. | |
9740 | (expand_builtin_eh_return): Ditto. | |
9741 | (expand_eh_return): Ditto. | |
9742 | * explow.c (expr_size): Ditto. | |
9743 | * expr.c (optimize_bitfield_assignment_op): Ditto. | |
9744 | (expand_assignement): Ditto. | |
9745 | (store_expr): Ditto. | |
9746 | (store_field): Ditto. | |
9747 | (expand_expr_addr_expr_1): Use NULL_RTX instead of NULL in | |
9748 | the call to expand_expr(). | |
9749 | (expand_expr_real_1) [COMPLEX_CST]: Use EXPAND_NORMAL instead of 0 | |
9750 | in the call to expand_expr(). | |
9751 | [CONSTRUCTOR, PLUS_EXPR, MINUS_EXPR, NEGATE_EXPR, ABS_EXPR, | |
9752 | BIT_NOT_EXPR, LSHIFT_EXPR, LT_EXPR, TRUTH_NOT_EXPR]: Ditto. | |
9753 | [VEC_UNPACK_HI_EXPR, VEC_UNPACK_LO]: Use expand_normal() instead | |
9754 | of expand_expr(). | |
9755 | * optabs.c (expand_vec_shift_expr): Ditto. | |
9756 | (expand_vec_cond_expr): Ditto. | |
9757 | (vector_compare_rtx): Use EXPAND_STACK_PARM instead of 1 in the | |
9758 | call to expand_expr(). | |
9759 | * stmt.c (expand_return): Use EXPAND_NORMAL instead of 0 | |
9760 | in the call to expand_expr(). | |
9761 | ||
36211c58 | 9762 | 2007-05-14 Dave Korn <dave.korn@artimi.com> |
9763 | ||
9764 | * genautomata.c (gen_regexp_el): Allocate correct size for regexp. | |
9765 | ||
71eea85c | 9766 | 2007-05-14 Rafael Avila de Espindola <espindola@google.com> |
9767 | ||
9768 | * c-common.c (warnings_for_convert_and_check): Use unsigned_type_for | |
9769 | instead of c_common_unsigned_type. | |
9770 | (c_common_unsigned_type): Remove. | |
9771 | (shorten_compare): Use c_common_signed_or_unsigned_type instead of | |
9772 | c_common_unsigned_type. | |
9773 | (c_common_nodes_and_builtins): Use unsigned_type_for instead of | |
9774 | c_common_unsigned_type. | |
9775 | * c-common.h (c_common_unsigned_type): Remove. | |
9776 | * c-decl.c (grokdeclarator): Use unsigned_type_for instead of | |
9777 | c_common_unsigned_type. | |
9778 | * c-format.c (check_format_types): Use unsigned_type_for instead of | |
9779 | c_common_unsigned_type. | |
9780 | * c-objc-common.h (LANG_HOOKS_UNSIGNED_TYPE): Remove. | |
ed69c853 | 9781 | * c-typeck.c (convert_for_assignment): Use unsigned_type_for instead |
9782 | of c_common_unsigned_type. | |
71eea85c | 9783 | * convert.c (convert_to_integer): Use unsigned_type_for instead of |
9784 | lang_hooks.types.unsigned_type. | |
9785 | * expmed.c (make_tree): Use unsigned_type_for instead of | |
9786 | lang_hooks.types.unsigned_type. | |
9787 | * fold-const.c (fold_negate_expr): Use unsigned_type_for instead of | |
9788 | lang_hooks.types.unsigned_type. | |
9789 | (build_range_check): Likewise. | |
9790 | (fold_unary): Likewise. | |
9791 | (fold_binary): Likewise. | |
9792 | (fold_ternary): Likewise. | |
9793 | * langhooks-def.h (LANG_HOOKS_UNSIGNED_TYPE): Remove. | |
9794 | * langhooks.h (lang_hooks_for_types): Remove unsigned_type. | |
9795 | * tree.c (get_unsigned_type): New. | |
9796 | (unsigned_type_for): Use get_unsigned_type instead of | |
9797 | lang_hooks.types.unsigned_type. | |
9798 | ||
f9a44575 | 9799 | 2007-05-14 Kazu Hirata <kazu@codesourcery.com> |
9800 | ||
9801 | * config/m68k/m68k-protos.h: Rename m68k_interrupt_function_p | |
9802 | to m68k_get_function_kind. Update its prototype. | |
9803 | * config/m68k/m68k.c (m68k_attribute_table): Add an entry for | |
9804 | interrupt_thread. | |
9805 | (m68k_interrupt_function_p): Return enum m68k_function_type | |
9806 | instead of bool. Rename to m68k_get_function_kind. | |
9807 | (m68k_handle_fndecl_attribute): Reject interrupt_thread if the | |
9808 | target is not fido. | |
9809 | (m68k_compute_frame_layout): Don't mark any register for save | |
9810 | if an interrupt_thread attribute is specified. | |
9811 | (m68k_hard_regno_rename_ok): Update a use of | |
9812 | m68k_interrupt_function_p. | |
9813 | * config/m68k/m68k.h (EPILOGUE_USES): Update a use of | |
9814 | m68k_interrupt_function_p. | |
9815 | (m68k_function_type): New. | |
9816 | * config/m68k/m68k.md (*return): Output a 'sleep' instruction | |
9817 | for a function with an interrupt_thread attribute. | |
9818 | * doc/extend.texi: Document the interrupt_thread attribute. | |
9819 | ||
d3cd5752 | 9820 | 2007-05-13 Daniel Berlin <dberlin@dberlin.org> |
9821 | ||
9822 | Fix PR tree-optimization/31911 | |
9823 | * tree-ssa-pre.c (phi_translate): Make sure to cache results even | |
9824 | if they didn't change the expression. | |
9825 | ||
80bb306a | 9826 | 2007-05-13 Zdenek Dvorak <dvorakz@suse.cz> |
9827 | ||
9828 | * tree-scalar-evolution.c (resolve_mixers): Exported. | |
9829 | * tree-scalar-evolution.h (resolve_mixers): Declare. | |
9830 | * tree-data-ref.c (object_analysis, ptr_decl_may_alias_p, | |
9831 | ptr_ptr_may_alias_p, may_alias_p, record_ptr_differ_p, | |
9832 | record_record_differ_p, record_array_differ_p, array_ptr_differ_p, | |
9833 | base_object_differ_p, base_addr_differ_p, analyze_array_indexes, | |
9834 | init_array_ref, init_pointer_ref, analyze_indirect_ref, | |
9835 | strip_conversion, analyze_offset_expr, address_analysis, | |
9836 | object_analysis, analyze_offset): Removed. | |
9837 | (dr_analyze_innermost, dr_analyze_indices, dr_analyze_alias, | |
9838 | split_constant_offset, canonicalize_base_object_address, | |
9839 | object_address_invariant_in_loop_p, disjoint_objects_p, | |
9840 | dr_may_alias_p, dr_address_invariant_p): New functions. | |
9841 | (create_data_ref): Use dr_analyze_innermost, dr_analyze_indices | |
9842 | and dr_analyze_alias. | |
9843 | (initialize_data_dependence_relation): Use dr_may_alias_p | |
9844 | and object_address_invariant_in_loop_p. | |
ed69c853 | 9845 | (compute_self_dependence): Handle the case when |
9846 | DDR_ARE_DEPENDENT (ddr) is chrec_dont_know. | |
9847 | (find_data_references_in_stmt): Restrict the analysis of data | |
9848 | references to the given loop nest. | |
80bb306a | 9849 | (find_data_references_in_loop): Made static. Pass loop nest to |
9850 | find_data_references_in_stmt. | |
9851 | (compute_data_dependences_for_loop): Use DR_VOPS. | |
9852 | (free_data_ref): Free DR_VOPS. | |
9853 | * tree-data-ref.h (struct first_location_in_loop): Replaced by ... | |
9854 | (struct innermost_loop_behavior): ... new. | |
9855 | (struct base_object_info): Replaced by ... | |
9856 | (struct indices): ... new. | |
9857 | (struct dr_alias): New. | |
9858 | (enum data_ref_type): Removed. | |
9859 | (struct data_reference): Consist of struct innermost_loop_behavior, | |
9860 | struct indices and struct dr_alias. | |
9861 | (DR_SET_ACCESS_FNS, DR_FREE_ACCESS_FNS): Removed. | |
9862 | (DR_MEMTAG): Renamed to ... | |
9863 | (DR_SYMBOL_TAG): ... this. | |
9864 | (find_data_references_in_loop): Declaration removed. | |
9865 | * tree-vect-analyze.c (vect_compute_data_ref_alignment): Use DR_INIT | |
9866 | instead of DR_OFFSET_MISALIGNMENT. DR_ALIGNED_TO is never NULL. | |
9867 | (vect_analyze_data_refs): Use DR_SYMBOL_TAG instead of DR_MEMTAG. | |
9868 | * tree-vect-transform.c (vect_create_data_ref_ptr): Ditto. | |
9869 | ||
2bf1fefd | 9870 | 2007-05-13 Revital Eres <eres@il.ibm.com> |
9871 | ||
9872 | * tree-ssa-dse.c (get_use_of_stmt_lhs): New function | |
9873 | which walks virtual def-use chains to find redundant stores. | |
9874 | (dse_optimize_stmt): Call it. | |
9875 | ||
ec028b54 | 9876 | 2007-05-12 Steven Bosscher <steven@gcc.gnu.org> |
9877 | ||
9878 | * gcse.c (gcse_main): Do jump bypassing in CPROP2. | |
9879 | * passes.c (init_optimization_passes): Move pass_jump_bypass | |
9880 | after loop2. | |
9881 | ||
9882 | * basic-block.h (bb_has_eh_pred): Fix style issue. | |
9883 | ||
bc25a2ee | 9884 | 2007-05-12 Steven Bosscher <steven@gcc.gnu.org> |
9885 | ||
9886 | PR rtl-optimization/31848 | |
9887 | * loop-invariant.c (move_invariant_reg): If we move an insn | |
9888 | with a REG_EQUAL note, and that insn is not always executed, | |
9889 | remove the REG_EQUAL note. | |
9890 | ||
a540e2fe | 9891 | 2007-05-12 Richard Guenther <rguenther@suse.de> |
9892 | ||
9893 | PR tree-optimization/31797 | |
9894 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Do not | |
9895 | propagate into a stmt that has volatile ops. | |
9896 | ||
88a3dcb7 | 9897 | 2007-05-12 Richard Sandiford <richard@codesourcery.com> |
9898 | ||
9899 | * configure.ac (gcc_gxx_include_dir): Use $(libsubdir_to_prefix). | |
9900 | (gcc_tooldir): Likewise. | |
9901 | * configure: Regenerate. | |
9902 | * Makefile.in (libsubdir_to_prefix): New variable, based on the | |
9903 | old configure.ac gcc_tooldir setting. | |
9904 | (prefix_to_exec_prefix): New variable. | |
9905 | (DRIVER_DEFINES): Use $(libsubdir_to_prefix)$(prefix_to_exec_prefix) | |
9906 | rather than $(unlibsubdir)/../ to derive TOOLDIR_BASE_PREFIX. | |
9907 | ||
e6fa0ea6 | 9908 | 2007-05-11 Silvius Rus <rus@google.com> |
9909 | ||
9910 | * Makefile.in (OBJS-common): Add tree-ssa-alias-warnings.o. | |
9911 | * c-common.c (strict_aliasing_warning): Modify -Wstrict-aliasing logic. | |
9912 | * c-common.h (strict_aliasing_warning): Change return type. | |
9913 | * c-opts.c (c_common_handle_option): Add call to set_Wstrict_aliasing. | |
9914 | * c-typeck.c (build_indirect_ref): Add call to strict_aliasing_warning. | |
9915 | (build_c_cast): Condition call to strict_aliasing_warning. | |
9916 | * doc/invoke.texi: Update description of -Wstrict-aliasing[=n]. | |
9917 | * flags.h (set_Wstrict_aliasing): Declare. | |
9918 | * opts.c (set_Wstrict_alising): Define, add call to. | |
9919 | * tree-flow.h (strict_aliasing_warning_backend): Declare. | |
9920 | * tree-ssa-alias-warnings.c: New file. | |
9921 | * tree-ssa-alias.c (compute_may_aliases): Add call to | |
9602d040 | 9922 | strict_aliasing_warning_backend. |
e6fa0ea6 | 9923 | |
9e3536f4 | 9924 | 2007-05-11 Zdenek Dvorak <dvorakz@suse.cz> |
9925 | ||
9926 | * tree-loop-linear.c (gather_interchange_stats, try_interchange_loops): | |
9927 | Use loop_depth and loop_outer accessor functions. | |
9928 | * tree-ssa-loop-im.c (outermost_invariant_loop, set_level, | |
9929 | determine_invariantness_stmt, move_computations_stmt): Ditto. | |
9930 | * cfgloopmanip.c (fix_bb_placement, fix_loop_placement, remove_path, | |
9931 | add_loop, loopify, unloop, fix_loop_structure): Ditto. | |
9932 | * tree-ssa-loop-manip.c (find_uses_to_rename_use): Ditto. | |
9933 | * tree-scalar-evolution.c (interpret_loop_phi, | |
9934 | compute_scalar_evolution_in_loop, analyze_scalar_evolution_in_loop, | |
9935 | instantiate_parameters_1, scev_const_prop): Ditto. | |
9936 | * cfghooks.c (make_forwarder_block): Ditto. | |
9937 | * cfgloopanal.c (mark_irreducible_loops, mark_loop_exit_edges): Ditto. | |
9938 | * modulo-sched.c (loop_canon_p): Ditto. | |
9939 | * tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg, | |
9940 | slpeel_can_duplicate_loop_p): Ditto. | |
9941 | * lambda-code.c (invariant_in_loop_and_outer_loops): Ditto. | |
9942 | * tree-cfg.c (tree_duplicate_sese_region): Ditto. | |
9943 | * cfgloop.c (flow_loop_dump, flow_loop_nodes_find, rescan_loop_exit, | |
9944 | cancel_loop, verify_loop_structure): Ditto. | |
9945 | (flow_loop_nested_p, superloop_at_depth, flow_loop_free, | |
9946 | add_bb_to_loop, remove_bb_from_loops, find_common_loop): Use the | |
9947 | superloops vector instead of "pred" array. | |
9948 | (establish_preds): Take father loop as an argument. Initialize the | |
9949 | superloops vector. | |
ed69c853 | 9950 | (flow_loop_tree_node_add): Pass father loop to establish_preds. |
9951 | Do not initialize loop->outer. | |
9e3536f4 | 9952 | (flow_loop_tree_node_remove): Truncate the superloops vector. |
9953 | * cfgloop.h (struct loop): Removed field "outer", fields "depth" and | |
9954 | "pred" merged to "superloops" vector. | |
9955 | (loop_depth, loop_outer): New. | |
9956 | (fel_init): Use loop_outer. | |
9957 | ||
a861fe52 | 9958 | 2007-05-11 Jan Hubicka <jh@suse.cz> |
9959 | ||
9960 | * cgraphunit.c: Include gt-cgraphunit.h | |
9961 | (static_ctors, static_dtors): New static vars. | |
9962 | (record_cdtor_fn, build_cdtor, cgraph_build_cdtor_fns): New functions, | |
9963 | based on implementation in c-common.c | |
9964 | (cgraph_finalize_function): Call record_cdtor_fn. | |
9965 | (cgraph_optimize): Call cgraph_build_cdtor_fns. | |
9966 | * decl.c (finish_function): Do not call c_record_cdtor_fn. | |
9967 | (c_write_global_declarations): Do not call c_build_cdtor_fns. | |
9968 | * c-common.c (static_ctors, static_dtors, c_record_cdtor_fn, | |
9969 | build_cdtor, c_build_cdtor_fns): Remove. | |
9970 | * c-common.h (static_ctors, static_dtors, c_record_cdtor_fn, | |
9971 | c_build_cdtor_fns): Remove prototype. | |
9972 | ||
7959b13b | 9973 | 2007-05-11 Paolo Carlini <pcarlini@suse.de> |
9974 | ||
9975 | PR other/31852 | |
9976 | * builtin-types.def: Add BT_FN_PTR_CONST_PTR_INT_SIZE. | |
9977 | * builtins.def: Add BUILT_IN_MEMCHR, use the latter. | |
9978 | * builtins.c (fold_builtin_memchr): New. | |
9979 | (expand_builtin_memchr): Call the latter. | |
9980 | (expand_builtin, fold_builtin_3): Deal with BUILT_IN_MEMCHR. | |
9981 | * doc/extend.texi ([Other built-in functions provided by GCC]): | |
9982 | Document memchr. | |
9983 | ||
9fa9680d | 9984 | 2007-05-11 Andreas Krebbel <krebbel1@de.ibm.com> |
9985 | ||
9986 | * config/s390/s390.md (GPR0_REGNUM, FPR0_REGNUM, FPR2_REGNUM, | |
9987 | PFPO_CONVERT, PFPO_OP_TYPE_SF, PFPO_OP_TYPE_DF, PFPO_OP_TYPE_TF, | |
9988 | PFPO_OP_TYPE_SD, PFPO_OP_TYPE_DD, PFPO_OP_TYPE_TD, PFPO_OP0_TYPE_SHIFT, | |
9989 | PFPO_OP1_TYPE_SHIFT): Constants added. | |
9990 | (DFP_ALL): Mode macro defined. | |
9991 | ("*trunc<BFP:mode><DFP_ALL:mode>2", "*trunc<DFP_ALL:mode><BFP:mode>2", | |
9992 | "*extend<BFP:mode><DFP_ALL:mode>2", "*extend<DFP_ALL:mode><BFP:mode>2"): | |
9993 | Insn definitions added. | |
9994 | ("trunc<BFP:mode><DFP_ALL:mode>2", "trunc<DFP_ALL:mode><BFP:mode>2", | |
9995 | "extend<BFP:mode><DFP_ALL:mode>2", "extend<DFP_ALL:mode><BFP:mode>2"): | |
9996 | Expanders added. | |
9997 | ||
c4e91ab3 | 9998 | 2007-05-10 Zdenek Dvorak <dvorakz@suse.cz> |
9999 | ||
10000 | PR tree-optimization/31885 | |
ed69c853 | 10001 | * tree-chrec.c (chrec_contains_undetermined): Do not consider |
10002 | NULL_TREE to be undetermined. | |
c4e91ab3 | 10003 | (automatically_generated_chrec_p): Return false for NULL. |
10004 | ||
fc9fdf60 | 10005 | 2007-05-08 Bernd Schmidt <bernd.schmidt@analog.com> |
10006 | ||
10007 | * config/bfin/bfin.h (MOVE_RATIO): Define. | |
10008 | ||
723e1902 | 10009 | 2007-05-10 Richard Sandiford <richard@codesourcery.com> |
10010 | ||
10011 | * config.gcc (sparc-wrs-vxworks): New target. | |
10012 | * config/sparc/vxworks.h, config/sparc/t-vxworks: New files. | |
10013 | * config/sparc/sparc-protos.h (sparc_emit_call_insn): Declare. | |
10014 | * config/sparc/sparc.h: Include vxworks-dummy.h. | |
10015 | (PRINT_OPERAND_ADDRESS): Extend SYMBOL_REF handling to | |
10016 | include LABEL_REFs too. | |
10017 | * config/sparc/sparc.c (sparc_expand_move): Don't assume that | |
10018 | _GLOBAL_OFFSET_TABLE_ - label_ref is a link-time constant on | |
10019 | VxWorks. | |
10020 | (legitimize_pic_address): Handle LABEL_REFs like SYMBOL_REFs | |
10021 | on VxWorks. | |
10022 | (load_pic_register): Use gen_vxworks_load_got for VxWorks. | |
10023 | (sparc_emit_call_insn): New function. | |
10024 | (sparc_function_ok_for_sibcall): Restrict sibcalls to locally-binding | |
10025 | functions when generating VxWorks PIC. | |
10026 | * config/sparc/sparc.md (vxworks_load_got): New pattern. | |
10027 | (call, call_value): Use sparc_emit_call_insn instead of | |
10028 | emit_call_insn. | |
10029 | ||
205710bf | 10030 | 2007-05-09 Bob Wilson <bob.wilson@acm.org> |
9602d040 | 10031 | |
205710bf | 10032 | * config/xtensa/xtensa.c (xtensa_output_literal): Don't use #if. |
9602d040 | 10033 | |
c9876a47 | 10034 | 2007-05-09 Bob Wilson <bob.wilson@acm.org> |
10035 | ||
10036 | * config/xtensa/xtensa.c (xtensa_output_literal): Mask out high bits | |
ed69c853 | 10037 | for floating-point values if HOST_BITS_PER_LONG > 32. Use |
10038 | split_double instead of operand_subword. | |
c9876a47 | 10039 | |
23285403 | 10040 | 2007-05-08 Bernd Schmidt <bernd.schmidt@analog.com> |
10041 | ||
10042 | * config/bfin/bfin.h (LOCAL_ALIGNMENT): Define. | |
10043 | * config/bfin/bfin.c (bfin_local_alignment): New function. | |
10044 | * config/bfin/bfin-protos.h (bfin_local_alignment): Declare it. | |
10045 | ||
43fda261 | 10046 | 2007-05-08 Chao-ying Fu <fu@mips.com> |
10047 | ||
10048 | * doc/md.texi (msub@var{m}@var{n}4, usub@var{m}@var{n}4): Document. | |
10049 | * optabs.h (OTI_smsub_widen, OTI_umsub_widen): New optab_indexes. | |
10050 | (smsub_widen_optab, umsub_widen_optab): Define. | |
10051 | * optabs.c (init_optabs): Initialize smsub_widen_optab and | |
10052 | umsub_widen_optab. | |
10053 | * genopinit.c (optabs): Fill in smsub_widen_optab and | |
10054 | umsub_widen_optab. | |
10055 | * expr.c (expand_expr_real_1): Try to use smsub_widen_optab | |
10056 | and umsub_widen_optab to implement multiply-subtract sequences. | |
10057 | * config/mips/mips.md (*msac<u>_di): Rename to... | |
10058 | (<u>msubsidi4): ...this. Extend condition to include | |
10059 | GENERATE_MADD_MSUB and TARGET_DSPR2. Change the constraint | |
10060 | of operand 0 to "ka" and use the three-operand form of msub<u> | |
10061 | for TARGET_DSPR2. | |
10062 | * config/mips/mips-dspr2.md (mips_msub, mips_msubu): Convert | |
10063 | to define_expands. | |
10064 | ||
1121ac6f | 10065 | 2007-05-08 Kaz Kojima <kkojima@gcc.gnu.org> |
10066 | ||
10067 | PR rtl-optimization/28011 | |
10068 | * reload.c (push_reload): Set dont_share if IN appears in OUT | |
10069 | also when IN is a PLUS rtx. | |
10070 | (reg_overlap_mentioned_for_reload_p): Return true if X and IN | |
10071 | are same PLUS rtx. | |
10072 | ||
df329266 | 10073 | 2007-05-08 Kazu Hirata <kazu@codesourcery.com> |
10074 | ||
10075 | * emit-rtl.c (unshare_all_rtl_1): Don't copy DECL_RTL. Don't | |
10076 | call unshare_all_decls. | |
10077 | (unshare_all_rtl): Adjust the call to unshare_all_rtl_1. | |
10078 | (unshare_all_decls): Remove. | |
10079 | ||
1b2b0409 | 10080 | 2007-05-08 Simon Martin <simartin@users.sourceforge.net> |
10081 | ||
10082 | PR 31847 | |
10083 | * tree-dump.c (dump_options): Don't use TDF_DIAGNOSTIC in "*-all" tree | |
10084 | dumps. | |
10085 | ||
fef98e29 | 10086 | 2007-05-08 Sandra Loosemore <sandra@codesourcery.com> |
8aa4e142 | 10087 | Nigel Stephens <nigel@mips.com> |
fef98e29 | 10088 | |
10089 | * config/mips/mips.h (MAX_FPRS_PER_FMT): Renamed from FP_INC. | |
10090 | Update comments and all uses. | |
10091 | (MIN_FPRS_PER_FMT): Define. | |
10092 | * config/mips/mips.c (function_arg): Fix to correctly handle | |
10093 | the -mips32r2 -mfp64 -mabi=32 case. | |
10094 | (override_options): Enable use of odd-numbered registers for | |
10095 | SFmode values on MIPS32. | |
10096 | (mips_save_reg_p): Save whole floating-point register pair if | |
10097 | either half is used. | |
10098 | (compute_frame_size): Fix comment. | |
10099 | ||
a35b82b9 | 10100 | 2007-05-08 Jie Zhang <jie.zhang@analog.com> |
10101 | ||
10102 | * config/bfin/bfin-protos.h (bfin_expand_epilogue): Add a third | |
10103 | argument of type bool. | |
10104 | * config/bfin/bfin.c (add_to_reg): Add epilogue_p as a fourth | |
10105 | argument. Safely select temporary P register according to it. | |
10106 | (do_link): Change call site of add_to_reg accordingly. | |
10107 | (do_unlink): Add epilogue_p as a fourth argument and pass it | |
10108 | to add_to_reg. | |
10109 | (expand_interrupt_handler_epilogue): Change call of do_unlink | |
10110 | accordingly. | |
10111 | (bfin_expand_prologue): Add a third argument sibcall_p. | |
10112 | * config/bfin/bfin.md (epilogue): Change call of | |
10113 | bfin_expand_epilogue accordingly. | |
10114 | (sibcall_epilogue): Likewise. | |
10115 | (eh_return_internal): Likewise. | |
9602d040 | 10116 | |
99fe38c0 | 10117 | * config/bfin/bfin-protos.h (enum bfin_cpu): Add |
10118 | BFIN_CPU_BF534, BFIN_CPU_BF536 and BFIN_CPU_BF561. | |
10119 | * config/bfin/bfin.c (bfin_handle_option): Handle | |
10120 | -mcpu=bf534, -mcpu=bf536 and -mcpu=bf561. | |
10121 | * config/bfin/bfin.h (TARGET_CPU_CPP_BUILTINS): | |
10122 | Support bf534, bf536 and bf561. | |
10123 | * doc/invoke.texi (Blackfin Options): Document -mcpu and -msim. | |
10124 | ||
691299da | 10125 | 2007-05-08 Uros Bizjak <ubizjak@gmail.com> |
10126 | ||
10127 | PR target/31854 | |
10128 | * config/i386/i386.c (ix86_function_regparm): Process local | |
10129 | functions only when TREE_CODE (decl) equals FUNCTION_DECL. | |
9602d040 | 10130 | |
cc742166 | 10131 | 2007-05-07 Mike Stump <mrs@apple.com> |
10132 | ||
10133 | * doc/invoke.texi (Warning Options): Document that -Wempty-body | |
10134 | also checks for and while statements in C++. | |
10135 | ||
c159e0b7 | 10136 | 2007-05-07 Nathan Froyd <froydnj@codesourcery.com> |
10137 | ||
10138 | * gcc.c (at_file_supplied): New variable. | |
10139 | (main): Set it if we expanded argv. | |
10140 | (do_spec_1): Pass an @-file to the linker if we were called with | |
10141 | an @-file argument and HAVE_GNU_LD. | |
10142 | * collect2.c (at_file_supplied): New variable. | |
10143 | (response_file): New variable. | |
10144 | (collect_exit): Unlink response_file if necessary. | |
10145 | (handler): Likewise. | |
10146 | (do_wait): Likewise. | |
10147 | (main): Set at_file_supplied if we expanded argv. | |
10148 | (collect_execute): Pass an @-file to subprocesses if we were called | |
10149 | with an @-file argument. | |
10150 | * configure.ac: Add define for HAVE_GNU_LD. | |
10151 | * configure: Regenerate. | |
10152 | * config.in: Regenerate. | |
10153 | ||
8aa4e142 | 10154 | 2007-05-07 Naveen.H.S <naveen.hs@kpitcummins.com> |
39218c77 | 10155 | |
10156 | * config/m32c/muldiv.md (mulhisi3_c): Limit the mode of the 2nd | |
10157 | operand to HI mode. | |
10158 | (mulsi3): New. | |
10159 | (divsi3): New. | |
10160 | (udivsi3): New. | |
10161 | ||
2efce110 | 10162 | 2007-05-07 Jayant Sonar <jayants@kpitcummins.com> |
10163 | ||
10164 | * config/m32c/m32c.c (SYMBOL_FLAG_FUNCVEC_FUNCTION): Define. | |
10165 | (TARGET_ENCODE_SECTION_INFO): Re-define. | |
10166 | (m32c_encode_section_info): New | |
10167 | (function_vector_handler): New | |
10168 | (current_function_special_page_vector): New | |
10169 | (m32c_special_page_vector_p): New. | |
9602d040 | 10170 | * config/m32c/m32c-protos.h (m32c_special_page_vector_p): |
2efce110 | 10171 | Prototype. |
9602d040 | 10172 | * config/m32c/jump.md: Added instruction JSRS for functions |
2efce110 | 10173 | with attribute "function_vector". |
9602d040 | 10174 | * doc/extend.texi (function_vector): Added description |
2efce110 | 10175 | for M16C, M32C targets. |
10176 | ||
2f1842a8 | 10177 | 2007-05-07 DJ Delorie <dj@redhat.com> |
10178 | ||
10179 | PR 31794 | |
10180 | * config/m32c/shift.md (ashlpsi3_i, ashrpsi3_i, ashlpsi3, | |
10181 | ashrpsi3, lshrpsi3): Update shift count constraint. | |
10182 | ||
b7158884 | 10183 | 2007-05-07 Danny Smith <dannysmith@users.sourceforge.net> |
c159e0b7 | 10184 | Nathan Froyd <froydnj@codesourcery.com> |
b7158884 | 10185 | |
10186 | PR 22133 | |
10187 | * c-incpath.c (add_path): Strip trailing path separators. | |
10188 | ||
9a17dd7d | 10189 | 2007-05-07 Eric Botcazou <ebotcazou@adacore.com> |
10190 | ||
10191 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Reset cfg_altered. | |
66d3a87b | 10192 | Free dominance info before purging EH edges. |
9a17dd7d | 10193 | (eliminate_degenerate_phis): Likewise. |
10194 | (propagate_rhs_into_lhs): Set cfg_altered to true instead of 1. | |
10195 | ||
68411217 | 10196 | 2007-05-07 Jan Hubicka <jh@suse.cz> |
10197 | ||
10198 | * gimplify.c (gimplify_expr): Do not crash when folding | |
10199 | (void *)(int)&a + 4. | |
10200 | ||
e297ac28 | 10201 | 2007-05-07 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
10202 | ||
10203 | PR driver/31694 | |
10204 | * c-opts.c (lang_fortran): Make it non static. | |
10205 | * c-common.h (lang_fortran): New prototype. | |
10206 | * c-cppbuiltin.c (c_cpp_builtins): Create a __GFORTRAN__ if the | |
10207 | -lang-fortran option was passed by the driver. | |
10208 | ||
c15062b7 | 10209 | 2007-05-06 Eric Botcazou <ebotcazou@adacore.com> |
10210 | ||
10211 | * timevar.c (timevar_print): Test ENABLE_ASSERT_CHECKING instead | |
10212 | of ASSERT_CHECKING. Tweak message. | |
10213 | ||
10214 | 2007-05-06 Revital Eres <eres@il.ibm.com> | |
428c97ad | 10215 | |
10216 | PR 30957 | |
10217 | * loop-unroll.c (insert_var_expansion_initialization): | |
10218 | Initialize the expansions with -zero instead of +zero. | |
10219 | ||
3f8d8851 | 10220 | 2007-05-05 Aurelien Jarno <aurelien@aurel32.net> |
10221 | ||
10222 | * config/pa/pa.md: Split tgd_load, tld_load and tie_load | |
9602d040 | 10223 | into pic and non-pic versions. Mark r19 as used for |
10224 | tgd_load_pic, tld_load_pic and tie_load_pic. Mark r27 as used | |
3f8d8851 | 10225 | for tgd_load, tld_load and tie_load . |
10226 | * config/pa/pa.c (legitimize_tls_address): Emit pic or non-pic | |
9602d040 | 10227 | version of tgd_load, tld_load and tie_load depending on the |
3f8d8851 | 10228 | value of flag_pic. |
10229 | ||
f9e6c0d4 | 10230 | 2007-05-04 Ulrich Drepper <drepper@redhat.com> |
10231 | Jakub Jelinek <jakub@redhat.com> | |
10232 | ||
10233 | * crtstuff.c (HIDDEN_DTOR_LIST_END): New macro. | |
10234 | (__do_global_dtors_aux): Use more paranoid loop to run | |
10235 | destructors if HIDDEN_DTOR_LIST_END. | |
10236 | (__DTOR_END__): Export as a hidden symbol when HIDDEN_DTOR_LIST_END. | |
10237 | ||
0722e767 | 10238 | 2007-05-04 Jakub Jelinek <jakub@redhat.com> |
10239 | ||
10240 | * varasm.c (align_variable): Don't increase alignment for | |
10241 | DECL_THREAD_LOCAL_P variables above BITS_PER_WORD through | |
10242 | DATA_ALIGNMENT or CONSTANT_ALIGNMENT. | |
10243 | ||
50b08d37 | 10244 | 2007-05-04 Josh Conner <jconner@apple.com> |
10245 | ||
10246 | * basic-block.h (cdi_direction): Assign values to all enumeration | |
10247 | constants. | |
10248 | (dom_computed): Remove. | |
10249 | (dom_info_state): New. | |
10250 | (set_dom_info_availability): New. | |
10251 | * tree-ssa-loop-im.c (determine_invariantness): Initialize | |
10252 | walk_data.dom_direction. | |
10253 | * cfghooks.c (delete_basic_block): Use dom_info_available_p() | |
10254 | instead of dom_computed[]. | |
10255 | (split_edge): Likewise. | |
10256 | (create_basic_block): Likewise. | |
10257 | (merge_blocks): Likewise. | |
10258 | * ifcvt.c (find_if_header): Likewise. | |
10259 | * tree-cfgcleanup.c (cleanup_tree_cfg): Likewise. | |
10260 | * tree-ssa-dce.c (remove_dead_stmt): Likewise. | |
10261 | * tree-ssa.c (verify_ssa): Likewise. | |
10262 | * tree-cfg.c (tree_verify_flow_info): Likewise. | |
10263 | (remove_edge_and_dominated_blocks): Likewise. | |
10264 | * dominance.c (dom_computed): Make static. | |
10265 | (calc_dfs_tree_nonrec): Change third param to a bool. | |
10266 | (calc_dfs_tree): Change second param to a bool. | |
10267 | (calc_idioms): Change second param to a bool. Use | |
10268 | dom_convert_dir_to_idx. | |
10269 | (init_dom_info): Validate dir before using. | |
10270 | (dom_convert_dir_to_idx): New. | |
10271 | (calculate_dominance_info): Use dom_convert_dir_to_idx. New | |
10272 | variable 'reverse' used for calling calc_dfs_tree and calc_idoms. | |
10273 | (free_dominance_info): Use dom_convert_dir_to_idx. | |
10274 | (get_immediate_dominator): Likewise. | |
10275 | (set_immediate_dominator): Likewise. | |
10276 | (get_dominated_by): Likewise. | |
10277 | (redirect_immediate_dominators): Likewise. | |
10278 | (nearest_common_denominator): Likewise. | |
10279 | (dominated_by_p): Likewise. | |
10280 | (bb_dom_dfs_in): Likewise. | |
10281 | (bb_dom_dfs_out): Likewise. | |
10282 | (recount_dominator): Likewise. | |
10283 | (iterate_fix_dominators): Likewise. | |
10284 | (add_to_dominance_info): Likewise. | |
10285 | (delete_from_dominance_info): Likewise. | |
10286 | (first_dom_son): Likewise. | |
10287 | (next_dom_son): Likewise. | |
10288 | (dom_info_available_p): Likewise. | |
10289 | (dom_info_state): New. | |
10290 | (set_dom_info_availability): New. | |
10291 | ||
e7340e24 | 10292 | 2007-05-04 Andreas Krebbel <krebbel1@de.ibm.com> |
10293 | ||
10294 | * config/s390/s390.md ("fix_trunc<mode>di2", "fix_trunc<mode>si2"): | |
10295 | Expander removed. | |
10296 | ("fix_trunc<DSF:mode><GPR:mode>2"): Expander added. | |
10297 | ||
4fc70e71 | 10298 | 2007-05-04 Bob Wilson <bob.wilson@acm.org> |
9602d040 | 10299 | |
4fc70e71 | 10300 | * config/xtensa/xtensa.md (adddi3, adddi_carry): Delete. |
10301 | (subdi3, subdi_carry): Delete. | |
9602d040 | 10302 | |
9160060d | 10303 | 2007-05-04 Jan Hubicka <jh@suse.cz> |
10304 | Richard Guenther <rguenther@suse.de> | |
10305 | ||
10306 | * opts.c (decode_options): Do not fiddle with inlining | |
10307 | parameters in case of optimizing for size. | |
10308 | * ipa-inline.c (cgraph_decide_recursive_inlining): When optimizing | |
10309 | for size do nothing. | |
10310 | (cgraph_decide_inlining_of_small_function): When optimizing for | |
10311 | size never inline functions increasing caller size. | |
10312 | (cgraph_early_inlining): Inline for size when optimizing for size. | |
10313 | ||
27eda240 | 10314 | 2007-05-04 Bernd Schmidt <bernd.schmidt@analog.com> |
eb0dea99 | 10315 | |
10316 | * config/bfin/bfin.md (<optab>di3): Now a define_expand which expands | |
10317 | logical operations piecewise. | |
10318 | (<optab>di_zesidi_di, <optab>di_sesidi_di, negdi2, one_cmpldi2, | |
10319 | zero_extendsidi2, subdi_di_zesidi, subdi_zesidi_di, subdi_di_sesidi, | |
10320 | subdi_sesidi_di): Delete. | |
10321 | (add_with_carry): Produce carry in CC instead of a DREG to shorten | |
10322 | the generated sequence. Allow three-reg add in constraints. Rewrite | |
10323 | the rtl expression for carry to avoid zero_extend of a constant. | |
10324 | (sub_with_carry): New pattern. | |
10325 | (adddi3, subdi3): Change into define_expand. For subtract, generate a | |
10326 | different sequence not involving jumps. | |
10327 | (notbi): Now a named pattern. | |
10328 | ||
64447b3b | 10329 | 2007-05-04 Bradley Lucier <lucier@math.purdue.edu> |
10330 | ||
10331 | * doc/invoke.texi (i386 and x86-64 Options) [-mpc32, -mpc64, -mpc80]: | |
10332 | Add the note about a significant loss of accuracy of some | |
10333 | mathematical routines when these options are used. | |
10334 | ||
3588ab9c | 10335 | 2007-05-04 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> |
10336 | ||
10337 | * haifa-sched.c (rtx_vec_t): New typedef. | |
10338 | (contributes_to_priority_p): Extract piece of priority () into new | |
10339 | static function. | |
10340 | (priority): Use the function. Add assertion. | |
10341 | (rank_for_schedule, set_priorities): Add assertion to check that | |
10342 | insn's priority is initialized. | |
10343 | (clear_priorities, calc_priorities): Change signature. Make it update | |
10344 | all relevant insns. Update all callers ('add_to_speculative_block ()' | |
10345 | and 'create_block_check_twin ()'). | |
10346 | * sched-int.h (struct haifa_insn_data): Remove field 'priority_known'. | |
10347 | Add new field 'priority_status'. | |
10348 | (INSN_PRIORITY_STATUS): New macro. | |
10349 | (INSN_PRIORITY_KNOWN): Change to use INSN_PRIORITY_STATUS. | |
10350 | ||
a2819fc2 | 10351 | 2007-05-04 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> |
10352 | ||
10353 | * sched-ebb.c (debug_ebb_dependencies): New static function. | |
10354 | (init_ready_list): Use it. | |
10355 | ||
10356 | * sched-rgn.c (debug_dependencies): Split into 'debug_dependencies ()' | |
10357 | with changed signature and 'debug_rgn_dependencies ()'. | |
10358 | (debug_rgn_dependencies): New static function. | |
10359 | (init_ready_list): Use it. | |
9602d040 | 10360 | |
a2819fc2 | 10361 | * sched-int.h (debug_dependencies): Declare. |
10362 | ||
7cfa1204 | 10363 | 2007-05-04 Andreas Krebbel <krebbel1@de.ibm.com> |
10364 | ||
10365 | * libgcc-std.ver (__ffssi2): Added to GCC_4.3.0 section. | |
10366 | ||
b24655ef | 10367 | 2007-05-04 Dirk Mueller <dmueller@suse.de> |
10368 | ||
10369 | * c.opt(Wmain,ffreestanding): Enable for C++,ObjC++. | |
10370 | ||
06f9fe3e | 10371 | 2007-05-03 Jan Hubicka <jh@suse.cz> |
10372 | ||
ed69c853 | 10373 | * fold-const.c (fold_unary): Convert (T1)(X op Y) into |
10374 | ((T1)X op (T1)Y), for pointer type in more cases than before. | |
06f9fe3e | 10375 | |
10376 | * gimplify.c (gimplify_expr): Fold (void *)&a + 4. | |
10377 | ||
10378 | * tree-object-size.c (plus_expr_object_size): When operand size is | |
10379 | unknown, return unknown. | |
10380 | ||
c2d4d40a | 10381 | 2007-05-03 Dirk Mueller <dmueller@suse.de> |
10382 | ||
10383 | * doc/invoke.texi (-m386,-m486,-mpentium,-mpentiumpro): Remove. | |
10384 | ||
10385 | * config/i386/i386.h (CC1_CPU_SPEC): Remove handling for deprecated | |
10386 | options. | |
10387 | ||
10388 | * config/i386/i386.opt (m386,m486,mpentium,mpentiumpro): Remove. | |
10389 | ||
377bbc15 | 10390 | 2007-05-03 Janis Johnson <janis187@us.ibm.com> |
10391 | ||
10392 | * doc/sourcebuild.texi (Test Directives) Clarify dg-excess-errors. | |
10393 | ||
dc442fa0 | 10394 | 2007-05-03 Joseph Myers <joseph@codesourcery.com> |
10395 | ||
10396 | * config/soft-fp/double.h, config/soft-fp/extended.h, | |
10397 | config/soft-fp/floatundidf.c, config/soft-fp/floatundisf.c, | |
10398 | config/soft-fp/floatunsidf.c, config/soft-fp/floatunsisf.c, | |
10399 | config/soft-fp/op-2.h, config/soft-fp/op-4.h, | |
10400 | config/soft-fp/op-common.h, config/soft-fp/quad.h: Update from | |
10401 | glibc CVS. | |
10402 | ||
a7c1ab49 | 10403 | 2007-05-03 Ian Lance Taylor <iant@google.com> |
10404 | ||
b1b1bb64 | 10405 | * config/rs6000/rs6000.c (rs6000_override_options): Don't set |
a7c1ab49 | 10406 | MASK_PPC_GFXOPT for 8540 or 8548. |
10407 | ||
fcca3533 | 10408 | 2007-05-03 Uros Bizjak <ubizjak@gmail.com> |
10409 | ||
10410 | * tree-vect-transform.c (vect_update_inits_of_drs): Use | |
10411 | vect_print_dump_info() to output debug information. | |
10412 | ||
a0a6f22b | 10413 | 2007-05-03 Uros Bizjak <ubizjak@gmail.com> |
10414 | ||
10415 | PR target/31768 | |
10416 | * config/i386/i386.c (print_operand) ['z']: Output 'w' for | |
10417 | operands of size 2 when operand is not MEM_P. | |
10418 | ||
1491dd5a | 10419 | 2007-05-03 Zdenek Dvorak <dvorakz@suse.cz> |
10420 | ||
10421 | PR tree-optimization/30565 | |
10422 | * lambda-code.c (perfect_nestify): Fix updating of dominators. | |
10423 | ||
b9904d32 | 10424 | 2007-05-03 Bernd Schmidt <bernd.schmidt@analog.com> |
10425 | ||
10426 | * config/bfin/bfin.md (addpdi3, us_truncpdisi2): New patterns. | |
10427 | (umulsi3_highpart): Use them. | |
10428 | * config/bfin/lib1funcs.asm (__umulsi3_highpart): Use unsigned move | |
10429 | for final accumulator to D regisster tranfser. | |
10430 | ||
30f263a4 | 10431 | 2007-05-03 Dorit Nuzman <dorit@il.ibm.com> |
10432 | ||
10433 | PR tree-optimization/31699 | |
ed69c853 | 10434 | * tree-vect-analyze.c (vect_update_misalignment_for_peel): Remove |
10435 | wrong code. | |
9602d040 | 10436 | (vect_enhance_data_refs_alignment): Compute peel amount using |
10437 | TYPE_VECTOR_SUBPARTS instead of vf. | |
30f263a4 | 10438 | * tree-vect-transform.c (vect_gen_niters_for_prolog_loop): Likewise. |
10439 | ||
ad3827a6 | 10440 | 2007-05-02 Brooks Moses <brooks.moses@codesourcery.com> |
10441 | ||
10442 | PR bootstrap/31776 | |
10443 | * system.h: Remove inclusion of double-int.h | |
10444 | * tree.h: Include double-int.h | |
10445 | * gengtype.c: Likewise | |
10446 | * cfgloop.h: Likewise | |
10447 | * Makefile.in: Adjust dependencies on double-int.h | |
10448 | ||
29686c2c | 10449 | 2007-05-02 Eric Christopher <echristo@apple.com> |
10450 | ||
10451 | * config/darwin.h (TARGET_OPTION_TRANSLATE_TABLE): Translate | |
10452 | -shared to -Zdynamiclib. | |
10453 | ||
57a0ed23 | 10454 | 2007-05-02 Seongbae Park <seongbae.park@gmail.com> |
10455 | ||
10456 | PR c++/31663 | |
10457 | * c-common.c (strip_pointer_or_array_types): New function. | |
10458 | * c-common.h (strip_pointer_or_array_types): New function declaration. | |
10459 | ||
1f204d2d | 10460 | 2007-05-03 Zdenek Dvorak <dvorakz@suse.cz> |
10461 | ||
10462 | PR tree-optimization/31771 | |
10463 | * tree-cfg.c (move_block_to_fn): Assign bb to the correct index. | |
10464 | ||
377dbc5d | 10465 | 2007-05-02 Paul Brook <paul@codesourcery.com> |
10466 | ||
10467 | * config/arm/bpabi.S (aeabi_lcmp): Fix result on overflow. | |
10468 | ||
b26f15a5 | 10469 | 2007-05-02 Andrew Pinski <andrew_pinski@playstation.sony.com> |
10470 | ||
40ab1934 | 10471 | PR middle-end/29715 |
b26f15a5 | 10472 | * fold-const.c (fold_comparision): Remove the "foo++ == CONST" |
10473 | transformation. | |
10474 | ||
a12ac39a | 10475 | 2007-05-02 Nick Clifton <nickc@redhat.com> |
10476 | ||
10477 | * config/frv/predicates.md (symbolic_operand): Accept CONSTs. | |
10478 | ||
6776dec8 | 10479 | 2007-05-02 Richard Guenther <rguenther@suse.de> |
10480 | ||
10481 | PR tree-optimization/31146 | |
10482 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): New | |
10483 | argument, single_use_p. If we have a single use that is | |
10484 | a conversion to the definition rhs type, propagate that rhs. | |
10485 | (forward_propagate_addr_expr): Pass single_use_p argument | |
10486 | to forward_propagate_addr_expr_1. | |
10487 | ||
6c8a2ee2 | 10488 | 2007-05-01 H.J. Lu <hongjiu.lu@intel.com> |
10489 | ||
10490 | * config/i386/i386.c (ix86_expand_sse_comi): Remove unused | |
10491 | variable. | |
10492 | ||
63df211a | 10493 | 2007-05-01 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> |
10494 | ||
29686c2c | 10495 | * doc/invoke.texi: Fix typo, 'AMD Family 10h core' instead of |
63df211a | 10496 | 'AMD Family 10 core'. |
29686c2c | 10497 | |
ba29708a | 10498 | 2007-05-01 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> |
10499 | ||
29686c2c | 10500 | * config/i386/i386.c (override_options): Accept k8-sse3, opteron-sse3 |
10501 | and athlon64-sse3 as improved versions of k8, opteron and athlon64 | |
ba29708a | 10502 | with SSE3 instruction set support. |
10503 | * doc/invoke.texi: Likewise. | |
29686c2c | 10504 | |
029655af | 10505 | 2007-05-01 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> |
10506 | ||
10507 | * config/i386/i386.c (override_options): Tuning 32-byte loop | |
29686c2c | 10508 | alignment for amdfam10 architecture. Increasing the max loop |
029655af | 10509 | alignment to 24 bytes. |
29686c2c | 10510 | |
584f29ac | 10511 | 2007-05-01 Kazu Hirata <kazu@codesourcery.com> |
10512 | ||
10513 | * config/m68k/constraints.md: New. | |
10514 | * config/m68k/m68k.h (REG_CLASS_FROM_LETTER, | |
10515 | CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P, | |
10516 | EXTRA_CONSTRAINT): Remove. | |
10517 | * config/m68k/m68k.md: Include constraints.md. | |
10518 | * expr.c (expand_expr_real_1): Copy DECL_RTL before using it. | |
10519 | ||
b876a744 | 10520 | 2007-05-01 Ian Lance Taylor <iant@google.com> |
10521 | ||
10522 | PR tree-optimization/31739 | |
10523 | * tree-vrp.c (vrp_val_is_max): New static function. | |
10524 | (vrp_val_is_min): New static function. | |
10525 | (set_value_range_to_value): Use TYPE_{MAX,MIN}_VALUE rather than | |
10526 | copying the node. | |
10527 | (set_value_range): Use vrp_val_is_{max,min}. | |
10528 | (extract_range_from_assert): Likewise. | |
10529 | (extract_range_from_binary_expr): Likewise. | |
10530 | (extract_range_from_unary_expr): Likewise. | |
10531 | (dump_value_range, vrp_meet): Likewise. | |
10532 | (vrp_visit_phi_node): Likewise. | |
10533 | * tree.c (build_distinct_type_copy): Revert change of 2007-04-27. | |
10534 | ||
2fdb7138 | 10535 | 2007-05-01 Mark Mitchell <mark@codesourcery.com> |
10536 | ||
10537 | * config/i386/gmon-sol2.c (size_t): New type. | |
10538 | (intptr_t): Likewise. | |
10539 | (s_textsize): Declare as size_t. | |
10540 | (sbrk): Declare. | |
10541 | (monstartup): Use size_t for sizes. | |
10542 | (_mcount): Save and restore registers. | |
10543 | (internal_mcount): Pass 0 as the first argument to monstartup | |
10544 | in 64-bit mode. | |
10545 | (moncontrol): Convert pointer to appropriately sized integer | |
10546 | before passing to profil. | |
10547 | ||
d747da8e | 10548 | 2007-05-01 Joseph Myers <joseph@codesourcery.com> |
10549 | ||
10550 | * config/rs6000/darwin-ldouble.c (__gcc_qunord): Define if | |
10551 | __NO_FPRS__, not just if _SOFT_DOUBLE. | |
10552 | * config/rs6000/libgcc-ppc-glibc.ver (__gcc_qunord): Likewise. | |
10553 | * config/rs6000/rs6000.c (rs6000_init_libfuncs): Use __gcc_qunord | |
10554 | also for E500 double. | |
10555 | * config/rs6000/rs6000.md (buneq, bunge, bungt, bunle, bunlt, | |
10556 | suneq, sunge, sungt, sunle, sunlt): Disable for (TARGET_HARD_FLOAT | |
10557 | && !TARGET_FPRS). | |
10558 | ||
d92f9312 | 10559 | 2007-05-01 Richard Guenther <rguenther@suse.de> |
10560 | ||
10561 | * tree-ssa-loop-manip.c (ip_normal_pos): Check if last stmt | |
10562 | is NULL. | |
10563 | ||
cbc33164 | 10564 | 2007-05-01 Joseph Myers <joseph@codesourcery.com> |
10565 | ||
10566 | * config/rs6000/libgcc-ppc-glibc.ver (__gcc_qgt): Fix typo. | |
10567 | ||
d874c55e | 10568 | 2007-05-01 Jan Hubicka <jh@suse.cz> |
10569 | ||
10570 | * tree-vectorize.c (vect_is_simple_use): gimple_min_invariant is | |
10571 | invariant. | |
10572 | ||
3b45913d | 10573 | 2007-05-01 Jan Hubicka <jh@suse.cz> |
10574 | ||
10575 | * tree.h (maybe_fold_offset_to_component_ref): Remove. | |
10576 | (maybe_fold_offset_to_reference): Declare. | |
10577 | * fold-const.c (fold_unary): Do not fold | |
10578 | (type *)&A into &A->field_of_type_and_offset_0 | |
10579 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): When base type | |
10580 | size is unknown, give up. | |
10581 | (maybe_fold_offset_to_component_ref): Ignore firelds with unknown | |
10582 | offsets. | |
10583 | (maybe_fold_offset_to_reference): New. | |
10584 | (maybe_fold_stmt_indirect): Use it. | |
10585 | (fold_stmt_r): Fold (type *)&A+offset into A->field_if_type_and_offset. | |
10586 | * gimplify.c (gimplify_conversion): Canonicalize conversions to | |
10587 | field references. | |
10588 | (gimplify_expr): Likewise for plus_expr. | |
10589 | ||
6313ae8b | 10590 | 2007-05-01 Zdenek Dvorak <dvorakz@suse.cz> |
10591 | ||
10592 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Use | |
10593 | bsi_after_labels. Always insert statements before bsi. | |
10594 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Ditto. | |
10595 | * predict.c (apply_return_prediction): Check for empty blocks. | |
10596 | * cfgexpand.c (lab_rtx_for_bb): New variable. | |
10597 | (label_rtx_for_bb): Do not create new tree labels. | |
10598 | (expand_gimple_basic_block): Add labels recorded in lab_rtx_for_bb. | |
10599 | (tree_expand_cfg): Initialize lab_rtx_for_bb. | |
10600 | * tree-cfg.c (build_tree_cfg): Call cleanup_dead_labels after | |
10601 | creating edges. | |
10602 | (label_for_bb): Add field used. | |
10603 | (update_eh_label, main_block_label): Mark the label used. | |
10604 | (cleanup_dead_labels): Remove unused labels. | |
10605 | ||
fbcece5e | 10606 | 2007-05-01 Richard Guenther <rguenther@suse.de> |
10607 | ||
10608 | * tree-vrp.c (set_value_range): Do not allocate equiv bitmap | |
10609 | if it is not about to be set. | |
10610 | (get_value_range): Do not pre-allocate equiv bitmap. | |
10611 | (update_value_range): No need to clear equiv field. | |
10612 | (add_equivalence): Change prototype to get bitmap pointer. | |
10613 | Allocate bitmap here if it is not already. | |
10614 | (extract_range_from_assert): Do not allocate bitmap here. | |
10615 | Update callers to add_equivalence. | |
10616 | (extract_range_from_ssa_name): Likewise. | |
10617 | (get_vr_for_comparison): New static helper. | |
10618 | (compare_name_with_value): Handle NULL equiv bitmap by | |
10619 | peeling the first iteration of the comparison loop. | |
10620 | Use get_vr_for_comparison. | |
10621 | (compare_names): Handle NULL equiv bitmaps by using fake | |
10622 | ones. Use get_vr_for_comparison. | |
10623 | ||
612a17fc | 10624 | 2007-04-30 Brooks Moses <brooks.moses@codesourcery.com> |
10625 | ||
10626 | * double-int.c (mpz_set_double_int): Moved from | |
10627 | tree-ssa-loop-niter.c. | |
10628 | (mpz_get_double_int): Likewise; also, add option to wrap | |
10629 | out-of-range integers. | |
10630 | * double-int.h: New prototypes for above. | |
10631 | * tree.c (get_static_type_bounds): Moved from | |
10632 | tree-ssa-loop-niter.c; now returns TYPE_MIN_VALUE and | |
10633 | TYPE_MAX_VALUE if they exist.. | |
10634 | * tree.h: New prototype for above. | |
10635 | * tree-ssa-loop-niter.c: Adjust mpz_to_double_int and | |
10636 | get_type_bounds calls. | |
10637 | (mpz_set_double_int): Move to double-int.c. | |
10638 | (get_type_bounds): Move to tree.c, rename to | |
10639 | get_static_type_bounds. | |
10640 | (mpz_to_double_int): Move to double-int.c, rename to | |
10641 | mpz_get_double_int. | |
10642 | ||
2751c7d4 | 10643 | 2007-04-30 Bob Wilson <bob.wilson@acm.org> |
10644 | ||
10645 | * config/xtensa/lib1funcs.asm (__umodsi3, __modsi3): Rearrange so that | |
10646 | DIV0 exception can fall through to a normal return. | |
29686c2c | 10647 | |
6084da09 | 10648 | 2007-04-30 Alexandre Oliva <aoliva@redhat.com> |
10649 | ||
10650 | PR middle-end/22156 | |
10651 | Temporarily revert: | |
10652 | 2007-04-06 Andreas Tobler <a.tobler@schweiz.org> | |
8aa4e142 | 10653 | * tree-sra.c (sra_build_elt_assignment): Initialize min/maxshift. |
6084da09 | 10654 | 2007-04-05 Alexandre Oliva <aoliva@redhat.com> |
10655 | * tree-sra.c (try_instantiate_multiple_fields): Needlessly | |
10656 | initialize align to silence bogus warning. | |
10657 | 2007-04-05 Alexandre Oliva <aoliva@redhat.com> | |
10658 | * tree-sra.c (struct sra_elt): Add in_bitfld_block. Remove | |
10659 | all_no_warning. | |
10660 | (struct sra_walk_fns): Remove use_all parameter from use. | |
10661 | (sra_hash_tree): Handle BIT_FIELD_REFs. | |
10662 | (sra_elt_hash): Don't hash bitfld blocks. | |
10663 | (sra_elt_eq): Skip them in parent compares as well. Handle | |
10664 | BIT_FIELD_REFs. | |
10665 | (sra_walk_expr): Don't maintain or pass down use_all_p. | |
10666 | (scan_use): Remove use_all parameter. | |
10667 | (scalarize_use): Likewise. Re-expand assignment to | |
10668 | BIT_FIELD_REF of gimple_reg. De-scalarize before input or | |
10669 | output, and re-scalarize after output. Don't mark anything | |
10670 | for no warning. | |
10671 | (scalarize_ldst): Adjust. | |
10672 | (scalarize_walk_gimple_modify_statement): Likewise. | |
10673 | (build_element_name_1): Handle BIT_FIELD_REFs. | |
10674 | (instantiate_element): Don't warn for any element whose parent | |
10675 | is used as a whole. | |
10676 | (instantiate_missing_elements_1): Return the sra_elt. | |
10677 | (canon_type_for_field): New. | |
10678 | (try_instantiate_multiple_fields): New. | |
10679 | (instantiate_missing_elemnts): Use them. | |
10680 | (mark_no_warning): Removed. | |
10681 | (generate_one_element_ref): Handle BIT_FIELD_REFs. | |
10682 | (REPLDUP, sra_build_elt_assignment): New. | |
10683 | (generate_copy_inout): Use them. | |
10684 | (generate_element_copy): Likewise. Handle bitfld differences. | |
10685 | (generate_element_zero): Don't recurse for blocks. Use | |
10686 | sra_build_elt_assignment. | |
10687 | (generate_one_element_int): Take elt instead of var. Use | |
10688 | sra_build_elt_assignment. | |
10689 | (generate_element_init_1): Adjust. | |
10690 | (scalarize_use, scalarize_copy): Use REPLDUP. | |
10691 | (scalarize_ldst): Move assert before dereference. | |
10692 | (dump_sra_elt_name): Handle BIT_FIELD_REFs. | |
10693 | ||
86369aa7 | 10694 | 2007-04-30 Andrew Pinski <andrew_pinski@playstation.sony.com> |
10695 | ||
10696 | PR C++/31721 | |
10697 | * tree.c (reconstruct_complex_type): Reconstruct a reference | |
10698 | correctly. | |
10699 | Also use the same mode for the pointer as the old pointer type. | |
10700 | ||
7c9d05f6 | 10701 | 2007-04-30 Francois-Xavier Coudert <coudert@clipper.ens.fr> |
10702 | ||
10703 | * doc/trouble.texi (Interoperation): Remove note about Ultrix | |
10704 | Fortran compiler. | |
10705 | ||
05268a5f | 10706 | 2007-04-29 Zdenek Dvorak <dvorakz@suse.cz> |
10707 | ||
6cef4d4f | 10708 | PR rtl-optimization/31676 |
05268a5f | 10709 | * df-scan.c (record_nonlocal_goto_receiver_defs): New function. |
10710 | (df_refs_record): Call it. | |
10711 | ||
a4317a50 | 10712 | 2007-04-29 Bernd Schmidt <bernd.schmidt@analog.com> |
10713 | ||
10714 | * rtl.def (SS_ABS): New code. | |
10715 | * config/bfin/bfin.c (print_operand): New modifier 'v'. | |
10716 | (enum bfin_builtins): Add BFIN_BUILTIN_SUM_2X16, BFIN_BUILTIN_ABS_1x32, | |
10717 | BFIN_BUILTIN_ROUND_1x32, BFIN_BUILTIN_MULT_1x32x32, | |
10718 | BFIN_BUILTIN_MULT_1x32x32NS, BFIN_BUILTIN_SSASHIFT_1x32. | |
10719 | (bfin_init_builtins): Define them. | |
10720 | (bdesc_1arg, bdesc_2arg): Add some of them here, ... | |
10721 | (bfin_expand_builtin): ... and handle the others here. | |
10722 | * config/bfin/bfin.md (ssabssi2, ssroundsi2, ssashiftsi3, | |
10723 | flag_mul_macv2hi_parts_acconly_andcc0): New patterns. | |
10724 | (ss_absv2hi2): Renamed from absv2hi; use ss_abs code. | |
10725 | (ssashiftv2hi3, ssashifthi3, lshiftv2hi3, lshifthi3): Shift count | |
10726 | operand is only HImode. | |
10727 | ||
8c96295a | 10728 | 2007-04-29 Steven Bosscher <steven@gcc.gnu.org> |
10729 | ||
10730 | * regclass.c (scan_one_insn): Remove splitting of | |
10731 | two address insns. | |
10732 | ||
5ee52cdb | 10733 | 2007-04-28 Sandra Loosemore <sandra@codesourcery.com> |
10734 | Nigel Stephens <nigel@mips.com> | |
10735 | ||
10736 | * config/mips/mips.h (SLOW_BYTE_ACCESS): Turn off for MIPS16. | |
10737 | ||
375c1c8a | 10738 | 2007-04-28 Jan Hubicka <jh@suse.cz> |
10739 | ||
10740 | * config/alpha/alpha.c (alpha_output_mi_thunk_osf): Use | |
10741 | insn_locators_alloc instead of insn_locators_initialize; | |
10742 | call reset_block_changes. | |
10743 | * config/sparc/sparc.c (sparc_output_mi_thunk): Likewise. | |
10744 | * config/sh/sh.c (sparc_output_mi_thunk): Likewise. | |
10745 | * config/is64/ia64.c (ia64_output_mi_thunk): Likewise. | |
10746 | * config/rs6000/rs6000.c (rs6000_output_mi_thunk): Likewise. | |
10747 | * config/score/score.c (th_output_mi_thunk): Likewise. | |
10748 | * config/mips/mips.c (mips_output_mi_thunk): Likewise. | |
10749 | * cfglyaout.c (set_curr_insn_source_location, set_curr_insn_block): | |
10750 | tolerate uninitialized locator info. | |
10751 | ||
10752 | Re-apply: | |
10753 | * function.c (init_function_start): Don't init line number info. | |
10754 | (expand_function_end): Update. | |
10755 | (reset_block_changes, record_block_change, finalize_block_changes, | |
10756 | check_block_change, free_block_changes): Kill. | |
10757 | * function.h (reset_block_changes, record_block_change, | |
ed69c853 | 10758 | finalize_block_changes, check_block_change, free_block_changes): |
10759 | Remove prototypes. | |
375c1c8a | 10760 | (struct function): Remove ib_boundaries_block. |
10761 | * emit-rtl.c (make_insn_raw, make_jump_insn_raw, make_call_insn_raw): | |
10762 | Use curr_insn_locator to initialize locator. | |
10763 | (emit_line_note): Remove. | |
10764 | * cfgexpand.c (expand_gimple_cond_expr): Update. | |
10765 | (construct_exit_block): Likewise. | |
10766 | (tree_expand_cfg): Initialize/finalize locators. | |
10767 | * expr.c (expand_expr_real): Update. | |
10768 | * cfglayout.c (line_locators_locs, line_locators_lines, | |
10769 | file_locators_locs, file_locators_files): Remove. | |
10770 | (set_block_levels): Move to cfgexpand.c. | |
10771 | (insn_locators_initialize): Remove. | |
10772 | (pass_insn_locators_initialize): Remove. | |
10773 | (locations_locators_locs, locations_locators_vals): New static vars. | |
10774 | (curr_location, last_location, curr_block, last_block, curr_rtl_loc): | |
10775 | Likewise. | |
10776 | (insn_locators_alloc, insn_locators_finalize, | |
10777 | set_curr_insn_source_location, set_curr_insn_block, curr_insn_locator): | |
10778 | New functions. | |
10779 | (locator_location): New. | |
10780 | (locator_line, locator_file): Rewrite. | |
10781 | * rtl.h (emit_line_note): Kill. | |
10782 | (insn_locators_alloc, insn_locators_finalize, | |
10783 | set_curr_insn_source_location, set_curr_insn_block, curr_insn_locator): | |
10784 | Declare. | |
10785 | * tree-inline.c (initialize_cfun): Do not initialize | |
10786 | ib_boundaries_block. | |
10787 | * passes.c (pass_insn_locators_initialize): Remove. | |
10788 | ||
e996e8f1 | 10789 | 2007-04-28 Zdenek Dvorak <dvorakz@suse.cz> |
10790 | ||
10791 | * tree-cfg.c (move_block_to_fn): Release bb from dominance | |
10792 | info. Update last_basic_block correctly. | |
10793 | ||
5e9db045 | 10794 | 2007-04-27 Kaz Kojima <kkojima@gcc.gnu.org> |
10795 | ||
10796 | PR target/31701 | |
10797 | * config/sh/sh.c (output_stack_adjust): Avoid using the frame | |
10798 | register itself to hold the offset constant. Tell flow the use | |
10799 | of r4 and r5 when they are used. | |
10800 | ||
d080be9e | 10801 | 2007-04-27 Richard Guenther <rguenther@suse.de> |
10802 | ||
10803 | * tree-ssa-forwprop.c (forward_propagate_into_cond): Keep track | |
10804 | if we simplified anything. | |
10805 | (tree_ssa_forward_propagate_single_use_vars): Defer overflow | |
10806 | warnings until we did a simplification and the stmt was not | |
10807 | marked as TREE_NO_WARNING. | |
10808 | ||
44dc7eda | 10809 | 2007-04-27 Mike Stump <mrs@apple.com> |
10810 | ||
10811 | * config/rs6000/darwin.h (ALWAYS_PUSH_CONSTS_USING_REGS_P): Remove. | |
10812 | ||
d2154397 | 10813 | 2007-04-27 Ian Lance Taylor <iant@google.com> |
10814 | ||
10815 | PR middle-end/31710 | |
10816 | * tree.c (build_distinct_type_copy): If TYPE_MIN_VALUE or | |
10817 | TYPE_MAX_VALUE exist, convert them to the new type. | |
10818 | ||
72e1a42b | 10819 | 2007-04-27 Zdenek Dvorak <dvorakz@suse.cz> |
10820 | ||
10821 | * tree-cfgcleanup.c (cleanup_tree_cfg): Verify dominance info | |
10822 | if it claims to be available. | |
10823 | * tree-ssa-dce.c (remove_dead_stmt): Mark cfg as altered when | |
10824 | edge is redirected. | |
10825 | (perform_tree_ssa_dce): Always free postdominators. | |
10826 | ||
0d96cd2b | 10827 | 2007-04-27 Richard Henderson <rth@redhat.com> |
10828 | ||
10829 | * config/alpha/predicates.md (aligned_memory_operand): Mark | |
10830 | as define_special_predicate. | |
10831 | (unaligned_memory_operand, normal_memory_operand): Likewise. | |
10832 | (reg_or_unaligned_mem_operand): Remove. | |
10833 | (any_memory_operand): Match the documentation and check for | |
10834 | non-renumbered pseudos during reload. | |
10835 | * config/alpha/alpha.c (alpha_secondary_reload): Rename from | |
10836 | alpha_secondary_reload_class, update to new interface, make static. | |
10837 | Handle CQImode like HImode. Remove FP subreg check. | |
10838 | (alpha_expand_mov): Use replace_equiv_address. | |
10839 | (alpha_expand_mov_nobwx): Use any_memory_operand. | |
10840 | (TARGET_SECONDARY_RELOAD): New. | |
10841 | * config/alpha/alpha.h (SECONDARY_INPUT_RELOAD_CLASS): Remove. | |
10842 | (SECONDARY_OUTPUT_RELOAD_CLASS): Remove. | |
10843 | * config/alpha/sync.md (I12MODE, I48MODE, modesuffix): Move ... | |
10844 | * config/alpha/alpha.md: ... here. | |
10845 | (RELOAD12, reloadmode): New. | |
10846 | (movcqi): New. | |
10847 | (reload_in<RELOAD12>): Macro-ize from reload_inqi, reload_inhi. | |
10848 | Don't handle the aligned case here. | |
10849 | (reload_out<RELOAD12>): Macro-ize from reload_outqi, reload_outhi. | |
10850 | (reload_in<I12MODE>_aligned): Macro-ize from reload_inqi_help, | |
10851 | reload_inhi_help. Don't expect a scratch register. | |
10852 | (reload_out<I12MODE>_aligned): Macro-ize from reload_outqi_help, | |
10853 | reload_outhi_help. | |
10854 | * config/alpha/alpha-protos.h (alpha_secondary_reload_class): Remove. | |
10855 | ||
83a20baf | 10856 | 2007-04-27 Richard Guenther <rguenther@suse.de> |
10857 | ||
10858 | * tree-ssa-forwprop.c (get_prop_dest_stmt): Fix comment typo. | |
10859 | ||
5adc1066 | 10860 | 2007-04-27 Richard Guenther <rguenther@suse.de> |
10861 | ||
10862 | PR tree-optimization/30965 | |
10863 | PR tree-optimization/30978 | |
10864 | * Makefile.in (tree-ssa-forwprop.o): Depend on $(FLAGS_H). | |
8aa4e142 | 10865 | * tree-ssa-forwprop.c (forward_propagate_into_cond_1): Remove. |
10866 | (find_equivalent_equality_comparison): Likewise. | |
10867 | (simplify_cond): Likewise. | |
10868 | (get_prop_source_stmt): New helper. | |
10869 | (get_prop_dest_stmt): Likewise. | |
5adc1066 | 10870 | (can_propagate_from): Likewise. |
10871 | (remove_prop_source_from_use): Likewise. | |
8aa4e142 | 10872 | (combine_cond_expr_cond): Likewise. |
10873 | (forward_propagate_comparison): New function. | |
10874 | (forward_propagate_into_cond): Rewrite to use fold for | |
10875 | tree combining. | |
5adc1066 | 10876 | (tree_ssa_forward_propagate_single_use_vars): Call |
10877 | forward_propagate_comparison to propagate comparisons. | |
10878 | ||
e71da05f | 10879 | 2007-04-27 Richard Guenther <rguenther@suse.de> |
10880 | ||
10881 | PR tree-optimization/31715 | |
10882 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Make | |
10883 | sure to do computation on the offset in an appropriate | |
10884 | signed type. | |
10885 | ||
eca883d1 | 10886 | 2007-04-27 Richard Sandiford <richard@codesourcery.com> |
10887 | ||
10888 | * reload.h (elimination_target_reg_p): Declare. | |
10889 | * reload.c (find_reloads): Don't apply the reg_rtx move | |
10890 | optimization if the SET_DEST satisfies elimination_target_reg_p. | |
10891 | * reload1.c (elimination_target_reg_p): New function. | |
10892 | (gen_reload): In the move/add2 fallback, make sure that op0 | |
10893 | does not overlap the destination register. | |
10894 | ||
63f88450 | 10895 | 2007-04-27 Zdenek Dvorak <dvorakz@suse.cz> |
10896 | ||
10897 | * tree-ssa-loop-im.c (determine_invariantness_stmt): Attempt to | |
10898 | transform only GIMPLE_MODIFY_STMTs. | |
10899 | * tree-complex.c (expand_complex_operations_1): Ditto. | |
10900 | (expand_complex_div_wide): Do not create gotos in COND_EXPR branches. | |
10901 | * tree-ssa-loop-manip.c (build_if_stmt): Removed. | |
10902 | (tree_transform_and_unroll_loop): Do not create gotos in COND_EXPR | |
10903 | branches. | |
10904 | * value-prof.c (tree_divmod_fixed_value, tree_mod_pow2, | |
10905 | tree_mod_subtract, tree_ic, tree_stringop_fixed_value): Ditto. | |
10906 | * omp-low.c (expand_parallel_call, expand_omp_for_generic, | |
10907 | expand_omp_for_static_chunk, expand_omp_for_static_nochunk): Ditto. | |
10908 | * tree-vectorizer.c (slpeel_make_loop_iterate_ntimes, | |
10909 | slpeel_add_loop_guard): Ditto. | |
10910 | * tree-mudflap.c (mf_build_check_statement_for): Ditto. | |
10911 | * lambda-code.c (perfect_nestify): Ditto. | |
10912 | * tree-iterator.c (tsi_split_statement_list_before): Fix splitting | |
10913 | before the first statement. | |
10914 | * tree-optimize.c (execute_free_datastructures): Fix comments. | |
10915 | (execute_free_cfg_annotations): Do not call disband_implicit_edges. | |
10916 | * tree-flow.h (disband_implicit_edges): Declaration removed. | |
10917 | * tree-cfg.c (make_cond_expr_edges): Remove gotos from COND_EXPR | |
10918 | branches. | |
ed69c853 | 10919 | (cleanup_dead_labels, tree_redirect_edge_and_branch): Handle |
10920 | COND_EXPRs without gotos. | |
63f88450 | 10921 | (disband_implicit_edges, has_label_p): Removed. |
10922 | (tree_verify_flow_info): Verify that COND_EXPR branches are empty. | |
10923 | (tree_lv_add_condition_to_bb): Do not create gotos in COND_EXPR | |
10924 | branches. | |
10925 | * tree.c (build3_stat): Mark COND_EXPRs used as statements as having | |
10926 | side effects. | |
10927 | * tree-pretty-print.c (dump_implicit_edges): Dump implicit edges | |
10928 | also for COND_EXPRs. | |
10929 | * cfgexpand.c (label_rtx_for_bb): New function. | |
10930 | (expand_gimple_cond_expr): Do not expect gotos in COND_EXPR branches. | |
10931 | Use label_rtx_for_bb to find the labels. | |
10932 | (expand_gimple_basic_block): Remove RETURN_EXPR at the end of the | |
10933 | last block. Detect fallthru edges. | |
10934 | ||
8d91a9b7 | 10935 | 2007-04-26 Ian Lance Taylor <iant@google.com> |
10936 | ||
10937 | PR target/28675 | |
10938 | * reload.c (find_reloads_subreg_address): If the address was valid | |
10939 | in the original mode but not in the new mode, reload the whole | |
10940 | address. | |
10941 | ||
31a8456e | 10942 | 2007-04-27 Zdenek Dvorak <dvorakz@suse.cz> |
10943 | ||
10944 | * tree-cfgcleanup.c (cfgcleanup_altered_bbs): New global variable. | |
10945 | (remove_fallthru_edge): Use remove_edge_and_dominated_blocks. | |
10946 | (cleanup_control_expr_graph): Do not invalidate dominance info. | |
10947 | Record altered blocks. | |
10948 | (cleanup_control_flow, cleanup_forwarder_blocks): Removed. | |
10949 | (cleanup_control_flow_bb, split_bbs_on_noreturn_calls, | |
10950 | cleanup_tree_cfg_bb): New functions. | |
10951 | (remove_forwarder_block): Do not maintain the worklist of blocks. | |
10952 | Record altered blocks. | |
10953 | (cleanup_tree_cfg_1): Iterate over cfgcleanup_altered_bbs, | |
10954 | not over whole cfg. | |
10955 | (cleanup_tree_cfg): Do not iterate cleanup_tree_cfg_1. Only call | |
10956 | delete_unreachable_blocks if dominators are not available. | |
10957 | * tree-inline.c (optimize_inline_calls): Free dominance information | |
10958 | earlier. | |
10959 | * tree-flow.h (remove_edge_and_dominated_blocks, | |
10960 | cfgcleanup_altered_bbs): Altered. | |
10961 | * tree-cfg.c (replace_uses_by, tree_merge_blocks): Record altered | |
10962 | blocks. | |
10963 | (get_all_dominated_blocks, remove_edge_and_dominated_blocks): New | |
10964 | functions. | |
10965 | (tree_purge_dead_eh_edges): Use remove_edge_and_dominated_blocks, | |
10966 | do not invalidate dominators. | |
10967 | ||
98dac559 | 10968 | 2007-04-26 Anatoly Sokolov <aesok@post.ru> |
10969 | ||
29686c2c | 10970 | * config/avr/avr.c (avr_mcu_types): Add support for ATmega8HVA and |
98dac559 | 10971 | ATmega16HVA devices. Move AT90USB82 device to 'avr5' architecture. |
10972 | * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.). | |
10973 | * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.). | |
10974 | ||
64b86428 | 10975 | 2007-04-26 Steve Ellcey <sje@cup.hp.com> |
10976 | ||
10977 | * config/ia64/ia64.md (ip_value): Fix itanium_class attribute. | |
10978 | ||
27dc0bdf | 10979 | 2007-04-26 Richard Guenther <rguenther@suse.de> |
10980 | ||
10981 | PR tree-optimization/31703 | |
10982 | * tree-ssa-loop-im.c (rewrite_bittest): Make sure to use | |
10983 | the right type for the target of the bittest. | |
10984 | ||
79387099 | 10985 | 2007-04-26 Richard Sandiford <richard@codesourcery.com> |
10986 | ||
10987 | * config/i386/vx-common.h (RETURN_IN_MEMORY): Use | |
10988 | ix86_sol10_return_in_memory. | |
10989 | ||
96f62210 | 10990 | 2007-04-26 Richard Sandiford <richard@codesourcery.com> |
10991 | ||
10992 | * config/i386/i386.c (ix86_sol10_return_in_memory): Remove unused | |
10993 | variables. | |
10994 | ||
42d78951 | 10995 | 2007-04-26 Jakub Jelinek <jakub@redhat.com> |
10996 | ||
abb3caf7 | 10997 | PR c++/31598 |
10998 | * tree-inline.c (copy_body_r): Don't touch TREE_TYPE of OMP_CLAUSE. | |
10999 | ||
42d78951 | 11000 | PR tree-optimization/30558 |
11001 | * tree-eh.c (lower_eh_filter): If EH_FILTER_MUST_NOT_THROW | |
11002 | clear this_state.prev_try. | |
11003 | ||
c19a839c | 11004 | 2007-04-26 Richard Sandiford <richard@codesourcery.com> |
11005 | Mark Mitchell <mark@codesourcery.com> | |
11006 | ||
11007 | * config/i386/i386-protos.h (ix86_sol10_return_in_memory): Declare. | |
11008 | * config/i386/i386.c (ix86_sol10_return_in_memory): New function. | |
11009 | * config/i386/sol2-10.h (RETURN_IN_MEMORY): Use it. | |
11010 | ||
ceac8e8c | 11011 | 2007-04-26 Richard Sandiford <richard@codesourcery.com> |
11012 | ||
11013 | PR driver/31107 | |
11014 | * doc/invoke.texi (%:print-asm-header): Document. | |
11015 | * gcc.c (asm_options): Use %:print-asm-header() for --target-help | |
11016 | and -ftarget-help. | |
11017 | (static_spec_functions): Add print-asm-header. | |
11018 | (main): Print a banner before the --target-help linker options. | |
11019 | (print_asm_header_spec_function): New function. | |
11020 | ||
e42839f4 | 11021 | 2007-04-25 Kaz Kojima <kkojima@gcc.gnu.org> |
11022 | ||
11023 | PR target/31403 | |
11024 | * config/sh/sh.md (movsi_ie): Fix length for TARGET_SH2A. | |
11025 | (movsf_ie): Likewise. | |
11026 | ||
0aa5d886 | 11027 | 2007-04-25 Paolo Carlini <pcarlini@suse.de> |
11028 | ||
11029 | * doc/extend.texi ([Type Traits]): Adjust per N2255. | |
11030 | ||
18505bd7 | 11031 | 2007-04-25 Bob Wilson <bob.wilson@acm.org> |
11032 | ||
ed69c853 | 11033 | * config/xtensa/lib1funcs.asm (__udivsi3, __divsi3): Throw an |
11034 | exception for divide-by-zero. | |
18505bd7 | 11035 | (__umodsi3, __modsi3): Likewise. |
11036 | ||
d6f138d6 | 11037 | 2007-04-25 Dirk Mueller <dmueller@suse.de> |
11038 | ||
11039 | * c-typeck.c (build_compound_expr): Annotate warning() | |
11040 | call with OPT_Wunused_value. | |
01b54db5 | 11041 | * tree-ssa.c (warn_uninit): Annotate warning with |
11042 | OPT_Wunintialized. | |
11043 | * c-common.c (handle_sentinel_attribute): Annotate warning | |
11044 | call with OPT_Wattributes. | |
d6f138d6 | 11045 | |
e6a71de3 | 11046 | 2007-04-25 Thiemo Seufer <ths@mips.com> |
11047 | ||
11048 | * config/mips/mips.opt (mdmx, mmt, mno-mdmx): New options. | |
11049 | (mips16): Fix typo. | |
11050 | * config/mips/mips.h (ASM_SPEC): Pass -mmt/-mno-mt and -mdmx/-mno-mdmx | |
11051 | on to the assembler. Improve handling of -mno-mips16. Add handling | |
11052 | of -mno-mips3d, -mno-dsp, -mno-dspr2. | |
11053 | * doc/invoke.texi (MIPS Options): Whitespace cleanup. Fix wrong use | |
11054 | of @itemx. Document -mno-dsp, -mno-dspr2, -mno-paired-single, -mdmx, | |
11055 | -mno-mdmx, -mno-mips3d, -mmt and -mno-mt. | |
11056 | ||
76042623 | 11057 | 2007-04-25 Danny Smith <dannysmith.users.sourceforge.net> |
11058 | ||
11059 | PR target/31680 | |
11060 | * config/i386/winnt.c (i386_pe_file_end): Strip only | |
11061 | USER_LABEL_PREFIX when writing export name. | |
11062 | ||
a9cfe83b | 11063 | 2007-04-25 Richard Sandiford <richard@codesourcery.com> |
11064 | ||
11065 | * config.gcc (sh-wrs-vxworks): Don't include dbxelf.h. Include | |
11066 | sh/elf.h, vx-common.h and vxworks.h. | |
11067 | * config/sh/sh.h: Include config/vxworks-dummy.h. | |
11068 | (SUBTARGET_OVERRIDE_OPTIONS): Define. | |
11069 | (OVERRIDE_OPTIONS): Use it. | |
11070 | * config/sh/sh.md (GOTaddr2picreg): Add suport for VxWorks RTPs. | |
11071 | (vxworks_picreg): New pattern. | |
11072 | * config/sh/vxworks.h (TARGET_OS_CPP_BUILTINS): Use | |
11073 | VXWORKS_OS_CPP_BUILTINS. | |
11074 | (LIB_SPEC, LINK_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Redefine | |
11075 | to their VXWORKS_* equivalents. | |
11076 | (SUBTARGET_OVERRIDE_OPTIONS, SUBTARGET_CPP_SPEC): Define. | |
11077 | (SUBTARGET_LINK_EMUL_SUFFIX, FUNCTION_PROFILER): Define. | |
11078 | * config/sh/lib1funcs.asm (NO_FPSCR_VALUES): Define for VxWorks PIC. | |
11079 | (set_fpscr, ic_invalidate): Add VxWorks PIC sequences. | |
11080 | * config/sh/t-vxworks (MULTILIB_OPTIONS): Add m4a, -mrtp and | |
11081 | -mrtp/-fPIC multilibs. | |
11082 | (MULTILIB_EXCEPTIONS): Generalize globs accordingly. | |
11083 | (MULTILIB_MATCHES, EXTRA_MULTILIB_PARTS): Define. | |
11084 | (MULTILIB_OSDIRNAMES): Delete. | |
11085 | ||
9384357b | 11086 | 2007-04-25 Anatoly Sokolov <aesok@post.ru> |
11087 | ||
11088 | PR target/18989 | |
11089 | * config/avr/avr.h (ASM_OUTPUT_ALIGN): Redefine. | |
11090 | ||
66fa16e6 | 11091 | 2007-04-24 Brooks Moses <brooks.moses@codesourcery.com> |
11092 | ||
11093 | * real.c (mpfr_from_real): Handle Inf and NaN, and allow the | |
11094 | rounding mode to be specified by the caller. | |
11095 | (real_to_mpfr) Likewise. | |
11096 | * real.h: Update mpfr_from_real, mpfr_to_real prototypes to | |
11097 | include new arguments. | |
11098 | * builtins.c: Update mpfr_from_real, mpfr_to_real calls. | |
11099 | ||
b700987e | 11100 | 2007-04-24 Ian Lance Taylor <iant@google.com> |
11101 | ||
11102 | PR tree-optimization/31605 | |
11103 | * tree-vrp.c (set_value_range): Check that min and max are not | |
11104 | both overflow infinities. | |
11105 | (set_value_range_to_value): New static function. | |
11106 | (extract_range_from_binary_expr): Call set_value_range_to_value. | |
11107 | (extract_range_from_cond_expr): Likewise. | |
11108 | (extract_range_from_expr): Likewise. | |
11109 | (extract_range_from_unary_expr): Likewise. Don't create a range | |
11110 | which overflows on both sides. | |
11111 | (vrp_meet): Check for a useless range. | |
11112 | (vrp_visit_phi_node): If we see a constant which looks like an | |
11113 | overflow infinity, turn off the TREE_OVERFLOW flag. | |
11114 | ||
e8a7b357 | 11115 | 2007-04-24 Ian Lance Taylor <iant@google.com> |
11116 | ||
11117 | * flow.c (elim_reg_cond): Handle a comparison of a subreg. | |
11118 | ||
b4c01899 | 11119 | 2007-04-24 Simon Martin <simartin@users.sourceforge.net> |
11120 | ||
11121 | PR diagnostic/25923 | |
11122 | * tree-pass.h (TDF_DIAGNOSTIC): New dump control to specify that a | |
11123 | diagnostic message is being built. | |
e8a7b357 | 11124 | * tree-pretty-print.c (dump_generic_node): Only write the |
11125 | formatted text into BUFFER's stream if we are not building a | |
11126 | diagnostic message. | |
b4c01899 | 11127 | * toplev.c (default_tree_printer): Pass TDF_DIAGNOSTIC to |
11128 | dump_generic_node. | |
11129 | * Makefile.in (toplev.o): Depend on tree-pass.h. | |
11130 | ||
c7addd8c | 11131 | 2007-04-24 Ian Lance Taylor <iant@google.com> |
11132 | ||
11133 | PR tree-optimization/31602 | |
11134 | * tree-ssa-loop-ch.c (copy_loop_headers): Set TREE_NO_WARNING for | |
11135 | conditionals in the copied loop header. | |
11136 | * tree-cfg.c (fold_cond_expr_cond): Don't issue undefined overflow | |
11137 | warnings if TREE_NO_WARNING is set. | |
11138 | * doc/invoke.texi (Warning Options): Clarify that | |
11139 | -Wstrict-overflow does not warn about loops. | |
11140 | ||
ae11fff9 | 11141 | 2007-04-24 Janis Johnson <janis187@us.ibm.com> |
11142 | ||
11143 | * config/rs6000/rs6000.c (function_arg_advance): For 32-bit ELF ABI, | |
11144 | expand on the comment about _Decimal128 arguments and check the | |
11145 | integer result of the modulus operation; for 64-bit ELF ABI, ensure | |
11146 | that _Decimal128 argument uses even/odd register pair. | |
11147 | (function_arg): Ditto. | |
11148 | ||
d9f9327b | 11149 | 2007-04-24 Hui-May Chang <hm.chang@apple.com> |
11150 | ||
11151 | * reload1.c (merge_assigned_reloads) : Do not merge a RELOAD_OTHER | |
11152 | instruction with a RELOAD_FOR_OPERAND_ADDRESS instruction. | |
11153 | ||
ee96af51 | 11154 | 2007-04-24 Richard Guenther <rguenther@suse.de> |
11155 | Olga Golovanevsky <olga@il.ibm.com> | |
11156 | ||
29686c2c | 11157 | * fold-const.c (multiple_of_p): Check for bottom |
11158 | to be zero. | |
ee96af51 | 11159 | |
d439f3ef | 11160 | 2007-04-24 Richard Henderson <rth@redhat.com> |
11161 | ||
29686c2c | 11162 | * libgcc2.h (AVOID_FP_TYPE_CONVERSION): Rename from |
d439f3ef | 11163 | IS_IBM_EXTENDED. Also define in terms of WIDEST_HARDWARE_FP_SIZE. |
11164 | * libgcc2.c (__floatdisf): Avoid double-word arithmetic when | |
11165 | looking for non-zero bits shifted out. Avoid a recursive call | |
11166 | when constructing the scalar. | |
11167 | (__floatundisf): Likewise. | |
11168 | ||
feb5f1b1 | 11169 | 2007-04-24 Nathan Froyd <froydnj@codesourcery.com> |
11170 | ||
11171 | * dwarf2out.c (field_byte_offset): Move the existing logic | |
11172 | under the control of PCC_BITFIELD_TYPE_MATTERS and just use | |
11173 | the bit offset of the field if !PCC_BITFIELD_TYPE_MATTERS. | |
11174 | ||
1ed6fd08 | 11175 | 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com> |
11176 | ||
11177 | PR target/31641 | |
ed69c853 | 11178 | * config/s390/s390.c (s390_expand_setmem): Don't ICE for constant |
11179 | length argument of 0 for memset. | |
1ed6fd08 | 11180 | (s390_expand_movmem, s390_expand_setmem, s390_expand_cmpmem): Use |
11181 | unsigned shift instead of the signed variant. | |
11182 | ||
095798e3 | 11183 | 2007-04-24 Andreas Krebbel <krebbel1@de.ibm.com> |
11184 | ||
11185 | * config/s390/s390.md ("*cmp<mode>_ccs_0_ibm", "*cmp<mode>_ccs_ibm", | |
11186 | "fix_trunc<BFP:mode><GPR:mode>2_ieee", "fix_truncdfsi2_ibm", | |
11187 | "floatsidf2_ibm", "floatsisf2", "truncdfsf2_ieee", "truncdfsf2_ibm", | |
11188 | "*trunctfdf2_ieee", "*trunctfdf2_ibm", "*trunctfsf2_ieee", | |
11189 | "*trunctfsf2_ibm", "extendsfdf2_ieee", "extendsfdf2_ibm", | |
11190 | "*extenddftf2_ieee", "*extenddftf2_ibm", "*extendsftf2_ieee", | |
11191 | "*extendsftf2_ibm", "*add<mode>3", "*add<mode>3_ibm", "*sub<mode>3_ibm", | |
11192 | "*mul<mode>3", "*mul<mode>3_ibm", "*div<mode>3", "*div<mode>3_ibm", | |
11193 | "*neg<mode>2_ibm", "*abs<mode>2_ibm"): Insn definitions removed. | |
11194 | ("fix_trunc<BFP:mode><GPR:mode>2_bfp", "floatsi<mode>2", | |
11195 | "truncdfsf2", "trunctf<mode>2", "add<mode>3", "sub<mode>3", | |
11196 | "mul<mode>3", "div<mode>3"): Insn definitions added. | |
11197 | ("fixuns_trunc<BFP:mode><GPR:mode>2", "fix_trunc<mode>di2", | |
11198 | "fix_trunc<mode>si2"): gen_fix_trunc<BFP:mode><GPR:mode>2_ieee renamed | |
11199 | to gen_fix_trunc<BFP:mode><GPR:mode>2_bfp. | |
11200 | ("fix_truncdfsi2", "floatsitf2", "truncdfsf2", "trunctfdf2", | |
11201 | "trunctfsf2", "extendsfdf2", "extenddftf2", "extendsftf2", "add<mode>3", | |
11202 | "sub<mode>3", "mul<mode>3", "div<mode>3"): Expander removed. | |
11203 | ("fix_trunc<mode>si2", "extend<DSF:mode><BFP:mode>2"): Expander added. | |
11204 | * config/s390/s390.h (TARGET_IBM_FLOAT, TARGET_IEEE_FLOAT, | |
11205 | TARGET_FLOAT_FORMAT): Macro definitions removed. | |
11206 | (FP_REGNO_P): No special case for !TARGET_IEEE_FLOAT anymore. | |
11207 | * config/s390/s390.c (struct processor_costs, z900_cost, z990_cost, | |
11208 | z9_109_cost): Remove fields for hexfloat instructions: dxr, ddr and der. | |
11209 | (s390_rtx_costs): Remove !TARGET_IEEE_FLOAT special branches. | |
11210 | (s390_gen_rtx_const_DI): Function removed. | |
11211 | * config/s390/s390-protos.h (s390_gen_rtx_const_DI): Prototype removed. | |
11212 | ||
02bf340a | 11213 | 2007-04-24 Richard Sandiford <richard@codesourcery.com> |
11214 | ||
11215 | * optabs.c (set_conv_libfunc): Prefer libgcc2's __ffsMM2 functions | |
11216 | over an external ffs function. | |
11217 | ||
7e564f73 | 11218 | 2007-04-24 Chao-ying Fu <fu@mips.com> |
11219 | Richard Sandiford <richard@nildram.co.uk> | |
11220 | ||
11221 | * doc/md.texi (madd@var{m}@var{n}4, umadd@var{m}@var{n}4): Document. | |
11222 | * optabs.h (OTI_smadd_widen, OTI_umadd_widen): New optab_indexes. | |
11223 | (smadd_widen_optab, umadd_widen_optab): Define. | |
11224 | * optabs.c (init_optabs): Initialize smadd_widen_optab and | |
11225 | umadd_widen_optab. | |
11226 | * genopinit.c (optabs): Fill in smadd_widen_optab and | |
11227 | umadd_widen_optab. | |
11228 | * expr.c (expand_expr_real_1): Try to use smadd_widen_optab | |
11229 | and umadd_widen_optab to implement multiply-add sequences. | |
11230 | * config/mips/mips.md (*<su>mul_acc_di): Rename to... | |
11231 | (<u>maddsidi4): ...this. Extend condition to include | |
11232 | GENERATE_MADD_MSUB and TARGET_DSPR2. Change the constraint | |
11233 | of operand 0 to "ka" and use the three-operand form of madd<u> | |
11234 | for TARGET_DSPR2. | |
11235 | * config/mips/mips-dspr2.md (mips_madd, mips_maddu): Convert | |
11236 | to define_expands. | |
11237 | * config/mips/constraints.md (ka): New register constraint. | |
11238 | ||
32201e9a | 11239 | 2007-04-24 Jan Hubicka <j@suse.cz> |
11240 | ||
11241 | Revert: | |
11242 | ||
11243 | 2007-04-23 Jan Hubicka <jh@suse.cz> | |
11244 | * function.c (init_function_start): Don't init line number info. | |
11245 | (expand_function_end): Update. | |
11246 | (reset_block_changes, record_block_change, finalize_block_changes, | |
11247 | check_block_change, free_block_changes): Kill. | |
11248 | * function.h (reset_block_changes, record_block_change, | |
ed69c853 | 11249 | finalize_block_changes, check_block_change, free_block_changes): |
11250 | Remove prototypes. | |
32201e9a | 11251 | (struct function): Remove ib_boundaries_block. |
11252 | * emit-rtl.c (make_insn_raw, make_jump_insn_raw, make_call_insn_raw): | |
11253 | Use curr_insn_locator to initialize locator. | |
11254 | (emit_line_note): Remove. | |
11255 | * cfgexpand.c (expand_gimple_cond_expr): Update. | |
11256 | (construct_exit_block): Likewise. | |
11257 | (tree_expand_cfg): Initialize/finalize locators. | |
11258 | * expr.c (expand_expr_real): Update. | |
11259 | * cfglayout.c (line_locators_locs, line_locators_lines, | |
11260 | file_locators_locs, file_locators_files): Remove. | |
11261 | (set_block_levels): Move to cfgexpand.c. | |
11262 | (insn_locators_initialize): Remove. | |
11263 | (pass_insn_locators_initialize): Remove. | |
11264 | (locations_locators_locs, locations_locators_vals): New static vars. | |
11265 | (curr_location, last_location, curr_block, last_block, curr_rtl_loc): | |
11266 | Likewise. | |
11267 | (insn_locators_alloc, insn_locators_finalize, | |
11268 | set_curr_insn_source_location, set_curr_insn_block, curr_insn_locator): | |
11269 | New functions. | |
11270 | (locator_location): New. | |
11271 | (locator_line, locator_file): Rewrite. | |
11272 | * rtl.h (emit_line_note): Kill. | |
11273 | (insn_locators_alloc, insn_locators_finalize, | |
11274 | set_curr_insn_source_location, set_curr_insn_block, curr_insn_locator): | |
11275 | Declare. | |
11276 | * tree-inline.c (initialize_cfun): Do not initialize | |
11277 | ib_boundaries_block. | |
11278 | * passes.c (pass_insn_locators_initialize): Remove. | |
11279 | ||
8c4b1b28 | 11280 | 2007-04-24 Daniel Franke <franke.daniel@gmail.com> |
11281 | ||
11282 | * doc/invoke.texi: Removed leading '-' from option index entries. | |
11283 | ||
c23dad79 | 11284 | 2007-04-23 Zdenek Dvorak <dvorakz@suse.cz> |
11285 | ||
11286 | * tree-phinodes.c (reserve_phi_args_for_new_edge, remove_phi_node): | |
11287 | Use phi_nodes_ptr. | |
11288 | (create_phi_node): Use set_phi_nodes. | |
11289 | * omp-low.c (expand_omp_parallel): Use bb_stmt_list. | |
11290 | * tree-if-conv.c (process_phi_nodes): Use set_phi_nodes. | |
11291 | (combine_blocks): Use bb_stmt_list and set_bb_stmt_list. | |
11292 | * tree-flow-inline.h (phi_nodes, set_phi_nodes, | |
11293 | (bsi_start, bsi_last): Use bb_stmt_list. | |
11294 | (phi_nodes_ptr, bb_stmt_list, set_bb_stmt_list): New functions. | |
11295 | * cfgexpand.c (expand_gimple_basic_block): Use bb_stmt_list. | |
11296 | Traverse the statements using tsi iterator. | |
11297 | * basic-block.h (struct basic_block_def): Fields stmt_list | |
11298 | and phi_nodes moved to ... | |
11299 | (struct tree_bb_info): ... new structure. | |
11300 | * tree-cfg.c (create_bb): Allocate il.tree. Use set_bb_stmt_list. | |
11301 | (tree_merge_blocks): Use bb_stmt_list and set_bb_stmt_list. | |
11302 | (remove_bb): Handle blocks with NULL stmt list. Clear il.tree field. | |
11303 | (tree_verify_flow_info): Verify that il.tree is not set for | |
11304 | entry and exit block. | |
11305 | (tree_split_block): Use set_bb_stmt_list. | |
11306 | ||
401ed9a8 | 11307 | 2007-04-23 Mike Stump <mrs@apple.com> |
11308 | ||
11309 | * config/i386/i386.c (ix86_tune_features | |
11310 | [X86_TUNE_DEEP_BRANCH_PREDICTION]: Prefer call over thunks on | |
11311 | nocona and core2. | |
11312 | ||
1f346cbc | 11313 | 2007-04-23 H.J. Lu <hongjiu.lu@intel.com> |
11314 | ||
11315 | * config/i386/i386.md (prefix_extra): New attribute. | |
11316 | (length): Add prefix_extra. | |
11317 | ||
11318 | * onfig/i386/sse.md (sse2_movdqu): Set prefix_data16. | |
11319 | (sse2_movntv2di): Likewise. | |
11320 | (sse2_cvtps2dq): Likewise. | |
11321 | (sse2_cvtpd2pi): Likewise. | |
11322 | (sse2_cvttpd2pi): Likewise. | |
11323 | (*sse2_cvtpd2ps): Likewise. | |
11324 | (*add<mode>3): Likewise. | |
11325 | (sse2_ssadd<mode>3): Likewise. | |
11326 | (sse2_usadd<mode>3): Likewise. | |
11327 | (*sub<mode>3): Likewise. | |
11328 | (sse2_sssub<mode>3): Likewise. | |
11329 | (sse2_ussub<mode>3): Likewise. | |
11330 | (*mulv8hi3): Likewise. | |
11331 | (*smulv8hi3_highpart): Likewise. | |
11332 | (*umulv8hi3_highpart): Likewise. | |
11333 | (sse2_umulv2siv2di3): Likewise. | |
11334 | (sse2_pmaddwd): Likewise. | |
11335 | (ashr<mode>3): Likewise. | |
11336 | (lshr<mode>3): Likewise. | |
11337 | (ashl<mode>3): Likewise. | |
11338 | (sse2_ashlti3): Likewise. | |
11339 | (sse2_lshrti3): Likewise. | |
11340 | (*umaxv16qi3): Likewise. | |
11341 | (*smaxv8hi3): Likewise. | |
11342 | (*uminv16qi3): Likewise. | |
11343 | (*sminv8hi3): Likewise. | |
11344 | (sse2_eq<mode>3): Likewise. | |
11345 | (sse2_gt<mode>3): Likewise. | |
11346 | (*and<mode>3): Likewise. | |
11347 | (sse2_nand<mode>3): Likewise. | |
11348 | (*ior<mode>3): Likewise. | |
11349 | (*xor<mode>3): Likewise. | |
11350 | (sse2_packsswb): Likewise. | |
11351 | (sse2_packssdw): Likewise. | |
11352 | (sse2_packuswb): Likewise. | |
11353 | (sse2_punpckhbw): Likewise. | |
11354 | (sse2_punpcklbw): Likewise. | |
11355 | (sse2_punpckhwd): Likewise. | |
11356 | (sse2_punpcklwd): Likewise. | |
11357 | (sse2_punpckhdq): Likewise. | |
11358 | (sse2_punpckldq): Likewise. | |
11359 | (sse2_punpckhqdq): Likewise. | |
11360 | (sse2_punpcklqdq): Likewise. | |
11361 | (*sse2_pinsrw): Likewise. | |
11362 | (*sse2_pextrw): Likewise. | |
11363 | (sse2_pshufd_1): Likewise. | |
11364 | (sse2_uavgv16qi3): Likewise. | |
11365 | (sse2_uavgv8hi3): Likewise. | |
11366 | (sse2_psadbw): Likewise. | |
11367 | (sse2_pmovmskb): Likewise. | |
11368 | (*sse2_maskmovdqu): Likewise. | |
11369 | (*sse2_maskmovdqu_rex64): Likewise. | |
11370 | (sse4a_extrqi): Likewise. | |
11371 | (sse4a_extrq): Likewise. | |
11372 | (sse3_lddqu): Set prefix_rep. | |
11373 | (sse3_addsubv4sf3): Likewise. | |
11374 | (sse3_haddv4sf3): Likewise. | |
11375 | (sse3_hsubv4sf3): Likewise. | |
11376 | (sse_cvtss2si): Likewise. | |
11377 | (sse_cvtss2si_2): Likewise. | |
11378 | (sse_cvtss2siq): Likewise. | |
11379 | (sse_cvtss2siq_2): Likewise. | |
11380 | (sse_cvttss2si): Likewise. | |
11381 | (sse_cvttss2siq): Likewise. | |
11382 | (sse2_cvttps2dq): Likewise. | |
11383 | (sse3_movshdup): Likewise. | |
11384 | (sse3_movsldup): Likewise. | |
11385 | (sse2_cvtsd2si): Likewise. | |
11386 | (sse2_cvtsd2si_2): Likewise. | |
11387 | (sse2_cvtsd2siq): Likewise. | |
11388 | (sse2_cvtsd2siq_2): Likewise. | |
11389 | (sse2_cvttsd2si): Likewise. | |
11390 | (sse2_cvttsd2siq): Likewise. | |
11391 | (*sse2_cvtpd2dq): Likewise. | |
11392 | (*sse2_cvttpd2dq): Likewise. | |
11393 | (sse2_pshuflw_1): Likewise. | |
11394 | (sse2_pshufhw_1): Likewise. | |
11395 | (sse4a_insertqi): Likewise. | |
11396 | (sse4a_insertq): Likewise. | |
11397 | (ssse3_phaddwv8hi3): Set prefix_data16 and prefix_extra. | |
11398 | (ssse3_phadddv4si3): Likewise. | |
11399 | (ssse3_phaddswv8hi3): Likewise. | |
11400 | (ssse3_phsubwv8hi3): Likewise. | |
11401 | (ssse3_phsubdv4si3): Likewise. | |
11402 | (ssse3_phsubswv8hi3): Likewise. | |
11403 | (ssse3_pmaddubswv8hi3): Likewise. | |
11404 | (ssse3_pmulhrswv8hi3): Likewise. | |
11405 | (ssse3_pshufbv16qi3): Likewise. | |
11406 | (ssse3_psign<mode>3): Likewise. | |
11407 | (ssse3_palignrti): Likewise. | |
11408 | (abs<mode>2): Likewise. | |
11409 | (ssse3_phaddwv4hi3): Set prefix_extra. | |
11410 | (ssse3_phadddv2si3): Likewise. | |
11411 | (ssse3_phaddswv4hi3): Likewise. | |
11412 | (ssse3_phsubwv4hi3): Likewise. | |
11413 | (ssse3_phsubdv2si3): Likewise. | |
11414 | (ssse3_phsubswv4hi3): Likewise. | |
11415 | (ssse3_pmaddubswv4hi3): Likewise. | |
11416 | (ssse3_pmulhrswv4hi3): Likewise. | |
11417 | (ssse3_pshufbv8qi3): Likewise. | |
11418 | (ssse3_psign<mode>3): Likewise. | |
11419 | (ssse3_palignrdi): Likewise. | |
11420 | (abs<mode>2): Likewise. | |
11421 | (sse2_cvtdq2ps): Set mode to V4SF instead of V2DF. | |
11422 | (*vec_dupv2df): Set mode to V2DF instead of V4SF. | |
11423 | (sse2_pmovmskb): Set mode to SI instead of V2DF. | |
11424 | ||
8747a9a4 | 11425 | 2007-04-23 Nick Clifton <nickc@redhat.com> |
11426 | ||
11427 | * params.def: Fix formatting of emacs local variables. | |
11428 | ||
238270c6 | 11429 | 2007-04-23 H.J. Lu <hongjiu.lu@intel.com> |
11430 | ||
11431 | * config/i386/sse.md (sse2_stored): Don't split to inter-unit | |
11432 | move if inter-unit move isn't allowed. | |
11433 | Don't split moving the first element of V2DI to DI to inter-unit | |
11434 | move if inter-unit move isn't allowed. | |
11435 | ||
f1456a87 | 11436 | 2007-04-23 Richard Guenther <rguenther@suse.de> |
11437 | ||
11438 | * tree-ssa-sink.c (execute_sink_code): Calculate CDI_DOMINATORS | |
11439 | and CDI_POST_DOMINATORS separately. | |
11440 | ||
0e457001 | 11441 | 2007-04-23 Nick Clifton <nickc@redhat.com> |
11442 | ||
11443 | * c.opt (Wformat-contains-nul): Add warning attribute. | |
11444 | ||
6a06c824 | 11445 | 2007-04-23 Jan Hubicka <jh@suse.cz> |
11446 | ||
11447 | * function.c (init_function_start): Don't init line number info. | |
11448 | (expand_function_end): Update. | |
11449 | (reset_block_changes, record_block_change, finalize_block_changes, | |
11450 | check_block_change, free_block_changes): Kill. | |
11451 | * function.h (reset_block_changes, record_block_change, | |
ed69c853 | 11452 | finalize_block_changes, check_block_change, free_block_changes): |
11453 | Remove prototypes. | |
6a06c824 | 11454 | (struct function): Remove ib_boundaries_block. |
11455 | * emit-rtl.c (make_insn_raw, make_jump_insn_raw, make_call_insn_raw): | |
11456 | Use curr_insn_locator to initialize locator. | |
11457 | (emit_line_note): Remove. | |
11458 | * cfgexpand.c (expand_gimple_cond_expr): Update. | |
11459 | (construct_exit_block): Likewise. | |
11460 | (tree_expand_cfg): Initialize/finalize locators. | |
11461 | * expr.c (expand_expr_real): Update. | |
11462 | * cfglayout.c (line_locators_locs, line_locators_lines, | |
11463 | file_locators_locs, file_locators_files): Remove. | |
11464 | (set_block_levels): Move to cfgexpand.c. | |
11465 | (insn_locators_initialize): Remove. | |
11466 | (pass_insn_locators_initialize): Remove. | |
11467 | (locations_locators_locs, locations_locators_vals): New static vars. | |
11468 | (curr_location, last_location, curr_block, last_block, curr_rtl_loc): | |
11469 | Likewise. | |
11470 | (insn_locators_alloc, insn_locators_finalize, | |
11471 | set_curr_insn_source_location, set_curr_insn_block, curr_insn_locator): | |
11472 | New functions. | |
11473 | (locator_location): New. | |
11474 | (locator_line, locator_file): Rewrite. | |
11475 | * rtl.h (emit_line_note): Kill. | |
11476 | (insn_locators_alloc, insn_locators_finalize, | |
11477 | set_curr_insn_source_location, set_curr_insn_block, curr_insn_locator): | |
11478 | Declare. | |
11479 | * tree-inline.c (initialize_cfun): Do not initialize | |
11480 | ib_boundaries_block. | |
11481 | * passes.c (pass_insn_locators_initialize): Remove. | |
11482 | ||
32e79ae6 | 11483 | 2007-04-22 Andrew Pinski <andrew_pinski@playstation.sony.com> |
11484 | ||
11485 | PR middle-end/31448 | |
11486 | * expr.c (reduce_to_bit_field_precision): Handle | |
11487 | CONST_INT rtx's. | |
11488 | ||
bb8107e7 | 11489 | 2007-04-22 Uros Bizjak <ubizjak@gmail.com> |
11490 | ||
11491 | PR tree-optimization/24659 | |
11492 | * optabs.h (enum optab_index) [OTI_vec_unpacks_hi, | |
11493 | OTI_vec_unpacks_lo]: Update comment to mention floating point operands. | |
11494 | (vec_pack_trunc_optab): Rename from vec_pack_mod_optab. | |
11495 | * genopinit.c (optabs): Rename vec_pack_mod_optab | |
11496 | to vec_pack_trunc_optab. | |
11497 | * tree-vect-transform.c (vectorizable_type_demotion): Do not fail | |
11498 | early for scalar floating point operands for NOP_EXPR. | |
11499 | (vectorizable_type_promotion): Ditto. | |
11500 | * optabs.c (optab_for_tree_code) [VEC_PACK_TRUNC_EXPR]: Return | |
11501 | vec_pack_trunc_optab. | |
11502 | (expand_binop): Rename vec_float_trunc_optab to vec_pack_mod_optab. | |
11503 | ||
11504 | * tree.def (VEC_PACK_TRUNC_EXPR): Rename from VEC_PACK_MOD_EXPR. | |
11505 | * tree-pretty-print.c (dump_generic_node) [VEC_PACK_TRUNC_EXPR]: | |
11506 | Rename from VEC_PACK_MOD_EXPR. | |
11507 | (op_prio) [VEC_PACK_TRUNC_EXPR]: Ditto. | |
11508 | * expr.c (expand_expr_real_1): Ditto. | |
11509 | * tree-inline.c (estimate_num_insns_1): Ditto. | |
11510 | * tree-vect-generic.c (expand_vector_operations_1): Ditto. | |
11511 | ||
11512 | * config/i386/sse.md (vec_unpacks_hi_v4sf): New expander. | |
11513 | (vec_unpacks_lo_v4sf): Ditto. | |
11514 | (vec_pack_trunc_v2df): Ditto. | |
11515 | (vec_pack_trunc_v8hi): Rename from vec_pack_mod_v8hi. | |
11516 | (vec_pack_trunc_v4si): Rename from vec_pack_mod_v4si. | |
11517 | (vec_pack_trunc_v2di): Rename from vec_pack_mod_v2di. | |
11518 | ||
11519 | * config/rs6000/altivec.md (vec_pack_trunc_v8hi): Rename from | |
11520 | vec_pack_mod_v8hi. | |
11521 | (vec_pack_trunc_v4si): Rename from vec_pack_mod_v4si. | |
11522 | ||
11523 | * doc/c-tree.texi (Expression trees) [VEC_PACK_TRUNC_EXPR]: | |
11524 | Rename from VEC_PACK_MOD_EXPR. This expression also represent | |
11525 | packing of floating point operands. | |
11526 | [VEC_UNPACK_HI_EXPR, VEC_UNPACK_LO_EXPR]: These expression also | |
11527 | represent unpacking of floating point operands. | |
11528 | * doc/md.texi (Standard Names) [vec_pack_trunc]: Update documentation. | |
11529 | [vec_unpacks_hi]: Ditto. | |
11530 | [vec_unpacks_lo]: Ditto. | |
11531 | ||
64c2e9b0 | 11532 | 2007-04-22 Jan Hubicka <jh@suse.cz> |
11533 | ||
11534 | * final.c (rest_of_handle_final): Call | |
11535 | targetm.asm_out.constructor/targetm.asm_out.destructor | |
11536 | * cgraphunit.c (cgraph_build_static_cdtor): Don't do it here; set | |
11537 | proper priority via decl_*_priority_insert. | |
11538 | * c-common.c (c_expand_body): Likewise. | |
11539 | ||
790963ba | 11540 | 2007-04-22 Richard Guenther <rguenther@suse.de> |
11541 | ||
11542 | PR tree-optimization/29789 | |
11543 | * tree-ssa-loop-im.c (stmt_cost): Adjust cost of shifts. | |
11544 | (rewrite_reciprocal): New helper split out from | |
11545 | determine_invariantness_stmt. | |
11546 | (rewrite_bittest): Likewise. | |
11547 | (determine_invariantness_stmt): Rewrite (A >> B) & 1 to | |
11548 | A & (1 << B) if (1 << B) is loop invariant but (A >> B) | |
11549 | is not. | |
11550 | ||
0def560a | 11551 | 2007-04-22 Revital Eres <eres@il.ibm.com> |
11552 | ||
b42bbd03 | 11553 | * loop-unroll.c (var_to_expand): New field to support also |
11554 | insns of the form x = something + x. | |
11555 | (analyze_insn_to_expand_var): Use it. | |
11556 | (expand_var_during_unrolling): Likewise. | |
0def560a | 11557 | |
b3723726 | 11558 | 2007-04-21 Zdenek Dvorak <dvorakz@suse.cz> |
11559 | ||
11560 | * predict.c: Include pointer-set.h. | |
11561 | (bb_predictions): New variable. | |
11562 | (tree_predicted_by_p, tree_predict_edge, | |
11563 | remove_predictions_associated_with_edge): Use bb_predictions map | |
11564 | instead of bb->predictions. | |
11565 | (clear_bb_predictions, assert_is_empty): New functions. | |
11566 | (combine_predictions_for_bb): Use bb_predictions map. Call | |
11567 | clear_bb_predictions. | |
11568 | (tree_estimate_probability): Create and free bb_predictions map. | |
11569 | * Makefile.in (predict.o): Add pointer-set.h dependency. | |
11570 | * basic-block.h (struct basic_block_def): Remove predictions | |
11571 | field. | |
11572 | * cfgrtl.c (rtl_verify_flow_info_1): Do not check bb->predictions. | |
11573 | ||
ec49ea0b | 11574 | 2007-04-21 Kaz Kojima <kkojima@gcc.gnu.org> |
11575 | ||
11576 | PR target/31480 | |
11577 | * config/sh/sh.md (length): Check if prev_nonnote_insn (insn) | |
11578 | is null. | |
11579 | ||
f7b38b18 | 11580 | 2007-04-21 Andrew Pinski <andrew_pinski@playstation.sony.com> |
11581 | ||
11582 | * timevar.c (timevar_print): Change reference of --disable-checking to | |
11583 | --enable-checking=release. Also warn if assert checking is disabled. | |
11584 | ||
cae486e2 | 11585 | 2007-04-21 Andrew Pinski <andrew_pinski@playstation.sony.com> |
11586 | ||
11587 | PR C/30265 | |
11588 | * c-gimplifier.c (gimplify_compound_literal_expr): Mark the | |
11589 | decl as addressable if the compound literal was marked as | |
11590 | addressable. | |
11591 | Mark the decl as a gimple register if it is a complex or | |
11592 | vector decl and does not live in memory. | |
11593 | ||
98d4f925 | 11594 | 2007-04-21 Andrew Pinski <andrew_pinski@playstation.sony.com> |
11595 | ||
11596 | * tree.h (GIMPLE_TUPLE_P): Also true for PHI_NODEs. | |
11597 | (GENERIC_NEXT): New function macro. | |
11598 | (PHI_CHAIN): Use phi_node's new chain variable. | |
11599 | (tree_phi_node): Change tree_common to tree_base | |
11600 | and add the chain field. | |
11601 | * tree-phinodes.c (make_phi_node): Don't set | |
11602 | TREE_TYPE on the new node. | |
11603 | * c-decl.c (lang_tree_node): Use GENERIC_NEXT | |
11604 | instead of checking GIMPLE_TUPLE_P in chain_next. | |
11605 | * tree-vect-transform.c | |
11606 | (get_initial_def_for_induction): Look at | |
11607 | PHI_RESULT_TREE for the type of the phi node. | |
11608 | (update_vuses_to_preheader): Use PHI_CHAIN | |
11609 | instead of TREE_CHAIN on the phi node. | |
11610 | * tree-ssa-structalias.c (compute_points_to_sets): | |
11611 | Likewise. | |
11612 | (ipa_pta_execute): Likewise. | |
11613 | ||
7a6537b3 | 11614 | 2007-04-21 Richard Guenther <rguenther@suse.de> |
11615 | ||
11616 | PR middle-end/31136 | |
11617 | * fold-const.c (fold_unary): Call fold_convert_const on the | |
11618 | original tree. | |
11619 | ||
7413a5e0 | 11620 | 2007-04-21 Alexandre Oliva <aoliva@redhat.com> |
11621 | ||
11622 | * gcse.c (store_killed_in_insn): Handle PARALLELs. | |
11623 | (store_killed_in_pat): New. | |
11624 | ||
e865d428 | 11625 | 2007-04-20 Richard Henderson <rth@redhat.com> |
11626 | ||
11627 | PR target/31628 | |
11628 | * config/i386/i386.c (type_has_variadic_args_p): Look for any | |
11629 | TREE_LIST with a void_type_node value, not void_list_node exactly. | |
11630 | ||
a7d782cd | 11631 | 2007-04-21 Douglas Gregor <doug.gregor@gmail.com> |
11632 | ||
11633 | * doc/standards.texi: Re-arrange into language-specific | |
11634 | subsections. Add a C++ section, documenting which standards we | |
11635 | support. | |
11636 | ||
cf95b243 | 11637 | 2007-04-21 Zdenek Dvorak <dvorakz@suse.cz> |
11638 | ||
11639 | * tree-ssa-structalias.c (delete_points_to_sets): Free graph->complex. | |
11640 | * tree-ssa-operands.c (finalize_ssa_vuse_ops): Free new_ops. | |
11641 | ||
1177f497 | 11642 | 2007-04-20 Daniel Jacobowitz <dan@codesourcery.com> |
11643 | ||
11644 | * config/rs6000/sysv4.h (STARTFILE_DEFAULT_SPEC): Include | |
11645 | ecrti.o and crtbegin.o. | |
11646 | (LIB_DEFAULT_SPEC): Include -lc. | |
11647 | (ENDFILE_DEFAULT_SPEC): Include crtend.o and ecrtn.o. | |
11648 | ||
0934d969 | 11649 | 2007-04-20 Richard Henderson <rth@redhat.com> |
11650 | ||
11651 | PR target/28623 | |
11652 | * config/alpha/alpha.c (get_unaligned_address): Remove extra_offset | |
11653 | argument; update all callers. | |
11654 | (get_unaligned_offset): New. | |
11655 | * config/alpha/alpha.md (extendqidi2, extendhidi2): Don't use | |
11656 | get_unaligned_address, just pass on the address directly. | |
11657 | (unaligned_extendqidi): Use gen_lowpart instead of open-coding | |
11658 | the subreg in the helper patterns. | |
11659 | (unaligned_extendqidi_le): Use get_unaligned_offset. | |
11660 | (unaligned_extendqidi_be, unaligned_extendhidi_le): Likewise. | |
11661 | (unaligned_extendhidi_be): Likewise. | |
11662 | (unaligned_extendhidi): Tidy. | |
11663 | * config/alpha/alpha-protos.h: Update. | |
11664 | ||
a2a5e014 | 11665 | 2007-04-20 Richard Henderson <rth@redhat.com> |
11666 | ||
11667 | * config/alpha/alpha.h (CPP_SPEC, CPP_SUBTARGET_SPEC): Remove. | |
11668 | (EXTRA_SPECS, SUBTARGET_EXTRA_SPECS): Remove. | |
11669 | * config/alpha/linux.h (CPP_SPEC): Undef before redefine. | |
11670 | * config/alpha/linux-elf.h (EXTRA_SPECS): Rename SUBTARGET_EXTRA_SPECS. | |
11671 | * config/alpha/freebsd.h (EXTRA_SPECS): Rename SUBTARGET_EXTRA_SPECS. | |
11672 | (CPP_SPEC): Don't include %(cpp_subtarget). | |
11673 | * config/alpha/netbsd.h (CPP_SPEC): Rename CPP_SUBTARGET_SPEC. | |
11674 | (EXTRA_SPECS): Rename SUBTARGET_EXTRA_SPECS. | |
11675 | * config/alpha/osf.h (CPP_SPEC, EXTRA_SPECS): Similarly. | |
11676 | ||
ddb8b0be | 11677 | 2007-04-20 Jakub Jelinek <jakub@redhat.com> |
11678 | ||
553633cf | 11679 | * config/i386/i386.c (bdesc_2arg): Use ORDERED rather than UNORDERED |
11680 | for __builtin_ia32_cmpordss. | |
11681 | ||
ddb8b0be | 11682 | PR tree-optimization/31632 |
11683 | * fold-const.c (fold_binary): Use op0 and op1 instead of arg0 | |
11684 | and arg1 for optimizations of comparison against min/max values. | |
11685 | Fold arg0 to arg1's type for optimizations of comparison against | |
11686 | min+1 and max-1 values. | |
11687 | ||
efb8c784 | 11688 | 2007-04-19 Bernd Schmidt <bernd.schmidt@analog.com> |
11689 | ||
11690 | * reload.c (combine_reloads): When trying to use a dying register, | |
11691 | check whether it's uninitialized and don't use if so. | |
11692 | ||
bd56c1f7 | 11693 | 2007-04-19 Brooks Moses <brooks.moses@codesourcery.com> |
11694 | ||
11695 | * fold-const.c: Remove prototypes for native_encode_expr and | |
11696 | native_interpret_expr. | |
11697 | (native_encode_expr): Make non-static. | |
11698 | (native_interpret_expr): Likewise. | |
11699 | * tree.h: Add prototypes for the above. | |
11700 | ||
4758e73d | 11701 | 2007-04-19 Joseph Myers <joseph@codesourcery.com> |
11702 | ||
4758e73d | 11703 | * config/rs6000/spe.md (*frob_tf_ti, *frob_ti_tf, *frob_ti_tf_2, |
11704 | *mov_si<mode>_e500_subreg0, *mov_si<mode>_e500_subreg0_2, | |
11705 | *mov_sitf_e500_subreg8, *mov_sitf_e500_subreg8_2, spe_extenddftf2, | |
11706 | spe_fix_trunctfsi2_internal, spe_negtf2_internal, cmptfeq_gpr, | |
11707 | tsttfeq_gpr, cmptfgt_gpr, tsttfgt_gpr, cmptflt_gpr, tsttflt_gpr): | |
11708 | Add length attributes. | |
11709 | ||
839803bd | 11710 | 2007-04-19 Janis Johnson <janis187@us.ibm.com> |
11711 | ||
7bb1423a | 11712 | * ginclude/float.h: Check that __STDC_WANT_DEC_FP__ is defined, |
11713 | not that it is 1. | |
11714 | ||
839803bd | 11715 | * c-cppbuiltin.c (c_cpp_builtins): Remove definition of |
11716 | __STDC_WANT_DEC_FP__. | |
11717 | ||
8c3bf67d | 11718 | 2007-04-19 Joseph Myers <joseph@codesourcery.com> |
11719 | ||
11720 | * configure.ac: Allow both powerpc*-*-linux* and powerpc*-*-gnu* | |
11721 | for long double compatibility. | |
11722 | * configure: Regenerate. | |
11723 | ||
88a00894 | 11724 | 2007-04-19 Eric Botcazou <ebotcazou@libertysurf.fr> |
11725 | ||
11726 | PR rtl-optimization/29841 | |
11727 | * cfgbuild.c (control_flow_insn_p): Return TRUE for unconditional | |
11728 | trap instructions. | |
11729 | * sched-deps.c (sched_analyze_insn): Prevent all non-jump instructions | |
11730 | that may cause control flow transfer from being moved. | |
11731 | ||
b2f88529 | 11732 | 2007-04-18 Jan Hubicka <jh@suse.cz> |
11733 | ||
11734 | * fold-const.c (div_if_zero_remainder): Do signed divide for pointer | |
11735 | types. | |
11736 | ||
90c24387 | 11737 | 2007-04-18 Eric Christopher <echristo@apple.com> |
572d7bec | 11738 | |
90c24387 | 11739 | * config/rs6000/darwin.md (load_macho_picbase): Use link register |
11740 | only. Update operands. | |
11741 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Update caller. | |
11742 | * config/rs6000/rs6000.md (builtin_setjmp_receiver): Ditto. Move from | |
11743 | link register to pic register. | |
572d7bec | 11744 | |
7988a017 | 11745 | 2007-04-18 Dirk Mueller <dmueller@suse.de> |
11746 | ||
11747 | PR diagnostic/31227 | |
11748 | * tree-vrp.c (search_for_addr_array): New. | |
11749 | (check_array_bounds): Suppress warning about | |
11750 | address taken of array refs if its not de-referenced. | |
11751 | ||
33bbe730 | 11752 | 2007-04-18 Dorit Nuzman <dorit@il.ibm.com> |
11753 | ||
11754 | * tree-vectorizer.c (destroy_loop_vec_info): Set loop->aux to NULL. | |
11755 | * tree-vect-analyze.c (vect_analyze_loop_form): Set loop->aux. | |
11756 | ||
11757 | * tree-vectorizer.h (NITERS_KNOWN_P): New. | |
90c24387 | 11758 | * tree-vect-analyze.c (vect_analyze_loop_form): Call NITERS_KNOWN_P |
33bbe730 | 11759 | instead of LOOP_VINFO_INT_NITERS to avoid having to geneate loop_info. |
11760 | ||
90c24387 | 11761 | * tree-vect-analyze.c (vect_determine_vectorization_factor): Add |
33bbe730 | 11762 | dump print. |
11763 | (vect_analyze_operations): Fix indenetation. Fix a comment. Fix a | |
11764 | print message. | |
11765 | (vect_analyze_scalar_cycles): Fix indentation. | |
11766 | (vect_enhance_data_refs_alignment): Fix check in case of peeling. | |
11767 | (vect_mark_relevant): Include phis in relevance analysis. | |
11768 | ||
11769 | * tree-vect-transform.c (vect_transform_loop): Add an assert. | |
11770 | ||
5985f1ef | 11771 | 2007-04-18 Anatoly Sokolov <aesok@post.ru> |
11772 | ||
11773 | * config/avr/avr.c (ptrreg_to_str): Replace error() with | |
11774 | output_operand_lossage(). | |
11775 | ||
24d7ad26 | 11776 | 2007-04-18 Dorit Nuzman <dorit@il.ibm.com> |
11777 | ||
11778 | * tree-vect-transform.c (get_initial_def_for_reduction): Clean away | |
11779 | the unused code for reduction without adjust-in-epilog to simplify the | |
11780 | function. | |
11781 | ||
27784c70 | 11782 | 2007-04-18 Wolfgang Gellerich <gellerich@de.ibm.com> |
11783 | ||
11784 | * config/s390/s390.h (S390_TDC_POSITIVE_ZERO): New constant. | |
11785 | (S390_TDC_NEGATIVE_ZERO): New constant. | |
11786 | (S390_TDC_POSITIVE_NORMALIZED_NUMBER): New constant. | |
11787 | (S390_TDC_NEGATIVE_NORMALIZED_NUMBER): New constant. | |
11788 | (S390_TDC_POSITIVE_DENORMALIZED_NUMBER): New constant. | |
11789 | (S390_TDC_NEGATIVE_DENORMALIZED_NUMBER): New constant. | |
11790 | (S390_TDC_POSITIVE_INFINITY): New constant. | |
11791 | (S390_TDC_NEGATIVE_INFINITY): New constant. | |
11792 | (S390_TDC_POSITIVE_QUIET_NAN): New constant. | |
11793 | (S390_TDC_NEGATIVE_QUIET_NAN): New constant. | |
11794 | (S390_TDC_POSITIVE_SIGNALING_NAN): New constant. | |
11795 | (S390_TDC_NEGATIVE_SIGNALING_NAN): New constant. | |
11796 | (S390_TDC_INFINITY): New constant. | |
11797 | * config/s390/s390.c (s390_canonicalize_comparison): Renamed | |
11798 | UNSPEC_CMPINT to UNSPEC_CCU_TO_INT, added a UNSPEC_CCU_TO_INT-like | |
11799 | optimization for UNSPEC_CCZ_TO_INT. | |
11800 | * config/s390/s390.md ("*TDC_insn_<mode>"): New insn. | |
11801 | ("*ccz_to_int"): New insn. | |
11802 | ("isinf<mode>2"): New insn. | |
11803 | (UNSPEC_CMPINT): Renamed to UNSPEC_CCU_TO_INT. | |
11804 | (UNSPEC_CCU_TO_INT): New constant, replaces UNSPEC_CMPINT. | |
11805 | (UNSPEC_CCZ_TO_INT): New constant. | |
11806 | ||
37361b38 | 11807 | 2007-04-18 Richard Guenther <rguenther@suse.de> |
11808 | ||
11809 | PR tree-optimization/19431 | |
11810 | PR tree-optimization/21463 | |
11811 | * tree-pass.h (pass_phiprop): Declare. | |
11812 | * passes.c (init_optimization_passes): New phiprop pass. | |
11813 | * tree-ssa-forwprop.c (struct phiprop_d): New structure. | |
11814 | (phivn_valid_p): New helper function. | |
11815 | (phiprop_insert_phi): Likewise. | |
11816 | (propagate_with_phi): Likewise. | |
11817 | (tree_ssa_phiprop): New propagator propagating loads | |
11818 | through phi nodes if profitable. | |
11819 | ||
a5e56906 | 11820 | 2007-04-18 Dorit Nuzman <dorit@il.ibm.com> |
11821 | ||
11822 | * tree-vect-analyze.c (process_use): New function. | |
11823 | (vect_mark_stmts_to_be_vectorized): Factor out code to process_use. | |
11824 | Check phis in all bbs. | |
11825 | * tree-vectorizer.c (vect_is_simple_use): Remove a no longer relavant | |
11826 | assert. | |
11827 | ||
ea4c8f87 | 11828 | 2007-04-18 Bernd Schmidt <bernd.schmidt@analog.com> |
11829 | ||
11830 | * reload1.c (eliminte_regs_in_insn): Use REG_EQUIV notes the same way | |
11831 | we use REG_EQUAL. | |
11832 | ||
c3384cae | 11833 | 2007-04-17 Anatoly Sokolov <aesok@post.ru> |
11834 | ||
11835 | PR target/30483 | |
11836 | * config/avr/avr.c (ptrreg_to_str): Replace gcc_unreachable() with | |
11837 | error(). | |
11838 | ||
2c2034a3 | 11839 | 2007-04-17 H.J. Lu <hongjiu.lu@intel.com> |
11840 | ||
11841 | * config/i386/sse.md (sse_vmaddv4sf3): Use register_operand | |
11842 | on "0". | |
11843 | (sse_vmmulv4sf3): Likewise. | |
11844 | (sse2_vmaddv2df3): Likewise. | |
11845 | (sse2_vmmulv2df3): Likewise. | |
11846 | ||
25153338 | 11847 | 2007-04-17 Zdenek Dvorak <dvorakz@suse.cz> |
11848 | ||
11849 | PR rtl-optimization/31360 | |
11850 | * cfgloopanal.c (target_small_cost, target_pres_cost): Removed. | |
11851 | (target_reg_cost): New. | |
11852 | (init_set_costs): Initialize target_reg_cost. Add comments | |
11853 | regarding the rationale of the costs. | |
11854 | (global_cost_for_size): Renamed to... | |
11855 | (estimate_reg_pressure_cost): ... and simplify. Decrease importance | |
11856 | of register pressure. | |
11857 | * tree-ssa-loop-ivopts.c (ivopts_global_cost_for_size): Use | |
11858 | estimate_reg_pressure_cost. Add number of ivs. | |
11859 | (determine_set_costs): Dump target_reg_cost. | |
11860 | * loop-invariant.c (gain_for_invariant): Use | |
11861 | estimate_reg_pressure_cost. Removed n_inv_uses argument. | |
11862 | (best_gain_for_invariant, find_invariants_to_move): Remove | |
11863 | n_inv_uses. | |
11864 | * cfgloop.h (target_small_cost, target_pres_cost): Removed. | |
11865 | (target_reg_cost): Declare. | |
11866 | (global_cost_for_size): Declaration removed. | |
11867 | (estimate_reg_pressure_cost): Declare. | |
11868 | ||
32eb5ffe | 11869 | 2007-04-17 Peter Bergner <bergner@vnet.ibm.com> |
11870 | ||
11871 | * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Force TDmode | |
11872 | regnos into even/odd register pairs. | |
11873 | * config/rs6000/rs6000.h [SLOW_UNALIGNED_ACCESS]: Treat DDmode and | |
11874 | TDmode similar to the other floating point modes. | |
11875 | [SECONDARY_MEMORY_NEEDED]: Treat DDmode similar to DFmode. | |
11876 | * config/rs6000/dfp.md (negdd2, absdd2, negtd2, abstd2): New | |
11877 | define_expand's. | |
11878 | (negdd2_fpr, absdd2_fpr, nabsdd2_fpr, negtd2_fpr, abstd2_fpr, | |
11879 | nabstd2_fpr, movdd_hardfloat64_mfpgpr): New define_insn's. | |
11880 | (movdd_hardfloat64): Use TARGET_MFPGPR. | |
11881 | ||
759d3f80 | 11882 | 2007-04-17 Bernd Schmidt <bernd.schmidt@analog.com> |
11883 | ||
11884 | * reload1.c (delete_output_reload): Don't count output in n_inherited. | |
11885 | ||
11886 | Revert | |
11887 | 2005-01-05 Richard Henderson <rth@redhat.com> | |
11888 | PR rtl-opt/10692 | |
11889 | * reload1.c (do_input_reload): Restrict the optimization deleteing | |
11890 | a previous output reload to RELOAD_FOR_INPUT. | |
11891 | ||
6fada017 | 11892 | 2007-04-17 Dorit Nuzman <dorit@il.ibm.com> |
11893 | ||
11894 | * tree-vectorizer.h (stmt_vec_info_type): Add enum value | |
11895 | induc_vec_info_type. | |
11896 | (vectorizable_induction): New function declaration. | |
11897 | * tree-vect-transform.c (get_initial_def_for_induction): No need to | |
11898 | check if already vectorized. Find first place in BB where new stmts | |
11899 | can be inserted. Takes only one argument. | |
11900 | (vectorizable_induction): New function. | |
11901 | (vect_transform_stmt): Add case for induc_vec_info_type to call | |
11902 | vectorizable_induction. | |
11903 | (vect_transform_loop): Consider phis for vectorization. | |
11904 | * tree-vect-analyze.c (vect_determine_vectorization_factor): Simplify | |
11905 | condition. | |
90c24387 | 11906 | (analyze_operations): Call vectorizable_induction when analyzing phis. |
6fada017 | 11907 | Fix comment. |
11908 | (vect_mark_stmts_to_be_vectorized): Remove redundant checks. | |
11909 | (vect_mark_relevant): Include phis in relevance analysis. | |
11910 | (vect_mark_stmts_to_be_vectorize): Likewise. | |
11911 | * tree-vect-patterns.c (widened_name_p): Remove obsolete asserts. | |
11912 | ||
0e4744ac | 11913 | 2007-04-16 Lawrence Crowl <crowl@google.com> |
11914 | ||
11915 | * doc/invoke.texi (Debugging Options): Add documentation for the | |
11916 | -femit-struct-debug options -femit-struct-debug-baseonly, | |
11917 | -femit-struct-debug-reduced, and | |
11918 | -femit-struct-debug-detailed[=...]. | |
11919 | ||
11920 | * c-opts.c (c_common_handle_option): Add | |
11921 | OPT_femit_struct_debug_baseonly, OPT_femit_struct_debug_reduced, | |
11922 | and OPT_femit_struct_debug_detailed_. | |
11923 | * c.opt: Add specifications for | |
11924 | -femit-struct-debug-baseonly, -femit-struct-debug-reduced, | |
11925 | and -femit-struct-debug-detailed[=...]. | |
11926 | * opts.c (set_struct_debug_option): Parse the | |
11927 | -femit-struct-debug-... options. | |
11928 | * opts.c (matches_main_base, main_input_basename, | |
11929 | main_input_baselength, base_of_path, matches_main_base): Add | |
11930 | variables and functions to compare header base name to compilation | |
11931 | unit base name. | |
11932 | * opts.c (should_emit_struct_debug): Add to determine to emit a | |
11933 | structure based on the option. | |
11934 | (dump_struct_debug) Also disabled function to debug this | |
11935 | function. | |
11936 | * opts.c (handle_options): Save the base name of the | |
11937 | compilation unit. | |
11938 | ||
11939 | * langhooks-def.h (LANG_HOOKS_GENERIC_TYPE_P): Define. | |
e865d428 | 11940 | (LANG_HOOKS_FOR_TYPES_INITIALIZER): Add. |
0e4744ac | 11941 | This hook indicates if a type is generic. Set it by default |
11942 | to "never generic". | |
11943 | * langhooks.h (struct lang_hooks_for_types): Add a new hook | |
11944 | to determine if a struct type is generic or not. | |
11945 | * cp/cp-tree.h (class_tmpl_impl_spec_p): Declare a C++ hook. | |
11946 | * cp/tree.c (class_tmpl_impl_spec_p): Implement the C++ hook. | |
11947 | * cp/cp-lang.c (LANG_HOOKS_GENERIC_TYPE_P): Override null C hook | |
11948 | with live C++ hook. | |
11949 | ||
11950 | * flags.h (enum debug_info_usage): Add an enumeration to describe | |
11951 | a program's use of a structure type. | |
11952 | * dwarf2out.c (gen_struct_or_union_type_die): Add a new parameter | |
11953 | to indicate the program's usage of the type. Filter structs based | |
11954 | on the -femit-struct-debug-... specification. | |
11955 | (gen_type_die): Split into two routines, gen_type_die and | |
11956 | gen_type_die_with_usage. gen_type_die is now a wrapper | |
11957 | that assumes direct usage. | |
11958 | (gen_type_die_with_usage): Replace calls to gen_type_die | |
11959 | with gen_type_die_with_usage adding the program usage of | |
11960 | the referenced type. | |
11961 | (dwarf2out_imported_module_or_decl): Suppress struct debug | |
11962 | information using should_emit_struct_debug when appropriate. | |
11963 | ||
91c9ef60 | 11964 | 2007-04-16 Ian Lance Taylor <iant@google.com> |
11965 | ||
5c7155ca | 11966 | PR tree-optimization/31522 |
11967 | * tree-vrp.c (vr_phi_edge_counts): New static variable. | |
11968 | (vrp_initialize): Allocate vr_phi_edge_counts. | |
11969 | (vrp_visit_phi_node): Don't push to infinity if we saw a new | |
11970 | executable edge. Drop test for all constants. | |
11971 | (vrp_finalize): Free vrp_phi_edge_counts. | |
11972 | ||
40b49e8f | 11973 | * doc/cpp.texi (Common Predefined Macros): Clarify description of |
11974 | __GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__. | |
11975 | ||
91c9ef60 | 11976 | * tree-ssa-propagate.c (cfg_blocks_add): Insert blocks with fewer |
11977 | predecessors at head rather than tail. | |
11978 | ||
fc7dfeb9 | 11979 | 2007-04-16 Matthias Klose <doko@debian.org> |
11980 | ||
ddb8b0be | 11981 | * config/alpha/linux.h (CPP_SPEC): Define. |
11982 | * config/arm/linux-gas.h (SUBTARGET_CPP_SPEC): Extend. | |
fc7dfeb9 | 11983 | |
c085e9f9 | 11984 | 2007-04-16 Aldy Hernandez <aldyh@redhat.com> |
11985 | ||
e865d428 | 11986 | * function.h: Remove sequence_stack extern declaration. |
c085e9f9 | 11987 | |
98d02c10 | 11988 | 2007-04-16 Kazu Hirata <kazu@codesourcery.com> |
11989 | ||
11990 | * config/m68k/m68k.h (LONG_DOUBLE_TYPE_SIZE): Change to 64 on | |
11991 | TARGET_FIDOA. | |
11992 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Change to 64 if __mfido__ is | |
11993 | defined. | |
11994 | ||
8c23ba29 | 11995 | 2007-04-16 Anatoly Sokolov <aesok@post.ru> |
11996 | ||
11997 | * config/avr/avr.c (avr_arch_types): Rearranging array. | |
11998 | (enum avr_arch): Add. | |
90c24387 | 11999 | (avr_mcu_types): Use avr_arch enumeration constants instead of |
8c23ba29 | 12000 | numbers. |
12001 | * config/avr/avr.h (LINK_SPEC): Simplify. | |
12002 | ||
dbaae14a | 12003 | 2007-04-16 Kazu Hirata <kazu@codesourcery.com> |
12004 | ||
12005 | * config/m68k/m68k.c (m68k_libcall_value, | |
12006 | m68k_function_value): Use macros for register names more. | |
12007 | ||
47313d14 | 12008 | * config/m68k/m68k.h (FRAME_POINTER_REGNUM): Use A6_REG |
12009 | instead. | |
12010 | (M68K_REGNAME): Use A6_REG. | |
12011 | * config/m68k/m68k.md (FP_REG): Rename to A6_REG. | |
12012 | ||
c5947ab7 | 12013 | 2007-04-16 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> |
12014 | ||
12015 | PR middle-end/28071 | |
12016 | * sched-int.h (struct deps): Split field 'pending_lists_length' into | |
12017 | 'pending_read_list_length' and 'pending_write_list_length'. Update | |
12018 | comment. | |
12019 | * sched-deps.c (add_insn_mem_dependence): Change signature. Update | |
12020 | to handle two length counters instead of one. Update all uses. | |
12021 | (flush_pending_lists, sched_analyze_1, init_deps): Update to handle | |
12022 | two length counters instead of one. | |
12023 | * sched-rgn.c (propagate_deps): Update to handle two length counters | |
12024 | instead of one. | |
12025 | ||
c3a50b15 | 12026 | 2007-04-16 H.J. Lu <hongjiu.lu@intel.com> |
12027 | ||
12028 | PR target/31582 | |
12029 | * config/i386/i386.c (ix86_expand_vec_set_builtin): Make a | |
12030 | copy of source, pass it to ix86_expand_vector_set and return | |
12031 | it as target. | |
12032 | ||
11b70d7d | 12033 | 2007-04-16 David Ung <davidu@mips.com> |
c3a50b15 | 12034 | Joseph Myers <joseph@codesourcery.com> |
11b70d7d | 12035 | |
12036 | * config/mips/mips.h (PROCESSOR_74KC, PROCESSOR_74KF, | |
12037 | PROCESSOR_74KX, TUNE_74K, GENERATE_MADD_MSUB): Define. | |
12038 | * config/mips/mips.c (mips_cpu_info_table, mips_rtx_cost_data): | |
12039 | Add 74K processor information. | |
12040 | * config/mips/mips.md: Include 74k.md. | |
12041 | (cpu): Add 74kc,74kf,74kx. | |
12042 | (ISA_HAS_MADD_MSUB): Change to GENERATE_MADD_MSUB throughout. | |
12043 | * config/mips/74k.md: New. | |
12044 | * doc/invoke.texi (MIPS Options): Document 74K support. | |
12045 | ||
29696c95 | 12046 | 2007-04-16 Dorit Nuzman <dorit@il.ibm.com> |
12047 | ||
12048 | * tree-vect-analyze.c (vect_analyze_operations): Reorganize calls to | |
12049 | vectorizable_* functions. | |
12050 | * tree-vect-transform.c (vectorizable_call): Add check for | |
12051 | STMT_VINFO_RELEVANT_P, STMT_VINFO_DEF_TYPE and STMT_VINFO_LIVE_P. | |
12052 | (vectorizable_store): likewise. | |
12053 | (vectorizable_conversion): Add check for STMT_VINFO_DEF_TYPE. | |
12054 | Add comments. | |
12055 | (vectorizable_operation, vectorizable_type_demotion): Likewise. | |
12056 | (vectorizable_type_promotion, vectorizable_load): Likewise. | |
12057 | (vectorizable_live_operation, vectorizable_condition): Likewise. | |
12058 | (vectorizable_assignment): Add check for STMT_VINFO_DEF_TYPE and | |
12059 | STMT_VINFO_LIVE_P. | |
12060 | (vect_transform_stmt): Reorganize calls to vectorizable_* functions. | |
12061 | ||
9d463c3d | 12062 | 2007-04-15 Kazu Hirata <kazu@codesourcery.com> |
12063 | ||
12064 | * config/m68k/linux.h (FUNCTION_VALUE_REGNO_P): Use macros for | |
12065 | register numbers more. | |
12066 | * config/m68k/m68k.h (STACK_POINTER_REGNUM, | |
12067 | FRAME_POINTER_REGNUM, STATIC_CHAIN_REGNUM, | |
12068 | M68K_STRUCT_VALUE_REGNUM, FUNCTION_VALUE, LIBCALL_VALUE, | |
12069 | FUNCTION_VALUE_REGNO_P): Likewise. | |
12070 | * config/m68k/m68kelf.h (M68K_STRUCT_VALUE_REGNUM, | |
12071 | STATIC_CHAIN_REGNUM): Likewise. | |
12072 | * config/m68k/m68kemb.h (FUNCTION_VALUE_REGNO_P): Likewise. | |
12073 | * config/m68k/netbsd-elf.h (M68K_STRUCT_VALUE_REGNUM, | |
12074 | STATIC_CHAIN_REGNUM, FUNCTION_VALUE_REGNO_P): Likewise. | |
12075 | * config/m68k/m68k.md (FP_REG): New. | |
12076 | ||
35387ada | 12077 | 2007-04-15 Kazu Hirata <kazu@codesourcery.com> |
12078 | ||
12079 | * config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Prefer 32-bit | |
12080 | alignment on fido. | |
12081 | ||
efec32e0 | 12082 | 2007-04-15 Kazu Hirata <kazu@codesourcery.com> |
12083 | ||
12084 | * config/i386/i386.c, config/s390/s390.c, config/s390/s390.md, | |
12085 | tree-ssa-loop-niter.c, tree-ssa-structalias.c, tree-vrp.c: Fix | |
12086 | comment typos. | |
12087 | ||
a30d0a5b | 12088 | 2007-04-11 Zdenek Dvorak <dvorakz@suse.cz> |
12089 | ||
12090 | * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Ignore | |
12091 | cold loops. | |
12092 | ||
0dd13847 | 12093 | 2007-04-14 Andrew Pinski <andrew_pinski@playstation.sony.com> |
12094 | ||
12095 | PR c/31520 | |
e865d428 | 12096 | * c-decl.c (finish_decl): Grab the type of the decl after the call |
0dd13847 | 12097 | to store_init_value. |
12098 | ||
55d51835 | 12099 | 2007-04-14 Steven Bosscher <steven@gcc.gnu.org> |
12100 | ||
12101 | * common.opt (fforward-propagate): Fix "Optimization" annotation. | |
12102 | ||
480e5bc3 | 12103 | 2007-04-14 Jakub Jelinek <jakub@redhat.com> |
12104 | ||
12105 | PR c++/25874 | |
ed69c853 | 12106 | * omp-low.c (expand_omp_parallel): If child_cfun->cfg, free |
12107 | dominators, post dominators and cleanup cfg before returning. | |
480e5bc3 | 12108 | |
5ff4f029 | 12109 | 2007-04-14 Bernd Schmidt <bernd.schmidt@analog.com> |
12110 | ||
12111 | * config/bfin/bfin.h (MODES_TIEABLE_P): Allow more modes to be tied. | |
12112 | * config/bfin/bfin.md (movsi_insn): Delete two unused alternatives. | |
12113 | ||
278e2fd1 | 12114 | 2007-04-14 Kazu Hirata <kazu@codesourcery.com> |
12115 | ||
12116 | * config.gcc: Recognize fido. | |
12117 | * config/m68k/m68k-devices.def (fidoa): New. | |
12118 | * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define | |
12119 | __mfido__. | |
12120 | (FL_FIDOA, TARGET_FIDOA): New. | |
12121 | * config/m68k/m68k.opt (mfidoa): New. | |
12122 | ||
849ea31c | 12123 | 2007-04-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12124 | ||
12125 | PR middle-end/31322 | |
12126 | * dwarf2out.c (output_call_frame_info): Call assemble_external_libcall | |
12127 | when a personality function is used. | |
12128 | ||
d4c45216 | 12129 | 2007-04-13 Bob Wilson <bob.wilson@acm.org> |
12130 | ||
12131 | * config/xtensa/xtensa.c (xtensa_expand_builtin): Use CALL_EXPR_FN. | |
12132 | ||
2775d4b5 | 12133 | 2007-04-13 Mike Stump <mrs@apple.com> |
12134 | ||
12135 | * config/darwin-c.c (handle_c_option): Handle -fapple-kext here so | |
12136 | we can... | |
12137 | * config/darwin.opt (fapple-kext): Make C++ only. | |
12138 | * config/darwin.c (darwin_override_options): Remove code to ensure | |
12139 | -fapple-kext is given for C++ only. | |
12140 | ||
e7fb4953 | 12141 | 2007-04-13 Richard Sandiford <richard@codesourcery.com> |
12142 | ||
12143 | * config/mips/vxworks.h (SUBTARGET_OVERRIDE_OPTIONS): Define. | |
12144 | * config/mips/mips.c (override_options): Call | |
12145 | SUBTARGET_OVERRIDE_OPTIONS, if defined. | |
12146 | ||
ba47d267 | 12147 | 2007-04-13 H.J. Lu <hongjiu.lu@intel.com> |
12148 | ||
12149 | * config/i386/i386.opt (msvr3-shlib): Removed. | |
12150 | ||
12151 | * doc/invoke.texi: Remove -msvr3-shlib. | |
12152 | ||
1b89f7c8 | 12153 | 2007-04-13 H.J. Lu <hongjiu.lu@intel.com> |
12154 | ||
12155 | * config/i386/i386.opt (mpopcnt): Replace "popcount" instruction | |
12156 | with "popcnt" instruction. | |
12157 | ||
f3d56fef | 12158 | 2007-04-13 Richard Guenther <rguenther@suse.de> |
12159 | ||
12160 | PR tree-optimization/21258 | |
12161 | * tree-vrp.c (compare_case_labels): New helper. | |
12162 | (find_switch_asserts): New function. | |
12163 | (find_assert_locations): Call it for SWITCH_EXPRs. | |
12164 | ||
d26e00d8 | 12165 | 2007-04-13 Uros Bizjak <ubizjak@gmail.com> |
12166 | ||
12167 | * config/i386/i386.h (X87_FLOAT_MODE_P): Check for TARGET_80387. | |
12168 | * config/i386/i386.md (*cmpfp0): Remove check for TARGET_80387, this | |
12169 | check is now implied in X87_FLOAT_MODE_P. | |
12170 | (*cmpfp_u, *cmpfp_<mode>, *cmpfp_i_i387): Ditto. | |
12171 | (*cmpfp_iu_387, fix_trunc<mode>_fisttp_i386_1): Ditto. | |
12172 | (fix_trunc<mode>_i386_fisttp): Ditto. | |
12173 | (fix_trunc<mode>_i387_fisttp_with_temp): Ditto. | |
12174 | (*fix_trunc<mode>_i387_1, fix_truncdi_i387): Ditto. | |
12175 | (fix_truncdi_i387_with_temp, fix_trunc<mode>_i387): Ditto. | |
12176 | (fix_trunc<mode>_i387_with_temp, *fp_jcc_1_387): Ditto. | |
12177 | (*fp_jcc_2_387, *fp_jcc_5_387, *fp_jcc_6_387): Ditto. | |
12178 | (*fp_jcc_7_387, *fp_jcc_8<mode>_387): Ditto. | |
12179 | (unnamed_splitters): Ditto. | |
12180 | * config/i386/i386.c (function_value_32): Generate FIRST_FLOAT_REG | |
12181 | for X87_FLOAT_MODE_P mode. Override FIRST_FLOAT_REG with | |
12182 | FIRST_SSE_REG for local functions when SSE math is enabled or | |
12183 | for functions with sseregparm attribute. | |
12184 | (standard_80387_constant_p): Return -1 if mode is not | |
12185 | X87_FLOAT_MODE_P. | |
12186 | (ix86_cc_mode): Assert that scalar mode is not DECIMAL_FLOAT_MODE_P. | |
12187 | (ix86_expand_compare): Ditto. | |
12188 | (ix86_expand_carry_flag_compare): Ditto. | |
12189 | (ix86_expand_int_movcc): Check for SCALAR_FLOAT_MODE_P instead | |
12190 | of FLOAT_MODE_P for cmp_mode and assert that cmp_mode is not | |
12191 | DECIMAL_FLOAT_MODE_P. | |
12192 | (ix86_preferred_output_reload_class): Use X87_FLOAT_MODE_P instead | |
12193 | of SCALAR_FLOAT_MODE_P. | |
12194 | (ix86_rtx_costs) [PLUS] Remove FLOAT_MODE_P and fall through to ... | |
12195 | [MINUS]: ... here. Add SSE_FLOAT_MODE_P and X87_FLOAT_MODE_P | |
12196 | checks before FLOAT_MODE_P. | |
12197 | [MULT]: Add SSE_FLOAT_MODE_P and X87_FLOAT_MODE_P checks | |
12198 | before FLOAT_MODE_P. | |
12199 | [DIV]: Ditto. | |
12200 | [NEG]: Ditto. | |
12201 | [ABS]: Ditto. | |
12202 | [SQRT]: Ditto. | |
12203 | [FLOAT_EXTEND]: Use SSE_FLOAT_MODE_P. | |
12204 | ||
bdbe7091 | 12205 | 2007-04-12 Paolo Bonzini <bonzini@gnu.org> |
e865d428 | 12206 | Charles Wilson <libtool@cwilson.fastmail.fm> |
bdbe7091 | 12207 | |
12208 | * Makefile.in (stamp-as, stamp-collect-ld, stamp-nm): Remove. | |
12209 | (libgcc.mvars): Don't depend on them. | |
12210 | * configure.ac (as, collect-ld, nm): Create from exec-tool.in. | |
12211 | * exec-tool.in: New. | |
12212 | ||
2211b4ca | 12213 | 2007-04-12 Brooks Moses <brooks.moses@codesourcery.com> |
12214 | ||
12215 | * doc/invoke.text (--help): Document --help=common. | |
12216 | ||
cab08a39 | 12217 | 2007-04-12 Thomas Neumann <tneumann@users.sourceforge.net> |
12218 | ||
12219 | * stub-objc.c (objc_build_keyword_decl): Avoid C++ keywords. | |
12220 | ||
a8a393cb | 12221 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
12222 | ||
12223 | * Makefile.in (insn-emit.o): Depend on $(INTEGRATE_H). | |
12224 | * genemit.c (main): Emit #include "integrate.h". | |
12225 | * config/mips/mips-protos.h (SYMBOL_HALF): New mips_symbol_type. | |
12226 | (LOADGP_RTP): New mips_loadgp_style. | |
12227 | * config/mips/mips.h: Include config/vxworks-dummy.h. | |
12228 | (TARGET_RTP_PIC): New macro. | |
12229 | (TARGET_USE_GOT): Return true for TARGET_RTP_PIC. | |
12230 | (TARGET_USE_PIC_FN_ADDR_REG): Return true for TARGET_VXWORKS_RTP. | |
12231 | (ASM_OUTPUT_ADDR_DIFF_ELT): Emit function-relative case tables | |
12232 | for TARGET_RTP_PIC. | |
12233 | * config/mips/vxworks.h (SUBTARGET_ASM_SPEC): Define. Pass down | |
12234 | -mvxworks-pic when using -mrtp and a PIC option. | |
12235 | * config/mips/mips.c (mips_classify_symbol): Return SYMBOL_GOT_DISP | |
12236 | for RTP PIC. | |
12237 | (mips_symbolic_constant_p, mips_symbolic_address_p) | |
12238 | (mips_symbol_insns): Handle SYMBOL_HALF. | |
12239 | (override_options): Warn about -G and -mrtp being used together. | |
12240 | Initialize mips_lo_relocs[SYMBOL_HALF]. | |
12241 | (mips_current_loadgp_style): Return LOADGP_RTP for RTP PIC. | |
12242 | (mips_emit_loadgp): Handle LOADGP_RTP. | |
12243 | (mips_in_small_data_p): Return false for TARGET_VXWORKS_RTP. | |
12244 | * config/mips/mips.md (loadgp_rtp): New insn and splitter. | |
12245 | (tablejump): Handle function-relative case table entries if | |
12246 | TARGET_RTP_PIC. | |
12247 | * config/mips/predicates.md (symbol_ref_operand): New predicate. | |
12248 | ||
d1b79aba | 12249 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
12250 | ||
12251 | * config/mips/mips.md (load_call<mode>): Allow any general register. | |
12252 | destination. | |
12253 | (sibcall_value_internal, sibcall_value_multiple_internal) | |
12254 | (call_value_internal, call_value_split, call_value_multiple_internal) | |
12255 | (call_value_multiple_split): Remove constraints from operand 0. | |
12256 | ||
de604551 | 12257 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
12258 | ||
12259 | * config/mips/mips-protos.h: In comments, refer to loadgp_absolute | |
12260 | rather than loadgp_noshared. | |
12261 | * config/mips/mips.c (mips_emit_loadgp): Use gen_loadgp_absolute | |
12262 | instead of gen_loadgp_noshared. Use gen_loadgp_newabi instead of | |
12263 | gen_loadgp. | |
12264 | * config/mips/mips.md (loadgp): Rename to... | |
12265 | (loadgp_newabi): ...this. | |
12266 | (loadgp_noshared): Rename to... | |
12267 | (loadgp_absolute): ...this. | |
12268 | ||
ffe0cc16 | 12269 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
12270 | ||
12271 | * config/mips/mips.c (mips_ok_for_lazy_binding_p): Always return | |
12272 | false for locally-binding symbols. | |
12273 | (mips_dangerous_for_la25_p): Check mips_global_symbol_p. | |
12274 | ||
4cb04729 | 12275 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
12276 | ||
12277 | * config/mips/mips-protos.h (SYMBOL_GOT_LOCAL): Rename to... | |
12278 | (SYMBOL_GOT_PAGE_OFST): ...this. | |
12279 | (SYMBOL_GOT_GLOBAL): Rename to... | |
12280 | (SYMBOL_GOT_DISP): ...this. | |
12281 | (SYMBOL_GOTOFF_GLOBAL): Rename to... | |
12282 | (SYMBOL_GOTOFF_DISP): ...this. Update comments accordingly. | |
12283 | * config/mips/mips.c (mips_global_symbol_p): New function. | |
12284 | (mips_symbol_binds_local_p): Likewise. | |
12285 | (mips_classify_symbol): Rename SYMBOL_GOT_GLOBAL to SYMBOL_GOT_DISP | |
ed69c853 | 12286 | and SYMBOL_GOT_LOCAL to SYMBOL_GOT_PAGE_OFST. Use |
12287 | mips_global_symbol_p and mips_symbol_binds_local_p. | |
4cb04729 | 12288 | (mips_symbolic_constant_p, mips_symbolic_address_p, mips_symbol_insns) |
12289 | (override_options): Rename SYMBOL_GOT_GLOBAL to SYMBOL_GOT_DISP, | |
12290 | SYMBOL_GOT_LOCAL to SYMBOL_GOT_PAGE_OFST and SYMBOL_GOTOFF_GLOBAL to | |
12291 | SYMBOL_GOTOFF_DISP. | |
12292 | (mips_ok_for_lazy_binding_p): New function. | |
12293 | (mips_load_call_address, mips_expand_call): Use it. | |
12294 | (mips_dangerous_for_la25_p): Likewise. | |
12295 | * config/mips/mips.md (*xgot_hi<mode>, *xgot_lo<mode>) | |
12296 | (*got_disp<mode>): Use got_disp_operand instead of | |
12297 | global_got_operand. Use SYMBOL_GOTOFF_DISP instead of | |
12298 | SYMBOL_GOTOFF_GLOBAL. | |
12299 | (*got_page<mode>): Use got_page_ofst_operand instead of | |
12300 | local_got_operand. | |
12301 | * config/mips/predicates.md (const_call_insn_operand): Use | |
12302 | SYMBOL_GOT_DISP instead of SYMBOL_GOT_GLOBAL. | |
12303 | (global_got_operand): Rename to... | |
12304 | (got_disp_operand): ...this and use SYMBOL_GOT_DISP instead of | |
12305 | SYMBOL_GOT_GLOBAL. | |
12306 | (local_got_operand): Rename to... | |
12307 | (got_page_ofst_operand): ...this and use SYMBOL_GOT_PAGE_OFST instead | |
12308 | of SYMBOL_GOT_LOCAL. | |
12309 | ||
46414626 | 12310 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
12311 | ||
12312 | * config/mips/mips.h (TARGET_SPLIT_CALLS): Check | |
12313 | TARGET_CALL_CLOBBERED_GP. | |
12314 | (TARGET_SIBCALLS): Check TARGET_USE_GOT instead of TARGET_ABICALLS. | |
12315 | (TARGET_USE_GOT, TARGET_CALL_CLOBBERED_GP): New macros. | |
12316 | (TARGET_CALL_SAVED_GP, TARGET_USE_PIC_FN_ADDR_REG): Likewise. | |
12317 | (STARTING_FRAME_OFFSET): Check TARGET_CALL_CLOBBERED_GP instead | |
12318 | of TARGET_ABICALLS && !TARGET_NEWABI. | |
12319 | (MIPS_CALL): Check TARGET_USE_GOT instead of TARGET_ABICALLS. | |
12320 | * config/mips/mips.c (mips_load_call_address): Check | |
12321 | TARGET_CALL_SAVED_GP instead of TARGET_NEWABI. | |
12322 | (mips_global_pointer): Check TARGET_USE_GOT instead of TARGET_ABICALLS. | |
12323 | Check TARGET_CALL_SAVED_GP instead of TARGET_NEWABI. | |
12324 | (mips_save_reg_p): Check TARGET_CALL_SAVED_GP instead of | |
12325 | TARGET_ABICALLS && TARGET_NEWABI. | |
12326 | (mips_current_loadgp_style): Check TARGET_USE_GOT instead of | |
12327 | TARGET_ABICALLS. | |
12328 | (mips_expand_prologue): Check TARGET_OLDABI instead of !TARGET_NEWABI. | |
12329 | (mips_expand_epilogue): Check TARGET_CALL_SAVED_GP instead of | |
12330 | TARGET_ABICALLS && TARGET_NEWABI. | |
12331 | (mips_output_mi_thunk): Check TARGET_USE_GOT instead of | |
12332 | TARGET_ABICALLS. Check TARGET_CALL_SAVED_GP instead of | |
12333 | TARGET_NEWABI. Use TARGET_USE_PIC_FN_ADDR_REG to decide | |
12334 | whether indirect calls must use $25. | |
12335 | (mips_extra_live_on_entry): Check TARGET_GOT instead of | |
12336 | TARGET_ABICALLS. | |
12337 | * config/mips/mips.md (jal_macro): Check flag_pic and | |
12338 | TARGET_CALL_CLOBBERED_GP instead of TARGET_ABICALLS and TARGET_NEWABI. | |
12339 | (builtin_setjmp_setup, builtin_longjmp): Check TARGET_USE_GOT | |
12340 | instead of TARGET_ABICALLS. | |
12341 | (exception_receiver): Check TARGET_CALL_CLOBBERED_GP instead of | |
12342 | TARGET_ABICALLS && TARGET_OLDABI. | |
12343 | (load_call<mode>): Check TARGET_USE_GOT instead of TARGET_ABICALLS. | |
12344 | (sibcall): In the comment above the define_insn, mention | |
12345 | TARGET_USE_PIC_FN_ADDR_REG instead of TARGET_ABICALLS. | |
12346 | * config/mips/constraints.md (c): Check TARGET_USE_PIC_FN_ADDR_REG | |
12347 | instead of TARGET_ABICALLS. | |
12348 | ||
9422b03b | 12349 | 2007-04-12 Bernd Schmidt <bernd.schmidt@analog.com> |
12350 | ||
12351 | * doc/md.texi (Blackfin family constraints): Document PA and PB. | |
12352 | * config/bfin/bfin.h (CONST_OK_FOR_P): Handle PA and PB. | |
12353 | (MACFLAGS_MATCH_P): New macro. | |
12354 | * config/bfin/bfin.c (print_operand): Handle MACFLAG_IS_M. | |
12355 | (bfin_secondary_reload): Treat EVEN_AREGS and ODD_AREGS like AREGS. | |
12356 | * config/bfin/bfin.md (MACFLAG_IS_M): New constant. Renumber some of | |
12357 | the other MACFLAG constants. | |
12358 | (sum_of_accumulators, lshrpdi3, ashrpdi3): New patterns. | |
12359 | (flag_machi): Tighten constraints. Renumber some of the operands. | |
12360 | (flag_machi_acconly): Tighten constraints. Correct operand numbers in | |
12361 | output template. | |
12362 | (flag_machi_parts_acconly): New pattern. | |
12363 | (flag_macinithi): Tighten constraints. Allow any accumulator to be | |
12364 | used. | |
12365 | (flag_macinit1hi): Tighten constraints. | |
12366 | (flag_mul_macv2hi_parts_acconly): New pattern. | |
12367 | ||
6daa377b | 12368 | * config/bfin/lib1funcs.asm (___umulsi3_highpart, __smulsi3_highpart): |
12369 | Use a more efficient implementation. | |
12370 | * config/bfin/bfin.md (umulsi3_highpart, smulsi3_highpart): Emit | |
12371 | inline sequences when not optimizing for size. | |
12372 | ||
4462e6ac | 12373 | * config/bfin/bfin.md (movhi_low2high, movhi_high2high, movhi_low2low, |
12374 | movhi_high2low): Delete, merge functionality into... | |
12375 | (packv2hi): ... this pattern. | |
12376 | ||
c9ddd413 | 12377 | 2007-02-11 Jie Zhang <jie.zhang@analog.com> |
12378 | * config/bfin/bfin.opt (msim): New option. | |
12379 | (mcpu=): New option. | |
12380 | * config/bfin/bfin-protos.h (enum bfin_cpu): New. | |
12381 | (bfin_cpu_t): Typedef of enum bfin_cpu. | |
12382 | (bfin_cpu_type): New declaration. | |
12383 | * config/bfin/elf.h (STARTFILE_SPEC): Add support for | |
12384 | -msim and -mcpu= options. | |
12385 | (LIB_SPEC): Likewise. | |
12386 | * config/bfin/bfin.c (bfin_cpu_type): Define. | |
12387 | (bfin_handle_option): Handle -mcpu= option. | |
12388 | * config/bfin/bfin.h (DEFAULT_CPU_TYPE): Define as BFIN_CPU_BF532. | |
12389 | (TARGET_CPU_CPP_BUILTINS): Define __ADSPBF531__, __ADSPBF532__, | |
12390 | __ADSPBF533__ or __ADSPBF537__ according to the cpu type. | |
12391 | ||
c77a1c92 | 12392 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
12393 | ||
12394 | * config.gcc (*-*-vxworks*): Don't add to tm_files in this stanza. | |
12395 | (arm-wrs-vxworks, mips-wrs-vxworks, powerpc-wrs-vxworks) | |
12396 | (powerpc-wrs-vxworksae): Use ${tm_file}. | |
12397 | (i[4567]86-wrs-vxworks, i[4567]86-wrs-vxworksae): Add svr4.h | |
12398 | after elfos.h. Remove i386/sysv4.h and add i386/vx-common.h. | |
12399 | * config/i386/vx-common.h: New file. | |
12400 | ||
6f3d6768 | 12401 | 2007-04-12 Richard Sandiford <richard@codesourcery.com> |
12402 | ||
12403 | * config/vxworks.h (VXWORKS_STARTFILE_SPEC): Use -l:crt0.o instead | |
12404 | of crt0.o%s. | |
12405 | ||
47d34a13 | 12406 | 2007-04-12 Andreas Krebbel <krebbel1@de.ibm.com> |
12407 | ||
12408 | * config/s390/s390.md ("trunctddd2"): Use TDmode for the target of | |
12409 | ldxtr. | |
12410 | ||
5bfe6313 | 12411 | 2007-04-12 Douglas Gregor <doug.gregor@gmail.com> |
12412 | ||
12413 | PR c++/31078 | |
12414 | PR c++/31103 | |
12415 | * c-common.c (c_build_qualified_type): Set canonical type | |
90c24387 | 12416 | appropriately. |
5bfe6313 | 12417 | |
a128a28f | 12418 | 2007-04-12 Richard Guenther <rguenther@suse.de> |
12419 | ||
12420 | * tree-pretty-print.c (dump_generic_node): Print ARRAY_REF | |
12421 | lower bound and element size if lower bound is not zero | |
12422 | or either of the ARRAY_REF operands is set. | |
12423 | ||
a2501610 | 12424 | 2007-04-12 Richard Guenther <rguenther@suse.de> |
12425 | ||
12426 | PR tree-optimization/24689 | |
12427 | PR tree-optimization/31307 | |
12428 | * fold-const.c (operand_equal_p): Compare INTEGER_CST array | |
12429 | indices by value. | |
12430 | * gimplify.c (canonicalize_addr_expr): To be consistent with | |
12431 | gimplify_compound_lval only set operands two and three of | |
12432 | ARRAY_REFs if they are not gimple_min_invariant. This makes | |
12433 | it never at this place. | |
12434 | * tree-ssa-ccp.c (maybe_fold_offset_to_array_ref): Likewise. | |
12435 | ||
9f4a0384 | 12436 | 2007-04-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
12437 | ||
12438 | * pa.c (pa_som_asm_init_sections): Ensure that cfun->machine is not | |
12439 | null before emitting a .nsubspa directive. | |
12440 | ||
12a2c9ea | 12441 | 2007-04-11 Diego Novillo <dnovillo@redhat.com> |
12442 | ||
12443 | * tree-ssa-alias.c (dump_mem_ref_stats): Do not call | |
12444 | need_to_partition_p if there are no memory statements in the | |
12445 | function. | |
12446 | ||
cabedb72 | 12447 | 2007-04-11 Zdenek Dvorak <dvorakz@suse.cz> |
12448 | ||
12449 | * tree-data-ref.c (chrec_steps_divide_constant_p): Removed. | |
12450 | (gcd_of_steps_may_divide_p): New function. | |
12451 | (analyze_miv_subscript): Use gcd_of_steps_may_divide_p. | |
12452 | ||
c89e828f | 12453 | 2007-04-11 Bernd Schmidt <bernd.schmidt@analog.com> |
12454 | ||
12455 | * reload.c (find_reloads_toplev, find_reloads_address, | |
12456 | find_reloads_address_1, find_reloads_subreg_address): Use rtx_equal_p, | |
12457 | not a pointer equality test, to decide if we need to call | |
12458 | push_reg_equiv_alt_mem. | |
12459 | ||
2a21a5df | 12460 | 2007-04-11 Sebastian Pop <sebastian.pop@inria.fr> |
12461 | ||
12462 | * tree-data-ref.c (affine_function_zero_p, constant_access_functions, | |
ed69c853 | 12463 | insert_innermost_unit_dist_vector, add_distance_for_zero_overlaps): |
12464 | New. | |
2a21a5df | 12465 | (build_classic_dist_vector): Call add_distance_for_zero_overlaps. |
12466 | ||
cabedb72 | 12467 | 2007-04-11 Zdenek Dvorak <dvorakz@suse.cz> |
8fb896c4 | 12468 | |
12469 | * tree-data-ref.c (add_multivariate_self_dist): Force the distance | |
12470 | vector to be positive. | |
12471 | ||
c227f8de | 12472 | 2007-04-11 Diego Novillo <dnovillo@redhat.com> |
12473 | ||
12474 | PR 30735 | |
12475 | PR 31090 | |
12476 | * doc/invoke.texi: Document --params max-aliased-vops and | |
12477 | avg-aliased-vops. | |
12478 | * tree-ssa-operands.h (get_mpt_for, dump_memory_partitions, | |
12479 | debug_memory_partitions): Move to tree-flow.h | |
12480 | * params.h (AVG_ALIASED_VOPS): Define. | |
12481 | * tree-ssa-alias.c (struct mp_info_def): Remove. Update all | |
12482 | users. | |
12483 | (mp_info_t): Likewise. | |
12484 | (get_mem_sym_stats_for): New. | |
12485 | (set_memory_partition): Move from tree-flow-inline.h. | |
12486 | (mark_non_addressable): Only clear the set of symbols for the | |
12487 | partition if it exists. | |
12488 | (dump_memory_partitions): Move from tree-ssa-operands.c | |
12489 | (debug_memory_partitions): Likewise. | |
12490 | (need_to_partition_p): New. | |
12491 | (dump_mem_ref_stats): New. | |
12492 | (debug_mem_ref_stats): New. | |
12493 | (dump_mem_sym_stats): New. | |
12494 | (debug_mem_sym_stats): New. | |
12495 | (update_mem_sym_stats_from_stmt): New. | |
12496 | (compare_mp_info_entries): New. | |
12497 | (mp_info_cmp): Call it. | |
12498 | (sort_mp_info): Change argument to a list of mem_sym_stats_t | |
12499 | objects. | |
12500 | (get_mpt_for): Move from tree-ssa-operands.c. | |
12501 | (find_partition_for): New. | |
12502 | (create_partition_for): Remove. | |
12503 | (estimate_vop_reduction): New. | |
12504 | (update_reference_counts): New. | |
12505 | (build_mp_info): New. | |
12506 | (compute_memory_partitions): Refactor. | |
12507 | Document new heuristic. | |
12508 | Call build_mp_info, update_reference_counts, | |
12509 | find_partition_for and estimate_vop_reduction. | |
12510 | (compute_may_aliases): Populate virtual operands before | |
12511 | calling debugging dumps. | |
12512 | (delete_mem_sym_stats): New. | |
12513 | (delete_mem_ref_stats): New. | |
12514 | (init_mem_ref_stats): New. | |
12515 | (init_alias_info): Call it. | |
12516 | (maybe_create_global_var): Remove alias_info argument. | |
12517 | Get number of call sites and number of pure/const call sites | |
12518 | from gimple_mem_ref_stats(). | |
12519 | (dump_alias_info): Call dump_memory_partitions first. | |
12520 | (dump_points_to_info_for): Show how many times a pointer has | |
12521 | been dereferenced. | |
12522 | * opts.c (decode_options): For -O2 set --param | |
12523 | max-aliased-vops to 500. | |
12524 | For -O3 set --param max-aliased-vops to 1000 and --param | |
12525 | avg-aliased-vops to 3. | |
12526 | * fortran/options.c (gfc_init_options): Remove assignment to | |
12527 | MAX_ALIASED_VOPS. | |
12528 | * tree-flow-inline.h (gimple_mem_ref_stats): New. | |
12529 | * tree-dfa.c (dump_variable): Dump memory reference | |
12530 | statistics. | |
12531 | Dump NO_ALIAS* settings. | |
12532 | (referenced_var_lookup): Tidy. | |
12533 | (mem_sym_stats): New. | |
12534 | * tree-ssa-copy.c (may_propagate_copy): Return true if DEST | |
12535 | and ORIG are different SSA names for a memory partition. | |
12536 | * tree-ssa.c (delete_tree_ssa): Call delete_mem_ref_stats. | |
12537 | * tree-flow.h (struct mem_sym_stats_d): Define. | |
12538 | (mem_sym_stats_t): Define. | |
12539 | (struct mem_ref_stats_d): Define. | |
12540 | (struct gimple_df): Add field mem_ref_stats. | |
12541 | (enum noalias_state): Define. | |
12542 | (struct var_ann_d): Add bitfield noalias_state. | |
12543 | (mem_sym_stats, delete_mem_ref_stats, dump_mem_ref_stats, | |
12544 | debug_mem_ref_stats, debug_memory_partitions, | |
12545 | debug_mem_sym_stats): Declare. | |
12546 | * tree-ssa-structalias.c (update_alias_info): Update call | |
12547 | sites, pure/const call sites and asm sites in structure | |
12548 | returned by gimple_mem_ref_stats. | |
12549 | Remove local variable IS_POTENTIAL_DEREF. | |
12550 | Increase NUM_DEREFS if the memory expression is a potential | |
12551 | dereference. | |
12552 | Call update_mem_sym_stats_from_stmt. | |
12553 | If the memory references memory, call | |
12554 | update_mem_sym_stats_from_stmt for all the direct memory | |
12555 | symbol references found. | |
12556 | (intra_create_variable_infos): Set noalias_state field for | |
12557 | pointer arguments according to the value of | |
12558 | flag_argument_noalias. | |
12559 | * tree-ssa-structalias.h (struct alias_info): Remove fields | |
12560 | num_calls_found and num_pure_const_calls_found. | |
12561 | (update_mem_sym_stats_from_stmt): Declare. | |
12562 | * params.def (PARAM_MAX_ALIASED_VOPS): Change description. | |
12563 | Set default value to 100. | |
12564 | (PARAM_AVG_ALIASED_VOPS): Define. | |
12565 | ||
516aa37d | 12566 | 2007-04-11 Richard Guenther <rguenther@suse.de> |
12567 | ||
12568 | PR middle-end/31530 | |
12569 | * simplify-rtx.c (simplify_binary_operation_1): Do not simplify | |
12570 | a * -b + c as c - a * b if we honor sign dependent rounding. | |
12571 | ||
2b8e874f | 12572 | 2007-04-11 Bernd Schmidt <bernd.schmidt@analog.com> |
12573 | ||
12574 | * config/bfin/bfin-protos.h (bfin_expand_movmem): Renamed from | |
12575 | bfin_expand_strmov. | |
12576 | * config/bfin/bfin.c (bfin_expand_prologue, bfin_delegitimize_address, | |
12577 | bfin_function_ok_for_sibcall, split_load_immediate): Remove unused | |
12578 | variables. | |
12579 | (initialize_trampoline): Don't use old-style function definition. | |
12580 | (bfin_secondary_reload): Mark IN_P argument as unused. | |
12581 | ||
3e6bc865 | 12582 | 2007-04-10 Sebastian Pop <sebastian.pop@inria.fr> |
12583 | ||
12584 | PR tree-optimization/31343 | |
12585 | * tree-chrec.h (chrec_zerop): Moved before build_polynomial_chrec. | |
12586 | (build_polynomial_chrec): Return a scalar when the evolution is zero. | |
12587 | * testsuite/gcc.dg/vect/pr31343.c: New. | |
12588 | ||
ed01e173 | 12589 | 2007-04-10 Eric Christopher <echristo@apple.com> |
12590 | ||
12591 | * config/i386/i386.h (X87_FLOAT_MODE_P): New. | |
12592 | * config/i386/i386.md (*cmpfp0): Use. | |
12593 | (*cmpfp_u, *cmpfp_<mode>, *cmpfp_i_i387): Ditto. | |
12594 | (*cmpfp_iu_387, fix_trunc<mode>_fisttp_i386_1): Ditto. | |
12595 | (fix_trunc<mode>_i386_fisttp): Ditto. | |
12596 | (fix_trunc<mode>_i387_fisttp_with_temp): Ditto. | |
12597 | (*fix_trunc<mode>_i387_1, fix_truncdi_i387): Ditto. | |
12598 | (fix_truncdi_i387_with_temp, fix_trunc<mode>_i387): Ditto. | |
12599 | (fix_trunc<mode>_i387_with_temp, *fp_jcc_1_387): Ditto. | |
12600 | (*fp_jcc_2_387, *fp_jcc_5_387, *fp_jcc_6_387): Ditto. | |
12601 | (*fp_jcc_7_387, *fp_jcc_8<mode>_387): Ditto. | |
12602 | (unnamed_splitters): Ditto. | |
12603 | * config/i386/i386.c (output_fix_trunc): Assert that | |
12604 | we're not being passed a TFmode operand. | |
12605 | ||
944cca50 | 12606 | 2007-04-10 Zdenek Dvorak <dvorakz@suse.cz> |
12607 | ||
12608 | PR tree-optimization/31526 | |
12609 | * tree-inline.c (copy_cfg_body): Use last_basic_block instead of | |
12610 | n_basic_blocks to find newly added blocks. | |
12611 | ||
c778ae84 | 12612 | 2007-04-10 Uros Bizjak <ubizjak@gmail.com> |
12613 | ||
12614 | * config/i386/i386.md (fix_trunc<mode>di_sse): Remove "x" from "xm" | |
12615 | alternative. | |
12616 | (fix_trunc<mode>si_sse): Ditto. | |
12617 | (*floatsisf2_mixed, *floatsisf2_sse): Ditto. | |
12618 | (*floatsidf2_mixed, *floatsidf2_sse): Ditto. | |
12619 | (*floatdisf2_mixed, *floatdisf2_sse): Ditto. | |
12620 | (*floatdidf2_mixed, *floatdidf2_sse): Ditto. | |
12621 | (floathi<mode>2): Rename from floathisf2 and floathidf2. Macroize | |
12622 | expander using SSEMODEF mode macro. | |
12623 | (floatsi<mode>2): Rename from floatsisf2 and floashidf2. Macroize | |
12624 | expander using SSEMODEF mode macro. | |
12625 | (*floathi<mode>2_i387): Rename from *floathisf2_i387 and | |
12626 | *floathidf2_i387. Macroize insn using X87MODEF12 mode macro. | |
12627 | (*floatsi<mode>2_i387): Rename from *floatsisf2_i387 and | |
12628 | *floatsidf2_i387. Macroize insn using X87MODEF12 mode macro. | |
12629 | (*floatdi<mode>2_i387): Rename from *floatdisf2_i387 and | |
12630 | *floatdidf2_i387. Macroize insn using X87MODEF12 mode macro. | |
12631 | (float<mode>xf2): Rename from floathixf2, floatsixf2 and floatdixf2. | |
12632 | Macroize insn using X87MODEF mode macro. | |
12633 | ||
d8d6e6ac | 12634 | 2007-04-09 H.J. Lu <hongjiu.lu@intel.com> |
12635 | ||
12636 | * config/i386/sse.md (sse2_pinsrw): Removed. | |
12637 | (sse2_pextrw): Renamed to ... | |
12638 | (*sse2_pextrw): This. | |
12639 | ||
cb00447a | 12640 | 2007-04-09 Jan Hubicka <jh@suse.cz> |
12641 | ||
12642 | PR target/27869 | |
12643 | * config/i386/sse.md | |
12644 | (sse_vmaddv4sf3, sse_vmmulv4sf3): Remove '%' modifier. | |
12645 | (sse_vmsmaxv4sf3_finite, sse_vmsminv4sf3_finite): Remove. | |
12646 | (sse2_vmaddv2df3, sse2_vmmulv2df3): Remove '%' modifier. | |
12647 | (sse2_vmsmaxv2df3_finite, sse2_vmsminv2df3_finite): Remove. | |
12648 | ||
d9745cea | 12649 | 2007-04-09 Jan Hubicka <jh@suse.cz> |
12650 | ||
12651 | * tree-ssa-ccp (maybe_fold_offset_to_component_ref): Recurse into | |
12652 | multiple fields of union. | |
12653 | ||
d8a0d6b8 | 12654 | 2007-04-09 Zdenek Dvorak <dvorakz@suse.cz> |
12655 | ||
12656 | * cfgloopmanip.c (create_preheader): Do not use loop_preheader_edge. | |
12657 | (create_preheaders): Check that loops are available. | |
12658 | (fix_loop_structure): Clean up, improve comments. | |
12659 | * tree-ssa-loop-manip.c (rewrite_into_loop_closed_ssa): | |
12660 | Check that loops are available. Set LOOP_CLOSED_SSA to the loops | |
12661 | state flags. | |
12662 | * tree-scalar-evolution.c (scev_finalize): Clear scalar_evolution_info. | |
12663 | * predict.c (tree_estimate_probability): Do not call | |
12664 | calculate_dominance_info. Call create_preheaders. | |
12665 | * tree-cfgcleanup.c (cleanup_tree_cfg_loop): Only call | |
12666 | rewrite_into_loop_closed_ssa if LOOP_CLOSED_SSA is set in loops state | |
12667 | flags. | |
12668 | * cfgloop.c (loop_preheader_edge): Assert that loops have preheaders. | |
12669 | * cfgloop.h (LOOP_CLOSED_SSA): New constant. | |
12670 | * tree-cfg.c (tree_split_edge): Make an assert more precise. | |
12671 | * tree-ssa-threadedge.c (thread_across_edge): Comment the function | |
12672 | arguments. | |
12673 | ||
27290809 | 12674 | 2007-04-08 Jan Hubicka <jh@suse.cz> |
12675 | ||
12676 | * tree.h (maybe_fold_offset_to_component_ref): Declare. | |
12677 | * tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Export. | |
12678 | * fold-const.c (fold_unary): Use it. | |
12679 | ||
bbdc7974 | 12680 | 2007-04-08 Andrew Pinski <andrew_pinski@playstation.sony.com> |
12681 | ||
12682 | * varasm.c (assemble_variable): Remove call to | |
12683 | lang_hooks.decls.prepare_assemble_variable. | |
12684 | * langhooks-def.h (LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE): Kill. | |
12685 | (LANG_HOOKS_DECLS): Remove LANG_HOOKS_PREPARE_ASSEMBLE_VARIABLE. | |
12686 | * langhooks.h (lang_hooks_for_decls): Remove | |
12687 | prepare_assemble_variable. | |
12688 | ||
105eb9b9 | 12689 | 2007-04-08 Mike Stump <mrs@apple.com> |
12690 | ||
12691 | * config/i386/i386.c: Use inc/dec on Core2. | |
12692 | ||
94be3290 | 12693 | 2007-04-08 Steven Bosscher <steven@gcc.gnu.org> |
12694 | ||
12695 | * langhooks.c (lhd_tree_inlining_add_pending_fn_decls, | |
12696 | lhd_tree_inlining_anon_aggr_type_p, lhd_tree_inlining_start_inlining, | |
12697 | lhd_tree_inlining_end_inlining): Remove. | |
12698 | * langhooks.h (struct lang_hooks_for_tree_inlining): Remove then | |
12699 | add_pending_fn_decls, anon_aggr_type_p, start_inlining, and | |
12700 | end_inlining hooks. | |
12701 | * langhooks-def.h (lhd_tree_inlining_add_pending_fn_decls, | |
12702 | lhd_tree_inlining_anon_aggr_type_p, lhd_tree_inlining_start_inlining, | |
12703 | lhd_tree_inlining_end_inlining): Remove prototypes. | |
12704 | (LANG_HOOKS_TREE_INLINING_ADD_PENDING_FN_DECLS, | |
12705 | LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P, | |
12706 | LANG_HOOKS_TREE_INLINING_START_INLINING, | |
12707 | LANG_HOOKS_TREE_INLINING_END_INLINING): Remove. | |
12708 | ||
12709 | * c-objc-common.h (LANG_HOOKS_TREE_INLINING_ANON_AGGR_TYPE_P): Do | |
12710 | not set it. | |
12711 | ||
8e5f08fe | 12712 | 2007-04-08 Anatoly Sokolov <aesok@post.ru> |
12713 | ||
12714 | PR target/29932 | |
12715 | * config/avr/predicates.md (io_address_operand): Delete predicate. | |
12716 | (low_io_address_operand): Don't use 'mode' argument. | |
12717 | (higth_io_address_operand): Rename ... | |
12718 | (high_io_address_operand): ... to this. Don't use 'mode' argument. | |
12719 | * config/avr/avr.md (*sbix_branch_tmp, *sbix_branch_tmp_bit7): Adjust | |
12720 | for above change. | |
12721 | ||
cf484390 | 12722 | 2007-04-07 Daniel Berlin <dberlin@dberlin.org> |
12723 | ||
12724 | Revert change removing staticp. | |
12725 | ||
4704b743 | 12726 | 2007-04-07 Anatoly Sokolov <aesok@post.ru> |
12727 | ||
12728 | PR target/30289 | |
ed01e173 | 12729 | * config/avr/avr.md (*clrmemqi, *clrmemhi): Mark operand 4 as |
4704b743 | 12730 | earlyclobber. |
12731 | ||
0e9b4e74 | 12732 | 2007-04-07 Bruce Korb <bkorb@gnu.org> |
12733 | ||
12734 | * c.opt: Add -Wformat-contains-nul. | |
12735 | * c-format.c (set_Wformat): Set warn_format_contains_nul to the | |
12736 | -Wformat setting. | |
12737 | (check_format_info_main): Check OPT_Wformat_contains_nul before emitting | |
12738 | the NUL byte warning. | |
12739 | ||
918ee506 | 12740 | 2007-04-07 H.J. Lu <hongjiu.lu@intel.com> |
12741 | ||
12742 | * config/i386/i386.c (ix86_handle_option): Handle SSSE3. | |
12743 | ||
57d1a308 | 12744 | 2007-04-06 Daniel Berlin <dberlin@dberlin.org> |
12745 | ||
12746 | * tree.c (staticp): No longer use staticp langhook. | |
12747 | * langhooks.c (lhd_staticp): Removed. | |
12748 | * langhooks.h (struct lang_hooks): Remove staticp. | |
12749 | * c-common.c (c_staticp): Remove. | |
12750 | * c-common.h (c_staticp): Ditto. | |
12751 | * langhooks-defs.h (lhd_staticp): Ditto. | |
12752 | (LHD_HOOKS_STATICP): Ditto | |
12753 | * tree.h (gcc_assert_lowered): New macro. | |
12754 | ||
d97e22fb | 12755 | 2007-04-06 Zdenek Dvorak <dvorakz@suse.cz> |
12756 | ||
12757 | * tree-ssa-loop-niter.c (idx_infer_loop_bounds): Add and use | |
12758 | argument "reliable". | |
12759 | (infer_loop_bounds_from_ref, infer_loop_bounds_from_array): | |
12760 | Add argument "reliable". Propagate it through calls. | |
12761 | (infer_loop_bounds_from_undefined): Derive number of iterations | |
12762 | estimates from references in blocks that do not dominate loop latch. | |
12763 | (gcov_type_to_double_int): New function. | |
12764 | (estimate_numbers_of_iterations_loop): Use gcov_type_to_double_int | |
12765 | and expected_loop_iterations_unbounded. | |
12766 | * cfgloopanal.c (expected_loop_iterations_unbounded): New function. | |
12767 | (expected_loop_iterations): Use expected_loop_iterations_unbounded. | |
12768 | * tree-data-ref.c (estimated_loop_iterations): Export. | |
12769 | (get_references_in_stmt): Fix -- do not return addresses of local | |
12770 | objects. | |
12771 | * cfgloop.h (expected_loop_iterations_unbounded, | |
12772 | estimated_loop_iterations): Declare. | |
12773 | ||
fe0b46c1 | 12774 | 2007-04-06 Andreas Tobler <a.tobler@schweiz.org> |
12775 | ||
12776 | * tree-sra.c (sra_build_elt_assignment): Initialize min/maxshift. | |
12777 | ||
9926a1b3 | 12778 | 2007-04-06 Uros Bizjak <ubizjak@gmail.com> |
12779 | ||
12780 | * config/i386/i386.md (extend<mode>xf2): Rename from extendsfxf2 | |
12781 | and extenddfxf2. Macroize expander using X87MODEF12 mode macro. | |
12782 | (*truncdfsf_mixed, *truncdfsf_i387, *truncdfsf2_i387_1): | |
12783 | Use output_387_reg_move(). | |
12784 | (*truncxf<mode>2): Rename from *truncxfsf2 and truncxfdf2. Macroize | |
12785 | expander using X87MODEF12 mode macro. | |
12786 | (*truncxfsf2_mixed): Combine alternatives, ignore "r" alternative when | |
12787 | choosing register preferences. Use output_387_reg_move(). | |
12788 | (*truncxfdf2_mixed): Combine alternatives, use "r" alternative | |
12789 | instead of "x". Use output_387_reg_move(). | |
12790 | (*truncxf<mode>2_i387_noop): Rename from *truncxfsf2_i387_noop and | |
12791 | *truncxfdf2_i387_noop. Macroize insn using X87MODEF12 mode macro. | |
12792 | (*truncxf<mode>2_i387): Rename from *truncxfsf2_i387 and | |
12793 | *truncxfdf2_i387. Macroize insn using X87MODEF12 mode macro. | |
12794 | Use output_387_reg_move(). | |
12795 | (*truncxf?f_mixed splitter): Macroize splitter using X87MODEF12 | |
12796 | mode macro. | |
12797 | (*truncxf?f_i387 splitter): Ditto. | |
12798 | ||
b140c9fd | 12799 | 2007-04-06 Daniel Berlin <dberlin@dberlin.org> |
12800 | ||
12801 | * langhooks-def.h (LANG_HOOKS_INITIALIZER): Remove | |
12802 | LANG_HOOKS_SAFE_FROM_P. | |
12803 | * expr.c (safe_from_p): Remove langhook call. | |
12804 | * langhooks.h (lang_hooks): Remove safe_from_p. | |
12805 | (lhd_safe_from_p): Remove prototype. | |
12806 | * langhooks.c (lhd_safe_from_p): Remove. | |
ed01e173 | 12807 | |
316ef6d8 | 12808 | 2007-04-06 Jan Hubicka <jh@suse.cz> |
12809 | ||
12810 | * cgraphunit.c (decide_is_function_needed): Do not keep always_inline | |
12811 | functions. | |
12812 | ||
4c756287 | 12813 | 2007-04-06 Uros Bizjak <ubizjak@gmail.com> |
12814 | ||
12815 | * config/i386/i386.c (output_387_reg_move): Handle memory operand[0]. | |
12816 | * config/i386/i386.md (*movsf_1, *movdf_nointeger, | |
12817 | *movdf_integer_rex64, *movdf_integer, *movxf_nointeger, | |
12818 | *movxf_integer): Use output_387_reg_move() for x87 reg->mem | |
12819 | alternative. | |
12820 | (*extendsfdf2_mixed, *extendsfdf2_i387, *extendsfxf2_i387, | |
12821 | *extenddfxf2_i387, *truncdfsf_fast_mixed): Ditto. | |
12822 | ||
32a8f747 | 12823 | 2007-04-05 Richard Henderson <rth@redhat.com> |
12824 | ||
12825 | * config/alpha/alpha.c (print_operand) [+]: Remove. | |
12826 | (alpha_end_function): Print nop if call at end of function. | |
12827 | * config/alpha/alpha.h (PRINT_OPERAND_PUNCT_VALID_P): Remove +. | |
12828 | * config/alpha/alpha.md (UNSPEC_LDGP1): New. | |
12829 | (call_osf_1_er_noreturn, call_value_osf_1_er_noreturn): New. | |
12830 | (call_osf_2_er_nogp, call_value_osf_2_er_nogp): New. | |
12831 | (call_osf_2_er, call_value_osf_2_er): Merge the ldgp highpart into | |
12832 | the call pattern. Update peepholes to match. | |
12833 | ||
004e23c4 | 12834 | 2007-04-05 Janis Johnson <janis187@us.ibm.com> |
12835 | ||
12836 | * doc/extend.texi (Other Builtins): Add decimal float variants | |
12837 | of signbit. | |
12838 | * builtins.def: Ditto. | |
12839 | * builtins.c (expand_builtin): Ditto. | |
12840 | ||
70169283 | 12841 | 2007-04-05 Uros Bizjak <ubizjak@gmail.com> |
12842 | H.J. Lu <hongjiu.lu@intel.com> | |
12843 | ||
12844 | PR target/31478 | |
12845 | * config/i386/sse.md (sse2_umulv2siv2di3): Use V4SImode instead | |
12846 | of V8HImode when calling ix86_binary_operator_ok. | |
12847 | (sse2_pmaddwd): Call ix86_binary_operator_ok. | |
12848 | (sdot_prodv8hi): Operands 1 and 2 must be register. | |
12849 | ||
f3e8be3e | 12850 | 2007-04-05 Alexandre Oliva <aoliva@redhat.com> |
12851 | ||
12852 | * tree-sra.c (try_instantiate_multiple_fields): Needlessly | |
12853 | initialize align to silence bogus warning. | |
12854 | ||
2e4b8bcd | 12855 | 2007-04-05 Alexandre Oliva <aoliva@redhat.com> |
12856 | ||
12857 | PR middle-end/22156 | |
12858 | * tree-sra.c (struct sra_elt): Add in_bitfld_block. Remove | |
12859 | all_no_warning. | |
12860 | (struct sra_walk_fns): Remove use_all parameter from use. | |
12861 | (sra_hash_tree): Handle BIT_FIELD_REFs. | |
12862 | (sra_elt_hash): Don't hash bitfld blocks. | |
12863 | (sra_elt_eq): Skip them in parent compares as well. Handle | |
12864 | BIT_FIELD_REFs. | |
12865 | (sra_walk_expr): Don't maintain or pass down use_all_p. | |
12866 | (scan_use): Remove use_all parameter. | |
12867 | (scalarize_use): Likewise. Re-expand assignment to | |
12868 | BIT_FIELD_REF of gimple_reg. De-scalarize before input or | |
12869 | output, and re-scalarize after output. Don't mark anything | |
12870 | for no warning. | |
12871 | (scalarize_ldst): Adjust. | |
12872 | (scalarize_walk_gimple_modify_statement): Likewise. | |
12873 | (build_element_name_1): Handle BIT_FIELD_REFs. | |
12874 | (instantiate_element): Don't warn for any element whose parent | |
12875 | is used as a whole. | |
12876 | (instantiate_missing_elements_1): Return the sra_elt. | |
12877 | (canon_type_for_field): New. | |
12878 | (try_instantiate_multiple_fields): New. | |
12879 | (instantiate_missing_elemnts): Use them. | |
12880 | (mark_no_warning): Removed. | |
12881 | (generate_one_element_ref): Handle BIT_FIELD_REFs. | |
12882 | (REPLDUP, sra_build_elt_assignment): New. | |
12883 | (generate_copy_inout): Use them. | |
12884 | (generate_element_copy): Likewise. Handle bitfld differences. | |
12885 | (generate_element_zero): Don't recurse for blocks. Use | |
12886 | sra_build_elt_assignment. | |
12887 | (generate_one_element_int): Take elt instead of var. Use | |
12888 | sra_build_elt_assignment. | |
12889 | (generate_element_init_1): Adjust. | |
12890 | (scalarize_use, scalarize_copy): Use REPLDUP. | |
12891 | (scalarize_ldst): Move assert before dereference. | |
12892 | (dump_sra_elt_name): Handle BIT_FIELD_REFs. | |
12893 | ||
2a515194 | 12894 | 2007-04-05 Steven Bosscher <steven@gcc.gnu.org> |
12895 | ||
12896 | * regmove.c: Fix unused variable warnings due to previous commit. | |
12897 | ||
f9f428c6 | 12898 | 2007-04-05 Steven Bosscher <steven@gcc.gnu.org> |
12899 | ||
12900 | * regmove.c (STACK_GROWS_DOWNWARD): Don't boolean-ize. | |
12901 | (regmove_bb_head): Remove. | |
12902 | (copy_src_to_dest): Don't update regmove_bb_head and BB_HEAD. | |
12903 | (regmove_optimize): Don't do unnecessary CFG fixes for non-existing | |
12904 | problems with fixup_match_1. | |
12905 | Don't initialize/free regmove_bb_head. | |
12906 | ||
12907 | (reg_is_remote_constant_p): If an insn is in the same basic block | |
12908 | but not before INSN, consider it remote, too. | |
12909 | ||
0d528483 | 12910 | 2007-04-05 Anatoly Sokolov <aesok@post.ru> |
12911 | ||
12912 | PR target/25448 | |
ed01e173 | 12913 | * config/avr/avr.c (avr_handle_fndecl_attribute): Use the |
0d528483 | 12914 | DECL_ASSEMBLER_NAME, not the DECL_NAME. |
12915 | ||
9f525417 | 12916 | 2007-04-05 H.J. Lu <hongjiu.lu@intel.com> |
12917 | ||
12918 | * config/i386/i386.h (TARGET_CPU_CPP_BUILTINS): Reformat. | |
12919 | (CONDITIONAL_REGISTER_USAGE): Likewise. | |
12920 | ||
de13ca97 | 12921 | 2007-04-04 Richard Henderson <rth@redhat.com> |
12922 | ||
12923 | * config/alpha/lib1funcs.asm: Remove unused file. | |
12924 | ||
7fbbfa9f | 12925 | 2007-04-04 Brooks Moses <brooks.moses@codesourcery.com> |
12926 | ||
12927 | PR other/31356 | |
12928 | * opts.c (print_specific_help): Fix --help=<language> | |
12929 | header line. | |
12930 | (common_handle_option): Support --help=common. | |
12931 | ||
4b70b183 | 12932 | 2007-04-04 Brooks Moses <brooks.moses@codesourcery.com> |
12933 | ||
12934 | PR other/31353 | |
12935 | * gcc.c (main): Do not run the linker if | |
12936 | print_subprocess_help indicates that it shouldn't be | |
12937 | run. | |
12938 | ||
a1d3fae9 | 12939 | 2007-04-04 Brooks Moses <brooks.moses@codesourcery.com> |
12940 | ||
12941 | PR doc/31355 | |
12942 | * doc/invoke.texi (--help=): Document <languages> value, fix | |
12943 | formatting in tables of values. | |
12944 | ||
f5b1f90b | 12945 | 2007-04-04 Danny Smith <dannysmith.users.sourceforge.net> |
12946 | ||
12947 | * config/i386/winnt-cxx.c (i386_pe_type_dllimport_p): Don't ignore | |
12948 | dllimport attribute of virtual methods. | |
12949 | ||
0875e592 | 12950 | 2007-04-04 Chen Liqin <liqin@sunnorth.com.cn> |
12951 | ||
e865d428 | 12952 | * config/score/crti.asm: Change _bss_start to __bss_start. |
12953 | * config/score/score.h (CONDITIONAL_REGISTER_USAGE): Added. | |
12954 | (OUTGOING_REG_PARM_STACK_SPACE) update. | |
12955 | * config/score/score.opt: add options to make backend support | |
12956 | score5, score5u, score7 and score7d. | |
12957 | * config/score/score.md: Likewise. | |
12958 | * config/score/misc.md: Likewise. | |
12959 | * config/score/mac.md: Likewise. | |
12960 | * doc/invoke.texi: Likewise. | |
12961 | * doc/md.texi: update constraints define. | |
0875e592 | 12962 | |
a4521f7e | 12963 | 2007-04-03 Richard Henderson <rth@redhat.com> |
12964 | ||
12965 | * expr.c (store_expr): If get_signed_or_unsigned_type doesn't yield | |
12966 | an appropriate type, use the mode instead. | |
12967 | ||
223f6dbc | 12968 | 2007-04-03 Richard Sandiford <richard@codesourcery.com> |
12969 | ||
12970 | * config.gcc (mips-wrs-vxworks): Add vx-common.h to tm_file. | |
12971 | Set the default --with-arch setting to mips2. | |
12972 | * config/mips/t-vxworks (MULTILIB_OPTIONS, MULTILIB_MATCHES) | |
12973 | (MULTILIB_EXCEPTIONS): Redefine with new multilibs. | |
12974 | (MULTILIB_OSDIRNAMES): Delete. | |
12975 | (MULTILIB_DIRNAMES): Define. | |
12976 | * config/mips/vxworks.h (LINK_SPEC): Add VXWORKS_LINK_SPEC. | |
12977 | (LIB_SPEC, STARTFILE_SPEC, ENDFILE_SPEC): Define. | |
12978 | (TARGET_OS_CPP_BUILTINS): Incorporate old SUBTARGET_CPP_SPEC | |
12979 | definitions, except for _WRS_R3K_EXC_SUPPORT. Call | |
12980 | VXWORKS_OS_CPP_BUILTINS. | |
12981 | (SUBTARGET_CPP_SPEC): Redefine to VXWORKS_ADDITIONAL_CPP_SPEC. | |
12982 | (MIPS_DEBUGGING_INFO): Undefine. | |
12983 | (FUNCTION_PROFILER): Define to VXWORKS_FUNCTION_PROFILER. | |
12984 | ||
f83924bb | 12985 | 2007-04-03 Jakub Jelinek <jakub@redhat.com> |
12986 | ||
12987 | PR middle-end/30704 | |
12988 | * fold-const.c (native_encode_real): Encode real.c provided longs | |
12989 | as a series of 32-bit native integers. | |
12990 | (native_interpret_real): Interpret buffer as a series of 32-bit | |
12991 | native integers. | |
12992 | ||
b0ecf094 | 12993 | 2007-04-03 Richard Guenther <rguenther@suse.de> |
12994 | ||
12995 | * genpreds.c (write_insn_constraint_len): Write function | |
12996 | optimized for CONSTRAINT_LEN implementation. | |
12997 | (write_tm_preds_h): Output insn_constraint_len inline and | |
12998 | use it for CONSTRAINT_LEN. | |
12999 | (write_insn_preds_c): Don't output insn_constraint_len. | |
13000 | * doc/md.texi (define_register_constraint): Document multi-letter | |
13001 | constraints shall have the same length if they start with the same | |
13002 | letter. | |
13003 | ||
79959616 | 13004 | 2007-04-03 Uros Bizjak <ubizjak@gmail.com> |
13005 | ||
13006 | PR target/31175 | |
13007 | * config/i386/i386.md (isinf<mode>2): Expand only when | |
13008 | TARGET_C99_FUNCTIONS is set. | |
13009 | ||
6d057ce8 | 13010 | 2007-04-03 Uros Bizjak <ubizjak@gmail.com> |
13011 | ||
13012 | * config.gcc (i[34567]86-*-linux*): Add i386/t-crtpc to tm-file. | |
13013 | (x86_64-*-linux*): Ditto. | |
13014 | * config/i386/i386.opt (mpc): New option. | |
13015 | * config/i386/i386.c (overrride_options): Handle | |
13016 | ix87_precision_string. | |
13017 | * config/i386/crtprec.c: New file. | |
13018 | * config/i386/t-crtpc: Ditto. | |
13019 | * config/i386/linux.h (ENDFILE_SPEC): Add handling of -mpc32, -mpc64 | |
13020 | and -mpc80 options. | |
13021 | * config/i386/linux64.h (ENDFILE_SPEC): Ditto. | |
13022 | * config/i386/t-linux64 (EXTRA_MULTILIB_PARTS): Add | |
13023 | crtprec32.o, crtprec64.o and crtprec80.o. | |
13024 | ||
13025 | * doc/invoke.texi (Machine Dependent Options): Add -mpc32, -mpc64 | |
13026 | and -mpc80 options. | |
13027 | (i386 and x86-64 Options): Document -mpc32, -mpc64 and -mpc80 options. | |
13028 | ||
924dc384 | 13029 | 2007-04-02 Eric Christopher <echristo@apple.com> |
13030 | ||
13031 | * doc/invoke.texi (i386 and x86-64 Options): Document -m64 | |
13032 | limitations on darwin. | |
13033 | ||
ba92127f | 13034 | 2007-04-02 Anatoly Sokolov <aesok@post.ru> |
13035 | ||
13036 | PR target/31137 | |
13037 | * config/avr/avr.c (avr_rtx_costs): Add missing 'break' statements. | |
13038 | ||
8995c1df | 13039 | 2007-04-02 Dave Korn <dave.korn@artimi.com> |
13040 | ||
bda7c187 | 13041 | * doc/tm.texi (FUNCTION_MODE): Update and extend documentation. |
924dc384 | 13042 | |
ac7d39a1 | 13043 | 2007-04-02 Dave Korn <dave.korn@artimi.com> |
13044 | ||
bda7c187 | 13045 | * libgcc2.h (exception_descriptor): Don't forward-declare. |
13046 | (__get_eh_table_language, __get_eh_table_version): Delete | |
ac7d39a1 | 13047 | prototypes of long-dead functions. |
13048 | ||
bcb0e3ff | 13049 | 2007-04-01 Daniel Berlin <dberlin@dberlin.org> |
13050 | ||
13051 | * ebitmap.h: New file | |
13052 | * ebitmap.c: New file | |
13053 | * Makefile.in (ebitmap.o): New target. | |
13054 | ||
4486418e | 13055 | 2007-04-01 Jan Hubicka <jh@suse.cz> |
13056 | ||
13057 | * emit-rtl.c (emit_insn_before_setloc): Do not ICE when asked to emit | |
13058 | before very first instruction. | |
13059 | ||
13060 | 2007-04-01 Jan Hubicka <jh@suse.cz> | |
13061 | ||
13062 | * ggc-page.c (ggc_print_statistics): Fix formatting string to avoid | |
13063 | waring on 64bit hosts. | |
13064 | * bitmap.h: Fix typo in bitmap_head_def. | |
13065 | ||
6ca330f8 | 13066 | 2007-04-01 Steven Bosscher <steven@gcc.gnu.org> |
13067 | ||
13068 | PR rtl-optimization/31391 | |
13069 | * cfgcleanup.c (try_optimize_cfg): If a removed label is turned | |
13070 | into a DELETED_LABEL note, and the label is in an empty basic | |
13071 | block, update BB_END as well as BB_HEAD. | |
13072 | ||
6291249b | 13073 | 2007-04-01 Richard Henderson <rth@redhat.com> |
13074 | ||
13075 | PR tree-optimization/31169 | |
13076 | * tree-vrp.c (extract_range_from_binary_expr) <RSHIFT_EXPR>: Drop | |
13077 | to varying if the range is outside [0, prec-1]. | |
13078 | ||
34a43822 | 13079 | 2007-04-01 Richard Sandiford <richard@codesourcery.com> |
13080 | ||
13081 | PR target/31388 | |
13082 | * config/mips/mips.md (load_const_gp): New insn. | |
13083 | * config/mips/mips.c (mips_split_symbol): Avoid using or creating | |
13084 | the MIPS16 GP pseudo register if no_new_pseudos. | |
13085 | (mips16_gp_pseudo_reg): Use gen_load_const_gp. | |
13086 | ||
0eafba8d | 13087 | 2007-03-31 Andrew Pinski <andrew_pinski@playstation.sony.com> |
13088 | ||
13089 | PR target/31364 | |
13090 | * config/rs6000/rs6000.md (call): Convert to LR hard reg for | |
13091 | secureplt. | |
13092 | (call_value): Likewise. | |
13093 | ||
42cef9df | 13094 | 2007-03-31 Wolfgang Bangerth <bangerth@dealii.org> |
6d057ce8 | 13095 | Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
42cef9df | 13096 | |
13097 | PR 14737 | |
13098 | * doc/invoke.texi: (optimization options): Reword description | |
13099 | of -ffast-math. Document its primary purpose. | |
924dc384 | 13100 | |
e3022db7 | 13101 | 2007-03-31 Richard Guenther <rguenther@suse.de> |
13102 | ||
13103 | * omp-low.c (splay-tree.h): Include. | |
13104 | (lookup_decl): Replace splay-tree usage by pointer-map. | |
13105 | (maybe_lookup_decl): Likewise. | |
13106 | (new_omp_context): Likewise. | |
13107 | (delete_omp_context): Likewise. | |
13108 | * gimplify.c (splay-tree.h): Include. | |
13109 | * tree-inline.c (insert_decl_map): Replace splay-tree usage by | |
13110 | pointer-map. | |
13111 | (remap_ssa_name): Likewise. | |
13112 | (remap_decl): Likewise. | |
13113 | (remap_type_1): Likewise. | |
13114 | (remap_type): Likewise. | |
13115 | (copy_body_r): Likewise. | |
13116 | (expand_call_inline): Likewise. | |
13117 | (clone_body): Likewise. | |
13118 | (copy_tree_r): Likewise. | |
13119 | (remap_save_expr): Likewise. | |
13120 | (unsave_r): Likewise. | |
13121 | (unsave_expr_now): Likewise. | |
13122 | (tree_function_versioning): Likewise. | |
13123 | (build_duplicate_type): Likewise. | |
13124 | * tree-inline.h (pointer-set.h): Include instead of splay-tree.h. | |
13125 | (struct copy_body_data): Replace splay-tree by pointer-map. | |
13126 | * Makefile.in (TREE_INLINE_H): Depend on pointer-map.h, | |
13127 | not $(SPLAY_TREE_H). | |
13128 | (gimplify.o): Depend on $(SPLAY_TREE_H). | |
13129 | (omp-low.p): Likewise. | |
13130 | ||
db54c785 | 13131 | 2007-03-31 Anatoly Sokolov <aesok@post.ru> |
13132 | ||
924dc384 | 13133 | * config/avr/predicates.md (even_register_operand, |
db54c785 | 13134 | odd_register_operand): New predicates. |
13135 | * config/avr/avr.md (movw peephole2): New. | |
13136 | (movw_r peephole2): New. | |
13137 | ||
81e897e4 | 13138 | 2007-03-30 Rafael Avila de Espindola <espindola@google.com> |
13139 | ||
13140 | * tree.h (get_signed_or_unsigned_type): New. | |
13141 | * fold-const.c (operand_equal_for_comparison_p): Use | |
13142 | get_signed_or_unsigned_type instead of | |
13143 | lang_hooks.types.signed_or_unsigned_type. | |
13144 | * expr.c (store_expr): Ditto. | |
13145 | * langhooks.c (get_signed_or_unsigned_type): New. | |
13146 | (lhd_signed_or_unsigned_type): New. | |
13147 | * langhooks.h (lhd_signed_or_unsigned_type): New. | |
13148 | * langhooks-def.h (LANG_HOOKS_SIGNED_OR_UNSIGNED_TYPE): Define. | |
13149 | ||
0bbe9142 | 13150 | 2007-03-30 Richard Henderson <rth@redhat.com> |
13151 | ||
13152 | * tree-ssa-loop-ivopts.c: Include target.h. | |
13153 | (produce_memory_decl_rtl): Pass the rtx through encode_section_info. | |
13154 | (get_address_cost): Force SYMBOL_FLAG_LOCAL set. | |
13155 | (force_expr_to_var_cost): Use produce_memory_decl_rtl. | |
13156 | * Makefile.in (tree-ssa-loop-ivopts.o): Depend on TARGET_H. | |
13157 | ||
13158 | 2007-03-30 Richard Henderson <rth@redhat.com> | |
13159 | Kai Tietz <kai.tietz@onevision.com> | |
13160 | ||
13161 | * config/i386/cygming.h (DWARF2_DEBUGGING_INFO): Enable by | |
13162 | default for 64-bit. | |
13163 | (PREFERRED_DEBUGGING_TYPE): Prefer dwarf2 for 64-bit. | |
13164 | (TARGET_64BIT_MS_ABI): New. | |
13165 | (DBX_REGISTER_NUMBER): Handle 64-bit. | |
13166 | (SIZE_TYPE, PTRDIFF_TYPE): Use long long for 64-bit. | |
13167 | (LONG_TYPE_SIZE): Force to 32. | |
13168 | (REG_PARM_STACK_SPACE): New. | |
13169 | (OUTGOING_REG_PARM_STACK_SPACE): New. | |
13170 | (REGPARM_MAX, SSE_REGPARM_MAX): New. | |
13171 | (HANDLE_PRAGMA_PUSH_POP_MACRO): New. | |
13172 | (STACK_BOUNDARY): Use 128 for 64-bit. | |
13173 | * config/i386/cygwin.asm: Use push/ret to preserve call stack. | |
13174 | Add 64-bit implementation. | |
13175 | * config/i386/gthr-win32.c (__gthr_win32_key_create): Mark dtor | |
13176 | argument unused. | |
13177 | * config/i386/i386.c (x86_64_ms_abi_int_parameter_registers): New. | |
13178 | (override_options): Set ix86_cmodel for TARGET_64BIT_MS_ABI. | |
13179 | Warn for -mregparm, -mrtd in 64-bit mode; force ix86_regparm | |
13180 | for 64-bit; use TARGET_SUBTARGET64_DEFAULT. | |
13181 | (ix86_handle_cconv_attribute): Don't warn when ignoring if | |
13182 | TARGET_64BIT_MS_ABI. | |
13183 | (ix86_function_arg_regno_p): Handle TARGET_64BIT_MS_ABI. | |
13184 | (ix86_pass_by_reference): Likewise. | |
13185 | (ix86_function_value_regno_p): Likewise. | |
13186 | (ix86_build_builtin_va_list): Likewise. | |
13187 | (ix86_va_start, ix86_gimplify_va_arg): Likewise. | |
13188 | (function_arg_advance_ms_64): New. | |
13189 | (function_arg_advance): Call it. | |
13190 | (function_arg_ms_64): New. | |
13191 | (function_arg): Call it. | |
13192 | (function_value_ms_64): New. | |
13193 | (ix86_function_value_1): Call it. | |
13194 | (return_in_memory_ms_64): New. | |
13195 | (ix86_return_in_memory): Call it. | |
13196 | (setup_incoming_varargs_ms_64): New. | |
13197 | (ix86_setup_incoming_varargs): Call it. | |
13198 | (ix86_expand_prologue): Handle 64-bit stack probing. | |
13199 | (legitimize_pic_address): Handle TARGET_64BIT_MS_ABI. | |
13200 | (output_pic_addr_const): Likewise. | |
13201 | (x86_this_parameter): Likewise. | |
13202 | (x86_output_mi_thunk): Likewise. | |
13203 | (x86_function_profiler): Likewise. | |
13204 | (TARGET_STRICT_ARGUMENT_NAMING): New. | |
13205 | * config/i386/i386.h (TARGET_SUBTARGET64_DEFAULT): New. | |
13206 | (TARGET_64BIT_MS_ABI): New. | |
13207 | (CONDITIONAL_REGISTER_USAGE): Handle TARGET_64BIT_MS_ABI. | |
13208 | * config/i386/i386.md (allocate_stack_worker): Remove. | |
13209 | (allocate_stack_worker_32): Rename from allocate_stack_worker_1; | |
13210 | describe the clobber of eax without a match_scratch. | |
13211 | (allocate_stack_worker_postreload): Remove. | |
13212 | (allocate_stack_worker_64): Rename from allocate_stack_worker_rex64; | |
13213 | describe the clobbers of rax, r10, r11 properly; use __chkstk symbol. | |
13214 | (allocate_stack_worker_rex64_postreload): Remove. | |
13215 | (allocate_stack): Handle 64-bit. | |
13216 | * config/i386/i386elf (TARGET_SUBTARGET_DEFAULT): Remove. | |
13217 | * config/i386/mingw32.h (TARGET_VERSION): Set correctly for 64-bit. | |
13218 | (EXTRA_OS_CPP_BUILTINS): Handle 64-bit. | |
13219 | (STANDARD_INCLUDE_DIR): Handle TARGET_64BIT_DEFAULT. | |
13220 | (STANDARD_STARTFILE_PREFIX_1): Likewise. | |
13221 | * config/i386/unix.h (TARGET_SUBTARGET64_DEFAULT): New. | |
13222 | * config.build (x86_64-*-mingw*): New host. | |
13223 | * config.host (x86_64-*-mingw*): New host. | |
13224 | * config.gcc (x86_64-*-mingw*): New target. | |
13225 | * gthr-win32.h (__gthread_key_create): Mark dtor unused. | |
13226 | ||
3fa3949d | 13227 | 2007-03-30 Richard Henderson <rth@redhat.com> |
13228 | Kai Tietz <kai.tietz@onevision.com> | |
13229 | ||
13230 | * c-pragma.c (struct def_pragma_macro_value): New. | |
13231 | (struct def_pragma_macro): New. | |
13232 | (pushed_macro_table): New. | |
13233 | (dpm_hash, dpm_eq): New. | |
13234 | (handle_pragma_push_macro, handle_pragma_pop_macro): New. | |
13235 | (init_pragma): Install them. | |
13236 | * doc/tm.texi (HANDLE_PRAGMA_PUSH_POP_MACRO): New. | |
13237 | ||
6e9e3dbe | 13238 | 2007-03-30 Anatoly Sokolov <aesok@post.ru> |
13239 | ||
924dc384 | 13240 | * config/avr/avr.c (avr_override_options): Clear |
6e9e3dbe | 13241 | 'flag_delete_null_pointer_checks'. |
13242 | ||
481451eb | 13243 | 2007-03-30 Paolo Carlini <pcarlini@suse.de> |
13244 | ||
13245 | PR c++/26099 | |
13246 | * c-common.h (enum rid): Add RID_HAS_NOTHROW_ASSIGN, | |
13247 | RID_HAS_NOTHROW_CONSTRUCTOR, RID_HAS_NOTHROW_COPY, | |
13248 | RID_HAS_TRIVIAL_ASSIGN, RID_HAS_TRIVIAL_CONSTRUCTOR, | |
13249 | RID_HAS_TRIVIAL_COPY, RID_HAS_TRIVIAL_DESTRUCTOR, | |
13250 | RID_HAS_VIRTUAL_DESTRUCTOR, RID_IS_ABSTRACT, RID_IS_BASE_OF, | |
13251 | RID_IS_CONVERTIBLE_TO, RID_IS_CLASS, RID_IS_EMPTY, RID_IS_ENUM, | |
13252 | RID_IS_POD, RID_IS_POLYMORPHIC, RID_IS_UNION, as | |
13253 | C++ extensions. | |
13254 | * doc/extend.texi (Extensions to the C++ Language): Add Type Traits. | |
13255 | ||
e1caca42 | 13256 | 2007-03-30 Steven Bosscher <steven@gcc.gnu.org> |
13257 | ||
13258 | * regmove.c: Move all of pass_stack_adjustments from here... | |
13259 | * combine-stack-adj.c: ...to this new file. | |
13260 | * Makefile.in: Add rules for combine-stack-adj.o. | |
13261 | ||
de33470d | 13262 | 2007-03-30 Zdenek Dvorak <dvorakz@suse.cz> |
13263 | ||
13264 | PR tree-optimization/31383 | |
ed69c853 | 13265 | * tree-data-ref.c (affine_function_equal_p): Do not require the |
13266 | vectors to have the same length. | |
de33470d | 13267 | |
5615be0f | 13268 | 2007-03-30 Jan Hubicka <jh@suse.cz> |
13269 | ||
b2e3c5f9 | 13270 | PR middle-end/30700 |
924dc384 | 13271 | * dwarf2out.c (reference_to_unused): Ask cgraph for functions |
5615be0f | 13272 | availablility; add more sanity checking; ask varpool only about |
13273 | VAR_DECL. | |
13274 | ||
9c0794a1 | 13275 | 2007-03-29 Richard Henderson <rth@redhat.com> |
13276 | ||
13277 | * unwind-generic.h (_sleb128_t, _uleb128_t): Don't use HAVE_LONG_LONG | |
13278 | to decide, but __SIZEOF_LONG_LONG__. | |
13279 | ||
bedbe58b | 13280 | 2007-03-29 Richard Henderson <rth@redhat.com> |
13281 | ||
13282 | * emutls.c (struct __emutls_array): New. | |
13283 | (emutls_destroy): Use it instead of casting element 0 from void*. | |
13284 | (__emutls_get_address): Likewise. | |
13285 | ||
dd1a226e | 13286 | 2007-03-29 Richard Henderson <rth@redhat.com> |
13287 | ||
13288 | * varasm.c (initializer_constant_valid_p): Don't deny | |
13289 | DECL_DLLIMPORT_P on functions. | |
13290 | ||
13291 | * config/i386/cygming.h: Remove function declarations. | |
13292 | (SUBTARGET_ENCODE_SECTION_INFO): Don't undef first. | |
13293 | (ASM_OUTPUT_LABELREF): Remove. | |
13294 | (COMMON_ASM_OP): Remove. | |
13295 | (ASM_OUTPUT_COMMON): Remove. | |
13296 | (ASM_OUTPUT_ALIGNED_DECL_COMMON): New. | |
13297 | (ASM_DECLARE_OBJECT_NAME): Use i386_pe_maybe_record_exported_symbol. | |
13298 | (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
13299 | * config/i386/i386-interix.h (SUBTARGET_ENCODE_SECTION_INFO): | |
13300 | Rename from TARGET_ENCODE_SECTION_INFO. | |
13301 | * config/i386/netware.h: Likewise. | |
13302 | * config/i386/i386-protos.h: Update. | |
13303 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Turn ifdef | |
13304 | of TARGET_DLLIMPORT_DECL_ATTRIBUTES into straight if. | |
13305 | (legitimate_constant_p): Reject dllimports. | |
13306 | (dllimport_map, get_dllimport_decl): New. | |
13307 | (legitimize_dllimport_symbol): New. | |
13308 | (legitimize_address, ix86_expand_move): Use it. | |
13309 | (TARGET_BINDS_LOCAL_P): Redefine for TARGET_DLLIMPORT_DECL_ATTRIBUTES. | |
13310 | * config/i386/i386.h (DLL_IMPORT_EXPORT_PREFIX): Remove. | |
13311 | (SYMBOL_FLAG_DLLIMPORT, SYMBOL_REF_DLLIMPORT_P): New. | |
13312 | (SYMBOL_FLAG_DLLEXPORT, SYMBOL_REF_DLLEXPORT_P): New. | |
13313 | * config/i386/predicates.md (constant_call_address_operand): Only | |
13314 | accept symbols; reject dllimport_p symbols. | |
13315 | * config/i386/uwin.h (ASM_DECLARE_FUNCTION_NAME): Use | |
13316 | i386_pe_maybe_record_exported_symbol. | |
13317 | * config/i386/winnt.c (DLL_IMPORT_PREFIX, DLL_EXPORT_PREFIX): Remove. | |
13318 | (i386_pe_determine_dllexport_p): Rename from i386_pe_dllexport_p. | |
13319 | (i386_pe_determine_dllimport_p): Rename from i386_pe_dllimport_p; | |
13320 | trust the setting of DECL_DLLIMPORT_P. | |
13321 | (i386_pe_dllexport_name_p, i386_pe_dllimport_name_p): Remove. | |
13322 | (i386_pe_mark_dllexport, i386_pe_mark_dllimport): Remove. | |
13323 | (gen_stdcall_or_fastcall_suffix): Return NULL if no change required; | |
13324 | tidy the argument scanning loop. | |
13325 | (i386_pe_encode_section_info): Set SYMBOL_FLAG_DLLIMPORT and | |
13326 | SYMBOL_FLAG_DLLEXPORT in SYMBOL_REF_FLAGS. | |
13327 | (i386_pe_strip_name_encoding): Remove. | |
13328 | (i386_pe_binds_local_p): New. | |
13329 | (i386_pe_strip_name_encoding_full): Use default_strip_name_encoding. | |
13330 | (i386_pe_output_labelref): Remove. | |
13331 | (i386_pe_asm_output_aligned_decl_common): New. | |
13332 | (i386_pe_maybe_record_exported_symbol): Rename from | |
13333 | i386_pe_record_exported_symbol; check for dllexported symbols. | |
13334 | ||
409f9175 | 13335 | 2007-03-29 Zack Weinberg <zack@mrtock.ucsd.edu> |
13336 | ||
13337 | * gengtype.c (oprintf): Mostly revert changes from 2007-03-26; | |
13338 | add comment explaining why vsnprintf cannot be used. | |
13339 | ||
a024c245 | 13340 | 2007-03-29 Douglas Gregor <doug.gregor@gmail.com> |
13341 | ||
13342 | PR tree-optimization/30666 | |
13343 | * tree.c (build_complex_type): When creating type names for DWARF2 | |
13344 | debug info, create TYPE_DECLs for TYPE_NAME instead of | |
13345 | IDENTIFIER_NODEs. | |
13346 | (build_common_tree_nodes_2): Use build_complex_type when building | |
13347 | predefined complex types, to preserve canonical types. | |
13348 | ||
ba45c933 | 13349 | 2007-03-29 Steven Bosscher <steven@gcc.gnu.org> |
13350 | ||
13351 | * ifcvt.c (struct noce_if_info): Add then_else_reversed field. | |
13352 | (noce_get_alt_condition): Look at it to determine whether to | |
13353 | reverse the condition or not. | |
13354 | (noce_get_condition): Substitute the truth for lies. | |
13355 | (noce_find_if_block): Set the then_else_reversed field. | |
13356 | ||
5e8ebe59 | 13357 | 2007-03-29 Lars Poeschel <larsi@wh2.tu-dresden.de> |
13358 | ||
13359 | * config/fr30/fr30.md (movdi): Do not accept immediates as the | |
13360 | destination of this insn. | |
13361 | * config/fr30/fr30.c (fr30_move_double): Use emit_move_insn rather | |
13362 | than calling gen_rtx_SET directly. Use r0 to hold the value of | |
13363 | 'address + 4' rather than a stack based temporary which can be | |
13364 | mis-optimized away. | |
924dc384 | 13365 | |
328d5423 | 13366 | 2007-03-29 Andreas Krebbel <krebbel1@de.ibm.com> |
13367 | ||
13368 | * config/s390/s390.c (s390_secondary_input_reload_class, | |
13369 | s390_secondary_output_reload_class): Functions removed. | |
13370 | (s390_secondary_reload): New function. | |
13371 | (TARGET_SECONDARY_RELOAD): Target macro defined. | |
13372 | * config/s390/s390.h (SECONDARY_INPUT_RELOAD_CLASS, | |
13373 | SECONDARY_OUTPUT_RELOAD_CLASS): Macro definitions removed. | |
13374 | * config/s390/s390.md ("reload_outti", "reload_outdi", | |
13375 | "reload_indi", "reload_insi", "reload_out<mode>", "reload_in<mode>", | |
13376 | "reload_out<mode>"): Expanders removed. | |
13377 | ("reload<mode>_plus", "reload<mode>_nonoffmem_in", | |
13378 | "reload<mode>_nonoffmem_out"): Expanders added. | |
13379 | ||
fc7c3aae | 13380 | 2007-03-29 Andreas Krebbel <krebbel1@de.ibm.com> |
13381 | ||
ed69c853 | 13382 | * regmove.c (optimize_reg_copy_1): Don't perform DEST->SRC repair |
13383 | action if SRC->DEST replacement failed anyway. | |
fc7c3aae | 13384 | |
f3e0a067 | 13385 | 2007-03-28 Mike Stump <mrs@apple.com> |
13386 | ||
13387 | * config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Add. | |
13388 | * config/darwin.h (MAX_OFILE_ALIGNMENT): Fix. | |
a8654287 | 13389 | * config/rs6000/darwin.h (ASM_OUTPUT_ALIGNED_COMMON): Removed #undef. |
f3e0a067 | 13390 | |
d80b6b7d | 13391 | 2007-03-28 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> |
13392 | ||
13393 | * config.gcc: Accept barcelona as a variant of amdfam10. | |
13394 | * config/i386/i386.c (override_options): Likewise. | |
13395 | * doc/invoke.texi: Likewise. | |
924dc384 | 13396 | |
74aab153 | 13397 | 2007-03-28 Eric Botcazou <ebotcazou@adacore.com> |
13398 | ||
13399 | * tree-dfa.c (get_ref_base_and_extent): Do not expect positive | |
13400 | offsets for BIT_FIELD_REF and COMPONENT_REF. | |
13401 | ||
dc6fafc6 | 13402 | 2007-03-28 Richard Guenther <rguenther@suse.de> |
13403 | ||
13404 | * tree.c (is_global_var): Move ... | |
13405 | * tree-flow-inline.h (is_global_var): ... here. | |
13406 | * tree.h (is_global_var): Remove declaration. | |
13407 | ||
58c9a086 | 13408 | 2007-03-28 Uros Bizjak <ubizjak@gmail.com> |
13409 | ||
13410 | * config/i386/i386.h (X86_TUNE_PROMOTE_HIMODE_IMUL): New tuning | |
13411 | option. | |
13412 | (TARGET_TUNE_PROMOTE_HIMODE_IMUL): New define. Use new tuning option. | |
13413 | * config/i386/i386.c (ix86_tune_features): Initialize new | |
13414 | tuning option. | |
13415 | * config/i386/predicates.md (promotable_binary_operator): Use | |
13416 | TARGET_TUNE_PROMOTE_HIMODE_IMUL. | |
13417 | ||
41b0d74f | 13418 | 2007-03-28 Grigory Zagorodnev <grigory_zagorodnev@linux.intel.com> |
13419 | ||
13420 | PR target/31380 | |
13421 | * config/i386/sse.md (uminv16qi3): Use UMIN instead of UMAX. | |
13422 | ||
0c570b19 | 13423 | 2007-03-28 Lars Poeschel <larsi@wh2.tu-dresden.de> |
95175695 | 13424 | |
13425 | * config/fr30/fr30.md (movsi_internal): Change destination | |
924dc384 | 13426 | constraint from m to V and add m to the end. |
95175695 | 13427 | |
4a98dc74 | 13428 | 2007-03-28 Christian Bruel <christian.bruel@st.com> |
13429 | ||
13430 | * config/sh/sh.md (movsi_i): Fix type attribute. | |
13431 | ||
0c570b19 | 13432 | 2007-03-28 Christian Bruel <christian.bruel@st.com> |
e661b951 | 13433 | |
13434 | * config/sh/sh.md (movsi_ie): Fix memory constraints attribute length. | |
13435 | (movsf_ie): Likewise. | |
13436 | ||
99b0f6d9 | 13437 | 2007-03-28 Christian Bruel <christian.bruel@st.com> |
13438 | ||
13439 | * config.gcc: Add sh4-300 to multilib. | |
13440 | * config/sh/t-mlib-sh4-300: New file. | |
13441 | ||
37e3ac7e | 13442 | 2007-03-28 Andreas Krebbel <krebbel1@de.ibm.com> |
13443 | ||
13444 | * config/s390/s390.md ("fix_trunc<mode>di2"): New expander. | |
13445 | ("fix_trunc<DFP:mode>di2_dfp"): New insn definition renamed from | |
13446 | fix_trunc<mode>di2. | |
924dc384 | 13447 | ("fixuns_truncdddi2", "fixuns_trunctddi2"): Use |
37e3ac7e | 13448 | fix_trunc<DFP:mode>di2_dfp instead of fix_trunc<mode>di2. |
13449 | ("fix_truncdfsi2", "fix_truncsfsi2", "fixuns_truncdddi2", | |
13450 | "fixuns_trunctddi2"): Whitespace fix. | |
13451 | ||
f328f118 | 13452 | 2007-03-28 Kaz Kojima <kkojima@gcc.gnu.org> |
13453 | ||
13454 | * config/sh/sh.h (CALL_COOKIE_RET_TRAMP_SHIFT): Move after | |
13455 | the definition of struct sh_args. | |
13456 | (CALL_COOKIE_RET_TRAMP, CALL_COOKIE_STACKSEQ_SHIFT, | |
13457 | CALL_COOKIE_INT_REG_GET): Likewise. | |
13458 | ||
0fffdebc | 13459 | 2007-03-28 Steven Bosscher <steven@gcc.gnu.org> |
13460 | ||
13461 | * ifcvt.c (cond_exec_find_if_block): Return FALSE if no | |
13462 | transformations are applied successfully. | |
13463 | ||
5ca99950 | 13464 | 2007-03-27 Douglas Gregor <doug.gregor@gmail.com> |
13465 | ||
13466 | * tree.c (tree_contains_struct): Permit 512 tree codes. | |
13467 | * tree.h (tree_contains_struct): Ditto. | |
13468 | (MAX_TREE_CODES): Ditto. | |
13469 | (struct tree_base): Make CODE 16 bits, instead of 8 bits. Add | |
13470 | SPARE member to store remaining padding bits. | |
13471 | ||
097373ae | 13472 | 2007-03-27 Anatoly Sokolov <aesok@post.ru> |
13473 | ||
924dc384 | 13474 | * config/avr/avr.c (avr_mcu_types): Move at90usb82 device to 'avr4' |
097373ae | 13475 | architecture. |
13476 | ||
ca0d2b55 | 13477 | 2007-03-27 Janis Johnson <janis187@us.ibm.com> |
13478 | ||
88f38265 | 13479 | * configure.ac: Fix assembler test for powerpc*-linux decimal float. |
13480 | * configure: Regenerate. | |
13481 | ||
ca0d2b55 | 13482 | * configure: Regenerate using the correct version of autoconf. |
13483 | ||
13484 | 2007-03-27 Anatoly Sokolov <aesok@post.ru> | |
dc39da57 | 13485 | |
13486 | * config/avr/avr.c (avr_hard_regno_mode_ok): Disallow QImode in stack | |
13487 | pointer regs. | |
13488 | * config/avr/avr.h (REGISTER_NAMES): Rename "__SPL__" and "__SPH__" | |
13489 | regs to "__SP_L__" and "__SP_H__". | |
13490 | ||
209f25b9 | 13491 | 2007-03-27 Richard Guenther <rguenther@suse.de> |
13492 | ||
13493 | * tree-dfa.c (get_ref_base_and_extent): Replace bit_offset and | |
924dc384 | 13494 | computations with it with a HOST_WIDE_INT variable. |
209f25b9 | 13495 | |
45ccdeb8 | 13496 | 2007-03-26 Mike Stump <mrs@apple.com> |
13497 | ||
13498 | * config/rs6000/darwin.h (DARWIN_MINVERSION_SPEC): Add | |
13499 | objective-c-header, objective-c++-header and objc++-cpp-output | |
13500 | support. | |
13501 | * config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Likewise. | |
13502 | ||
1a510660 | 13503 | 2007-03-26 Richard Henderson <rth@redhat.com> |
13504 | ||
58c9a086 | 13505 | PR target/31361 |
13506 | * config/i386/i386.c (IX86_BUILTIN_PSLLDQ128, IX86_BUILTIN_PSLLW128, | |
13507 | IX86_BUILTIN_PSLLD128, IX86_BUILTIN_PSLLQ128, IX86_BUILTIN_PSRAW128, | |
13508 | IX86_BUILTIN_PSRAD128, IX86_BUILTIN_PSRLW128, IX86_BUILTIN_PSRLD128, | |
13509 | IX86_BUILTIN_PSRLQ128): New. | |
13510 | (ix86_init_mmx_sse_builtins): Add them. | |
13511 | (ix86_expand_builtin): Expand them. | |
13512 | * config/i386/sse.md (ashr<mode>3, lshr<mode>3, ashl<mode>3): Make | |
13513 | operand 2 be TImode. | |
13514 | * config/i386/emmintrin.h (_mm_slli_epi64, _mm_srai_epi16, | |
13515 | _mm_srai_epi32, _mm_srli_epi16, _mm_srli_epi32, | |
13516 | _mm_srli_epi64): Mark __B const. | |
13517 | (_mm_srli_si128, _mm_srli_si128): Fix disabled inline versions. | |
13518 | (_mm_sll_epi16, _mm_sll_epi32, _mm_sll_epi64, _mm_sra_epi16, | |
924dc384 | 13519 | _mm_sra_epi32, _mm_srl_epi16, _mm_srl_epi32, _mm_srl_epi64): Use |
58c9a086 | 13520 | new two-vector shift builtins. |
1a510660 | 13521 | |
c68b42d2 | 13522 | 2007-03-26 Ian Lance Taylor <iant@google.com> |
13523 | ||
13524 | PR tree-optimization/31345 | |
13525 | * tree-vrp.c (extract_range_from_binary_expr): Turn ranges like | |
13526 | [+INF, +INF(OVF)] into VARYING. | |
13527 | ||
f8be92ce | 13528 | 2007-03-26 Zack Weinberg <zackw@panix.com> |
13529 | ||
1e837561 | 13530 | * gengtype-parse.c: New file. |
13531 | * gengtype-yacc.y: Delete. | |
13532 | * gengtype-lex.l: Don't include gengtype-yacc.h. | |
13533 | Define YY_DECL and yyterminate appropriately for recursive | |
13534 | descent parser. yylval is now a string out-parameter to yylex. | |
13535 | (HWS, EOID): New shorthand. | |
13536 | (IWORD): Add a couple more types. | |
13537 | (yylex): Add a setup stanza. Remove the complex rules for | |
13538 | detecting GTY'ed types and typedefs; replace with simple | |
13539 | keyword detectors. Adjust everything for the changed | |
13540 | definition of yylval. Ignore all pp-directives, not just #define. | |
13541 | (yyerror): Delete. | |
13542 | (parse_file): Rename yybegin; do not call yyparse. | |
13543 | (yyend): New. | |
13544 | * gengtype.c (xasprintf): Export again. | |
13545 | (this_file): New. Use everywhere __FILE__ was being used. | |
13546 | (get_lang_bitmap): Special case types defined in gengtype.c. | |
13547 | (do_typedef, new_structure): Suppress definition of certain types. | |
13548 | (new_structure): Improve diagnostics of duplicate definitions. | |
13549 | Make sure location_s is associated with input.h. | |
13550 | (nreverse_pairs, define_location_structures): New functions. | |
13551 | (main): Improve tagging of kludge types. Remove old kludges | |
13552 | for input.h types; use define_location_structures. | |
13553 | * gengtype.h: Update prototypes. Define token codes here. | |
13554 | * Makefile.in: Remove all references to gengtype-yacc. | |
13555 | Add rules for gengtype-parse.o. Adjust rules for gengtype-lex.o | |
13556 | and gengtype. | |
13557 | * bitmap.h (struct bitmap_head_def): Coalesce definitions, | |
13558 | add GTY((skip)) to the field that's only conditionally there. | |
13559 | * doc/install.texi: Document that Bison is no longer required | |
13560 | unless building treelang. | |
13561 | ||
570af75a | 13562 | * gengtype.c: Don't include gtyp-gen.h. |
13563 | (srcdir): Declare here. | |
13564 | (base_files, lang_dir_names): Allocate dynamically. | |
13565 | (gt_files, num_gt_files, num_lang_dirs): New globals. | |
13566 | (measure_input_list, read_input_line, read_input_list) | |
13567 | (set_lang_bitmap): New functions. | |
13568 | (get_base_file_bitmap): Rename get_lang_bitmap and drastically | |
13569 | simplify, relying on read_input_list to set up the bitmaps. | |
13570 | (main): Arguments are no longer unused. Check for correct number | |
13571 | of command line arguments, set srcdir and srcdir_len, then call | |
13572 | read_input_list, before doing anything else. No need to worry | |
13573 | about duplicates in main loop. | |
13574 | * configure.ac: Simplify the calculation of all_gtfiles. | |
13575 | Put language tags in there. Don't set or substitute | |
13576 | all_gtfiles_files_langs or all_gtfiles_files_frags. | |
13577 | * Makefile.in: Revamp the way gengtype is invoked, now that it | |
13578 | takes a file on its command line with a much simpler format. | |
13579 | Remove or replace with gtyp-input.list all references to gtyp-gen.h. | |
13580 | (GTFILES): Remove duplicates and C source files. | |
13581 | * c-config-lang.in, cp/config-lang.in, objc/config-lang.in | |
13582 | * objcp/config-lang.in: Add c-pragma.h to gtfiles. | |
13583 | * configure: Regenerate. | |
13584 | ||
4097676c | 13585 | * gengtype.h: Remove all type definitions to gengtype.c; leave |
13586 | only definitions of options_p, type_p, and pair_p as opaque | |
13587 | pointers. Update prototypes. | |
13588 | * gengtype.c: Many type definitions moved here from gengtype.h. | |
13589 | Consolidate type definitions at the top of the file. | |
13590 | (xvasprintf): Delete. | |
13591 | (xasprintf): Make static. | |
13592 | (create_nested_pointer_option): Add 'next' parameter. | |
13593 | (create_field_all, create_field_at): New functions. | |
13594 | (create_field): Now a thin wrapper around create_field_all. | |
13595 | (create_optional_field): Rename create_optional_field_ and add | |
13596 | line argument. Original name is now a macro which supplies | |
13597 | __LINE__. | |
13598 | (oprintf): Use vsnprintf directly. | |
13599 | (close_output_files): Use fatal rather than perror/exit. | |
13600 | (note_def_vec, note_def_vec_alloc): Use create_field_at. | |
13601 | (main): Set progname. Don't use exit. | |
13602 | * gengtype-yacc.y (struct_fields): Use create_field_at. | |
13603 | (option, optionseqopt): Delete. | |
13604 | (optionseq): Consolidate productions from option here so we | |
13605 | can use the first argument to create_option. | |
13606 | ||
6fee8f02 | 13607 | * gengtype-lex.l: Distinguish unions from structures in the |
13608 | token type. Don't call find_structure; return the tag as a string. | |
ed69c853 | 13609 | * gengtype-yacc.y: Add new token types ENT_TYPEDEF_UNION and |
13610 | ENT_UNION. Type of these, ENT_TYPEDEF_STRUCT, and ENT_STRUCT is | |
13611 | string. Reorganize typedef_struct production accordingly. | |
6fee8f02 | 13612 | Use create_nested_ptr_option. |
13613 | * gengtype.c (create_nested_ptr_option): New function. | |
13614 | * gengtype.h: Declare it. | |
13615 | ||
80da8e25 | 13616 | * gengtype.h (struct type): Replace 'sc' with boolean, scalar_is_char. |
13617 | (string_type): Don't declare. | |
13618 | (do_scalar_typedef): Declare. | |
13619 | (create_scalar_type): Update prototype. | |
13620 | * gengtype.c (string_type): Make static. | |
13621 | (scalar_nonchar, scalar_char): New. | |
13622 | (do_scalar_typedef): Export. Always use scalar_nonchar for the type. | |
13623 | (resolve_typedef): Use scalar_nonchar for error recovery. | |
13624 | (create_scalar_type): Remove name_len field. Return scalar_char | |
13625 | or scalar_nonchar as appropriate. | |
13626 | (adjust_field_type): Look at scalar_is_char boolean to decide whether | |
13627 | to use string_type. | |
ed69c853 | 13628 | (throughout): Use scalar_nonchar instead of calling |
13629 | create_scalar_type, whenever possible. | |
80da8e25 | 13630 | (main): Initialize scalar_char and scalar_nonchar before calling |
13631 | gen_rtx_next. | |
13632 | * gengtype-lex.l: Adjust for removal of second argument to | |
13633 | create_scalar_type. Use yylval.s instead of yylval.t when | |
13634 | returning SCALAR. | |
13635 | * gengtype-yacc.y: Type of SCALAR is string. Call | |
13636 | create_scalar_type from type:SCALAR rule. Adjust for removal of | |
13637 | second argument to create_scalar_type. | |
13638 | ||
696e7773 | 13639 | * vec.h: Remove all #if IN_GENGTYPE blocks. |
13640 | Add comment saying that changes may require adjustments to gengtype. | |
13641 | * gengtype.c: Don't include coretypes.h or tm.h. | |
13642 | Add comment to inclusion of errors.h. | |
13643 | (note_def_vec, note_def_vec_alloc): New functions. | |
13644 | * gengtype.h: Declare new functions. | |
13645 | * gengtype-lex.l: Don't include coretypes.h. | |
13646 | (YY_INPUT, macro_input, push_macro_expansion, mangle_macro_name): | |
13647 | Delete. | |
13648 | (update_lineno): Remove unnecessary prototype. | |
13649 | (DEF_VEC_* rules): Simplify using note_def_vec / note_def_vec_alloc. | |
13650 | (VEC rule): Just return VEC_TOKEN. | |
13651 | * gengtype-yacc.y (VEC_TOKEN): New token type. | |
13652 | (type): Add a production for VEC(a,b). | |
13653 | * Makefile.in: Update dependencies. | |
13654 | ||
892ddc0b | 13655 | * gengtype-lex.l: Remove rules for parsing pointer-to-function |
13656 | typedefs that use the old PARAMS macro. | |
13657 | ||
f8be92ce | 13658 | * gengtype-lex.l: Remove all rules and states relating to yacc |
13659 | input files. | |
13660 | * gengtype-yacc.y: Similarly. | |
13661 | * gengtype.c (note_yacc_type): Delete function. | |
13662 | * gengtype.h: Update prototypes. | |
13663 | ||
e4e0b898 | 13664 | 2007-03-26 Joseph Myers <joseph@codesourcery.com> |
13665 | ||
13666 | * tree-pretty-print.c (dump_generic_node): Report precision of | |
13667 | unnamed integer types. | |
13668 | ||
03dbd7cc | 13669 | 2007-03-26 Steven Bosscher <steven@gcc.gnu.org> |
13670 | ||
13671 | * ifcvt.c (noce_try_store_flag_constants): Don't check | |
13672 | no_new_pseudos here. | |
13673 | (noce_try_store_flag_constants): Don't check no_new_pseudos. | |
13674 | (noce_try_addcc, noce_try_store_flag_mask, noce_try_cmove_arith, | |
13675 | noce_try_cmove_arith, noce_try_minmax, noce_try_abs, | |
13676 | noce_try_sign_mask): Likewise. | |
13677 | (if_convert): Check no_new_pseudos here. | |
13678 | ||
13679 | (cond_exec_process_if_block, noce_process_if_block, find_if_block): | |
13680 | Remove prototypes. | |
13681 | (struct noce_if_info): Add then_bb, else_bb, join_bb members. | |
13682 | (noce_get_condition): Handle new then_else_reversed argument. | |
13683 | (noce_init_if_info): Remove, fold into noce_find_if_block. | |
13684 | (noce_process_if_block): Take a struct noce_if_info as the | |
13685 | argument. Don't set up one based on ce_if_info. Update pointer | |
13686 | references accordingly. | |
13687 | (cond_move_process_if_block): Likewise. | |
13688 | (process_if_block): Removed. | |
13689 | (find_if_block): Removed. Move functionality two new functions, | |
13690 | noce_find_if_block and cond_exec_find_if_block. | |
13691 | (noce_find_if_block): New function. Be aware of IF-THEN-JOIN | |
13692 | blocks and the symmetric IF-ELSE-JOIN case. | |
13693 | (cond_exec_find_if_block): Also new function mostly based on old | |
13694 | find_if_block and process_if_block. | |
13695 | (find_if_header): Replace find_if_block call with separately | |
13696 | guarded calls to noce_find_if_block and cond_exec_find_if_block. | |
13697 | (find_cond_trap): Update noce_get_condition call. | |
13698 | (dead_or_predicable): Likewise. | |
13699 | ||
211d5b9a | 13700 | 2007-03-26 Jakub Jelinek <jakub@redhat.com> |
13701 | ||
13702 | * config/i386/i386.c (IX86_BUILTIN_CMPNEPD, IX86_BUILTIN_CMPNESD): | |
13703 | Remove. | |
13704 | (IX86_BUILTIN_PSLLW128, IX86_BUILTIN_PSLLD128, IX86_BUILTIN_PSLLQ128, | |
13705 | IX86_BUILTIN_PSRAW128, IX86_BUILTIN_PSRAD128, IX86_BUILTIN_PSRLW128, | |
13706 | IX86_BUILTIN_PSRLD128, IX86_BUILTIN_PSRLQ128): Remove. | |
13707 | (ix86_init_mmx_sse_builtins): Remove v8hi_ftype_v8hi_v2di and | |
58c9a086 | 13708 | v4si_ftype_v4si_v2di. Remove __builtin_ia32_psllw128, |
211d5b9a | 13709 | __builtin_ia32_pslld128, __builtin_ia32_psllq128, |
13710 | __builtin_ia32_psrlw128, __builtin_ia32_psrld128, | |
13711 | __builtin_ia32_psrlq128, __builtin_ia32_psraw128 and | |
13712 | __builtin_ia32_psrad128 builtins. | |
13713 | ||
4e9abdcc | 13714 | 2007-03-26 Uros Bizjak <ubizjak@gmail.com> |
13715 | ||
13716 | * reg-stack.c (replace_reg): Use IN_RANGE macro in gcc_assert(). | |
13717 | * config/i386/constraints.md | |
13718 | (define_constraint "I"): Use IN_RANGE macro. | |
13719 | (define_constraint "J"): Ditto. | |
13720 | (define_constraint "K"): Ditto. | |
13721 | (define_constraint "M"): Ditto. | |
13722 | (define_constraint "N"): Ditto. | |
13723 | (define_constraint "O"): Ditto. | |
13724 | * config/i386/predicates.md | |
13725 | (define_predicate "register_no_elim_operand"): Use IN_RANGE macro. | |
13726 | (define_predicate "const_0_to_3_operand"): Ditto. | |
13727 | (define_predicate "const_0_to_7_operand"): Ditto. | |
13728 | (define_predicate "const_0_to_15_operand"): Ditto. | |
13729 | (define_predicate "const_0_to_63_operand"): Ditto. | |
13730 | (define_predicate "const_0_to_255_operand"): Ditto. | |
13731 | (define_predicate "const_1_to_31_operand"): Ditto. | |
13732 | (define_predicate "const_2_to_3_operand"): Ditto. | |
13733 | (define_predicate "const_4_to_7_operand"): Ditto. | |
13734 | ||
87ba92a7 | 13735 | 2007-03-25 David Edelsohn <edelsohn@gnu.org> |
13736 | ||
13737 | * config/rs6000/rs6000.c (rs6000_emit_prologue): Always clobber LR | |
13738 | in SImode for save_world. | |
13739 | * config/rs6000/altivec.md (save_world, restore_world): Convert to | |
13740 | LR hard reg. | |
13741 | ||
3cbad267 | 13742 | 2007-03-25 Dorit Nuzman <dorit@il.ibm.com> |
13743 | ||
13744 | PR tree-optimization/30784 | |
13745 | * fold-const.c (fold_ternary): Handle CONSTRUCTOR in case | |
13746 | BIT_FIELD_REF. | |
13747 | ||
73772494 | 13748 | 2007-03-25 Revital Eres <eres@il.ibm.com> |
13749 | ||
f8be92ce | 13750 | * tree-if-conv.c (if_convertible_gimple_modify_stmt_p): |
13751 | Fold movement_possibility function into it. | |
73772494 | 13752 | |
327202e2 | 13753 | 2007-03-25 David Edelsohn <edelsohn@gnu.org> |
13754 | ||
13755 | * config/rs6000/darwin.md (load_macho_picbase): Ignore operand 0. | |
13756 | (load_macho_picbase_{si,di}): Convert to LR hard reg. | |
13757 | (call_indirect_nonlocal_darwin64): Same. | |
13758 | (call_nonlocal_darwin64): Same. | |
13759 | (call_value_indirect_nonlocal_darwin64): Same. | |
13760 | (call_value_nonlocal_darwin64): Same. | |
13761 | (sibcall_nonlocal_darwin64): Same. | |
13762 | (sibcall_value_nonlocal_darwin64): Same. | |
13763 | (sibcall_symbolic_64): Same. | |
13764 | (sibcall_value_symbolic_64): Same. | |
13765 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Remove | |
13766 | LR pseudo. | |
13767 | (rs6000_emit_load_toc_table): Same. | |
13768 | * config/rs6000/altivec.md (restore_world): Convert to LR hard reg. | |
13769 | * config/rs6000/rs6000.md (mulh_call): Convert to LR hard reg. | |
13770 | (mull_call): Same. | |
13771 | (divss_call): Same. | |
13772 | (divus_call): Same. | |
13773 | (quoss_call): Same. | |
13774 | (quous_call): Same. | |
13775 | (load_toc_v4_pic_si): Same | |
13776 | (load_toc_v4_PIC_1): Same. | |
13777 | (load_toc_v4_PIC_1b): Same. | |
13778 | (call_indirect_aix{32,64}): Same. | |
13779 | (call_value_indirect_aix{32,64}): Same. | |
13780 | (call): Same. | |
13781 | (call_value): Same. | |
13782 | (call_local{32,64}): Same. | |
13783 | (call_value_local{32,64}): Same. | |
13784 | (call_indirect_nonlocal_aix{32,64}): Same. | |
13785 | (call_nonlocal_aix{32,64}): Same. | |
13786 | (call_value_indirect_nonlocal_aix{32,64}): Same. | |
13787 | (call_value_nonlocal_aix{32,64}): Same. | |
13788 | (call_indirect_nonlocal_sysv<mode>): Same. | |
13789 | (call_nonlocal_sysv<mode>): Same. | |
13790 | (call_value_indirect_nonlocal_sysv<mode>): Same. | |
13791 | (call_value_nonlocal_sysv<mode>): Same. | |
13792 | (sibcall): Same. | |
13793 | (sibcall_local{32,64}): Same. | |
13794 | (sibcall_value_local{32,64}): Same. | |
13795 | (sibcall_nonlocal_aix{32,64}): Same. | |
13796 | (sibcall_value_nonlocal_aix{32,64}): Same. | |
13797 | (sibcall_nonlocal_sysv<mode>): Same. | |
13798 | (sibcall_value): Same. | |
13799 | (sibcall_value_nonlocal_sysv<mode>): Same. | |
13800 | ||
8eba3d10 | 13801 | 2007-03-24 Paul Brook <paul@codesourcery.com> |
13802 | ||
13803 | * config/arm/lib1funcs.asm (div0): Use ARM_FUNC_START and do_push. | |
13804 | * config/arm/linux-eabi.h: Remove legacy syscall hack. | |
13805 | ||
269f7060 | 13806 | 2007-03-24 Richard Henderson <rth@redhat.com> |
13807 | ||
13808 | * config/ia64/constraints.md: New file. | |
13809 | * config/ia64/predicates.md: Replace CONST_OK_FOR_? with | |
13810 | satisfies_constraint_?. | |
13811 | * config/ia64/ia64.c (ia64_move_ok, ia64_legitimate_constant_p, | |
13812 | ia64_reload_gp, spill_restore_mem, ia64_expand_prologue, | |
13813 | ia64_expand_epilogue, ia64_split_return_addr_rtx, ia64_rtx_costs, | |
13814 | ia64_output_mi_thunk): Likewise. | |
13815 | (ia64_const_ok_for_letter_p): Remove. | |
13816 | (ia64_const_double_ok_for_letter_p): Remove. | |
13817 | (ia64_extra_constraint): Remove. | |
13818 | * config/ia64/ia64.h (REG_CLASS_FROM_LETTER): Remove. | |
13819 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_L, | |
13820 | CONST_OK_FOR_M, CONST_OK_FOR_N, CONST_OK_FOR_O, CONST_OK_FOR_P, | |
13821 | CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_G, | |
13822 | CONST_DOUBLE_OK_FOR_LETTER_P, EXTRA_CONSTRAINT, | |
13823 | EXTRA_MEMORY_CONSTRAINT): Remove. | |
13824 | * config/ia64/ia64.md: Include constriants.md. Replace | |
13825 | CONST_OK_FOR_? with satisfies_constraint_?. | |
13826 | ||
10de71e1 | 13827 | 2007-03-23 Michael Meissner <michael.meissner@amd.com> |
13828 | H.J. Lu <hongjiu.lu@intel.com> | |
13829 | ||
13830 | * config/dfp-bit.h (DPD_BID_NAME): New macro to give either the | |
13831 | DPD or BID name. | |
13832 | (name macros): Use DPD_BID_NAME to convert names properly. | |
13833 | ||
13834 | * optabs.c (DECIMAL_PREFIX): Prefix string to use for the current | |
13835 | decimal floating point format. | |
13836 | (init_floating_libfuncs): Change decimal functions so that they | |
13837 | have a "bid_" prefix if the decimal system uses the BID format, | |
13838 | and "dpd_" prefix if the decimal system uses the DPD format. | |
13839 | (init_interclass_conv_libfuncs): Ditto. | |
13840 | (init_intraclass_conv_libfuncs): Ditto. | |
13841 | ||
13842 | * config.in (ENABLE_DECIMAL_BID_FORMAT): New macro to say we are | |
13843 | using the BID format. | |
13844 | ||
13845 | * configure.ac (ENABLE_DECIMAL_BID_FORMAT): Set to 1/0 to say | |
13846 | whether we are using the BID decimal format. | |
13847 | * configure: Regenerate. | |
13848 | ||
13849 | * c-cppbuiltin.c (c_cpp_builtins): Define __STDC_WANT_DEC_FP__ if | |
13850 | the compiler has decimal floating point enabled. Define | |
13851 | __DECIMAL_BID_FORMAT__ if BID decimal floating point is used | |
13852 | instead of DPD. | |
13853 | ||
13854 | * config.in (ENABLE_DECIMAL_BID_FORMAT): New macro to say we are | |
13855 | using the BID format. | |
13856 | ||
13857 | * configure.ac (ENABLE_DECIMAL_BID_FORMAT): Set to 1/0 to say | |
13858 | whether we are using the BID decimal format. | |
13859 | * configure: Regenerate. | |
13860 | ||
13861 | * c-cppbuiltin.c (c_cpp_builtins): Define __STDC_WANT_DEC_FP__ if | |
13862 | the compiler has decimal floating point enabled. Define | |
13863 | __DECIMAL_BID_FORMAT__ if BID decimal floating point is used | |
13864 | instead of DPD. | |
13865 | ||
13866 | * doc/install.texi (--enable-decimal-float): Document BID and DPD | |
13867 | options, and that it is enabled for i386/x86_64 systems. | |
13868 | ||
13869 | * Makefile.in (enable_decimal_float): New. | |
13870 | (DECNUMFMT): New. | |
13871 | (DECNUMINC): Add -I$(DECNUMFMT). | |
13872 | (DECNUM_H): Mov decimal32.h, decimal64.h and decimal128.h | |
13873 | to $(DECNUMFMT) from $(DECNUM). | |
13874 | ||
13875 | * configure.ac: Support * --enable-decimal-float={no,yes,bid,dpd}. | |
13876 | Substitute enable_decimal_float. | |
13877 | * configure: Regenerated. | |
13878 | ||
13879 | PR other/30529 | |
13880 | * config/dfp-bit.c (__dec_byte_swap): Use uint32_t instead of | |
13881 | unsigned long. | |
13882 | ||
13883 | * configure.ac: Enable decimal float for x86_64-*-linux*. | |
13884 | * configure: Regenerated. | |
13885 | ||
13886 | PR other/30530 | |
13887 | * dfp.c (decimal_real_arithmetic): Use decimal128FlipSign and | |
13888 | decimal128ClearSign to flip and clear the sign bit in decimal128. | |
13889 | (decimal_real_maxval): Set decimal128SetSign to set the sign | |
13890 | bit in decimal128. | |
13891 | ||
558517fd | 13892 | 2007-03-23 Ian Lance Taylor <iant@google.com> |
13893 | ||
13894 | * fold-const.c (fold_binary): Correct warning for X - c >= X. | |
13895 | ||
fb5b6d1b | 13896 | 2007-03-23 Ian Lance Taylor <iant@google.com> |
13897 | ||
13898 | * tree-dump.c (dump_files): Correct comment. | |
13899 | ||
f82ccac1 | 13900 | 2007-03-23 Ian Lance Taylor <iant@google.com> |
13901 | ||
13902 | * tree-vrp.c (operand_less_p): Ignore fold overflow warnings. | |
13903 | ||
207c7ab2 | 13904 | 2007-03-23 Steven Bosscher <steven@gcc.gnu.org> |
13905 | ||
13906 | * tracer.c (tracer): Don't take FLAGS argument. Assert we are | |
13907 | in cfglayout mode. Don't go into and out of cfglayout mode. | |
13908 | Link the blocks in the order of the constructed traces. | |
13909 | (rest_of_handle_tracer): Adjust call to tracer. | |
13910 | * loop-init.c (rtl_loop_init): Assert we are in cfglayout mode. | |
13911 | Don't go into cfglayout mode. | |
13912 | (rtl_loop_done): Don't go out of cfglayout mode. | |
13913 | * cfglayout.c (relink_block_chain): New function, split out from... | |
13914 | (fixup_reorder_chain): ...here. Remove redundant checking. | |
13915 | (cfg_layout_finalize): Don't clear the header, footer, and aux | |
13916 | fields here, move the code to do so to relink_block_chain. Likewise | |
13917 | for free_original_copy_tables. | |
13918 | * rtl.h (tracer): Update prototype. | |
13919 | * bb-reorder.c (reorder_basic_blocks): Don't take FLAGS argument. | |
13920 | Assert we are in cfglayout mode. Don't go into and out of cfglayout | |
13921 | mode. Use relink_block_chain to serialize the CFG according to the | |
13922 | new basic block order. Move targetm.cannot_modify_jumps_p check from | |
13923 | here... | |
13924 | (gate_handle_reorder_blocks): ...to here. | |
13925 | (duplicate_computed_gotos): Move targetm.cannot_modify_jumps_p check | |
13926 | from here... | |
13927 | (gate_duplicate_computed_gotos): ...to here. | |
13928 | (rest_of_handle_reorder_blocks): Don't see if anything has changed, | |
13929 | something always changes when going into and out of cfglayout mode. | |
13930 | Perform an expensive cfg cleanup while going into cfglayout mode. | |
13931 | Always update liveness information on HAVE_conditional_execution | |
13932 | targets. Reserialize the basic blocks and go out of cfglayout mode. | |
13933 | * reg-stack.c: Include cfglayout.h. | |
13934 | (rest_of_handle_stack_regs): Go into and out of cfglayout mode around | |
13935 | the call to reorder_basic_blocks. | |
13936 | * basic-block.h (reorder_basic_blocks): Update prototype. | |
13937 | (relink_block_chain): New prototype. | |
13938 | * passes.c (pass_outof_cfg_layout_mode): Move after cse2. | |
13939 | ||
f01296c3 | 13940 | 2007-03-23 Joseph Myers <joseph@codesourcery.com> |
13941 | ||
13942 | * config/mips/mips.md (type, hazard, *movdi_32bit, | |
13943 | *movdi_gp32_fp64, *movdi_64bit, *movsi_internal, movcc, | |
13944 | *movhi_internal, *movqi_internal, *movsf_hardfloat, | |
13945 | *movdf_hardfloat_64bit, *movdf_hardfloat_32bit, *movdf_softfloat, | |
13946 | movv2sf_hardfloat_64bit, load_df_low, load_df_high, store_df_high, | |
13947 | mthc1, mfhc1): Change xfer instruction type to mfc and mtc, as | |
13948 | applicable. | |
13949 | (movcc): Change first xfer to multi. | |
13950 | * config/mips/24k.md, config/mips/4100.md, config/mips/4300.md, | |
13951 | config/mips/5000.md, config/mips/5400.md, config/mips/5500.md, | |
13952 | config/mips/5k.md, config/mips/7000.md, config/mips/9000.md, | |
13953 | config/mips/generic.md: Change reservations using "xfer" to use | |
13954 | "mfc,mtc". | |
13955 | * config/mips/sb1.md (ir_sb1_mtxfer): Use "mtc" instead of | |
13956 | using match_operand. | |
13957 | (ir_sb1_mfxfer): Use "mfc" instead of using match_operand. | |
13958 | * config/mips/sr71k.md (ir_sr70_xfer_from): Use "mfc" instead of | |
13959 | examining mode. | |
13960 | (ir_sr70_xfer_to): Use "mtc" instead of examining mode. | |
13961 | ||
788002f3 | 13962 | 2007-03-22 Richard Henderson <rth@redhat.com> |
13963 | ||
13964 | * config/i386/i386.c: Remove unnecessary function declarations. | |
13965 | Move targetm definition, and all related macros, to the end of | |
13966 | the file. Resort some functions to put definitions before uses. | |
13967 | (ix86_attribute_table): Make static. Move to end of file. | |
13968 | (ix86_gimplify_va_arg): Make static. | |
13969 | ||
9c587e53 | 13970 | 2007-03-22 Richard Henderson <rth@redhat.com> |
13971 | ||
13972 | * config/i386/i386.c (ix86_function_regparm): Early exit for 64-bit; | |
13973 | don't increase local_regparm with force_align_arg_pointer check. | |
13974 | (ix86_function_sseregparm): Assert 32-bit. | |
13975 | (type_has_variadic_args_p): New. | |
13976 | (ix86_return_pops_args): Early exit for 64-bit. Reindent; use | |
13977 | type_has_variadic_args_p. | |
13978 | (ix86_function_arg_regno_p): Use == 0 instead of ! test for eax. | |
13979 | (init_cumulative_args): Remove TARGET_DEBUG_ARG. Remove zero_cum; | |
13980 | use memset instead. Do maybe_vaarg check first; skip attribute | |
13981 | tests if true; skip attribute tests for 64-bit. | |
13982 | (construct_container): Remove TARGET_DEBUG_ARG. | |
13983 | (function_arg_advance_32, function_arg_advance_64): Split out ... | |
13984 | (function_arg_advance): ... from here. | |
13985 | (function_arg_32, function_arg_64): Split out ... | |
13986 | (function_arg): ... from here. | |
13987 | (ix86_pass_by_reference): Tidy. | |
13988 | (ix86_function_value_regno_p): Rearrange w/ switch on regno. | |
13989 | (function_value_32): New, from parts of ix86_function_value | |
13990 | and ix86_value_regno. | |
13991 | (function_value_64): New, from parts of ix86_function_value | |
13992 | and ix86_libcall_value. | |
13993 | (ix86_function_value_1): New. | |
13994 | (ix86_function_value, ix86_libcall_value): Use it. | |
13995 | (return_in_memory_32, return_in_memory_64): Split out ... | |
13996 | (ix86_return_in_memory): ... from here. | |
13997 | (ix86_struct_value_rtx): Skip for 64-bit. | |
13998 | (ix86_libcall_value, ix86_value_regno): Remove. | |
13999 | (setup_incoming_varargs_64): Split out ... | |
14000 | (ix86_setup_incoming_varargs): ... from here. | |
14001 | (ix86_va_start): Remove TARGET_DEBUG_ARG. | |
14002 | (legitimate_address_p, legitimize_address): Remove TARGET_DEBUG_ADDR. | |
14003 | * config/i386/i386-protos.h (ix86_function_value): Remove. | |
14004 | * config/i386/i386.opt (TARGET_DEBUG_ADDR, TARGET_DEBUG_ARG): Remove. | |
14005 | ||
64214dab | 14006 | 2007-03-22 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
14007 | ||
14008 | PR other/23572 | |
14009 | * c-lex.c (interpret_float): On overflow, emit pedantic warning if | |
14010 | infinities not supported, otherwise emit warning if -Woverflow. On | |
14011 | underflow, emit warning if -Woverflow. | |
14012 | * real.c (real_from_string): Return -1 if underflow, +1 if overflow | |
14013 | and 0 otherwise. | |
14014 | * real.h (real_from_string): Update declaration | |
f8be92ce | 14015 | |
63c68695 | 14016 | 2007-03-22 Kai Tietz <kai.tietz@onevision.com> |
14017 | Richard Henderson <rth@redhat.com> | |
14018 | ||
14019 | * defaults.h (OUTGOING_REG_PARM_STACK_SPACE): Provide default. | |
14020 | * calls.c (compute_argument_block_size, expand_call, | |
14021 | emit_library_call_value_1): Don't ifdef OUTGOING_REG_PARM_STACK_SPACE. | |
14022 | * expr.c (block_move_libcall_safe_for_call_parm): Likewise. | |
14023 | * function.c (STACK_DYNAMIC_OFFSET): Likewise. | |
14024 | * doc/tm.texi (OUTGOING_REG_PARM_STACK_SPACE): Update. | |
14025 | * config/alpha/unicosmk.h, config/bfin/bfin.h, config/iq2000/iq2000.h, | |
14026 | config/mips/mips.h, config/mn10300/mn10300.h, config/mt/mt.h, | |
14027 | config/pa/pa.h, config/rs6000/rs6000.h, config/score/score.h, | |
14028 | config/spu/spu.h, config/v850/v850.h (OUTGOING_REG_PARM_STACK_SPACE): | |
14029 | Set to 1. | |
14030 | ||
016bf95b | 14031 | 2007-03-22 Joseph Myers <joseph@codesourcery.com> |
14032 | ||
14033 | * c-incpath.c (add_sysroot_to_chain): New. | |
14034 | (merge_include_chains): Add sysroot argument. Call | |
14035 | add_sysroot_to_chain if sysrooted. | |
14036 | (register_include_chains): Update call to merge_include_chains. | |
14037 | * doc/cppopts.texi: Document use of '=' in include directory | |
14038 | arguments. | |
14039 | ||
a745c94e | 14040 | 2007-03-22 Uros Bizjak <ubizjak@gmail.com> |
14041 | ||
14042 | * config/i386/i386.md (cmp<mode>): Rename from cmpsf and cmpdf. | |
14043 | Macroize expander using SSEMODEF mode macro. Use SSE_FLOAT_MODE_P. | |
14044 | (*cmpfp_<mode>): Rename from *cmpfp_sf and *cmpfp_df. Macroize | |
14045 | insn pattern using X87MODEF12 mode macro. | |
f8be92ce | 14046 | |
02f07e87 | 14047 | 2007-03-21 Seongbae Park <seongbae.park@gmail.com> |
14048 | ||
14049 | * regmove.c (regmove_optimize): Use reg_mentioned_p | |
14050 | instead of reg_overlap_mentioned_p for DST. | |
14051 | ||
dad26ad9 | 14052 | 2007-03-21 Mike Stump <mrs@apple.com> |
14053 | ||
14054 | * c.opt: Fixup for Objective-C/C++. | |
14055 | ||
a745c94e | 14056 | 2007-03-21 Steve Ellcey <sje@cup.hp.com> |
2800ac1a | 14057 | |
14058 | * explow.c (convert_memory_address): Fold memory reference when | |
14059 | POINTERS_EXTEND_UNSIGNED < 0 | |
14060 | ||
0e960ba8 | 14061 | 2007-03-21 Richard Henderson <rth@redhat.com> |
14062 | ||
14063 | PR target/31245 | |
14064 | * config/i386/emmintrin.h (__m128i, __m128d): Mark may_alias. | |
14065 | * config/i386/mmintrin.h (__m64): Likewise. | |
14066 | * config/i386/xmmintrin.h (__m128): Likewise. | |
14067 | ||
f868f9f1 | 14068 | 2007-03-21 Richard Sandiford <richard@codesourcery.com> |
14069 | ||
14070 | * config/vxworks.h (VXWORKS_ADDITIONAL_CPP_SPEC): Remove -D options. | |
14071 | (VXWORKS_OS_CPP_BUILTINS): Define. | |
14072 | * config/i386/vxworks.h (VXWORKS_CPU_DEFINE): Fold into... | |
14073 | (TARGET_OS_CPP_BUILTINS): ...here. Use VXWORKS_OS_CPP_BUILTINS. | |
14074 | ||
3aba99c8 | 14075 | 2007-03-21 Richard Sandiford <richard@codesourcery.com> |
14076 | ||
14077 | * rtl.h (constant_pool_reference_p): Delete. | |
14078 | (find_constant_src): Declare. | |
14079 | * rtlanal.c (find_constant_src): New function. | |
14080 | * simplify-rtx.c (constant_pool_reference_p): Delete. | |
14081 | * config/i386/i386.md: Use find_constant_src instead of | |
14082 | constant_pool_reference_p/avoid_constant_pool_reference pairs. | |
14083 | ||
7a0eea86 | 14084 | 2007-03-21 Richard Sandiford <richard@codesourcery.com> |
14085 | ||
14086 | * doc/invoke.texi (-fpie, -fPIE): Document __pie__ and __PIE__. | |
14087 | * c-cppbuiltin.c (c_cpp_builtins): Define them. | |
14088 | ||
a457f9f8 | 14089 | 2007-03-20 Mark Mitchell <mark@codesourcery.com> |
14090 | ||
14091 | * config/arm/elf.h (TARGET_ASM_DESTRUCTOR): Define. | |
14092 | * config/arm/arm.c (arm_elf_asm_cdtor): New function. | |
14093 | (arm_elf_asm_constructor): Use it. | |
14094 | (arm_elf_asm_destructor): New function. | |
14095 | ||
76021441 | 14096 | 2007-03-20 Bernd Schmidt <bernd.schmidt@analog.com> |
14097 | ||
14098 | * jump.c (mark_jump_label): Treat SEQUENCE specially. | |
14099 | ||
08b2466e | 14100 | 2007-03-20 Nathan Sidwell <nathan@codesourcery.com> |
14101 | ||
14102 | * config/vxlib.c (tls_delete_hook): Use TCB for kernel tasks. | |
14103 | ||
2b9f2e46 | 14104 | 2007-03-19 Andrew Haley <aph@redhat.com> |
14105 | ||
14106 | PR tree-optimization/31264 | |
14107 | * tree-vrp.c (register_edge_assert_for_1): Don't look though | |
14108 | VIEW_CONVERT_EXPRs. | |
14109 | ||
243f24c5 | 14110 | 2007-03-19 Paolo Bonzini <bonzini@gnu.org> |
14111 | ||
14112 | PR rtl-optimization/30907 | |
14113 | * fwprop.c (forward_propagate_into): Never propagate inside a loop. | |
14114 | (fwprop_init): Always call loop_optimizer_initialize. | |
14115 | (fwprop_done): Always call loop_optimizer_finalize. | |
14116 | (fwprop): We always have loop info now. | |
14117 | (gate_fwprop_addr): Remove. | |
14118 | (pass_fwprop_addr): Use gate_fwprop as gate. | |
14119 | ||
14120 | PR rtl-optimization/30841 | |
14121 | * df-problems.c (df_ru_local_compute, df_rd_local_compute, | |
14122 | df_chain_alloc): Call df_reorganize_refs unconditionally. | |
14123 | * df-scan.c (df_rescan_blocks, df_reorganize_refs): Change | |
14124 | refs_organized to refs_organized_size. | |
14125 | (df_ref_create_structure): Use refs_organized_size instead of | |
14126 | bitmap_size if refs had been organized, and keep refs_organized_size | |
14127 | up-to-date. | |
14128 | * df.h (struct df_ref_info): Change refs_organized to | |
14129 | refs_organized_size. | |
14130 | (DF_DEFS_SIZE, DF_USES_SIZE): Use refs_organized_size instead of | |
14131 | bitmap_size. | |
14132 | ||
9519f67b | 14133 | 2007-03-19 Mark Mitchell <mark@codesourcery.com> |
14134 | ||
14135 | * except.c (output_function_exception_table): Do not reference the | |
14136 | EH personality routine for functions that do not require an | |
14137 | exception table. | |
14138 | ||
3d8785bc | 14139 | 2007-03-20 Jakub Jelinek <jakub@redhat.com> |
14140 | ||
aedd6e32 | 14141 | PR c/30762 |
14142 | * c-typeck.c (convert_for_assignment): Call comptypes for | |
14143 | RECORD_TYPE or UNION_TYPE. | |
14144 | ||
3d8785bc | 14145 | PR inline-asm/30505 |
14146 | * reload1.c (reload): Do invalid ASM checking after | |
14147 | cleanup_subreg_operands. | |
14148 | ||
94ca4916 | 14149 | 2007-03-19 Jeff Law <law@redhat.com> |
14150 | ||
14151 | * tree-cfg.c (find_taken_edge): Tighten conditions for | |
14152 | optimizing computed gotos. | |
14153 | ||
a8bb7059 | 14154 | 2007-03-19 Michael Matz <matz@suse.de> |
14155 | ||
14156 | * builtins.c (expand_builtin_sync_operation, | |
14157 | expand_builtin_compare_and_swap, | |
14158 | expand_builtin_lock_test_and_set): Care for extending CONST_INTs | |
14159 | correctly. | |
14160 | ||
14161 | * config/i386/sync.md (sync_double_compare_and_swapdi_pic, | |
14162 | sync_double_compare_and_swap_ccdi_pic): Use "SD" as constraint | |
14163 | for operand 3. | |
14164 | ||
021a18ba | 14165 | 2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> |
14166 | ||
14167 | * doc/tm.texi: Add brackets around the return type of | |
14168 | TARGET_SECONDARY_RELOAD. | |
14169 | ||
d42c14ae | 14170 | 2007-03-19 Andrew Pinski <andrew_pinski@playstation.sony.com> |
14171 | Richard Guenther <rguenther@suse.de> | |
14172 | ||
14173 | PR tree-optimization/31254 | |
14174 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): | |
14175 | Use handled_component_p () where appropriate. Continue | |
14176 | propagating into the rhs if we propagated into an INDIRECT_REF | |
14177 | on the lhs. | |
14178 | ||
1f8e70bc | 14179 | 2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> |
14180 | ||
14181 | * config/s390/s390.md (op_type attribute): RRR instruction type added. | |
14182 | (FP, DFP, SD_SF, DD_DF, TD_TF): New mode macros. | |
14183 | (xde, xdee): Mode attributes adjusted to support DFP modes. | |
14184 | (RRer, f0, op1, Rf, bt, bfp, HALF_TMODE): New mode attributes added. | |
14185 | ("cmp<mode>", "*cmp<mode>_css_0", "*cmp<mode>_ccs", TF move splitters, | |
f8be92ce | 14186 | DF move splitters, "floatdi<mode>2", "add<mode>3", "*add<mode>3", |
1f8e70bc | 14187 | "*add<mode>3_cc", "*add<mode>3_cconly", "sub<mode>3", "*sub<mode>3", |
14188 | "*sub<mode>3_cc", "*sub<mode>3_cconly", "mul<mode>3", "*mul<mode>3", | |
14189 | "div<mode>3", "*div<mode>3", "*neg<mode>2_nocc", "*abs<mode>2_nocc", | |
f8be92ce | 14190 | "*negabs<mode>2_nocc", "copysign<mode>3"): Adjusted to support DFP |
1f8e70bc | 14191 | numbers. |
14192 | ("*movtf_64", "*movtf_31", "*movdf_64dfp", "*movdf_64", "*movdf_31", | |
14193 | "movsf"): Insn definitions removed. | |
14194 | ("*mov<mode>_64", "*mov<mode>_31", "mov<mode>", "*mov<mode>_64dfp", | |
14195 | "*mov<mode>_64", "*mov<mode>_31", "fix_trunc<DFP:mode>di2", | |
14196 | "trunctddd2", "truncddsd2", "extendddtd2", "extendsddd2"): Insn | |
14197 | definitions added. | |
14198 | ("fixuns_truncdddi2", "fixuns_trunctddi2", "mov<mode>", | |
14199 | "reload_in<mode>", "reload_out<mode>"): Expander added. | |
14200 | ("movtf", "movdf", "reload_outtf", "reload_outdf", "reload_intf"): | |
14201 | Expander removed. | |
14202 | ||
708607d5 | 14203 | 2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> |
14204 | ||
14205 | * config/s390/s390.md: Only non-functional changes. Renamed | |
14206 | FPR mode macro to BFP all over the file. | |
14207 | ||
0c2edaa7 | 14208 | 2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> |
14209 | ||
14210 | * config/s390/s390.md (UNSPEC_COPYSIGN): New constant. | |
14211 | (op_type attribute): RRF instruction type added. | |
14212 | (fT0): New mode attribute. | |
14213 | ("*movdi_64dfp", "*movdf_64dfp", "*neg<mode>2_nocc", "*abs<mode>2_nocc", | |
14214 | "*negabs<mode>2_nocc", "copysign<mode>3"): Insn definitions added. | |
ed69c853 | 14215 | * config/s390/s390.h (SECONDARY_MEMORY_NEEDED): Due to a new |
14216 | instruction no secondary memory is needed when moving DFmode values | |
14217 | between GPRs and FPRs. | |
0c2edaa7 | 14218 | |
7818a08e | 14219 | 2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> |
14220 | ||
14221 | * config/s390/s390.opt ("mhard-float", "msoft-float"): Bit value | |
14222 | inverted and documentation adjusted. | |
14223 | ("mhard-dfp", "msoft-dfp"): New options. | |
14224 | * config/s390/s390.c (s390_handle_arch_option): New architecture | |
14225 | switch: z9-ec. | |
14226 | (override_options): Sanity checks for the new options added. | |
14227 | * config.gcc: New architecture switch: z9-ec. | |
14228 | * config/s390/s390.h (processor_flags): PF_DFP added. | |
14229 | (TARGET_CPU_DFP, TARGET_DFP): Macro definitions added. | |
14230 | (TARGET_DEFAULT): Due to the s390.opt changes hard float is enabled | |
14231 | when the bit is NOT set so remove it from the defaults. | |
14232 | ||
3b55c036 | 14233 | 2007-03-19 Andreas Krebbel <krebbel1@de.ibm.com> |
14234 | ||
14235 | * genemit.c (main): Print include statement for dfp.h. | |
14236 | * dfp.h (decimal_real_arithmetic): Hide prototype if tree_code enum | |
14237 | is not available. | |
14238 | ||
55d19f36 | 14239 | 2007-03-19 Hans-Peter Nilsson <hp@axis.com> |
14240 | ||
14241 | * config/cris/t-elfmulti (EXTRA_MULTILIB_PARTS): Do not define here. | |
14242 | ||
99971c03 | 14243 | 2007-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
14244 | ||
14245 | PR target/31022 | |
14246 | * config/sh/sh.c (sh_adjust_cost): Use the result of single_set | |
14247 | instead of PATTERN. | |
14248 | ||
c5559ed4 | 14249 | 2007-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14250 | ||
14251 | * pa.c (output_deferred_plabels, output_bb, output_millicode_call, | |
14252 | attr_length_call, output_call, output_indirect_call): Cleanup | |
14253 | formatting of targetm calls. | |
14254 | ||
fed42b71 | 14255 | 2007-03-19 Hans-Peter Nilsson <hp@axis.com> |
14256 | ||
14257 | * config/cris/cris.h (HANDLE_PRAGMA_PACK_PUSH_POP): Define to 1. | |
14258 | ||
7d9f62cc | 14259 | 2007-03-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14260 | ||
14261 | * pa.md: Add fpstore_load and store_fpload instruction types. Provide | |
ed69c853 | 14262 | reservation, bypass and anti-bypass descriptions for these |
14263 | instructions. Update move patterns. | |
7d9f62cc | 14264 | * pa.c (hppa_fpstore_bypass_p): Check for both TYPE_FPSTORE_LOAD and |
14265 | TYPE_FPSTORE. | |
f8be92ce | 14266 | |
e817bf15 | 14267 | 2007-03-18 Dorit Nuzman <dorit@il.ibm.com> |
14268 | ||
14269 | * tree-vect-transform.c (get_initial_def_for_induction): Replace | |
14270 | GET_MODE_NUNITS with TYPE_VECTOR_SUBPARTS. | |
14271 | (get_initial_def_for_reduction): Likewise. | |
14272 | ||
c1d4daae | 14273 | 2007-03-16 Daniel Berlin <dberlin@dberlin.org> |
14274 | ||
14275 | Fix PR tree-optimization/29922 | |
14276 | * tree-ssa-pre.c (bb_bitmap_sets): Remove RVUSE_* members. | |
14277 | (get_representative): Removed. | |
14278 | (value_dies_in_block_x): Update for rvuse removal. | |
14279 | (valid_in_sets): Update for renaming of vuses_dies_in_block_x. | |
14280 | (compute_antic_aux): Handle when PHI nodes appear in | |
f8be92ce | 14281 | non-single-successors. |
c1d4daae | 14282 | (dump_bitmap_of_names): Removed. |
14283 | (compute_antic_safe): Renamed and removed rvuse calculation. | |
14284 | Calculate only antic safe. | |
14285 | (insert_into_preds_of_block): Remove assert. | |
14286 | (execute_pre): Update for renamed functions. | |
14287 | (defer_or_phi_translate_block): New function. | |
f8be92ce | 14288 | |
f6a0d06f | 14289 | 2007-03-17 Kazu Hirata <kazu@codesourcery.com> |
14290 | ||
14291 | * config/arm/arm.c, config/arm/thumb2.md, config/m68k/m68k.c, | |
14292 | config/spu/spu.c, omega.h, passes.c, predict.c: Fix comment | |
14293 | typos. | |
14294 | * doc/cpp.texi, doc/extend.texi, doc/invoke.texi: Fix typos. | |
14295 | Follow spelling conventions. | |
14296 | ||
10f4b721 | 14297 | * tree-data-ref.h: Remove the prototype for analyze_array. |
14298 | ||
8d072f6d | 14299 | 2007-03-17 Dorit Nuzman <dorit@il.ibm.com> |
14300 | ||
14301 | PR tree-optimization/31041 | |
14302 | * tree-vect-transform.c (get_initial_def_for_induction): Call | |
14303 | force_gimple_operand. | |
f8be92ce | 14304 | |
51e779f4 | 14305 | 2007-03-17 Olga Golovanevsky <olga@il.ibm.com> |
f8be92ce | 14306 | |
51e779f4 | 14307 | * ipa-type-escape.c (look_for_casts) : Revert code to use |
14308 | handled_component_p due to ada test a-numaux.adb. | |
14309 | ||
f8df4da2 | 14310 | 2007-03-17 Kazu Hirata <kazu@codesourcery.com> |
14311 | ||
14312 | * final.c (final_scan_insn): Alter the condition of a | |
14313 | conditional trap if we have nonstandard CC. | |
14314 | ||
95cd4953 | 14315 | 2007-03-16 Alexandre Oliva <aoliva@redhat.com> |
14316 | ||
14317 | * configure.ac: Remove excess quoting from asm line 0 test. | |
14318 | * configure: Rebuilt. | |
14319 | ||
59dd8856 | 14320 | 2007-03-16 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
14321 | ||
14322 | * doc/invoke.texi (-Wconversion): Document warnings specific to C++. | |
14323 | * c-common.c (convert_and_check): Move warning logic to... | |
14324 | (warnings_for_convert_and_check): ...here. Define. | |
14325 | * c-common.h (warnings_for_convert_and_check): Declare. | |
f8be92ce | 14326 | |
ec94117d | 14327 | 2007-03-16 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14328 | ||
14329 | * pa.c (attr_length_call): Partially revert change of 2007-03-09. | |
14330 | (output_call): Likewise. | |
14331 | ||
ac03c1db | 14332 | 2007-03-16 Richard Sandiford <richard@codesourcery.com> |
14333 | ||
14334 | * config/vxworks.h (SUPPORTS_INIT_PRIORITY): Define. | |
14335 | ||
e9204790 | 14336 | 2007-03-16 Richard Sandiford <richard@codesourcery.com> |
14337 | ||
14338 | * config/vx-common.h (WINT_TYPE, WINT_TYPE_SIZE): Define. | |
14339 | ||
d53e2283 | 14340 | 2007-03-16 Uros Bizjak <ubizjak@gmail.com> |
14341 | ||
14342 | * config/i386/i386.c (override_options): Add PTA_NO_SAHF to k8, | |
14343 | opteron, athlon-64 and athlon-fx processor_alias_table entries. | |
14344 | ||
a75122be | 14345 | 2007-03-16 Sebastian Pop <sebastian.pop@inria.fr> |
14346 | ||
14347 | PR tree-optimization/31183 | |
f8be92ce | 14348 | * tree-loop-linear.c (gather_interchange_stats, try_interchange_loops): |
a75122be | 14349 | Use double_int instead of unsigned int for representing access_strides. |
14350 | * testsuite/gcc.dg/tree-ssa/pr31183.c: New. | |
14351 | ||
15ec875c | 14352 | 2007-03-16 Richard Guenther <rguenther@suse.de> |
14353 | ||
14354 | PR tree-optimization/31146 | |
14355 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Restructure | |
14356 | to allow recursion of forward_propagate_addr_expr. | |
14357 | (forward_propagate_addr_into_variable_array_index): Likewise. | |
14358 | (forward_propagate_addr_expr): Likewise. | |
14359 | (tree_ssa_forward_propagate_single_use_vars): Likewise. | |
14360 | (forward_propagate_addr_expr_1): Recurse on simple copies | |
14361 | instead of propagating into them. Do so for useless conversions | |
14362 | as well. | |
14363 | (forward_propagate_addr_expr): Clean up unused statements after | |
14364 | recursion. | |
14365 | ||
3737e769 | 14366 | 2007-03-16 Richard Guenther <rguenther@suse.de> |
14367 | ||
14368 | * builtins.c (expand_builtin_cexpi): Use the right argument | |
14369 | for the expansion via cexp. | |
14370 | ||
5c17a266 | 14371 | 2007-03-16 Alexandre Oliva <aoliva@redhat.com> |
14372 | ||
14373 | * configure.ac: Don't require ELF binutils to tolerate # 0 "". | |
14374 | * configure: Rebuilt. | |
14375 | ||
a357c7c2 | 14376 | 2007-03-16 Alexandre Oliva <aoliva@redhat.com> |
14377 | ||
14378 | PR debug/29906 | |
14379 | * dwarf2out.c (force_type_die): Adjust comment. | |
14380 | (dwarf2out_imported_module_or_decl): Handle base AT_import types. | |
14381 | ||
89c31ddb | 14382 | 2007-03-15 DJ Delorie <dj@redhat.com> |
14383 | ||
14384 | * config/frv/predicates.md (minmax_operator): Don't check operands | |
14385 | here. | |
14386 | ||
4b4ab846 | 14387 | 2007-03-15 Zdenek Dvorak <dvorakz@suse.cz> |
14388 | ||
14389 | * tree-ssa-loop-niter.c (record_estimate): Add "upper" argument. | |
14390 | Update constant estimates of number of iterations. | |
14391 | (record_nonwrapping_iv): Add "upper" argument. "data_size_bounds_p" | |
14392 | argument renamed to "realistic". | |
14393 | (compute_estimated_nb_iterations): Removed. | |
14394 | (record_niter_bound): New function. | |
14395 | (idx_infer_loop_bounds): For possible but unlikely tail arrays, | |
14396 | call record_nonwrapping_iv with upper = false. | |
14397 | (infer_loop_bounds_from_signedness): Pass upper argument to | |
14398 | record_nonwrapping_iv. | |
14399 | (estimate_numbers_of_iterations_loop): Do not call | |
14400 | compute_estimated_nb_iterations. Record estimate based on profile | |
14401 | information. Initialize the constant estimates of number of | |
14402 | iterations. | |
14403 | * tree-data-ref.c (estimated_loop_iterations): Return the recorded | |
14404 | estimates. | |
14405 | * tree-ssa-loop-prefetch.c (loop_prefetch_arrays): Add dump when | |
14406 | number of iterations is too small. | |
14407 | * cfgloop.h (struct nb_iter_bound): Remove "realistic" field. | |
14408 | (EST_NOT_AVAILABLE): Removed. | |
14409 | (struct loop): Replace estimated_nb_iterations by any_upper_bound, | |
14410 | nb_iterations_upper_bound, any_estimate and nb_iterations_estimate | |
14411 | fields. | |
14412 | ||
8cd53b4f | 14413 | 2007-03-15 Zdenek Dvorak <dvorakz@suse.cz> |
14414 | ||
14415 | * tree-ssa-loop-niter.c (refine_bounds_using_guard, bound_difference): | |
14416 | Handle NE_EXPR guards. | |
14417 | ||
aa509316 | 14418 | 2007-03-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
14419 | ||
14420 | PR c++/24924 | |
14421 | * c-opts.c (c_common_post_options): Handle C++ post-processing here. | |
14422 | Set also -pedantic-errors by default for the preprocessor unless | |
14423 | -fpermissive is given. | |
f8be92ce | 14424 | |
fc0dfa6e | 14425 | 2007-03-15 Richard Guenther <rguenther@suse.de> |
14426 | ||
14427 | PR middle-end/29719 | |
14428 | PR middle-end/31161 | |
14429 | * builtins.c (expand_builtin_cexpi): As a fallback if we | |
14430 | don't have builtins for sincos or cexp create a function | |
14431 | declaration for cexp and expand to a call to that. | |
14432 | (expand_builtin_int_roundingfn): Always fall | |
14433 | back to floor/ceil and its variants even if they may be | |
14434 | not available. | |
14435 | ||
4aaec180 | 14436 | 2007-03-15 Steven Bosscher <steven@gcc.gnu.org> |
14437 | ||
14438 | PR middle-end/31159 | |
14439 | * cfglayout.c (fixup_reorder_chain): Postpone deleting dead | |
14440 | jump tables, move the call to delete_dead_jumptables from here... | |
14441 | (cfg_layout_finalize): ...to here. But rebuild jump labels first. | |
14442 | * cfgrtl.c (cfg_layout_can_merge_blocks_p): When not optimizing, | |
14443 | don't allow merging of blocks that try_redirect_by_replacing_jump | |
14444 | also does not handle when not optimizing. | |
14445 | ||
a1758a13 | 14446 | 2007-03-15 Uros Bizjak <ubizjak@gmail.com> |
14447 | Francois-Xavier Coudert <coudert@clipper.ens.fr> | |
14448 | ||
14449 | * config/i386/i386.md (x86_sahf_1): Correctly handle | |
14450 | HAVE_AS_IX86_SAHF. | |
14451 | ||
ed2235c8 | 14452 | 2007-03-15 Uros Bizjak <ubizjak@gmail.com> |
14453 | ||
14454 | PR target/31167 | |
14455 | * config/i386/i386.md (*addti3_1, *addti3_1 splitter): Use | |
14456 | x86_64_general_operand as operand[2] predicate. Remove "iF" | |
14457 | from operand constraints and use "e" constraint instead. | |
14458 | (*subti3_1, *subti3_1 splitter): Ditto. | |
14459 | (*negti2_1, *negti2_1 splitter): Use nonimmediate_operand as | |
14460 | operand[1] predicate. | |
14461 | ||
28d4f5a1 | 14462 | 2007-03-14 Sebastian Pop <sebastian.pop@inria.fr> |
14463 | ||
14464 | * tree-loop-linear.c (gather_interchange_stats): For multidimensional | |
14465 | arrays, multiply the access strides by the size of the sub-array. | |
14466 | * testsuite/gcc.dg/tree-ssa/ltrans-5.c: New. | |
14467 | ||
735630ef | 14468 | 2007-03-14 Uros Bizjak <ubizjak@gmail.com> |
14469 | ||
14470 | * configure.ac (HAVE_AS_IX86_SAHF): On x86 targets check whether | |
14471 | the configured assembler supports the sahf mnemonic. | |
14472 | * configure: Regenerate. | |
14473 | * config.in: Regenerate. | |
14474 | ||
14475 | * config/i386/i386.md (x86_sahf_1): Depending on HAVE_AS_IX86_SAHF, | |
14476 | emit "sahf" or ".byte\t0x9e" as asm template. | |
14477 | ||
2b28c681 | 14478 | 2007-03-14 Michael Meissner <michael.meissner@amd.com> |
14479 | ||
14480 | PR 31018 | |
14481 | * config/i386/i386.h (X86_TUNE_SHORTEN_X87_SSE): New tuning | |
14482 | option to replace hard coded TARGET_xxx in md file. | |
14483 | (X86_TUNE_AVOID_VECTOR_DECODE): Ditto. | |
14484 | (X86_TUNE_SLOW_IMUL_IMM32_MEM): Ditto. | |
14485 | (X86_TUNE_SLOW_IMUL_IMM8): Ditto. | |
14486 | (X86_TUNE_MOVE_M1_VIA_OR): Ditto. | |
14487 | (X86_TUNE_NOT_UNPAIRABLE): Ditto. | |
14488 | (X86_TUNE_NOT_VECTORMODE): Ditto. | |
14489 | (TUNE_SHORTEN_X87_SSE): Use new tuning option. | |
14490 | (TUNE_AVOID_VECTOR_DECODE): Ditto. | |
14491 | (TUNE_SLOW_IMUL_IMM32_MEM): Ditto. | |
14492 | (TUNE_SLOW_IMUL_IMM8): Ditto. | |
14493 | (TUNE_MOVE_M1_VIA_OR): Ditto. | |
14494 | (TUNE_NOT_UNPAIRABLE): Ditto. | |
14495 | (TUNE_NOT_VECTORMODE): Ditto. | |
f8be92ce | 14496 | |
2b28c681 | 14497 | * config/i386/i386.c (ix86_tune_features): Fill in new tuning |
14498 | options. | |
14499 | ||
14500 | * config/i386/i386.md (fix_trunc?f?1_sse peephole2): Use new | |
14501 | tuning options instead of hard coded TARGET_xxx. | |
14502 | (fix ssemode peephole2's): Ditto. | |
14503 | (imul peephole2's): Ditto. | |
14504 | (movsi_or): Ditto. | |
14505 | (movdi_or_rex64): Ditto. | |
14506 | (move peephole2): Ditto. | |
14507 | (not peephole2's): Ditto. | |
14508 | ||
ffe8fd56 | 14509 | 2007-03-14 Dirk Mueller <dmueller@suse.de> |
14510 | ||
14511 | * c-common.h (empty_body_warning): Rename to empty_if_body_warning. | |
14512 | * c-common.c (empty_if_body_warning): Rephrase diagnostic message. | |
14513 | * c-parser.c (c_parser_if_body): Always add an empty statement in case | |
14514 | of empty body. | |
14515 | * c-parser.c (c_parser_do_statement): Warn about empty body in | |
14516 | do/while statement. | |
14517 | * c-typeck (c_finish_if_stmt): Call empty_if_body_warning. | |
14518 | * doc/invoke.texi (-Wempty-body): Update documentation. | |
14519 | ||
f092582b | 14520 | 2007-03-14 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
14521 | ||
14522 | PR c/21438 | |
14523 | * c-common.h (warn_for_div_by_zero): Declare. | |
14524 | * c-common.c (warn_for_div_by_zero): Define. | |
14525 | * c-typeck.c (build_binary_op): Call warn_for_div_zero instead of | |
14526 | warning. | |
14527 | ||
72d997cb | 14528 | 2007-03-14 Richard Sandiford <richard@codesourcery.com> |
14529 | ||
14530 | * Makefile.in (PREPROCESSOR_DEFINES): Add directory terminators | |
14531 | to PREFIX and STANDARD_PREFIX. | |
14532 | ||
efe5559c | 14533 | 2007-03-14 Richard Sandiford <richard@codesourcery.com> |
14534 | Phil Edwards <phil@codesourcery.com> | |
14535 | ||
14536 | * gthr-vxworks.h: Add an extern "C" wrapper for C++. | |
14537 | (__gthread_once_t): Remove busy field for RTPs. | |
14538 | (__GTHREAD_ONCE_INIT): Update accordingly. | |
14539 | ||
809bb1c7 | 14540 | 2007-03-14 Richard Sandiford <richard@codesourcery.com> |
14541 | ||
14542 | * doc/invoke.texi: Document VxWorks options. | |
14543 | ||
e85fd4fb | 14544 | 2007-03-14 Uros Bizjak <ubizjak@gmail.com> |
14545 | ||
14546 | * doc/invoke.texi (i386 and x86-64 Options): Clarify -msahf option. | |
14547 | ||
fdf6266d | 14548 | 2007-03-13 Seongbae Park <seongbae.park@gmail.com> |
14549 | ||
14550 | PR tree-optimization/30590 | |
14551 | * tree-nrv.c (tree_nrv): Check for the partial update of the | |
14552 | return value. | |
14553 | ||
b6c1bd72 | 14554 | 2007-03-13 Alexandre Oliva <aoliva@redhat.com> |
14555 | ||
14556 | * flags.h (flag_random_seed): Remove declaration, in favor of... | |
14557 | * toplev.h (get_random_seed, set_random_seed): ... these. | |
14558 | * tree.c (get_file_function_name): Use the former. | |
14559 | * opts.c (common_handle_option): Use the latter. | |
14560 | * toplev.c | |
14561 | ||
3752d411 | 14562 | 2007-03-13 Steven Bosscher <steven@gcc.gnu.org> |
14563 | ||
14564 | PR middle-end/31127 | |
14565 | * cse.c (cse_find_path): Do not bail out if a basic block that | |
14566 | we already visited now becomes part of a path that starts at a | |
14567 | different basic block. Just disallow this, to make sure we | |
14568 | visit each basic block at most once. | |
14569 | ||
24bc216e | 14570 | 2007-03-13 Jan Hubicka <jh@suse.cz> |
14571 | ||
ed69c853 | 14572 | * ipa-inline.c (cgraph_maybe_hot_edge_p): Look for hot/cold |
14573 | attributes, when profile esitmate is present, calls with very low | |
14574 | frequency are cold. | |
24bc216e | 14575 | |
a463eaea | 14576 | 2007-03-13 Zdenek Dvorak <dvorakz@suse.cz> |
14577 | ||
14578 | PR tree-optimization/30730 | |
14579 | PR tree-optimization/26900 | |
14580 | * tree-ssa-loop-niter.c: Include gmp.h. | |
14581 | (bounds): New type. | |
14582 | (mpz_set_double_int, get_type_bounds, mpz_to_double_int, | |
14583 | split_to_var_and_offset, determine_value_range, | |
14584 | bound_difference_of_offsetted_base, refine_bounds_using_guard, | |
14585 | bound_difference, bounds_add, bounds_negate, | |
14586 | number_of_iterations_ne_max, dump_affine_iv): New functions. | |
14587 | (number_of_iterations_ne, number_of_iterations_lt_to_ne, | |
14588 | assert_loop_rolls_lt, assert_loop_rolls_le): Use bounds on the | |
14589 | difference of initial and final value of control iv to validate | |
14590 | results. | |
14591 | (number_of_iterations_cond): Add loop parameter. Determine bounds | |
14592 | on the difference of the extremes of the control iv. Add dumps. | |
14593 | (expand_simple_operations): Handle phi nodes. | |
14594 | (simplify_using_initial_conditions): Do not record used conditions. | |
14595 | (number_of_iterations_exit): Pass loop to number_of_iterations_cond. | |
14596 | Do not set additional_info. | |
14597 | (implies_nonnegative_p, implies_ge_p): Removed. | |
14598 | (derive_constant_upper_bound): Do not use parameter `additional'. | |
14599 | (record_estimate): Parameter `additional' removed. Parameter | |
14600 | `i_bound' added. Do not call derive_constant_upper_bound. | |
14601 | (record_nonwrapping_iv): Use derive_constant_upper_bound to | |
14602 | bound the number of iterations estimate. | |
14603 | (estimate_numbers_of_iterations_loop): Pass the estimate from | |
14604 | the number of iterations analysis to record_estimate. | |
14605 | * tree.h (multiple_of_p): Declare. | |
14606 | * tree-scalar-evolution.c (expression_expensive_p): Removed. | |
14607 | (scev_const_prop): Do not check expression_expensive_p. | |
14608 | * fold-const.c (multiple_of_p): Exported. | |
14609 | * double-int.c (double_int_mask): Exported. | |
14610 | * double-int.h (double_int_mask): Declare. | |
14611 | * tree-flow.h (struct tree_niter_desc): Removed additional_info | |
14612 | field. Added max field. | |
14613 | ||
e238d235 | 14614 | 2007-03-13 David Taylor <taylor@candd.org> |
14615 | ||
14616 | PR driver/12448: | |
14617 | * gcc.c (cpp_unique_options): If -MT or -MQ is seen, don't pass | |
14618 | default -MQ. | |
14619 | ||
a0ece9f6 | 14620 | 2007-03-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14621 | ||
73fc3472 | 14622 | PR target/31123 |
a0ece9f6 | 14623 | * pa.md (vdepi_ior): Don't allow zero length deposit. Likewise for |
14624 | two unamed patterns. | |
f8be92ce | 14625 | |
92a5086b | 14626 | 2007-03-13 Uros Bizjak <ubizjak@gmail.com> |
14627 | ||
14628 | * config/i386/i386.opt (mcx16, msahf): New options. | |
14629 | * config/i386/i386.c (x86_cmpxchg16b, x86_sahf): Remove. | |
14630 | (ix86_tune_features) [X86_TUNE_USE_SAHF]: Enable for m_GENERIC. | |
14631 | ||
14632 | * config/i386/driver-i386.c (bit_LAHF_LM): New define. | |
14633 | (host_detect_local_cpu): Detect cx16 and lahf_lm cpuid bits. | |
14634 | Output -mcx16 and -msahf options when corresponding bit is set. | |
14635 | ||
14636 | * doc/invoke.texi (i386 and x86-64 Options): Document -mcx16 | |
14637 | and -msahf options. | |
14638 | ||
a8971681 | 14639 | 2007-03-13 Alexandre Oliva <aoliva@redhat.com> |
14640 | ||
14641 | * configure.ac: Test for assembler tolerance to # 0 "". | |
14642 | * configure, config.in: Rebuilt. | |
14643 | * final.c (final_scan_insn): Emit it if HAVE_AS_LINE_ZERO. | |
14644 | ||
c99afad8 | 14645 | 2007-03-13 Geoffrey Keating <geoffk@apple.com> |
14646 | ||
14647 | * doc/invoke.texi (Spec Files): Update for '%{,' spec. | |
47adc701 | 14648 | |
14649 | * config/rs6000/darwin-fallback.c: Compile file only on powerpc. | |
14650 | (handle_syscall): Handle direct system calls. | |
14651 | * config/rs6000/darwin.h (HAS_MD_FALLBACK_FRAME_STATE_FOR): Delete. | |
14652 | ||
6713f0a0 | 14653 | 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com> |
14654 | ||
14655 | * doc/invoke.texi: Fix cpp.info cross-reference. | |
14656 | * doc/passes.texi: Fix gcc.info cross-reference. | |
14657 | ||
f8494ea3 | 14658 | 2007-03-12 Zdenek Dvorak <dvorakz@suse.cz> |
14659 | ||
14660 | PR tree-optimization/30835 | |
14661 | * lambda-code.c (can_convert_to_perfect_nest): Check whether | |
14662 | bb_for_stmt is not NULL before accessing it. | |
14663 | ||
021d874e | 14664 | 2007-03-12 Joseph Myers <joseph@codesourcery.com> |
14665 | ||
14666 | * gcc.c (main): Handle target_sysroot_hdrs_suffix being NULL for | |
14667 | some multilibs. | |
14668 | ||
16e1a7da | 14669 | 2007-03-12 Brooks Moses <brooks.moses@codesourcery.com> |
14670 | ||
14671 | PR 30635 | |
14672 | * doc/install.texi: Document --enable-stage1-languages | |
14673 | ||
154480b1 | 14674 | 2007-03-12 Steven Bosscher <steven@gcc.gnu.org> |
14675 | ||
14676 | * tree-pass.h (pass_into_cfg_layout_mode, | |
14677 | pass_outof_cfg_layout_mode): Declare. | |
14678 | * cfglayout.c (into_cfg_layout_mode, outof_cfg_layout_mode, | |
14679 | pass_into_cfg_layout_mode, pass_outof_cfg_layout_mode): New. | |
14680 | * passes.c (pass_into_cfg_layout_mode): Schedule before jump2. | |
14681 | (pass_outof_cfg_layout_mode): Schedule after pass_rtl_ifcvt. | |
14682 | ||
aaafd660 | 14683 | 2007-03-12 Seongbae Park <seongbae.park@gmail.com> |
14684 | ||
14685 | * c-decl.c (warn_variable_length_array): New function. | |
14686 | Refactored from grokdeclarator to handle warn_vla | |
14687 | and handle unnamed array case. | |
14688 | (grokdeclarator): Refactored VLA warning case. | |
14689 | * c.opt (Wvla): New flag. | |
974bc84e | 14690 | * doc/invoke.texi (Wvla): New warning. |
aaafd660 | 14691 | |
cc2af183 | 14692 | 2007-03-12 Richard Henderson <rth@redhat.com> |
14693 | ||
14694 | * config/alpha/alpha.c (alpha_elf_section_type_flags): New. | |
14695 | (TARGET_SECTION_TYPE_FLAGS): New. | |
14696 | ||
0b769e4a | 14697 | 2007-03-12 Richard Henderson <rth@redhat.com> |
14698 | ||
f8494ea3 | 14699 | * config/darwin.c (machopic_reloc_rw_mask): New. |
14700 | * config/darwin-protos.h (machopic_reloc_rw_mask): Declare. | |
14701 | * config/darwin.h (TARGET_ASM_RELOC_RW_MASK): New. | |
0b769e4a | 14702 | |
a8bb4f69 | 14703 | 2007-03-12 Mark Mitchell <mark@codesourcery.com> |
14704 | ||
14705 | * cppdefault.c (cpp_EXEC_PREFIX): New variable. | |
14706 | * cppdefault.h (cpp_PREFIX): Document. | |
14707 | (cpp_PREFIX_len): Likewise. | |
14708 | (cpp_EXEC_PREFIX): New variable. | |
14709 | * Makefile.in (PREPROCESSOR_DEFINES): Add STANDARD_EXEC_PREFIX. | |
14710 | * c-incpath.c (add_standard_paths): Correct logic for relocating | |
14711 | paths within prefix. | |
14712 | ||
d3fcb417 | 14713 | 2007-03-12 Uros Bizjak <ubizjak@gmail.com> |
14714 | ||
14715 | * config/i386/i386.md (fixuns_trunc<mode>hi2): Implement from | |
14716 | fixuns_truncsfhi2 and fixuns_truncdfhi2 using SSEMODEF | |
14717 | mode macro. | |
14718 | (fix_trunc<mode>di_sse): Implement from fix_truncsfdi_sse and | |
14719 | fix_truncdfdi_sse using SSEMODEF mode macro. | |
14720 | (fix_trunc<mode>si_sse): Implement from fix_truncsfsi_sse and | |
14721 | fix_truncdfsi_sse using SSEMODEF mode macro. | |
14722 | (fix_trunc?f?i_sse peephole2): Implement using SSEMODEF mode macro. | |
14723 | (fix_trunc?f?i_sse K8 peephole2): Fix register constraint. | |
14724 | ||
ac2799d5 | 14725 | 2007-03-12 Richard Sandiford <richard@codesourcery.com> |
14726 | ||
14727 | * config.gcc (i[4567]86-wrs-vxworks, i[4567]86-wrs-vxworksae): Add | |
14728 | elfos.h to tm_file. | |
14729 | ||
96b038b0 | 14730 | 2007-03-12 Olga Golovanevsky <olga@il.ibm.com> |
f8be92ce | 14731 | |
96b038b0 | 14732 | * tree.h : Add multiple_of_p declaration. |
f8be92ce | 14733 | * fold-const.c (multiple_of_p): Make multiple_of_p public. |
96b038b0 | 14734 | * ipa-type-escape.c (results_of_malloc): Redundant. |
14735 | (visited_stmts): New. Visited stmt for walk_use_def_chains. | |
14736 | (cast_type): Extended with new members. | |
14737 | (check_cast): Returns cast_type. | |
14738 | (cast): New structure for data of walk_use_def_chains. | |
14739 | (is_malloc_result, is_cast_from_non_pointer_1, | |
f8be92ce | 14740 | is_cast_from_non_pointer, |
96b038b0 | 14741 | is_array_access_through_pointer_and_index): New functions. |
14742 | (look_for_casts): Returns cast types. | |
14743 | (check_call): Returns void. | |
14744 | (okay_pointer_operation): Use support of pointer plus index, | |
14745 | pointer plus constant and allow all multiplications. | |
f8be92ce | 14746 | |
62065c0b | 14747 | 2007-03-11 Richard Guenther <rguenther@suse.de> |
14748 | ||
14749 | PR tree-optimization/31115 | |
14750 | * tree-vrp.c (extract_range_from_binary_expr): Make sure | |
14751 | the shift count is positive and non-anti-range for RSHIFT_EXPR. | |
14752 | A shift count of zero is not special as with *_DIV_EXPR. | |
14753 | (vrp_int_const_binop): Handle RSHIFT_EXPR for determining overflow | |
14754 | direction. | |
14755 | ||
659753d3 | 14756 | 2007-03-11 Ian Lance Taylor <iant@google.com> |
14757 | ||
14758 | * tree-vrp.c (vrp_int_const_binop): Handle PLUS_EXPR and | |
14759 | the *_DIV_EXPR codes correctly with overflow infinities. | |
14760 | ||
72443169 | 14761 | 2007-03-11 Ira Rosen <irar@il.ibm.com> |
14762 | ||
f8be92ce | 14763 | * tree-data-ref.c (analyze_offset): Add a return value (bool) to |
72443169 | 14764 | indicate success/failure of the analysis. Add negation to subtrahend |
14765 | in case of subtraction. Fail if both operands contain constants. | |
14766 | (create_data_ref): Fail if analyze_offset fails. | |
14767 | ||
4209e9f9 | 14768 | 2007-03-11 Uros Bizjak <ubizjak@gmail.com> |
14769 | ||
14770 | * config/i386/i386.md (frndintxf2): Rename to ... | |
14771 | (rintxf2): ... this. Remove expander having same name. | |
14772 | (rintsf2, rintdf2): Implement using SSEMODEF macro. | |
14773 | (roundsf2, rounddf2): Ditto. | |
14774 | (lrint<mode>di2, lrint<mode>si2): Implement using SSEMODEI24 macro. | |
14775 | (lround<mode>di2, lround<mode>si2): Ditto. | |
14776 | ||
db1c50be | 14777 | 2007-03-11 Steven Bosscher <steven@gcc.gnu.org> |
14778 | ||
14779 | * lower-subreg.c: Include except.h. | |
14780 | (decompose_multiword_subregs): Verify that the only control flow | |
14781 | insns we can split are loads to multi-words pseudos. | |
14782 | Handle breaking such blocks after splitting, instead of calling | |
14783 | find_many_sub_basic_blocks. | |
14784 | ||
14785 | * loop-unroll.c (split_edge_and_insert): Don't set BB_SUPERBLOCK | |
14786 | on the new basic block. Add a lengthy comment explaining why we | |
14787 | thought this was necessary. | |
14788 | * cfglayout.c (cfg_layout_finalize): Don't break superblocks. | |
14789 | ||
6783c055 | 14790 | 2007-03-10 Mark Mitchell <mark@codesourcery.com> |
14791 | ||
752d462d | 14792 | PR c++/30924 |
6783c055 | 14793 | * tree.c (walk_type_fields): Recurse into the element type of |
14794 | ARRAY_TYPEs if there is a pointer set. | |
14795 | ||
e6978426 | 14796 | 2007-03-10 Dirk Mueller <dmueller@suse.de> |
14797 | ||
14798 | * c-common.c (warn_logical_operator): Fix condition. | |
14799 | ||
4f409e20 | 14800 | 2007-03-10 Tobias Schl�ter <tobi@gcc.gnu.org> |
c6134e23 | 14801 | |
14802 | * config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Add missing | |
14803 | quotation mark. | |
77cd4e90 | 14804 | * config/darwin.c (machopic_select_section): Remove superfluous |
14805 | argument in call to categorize_decl_for_section. Remove unused | |
14806 | variable shlib. | |
c6134e23 | 14807 | |
e9cef88c | 14808 | 2007-03-10 Joseph Myers <joseph@codesourcery.com> |
14809 | ||
14810 | * configure.ac (glibc_header_dir): Set using with_build_sysroot if | |
14811 | defined. | |
14812 | * configure: Regenerate. | |
14813 | ||
5c2d2d32 | 14814 | 2007-03-10 Uros Bizjak <ubizjak@gmail.com> |
14815 | ||
14816 | PR target/31101 | |
14817 | * config/i386/i386.md (UNSPEC_C2_FLAG): New constant. | |
14818 | (fpremxf4_i387, fprem1xf4_i387): Use UNSPEC_C2_FLAG. | |
14819 | (fmodxf3, fmod<mode>3, remainderxf3, remainder<mode>3): | |
4209e9f9 | 14820 | Add LABEL_NUSES to emitted label. |
5c2d2d32 | 14821 | * config/i386/i386.c (ix86_emit_fp_unordered_jump): Add |
4209e9f9 | 14822 | branch probability value to emitted jump insn. |
5c2d2d32 | 14823 | * reg-stack.c (subst_stack_regs_pat)[UNSPEC]: Handle UNSPEC_C2_FLAG. |
14824 | Do not check life information and do not re-arrange input operands | |
14825 | for UNSPEC_FSCALE_EXP, UNSPEC_FPREM_U and UNSPEC_FPREM1_U. | |
14826 | ||
796e4476 | 14827 | 2007-03-10 Kaz Kojima <kkojima@gcc.gnu.org> |
14828 | ||
14829 | * config/sh/sh.c (sh_insn_length_adjustment): Adjust for | |
14830 | the change of decode_asm_operands. | |
14831 | ||
8801c4fd | 14832 | 2007-03-10 Kaz Kojima <kkojima@gcc.gnu.org> |
14833 | ||
14834 | * mode-switching.c (create_pre_exit): Skip blockage insn. | |
14835 | ||
eb9161e7 | 14836 | 2007-03-09 Diego Novillo <dnovillo@redhat.com> |
14837 | ||
14838 | * tree-pass.h (TODO_update_smt_usage): Remove. | |
14839 | Update all users. | |
14840 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Remove | |
14841 | argument SOME. | |
14842 | Update all users. | |
14843 | ||
ea24f9f4 | 14844 | 2007-03-09 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
14845 | ||
ed69c853 | 14846 | * pa.c (attr_length_call): Revise condition for long |
14847 | pc-relative branch. | |
14848 | (output_call): Use "LONG_PIC_SDIFF" instruction sequence for long | |
14849 | local calls on the SOM target. Don't use "LONG_PIC_PCREL" call | |
14850 | sequence on SOM target. | |
ea24f9f4 | 14851 | |
90e35d1a | 14852 | 2007-03-09 Geoffrey Keating <geoffk@apple.com> |
14853 | ||
14854 | * gcc.c: Document %{, in big comment at top. | |
14855 | (input_suffix_matches): Remove special handling for .s and | |
14856 | .S. | |
14857 | (input_spec_matches): New. | |
14858 | (handle_braces): Handle %{,. | |
14859 | (validate_switches): ',' indicates a value which is not a switch. | |
14860 | * config/alpha/osf.h (ASM_FINAL_SPEC): Use %{, rather than %{. | |
14861 | to detect assembler input. | |
14862 | * config/i386/sol2.h (CPP_SPEC): Likewise. | |
14863 | * config/rs6000/sysv4.h (ASM_SPEC): Likewise. | |
14864 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
14865 | * config/rs6000/lynx.h (ASM_SPEC): Likewise. | |
14866 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
14867 | * config/i386/darwin.h (DARWIN_MINVERSION_SPEC): Objective-C plus | |
14868 | -m64 causes deployment target to default to 10.5. | |
14869 | * config/rs6000/darwin.h (DARWIN_MINVERSION_SPEC): Likewise. | |
14870 | ||
4e151b05 | 14871 | 2007-03-09 Richard Henderson <rth@redhat.com> |
14872 | ||
14873 | PR target/26090 | |
14874 | * target.h (targetm.asm.out.reloc_rw_mask): New. | |
14875 | * target-def.h (TARGET_ASM_RELOC_RW_MASK): New. | |
14876 | (TARGET_ASM_OUT): Use it. | |
14877 | * targhooks.c, targhooks.h (default_reloc_rw_mask): New. | |
14878 | * varasm.c (categorize_decl_for_section): Remove shlib argument; | |
14879 | use the new reloc_rw_mask target hook instead. | |
14880 | (default_section_type_flags_1): Merge into... | |
14881 | (default_section_type_flags): ... here. | |
14882 | (decl_readonly_section_1): Merge into... | |
14883 | (decl_readonly_section): ... here. | |
14884 | (default_elf_select_section_1): Merge into... | |
14885 | (default_elf_select_section): ... here. | |
14886 | (default_unique_section_1): Merge into... | |
14887 | (default_unique_section): ... here. | |
14888 | (compute_reloc_for_rtx_1, compute_reloc_for_rtx): New. | |
14889 | (default_select_rtx_section): Use it. | |
14890 | (default_elf_select_rtx_section): Likewise. | |
14891 | * output.h: Update to match. | |
14892 | * doc/tm.texi (TARGET_ASM_RELOC_RW_MASK): New. | |
14893 | * config/alpha/alpha.c (alpha_elf_reloc_rw_mask): New. | |
14894 | (TARGET_ASM_RELOC_RW_MASK): New. | |
14895 | * config/i386/i386.c (x86_64_elf_select_section): Adjust call | |
14896 | to categorize_decl_for_section. | |
14897 | (x86_64_elf_unique_section): Likewise. | |
14898 | * config/ia64/hpux.h (TARGET_ASM_SELECT_SECTION, | |
14899 | TARGET_ASM_UNIQUE_SECTION, TARGET_ASM_SELECT_RTX_SECTION): Remove. | |
14900 | (TARGET_ASM_RELOC_RW_MASK): New. | |
14901 | * config/ia64/ia64.c (ia64_rwreloc_select_section, | |
14902 | ia64_rwreloc_unique_section, ia64_rwreloc_select_rtx_section): Remove. | |
14903 | (ia64_hpux_reloc_rw_mask, ia64_reloc_rw_mask): New. | |
14904 | (TARGET_RWRELOC): Remove. | |
14905 | (ia64_section_type_flags): Adjust call to default_section_type_flags. | |
14906 | * config/ia64/sysv4.h (TARGET_ASM_RELOC_RW_MASK): New. | |
14907 | * config/rs6000/rs6000.c (rs6000_elf_section_type_flags): Remove. | |
14908 | (rs6000_elf_select_section, rs6000_elf_unique_section): Remove. | |
14909 | (rs6000_elf_reloc_rw_mask, rs6000_xcoff_reloc_rw_mask): New. | |
14910 | (rs6000_xcoff_select_section): Use decl_readonly_section. | |
14911 | (rs6000_xcoff_section_type_flags): Use default_section_type_flags. | |
14912 | * config/rs6000/sysv4.h (TARGET_ASM_RELOC_RW_MASK): New. | |
14913 | (TARGET_ASM_SELECT_SECTION, TARGET_ASM_UNIQUE_SECTION): Remove. | |
14914 | (TARGET_SECTION_TYPE_FLAGS): Remove. | |
14915 | * config/rs6000/xcoff.h (TARGET_ASM_RELOC_RW_MASK): New. | |
14916 | ||
5dbcb7c4 | 14917 | 2007-03-09 Roger Sayle <roger@eyesopen.com> |
14918 | ||
14919 | * fold-const.c (fold_comparison): Remove compile-time evaluation of | |
14920 | complex constant equality/inequality comparisons for here. | |
14921 | (fold_binary) <EQ_EXPR>: Simplify complex comparisons that are | |
14922 | known at compile-time or can be simplified to a scalar comparison. | |
14923 | (fold_relational_const): Move compile-time evaluation of complex | |
14924 | constant equality/inequality comparisons to here. | |
14925 | ||
06320855 | 14926 | 2007-03-09 Alexandre Oliva <aoliva@redhat.com> |
14927 | ||
14928 | PR rtl-optimization/30643 | |
14929 | * cse.c (cse_insn): Recompute dest_hash after insert_regs for | |
50819eed | 14930 | dest_addr_elt. |
06320855 | 14931 | (fold_rtx): Recurse, like before 2006-11-03. |
14932 | ||
f58c51a5 | 14933 | 2007-03-09 DJ Delorie <dj@redhat.com> |
14934 | ||
5dbcb7c4 | 14935 | * config/m32c/t-m32c (m32c-pragma.o): Add TM_H dependency to |
14936 | m32c-pragma.o. | |
f58c51a5 | 14937 | |
161fe168 | 14938 | 2007-03-09 Aldy Hernandez <aldyh@redhat.com> |
14939 | ||
4209e9f9 | 14940 | PR tree-optimization/30375 |
14941 | * tree-ssa-dse.c (dse_possible_dead_store_p): Do not eliminate if | |
14942 | LHS of statements is not the same. | |
14943 | * testsuite/gcc.dg/tree-ssa/ssa-dse-10.c: New. | |
161fe168 | 14944 | |
c1901bc7 | 14945 | 2007-03-09 Chao-ying Fu <fu@mips.com> |
14946 | ||
14947 | * doc/extend.texi (MIPS DSP Built-in Functions): Document the DSP | |
14948 | REV 2. | |
14949 | * doc/invoke.texi (-mdspr2): Document new option. | |
14950 | * config/mips/mips.md (UNSPEC_ABSQ_S_QB .. UNSPEC_DPSQX_SA_W_PH): | |
14951 | New unspec for DSP REV 2. | |
14952 | (<u>mulsidi3_32bit_internal): Check if !TARGET_DSPR2, because | |
14953 | these instructions are extended in DSP REV 2. | |
14954 | (mips-dspr2.md): Include. | |
14955 | * config/mips/mips.opt (mdspr2): New option. | |
14956 | * config/mips/mips.c (mips_function_type): Add MIPS_V4QI_FTYPE_V4QI, | |
14957 | MIPS_SI_FTYPE_SI_SI_SI, MIPS_DI_FTYPE_DI_USI_USI, MIPS_DI_FTYPE_SI_SI, | |
14958 | MIPS_DI_FTYPE_USI_USI, MIPS_V2HI_FTYPE_SI_SI_SI. | |
14959 | (override_options): Check TARGET_DSPR2 to enable MASK_DSP. | |
14960 | (CODE_FOR_mips_mul_ph): Define it to CODE_FOR_mulv2hi3. | |
14961 | (dsp_bdesc): Add DSP REV 2 builtins. Remove 32-bit only DSP builtins. | |
14962 | (dsp_32only_bdesc): New description table for 32-bit only DSP REV 1 | |
14963 | and 2 builtins. | |
14964 | (bdesc_map): Add one field of unsupported_target_flags. | |
14965 | (bdesc_arrays): Update entries to have extra fields. Add | |
14966 | dsp_32only_bdesc. | |
14967 | (mips_init_builtins): Initialize new function types. | |
14968 | Check unsupported_target_fileds to filter out builtins. | |
14969 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_dspr2 if | |
14970 | TARGET_DSPR2. | |
14971 | (ASM_SPEC): Pass mdspr2 to the assembler. | |
14972 | * config/mips/mips-dspr2.md: New file. | |
14973 | ||
f50f824f | 14974 | 2007-03-09 Sa Liu <saliu@de.ibm.com> |
14975 | ||
14976 | * config/rs6000/altivec.md: Fix vcond patterns using if_then_else. | |
14977 | ||
47fcc258 | 14978 | 2007-03-09 Ian Lance Taylor <iant@google.com> |
14979 | ||
14980 | * opts.c (common_handle_option): Treat -Wstrict-overflow (with no | |
14981 | argument) like -Wstrict-overflow=2. | |
14982 | * doc/invoke.texi (Warning Options): Update documentation. | |
14983 | ||
b13d1547 | 14984 | 2007-03-09 Dirk Mueller <dmueller@suse.de> |
14985 | ||
14986 | PR c++/17946 | |
14987 | * doc/invoke.texi (-Wlogical-op): Document. | |
14988 | * common.opt (-Wlogical-op): New. | |
14989 | * c-common.h (warn_logical_operator): Declare. | |
14990 | * c-common.c (warn_logical_operator): Define. | |
14991 | * c-typeck.c (parser_build_binary_op): Call | |
14992 | warn_logical_operator. | |
14993 | ||
565b6b35 | 14994 | 2007-03-09 Alexandre Oliva <aoliva@redhat.com> |
14995 | ||
14996 | * rtl.h (gen_rtx_ASM_INPUT): Use "" instead of NULL file name. | |
14997 | * final.c (final_scan_insn): Test for non-"" file name. | |
14998 | ||
355572cc | 14999 | 2007-03-09 Sebastian Pop <sebastian.pop@inria.fr> |
15000 | ||
15001 | * doc/loop.texi: Document the Omega linear constraints solver. | |
15002 | * doc/invoke.texi: Document -fcheck-data-deps, omega-max-vars, | |
f8be92ce | 15003 | omega-max-geqs, omega-max-eqs, omega-max-wild-cards, |
15004 | omega-hash-table-size, omega-max-keys, and | |
355572cc | 15005 | omega-eliminate-redundant-constraints. |
15006 | * tree-pass.h (pass_check_data_deps): Declared. | |
15007 | * omega.c: New. | |
15008 | * omega.h: New. | |
15009 | * timevar.def (TV_CHECK_DATA_DEPS): Declared. | |
f8be92ce | 15010 | * tree-ssa-loop.c (check_data_deps, gate_check_data_deps, |
355572cc | 15011 | pass_check_data_deps): New. |
15012 | * tree-data-ref.c (init_data_ref): Remove declaration. | |
15013 | (dump_data_dependence_relation): Dump DDR_INNER_LOOP. | |
15014 | (analyze_array): Renamed init_array_ref, move up initializations. | |
15015 | (init_data_ref): Renamed init_pointer_ref. Moved before its call. | |
15016 | Removed arguments that are set to NULL. | |
f8be92ce | 15017 | (analyze_indirect_ref): Correct indentation, correct call to |
355572cc | 15018 | init_pointer_ref. |
15019 | (object_analysis): Call init_array_ref instead of analyze_array. | |
15020 | (initialize_data_dependence_relation): Initialize DDR_INNER_LOOP. | |
15021 | (access_functions_are_affine_or_constant_p): Use DR_ACCESS_FNS instead | |
15022 | of DR_ACCESS_FNS_ADDR. | |
f8be92ce | 15023 | (init_omega_eq_with_af, omega_extract_distance_vectors, |
355572cc | 15024 | omega_setup_subscript, init_omega_for_ddr_1, init_omega_for_ddr, |
15025 | ddr_consistent_p): New. | |
f8be92ce | 15026 | (compute_affine_dependence): Check consistency of ddrs when |
355572cc | 15027 | flag_check_data_deps is passed. |
15028 | (analyze_all_data_dependences): Uncomment. | |
15029 | (tree_check_data_deps): New. | |
15030 | * tree-data-ref.h: Include omega.h. | |
15031 | (DR_ACCESS_FNS_ADDR): Removed. | |
15032 | (data_dependence_relation): Add inner_loop. | |
15033 | (DDR_INNER_LOOP): New. | |
15034 | * common.opt (fcheck-data-deps): New. | |
15035 | * tree-flow.h (tree_check_data_deps): Declare. | |
15036 | * Makefile.in (TREE_DATA_REF_H): Depend on omega.h. | |
15037 | (OBJS-common): Depend on omega.o. | |
15038 | (omega.o): Define. | |
15039 | * passes.c (pass_check_data_deps): Scheduled. | |
f8be92ce | 15040 | * params.def (PARAM_OMEGA_MAX_VARS, PARAM_OMEGA_MAX_GEQS, |
355572cc | 15041 | PARAM_OMEGA_MAX_EQS, PARAM_OMEGA_MAX_WILD_CARDS, |
15042 | PARAM_OMEGA_HASH_TABLE_SIZE, PARAM_OMEGA_MAX_KEYS, | |
15043 | PARAM_VECT_MAX_VERSION_CHECKS, | |
15044 | PARAM_OMEGA_ELIMINATE_REDUNDANT_CONSTRAINTS): New. | |
15045 | ||
975070ea | 15046 | 2007-03-09 Richard Guenther <rguenther@suse.de> |
15047 | ||
15048 | PR tree-optimization/30904 | |
15049 | PR middle-end/31058 | |
15050 | * tree-vrp.c (extract_range_from_binary_expr): Handle RSHIFT_EXPR | |
15051 | the same way as *_DIV_EXPR. | |
15052 | ||
29c734f4 | 15053 | 2007-03-09 Alexandre Oliva <aoliva@redhat.com> |
15054 | ||
15055 | * recog.c (decode_asm_operands): No mixed declarations and code. | |
15056 | ||
09fb10e8 | 15057 | 2007-03-09 Alexandre Oliva <aoliva@redhat.com> |
15058 | ||
15059 | * rtl.def (ASM_INPUT): Add location. | |
15060 | * rtl.h (ASM_INPUT_SOURCE_LOCATION): New. | |
15061 | (ASM_INPUT_SOURCE_FILE, ASM_INPUT_SOURCE_LINE): New. | |
15062 | (decode_asm_operands): Add loc operand. | |
15063 | (gen_rtx_ASM_INPUT, gen_rtx_ASM_INPUT_loc): Define. | |
15064 | * stmt.c (expand_asm): Rename to... | |
15065 | (expand_asm_loc): ... this. Add locus argument. Pass it on to | |
15066 | gen_rtx_ASM_INPUT_loc. | |
15067 | (expand_asm_expr): Adjust. | |
15068 | * recog.c (decode_asm_operands): Add loc operand. | |
15069 | (check_asm_operands, extract_insn): Adjust. | |
15070 | * reload1.c (maybe_fix_stack_asms): Likewise. | |
15071 | * final.c (asm_insn_count): Likewise. | |
15072 | (final_scan_insn): Output # line before and after asm. | |
15073 | ||
58d16c5f | 15074 | 2007-03-09 Daniel Berlin <dberlin@dberlin.org> |
15075 | ||
15076 | * tree-ssa-structalias.c (variable_info): Remove | |
15077 | finished_solution. | |
15078 | (new_var_info): Ditto. | |
15079 | (shared_bitmap_info_t): New structure. | |
15080 | (shared_bitmap_table): New variable. | |
15081 | (shared_bitmap_hash): New function. | |
15082 | (shared_bitmap_eq): Ditto | |
15083 | (shared_bitmap_lookup): Ditto. | |
15084 | (shared_bitmap_add): Ditto. | |
15085 | (merge_smts_into): Change to take bitmap directly. | |
15086 | (find_what_p_points_to): Rewrite to use shared bitmap hashtable. | |
15087 | (init_alias_vars): Init shared bitmap hashtable. | |
15088 | (delete_points_to_sets): Delete shared bitmap hashtable. | |
15089 | * tree-ssa-operands.c (add_virtual_operand): Partially revert the | |
15090 | is_aliased removal as a change that was still necessary was | |
15091 | deleted. | |
15092 | ||
f1d7c974 | 15093 | 2007-03-09 Uros Bizjak <ubizjak@gmail.com> |
15094 | ||
15095 | * config/i386/i386.h (override_options): Conditionally disable | |
15096 | x86_sahf for 64bit targets only. | |
15097 | ||
ebef29eb | 15098 | 2007-03-08 Andrew Pinski <andrew_pinski@playstation.sony.com> |
15099 | ||
15100 | PR C/31072 | |
15101 | * c-decl.c (merge_decls): Don't call make_var_volatile. | |
15102 | * varasm.c (make_var_volatile): Remove. | |
15103 | * output.h (make_var_volatile): Remove. | |
15104 | ||
0e0e5aec | 15105 | 2007-03-08 Zdenek Dvorak <dvorakz@suse.cz> |
15106 | ||
15107 | PR tree-optimization/31085 | |
15108 | * tree-ssa-address.c (create_mem_ref): Fix test of type of base. | |
15109 | ||
4c9596cf | 15110 | 2007-03-08 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
15111 | ||
15112 | * builtins.def (lceil, lceilf, lceill, lfloor, lfloorf, lfloorl, | |
15113 | llceil, llceilf, llceill, llfloor, llfloorf, llfloorl): Mark with | |
15114 | ATTR_CONST_NOTHROW_LIST. | |
f8be92ce | 15115 | |
4c9596cf | 15116 | * fold-const.c (tree_expr_nonnegative_warnv_p): Handle |
15117 | FIX_TRUNC_EXPR. | |
15118 | ||
463bc075 | 15119 | 2007-03-08 Diego Novillo <dnovillo@redhat.com> |
15120 | ||
15121 | * doc/tree-ssa.texi: Remove documentation for V_MUST_DEF. | |
15122 | ||
0f6e93a5 | 15123 | 2007-03-08 Geoffrey Keating <geoffk@apple.com> |
15124 | ||
15125 | PR 31013 | |
15126 | * gccspec.c (lang_specific_driver): Do nothing when NEXT_OBJC_RUNTIME | |
15127 | is declared. | |
15128 | * config/darwin.h (REAL_LIBGCC_SPEC): When -fgnu-runtime is | |
15129 | passed, use shared libgcc. | |
15130 | ||
46a0e9e8 | 15131 | 2007-03-08 Roger Sayle <roger@eyesopen.com> |
15132 | ||
15133 | * tree-eh.c (do_return_redirection): Call build_gimple_modify_stmt | |
15134 | instead of calling build2 with a GIMPLE_MODIFY_STMT. | |
15135 | (honor_protect_cleanup_actions, lower_try_finally_switch): | |
15136 | Likewise. | |
15137 | * tree-if-conv.c (replace_phi_with_cond_gimple_modify_stmt, | |
15138 | ifc_temp_var): Likewise. | |
15139 | * tree-inline.c (setup_one_parameter): Likewise. | |
15140 | * tree-mudflap.c (mf_decl_cache_locals, | |
15141 | mf_build_check_statement_for): Likewise. | |
15142 | * tree-nested.c (init_tmp_var, save_tmp_var, | |
15143 | finalize_nesting_tree_1): Likewise. | |
15144 | * tree-outof-ssa.c (insert_copy_on_edge, | |
15145 | insert_backedge_copies): Likewise. | |
15146 | * tree-profile.c (tree_gen_edge_profiler, | |
15147 | tree_gen_ic_profiler): Likewise. | |
15148 | * tree-scalar-evolution.c (scev_const_prop): Likewise. | |
15149 | * tree-sra.c (sra_build_assignment): Likewise. | |
15150 | * tree-ssa-loop-im.c (determine_invariantness_stmt): Likewise. | |
15151 | * tree-ssa-math-opts.c (insert_reciprocals, | |
15152 | execute_cse_sincos_1): Likewise. | |
15153 | * tree-tailcall.c (adjust_accumulator_values, | |
15154 | adjust_return_value): Likewise. | |
15155 | * tree-vect-patterns.c (vect_pattern_recog_1): Likewise. | |
15156 | * tree-vect-transform.c (vect_create_data_ref_ptr, | |
15157 | bump_vector_ptr, vect_init_vector, get_initial_def_for_induction, | |
15158 | vect_create_epilog_for_reduction, vectorizable_reduction, | |
15159 | vectorizable_call, vectorizable_conversion, | |
15160 | vectorizable_assignment, vectorizable_operation, | |
15161 | vectorizable_type_demotion, vect_gen_widened_results_half, | |
15162 | vect_permute_store_chain, vectorizable_store, | |
15163 | vect_setup_realignment, vect_permute_load_chain, | |
15164 | vectorizable_load, vectorizable_condition, | |
15165 | vect_create_cond_for_align_checks): Likewise. | |
15166 | * tree-vrp.c (build_assert_expr_for): Likewise. | |
15167 | ||
a2a1fde2 | 15168 | 2007-03-08 Ian Lance Taylor <iant@google.com> |
15169 | ||
15170 | * tree-vrp.c: Include "intl.h". | |
15171 | (usable_range_p): New static function. | |
15172 | (compare_values_warnv): Don't test TYPE_OVERFLOW_UNDEFINED for | |
15173 | overflowed values, juts set *strict_overflow_p. | |
15174 | (compare_values): Only return -2 if one of the operands is not a | |
15175 | constant. | |
15176 | (compare_ranges): Call usable_range_p. | |
15177 | (compare_range_with_value): Likewise. | |
15178 | (vrp_evaluate_conditional_warnv): Rename from | |
15179 | vrp_evaluate_conditional. Make static. Change all callers. | |
15180 | (vrp_evaluate_conditional): New function. | |
15181 | (simplify_div_or_mod_using_ranges): Issue warning about reliance | |
15182 | on signed overflow. | |
15183 | (simplify_abs_using_ranges): Likewise. | |
15184 | (simplify_stmt_for_jump_threading): Add within_stmt parameter. | |
15185 | * tree-ssa-dom.c (simplify_stmt_for_jump_threading): Add | |
15186 | within_stmt parameter. | |
15187 | * tree-ssa-propagate.c (fold_predicate_in): Update call to | |
15188 | vrp_evaluate_conditional. | |
15189 | * tree-ssa-threadedge.c | |
15190 | (record_temporary_equivalences_from_stmts_at_dest): Change | |
15191 | simplify parameter to take a second tree parameter. | |
15192 | (simplify_control_stmt_condition): Likewise. | |
15193 | (thread_across_edge): Likewise. | |
15194 | * tree-flow.h (vrp_evaluate_conditional): Update declaration. | |
15195 | (thread_across_edge): Likewise. | |
ddb8b0be | 15196 | * Makefile.in (tree-vrp.o): Depend upon intl.h. |
a2a1fde2 | 15197 | |
4d9301a8 | 15198 | 2007-03-08 Uros Bizjak <ubizjak@gmail.com> |
15199 | ||
15200 | * config/i386/i386.h (TARGET_SAHF): New define. | |
15201 | * config/i386/i386.c (ix86_tune_features) [X86_TUNE_USE_SAHF]: | |
15202 | Also enable for m_K8, m_AMDFAM10 and m_CORE2. | |
15203 | (x86_sahf): New global variable. | |
15204 | (override_options): Add PTA_NO_SAHF to pta_flags enum. Recode | |
15205 | pta_flags masks using shifts. Add PTA_NO_SAHF to x86_64 and | |
15206 | nocona processor flags. Set x86_sahf when PTA_NO_SAHF is not set | |
15207 | in processor flags. Do not unconditionally disable TARGET_USE_SAHF | |
15208 | for 64-bit. | |
15209 | (ix86_fp_comparison_sahf_cost): Return high value for !TARGET_SAHF. | |
15210 | (ix86_expand_fp_compare): Check for TARGET_CMOVE or TARGET_SAHF | |
15211 | when expanding fcomi/sahf based tests. | |
15212 | (ix86_emit_fp_unordered_jump): Check for TARGET_SAHF when | |
15213 | expanding sahf based alternative. Emit sahf based sequence when | |
15214 | optimizing for code size. | |
15215 | * config/i386/i386.md (x86_sahf_1): Do not disable for | |
f8be92ce | 15216 | TARGET_64BIT, enable for TARGET_SAHF. |
4d9301a8 | 15217 | |
43f13e2b | 15218 | 2007-03-08 Martin Michlmayr <tbm@cyrius.com> |
15219 | ||
15220 | * tree-ssa-coalesce.c (fail_abnormal_edge_coalesce): Remove | |
15221 | spurious whitespace from error message. | |
15222 | ||
ede90cc2 | 15223 | 2007-03-08 Volker Reichelt <reichelt@netcologne.de> |
15224 | ||
15225 | PR c++/30852 | |
15226 | * c-common.c (fold_offsetof_1): Handle COMPOUND_EXPR. | |
15227 | ||
78ba9fed | 15228 | 2007-03-08 Alexandre Oliva <aoliva@redhat.com> |
15229 | ||
15230 | * c-decl.c (grokdeclarator): Disable warnings for anonymous | |
15231 | bitfields. | |
15232 | * tree-sra.c (instantiate_element): Propagate disabled warnings | |
15233 | from the element itself to the created variable. | |
15234 | ||
b8c362b7 | 15235 | 2007-03-07 Richard Henderson <rth@redhat.com> |
15236 | ||
15237 | PR target/30848 | |
15238 | * reg-stack.c (emit_swap_insn): If a malformed asm was seen, | |
15239 | silently fix up the stack in the case of a missing register. | |
15240 | ||
89cd0070 | 15241 | 2007-03-07 Paul Brook <paul@codesourcery.com> |
15242 | ||
15243 | * config/arm/libunwind.S: Add .arch/.object_arch for armv4 builds. | |
15244 | ||
15245 | 2007-03-07 Joseph Myers <joseph@codesourcery.com> | |
15246 | ||
15247 | * config/arm/unwind-arm.c (struct wmmxd_regs, struct wmmxc_regs): | |
15248 | New. | |
15249 | (phase1_vrs): Use them. | |
15250 | (DEMAND_SAVE_WMMXD, DEMAND_SAVE_WMMXC): New. | |
15251 | (__gnu_Unwind_Save_WMMXD, __gnu_Unwind_Restore_WMMXD, | |
15252 | __gnu_Unwind_Save_WMMXC, __gnu_Unwind_Restore_WMMXC): Declare. | |
15253 | (restore_non_core_regs): Call __gnu_Unwind_Restore_WMMXD and | |
15254 | __gnu_Unwind_Restore_WMMXC if required. | |
15255 | (_Unwind_VRS_Pop): Implement iWMMXt support. | |
15256 | * config/arm/libunwind.S (gnu_Unwind_Restore_WMMXD, | |
15257 | gnu_Unwind_Save_WMMXD, gnu_Unwind_Restore_WMMXC, | |
15258 | gnu_Unwind_Save_WMMXC): Define. | |
15259 | ||
80fbffcb | 15260 | 2007-03-07 Richard Sandiford <richard@codesourcery.com> |
15261 | ||
15262 | * config/vxworks.h (vxworks_override_options): Declare. | |
15263 | (VXWORKS_OVERRIDE_OPTIONS): Use it. | |
15264 | * config/vxworks.c: Include target.h and toplev.h. | |
15265 | (vxworks_override_options): New function. | |
15266 | * config/t-vxworks (vxworks.o): Depend on $(TARGET_H) and toplev.h. | |
15267 | ||
00d233e6 | 15268 | 2007-03-07 Andreas Krebbel <krebbel1@de.ibm.com> |
15269 | ||
15270 | * config/s390/s390.c (override_options): Don't emit an error when | |
15271 | -mstack-size is used without providing -mstack-guard. | |
15272 | (s390_emit_prologue): Choose stack_guard value automatically if not | |
15273 | provided via command line. | |
ed69c853 | 15274 | * doc/invoke.texi: Adjust description of -mstack-guard and |
15275 | -mstack-size. | |
00d233e6 | 15276 | |
f60a98e6 | 15277 | 2007-03-07 Richard Sandiford <richard@codesourcery.com> |
15278 | ||
15279 | * config/i386/i386.c (output_set_got): Add a GOT initialization | |
15280 | sequence for VxWorks PIC. | |
15281 | (legitimate_pic_address_disp_p): Allow UNSPEC_GOT wrappers | |
15282 | around labels as well as symbols. Use gotoff_operand instead | |
15283 | of local_symbolic_operand. | |
15284 | (legitimize_pic_address): Use gotoff_operand instead of | |
15285 | local_symbolic_operand. Use @GOT accesses for labels as | |
15286 | well as symbols. | |
15287 | (ix86_output_addr_diff_elt): Use PC-relative rather than | |
15288 | GP-relative offsets for VxWorks PIC. | |
15289 | (ix86_expand_move): Pass NULL_RTX to legitimize_pic_address unless | |
15290 | no_new_pseudos. Check whether the returned register is op0. | |
15291 | * config/i386/i386.md (tablejump): Use PC-relative rather than | |
15292 | GP-relative offsets for VxWorks PIC. | |
15293 | * config/i386/predicates.md (gotoff_operand): New predicate. | |
15294 | ||
2522d9ea | 15295 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15296 | ||
15297 | * config/vxworks.h (VXWORKS_GOTT_BASE, VXWORKS_GOTT_INDEX): Undefine | |
15298 | before defining. | |
15299 | * config/vxworks-dummy.h: New file. | |
15300 | * config/i386/i386.h: Include it. | |
15301 | ||
17db73b6 | 15302 | 2007-03-07 Alexandre Oliva <aoliva@redhat.com> |
15303 | ||
15304 | * dwarf2out.c (is_inlined_entry_point): New | |
15305 | (add_high_low_attributes): Emit DW_AT_entry_pc along with | |
15306 | DW_AT_ranges if the first subblock is the entry point. | |
15307 | ||
a0f31a09 | 15308 | 2007-03-06 David Daney <ddaney@avtrex.com> |
15309 | ||
15310 | * doc/install.texi (mips-*-*): Change recommended binutils | |
15311 | version. | |
15312 | ||
15313 | 2007-03-06 Anatoly Sokolov <aesok@post.ru> | |
80df34ab | 15314 | |
15315 | * config/avr/avr.c (avr_mcu_types): Add support for ATmega325P, | |
f8be92ce | 15316 | ATmega3250P, ATmega329P, ATmega3290P, AT90USB82 and AT90USB162 |
80df34ab | 15317 | devices. |
15318 | * config/avr/avr.h (LINK_SPEC, CRT_BINUTILS_SPECS): (Ditto.). | |
15319 | * config/avr/t-avr (MULTILIB_MATCHES): (Ditto.). | |
15320 | ||
5de92639 | 15321 | 2007-03-06 Jan Hubicka <jh@suse.cz> |
15322 | ||
15323 | * errors.h (warning, error, fatal, internal_error): Mark as cold. | |
ed69c853 | 15324 | * predict.c (maybe_hot_bb): Cold functions are never hot; hot |
15325 | functions are hot. | |
5de92639 | 15326 | (probably_cold_bb_p): Cold functions are cold. |
15327 | (probably_never_executed_bb_p): Cold functions are cold. | |
15328 | (tree_bb_level_predictions): Predict calls to cold functions as not | |
15329 | taken. | |
15330 | (compute_function_frequency): Check hot/cold attributes. | |
15331 | * function.h (function_frequency): Update comments. | |
15332 | * predict.def (PRED_COLD_FUNCTION): Predict cold function. | |
15333 | * c-common.c (handle_hot_attribute, handle_cold_attribute): New. | |
15334 | (c_common_att): Add cold and hot. | |
15335 | ||
15336 | * doc/extend.texi (hot,cold attributes): Document. | |
15337 | ||
1b7fd1d9 | 15338 | 2007-03-06 Andrew Haley <aph@redhat.com> |
15339 | ||
15340 | * function.c (expand_function_end): Move blockage to just after we | |
15341 | emit the label for the naked return from the function. | |
15342 | ||
9dd4f611 | 15343 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15344 | ||
15345 | * config/i386/att.h (ASM_OUTPUT_ASCII, ASM_OUTPUT_SKIP): Undefine | |
15346 | before redefining. | |
15347 | ||
5fe80ef0 | 15348 | 2007-03-06 Jan Hubicka <jh@suse.cz> |
15349 | ||
15350 | * reg-stack.c (reg_to_stack): Large models don't allow NAN to be | |
15351 | loaded for constant large models. Non-large 64bit PIC can do. | |
15352 | * i386.h (CASE_VECTOR_MODE): Large PIC cases are 64bit. | |
15353 | * cmodel.h: Add LARGE PIC. | |
15354 | * i386.md (UNSPEC_PLTOFF): New. | |
ed69c853 | 15355 | (UNSPEC_SET_RIP, UNSPEC_SET_GOT_OFFSET): New; renumber other |
15356 | unspecs as needed. | |
5fe80ef0 | 15357 | (*call_1_rex64): Disable for large models. |
15358 | (*call_1_rex64_large): New. | |
15359 | (*call_value_1_rex64): Disable for large models. | |
15360 | (*call_value_1_rex64_large): New. | |
15361 | (set_rip_rex4): New. | |
15362 | (set_got_offset_rex64): New. | |
15363 | * predicates.md (constant_call_address_operand): For large model | |
15364 | constant calls are not possible. | |
15365 | * i386-protos.h (construct_plt_address): Declare. | |
15366 | * i386.c (override_options): Accept large models. | |
15367 | (ix86_expand_prologue): Expand large PIC GOT pointer load. | |
15368 | (legitimate_constant_p): Add new UNSPECs. | |
15369 | (legitimate_pic_operand_p): Likewise. | |
15370 | (legitimate_pic_address_disp_p): Disallow local symbols for large PICs. | |
15371 | (legitimize_pic_address): Do easy RIP relative way for TLS only for | |
15372 | non-large model. | |
15373 | (output_pic_addr_const): Add PLTOFF. | |
15374 | (ix86_output_addr_diff_elt): Output 64bit tables when needed. | |
15375 | (ix86_expand_move): Legitimize pic address when in PIC mode. | |
15376 | (construct_plt_address): New function. | |
ed69c853 | 15377 | (ix86_expand_call): Offload the address to register and use GOT |
15378 | pointer for large model. | |
5fe80ef0 | 15379 | * invoke.texi (mcmodel=large): Update documentation. |
15380 | ||
e9f301ea | 15381 | 2007-03-06 Richard Henderson <rth@redhat.com> |
15382 | ||
15383 | * config/i386/i386.c (x86_use_leave, x86_push_memory, | |
15384 | x86_zero_extend_with_and, x86_movx, x86_double_with_add, | |
15385 | x86_use_bit_test, x86_unroll_strlen, x86_deep_branch, | |
15386 | x86_branch_hints, x86_use_sahf, x86_partial_reg_stall, | |
15387 | x86_partial_flag_reg_stall, x86_use_himode_fiop, x86_use_simode_fiop, | |
15388 | x86_use_mov0, x86_use_cltd, x86_read_modify_write, x86_read_modify, | |
f8be92ce | 15389 | x86_split_long_moves, x86_promote_QImode, x86_fast_prefix, |
e9f301ea | 15390 | x86_single_stringop, x86_qimode_math, x86_promote_qi_regs, |
15391 | x86_himode_math, x86_promote_hi_regs, x86_sub_esp_4, x86_sub_esp_8, | |
f8be92ce | 15392 | x86_add_esp_4, x86_add_esp_8, x86_integer_DFmode_moves, |
15393 | x86_partial_reg_dependency, x86_memory_mismatch_stall, | |
e9f301ea | 15394 | x86_prologue_using_move, x86_epilogue_using_move, x86_shift1, |
f8be92ce | 15395 | x86_sse_partial_reg_dependency, x86_sse_split_regs, |
e9f301ea | 15396 | x86_sse_unaligned_move_optimal, x86_sse_typeless_stores, |
15397 | x86_sse_load0_by_pxor, x86_use_ffreep, x86_use_incdec, | |
15398 | x86_inter_unit_moves, x86_ext_80387_constants, x86_four_jump_limit, | |
4209e9f9 | 15399 | x86_schedule, x86_use_bt, x86_pad_returns, |
15400 | x86_use_xchgb): Merge into ... | |
e9f301ea | 15401 | (ix86_tune_features): ... here. New array. |
4209e9f9 | 15402 | (x86_cmove, x86_cmpxchg, x86_cmpxchg8b, x86_xadd, |
15403 | x86_bswap): Merge into ... | |
e9f301ea | 15404 | (ix86_arch_features): ... here. New array. |
15405 | (x86_3dnow_a): Remove. | |
15406 | (x86_accumulate_outgoing_args): Make static. | |
15407 | (x86_arch_always_fancy_math_387): Make static. | |
15408 | (ix86_tune_mask, ix86_arch_mask): Move ... | |
15409 | (override_options): ... to local variables here. Apply the | |
15410 | appropriate mask to each element of ix86_arch_features and | |
15411 | ix86_tune_features. Adjust TARGET_CMOVE and TARGET_USE_SAHF | |
15412 | as were done in the old macros. | |
15413 | (standard_80387_constant_p): Use TARGET_EXT_80387_CONSTANTS. | |
15414 | * config/i386/i386.h (x86_use_leave, x86_push_memory, | |
15415 | x86_zero_extend_with_and, x86_use_bit_test, x86_cmove, x86_deep_branch, | |
15416 | x86_branch_hints, x86_unroll_strlen, x86_double_with_add, | |
15417 | x86_partial_reg_stall, x86_movx, x86_use_himode_fiop, | |
15418 | x86_use_simode_fiop, x86_use_mov0, x86_use_cltd, x86_use_xchgb, | |
15419 | x86_read_modify_write, x86_read_modify, x86_split_long_moves, | |
15420 | x86_promote_QImode, x86_single_stringop, x86_fast_prefix, | |
15421 | x86_himode_math, x86_qimode_math, x86_promote_qi_regs, | |
15422 | x86_promote_hi_regs, x86_integer_DFmode_moves, x86_add_esp_4, | |
15423 | x86_add_esp_8, x86_sub_esp_4, x86_sub_esp_8, | |
15424 | x86_partial_reg_dependency, x86_memory_mismatch_stall, | |
15425 | x86_accumulate_outgoing_args, x86_prologue_using_move, | |
15426 | x86_epilogue_using_move, x86_decompose_lea, | |
15427 | x86_arch_always_fancy_math_387, x86_shift1, | |
15428 | x86_sse_partial_reg_dependency, x86_sse_split_regs, | |
f8be92ce | 15429 | x86_sse_unaligned_move_optimal, x86_sse_typeless_stores, |
e9f301ea | 15430 | x86_sse_load0_by_pxor, x86_use_ffreep, x86_inter_unit_moves, |
15431 | x86_schedule, x86_use_bt, x86_cmpxchg, x86_cmpxchg8b, x86_xadd, | |
15432 | x86_use_incdec, x86_pad_returns, x86_bswap, | |
15433 | x86_partial_flag_reg_stall): Remove. | |
15434 | (enum ix86_tune_indices): New. | |
15435 | (ix86_tune_features): New. | |
15436 | (TARGET_USE_LEAVE, TARGET_PUSH_MEMORY, TARGET_ZERO_EXTEND_WITH_AND, | |
15437 | TARGET_USE_BIT_TEST, TARGET_UNROLL_STRLEN, | |
15438 | TARGET_DEEP_BRANCH_PREDICTION, TARGET_BRANCH_PREDICTION_HINTS, | |
15439 | TARGET_DOUBLE_WITH_ADD, TARGET_USE_SAHF, TARGET_MOVX, | |
15440 | TARGET_PARTIAL_REG_STALL, TARGET_PARTIAL_FLAG_REG_STALL, | |
15441 | TARGET_USE_HIMODE_FIOP, TARGET_USE_SIMODE_FIOP, TARGET_USE_MOV0, | |
15442 | TARGET_USE_CLTD, TARGET_USE_XCHGB, TARGET_SPLIT_LONG_MOVES, | |
15443 | TARGET_READ_MODIFY_WRITE, TARGET_READ_MODIFY, TARGET_PROMOTE_QImode, | |
15444 | TARGET_FAST_PREFIX, TARGET_SINGLE_STRINGOP, TARGET_QIMODE_MATH, | |
15445 | TARGET_HIMODE_MATH, TARGET_PROMOTE_QI_REGS, TARGET_PROMOTE_HI_REGS, | |
15446 | TARGET_ADD_ESP_4, TARGET_ADD_ESP_8, TARGET_SUB_ESP_4, | |
15447 | TARGET_SUB_ESP_8, TARGET_INTEGER_DFMODE_MOVES, | |
15448 | TARGET_PARTIAL_REG_DEPENDENCY, TARGET_SSE_PARTIAL_REG_DEPENDENCY, | |
15449 | TARGET_SSE_UNALIGNED_MOVE_OPTIMAL, TARGET_SSE_SPLIT_REGS, | |
15450 | TARGET_SSE_TYPELESS_STORES, TARGET_SSE_LOAD0_BY_PXOR, | |
15451 | TARGET_MEMORY_MISMATCH_STALL, TARGET_PROLOGUE_USING_MOVE, | |
15452 | TARGET_EPILOGUE_USING_MOVE, TARGET_SHIFT1, TARGET_USE_FFREEP, | |
15453 | TARGET_INTER_UNIT_MOVES, TARGET_FOUR_JUMP_LIMIT, TARGET_SCHEDULE, | |
15454 | TARGET_USE_BT, TARGET_USE_INCDEC, TARGET_PAD_RETURNS, | |
15455 | TARGET_EXT_80387_CONSTANTS): Use it. | |
15456 | (enum ix86_arch_indices): New. | |
15457 | (ix86_arch_features): New. | |
15458 | (TARGET_CMOVE, TARGET_CMPXCHG, TARGET_CMPXCHG8B, TARGET_XADD, | |
15459 | TARGET_BSWAP): Use it. | |
15460 | (ix86_tune_mask, ix86_arch_mask): Remove. | |
15461 | ||
6ea4242f | 15462 | 2007-03-06 Joseph Myers <joseph@codesourcery.com> |
15463 | ||
15464 | PR bootstrap/31020 | |
15465 | * configure.ac (CROSS_SYSTEM_HEADER_DIR, build_system_header_dir): | |
15466 | Define using $${sysroot_headers_suffix}. | |
15467 | * configure: Regenerate. | |
15468 | * cppdefault.c (cpp_include_defaults): Make FIXED_INCLUDE_DIR a | |
15469 | multilib-suffixed directory if SYSROOT_HEADERS_SUFFIX_SPEC | |
15470 | defined. | |
15471 | * doc/invoke.texi (-print-sysroot-headers-suffix): Document. | |
15472 | * gcc.c (print_sysroot_headers_suffix): New. | |
15473 | (option_map): Include --print-sysroot-headers-suffix. | |
15474 | (display_help): Mention -print-sysroot-headers-suffix. | |
15475 | (process_command): Handle -print-sysroot-headers-suffix. | |
15476 | (do_spec_1): Append multilib directory to include-fixed path if | |
15477 | sysroot suffixes in use. | |
15478 | (main): Handle -print-sysroot-headers-suffix. | |
15479 | * Makefile.in (start.encap): Don't depend on xlimits.h | |
15480 | (xlimits.h): Remove. | |
15481 | (stmp-int-hdrs): Don't depend on xlimits.h. Inline generation of | |
15482 | limits.h for each multilib in fixinc_list. | |
15483 | (fixinc_list, s-fixinc_list): New. | |
15484 | (stmp-fixinc): Depend on fixinc_list. If not copying headers, | |
15485 | generate them for each multilib in fixinc_list. | |
15486 | (stmp-fixproto): Use include-fixed. Run fixproto for each | |
15487 | multilib in fixinc_list. | |
15488 | (mostlyclean): Don't remove xlimits.h. | |
15489 | (clean): Remove include-fixed. | |
15490 | (real-install-headers-tar, real-install-headers-cpio, | |
15491 | real-install-headers-cp): Don't copy include, only include-fixed. | |
15492 | (install-mkheaders): Depend on fixinc_list. Don't depend on | |
15493 | xlimits.h. Save limits.h files for each multilib in fixinc_list. | |
15494 | Always save mkinstalldirs. Preserve ${sysroot_headers_suffix} in | |
15495 | SYSTEM_HEADER_DIR setting in mkheaders.conf. | |
15496 | ||
aeca5627 | 15497 | 2007-03-06 Jan Hubicka <jh@suse.cz> |
15498 | ||
15499 | * regstack.c (reg_to_stack): When in 64bit PIC mode, we still can load | |
15500 | NANs easilly. | |
15501 | ||
504cf784 | 15502 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15503 | ||
15504 | * configure.ac: Allow tm_file to contain build-directory files. | |
15505 | * configure: Regenerate. | |
15506 | * config.gcc (m68k-*-uclinux*): Add ./sysroot-suffix.h to tm_file. | |
15507 | * config/m68k/t-uclinux (sysroot-suffix.h): New target. | |
15508 | * config/m68k/print-sysroot-suffix.sh: New file. | |
15509 | ||
e2182937 | 15510 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15511 | ||
15512 | * config/m68k/m68k.h (PIC_OFFSET_TABLE_REGNUM): Use the REGNO | |
15513 | of pic_offset_table_rtx if reload_completed. | |
15514 | (CONDITIONAL_REGISTER_USAGE): Use PIC_REG instead of | |
15515 | PIC_OFFSET_TABLE_REGNUM. | |
15516 | * config/m68k/m68k.c (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Always | |
15517 | return true. | |
15518 | (m68k_save_reg): Use PIC_REG instead of PIC_OFFSET_TABLE_REGNO. | |
15519 | (m68k_output_mi_thunk): Rewrite to use RTL. Honor vcall_offset. | |
15520 | ||
5e19f315 | 15521 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15522 | ||
15523 | * config/m68k/m68k.c (m68k_save_reg): Save the PIC register in | |
15524 | functions that call eh_return. | |
15525 | ||
d68ee78f | 15526 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15527 | ||
15528 | * config/m68k/m68k.c (m68k_save_reg): Save the PIC register in | |
15529 | functions that need a constant pool. | |
15530 | ||
350e24f5 | 15531 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15532 | ||
15533 | PR target/28181 | |
15534 | * config/m68k/m68k-protos.h (m68k_secondary_reload_class): Declare. | |
15535 | (m68k_preferred_reload_class): Likewise. | |
15536 | * config/m68k/m68k.h (HARD_REGNO_MODE_OK): Remove duplicated comment. | |
15537 | (SECONDARY_RELOAD_CLASS): Define. | |
15538 | (PREFERRED_RELOAD_CLASS): Use m68k_preferred_reload_class. | |
15539 | (LIMIT_RELOAD_CLASS): Delete. | |
15540 | * config/m68k/m68k.c (m68k_regno_mode_ok): Don't prevent address | |
15541 | registers from storing bytes. | |
15542 | (m68k_secondary_reload_class): New function. | |
15543 | (m68k_preferred_reload_class): Likewise. | |
15544 | ||
8ee6107b | 15545 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15546 | ||
15547 | * config/m68k/m68k.c (m68k_save_reg): Remove special case for | |
15548 | leaf functions. | |
15549 | (m68k_expand_prologue): Likewise. | |
15550 | ||
33fb08b8 | 15551 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15552 | ||
15553 | * config/m68k/m68k-protos.h (output_sibcall): Declare. | |
15554 | (mips_expand_epilogue): Add a bool parameter. | |
15555 | (m68k_legitimize_sibcall_address): Declare. | |
15556 | * config/m68k/m68k.c (TARGET_FUNCTION_OK_FOR_SIBCALL): Define. | |
15557 | (m68k_expand_epilogue): Add a parameter to select between sibling | |
15558 | and normal epilogues. Only generate a return for the latter. | |
15559 | (m68k_ok_for_sibcall_p): New function. | |
15560 | (m68k_legitimize_sibcall_address, output_sibcall): New functions. | |
15561 | * config/m68k/m68k.md (sibcall, *sibcall): New patterns. | |
15562 | (sibcall_value, *sibcall_value): Likewise. | |
15563 | (*call, *call_value): Require !SIBLING_CALL_P. | |
15564 | (epilogue): Update call to m68k_expand_epilogue. | |
15565 | (sibcall_epilogue): New pattern. | |
15566 | * config/m68k/predicates.md (const_call_operand): Say that this | |
15567 | predicate applies to sibling calls too. | |
15568 | (sibcall_operand): New predicate. | |
15569 | ||
e333f915 | 15570 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15571 | ||
15572 | * config/m68k/m68k.md (movsf_cf_soft): Provide the same non-mov3q | |
15573 | alternatives as movsi_cf. | |
15574 | (movsf_cf_hard): Add commentary. | |
15575 | ||
9c47decb | 15576 | 2007-03-06 Kazu Hirata <kazu@codesourcery.com> |
15577 | Richard Sandiford <richard@codesourcery.com> | |
15578 | ||
15579 | * config/m68k/m68k-protos.h (m68k_interrupt_function_p): Declare. | |
15580 | (m68k_movem_pattern_p, m68k_output_movem): Likewise. | |
15581 | (m68k_expand_prologue, m68k_expand_epilogue): Likewise. | |
15582 | * config/m68k/m68k.h (EPILOGUE_USES): Define. Treat all registers | |
15583 | as being live on exit from an interrupt function. | |
15584 | (PRINT_OPERAND_PUNCT_VALID_P): Return true for '?'. | |
15585 | * config/m68k/m68k.c (MIN_MOVEM_REGS, MIN_FMOVEM_REGS): New macros. | |
15586 | (m68k_frame): Remove reg_rev_mask and fpu_rev_mask. | |
15587 | (TARGET_ASM_FUNCTION_PROLOGUE, TARGET_ASM_FUNCTION_EPILOGUE): Delete. | |
15588 | (m68k_interrupt_function_p): Globalize. | |
15589 | (m68k_compute_frame_layout): Remove reverse mask code. | |
15590 | (m68k_emit_movem, m68k_set_frame_related): New functions. | |
15591 | (m68k_output_function_prologue): Delete in favor of... | |
15592 | (m68k_expand_prologue): ...this new function. | |
15593 | (m68k_output_function_epilogue): Delete in favor of... | |
15594 | (m68k_expand_epilogue): ...this new function. | |
15595 | (m68k_split_offset, m68k_movem_pattern_p, m68k_output_movem): New | |
15596 | functions. | |
15597 | (print_operand): Handle %?. | |
15598 | * config/m68k/m68k.md (UNSPEC_SIN, UNSPEC_COS): Remove excess space. | |
15599 | (UNSPEC_GOT, A1_REG, PIC_REG, FP0_REG): New constants. | |
15600 | (prologue, epilogue): New patterns. | |
15601 | (return): Turn into a define_expand. | |
15602 | (*return): New pattern, derived from old "return" pattern. Use rte | |
15603 | rather than rts for interrupt functions. Only use rtd if the pop | |
15604 | count is nonzero. | |
15605 | (*m68k_store_multiple, *m68k_store_multiple_automod): New patterns. | |
15606 | (*m68k_load_multiple, *m68k_load_multiple_automod): Likewise. | |
15607 | (link, *link, unlink, *unlink, load_got): Likewise. | |
15608 | ||
b97b0687 | 15609 | 2007-03-06 Richard Sandiford <richard@codesourcery.com> |
15610 | ||
15611 | PR target/23482 | |
15612 | PR target/17114 | |
15613 | * config/m68k/m68k-protos.h (m68k_legitimate_base_reg_p): Declare. | |
15614 | (m68k_legitimate_index_reg_p, m68k_legitimate_address_p): Likewise. | |
15615 | (m68k_matches_q_p, m68k_matches_u_p): Likewise. | |
15616 | * config/m68k/m68k.h (EXTRA_CONSTRAINT): Use m68k_matches_q_p | |
15617 | and m68k_matches_u_p. | |
15618 | (PCREL_GENERAL_OPERAND_OK, LEGITIMATE_BASE_REG_P): Delete. | |
15619 | (INDIRECTABLE_1_ADDRESS_P, GO_IF_NONINDEXED_ADDRESS): Delete. | |
15620 | (GO_IF_INDEXABLE_BASE, GO_IF_INDEXING, GO_IF_INDEXED_ADDRESS): Delete. | |
15621 | (LEGITIMATE_INDEX_REG_P, LEGITIMATE_INDEX_P): Delete. | |
15622 | (GO_IF_COLDFIRE_FPU_LEGITIMATE_ADDRESS): Delete. | |
15623 | (REG_STRICT_P): New macro. | |
15624 | (LEGITIMATE_PIC_OPERAND_P): Use REG_STRICT_P rather than | |
15625 | PCREL_GENERAL_OPERAND_OK. | |
15626 | (REG_OK_FOR_BASE_P): Merge definitions. Use REG_STRICT_P and | |
15627 | m68k_legitimate_base_reg_p. | |
15628 | (REG_MODE_OK_FOR_INDEX_P): Likewise m68k_legitimate_index_reg_p. | |
15629 | (GO_IF_LEGITIMATE_ADDRESS): Likewise m68k_legitimate_address_p. | |
15630 | (PIC_CASE_VECTOR_ADDRESS): Update comment. | |
15631 | * config/m68k/m68k.c (m68k_address): New structure. | |
15632 | (m68k_legitimate_base_reg_p, m68k_legitimate_index_reg_p) | |
15633 | (m68k_decompose_index, m68k_legitimate_constant_address_p) | |
15634 | (m68k_jump_table_ref_p, m68k_decompose_address) | |
15635 | (m68k_legitimate_address_p, m68k_legitimate_mem_p, m68k_matches_q_p) | |
15636 | (m68k_matches_u_p): New functions. | |
15637 | (print_operand_address): Rewrite to use m68k_decompose_index. | |
15638 | ||
775fab00 | 15639 | 2007-03-05 David Taylor <dtaylor@emc.com> |
7fc65810 | 15640 | |
15641 | * gcc.c: Correct copyright date in --version output. | |
15642 | ||
91c6ad74 | 15643 | 2007-03-05 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
15644 | ||
15645 | * pa.md: In unamed move patterns, disparge copies between general | |
15646 | and floating point registers using '?' modifier. Don't include 'f' | |
15647 | constraint for register preferences in DImode, SImode, HImode and | |
15648 | QImode patterns. Likewise for 'r' in DFmode and SFmode patterns. | |
15649 | Remove constraints for copies between general and floating registers | |
15650 | in soft-float DFmode pattern. | |
15651 | (movdf): Fail if operand1 is a CONST_DOUBLE and operand0 is a hard | |
15652 | floating register. | |
f8be92ce | 15653 | (movsf): Likewise. |
91c6ad74 | 15654 | |
b9fc964a | 15655 | 2007-03-05 Mike Stump <mrs@apple.com> |
15656 | ||
4209e9f9 | 15657 | * c-common.c (targetcm): Add. |
b9fc964a | 15658 | * c-opts.c (c_common_handle_option): Handle language specific |
15659 | target options. | |
15660 | * opts.c (handle_option): Verify language for target options, if | |
15661 | any are given. | |
15662 | * opth-gen.awk: Add CL_LANG_ALL. | |
15663 | * target-def.h (TARGET_HANDLE_C_OPTION): Add. | |
15664 | (TARGETCM_INITIALIZER): Add. | |
15665 | * target.h (struct gcc_targetcm): Add. | |
15666 | (targetcm): Add. | |
15667 | * targhooks.c (default_handle_c_option): Add. | |
15668 | * targhooks.h (default_handle_c_option): Add. | |
15669 | * doc/tm.texi (TARGET_HANDLE_C_OPTION): Add. | |
15670 | ||
15671 | * config/darwin.opt (iframework): Add. | |
15672 | * config/darwin.h (TARGET_HAS_TARGETCM): Add. | |
15673 | * config/darwin-c.c (handle_c_option): Add. | |
15674 | (TARGET_HANDLE_C_OPTION): Add. | |
15675 | (targetcm): Add. | |
15676 | * doc/invoke.texi (Darwin Options): Add -iframework. | |
15677 | ||
7e50d9b5 | 15678 | 2007-03-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
15679 | ||
15680 | * convert.c (convert_to_integer): Fix nearbyint/rint -> *lrint | |
15681 | conversion. | |
15682 | ||
11950bdd | 15683 | 2007-03-05 Ian Lance Taylor <iant@google.com> |
15684 | ||
15685 | * c.opt (fgnu89-inline): New option. | |
15686 | * c-opts.c (c_common_post_options): Set default value for | |
15687 | flag_gnu89_inline. | |
15688 | * c-decl.c (WANT_C99_INLINE_SEMANTICS): Remove. | |
15689 | (pop_scope): Check flag_gnu89_inline rather than flag_isoc99 for | |
15690 | inline functions. | |
15691 | (diagnose_mismatched_decls, merge_decls, start_decl): Likewise. | |
15692 | (grokdeclarator, start_function): Likewise. | |
15693 | * c-cppbuiltin.c (c_cpp_builtins): Define either | |
15694 | __GNUC_GNU_INLINE__ or __GNUC_STDC_INLINE__. | |
15695 | * doc/invoke.texi (Option Summary): Mention -fgnu89-inline. | |
15696 | (C Dialect Options): Document -fgnu89-inline. | |
15697 | * doc/extend.texi (Function Attributes): Explain what the | |
15698 | gnu_inline attribute does. | |
15699 | * doc/cpp.texi (Common Predefined Macros): Document | |
15700 | __GNUC_GNU_INLINE__ and __GNUC_STDC_INLINE__. | |
15701 | ||
c08d658d | 15702 | 2007-03-05 Ian Lance Taylor <iant@google.com> |
15703 | ||
15704 | PR tree-optimization/31034 | |
15705 | * tree-vrp.c (extract_range_from_assert): Don't try to handle a | |
15706 | half-range if the other side is an overflow infinity. | |
15707 | ||
bce94ab5 | 15708 | 2007-03-05 Bernd Schmidt <bernd.schmidt@analog.com> |
15709 | ||
15710 | * config.gcc (bfin*-uclinux*): Use t-bfin-uclinux. | |
15711 | (bfin*-linux-uclibc*): New configuration. | |
15712 | * config/linux.h (LINK_GCC_C_SEQUENCE_SPEC): Undefined before | |
15713 | defining. | |
15714 | * config/bfin/linux.h: New file. | |
15715 | * config/bfin/libgcc-bfin.ver: New file. | |
15716 | * config/bfin/t-bfin-uclinux: New file. | |
15717 | * config/bfin/t-bfin-linux: New file. | |
15718 | * config/bfin/uclinux.h (LINUX_TARGET_OS_CPP_BUILTINS): New macro. | |
15719 | (TARGET_OS_CPP_BUILTINS): New macro. | |
15720 | ||
55d865b3 | 15721 | 2007-03-05 Richard Guenther <rguenther@suse.de> |
15722 | ||
15723 | * fold-const.c (fold_binary): Remove duplicate folding | |
15724 | of comparison of non-null ADDR_EXPR against null. | |
15725 | ||
d74ee105 | 15726 | 2007-03-05 Richard Guenther <rguenther@suse.de> |
4d9301a8 | 15727 | Dorit Nuzman <dorit@il.ibm.com> |
d74ee105 | 15728 | |
15729 | PR tree-optimization/26420 | |
15730 | * tree-vectorizer.c (vectorize_loops): Bail out early if there | |
15731 | are no loops in the function. Only print the number of | |
15732 | vectorized loops if it is greater than zero or we are supposed | |
15733 | to print information about unvectorized loops. | |
15734 | ||
e24a805c | 15735 | 2007-03-05 Revital Eres <eres@il.ibm.com> |
15736 | ||
4d9301a8 | 15737 | * gcc.dg/var-expand1.c: New test. |
15738 | * loop-unroll.c (analyze_insn_to_expand_var): Add dump info | |
15739 | when an accumulator is expanded. | |
e24a805c | 15740 | |
e0913805 | 15741 | 2007-03-04 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
15742 | ||
15743 | PR other/30465 | |
15744 | * c-common.c (convert_and_check): Don't give warnings for | |
15745 | conversion if 'expr' already overflowed. | |
f8be92ce | 15746 | |
626b33bb | 15747 | 2007-03-04 Roger Sayle <roger@eyesopen.com> |
15748 | ||
15749 | PR middle-end/30744 | |
15750 | * fold-const.c (fold_comparison): Enforce type consistency when | |
15751 | transforming ~X op ~Y to Y op X, and ~X op C to X op' ~C. | |
15752 | ||
5e22b9e0 | 15753 | 2007-03-04 Zdenek Dvorak <dvorakz@suse.cz> |
15754 | ||
15755 | * tree-ssa-address.c (create_mem_ref): Do not put an expression | |
15756 | containing a cast to the base of TARGET_MEM_REF. | |
15757 | ||
21e9153c | 15758 | 2007-03-04 Martin Michlmayr <tbm@cyrius.com> |
15759 | ||
15760 | * tree.c (tree_contains_struct_check_failed): Remove spurious | |
15761 | whitespace from error message. | |
15762 | ||
9744993e | 15763 | 2007-03-04 Andrew Pinski <andrew_pinski@playstation.sony.com> |
15764 | ||
15765 | PR target/30406 | |
15766 | * config/rs6000/rs6000.c (rs6000_function_value): Look at bit size | |
15767 | instead of precision. | |
15768 | ||
698ff1f0 | 15769 | 2007-03-04 Roman Zippel <zippel@linux-m68k.org> |
5e22b9e0 | 15770 | Nathan Sidwell <nathan@codesourcery.com> |
698ff1f0 | 15771 | |
15772 | * emit-rtl.c (find_auto_inc): New. | |
15773 | (try_split): recreate REG_INC notes, | |
15774 | Use regular for loops rather than whiles. | |
15775 | ||
34fe62ca | 15776 | 2007-03-03 Andreas Schwab <schwab@suse.de> |
15777 | ||
15778 | * configure.ac (HAVE_AS_REL16): Move test back to correct place. | |
15779 | * configure: Regenerate. | |
15780 | ||
b3da1868 | 15781 | 2007-03-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
15782 | ||
234e67b6 | 15783 | * builtins.def (ATTR_MATHFN_FPROUNDING): Rely on |
15784 | flag_rounding_math, not flag_unsafe_math_optimizations. | |
15785 | ||
b3da1868 | 15786 | * c-pretty-print.c (pp_c_direct_abstract_declarator): Use |
15787 | fold_build2. | |
15788 | * config/alpha/alpha.c (alpha_fold_builtin_zapnot, | |
15789 | alpha_fold_vector_minmax): Likewise. | |
15790 | * config/i386/i386.c (ix86_gimplify_va_arg): Likewise. | |
15791 | * config/sparc/sparc.c (sparc_gimplify_va_arg): Likewise. | |
15792 | ||
723e4ab0 | 15793 | 2007-03-02 Eric Botcazou <ebotcazou@adacore.com> |
15794 | ||
15795 | * tree-sra.c (sra_walk_fns) <ldst>: Document new restriction. | |
15796 | (sra_walk_modify_expr) <rhs_elt>: Treat the reference as a use | |
15797 | if the lhs has side-effects. | |
15798 | <lhs_elt>: Treat the reference as a use if the rhs has side-effects. | |
15799 | ||
92691afd | 15800 | 2007-03-02 Uros Bizjak <ubizjak@gmail.com> |
15801 | ||
15802 | * config/i386/i386.h (TUNEMASK): Remove define. | |
15803 | (ARCHMASK): Remove define. | |
15804 | (TARGET_*): Use ix86_tune_mask variable instead of TUNEMASK. | |
15805 | Use ix86_arch_mask variable instead of ARCHMASK. | |
15806 | * config/i386/i386.c (override_options): Ditto. | |
15807 | (standard_80387_constant_p): Ditto. | |
15808 | ||
723e4ab0 | 15809 | 2007-03-02 Ian Lance Taylor <iant@google.com> |
c3783c3b | 15810 | |
15811 | Used signed infinities in VRP. | |
15812 | * tree-vrp.c (uses_overflow_infinity): New static function. | |
15813 | (supports_overflow_infinity): New static function. | |
15814 | (make_overflow_infinity): New static function. | |
15815 | (negative_overflow_infinity): New static function. | |
15816 | (positive_overflow_infinity): New static function. | |
15817 | (is_negative_overflow_infinity): New static function. | |
15818 | (is_positive_overflow_infinity): New static function. | |
15819 | (is_overflow_infinity): New static function. | |
15820 | (overflow_infinity_range_p): New static function. | |
15821 | (compare_values_warnv): New function split out of compare_values. | |
15822 | (compare_value): Call it. | |
15823 | (set_value_range_to_nonnegative): Add overflow_infinity | |
15824 | parameter. Change caller. | |
15825 | (vrp_expr_computes_nonnegative): Add strict_overflow_p parameter. | |
15826 | Change callers. | |
15827 | (vrp_expr_computes_nonzero): Likewise. | |
15828 | (compare_ranges, compare_range_with_value): Likewise. | |
15829 | (compare_name_with_value, compare_names): Likewise. | |
15830 | (vrp_evaluate_conditional): Likewise. | |
15831 | (set_value_range): Handle infinity | |
15832 | (vrp_operand_equal_p, operand_less_p): Likewise. | |
15833 | (extract_range_from_assert): Likewise. | |
15834 | (vrp_int_const_binop): Likewise. | |
15835 | (extract_range_from_binary_expr): Likewise. | |
15836 | (extract_range_from_unary_expr): Likewise. | |
15837 | (extract_range_from_comparison): Likewise. | |
15838 | (extract_range_from_expr): Likewise. | |
15839 | (dump_value_range): Likewise. | |
15840 | (vrp_visit_cond_stmt, vrp_visit_phi_node): Likewise. | |
15841 | (test_for_singularity): Likewise. | |
15842 | (vrp_int_const_binop): Remove inline qualifier. | |
15843 | (adjust_range_with_scev): Add comment. | |
15844 | * tree-flow.h (vrp_evaluate_conditional): Update declaration. | |
15845 | ||
085b7aab | 15846 | 2007-03-02 Diego Novillo <dnovillo@redhat.com> |
15847 | ||
15848 | * tree-ssa-structalias.c (could_have_pointers): Tidy. | |
15849 | (get_constraint_for): Likewise. | |
15850 | (do_structure_copy): Likewise. | |
15851 | (find_func_aliases): Fix references to MODIFY_EXPR. | |
15852 | (intra_create_variable_infos): Tidy. | |
15853 | * tree-ssa-operands.c (add_virtual_operand): Add argument | |
15854 | IS_CALL_SITE. | |
15855 | When adding members of alias sets, if IS_CALL_SITE is true and | |
15856 | the symbol is not call-clobbered, skip it. | |
15857 | Adjust all callers. | |
15858 | ||
3e24a03e | 15859 | 2007-03-02 Eric Botcazou <ebotcazou@adacore.com> |
15860 | ||
15861 | * config/alpha/alpha.c (alpha_gp_save_rtx): Insert the insns at the | |
15862 | entry by means of emit_insn_at_entry. | |
15863 | ||
21ee4079 | 15864 | 2007-03-02 Richard Henderson <rth@redhat.com> |
15865 | ||
15866 | * expr.h (promoted_input_arg): Remove decl. | |
15867 | * function.c (promoted_input_arg): Merge into ... | |
15868 | * combine.c (setup_incoming_promotions): ... only caller. | |
15869 | Rearrange to avoid double loop. | |
15870 | ||
7fefc6e7 | 15871 | 2007-03-02 Ben Elliston <bje@au.ibm.com> |
15872 | Peter Bergner <bergner@vnet.ibm.com> | |
15873 | Janis Johnson <janis187@us.ibm.com> | |
15874 | ||
15875 | * config/rs6000/dfp.md: New file. | |
15876 | * config/rs6000/rs6000.md: Include dfp.md. | |
15877 | (add<mode>3_internal1): Disable for DECIMAL_FLOAT_MODE_P operands. | |
15878 | * config/rs6000/rs6000.c (rs6000_hard_regno_mode_ok): Handle DDmode | |
15879 | and TDmode decimal float modes in FP registers. | |
15880 | (num_insns_constant): Likewise. | |
15881 | (rs6000_legitimate_offset_address_p): Likewise. | |
15882 | (rs6000_legitimize_address): Likewise. | |
15883 | (rs6000_legitimize_reload_address): Likewise. | |
15884 | (rs6000_legitimate_address): Likewise. | |
15885 | (rs6000_emit_move): Likewise. | |
15886 | (function_arg_boundary): Likewise. | |
15887 | (function_arg_advance): Likewise. | |
15888 | (rs6000_darwin64_record_arg_recurse): Likewise. | |
15889 | (function_arg): Likewise. | |
15890 | (rs6000_gimplify_va_arg): Likewise. | |
15891 | (rs6000_split_multireg_move): Likewise. | |
15892 | (rs6000_output_function_epilogue): Likewise. | |
15893 | (rs6000_output_function_epilogue): Likewise. | |
15894 | (rs6000_register_move_cost): Likewise. | |
15895 | (rs6000_function_value): Likewise. | |
15896 | (rs6000_libcall_value): Likewise. | |
15897 | ||
e3061c85 | 15898 | 2007-03-02 Richard Sandiford <richard@codesourcery.com> |
15899 | ||
15900 | * config/t-vxworks (LIMITS_H_TEST): Define to true for VxWorks. | |
15901 | ||
edb474a1 | 15902 | 2007-03-02 Richard Sandiford <richard@codesourcery.com> |
15903 | ||
15904 | * config/t-vxworks (LIBGCC2_INCLUDES): Pass -nostdinc. | |
15905 | Use $MULTIDIR to choose between the kernel and RTP headers, | |
15906 | and use $WIND_BASE and $WIND_USR to locate them. | |
15907 | ||
ec7b4e89 | 15908 | 2007-03-02 Uros Bizjak <ubizjak@gmail.com> |
15909 | ||
15910 | * config/i386/i386.c (override_options): Put initialization of | |
15911 | ix86_tune_mask and ix86_arch_mask to the correct place. | |
15912 | ||
3e6cba40 | 15913 | 2007-03-02 Uros Bizjak <ubizjak@gmail.com> |
15914 | Michael Meissner <michael.meissner@amd.com> | |
15915 | ||
15916 | PR target/31019 | |
15917 | * config/i386/i386.h (TUNEMASK): Redefine to use ix86_tune_mask. | |
15918 | (ARCHMASK): Define. | |
15919 | (TARGET_CMOVE): Use ARCHMASK. | |
15920 | (TARGET_CMPXCHG): Ditto. | |
15921 | (TARGET_CMPXCHG8B): Ditto. | |
15922 | (TARGET_XADD): Ditto. | |
15923 | (TARGET_BSWAP): Ditto. | |
15924 | * config/i386/i386.c (ix86_tune_mask): New global variable. | |
15925 | (ix86_arch_mask): Ditto. | |
15926 | (override_options): Initialize ix86_tune_mask and | |
15927 | ix86_arch_mask. Use ARCHMASK to clear MASK_NO_FANCY_MATH_387 in | |
15928 | target_flags. | |
15929 | ||
7a128c21 | 15930 | 2007-03-02 Ben Elliston <bje@au.ibm.com> |
15931 | ||
15932 | PR 30992 | |
15933 | * config/dfp-bit.c (DFP_TO_INT): Initialise qval with "1.". | |
15934 | ||
114a8a4b | 15935 | 2007-03-02 Joseph Myers <joseph@codesourcery.com> |
15936 | ||
15937 | * target.h (init_dwarf_reg_sizes_extra): New target hook. | |
15938 | * target-def.h (TARGET_INIT_DWARF_REG_SIZES_EXTRA): New default. | |
15939 | * doc/tm.texi (TARGET_INIT_DWARF_REG_SIZES_EXTRA): Document. | |
15940 | * dwarf2out.c (expand_builtin_init_dwarf_reg_sizes): Call this | |
15941 | hook. | |
15942 | * config/rs6000/rs6000.c (TARGET_INIT_DWARF_REG_SIZES_EXTRA, | |
15943 | rs6000_init_dwarf_reg_sizes_extra): New. | |
15944 | * config/rs6000/linux-unwind.h (ppc_fallback_frame_state): Support | |
15945 | SPE register high parts. | |
15946 | ||
ba5147c6 | 15947 | 2007-03-01 Brooks Moses <brooks.moses@codesourcery.com> |
15948 | ||
15949 | * Makefile.in: Add install-pdf target as | |
15950 | copied from automake v1.10 rules. | |
15951 | * configure.ac: Add install-pdf to target list. | |
15952 | * configure: Regenerate. | |
15953 | ||
f1225f6f | 15954 | 2007-03-01 Paul Brook <paul@codesourcery.com> |
15955 | ||
15956 | * config/arm/arm.c (arm_legitimate_index_p): Limit iWMMXt addressing | |
15957 | modes to LDRD for DImode. | |
15958 | (output_move_double): Fixup out of range ldrd/strd. | |
15959 | (vfp_secondary_reload_class): Rename... | |
15960 | (coproc_secondary_reload_class): ... to this. Add wb argument. | |
15961 | * config/arm/arm.h (SECONDARY_OUTPUT_RELOAD_CLASS): Use | |
15962 | coproc_secondary_reload_class for CLASS_IWMMXT. | |
15963 | (SECONDARY_INPUT_RELOAD_CLASS): Ditto. | |
15964 | * arm-protos.h (coproc_secondary_reload_class): Update prototype. | |
15965 | ||
78f46d45 | 15966 | 2007-03-01 Zdenek Dvorak <dvorakz@suse.cz> |
15967 | ||
ed69c853 | 15968 | * tree-ssa-loop-prefetch.c (determine_unroll_factor): Bound the |
15969 | unroll factor by the estimated number of iterations. | |
15970 | (loop_prefetch_arrays): Do not prefetch in loops that iterate less | |
15971 | than prefetch latency. | |
78f46d45 | 15972 | |
e3ca9bbb | 15973 | * config/i386/driver-i386.c (describe_cache, detect_caches_amd, |
15974 | decode_caches_intel, detect_caches_intel): New functions. | |
15975 | (host_detect_local_cpu): Use detect_caches_amd and | |
15976 | detect_caches_intel. | |
15977 | ||
64003036 | 15978 | 2007-03-01 Richard Henderson <rth@redhat.com> |
15979 | ||
15980 | * expr.c (emit_move_complex_push): Export. | |
15981 | (emit_move_complex_parts): Split out from ... | |
15982 | (emit_move_complex): ... here. | |
15983 | * expr.h (emit_move_complex_push, emit_move_complex_parts): Declare. | |
15984 | * config/i386/i386.md (movcdi): New. | |
15985 | ||
af0b4c32 | 15986 | 2007-03-01 Uros Bizjak <ubizjak@gmail.com> |
15987 | ||
15988 | * config/i386/i386.c (ix86_modes_tieable_p): Fix typo, use also | |
15989 | size of mode1 to check for tieable modes in MMX case. | |
15990 | ||
e0ab7256 | 15991 | 2007-03-01 Richard Sandiford <richard@codesourcery.com> |
15992 | ||
15993 | * Makefile.in (rtlanal.o): Depend on tree.h. | |
15994 | * rtl.h (offset_within_section_p, split_const): Declare. | |
15995 | * rtlanal.c: Include tree.h. | |
15996 | (offset_within_block_p): New function, taken from | |
15997 | mips_offset_within_object_p. | |
15998 | (split_const): New function, taken from mips_split_const. | |
15999 | * config/m68k/m68k-protos.h (m68k_illegitimate_symbolic_constant_p): | |
16000 | Declare. | |
16001 | * config/m68k/m68k.h (M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): Define. | |
16002 | (CONSTANT_ADDRESS_P): Only accept legitimate constants. | |
16003 | (LEGITIMATE_CONSTANT_P): Check m68k_illegitimate_symbolic_constant_p. | |
16004 | * config/m68k/m68k.c (TARGET_CANNOT_FORCE_CONST_MEM): Define. | |
16005 | (m68k_illegitimate_symbolic_constant_p): New function. | |
16006 | * config/m68k/m68k.md (movsi): Remove misleading predicates. | |
16007 | If M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P and the source is a | |
16008 | symbolic constant that might be outside the symbol's section, | |
16009 | move the symbol first and then add the offset. | |
16010 | * config/m68k/uclinux.h (M68K_OFFSETS_MUST_BE_WITHIN_SECTIONS_P): | |
16011 | Override. | |
16012 | * config/mips/mips.c (mips_split_const): Delete. | |
16013 | (mips_offset_within_object_p): Delete. | |
16014 | (mips_symbolic_constant_p): Use offset_within_section_p and | |
16015 | split_const instead of mips_offset_within_object_p and | |
16016 | mips_split_const. | |
16017 | (mips_cannot_force_const_mem, mips_const_insns, mips_unspec_address) | |
16018 | (mips_legitimize_const_move, print_operand_reloc) | |
16019 | (mips_dangerous_for_la25_p): Use split_const instead of | |
16020 | mips_split_const. | |
16021 | ||
32abc985 | 16022 | 2007-02-28 Eric Christopher <echristo@apple.com> |
16023 | ||
16024 | * Makefile.in (install-include-dir): Don't rm -rf include. | |
16025 | ||
fb700337 | 16026 | 2007-02-28 Richard Guenther <rguenther@suse.de> |
16027 | ||
16028 | PR middle-end/30364 | |
16029 | * fold-const.c (fold_binary): Do not associate expressions | |
16030 | with more than one variable for integer types that do not wrap. | |
16031 | ||
d01f58f9 | 16032 | 2007-02-28 Sandra Loosemore <sandra@codesourcery.com> |
16033 | ||
16034 | * builtins.c (fold_builtin_call_list, fold_builtin_call_valist): | |
16035 | Delete, and replace with... | |
16036 | (fold_builtin_call_array): This. Update callers to use it. | |
16037 | * fold-const.c (fold_build_call_list): Delete, and replace with... | |
16038 | (fold_build_call_array): This. | |
16039 | (fold_build_call_list_initializer): Delete, and replace with... | |
16040 | (fold_build_call_array_initializer): This. | |
16041 | * tree.h: Update declarations to reflect above changes. | |
16042 | ||
16043 | * c-typeck.c (build_function_call): Store converted arguments | |
16044 | in a stack-allocated array instead of building a list. | |
16045 | (convert_arguments): Store arguments in the array passed in as an | |
16046 | argument, and return the actual number of arguments. | |
16047 | * c-format.c: (check_function_format): Pass arguments in an | |
16048 | array instead of a list. | |
16049 | * c-common.c (check_function_nonnull): Likewise. | |
16050 | (check_function_sentinel): Likewise. | |
16051 | (check_function_arguments): Likewise. | |
16052 | * c-common.h: Update declarations to reflect above changes. | |
16053 | ||
5331f35a | 16054 | 2007-02-28 Jan Hubicka <jh@suse.cz> |
16055 | ||
16056 | * predict.def (PRED_TREE_EARLY_RETURN, PRED_CONST_RETURN, | |
16057 | PRED_NEGATIVE_RETURN): Update outcomes. | |
16058 | ||
6c6f16e5 | 16059 | 2007-02-28 Bernd Schmidt <bernd.schmidt@analog.com> |
16060 | ||
16061 | * calls.c (emit_library_call_value_1): Handle partial registers | |
16062 | correctly when building up CALL_INSN_FUNCTION_USAGE. | |
32abc985 | 16063 | |
d8e78641 | 16064 | 2007-02-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16065 | ||
16066 | * pa/predicates.md (move_src_operand): Allow zero for mode. | |
16067 | * pa/pa.md: Fix constraints for zero CONST_DOUBLE in 64-bit DFmode | |
16068 | move pattern. | |
16069 | ||
d7aff3ba | 16070 | 2007-02-27 Uros Bizjak <ubizjak@gmail.com> |
16071 | ||
16072 | PR target/30970 | |
16073 | * config/i386/sse.md (*mov<mode>_internal, *movv4sf_internal, | |
16074 | *movv2df_internal): Enable pattern only for valid operand | |
16075 | combinations. | |
16076 | * config/i386/i386.c (ix86_modes_tieable_p): For SSE registers, | |
16077 | tie only 128bit modes. For MMX registers, tie only 64bit modes. | |
16078 | ||
e9b20616 | 16079 | 2007-02-27 Mike Stump <mrs@apple.com> |
16080 | ||
16081 | * config/darwin-crt3.c: Avoid compilation when compiling for a | |
16082 | kext multilib. | |
16083 | ||
d3036f42 | 16084 | 2007-02-27 Joseph Myers <joseph@codesourcery.com> |
16085 | ||
16086 | * Makefile.in (PREPROCESSOR_DEFINES, test-protoize-simple): Define | |
16087 | FIXED_INCLUDE_DIR. | |
16088 | (stmp-int-hdrs, stmp-fixinc, install-headers): Use include-fixed | |
16089 | for fixed headers and limits.h. | |
16090 | (install-include-dir, install-headers-tar, install-headers-cpio, | |
16091 | install-headers-cp, real-install-headers-tar, | |
16092 | real-install-headers-cpio, real-install-headers-cp): Handle | |
16093 | include-fixed as well as include. | |
16094 | (install-mkheaders): Don't install files that go only in include | |
16095 | not include-fixed. | |
16096 | * cppdefault.c (cpp_include_defaults): Separate FIXED_INCLUDE_DIR | |
16097 | from GCC_INCLUDE_DIR. | |
16098 | * gcc.c (process_command): Remove special -BstageN/ handling. | |
16099 | (do_spec_1): Add include-fixed directories. | |
16100 | ||
762d9e5d | 16101 | 2007-02-27 Bernd Schmidt <bernd.schmidt@analog.com> |
16102 | ||
16103 | * config/bfin/t-bfin-elf (LIB1ASMFUNCS): Add _umulsi3_highpart and | |
16104 | _smulsi3_highpart. | |
16105 | * config/bfin/lib1funcs.asm (___umulsi3_highpart, ___smulsi3_highpart): | |
16106 | New functions. | |
16107 | * config/bfin/bfin.md (smulsi3_highpart, umulsi3_highpart): New | |
16108 | patterns. | |
16109 | ||
28fbc04f | 16110 | 2007-02-27 Mark Mitchell <mark@codesourcery.com> |
16111 | ||
16112 | * c-common.c (get_priority): Add check for | |
16113 | SUPPORTS_INIT_PRIORITY. | |
16114 | ||
3300e462 | 16115 | 2007-02-27 Bernd Schmidt <bernd.schmidt@analog.com> |
16116 | ||
16117 | * config/bfin/bfin.md (doloop_end): FAIL if counter reg isn't SImode. | |
16118 | ||
917c4036 | 16119 | * config/bfin/bfin.c: Include "cfglayout.h". |
16120 | (MAX_LSETUP_DISTANCE): New macro. | |
16121 | (struct loop_info): New members incoming, incoming_src and | |
16122 | incoming_dest. Delete member predecessor. | |
16123 | (length_for_loop): New function. | |
16124 | (bfin_optimize_loop): Handle more different loop structures. | |
16125 | (bfin_discover_loop): Rework detection of predecessor blocks by | |
16126 | examining incoming edges. | |
16127 | (bfin_discover_loops, bfin_free_loops): New functions, broken out of | |
16128 | bfin_reorg_loops. | |
16129 | (bfin_reorder_loops): New function. | |
16130 | (bfin_reorg_loops): Use these three new functions. | |
16131 | ||
f141221f | 16132 | * config/bfin/bfin.h (enum reg_class, REG_CLASS_NAMES, |
16133 | REG_CLASS_CONTENTS): Add D0REGS through D7REGS. | |
16134 | (CONSTRAINT_LEN): Add entry for 'q'. | |
16135 | (REG_CLASS_FROM_CONSTRAINT): Renamed from REG_CLASS_FROM_LETTER. | |
16136 | Add 'q' constraints. | |
16137 | (REGNO_REG_CLASS): For R0 through R7, return corresponding regclass. | |
16138 | (CLASS_LIKELY_SPILLED_P): True for R0, R1 and R2. | |
16139 | ||
16140 | * config/bfin/bfin.md (add_with_carry): New pattern. | |
16141 | (s_or_u, su_optab, su_modifier): New code macros/attrs. | |
16142 | (<su_optab>hisi_ll, <su_optab>hisi_lh, <su_optab>hisi_hl, | |
16143 | <su_optab>hisi_hh): Renamed from mulhisi_xx patterns; macroized to | |
16144 | support unsigned multiplies too. Removed incorrect commutativity from | |
16145 | operand 1 constraint where appropriate. | |
16146 | (usmulhisi_ull, usmulhisi_ulh, usmulhisi_uhl, usmulhisi_uhh): New | |
16147 | patterns. | |
16148 | (<su_optab>hisi_ll_lh, <su_optab>hisi_ll_hl, <su_optab>hisi_ll_hh, | |
16149 | <su_optab>hisi_lh_hl, <su_optab>hisi_lh_hh, <su_optab>hisi_hl_hh): | |
16150 | New patterns. | |
16151 | (usmulhisi_ll_lul, usmulhisi_ll_luh, usmulhisi_ll_hul, | |
16152 | usmulhisi_ll_huh, usmulhisi_lh_lul, usmulhisi_lh_luh, usmulhisi_lh_hul, | |
16153 | usmulhisi_lh_huh, usmulhisi_hl_lul, usmulhisi_hl_luh, usmulhisi_hl_hul, | |
16154 | usmulhisi_hl_huh, usmulhisi_hh_lul, usmulhisi_hh_luh, usmulhisi_hh_hul, | |
16155 | usmulhisi_hh_huh): New patterns. | |
16156 | ||
dd84684d | 16157 | * config/bfin/bfin.md (ssashiftv2hi3, ssashifthi3, lshiftv2hi3, |
16158 | lshifthi3): Fix output template to use half reg for operand 2. | |
16159 | ||
7943de3b | 16160 | * config/bfin/bfin.c (bfin_output_mi_thunk): Use R3 as scratch reg |
16161 | instead of R2. | |
16162 | ||
e829ba77 | 16163 | * config/bfin/bfin.md (rotl16, rotlsi3, rotrsi3): New patterns. |
16164 | ||
ac30c31e | 16165 | 2007-02-27 Andreas Schwab <schwab@suse.de> |
16166 | ||
16167 | * Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-common.texi. | |
16168 | ||
f657a7ae | 16169 | 2007-02-27 Jan Hubicka <jh@suse.cz> |
16170 | ||
16171 | * predict.c (last_basic_block_p): Remove. | |
16172 | (tree_estimate_probability): Update return heuristic for commonized | |
16173 | return blocks. | |
16174 | ||
3a8843c6 | 16175 | 2007-02-26 Brooks Moses <brooks.moses@codesourcery.com> |
16176 | ||
16177 | * Makefile.in (TEXI_GCCINSTALL_FILES): Add gcc-vers.texi dependency. | |
16178 | ||
8a667fb9 | 16179 | 2007-02-26 Brooks Moses <brooks.moses@codesourcery.com> |
16180 | ||
16181 | * doc/include/gcc-common.texi (versionsubtitle): New macro. | |
16182 | * doc/cpp.texi: Standardize title page. | |
16183 | * doc/cppinternals.texi: Likewise. | |
16184 | * doc/gcc.texi: Standardize title page, remove version number | |
16185 | from copyright page. | |
16186 | * doc/gccint.texi: Likewise. | |
16187 | * doc/install.texi: Standardize title page, add table of | |
16188 | contents. | |
16189 | ||
4a4e4487 | 16190 | 2007-02-26 Jan Hubicka <jh@suse.cz> |
16191 | ||
16192 | * predict.def: Set outcomes according to more recent results. | |
16193 | (PRED_LOOP_CONDITION, PRED_LOOP_PRECONDITIONING, PRED_LOOP_HEADER): | |
16194 | Remove dead predictors. | |
16195 | * predict.c (return_prediction): Fix pasto. | |
16196 | ||
9676249d | 16197 | 2007-02-27 Bernd Schmidt <bernd.schmidt@analog.com> |
16198 | ||
16199 | * loop-iv.c (simplify_using_initial_values): Fix oversight in previous | |
16200 | change; avoid a memory leak when returning early. | |
32abc985 | 16201 | |
6c181a06 | 16202 | 2007-02-26 Mark Mitchell <mark@codesourcery.com> |
16203 | ||
2970ab3d | 16204 | * c-decl.c (static_ctors): Move to c-common.c. |
16205 | (static_dtors): Likewise. | |
16206 | (finish_function): Use c_record_cdtor_fn. | |
16207 | (build_cdtor): Move to c-common.c. | |
16208 | (c_write_global_declarations): Use c_build_cdtor_fns. | |
16209 | * c-common.h (static_ctors): Declare. | |
16210 | (static_dtors): Likewise. | |
16211 | (c_record_cdtor_fn): Likewise. | |
16212 | (c_build_cdtor_fns): Likewise. | |
16213 | * c-common.c (static_ctors): New variable. | |
16214 | (static_dtors): Likewise. | |
16215 | (c_record_cdtor_fn): New function. | |
16216 | (build_cdtor): Move from c-decl.c | |
16217 | (c_build_cdtor_fns): New function. | |
16218 | ||
6c181a06 | 16219 | * output.h (assemble_addr_to_section): Declare. |
16220 | (get_cdtor_priority_section): Likewise. | |
16221 | * varasm.c (assemble_addr_to_section): New function. | |
16222 | (get_cdtor_priority_section): Likewise. | |
16223 | (default_named_section_asm_out_destructor): Use them. | |
16224 | (destor_dtor_section_asm_out_destructor): Likewise. | |
16225 | (default_named_section_asm_out_constructor): Likewise. | |
16226 | (default_ctor_section_asm_out_constructor): Likewise. | |
16227 | * config.gcc (*-*-vxworks*): Include vxworks.o. | |
16228 | * config/t-vxworks (vxworks.o): New target. | |
16229 | * config/vxworks.h (ALWAYS_NUMBER_CTORS_SECTIONS): Remove. | |
16230 | (TARGET_ASM_CONSTRUCTOR): Define. | |
16231 | (TARGET_ASM_DESTRUCTOR): Likewise. | |
16232 | (vxworks_asm_out_constructor): Declare. | |
16233 | (vxworks_asm_out_destructor): Likewise. | |
16234 | ||
16235 | * c-common.c (get_priority): Check that we have not just an | |
16236 | INTEGER_CST, but an integer constant with integeral type. | |
16237 | ||
2c83afb0 | 16238 | 2007-02-25 Uros Bizjak <ubizjak@gmail.com> |
16239 | ||
16240 | PR tree-optimization/30938 | |
16241 | * tree-vect-transform.c (vectorizable_call): Fix off-by-one error: | |
16242 | use &dt[nargs-1] instead of &dt[nargs] in the call to | |
16243 | vect_is_simple_use(). | |
16244 | ||
cc6757ec | 16245 | 2007-02-25 Ulrich Weigand <uweigand@de.ibm.com> |
16246 | ||
16247 | * reload.c (find_reloads_address_1): Handle PLUS expressions resulting | |
16248 | from register elimination as PRE_MODIFY / POST_MODIFY increments. | |
16249 | Do not attempt to handle MEM inside auto-inc expressions. | |
16250 | * reload1.c (eliminate_regs_1): Do not attempt to handle elimination | |
16251 | of a register modified by an auto-inc expression. However, do handle | |
16252 | elimination of a register used as PRE_MODIFY / POST_MODIFY increment. | |
16253 | (elimination_effects): Prohibit elimination of a register modified | |
16254 | by an auto-inc expression. Disable register elimination rules whose | |
16255 | target register is modified by an auto-inc expression with variable | |
16256 | increment. | |
16257 | ||
d500fef3 | 16258 | 2007-02-25 Zdenek Dvorak <dvorakz@suse.cz> |
16259 | ||
16260 | * tree-ssa-loop-niter.c (compute_estimated_nb_iterations): Fix | |
16261 | off-by-one error. | |
16262 | (array_at_struct_end_p): New function. | |
16263 | (idx_infer_loop_bounds): Use it. | |
16264 | (estimate_numbers_of_iterations_loop): Export. | |
16265 | * predict.c (predict_loops): Use estimated_loop_iterations_int. | |
16266 | Do not use PRED_LOOP_EXIT on exits predicted by # of iterations. | |
16267 | (tree_estimate_probability): Call record_loop_exits. | |
16268 | * tree-data-ref.c (get_number_of_iters_for_loop): Replaced by ... | |
16269 | (estimated_loop_iterations, estimated_loop_iterations_int, | |
16270 | estimated_loop_iterations_tree): New functions. | |
16271 | (analyze_siv_subscript_cst_affine, | |
16272 | compute_overlap_steps_for_affine_1_2, | |
16273 | analyze_subscript_affine_affine): Use estimated_loop_iterations_int. | |
16274 | (analyze_miv_subscript): Use estimated_loop_iterations_tree. | |
16275 | * predict.def (PRED_LOOP_ITERATIONS): Update comment. | |
16276 | (PRED_LOOP_ITERATIONS_GUESSED): New. | |
16277 | * cfgloop.c (record_loop_exits): Do nothing if there are no loops. | |
16278 | * cfgloop.h (estimate_numbers_of_iterations_loop, | |
16279 | estimated_loop_iterations_int): Declare. | |
16280 | ||
9af7fd5b | 16281 | 2007-02-25 Mark Mitchell <mark@codesourcery.com> |
16282 | ||
16283 | * doc/extend.texi: Document optional priority argument to | |
16284 | constructors and destructors. | |
16285 | * tree.c (init_priority_for_decl): Adjust GTY markers. | |
16286 | (init_ttree): Use priority-info hash functions for | |
16287 | init_priority_for_decl. | |
16288 | (tree_map_eq): Rename to ... | |
16289 | (tree_map_base_eq): ... this. | |
16290 | (tree_map_marked_p): Rename to ... | |
16291 | (tree_map_base_marked_p): ... this. | |
16292 | (tree_map_base_hash): New function. | |
16293 | (decl_init_priority_lookup): Rework. | |
16294 | (decl_fini_priority_lookup): New function. | |
16295 | (decl_priority_info): New function. | |
16296 | (decl_init_priority_insert): Use it. | |
16297 | (decl_fini_priority_insert): Likewise. | |
16298 | (decl_restrict_base_lookup): Adjust for refactoring of tree_map | |
16299 | hierarchy. | |
16300 | (decl_restrict_base_insert): Likewise. | |
16301 | (decl_debug_expr_insert): Likewise. | |
16302 | (decl_value_expr_lookup): Likewise. | |
16303 | (decl_value_expr_insert): Likewise. | |
16304 | * tree.h (priority_type): New type. | |
16305 | (decl_init_priority_lookup): Use priority_type. | |
16306 | (decl_fini_priority_lookup): New function. | |
16307 | (decl_init_priority_insert): Use priority_type. | |
16308 | (decl_fini_priority_insert): New function. | |
16309 | (DECL_HAS_INIT_PRIORITY): Tweak comments. | |
16310 | (DECL_INIT_PRIORITY): Likewise. | |
16311 | (SET_DECL_INIT_PRIORITY): Add comment. | |
16312 | (DECL_FINI_PRIORITY): New macro. | |
16313 | (SET_DECL_FINI_PRIORITY): Likewise. | |
16314 | (DEFAULT_INIT_PRIORITY): Document. | |
16315 | (MAX_INIT_PRIORITY): Likewise. | |
16316 | (MAX_RESERVED_INIT_PRIORITY): Likewise. | |
16317 | (tree_map_base): New type. | |
16318 | (tree_map_base_eq): New function. | |
16319 | (tree_map_base_hash): Likewise. | |
16320 | (tree_map_base_marked_p): Likewise. | |
16321 | (tree_map): Inherit from tree_map_base. | |
16322 | (tree_map_eq): Make it a macro. | |
16323 | (tree_map_marked_p): Likewise. | |
16324 | (tree_int_map): Inherit from tree_map_base. | |
16325 | (tree_int_map_eq): Make it a macro. | |
16326 | (tree_int_map_hash): Likewise. | |
16327 | (tree_int_map_marked_p): Likewise. | |
16328 | (tree_priority_map): New type. | |
16329 | (tree_priority_map_eq): New macro. | |
16330 | (tree_priority_map_hash): Likewise. | |
16331 | (tree_priority_map_marked_p): Likewise. | |
16332 | * varasm.c (emults_decl): Adjust for refactoring of tree_map | |
16333 | hierarchy. | |
16334 | (emutls_common_1): Likewise. | |
16335 | * lambda-code.c (replace_uses_equiv_to_x_with_y): Likewise. | |
16336 | * tree-ssa-structalias.c (heapvar_lookup): Adjust for refactoring | |
16337 | of tree_map hierarchy. | |
16338 | * tree-cfg.c (move_stmt_r): Likewise. | |
16339 | (new_label_mapper): Likewise. | |
16340 | * c-tree.h (c_expand_body): Move to ... | |
16341 | * c-common.h (c_expand_body): ... here. | |
16342 | * c-decl.c (c_expand_body): Move to ... | |
16343 | * c-common.c (c_expand_body): ... here. | |
16344 | (c_common_attribute_table): Allow 1 argument for the constructor | |
16345 | and destructor attributes. | |
16346 | (get_priority): New function. | |
16347 | (handle_constructor_attribute): Set DECL_INIT_PRIORITY. | |
16348 | (handle_destructor_attribute): Set DECL_FINI_PRIORITY. | |
16349 | ||
fc128a8d | 16350 | 2007-02-24 Jan Hubicka <jh@suse.cz> |
16351 | ||
16352 | PR middle-end/30509 | |
ed69c853 | 16353 | * tree-inline.c (copy_bb): Produce exact copy of EH info when |
16354 | copying for inlining. | |
fc128a8d | 16355 | |
1a4d0a29 | 16356 | 2007-02-24 Uros Bizjak <ubizjak@gmail.com> |
16357 | Jan Hubicka <jh@suse.cz> | |
16358 | ||
16359 | PR target/30778 | |
16360 | * i386.c (counter_mode): New function. | |
16361 | (expand_set_or_movmem_via_loop): Use it. | |
16362 | (expand_movmem_epilogue): Likewise; fix pasto. | |
16363 | (ix86_expand_movmem): Do emit guard even for constant counts. | |
16364 | (ix86_expand_setmem): Likewise. | |
16365 | ||
273e3156 | 16366 | 2007-02-25 Nick Clifton <nickc@redhat.com> |
16367 | ||
16368 | * config/frv/frv.h (ASM_OUTPUT_CASE_LABEL): Delete. | |
16369 | (JUMP_TABLES_IN_TEXT_SECTION): Define. | |
16370 | ||
909efa5d | 16371 | 2007-02-24 Uros Bizjak <ubizjak@gmail.com> |
16372 | ||
16373 | PR target/30770 | |
16374 | * config/i386/i386.md (expand_movmem_epilogue): Fix typo, mask | |
16375 | count argument with 0x10, not with 0x16. | |
16376 | (expand_setmem_epilogue): Ditto. | |
16377 | ||
b830255d | 16378 | 2007-02-24 Mike Stump <mrs@apple.com> |
16379 | ||
16380 | * config/i386/i386.c (output_pic_addr_const): Stubify optimized | |
16381 | symbols. | |
16382 | ||
428b02b4 | 16383 | 2007-02-24 Richard Guenther <rguenther@suse.de> |
16384 | ||
16385 | PR middle-end/30951 | |
16386 | * fold-const.c (fold_binary): Fold x +- CST op x for | |
16387 | EQ_EXPR and NE_EXPR. | |
16388 | ||
40f89ebf | 16389 | 2007-02-24 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16390 | ||
16391 | * pa.md (muldi3): Force subregs to registers in 64-bit expander. | |
16392 | ||
55680bef | 16393 | 2007-02-24 Jan Hubicka <jh@suse.cz> |
16394 | ||
16395 | * cgraphunit.c (decide_is_function_needed): Honor | |
16396 | -fkeep-inline-functions. | |
16397 | ||
ebf8b4f5 | 16398 | 2007-02-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
16399 | ||
16400 | * builtins.c (fold_builtin_modf): New. | |
16401 | (fold_builtin_2): Use it. | |
16402 | ||
731d95c8 | 16403 | 2007-02-24 Bernd Schmidt <bernd.schmidt@analog.com> |
16404 | ||
16405 | * loop-iv.c (implies_p): Detect additional cases where A implies B. | |
16406 | (determine_max_iter): Take additional LOOP arg; all callers changed. | |
16407 | Lose broken logic dealing with PLUS. Try to limit the upper bound by | |
16408 | one using simplifications. | |
1887df24 | 16409 | (simplify_using_initial_values): Return if the expression becomes |
16410 | invalid due to altered regs. | |
731d95c8 | 16411 | |
b9bbc279 | 16412 | 2007-02-23 DJ Delorie <dj@redhat.com> |
16413 | ||
16414 | * doc/tm.h (BIGGEST_ALIGNMENT): Clarify the purpose of this macro. | |
16415 | ||
f1148292 | 16416 | 2007-02-23 Mike Stump <mrs@apple.com> |
16417 | ||
16418 | * tlink.c (scan_linker_output): Parse linker messages from | |
16419 | darwin9's linker better. | |
16420 | ||
11cc227f | 16421 | 2007-02-23 Steve Ellcey <sje@cup.hp.com> |
16422 | ||
16423 | PR debug/29614 | |
16424 | * varpool.c (varpool_assemble_pending_decls): Set | |
16425 | varpool_last_needed_node to null. | |
16426 | ||
cf9d2c34 | 16427 | 2007-02-23 DJ Delorie <dj@redhat.com> |
16428 | ||
16429 | * config/i386/i386.c (ix86_data_alignment): Don't specify an | |
16430 | alignment bigger than the object file can handle. | |
16431 | ||
a3ee7d9b | 16432 | 2007-02-23 Uros Bizjak <ubizjak@gmail.com> |
16433 | ||
16434 | PR target/30825 | |
16435 | * config/i386/i386.md (*movdi_1_rex64, zero_extendsidi2_32, | |
16436 | zero_extendsidi2_rex64): Penalize MMX register<->memory moves. | |
16437 | (*movsf_1): Penalize MMX moves. | |
16438 | ||
ee445de8 | 16439 | 2007-02-23 Bernd Schmidt <bernd.schmidt@analog.com> |
16440 | ||
16441 | * config/bfin/bfin.md (doloop_end): Fail for loops that can iterate | |
16442 | 2^32-1 or more times unless flag_unsafe_loop_optimizations. | |
16443 | ||
c9d59418 | 16444 | * loop-iv.c (determine_max_iter): Moved in front of its sole user. |
16445 | ||
cb2b9385 | 16446 | 2007-02-23 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
16447 | ||
16448 | * builtins.c (fold_builtin_logb, fold_builtin_significand): New. | |
16449 | (fold_builtin_1): Use them. | |
16450 | * fold-const.c (tree_expr_nonnegative_warnv_p): Handle | |
16451 | BUILT_IN_SIGNIFICAND. | |
16452 | ||
9d711a59 | 16453 | 2007-02-23 H.J. Lu <hongjiu.lu@intel.com> |
16454 | ||
16455 | * config/i386/i386.c (bdesc_1arg): Initialize | |
16456 | IX86_BUILTIN_MOVSHDUP and IX86_BUILTIN_MOVSLDUP with | |
16457 | "__builtin_ia32_movshdup" and "__builtin_ia32_movsldup". | |
16458 | (ix86_init_mmx_sse_builtins): Remove IX86_BUILTIN_MOVSHDUP | |
16459 | and IX86_BUILTIN_MOVSLDUP. | |
16460 | ||
deb3d513 | 16461 | 2007-02-22 Paolo Bonzini <bonzini@gnu.org> |
16462 | ||
16463 | PR rtl-optimization/30841 | |
9d711a59 | 16464 | * fwprop.c (propagate_rtx_1): Accept a VOIDmode replacement address. |
deb3d513 | 16465 | |
3838b9ae | 16466 | 2007-02-22 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
16467 | ||
16468 | * builtins.c (fold_builtin_frexp): New. | |
16469 | (fold_builtin_2): Use it. | |
16470 | ||
0305c755 | 16471 | 2007-02-22 Mark Mitchell <mark@codesourcery.com> |
16472 | ||
d0252125 | 16473 | * doc/invoke.texi (Spec Files): Document getenv spec function. |
16474 | ||
0305c755 | 16475 | * gcc.c (getenv_spec_function): New function. |
16476 | (static_spec_functions): Add it. | |
16477 | * config/vxworks.h (VXWORKS_TARGET_DIR): Remove. | |
16478 | (VXWORKS_ADDITIONAL_CPP_SPEC): Use getenv to find the VxWorks | |
16479 | header files. | |
16480 | ||
facb12b2 | 16481 | 2007-02-22 Michael Matz <matz@suse.de |
16482 | ||
16483 | PR c++/29433 | |
16484 | * dwarf2out.c (add_AT_string): Call ggc_strdup once per string. | |
16485 | (type_tag): Use lang_hooks.dwarf_name instead of DECL_NAME. | |
16486 | ||
3ab1d710 | 16487 | 2007-02-22 Ian Lance Taylor <iant@google.com> |
16488 | ||
16489 | PR debug/30898 | |
16490 | * dwarf2out.c (concatn_mem_loc_descriptor): New static function. | |
16491 | (mem_loc_descriptor): Call it. | |
16492 | ||
d8454216 | 16493 | 2007-02-22 Zdenek Dvorak <dvorakz@suse.cz> |
facb12b2 | 16494 | Ira Rosen <irar@il.ibm.com> |
d8454216 | 16495 | |
16496 | * tree-data-ref.c (ptr_ptr_may_alias_p): Take alias sets into account. | |
16497 | ||
3326680b | 16498 | 2007-02-22 Ira Rosen <irar@il.ibm.com> |
16499 | ||
16500 | PR tree-optimization/30843 | |
32abc985 | 16501 | * tree-vect-transform.c (vect_transform_loop): Remove strided scalar |
3326680b | 16502 | stores only after all the group is vectorized. |
16503 | ||
bfe8bfe9 | 16504 | 2007-02-22 Dorit Nuzman <dorit@il.ibm.com> |
16505 | ||
16506 | PR tree-optimization/30858 | |
16507 | * tree-vectorizer.c (vect_is_simple_reduction): Check that the stmts | |
16508 | in the reduction cycle have a single use in the loop. | |
16509 | * tree-vectorizer.h (relevant): Add documentation. | |
16510 | ||
267a6571 | 16511 | 2007-02-20 Mike Stump <mrs@apple.com> |
16512 | ||
16513 | * configure.ac (powerpc*-*-darwin*): #include <sys/cdefs.h>. | |
16514 | * configure: Regenerate. | |
16515 | ||
5df189be | 16516 | 2007-02-21 Trevor Smigiel <trevor_smigiel@playstation.sony.com> |
16517 | ||
16518 | Change the defaults of some parameters and options. | |
16519 | * config/spu/spu-protos.h (spu_optimization_options): Declare. | |
16520 | * config/spu/spu.c (spu_optimization_options): Add. | |
16521 | (spu_override_options): Change params in spu_optimization_options. | |
16522 | * config/spu/spu.h (OPTIMIZATION_OPTIONS): Define. | |
16523 | ||
16524 | Register 127 is only 16 byte aligned when used as a frame pointer. | |
16525 | * config/spu/spu-protos.h (spu_init_expanders): Declare. | |
16526 | * config/spu/spu.c (spu_expand_prologue): Set REGNO_POINTER_ALIGN for | |
16527 | HARD_FRAME_POINTER_REGNUM. | |
16528 | (spu_legitimate_address): Use regno_aligned_for_reload. | |
16529 | (regno_aligned_for_load): HARD_FRAME_POINTER_REGNUM is only 16 byte | |
16530 | aligned when frame_pointer_needed is true. | |
16531 | (spu_init_expanders): New. Set alignment of HARD_FRAME_POINTER_REGNUM | |
16532 | to 8 bits. | |
16533 | * config/spu/spu.h (INIT_EXPANDERS): Define. | |
16534 | ||
16535 | Make sure shift and rotate instructions have valid immediate operands. | |
16536 | * config/spu/predicates.md (spu_shift_operand): Remove. | |
16537 | * config/spu/spu.c (print_operand): Add [efghEFGH] modifiers. | |
267a6571 | 16538 | * config/spu/constraints.md (W, O): Extend range. |
5df189be | 16539 | * config/spu/spu.md (umask, nmask): Define. |
16540 | (ashl<mode>3, ashldi3, ashlti3_imm, shlqbybi_ti, shlqbi_ti, shlqby_ti, | |
16541 | lshr<mode>3, rotm_<mode>, lshr<mode>3_imm, rotqmbybi_<mode>, | |
16542 | rotqmbi_<mode>, rotqmby_<mode>, ashr<mode>3, rotma_<mode>, | |
16543 | rotl<mode>3, rotlti3, rotqbybi_ti, rotqby_ti, rotqbi_ti): Use | |
16544 | spu_nonmem_operand instead of spu_shift_operands. Use new modifiers. | |
16545 | (lshr<mode>3_reg): Fix rtl description. | |
16546 | ||
16547 | Make sure mulhisi immediate operands are valid. | |
16548 | * config/spu/predicates.md (imm_K_operand): Add. | |
16549 | * config/spu/spu.md (mulhisi3_imm, umulhisi3_imm): Use imm_K_operand. | |
16550 | ||
16551 | Generate constants using fsmbi and andi. | |
16552 | * config/spu/spu.c (enum immediate_class): Add IC_FSMBI2. | |
16553 | (print_operand, spu_split_immediate, classify_immediate, | |
16554 | fsmbi_const_p): Handle IC_FSMBI2. | |
16555 | ||
16556 | Correctly handle a CONST_VECTOR containing symbols. | |
16557 | * config/spu/spu.c (print_operand): Handle HIGH correctly. | |
16558 | (spu_split_immediate): Split CONST_VECTORs with -mlarge-mem. | |
16559 | (immediate_load_p): Allow symbols that use 2 instructions to create. | |
16560 | (classify_immediate, spu_builtin_splats): Don't accept a CONST_VECTOR | |
16561 | with symbols when flag_pic is set. | |
16562 | (const_vector_immediate_p): New. | |
16563 | (logical_immediate_p, iohl_immediate_p, arith_immediate_p): Don't | |
16564 | accept a CONST_VECTOR with symbols. | |
16565 | (spu_legitimate_constant_p): Use const_vector_immediate_p. Don't | |
16566 | accept a CONST_VECTOR with symbols when flag_pic is set. Handle HIGH | |
16567 | correctly. | |
16568 | * config/spu/spu.md (high, low): Delete. | |
16569 | (low_<mode>): Define. | |
16570 | ||
16571 | Remove INTRmode and INTR_REGNUM, which didn't work. | |
16572 | * config/spu/spu.c (spu_conditional_register_usage): Remove reference | |
16573 | of INTR_REGNUM. | |
16574 | * config/spu/spu-builtins.md (spu_idisable, spu_ienable, set_intr, | |
16575 | set_intr_pic, set_intr_cc, set_intr_cc_pic, set_intr_return, unnamed | |
16576 | peephole2 pattern): Don't use INTR or 131. | |
16577 | (movintrcc): Delete. | |
16578 | * config/spu/spu.h (FIRST_PSEUDO_REGISTER, FIXED_REGISTERS, | |
16579 | CALL_USED_REGISTERS, REGISTER_NAMES, INTR_REGNUM): Remove INTR_REGNUM. | |
16580 | * config/spu/spu.md (UNSPEC_IDISABLE, UNSPEC_IENABLE): Remove. | |
16581 | (UNSPEC_SET_INTR): Add. | |
16582 | * config/spu/spu-modes.def (INTR): Remove. | |
16583 | ||
16584 | More accurate warnings about run-time relocations. | |
16585 | * config/spu/spu.c (reloc_diagnostic): Test in_section. | |
16586 | ||
16587 | Correctly warn about immediate arguments to specific intrinsics. | |
16588 | * config/spu/spu.c (spu_check_builtin_parm): Handle CONST_VECTORs. | |
16589 | (spu_expand_builtin_1): Call spu_check_builtin_parm before checking | |
16590 | the instruction predicate. | |
16591 | ||
16592 | Fix tree check errors with latest update. | |
16593 | * config/spu/spu.c (expand_builtin_args, spu_expand_builtin_1): Use | |
16594 | CALL_EXPR_ARG. | |
16595 | (spu_expand_builtin): Use CALL_EXPR_FN. | |
16596 | ||
16597 | Add missing specific intrinsics. | |
16598 | * config/spu/spu-builtins.def: Add si_bisled, si_bisledd and | |
16599 | si_bislede. | |
16600 | * config/spu/spu_internals.h: Ditto. | |
16601 | ||
16602 | Fix incorrect operand modifiers. | |
16603 | * config/spu/spu-builtins.md (spu_mpy, spu_mpyu): Remove use of %H. | |
16604 | * config/spu/spu.md (xor<mode>3): Change %S to %J. | |
16605 | ||
16606 | Optimize one case of zero_extend of a vec_select. | |
16607 | * config/spu/spu.md (_vec_extractv8hi_ze): Add. | |
16608 | ||
16609 | Accept any immediate for hbr. | |
16610 | * config/spu/spu.md (hbr): Change s constraints to i. | |
16611 | ||
7dd28afd | 16612 | 2007-02-21 Paul Brook <paul@codesourcery.com> |
16613 | ||
16614 | * config/arm/arm.c (thumb2_final_prescan_insn): Don't incrememnt | |
16615 | condexec_count when skipping USE and CLOBBER. | |
16616 | ||
e8831472 | 16617 | 2007-02-21 Nick Clifton <nickc@redhat.com> |
16618 | ||
16619 | * common.opt (Warray-bounds): Add Warning attribute. | |
16620 | (Wstrict-overflow, Wstrict-overflow=, Wcoverage-mismatch): | |
16621 | Likewise. | |
16622 | (fsized-zeroes): Add Optimization attribute. | |
16623 | (fsplit-wide-types, ftree-scev-cprop): Likewise. | |
16624 | * c.opt (Wc++0x-compat): Add Warning attribute. | |
16625 | ||
403ac203 | 16626 | 2007-02-21 Ulrich Weigand <uweigand@de.ibm.com> |
16627 | ||
16628 | PR middle-end/30761 | |
16629 | * reload1.c (eliminate_regs_in_insn): In the single_set special | |
16630 | case, attempt to re-recognize the insn before falling back to | |
16631 | having reload fix it up. | |
16632 | ||
1da85181 | 16633 | 2007-02-20 Eric Christopher <echristo@gmail.com> |
16634 | ||
16635 | * config/frv/frv.c (frv_read_argument): Take a tree and int argument. | |
16636 | Rewrite accordingly. | |
16637 | (frv_read_iacc_argument): Ditto. | |
16638 | (frv_expand_set_builtin): Take a call instead of arglist, update for | |
16639 | above changes. | |
16640 | (frv_expand_unop_builtin): Ditto. | |
16641 | (frv_expand_binop_builtin): Ditto. | |
16642 | (frv_expand_cut_builtin): Ditto. | |
16643 | (frv_expand_binopimm_builtin): Ditto. | |
16644 | (frv_expand_voidbinop_builtin): Ditto. | |
16645 | (frv_expand_int_void2arg): Ditto. | |
16646 | (frv_expand_prefetches): Ditto. | |
16647 | (frv_expand_voidtriop_builtin): Ditto. | |
16648 | (frv_expand_voidaccop_builtin): Ditto. | |
16649 | (frv_expand_load_builtin): Ditto. | |
16650 | (frv_expand_store_builtin): Ditto. | |
16651 | (frv_expand_mdpackh_builtin): Ditto. | |
16652 | (frv_expand_mclracc_builtin): Ditto. | |
16653 | (frv_expand_mrdacc_builtin): Ditto. | |
16654 | (frv_expand_mwtacc_builtin): Ditto. | |
16655 | (frv_expand_builtin): Remove usage of CALL_EXPR_ARGS, update | |
16656 | calls for above. | |
16657 | ||
3230b740 | 16658 | 2007-02-20 Janis Johnson <janis187@us.ibm.com> |
16659 | ||
16660 | * doc/invoke.texi (RS/6000 and PowerPC Options): Add -mcmpb and -mdfp. | |
16661 | * configure.ac (HAVE_GAS_CMPB): Check for assembler support of the | |
16662 | cmpb instruction. | |
16663 | (HAVE_GAS_DFP): Check for assembler support of decimal floating | |
16664 | point instructions. | |
16665 | * configure: Regenerate. | |
16666 | * config.in: Regenerate. | |
16667 | * config/rs6000/rs6000.opt (mcmpb, mdfp): New. | |
16668 | * config/rs6000/rs6000.c (rs6000_override_options): Add CMPB and DFP | |
16669 | masks to power6 and power6x and to POWERPC_MASKS. | |
16670 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
16671 | _ARCH_PWR6. | |
16672 | * config/rs6000/rs6000.h: Check assembler support for CMPB and DFP. | |
16673 | * config/rs6000/sysv4.opt (mprototype): Use variable, not mask. | |
16674 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): | |
16675 | Access PROTOTYPE as variable, not mask. | |
16676 | ||
f16feee2 | 16677 | 2007-02-20 Steven Bosscher <steven@gcc.gnu.org> |
16678 | ||
16679 | * rtl.h (remove_reg_equal_equiv_notes): New prototype. | |
16680 | * rtlanal.c (remove_reg_equal_equiv_notes): New function. | |
16681 | * combine.c (adjust_for_new_dest): Use it. | |
16682 | * postreload.c (reload_combine): Likewise. | |
16683 | ||
e4f51d19 | 16684 | 2007-02-20 Steven Bosscher <steven@gcc.gnu.org> |
16685 | ||
16686 | * rtlanal.c (find_reg_equal_equiv_note): Do not find REG_EQ* | |
16687 | notes on an insn with multiple sets, even if single_set returns | |
16688 | non-NULL for that insn. | |
16689 | ||
f64551e5 | 16690 | 2007-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
16691 | ||
16692 | * fold-const.c (tree_expr_nonnegative_warnv_p): Handle scalb, | |
16693 | scalbn and scalbln. | |
16694 | ||
b9351f51 | 16695 | 2007-02-20 Geoffrey Keating <geoffk@apple.com> |
16696 | ||
16697 | * config/darwin.h (LINK_SPEC): Default -mmacosx-version-min only | |
16698 | if user didn't pass it. | |
16699 | * config/i386/darwin.h (CC1_SPEC): Likewise. | |
16700 | * config/rs6000/darwin.h (CC1_SPEC): Likewise. | |
16701 | (DARWIN_MINVERSION_SPEC): Don't depend on user's setting of | |
16702 | -mmacosx-version-min. | |
16703 | ||
73a954a1 | 16704 | 2007-02-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
16705 | Uros Bizjak <ubizjak@gmail.com> | |
16706 | ||
16707 | * optabs.h (enum optab_index): Add new OTI_scalb. | |
16708 | (scalb_optab): Define corresponding macro. | |
16709 | * optabs.c (init_optabs): Initialize scalb_optab. | |
16710 | * genopinit.c (optabs): Implement scalb_optab using scalb?f3 | |
16711 | patterns. | |
16712 | * builtins.c (expand_builtin_mathfn_2, expand_builtin): Handle | |
16713 | BUILT_IN_SCALB{,F,L}, BUILT_IN_SCALBN{,F,L} and BUILT_IN_SCALBLN{,F,L}. | |
16714 | (expand_builtin): Expand BUILT_IN_SCALB{,F,L}, BUILT_IN_SCALBN{,F,L} | |
16715 | and BUILT_IN_SCALBLN{,F,L} using expand_builtin_mathfn_2 if | |
16716 | flag_unsafe_math_optimizations is set. | |
16717 | ||
16718 | * config/i386/i386.md (scalbxf3, scalb<mode>3): New expanders | |
16719 | to implement scalbf, scalb and scalbl built-ins as inline x87 | |
16720 | intrinsics. | |
16721 | ||
f9a354ab | 16722 | 2007-02-20 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
267a6571 | 16723 | DJ Delorie <dj@redhat.com> |
f9a354ab | 16724 | |
16725 | PR other/30824 | |
16726 | * diagnostic.c (diagnostic_count_diagnostic): Move -Werror logic to... | |
16727 | (diagnostic_report_diagnostic): ... here, and turn them into real | |
16728 | errors. If warnings are inhibited, no need to do anything. | |
16729 | ||
ef1ec073 | 16730 | 2007-02-20 Uros Bizjak <ubizjak@gmail.com> |
16731 | ||
16732 | * config/i386/i386.md (expm1xf2): Reorder insn sequence for | |
16733 | better code generation. | |
16734 | ||
b6ec720b | 16735 | 2007-02-20 Ben Elliston <bje@au.ibm.com> |
16736 | ||
16737 | * config/m68hc11/m68hc11.h (OVERRIDE_OPTIONS): Remove extra ;. | |
16738 | ||
85c36fd1 | 16739 | 2007-02-20 Kazu Hirata <kazu@codesourcery.com> |
16740 | ||
16741 | * config/alpha/alpha.c, config/alpha/alpha.md, | |
16742 | config/alpha/lib1funcs.asm, config/alpha/vms-crt0-64.c, | |
16743 | config/alpha/vms-psxcrt0-64.c, config/arc/arc.c, | |
16744 | config/arc/arc.h, config/arm/arm.c, config/arm/arm.md, | |
16745 | config/arm/lib1funcs.asm: Follow spelling conventions. | |
16746 | ||
5b865faf | 16747 | * config/c4x/c4x.md, config/cris/cris.c, config/crx/crx.c, |
16748 | config/fr30/fr30.md, config/i386/i386.h, | |
16749 | config/iq2000/iq2000.h, config/iq2000/predicates.md, | |
16750 | config/pa/milli64.S, config/pa/pa.c, config/pa/pa.h, | |
16751 | config/pa/pa.md, config/pa/pa32-regs.h, config/pa/pa64-regs.h, | |
16752 | config/pdp11/pdp11.c, config/pdp11/pdp11.h, | |
16753 | config/rs6000/altivec.md, config/rs6000/rs6000.c, | |
16754 | config/s390/s390-modes.def, config/sparc/netbsd-elf.h, | |
16755 | config/sparc/sparc.c, config/sparc/sparc.h, | |
16756 | config/sparc/sparc.md, config/spu/constraints.md, | |
16757 | config/spu/spu.c, config/stormy16/stormy16.md: Follow spelling | |
16758 | conventions. | |
16759 | ||
53861d5d | 16760 | 2007-02-20 Alan Modra <amodra@bigpond.net.au> |
16761 | ||
16762 | PR target/29943 | |
16763 | * varasm.c (use_blocks_for_decl_p): Return false for decls with | |
16764 | alias attribute. | |
16765 | ||
87237fb6 | 16766 | 2007-02-19 Kazu Hirata <kazu@codesourcery.com> |
16767 | ||
16768 | * doc/invoke.texi (-ftree-lrs): Remove. | |
16769 | ||
1bf2539a | 16770 | 2007-02-19 Diego Novillo <dnovillo@redhat.com> |
16771 | ||
16772 | * tree-ssa-pre.c (create_value_expr_from): Initialize POOL to | |
16773 | NULL. | |
16774 | ||
f3a91845 | 16775 | 2007-02-19 Lee Millward <lee.millward@codesourcery.com> |
16776 | ||
16777 | * config/ia64/ia64.c (ia64_expand_builtin): Use the | |
1da85181 | 16778 | new CALL_EXPR_FN macro for retrieving the function |
f3a91845 | 16779 | declaration of the input expression. |
1da85181 | 16780 | |
ede5a481 | 16781 | 2007-02-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
16782 | ||
16783 | * c.opt (Waddress): New. | |
16784 | * common.opt (Walways-true): Delete. | |
16785 | (Wstring-literal-comparison): Delete. | |
16786 | * doc/invoke.texi (Warning Options): Delete -Walways-true and | |
16787 | -Wstring-literal-comparison. Add -Waddress. | |
16788 | (Waddress): New. | |
16789 | (Walways-true): Delete. | |
16790 | (Wstring-literal-comparison): Delete. | |
16791 | * doc/extend.texi (#pragma GCC diagnostic): Use -Wformat | |
16792 | consistently instead of -Walways-true in example. | |
16793 | * c-opts.c (c_common_handle_option): -Waddress is enabled by -Wall. | |
16794 | * c-typeck.c (parser_build_binary_op): Replace | |
16795 | -Wstring-literal-comparison and -Walways-true with -Waddress. | |
16796 | * c-common.c (c_common_truthvalue_conversion): Replace -Walways-true | |
16797 | with -Waddress. | |
1da85181 | 16798 | |
2debe3a3 | 16799 | 2007-02-19 Eric Botcazou <ebotcazou@adacore.com> |
16800 | ||
16801 | * tree-cfg.c (dump_function_to_file): Be prepared for functions | |
16802 | without DECL_STRUCT_FUNCTION initialized. | |
16803 | ||
f62a072c | 16804 | 2007-02-19 Eric Botcazou <ebotcazou@adacore.com> |
16805 | ||
16806 | * gimplify.c (gimplify_init_ctor_preeval_1): Detect potential overlap | |
16807 | due to calls to functions taking pointers as parameters. | |
16808 | ||
39018906 | 16809 | 2007-02-19 Richard Henderson <rth@redhat.com> |
16810 | ||
ef1ec073 | 16811 | PR debug/29558 |
16812 | * var-tracking.c (track_expr_p): Disallow AGGREGATE_TYPE_P | |
16813 | in memory. | |
39018906 | 16814 | |
347301d6 | 16815 | 2007-02-19 Andreas Krebbel <krebbel1@de.ibm.com> |
16816 | ||
16817 | * config/s390/s390.c (s390_call_saved_register_used, | |
16818 | s390_function_ok_for_sibcall): Adjust the way CALL_EXPR arguments are | |
16819 | accessed to the new scheme. | |
16820 | ||
683d2985 | 16821 | 2007-02-19 Jan-Benedict Glaw <jbglaw@lug-owl.de> |
16822 | ||
16823 | * config/cris/cris.c (cris_movem_load_rest_p, cris_store_multiple_op_p) | |
16824 | (cris_print_index, cris_print_operand, cris_print_operand_address) | |
16825 | (cris_reload_address_legitimized, cris_rtx_costs, cris_address_cost) | |
16826 | (cris_side_effect_mode_ok, cris_valid_pic_const, cris_split_movdx) | |
16827 | (cris_expand_pic_call_address): Use xxx_P predicate macros instead of | |
16828 | GET_CODE () == xxx. | |
16829 | * config/cris/cris.h (SECONDARY_RELOAD_CLASS, EXTRA_CONSTRAINT_Q, | |
16830 | EXTRA_CONSTRAINT_T, BDAP_INDEX_P, BIAP_INDEX_P, SIMPLE_ADDRESS_P, | |
16831 | GO_IF_LEGITIMATE_ADDRESS): Ditto. | |
16832 | * config/cris/cris.md (define_insns: *btst, movdi, *mov_side<mode>) | |
16833 | (*mov_sidesisf, *mov_side<mode>_mem, *mov_sidesisf_mem) | |
16834 | (*clear_side<mode>, movsi, *movsi_internal, *ext_sideqihi) | |
16835 | (*ext_side<mode>si, *op_side<mode>, *op_swap_side<mode>, addsi3) | |
16836 | (*extopqihi_side, *extop<mode>si_side, *extopqihi_swap_side) | |
16837 | (*extop<mode>si_swap_side, addi_mul, *addi,andsi3, andhi3, ashl<mode>3) | |
16838 | (uminsi3, call, call_value): Ditto. | |
16839 | (define_split: indir_to_reg_split, unnamed): Ditto. | |
16840 | ||
435c1032 | 16841 | 2007-02-19 Dorit Nuzman <dorit@il.ibm.com> |
16842 | ||
16843 | PR tree-optimization/30975 | |
16844 | * tree-vect-trasnform.c (vect_get_vec_def_for_stmt_copy): Remove | |
16845 | wrong assert. | |
16846 | ||
ec72623f | 16847 | 2007-02-18 Eric Christopher <echristo@gmail.com> |
16848 | ||
16849 | * mips.c (mips_prepare_builtin_arg): Add argnum parameter. | |
16850 | Remove use of arglist. | |
16851 | (mips_expand_builtin): Remove use of arglist, pass in expr. | |
16852 | (mips_expand_builtin_direct): Rewrite handling for arglist removal. | |
16853 | (mips_expand_builtin_movtf): Ditto. | |
16854 | (mips_expand_builtin_compare): Ditto. | |
16855 | ||
33536fd1 | 16856 | 2007-02-19 Alexandre Oliva <aoliva@redhat.com> |
16857 | ||
16858 | * tree-sra.c (sra_build_assignment): Replace assertion | |
16859 | checking with a comment explaining why it can't be done. | |
16860 | ||
f43a1a60 | 16861 | 2007-02-18 Sandra Loosemore <sandra@codesourcery.com> |
16862 | ||
16863 | PR middle-end/30833 | |
16864 | * tree-dump.c (dequeue_and_dump): Add tcc_vl_exp case missed | |
16865 | during CALL_EXPR representation conversion. | |
16866 | * tree-ssa-propagate.c (set_rhs): Likewise. | |
16867 | ||
a42c3d85 | 16868 | 2007-02-19 Alexandre Oliva <aoliva@redhat.com> |
16869 | ||
16870 | * tree-sra.c (sra_build_assignment): Disable assertion checking | |
16871 | for now. | |
16872 | ||
a0147880 | 16873 | 2007-02-18 Roger Sayle <roger@eyesopen.com> |
16874 | ||
16875 | * function.c (gimplify_parameters): Call build_gimple_modify_stmt | |
16876 | instead of calling build2 with a GIMPLE_MODIFY_STMT. | |
16877 | * gimple-low.c (lower_function_body, lower_builtin_setjmp): | |
16878 | Likewise. | |
16879 | * gimplify.c (build_stack_save_restore, gimplify_return_expr, | |
16880 | gimplify_decl_expr, gimplify_self_mod_expr, gimplify_cond_expr, | |
16881 | gimplify_init_ctor_eval_range, gimple_push_cleanup, | |
ec72623f | 16882 | gimplify_omp_for, gimplify_omp_atomic_pipeline, |
a0147880 | 16883 | gimplify_omp_atomic_mutex, gimplify_expr, gimplify_one_sizepos, |
16884 | force_gimple_operand): Likewise. | |
16885 | * ipa-cp.c (constant_val_insert): Likewise. | |
16886 | * lambda-code.c (lbv_to_gcc_expression, lle_to_gcc_expression, | |
16887 | lambda_loopnest_to_gcc_loopnest, replace_uses_equiv_to_x_with_y, | |
16888 | perfect_nestify): Likewise. | |
16889 | * langhooks.c (lhd_omp_assignment): Likewise. | |
16890 | * omp-low.c (lower_rec_input_clauses, lower_reduction_clauses, | |
16891 | lower_copyprivate_clauses, lower_send_clauses, | |
16892 | lower_send_shared_vars, expand_parallel_call, | |
16893 | expand_omp_for_generic, expand_omp_for_static_nochunk, | |
16894 | expand_omp_for_static_chunk, expand_omp_sections, | |
16895 | lower_omp_single_copy, lower_omp_for_lastprivate, | |
16896 | lower_omp_parallel, init_tmp_var, save_tmp_var): Likewise. | |
16897 | * value-prof.c (tree_divmod_fixed_value, tree_mod_pow2, | |
16898 | tree_mod_subtract, tree_ic, tree_stringop_fixed_value): | |
16899 | Likewise. | |
16900 | ||
a61b32a8 | 16901 | 2007-02-19 Kazu Hirata <kazu@codesourcery.com> |
16902 | ||
16903 | * config/sh/divtab.c, config/sh/sh.c, config/sh/sh.h, | |
16904 | config/sh/sh.md: Follow spelling conventions. | |
16905 | ||
5f858eac | 16906 | * config/frv/frv.c, config/frv/frv.h, config/frv/frv.md, |
16907 | config/frv/predicates.md: Follow spelling conventions. | |
16908 | ||
312b8e4a | 16909 | * config/m68k/linux-unwind.h: Fix a comment typo. |
16910 | * target.h: Follow spelling conventions. | |
16911 | ||
d7517e93 | 16912 | 2007-02-18 Roger Sayle <roger@eyesopen.com> |
16913 | ||
16914 | PR rtl-optimization/28173 | |
16915 | * simplify-rtx.c (simplify_binary_operation_1) <IOR>: Optimize | |
16916 | (X & C1) | C2 as C2 when (C1 & C2) == C1 and X has no side-effects. | |
16917 | Optimize (X & C1) | C2 as X | C2 when (C1 | C2) == ~0. | |
16918 | Canonicalize (X & C1) | C2 as (X & (C1 & ~C2)) | C2. | |
16919 | <AND>: Canonicalize (X | C1) & C2 as (X & C2) | (C1 & C2). | |
16920 | ||
7587301b | 16921 | 2007-02-18 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
16922 | ||
16923 | * builtins.c (fold_builtin_load_exponent): New. | |
16924 | (fold_builtin_2): Use it. | |
16925 | ||
896bc914 | 16926 | 2007-02-18 Steven Bosscher <steven@gcc.gnu.org> |
16927 | ||
16928 | PR rtl-optimization/30773 | |
16929 | * local-alloc.c (update_equiv_regs): Do not set reg_equiv_init | |
16930 | if we fail to attach a REG_EQUIV note. | |
16931 | ||
de70c973 | 16932 | 2007-02-18 David Edelsohn <edelsohn@gnu.org> |
16933 | Roger Sayle <roger@eyesopen.com> | |
16934 | ||
16935 | * config/rs6000/rs6000.md (bswapsi2): New define_insn and splitter. | |
16936 | ||
cd46caee | 16937 | 2007-02-18 Sandra Loosemore <sandra@codesourcery.com> |
16938 | ||
16939 | * calls.c (initialize_argument_information): Pass original EXP | |
16940 | and STRUCT_VALUE_ADDR_VALUE instead of a list of arguments. Move | |
16941 | code to split complex arguments here, as part of initializing the | |
16942 | ARGS array. | |
16943 | (expand_call): Remove code that builds a list of arguments and | |
16944 | inserts implicit arguments into it. Instead, just count how many | |
16945 | implicit arguments there will be so we can determine the size of | |
16946 | the ARGS array, and let initialize_argument_information do the work. | |
16947 | (split_complex_values): Delete unused function. | |
16948 | ||
26d2ad79 | 16949 | 2007-02-18 Eric Botcazou <ebotcazou@adacore.com> |
16950 | ||
16951 | * tree-eh.c (tree_could_trap_p): Handle VIEW_CONVERT_EXPR. | |
16952 | ||
e7ffa1e6 | 16953 | 2007-02-18 Eric Botcazou <ebotcazou@adacore.com> |
16954 | ||
16955 | * calls.c (mem_overlaps_already_clobbered_arg_p): Return true | |
16956 | for arg pointer based indexed addressing. | |
16957 | ||
3cc94518 | 16958 | 2007-02-18 Kazu Hirata <kazu@codesourcery.com> |
16959 | ||
16960 | * config/ia64/ia64.h, config/ia64/ia64.md, | |
16961 | config/ia64/predicates.md, config/ia64/sysv4.h: Follow | |
16962 | spelling conventions. | |
16963 | ||
8ec9650e | 16964 | 2007-02-18 Roman Zippel <zippel@linux-m68k.org> |
16965 | ||
16966 | * config/m68k/m68k.c (split_di): New. | |
16967 | * config/m68k/m68k-protos.h: Declare split_di. | |
16968 | * config/m68k/m68k.md (extendsidi2*,ashldi3*,ashrdi3*,lshrdi3*): | |
16969 | Improve predicate handling and split constant shifts. | |
16970 | ||
894a8d28 | 16971 | 2007-02-18 Roman Zippel <zippel@linux-m68k.org> |
16972 | ||
16973 | * config/m68k/m68k.md (extv,extzv,insv): disable dynamic | |
16974 | parameter for register bitfield operations, general predicates | |
16975 | cleanup | |
16976 | ||
f3263347 | 16977 | 2007-02-18 Roman Zippel <zippel@linux-m68k.org> |
16978 | ||
16979 | * config/m68k/linux.h (MD_UNWIND_SUPPORT): Define. | |
16980 | * config/m68k/linux-unwind.h: New file. | |
16981 | ||
85694bac | 16982 | 2007-02-18 Kazu Hirata <kazu@codesourcery.com> |
16983 | ||
16984 | * cfgloop.c, config/alpha/alpha.c, config/bfin/bfin.c, | |
16985 | config/i386/athlon.md, config/ia64/ia64.md, | |
16986 | config/rs6000/rs6000.c, config/s390/s390.c, config/spu/spu.md, | |
16987 | df-problems.c, df.h, fold-const.c, ipa-cp.c, ipa-inline.c, | |
16988 | ipa-prop.h, see.c, struct-equiv.c, tree-inline.c, | |
16989 | tree-ssa-loop-niter.c, tree-vect-analyze.c, | |
16990 | tree-vect-transform.c: Fix comment typos. | |
16991 | ||
7865f8be | 16992 | 2007-02-17 Kazu Hirata <kazu@codesourcery.com> |
16993 | ||
16994 | * sched-deps.c (find_insn_list): Remove. | |
16995 | * sched-int.h: Remove the prototype for find_insn_list. | |
16996 | ||
fb320d7f | 16997 | 2007-02-16 Geoffrey Keating <geoffk@apple.com> |
16998 | ||
7f1f8831 | 16999 | * config/darwin.h (LINK_SPEC): Always pass -macosx_version_min |
17000 | to linker. | |
17001 | (DARWIN_EXTRA_SPECS): Add %(darwin_minversion). | |
17002 | * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Just call | |
17003 | darwin_rs6000_override_options. | |
17004 | (C_COMMON_OVERRIDE_OPTIONS): Expect | |
17005 | darwin_macosx_version_min to be non-NULL always. | |
17006 | (TARGET_C99_FUNCTIONS): Likewise. | |
17007 | (CC1_SPEC): Always pass -mmacosx-version-min to cc1*. | |
17008 | (DARWIN_MINVERSION_SPEC): New. | |
17009 | * config/rs6000/rs6000.c (darwin_rs6000_override_options): New. | |
17010 | * config/i386/darwin.h (CC1_SPEC): Always pass -mmacosx-version-min | |
ec72623f | 17011 | to cc1*. |
7f1f8831 | 17012 | (DARWIN_MINVERSION_SPEC): New. |
17013 | * config/darwin.opt (mmacosx-version-min): Initialize to non-NULL | |
17014 | value. | |
17015 | * config/darwin-c.c (darwin_cpp_builtins): Expect | |
17016 | darwin_macosx_version_min to be non-NULL always. | |
17017 | ||
fb320d7f | 17018 | * config/rs6000/rs6000.c: Clean up trailing whitespace. |
17019 | ||
3289a94d | 17020 | 2007-02-16 Uros Bizjak <ubizjak@gmail.com> |
17021 | ||
17022 | * config/i386/i386.h (x86_use_xchgb): New. | |
17023 | (TARGET_USE_XCHGB): New macro. | |
17024 | * config/i386/i386.c (x86_use_xchgb): Set for PENT4. | |
17025 | * config/i386/i386.md (*rotlhi3_1 splitter, *rotrhi3_1 splitter): | |
17026 | Split after reload into bswaphi for shifts of 8. | |
17027 | (bswaphi_lowpart): Generate rolw insn for HImode byte swaps. | |
17028 | (*bswaphi_lowpart_1): Generate xchgb for Q registers for TARGET_XCHGB | |
17029 | or when optimizing for size. | |
ec72623f | 17030 | |
d1d2495d | 17031 | 2007-02-16 Richard Guenther <rguenther@suse.de> |
3289a94d | 17032 | Christian Bruel <christian.bruel@st.com> |
d1d2495d | 17033 | |
17034 | * fold-const.c (tree_swap_operands_p): Treat SSA_NAMEs like | |
17035 | DECLs but prefer SSA_NAMEs over DECLs. | |
17036 | ||
d860e1f9 | 17037 | 2007-02-16 Richard Guenther <rguenther@suse.de> |
17038 | ||
17039 | * tree-flow-inline.h (single_imm_use_p): Remove. | |
17040 | (zero_imm_uses_p): Likewise. | |
17041 | * tree-ssa-coalesce.c (create_outofssa_var_map): Use has_single_use | |
17042 | instead of single_imm_use_p. | |
17043 | * tree-cfg.c (replace_uses_by): Use has_zero_use instead of | |
17044 | zero_imm_uses_p. | |
17045 | ||
01916651 | 17046 | 2007-02-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
17047 | ||
17048 | PR other/27843 | |
17049 | * Makefile.in (SYSTEM_HEADER_DIR): Use single quotes to avoid | |
17050 | nested double- and backquotes. | |
17051 | ||
41076ef6 | 17052 | 2007-02-15 Roger Sayle <roger@eyesopen.com> |
17053 | ||
17054 | PR middle-end/30391 | |
17055 | * tree.c (expr_align): Handle MODIFY_EXPR. GIMPLE_MODIFY_STMT | |
17056 | should be unreachable. | |
17057 | (build2_stat): Allow construction of MODIFY_EXPR at any time. | |
17058 | For the time being redirect GIMPLE_MODIFY_STMT to the new | |
17059 | (renamed) build_gimple_modify_stmt_stat. | |
17060 | (build2_gimple_stat): Rename to... | |
17061 | (build_gimple_modify_stmt_stat): Now longer take a CODE argument. | |
17062 | Always build a GIMPLE_MODIFY_STMT node. | |
17063 | * tree.h (build2_gimple, build2_gimple_stat): Delete. | |
17064 | (build_gimple_modify_stmt, build_gimple_modify_stmt_stat): New | |
17065 | declarations. | |
17066 | ||
17067 | * tree-cfg.c (factor_computed_gotos, tree_merge_blocks, | |
17068 | gimplify_val): Use build_gimple_modify_stmt instead of build2_gimple. | |
17069 | * tree-complex.c (set_component_ssa_name, expand_complex_move, | |
17070 | expand_complex_div_wide): Likewise. | |
17071 | * tree-ssa-dom.c (record_equivalences_from_stmt): Likewise. | |
17072 | * tree-ssa-loop-im.c (schedule_sm): Likewise. | |
17073 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Likewise. | |
17074 | * tree-ssa-loop-manip.c (create_iv): Likewise. | |
17075 | * tree-ssa-phiopt.c (conditional_replacement, minmax_replacement, | |
17076 | abs_replacement): Likewise. | |
17077 | * tree-ssa-pre.c (create_expression_by_pieces, poolify_modify_stmt, | |
17078 | realify_fake_stores): Likewise. | |
17079 | ||
17080 | * builtins.c (std_expand_builtin_va_start): Build a MODIFY_EXPR | |
17081 | node rather than a GIMPLE_MODIFY_STMT node. | |
17082 | (std_gimpify_va_arg_expr, expand_builtin_va_copy, | |
17083 | fold_builtin_memset, fold_builtin_memory_op, do_mpfr_sincos): | |
17084 | Likewise. | |
17085 | (integer_valued_real_p): Handle MODIFY_EXPR, not GIMPLE_MODIFY_STMT. | |
17086 | * expr.c (expand_expr_real_1): Handle both MODIFY_EXPR and | |
17087 | GIMPLE_MODIFY_STMT. | |
17088 | ||
f74811fe | 17089 | 2007-02-15 Andrew Pinski <andrew_pinski@playstation.sony.com> |
17090 | ||
17091 | PR middle-end/30433 | |
17092 | * fold-const.c (fold_comparison): Add back the | |
17093 | folding of constant complex comparisions. | |
17094 | ||
7229f9d7 | 17095 | 2007-02-15 Andrew Pinski <andrew_pinski@playstation.sony.com> |
17096 | ||
17097 | PR middle-end/30729 | |
17098 | * stmt.c (warn_if_unused_value): VA_ARG_EXPR has side | |
17099 | effects unknown to this function, return early. | |
17100 | ||
97bb2849 | 17101 | 2007-02-15 Ian Lance Taylor <iant@google.com> |
17102 | ||
17103 | * lower-subreg.c (move_eh_region_note): New static function. | |
17104 | (resolve_simple_move): Call it. | |
17105 | (decompose_multiword_subregs): Track blocks for which we resolve a | |
17106 | simple move which is also a control flow insn. Pass them to | |
17107 | find_many_sub_basic_blocks. | |
17108 | (pass_lower_subreg): Add TODO_verify_flow. | |
17109 | (pass_lower_subreg2): Likewise. | |
17110 | ||
c2f47e15 | 17111 | 2007-02-15 Sandra Loosemore <sandra@codesourcery.com> |
17112 | Brooks Moses <brooks.moses@codesourcery.com> | |
17113 | Lee Millward <lee.millward@codesourcery.com> | |
17114 | ||
17115 | * tree.h (enum tree_code_class): Add tcc_vl_exp. | |
17116 | (VL_EXP_CLASS_P): New. | |
17117 | (TREE_OPERAND_CHECK): Use TREE_OPERAND_LENGTH instead of | |
17118 | TREE_CODE_LENGTH. | |
17119 | (TREE_OPERAND_CHECK_CODE): Likewise. | |
17120 | (GIMPLE_STMT_OPERAND_CHECK): Likewise. | |
17121 | (TREE_RTL_OPERAND_CHECK): Likewise. | |
17122 | (tree_operand_check_failed): Make second parameter the whole tree | |
17123 | instead of its code. Fixed callers. | |
17124 | (VL_EXP_CHECK): New. | |
17125 | (TREE_OPERAND_LENGTH): New. | |
17126 | (VL_EXP_OPERAND_LENGTH): New. | |
17127 | (CALL_EXPR_FN): New. | |
17128 | (CALL_EXPR_STATIC_CHAIN): New. | |
17129 | (CALL_EXPR_ARGS): New. | |
17130 | (CALL_EXPR_ARG): New. | |
17131 | (call_expr_nargs): New. | |
17132 | (CALL_EXPR_ARGP): New. | |
17133 | (build_nt_call_list): Declare. | |
17134 | (build_vl_exp_stat): Declare. | |
17135 | (build_vl_exp): New. | |
17136 | (build_call_list): Declare. | |
17137 | (build_call_nary): Declare. | |
17138 | (build_call_valist): Declare. | |
17139 | (build_call_array): Declare. | |
17140 | (call_expr_arg): Declare. | |
17141 | (call_expr_argp): Declare. | |
17142 | (call_expr_arglist): Declare. | |
17143 | (fold_build_call_list): Declare. | |
17144 | (fold_build_call_list_initializer): Declare. | |
17145 | (fold_call_expr): Declare to replace fold_builtin. | |
17146 | (fold_builtin_fputs): Update to agree with modified definition. | |
17147 | (fold_builtin_strcpy): Likewise. | |
17148 | (fold_builtin_strncpy): Likewise. | |
17149 | (fold_builtin_memory_chk): Likewise. | |
17150 | (fold_builtin_stxcpy_chk): Likewise. | |
17151 | (fold_builtin_strncpy_chk): Likewise. | |
17152 | (fold_builtin_next_arg): Likewise. | |
17153 | (fold_build_call_expr): Declare. | |
17154 | (fold_builtin_call_list): Declare. | |
17155 | (fold_builtin_call_valist): Declare. | |
17156 | (build_call_expr): Declare. | |
17157 | (validate_arglist): Update to agree with modified definition. | |
17158 | (tree_operand_length): New. | |
17159 | (call_expr_arg_iterator): New. | |
17160 | (init_call_expr_arg_iterator): New. | |
17161 | (next_call_expr_arg): New. | |
17162 | (first_call_expr_arg): New. | |
17163 | (more_call_expr_args_p): New. | |
17164 | (FOR_EACH_CALL_EXPR_ARG): New. | |
17165 | ||
17166 | * tree.c (tree_code_class_string): Add entries for tcc_vl_exp | |
17167 | and tcc_gimple_stmt. | |
17168 | (tree_code_size): Update documentation. Use sizeof (tree) rather | |
17169 | than sizeof (char *). | |
17170 | (tree_size): Likewise. Add case for tcc_vl_exp. | |
17171 | (tree_node_structure): Add case for tcc_vl_exp. | |
17172 | (contains_placeholder_p): Likewise. | |
17173 | (substitute_in_expr): Likewise. | |
17174 | (substitute_placeholder_in_expr): Likewise. | |
17175 | (stabilize_reference_1): Likewise. | |
17176 | (build3_stat): Remove logic for CALL_EXPRs. Replace with assertion | |
17177 | to diagnose breakage of this interface for constructing CALL_EXPRs. | |
17178 | (build_nt): Add similar assertion here. | |
17179 | (build_nt_call_list): New. | |
17180 | (simple_cst_equal) <CALL_EXPR>: Rewrite to use new accessors. | |
17181 | (iterative_hash_expr): Use TREE_OPERAND_LENGTH instead of | |
17182 | TREE_CODE_LENGTH. | |
17183 | (get_callee_fndecl): Use new CALL_EXPR accessors. | |
17184 | (tree_operand_check_failed): Change parameters to pass entire node | |
17185 | instead of its code, so that we can call TREE_OPERAND_LENGTH on it. | |
17186 | (process_call_operands): New. | |
17187 | (build_vl_exp_stat): New. | |
17188 | (build_call_list): New. | |
17189 | (build_call_nary): New. | |
17190 | (build_call_valist): New. | |
17191 | (build_call_array): New. | |
17192 | (walk_tree): Use TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH. | |
17193 | (call_expr_arglist): New. | |
17194 | ||
17195 | * tree.def (CALL_EXPR): Change representation of CALL_EXPRs to use | |
17196 | tcc_vl_exp instead of a fixed-size tcc_expression. | |
17197 | ||
17198 | * doc/c-tree.texi (CALL_EXPR): Document new representation and | |
17199 | accessors for CALL_EXPRs. | |
17200 | (AGGR_INIT_EXPR): Likewise. | |
17201 | ||
17202 | 2007-02-15 Sandra Loosemore <sandra@codesourcery.com> | |
17203 | Brooks Moses <brooks.moses@codesourcery.com> | |
17204 | Lee Millward <lee.millward@codesourcery.com> | |
17205 | ||
17206 | * builtins.c (c_strlen): Return NULL_TREE instead of 0. | |
17207 | (expand_builtin_nonlocal_goto): Change parameter to be entire | |
17208 | CALL_EXPR instead of an arglist. Use new CALL_EXPR accessors. | |
17209 | (expand_builtin_prefetch): Likewise. | |
17210 | (expand_builtin_classify_type): Likewise. | |
17211 | (mathfn_built_in): Return NULL_TREE instead of 0. | |
17212 | (expand_errno_check): Use new CALL_EXPR accessors. | |
17213 | (expand_builtin_mathfn): Use new CALL_EXPR accessors and constructors. | |
17214 | Return NULL_RTX instead of 0. | |
17215 | (expand_builtin_mathfn_2): Likewise. | |
17216 | (expand_builtin_mathfn_3): Likewise. | |
17217 | (expand_builtin_interclass_mathfn): Likewise. | |
17218 | (expand_builtin_sincos): Likewise. | |
17219 | (expand_builtin_cexpi): Likewise. | |
17220 | (expand_builtin_int_roundingfn): Likewise. | |
17221 | (expand_builtin_int_roundingfn_2): Likewise. | |
17222 | (expand_builtin_pow): Likewise. | |
17223 | (expand_builtin_powi): Likewise. | |
17224 | (expand_builtin_strlen): Pass entire CALL_EXPR as parameter instead | |
17225 | of arglist, fixing callers appropriately. Use new CALL_EXPR | |
17226 | accessors and constructors. Return NULL_RTX instead of 0. | |
17227 | (expand_builtin_strstr): Likewise. | |
17228 | (expand_builtin_strchr): Likewise. | |
17229 | (expand_builtin_strrchr): Likewise. | |
17230 | (expand_builtin_strpbrk): Likewise. | |
17231 | (expand_builtin_memcpy): Likewise. | |
17232 | (expand_builtin_mempcpy): Likewise. | |
17233 | (expand_builtin_mempcpy_args): New. | |
17234 | (expand_builtin_memmove): Similarly to expand_builtin_mempcpy. | |
17235 | (expand_builtin_memmove_args): New. | |
17236 | (expand_builtin_bcopy): Similarly to expand_builtin_mempcpy. | |
17237 | (expand_movstr): Likewise. | |
17238 | (expand_builtin_strcpy): Likewise. | |
17239 | (expand_builtin_strcpy_args): New. | |
17240 | (expand_builtin_stpcpy): Similarly to expand_builtin_strcpy. | |
17241 | (expand_builtin_strncpy): Likewise. | |
17242 | (expand_builtin_memset): Likewise. | |
17243 | (expand_builtin_memset_args): New. | |
17244 | (expand_builtin_bzero): Similarly to expand_builtin_memset. | |
17245 | (expand_builtin_memcmp): Likewise. | |
17246 | (expand_builtin_strcmp): Likewise. | |
17247 | (expand_builtin_strncmp): Likewise. | |
17248 | (expand_builtin_strcat): Likewise. | |
17249 | (expand_builtin_strncat): Likewise. | |
17250 | (expand_builtin_strspn): Likewise. | |
17251 | (expand_builtin_strcspn): Likewise. | |
17252 | (expand_builtin_args_info): Likewise. | |
17253 | (expand_builtin_va_start): Likewise. | |
17254 | (gimplify_va_arg_expr): Likewise. | |
17255 | (expand_builtin_va_end): Likewise. | |
17256 | (expand_builtin_va_copy): Likewise. | |
17257 | (expand_builtin_frame_address): Likewise. | |
17258 | (expand_builtin_alloca): Likewise. | |
17259 | (expand_builtin_bswap): Likewise. | |
17260 | (expand_builtin_unop): Likewise. | |
17261 | (expand_builtin_fputs): Likewise. | |
17262 | (expand_builtin_expect): Likewise. | |
17263 | (expand_builtin_fabs): Likewise. | |
17264 | (expand_builtin_copysign): Likewise. | |
17265 | (expand_builtin_printf): Likewise. | |
17266 | (expand_builtin_fprintf): Likewise. | |
17267 | (expand_builtin_sprintf): Likewise. | |
17268 | (expand_builtin_init_trampoline): Likewise. | |
17269 | (expand_builtin_signbit): Likewise. | |
17270 | (expand_builtin_fork_or_exec): Likewise. | |
17271 | (expand_builtin_sync_operation): Likewise. | |
17272 | (expand_builtin_compare_and_swap): Likewise. | |
17273 | (expand_builtin_lock_test_and_set): Likewise. | |
17274 | (expand_builtin_lock_release): Likewise. | |
17275 | (expand_builtin): Likewise. | |
17276 | (builtin_mathfn_code): Likewise. | |
17277 | ||
17278 | (fold_builtin_constant_p): Pass call arguments individually instead | |
17279 | of as an arglist, fixing callers appropriately. Use new CALL_EXPR | |
17280 | accessors and constructors. Return NULL_TREE instead of 0. | |
17281 | (fold_builtin_expect): Likewise. | |
17282 | (fold_builtin_classify_type): Likewise. | |
17283 | (fold_builtin_strlen): Likewise. | |
17284 | (fold_builtin_nan): Likewise. | |
17285 | (integer_valued_real_p): Likewise. | |
17286 | (fold_trunc_transparent_mathfn): Likewise. | |
17287 | (fold_fixed_mathfn): Likewise. | |
17288 | (fold_builtin_cabs): Likewise. | |
17289 | (fold_builtin_sqrt): Likewise. | |
17290 | (fold_builtin_cbrt): Likewise. | |
17291 | (fold_builtin_cos): Likewise. | |
17292 | (fold_builtin_cosh): Likewise. | |
17293 | (fold_builtin_tan): Likewise. | |
17294 | (fold_builtin_sincos): Likewise. | |
17295 | (fold_builtin_cexp): Likewise. | |
17296 | (fold_builtin_trunc): Likewise. | |
17297 | (fold_builtin_floor): Likewise. | |
17298 | (fold_builtin_ceil): Likewise. | |
17299 | (fold_builtin_round): Likewise. | |
17300 | (fold_builtin_int_roundingfn): Likewise. | |
17301 | (fold_builtin_bitop): Likewise. | |
17302 | (fold_builtin_bswap): Likewise. | |
17303 | (fold_builtin_logarithm): Likewise. | |
17304 | (fold_builtin_hypot): Likewise. | |
17305 | (fold_builtin_pow): Likewise. | |
17306 | (fold_builtin_powi): Likewise. | |
17307 | (fold_builtin_exponent): Likewise. | |
17308 | (fold_builtin_memset): Likewise. | |
17309 | (fold_builtin_bzero): Likewise. | |
17310 | (fold_builtin_memory_op): Likewise. | |
17311 | (fold_builtin_bcopy): Deleted; call site changed to invoke | |
17312 | fold_builtin_memory_op directly. | |
17313 | (fold_builtin_strcpy): Similarly as for fold_builtin_memory_op. | |
17314 | (fold_builtin_strncpy): Likewise. | |
17315 | (fold_builtin_memcmp): Likewise. | |
17316 | (fold_builtin_strcmp): Likewise. | |
17317 | (fold_builtin_strncmp): Likewise. | |
17318 | (fold_builtin_signbit): Likewise. | |
17319 | (fold_builtin_copysign): Likewise. | |
17320 | (fold_builtin_isascii): Likewise. | |
17321 | (fold_builtin_toascii): Likewise. | |
17322 | (fold_builtin_isdigit): Likewise. | |
17323 | (fold_builtin_fabs): Likewise. | |
17324 | (fold_builtin_abs): Likewise. | |
17325 | (fold_builtin_fmin_fmax): Likewise. | |
17326 | (fold_builtin_carg): Likewise. | |
17327 | (fold_builtin_classify): Likewise. | |
17328 | (fold_builtin_unordered_cmp): Likewise. | |
17329 | ||
17330 | (fold_builtin_0, fold_builtin_2, fold_builtin_3, fold_builtin_4): | |
17331 | New functions split out from fold_builtin_1. | |
17332 | (fold_builtin_n): New. | |
17333 | (fold_builtin_varargs): New. | |
17334 | (fold_builtin): Deleted. Most callers changed to use fold_call_expr | |
17335 | instead. | |
17336 | (fold_call_expr): New. | |
17337 | (build_function_call_expr): Rewrite to use new helper function. | |
17338 | (fold_builtin_call_list): New. | |
17339 | (build_call_expr): New. | |
17340 | (fold_builtin_call_valist): New. | |
17341 | (rewrite_call_expr): New. | |
17342 | (validate_arg): New. | |
17343 | (validate_arglist): Change parameter to be entire CALL_EXPR instead | |
17344 | of an arglist. Change return type to bool. Use new CALL_EXPR | |
17345 | accessors. | |
17346 | ||
17347 | (fold_builtin_strstr): Pass call arguments individually instead | |
17348 | of as an arglist, fixing callers appropriately. Use new CALL_EXPR | |
17349 | accessors and constructors. Return NULL_TREE instead of 0. | |
17350 | (fold_builtin_strchr): Likewise. | |
17351 | (fold_builtin_strrchr): Likewise. | |
17352 | (fold_builtin_strpbrk): Likewise. | |
17353 | (fold_builtin_strcat): Likewise. | |
17354 | (fold_builtin_strncat): Likewise. | |
17355 | (fold_builtin_strspn): Likewise. | |
17356 | (fold_builtin_strcspn): Likewise. | |
17357 | (fold_builtin_fputs): Likewise. | |
17358 | (fold_builtin_next_arg): Likewise. | |
17359 | (fold_builtin_sprintf): Likewise. | |
17360 | ||
17361 | (expand_builtin_object_size): Use new CALL_EXPR accessors. Use | |
17362 | NULL_RTX instead of 0. | |
17363 | (expand_builtin_memory_chk): Likewise. | |
17364 | (maybe_emit_chk_warning): Likewise. | |
17365 | (maybe_emit_sprintf_chk_warning): Likewise. | |
17366 | ||
17367 | (fold_builtin_object_size): Pass call arguments individually instead | |
17368 | of as an arglist, fixing callers appropriately. Use new CALL_EXPR | |
17369 | accessors and constructors. Return NULL_TREE instead of 0. | |
17370 | (fold_builtin_memory_chk): Likewise. | |
17371 | (fold_builtin_stxcpy_chk): Likewise. | |
17372 | (fold_builtin_strncpy_chk): Likewise. | |
17373 | (fold_builtin_strcat_chk): Likewise. | |
17374 | (fold_builtin_strcat_chk): Likewise. | |
17375 | (fold_builtin_strncat_chk): Likewise. | |
17376 | (fold_builtin_sprintf_chk): Likewise. | |
17377 | (fold_builtin_snprintf_chk): Likewise. | |
17378 | (fold_builtin_printf): Likewise. | |
17379 | (fold_builtin_vprintf): Likewise. | |
17380 | ||
17381 | * fold-const.c (negate_expr_p): Use new CALL_EXPR accessors and | |
17382 | constructors. | |
17383 | (operand_equal_p): Add separate tcc_vl_exp/CALL_EXPR case. | |
17384 | (make_range): Use TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH. | |
17385 | (extract_muldiv_1): Add VL_EXP_CLASS_P case. | |
17386 | (fold_mathfn_compare): Use new CALL_EXPR accessors and constructors. | |
17387 | (fold_unary): Likewise. | |
17388 | (fold_binary): Likewise. | |
17389 | (fold_ternary): Remove CALL_EXPR case, since they are no longer | |
17390 | ternary expressions. | |
17391 | (fold): Add logic for tcc_vl_exp. | |
17392 | (fold_checksum_tree): Make it know about tcc_vl_exp. Use | |
17393 | TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH. | |
17394 | (fold_build3_stat): Add assertion to flag broken interface for | |
17395 | constructing CALL_EXPRs. | |
17396 | (fold_build_call_list): New. | |
17397 | (fold_build_call_list_initializer): New. | |
17398 | (tree_expr_nonnegative_p): Use new CALL_EXPR accessors and | |
17399 | constructors. | |
17400 | (fold_strip_sign_ops): Likewise. | |
17401 | ||
17402 | 2007-02-15 Sandra Loosemore <sandra@codesourcery.com> | |
17403 | Brooks Moses <brooks.moses@codesourcery.com> | |
17404 | Lee Millward <lee.millward@codesourcery.com> | |
17405 | ||
17406 | * tree-dump.c (dequeue_and_dump) <CALL_EXPR>: Use new CALL_EXPR | |
17407 | accessors and dump arguments explicitly. | |
17408 | ||
17409 | * tree-pretty-print.c (do_niy): Use TREE_OPERAND_LENGTH instead of | |
17410 | TREE_CODE_LENGTH. | |
17411 | (dump_generic_node): Use new CALL_EXPR accessors and walk arguments | |
17412 | explicitly. | |
17413 | (print_call_name): Use new CALL_EXPR accessors. | |
17414 | ||
17415 | * print-tree.c (print_node): Add case tcc_vl_exp. Print | |
17416 | CALL_EXPR arguments explicitly instead of as a list. Use | |
17417 | TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH. | |
17418 | ||
17419 | * tree-vrp.c (stmt_interesting_for_vrp): Use new CALL_EXPR accessors. | |
17420 | (vrp_visit_stmt): Likewise. | |
17421 | ||
17422 | * tree-ssa-loop-im.c (outermost_invariant_loop_expr): Make it | |
17423 | know about tcc_vl_exp. Use TREE_OPERAND_LENGTH instead of | |
17424 | TREE_CODE_LENGTH. | |
17425 | (force_move_till_expr): Likewise. | |
17426 | ||
17427 | * targhooks.c (default_external_stack_protect_fail): Use | |
17428 | build_call_expr instead of build_function_call_expr. | |
17429 | (default_hidden_stack_protect_fail): Likewise. | |
17430 | ||
17431 | * tree-complex.c (expand_complex_libcall): Use build_call_expr to | |
17432 | build the call. | |
17433 | ||
17434 | * cgraphbuild.c (build_cgraph_edges): Use new CALL_EXPR accessors | |
17435 | and walk arguments explicitly. | |
17436 | ||
17437 | * tree-ssa-loop-niter.c (simplify_replace_tree): Use | |
17438 | TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH. | |
17439 | (expand_simple_operations): Likewise. | |
17440 | (infer_loop_bounds_from_array): Use new CALL_EXPR accessors. | |
17441 | ||
17442 | * gengtype.c (adjust_field_tree_exp): Use TREE_OPERAND_LENGTH instead | |
17443 | of TREE_CODE_LENGTH. | |
17444 | (walk_type): Tweak walking of arrays not to blow up on CALL_EXPRs. | |
17445 | ||
17446 | * optabs.c (expand_widen_pattern-expr): Use TREE_OPERAND_LENGTH | |
17447 | instead of TREE_CODE_LENGTH. | |
17448 | ||
17449 | * value_prof.c (tree_ic): Use new CALL_EXPR accessors. | |
17450 | (tree_ic_transform): Likewise. | |
17451 | (interesting_stringop_to_profile_p): Pass entire CALL_EXPR as | |
17452 | parameter instead of arglist. Fix callers. | |
17453 | (tree_stringop_fixed_value): Use new CALL_EXPR accessors. | |
17454 | (tree_stringops_transform): Likewise. | |
17455 | (tree_indirect_call_to_profile): Likewise. | |
17456 | (tree_stringops_values_to_profile): Likewise. | |
17457 | ||
17458 | * tree-tailcall.c (find_tail_calls): Use new CALL_EXPR iterator. | |
17459 | (eliminate_tail_call): Likewise. | |
17460 | ||
17461 | * ipa-cp.c (ipcp_update_callgraph): Use new CALL_EXPR accessors. | |
17462 | ||
17463 | * tree-scalar-evolution.c (chrec_contains_symbols_defined_in_loop): | |
17464 | Use TREE_OPERAND_LENGTH and generalize to handle any number of | |
17465 | operands. | |
17466 | (instantiate_parameters_1): Can't handle tcc_vl_exp here. | |
17467 | ||
17468 | * omp-low.c (build_omp_barrier): Use build_call_expr. | |
17469 | (lower_rec_input_clauses): Likewise. | |
17470 | (lower_reduction_clauses): Likewise. | |
17471 | (expand_parallel_call): Likewise. | |
17472 | (maybe_catch_exception): Likewise. | |
17473 | (expand_omp_for_generic): Likewise. | |
17474 | (expand_omp_for_static_nochunk): Likewise. | |
17475 | (expand_omp_sections): Likewise. | |
17476 | (lower_omp_single_simple): Likewise. | |
17477 | (lower_omp_single_copy): Likewise. | |
17478 | (lower_omp_master): Likewise. | |
17479 | (lower_omp_ordered): Likewise. | |
17480 | (lower_omp_critical): Likewise. | |
17481 | ||
17482 | * ipa-reference.c (check-call): Use new CALL_EXPR iterator. | |
17483 | (scan_for_static_refs): Create tcc_vl_exp case for CALL_EXPR. | |
17484 | ||
17485 | * tree-gimple.c (is_gimple_call_addr): Fix doc. | |
17486 | (recalculate_side_effects): Use TREE_OPERAND_LENGTH instead of | |
17487 | TREE_CODE_LENGTH. Add tcc_vl_exp case. | |
17488 | ||
17489 | * tree-chrec.c (chrec_contains_symbols): Use TREE_OPERAND_LENGTH | |
17490 | and generalize to handle any number of operands. | |
17491 | (chrec_contains_undetermined): Likewise. | |
17492 | (tree_contains_chrecs): Likewise. | |
17493 | (evolution_function_is_invariant_rec_p): Use TREE_OPERAND_LENGTH. | |
17494 | ||
17495 | * cgraphunit.c (update_call_expr): Use new CALL_EXPR accessors. | |
17496 | ||
17497 | * tree-ssa-ccp.c (ccp_fold): Use new CALL_EXPR accessors. Use | |
17498 | fold_call_expr instead of fold_builtin. | |
17499 | (ccp_fold_builtin): Likewise. Update calls into builtins.c to | |
17500 | match declarations there. | |
17501 | (fold_stmt): Use new CALL_EXPR constructor and accessors. Doc | |
17502 | updates. | |
17503 | ||
17504 | * tree-ssa-loop-ivopts.c (expr_invariant_in_loop_p): Use | |
17505 | TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH. | |
17506 | ||
17507 | * ipa-pure-const.c (check_call): Use new CALL_EXPR accessors. | |
17508 | (scan_function): Add case tcc_vl_exp for CALL_EXPR. | |
17509 | ||
17510 | * tree-stdarg.c (execute_optimize_stdarg): Use new CALL_EXPR | |
17511 | accessors. | |
17512 | ||
17513 | * tree-ssa-math-opts.c (execute_cse_sincos_1): Use build_call_expr. | |
17514 | (execute_cse_sincos): Use new CALL_EXPR accessors. | |
17515 | ||
17516 | * tree-ssa-alias.c (find_used_portions): Use new CALL_EXPR iterator. | |
17517 | ||
17518 | * gimple-low.c (lower_function_body): Use build_call_expr. | |
17519 | (lower_builtin_setjmp): Likewise. | |
17520 | ||
17521 | * expr.c (emit_block_move_via_libcall): Use build_call_expr. | |
17522 | (set_storage_via_libcall): Likewise. | |
17523 | (safe_from_p): Add tcc_vl_exp case. Use TREE_OPERAND_LENGTH | |
17524 | instead of TREE_CODE_LENGTH. | |
17525 | (expand_expr_real_1): Use new CALL_EXPR accessors. | |
17526 | ||
17527 | * tree-browser.c (store_child_info): Use TREE_OPERAND_LENGTH and | |
17528 | generalize to handle any number of operands. | |
17529 | (TB_parent_eq): Likewise. | |
17530 | ||
17531 | * predict.c (expr_expected_value): Use new CALL_EXPR accessors. | |
17532 | (strip_builtin_expect): Likewise. | |
17533 | ||
17534 | * function.c (gimplify_parameters): Use build_call_expr. | |
17535 | ||
ed69c853 | 17536 | * tree-vectorizer.c (vect_is_simple_reduction): Use |
17537 | TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH. | |
c2f47e15 | 17538 | |
17539 | * ipa-type-escape.c (check_call): Use new CALL_EXPR iterators. | |
17540 | (scan_for_refs): Add case tcc_vl_exp for CALL_EXPR. | |
17541 | ||
17542 | * tree-data-ref.c (get_references_in_stmt): Use new CALL_EXPR | |
17543 | iterators. | |
17544 | ||
17545 | * gimplify.c (build_stack_save_restore): Use build_call_expr. | |
17546 | (gimplify_decl_expr): Likewise. | |
17547 | (gimplify_call_expr): Use fold_call_expr instead of fold_builtin. | |
17548 | Use new CALL_EXPR iterators. | |
17549 | (gimplify_modify_expr_to_memcpy): Use build_call_expr. | |
17550 | (gimplify_modify_expr_to_memset): Likewise. | |
17551 | (gimplify_variable_sized_compare): Likewise. | |
17552 | (gimplify_omp_atomic_fetch_op): Likewise. | |
17553 | (gimplify_omp_atomic_pipeline): Likewise. | |
17554 | (gimplify_omp_atomic_mutex): Likewise. | |
17555 | (gimplify_function_tree): Likewise. | |
17556 | ||
17557 | * calls.c (alloca_call_p): Use new CALL_EXPR accessors. | |
17558 | (call_expr_flags): Likewise. | |
17559 | (expand_call): Likewise. | |
17560 | ||
17561 | * except.c (expand_builtin_eh_return_data_regno): Pass entire | |
ec72623f | 17562 | CALL_EXPR as parameter instead of arglist. Use new CALL_EXPR |
ef1ec073 | 17563 | accessors. |
c2f47e15 | 17564 | |
17565 | * coverage.c (create_coverage): Use build_call_expr. | |
17566 | ||
17567 | * tree-ssa-pre.c (expression_node_pool, list_node_pool): Delete. | |
17568 | (temp_call_expr_obstack): New. | |
17569 | (pool_copy_list): Delete. | |
17570 | (temp_copy_call_expr): New. | |
17571 | (phi_translate): Add case tcc_vl_exp for CALL_EXPR. Use new | |
17572 | CALL_EXPR accessors. Get rid of special goo for copying argument | |
17573 | lists and use temp_copy_call_expr instead. | |
17574 | (valid_in_sets): Add case tcc_vl_exp for CALL_EXPR. Use new | |
17575 | CALL_EXPR accessors. | |
17576 | (create_expression_by_pieces): Likewise. Use build_call_array | |
17577 | to construct the result instead of fold_build3. | |
17578 | (create_value_expr_from): Add tcc_vl_exp. Delete special goo for | |
17579 | dealing with argument lists. | |
17580 | (init_pre): Remove references to expression_node_pool and | |
17581 | list_node_pool. Init temp_call_expr_obstack instead. | |
17582 | (fini_pre): Remove references to expression_node_pool and | |
17583 | list_node_pool. | |
17584 | ||
17585 | * tree-sra.c (sra_walk_call_expr): Use new CALL_EXPR accessors | |
17586 | and walk arguments explicitly instead of as a list. | |
17587 | ||
17588 | * tree-mudflap.c (mf_build_check_statement_for): Use build_call_expr. | |
17589 | (mx_register_decls): Likewise. | |
17590 | (mudflap_register_call): Likewise. | |
17591 | (mudflap_finish_file): Likewise. | |
17592 | ||
17593 | * ipa-prop.c (ipa_callsite_compute_count): Use new CALL_EXPR accessors. | |
17594 | (ipa_callsite_compute_param): Likewise. | |
17595 | ||
17596 | * tree-vect-patterns.c (vect_recog_pow_pattern): Use new CALL_EXPR | |
17597 | accessors and constructor. | |
17598 | ||
17599 | * tree-nested.c (convert_nl_goto_reference): Use new CALL_EXPR | |
17600 | accessors and constructor. | |
ec72623f | 17601 | (convert_tramp_reference): Likewise. |
c2f47e15 | 17602 | (convert_call_expr): Likewise. |
17603 | (finalize_nesting_tree_1): Likewise. | |
17604 | ||
17605 | * tree-ssa.c (tree_ssa_useless_type_conversion): Use new CALL_EXPR | |
17606 | accessors. | |
17607 | ||
17608 | * tree-ssa-loop-prefetch.c (issue_prefetch_ref): Use build_call_expr. | |
17609 | ||
17610 | * tree-inline.c (initialize_inlined_parameters): Pass entire | |
17611 | CALL_EXPR as parameter instead of arglist. Use new CALL_EXPR | |
17612 | accessors. | |
17613 | (estimate_num_insns_1): Use new CALL_EXPR accessors. | |
17614 | (expand_call_inline): Tidy up call to initialize_inlined_parameters. | |
17615 | ||
17616 | * tree-vect-transform.c (vect_create_epilog_for_reduction): Use | |
17617 | TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH. | |
17618 | (vectorizable_reduction): Likewise. | |
17619 | (vectorizable_call): Use new CALL_EXPR iterators. | |
17620 | (vectorizable_conversion): Use build_call_expr. | |
17621 | (vectorizable_operation): Use TREE_OPERAND_LENGTH. | |
17622 | (vect_gen_widened_results_half): Use build_call_expr. | |
17623 | (vect_setup_realignment): Likewise. | |
17624 | (vectorizable_live_operation): Use TREE_OPERAND_LENGTH. | |
17625 | ||
17626 | * tree-object-size.c (alloc_object_size): Use new CALL_EXPR accessors. | |
17627 | (pass_through_call): Likewise. | |
17628 | (compute_object_sizes): Likewise. Use fold_call_expr instead of | |
17629 | fold_builtin. | |
17630 | ||
17631 | * tree-profile.c (tree_gen_interval_profiler): Use build_call_expr. | |
17632 | (tree_gen_pow2_profiler): Likewise. | |
17633 | (tree_gen_one_value_profiler): Likewise. | |
17634 | (tree_gen_ic_func_profiler): Likewise. | |
17635 | (tree_gen_average_profiler): Likewise. | |
17636 | (tree_gen_ior_profiler): Likewise. | |
17637 | ||
17638 | * tree-ssa-structalias.c (get_constraint_for): Add case tcc_vl_exp. | |
17639 | (find_func_aliases): Use new CALL_EXPR accessors. Add case | |
17640 | tcc_vl_exp. Use TREE_OPERAND_LENGTH instead of TREE_CODE_LENGTH. | |
17641 | ||
17642 | * tree-ssa-reassoc.c (get_rank): Use TREE_OPERAND_LENGTH instead | |
17643 | of TREE_CODE_LENGTH. | |
17644 | ||
17645 | * stmt.c (warn_if_unused_value): Use TREE_OPERAND_LENGTH instead | |
17646 | of TREE_CODE_LENGTH. | |
17647 | ||
17648 | * convert.c (convert_to_real): Use new CALL_EXPR accessors and | |
17649 | constructor. | |
17650 | (convert_to_integer): Likewise. | |
17651 | ||
17652 | * tree-ssa-operands.c (get_call_expr_operands): Use new CALL_EXPR | |
17653 | accessors. | |
17654 | ||
17655 | 2007-02-15 Sandra Loosemore <sandra@codesourcery.com> | |
17656 | Brooks Moses <brooks.moses@codesourcery.com> | |
17657 | Lee Millward <lee.millward@codesourcery.com> | |
17658 | ||
17659 | * config/alpha/alpha.c (alpha_expand_builtin): Use new CALL_EXPR | |
17660 | accessors. | |
17661 | * config/frv/frv.c (frv_expand_builtin): Likewise. | |
17662 | * config/s390/s390.c (s390_expand_builtin): Likewise. | |
17663 | ||
17664 | * config/sparc/sparc.c (sparc_gimplify_va_arg): Use build_call_expr. | |
17665 | (sparc_expand_builtin): Use new CALL_EXPR accessors. | |
17666 | ||
17667 | * config/i386/i386.c (ix86_function_ok_for_sibcall): Likewise. | |
17668 | (ix86_expand_binop_builtin): Pass entire CALL_EXPR as parameter | |
17669 | instead of arglist. Use new CALL_EXPR accessors on it. Fix callers. | |
17670 | (ix86_expand_store_builtin): Likewise. | |
17671 | (ix86_expand_unop_builtin): Likewise. | |
17672 | (ix86_expand_unop1_builtin): Likewise. | |
17673 | (ix86_expand_sse_compare): Likewise. | |
17674 | (ix86_expand_sse_comi): Likewise. | |
17675 | (ix86_expand_vec_init_builtin): Likewise. | |
17676 | (ix86_expand_vec_ext_builtin): Likewise. | |
17677 | (ix86_expand_vec_set_builtin): Likewise. | |
17678 | (ix86_expand_builtin): Use new CALL_EXPR accessors. | |
17679 | ||
17680 | * config/sh/sh.c (sh_expand_builtin): Use new CALL_EXPR accessors. | |
17681 | * config/c4x/c4x.c (c4x_expand_builtin): Likewise. | |
17682 | ||
17683 | * config/iq2000/iq2000.c (expand_one_builtin): Pass entire CALL_EXPR | |
17684 | instead of arglist. Use new CALL_EXPR accessors. Fix callers. | |
17685 | (iq2000_expand_builtin): Use new CALL_EXPR accessors. | |
17686 | ||
17687 | * config/rs6000/rs6000-c.c (altivec_build_resolved_builtin): Use | |
17688 | build_call_expr. | |
17689 | * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Likewise. | |
17690 | (rs6000_expand_unop_builtin): Pass entire CALL_EXPR instead of | |
17691 | arglist. Use new CALL_EXPR accessors. Fix callers. | |
17692 | (altivec_expand_abs_builtin): Likewise. | |
17693 | (rs6000_expand_binop_builtin): Likewise. | |
17694 | (altivec_expand_predicate_builtin): Likewise. | |
17695 | (altivec_expand_lv_builtin): Likewise. | |
17696 | (spe_expand_stv_builtin): Likewise. | |
17697 | (altivec_expand_stv_builtin): Likewise. | |
17698 | (rs6000_expand_ternop_builtin): Likewise. | |
17699 | (altivec_expand_ld_builtin): Use new CALL_EXPR accessors. | |
17700 | (altivec_expand_st_builtin): Likewise. | |
17701 | (altivec_expand_dst_builtin): Likewise. | |
17702 | (altivec_expand_vec_init_builtin): Pass entire CALL_EXPR instead of | |
17703 | arglist. Use new CALL_EXPR accessors. Fix callers. | |
17704 | (altivec_expand_vec_set_builtin): Likewise. | |
17705 | (altivec_expand_vec_ext_builtin): Likewise. | |
17706 | (altivec_expand_builtin): Use new CALL_EXPR accessors. | |
17707 | (spe_expand_builtin): Likewise. | |
17708 | (spe_expand_predicate_builtin): Pass entire CALL_EXPR instead of | |
17709 | arglist. Use new CALL_EXPR accessors. Fix callers. | |
17710 | (spe_expand_evsel_builtin): Likewise. | |
17711 | (rs6000_expand_builtin): Use new CALL_EXPR accessors. VCFUX and | |
17712 | FCFSX cases must construct whole new CALL_EXPR, not just arglist. | |
17713 | ||
17714 | * config/arm/arm.c (arm_expand_binop_builtin): Pass entire CALL_EXPR | |
17715 | instead of arglist. Use new CALL_EXPR accessors. Fix callers. | |
17716 | (arm_expand_unop_builtin): Likewise. | |
17717 | (arm_expand_builtin): Use new CALL_EXPR accessors. | |
17718 | ||
17719 | * config/mips/mips.c (mips_expand_builtin): Use new CALL_EXPR | |
17720 | accessors. | |
17721 | ||
ed69c853 | 17722 | * config/bfin/bfin.c (bfin_expand_binop_builtin): Pass entire |
17723 | CALL_EXPR instead of arglist. Use new CALL_EXPR accessors. | |
17724 | Fix callers. | |
c2f47e15 | 17725 | (bfin_expand_unop_builtin): Likewise. |
17726 | (bfin_expand_builtin): Use new CALL_EXPR accessors. | |
17727 | ||
17728 | 2007-02-15 Sandra Loosemore <sandra@codesourcery.com> | |
17729 | Brooks Moses <brooks.moses@codesourcery.com> | |
17730 | Lee Millward <lee.millward@codesourcery.com> | |
17731 | ||
17732 | * c-semantics.c (build_stmt): Add internal diagnostic check. | |
17733 | ||
17734 | * c-pretty-print.c (pp_c_postfix_expression): Use new CALL_EXPR | |
17735 | accessors. Print arguments explicitly instead of as a list. | |
17736 | ||
17737 | * c-typeck.c (build_function_call): Use new CALL_EXPR constructors. | |
17738 | ||
17739 | * c-omp.c (c_finish_omp_barrier): Use build_call_expr. | |
17740 | (c_finish_omp_flish): Likewise. | |
17741 | ||
17742 | * c-common.c (verify_tree): Use new CALL_EXPR accessors. Traverse | |
17743 | arguments explicitly instead of as a list. Use TREE_OPERAND_LENGTH | |
17744 | instead of TREE_CODE_LENGTH. | |
17745 | (check_function_arguments_recurse): Use new CALL_EXPR accessors. | |
17746 | (c_warn_unused_result): Likewise. | |
17747 | ||
3ba510aa | 17748 | 2007-02-15 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
17749 | ||
17750 | PR c/26494 | |
17751 | * doc/invoke.texi (Warning Options): Remove | |
17752 | -Werror-implicit-function-declaration. | |
17753 | (Wimplicit-function-declaration): Update description. | |
17754 | * opts.c (common_handle_option): Move handling of -Werror=* to... | |
17755 | (enable_warning_as_error): ...here. | |
17756 | * opts.h (enable_warning_as_error): Declare. | |
17757 | * c-decl.c (implicit_decl_warning): Unless | |
17758 | -Wno-implicit-function-declaration is given, emit a pedwarn if | |
17759 | -std=c99 or emit a warning if -Wimplicit-function-declaration. | |
17760 | * c.opt (Wimplicit-function-declaration): Replace | |
17761 | mesg_implicit_function_declaration with | |
17762 | warn_implicit_function_declaration. | |
17763 | * c-opts.c (c_common_handle_option): | |
17764 | -Werror-implicit-function-declaration is exactly equal as | |
17765 | -Werror=implicit-function-declaration. | |
17766 | (set_Wimplicit): Replace mesg_implicit_function_declaration with | |
17767 | warn_implicit_function_declaration. | |
17768 | (c_common_post_options): -Wimplict-function-declaration is enabled | |
17769 | by default by -std=c99, otherwise is disabled by default. | |
17770 | * c-objc-common.c (c_objc_common_init): Remove flawed logic. | |
17771 | ||
4bef6a37 | 17772 | 2007-02-15 Eric Botcazou <ebotcazou@adacore.com> |
17773 | ||
17774 | * gimplify.c (gimplify_modify_expr): During gimplification, attach a | |
17775 | DECL on the rhs to a DECL on the lhs for debug info purposes if the | |
17776 | former is ignored but not the latter. | |
17777 | ||
4432b023 | 17778 | 2007-02-15 Eric Botcazou <ebotcazou@adacore.com> |
17779 | ||
17780 | * expr.c (expand_expr_real_1) <normal_inner_ref>: If a temporary | |
17781 | is made and the reference doesn't use the alias set of its type, | |
17782 | do not create the temporary using that type. | |
17783 | ||
33e91809 | 17784 | 2007-02-15 Aldy Hernandez <aldyh@redhat.com> |
17785 | ||
17786 | * jump.c: Remove prototypes for delete_computation and | |
17787 | delete_prior_computation. | |
17788 | ||
e3766402 | 17789 | 2007-02-15 Paolo Bonzini <bonzini@gnu.org> |
17790 | ||
17791 | * jump.c (get_label_after): Delete. | |
17792 | (get_label_before, delete_computation, delete_jump, | |
17793 | delete_prior_computation, follow_jumps): Move... | |
17794 | * reorg.c (delete_computation, delete_prior_computation): ... here... | |
17795 | (get_label_before, delete_jump): ... making these static ... | |
17796 | (follow_jumps): ... and simplifying this since it only runs after | |
17797 | reload. | |
17798 | * rtl.h (get_label_after, get_label_before, delete_jump, | |
17799 | follow_jumps): Delete prototypes. | |
17800 | ||
35c2394d | 17801 | 2007-02-15 Paolo Bonzini <bonzini@gnu.org> |
17802 | ||
17803 | * caller-save.c (save_call_clobbered_regs): Do not process sibcalls. | |
ec72623f | 17804 | |
e6d8e73f | 17805 | 2007-02-15 Nick Clifton <nickc@redhat.com> |
17806 | ||
17807 | * varasm.c (default_asm_output_anchor): Prepend * to . symbol in | |
17808 | order to prevent it from being munged by the target. | |
17809 | ||
4386ee95 | 17810 | 2007-02-15 Uros Bizjak <ubizjak@gmail.com> |
17811 | ||
17812 | * config/i386/i386.md: Remove misleading comment. | |
17813 | ||
fd2d61d6 | 17814 | 2007-02-15 Alexandre Oliva <aoliva@redhat.com> |
17815 | ||
17816 | * config/frv/frv.md (reload_incc, reload_outcc, reload_incc_uns, | |
17817 | reload_outcc_uns, reload_incc_nz, reload_outcc_nz): Remove | |
17818 | invalid patterns. | |
17819 | ||
005b6665 | 17820 | 2007-02-15 Alexandre Oliva <aoliva@redhat.com> |
17821 | ||
17822 | * tree-sra.c (instantiate_missing_elements): Canonicalize | |
17823 | bit-field types. | |
17824 | (sra_build_assignment): New. | |
17825 | (generate_copy_inout, generate_element_copy, | |
17826 | generate_element_zero, generate_one_element_init): Use it. | |
17827 | ||
17828 | 2007-02-15 Alexandre Oliva <aoliva@redhat.com> | |
17829 | ||
17830 | * tree-sra.c (instantiate_missing_elements): Canonicalize | |
17831 | bit-field types. | |
17832 | (sra_build_assignment): New. | |
17833 | (generate_copy_inout, generate_element_copy, | |
17834 | generate_element_zero, generate_one_element_init): Use it. | |
17835 | ||
356f311d | 17836 | 2007-02-15 Alexandre Oliva <aoliva@redhat.com> |
17837 | ||
17838 | * dwarf2out.c (dwarf2out_finish): Accept namespaces as context of | |
17839 | limbo die nodes. | |
17840 | ||
cfefc966 | 17841 | 2007-02-14 Joseph Myers <joseph@codesourcery.com> |
17842 | ||
17843 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Treat complex | |
17844 | types as aggregates not scalars. | |
17845 | * function.c (assign_stack_temp_for_type): Likewise. | |
17846 | ||
2b304bd2 | 17847 | 2007-02-14 Roger Sayle <roger@eyesopen.com> |
17848 | Zdenek Dvorak <dvorakz@suse.cz> | |
17849 | ||
17850 | * tree-dump.c (dump_switch_p_1): Require exact match of the option | |
17851 | name. | |
17852 | ||
d3a5fc6b | 17853 | 2007-02-14 Zdenek Dvorak <dvorakz@suse.cz> |
17854 | ||
17855 | * passes.c (next_pass_1): Clear the next field of the copied | |
17856 | pass structure. | |
17857 | ||
1f0a4df8 | 17858 | 2007-02-14 Richard Henderson <rth@redhat.com> |
17859 | ||
17860 | * tree-sra.c (early_sra): New. | |
17861 | (decl_can_be_decomposed_p): Deny va_list if early_sra. | |
17862 | (tree_sra_early, pass_sra_early): New. | |
17863 | * tree-pass.h (pass_sra_early): Declare. | |
17864 | * passes.c (init_optimization_passes): Use it. | |
17865 | ||
184c9ca9 | 17866 | 2007-02-14 Richard Guenther <rguenther@suse.de> |
17867 | ||
17868 | * flags.h (issue_strict_overflow_warning): Convert to a macro. | |
17869 | ||
17870 | 2007-02-14 Dorit Nuzman <dorit@il.ibm.com> | |
d2e42551 | 17871 | |
17872 | PR tree-optimization/30771 | |
17873 | * tree-vect-analyze.c (vect_determine_vectorization_factor): Traverse | |
17874 | also phi nodes. | |
17875 | (vect_analyze_operations): Induction phis can now be marked as | |
17876 | used_in_loop. | |
17877 | (vect_mark_stmts_to_be_vectorized): No special treatment for phis. | |
17878 | Update documentation accordingly. | |
17879 | ||
24ede95f | 17880 | 2007-02-14 Nick Clifton <nickc@redhat.com> |
17881 | ||
17882 | * builtin-types.def (DEF_FUNCTION_TYPE_x): Do not imply that at | |
17883 | most 3 arguments are supported. | |
17884 | (DEF_FUNCTION_TYPE_VAR_5): Fix typo in its description. | |
17885 | ||
c926c35f | 17886 | 2007-02-13 Seongbae Park <seongbae.park@gmail.com> |
17887 | ||
d3a5fc6b | 17888 | * bitmap.c (bitmap_and, bitmap_and_compl, bitmap_xor): |
17889 | Ensure dst->current is valid. | |
c926c35f | 17890 | |
1ad38120 | 17891 | 2007-02-13 Paul Brook <paul@codesourcery.com> |
17892 | ||
17893 | * config.gcc: Add arm*-*-uclinux-*eabi. | |
17894 | * config/arm/uclinux-elf.h (TARGET_OS_CPP_BUILTINS): Define. | |
17895 | (SUBTARGET_EXTRA_LINK_SPEC): Define. | |
17896 | (STARTFILE_SPEC, ENDFILE_SPEC): Remove broken -shared handling. | |
17897 | (LINK_GCC_C_SEQUENCE_SPEC): Undef. | |
17898 | (LINK_SPEC): Define. | |
17899 | (LIB_SPEC): Define. | |
17900 | * config/arm/arm.c (arm_override_options): Use r9 as EABI PIC | |
17901 | register. | |
17902 | * config/arm/uclinux-eabi.h: New file. | |
17903 | * config/arm/linux-eabi.h (WCHAR_TYPE): Remove. | |
17904 | * config/arm/linux-gas.h (WCHAR_TYPE): Use unsigned long on AAPCS | |
17905 | based targets. | |
17906 | ||
add6ee5e | 17907 | 2007-02-13 Ian Lance Taylor <iant@google.com> |
17908 | ||
17909 | * common.opt: Add Wstrict-overflow and Wstrict-overflow=. | |
17910 | * flags.h (warn_strict_overflow): Declare. | |
17911 | (enum warn_strict_overflow_code): Define. | |
17912 | (issue_strict_overflow_warning): New static inline function. | |
17913 | * opts.c (warn_strict_overflow): New variable. | |
17914 | (common_handle_option): Handle OPT_Wstrict_overflow and | |
17915 | OPT_Wstrict_overflow_. | |
17916 | * c-opts.c (c_common_handle_option): Set warn_strict_overflow for | |
17917 | OPT_Wall. | |
17918 | * fold-const.c: Include intl.h. | |
17919 | (fold_deferring_overflow_warnings): New static variable. | |
17920 | (fold_deferred_overflow_warning): New static variable. | |
17921 | (fold_deferred_overflow_code): New static variable. | |
17922 | (fold_defer_overflow_warnings): New function. | |
17923 | (fold_undefer_overflow_warnings): New function. | |
17924 | (fold_undefer_and_ignore_overflow_warnings): New function. | |
17925 | (fold_deferring_overflow_warnings_p): New function. | |
17926 | (fold_overflow_warning): New static function. | |
17927 | (make_range): Add strict_overflow_p parameter. Change all | |
17928 | callers. | |
17929 | (extract_muldiv, extract_muldiv_1): Likewise. | |
17930 | (fold_unary) [ABS_EXPR]: Check ABS_EXPR before calling | |
17931 | tree_expr_nonnegative_p. | |
17932 | (fold_negate_expr): Call fold_overflow_warning. | |
17933 | (fold_range_test): Likewise. | |
17934 | (fold_comparison): Likewise. | |
17935 | (fold_binary): Likewise. Call tree_expr_nonnegative_warnv_p | |
17936 | instead of tree_expr_nonnegative_p. | |
17937 | (tree_expr_nonnegative_warnv_p): Rename from | |
17938 | tree_expr_nonnegative_p, add strict_overflow_p parameter. | |
17939 | (tree_expr_nonnegative_p): New function. | |
17940 | (tree_expr_nonzero_warnv_p): Rename from tree_expr_nonzero_p, add | |
17941 | strict_overflow_p parameter. | |
17942 | (tree_expr_nonzero_p): New function. | |
17943 | * passes.c (verify_interpass_invariants): New static function. | |
17944 | (execute_one_pass): Call it. | |
17945 | * tree-ssa-loop-niter.c (expand_simple_operations): Ignore fold | |
17946 | warnings. | |
17947 | (number_of_iterations_exit, loop_niter_by_eval): Likewise. | |
17948 | (estimate_numbers_of_iterations): Likewise. | |
17949 | (scev_probably_wraps_p): Likewise. | |
17950 | * tree-ssa-ccp.c: Include "toplev.h". | |
17951 | (evaluate_stmt): Defer fold overflow warnings until we know we are | |
17952 | going to optimize. | |
17953 | (struct fold_stmt_r_data): Add stmt field. | |
17954 | (fold_stmt_r): Defer fold overflow warnings until we know we | |
17955 | optimized. | |
17956 | (fold_stmt): Initialize stmt field of fold_stmt_r_data. | |
17957 | (fold_stmt_inplace): Likewise. | |
17958 | * tree-cfgcleanup.c: Include "toplev.h" rather than "errors.h". | |
17959 | (cleanup_control_expr_graph): Defer fold overflow warnings until | |
17960 | we know we are going to optimize. | |
17961 | * tree-cfg.c (fold_cond_expr_cond): Likewise. | |
17962 | * tree-ssa-threadedge.c (simplify_control_stmt_condition): | |
17963 | Likewise. | |
17964 | * tree-vrp.c (vrp_expr_computes_nonnegative): Call | |
17965 | tree_expr_nonnegative_warnv_p instead of tree_expr_nonnegative_p. | |
17966 | * tree-ssa-loop-manip.c (create_iv): Likewise. | |
17967 | * c-typeck.c (build_conditional_expr): Likewise. | |
17968 | (build_binary_op): Likewise. | |
17969 | * tree-vrp.c (vrp_expr_computes_nonzero): Call | |
17970 | tree_expr_nonzero_warnv_p instead of tree_expr_nonzero_p. | |
17971 | (extract_range_from_unary_expr): Likewise. | |
17972 | * simplify-rtx.c (simplify_const_relational_operation): Warn when | |
17973 | assuming that signed overflow does not occur. | |
17974 | * c-common.c (pointer_int_sum): Ignore fold overflow warnings. | |
17975 | * tree.h (tree_expr_nonnegative_warnv_p): Declare. | |
17976 | (fold_defer_overflow_warnings): Declare. | |
17977 | (fold_undefer_overflow_warnings): Declare. | |
17978 | (fold_undefer_and_ignore_overflow_warnings): Declare. | |
17979 | (fold_deferring_overflow_warnings_p): Declare. | |
17980 | (tree_expr_nonzero_warnv_p): Declare. | |
17981 | * doc/invoke.texi (Option Summary): Add -Wstrict-overflow to list | |
17982 | of warning options. | |
17983 | (Warning Options): Document -Wstrict-overflow. | |
17984 | * Makefile.in (tree-ssa-threadedge.o): Depend on toplev.h. | |
17985 | (tree-ssa-ccp.o): Likewise. | |
17986 | (tree-cfgcleanup.o): Change errors.h dependency to toplev.h. | |
17987 | (fold-const.o): Depend on intl.h. | |
17988 | ||
ccd1ec59 | 17989 | 2007-02-13 Ian Lance Taylor <iant@google.com> |
17990 | ||
17991 | PR middle-end/30751 | |
17992 | * lower-subreg.c (resolve_simple_move): Decompose subregs in | |
17993 | addresses. | |
17994 | ||
b7940b13 | 17995 | 2007-02-13 Stuart Hastings <stuart@apple.com> |
17996 | ||
ddb8b0be | 17997 | * config/i386/i386.md (fixuns_truncdfhi2): Require SSE2. |
b7940b13 | 17998 | |
adde8f91 | 17999 | 2007-02-13 Richard Henderson <rth@redhat.com> |
18000 | ||
18001 | * config/alpha/alpha.c (alpha_stdarg_optimize_hook): Strip | |
18002 | handled_component_p before looking for the indirect_ref. | |
18003 | ||
1b5539c8 | 18004 | 2007-02-13 Richard Henderson <rth@redhat.com> |
18005 | ||
18006 | * config/i386/i386.md (bswapsi_1): Rename from bswapsi2, | |
18007 | remove flags clobber. | |
18008 | (bswapsi2): New expander, emit code for !TARGET_BSWAP. | |
18009 | (bswaphi_lowpart): New. | |
18010 | (bswapdi2): Rename from bswapdi2_rex, remove flags clobber, | |
18011 | remove TARGET_BSWAP test. Delete expander of the same name. | |
18012 | ||
18013 | * optabs.c (widen_bswap, expand_doubleword_bswap): New. | |
18014 | (expand_unop): Use them. | |
18015 | ||
1aff3f78 | 18016 | 2007-02-13 Uros Bizjak <ubizjak@gmail.com> |
18017 | ||
18018 | * config/i386/i386.md (cmpdi_ccno_1_rex64, *cmpsi_ccno_1, | |
18019 | *cmphi_ccno_1, *cmpqi_ccno_1, *movsi_xor, *movstricthi_xor, | |
18020 | *movstrictqi_xor, *movdi_xor_rex64, *ashldi3_1_rex64, | |
18021 | *ashldi3_cmp_rex64, *ashldi3_cconly_rex64, ashlsi3, *ashlsi3_1_zext, | |
18022 | *ashlsi3_cmp, *ashlsi3_cconly, *ashlsi3_cmp_zext, *ashlhi3_1_lea, | |
18023 | *ashlhi3_1, *ashlhi3_cmp, *ashlhi3_cconly, *ashlqi3_1_lea, | |
18024 | *ashlqi3_1, *ashlqi3_cmp, *ashlqi3_cconly): Remove equivalent | |
18025 | assembler dialect choice from asm templates. | |
18026 | ||
0760e423 | 18027 | 2007-02-12 Richard Henderson <rth@redhat.com> |
18028 | ||
18029 | * config/i386/i386.md (fixuns_trunc<SSEMODEF>si_1): New insn. | |
18030 | (fixuns_trunc<SSEMODEF>si2): Use it. | |
18031 | * config/i386/sse.md (vec_setv4sf_0): Export. | |
18032 | * config/i386/i386.c (ix86_build_const_vector): Export. | |
18033 | (ix86_split_convert_uns_si_sse): Rename from | |
18034 | ix86_expand_convert_uns_si_sse and rewrite as a splitter. | |
18035 | * config/i386/i386-protos.h: Update. | |
18036 | ||
6e4e3580 | 18037 | 2007-02-13 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
18038 | ||
18039 | PR c/29521 | |
18040 | * c-typeck.c (c_finish_return): Improve warning message. | |
18041 | ||
600380f0 | 18042 | 2007-02-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
18043 | ||
18044 | * alias.c (find_symbolic_term): Delete unused function. | |
ec72623f | 18045 | |
ec29ad3e | 18046 | 2007-02-12 Uros Bizjak <ubizjak@gmail.com> |
18047 | ||
18048 | * config/i386/i386.md (paritydi2, paritysi2): New expanders. | |
18049 | (paritydi2_cmp, paritydi2_cmp): New insn and split patterns. | |
18050 | (*parityhi2_cmp, *parityqi2_cmp): New insn patterns. | |
18051 | ||
5a13c1e6 | 18052 | 2007-02-12 Eric Botcazou <ebotcazou@adacore.com> |
18053 | ||
18054 | * tree.h (DECL_IGNORED_P): Document further effect for FUNCTION_DECL. | |
18055 | * cgraphunit.c (cgraph_expand_function): If DECL_IGNORED_P is set on | |
18056 | the function, temporarily point the debug interface to the null one. | |
18057 | ||
71b5358c | 18058 | 2007-02-12 Eric Botcazou <ebotcazou@adacore.com> |
18059 | ||
18060 | * dwarf2out.c (round_up_to_align): New static function. | |
18061 | (field_byte_offset): Use it to round the offset. | |
18062 | ||
dff270e5 | 18063 | 2007-02-12 Richard Henderson <rth@redhat.com> |
18064 | ||
18065 | * config/alpha/alpha.md (bswapsi2, bswapdi2): New. | |
18066 | (inswl_const): Export. | |
18067 | ||
4e1a3169 | 18068 | 2007-02-12 Richard Henderson <rth@redhat.com> |
18069 | ||
18070 | * calls.c (emit_library_call_value_1): If PROMOTE_MODE modifed the | |
18071 | result mode of the libcall, convert back to outmode. | |
18072 | ||
d179ab1f | 18073 | 2007-02-12 Roger Sayle <roger@eyesopen.com> |
18074 | ||
18075 | * config/i386/i386.md (*bswapdi2_rex): Renamed from bswapdi2. | |
18076 | (bswapdi2): New define_expand to implement 32-bit implementation. | |
18077 | ||
87c75316 | 18078 | 2007-02-12 Nick Clifton <nickc@redhat.com> |
18079 | ||
18080 | * doc/invoke.texi (Overall Options): Document --help=. | |
18081 | * gcc.c (target_help_flag): Rename to print_subprocess_flag. | |
18082 | (cc1_options): Pass --help= on to cc1. | |
18083 | (display_help): Add description of --help=. | |
18084 | (process_command): Add code to handle --help=. Allow translated | |
18085 | --help and --target-help switches to be passed on to compiler | |
18086 | sub-process. | |
18087 | (main): Remove unused if statement. | |
18088 | * opts.c (columns): Remove. | |
18089 | (LEFT_COLUMN): Define. | |
18090 | (wrap_help): Add columns argument. | |
18091 | (print_filtered_help): Change parameters to be an include bitmask, | |
18092 | an exclude bitmask, an any bitmask and the column width. Move the | |
18093 | code to display the params list here. Add code to display the | |
18094 | status of options rather than their descriptions if the quiet flag | |
18095 | is not active. | |
18096 | (print_specific_help): Change parameters to be an include bitmask, | |
18097 | an exclude bitmask and an any bitmask. Move code to look up the | |
18098 | column width here. Decide upon the title for an options listing. | |
18099 | (common_handle_options): Add code to handle --help=. Adapt code | |
18100 | for --help and --target-help to use the revised form of the | |
18101 | print_specific_help function. | |
18102 | (print_help): Delete. | |
18103 | (print_param_help): Delete. | |
18104 | (print_switch): Delete. | |
18105 | * opts.h (cl_lang_count): Add prototype. | |
18106 | (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_MIN_OPTION_CLASS, | |
18107 | CL_MAX_OPTION_CLASS): New defines. | |
18108 | * optc-gen.awk: Add construction of cl_lang_count. | |
18109 | * c.opt: Add Warning attribute to warning options and Optimization | |
18110 | attribute to optimization options. | |
18111 | * common.opt: Likewise. | |
18112 | Add --help=. | |
18113 | Add -fhelp and -ftarget-help as aliases for the transformed --help | |
18114 | and --target-help options. | |
18115 | * opt-functions.awk: Add code to handle Warning and Optimization | |
18116 | attributes. | |
18117 | ||
1dffd068 | 18118 | 2007-02-12 Richard Henderson <rth@redhat.com> |
18119 | ||
18120 | * config/alpha/constraints.md: New file. | |
18121 | * config/alpha/alpha.c: Include tm-constrs.h. | |
18122 | (alpha_const_ok_for_letter_p, alpha_const_double_ok_for_letter_p, | |
18123 | alpha_extra_constraint): Remove. | |
18124 | (alpha_emit_conditional_branch): Use satisfies_constraint_*. | |
18125 | * config/alpha/alpha-protos.h: Update. | |
18126 | * config/alpha/alpha.h (REG_CLASS_FROM_LETTER): Remove. | |
18127 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Remove. | |
18128 | (EXTRA_CONSTRAINT): Remove. | |
18129 | * config/alpha/alpha.md: Include constraints.md. | |
18130 | (adddi splitter): Use satisfies_constraint_*. | |
18131 | * config/alpha/predicates.md (add_operand): Likewise. | |
18132 | (sext_add_operand, addition_operation): Likewise. | |
18133 | ||
20ae4d7b | 18134 | 2007-02-12 Dorit Nuzman <dorit@il.ibm.com> |
18135 | ||
18136 | PR tree-optimization/29145 | |
18137 | * tree-data-ref.c (base_addr_differ_p): Make us more conservative | |
18138 | in our handling of restrict qualified pointers. | |
18139 | ||
43667bd3 | 18140 | 2007-02-12 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
18141 | ||
18142 | PR middle-end/7651 | |
18143 | * doc/invoke.texi (Wunused-value): Update description. | |
18144 | (Wextra): Delete item. | |
18145 | * opts.c (set_Wextra): Don't use the value of Wextra to set the | |
18146 | value of Wunused-value. | |
18147 | * c-typeck.c (c_process_expr_stmt): Don't check extra_warnings. | |
18148 | (c_finish_stmt_expr): Don't check extra_warnings. | |
18149 | (emit_side_effect_warnings): The caller is responsible to check | |
18150 | warn_unused_value. | |
ec72623f | 18151 | |
9966a430 | 18152 | 2007-02-11 Roger Sayle <roger@eyesopen.com> |
18153 | Matt Thomas <matt@3am-software.com> | |
18154 | ||
18155 | * simplify-rtx.c (simplify_relational_operation_1): Correct typo. | |
18156 | ||
ecf8b614 | 18157 | 2007-02-11 Roger Sayle <roger@eyesopen.com> |
18158 | ||
18159 | * simplify-rtx.c (simplify_relational_operation_1): Optimize | |
18160 | comparisons of POPCOUNT against zero. | |
18161 | (simplify_const_relational_operation): Likewise. | |
18162 | ||
cb8ff8c6 | 18163 | 2007-02-11 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
18164 | ||
18165 | * doc/invoke.texi (Wextra): Delete outdated paragraph. | |
ec72623f | 18166 | |
2f0cc145 | 18167 | 2007-02-11 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
18168 | ||
18169 | * dwarf2out.c (root_type): Delete unused function. | |
ec72623f | 18170 | |
ad9a29f3 | 18171 | 2007-02-11 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
18172 | ||
18173 | * genattrtab.c (contained_in_p): Delete unused function. | |
18174 | (write_expr_attr_cache): Likewise. | |
18175 | ||
54e3de71 | 18176 | 2007-02-11 Jan Hubicka <jh@suse.cz> |
18177 | ||
18178 | * ipa-inline.c (cgraph_edge_badness): Add "else" missing in the | |
18179 | previous patch. | |
18180 | ||
750a330e | 18181 | 2007-02-11 Steven Bosscher <steven@gcc.gnu.org> |
18182 | ||
18183 | * fwprop.c (try_fwprop_subst): Use set_unique_reg_note | |
18184 | to add the REG_EQ* note. | |
18185 | * see.c (see_merge_one_use_extension): Likewise. | |
18186 | * local-alloc.c (update_equiv_regs): Likewise. Also don't | |
18187 | turn REG_EQUAL notes into REG_EQUIV notes if the target | |
18188 | register may have more than one set. | |
18189 | * function.c (assign_parm_setup_reg): Use set_unique_reg_note. | |
18190 | * gcse.c (try_replace_reg): Likewise. | |
18191 | * alias.c (init_alias_analysis): Use find_reg_equal_equiv_note. | |
18192 | * calls.c (fixup_tail_calls): Likewise. Abort if there is | |
18193 | more than one REG_EQUIV note. | |
18194 | * reload1.c (gen_reload): Use set_unique_reg_note. | |
18195 | ||
647e9f06 | 18196 | 2007-02-11 Uros Bizjak <ubizjak@gmail.com> |
18197 | ||
18198 | * config/i386/i386.c (TARGET_VECTORIZE_BUILTIN_CONVERSION): Define. | |
18199 | (ix86_builtin_conversion): New function. | |
18200 | ||
1a614365 | 18201 | 2007-02-06 Mark Mitchell <mark@codesourcery.com> |
18202 | ||
18203 | PR target/29487 | |
18204 | * tree.h (DECL_REPLACEABLE_P): New macro. | |
18205 | * except.c (set_nothrow_function_flags): Likewise. | |
18206 | ||
9d8bf4aa | 18207 | 2007-02-11 Tehila Meyzels <tehila@il.ibm.com> |
18208 | Ira Rosen <irar@il.ibm.com> | |
18209 | Dorit Nuzman <dorit@il.ibm.com> | |
18210 | ||
18211 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): New target hook. | |
18212 | * targhooks.c (default_builtin_vectorized_conversion): New. | |
18213 | * targhooks.h (default_builtin_vectorized_function): New declaration. | |
18214 | * target.h (struct vectorize): Add builtin_conversion field. | |
18215 | * tree-vectorizer.h (type_conversion_vec_info_type): New enum | |
18216 | stmt_vec_info_type value. | |
18217 | (vectorizable_conversion): New declaration. | |
18218 | * tree-vect-analyze.c (vect_analyze_operations): Add | |
18219 | vectorizable_conversion call. | |
18220 | * target-def.h (TARGET_VECTORIZE_BUILTIN_CONVERSION): New. | |
18221 | * tree-vect-transform.c (vectorizable_conversion): New function. | |
18222 | (vect_transform_stmt): Add case for type_conversion_vec_info_type. | |
18223 | * tree-vect-generic.c (expand_vector_operations_1): Consider correct | |
18224 | mode. | |
18225 | * config/rs6000/rs6000.c (rs6000_builtin_conversion): New. | |
18226 | (TARGET_VECTORIZE_BUILTIN_CONVERSION): Defined. | |
ec29ad3e | 18227 | (rs6000_expand_builtin): Add handling a case of ALTIVEC_BUILTIN_VCFUX |
18228 | or ALTIVEC_BUILTIN_VCFSX. | |
9d8bf4aa | 18229 | |
7d85f118 | 18230 | 2007-02-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
18231 | ||
18232 | PR target/30634 | |
18233 | * pa.md (movdf): For 64-bit target, fail if operand 1 is a non-zero | |
18234 | CONST_DOUBLE and operand 0 is a hard register. | |
18235 | (movdi): For 64-bit target, remove code to force CONST_DOUBLE to | |
18236 | memory. Fail if operand 1 is a non-zero CONST_INT and operand 0 | |
18237 | is a hard floating-point register. | |
18238 | ||
c6f3c945 | 18239 | 2007-02-10 Richard Henderson <rth@redhat.com> |
18240 | Jakub Jelinek <jakub@redhat.com> | |
18241 | Alexandre Oliva <aoliva@redhat.com> | |
9dda1f80 | 18242 | |
18243 | * Makefile.in (libgcc-support, libgcc.mvars): Add emutls.c. | |
18244 | * builtin-types.def (BT_WORD): Make unsigned. | |
18245 | (BT_FN_VOID_PTR_WORD_WORD_PTR): New. | |
18246 | * builtins.def (BUILT_IN_EMUTLS_GET_ADDRESS): New. | |
18247 | (BUILT_IN_EMUTLS_REGISTER_COMMON): New. | |
18248 | * c-decl.c (grokdeclarator): Don't error if !have_tls. | |
18249 | * c-parser.c (c_parser_omp_threadprivate): Likewise. | |
18250 | * dwarf2out.c (loc_descriptor_from_tree_1): Don't do anything for | |
18251 | emulated tls. | |
18252 | * expr.c (emutls_var_address): New. | |
18253 | (expand_expr_real_1): Expand emulated tls. | |
18254 | (expand_expr_addr_expr_1): Likewise. | |
18255 | * libgcc-std.ver: Add __emutls_get_address, __emutls_register_common. | |
18256 | * output.h (emutls_finish): Declare. | |
18257 | * toplev.c (compile_file): Call it. | |
18258 | * tree-ssa-address.c (gen_addr_rtx): Check for const-ness of the | |
18259 | address before wrapping in CONST. | |
18260 | * varasm.c (emutls_htab, emutls_object_type): New. | |
18261 | (EMUTLS_VAR_PREFIX, EMUTLS_TMPL_PREFIX): New. | |
18262 | (get_emutls_object_name, get_emutls_object_type): New. | |
18263 | (get_emutls_init_templ_addr, emutls_decl): New. | |
18264 | (emutls_common_1, emutls_finish): New. | |
18265 | (assemble_variable): When emulating tls, swap decls; generate | |
18266 | constructor for the emutls objects. | |
18267 | (do_assemble_alias): When emulating tls, swap decl and target name. | |
18268 | (default_encode_section_info): Don't add SYMBOL_FLAG_TLS_SHIFT | |
18269 | for emulated tls. | |
18270 | * varpool.c (decide_is_variable_needed): Look at force_output. | |
18271 | Recurse for emulated tls. | |
18272 | (cgraph_varpool_remove_unreferenced_decls): Remove checks redundant | |
18273 | with decide_is_variable_needed. | |
18274 | * emutls.c: New file. | |
18275 | * config/sparc/sol2.h (ASM_DECLARE_OBJECT_NAME): Only emit | |
18276 | tls_object for real tls. | |
18277 | ||
81ef6b6a | 18278 | 2007-02-10 Kaz Kojima <kkojima@gcc.gnu.org> |
18279 | ||
18280 | PR rtl-optimization/29599 | |
18281 | * reload1.c (eliminate_regs_in_insn): Take the destination | |
18282 | mode into account when computing the offset. | |
18283 | ||
751bdb92 | 18284 | 2007-02-09 Stuart Hastings <stuart@apple.com> |
c6f3c945 | 18285 | Richard Henderson <rth@redhat.com> |
751bdb92 | 18286 | |
ddb8b0be | 18287 | * config/i386/i386.h (TARGET_KEEPS_VECTOR_ALIGNED_STACK): New. |
18288 | * config/i386/darwin.h: (TARGET_KEEPS_VECTOR_ALIGNED_STACK): New. | |
18289 | * config/i386/i386.md (fixuns_trunc<mode>si2, fixuns_truncsfhi2, | |
751bdb92 | 18290 | fixuns_truncdfhi2): New. |
18291 | (fix_truncsfdi_sse): Call ix86_expand_convert_sign_didf_sse. | |
18292 | (floatunsdidf2): Call ix86_expand_convert_uns_didf_sse. | |
18293 | (floatunssisf2): Add call to ix86_expand_convert_uns_sisf_sse. | |
18294 | (floatunssidf2): Allow nonimmediate source. | |
ddb8b0be | 18295 | * config/i386/sse.md (movdi_to_sse): New. |
c6f3c945 | 18296 | (vec_concatv2di): Drop '*'. |
ddb8b0be | 18297 | * config/i386/i386-protos.h (ix86_expand_convert_uns_si_sse, |
751bdb92 | 18298 | ix86_expand_convert_uns_didf_sse, ix86_expand_convert_uns_sidf_sse, |
c6f3c945 | 18299 | ix86_expand_convert_uns_sisf_sse, ix86_expand_convert_sign_didf_sse): |
18300 | New. | |
ddb8b0be | 18301 | * config/i386/i386.c (ix86_expand_convert_uns_si_sse, |
751bdb92 | 18302 | ix86_expand_convert_uns_didf_sse, ix86_expand_convert_uns_sidf_sse, |
18303 | ix86_expand_convert_uns_sisf_sse, ix86_expand_convert_sign_didf_sse, | |
18304 | ix86_build_const_vector, ix86_expand_vector_init_one_nonzero): New. | |
c6f3c945 | 18305 | (ix86_build_signbit_mask): Fix decl of v, refactor to call |
18306 | ix86_build_const_vector. | |
751bdb92 | 18307 | (x86_emit_floatuns): Rewrite. |
18308 | ||
71eb48ba | 18309 | 2007-02-10 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
18310 | ||
18311 | * genautomata.c (longest_path_length): Delete unused function. | |
18312 | (struct state): Delete unused longest_path_length. | |
18313 | (UNDEFINED_LONGEST_PATH_LENGTH): Delete unused macro. | |
18314 | (get_free_state): Delete unused. | |
ec72623f | 18315 | |
4ae20857 | 18316 | 2007-02-09 Jan Hubicka <jh@suse.cz> |
18317 | ||
994d5439 | 18318 | * params.def (PARAM_INLINE_UNIT_GROWTH): Set to 30. |
18319 | * doc/invoke.texi (inline-unit-growth): Update default value. | |
18320 | ||
4ae20857 | 18321 | * Makefile.in (passes.o, ipa-inline.o): Add dependencies. |
18322 | * cgraphbuild.c (build_cgraph_edges): Compute frequencies. | |
18323 | (rebuild_cgraph_edges): Likewise. | |
18324 | * cgraph.c (cgraph_set_call_stmt): Add new argument frequency. | |
18325 | (dump_cgraph_node): Dump frequencies. | |
18326 | (cgraph_clone_edge): Add frequency scales. | |
18327 | (cgraph_clone_node): Add freuqnecy. | |
18328 | * cgraph.h (cgraph_edge): Add freuqnecy argument. | |
18329 | (CGRAPH_FREQ_BASE, CGRAPH_FREQ_MAX): New constants. | |
18330 | (cgraph_create_edge, cgraph_clone_edge, cgraph_clone_node): Update. | |
18331 | * tree-pass.h (TODO_rebuild_frequencies): New constant. | |
18332 | * cgraphunit.c (verify_cgraph_node): Verify frequencies. | |
18333 | (cgraph_copy_node_for_versioning): Update call of cgraph_clone_edge. | |
18334 | (save_inline_function_body): Likewise. | |
18335 | * ipa-inline.c: inluce rtl.h | |
18336 | (cgraph_clone_inlined_nods): Update call of cgraph_clone_node. | |
18337 | (cgraph_edge_badness): Use frequencies. | |
18338 | (cgraph_decide_recursive_inlining): Update clonning. | |
18339 | (cgraph_decide_inlining_of_small_function): Dump frequency. | |
18340 | * predict.c (estimate_bb_frequencies): Export. | |
18341 | * predict.h (estimate_bb_frequencies): Declare. | |
18342 | * tree-inline.c (copy_bb): Watch overflows. | |
18343 | (expand_call_inline): Update call of cgraph_create_edge. | |
18344 | (optimize_inline_calls): Use TODO flags to update frequnecies. | |
18345 | * passes.h: Include predict.h | |
18346 | (init_optimization_passes): Move profile ahead. | |
18347 | (execute_function_todo): Handle TODO_rebuild_frequencies. | |
18348 | ||
9a6f4ddd | 18349 | 2007-02-09 Roger Sayle <roger@eyesopen.com> |
18350 | ||
18351 | * config/alpha/alpha.c (emit_insxl): Force the first operand of | |
18352 | the insbl or inswl pattern into a register. | |
18353 | ||
b4267756 | 18354 | 2007-02-09 Roger Sayle <roger@eyesopen.com> |
18355 | ||
18356 | * config/ia64/ia64.md (bswapdi2): New define_insn. | |
18357 | ||
f957796f | 18358 | 2007-02-09 Richard Henderson <rth@redhat.com> |
18359 | ||
18360 | * config/i386/constraints.md (Ym): New constraint. | |
18361 | * config/i386/i386.md (movsi_1): Change Y2 to Yi constraints. | |
18362 | (movdi_1_rex64): Split sse and xmm general register moves from | |
18363 | memory move alternatives. Use conditional register constraints. | |
18364 | (movsf_1, movdf_integer): Likewise. | |
18365 | (zero_extendsidi2_32, zero_extendsidi2_rex64): Likewise. | |
18366 | (movdf_integer_rex64): New. | |
18367 | (pushsf_rex64): Fix output constraints. | |
18368 | * config/i386/sse.md (sse2_loadld): Split rm alternative, use Yi. | |
18369 | (sse2_stored): Likewise. | |
18370 | (sse2_storeq_rex64): New. | |
18371 | * config/i386/i386.c (x86_inter_unit_moves): Enable for not | |
18372 | amd and not generic. | |
18373 | (ix86_secondary_memory_needed): Don't bypass TARGET_INTER_UNIT_MOVES | |
18374 | for optimize_size. Remove SF/DFmode hack. | |
18375 | ||
c6f3c945 | 18376 | 2007-02-09 Dwarakanath Rajagopal <dwarak.rajagopal@amd.com> |
b60d490a | 18377 | |
c6f3c945 | 18378 | * config/i386/driver-i386.c: Turn on -mtune=native for AMDFAM10. |
18379 | (bit_SSE4a): New. | |
b60d490a | 18380 | |
558b196a | 18381 | 2007-02-09 Nathan Sidwell <nathan@codesourcery.com> |
18382 | Richard Sandiford <richard@codesourcery.com> | |
18383 | ||
18384 | * config.gcc (m68010-*-netbsdelf*, m68k*-*-netbsdelf*) | |
18385 | (m68k*-*-openbsd*, m68k-*-linux*): Set default_cf_cpu. | |
18386 | (m68k-*-aout*, m68k-*-coff*, m68k-*-uclinux*, m68k-*-rtems*): Add | |
18387 | m68k/t-mlib to tmake_file. | |
18388 | (m68020-*-elf*, m68k-*-elf*): Likewise. Add t-m68kbare as well. | |
18389 | (m68k*-*-*): Use --with-arch to pick a default for --with-cpu. | |
18390 | (m680[012]0-*-*, m68k*-*-*): Add support for --with-arch. | |
18391 | Allow it to be cf or m68k. Set m68k_arch_family. If that | |
18392 | variable is not empty, add t-$m68k_arch_family to tmake_file. | |
18393 | Add t-mlibs to tmake_file. | |
18394 | * doc/install.texi: Document --with-arch=m68k and --with-arch=cf. | |
18395 | * config/m68k/t-cf: New file. | |
18396 | * config/m68k/t-m68k: Likewise. | |
18397 | * config/m68k/t-mlibs: Likewise. | |
18398 | * config/m68k/t-m68kbare (MULTILIB_OPTIONS, MULTILIB_DIRNAMES) | |
18399 | (MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete. | |
18400 | (M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define. | |
18401 | * config/m68k/t-m68kelf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES) | |
18402 | (MULTILIB_MATCHES, MULTILIB_EXCEPTIONS, LIBGCC, INSTALL_LIBGCC): | |
18403 | Delete. | |
18404 | * config/m68k/t-openbsd (MULTILIB_OPTIONS, LIBGCC): Delete. | |
18405 | (INSTALL_LIBGCC): Delete. | |
18406 | (M68K_MLIB_DIRNAMES, M68K_MLIB_OPTIONS): Define. | |
18407 | * config/m68k/t-rtems (MULTILIB_OPTIONS, MULTILIB_DIRNAMES) | |
18408 | (MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete. | |
18409 | (M68K_MLIB_CPU): Define. | |
18410 | * config/m68k/t-uclinux (MULTILIB_OPTIONS, MULTILIB_DIRNAMES) | |
18411 | (MULTILIB_MATCHES, MULTILIB_EXCEPTIONS): Delete. | |
18412 | (M68K_MLIB_CPU, M68K_MLIB_OPTIONS, M68K_MLIB_DIRNAMES): Define. | |
18413 | ||
a9995c22 | 18414 | 2007-02-09 Zdenek Dvorak <dvorakz@suse.cz> |
c6f3c945 | 18415 | Richard Guenther <rguenther@suse.de> |
a9995c22 | 18416 | |
18417 | PR middle-end/23361 | |
18418 | * fold-const.c (fold_comparison): Handle obfuscated comparisons | |
18419 | against INT_MIN/INT_MAX. | |
18420 | * tree-ssa-loop-ivcanon.c (remove_empty_loop): Print to dump | |
18421 | file if a loop is removed. | |
18422 | ||
851fc2b3 | 18423 | 2007-02-09 Joseph Myers <joseph@codesourcery.com> |
18424 | ||
18425 | * calls.c (store_one_arg): Pass correct alignment to | |
18426 | emit_push_insn for non-BLKmode values. | |
18427 | * expr.c (emit_push_insn): If STRICT_ALIGNMENT, copy to an | |
18428 | unaligned stack slot via a suitably aligned slot. | |
18429 | ||
89adc165 | 18430 | 2007-02-08 DJ Delorie <dj@redhat.com> |
18431 | ||
18432 | * config/m32c/m32c.c (m32c_unpend_compare): Add default to silence | |
18433 | warnings. | |
18434 | (legal_subregs): Use unsigned char, make const. | |
18435 | (m32c_illegal_subreg_p): Use ARRAY_SIZE. Delete unused variables. | |
18436 | ||
36fc2b2d | 18437 | 2007-02-08 Paul Brook <paul@codesourcery.com> |
18438 | ||
18439 | * config/arm/lib1funcs.asm (RETLDM): Pop directly into PC when no | |
18440 | special interworking needed. | |
18441 | ||
bfad7f66 | 18442 | 2007-02-08 Harsha Jagasia <harsha.jagasia@amd.com> |
18443 | ||
18444 | * config/i386/xmmintrin.h: Make inclusion of emmintrin.h | |
18445 | conditional to __SSE2__. | |
18446 | (Entries below should have been added to first ChangeLog | |
18447 | entry for amdfam10 dated 2007-02-05) | |
18448 | * config/i386/emmintrin.h: Generate #error if __SSE2__ is not | |
18449 | defined. | |
18450 | * config/i386/pmmintrin.h: Generate #error if __SSE3__ is not | |
18451 | defined. | |
18452 | * config/i386/tmmintrin.h: Generate #error if __SSSE3__ is not | |
18453 | defined. | |
18454 | ||
80be3ac5 | 18455 | 2007-02-08 DJ Delorie <dj@redhat.com> |
18456 | ||
18457 | * config/m32c/m32c-protos.h (m32c_illegal_subreg_p): New. | |
18458 | * config/m32c/m32c.c (legal_subregs): New. | |
18459 | (m32c_illegal_subreg_p): New. | |
18460 | * config/m32c/predicates.md (m32c_any_operand): Use it to reject | |
18461 | unsupported subregs of hard regs. | |
18462 | ||
54746cd3 | 18463 | 2007-02-08 Jan Hubicka <jh@suse.cz> |
18464 | ||
18465 | * tree-cfg.c (bsi_replace): Shortcut when replacing the statement with | |
18466 | the same one; always update histograms. | |
18467 | ||
48a12060 | 18468 | 2007-02-08 Diego Novillo <dnovillo@redhat.com> |
18469 | ||
18470 | * passes.c (init_optimization_passes): Tidy comment. | |
18471 | ||
199c981a | 18472 | 2007-02-08 Roger Sayle <roger@eyesopen.com> |
18473 | ||
18474 | * simplify-rtx.c (simplify_unary_operation_1) <POPCOUNT>: We can | |
18475 | strip zero_extend, bswap and rotates from POCOUNT's argument. | |
18476 | <PARITY>: Likewise, we can strip not, bswap, sign_extend, | |
18477 | zero_extend and rotates from PARITY's argument. | |
18478 | <BSWAP>: A byte-swap followed by a byte-swap is an identity. | |
18479 | (simplify_const_unary_operation) <BSWAP>: Evaluate the byte-swap | |
18480 | of an integer constant at compile-time. | |
18481 | ||
ce4a3cad | 18482 | 2007-02-08 Diego Novillo <dnovillo@redhat.com> |
18483 | ||
18484 | PR 30562 | |
18485 | * tree-flow.h (struct var_ann_d): Remove field 'is_used'. | |
18486 | Update all users. | |
18487 | * tree-ssa-alias.c (compute_is_aliased): Remove. Update all | |
18488 | users. | |
18489 | (init_alias_info): | |
18490 | * tree-ssa-live.c (remove_unused_locals): Do not remove | |
18491 | TREE_ADDRESSABLE variables. | |
18492 | * tree-ssa-structalias.c (compute_points_to_sets): Tidy. | |
18493 | * tree-ssa-operands.c (add_virtual_operand): Remove argument | |
18494 | FOR_CLOBBER. Update all users. | |
18495 | If VAR has an associated alias set, add a virtual operand for | |
18496 | it if no alias is found to conflict with the memory reference. | |
18497 | ||
a63f3f1d | 18498 | 2007-02-07 Jan Hubicka <jh@suse.cz> |
18499 | Robert Kidd <rkidd@crhc.uiuc.edu> | |
18500 | ||
18501 | * value-prof.c (visit_hist, free_hist): Return 1 instead of 0. | |
18502 | ||
5e016dfc | 18503 | 2007-02-07 Ian Lance Taylor <iant@google.com> |
18504 | ||
18505 | * lower-subreg.c (simple_move): Reject PARTIAL_INT modes. | |
18506 | ||
8fd0991a | 18507 | 2007-02-07 Roger Sayle <roger@eyesopen.com> |
18508 | ||
18509 | * config/rs6000/rs6000.md (ctz<mode>2, ffs<mode>2, popcount<mode>2, | |
18510 | parity<mode>2, smulsi3_highpart, abstf2_internal, allocate_stack, | |
18511 | tablejumpdi, movsi_to_cr_one): Remove constraints from | |
18512 | define_expand's match_operands. | |
18513 | ||
808f5ffc | 18514 | 2007-02-07 Roger Sayle <roger@eyesopen.com> |
18515 | ||
18516 | * global.c (compute_regsets): Move declatation of "i" inside of | |
18517 | #ifdef ELIMINABLE_REGS to avoid unused variable bootstrap failure. | |
18518 | ||
587ac6db | 18519 | 2007-02-07 Jakub Jelinek <jakub@redhat.com> |
18520 | ||
6bfa729b | 18521 | PR c++/30703 |
18522 | * gimplify.c (gimplify_scan_omp_clauses): Remove special casing | |
18523 | of INDIRECT_REF <RESULT_DECL>. | |
18524 | ||
587ac6db | 18525 | * config/i386/i386.c (override_options): Set PTA_SSSE3 for core2. |
18526 | ||
feb80442 | 18527 | 2007-02-06 J"orn Rennecke <joern.rennecke@arc.com> |
18528 | Kaz Kojima <kkojima@gcc.gnu.org> | |
18529 | ||
18530 | PR target/29746 | |
18531 | * config/sh/sh.c (expand_cbranchdi4): Use scratch register | |
18532 | properly. | |
18533 | (sh_initialize_trampoline): Add parentheses to avoid a warning. | |
18534 | ||
4a6f9e19 | 18535 | 2007-02-06 Zdenek Dvorak <dvorakz@suse.cz> |
18536 | ||
18537 | * doc/loop.texi: Document possibility not to perform disambiguation | |
18538 | of loops with multiple latches. | |
18539 | * cfgloopmanip.c (alp_enum_p): Removed. | |
18540 | (add_loop): Handle subloops. Use get_loop_body_with_size. | |
18541 | (create_preheader): Do not allow ENTRY_BLOCK_PTR to be preheader. | |
18542 | * cfghooks.c (redirect_edge_and_branch_force): Set dominator for | |
18543 | the new forwarder block. | |
18544 | (make_forwarder_block): Only call new_bb_cbk if it is not NULL. | |
18545 | Handle the case latch is NULL. | |
ed69c853 | 18546 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Avoid cfg |
18547 | modifications when marking loop exits. | |
4a6f9e19 | 18548 | * ifcvt.c (if_convert): Ditto. Mark loop exits even if cfg cannot |
18549 | be modified. | |
18550 | * loop-init.c (loop_optimizer_init): Do not modify cfg. Call | |
18551 | disambiguate_loops_with_multiple_latches. | |
18552 | * tree-cfgcleanup.c (cleanup_tree_cfg_loop): Calculate dominators | |
18553 | before fix_loop_structure. | |
18554 | * cfgloop.c: Include pointer-set.h and output.h. | |
18555 | (canonicalize_loop_headers, HEADER_BLOCK, LATCH_EDGE, | |
18556 | update_latch_info, mfb_keep_just, mfb_keep_nonlatch): Removed. | |
18557 | (get_loop_latch_edges, find_subloop_latch_edge_by_profile, | |
18558 | find_subloop_latch_edge_by_ivs, find_subloop_latch_edge, | |
18559 | mfb_redirect_edges_in_set, form_subloop, merge_latch_edges, | |
18560 | disambiguate_multiple_latches, get_loop_body_with_size, | |
18561 | disambiguate_loops_with_multiple_latches): New functions. | |
18562 | (flow_loop_dump): Dump multiple latch edges. | |
18563 | (flow_loop_nodes_find): Handle loops with multiple latches. | |
18564 | (flow_loops_find): Ditto. Do not call canonicalize_loop_headers. | |
18565 | (glb_enum_p): Modified. | |
18566 | (get_loop_body): Use get_loop_body_with_size. | |
18567 | * cfgloop.h (LOOPS_HAVE_RECORDED_EXITS): New flag. | |
18568 | (AVOID_CFG_MODIFICATIONS): New constant. | |
18569 | (disambiguate_loops_with_multiple_latches, add_loop, | |
18570 | get_loop_body_with_size): Declare. | |
18571 | * Makefile.in (cfgloop.o): Add pointer-set.h and output.h. | |
18572 | ||
87861bf1 | 18573 | 2007-02-06 Seongbae Park <seongbae.park@gmail.com> |
18574 | ||
18575 | PR inline-asm/28686 | |
18576 | * global.c (compute_regsets): New function. | |
18577 | (global_alloc): Refactored ELIMINABLE_REGSET | |
18578 | and NO_GLOBAL_ALLOC_REGS computation out. | |
18579 | (rest_of_handle_global_alloc): Call compute_regsets() | |
18580 | for non-optimizing case. | |
18581 | ||
7e777250 | 18582 | 2007-02-06 Richard Henderson <rth@redhat.com> |
18583 | ||
18584 | * config/i386/constraints.md (Y2): Rename from Y. | |
18585 | (Yi): New constraint. | |
18586 | * config/i386/i386.md (movsi_1, movdi_2, pushdf_nointeger, | |
18587 | pushdf_integer, movdf_nointeger, movdf_integer, zero_extendsidi2_32, | |
18588 | zero_extendsidi2_rex64, truncxfdf2_mixed): Change Y constraints to Y2. | |
18589 | (extendsfdf2_mixed, extendsfdf2_sse, truncdfsf_fast_mixed, | |
18590 | truncdfsf_fast_sse, truncdfsf_mixed, fix_truncdfdi_sse, | |
18591 | fix_truncdfsi_sse, floatsidf2_mixed, floatsidf2_sse, | |
ec72623f | 18592 | floatdidf2_mixed, floatdidf2_sse, absnegdf2_mixed, |
7e777250 | 18593 | absnegdf2_sse, sse_setccdf, fop_df_comm_mixed, fop_df_comm_sse, |
18594 | fop_df_1_mixed, fop_df_1_sse): Change Y constraints to x. | |
18595 | * config/i386/mmx.md (mov<MMXMODEI>_internal_rex64, | |
18596 | mov<MMXMODEI>_internal, movv2sf_internal_rex64, movv2sf_internal, | |
18597 | vec_extractv2si_1): Change Y constraints to Y2. | |
18598 | * config/i386/sse.md (vec_setv4sf_0, vec_concatv2df, vec_dupv4si, | |
18599 | vec_dupv2di, sse2_concatv2si, vec_concatv4si_1, vec_concatv2di): | |
18600 | Change Y constraints to Y2. | |
18601 | (sse2_loadld): Change Y constraints to x. | |
18602 | ||
083405c7 | 18603 | 2007-02-06 Roger Sayle <roger@eyesopen.com> |
18604 | ||
18605 | * config/rs6000/rs6000.md (popcount<mode>2): Rewrite. | |
18606 | (parity<mode>2): New define_expand using rs6000_emit_parity. | |
18607 | * config/rs6000/rs6000.c (rs6000_emit_popcount, | |
18608 | rs6000_emit_parity): New functions. | |
18609 | * config/rs6000/rs6000-protos.h (rs6000_emit_popcount, | |
18610 | rs6000_emit_parity): Prototype here. | |
18611 | ||
ab9eaa97 | 18612 | 2007-02-06 Ian Lance Taylor <iant@google.com> |
18613 | ||
18614 | * lower-subreg.c (simple_move_operand): Reject CONST. | |
18615 | (resolve_clobber): Call validate_change rather than directly | |
18616 | assigning to XEXP (pat, 0). | |
18617 | ||
b30a8715 | 18618 | 2006-02-06 Paolo Bonzini <bonzini@gnu.org> |
18619 | ||
18620 | * Makefile.in (tree-ssa-loop-ivopts.o): Add pointer-set.h dependency. | |
18621 | (tree-ssa-reassoc.o): Add pointer-set.h dependency. | |
18622 | (tree-cfg.o): Remove hashtab.h dependency. | |
18623 | ||
18624 | * tree-ssa-loop-ivopts.c: Include pointer-set.h. | |
18625 | (struct ivopts_data): Change niters to pointer_map_t. | |
18626 | (struct nfe_cache_elt, nfe_hash, nfe_eq): Delete. | |
18627 | (niter_for_exit): Create pointer_map on demand. Change for | |
18628 | pointer_map API. | |
18629 | (tree_ssa_iv_optimize_init): Initialize data->niters to NULL. | |
18630 | (free_loop_data): Destroy data->niters if created and reset field. | |
18631 | (tree_ssa_iv_optimize_finalize): Don't delete data->niters here. | |
18632 | (tree_ssa_iv_optimize_loop): Check for presence of stale data. | |
18633 | ||
18634 | * tree-ssa-reassoc.c: Include pointer-set.h. | |
18635 | (bb_rank): Change to long *. | |
18636 | (operand_rank): Change to pointer_map_t. | |
18637 | (find_operand_rank): Return long, -1 if not found. Declare as inline. | |
18638 | (insert_operand_rank): Accept long. | |
18639 | (operand_entry_hash, operand_entry_eq): Remove. | |
18640 | (get_rank): Return long. Adjust for changes above. | |
18641 | (init_reassoc): Change rank type to long. Adjust creation of bb_rank | |
18642 | and operand_rank. | |
18643 | (fini_reassoc): Delete operand_rank with pointer_map_destroy. | |
18644 | ||
18645 | * tree-ssa-structalias.c (vi_for_tree): Change to pointer_map. | |
18646 | (struct tree_vi, tree_vi_t, tree_vi_hash, tree_vi_eq): Delete. | |
18647 | (insert_vi_for_tree): Rewrite for pointer_map API. Assert argument | |
18648 | is not NULL. | |
18649 | (lookup_vi_for_tree): Rewrite for pointer_map API. Return varinfo_t | |
18650 | directly since it cannot be NULL. | |
18651 | (get_vi_for_tree): Rewrite for pointer_map API. | |
18652 | (find_what_p_points_to): Adjust for change to lookup_vi_for_tree. | |
18653 | (init_alias_vars): Create vi_for_tree as pointer_map. | |
18654 | (delete_points_to_sets): Delete vi_for_tree using pointer_map_destroy. | |
18655 | ||
18656 | * tree-cfg.c: Don't include hashtab.h. | |
18657 | (edge_to_cases): Declare as pointer_map. | |
18658 | (struct edge_to_cases_elt, edge_to_cases_hash, edge_to_cases_eq): | |
18659 | Delete. | |
18660 | (edge_to_cases_cleanup): Rewrite as pointer_map_traverse callback. | |
18661 | (start_recording_case_labels): Create edge_to_cases as pointer_map. | |
18662 | (end_recoding_case_labels): Cleanup edge_to_cases manually before | |
18663 | destroying it. | |
18664 | (record_switch_edge): Delete. | |
18665 | (get_cases_for_edge): Adjust for pointer_map API, inline | |
18666 | record_switch_edge (rewritten for new API), remove goto. | |
18667 | ||
18668 | 2006-02-06 Paolo Bonzini <bonzini@gnu.org> | |
18669 | ||
18670 | * Makefile.in (tree-nested.o): Add pointer-set.h dependency. | |
18671 | * tree-nested.c: Include pointer-set.h. | |
18672 | (var_map_elt, var_map_eq, var_map_hash): Delete. | |
18673 | (struct nesting_info): Remove GTY marker. Change the two htab_t's | |
18674 | to pointer_map_t's. | |
18675 | (nesting_info_bitmap_obstack): New. | |
18676 | (lookup_field_for_decl): Adjust for pointer_map API. | |
18677 | (lookup_tramp_for_decl): Adjust for pointer_map API. | |
18678 | (get_nonlocal_debug_decl): Adjust for pointer_map API. | |
18679 | (get_local_debug_decl): Adjust for pointer_map API. | |
18680 | (convert_nl_goto_reference): Adjust for pointer_map API. | |
18681 | (convert_nl_goto_receiver): Adjust for pointer_map API. | |
18682 | (create_nesting_tree): Create outside GGC space. Create bitmap on | |
18683 | the new obstack. Create field_map and var_map as pointer_maps. | |
18684 | (free_nesting_tree): Adjust for changes to create_nesting_tree. | |
ec72623f | 18685 | (root): Delete. |
b30a8715 | 18686 | (lower_nested_functions): Move root here, no need to NULL it. |
18687 | Initialize and release the obstack. | |
18688 | ||
bfd211a3 | 18689 | 2007-02-06 Paolo Bonzini <bonzini@gnu.org> |
18690 | ||
c6f3c945 | 18691 | * tree.c (tree_int_map_hash, tree_int_map_eq, tree_int_map_marked_p): |
18692 | Remove prototypes and make them non-static. | |
18693 | (struct tree_int_map): Remove. | |
18694 | * tree.h (struct tree_int_map): Move here, turning TO into an | |
18695 | unsigned int. | |
18696 | (tree_int_map_hash, tree_int_map_eq, tree_int_map_marked_p): Declare. | |
bfd211a3 | 18697 | |
c6f3c945 | 18698 | * tree.h (TREE_COMPLEXITY): Remove. |
18699 | (struct tree_exp): Remove complexity field. | |
18700 | * tree.c (build1_stat): Don't set it. | |
bfd211a3 | 18701 | |
2a6e95ba | 18702 | 2007-02-06 Dorit Nuzman <dorit@il.ibm.com> |
18703 | Victor Kaplansky <victork@il.ibm.com> | |
18704 | ||
18705 | * tree-vectorizer.c (vect_is_simple_use): Support induction. | |
18706 | (vect_is_simple_reduction): Support reduction with induction as | |
18707 | one of the operands. | |
18708 | (vect_is_simple_iv_evolution): Fix formatting. | |
ec72623f | 18709 | * tree-vect-analyze.c (vect_mark_stmts_to_be_vectorized): Fix |
2a6e95ba | 18710 | formatting. Don't mark induction phis for vectorization. |
18711 | (vect_analyze_scalar_cycles): Analyze all inductions, then reductions. | |
18712 | * tree-vect-transform.c (get_initial_def_for_induction): New function. | |
18713 | (vect_get_vec_def_for_operand): Support induction. | |
18714 | (vect_get_vec_def_for_stmt_copy): Fix formatting and add check for | |
18715 | induction case. | |
ec72623f | 18716 | (vectorizable_reduction): Support reduction with induction as one of |
18717 | the operands. | |
2a6e95ba | 18718 | (vectorizable_type_demotion): Use def-type of stmt argument rather |
18719 | than dummy def-type. | |
18720 | ||
18721 | * tree-ssa-loop.c (gate_scev_const_prop): Return the value of | |
18722 | flag_tree_scev_cprop. | |
18723 | * common.opt (tree-scev-cprop): New flag. | |
18724 | ||
18725 | * tree-vect-transform.c (vect_create_destination_var): Use 'kind' in | |
18726 | call to vect_get_new_vect_var. | |
18727 | ||
f031fa03 | 18728 | 2007-02-06 Ira Rosen <irar@il.ibm.com> |
18729 | ||
ec72623f | 18730 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): Check that |
f031fa03 | 18731 | vectype is not NULL. |
18732 | (vect_pattern_recog_1): Likewise. | |
18733 | ||
6da8bb4f | 18734 | 2007-02-05 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
18735 | ||
18736 | * fold-const.c (negate_expr_p): Handle CONJ_EXPR. | |
18737 | (fold_negate_expr): Likewise. | |
18738 | ||
37f26c2d | 18739 | 2007-02-05 Alexandre Oliva <aoliva@redhat.com> |
18740 | ||
18741 | PR debug/30189 | |
18742 | * dwarf2out.c (modified_type_die): Follow DECL_ORIGINAL_TYPE | |
18743 | even if cv-qualification is the same. | |
18744 | ||
4777eff4 | 18745 | 2007-02-05 Geoffrey Keating <geoffk@apple.com> |
18746 | ||
18747 | * config/rs6000/darwin-tramp.asm (__trampoline_setup): Call | |
18748 | __enable_execute_stack on completion. | |
18749 | ||
c6f3c945 | 18750 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
3d775f8e | 18751 | |
18752 | * config/i386/athlon.md (athlon_fldxf_k8, athlon_fld_k8, | |
18753 | athlon_fstxf_k8, athlon_fst_k8, athlon_fist, athlon_fmov, | |
18754 | athlon_fadd_load, athlon_fadd_load_k8, athlon_fadd, athlon_fmul, | |
18755 | athlon_fmul_load, athlon_fmul_load_k8, athlon_fsgn, | |
18756 | athlon_fdiv_load, athlon_fdiv_load_k8, athlon_fdiv_k8, | |
18757 | athlon_fpspc_load, athlon_fpspc, athlon_fcmov_load, | |
18758 | athlon_fcmov_load_k8, athlon_fcmov_k8, athlon_fcomi_load_k8, | |
18759 | athlon_fcomi, athlon_fcom_load_k8, athlon_fcom): Added amdfam10. | |
18760 | ||
c6f3c945 | 18761 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
3d775f8e | 18762 | |
18763 | * config/i386/i386.md (x86_sahf_1, cmpfp_i_mixed, cmpfp_i_sse, | |
18764 | cmpfp_i_i387, cmpfp_iu_mixed, cmpfp_iu_sse, cmpfp_iu_387, | |
18765 | swapsi, swaphi_1, swapqi_1, swapdi_rex64, fix_truncsfdi_sse, | |
18766 | fix_truncdfdi_sse, fix_truncsfsi_sse, fix_truncdfsi_sse, | |
18767 | x86_fldcw_1, floatsisf2_mixed, floatsisf2_sse, floatdisf2_mixed, | |
18768 | floatdisf2_sse, floatsidf2_mixed, floatsidf2_sse, | |
18769 | floatdidf2_mixed, floatdidf2_sse, muldi3_1_rex64, mulsi3_1, | |
18770 | mulsi3_1_zext, mulhi3_1, mulqi3_1, umulqihi3_1, mulqihi3_insn, | |
18771 | umulditi3_insn, umulsidi3_insn, mulditi3_insn, mulsidi3_insn, | |
18772 | umuldi3_highpart_rex64, umulsi3_highpart_insn, | |
18773 | umulsi3_highpart_zext, smuldi3_highpart_rex64, | |
18774 | smulsi3_highpart_insn, smulsi3_highpart_zext, x86_64_shld, | |
18775 | x86_shld_1, x86_64_shrd, sqrtsf2_mixed, sqrtsf2_sse, | |
18776 | sqrtsf2_i387, sqrtdf2_mixed, sqrtdf2_sse, sqrtdf2_i387, | |
18777 | sqrtextendsfdf2_i387, sqrtxf2, sqrtextendsfxf2_i387, | |
18778 | sqrtextenddfxf2_i387): Added amdfam10_decode. | |
ec72623f | 18779 | |
3d775f8e | 18780 | * config/i386/athlon.md (athlon_idirect_amdfam10, |
18781 | athlon_ivector_amdfam10, athlon_idirect_load_amdfam10, | |
18782 | athlon_ivector_load_amdfam10, athlon_idirect_both_amdfam10, | |
18783 | athlon_ivector_both_amdfam10, athlon_idirect_store_amdfam10, | |
18784 | athlon_ivector_store_amdfam10): New define_insn_reservation. | |
18785 | (athlon_idirect_loadmov, athlon_idirect_movstore): Added | |
18786 | amdfam10. | |
18787 | ||
c6f3c945 | 18788 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
3d775f8e | 18789 | |
18790 | * config/i386/athlon.md (athlon_call_amdfam10, | |
18791 | athlon_pop_amdfam10, athlon_lea_amdfam10): New | |
18792 | define_insn_reservation. | |
18793 | (athlon_branch, athlon_push, athlon_leave_k8, athlon_imul_k8, | |
18794 | athlon_imul_k8_DI, athlon_imul_mem_k8, athlon_imul_mem_k8_DI, | |
18795 | athlon_idiv, athlon_idiv_mem, athlon_str): Added amdfam10. | |
18796 | ||
c6f3c945 | 18797 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
3d775f8e | 18798 | |
18799 | * config/i386/athlon.md (athlon_sseld_amdfam10, | |
18800 | athlon_mmxld_amdfam10, athlon_ssest_amdfam10, | |
18801 | athlon_mmxssest_short_amdfam10): New define_insn_reservation. | |
18802 | ||
c6f3c945 | 18803 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
3d775f8e | 18804 | |
18805 | * config/i386/athlon.md (athlon_sseins_amdfam10): New | |
18806 | define_insn_reservation. | |
18807 | * config/i386/i386.md (sseins): Added sseins to define_attr type | |
18808 | and define_attr unit. | |
18809 | * config/i386/sse.md: Set type attribute to sseins for insertq | |
18810 | and insertqi. | |
18811 | ||
c6f3c945 | 18812 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
3d775f8e | 18813 | |
18814 | * config/i386/athlon.md (sselog_load_amdfam10, sselog_amdfam10, | |
18815 | ssecmpvector_load_amdfam10, ssecmpvector_amdfam10, | |
18816 | ssecomi_load_amdfam10, ssecomi_amdfam10, | |
18817 | sseaddvector_load_amdfam10, sseaddvector_amdfam10): New | |
18818 | define_insn_reservation. | |
18819 | (ssecmp_load_k8, ssecmp, sseadd_load_k8, seadd): Added amdfam10. | |
18820 | ||
c6f3c945 | 18821 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
3d775f8e | 18822 | |
18823 | * config/i386/athlon.md (cvtss2sd_load_amdfam10, | |
18824 | cvtss2sd_amdfam10, cvtps2pd_load_amdfam10, cvtps2pd_amdfam10, | |
18825 | cvtsi2sd_load_amdfam10, cvtsi2ss_load_amdfam10, | |
18826 | cvtsi2sd_amdfam10, cvtsi2ss_amdfam10, cvtsd2ss_load_amdfam10, | |
18827 | cvtsd2ss_amdfam10, cvtpd2ps_load_amdfam10, cvtpd2ps_amdfam10, | |
ec72623f | 18828 | cvtsX2si_load_amdfam10, cvtsX2si_amdfam10): New |
3d775f8e | 18829 | define_insn_reservation. |
18830 | ||
18831 | * config/i386/sse.md (cvtsi2ss, cvtsi2ssq, cvtss2si, | |
18832 | cvtss2siq, cvttss2si, cvttss2siq, cvtsi2sd, cvtsi2sdq, | |
18833 | cvtsd2si, cvtsd2siq, cvttsd2si, cvttsd2siq, | |
18834 | cvtpd2dq, cvttpd2dq, cvtsd2ss, cvtss2sd, | |
18835 | cvtpd2ps, cvtps2pd): Added amdfam10_decode attribute. | |
18836 | ||
c6f3c945 | 18837 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
3d775f8e | 18838 | |
18839 | * config/i386/athlon.md (athlon_ssedivvector_amdfam10, | |
18840 | athlon_ssedivvector_load_amdfam10, athlon_ssemulvector_amdfam10, | |
18841 | athlon_ssemulvector_load_amdfam10): New define_insn_reservation. | |
18842 | (athlon_ssediv, athlon_ssediv_load_k8, athlon_ssemul, | |
18843 | athlon_ssemul_load_k8): Added amdfam10. | |
18844 | ||
c6f3c945 | 18845 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
3d775f8e | 18846 | |
18847 | * config/i386/i386.h (TARGET_SSE_UNALIGNED_MOVE_OPTIMAL): New macro. | |
18848 | (x86_sse_unaligned_move_optimal): New variable. | |
ec72623f | 18849 | |
18850 | * config/i386/i386.c (x86_sse_unaligned_move_optimal): Enable for | |
3d775f8e | 18851 | m_AMDFAM10. |
18852 | (ix86_expand_vector_move_misalign): Add code to generate movupd/movups | |
18853 | for unaligned vector SSE double/single precision loads for AMDFAM10. | |
18854 | ||
c6f3c945 | 18855 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
3d775f8e | 18856 | |
18857 | * config/i386/i386.h (TARGET_AMDFAM10): New macro. | |
18858 | (TARGET_CPU_CPP_BUILTINS): Add code for amdfam10. | |
18859 | Define TARGET_CPU_DEFAULT_amdfam10. | |
18860 | (TARGET_CPU_DEFAULT_NAMES): Add amdfam10. | |
ec72623f | 18861 | (processor_type): Add PROCESSOR_AMDFAM10. |
18862 | ||
3d775f8e | 18863 | * config/i386/i386.md: Add amdfam10 as a new cpu attribute to match |
18864 | processor_type in config/i386/i386.h. | |
18865 | Enable imul peepholes for TARGET_AMDFAM10. | |
ec72623f | 18866 | |
3d775f8e | 18867 | * config.gcc: Add support for --with-cpu option for amdfam10. |
ec72623f | 18868 | |
3d775f8e | 18869 | * config/i386/i386.c (amdfam10_cost): New variable. |
18870 | (m_AMDFAM10): New macro. | |
18871 | (m_ATHLON_K8_AMDFAM10): New macro. | |
18872 | (x86_use_leave, x86_push_memory, x86_movx, x86_unroll_strlen, | |
18873 | x86_cmove, x86_3dnow_a, x86_deep_branch, x86_use_simode_fiop, | |
18874 | x86_promote_QImode, x86_integer_DFmode_moves, | |
ec72623f | 18875 | x86_partial_reg_dependency, x86_memory_mismatch_stall, |
3d775f8e | 18876 | x86_accumulate_outgoing_args, x86_arch_always_fancy_math_387, |
18877 | x86_sse_partial_reg_dependency, x86_sse_typeless_stores, | |
18878 | x86_use_ffreep, x86_use_incdec, x86_four_jump_limit, | |
18879 | x86_schedule, x86_use_bt, x86_cmpxchg16b, x86_pad_returns): | |
18880 | Enable/disable for amdfam10. | |
18881 | (override_options): Add amdfam10_cost to processor_target_table. | |
ec72623f | 18882 | Set up PROCESSOR_AMDFAM10 for amdfam10 entry in |
3d775f8e | 18883 | processor_alias_table. |
18884 | (ix86_issue_rate): Add PROCESSOR_AMDFAM10. | |
18885 | (ix86_adjust_cost): Add code for amdfam10. | |
18886 | ||
c6f3c945 | 18887 | 2007-02-05 Harsha Jagasia <harsha.jagasia@amd.com> |
ec72623f | 18888 | |
3d775f8e | 18889 | * config/i386/i386.opt: Add new Advanced Bit Manipulation (-mabm) |
ec72623f | 18890 | instruction set feature flag. Add new (-mpopcnt) flag for popcnt |
3d775f8e | 18891 | instruction. Add new SSE4A (-msse4a) instruction set feature flag. |
18892 | * config/i386/i386.h: Add builtin definition for SSE4A. | |
ec72623f | 18893 | * config/i386/i386.md: Add support for ABM instructions |
3d775f8e | 18894 | (popcnt and lzcnt). |
18895 | * config/i386/sse.md: Add support for SSE4A instructions | |
18896 | (movntss, movntsd, extrq, insertq). | |
18897 | * config/i386/i386.c: Add support for ABM and SSE4A builtins. | |
18898 | Add -march=amdfam10 flag. | |
18899 | * config/i386/ammintrin.h: Add support for SSE4A intrinsics. | |
18900 | * doc/invoke.texi: Add documentation on flags for sse4a, abm, popcnt | |
18901 | and amdfam10. | |
18902 | * doc/extend.texi: Add documentation for SSE4A builtins. | |
18903 | ||
b0e603fe | 18904 | 2007-02-05 Bob Wilson <bob.wilson@acm.org> |
18905 | ||
18906 | * config/xtensa/xtensa.c (constantpool_mem_p): Skip over SUBREGs. | |
18907 | ||
6d85df69 | 18908 | 2007-02-05 Richard Guenther <rguenther@suse.de> |
18909 | ||
18910 | * tree-vectorizer.h (vectorizable_function): Add argument type | |
18911 | argument, change return type. | |
18912 | * tree-vect-patterns.c (vect_recog_pow_pattern): Adjust caller. | |
18913 | * tree-vect-transform.c (vectorizable_function): Handle extra | |
18914 | argument, return vectorized function decl. | |
18915 | (build_vectorized_function_call): Remove. | |
18916 | (vectorizable_call): Handle calls with result and argument types | |
18917 | differing. Handle loop vectorization factor correctly. | |
18918 | * targhooks.c (default_builtin_vectorized_function): Adjust for | |
18919 | extra argument. | |
18920 | * targhooks.h (default_builtin_vectorized_function): Likewise. | |
18921 | * target.h (builtin_vectorized_function): Add argument type | |
c6f3c945 | 18922 | argument. |
6d85df69 | 18923 | * config/i386/i386.c (ix86_builtin_vectorized_function): Handle |
18924 | extra argument, allow vectorizing of lrintf. | |
18925 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): Adjust | |
18926 | documentation of target hook. | |
18927 | ||
f6a8d1cb | 18928 | 2007-02-05 Hans-Peter Nilsson <hp@axis.com> |
18929 | ||
a0faeb5b | 18930 | PR target/30665 |
f6a8d1cb | 18931 | * config/cris/cris.md ("*andsi_movu", "*andsi_clear", "*andhi_movu") |
18932 | ("*andhi_clear", andu (casesi+45)): For size-changed operand where | |
18933 | memory is allowed, require !side_effects_p, not just !MEM_VOLATILE_P. | |
18934 | ||
2a6b4c77 | 18935 | 2007-02-05 Roger Sayle <roger@eyesopen.com> |
18936 | ||
18937 | * fold-const.c (fold_unary) <REAL_PART>: Test for availability of | |
18938 | BUILT_IN_COS before simplifying REAL_PART(CEXPI)) to COS. | |
18939 | <IMAG_PART>: Likewise, check for availability of BUILT_IN_SIN. | |
18940 | * builtins.c (fold_builtin_sincos): Check for TARGET_C99_FUNCTIONS | |
18941 | before canonicalizing sincos to cexpi. | |
18942 | (fold_builtin_cexp): Likewise, for canonicalizing cexp to cexpi. | |
18943 | ||
b657e73a | 18944 | 2007-02-05 Roger Sayle <roger@eyesopen.com> |
18945 | ||
18946 | * config/alpha/alpha.c (alpha_add_builtins): New Helper function. | |
18947 | Set TREE_READONLY and TREE_NOTHROW directly, not via attributes. | |
18948 | (alpha_init_builtins): Use alpha_add_builtins to process tables. | |
18949 | ||
730c983c | 18950 | 2007-02-05 Roger Sayle <roger@eyesopen.com> |
18951 | ||
18952 | * mips-tfile.c (initialize_init_file): Correct endianness test. | |
18953 | ||
22f6d4d0 | 18954 | 2007-02-05 Kazu Hirata <kazu@codesourcery.com> |
18955 | ||
18956 | * config/m68k/m68k.md (pushdi-1, pushdi, movsi+1): Don't use | |
18957 | the 'y' constraint. | |
18958 | ||
a1d50f1d | 18959 | 2007-02-05 Richard Sandiford <richard@codesourcery.com> |
18960 | ||
18961 | * dwarf2out.c (dwarf2out_frame_debug_expr): Record the register | |
18962 | saves in a PARALLEL before the register assignments. | |
18963 | ||
dd5e1e90 | 18964 | 2007-02-05 Richard Sandiford <richard@codesourcery.com> |
18965 | ||
18966 | * doc/tm.texi (DWARF_ALT_FRAME_RETURN_COLUMN): Do not require | |
18967 | DWARF_FRAME_RETURN_COLUMN to be a general register. | |
18968 | * dwarf2out.c (init_return_column_size): New function, split from... | |
18969 | (expand_builtin_init_dwarf_reg_sizes): ...here. Allow both | |
18970 | DWARF_FRAME_RETURN_COLUMN and DWARF_ALT_FRAME_RETURN_COLUMN | |
18971 | to be nongeneral registers. | |
18972 | * config/m68k/m68k.h (DWARF_FRAME_REGNUM): Only map FP and | |
18973 | integer registers. | |
18974 | (DWARF_FRAME_REGISTERS, DWARF_FRAME_RETURN_COLUMN): Define. | |
18975 | (DWARF_ALT_FRAME_RETURN_COLUMN): Define. | |
18976 | ||
2a3e49aa | 18977 | 2007-02-04 Zdenek Dvorak <dvorakz@suse.cz> |
18978 | ||
18979 | * cfgcleanup.c (try_optimize_cfg): Avoid removing ENTRY_BLOCK_PTR. | |
18980 | ||
611d2ac1 | 18981 | 2007-02-04 Zdenek Dvorak <dvorakz@suse.cz> |
18982 | ||
18983 | * cfgloopmanip.c (loop_delete_branch_edge): Removed. | |
18984 | (remove_path): Use can_remove_branch_p and remove_branch instead | |
18985 | of loop_delete_branch_edge. | |
18986 | * tree-ssa-loop-manip.c (scale_dominated_blocks_in_loop): New function. | |
18987 | (tree_transform_and_unroll_loop): Remove dead branches immediately. | |
18988 | Update profile using scale_dominated_blocks_in_loop. | |
18989 | * cfghooks.c (can_remove_branch_p, remove_branch): New functions. | |
18990 | * cfghooks.h (struct cfg_hooks): Add can_remove_branch_p. | |
18991 | (can_remove_branch_p, remove_branch): Declare. | |
18992 | * tree-cfg.c (tree_can_remove_branch_p): New function. | |
18993 | (tree_cfg_hooks): Add tree_can_remove_branch_p. | |
18994 | * cfgrtl.c (rtl_can_remove_branch_p): New function. | |
18995 | (rtl_cfg_hooks, cfg_layout_rtl_cfg_hook): Add rtl_can_remove_branch_p. | |
18996 | ||
9606b4af | 18997 | 2007-02-05 Jan Hubicka <jh@suse.cz> |
18998 | ||
18999 | PR middle-end/30696 | |
19000 | * ipa-inline.c (cgraph_clone_inlined_nodes): When there are unanalyzed | |
19001 | nodes in cgraph, don't remove offline copy of the function. | |
19002 | ||
08e5bc43 | 19003 | 2007-02-04 Jan Hubicka <jh@suse.cz> |
19004 | ||
19005 | * tree-sra.c (sra_walk_expr): Add linebreaks. BITFIELD_REFs into | |
19006 | vectors might cause maybe_lookup_element_for_expr to be called | |
19007 | on non-sra-candidate. | |
19008 | ||
905ea169 | 19009 | 2007-02-04 Kazu Hirata <kazu@codesourcery.com> |
19010 | ||
19011 | * config/bfin/bfin-modes.def, config/bfin/bfin.c, | |
19012 | config/bfin/bfin.md, config/bfin/predicates.md: Follow | |
19013 | spelling conventions. | |
19014 | ||
98f4d382 | 19015 | 2007-02-04 Richard Guenther <rguenther@suse.de> |
19016 | ||
19017 | PR middle-end/30636 | |
19018 | * fold-const.c (try_move_mult_to_index): Make sure to not | |
19019 | overflow one dimension of a multi-dimensional array access. | |
19020 | ||
fdd35027 | 19021 | 2007-02-04 Jan Hubicka <jh@suse.cz> |
19022 | ||
19023 | * passes.c (init_optimization_passes): Reindent. | |
19024 | ||
223e470b | 19025 | 2007-02-04 Jan Hubicka <jh@suse.cz> |
2a3e49aa | 19026 | Eric Botcazou <ebotcazou@adacore.com> |
223e470b | 19027 | |
0d6b9aac | 19028 | * tree-optimize.c (has_abnormal_outgoing_edge_p): Move to... |
223e470b | 19029 | (execute_fixup_cfg): Break out the abnormal goto code. |
0d6b9aac | 19030 | * tree-inline.c (has_abnormal_outgoing_edge_p): ...here. |
223e470b | 19031 | (make_nonlocal_label_edges): Move here from execute_fixup_cfg. |
19032 | (optimize_inline_calls): Call make_nonlocal_label_edges. | |
19033 | ||
ea0ab927 | 19034 | 2007-02-04 Jan Hubicka <jh@suse.cz> |
19035 | ||
19036 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Return | |
19037 | true when something was changed. | |
19038 | (rename_ssa_copies): When something was changed, do | |
19039 | TODO_remove_unused_locals. | |
19040 | * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_value): | |
19041 | add TODO_remove_unused_locals when instruction was removed. | |
19042 | ||
f41629b6 | 19043 | 2007-02-04 Jan Hubicka <jh@suse.cz> |
19044 | ||
19045 | * ipa-inline.c (try_inline): Improve debug output; work on already | |
19046 | inline edges too. | |
19047 | (cgraph_decide_inlining_incrementally): Indent; improve debug output; | |
ec72623f | 19048 | call try_inline for already inlined edges too when flattening; |
f41629b6 | 19049 | inline also functions that make callee growth but overall unit size |
19050 | reduce. | |
19051 | ||
c910419d | 19052 | 2007-02-04 Kazu Hirata <kazu@codesourcery.com> |
19053 | ||
19054 | * config/m32c/bitops.md, config/m32c/jump.md, | |
19055 | config/m32c/m32c.c, config/m32c/m32c.h, config/m32r/m32r.c, | |
19056 | config/m32r/m32r.h, config/m32r/m32r.md, | |
19057 | config/m32r/predicates.md, config/m68hc11/larith.asm, | |
19058 | config/m68hc11/m68hc11.c, config/m68hc11/m68hc11.h, | |
19059 | config/m68k/m68k.h, config/mcore/mcore.md, config/mips/4k.md, | |
19060 | config/mips/mips-protos.h, config/mips/mips.c, | |
19061 | config/mips/mips.h, config/mips/mips.md, config/mips/mips16.S, | |
19062 | config/mn10300/mn10300.h, config/mn10300/predicates.md, | |
19063 | config/mt/mt.c, config/mt/mt.h, config/mt/mt.md: Follow | |
19064 | spelling conventions. | |
19065 | ||
d15353b6 | 19066 | * config/v850/v850.c, config/v850/v850.h, config/v850/v850.md: |
19067 | Follow spelling conventions. | |
19068 | ||
e1db7b20 | 19069 | 2007-02-03 Douglas Gregor <doug.gregor@gmail.com> |
19070 | ||
ef1ec073 | 19071 | * c-opts.c (c_common_post_options): If C++0x mode is enabled, don't |
19072 | warn about C++0x compatibility. | |
ec72623f | 19073 | |
03fb0c81 | 19074 | 2007-02-04 Kazu Hirata <kazu@codesourcery.com> |
19075 | ||
19076 | * config/h8300/h8300.c, config/h8300/h8300.h, | |
19077 | config/h8300/h8300.md: Follow spelling conventions. | |
19078 | ||
676806d4 | 19079 | 2007-02-03 Uros Bizjak <ubizjak@gmail.com> |
19080 | ||
19081 | PR middle-end/30667 | |
19082 | * combine.c (try_combine): Do not substitute source operand | |
19083 | with constants wider than 2 * HOST_BITS_PER_WIDE_INT. | |
19084 | ||
553eb299 | 19085 | 2007-02-03 Jan Hubicka <jh@suse.cz> |
19086 | ||
19087 | PR gcov-profile/30650 | |
19088 | * value-prof.c (stringop_block_profile): Fix handling of size counter; | |
19089 | do not divide by zero for never executed counters. | |
19090 | (tree_find_values_to_profile): Fix counters. | |
19091 | * gcov-ui.h (GCOV_COUNTER_AVERAGE, GCOV_COUNTER_IOR): Fix comments. | |
19092 | ||
67c3f580 | 19093 | 2007-02-03 Ian Lance Taylor <iant@google.com> |
19094 | ||
19095 | * lower-subreg.c (simple_move_operand): New static function, | |
19096 | broken out of simple_move. Reject LABEL_REF, SYMBOL_REF, and HIGH | |
19097 | operands. | |
19098 | (simple_move): Call simple_move_operand. | |
19099 | (find_decomposable_subregs): Add special handling of MEMs. | |
19100 | (can_decompose_p): Rename from cannot_decompose_p. Reverse | |
19101 | meaning of return value. If we see a hard register, test whether | |
19102 | it can store a word_mode value. Change all callers. | |
19103 | ||
a6af46b6 | 19104 | 2007-02-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
19105 | ||
ee7100c7 | 19106 | * pa.md (addvdi3, addvsi3, subvdi3, subvsi3, negvdi2, negvsi2): New |
19107 | ftrapv insns and expanders. | |
19108 | (subdi3): Change define_expand operand 1 to arith11_operand, and | |
19109 | operand 2 to reg_or_0_operand. Change constraints of 64-bit insn | |
19110 | pattern to handle reg_or_0 operands. Revise 32-bit insn pattern to | |
19111 | handle 11-bit constants and reg_or_0 operands in operands 1 and 2, | |
19112 | respectively. | |
19113 | ||
a6af46b6 | 19114 | PR middle-end/30174 |
19115 | * varasm.c (notice_global_symbol): Treat global objects as weak when | |
19116 | flag_shlib is true. | |
19117 | ||
2e7ca27b | 19118 | 2007-02-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
19119 | ||
19120 | * emit-rtl.c (dconstpi): Delete. | |
19121 | (dconstsqrt2): New. | |
19122 | (init_emit_once): Delete dconstpi and init dconstsqrt2. | |
19123 | * real.h (dconstpi): Delete. | |
19124 | (dconstsqrt2): New. | |
19125 | * builtins.c (fold_builtin_cabs): Use dconstsqrt2. | |
19126 | (fold_builtin_hypot): Likewise. | |
19127 | ||
a8c200f7 | 19128 | 2007-02-03 Tom Tromey <tromey@redhat.com> |
19129 | ||
19130 | PR driver/30246 | |
19131 | * gcc.c (cpp_unique_options): Any of -ggdb3, -gstabs3, | |
19132 | -gcoff3, -gxcoff3, -gvms3 implies -dD. | |
19133 | ||
f2b32076 | 19134 | 2007-02-03 Kazu Hirata <kazu@codesourcery.com> |
19135 | ||
19136 | * c-decl.c, config/avr/avr.c, config/avr/avr.h, | |
19137 | config/m68k/m68k.c, config/m68k/netbsd-elf.h, | |
19138 | config/mn10300/mn10300.c, config/pdp11/pdp11.h, | |
19139 | config/rs6000/cell.md, config/rs6000/darwin.h, | |
19140 | config/sh/sh.md, config/sh/sh4-300.md, config/spu/spu.c, | |
19141 | config/spu/spu.md, cselib.c, expr.c, haifa-sched.c, hwint.h, | |
19142 | jump.c, reload.c, sched-deps.c, sched-int.h, tree-inline.c, | |
19143 | tree-profile.c, tree-ssa-live.h, tree-vrp.c: Fix comment | |
19144 | typos. Follow spelling conventions. | |
19145 | * doc/invoke.texi: Follow spelling conventions. | |
19146 | ||
b114d7da | 19147 | 2007-02-03 Roger Sayle <roger@eyesopen.com> |
19148 | ||
19149 | * simplify-rtx.c (simplify_relational_operation_1): Implement some | |
19150 | canonicalization transformations that attempt to simplify integer | |
19151 | constant comparisons to become comparisons against zero. | |
19152 | ||
1af0d139 | 19153 | 2007-02-03 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
19154 | ||
19155 | * builtins.c (fold_builtin_cabs): Fold cabs(x+xi) into | |
19156 | fabs(x)*sqrt(2). | |
19157 | * fold-const.c (fold_binary): Fix comment typos. Fold complex | |
19158 | (x,0)-(0,y) into (x,-y). Likewise (0,y)-(x,0) into (-x,y). | |
19159 | ||
a15a1b51 | 19160 | 2007-02-02 Mike Stump <mrs@apple.com> |
19161 | ||
19162 | * config/darwin9.h (DARWIN_LINKER_GENERATES_ISLANDS): Add. | |
19163 | * config/rs6000/rs6000.c (DARWIN_GENERATE_ISLANDS): Add. | |
19164 | (output_call): Use DARWIN_GENERATE_ISLANDS to decide when to | |
19165 | generate a branch island. | |
19166 | ||
771b6086 | 19167 | 2007-02-02 Bob Wilson <bob.wilson@acm.org> |
19168 | ||
19169 | * config/xtensa/xtensa.c (smalloffset_mem_p): Use BASE_REG_P. | |
19170 | (xtensa_legitimate_address_p): New. | |
19171 | (xtensa_legitimize_address): New. | |
19172 | (xtensa_output_addr_const_extra): New. | |
19173 | * config/xtensa/xtensa.h (REG_OK_STRICT_FLAG): Define. | |
19174 | (BASE_REG_P): New. | |
19175 | (REG_OK_FOR_BASE_P): Use BASE_REG_P. | |
19176 | (GO_IF_LEGITIMATE_ADDRESS): Move code to xtensa_legitimate_address_p. | |
19177 | (LEGITIMIZE_ADDRESS): Move code to xtensa_legitimize_address. | |
19178 | (OUTPUT_ADDR_CONST_EXTRA): Move code to xtensa_output_addr_const_extra. | |
19179 | * config/xtensa/xtensa-protos.h (xtensa_legitimate_address_p): New. | |
19180 | (xtensa_legitimize_address): New. | |
19181 | (xtensa_output_addr_const_extra): New. | |
19182 | ||
01445752 | 19183 | 2007-02-02 Steve Ellcey <sje@cup.hp.com> |
19184 | ||
19185 | * config/ia64/ia64.c (ia64_print_operand): Fix compare strings. | |
19186 | ||
3d77819c | 19187 | 2007-02-02 Ian Lance Taylor <iant@google.com> |
19188 | ||
19189 | * expmed.c (expand_divmod): Add comment. | |
19190 | ||
8f48a1f7 | 19191 | 2007-02-02 Kazu Hirata <kazu@codesourcery.com> |
19192 | ||
19193 | * emit-rtl.c (renumber_insns): Remove. | |
19194 | * flags.h: Remove the extern for flag_renumber_insns. | |
19195 | * rtl.h: Remove the prototype for renumber_insns. | |
19196 | * toplev.c (flag_renumber_insns): Remove. | |
19197 | ||
60d73ea6 | 19198 | 2007-02-02 Hui-May Chang <hm.chang@apple.com> |
19199 | ||
19200 | Revert for x86 darwin: | |
19201 | 2005-06-19 Uros Bizjak <uros@kss-loka.si> | |
ec72623f | 19202 | |
60d73ea6 | 19203 | * config/i386/i386.c (ix86_function_arg_regno_p): Put back the |
19204 | code before the following patch under TARGET_MACHO. | |
19205 | (ix86_function_value_regno_p): Likewise. | |
19206 | ||
7c4eaf72 | 19207 | 2007-02-02 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
19208 | ||
19209 | * fold-const.c (negate_expr_p, fold_negate_expr): Handle | |
19210 | COMPLEX_EXPR. | |
19211 | ||
1c42a59d | 19212 | 2007-02-02 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> |
19213 | ||
19214 | PR target/29682 | |
ed69c853 | 19215 | * config/ia64/ia64.c (ia64_speculate_insn): Restrict to memory |
19216 | loads to general or fp registers. Add comments. | |
1c42a59d | 19217 | * config/ia64/ia64.md (reg_pred_prefix): Add comment. |
19218 | ||
8a6f311e | 19219 | 2007-02-02 Paolo Bonzini <bonzini@gnu.org> |
19220 | ||
19221 | * pointer-set.c (insert_aux): Only return insertion slot. | |
19222 | (pointer_set_insert): Adjust. | |
19223 | (pointer_set_traverse, struct pointer_map_t, pointer_map_create, | |
19224 | pointer_map_destroy, pointer_map_insert, pointer_map_contains, | |
19225 | pointer_map_traverse): New. | |
19226 | * pointer-set.h (pointer_set_traverse, struct pointer_map_t, | |
19227 | pointer_map_create, pointer_map_destroy, pointer_map_insert, | |
19228 | pointer_map_contains, pointer_map_traverse): Declare. | |
19229 | ||
72dfb3f2 | 19230 | 2007-02-02 Jakub Jelinek <jakub@redhat.com> |
19231 | ||
19232 | PR middle-end/30473 | |
19233 | * builtins.c (fold_builtin_sprintf): Do not attempt to optimize | |
19234 | sprintf (str, "%s"). Do not optimize sprintf (str, "nopercent", p++). | |
19235 | ||
9997bd27 | 19236 | 2007-02-02 Maxim Kuvyrkov <mkuvyrkov@ispras.ru> |
19237 | ||
19238 | * sched-int.h (ds_to_dk, dk_to_ds): Declare functions. | |
ec72623f | 19239 | |
9997bd27 | 19240 | (struct _dep): New type. |
19241 | (dep_t): New typedef. | |
19242 | (DEP_PRO, DEP_CON, DEP_KIND): New access macros. | |
19243 | (DEP_STATUS): New access macro. The macro with the same name was | |
19244 | renamed to DEP_LINK_STATUS. | |
19245 | (dep_init): Declare function | |
19246 | ||
19247 | (struct _dep_link): New type. | |
19248 | (dep_link_t): New typedef. | |
19249 | (DEP_LINK_NODE, DEP_LINK_NEXT, DEP_LINK_PREV_NEXTP): New access macros. | |
19250 | (DEP_LINK_DEP, DEP_LINK_PRO, DEP_LINK_CON, DEP_LINK_KIND): New macros. | |
19251 | (DEP_LINK_STATUS): New macro. | |
19252 | (debug_dep_links): New debug function. | |
19253 | ||
19254 | (struct _deps_list): New type. | |
19255 | (deps_list_t): New typedef. | |
19256 | (DEPS_LIST_FIRST): New access macro. | |
19257 | (FOR_EACH_DEP_LINK): New cycle macro. | |
19258 | (create_deps_list, free_deps_list, delete_deps_list): Declare | |
19259 | functions. | |
19260 | (deps_list_empty_p, debug_deps_list, add_back_dep_to_deps_list): Ditto. | |
19261 | (find_link_by_pro_in_deps_list, find_link_by_con_in_deps_list): Ditto. | |
19262 | (copy_deps_list_change_con): Ditto. | |
19263 | ||
19264 | (move_dep_link): Declare function. | |
19265 | ||
19266 | (struct _dep_node): New type. | |
19267 | (dep_node_t): New typedef. | |
19268 | (DEP_NODE_BACK, DEP_NODE_DEP, DEP_NODE_FORW): New access macros. | |
19269 | ||
19270 | (struct haifa_insn_data.back_deps): New field to hold backward | |
19271 | dependencies of the insn. | |
19272 | (struct haifa_insn_data.depend): Rename to forw_deps. Change its type | |
19273 | to deps_list_t. | |
19274 | (struct haifa_insn_data.resolved_deps): Rename to resolved_back_deps. | |
19275 | Change its type to deps_list_t. | |
19276 | (INSN_BACK_DEPS): New access macro to use instead of LOG_LINKS. | |
19277 | (INSN_DEPEND): Rename to INSN_FORW_DEPS. | |
19278 | (RESOLVED_DEPS): Rename to INSN_RESOLVED_BACK_DEPS. | |
19279 | ||
19280 | (INSN_COST): Move to haifa-sched.c. Use insn_cost () instead. | |
ec72623f | 19281 | |
9997bd27 | 19282 | (DEP_STATUS): Rename to DEP_LINK_STATUS. Fix typo in the comment. |
19283 | ||
ed69c853 | 19284 | (add_forw_dep, delete_back_forw_dep, insn_cost): Update declaration |
19285 | and all callers. | |
9997bd27 | 19286 | (dep_cost): Declare. |
ec72623f | 19287 | |
9997bd27 | 19288 | * sched-deps.c (CHECK): New macro to (en/dis)able sanity checks. |
19289 | (ds_to_dk, dk_to_ds): New functions. | |
ec72623f | 19290 | |
9997bd27 | 19291 | (init_dep_1): New static function. |
19292 | (init_dep): New function. | |
19293 | (copy_dep): New static function. | |
ec72623f | 19294 | |
9997bd27 | 19295 | (dep_link_consistent_p, attach_dep_link, add_to_deps_list): New static |
19296 | functions. | |
19297 | (detach_dep_link): New static function. | |
19298 | (move_dep_link): New function. | |
ec72623f | 19299 | |
9997bd27 | 19300 | (dep_links_consistent_p, dump_dep_links): New static functions. |
19301 | (debug_dep_links): New debugging function. | |
ec72623f | 19302 | |
9997bd27 | 19303 | (deps_obstack, dl_obstack, dn_obstack): New static variables. |
ec72623f | 19304 | |
9997bd27 | 19305 | (alloc_deps_list, init_deps_list): New static functions. |
19306 | (create_deps_list): New function. | |
19307 | (clear_deps_list): New static function. | |
19308 | (free_deps_list, delete_deps_list, deps_list_empty_p): New functions. | |
19309 | (deps_list_consistent_p, dump_deps_list): New static functions. | |
19310 | (debug_deps_list): New function. | |
19311 | (add_back_dep_to_deps_list, find_link_by_pro_in_deps_list): New | |
19312 | functions. | |
19313 | (find_link_by_con_in_deps_list, copy_deps_list_change_con): Ditto. | |
19314 | ||
19315 | (maybe_add_or_update_back_dep_1, add_or_update_back_dep_1): Update to | |
19316 | use new scheduler dependencies lists. | |
19317 | (add_back_dep, delete_all_dependences, fixup_sched_groups): Ditto. | |
19318 | (sched_analyze): Ditto. Initialize dependencies lists. | |
19319 | (add_forw_dep, compute_forward_dependences): Update to use new | |
19320 | scheduler dependencies lists. | |
ec72623f | 19321 | |
9997bd27 | 19322 | (init_dependency_caches): Init deps_obstack. |
19323 | (free_dependency_caches): Free deps_obstack. | |
ec72623f | 19324 | |
9997bd27 | 19325 | (adjust_add_sorted_back_dep, adjust_back_add_forw_dep): Update to use |
19326 | new scheduler dependencies lists. | |
19327 | (delete_forw_dep, add_or_update_back_forw_dep): Ditto. | |
19328 | (add_back_forw_dep, delete_back_forw_dep): Ditto. | |
19329 | ||
19330 | * sched-rgn.c (set_spec_fed, find_conditional_protection, is_pfree): | |
19331 | Update to use new scheduler dependencies lists. | |
19332 | (is_conditionally_protected, is_prisky, add_branch_dependences): Ditto. | |
19333 | (debug_dependencies): Ditto. | |
19334 | (schedule_region): Update comments. | |
ec72623f | 19335 | |
9997bd27 | 19336 | * sched-ebb.c (earliest_block_with_similiar_load): Update to use new |
19337 | scheduler dependencies lists. | |
19338 | (schedule_ebb): Update comments. | |
ec72623f | 19339 | |
9997bd27 | 19340 | * rtl.def (DEPS_LIST): Remove. |
ec72623f | 19341 | |
9997bd27 | 19342 | * lists.c (unused_deps_list): Remove. |
19343 | (free_list): Update assertions. | |
ec72623f | 19344 | |
9997bd27 | 19345 | (alloc_DEPS_LIST, free_DEPS_LIST_list, free_DEPS_LIST_node): Remove. |
19346 | (remove_free_DEPS_LIST_elem, copy_DEPS_LIST_list): Ditto. | |
19347 | ||
19348 | * rtl.h (free_DEPS_LIST_list, alloc_DEPS_LIST): Remove declarations. | |
19349 | (remove_free_DEPS_LIST_elem, copy_DEPS_LIST_list): Ditto. | |
ec72623f | 19350 | |
9997bd27 | 19351 | * haifa-sched.c (comments): Update. |
19352 | (insn_cost1): Remove. Inline the code into insn_cost (). | |
19353 | (insn_cost): Update to use new scheduler dependencies lists. Move | |
19354 | processing of the dependency cost to dep_cost (). | |
19355 | (dep_cost): New function. Use it instead of insn_cost () when | |
19356 | evaluating cost of the dependency. Use compatible interface to | |
19357 | interact with the target. | |
19358 | (priority): Update to use new scheduler dependencies lists. | |
19359 | (rank_for_schedule): Ditto. Optimize heuristic that prefers the insn | |
19360 | with greater number of insns that depend on the insn. | |
19361 | (schedule_insn): Update to use new scheduler dependencies lists. Add | |
19362 | code to free backward dependencies lists. Inline and optimize code | |
19363 | from resolve_dep () - see PR28071. | |
19364 | (ok_for_early_queue_removal): Update to use new scheduler dependencies | |
19365 | lists. Update call to targetm.sched.is_costly_dependence hook. | |
ec72623f | 19366 | |
9997bd27 | 19367 | (fix_inter_tick, try_ready, fix_tick_ready): Update to use new |
19368 | scheduler dependencies lists. | |
ec72623f | 19369 | |
9997bd27 | 19370 | (resolve_dep): Remove. Move the logic to schedule_insn (). |
19371 | (init_h_i_d): Initialize dependencies lists. | |
ec72623f | 19372 | |
9997bd27 | 19373 | (process_insn_depend_be_in_spec): Rename to |
19374 | process_insn_forw_deps_be_in_spec. Update to use new scheduler | |
19375 | dependencies lists. | |
19376 | (add_to_speculative_block, create_check_block_twin, fix_recovery_deps): | |
19377 | Update to use new scheduler dependencies lists. | |
19378 | (clear_priorities, calc_priorities, add_jump_dependencies): Ditto. | |
ec72623f | 19379 | |
9997bd27 | 19380 | * ddg.c (create_ddg_dependence, create_ddg_dep_no_link): Update to use |
19381 | new scheduler dependencies lists. | |
19382 | (build_intra_loop_deps): Ditto. | |
ec72623f | 19383 | |
9997bd27 | 19384 | * target.h (struct _dep): Declare to use in |
19385 | gcc_target.sched.is_costly_dependence. | |
19386 | (struct gcc_target.sched.adjust_cost): Fix typo. | |
ed69c853 | 19387 | (struct gcc_target.sched.is_costly_dependence): Change signature to |
19388 | use single dep_t parameter instead of an equivalent triad. | |
9997bd27 | 19389 | (struct gcc_target.sched.adjust_cost_2): Remove. |
19390 | ||
19391 | * target-def.h (TARGET_SCHED_ADJUST_COST_2): Remove. | |
19392 | ||
19393 | * reg-notes.def (DEP_TRUE, DEP_OUTPUT, DEP_ANTI): Update comments. | |
19394 | ||
19395 | * doc/tm.texi (TARGET_SCHED_IS_COSTLY_DEPENDENCE): Update | |
19396 | documentation. | |
19397 | (TARGET_SCHED_ADJUST_COST_2): Remove documentation. | |
19398 | ||
19399 | * doc/rtl.texi (LOG_LINKS): Remove part about instruction scheduler. | |
19400 | (REG_DEP_TRUE): Document. | |
ec72623f | 19401 | |
9997bd27 | 19402 | * config/ia64/ia64.c (ia64_adjust_cost_2): Rename to ia64_adjust_cost. |
ec72623f | 19403 | Change signature to correspond to the targetm.sched.adjust_cost hook. |
9997bd27 | 19404 | Update use in TARGET_SCHED_ADJUST_COST_2. |
19405 | (TARGET_SCHED_ADJUST_COST_2): Rename to TARGET_SCHED_ADJUST_COST. | |
19406 | (ia64_dependencies_evaluation_hook, ia64_dfa_new_cycle): Update to use | |
19407 | new scheduler dependencies lists. | |
19408 | (ia64_gen_check): Ditto. | |
19409 | ||
ed69c853 | 19410 | * config/mips/mips.c (vr4130_swap_insns_p): Update to use new |
19411 | scheduler dependencies lists. | |
ec72623f | 19412 | |
9997bd27 | 19413 | * config/rs6000/rs6000.c (rs6000_is_costly_dependence): Change |
19414 | signature to correspond to the targetm.sched.is_costly_dependence hook. | |
19415 | (is_costly_group): Update to use new scheduler dependencies lists. | |
19416 | ||
19417 | * config/spu/spu.c (spu_sched_adjust_cost): Use insn_cost () function | |
19418 | instead of INSN_COST () macro. | |
19419 | ||
2289a5f2 | 19420 | 2007-02-01 Ian Lance Taylor <iant@google.com> |
19421 | ||
19422 | * lower-subreg.c (resolve_clobber): Handle a subreg of a concatn. | |
19423 | ||
b2ad6ac2 | 19424 | 2007-02-01 Guy Martin <gmsoft@gentoo.org> |
19425 | ||
19426 | * pa.md (tp_load): Correct mfctl instruction syntax. | |
19427 | ||
11d02745 | 19428 | 2007-02-01 Geoffrey Keating <geoffk@apple.com> |
19429 | ||
8429b204 | 19430 | * config/rs6000/rs6000.c (rs6000_stack_info): Correct |
19431 | altivec_padding_size calculation on AIX. Improve comment, add | |
19432 | assert to verify that it's right. | |
19433 | ||
11d02745 | 19434 | * config/rs6000/darwin.h (MD_UNWIND_SUPPORT): Don't define for |
19435 | 64-bit. | |
19436 | ||
c6f3c945 | 19437 | 2007-2-01 Seongbae Park <seongbae.park@gmail.com> |
9dca18da | 19438 | |
c6f3c945 | 19439 | PR inline-asm/28686 |
9dca18da | 19440 | * global.c (global_alloc): Add mising initialization of |
19441 | ELIMINABLE_REGSET. | |
19442 | ||
d4473c84 | 19443 | 2007-02-01 Roger Sayle <roger@eyesopen.com> |
19444 | ||
19445 | * alias.c (init_alias_analysis): Correct whitespace. | |
19446 | * bb-reorder.c (fix_edges_for_rarely_executed_code, | |
19447 | partition_hot_cold_basic_blocks): Likewise. | |
19448 | * builtins.c (expand_builtin_printf, expand_builtin_fprintf, | |
19449 | expand_builtin_sprintf, fold_builtin_carg, fold_builtin_sprintf, | |
19450 | maybe_emit_sprintf_chk_warning, fold_builtin_sprintf_chk, | |
19451 | fold_builtin_snprintf_chk, fold_builtin_printf, | |
19452 | fold_builtin_fprintf, do_mpfr_ckconv, do_mpfr_arg1, do_mpfr_arg2, | |
19453 | do_mpfr_arg3, do_mpfr_sincos): Likewise. | |
19454 | * cfgcleanup.c (cleanup_cfg): Likewise. | |
19455 | * cfgexpand.c (tree_expand_cfg): Likewise. | |
19456 | * fold-const.c (fold_binary) <RDIV_EXPR>: Likewise. | |
19457 | * function.c (get_next_funcdef_no): Likewise. | |
19458 | * gengtype.c (main): Likewise. | |
19459 | * genmodes.c (main): Likewise. | |
19460 | * gcse.c (bypass_conditional_jumps, print_ldst_list): Likewise. | |
19461 | * haifa-sched.c (schedule_block, extend_h_i_d): Likewise. | |
19462 | * ifcvt.c (noce_emit_move_insn): Likewise. | |
19463 | * modulo-sched.c (generate_prolog_epilog, sms_schedule_by_order): | |
19464 | Likewise. | |
19465 | * stor-layout.c (get_best_mode): Likewise. | |
19466 | * tree-ssa-loop-niter.c (get_val_for): Likewise. | |
19467 | * tree-ssa-structalias.c (get_varinfo, get_varinfo_fc, | |
19468 | scc_visit, do_ds_constraint, do_complex_constraint, label_visit, | |
19469 | perform_var_substitution, solve_graph): Likewise. | |
19470 | * tree-vrp.c (vrp_finalize): Likewise. | |
19471 | ||
3fa57b79 | 19472 | 2007-02-01 Ian Lance Taylor <iant@google.com> |
19473 | ||
19474 | * lower-subreg.c (simplify_gen_subreg_concatn): If we ask for the | |
19475 | high part of a paradoxical subreg, return a constant zero. | |
19476 | ||
7a9ae52e | 19477 | 2007-02-01 Zdenek Dvorak <dvorakz@suse.cz> |
19478 | ||
19479 | * toplev.c (lang_dependent_init): Call init_set_costs. | |
19480 | * loop-init.c (loop_optimizer_init): Do not call init_set_costs. | |
19481 | ||
20e133d9 | 19482 | 2007-02-01 Richard Guenther <rguenther@suse.de> |
19483 | ||
19484 | PR middle-end/30656 | |
19485 | * fold-const.c (fold_negate_expr): Allow negating a | |
19486 | constant if overflow does not change. | |
19487 | ||
284bef0e | 19488 | 2007-02-01 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
19489 | ||
19490 | * doc/c-tree.texi (Expression trees): Improve markup. | |
19491 | * doc/tm.texi (Register Classes, Addressing Modes) | |
19492 | (Floating Point): Fix spacing after abbreviations. Fix some | |
19493 | typos. | |
19494 | ||
3ef65804 | 19495 | 2007-02-01 Ben Elliston <bje@au.ibm.com> |
19496 | ||
19497 | * doc/invoke.texi: Replace "bugfix" with "bug fix" throughout. | |
19498 | * doc/contrib.texi: Likewise. | |
19499 | * doc/install.texi: Likewise. | |
19500 | ||
1a6a0f2a | 19501 | 2007-01-31 Richard Henderson <rth@redhat.com> |
19502 | Ian Lance Taylor <iant@google.com> | |
19503 | ||
19504 | * lower-subreg.c: New file. | |
19505 | * rtl.def (CONCATN): Define. | |
19506 | * passes.c (init_optimization_passes): Add pass_lower_subreg and | |
19507 | pass_lower_subreg2. | |
19508 | * emit-rtl.c (update_reg_offset): New static function, broken out | |
19509 | of gen_rtx_REG_offset. | |
19510 | (gen_rtx_REG_offset): Call update_reg_offset. | |
19511 | (gen_reg_rtx_offset): New function. | |
19512 | * regclass.c: Revert patch of 2006-03-05, restoring | |
19513 | reg_scan_update. | |
19514 | (clear_reg_info_regno): New function. | |
19515 | * dwarf2out.c (concatn_loc_descriptor): New static function. | |
19516 | (loc_descriptor): Handle CONCATN. | |
19517 | * common.opt (fsplit_wide_types): New option. | |
19518 | * opts.c (decode_options): Set flag_split_wide_types when | |
19519 | optimizing. | |
19520 | * timevar.def (TV_LOWER_SUBREG): Define. | |
19521 | * rtl.h (gen_reg_rtx_offset): Declare. | |
19522 | (reg_scan_update): Declare. | |
19523 | * regs.h (clear_reg_info_regno): Declare. | |
19524 | * tree-pass.h (pass_lower_subreg): Declare. | |
19525 | (pass_lower_subreg2): Declare. | |
19526 | * doc/invoke.texi (Option Summary): List -fno-split-wide-types. | |
19527 | (Optimize Options): Add -fsplit-wide-types to -O1 list. Document | |
19528 | -fsplit-wide-types. | |
19529 | * doc/rtl.texi (Regs and Memory): Document concat and concatn. | |
19530 | * Makefile.in (OBJS-common): Add lower-subreg.o. | |
19531 | (lower-subreg.o): New target. | |
19532 | ||
0c8e1d8d | 19533 | 2007-01-31 Kazu Hirata <kazu@codesourcery.com> |
19534 | ||
19535 | * config/sh/sh.h (HAVE_SECONDARY_RELOADS): Remove. | |
19536 | ||
cc48d302 | 19537 | 2007-01-31 Anatoly Sokolov <aesok@post.ru> |
19538 | ||
19539 | PR target/19087 | |
19540 | * config/avr/avr.c (DWARF2_ADDR_SIZE): Define. | |
19541 | ||
b4e8ab0c | 19542 | 2007-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
19543 | ||
19544 | PR middle-end/29335 | |
19545 | * builtins.c (fold_builtin_sqrt): Use MPFR for constant args. | |
19546 | ||
3bbbcdff | 19547 | 2007-01-31 Zdenek Dvorak <dvorakz@suse.cz> |
19548 | ||
19549 | * cfgloop.h: Include vec-prim.h. | |
19550 | (enum li_flags): Remove LI_ONLY_OLD. | |
19551 | (loop_iterator): Changed. | |
19552 | (fel_next, fel_init): Iterate over loop tree. | |
19553 | (FOR_EACH_LOOP_BREAK): New macro. | |
19554 | * loop-unswitch.c (unswitch_loops): Do not pass LI_ONLY_OLD to | |
19555 | FOR_EACH_LOOP. | |
19556 | * tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops): Ditto. | |
19557 | * modulo-sched.c (sms_schedule): Ditto. | |
19558 | * tree-vectorizer.c (vectorize_loops): Ditto. | |
19559 | * doc/loop.texi: Update information on loop numbering and behavior of | |
19560 | FOR_EACH_LOOP wrto new loops. | |
19561 | * tree-scalar-evolution.c (compute_overall_effect_of_inner_loop, | |
19562 | add_to_evolution_1): Test nestedness of loops instead of comparing | |
19563 | their numbers. | |
19564 | * tree-chrec.c (chrec_fold_plus_poly_poly, | |
19565 | chrec_fold_multiply_poly_poly, chrec_evaluate, | |
19566 | hide_evolution_in_other_loops_than_loop, chrec_component_in_loop_num, | |
19567 | reset_evolution_in_loop): Ditto. | |
19568 | * Makefile.in (CFGLOOP_H): Add vecprim.h dependency. | |
19569 | ||
6ce0c450 | 19570 | 2007-01-31 Dirk Mueller <dmueller@suse.de> |
19571 | ||
19572 | * c-common.c (warn_about_parentheses): Separate warning about | |
19573 | un-parenthized sequence of comparison operators from the one | |
19574 | which is supposed to warn about x <= y <= z. | |
19575 | ||
69b779ea | 19576 | 2007-01-31 Uros Bizjak <ubizjak@gmail.com> |
19577 | ||
19578 | * optabs.h (enum optab_index): Add new OTI_isinf. | |
19579 | (isinf_optab): Define corresponding macro. | |
19580 | * optabs.c (init_optabs): Initialize isinf_optab. | |
19581 | * genopinit.c (optabs): Implement isinf_optab using isinf?f2 | |
19582 | patterns. | |
19583 | * builtins.c (mathfn_built_in): Handle BUILT_IN_ISINF{,F,L}. | |
19584 | (expand_builtin_interclass_mathfn): Expand BUILT_IN_ISINF{,F,L} | |
19585 | using isinf_optab. | |
19586 | (expand_builtin): Expand BUILT_IN_ISINF{,F,L} using | |
19587 | expand_builtin_interclass_mathfn. | |
19588 | * reg_stack.c (subst_stack_regs_pat): Handle UNSPEC_FXAM. | |
19589 | * config/i386/i386.md (UNSPEC_FXAM): New constant. | |
19590 | (fxam<mode>2_i387): New insn pattern. | |
19591 | (isinf<mode>2) New expander to implement isinf, isinff and isinfl | |
19592 | built-in functions as x87 inline asm. | |
19593 | ||
9941519c | 19594 | 2007-01-31 Kazu Hirata <kazu@codesourcery.com> |
19595 | ||
ddb8b0be | 19596 | * config/arm/unwind-arm.h (_sleb128_t, _uleb128_t): New. |
9941519c | 19597 | |
3451fffd | 19598 | 2007-01-30 Eric Christopher <echristo@apple.com> |
19599 | ||
19600 | * config.gcc: Add geode. | |
19601 | ||
0d424440 | 19602 | 2007-01-31 Kazu Hirata <kazu@codesourcery.com> |
19603 | ||
19604 | * cgraphunit.c, config/arm/arm.c, config/m68k/m68k.c, | |
19605 | ipa-inline.c, tree-profile.c, tree-ssa-live.c, | |
19606 | tree-ssa-math-opts.c, tree-ssanames.c, tree-vect-analyze.c, | |
19607 | value-prof.c: Fix comment typos. | |
19608 | ||
a07d3cd8 | 19609 | 2007-01-30 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
19610 | ||
19611 | PR c++/24745 | |
19612 | * doc/invoke.texi (Wpointer-arith): Document warning. | |
3451fffd | 19613 | |
c6f3c945 | 19614 | 2007-01-30 Janis Johnson <janis187@us.ibm.com> |
c7e4e456 | 19615 | |
19616 | * doc/extend.texi (Decimal Floating Types): Remove decfloat.h from | |
19617 | the list of discrepancies from the draft TR. | |
19618 | ||
ca0cc11f | 19619 | 2007-01-30 Dirk Mueller <dmueller@suse.de> |
19620 | ||
19621 | PR c++/30601 | |
19622 | * doc/invoke.texi (-Wreturn-type): Update description to | |
3451fffd | 19623 | match new behavior. |
ca0cc11f | 19624 | |
3d5a3e76 | 19625 | 2007-01-30 Richard Sandiford <richard@codesourcery.com> |
19626 | ||
19627 | * cfgrtl.c (try_redirect_by_replacing_jump): Check only_sets_cc0_p. | |
19628 | ||
a67a90e5 | 19629 | 2007-01-30 Uros Bizjak <ubizjak@gmail.com> |
19630 | ||
19631 | * builtins.c (expand_builtin_int_interclass_roundingfn): New function | |
19632 | to handle optabs that operate on floating point input argument and | |
19633 | output to integer output. | |
19634 | (expand_builtin_mathfn) [BUILT_IN_ILOGB]: Move from here ... | |
19635 | (expand_builtin_interclass_mathfn) [BUILT_IN_ILOGB]: ... to here. | |
19636 | (expand_builtin): Expand BUILT_IN_ILOGB{,F,L} using | |
19637 | expand_builtin_interclass_mathfn (). | |
19638 | * config/i386/i386.md (fxtractxf3_i387): Rename from *fxtractxf3_i387. | |
19639 | (ilogbsi2): Remove. | |
19640 | (ilogbxf2, ilogb<mode>2): New expanders to implement ilogb, ilogbf and | |
19641 | ilogbl built-in functions as x87 intrinsics. | |
19642 | ||
56e902bd | 19643 | 2007-01-30 Richard Guenther <rguenther@suse.de> |
19644 | ||
19645 | PR middle-end/27657 | |
19646 | * dwarf2out.c (reference_to_unused): Query varpool if the | |
19647 | variable was output. | |
19648 | ||
159787b7 | 19649 | 2007-01-30 Richard Guenther <rguenther@suse.de> |
19650 | ||
19651 | PR middle-end/30313 | |
19652 | * passes.c (execute_one_pass): Reset in_gimple_form to not | |
19653 | confuse non-unit-at-a-time mode. | |
19654 | ||
816f7496 | 19655 | 2007-01-29 Roger Sayle <roger@eyesopen.com> |
19656 | Richard Guenther <rguenther@suse.de> | |
19657 | ||
19658 | * fold-const.c (round_up): Make HIGH an unsigned HOST_WIDE_INT to | |
19659 | avoid undefined behaviour on overflow. Use force_fit_type_double | |
19660 | to construct the constant with the specified TREE_OVERFLOW. | |
19661 | ||
4d863ca5 | 19662 | 2007-01-29 Janis Johnson <janis187@us.ibm.com> |
19663 | ||
19664 | * config/dfp-bit.c: Add parameterized support for fp exceptions. | |
19665 | * config/dfp-bit.h: Ditto. | |
19666 | ||
816f7496 | 19667 | 2007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
92fccaaa | 19668 | |
19669 | * c-decl.c (pop_scope): Replace warnings with call to | |
19670 | warn_for_unused_label. | |
19671 | * c-common.h (warn_for_unused_label): Declare. | |
19672 | * c-common.c (warn_for_unused_label): Define. | |
19673 | ||
e00076da | 19674 | 2007-01-29 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
19675 | ||
19676 | * tree-optimize.c (update_inlined_to_pointers): Delete unused | |
19677 | function. | |
19678 | ||
2675096e | 19679 | 2007-01-29 Janis Johnson <janis187@us.ibm.com> |
19680 | ||
19681 | * Makefile.in (USER_H): Remove decfloat.h. | |
19682 | * ginclude/decfloat.h: Delete, moving contents to ... | |
19683 | * ginclude/float.h: Add support for decimal floating point, | |
19684 | guarded by __STDC_WANT_DEC_FP__. | |
19685 | ||
339496f1 | 19686 | 2007-01-29 Mike Stump <mrs@apple.com> |
19687 | ||
19688 | * doc/gccint.texi (Top): Rename Loop Representation to Loop | |
19689 | Analysis and Representation to resolve case insensitive conflict. | |
19690 | * doc/loop.texi (Loop Analysis and Representation): Likewise. | |
19691 | ||
0eaf9bd7 | 19692 | 2007-01-28 Daniel Berlin <dberlin@dberlin.org> |
19693 | ||
19694 | * tree.h (struct tree_memory_tag): Add aliases member. | |
19695 | (MTAG_ALIASES): New macro. | |
19696 | * tree-ssa-alias.c (alias_bitmap_obstack): New variable. | |
19697 | (add_may_alias): Remove pointer-set. Update for may_aliases being | |
3451fffd | 19698 | a bitmap. |
0eaf9bd7 | 19699 | (mark_aliases_call_clobbered): Update for may_aliases being a |
19700 | bitmap. | |
19701 | (compute_tag_properties): Ditto. | |
19702 | (create_partition_for): Ditto. | |
19703 | (compute_memory_partitions): Ditto. | |
19704 | (dump_may_aliases_for): Ditto. | |
19705 | (is_aliased_with): Ditto. | |
19706 | (add_may_alias_for_new_tag): Ditto. | |
19707 | (rewrite_alias_set_for): Rewrite for may_aliases being a bitmap. | |
19708 | (compute_is_aliased): New function. | |
19709 | (compute_may_aliases): Call compute_is_aliased). | |
19710 | (init_alias_info): Initialize alias_bitmap_obstack. | |
19711 | (union_alias_set_into): New function. | |
19712 | (compute_flow_sensitive_aliasing): Use union_aliases_into. | |
19713 | (have_common_aliases_p): Rewrite to take two bitmaps and use | |
19714 | intersection. | |
19715 | (compute_flow_insensitive_aliasing): Stop using pointer-sets. | |
19716 | Update for bitmaps. | |
19717 | (finalize_ref_all_pointers): Update for add_may_alias changes. | |
19718 | (new_type_alias): Ditto. | |
19719 | * tree-flow-inline.h (may_aliases): Return a bitmap. | |
19720 | * tree-dfa.c (dump_variable): Check for MTAG_P'ness. | |
19721 | * tree-ssa.c (verify_flow_insensitive_alias_info): Update for | |
19722 | may_aliases being a bitmap. | |
19723 | * tree-flow.h (struct var_ann_d): Remove may_aliases member. | |
19724 | may_aliases now returns a bitmap. | |
19725 | * tree-ssa-structalias.c (merge_smts_into): Update for may_aliases | |
19726 | being a bitmap. | |
19727 | * tree-ssa-operands.c (add_virtual_operand): Update for | |
19728 | may_aliases being a bitmap. | |
3451fffd | 19729 | |
c2bed432 | 19730 | 2007-01-29 Daniel Berlin <dberlin@dberlin.org> |
19731 | ||
19732 | PR tree-optimization/30630 | |
19733 | * tree-ssa-structalias.c (do_complex_constraint): Mark correct | |
19734 | variable as changed. | |
19735 | ||
e1f6aa48 | 19736 | 2007-01-29 Simon Martin <simartin@users.sourceforge.net> |
19737 | ||
19738 | PR c++/28266 | |
19739 | * gimplify.c (gimplify_target_expr): Make sure that the TARGET_EXPR is | |
19740 | expanded only once even if an error occurs. | |
19741 | ||
f8de4e8d | 19742 | 2007-01-29 Ben Elliston <bje@au.ibm.com> |
19743 | ||
19744 | * gcov-io.h (__gcov_indirect_call_profiler): Declare. | |
19745 | (__gcov_average_profiler): Likewise. | |
19746 | (__gcov_ior_profiler): Likewise. | |
19747 | (__gcov_merge_ior): Likewise. | |
19748 | ||
f8eabf22 | 19749 | 2007-01-28 Jan Hubicka <jh@suse.cz> |
19750 | ||
19751 | * builtins.c (expand_builtin_memset): Fix typo in my last patch. | |
19752 | * value-prof.c (stringop_block_profile): Likewise. | |
19753 | ||
162719b3 | 19754 | 2007-01-28 Jan Hubicka <jh@suse.cz> |
19755 | ||
ed69c853 | 19756 | * expr.c (emit_block_move_via_movmem, emit_block_move_via_libcall): |
19757 | Add variant handling histograms; add wrapper. | |
162719b3 | 19758 | (clear_storage_via_libcall): Export. |
19759 | (emit_block_move_hints): Break out from ...; add histograms. | |
19760 | (emit_block_move): ... this one. | |
19761 | (clear_storage_hints): Break out from ...; add histograms. | |
19762 | (clear_storage): ... this one. | |
19763 | (set_storage_via_memset): Handle histogram. | |
19764 | * expr.h (emit_block_move_via_libcall, emit_block_move_hints): Declare. | |
19765 | (clear_storage_hints, clear_storage_via_libcall): Declare. | |
19766 | (set_storage_via_setmem): Update prototype. | |
19767 | * doc/md.texi (movmem, setmem): Document new arguments. | |
19768 | ||
ed69c853 | 19769 | * value-prof.c (dump_histogram_value, tree_find_values_to_profile): |
19770 | Add new histograms. | |
162719b3 | 19771 | (stringop_block_profile): New global function. |
19772 | (tree_stringops_values_to_profile): Profile block size and alignment. | |
19773 | * value-prof.h (enum hist_type): add HIST_TYPE_AVERAGE and | |
19774 | HIST_TYPE_IOR. | |
19775 | (struct profile_hooks): Add gen_average_profiler and gen_ior_profiler. | |
19776 | (stringop_block_profile): Declare. | |
19777 | * builtins.c: Include value-prof.h. | |
19778 | (expand_builtin_memcpy, expand_builtin_memset): Pass block profile. | |
19779 | * gcov-ui.h (GCOV_COUNTER_NAMES): Add new counter. | |
19780 | (GCOV_COUNTER_AVERAGE, GCOV_COUNTER_IOR): New constants. | |
19781 | (GCOV_COUNTERS, GCOV_LAST_VALUE_COUNTER): Update. | |
19782 | * profile.c (instrument_values): Add new counters. | |
19783 | * cfgexpand.c (expand_gimple_basic_block): Propagate histograms to | |
19784 | calls. | |
19785 | * tree-profile.c (tree_average_profiler_fn, tree_ior_profiler_fn): New. | |
19786 | (tree_init_edge_profiler): Build new profilers. | |
19787 | (tree_gen_average_profiler, tree_gen_ior_profiler): New. | |
19788 | (pass_tree_profile): Add dump. | |
19789 | (tree_profile_hooks): Update. | |
19790 | * Makefile.in (LIBGCOV): Add new constants. | |
19791 | * libgcov.c (__gcov_merge_ior, __gcov_average_profiler, | |
19792 | __gcov_ior_profiler): New. | |
19793 | * i386.md (movmem/setmem expanders): Add new optional arguments. | |
19794 | ||
5a9b9759 | 19795 | 2007-01-28 David Edelsohn <edelsohn@gnu.org> |
19796 | ||
19797 | * doc/md.texi (Standard Pattern Names): Document blockage pattern. | |
19798 | ||
bc8bb825 | 19799 | 2007-01-28 Zdenek Dvorak <dvorakz@suse.cz> |
19800 | ||
19801 | * tree-ssa-loop-unswitch.c: Include tree-inline.h. | |
19802 | (tree_unswitch_single_loop): Pass eni_size_weights to | |
19803 | tree_num_loop_insns. | |
19804 | * tree-ssa-loop-manip.c: Include tree-inline.h. | |
19805 | (can_unroll_loop_p): Pass eni_size_weights to | |
19806 | tree_num_loop_insns. | |
19807 | * tree-ssa-loop-ch.c (should_duplicate_loop_header_p): | |
19808 | Pass eni_size_weights to estimate_num_insns. | |
19809 | * tree.h (init_inline_once): Export. | |
19810 | * toplev.c (backend_init): Call init_inline_once. | |
19811 | * cgraphunit.c (cgraph_process_new_functions, | |
19812 | cgraph_analyze_function): Pass eni_inlining_weights to | |
19813 | estimate_num_insns. | |
19814 | * ipa-inline.c (compute_inline_parameters): Ditto. | |
19815 | * tree-ssa-loop-ivcanon.c (tree_num_loop_insns): Pass weights | |
19816 | to estimate_num_insns. | |
19817 | (try_unroll_loop_completely): Pass eni_size_weights to | |
19818 | tree_num_loop_insns. | |
19819 | * tree-eh.c (decide_copy_try_finally): Pass eni_size_weights | |
19820 | ot estimate_num_insns. | |
19821 | * tree-ssa-loop-prefetch.c: Include tree-inline.h. | |
19822 | (loop_prefetch_arrays): Pass eni_time_weights to tree_num_loop_insns. | |
19823 | * tree-inline.c (eni_inlining_weights, eni_size_weights, | |
19824 | eni_time_weights): New variables. | |
19825 | (init_inline_once): Initialize them. | |
19826 | (struct eni_data): Mew. | |
19827 | (estimate_num_insns_1, estimate_num_insns): Use weights. | |
19828 | * tree-inline.h (struct eni_weights_d): New. | |
19829 | (eni_inlining_weights, eni_size_weights, eni_time_weights): Declare. | |
19830 | (estimate_num_insns): Declaration changed. | |
19831 | * cfgloop.h (tree_num_loop_insns): Declaration changed. | |
19832 | * Makefile.in (tree-ssa-loop-unswitch.o, tree-ssa-loop-prefetch.o, | |
19833 | tree-ssa-loop-manip.o): Add TREE_INLINE_H dependency. | |
19834 | ||
a86c75a6 | 19835 | 2007-01-28 Zdenek Dvorak <dvorakz@suse.cz> |
19836 | ||
19837 | * tree-data-ref.c (conflict_fn): Assert that the number of affine | |
19838 | relations in the conflict function is valid. | |
19839 | ||
981eb798 | 19840 | 2007-01-27 Ian Lance Taylor <iant@google.com> |
19841 | ||
19842 | * common.opt: Add fstrict-overflow. | |
19843 | * opts.c (decode_options): Set flag_strict_overflow if -O2. | |
19844 | * flags.h (TYPE_OVERFLOW_WRAPS): Define. | |
19845 | (TYPE_OVERFLOW_UNDEFINED): Define. | |
19846 | (TYPE_OVERFLOW_TRAPS): Define. This replaces TYPE_TRAP_SIGNED. | |
19847 | Replace all uses. | |
19848 | * tree.h (TYPE_TRAP_SIGNED): Don't define. | |
19849 | * fold-const.c (negate_expr_p): Use TYPE_OVERFLOW_UNDEFINED. | |
19850 | (fold_negate_expr): Likewise. | |
19851 | (make_range): Likewise. | |
19852 | (extract_muldiv_1): Likewise. | |
19853 | (maybe_canonicalize_comparison): Likewise. | |
19854 | (fold_comparison): Likewise. | |
19855 | (fold_binary): Likewise. | |
19856 | (tree_expr_nonnegative_p): Likewise. | |
19857 | (tree_expr_nonzero_p): Likewise. | |
19858 | * tree-vrp.c (compare_values): Likewise. | |
19859 | (extract_range_from_binary_expr): Likewise. | |
19860 | (extract_range_from_unary_expr): Likewise. | |
19861 | * tree-ssa-loop-niter.c (infer_loop_bounds_from_signedness): | |
19862 | Likewise. | |
19863 | (nowrap_type_p): Likewise. | |
19864 | * tree-scalar-evolution.c (simple_iv): Likewise. | |
19865 | * fold-const.c (negate_expr_p): Use TYPE_OVERFLOW_WRAPS. | |
19866 | (build_range_check): Likewise. | |
19867 | (extract_muldiv_1): Likewise. | |
19868 | (fold_comparison): Likewise. | |
19869 | * tree-vrp.c (vrp_int_const_binop): Likewise. | |
19870 | (extract_range_from_unary_expr): Likewise. | |
19871 | * convert.c (convert_to_integer): Likewise. | |
19872 | * fold-const.c (fold_negate_expr): Use TYPE_OVERFLOW_TRAPS. | |
19873 | (fold_comparison): Likewise. | |
19874 | (fold_binary): Likewise. | |
19875 | * optabs.c (optab_for_tree_code): Likewise. | |
19876 | * tree-vectorizer.c (vect_is_simple_reduction): Likewise. | |
19877 | * simplify-rtx.c (simplify_const_relational_operation): Check | |
19878 | flag_strict_overflow and flag_trapv. | |
19879 | (simplify_const_relational_operation): Likewise. | |
19880 | * doc/invoke.texi (Option Summary): Mention -fstrict-overflow. | |
19881 | (Optimize Options): Add -fstrict-overflow to -O2 list. Document | |
19882 | -fstrict-overflow. | |
19883 | ||
426a138f | 19884 | 2007-01-27 Roger Sayle <roger@eyesopen.com> |
19885 | ||
19886 | * tree.c (tree_fold_gcd): Delete. | |
19887 | * tree.h (tree_fold_gcd): Remove prototype. | |
19888 | * tree-data-ref.c (tree_fold_divides_p): Don't use tree_fold_gcd to | |
19889 | test whether one constant integer is a multiple of another. Instead | |
19890 | call int_const_binop with TRUNC_MOD_EXPR and test for a zero result. | |
19891 | * fold-const.c (multiple_of_p): We've determined both TOP and | |
19892 | BOTTOM are integer constants so we can call int_const_binop directly | |
19893 | instead of the more generic const_binop. | |
19894 | ||
6117e415 | 19895 | 2007-01-27 Roger Sayle <roger@eyesopen.com> |
19896 | ||
19897 | * fold-const.c (size_binop): In the fast-paths for X+0, 0+X, X-0 and | |
19898 | 1*X check that the constant hasn't overflowed, to preserve the | |
19899 | TREE_OVERFLOW bit. | |
19900 | (round_up): Provide an efficient implementation when rouding-up an | |
19901 | INTEGER_CST to a power-of-two. | |
19902 | ||
d97af3bf | 19903 | 2007-01-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
19904 | ||
19905 | * doc/sourcebuild.texi: Add comma for clarity. | |
19906 | * doc/extend.texi: Fix some typos. | |
19907 | * doc/passes.texi: Likewise. | |
19908 | * doc/cppinternals.texi: Likewise. | |
19909 | * doc/c-tree.texi: Likewise. | |
19910 | * doc/tree-ssa.texi: Likewise. | |
c828b754 | 19911 | * doc/install.texi: Likewise. |
d97af3bf | 19912 | |
5620e045 | 19913 | 2007-01-27 Jan Hubicka <jh@suse.cz> |
19914 | ||
19915 | * tree-sra.c (sra_walk_function): Don't rely on aliases being build. | |
19916 | (pass_sra): Do not require alias information. | |
19917 | * passes.c (init_optimization_passes): Add SRA | |
19918 | ||
fcde5c9e | 19919 | 2007-01-27 Steven Bosscher <steven@gcc.gnu.org> |
19920 | ||
19921 | * tracer.c (rest_of_handle_tracer): We already cleaned | |
19922 | up the CFG in tracer() so don't do it here again. | |
19923 | * cfgcleanup.c (rest_of_handle_jump2): Don't repeat | |
19924 | cleanup_cfg here, either. And don't call renumber_insns. | |
19925 | ||
19926 | * cfgrtl.c (rtl_verify_flow_info_1): Don't verify that BB_END | |
19927 | and BB_HEAD are in the insn stream here. Instead make sure | |
19928 | that BB_INSN is valid on all insns. Also, do check here that | |
19929 | there are no pending branch predictions... | |
19930 | (rtl_verify_flow_info): ...instead of doing it here. Checks | |
19931 | for BB_END and BB_HEAD moved from rtl_verify_flow_info_1 to | |
19932 | here. | |
19933 | ||
aa58076f | 19934 | 2007-01-26 Roger Sayle <roger@eyesopen.com> |
19935 | ||
19936 | * config/i386/i386.c (ix86_swap_binary_operands_p): New helper | |
19937 | function to simplify/factorize operand order canonicalization. | |
19938 | (ix86_fixup_binary_operands): Reorganize using the above function. | |
19939 | (ix86_binary_operator_ok): Likewise. | |
19940 | ||
92f58791 | 19941 | 2007-01-27 Jakub Jelinek <jakub@redhat.com> |
19942 | ||
19943 | * genattrtab.c (struct attr_value_list, insn_code_values): Move to | |
19944 | file scope from optimize_attrs. | |
19945 | (simplify_test_exp): If insn_code_values is not NULL, use it to speed | |
19946 | up search. | |
19947 | (optimize_attrs): Clear insn_code_values after freeing it. | |
19948 | ||
4957c5e4 | 19949 | 2007-01-26 Zdenek Dvorak <dvorakz@suse.cz> |
19950 | ||
19951 | * tree-ssa-address.c (create_mem_ref): Remove ", bsi" from | |
19952 | a parts.base assignment. | |
19953 | ||
87da4f2e | 19954 | 2007-01-26 Zdenek Dvorak <dvorakz@suse.cz> |
19955 | ||
19956 | * tree-data-ref.c (dump_subscript): Use dump_conflict_function. | |
19957 | (compute_subscript_distance, initialize_data_dependence_relation, | |
19958 | finalize_ddr_dependent, analyze_ziv_subscript, | |
19959 | analyze_siv_subscript_cst_affine, | |
19960 | compute_overlap_steps_for_affine_univar, | |
19961 | compute_overlap_steps_for_affine_1_2, analyze_subscript_affine_affine, | |
19962 | analyze_siv_subscript, analyze_miv_subscript, | |
19963 | analyze_overlapping_iterations, subscript_dependence_tester_1, | |
19964 | compute_self_dependence, free_dependence_relation): Work | |
19965 | with affine_fn instead of chrecs. | |
19966 | (dump_affine_function, dump_conflict_function, affine_function_equal_p, | |
19967 | common_affine_function, affine_function_base, | |
19968 | affine_function_constant_p, affine_fn_op, affine_fn_plus, | |
19969 | affine_fn_minus, affine_fn_free, conflict_fn_not_known, | |
19970 | conflict_fn_no_dependence, free_conflict_function, free_subscripts, | |
19971 | conflict_fn, affine_fn_cst, affine_fn_univar): New functions. | |
19972 | (all_chrecs_equal_p): Removed. | |
19973 | * tree-data-ref.h (affine_fn, conflict_function): New types. | |
19974 | (struct subscript): Change type of conflicting_iterations_in_a | |
19975 | and conflicting_iterations_in_b. | |
19976 | ||
01cbacb9 | 19977 | 2007-01-26 Steve Ellcey <sje@cup.hp.com> |
19978 | ||
19979 | PR other/30182 | |
19980 | * config/pa/pa.h (TARGET_HPUX_11): New. | |
19981 | * config/pa/pa-hpux11.h (TARGET_HPUX_11): New. | |
19982 | * config/pa/pa.c (pa_init_builtins): Use TARGET_HPUX_11. | |
19983 | ||
07cd0533 | 19984 | 2007-01-26 Daniel Berlin <dberlin@dberlin.org> |
19985 | Richard Guenther <rguenther@suse.de> | |
19986 | ||
19987 | * tree-ssa-structalias.c (solve_graph): Handle case | |
19988 | we merged the variable to another. | |
19989 | ||
503733d5 | 19990 | 2007-01-25 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
19991 | ||
19992 | * builtins.c (fold_builtin_1): Treat ccos and ccosh as 'even' | |
19993 | functions. | |
19994 | ||
19995 | * fold-const.c (negate_mathfn_p): Treat casin, casinh, catan, | |
19996 | catanh, cproj, csin, csinh, ctan and ctanh as 'odd' functions. | |
19997 | ||
f82c9309 | 19998 | 2007-01-25 DJ Delorie <dj@redhat.com> |
19999 | ||
ced4068a | 20000 | * config/m32c/m32c.c (m32c_cannot_change_mode_class): We don't |
20001 | allow changes to modes which don't fit in those registers. | |
20002 | ||
f82c9309 | 20003 | * reload1.c (choose_reload_regs): Check for invalid subregs before |
20004 | computing their locations, not after. | |
20005 | ||
8cdbd846 | 20006 | 2007-01-25 Geoffrey Keating <geoffk@apple.com> |
20007 | ||
20008 | PR 25127 | |
20009 | * config/rs6000/rs6000.c (first_altivec_reg_to_save): On Darwin, | |
20010 | save Altivec registers in an eh_return function. | |
20011 | (compute_vrsave_mask): Likewise. | |
20012 | (rs6000_stack_info): Correct AIX/Darwin stack alignment computation | |
20013 | for saving Altivec registers. | |
20014 | (rs6000_emit_prologue): Don't allocate stack twice in | |
20015 | eh_return function. Correct expected value of altivec_save_offset | |
20016 | when using save_world. Describe save of R0 to stack when using | |
20017 | save_world. Describe stack pointer adjustment when using | |
20018 | save_world. Remove duplicated eh_return parameter register saving. | |
20019 | Update sp_offset variable after save_world. | |
20020 | * config/rs6000/t-darwin (LIB2FUNCS_STATIC_EXTRA): Remove | |
20021 | darwin-world.asm. | |
20022 | (LIB2FUNCS_EXTRA): Add darwin-world.asm. | |
20023 | * config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): -m64 | |
20024 | implies Altivec. | |
20025 | ||
c5e978ad | 20026 | 2007-01-25 Steve Ellcey <sje@cup.hp.com> |
20027 | ||
20028 | * config.gcc (ia64*-*-hpux*): Make posix threads the default. | |
20029 | ||
aafb162c | 20030 | 2007-01-25 Steve Ellcey <sje@cup.hp.com> |
20031 | ||
20032 | PR other/30182 | |
20033 | * config/pa/pa.c (pa_init_builtins): Set asm names for finite routines. | |
20034 | * config/ia64/ia64.c (ia64_init_builtins): Ditto. | |
20035 | ||
c81ed7c1 | 20036 | 2007-01-25 Richard Guenther <rguenther@suse.de> |
20037 | ||
20038 | * doc/invoke.texi (-Wcoverage-mismatch): Document. | |
20039 | * common.opt (-Wcoverage-mismatch): New warning option. | |
20040 | * coverage.c (get_coverage_counts): Ignore coverage mismatch | |
20041 | if -Wcoverage-mismatch is given. | |
20042 | ||
efec805e | 20043 | 2007-01-25 Razya Ladelsky <razya@il.ibm.com> |
20044 | ||
3451fffd | 20045 | * ipa-cp.c (ipcp_insert_stage, ipcp_driver): Support for SSA. |
20046 | (ipcp_driver): Change to static definition. | |
8cdbd846 | 20047 | Add dumping of the ifunctions. |
20048 | (constant_val_insert): Remove unused parameter. Support for SSA. | |
20049 | (ipcp_propagate_const): Support for SSA. | |
20050 | (ipcp_profile_bb_print): Print only analyzed nodes. | |
3451fffd | 20051 | (ipcp_replace_map_create): Remove support for Fortran constant |
8cdbd846 | 20052 | for now. |
3451fffd | 20053 | * ipa-prop.c (ipa_method_modify_stmt, |
8cdbd846 | 20054 | ipa_callsite_compute_param): Support for SSA. |
20055 | * ipa-prop.h (ipcp_driver): Remove declaration. | |
20056 | (IS_VALID_TREE_MAP_INDEX): Add define. | |
20057 | ||
91431f97 | 20058 | 2007-01-24 Geoffrey Keating <geoffk@apple.com> |
20059 | ||
20060 | * unwind-dw2.c (execute_stack_op): Handle DW_OP_swap. | |
20061 | ||
b4725390 | 20062 | 2007-01-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
20063 | ||
20064 | PR middle-end/30447 | |
20065 | * builtins.c (fold_builtin_cabs): Use MPFR to evaluate a | |
20066 | constant argument to cabs and do it without checking for | |
20067 | -funsafe-math-optimizations. | |
20068 | ||
71d66778 | 20069 | 2007-01-24 Douglas Gregor <dgregor@osl.iu.edu> |
20070 | ||
20071 | * c-common.h (RID_FIRST_CXX0X): New. | |
20072 | (RID_LAST_CXX0X): New. | |
20073 | * c-opts.c (c_common_handle_option): -Wc++0x-compat is triggered | |
20074 | by -Wall. | |
20075 | * c.opt (Wc++0x-compat): New. | |
20076 | * doc/invoke.texi (-Wc++0x-compat): Document. | |
20077 | ||
abe4dcf6 | 20078 | 2007-01-24 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
20079 | ||
20080 | * builtins.c (fold_builtin_carg): New. | |
20081 | (fold_builtin_1): Use it. | |
20082 | ||
5c121ffe | 20083 | 2007-01-24 Jan Hubicka <jh@suse.cz> |
20084 | ||
7c877cea | 20085 | * ipa-inline.c (cgraph_decide_inlining): Initialize initial_insns. |
20086 | ||
5c121ffe | 20087 | * ipa-inline.c (initial_insns, max_insns): Delete. |
20088 | (compute_max_insns): New function. | |
ed69c853 | 20089 | (cgraph_decide_inlining_of_small_function): Use it; take minimal |
20090 | amount of insns as base for code growth. | |
5c121ffe | 20091 | (cgraph_decide_inlining): Make initial_insns local; do not compute |
20092 | max_insns. | |
20093 | * params.def (PARAM_INLINE_UNIT_GROWTH): Set to 60. | |
20094 | * doc/invoke.texi (inline-unit-growth): Update docs. | |
20095 | ||
1e4afe3c | 20096 | 2007-01-24 Jakub Jelinek <jakub@redhat.com> |
20097 | ||
7d024c6a | 20098 | * config/i386/i386.h (x86_cmpxchg16b): Remove const. |
20099 | (TARGET_CMPXCHG16B): Define to x86_cmpxchg16b. | |
20100 | * config/i386/i386.c (x86_cmpxchg16b): Remove const. | |
20101 | (override_options): Add PTA_CX16 flag. Set x86_cmpxchg16b | |
20102 | for CPUs that have PTA_CX16 set. | |
20103 | ||
f9b59f0c | 20104 | PR middle-end/27416 |
20105 | * gimplify.c (omp_check_private): New function. | |
20106 | (gimplify_scan_omp_clauses): Use it for | |
20107 | firstprivate/lastprivate/reduction. | |
20108 | ||
fc6ebbc0 | 20109 | PR middle-end/30494 |
20110 | * gimplify.c (omp_add_variable): Don't call omp_notice_variable | |
20111 | on TYPE_SIZE_UNIT for GOVD_LOCAL VLAs. | |
20112 | ||
1e4afe3c | 20113 | PR middle-end/30421 |
20114 | * omp-low.c (lower_omp_for_lastprivate): Add dlist argument. | |
20115 | If lower_lastprivate_clauses emits some statements, append them | |
20116 | to dlist rather than body_p and to body_p append an initializer. | |
20117 | (lower_omp_for): Adjust caller. | |
20118 | ||
649f4321 | 20119 | 2007-01-24 Steve Ellcey <sje@cup.hp.com> |
20120 | ||
20121 | * target.h (globalize_decl_name): New. | |
20122 | * target-def.h (TARGET_ASM_GLOBALIZE_DECL_NAME): New. | |
20123 | * output.h (default_globalize_decl_name): New. | |
20124 | * varasm.c (asm_output_bss): Use globalize_decl_name instead of | |
20125 | globalize_label. | |
c6f3c945 | 20126 | (globalize_decl): Ditto. |
649f4321 | 20127 | (default_globalize_decl_name): New. |
20128 | * config/ia64/ia64.c (ia64_globalize_decl_name): New. | |
20129 | (ia64_handle_version_id_attribute): New. | |
20130 | (TARGET_ASM_GLOBALIZE_DECL_NAME): New. | |
20131 | (ia64_asm_output_external): Use globalize_decl_name instead | |
20132 | of globalize_label. | |
20133 | * doc/extend.texi (version_id): New pragma. | |
20134 | * doc/tm.texi (ARGET_ASM_GLOBALIZE_DECL_NAME): New target hook. | |
20135 | ||
c68b099b | 20136 | 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> |
20137 | ||
3451fffd | 20138 | * unwind-dw2-fde.c (get_cie_encoding): Replaced _Unwind_Word with |
c68b099b | 20139 | _uleb128_t and _Unwind_SWord with _sleb128_t. |
ed69c853 | 20140 | * unwind-dw2.c (extract_cie_info, execute_stack_op, |
20141 | execute_cfa_program, uw_frame_state_for, uw_update_context_1): | |
20142 | Likewise. | |
c68b099b | 20143 | * unwind-c.c (parse_lsda_header, PERSONALITY_FUNCTION): Likewise. |
20144 | * unwind-pe.h (read_uleb128, read_sleb128, | |
20145 | read_encoded_value_with_base): Likewise. | |
20146 | * unwind-generic.h: Define _sleb128_t and _uleb128_t types. | |
20147 | ||
0ecbc158 | 20148 | 2007-01-24 Richard Guenther <rguenther@suse.de> |
20149 | ||
20150 | * builtins.c (expand_builtin_cexpi): Get the fndecl | |
20151 | for cexp in the correct way. | |
20152 | ||
7f0432c3 | 20153 | 2007-01-24 Jan Hubicka <jh@suse.cz> |
20154 | ||
ed69c853 | 20155 | * tree-ssa-dce.c (eliminate_unnecesary_stmts): Remove dead LHS |
20156 | of calls. | |
7f0432c3 | 20157 | |
6a60f216 | 20158 | 2007-01-24 Andreas Krebbel <krebbel1@de.ibm.com> |
20159 | ||
20160 | * c-cppbuiltin.c (builtin_define_type_sizeof): New function. | |
20161 | (c_cpp_builtins): New builtin macros: __SIZEOF_INT__, __SIZEOF_LONG__, | |
20162 | __SIZEOF_LONG_LONG__, __SIZEOF_SHORT__, __SIZEOF_POINTER__, | |
20163 | __SIZEOF_FLOAT__, __SIZEOF_DOUBLE__, __SIZEOF_LONG_DOUBLE__, | |
20164 | __SIZEOF_SIZE_T__, __SIZEOF_WCHAR_T__, __SIZEOF_WINT_T__ and | |
20165 | __SIZEOF_PTRDIFF_T__. | |
20166 | * doc/cpp.texi: Documentation for the new builtin macros added. | |
20167 | ||
bec03e1c | 20168 | 2007-01-24 Uros Bizjak <ubizjak@gmail.com> |
20169 | ||
20170 | * config/i386/i386.md (tanxf2, tan<mode>2, atan<mode>2, log<mode>2, | |
20171 | log10<mode>2, log2<mode>2, expxf2, exp10xf2, exp2xf2): Use op2 | |
20172 | instead of operands[2] to avoid access past the end of array. | |
20173 | ||
7b1ee155 | 20174 | 2007-01-24 Richard Sandiford <richard@codesourcery.com> |
20175 | ||
20176 | * reload1.c (emit_reload_insns): Pass the reload register | |
20177 | for a non-spill output reload through forget_old_reloads_1. | |
20178 | ||
3da0fdbc | 20179 | 2007-01-23 Joseph Myers <joseph@codesourcery.com> |
20180 | ||
20181 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
20182 | _SOFT_DOUBLE if doubles use software floating-point. | |
20183 | * config/rs6000/libgcc-ppc-glibc.ver: Export additional long | |
20184 | double functions if _SOFT_DOUBLE, not _SOFT_FLOAT. | |
20185 | * config/rs6000/darwin-ldouble.c: Also compile functions for | |
20186 | hard-float without FPRs. Use fmsub function for all __NO_FPRS__ | |
20187 | cases. Compile extra functions if _SOFT_DOUBLE, not _SOFT_FLOAT. | |
20188 | * config/rs6000/linuxspe.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Remove | |
20189 | commented-out long double override. | |
20190 | (CPP_LONGDOUBLE_DEFAULT_SPEC): Likewise. | |
20191 | * config/rs6000/eabispe.h: Likewise. | |
20192 | * config/rs6000/rs6000.c (rs6000_override_options): Don't override | |
20193 | long double for non-SPE. | |
20194 | (rs6000_handle_option): Likewise. | |
20195 | (invalid_e500_subreg): Disallow more subregs involding DImode, | |
20196 | DFmode, TImode or TFmode. | |
20197 | (rs6000_legitimate_offset_address_p): Check TFmode offsets for | |
20198 | E500 double. | |
20199 | (legitimate_lo_sum_address_p): Also check for TFmode for E500 | |
20200 | double. | |
20201 | (rs6000_legitimize_address): Also handle TFmode for E500 double. | |
20202 | (rs6000_legitimize_reload_address): Also handle TFmode for E500 | |
20203 | double. | |
20204 | (rs6000_legitimate_address): Also check for TFmode for E500 | |
20205 | double. | |
20206 | (rs6000_emit_move): Use DFmode subregs of TFmode for E500 double. | |
20207 | (spe_build_register_parallel): Handle TFmode and TCmode. | |
20208 | (rs6000_spe_function_arg): Handle TFmode and TCmode for E500 | |
20209 | double. | |
20210 | (function_arg): Handle TFmode and TCmode for E500 double. | |
20211 | (rs6000_init_libfuncs): Initialize extra libfuncs for soft double | |
20212 | in general. | |
20213 | (print_operand): Handle TFmode and TImode for %y. | |
20214 | (rs6000_generate_compare): Handle TFmode comparisons for E500 | |
20215 | double. | |
20216 | (spe_func_has_64bit_regs_p): Check for TFmode for E500 double. | |
20217 | (rs6000_function_value): Handle TFmode and TCmode for E500 double. | |
20218 | (rs6000_libcall_value): Handle TFmode and TCmode for E500 double. | |
20219 | * config/rs6000/rs6000.h (CANNOT_CHANGE_MODE_CLASS): Check for | |
20220 | TFmode for E500 double. | |
20221 | * config/rs6000/rs6000.md (FP): Allow TF for E500 double. | |
20222 | (floatsidf2): Enable for E500 double. | |
20223 | (movtf_softfloat): Use rs6000_nonimmediate_operand. | |
20224 | (extenddftf2): Change to extenddftf2_fprs. | |
20225 | (extenddftf2): Call gen_spe_extenddftf2 or gen_extenddftf2_fprs | |
20226 | depending on TARGET_E500_DOUBLE. | |
20227 | (extendsftf2): Enable for E500 double. | |
20228 | (trunctfdf2): Enable for E500 double. | |
20229 | (trunctfsf2): Change to trunctfsf2_fprs. | |
20230 | (trunctfsf2): Call gen_spe_trunctfsf2 or gen_trunctfsf2_fprs | |
20231 | depending on TARGET_E500_DOUBLE. | |
20232 | (floatsitf2): Enable for E500 double. | |
20233 | (fix_trunctfsi2): Change to fix_trunctfsi2_fprs. | |
20234 | (fix_trunctfsi2): Call gen_spe_fix_trunctfsi2 or | |
20235 | gen_fix_trunctfsi2_fprs depending on TARGET_E500_DOUBLE. | |
20236 | (negtf2): Change to negtf2_internal. | |
20237 | (negtf2): New expander. | |
20238 | (abstf2): Enable for E500 double. Call gen_spe_abstf2_tst, | |
20239 | gen_spe_abstf2_cmp or gen_abstf2_internal depending on | |
20240 | TARGET_E500_DOUBLE and flag_unsafe_math_optimizations. | |
20241 | (movdi_internal32): Use rs6000_nonimmediate_operand. | |
20242 | (unnamed splitter): Likewise. | |
20243 | * config/rs6000/spe.md (CMPTFEQ_GPR, TSTTFEQ_GPR, CMPTFGT_GPR, | |
20244 | TSTTFGT_GPR, CMPTFLT_GPR, TSTTFLT_GPR): New unspecs. | |
20245 | (SPE64TF, DITI): New mode macros. | |
20246 | (frob_df_di): Change to frob_<SPE64:mode>_<DITI:mode>; allow more | |
20247 | modes. | |
20248 | (frob_tf_ti): New. | |
20249 | (frob_<mode>_di_2): New. | |
20250 | (frob_tf_di_8_2): New. | |
20251 | (frob_di_df): Change to frob_di_<mode>; allow more modes. | |
20252 | (frob_ti_tf): New. | |
20253 | (frob_di_df_2): Change to frob_<DITI:mode>_<SPE64:mode>_2; allow | |
20254 | more modes. | |
20255 | (frob_ti_<mode>_8_2): New. | |
20256 | (frob_ti_tf_2): New. | |
20257 | (mov_si<mode>_e500_subreg0, mov_si<mode>_e500_subreg0_2, | |
20258 | mov_si<mode>_e500_subreg4, mov_si<mode>_e500_subreg4_2): Allow | |
20259 | TFmode. | |
20260 | (mov_sitf_e500_subreg8, mov_sitf_e500_subreg8_2, | |
20261 | mov_sitf_e500_subreg12, mov_sitf_e500_subreg12_2): New. | |
20262 | (spe_trunctfdf2_internal1, spe_trunctfsf2, spe_extenddftf2, | |
20263 | spe_fix_trunctfsi2, spe_fix_trunctfsi2_internal, | |
20264 | spe_negtf2_internal, spe_abstf2_cmp, spe_abstf2_tst): New. | |
20265 | (cmptfeq_gpr, tsttfeq_gpr, cmptfgt_gpr, tsttfgt_gpr, cmptflt_gpr, | |
20266 | tsttflt_gp): New. | |
20267 | ||
cfcda0e0 | 20268 | 2007-01-23 Ian Lance Taylor <iant@google.com> |
20269 | ||
20270 | * Makefile.in (OBJS-common): Reformat, alphabetize, but put | |
20271 | insn-*.o first. | |
20272 | (OBJS-archive): Reformat, alphabetize. | |
20273 | (OBJS): Change out_object_file to OBJS-md. | |
20274 | ||
24deb0af | 20275 | 2007-01-23 Uros Bizjak <ubizjak@gmail.com> |
20276 | ||
20277 | * config/i386/i386.md: Use REG_P, MEM_P, CONST_INT_P, LABEL_P, | |
20278 | JUMP_P and CALL_P predicates where applicable. | |
20279 | * config/i386/i386.c: Ditto. | |
20280 | * config/i386/i386.md: Ditto. | |
20281 | * config/i386/mmx.md: Ditto. | |
20282 | * config/i386/predicates.md: Ditto. | |
20283 | ||
874f8dfb | 20284 | 2007-01-22 Andreas Schwab <schwab@suse.de> |
20285 | ||
20286 | * config/m68k/m68k.h: Fix comment. | |
20287 | ||
f6c42322 | 20288 | 2007-01-22 Jan Hubicka <jh@suse.cz> |
20289 | ||
20290 | * passes.c (init_optimization_passes): Do not rerun | |
20291 | pass_early_warn_uninitialized. | |
20292 | ||
a0315874 | 20293 | 2007-01-22 Richard Guenther <rguenther@suse.de> |
20294 | ||
20295 | PR tree-optimization/30038 | |
20296 | * tree-ssa-math-opts.c (maybe_record_sincos): New static helper | |
20297 | function. | |
20298 | (execute_cse_sincos_1): Likewise. | |
20299 | (execute_cse_sincos): Likewise. | |
20300 | (gate_cse_sincos): Likewise. | |
20301 | (pass_cse_sincos): New pass CSEing sin() and cos() calls using | |
20302 | the cexpi() canonicalization of sincos(). | |
20303 | * tree-pass.h (pass_cse_sincos): Declare. | |
20304 | * passes.c (init_optimization_passes): New pass pas_cse_sincos. | |
20305 | ||
cf86e5ce | 20306 | 2007-01-21 Eric Botcazou <ebotcazou@libertysurf.fr> |
20307 | ||
20308 | PR rtl-optimization/29329 | |
20309 | * combine.c (replaced_rhs_insn): Rename to i2mod. | |
20310 | (replaced_rhs_value): Rename to i2mod_new_rhs. | |
20311 | (i2mod_old_rhs): New global variable. | |
20312 | (combine_instructions): Adjust for above change. Save a copy of | |
20313 | the old RHS into i2mod_old_rhs when the contents of a REG_EQUAL | |
20314 | note are substituted in the second instruction. | |
20315 | (distribute_notes) <REG_DEAD>: Adjust for above change. Do not | |
20316 | ditch the note if it pertains to the second eliminated register | |
20317 | and this register is mentioned in i2mod_old_rhs. | |
20318 | ||
20319 | Revert: | |
20320 | 2006-09-12 Eric Botcazou <ebotcazou@libertysurf.fr> | |
20321 | ||
20322 | * combine.c (distribute_notes) <REG_DEAD>: Do not consider SETs past | |
20323 | the insn to which the note was originally attached. | |
20324 | ||
436a2379 | 20325 | 2007-01-21 Jan Hubicka <jh@suse.cz> |
20326 | ||
20327 | * ipa-inline.c (inlining_mode): Comment, move up. | |
24deb0af | 20328 | (cgraph_decide_inlining_incrementally): Do not perform inlining |
20329 | itself; fix handling of flattening of self recursive functions. | |
436a2379 | 20330 | (cgraph_find_cycles): Remove. |
20331 | (cgraph_flatten_node): Remove. | |
20332 | (cgraph_decide_inlining): Use incremental inliner to handle flattening. | |
20333 | (try_inline): New function. | |
f6c42322 | 20334 | (cgraph_early_inlining): Update call of |
20335 | cgraph_decide_inlining_incrementally. Apply inlining here. | |
436a2379 | 20336 | (apply_inline): Update call of cgraph_decide_inlining_incrementally. |
20337 | ||
533a9fbc | 20338 | 2007-01-21 Dirk Mueller <dmueller@suse.de> |
20339 | ||
20340 | PR bootstrap/30511 | |
20341 | * tree-vrp.c (check_array_bounds): do not warn | |
20342 | about ADDR_EXPR's of ARRAY_REF's which are immediately | |
20343 | used in binary expressions. | |
20344 | ||
e51f5136 | 20345 | 2007-01-21 Ira Rosen <irar@il.ibm.com> |
20346 | ||
3451fffd | 20347 | * tree-vectorizer.h (struct _stmt_vec_info): Add new field |
e51f5136 | 20348 | read_write_dep and macros for its access. |
20349 | * tree-vectorizer.c (new_stmt_vec_info): Initialize the new field. | |
3451fffd | 20350 | * tree-vect-analyze.c (vect_analyze_data_ref_dependence): Remove |
e51f5136 | 20351 | argument, call vect_check_interleaving for every independent pair of |
20352 | data-refs. Mark loads that access the same memory location as a store | |
20353 | in the loop. | |
20354 | (vect_check_dependences): Remove. | |
3451fffd | 20355 | (vect_analyze_data_ref_dependences): Remove vect_check_dependences |
e51f5136 | 20356 | call, fix the call to vect_analyze_data_ref_dependence. |
3451fffd | 20357 | (vect_analyze_data_ref_access): For statements that access the same |
e51f5136 | 20358 | data-ref, check that they are not stores; for loads, check that there |
20359 | is no store that access the same location. | |
20360 | ||
0c672d68 | 20361 | 2007-01-20 Roger Sayle <roger@eyesopen.com> |
20362 | Joseph Myers <joseph@codesourcery.com> | |
20363 | ||
20364 | * doc/invoke.texi (-fdump-rtl-combine): Fix under/overfull hbox. | |
20365 | (-fdump-rtl-stack): Likewise. | |
20366 | (-fno-signed-zeros): Use @minus{} for a minus sign. Correct typo. | |
20367 | (-mcheck-zero-division, -mcpu): Fix under/overfull hbox. | |
20368 | (-mpt-fixed): Use @minus{} for minus sign. | |
20369 | (Using Precompiled Headers): Fix under/overfull hbox. | |
20370 | ||
bec28d38 | 20371 | 2007-01-20 Jan Hubicka <jh@suse.cz> |
20372 | ||
20373 | * tree-flow.h (struct stmt_ann_d): Move references_memory to proper | |
20374 | place within annotation. | |
20375 | ||
b2f8bd14 | 20376 | 2007-01-20 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
20377 | ||
20378 | * pa.c (output_move_double): Change array size of xoperands to 4. | |
20379 | ||
0747b42f | 20380 | 2007-01-20 Jan Hubicka <jh@suse.cz> |
20381 | ||
20382 | * tree-tailcall.c (adjust_return_value): Do not use RESULT_DECL | |
20383 | as temporary. | |
20384 | ||
f74f4e04 | 20385 | 2007-01-19 Ian Lance Taylor <iant@google.com> |
20386 | ||
20387 | * expmed.c (expand_divmod) [TRUNC_MOD_EXPR, TRUNC_DIV_EXPR]: Cast | |
20388 | constant to unsigned HOST_WIDE_INT before negating. | |
20389 | ||
aa1fb459 | 20390 | 2007-01-19 Ian Lance Taylor <iant@google.com> |
20391 | ||
20392 | * tree-ssa-operands.h (struct vuse_vec_d): Change num_vuse field | |
20393 | to unsigned. | |
20394 | (VUSE_VECT_ELEMENT) [ENABLE_CHECKING]: Use unsigned comparison. | |
20395 | (VUSE_ELEMENT_PTR) [ENABLE_CHECKING]: Likewise. | |
20396 | (SET_VUSE_VECT_ELEMENT) [ENABLE_CHECKING]: Likewise. | |
20397 | (SET_VUSE_ELEMENT_VAR) [ENABLE_CHECKING]: Likewise. | |
20398 | (SET_VUSE_ELEMENT_PTR) [ENABLE_CHECKING]: Likewise. | |
20399 | (realloc_vdef, realloc_vuse): Change second parameter to | |
20400 | unsigned. | |
20401 | (ssa_operand_iterator_d): Change vuse_index and mayuse_index | |
20402 | fields to unsigned. | |
20403 | * tree-ssa-operands.c (realloc_vop): Change num_elem parameter to | |
20404 | unsigned. Change x and lim locals to unsigned. | |
20405 | (realloc_vdef, realloc_vuse): Change num_elem parameter to | |
20406 | unsigned. | |
20407 | (finalize_ssa_vuse_ops): Change old_i local to unsigned. | |
20408 | (copy_virtual_operands): Change i and n locals to unsigned. | |
20409 | ||
46b3f237 | 20410 | 2007-01-19 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
20411 | ||
20412 | PR middle-end/29335 | |
20413 | * builtins.c (fold_builtin_1): Handle builtin fdim. | |
20414 | ||
8a4affa8 | 20415 | 2007-01-20 Jan Hubicka <jh@suse.cz> |
20416 | ||
c6f3c945 | 20417 | * tree-ssa.c (init_tree_ssa): Do not call init_alias_heapvars. |
20418 | * tree-ssa-structalias.c (compute_points_to_sets): Do call | |
20419 | init_alias_heapvars. | |
20420 | (init_alias_heapvars): Initialize only when not already initialized. | |
20421 | (delete_alias_heapvars): Set heapvar_for_stmt to NULL. | |
8a4affa8 | 20422 | |
893038cd | 20423 | 2007-01-19 Roger Sayle <roger@eyesopen.com> |
20424 | ||
20425 | * common.opt (fsigned-zeros): New command line option. | |
20426 | * flags.h (HONOR_SIGNED_ZEROS): Control via flag_signed_zeros instead | |
20427 | of flag_unsafe_math_optimizations. | |
20428 | * opts.c (set_fast_math_flags): The -ffast-math command line option | |
20429 | implies -fno-signed-zeros. | |
20430 | (fast_math_flags_set_p): Likewise. | |
20431 | ||
20432 | * doc/invoke.texi: Document new -fno-signed-zeros option, and update | |
20433 | the documentation of -ffast-math appropriately. Wrap long lines. | |
20434 | ||
c5a1dccd | 20435 | 2007-01-19 Steve Ellcey <sje@cup.hp.com> |
20436 | ||
20437 | * system.h (ASM_MAKE_LABEL_LINKONCE): Poison. | |
20438 | * varasm.c (globalize_decl): Remove ASM_MAKE_LABEL_LINKONCE ifdef. | |
20439 | ||
167b550b | 20440 | 2007-01-19 Tomas Bily <tbily@suse.cz> |
20441 | ||
c6f3c945 | 20442 | * cgraphunit.c (cgraph_finalize_function): Updating of pid |
20443 | * tree-profile.c: | |
20444 | (tree_init_ic_make_global_vars): New function | |
20445 | (tree_init_edge_profiler): call of tree_init_ic_make_global_vars | |
20446 | (tree_gen_ic_profiler): New function | |
20447 | (tree_gen_ic_func_profiler): New function | |
20448 | (tree_profiling): Added calling of tree_gen_ic_func_profiler | |
20449 | (tree_profile_hooks): Added hook for indirec/virtual calls | |
20450 | * value-prof.c (tree_find_values_to_profile): New case for | |
20451 | indirect calls | |
20452 | (tree_values_to_profile): Call for determining indirect/virtual | |
20453 | counters | |
20454 | (tree_indirect_call_to_profile): New function | |
20455 | (tree_ic_transform): New function | |
20456 | (tree_ic): New function | |
20457 | (find_func_by_pid): New function | |
20458 | (init_pid_map): New function | |
20459 | (tree_value_profile_transformations): Added check for | |
20460 | indirect/virtual call transformation | |
20461 | * value-prof.h (enum hist_type): New counter type for | |
20462 | indirect/virtual calls | |
20463 | (profile_hooks): Added new hook for profiling indirect/virtual | |
20464 | calls | |
20465 | * profile.c (instrument_values): New case for indirect/virtual | |
20466 | call added | |
20467 | * gcov-io.h (GCOV_LAST_VALUE_COUNTER): Changed to 6 | |
20468 | (GCOV_COUNTER_V_INDIR): New counter type | |
20469 | (GCOV_COUNTER_NAMES): New name of counter "indirect" added | |
20470 | (GCOV_MERGE_FUNCTIONS): New merge function for indirect/virtual | |
20471 | call added | |
20472 | * cgraph.c: Definition of cgraph_max_pid | |
20473 | (cgraph_create_node): Default init of pid attribute | |
20474 | * cgraph.h: Declaration of cgraph_max_pid | |
20475 | (struct cgraph_node): Added pid attribute | |
20476 | * libgcov.c (__gcov_indirect_call_profiler): New function | |
167b550b | 20477 | (__gcov_one_value_profiler_body): New function |
20478 | (__gcov_one_value_profiler): Body was moved to | |
20479 | __gcov_one_value_profiler_body and calls it | |
20480 | ||
c1b4ac84 | 20481 | 2007-01-19 Basile Starynkevitch <basile@starynkevitch.net> |
3451fffd | 20482 | |
c467a6ec | 20483 | * doc/gty.texi (Options): Document the mark_hook option to GTY. |
c6f3c945 | 20484 | * gengtype.c (write_types_data, write_func_for_structure, |
20485 | write_types, ggc_wtd, pch_wtd): Add skip_hooks to | |
20486 | write_types_data, ggc_wtd, pch_wtd for processing mark_hook. | |
20487 | (walk_type, write_func_for_structure): Generate the mark_hook if | |
20488 | needed. | |
c1b4ac84 | 20489 | |
a223d5ed | 20490 | 2007-01-19 Jan Hubicka <jh@suse.cz> |
20491 | ||
f6c42322 | 20492 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Instead of |
20493 | 'early' argument take inlining mode argument specifying whether to | |
20494 | inline for size/speeed or all functions; add support for flattening; | |
20495 | improve dumpting. | |
a223d5ed | 20496 | (cgraph_early_inlining): Update call of decide_inlining_incrementally. |
20497 | ||
bf6fb451 | 20498 | 2007-01-19 Manuel Lopez-Ibanez <manu@gcc.gnu.org> |
20499 | ||
20500 | PR c++/17947 | |
20501 | * toplev.c (warn_deprecated_use): Use %qD instead of %qs to print | |
20502 | the name of the declared identifier. | |
3451fffd | 20503 | |
ae451f6e | 20504 | 2007-01-19 Dirk Mueller <dmueller@suse.de> |
20505 | ||
20506 | * config/i386.h (CONDITIONAL_REGISTER_USAGE): Store | |
20507 | result of PIC_OFFSET_TABLE_REGNUM in temporary variable to avoid | |
20508 | duplicate evaluation. | |
20509 | ||
6947119e | 20510 | 2007-01-19 Uros Bizjak <ubizjak@gmail.com> |
20511 | ||
20512 | * config/i386/i386.md (acos<mode>2): Rename from acossf2 and acosdf2. | |
20513 | Macroize expander using X87MODEF12 mode macro. Extend operand 1 | |
20514 | to XFMode, use acosxf2 and truncate result to requested mode. | |
20515 | Use SSE_FLOAT_MODE_P to disable patterns for SSE math. | |
20516 | (asin<mode>2): Similarly, with asin expanders. | |
20517 | (*fscalexf4_i387): Rename from *fscalexf4. | |
20518 | (expNcorexf3): New expander. | |
20519 | (expxf2, exp10xf2, exp2xf2): Use expNcorexf3 expander. | |
20520 | (exp<mode>2): Rename from expsf2 and expdf2. Macroize expander using | |
20521 | X87MODEF12 mode macro. Extend operand 1 to XFMode, use expxf2 and | |
20522 | truncate result to requested mode. Use SSE_FLOAT_MODE_P to disable | |
20523 | patterns for SSE math. | |
20524 | (exp10<mode>2): Similarly, with exp10 expanders. | |
20525 | (exp2<mode>2): Similarly, with exp2 expanders. | |
20526 | (expm1<mode>2): Similarly, with expm1 expanders. | |
20527 | (ldexp<mode>3): Similarly, with ldexp expanders. | |
20528 | (log<mode>2, log10<mode>2, log2<mode>2, log1p<mode>2, logb<mode>2): | |
20529 | Use gen_truncxf<mode>2_i387_noop to truncate result. | |
20530 | ||
ef1d56fd | 20531 | 2007-01-19 Richard Sandiford <richard@codesourcery.com> |
20532 | ||
20533 | * config/m68k/m68k.h (PREFERRED_STACK_BOUNDARY): Define to 32 | |
20534 | for ColdFire targets. | |
20535 | ||
f6aeaff7 | 20536 | 2007-01-19 Nathan Sidwell <nathan@codesourcery.com> |
20537 | Richard Sandiford <richard@codesourcery.com> | |
20538 | ||
20539 | * config/m68k/m68k.h (M68K_STATIC_CHAIN_REG_NAME): New macro. | |
20540 | (INITIALIZE_TRAMPOLINE): Use STATIC_CHAIN_REGNUM. | |
20541 | (__transfer_from_trampoline): Use M68K_STATIC_CHAIN_REG_NAME. | |
20542 | * config/m68k/m68kelf.h (STATIC_CHAIN_REGNUM): Override. | |
20543 | (M68K_STATIC_CHAIN_REG_NAME): Likewise. | |
20544 | * config/m68k/netbsd-elf.h (M68K_STATIC_CHAIN_REG_NAME): Likewise. | |
20545 | ||
b5489b01 | 20546 | 2007-01-19 Richard Sandiford <richard@codesourcery.com> |
20547 | ||
20548 | * config/m68k/m68k.md (adddi_dilshr32): Rename to... | |
20549 | (*adddi_dilshr32): ...this. Fix formatting. Remove commented-out | |
20550 | non-canonical pattern. Restrict to !TARGET_COLDFIRE. | |
20551 | (*adddi_dilshr32_cf): New pattern. | |
20552 | (adddi3, subdi3): Remove first alternatives. | |
20553 | ||
12e6817c | 20554 | 2007-01-19 Richard Sandiford <richard@codesourcery.com> |
20555 | ||
20556 | * config/m68k/m68k.c (notice_update_cc): If an SFmode move is | |
20557 | implemented using move.l, do not use its cc result for floating-point | |
20558 | comparisons. | |
20559 | ||
53d1aede | 20560 | 2007-01-19 Richard Sandiford <richard@codesourcery.com> |
20561 | ||
20562 | * config/m68k/m68k.h (EXTRA_CONSTRAINT): Stop the 'T' constraint | |
20563 | from accepting 's' constraints if flag_pic. | |
20564 | ||
a77fcdb5 | 20565 | 2007-01-19 Richard Sandiford <richard@codesourcery.com> |
20566 | ||
20567 | * config/m68k/m68k.md (bordered, bunordered, buneq, bunge, bungt) | |
20568 | (bunle, bunlt, bltgt, bordered_rev, bunordered_rev, buneq_rev) | |
20569 | (bunge_rev, bungt_rev, bunle_rev, bunlt_rev, bltgt_rev): Change | |
20570 | condition from TARGET_68881 to TARGET_HARD_FLOAT. | |
20571 | ||
afc78fc6 | 20572 | 2007-01-19 Sandra Loosemore <sandra@codesourcery.com> |
20573 | ||
20574 | * longlong.h (count_leading_zeros, COUNT_LEADING_ZEROS_0): Add | |
20575 | ColdFire alternatives. | |
20576 | * config/m68k/m68k.h (CLZ_DEFINED_VALUE_AT_ZERO): New macro. | |
20577 | * config/m68k/m68k.md (clzsi2): Define for ColdFire | |
20578 | architectures that support ff1 instruction. | |
20579 | ||
9b84b1a0 | 20580 | 2007-01-19 Richard Sandiford <richard@codesourcery.com> |
20581 | Julian Brown <julian@codesourcery.com> | |
20582 | ||
20583 | * config/m68k/m68k.h (CONST_OK_FOR_LETTER_P): Add an 'R' case. | |
20584 | * config/m68k/m68k.md (*movsi_cfv4): Fold into... | |
20585 | (*movsi_cf): ...here. Remove unnecessary 'R' from 'Rg'. | |
20586 | Add commentary. | |
20587 | ||
92b2fb42 | 20588 | 2007-01-19 Richard Sandiford <richard@codesourcery.com> |
20589 | ||
20590 | * config/m68k/m68k-protos.h (valid_mov3q_const): Take a HOST_WIDE_INT | |
20591 | and return a bool. | |
20592 | (output_move_const_into_data_reg, output_move_simode_const): Delete. | |
20593 | * config/m68k/m68k.c (const_method, const_int_cost): Take a | |
20594 | HOST_WIDE_INT instead of an rtx. | |
20595 | (m68k_rtx_costs): Update call accordingly. | |
20596 | (output_move_const_into_data_reg): Likewise. Fix formatting. | |
20597 | (valid_mov3q_const): Take a HOST_WIDE_INT instead of an rtx. | |
20598 | Return a bool. | |
20599 | (output_move_simode_const): Update calls after above changes. | |
20600 | Rework to use automatic variables and predicates like MEM_P. | |
20601 | * config/m68k/m68k.md (pushexthisi_const): Update call to | |
20602 | valid_mov3q_const. | |
20603 | ||
0868ec7d | 20604 | 2007-01-19 Dirk Mueller <dmueller@suse.de> |
20605 | ||
20606 | * tree-ssa-alias.c (perform_var_substitution): Fix typo | |
20607 | in dump_flags test. | |
20608 | ||
18b8d8ae | 20609 | 2007-01-19 Richard Guenther <rguenther@suse.de> |
20610 | ||
20611 | * builtins.c (expand_builtin_cexpi): Fall back to expanding | |
20612 | via cexp in case sincos is not available. | |
20613 | ||
164951a6 | 20614 | 2007-01-19 Richard Guenther <rguenther@suse.de> |
20615 | ||
20616 | * doc/tm.texi (TARGET_HAS_SINCOS): Document new target macro. | |
20617 | * defaults.h (TARGET_HAS_SINCOS): Default to off. | |
20618 | * config/linux.h (TARGET_HAS_SINCOS): Set to on if we have glibc. | |
20619 | * config/alpha/linux.h (TARGET_HAS_SINCOS): Likewise. | |
20620 | * config/sparc/linux.h (TARGET_HAS_SINCOS): Likewise. | |
20621 | * config/sparc/linux64.h (TARGET_HAS_SINCOS): Likewise. | |
20622 | * config/rs6000/linux.h (TARGET_HAS_SINCOS): Likewise. | |
20623 | * config/rs6000/linux64.h (TARGET_HAS_SINCOS): Likewise. | |
20624 | ||
6f3bbf88 | 20625 | 2007-01-19 Uros Bizjak <ubizjak@gmail.com> |
20626 | ||
20627 | * config/i386/i386.md (*fpatanxf3_i387, fpatan_extend<mode>xf3_i387): | |
20628 | New insn patterns. | |
20629 | (atan2sf3_1, atan2df3_1, atan2xf3_1): Remove insn patterns. | |
20630 | (atan2xf3): Directly generate RTL pattern. | |
20631 | (atan2<mode>3): Rename from atan2sf3 and atan2df3 and macroize insn | |
20632 | patterns using X87MODEF12 mode macro. Use fpatan_extend<mode>xf3_i387 | |
20633 | and truncate result to requested mode. Use SSE_FLOAT_MODE_P to | |
20634 | disable patterns for SSE math. | |
20635 | (atan<mode>2): Rename from atansf2 and atandf2 and macroize insn | |
20636 | patterns using X87MODEF12 mode macro. Use fpatan_extend<mode>xf3_i387 | |
20637 | and truncate result to requested mode. Use SSE_FLOAT_MODE_P to | |
20638 | disable patterns for SSE math. | |
20639 | ||
87a18e8b | 20640 | 2007-01-19 Alexandre Oliva <aoliva@redhat.com> |
20641 | ||
20642 | * libgcc-std.ver: Fix typo in %inherit for GCC_4.3.0. | |
20643 | ||
eb381097 | 20644 | 2007-01-18 Roger Sayle <roger@eyesopen.com> |
20645 | ||
20646 | * fold-const.c (fold_unary) <VIEW_CONVERT_EXPR>: Optimize away a | |
20647 | VIEW_CONVERT_EXPR to the same type as it's operand. | |
20648 | ||
1c61d3c1 | 20649 | 2007-01-18 David Edelsohn <edelsohn@gnu.org> |
20650 | ||
20651 | * config/rs6000/darwin-ldouble.c: Only build _SOFT_FLOAT if | |
20652 | configured for long double 128. | |
20653 | ||
7676ab0b | 20654 | 2007-01-18 Mike Stump <mrs@apple.com> |
20655 | ||
20656 | * config/rs6000/rs6000.c (rs6000_emit_vector_compare): Fix build | |
20657 | error. | |
20658 | ||
94675b16 | 20659 | 2007-01-18 Michael Meissner <michael.meissner@amd.com> |
20660 | ||
20661 | * i386.c (ix86_compute_frame_layout): Make fprintf's in #if 0 code | |
20662 | type correct. | |
20663 | ||
490862aa | 20664 | 2007-01-18 Jan Hubicka <jh@suse.cz> |
20665 | ||
20666 | * tree-ssa-operands.c (vop_free_bucket_size): Never return value | |
20667 | greater than NUM_VOP_FREE_BUCKETS. | |
20668 | ||
8a3fd8a7 | 20669 | 2007-01-18 Daniel Berlin <dberlin@dberlin.org> |
20670 | ||
20671 | * tree-ssa-structalias.c: Update comments. | |
20672 | (ptabitmap_obstack): Removed. | |
20673 | (pta_obstack): New. | |
20674 | (oldpta_obstack): Ditto. | |
20675 | (stats): Add a few members. | |
20676 | (struct variable_info): Remove node, complex, address_taken, and | |
20677 | indirect_target members. Add oldsolution member. | |
20678 | (new_var_info): Do not initialize removed members. | |
20679 | (constraint_expr_type): Remove INCLUDES. | |
20680 | (constraint_graph): Add size, implicit_preds, rep, | |
20681 | indirect_cycles, eq_rep, label, direct_nodes, and complex members. | |
20682 | (FIRST_REF_NODE): New macro. | |
20683 | (LAST_REF_NODE): Ditto. | |
20684 | (FIRST_ADDR_NODE): Ditto. | |
20685 | (find): New function. | |
20686 | (unite): Ditto. | |
20687 | (dump_constraint): Do not handle INCLUDES. | |
20688 | (insert_into_complex): Do not insert duplicate constraints. | |
20689 | (condense_varmap_nodes): Renamed and rewritten into ... | |
20690 | (merge_node_constraints): This. Also fix bug in handling of | |
20691 | offseted copy constraints. | |
20692 | (clear_edges_for_node): No longer need to deal with preds at all, | |
3451fffd | 20693 | or removing associated preds/succs. |
8a3fd8a7 | 20694 | (merge_graph_nodes): Deal with indirect_cycles. |
20695 | Don't deal with predecessors. | |
20696 | (add_implicit_graph_edge): New function. | |
20697 | (add_pred_graph_edge): Ditto. | |
20698 | (add_graph_edge): Don't deal with predecessors. | |
20699 | (build_constraint_graph): Removed. | |
20700 | (build_pred_graph): New function. | |
20701 | (build_succ_graph): Ditto. | |
20702 | (struct scc_info): Removed in_component. Added roots, dfs, and | |
20703 | node_mapping. Remove visited_index, unification_queue. | |
20704 | (scc_visit): Deal with union-find we do now. | |
20705 | Deal with cycles with REF nodes. | |
20706 | (collapse_nodes): Renamed and rewritten to ... | |
20707 | (unify_nodes): This. | |
20708 | (process_unification_queue): Removed. | |
20709 | (topo_visit): Cleanup | |
20710 | (do_da_constraint): Use find. | |
20711 | (do_sd_constraint): Ditto. | |
20712 | (do_ds_constraint): Ditto. | |
20713 | (do_complex_constraint): Ditto. | |
20714 | (init_scc_info): Update for removed and added members. | |
20715 | (find_and_collapse_graph_cycles): Renamed and rewritten into ... | |
20716 | (find_indirect_cycles): This. | |
20717 | (equivalence_class): New variable. | |
20718 | (label_visit): New function. | |
20719 | (perform_variable_substitution): Rewritten. | |
20720 | (free_var_substitution_info): New function. | |
20721 | (find_equivalent_node): Ditto. | |
20722 | (move_complex_constraints): Ditto. | |
20723 | (eliminate_indirect_cycles): Ditto. | |
20724 | (solve_graph): Only propagate changed bits. | |
20725 | Use indirect cycle elimination. | |
20726 | Use find. | |
20727 | (tree_id_t): Rename to tree_vi_t, delete id member, add vi member. | |
20728 | (tree_id_eq): Renamed to ... | |
20729 | (tree_vi_eq): This. Update for member change | |
20730 | (insert_id_for_tree): Renamed and rewritten to ... | |
20731 | (insert_vi_for_tree): This. | |
20732 | (lookup_id_for_tree): Renamed and rewritten to ... | |
20733 | (lookup_vi_for_tree): This. | |
20734 | (get_id_for_tree): Renamed and rewritten to ... | |
20735 | (get_vi_for_tree): Ditto. | |
20736 | (get_constraint_exp_from_ssa_var): Update to use get_vi_for_tree. | |
20737 | (process_constraint): Don't handle INCLUDES. | |
20738 | Remove special ADDRESSOF case. | |
20739 | (find_func_aliases): Rewrite to use vi functions instead of id | |
20740 | ones. | |
20741 | (create_function_info_for): Ditto. | |
20742 | (create_variable_info_for): Ditto. | |
20743 | (intra_create_variable_infos): Ditto. | |
20744 | (merge_smts_into): Ditto. | |
20745 | (find_what_p_points_to): Ditto. | |
20746 | (init_base_vars): Ditto. | |
20747 | (init_alias_vars): Ditto. | |
20748 | (remove_preds_and_fake_succs): New function. | |
20749 | (dump_sa_points_to_info): Dump new stats. | |
20750 | (dump_solution_for_var): Use find. | |
20751 | (set_used_smts): Fix formatting. | |
20752 | (compute_points_to_sets): Updated for new functions. | |
20753 | (ipa_pta_execute): Ditto. | |
20754 | ||
2d329930 | 20755 | 2007-01-18 Kazu Hirata <kazu@codesourcery.com> |
20756 | Richard Sandiford <richard@codesourcery.com> | |
20757 | ||
20758 | * doc/tm.texi (TARGET_FUNCTION_VALUE): Expand documentation of | |
20759 | parallels. | |
20760 | * calls.c (expand_call): If the return value is a PARALLEL, | |
20761 | extract its first member. | |
20762 | * config/m68k/linux.h (FUNCTION_EXTRA_EPILOGUE): Remove. | |
20763 | * config/m68k/m68k.c (m68k_output_function_epilogue): Don't | |
20764 | use FUNCTION_EXTRA_EPILOGUE. | |
20765 | (m68k_function_value): Return a PARALLEL if the return value | |
20766 | is of a pointer type. | |
20767 | * config/m68k/netbsd-elf.h (current_function_returns_pointer) | |
20768 | (FUNCTION_EXTRA_EPILOGUE): Remove. | |
20769 | * config/m68k/m68k.md (D0_REG): New constant. | |
20770 | ||
fbb404bf | 20771 | 2007-01-18 Kazu Hirata <kazu@codesourcery.com> |
20772 | ||
20773 | * config/m68k/m68k.c (m68k_output_function_epilogue): Don't | |
20774 | output a NOP for empty epilogues. | |
20775 | ||
6571ac6e | 20776 | 2007-01-18 Richard Sandiford <richard@codesourcery.com> |
20777 | ||
20778 | * config/m68k/m68k.c (m68k_use_return_insn): Update comments | |
20779 | before function. Extend register save check to include all | |
20780 | registers, not just integer ones. | |
20781 | ||
b38bcc54 | 20782 | 2007-01-18 Kazu Hirata <kazu@codesourcery.com> |
20783 | ||
20784 | * config/m68k/m68k-protos.h (use_return_insn): Rename to... | |
20785 | (m68k_use_return_insn): ...this. | |
20786 | * config/m68k/m68k.h (USE_RETURN_INSN): Delete. | |
20787 | * config/m68k/m68k.c (use_return_insn): Rename to... | |
20788 | (m68k_use_return_insn): ...this. | |
20789 | * config/m68k/m68k.md (return): Use m68k_use_return_insn instead | |
20790 | of USE_RETURN_INSN. | |
20791 | ||
110da380 | 20792 | 2007-01-18 Nathan Sidwell <nathan@codesourcery.com> |
20793 | ||
20794 | * config/m68k/fpgnulib.c (__truncdfsf2): Implement round to | |
20795 | nearest even, fix denormal rounding overflow. | |
20796 | ||
6026414c | 20797 | 2007-01-18 Richard Sandiford <richard@codesourcery.com> |
20798 | ||
20799 | * config/m68k/m68k.md (movsf_cf_hard): Use fsmove instead of | |
20800 | f%$smove and f%$move. | |
20801 | (movdf_cf_hard): Use fdmove for cases 0 and 3 and fmove for case 1. | |
20802 | (extendsfdf2_cf): Use fdmove instead of f%&move. | |
20803 | (truncdfsf2_cf): Use fsmove instead of f%$smove. | |
20804 | (add<mode>3_cf, sub<mode>3_cf): Use <FP:prec> instead of <FP:round>. | |
20805 | ||
301b951b | 20806 | 2007-01-18 Richard Sandiford <richard@codesourcery.com> |
20807 | ||
20808 | * config/m68k/m68k.md (movdf_cf_hard): Use output_move_double for | |
20809 | GPR<-GPR moves. | |
20810 | ||
f313069d | 20811 | 2007-01-18 Richard Sandiford <richard@codesourcery.com> |
20812 | ||
20813 | * real.h (real_format): Add a canonical_nan_lsbs_set field. | |
20814 | (coldfire_single_format): Declare. | |
20815 | (coldfire_double_format): Likewise. | |
20816 | * real.c (encode_ieee_single): Use canonical_nan_lsbs_set instead | |
20817 | of qnan_msb_set to determine the lower bits of a canonical | |
20818 | NaN significand. | |
20819 | (encode_ieee_double): Likewise. | |
20820 | (encode_ieee_quad): Likewise. | |
20821 | (ieee_single_format): Initialize canonical_nan_lsbs_set. | |
20822 | (mips_single_format): Likewise. | |
20823 | (ieee_double_format): Likewise. | |
20824 | (mips_double_format): Likewise. | |
20825 | (ieee_extended_motorola_format): Likewise. | |
20826 | (ieee_extended_intel_96_format): Likewise. | |
20827 | (ieee_extended_intel_128_format): Likewise. | |
20828 | (ieee_extended_intel_96_round_53_format): Likewise. | |
20829 | (ibm_extended_format): Likewise. | |
20830 | (mips_extended_format): Likewise. | |
20831 | (ieee_quad_format): Likewise. | |
20832 | (mips_quad_format): Likewise. | |
20833 | (vax_f_format): Likewise. | |
20834 | (vax_d_format): Likewise. | |
20835 | (vax_g_format): Likewise. | |
20836 | (i370_single_format): Likewise. | |
20837 | (i370_double_format): Likewise. | |
20838 | (decimal_single_format): Likewise. | |
20839 | (decimal_double_format): Likewise. | |
20840 | (decimal_quad_format): Likewise. | |
20841 | (c4x_single_format): Likewise. | |
20842 | (c4x_extended_format): Likewise. | |
20843 | (real_internal_format): Likewise. | |
20844 | (coldfire_single_format): New real_format. | |
20845 | (coldfire_double_format): Likewise. | |
20846 | * config/pdp11/pdp11.c (pdp11_f_format): Initialize | |
20847 | canonical_nan_lsbs_set. | |
20848 | (pdp11_d_format): Likewise. | |
20849 | * config/m68k/m68k.c (override_options): Override REAL_FORMAT_MODE | |
20850 | if TARGET_COLDFIRE_CPU. | |
20851 | ||
dd7218bb | 20852 | 2007-01-18 Richard Sandiford <richard@codesourcery.com> |
20853 | ||
20854 | * config/m68k/m68k-protos.h (m68k_output_pic_call): Delete. | |
20855 | (output_call, m68k_legitimize_call_address): Declare. | |
20856 | * config/m68k/m68k.h (EXTRA_CONSTRAINT): Remove unnecessary | |
20857 | parenthesees. Add support for a 'W' constraint. | |
20858 | (LEGITIMATE_PIC_OPERAND_P): Remove SYMBOL_REF_FLAG handling. | |
20859 | (PRINT_OPERAND_PUNCT_VALID_P): Remove comment about 'o'. | |
20860 | (m68k_symbolic_call, m68k_symbolic_jump): Declare. | |
20861 | * config/m68k/m68k.c (m68k_symbolic_call, m68k_symbolic_jump): New | |
20862 | variables. | |
20863 | (override_options): Initialize them. Do not set flag_no_function_cse | |
20864 | for TARGET_ID_SHARED_LIBRARY. | |
20865 | (m68k_output_pic_call): Delete. | |
20866 | (m68k_legitimize_call_address): New function. | |
20867 | (print_operand): Remove the %o prefix. Handle the %p prefix. | |
20868 | (output_call): New function. | |
20869 | (m68k_output_mi_thunk): Use m68k_symbolic_jump. Always load the | |
20870 | target address from the GOT if symbolic jumps are not allowed. | |
20871 | * config/m68k/m68k.md (call, general_operand): Do not set | |
20872 | SYMBOL_REF_FLAG. Use m68k_legitimize_call_address instead. | |
20873 | Merge separate flag_pic and !flag_pic define_insns into... | |
20874 | (*call, *call_value): ...these new patterns. Match the address | |
20875 | rather than the containing MEM and require it to be a call_operand. | |
20876 | Use output_call to generate the asm template. | |
20877 | * config/m68k/predicates.md (const_call_operand): New predicate. | |
20878 | (call_operand): Likewise. | |
20879 | ||
d2a91c7e | 20880 | 2007-01-18 Nathan Sidwell <nathan@codesourcery.com> |
20881 | ||
20882 | * config/m68k/m68k.h (REGISTER_MOVE_COST): Simplify definition. | |
20883 | (STACK_GROWS_DOWNWARD): Define to 1. | |
20884 | (FUNCTION_VALUE, LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Equivocate | |
20885 | comments, emphasizing that these values are only defaults. | |
20886 | * config/m68k/linux.h (LINK_SPEC): Fix formatting in #undef. | |
20887 | * config/m68k/m68k.c (const_method): Remove trailing whitespace. | |
20888 | ||
7dd6ff6d | 20889 | 2007-01-18 Richard Sandiford <richard@codesourcery.com> |
20890 | ||
20891 | * config/m68k/m68k.md (cmpsi): Remove outdated flag_pic handling. | |
20892 | ||
0b93d200 | 20893 | 2007-01-18 Kazu Hirata <kazu@codesourcery.com> |
20894 | Richard Sandiford <richard@codesourcery.com> | |
20895 | ||
20896 | * config/m68k/m68k.h (DATA_REGNO_P, ADDRESS_REGNO_P, INT_REGNO_P) | |
20897 | (FP_REGNO_P): New macros. | |
20898 | (REGNO_OK_FOR_INDEX_P, REGNO_OK_FOR_BASE_P, REGNO_OK_FOR_DATA_P) | |
20899 | (REGNO_OK_FOR_FP_P, REG_OK_FOR_INDEX_P, REG_OK_FOR_BASE_P): Use them. | |
20900 | (EH_RETURN_STACKADJ_RTX): Use A0_REG. | |
20901 | * config/m68k/m68k.c (m68k_regno_mode_ok): Use the new REGNO macros. | |
20902 | ||
45965f3c | 20903 | 2007-01-18 Nathan Sidwell <nathan@codesourcery.com> |
20904 | ||
20905 | * config.gcc (m68k-*-aout*, m68k-*-coff*, m68020-*-elf*, m68k-*-elf*) | |
20906 | (m68k-*-uclinuxoldabi, m68k-*-uclinux*, m68k-*-rtems*): Add t-floatlib | |
20907 | to $tmake_file. | |
20908 | * config/m68k/t-floatlib: New file, extracting common code from... | |
20909 | * config/m68k/t-m68kbare, config/m68k/t-m68kelf, | |
20910 | * config/m68k/t-uclinux: Here. | |
20911 | * config/m68k/fpgnulib.c: Do not compile extendeed precision | |
20912 | routines on ColdFire targets. | |
20913 | ||
2f87f72a | 20914 | 2007-01-18 Nathan Sidwell <nathan@codesourcery.com> |
20915 | ||
20916 | * config.gcc (m68k-*-aout*, m68k-*-coff*, m68020-*-elf*, m68k-*-elf*) | |
20917 | (m68010-*-netbsdelf*, m68k*-*-netbsdelf*, m68k*-*-openbsd*) | |
20918 | (m68k-*-uclinuxoldabi, m68k-*-uclinux*, m68k-*-linux*) | |
20919 | (m68k-*-rtems*): Use tm_file rather than m68k/m68k.h and | |
20920 | explicitly set MOTOROLA to 1. | |
20921 | * config/m68k/m68k.h (MOTOROLA): Simplify definition accordingly. | |
20922 | ||
bfcb79ea | 20923 | 2007-01-18 Richard Sandiford <richard@codesourcery.com> |
20924 | Nathan Sidwell <nathan@codesourcery.com> | |
20925 | ||
20926 | * config/m68k/m68k.h (PCC_STATIC_STRUCT_RETURN): Delete. | |
20927 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Add MOTOROLA cases. | |
20928 | * config/m68k/coff.h (REGISTER_PREFIX_MD): Delete. | |
20929 | * config/m68k/m68020-elf.h (LIB_SPEC): Delete. | |
20930 | * config/m68k/m68k-none.h (CC1_SPEC, CPP_SUBTARGET_SPEC): Delete. | |
20931 | * config/m68k/m68kelf.h (IMMEDIATE_PREFIX, REGISTER_PREFIX_MD) | |
20932 | (ASM_OUTPUT_REG_PUSH, ASM_OUTPUT_REG_POP): Delete. | |
20933 | (NO_DOLLAR_IN_LABEL, PCC_STATIC_STRUCT_RETURN): Don't undefine. | |
20934 | (BSS_ASM_OP, ASM_OUTPUT_SKIP, ASM_OUTPUT_ASCII): Delete. | |
20935 | * config/m68k/m68kemb.h (PCC_STATIC_STRUCT_RETURN): Don't undefine. | |
20936 | * config/m68k/linux.h (SIZE_TYPE, PTRDIFF_TYPE, WCHAR_TYPE) | |
20937 | (WCHAR_TYPE_SIZE, TARGET_OBJFMT_CPP_BUILTINS): Delete. | |
20938 | (TARGET_OS_CPP_BUILTINS): Don't define mc68000 and mc68020 here. | |
20939 | (DBX_REGISTER_NUMBER): Delete. | |
20940 | * config/m68k/netbsd-elf.h (IMMEDIATE_PREFIX): Delete. | |
20941 | (PCC_STATIC_STRUCT_RETURN): Don't undefine. | |
20942 | * config/m68k/openbsd.h (PCC_STATIC_STRUCT_RETURN): Define. | |
20943 | ||
f8200b2a | 20944 | 2007-01-18 Richard Sandiford <richard@codesourcery.com> |
20945 | ||
20946 | * config.gcc (m68k-*-uclinux*): Add flat.h to $tm_file. | |
20947 | * config/flat.h: New file. | |
20948 | * crtstuff.c (USE_PT_GNU_EH_FRAME): Don't define if | |
20949 | OBJECT_FORMAT_FLAT. | |
20950 | * config/m68k/m68k.h (ASM_PREFERRED_EH_DATA_FORMAT): Do not use | |
20951 | indirect references for -msep-data or -mid-shared-library. | |
20952 | Do not use PC-relative code addresses either. | |
20953 | * config/m68k/m68k.c (override_options): Restrict -fPIC error | |
20954 | to -mpcrel. | |
20955 | * config/m68k/uclinux.h (STARTFILE_SPEC): Define. Use Scrt1.o | |
20956 | for shared libraries and crt1.o for executables. Use crti.o and | |
20957 | crtbegin.o. | |
20958 | (ENDFILE_SPEC): Use crtend.o and crtn.o. | |
20959 | (LIB_SPEC): Suppress -Rlibc.gdb if -static-libc is given. | |
20960 | Do not add -elf2flt or -shared-lib-id options here. | |
20961 | (LINK_SPEC): Define. Pass -elf2flt if no -elf2flt option is given. | |
20962 | Pass -shared-lib-id if -mid-shared-library, taking the library | |
20963 | identifier from -mshared-library-id if given, otherwise | |
20964 | defaulting to 0. | |
20965 | (EH_FRAME_IN_DATA_SECTION): Do not undefine. | |
20966 | (INIT_SECTION_ASM_OP, FINI_SECTION_ASM_OP): Likewise. | |
20967 | (TARGET_OS_CPP_BUILTINS): Define __GXX_MERGED_TYPEINFO_NAMES=0 | |
20968 | and __GXX_TYPEINFO_EQUALITY_INLINE=0 if -mid-shared-library. | |
20969 | (DRIVER_SELF_SPECS): Map unadorned PIC options to -msep-data. | |
20970 | * config/m68k/t-uclinux (EXTRA_MULTILIB_PARTS): Add crtbegin.o | |
20971 | and crtend.o. | |
20972 | * config/m68k/lb1sf68.asm (PICCALL): Use an lea and pc-relative | |
20973 | jump sequence for ISA A and ISA A+. | |
20974 | (PICJUMP): Likewise. | |
20975 | ||
a4e649cf | 20976 | 2007-01-18 Richard Sandiford <richard@codesourcery.com> |
20977 | ||
20978 | * config.gcc (m68k-*-uclinux*): Base the port on the common | |
20979 | and m68k GNU/Linux files rather than on the generic ELF ones. | |
20980 | * config/m68k/uclinux.h (TARGET_VERSION): Override. | |
20981 | (TARGET_OS_CPP_BUILTINS): Use LINUX_TARGET_OS_CPP_BUILTINS. | |
20982 | ||
86d3be83 | 20983 | 2007-01-18 Julian Brown <julian@codesourcery.com> |
20984 | Richard Sandiford <richard@codesourcery.com> | |
20985 | ||
20986 | * config/m68k/m68k.h (LONG_DOUBLE_TYPE_SIZE): Make 64-bit on ColdFire. | |
20987 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise. | |
20988 | * config/m68k/netbsd-elf.h (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Undefine | |
20989 | before redefining. | |
20990 | * config/m68k/uclinux-oldabi.h (LONG_DOUBLE_TYPE_SIZE): Redefine to | |
20991 | 80 unconditionally. | |
20992 | (LIBGCC2_LONG_DOUBLE_TYPE_SIZE): Likewise. | |
20993 | ||
8bc67792 | 20994 | 2007-01-18 Richard Sandiford <richard@codesourcery.com> |
20995 | ||
20996 | * doc/install.texi: Document m68k-uclinuxoldabi. | |
20997 | * config.gcc (m68k-*-uclinuxoldabi): New configuration. | |
20998 | * config/m68k/uclinux-oldabi.h: New file, copied from | |
20999 | config/m68k/uclinux.h. | |
21000 | ||
58f4ce52 | 21001 | 2007-01-18 Kaz Kojima <kkojima@rr.iij4u.or.jp> |
21002 | ||
21003 | * config/m32r/m32r-protos.h (m32r_expand_epilogue): Declare it. | |
21004 | * config/m32r/m32r.c (m32r_setup_incoming_varargs): Use gen_frame_mem. | |
21005 | (m32r_compute_frame_size): Use unsigned for regno. | |
21006 | (m32r_reload_lr): Use gen_frame_mem. | |
21007 | (pop): New. | |
21008 | (m32r_output_function_epilogue): Don't output the function epilogue | |
21009 | textually here. | |
21010 | (m32r_expand_epilogue): New. | |
21011 | (direct_return): Return false if the function has the interrupt | |
21012 | attribute. | |
21013 | (m32r_hard_regno_rename_ok): Remove code for the textual epilogue. | |
21014 | * config/m32r/m32r.md (epilogue): New expander. | |
21015 | (return_lr, return_rte): New insns. | |
21016 | (return): Make it expander. | |
21017 | (return_normal): New expander. | |
21018 | ||
fa4b183b | 21019 | 2007-01-18 Josh Conner <jconner@apple.com> |
21020 | ||
21021 | PR target/30485 | |
21022 | * config/rs6000/rs6000.c (rs6000_emit_vector_compare): Add | |
21023 | support for UNLE, UNLT, UNGE, and UNGT. | |
21024 | ||
6fa78c7b | 21025 | 2007-01-18 Jan Hubicka <jh@suse.cz> |
21026 | ||
21027 | * tree-vrp.c (finalize_jump_threads): Do not call cleanup_cfg by hand. | |
21028 | * tree-tailcall (add_virtual_phis): Likewise. | |
21029 | (optimize_tail_call): Return TODOs. | |
21030 | (execute_tail_calls): Return TODOs. | |
21031 | * tree-ssa-ccp (execute_fold_all_builtins): Do cleanup_cfg via TODO. | |
21032 | * tree-cfgcleanup.c (cleanup_tree_cfg_loop): Return if something | |
21033 | changed. | |
21034 | * tree-ssa-forwprop.c (tree_ssa_forward_propagate_single_use_value): | |
21035 | Cleanup cfg using TODO. | |
21036 | * tree-flow.h (cleanup_tree_cfg_loop): Update prototype. | |
21037 | * passes.c (execute_function_todo): When cleanup did something, remove | |
21038 | unused locals. | |
21039 | * tree-cfg.c (pass_build_cfg): Add cleanup_cfg TODO. | |
21040 | (make_edges): Don't cleanup_cfg. | |
21041 | ||
64d0b996 | 21042 | 2007-01-18 Uros Bizjak <ubizjak@gmail.com> |
21043 | ||
21044 | * reg-stack.c (subst_stack_regs_pat) [UNSPEC_SINCOS_COS, | |
21045 | UNSPEC_XTRACT_FRACT]: Use generic code for instructions that | |
21046 | operate on the top of stack. | |
21047 | [UNSPEC_SINCOS_SIN, UNSPEC_XTRACT_EXP, UNSPEC_TAN]: Rewrite | |
21048 | register handling of instructions that output to the second | |
21049 | stack slot. | |
21050 | [UNSPEC_TAN_ONE, UNSPEC_TAN_TAN]: Remove. | |
21051 | (move_for_stack_reg): Special-case check for dead destination | |
21052 | stack slot for constant load of 1.0 inside UNSPEC_TAN. | |
21053 | ||
21054 | * config/i386/i386.md (UNSPEC_TAN): New constant. | |
21055 | (UNSPEC_TAN_ONE, UNSPEC_TAN_TAN): Remove. | |
21056 | (fptanxf4_i387, fptan_extend<mode>xf4_i387): New patterns | |
21057 | to correctly model move of constant 1.0 to top stack slot. | |
21058 | (*tandf3_1, *tansf3_1, *tanxf3_1): Remove insn patterns. | |
21059 | (unnamed peephole2 pattern): Remove corresponding peephole2 | |
21060 | pattern that optimizes tan insn and loading of constant 1.0. | |
21061 | (tanxf2): Use fptanxf4_i387. | |
21062 | (tan<mode>2): Rename from tansf2 and tandf2 and macroize insn | |
21063 | patterns using X87MODEF12 mode macro. Use fptan_extend<mode>xf4_i387 | |
21064 | and truncate result to requested mode. Use SSE_FLOAT_MODE_P to | |
21065 | disable patterns for SSE math. | |
21066 | (sincos<mode>3): Use truncxf<mode>2_i387_noop for truncation. | |
21067 | (fyl2x_extend<mode>xf3_i387): Use X87MODEF12 for operand 1. | |
21068 | ||
5bc96398 | 21069 | 2007-01-18 Dirk Mueller <dmueller@suse.de> |
64d0b996 | 21070 | Richard Guenther <rguenther@suse.de> |
5bc96398 | 21071 | |
64d0b996 | 21072 | PR diagnostic/8268 |
21073 | * doc/invoke.texi (Warray-bounds): Document -Warray-bounds. | |
21074 | * common.opt (Warray-bounds): Add new warning option. | |
21075 | * c-opts.c (c_common_handle_option): Define -Warray-bounds | |
21076 | if -Wall is given. | |
5bc96398 | 21077 | * Makefile.in: make tree-vrp.o depend on toplev.h |
64d0b996 | 21078 | * tree-vrp.c (vrp_finalize): Call check_array_refs if -Warray-bounds |
21079 | is enabled. | |
21080 | (check_array_refs, check_array_bounds, check_array_ref): New. | |
5bc96398 | 21081 | |
64d0b996 | 21082 | 2007-01-18 Jan Hubicka <jh@suse.cz> |
33a34f1e | 21083 | |
21084 | * tree-ssa-ccp.c (ccp_finalize): Return if something changed. | |
21085 | (execute_ssa_ccp): Return flags conditionally. | |
21086 | * tree-ssa-propagate.c (substitue_and_fold): Return if something was | |
21087 | changed. | |
21088 | * tree-ssa-propagate.h (substitute_and_fold): Update prototype. | |
21089 | ||
64d0b996 | 21090 | 2007-01-18 Steven Bosscher <steven@gcc.gnu.org> |
30641a08 | 21091 | |
21092 | * cfgcleanup.c (cleanup_cfg): Detect cfglayout mode and set | |
21093 | the CLEANUP_CFGLAYOUT flag when in cfglayout mode. | |
21094 | ||
21095 | * Makefile.c (GTFILES): Add cfglayout.h. | |
21096 | * gengtype.c (open_base_files): Likewise. | |
21097 | * cfglayout.c (cfg_layout_function_footer, | |
21098 | cfg_layout_function_header) Reindent to make gengtype happy. | |
21099 | * cfglayout.h (cfg_layout_function_footer, | |
21100 | cfg_layout_function_header): Add GTY(()) marker. | |
21101 | ||
21102 | * ifcvt.c (noce_try_sign_mask): Make sure INSN_B is non-null. | |
21103 | ||
115875a1 | 21104 | 2007-01-18 Ben Elliston <bje@au.ibm.com> |
21105 | ||
21106 | * genautomata.c (write_automata): Include xstrerror output in the | |
21107 | error message if writing the DFA description file fails. | |
21108 | ||
34967002 | 21109 | 2007-01-17 H.J. Lu <hongjiu.lu@intel.com> |
21110 | ||
21111 | * config/mips/mips-protos.h (mips_output_external): Make it | |
21112 | return void. | |
21113 | * config/mips/iris.h (TARGET_ASM_EXTERNAL_LIBCALL): Removed. | |
21114 | * config/mips/mips.c (irix_output_external_libcall): Likewise. | |
21115 | (extern_list): Likewise. | |
21116 | (extern_head): Likewise. | |
21117 | (TARGET_ASM_FILE_END): Likewise. | |
21118 | (mips_file_end): Likewise. | |
21119 | (mips_output_external): Rewritten. | |
21120 | ||
ed5217e6 | 21121 | 2007-01-18 Ben Elliston <bje@au.ibm.com> |
21122 | ||
21123 | * genpreds.c (write_insn_preds_c): Only write out the function | |
21124 | body for regclass_for_constraint if we have register constraints. | |
21125 | ||
f182cde3 | 21126 | 2007-01-17 Tom Tromey <tromey@redhat.com> |
21127 | ||
21128 | * doc/sourcebuild.texi (libgcj Tests): Use sourceware.org. | |
21129 | * doc/install.texi (Testing): Use sourceware.org. | |
21130 | (Binaries): Likewise. | |
21131 | (Specific): Likewise. | |
21132 | * doc/contrib.texi (Contributors): Use sourceware.org. | |
21133 | ||
be815e57 | 21134 | 2007-01-17 Anatoly Sokolov <aesok@post.ru> |
21135 | ||
21136 | * config/avr/avr.h (AVR_HAVE_LPMX): New macro. | |
21137 | (AVR_ENHANCED): Rename to ... | |
21138 | (AVR_HAVE_MUL): ... new. | |
21139 | (avr_enhanced_p): Rename to ... | |
21140 | (avr_have_mul_p): ... new. | |
3451fffd | 21141 | (TARGET_CPU_CPP_BUILTINS): Use 'avr_have_mul_p' instead of |
be815e57 | 21142 | 'avr_enhanced_p' for "__AVR_ENHANCED__". Define "__AVR_HAVE_MUL__". |
21143 | * config/avr/avr.c (avr_enhanced_p): Rename to ... | |
21144 | (avr_have_mul_p): ... new. | |
21145 | (base_arch_s): Rename 'enhanced' to 'have_mul'. | |
21146 | (avr_override_options): Use 'avr_have_mul_p' and 'have_mul' instead of | |
21147 | 'avr_enhanced_p' and 'enhanced'. | |
3451fffd | 21148 | (ashlhi3_out, ashrhi3_out, lshrhi3_out, avr_rtx_costs): Use |
be815e57 | 21149 | AVR_HAVE_MUL instead of AVR_ENHANCED. |
21150 | * avr.md (*tablejump_enh): Use AVR_HAVE_LPMX instead of AVR_ENHANCED. | |
3451fffd | 21151 | (mulqi3, *mulqi3_enh, *mulqi3_call, mulqihi3, umulqihi3, mulhi3, |
21152 | *mulhi3_enh, *mulhi3_call, mulsi3, *mulsi3_call): Use AVR_HAVE_MUL | |
be815e57 | 21153 | instead of AVR_ENHANCED. |
21154 | (*tablejump_enh): Use AVR_HAVE_LPMX instead of AVR_ENHANCED. | |
21155 | * libgcc.S: Use __AVR_HAVE_MUL__ instead of __AVR_ENHANCED__. | |
21156 | (__tablejump__): Use __AVR_HAVE_LPMX__ instead of __AVR_ENHANCED__. | |
8cc5a1af | 21157 | |
24ffec38 | 21158 | 2007-01-17 Ian Lance Taylor <iant@google.com> |
21159 | ||
21160 | * vec.h (VEC_reserve_exact): Define. | |
21161 | (vec_gc_p_reserve_exact): Declare. | |
21162 | (vec_gc_o_reserve_exact): Declare. | |
21163 | (vec_heap_p_reserve_exact): Declare. | |
21164 | (vec_heap_o_reserve_exact): Declare. | |
21165 | (VEC_OP (T,A,reserve_exact)): New static inline function, three | |
21166 | versions. | |
21167 | (VEC_OP (T,A,reserve)) [all versions]: Remove handling of | |
21168 | negative parameter. | |
21169 | (VEC_OP (T,A,alloc)) [all versions]: Call ...reserve_exact. | |
21170 | (VEC_OP (T,A,copy)) [all versions]: Likewise. | |
21171 | (VEC_OP (T,a,safe_grow)) [all versions]: Likewise. | |
21172 | * vec.c (calculate_allocation): Add exact parameter. Change all | |
21173 | callers. | |
21174 | (vec_gc_o_reserve_1): New static function, from vec_gc_o_reserve. | |
21175 | (vec_gc_p_reserve, vec_gc_o_reserve): Call vec_gc_o_reserve_1. | |
21176 | (vec_gc_p_reserve_exact, vec_gc_o_reserve_exact): New functions. | |
21177 | (vec_heap_o_reserve_1): New static function, from vec_heap_o_reserve. | |
21178 | (vec_heap_p_reserve, vec_heap_o_reserve): Call vec_heap_o_reserve_1. | |
21179 | (vec_heap_p_reserve_exact): New function. | |
21180 | (vec_heap_o_reserve_exact): New function. | |
21181 | ||
7faf1979 | 21182 | 2007-01-17 Jan Hubicka <jh@suse.cz> |
21183 | ||
21184 | * ipa-type-escape.c (look_for_casts): Revamp using handled_component_p. | |
21185 | ||
5d266583 | 21186 | 2007-01-17 Eric Christopher <echristo@apple.com> |
21187 | ||
21188 | * config.gcc: Support core2 processor. | |
21189 | ||
5fa09f4d | 21190 | 2007-01-16 Jan Hubicka <jh@suse.cz> |
21191 | ||
21192 | * tree-ssanames.c (release_dead_ssa_names): Instead of ggc_freeing | |
ed69c853 | 21193 | the names, just unlink the chain so we don't crash on dangling |
21194 | pointers | |
5fa09f4d | 21195 | to dead SSA names. |
21196 | ||
09a2e412 | 21197 | 2007-01-16 Jan Hubicka <jh@suse.cz> |
21198 | ||
21199 | * cgraph.h (cgraph_decide_inlining_incrementally): Kill. | |
21200 | * tree-pass.h: Reorder to make IPA passes appear toegher. | |
ed69c853 | 21201 | (pass_early_inline, pass_inline_parameters, pass_apply_inline): |
21202 | Declare. | |
09a2e412 | 21203 | * cgraphunit.c (cgraph_finalize_function): Do not compute inling |
21204 | parameters, do not call early inliner. | |
21205 | * ipa-inline.c: Update comments. Include tree-flow.h | |
21206 | (cgraph_decide_inlining): Do not compute inlining parameters. | |
21207 | (cgraph_decide_inlining_incrementally): Return TODOs; assume to | |
21208 | be called with function context set up. | |
21209 | (pass_ipa_inline): Remove unreachable functions before pass. | |
21210 | (cgraph_early_inlining): Simplify assuming to be called from the | |
21211 | PM as local pass. | |
21212 | (pass_early_inline): New pass. | |
21213 | (cgraph_gate_ipa_early_inlining): New gate. | |
21214 | (pass_ipa_early_inline): Turn into simple wrapper. | |
21215 | (compute_inline_parameters): New function. | |
21216 | (gate_inline_passes): New gate. | |
21217 | (pass_inline_parameters): New pass. | |
21218 | (apply_inline): Move here from tree-optimize.c | |
21219 | (pass_apply_inline): New pass. | |
21220 | * ipa.c (cgraph_remove_unreachable_nodes): Verify cgraph after | |
21221 | transforming. | |
21222 | * tree-inline.c (optimize_inline_calls): Return TODOs rather than | |
21223 | doing them by hand. | |
21224 | (tree_function_versioning): Do not allocate dummy struct function. | |
21225 | * tree-inline.h (optimize_inline_calls): Update prototype. | |
21226 | * tree-optimize.c (execute_fixup_cfg): Export. | |
21227 | (pass_fixup_cfg): Remove | |
21228 | (tree_rest_of_compilation): Do not apply inlines. | |
21229 | * tree-flow.h (execute_fixup_cfg): Declare. | |
21230 | * Makefile.in (gt-passes.c): New. | |
21231 | * passes.c: Include gt-passes.h | |
21232 | (init_optimization_passes): New passes. | |
21233 | (nnodes, order): New static vars. | |
21234 | (do_per_function_toporder): New function. | |
21235 | (execute_one_pass): Dump current pass here. | |
21236 | (execute_ipa_pass_list): Don't dump current pass here. | |
21237 | ||
0ab5481f | 21238 | 2007-01-16 Janis Johnson <janis187@us.ibm.com> |
21239 | ||
21240 | * config/dfp-bit.c (dfp_compare_op): Return separate value for NaN. | |
21241 | (DFP_NE, DFP_LE, DFP_GE): Return false for NaN. | |
21242 | ||
23ee0777 | 21243 | 2007-01-16 David Edelsohn <edelsohn@gnu.org> |
21244 | ||
21245 | * config/rs6000/darwin-ldouble.c: Build file for SOFT_FLOAT. | |
21246 | (strong_alias): Define. | |
21247 | (__gcc_qmul): Provide non-FMA for soft-float. | |
21248 | (__gcc_qdiv): Same. | |
21249 | (__gcc_qneg): New. | |
21250 | (__gcc_qeq): New. | |
21251 | (__gcc_qle): New. | |
21252 | (__gcc_qge): New. | |
21253 | (__gcc_qunord): New. | |
21254 | (__gcc_stoq): New. | |
21255 | (__gcc_dtoq): New. | |
21256 | (__gcc_qtos): New. | |
21257 | (__gcc_qtod): New. | |
21258 | (__gcc_qtoi): New. | |
21259 | (__gcc_qtou): New. | |
21260 | (__gcc_itoq): New. | |
21261 | (__gcc_utoq): New. | |
21262 | (fmsub): New. | |
21263 | * config/rs6000/rs6000.c (rs6000_init_libfuncs): Initialize | |
21264 | soft-float functions. | |
21265 | * config/rs6000/libgcc-ppc-glibc.ver: Version soft-float symbols. | |
21266 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Do not warn | |
21267 | about long double soft float. | |
21268 | ||
213448e9 | 21269 | 2007-01-16 Dorit Nuzman <dorit@il.ibm.com> |
c6f3c945 | 21270 | Tehila Meyzels <tehila@il.ibm.com> |
213448e9 | 21271 | |
21272 | * tree-vectorizer.h (is_pattern_stmt_p): New. | |
21273 | * tree-vect-analyze.c (vect_determine_vectorization_factor): Fix | |
21274 | formatting (tabs instead of spaces). Cleanup and clarify setting | |
21275 | of STMT_VINFO_VECTYPE. Call is_pattern_stmt_p. | |
21276 | * tree-vect-transform.c (vect_get_vec_def_for_operand): Fix typo. | |
21277 | (vectorizable_type_demotion): Check that types are integral. | |
21278 | (vectorizable_type_promotion): Likewise. | |
21279 | (vectorizable_store): Fix typo. Eliminate new-line at end of | |
21280 | comments. | |
21281 | ||
eb254442 | 21282 | 2007-01-16 Jan Hubicka <jh@suse.cz> |
21283 | ||
21284 | * tree-ssanames.c (release_dead_ssa_names): Remove invalidated | |
21285 | cgraph edges too. | |
21286 | ||
e592f6ea | 21287 | 2007-01-15 Eric Christopher <echristo@apple.com> |
21288 | ||
21289 | * ifcvt.c: Include vec.h, vecprim.h. | |
21290 | (check_cond_move_block): New argument regs. | |
21291 | Reorganize. Add registers used to regs. | |
21292 | (cond_move_process_if_block): Use regs set above as | |
21293 | loop bounds. | |
21294 | ||
624df7b0 | 21295 | 2007-01-15 Eric Christopher <echristo@apple.com> |
21296 | ||
21297 | * config/darwin.h: Update copyright. | |
21298 | (TARGET_OPTION_TRANSLATE_TABLE): Add umbrella. | |
21299 | (LINK_COMMAND_SPEC): Add -u. | |
21300 | (LINK_SPEC): Fix umbrella for above. | |
21301 | ||
a2a54432 | 21302 | 2007-01-15 Joseph S. Myers <joseph@codesourcery.com> |
21303 | ||
21304 | * config/soft-fp/op-common.h, config/soft-fp/op-4.h: Update from | |
21305 | glibc CVS. | |
21306 | ||
573c8db9 | 21307 | 2007-01-15 Tom Tromey <tromey@redhat.com> |
21308 | ||
21309 | * doc/sourcebuild.texi (libgcj Tests): Don't mention jacks. | |
21310 | * doc/install.texi (Testing): Don't mention jacks. | |
21311 | (Configuration): Document --enable-java-maintainer-mode. Move | |
21312 | --with-java-home to libgcj-specific section. Document | |
21313 | --with-ecj-jar. | |
21314 | (Prerequisites): Mention --enable-java-maintainer-mode, ecj1. | |
21315 | ||
a6b3b25c | 21316 | 2007-01-15 Jan Hubicka <jh@suse.cz> |
21317 | ||
21318 | * tree-ssa-dce.c (DCE_TODOs): New. | |
21319 | (propagate_necessity): Return if something changed. | |
21320 | (eliminate_unnecessary_stmts): Likewise. | |
21321 | (perform_tree_ssa_dce): Return TODO flags when needed. | |
21322 | (pass_dce, pass_dce_loop, pass_cd_dce): Remove TODO flags. | |
21323 | ||
5d0ab98f | 21324 | 2007-01-15 Uros Bizjak <ubizjak@gmail.com> |
21325 | ||
21326 | * config/i386/i386.md (fyl2xxf3_i387): Rename from fyl2x_xf3. | |
21327 | (fyl2x_extend<mode>xf3_i387): New insn pattern. | |
21328 | (log<mode>2): Rename from logsf2 and logdf2 and macroize insn | |
64d0b996 | 21329 | patterns using X87MODEF12 mode macro. Extend operand 1 |
5d0ab98f | 21330 | to XFmode. Use SSE_FLOAT_MODE_P to disable patterns for SSE math. |
21331 | (log10<mode>2): Ditto. | |
21332 | (log2<mode>2): Ditto. | |
21333 | (log1p<mode>2): Ditto. | |
21334 | (logb<mode>2): Ditto. | |
21335 | (fyl2xp1xf3_i387): Rename from fyl2xp1_xf3. | |
21336 | (fyl2xp1_extend<mode>xf3_i387): New insn pattern. | |
21337 | (*fxtractxf3_i387): Rename from *fxtractxf3. | |
21338 | (fxtract_extend<mode>xf3_i387): New insn pattern. | |
21339 | (ilogbsi2): Use match_dup 3, not match_operand:XF 3. | |
5d0ab98f | 21340 | * config/i386/i386.c (ix86_emit_i387_log1p): Use gen_fyl2xp1xf3_i387() |
21341 | and gen_fyl2xxf3_i387(). | |
21342 | ||
99b6a86e | 21343 | 2007-01-14 Zdenek Dvorak <dvorakz@suse.cz> |
21344 | ||
21345 | * loop-unswitch.c (unswitch_loop): Do not call fix_loop_placement. | |
21346 | * cfgloopmanip.c (fix_loop_placement): Made static. Use | |
21347 | get_loop_exit_edges. Changed return type to bool. | |
21348 | * cfgloop.h (fix_loop_placement): Declaration removed. | |
21349 | ||
8964b5be | 21350 | 2007-01-14 Dorit Nuzman <dorit@il.ibm.com> |
21351 | ||
21352 | * param.h (MIN_VECT_LOOP_BOUND): New. | |
21353 | * params.def (MIN_VECT_LOOP_BOUND): New. | |
21354 | * tree-vectorizer.c (slpeel_tree_peel_loop_to_edge): Takes another | |
624df7b0 | 21355 | argument - minimum threshold for number of iterations. |
8964b5be | 21356 | * tree-vectorizer.h (slpeel_tree_peel_loop_to_edge): Add another |
21357 | argument to declaration. | |
624df7b0 | 21358 | * tree-vect-analyze.c (vect_analyze_operations): Check value of |
8964b5be | 21359 | MIN_VECT_LOOP_BOUND. |
21360 | * tree-vect-transform.c (vect_do_peeling_for_loop_bound): Call | |
21361 | slpeel_tree_peel_loop_to_edge with additional argument. | |
21362 | (vect_do_peeling_for_alignment): Likewise. | |
21363 | * doc/invoke.texi (min-vect-loop-bound): Document new param option. | |
21364 | ||
67ed5d34 | 21365 | 2007-01-14 Uros Bizjak <ubizjak@gmail.com> |
21366 | ||
21367 | PR target/30413 | |
21368 | * config/i386/i386.c (print_operand) ['z']: Output 'b' for | |
21369 | operands of size 1. | |
21370 | ||
fe15b701 | 21371 | 2007-01-14 Jan Hubicka <jh@suse.cz> |
21372 | ||
21373 | * tree-dfa.c (remove_referenced_var): New function. | |
21374 | * tree-ssa-live.c (remove_unused_locals): Walk referenced vars and | |
21375 | prune referenced vars list too. | |
21376 | * tree-flow.h (remove_referenced_var): Declare. | |
21377 | ||
836074a5 | 21378 | 2007-01-14 Jan Hubicka <jh@suse.cz> |
21379 | ||
21380 | * tree-eh.c (add_stmt_to_eh_region_fn): Do not add call_exprs | |
21381 | separately. | |
21382 | (remove_stmt_from_eh_region_fn): Do not remove call_exprs. | |
21383 | (verify_eh_throw_stmt_node, verify_eh_throw_table_statements): Kill. | |
21384 | * except.h (verify_eh_throw_table_statements): Kill prototype. | |
21385 | * cfgexpand.c (expand_gimple_basic_block): Propagate Eh regions | |
21386 | into call exrepssions. | |
21387 | * tree-optimize.c (execute_free_cfg_annotatiosn): Do not call | |
21388 | eh trhow verifier. | |
21389 | * tree-cfg.c: Include pointer-set.h. | |
21390 | (verify_node_sharing): Work on pointer set. | |
21391 | (verify_eh_throw_stmt_node): New. | |
21392 | (verify_stmts): Use pointers sets, verify throw_stmt. | |
21393 | ||
2e1c3fd6 | 21394 | 2007-01-13 Zdenek Dvorak <dvorakz@suse.cz> |
21395 | ||
21396 | * ipa-reference.c (analyze_function): Consider also addresses taken | |
21397 | in phi nodes. | |
21398 | ||
ca24357c | 21399 | 2007-01-12 Roger Sayle <roger@eyesopen.com> |
21400 | ||
21401 | * c-typeck.c (null_pointer_constant_p): Replace use of | |
21402 | TREE_CONSTANT_OVERFLOW with TREE_OVERFLOW. | |
21403 | (build_c_cast): Likewise. | |
21404 | ||
eddad94a | 21405 | 2007-01-12 Roger Sayle <roger@eyesopen.com> |
21406 | ||
21407 | * tree.h (force_fit_type_double): Remove unused final argument. | |
21408 | * c-common.c (constant_expression_warning): Replace use of | |
21409 | TREE_CONSTANT_OVERFLOW with TREE_OVERFLOW. | |
21410 | (convert_and_check): Likewise. | |
21411 | (shorten_compare): Update call to force_fit_type_double. | |
21412 | (c_common_truthvalue_conversion) <INTEGER_CST>: Use integer_zerop. | |
21413 | * convert.c (convert_to_pointer): Update call to | |
21414 | force_fit_type_double. | |
21415 | * fold-const.c (force_fit_type_double): Remove overflowed_const | |
21416 | argument. | |
21417 | (int_const_binop, fold_convert_const_int_from_int, | |
21418 | fold_convert_const_int_from_real, fold_div_compare, | |
21419 | fold_sign_changed_comparison, fold_unary, fold_negate_const, | |
21420 | fold_abs_const, fold_not_const): Remove the final argument from | |
21421 | calls to force_fit_type_double. | |
21422 | ||
c754f56c | 21423 | 2007-01-12 Andrew Pinski <andrew_pinski@playstation.sony.com> |
21424 | ||
21425 | * configure.ac: Set insn to "nop" for spu-*-* also. | |
21426 | * configure: Regenerate. | |
21427 | ||
a20cec60 | 21428 | 2007-01-12 Olga Golovanevsky <olga@il.ibm.com> |
21429 | ||
21430 | * builtins.def : Add BUILT_IN_FREE. | |
624df7b0 | 21431 | |
b2f42a98 | 21432 | 2007-01-12 Jan Hubicka <jh@suse.cz> |
21433 | ||
21434 | PR tree-optimization/30443 | |
21435 | * tree-inline.c (tree_function_versioning): Do not optimize when | |
21436 | cloning for inlining. | |
21437 | ||
dce58e66 | 21438 | 2007-01-12 Zdenek Dvorak <dvorakz@suse.cz> |
21439 | ||
21440 | * doc/loop.texi: Document recording of loop exits. | |
21441 | * cfgloopmanip.c (loopify, duplicate_loop): Use alloc_loop. | |
21442 | (update_single_exits_after_duplication, | |
21443 | update_single_exit_for_duplicated_loop, | |
21444 | update_single_exit_for_duplicated_loops): Removed. | |
21445 | (duplicate_loop_to_header_edge): Do not call | |
21446 | update_single_exits_after_duplication and | |
21447 | update_single_exit_for_duplicated_loops. | |
21448 | (loop_version): Do not update single_exit information. | |
21449 | (fix_loop_structure): Use record_loop_exits instead of | |
21450 | mark_single_exit_loops. | |
21451 | * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Update | |
21452 | the lists of loop exits. | |
21453 | * cfghooks.c (redirect_edge_and_branch, redirect_edge_and_branch_force, | |
21454 | split_edge, merge_blocks): Update the lists of loop exits. | |
21455 | * modulo-sched.c (sms_schedule): Pass LOOPS_HAVE_RECORDED_EXITS to | |
21456 | loop_optimizer_init. | |
21457 | * loop-init.c (loop_optimizer_init): Call record_loop_exits instead | |
21458 | of mark_single_exit_loops. | |
21459 | (loop_optimizer_finalize): Call release_recorded_exits. | |
21460 | * tree-ssa-loop.c (tree_loop_optimizer_init): Pass | |
21461 | LOOPS_HAVE_RECORDED_EXITS to loop_optimizer_init. | |
21462 | * tree-vectorizer.c (slpeel_tree_duplicate_loop_to_edge_cfg): Do not | |
21463 | update single exit information. | |
21464 | * lambda-code.c (perfect_nestify): Ditto. | |
21465 | * cfgloop.c (flow_loop_free): Destroy the list of exits of the loop. | |
21466 | (mark_single_exit_loops): Removed. | |
21467 | (alloc_loop, loop_exit_hash, loop_exit_eq, loop_exit_free, | |
21468 | get_exit_descriptions, rescan_loop_exit, record_loop_exits, | |
21469 | dump_recorded_exit, dump_recorded_exits, release_recorded_exits): New | |
21470 | functions. | |
21471 | (get_loop_exit_edges, single_exit): Use recorded exit lists. | |
21472 | (add_bb_to_loop, remove_bb_from_loops): Update the lists of loop exits. | |
21473 | (verify_loop_structure): Verify consistency of the exit lists. | |
21474 | (flow_loops_find): Use alloc_loop. Initialize exits hash. | |
21475 | (set_single_exit): Removed. | |
21476 | * cfgloop.h (struct loop_exit): New function. | |
21477 | (struct loop): single_exit_ field replaced by exits field. | |
ed69c853 | 21478 | (LOOPS_HAVE_MARKED_SINGLE_EXITS): Replaced by |
21479 | LOOPS_HAVE_RECORDED_EXITS. | |
dce58e66 | 21480 | (struct loops): Added exits hash. |
21481 | (mark_single_exit_loops, set_single_exit): Declaration removed. | |
21482 | (release_recorded_exits, record_loop_exits, rescan_loop_exit): Declare. | |
21483 | ||
2656a84c | 21484 | 2007-01-12 Richard Sandiford <richard@codesourcery.com> |
21485 | ||
21486 | * doc/invoke.texi: Avoid use of @headitem. | |
21487 | ||
9fdf0f08 | 21488 | 2007-01-12 Richard Sandiford <richard@codesourcery.com> |
21489 | ||
21490 | * cse.c (cse_insn): Move HAVE_CC0 code after declarations. | |
21491 | ||
302dca4f | 21492 | 2007-01-12 Richard Sandiford <richard@codesourcery.com> |
21493 | ||
21494 | * doc/install.texi: Fix m68k-*-* anchor and add m68k-*-* to the | |
21495 | list of targets. | |
21496 | ||
528f4cd2 | 21497 | 2007-01-12 Nathan Sidwell <nathan@codesourcery.com> |
21498 | Richard Sandiford <richard@codesourcery.com> | |
21499 | ||
21500 | * doc/invoke.texi: Document -mno-bitfield, -mno-rtd and -mno-short. | |
21501 | * config/m68k/m68k.opt: Resort options. | |
21502 | (mbitfield, mrtd, mshort): Remove RejectNegative properties. | |
21503 | ||
46e5dde5 | 21504 | 2007-01-12 Nathan Sidwell <nathan@codesourcery.com> |
21505 | Richard Sandiford <richard@codesourcery.com> | |
21506 | ||
21507 | * doc/invoke.texi: Document the macros that are defined by | |
21508 | m68k's -mtune and -mhard-float options. | |
21509 | * config/m68k/m68k-protos.h (m68k_cpp_cpu_ident) Declare. | |
21510 | (m68k_cpp_cpu_family): Likewise. | |
21511 | * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Add a full set | |
21512 | of __ucfv*__ macros. Define __mcffpu__ if generating code for | |
21513 | ColdFire FPUs. Define __mcf_cpu_* and __mcf_family_* macros. | |
21514 | * config/m68k/m68k.c (m68k_cpp_cpu_ident): New function. | |
21515 | (m68k_cpp_cpu_family): Likewise. | |
21516 | ||
3d110987 | 21517 | 2007-01-12 Richard Sandiford <richard@codesourcery.com> |
21518 | ||
21519 | * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Treat all mc68* | |
21520 | macros besides mc68000 as tuning macros. Use a switch statement | |
21521 | to set them and mcpu32. | |
21522 | ||
6e6d2086 | 21523 | 2007-01-12 Julian Brown <julian@codesourcery.com> |
21524 | ||
21525 | * config/m68k/m68k.h: Use TARGET_68040 instead of TARGET_68040_ONLY. | |
21526 | (TARGET_68040_ONLY): Rename to... | |
21527 | (TARGET_68040): ...this. | |
21528 | * config/m68k/m68k.c: Use TARGET_68040 instead of TARGET_68040_ONLY. | |
21529 | * config/m68k/m68k.md: Likewise. | |
21530 | ||
8aed3cb3 | 21531 | 2007-01-12 Julian Brown <julian@codesourcery.com> |
21532 | Nathan Sidwell <nathan@codesourcery.com> | |
21533 | Richard Sandiford <richard@codesourcery.com> | |
21534 | ||
21535 | * config.gcc (m680[012]0-*-*, m68k*-*-*): Set m68k_cpu_ident to | |
21536 | the -mcpu= argument associated with the --with-cpu setting. | |
21537 | Define M68K_DEFAULT_TUNE to the default -mtune= option, | |
21538 | if different from the one implied by the -mcpu setting. | |
21539 | Accept --with-cpu=FOO if FOO is listed in m68k-devices.def, | |
21540 | using mcpu=FOO as the default CPU option. Set target_cpu_default2. | |
21541 | * doc/invoke.texi: Mention ColdFire in the introduction to the | |
21542 | m68k options. Document the new -march, -mcpu, -mtune, -mdiv, | |
21543 | -mno-div and -mhard-float options. Make -m68881 a synonym for | |
21544 | -mhard-float. Document the previously-undocumented -m5206e, | |
21545 | -m528x, -m5307 and -m5407 options. Tweak the existing option | |
21546 | documentation for consistency. | |
21547 | * doc/install.texi: Mention new --with-cpu arguments. | |
21548 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS): Only use the | |
21549 | default CPU if neither -mcpu nor -march are specified. | |
21550 | (ASM_CPU_SPEC): Pass down -mcpu and -march options. | |
21551 | (TARGET_CPU_CPP_BUILTINS): Set __mcfisa*__ macros from | |
21552 | TARGET_ISA*. Set the legacy __mcf*__ cpu macros in the same way, | |
21553 | using m68k_tune to decide between families that implement the | |
21554 | same ISA. Use m68k_tune to set __mcfv4e__. | |
21555 | (FL_BITFIELD, FL_68881, FL_COLDFIRE, FL_CF_HWDIV, FL_CF_MAC) | |
21556 | (FL_CF_EMAC, FL_CF_EMAC_B, FL_CF_USP, FL_CF_FPU, FL_ISA_68000) | |
21557 | (FL_ISA_68010, FL_ISA_68020, FL_ISA_68040, FL_ISA_A, FL_ISA_B) | |
21558 | (FL_ISA_C, FL_ISA_MMU): New macros. | |
21559 | (MASK_COLDFIRE): Delete. | |
21560 | (TARGET_68010, TARGET_68020, TARGET_68040_ONLY, TARGET_COLDFIRE) | |
21561 | (TARGET_ISAB): Redefine in terms of m68k_cpu_flags. | |
21562 | (TARGET_68881, TARGET_COLDFIRE_FPU): Redefine in terms of m68k_fpu. | |
21563 | (TARGET_HARD_FLOAT): Do not define here. | |
21564 | (TARGET_ISAAPLUS, TARGET_ISAC): New macros. | |
21565 | (TUNE_68000): New macro. | |
21566 | (TUNE_68000_10): Redefine in terms of TUNE_68000 and TUNE_68010. | |
21567 | (TUNE_68010, TUNE_68030, TUNE_68040, TUNE_68060, TUNE_CPU32) | |
21568 | (TUNE_CFV2): Redefine in terms of m68k_tune. | |
21569 | (uarch_type, target_device, fpu_type): New enums. | |
21570 | (m68k_cpu, m68k_tune, m68k_fpu, m68k_cpu_flags): Declare. | |
21571 | * config/m68k/m68k.c (TARGET_DEFAULT): Remove MASK_68881. | |
21572 | (FL_FOR_isa_00, FL_FOR_isa_10, FL_FOR_isa_20, FL_FOR_isa_40) | |
21573 | (FL_FOR_isa_cpu32, FL_FOR_isa_a, FL_FOR_isa_aplus, FL_FOR_isa_b) | |
21574 | (FL_FOR_isa_c): New macros. | |
21575 | (m68k_isa): New enum. | |
21576 | (m68k_target_selection): New structure. | |
21577 | (all_devices, all_isas, all_microarchs): New tables. | |
21578 | (m68k_cpu_entry, m68k_arch_entry, m68k_tune_entry, m68k_cpu) | |
21579 | (m68k_tune, m68k_fpu, m68k_cpu_flags): New variables. | |
21580 | (MASK_ALL_CPU_BITS): Delete. | |
21581 | (m68k_find_selection): New function. | |
21582 | (m68k_handle_option): Handle -mcpu=, -march= and -mtune=. | |
21583 | Map the legacy target options to a combination of the new ones. | |
21584 | (override_options): Set m68k_cpu, m68k_tune, m68k_fpu and | |
21585 | m68k_cpu_flags. Handle M68K_DEFAULT_TUNE. Use m68k_cpu_flags | |
21586 | to derive default MASK_BITFIELD, MASK_CF_HWDIV and MASK_HARD_FLOAT | |
21587 | settings. | |
21588 | * config/m68k/m68k.opt (m5200, m5206e, m528x, m5307, m5407, mcfv4e) | |
21589 | (m68010, m68020, m68020-40, m68020-60, m68030, m68040): Remove Mask | |
21590 | properties. | |
21591 | (m68881, msoft-float): Change mask from 68881 to HARD_FLOAT. | |
21592 | (march=, mcpu=, mdiv, mhard-float, mtune=): New options. | |
21593 | * config/m68k/m68k-devices.def: New file. | |
21594 | ||
79518b07 | 21595 | 2007-01-12 Richard Sandiford <richard@codesourcery.com> |
21596 | Nathan Sidwell <nathan@codesourcery.com> | |
21597 | ||
21598 | * config/m68k/m68k.h (ASM_CPU_SPEC, ASM_SPEC, EXTRA_SPECS) | |
21599 | (SUBTARGET_EXTRA_SPECS): New macros. | |
21600 | * config/m68k/linux.h (ASM_SPEC): Remove CPU flags; | |
21601 | use %(asm_cpu_spec) instead. | |
21602 | * config/m68k/m68k-none.h (ASM_SPEC): Likewise. | |
21603 | * config/m68k/openbsd.h (ASM_SPEC): Likewise. | |
21604 | * config/m68k/netbsd-elf.h (ASM_SPEC): Likewise. | |
21605 | (EXTRA_SPECS): Rename to... | |
21606 | (SUBTARGET_EXTRA_SPECS): ...this. | |
21607 | ||
f84195ec | 21608 | 2007-01-12 Nathan Sidwell <nathan@codesourcery.com> |
21609 | Richard Sandiford <richard@codesourcery.com> | |
21610 | Julian Brown <julian@codesourcery.com> | |
21611 | ||
21612 | * config.gcc (m68k-*-aout*, m68k-*-coff*, m68020-*-elf*, m68k-*-elf*) | |
21613 | (m68k-*-uclinux*, m68k-*-linux*, m68k-*-rtems*): Set default_m68k_cpu | |
21614 | to the configuration's default CPU. | |
21615 | (m68010-*-netbsdelf*, m68k*-*-netbsdelf*, m68k*-*-openbsd*): Likewise. | |
21616 | Remove default masks. | |
21617 | (m680[012]0-*-*): Set the default with_cpu to the first part of | |
21618 | the target name. | |
21619 | (m68k*-*-*): Set the default with_cpu to m$default_m68k_cpu. | |
21620 | (m68k*-*-linux): Extend the --with-cpu handling to... | |
21621 | (m680[012]0-*-*, m68k*-*-*): ...these configurations. Allow m68000 | |
21622 | and m68010. Don't set target_cpu_default2. | |
21623 | * doc/install.texi: Document --with-cpu for m68k. | |
21624 | * config/m68k/m68k.h (OPTION_DEFAULT_SPECS): Define. | |
21625 | * config/m68k/m68k-none.h (TARGET_CPU_DEFAULT, M68K_CPU_m68k) | |
21626 | (M68K_CPU_m68000, M68K_CPU_m68010, M68K_CPU_m68020, M68K_CPU_m68030) | |
21627 | (M68K_CPU_m68040, M68K_CPU_m68302, M68K_CPU_m68332, TARGET_DEFAULT) | |
21628 | (ASM_CPU_DEFAULT_SPEC, CC1_CPU_DEFAULT_SPEC): Delete. | |
21629 | (ASM_SPEC): Remove use of %(asm_cpu_default). | |
21630 | (EXTRA_SPECS, SUBTARGET_EXTRA_SPECS, MULTILIB_DEFAULTS): Delete. | |
21631 | * config/m68k/linux.h (TARGET_DEFAULT): Delete. | |
21632 | (CPP_SPEC): Merge definitions. Do not handle __HAVE_68881__ here. | |
21633 | * config/m68k/netbsd-elf.h (TARGET_OS_CPP_BUILTINS): Define | |
21634 | __HAVE_FPU__ if TARGET_HARD_FLOAT. | |
21635 | (TARGET_DEFAULT): Delete. | |
21636 | (EXTRA_SPECS): Delete cpp_cpu_default_spec, cpp_cpu_spec, | |
21637 | cpp_fpu_spec, asm_default_spec and netbsd_cpp_spec. | |
21638 | (CPP_CPU_SPEC): Delete. | |
21639 | (TARGET_VERSION): Merge definitions, using TARGET_68010 to pick | |
21640 | the appropriate string. | |
21641 | (CPP_CPU_DEFAULT_SPEC, ASM_DEFAULT_SPEC, CPP_FPU_SPEC): Delete. | |
21642 | (CPP_SPEC): Define to NETBSD_CPP_SPEC. | |
21643 | (ASM_SPEC): Don't use %(asm_default_spec). | |
21644 | * config/m68k/m68k.c (TARGET_DEFAULT_TARGET_FLAGS): Remove | |
21645 | TARGET_DEFAULT and add MASK_68881. | |
21646 | * config/m68k/m68k.md: Remove mention of TARGET_DEFAULT from comments. | |
21647 | ||
374e1815 | 21648 | 2007-01-12 Richard Sandiford <richard@codesourcery.com> |
21649 | ||
21650 | * config.gcc (m68010-*-netbsdelf*): Add MASK_68010. | |
21651 | (m68k*-*-netbsdelf*, m68k*-*-openbsd*, m68k*-linux*): Add | |
21652 | MASK_68010 alongside MASK_68020. | |
21653 | * doc/invoke.texi: Document -m68010. | |
21654 | * config/m68k/m68k.opt (m68010): New. | |
21655 | * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Define mc68010 | |
21656 | if TUNE_68010. | |
21657 | (TUNE_68010): New macro. | |
21658 | * config/m68k/m68k-none.h (M68K_CPU_m68k, M68K_CPU_m68010) | |
21659 | (M68K_CPU_m68020, M68K_CPU_m68030, M68K_CPU_m68040) | |
21660 | (M68K_CPU_m68332): Add MASK_68010. | |
21661 | * config/m68k/linux.h (TARGET_DEFAULT): Add MASK_68010 to | |
21662 | fallback definition. | |
21663 | * config/m68k/netbsd-elf.h (CPP_CPU_SPEC): Remove now-redundant | |
21664 | defines. | |
21665 | * config/m68k/m68k.c (MASK_ALL_CPU_BITS): Add MASK_68010. | |
21666 | (m68k_handle_option): Handle OPT_m68010. Add MASK_68010 | |
21667 | to all entries that use MASK_68020. | |
21668 | (output_move_simode_const, output_move_himode, output_move_qimode) | |
21669 | (output_move_stricthi, output_move_strictqi): Use TARGET_68010 | |
21670 | instead of TARGET_68020 to select clr behavior. Remove comment | |
21671 | about there being no TARGET_68010. | |
21672 | * config/m68k/m68k.md: Likewise throughout. | |
21673 | ||
42af5438 | 21674 | 2007-01-12 Julian Brown <julian@codesourcery.com> |
21675 | ||
21676 | * config/m68k/m68k.h (TARGET_ISAB): New macro. | |
21677 | * config/m68k/m68k.c: Use TARGET_ISAB rather than TARGET_CFV4. | |
21678 | * config/m68k/m68k.md: Likewise. | |
21679 | ||
69b3e376 | 21680 | 2007-01-12 Julian Brown <julian@codesourcery.com> |
21681 | ||
21682 | * config/m68k/m68k.h (LEGITIMATE_INDEX_P, LEGITIMIZE_ADDRESS): Use | |
21683 | TARGET_COLDFIRE_FPU instead of TARGET_CFV4E. | |
21684 | ||
f716b74b | 21685 | 2007-01-12 Julian Brown <julian@codesourcery.com> |
21686 | ||
21687 | * config/m68k/m68k.h (TUNE_68040_60): New macro. | |
21688 | * config/m68k/m68k.c (standard_68881_constant_p): Use it. | |
21689 | * config/m68k/m68k.md: Likewise. | |
21690 | ||
bd40163f | 21691 | 2007-01-12 Julian Brown <julian@codesourcery.com> |
21692 | Richard Sandiford <richard@codesourcery.com> | |
21693 | ||
21694 | * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Use TUNE_68030 | |
21695 | instead of TARGET_68030, TUNE_68040 instead of TARGET_68040, | |
21696 | TUNE_68060 instead of TARGET_68060 and TUNE_CPU32 instead of | |
21697 | TARGET_CPU32. | |
21698 | (TARGET_CPU32): Rename to... | |
21699 | (TUNE_CPU32): ...this. | |
21700 | (TUNE_68000_10, TUNE_68030, TUNE_68040, TUNE_68060) | |
21701 | (TUNE_CFV2): New macros. | |
21702 | * config/m68k/netbsd-elf.h (LONG_DOUBLE_TYPE_SIZE): Simplify; | |
21703 | remove conditions that are implied by TARGET_68020. | |
21704 | * config/m68k/m68k.c (m68k_output_function_prologue): Use TUNE_68040 | |
21705 | instead of TARGET_68040 and TUNE_CPU32 instead of TARGET_CPU32. | |
21706 | (m68k_output_function_epilogue): Likewise. | |
21707 | (m68k_rtx_costs): Likewise. Use TUNE_68060 instead of TARGET_68060 | |
21708 | and TUNE_CFV2 instead of TARGET_5200. Use TUNE_68000_10 instead of | |
21709 | "!TARGET_68020 && !TARGET_COLDFIRE" to choose between 68000 and | |
21710 | non-68000 timings. Refactor multiplication and division costs. | |
21711 | (output_addsi3): Use TUNE_68040 instead of TARGET_68040 and | |
21712 | TUNE_CPU32 instead of TARGET_CPU32. | |
21713 | (standard_68881_constant_p): Use TUNE_68040 instead of TARGET_68040 | |
21714 | and TUNE_68060 instead of TARGET_68060. | |
21715 | * config/m68k/m68k.md: Use TUNE_68040 instead of TARGET_68040, | |
21716 | TUNE_68060 instead of TARGET_68060, and TUNE_CPU32 instead of | |
21717 | TARGET_CPU32. | |
21718 | (movsi_const0): Use TUNE_68000_10 rather than "!TARGET_68020 | |
21719 | && !TARGET_COLDFIRE" to choose between moveq and clr. | |
21720 | Likewise in the unnamed movsf pattern. | |
21721 | (ashlsi_17_24, lshrsi_17_24): Guard with TUNE_68000_10 rather than | |
21722 | "!TARGET_68020 && !TARGET_COLDFIRE". Likewise the unnamed | |
21723 | ashiftrt pattern. | |
21724 | ||
edf7bcd6 | 21725 | 2007-01-12 Richard Sandiford <richard@codesourcery.com> |
21726 | ||
21727 | * config/m68k/m68k.h (TARGET_CPU_CPP_BUILTINS): Increase amount | |
21728 | of tabbing before backslashes. | |
21729 | ||
217720f0 | 21730 | 2007-01-11 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
21731 | ||
21732 | * pa-linux.h (ASM_OUTPUT_INTERNAL_LABEL): Undefine. | |
21733 | * pa.h (ASM_OUTPUT_LABEL): Output colon when using GAS. | |
21734 | (ASM_OUTPUT_INTERNAL_LABEL): Define. | |
21735 | ||
02f8cd87 | 21736 | 2007-01-11 Zdenek Dvorak <dvorakz@suse.cz> |
21737 | ||
21738 | * tree-ssa-loop-ivopts.c (extract_cond_operands): Split from | |
21739 | find_interesting_uses_cond. | |
21740 | (find_interesting_uses_cond): Use extract_cond_operands. | |
21741 | (rewrite_use_compare): Use extract_cond_operands and | |
21742 | force_gimple_operand_bsi. Do not call update_stmt. | |
21743 | (determine_use_iv_cost_condition): Use extract_cond_operands. | |
21744 | Return cheaper of using original bound and changing the exit bound. | |
21745 | ||
33c25cf0 | 21746 | 2007-01-11 Zdenek Dvorak <dvorakz@suse.cz> |
21747 | ||
21748 | PR tree-optimization/29516 | |
21749 | * tree-ssa-address.c (tree_mem_ref_addr, add_to_parts, | |
21750 | most_expensive_mult_to_index, addr_to_parts, | |
21751 | create_mem_ref, maybe_fold_tmr): Make the type of | |
21752 | fields of TARGET_MEM_REF sizetype. | |
21753 | (move_fixed_address_to_symbol, move_pointer_to_base): | |
21754 | New functions. | |
21755 | * tree.def (TARGET_MEM_REF): Add comment on types of | |
21756 | the operands. | |
33c25cf0 | 21757 | |
ae6db8ab | 21758 | 2007-01-11 Joseph Myers <joseph@codesourcery.com> |
21759 | ||
21760 | * c-common.c (vector_types_convertible_p): Treat opaque types as | |
21761 | always convertible if they have the same size, but not otherwise. | |
21762 | ||
5b410d6a | 21763 | 2007-01-11 Steven Bosscher <steven@gcc.gnu.org> |
21764 | ||
21765 | * ifcvt.c (struct noce_if_info): Add comments to the fields. | |
21766 | Remove the b_unconditional field. | |
21767 | (noce_try_sign_mask): Do not look at b_unconditional. | |
21768 | (noce_process_if_block): Do not use merge_if_blocks. Update | |
21769 | the CFG here. Do not set b_unconditional. | |
21770 | (cond_move_process_if_block): Likewise. | |
21771 | (find_cond_trap): Likewise. | |
21772 | (check_cond_move_block): Require simple jump insns at the end | |
21773 | of the basic block. | |
21774 | ||
49290934 | 21775 | 2007-01-11 Jan Hubicka <jh@suse.cz> |
21776 | ||
21777 | PR tree-optimization/1046 | |
21778 | * tree-tailcall.c (suitable_for_tail_call_opt_p): Use TREE_ADDRESSABLE | |
21779 | when alias info is not ready. | |
21780 | (pass_tail_recursion): Do not require aliasing. | |
21781 | * tree-ssa-copyrename.c (pass_rename_ssa_cop): Likewise. | |
21782 | * tree-ssa-ccp.c (pass_ccp, pass_fold_builtins): Likewise. | |
21783 | * tree-ssa-copy.c (pass_copy_prop): Likewise. | |
21784 | * tree-ssa-forwprop.c (pass_forwprop): Likewise. | |
21785 | * tree-ssa-dce.c (pass_dce, pass_dce_loop, pass_cd_dce): Likewise. | |
21786 | * passes.c (init_optimization_passes): Execute rename_ssa_copies, | |
21787 | ccp, forwprop, copy_prop, merge_phi, copy_prop, dce and tail recursion | |
21788 | before inlining. | |
21789 | * tree-ssa-operands.c (add_virtual_operand, get_indirect_ref_operand): | |
21790 | When aliasing is not build, mark statement as volatile. | |
21791 | ||
f41e06ed | 21792 | 2007-01-11 Tom Tromey <tromey@redhat.com> |
21793 | ||
21794 | PR preprocessor/15185, PR preprocessor/20989: | |
21795 | * doc/cppopts.texi <-MT>: Update description of algorithm for | |
21796 | computing default target. | |
21797 | <-M, -MD>: Reword "basename" text. | |
21798 | ||
f96bd2bf | 21799 | 2007-01-11 Roger Sayle <roger@eyesopen.com> |
21800 | ||
21801 | * builtins.c (expand_builtin_pow, expand_builtin_powi, | |
21802 | fold_builtin_cabs, fold_builtin_sqrt, fold_builtin_trunc, | |
21803 | fold_builtin_floor, fold_builtin_ceil, fold_builtin_round, | |
21804 | fold_builtin_int_int_roundingfn, fold_builtin_bitop, | |
21805 | fold_builtin_bswap, real_constp, fold_builtin_pow, | |
21806 | fold_builtin_powi, fold_builtin_signbit, fold_builtin_copysign, | |
21807 | do_mpfr_arg1, do_mpfr_arg2, do_mpfr_arg3, do_mpfr_sincos): Replace | |
21808 | uses of the macro TREE_CONSTANT_OVERFLOW with TREE_OVERFLOW. | |
21809 | * convert.c (convert_to_pointer): Likewise. | |
21810 | * expr.c (highest_pow2_factor, expand_expr_real_1): Likewise. | |
21811 | * fold-const.c (force_fit_type, fold_negate_expr, int_const_binop, | |
21812 | const_binop, fold_convert_const_int_from_int, | |
21813 | fold_convert_const_int_from_real, | |
21814 | fold_convert_const_real_from_real, sign_bit_p, | |
21815 | optimize_minmax_comparison, extract_muldiv_1, fold_div_compare, | |
21816 | fold_sign_changed_comparison, fold_unary, fold_comparison, | |
21817 | fold_binary, multiple_of_p, tree_Expr_non_zero_p, | |
21818 | fold_negate_const, fold_abs_const, fold_not_const): Likewise. | |
21819 | * print-tree.c (print_node_brief, print_node): Likewise. | |
21820 | * stor-layout.c (place_field, layout_type): Likewise. | |
21821 | * tree-chrec.c (keep_cast): Likewise. | |
21822 | * tree.c (build_vector, build_real, build_real_from_int_cst, | |
21823 | build_complex): Likewise. | |
21824 | ||
acfce21e | 21825 | 2007-01-11 Roger Sayle <roger@eyesopen.com> |
21826 | ||
21827 | * tree.h (TREE_CONSTANT_OVERFLOW): Obsolete. For the time being, | |
21828 | treat TREE_CONSTANT_OVERFLOW as a synonym of TREE_OVERFLOW. | |
21829 | ||
e3ca137a | 21830 | 2007-01-11 Paolo Bonzini <bonzini@gnu.org> |
21831 | ||
21832 | * configure.ac (strict1_warn): Rename to strict_warn. | |
21833 | (WERROR, --enable-werror, symlink hacks, stage1_cflags, | |
21834 | cc_set_by_configure, quoted_cc_set_by_configure, | |
21835 | stage_prefix_set_by_configure, quoted_stage_prefix_set_by_configure, | |
21836 | all_boot_languages, all_stagestuff): Remove. | |
21837 | (target_list): Remove bootstrap targets. | |
21838 | * Makefile.in (quickstrap): Unconditionally make a synonym of all. | |
21839 | (BOOT_LANGUAGES, STAGE1_CFLAGS, STAGE1_CHECKING, | |
21840 | REMAKEFLAGS, FLAGS_TO_PASS, PREPEND_DOTDOT_TO_RELATIVE_PATHS, | |
21841 | SUBDIR_FLAGS_TO_PASS, WERROR_FLAGS, STRICT2_WARN, LANG_STAGESTUFF, | |
21842 | VOL_FILES, POSTSTAGE1_FLAGS_TO_PASS, STAGE2_FLAGS_TO_PASS, | |
21843 | STAGEPROFILE_FLAGS_TO_PASS, STAGEFEEDBACK_FLAGS_TO_PASS, stage1_build, | |
21844 | stage1_copy, stage2_build, stage2_copy, stageprofile_build, | |
21845 | stageprofile_copy, stage3_build, stage3_copy, stagefeedback_build, | |
21846 | stagefeedback_copy, stage4_build, clean_s1, clean_sw, bootstrap, | |
21847 | bootstrap-lean, bootstrap2, bootstrap2-lean, bootstrap3, | |
21848 | bootstrap3-lean, bootstrap4, bootstrap4-lean, unstage1, unstage2, | |
21849 | unstage3, unstage4, unstageprofile, unstagefeedback, restage, restage2, | |
21850 | restage3, restage4, restageprofile, restagefeedback, bubbleestrap, | |
21851 | cleanstrap, unstrap, restrap, *compare, *compare3, *compare4, | |
21852 | *compare-lean, *compare3-lean, *compare4-lean, stage1-start, stage1, | |
21853 | stage2-start, stage2, stage3-start, stage3, stage4-start, stage4, | |
21854 | stageprofile-start, stageprofile, stagefeedback-start, stagefeedback, | |
21855 | risky-stage1, risky-stage2, risky-stage3, risky-stage4): Remove. | |
21856 | (ORDINARY_FLAGS_TO_PASS): Rename to FLAGS_TO_PASS. | |
21857 | (STAGECOPYSTUFF, STAGEMOVESTUFF): Consolidate into MOSTLYCLEANFILES. | |
21858 | (mostlyclean): Adjust. | |
21859 | (clean, distclean): Don't mention bootstrap stuff. | |
21860 | * configure: Regenerate. | |
21861 | * ada/config-lang.in, cp/config-lang.in, forttran/config-lang.in, | |
21862 | java/config-lang.in, objc/config-lang.in, objcp/config-lang.in, | |
21863 | treelang/config-lang.in (stagestuff): Remove. | |
21864 | * doc/sourcebuild.texi (stage1, stage2, stage3, stage4, | |
21865 | stageprofile, stagefeedback, stagestuff): Remove mention. | |
21866 | ||
90fab4b1 | 21867 | 2007-01-11 Nick Clifton <nickc@redhat.com> |
21868 | ||
21869 | * config/mcore/predicates.md (mcore_general_movesrc_operand): | |
21870 | Accept CONSTs. | |
21871 | (mcore_general_movdst_operand): Do not accept CONST_INTs. | |
21872 | (mcore_arith_K_S_operand): Run the test for the S constraint not | |
21873 | the test for the M constraint. | |
21874 | (mcore_addsub_operand): Do not accept integer values that are | |
21875 | larger than 32 bits. | |
21876 | * config/mcore/mcore.md: Remove unused constraints from split. | |
21877 | (andsi3): Use HOST_WIDE_INT instead of int to hold an INTVAL. | |
21878 | (addsi3): Likewise. | |
21879 | (allocate_stack): Likewise. | |
21880 | * config/mcore/mcore.c (mcore_print_operand): Restrict output of P | |
21881 | operands to 32 bits. | |
21882 | (mcore_const_costs): Use HOST_WIDE_INT instead of int to hold an | |
21883 | INTVAL. | |
21884 | (mcore_and_cost, mcore_modify_comparison, const_ok_for_mcore, | |
21885 | mcore_const_ok_for_inline, mcore_const_trick_uses_not, | |
21886 | try_constant_tricks, mcore_num_ones, mcore_num_zeros, | |
21887 | mcore_output_bclri, mcore_output_andn, output_inline_const, | |
21888 | mcore_output_move, mcore_output_movedouble): Likewise. | |
21889 | (mcore_output_cmov): Use CONST_OK_FOR_M and CONST_OK_FOR_N. | |
21890 | (output_inline_const): Likewise. | |
21891 | (output_inline_const): Fix format strings used in sprintf | |
21892 | statements. | |
21893 | * config/mcore/mcore-protos.h: Update prototypes for changed | |
21894 | functions in mcore.c. | |
21895 | * config/mcore/mcore.h (CONST_OK_FOR_I): Cast values to | |
21896 | HOST_WIDE_INT and not int. | |
21897 | (CONST_OK_FOR_J, CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M, | |
21898 | CONST_OK_FOR_N): Likewise. | |
21899 | (LEGITIMATE_CONSTANT_P): Also check CONSTANT_P. | |
21900 | (GO_IF_LEGITIMATE_INDEX): Use HOST_WIDE_INT instead of int to hold | |
21901 | an INTVAL. | |
21902 | ||
8d9f686b | 21903 | 2007-01-10 Jan Hubicka <jh@suse.cz> |
21904 | ||
21905 | * tree-vrp.c (remove_range_assertions): Release defs. | |
21906 | * tree-ssa-loop-ivopts.c (rmeove_statement): Likewise. | |
21907 | * tree-ssa-dom.c (remove_stmt_or_phi): Likewise. | |
21908 | ||
89545238 | 21909 | 2007-01-10 Paul Brook <paul@codesourcery.com> |
21910 | ||
21911 | * config/arm/arm.c (arm_rtx_costs_1): Handle mutiply-subtract. | |
21912 | * config/arm/arm.md (mulsi3subsi): New insn. | |
21913 | ||
f6ae6f2a | 21914 | 2007-01-10 Zdenek Dvorak <dvorakz@suse.cz> |
21915 | ||
21916 | * tree-ssa-loop-manip.c (tree_unroll_loop): Make it a wrapper over ... | |
21917 | (tree_transform_and_unroll_loop): New. | |
21918 | * tree-flow.h (transform_callback, tree_transform_and_unroll_loop): | |
21919 | Declare. | |
21920 | ||
9112c6d3 | 21921 | 2007-01-10 Robert Kennedy <jimbob@google.com> |
21922 | ||
21923 | * fold-const.c (fold_comparison): Fold comparisons like (x * | |
21924 | 1000 < 0) to (x < 0). | |
21925 | ||
3814cd68 | 21926 | 2007-01-10 Ian Lance Taylor <iant@google.com> |
21927 | ||
21928 | * tree-pretty-print.c (dump_generic_node): Print parentheses when | |
21929 | operands have the same priority. | |
21930 | ||
551c9b1b | 21931 | 2007-01-10 Tom Tromey <tromey@redhat.com> |
21932 | ||
21933 | * fold-const.c (fold_truthop): Don't check can_use_bit_fields_p. | |
21934 | (fold_binary): Likewise. | |
21935 | * langhooks.c (lhd_can_use_bit_fields_p): Removed. | |
21936 | * langhooks-def.h (lhd_can_use_bit_fields_p): Removed. | |
21937 | (LANG_HOOKS_CAN_USE_BIT_FIELDS_P): Removed. | |
21938 | (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_CAN_USE_BIT_FIELDS_P. | |
21939 | * langhooks.h (struct lang_hooks): Removed field | |
21940 | 'can_use_bit_fields_p'. | |
21941 | ||
784abdb2 | 21942 |