]>
Commit | Line | Data |
---|---|---|
f2034d06 JL |
1 | 2011-03-30 Jeff Law <law@redhat.com> |
2 | ||
3 | * reload.h (reg_equiv_constant): Move into new structure reg_equivs, | |
4 | define accessor macro. | |
5 | (reg_equiv_invariant, reg_equiv_memory_loc): Likewise. | |
6 | (reg_equiv_address, reg_equiv_mem, reg_equiv_alt_mem_list): Likewise. | |
7 | (reg_equiv_init): Likewise. | |
8 | (reg_equivs_size): New variable. | |
9 | (reg_equiv_init_size): Remove. | |
10 | (allocate_initial_values): Move prototype to here from.... | |
11 | * integrate.h (allocate_initial_values): Remove prototype. | |
12 | * integrate.c: Include reload.h. | |
13 | (allocate_initial_values): Corresponding changes. | |
14 | * ira.c (find_reg_equiv_invariant_cost): Corresponding changes. | |
15 | (fix_reg_equiv_init, no_equiv): Corresponding changes. | |
16 | (update_equiv_regs): Corresponding changes. | |
17 | (ira): Corresponding changes. | |
18 | * reload.c (push_reg_equiv_alt_mem): Corresponding changes. | |
19 | (push_secondary_reload): Corresponding changes. | |
20 | (push_reload, find_reloads, find_reloads_toplev): Corresponding changes. | |
21 | (make_memloc, find_reloads_address): Corresponding changes. | |
22 | (subst_reg_equivs, subst_indexed_address): Corresponding changes. | |
23 | (find_reloads_address_1): Corresponding changes. | |
24 | (find_reloads_subreg_address, subst_reloads): Corresponding changes. | |
25 | (refers_to_regno_for_reload_p): Corresponding changes. | |
26 | (reg_overlap_mentioned_for_reload_p): Corresponding changes. | |
27 | (refers_to_mem_for_reload_p, find_equiv_reg): Corresponding changes. | |
28 | * reload1.c: Include ggc.h. | |
29 | (grow_reg_equivs): New function. | |
30 | (replace_pseudos_in, reload): Corresponding changes. | |
31 | (calculate_needs_all_insns, alter_regs): Corresponding changes. | |
32 | (eliminate_regs_1, elimination_effects): Corresponding changes. | |
33 | (emit_input_reload_insns, emit_output_reload_insns): Likewise. | |
34 | (delete_output_reload): Likewise. | |
35 | * caller-save.c (mark_referenced_regs): Corresponding changes. | |
36 | * alpha/alpha.c (resolve_reload_operand): Corresponding changes. | |
37 | * frv/predicates.md (frv_load_operand): Corresponding changes. | |
38 | * microblaze/microblaze.c (double_memory_operand): Corresponding | |
39 | changes. | |
40 | * avr/avr.h (LEGITIMIZE_RELOAD_ADDRESS): Corresponding changes. | |
41 | * xtensa/xtensa.c (fixup_subreg_mem): Corresponding changes. | |
42 | * mn10300/mn10300.c (mn10300_secondary_reload): Corresponding | |
43 | changes. | |
44 | * m68k/m68k.c (emit_move_sequence): Corresponding changes. | |
45 | * arm/arm.c (arm_reload_in_hi, arm_reload_out_hi): Corresponding | |
46 | changes. | |
47 | * pa/pa.c (emit_move_sequence): Corresponding changes. | |
48 | * vax/vax.c (nonindexed_address_p): Corresponding changes. | |
49 | ||
159b81b0 RS |
50 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
51 | ||
52 | PR target/47551 | |
53 | * config/arm/arm.c (coproc_secondary_reload_class): Handle | |
54 | structure modes. Don't check neon_vector_mem_operand for | |
55 | vector or structure modes. | |
56 | ||
a6217191 RS |
57 | 2011-03-30 Richard Sandiford <richard.sandiford@linaro.org> |
58 | Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> | |
59 | ||
60 | PR target/43590 | |
61 | * config/arm/neon.md (neon_vld3qa<mode>, neon_vld4qa<mode>): Remove | |
62 | operand 1 and reshuffle the operands to match. | |
63 | (neon_vld3<mode>, neon_vld4<mode>): Update accordingly. | |
64 | ||
bd837408 CS |
65 | 2011-03-30 Christian Schüler <cschueler@gmx.de> |
66 | ||
6955d771 | 67 | PR driver/48208 |
bd837408 | 68 | * config/c.opt (F): Added 'Driver' to -F option. |
6955d771 | 69 | PR driver/48260 |
bd837408 CS |
70 | * config/darwin-driver.c (darwin_driver_init): Add '-arch' to |
71 | handler function. | |
72 | * config/darwin.opt: Added '-arch' option. | |
73 | ||
e9c0470a NC |
74 | 2011-03-30 Nick Clifton <nickc@redhat.com> |
75 | ||
76 | * config/rx/rx.md: Add peepholes and patterns to combine | |
77 | extending loads and simple arithmetic instructions. | |
78 | * config/rx/rx.h (ADJUST_INSN_LENGTH): Define. | |
79 | * config/rx/rx-protos.h (rx_adjust_insn_length): Prototype. | |
80 | * config/rx/rx.c (rx_is_legitimate_address): Allow QI and HI | |
81 | modes to use pre-decrement and post-increment addressing. | |
82 | (rx_is_restricted_memory_address): Add range checking of REG+INT | |
83 | addresses. | |
84 | (rx_print_operand): Add support for %Q. | |
85 | Fix handling of %Q. | |
86 | (rx_memory_move_cost): Adjust cost of stores. | |
87 | (rx_adjust_insn_length): New function. | |
88 | ||
8a87e7ab JJ |
89 | 2011-03-30 Jakub Jelinek <jakub@redhat.com> |
90 | ||
91 | PR c/48305 | |
92 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
93 | arg10/arg11 in (X ^ Y) == (Z ^ W) are always fold converted to | |
94 | matching arg00/arg01 types. | |
95 | ||
12486e03 EB |
96 | 2011-03-30 Eric Botcazou <ebotcazou@adacore.com> |
97 | ||
98 | * cfglayout.c (insn_locators_alloc): Initialize curr_location and | |
99 | last_location to UNKNOWN_LOCATION. | |
100 | ||
0b99eef6 L |
101 | 2011-03-30 H.J. Lu <hongjiu.lu@intel.com> |
102 | ||
103 | PR target/48349 | |
104 | * config/i386/i386.h (REG_CLASS_CONTENTS): Fix a typo in | |
105 | FLOAT_SSE_REGS. | |
106 | ||
023592aa JM |
107 | 2011-03-30 Joseph Myers <joseph@codesourcery.com> |
108 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> | |
109 | ||
110 | PR bootstrap/48337 | |
111 | * config/sparc/sparc.opt (sparc_cpu_and_features): Add | |
112 | Init(PROCESSOR_V7). | |
113 | (sparc_cpu): Likewise. | |
114 | * config/sparc/sparc.c (sparc_option_override): Replace 0 by | |
115 | PROCESSOR_V7. | |
116 | ||
ad3b266b VM |
117 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
118 | ||
119 | PR target/48336 | |
120 | PR middle-end/48342 | |
121 | PR rtl-optimization/48345 | |
122 | * ira-color.c (setup_conflict_profitable_regs): Exclude prohibited | |
123 | hard regs for given mode from profitable regs when doing secondary | |
124 | allocation. | |
125 | ||
633c9126 JL |
126 | 2011-03-29 Jeff Law <law@redhat.com> |
127 | ||
128 | PR bootstrap/48327 | |
129 | * tree-ssa-threadupdate.c (struct redirection_data): Remove | |
130 | do_not_duplicate field. | |
131 | (lookup_redirection_data): Corresponding changes. | |
132 | (create_duplicates): Always create a template block. | |
133 | (redirect_edges): Remove code which reused the original block | |
134 | when it was going to become unreachable code. | |
135 | (thread_block): Don't set do_not_duplicate field. | |
136 | ||
eb50f63a JM |
137 | 2011-03-29 Joseph Myers <joseph@codesourcery.com> |
138 | ||
139 | * lto-opts.c (register_user_option_p, lto_register_user_option): | |
140 | Make type argument unsigned. | |
141 | * lto-streamer.h (lto_register_user_option): Make type argument | |
142 | unsigned. | |
143 | * opth-gen.awk: Make CL_* macros unsigned. | |
144 | * opts-common.c (find_opt): Make lang_mask argument unsigned. | |
145 | * opts.h (CL_PARAMS, CL_WARNING, CL_OPTIMIZATION, CL_DRIVER, | |
146 | CL_TARGET, CL_COMMON, CL_SEPARATE_NARGS_MASK, CL_SEPARATE_ALIAS, | |
147 | CL_NO_DRIVER_ARG, CL_REJECT_DRIVER, CL_SAVE, CL_DISABLED, | |
148 | CL_REPORT, CL_JOINED, CL_SEPARATE, CL_REJECT_NEGATIVE, | |
149 | CL_MISSING_OK, CL_UINTEGER, CL_UNDOCUMENTED): Make unsigned. | |
150 | (find_opt): Make lang_mask argument unsigned. | |
151 | ||
76763a6d VM |
152 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
153 | ||
154 | PR rtl-optimization/48331 | |
155 | PR rtl-optimization/48334 | |
156 | * ira-color.c (color_allocnos): Call setup_profitable_hard_regs | |
157 | for any used algorithm. | |
158 | ||
5c82436e VM |
159 | 2011-03-29 Vladimir Makarov <vmakarov@redhat.com> |
160 | ||
161 | * ira-conflicts.c (build_object_conflicts): Add unused attribute | |
162 | to parent_max. | |
163 | ||
7a81008b UB |
164 | 2011-03-29 Uros Bizjak <ubizjak@gmail.com> |
165 | ||
166 | * config/alpha/alpha.c (alpha_sr_alias_set): Don't define. | |
167 | (alpha_option_override): Don't set alpha_sr_alias_set. | |
168 | (emit_frame_store_1): Use gen_frame_mem rather than calling | |
169 | set_mem_alias_set. | |
170 | (alpha_expand_epilogue): Ditto. | |
171 | ||
86c8d1f6 IR |
172 | 2011-03-29 Ira Rosen <ira.rosen@linaro.org> |
173 | ||
174 | PR tree-optimization/48290 | |
175 | * tree-vect-loop.c (vect_analyze_loop_operations): In outer loop | |
176 | vectorization, check that relevant phis in the basic block after | |
177 | the inner loop are really inner loop's exit phis. | |
178 | ||
0d12220f RS |
179 | 2011-03-29 Richard Sandiford <richard.sandiford@linaro.org> |
180 | ||
e8cf17e7 | 181 | PR debug/48190 |
0d12220f RS |
182 | * dwarf2out.c (dw_loc_list_node): Add resolved_addr and replaced. |
183 | (cached_dw_loc_list_def): New structure. | |
184 | (cached_dw_loc_list): New typedef. | |
185 | (cached_dw_loc_list_table): New variable. | |
186 | (cached_dw_loc_list_table_hash): New function. | |
187 | (cached_dw_loc_list_table_eq): Likewise. | |
188 | (add_location_or_const_value_attribute): Take a bool cache_p. | |
189 | Cache the list when the parameter is true. | |
190 | (gen_formal_parameter_die): Update caller. | |
191 | (gen_variable_die): Likewise. | |
192 | (dwarf2out_finish): Likewise. | |
193 | (dwarf2out_abstract_function): Nullify cached_dw_loc_list_table | |
194 | while generating debug info for the decl. | |
195 | (dwarf2out_function_decl): Clear cached_dw_loc_list_table. | |
196 | (dwarf2out_init): Initialize cached_dw_loc_list_table. | |
197 | (resolve_addr): Cache the result of resolving a chain of | |
198 | location lists. | |
199 | ||
1756cb66 VM |
200 | 2011-03-28 Vladimir Makarov <vmakarov@redhat.com> |
201 | ||
202 | * ira-color.c (update_left_conflict_sizes_p): Don't assume that | |
203 | conflict object hard regset nodes have intersecting hard reg sets. | |
7a81008b | 204 | |
1756cb66 VM |
205 | * regmove.c (regmove_optimize): Move ira_set_pseudo_classes call |
206 | after regstat_init_n_sets_and_refs. | |
207 | ||
208 | * ira.c: Add more comments at the top. | |
209 | (setup_stack_reg_pressure_class, setup_pressure_classes): | |
210 | Add comments how we compute the register pressure classes. | |
211 | (setup_allocno_and_important_classes): Add more comments. | |
212 | (setup_class_translate_array, reorder_important_classes) | |
213 | (setup_reg_class_relations): Add comments. | |
214 | ||
215 | * ira-emit.c: Add 2011 to the Copyright line. Add comments at the | |
216 | start of the file. | |
217 | ||
218 | * ira-color.c: Add 2011 to the Copyright line. | |
219 | (assign_hard_reg): Add more comments. | |
220 | (improve_allocation): Ditto. | |
221 | ||
222 | * ira-costs.c: Add 2011 to the Copyright line. | |
223 | (setup_cost_classes, setup_regno_cost_classes_by_aclass): Add more | |
224 | comments. | |
225 | (setup_regno_cost_classes_by_mode): Ditto. | |
226 | ||
227 | Initial patches from ira-improv branch: | |
228 | ||
229 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
230 | ||
231 | * ira-build.c: (ira_create_object): Remove initialization of | |
232 | OBJECT_PROFITABLE_HARD_REGS. Initialize OBJECT_ADD_DATA. | |
233 | (ira_create_allocno): Remove initialization of | |
234 | ALLOCNO_MEM_OPTIMIZED_DEST, ALLOCNO_MEM_OPTIMIZED_DEST_P, | |
235 | ALLOCNO_SOMEWHERE_RENAMED_P, ALLOCNO_CHILD_RENAMED_P, | |
236 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
237 | ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO, | |
238 | ALLOCNO_FIRST_COALESCED_ALLOCNO, ALLOCNO_NEXT_COALESCED_ALLOCNO. | |
239 | Initialize ALLOCNO_ADD_DATA. | |
240 | (copy_info_to_removed_store_destinations): Use ALLOCNO_EMIT_DATA | |
241 | and allocno_emit_reg instead of ALLOCNO_MEM_OPTIMIZED_DEST_P and | |
242 | ALLOCNO_REG. | |
243 | (ira_flattening): Ditto. Use ALLOCNO_EMIT_DATA instead of | |
244 | ALLOCNO_MEM_OPTIMIZED_DEST and ALLOCNO_SOMEWHERE_RENAMED_P. | |
245 | ||
246 | * ira.c (ira_reallocate): Remove. | |
247 | (setup_pressure_classes): Call | |
248 | ira_init_register_move_cost_if_necessary. Use | |
249 | ira_register_move_cost instead of ira_get_register_move_cost. | |
250 | (setup_allocno_assignment_flags): Use ALLOCNO_EMIT_DATA. | |
251 | (ira): Call ira_initiate_emit_data and ira_finish_emit_data. | |
252 | ||
253 | * ira-color.c: Use ALLOCNO_COLOR_DATA instead of | |
254 | ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P, ALLOCNO_COLORABLE_P, | |
255 | ALLOCNO_AVAILABLE_REGS_NUM, ALLOCNO_NEXT_BUCKET_ALLOCNO, | |
256 | ALLOCNO_PREV_BUCKET_ALLOCNO. ALLOCNO_TEMP. Use OBJECT_COLOR_DATA | |
257 | instead of OBJECT_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE, | |
258 | OBJECT_HARD_REGS_SUBNODES_START, OBJECT_HARD_REGS_SUBNODES_NUM. | |
259 | Fix formatting. | |
7a81008b | 260 | (object_hard_regs_t, object_hard_regs_node_t): Move from ira-int.h. |
1756cb66 VM |
261 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. |
262 | (struct allocno_color_data): New. | |
263 | (allocno_color_data_t): New typedef. | |
264 | (allocno_color_data): New definition. | |
265 | (ALLOCNO_COLOR_DATA): New macro. | |
266 | (struct object_color_data): New. | |
267 | (object_color_data_t): New typedef. | |
268 | (object_color_data): New definition. | |
269 | (OBJECT_COLOR_DATA): New macro. | |
270 | (update_copy_costs, calculate_allocno_spill_cost): Call | |
271 | ira_init_register_move_cost_if_necessary. Use | |
272 | ira_register_move_cost instead of ira_get_register_move_cost. | |
273 | (move_spill_restore, update_curr_costs): Ditto. | |
274 | (allocno_spill_priority): Make it inline. | |
7a81008b | 275 | (color_pass): Allocate and free allocno_color_dat and object_color_data. |
1756cb66 VM |
276 | (struct coalesce_data, coalesce_data_t): New. |
277 | (allocno_coalesce_data): New definition. | |
278 | (ALLOCNO_COALESCE_DATA): New macro. | |
279 | (merge_allocnos, coalesced_allocno_conflict_p): Use | |
280 | ALLOCNO_COALESCED_DATA instead of ALLOCNO_FIRST_COALESCED_ALLOCNO, | |
281 | ALLOCNO_NEXT_COALESCED_ALLOCNO, ALLOCNO_TEMP. | |
282 | (coalesce_allocnos): Ditto. | |
283 | (setup_coalesced_allocno_costs_and_nums): Ditto. | |
284 | (collect_spilled_coalesced_allocnos): Ditto. | |
285 | (slot_coalesced_allocno_live_ranges_intersect_p): Ditto. | |
286 | (setup_slot_coalesced_allocno_live_ranges): Ditto. | |
287 | (coalesce_spill_slots): Ditto. | |
288 | (ira_sort_regnos_for_alter_reg): Ditto. Allocate, initialize and | |
289 | free allocno_coalesce_data. | |
290 | ||
291 | * ira-conflicts.c: Fix formatting. | |
292 | (process_regs_for_copy): Call | |
293 | ira_init_register_move_cost_if_necessary. Use | |
294 | ira_register_move_cost instead of ira_get_register_move_cost. | |
295 | (build_object_conflicts): Optimize. | |
296 | ||
297 | * ira-costs.c (record_reg_classes): Optimize. Call | |
298 | ira_init_register_move_cost_if_necessary. Use | |
299 | ira_register_move_cost, ira_may_move_in_cost, and | |
300 | ira_may_move_out_cost instead of ira_get_register_move_cost and | |
301 | ira_get_may_move_cost. | |
302 | (record_address_regs): Ditto. | |
303 | (scan_one_insn): Optimize. | |
304 | (find_costs_and_classes): Optimize. | |
305 | (process_bb_node_for_hard_reg_moves): Call | |
306 | ira_init_register_move_cost_if_necessary. Use | |
307 | ira_register_move_cost instead of ira_get_register_move_cost. | |
308 | ||
309 | * ira-emit.c: Use allocno_emit_reg, ALLOCNO_EMIT_DATA instead of | |
310 | ALLOCNO_REG, ALLOCNO_CHILD_RENAMED_P, ALLOCNO_MEM_OPTIMIZED_DEST, | |
311 | ALLOCNO_MEM_OPTIMIZED_DEST_P, and ALLOCNO_SOMEWHERE_RENAMED_P. | |
312 | (ira_allocno_emit_data, void_p, new_allocno_emit_data_vec): New | |
313 | definitions. | |
314 | (ira_initiate_emit_data, ira_finish_emit_data) | |
315 | (create_new_allocno): New functions. | |
7a81008b | 316 | (modify_move_list): Call create_new_alloc instead of ira_create_allocno. |
1756cb66 VM |
317 | (emit_move_list): Call ira_init_register_move_cost_if_necessary. |
318 | Use ira_register_move_cost instead of ira_get_register_move_cost. | |
319 | ||
320 | * ira-int.h: Fix some comments. | |
7a81008b UB |
321 | (object_hard_regs_t, object_hard_regs_node_t): Move to ira-color.c. |
322 | (struct object_hard_regs, struct object_hard_regs_node): Ditto. | |
1756cb66 VM |
323 | (struct ira_object): Remove profitable_hard_regs, hard_regs_node, |
324 | hard_regs_subnodes_start, hard_regs_subnodes_num. Add new member | |
325 | add_data. | |
326 | (struct ira_allocno): Make mode and aclass a bitfield. Move other | |
327 | bitfield after mode. Make hard_regno a short int. Make | |
328 | hard_regno short. Remove first_coalesced_allocno and | |
329 | next_coalesced_allocno. Move mem_optimized_dest_p, | |
330 | somewhere_renamed_p, child_renamed_p, reg, and mem_optimized_dest | |
331 | into struct ira_emit_data. Remove in_graph_p, may_be_spilled_p, | |
332 | available_regs_num, next_bucket_allocno, prev_bucket_allocno, | |
333 | temp, colorable_p. Add new member add_data. | |
334 | (ALLOCNO_IN_GRAPH_P, ALLOCNO_MAY_BE_SPILLED_P): Remove. | |
335 | (ALLOCNO_COLORABLE_P, ALLOCNO_AVAILABLE_REGS_NUM): Remove. | |
336 | (ALLOCNO_NEXT_BUCKET_ALLOCNO, ALLOCNO_PREV_BUCKET_ALLOCNO): Remove. | |
337 | (ALLOCNO_TEMP, ALLOCNO_FIRST_COALESCED_ALLOCNO): Remove. | |
338 | (ALLOCNO_NEXT_COALESCED_ALLOCNO): Remove. | |
339 | (ALLOCNO_ADD_DATA): New macro. | |
340 | (ira_emit_data_t): New typedef. | |
341 | (struct ira_emit_data): New. Move mem_optimized_dest_p, | |
342 | somewhere_renamed_p, child_renamed_p, reg, mem_optimized_dest | |
343 | from struct ira_allocno. | |
344 | (ALLOCNO_EMIT_DATA): New macro. | |
345 | (ira_allocno_emit_data, allocno_emit_reg): New. | |
346 | (ALLOCNO_PROFITABLE_HARD_REGS, OBJECT_HARD_REGS_NODE): Remove. | |
7a81008b | 347 | (OBJECT_HARD_REGS_SUBNODES_STAR, OBJECT_HARD_REGS_SUBNODES_NUM): Remove. |
1756cb66 VM |
348 | (OBJECT_ADD_DATA): New macro. |
349 | (ira_reallocate): Remove. | |
350 | (ira_initiate_emit_data, ira_finish_emit_data): New. | |
351 | (ira_get_register_move_cost, ira_get_may_move_cost): Remove. | |
352 | (ira_init_register_move_cost_if_necessary): New. | |
353 | (ira_object_conflict_iter_next): Merge into | |
354 | ira_object_conflict_iter_cond. | |
7a81008b | 355 | (FOR_EACH_OBJECT_CONFLICT): Don't use ira_object_conflict_iter_next. |
1756cb66 VM |
356 | |
357 | * ira-live.c: (process_single_reg_class_operands): Call | |
358 | ira_init_register_move_cost_if_necessary. Use | |
359 | ira_register_move_cost instead of ira_get_register_move_cost. | |
360 | ||
361 | 2010-08-13 Vladimir Makarov <vmakarov@redhat.com> | |
362 | ||
363 | * ira-int.h (struct target_ira_int): Remove x_cost_classes. | |
364 | ||
365 | * ira-costs.c: Fix formatting. | |
366 | (cost_classes, cost_classes_num): Remove. | |
367 | (struct cost_classes, cost_classes_t, const_cost_classes_t): New. | |
368 | (regno_cost_classes, cost_classes_hash, cost_classes_eq): New. | |
369 | (cost_classes_del, cost_classes_htab): New. | |
370 | (cost_classes_aclass_cache, cost_classes_mode_cache): New. | |
371 | (initiate_regno_cost_classes, setup_cost_classes): New. | |
372 | (setup_regno_cost_classes_by_aclass): New. | |
7a81008b | 373 | (setup_regno_cost_classes_by_mode, finish_regno_cost_classes): New. |
1756cb66 VM |
374 | (record_reg_classes): Use regno_cost_classes instead of |
375 | cost_classes. Move checking opposite operand up. | |
376 | (record_address_regs): Use regno_cost_classes | |
377 | instead of cost_classes. | |
378 | (scan_one_insn): Ditto. Use always general register. | |
379 | (print_allocno_costs): Use regno_cost_classes instead of | |
380 | cost_classes. | |
381 | (print_pseudo_costs): Ditto. Use Reg_N_REFS. | |
382 | (find_costs_and_classes): Set up cost classes for each registers. | |
383 | Use also their mode for this. Use regno_cost_classes instead of | |
384 | cost_classes. | |
385 | (setup_allocno_class_and_costs): Use regno_cost_classes instead of | |
386 | cost_classes. | |
387 | (free_ira_costs, ira_init_costs): Don't use cost_classes. | |
388 | (ira_costs, ira_set_pseudo_classes): Call | |
389 | initiate_regno_cost_classes and finish_regno_cost_classes. | |
390 | ||
391 | 2010-10-04 Vladimir Makarov <vmakarov@redhat.com> | |
392 | ||
393 | * target-def.h (TARGET_IRA_COVER_CLASSES): Remove. | |
394 | ||
395 | * target.def (ira_cover_classes): Remove. | |
396 | ||
7a81008b | 397 | * doc/tm.texi: Remove TARGET_IRA_COVER_CLASSES and IRA_COVER_CLASSES. |
1756cb66 VM |
398 | |
399 | * doc/tm.texi.in: Ditto. | |
400 | ||
401 | * ira-conflicts.c: Remove mentioning cover classes from the file. | |
402 | Use ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Use | |
7a81008b | 403 | ALLOCNO_COVER_CLASS_COST instead of ALLOCNO_CLASS_COST. Fix formatting. |
1756cb66 VM |
404 | |
405 | * targhooks.c (default_ira_cover_classes): Remove. | |
406 | ||
407 | * targhooks.h (default_ira_cover_classes): Ditto. | |
408 | ||
409 | * haifa-sched.c: Remove mentioning cover classes from the file. | |
410 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
411 | ira_pressure_classes and ira_pressure_classes_num instead of | |
412 | ira_reg_class_cover_size and ira_reg_class_cover. Use | |
413 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
414 | (mark_regno_birth_or_death, setup_insn_reg_pressure_info): Use | |
415 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
416 | ||
417 | * ira-int.h: Add 2010 to Copyright. Remove mentioning cover | |
418 | classes from the file. | |
419 | (object_hard_regs_t, object_hard_regs_node_t): New typedefs. | |
420 | (struct object_hard_regs, struct object_hard_regs_node): New. | |
421 | (struct ira_object): New members profitable_hard_regs, | |
422 | hard_regs_node, hard_regs_subnodes_start, hard_regs_subnodes_num. | |
423 | (struct ira_allocno): Rename cover_class to aclass. Rename | |
424 | cover_class_cost and updated_cover_class_cost to class_cost and | |
425 | updated_class_cost. Remove splay_removed_p and | |
426 | left_conflict_size. Add new members colorable_p. | |
427 | (ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICTS_SIZE): Remove. | |
428 | (ALLOCNO_COLORABLE_P): New macro. | |
429 | (ALLOCNO_COVER_CLASS): Rename to ALLOCNO_CLASS. | |
430 | (ALLOCNO_COVER_CLASS_COST, ALLOCNO_UPDATED_COVER_CLASS_COST): | |
431 | Rename to ALLOCNO_CLASS_COST and ALLOCNO_UPDATED__CLASS_COST. | |
432 | (OBJECT_...): Rename parameter C to O. | |
433 | (OBJECT_PROFITABLE_HARD_REGS): New macro. | |
434 | (OBJECT_HARD_REGS_NODE, OBJECT_HARD_REGS_SUBNODES_START) | |
435 | (OBJECT_HARD_REGS_SUBNODES_NUM): New macros. | |
436 | (struct target_ira_int): New members x_ira_max_memory_move_cost, | |
437 | x_ira_max_register_move_cost, x_ira_max_may_move_in_cost, | |
438 | x_ira_max_may_move_out_cost, x_ira_reg_allocno_class_p, | |
439 | x_ira_reg_pressure_class_p, x_ira_important_class_nums, | |
440 | x_ira_reg_class_superunion. Rename x_prohibited_class_mode_reg to | |
441 | x_ira_prohibited_class_mode_reg. Rename x_ira_reg_class_union to | |
442 | x_ira_reg_class_subunion. | |
443 | (ira_max_memory_move_cost, ira_max_register_move_cost) | |
444 | (ira_max_may_move_in_cost, ira_max_may_move_out_cost) | |
445 | (ira_reg_allocno_class_p, ira_reg_pressure_class_p) | |
446 | (ira_important_class_nums, ira_reg_class_superunion): New macros. | |
7a81008b | 447 | (prohibited_class_mode_regs): Rename to ira_prohibited_class_mode_regs. |
1756cb66 VM |
448 | (ira_reg_class_union): Rename to ira_reg_class_subunion. |
449 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
450 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
451 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
452 | ira_tune_allocno_costs. | |
453 | (ira_debug_hard_regs_forest): New. | |
454 | (ira_object_conflict_iter_init, ira_object_conflict_iter_cond) | |
455 | (ira_object_conflict_iter_next): Fix comments. | |
7a81008b | 456 | (ira_hard_reg_set_intersection_p, hard_reg_set_size): New functions. |
1756cb66 VM |
457 | (ira_allocate_and_set_costs, ira_allocate_and_copy_costs): Rename |
458 | cover_class to aclass. | |
459 | (ira_allocate_and_accumulate_costs): Ditto. | |
460 | (ira_allocate_and_set_or_copy_costs): Ditto. | |
461 | ||
462 | * opts.c (decode_options): Remove ira_cover_class check. | |
463 | ||
464 | * ira-color.c: Remove mentioning cover classes from the file. Use | |
465 | ALLOCNO_CLASS, ALLOCNO_CLASS_COST, and ALLOCNO_UPDATED_CLASS_COST | |
466 | instead of ALLOCNO_COVER_CLASS, ALLOCNO_COVER_CLASS_COST, and | |
467 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
468 | (splay-tree.h): Remove include. | |
469 | (allocno_coalesced_p, processed_coalesced_allocno_bitmap): Move | |
470 | before copy_freq_compare_func. | |
471 | (allocnos_for_spilling, removed_splay_allocno_vec): Remove. | |
472 | (object_hard_regs_vec, object_hard_regs_htab, node_check_tick): | |
473 | New definitions. | |
474 | (hard_regs_roots, hard_regs_node_vec): Ditto. | |
475 | (object_hard_regs_hash, object_hard_regs_eq, find_hard_regs): Ditto. | |
476 | (insert_hard_regs, init_object_hard_regs, add_object_hard_regs): Ditto. | |
477 | (finish_object_hard_regs, object_hard_regs_compare): Ditto. | |
478 | (create_new_object_hard_regs_node): Ditto. | |
479 | (add_new_object_hard_regs_node_to_forest): Ditto. | |
7a81008b | 480 | (add_object_hard_regs_to_forest, collect_object_hard_regs_cover): Ditto. |
1756cb66 VM |
481 | (setup_object_hard_regs_nodes_parent, first_common_ancestor_node): |
482 | Ditto. | |
483 | (print_hard_reg_set, print_hard_regs_subforest): Ditto. | |
484 | (print_hard_regs_forest, ira_debug_hard_regs_forest): Ditto. | |
485 | (remove_unused_object_hard_regs_nodes): Ditto. | |
486 | (enumerate_object_hard_regs_nodes): Ditto. | |
487 | (object_hard_regs_nodes_num, object_hard_regs_nodes): Ditto. | |
488 | (object_hard_regs_subnode_t): Ditto. | |
489 | (struct object_hard_regs_subnode): Ditto. | |
490 | (object_hard_regs_subnodes, object_hard_regs_subnode_index): Ditto. | |
491 | (setup_object_hard_regs_subnode_index): Ditto. | |
492 | (get_object_hard_regs_subnodes_num): Ditto. | |
493 | (form_object_hard_regs_nodes_forest): Ditto. | |
494 | (finish_object_hard_regs_nodes_tree): Ditto. | |
495 | (finish_object_hard_regs_nodes_forest): Ditto. | |
496 | (allocnos_have_intersected_live_ranges_p): Rename to | |
7a81008b | 497 | allocnos_conflict_by_live_ranges_p. Move before copy_freq_compare_func. |
1756cb66 VM |
498 | (pseudos_have_intersected_live_ranges_p): Rename to |
499 | conflict_by_live_ranges_p. Move before copy_freq_compare_func. | |
500 | (setup_left_conflict_sizes_p, update_left_conflict_sizes_p): Ditto. | |
501 | (empty_profitable_hard_regs, setup_profitable_hard_regs): Ditto. | |
502 | (update_copy_costs): Remove assert. Skip cost update if the hard | |
503 | reg does not belong the class. | |
504 | (assign_hard_reg): Process only profitable hard regs. | |
505 | (uncolorable_allocnos_num): Make it scalar. | |
506 | (allocno_spill_priority): Use ALLOCNO_EXCESS_PRESSURE_POINTS_NUM | |
507 | and ira_reg_class_max_nregs instead of ALLOCNO_LEFT_CONFLICTS_SIZE | |
508 | and ira_reg_class_max_nregs. | |
509 | (bucket_allocno_compare_func): Check frequency first. | |
510 | (sort_bucket): Add compare function as a parameter. | |
511 | (add_allocno_to_ordered_bucket): Assume no coalesced allocnos. | |
512 | (uncolorable_allocnos_splay_tree, USE_SPLAY_P): Remove. | |
513 | (push_allocno_to_stack): Rewrite for checking new allocno | |
514 | colorability. | |
7a81008b | 515 | (remove_allocno_from_bucket_and_push): Print cost too. Remove assert. |
1756cb66 VM |
516 | (push_only_colorable): Pass new parameter to sort_bucket. |
517 | (push_allocno_to_spill): Remove. | |
518 | (allocno_spill_priority_compare): Make it inline and rewrite. | |
519 | (splay_tree_allocate, splay_tree_free): Remove. | |
520 | (allocno_spill_sort_compare): New function. | |
521 | (push_allocnos_to_stack): Sort allocnos for spilling once. Don't | |
522 | build and use splay tree. Choose first allocno in uncolorable | |
523 | allocno bucket to spill. Remove setting spill cost. | |
524 | (all_conflicting_hard_regs): Remove. | |
525 | (setup_allocno_available_regs_num): Check only profitable hard | |
526 | regs. Print info about hard regs nodes. | |
527 | (setup_allocno_left_conflicts_size): Remove. | |
528 | (put_allocno_into_bucket): Don't call | |
7a81008b | 529 | setup_allocno_left_conflicts_size. Use setup_left_conflict_sizes_p. |
1756cb66 VM |
530 | (improve_allocation): New. |
531 | (color_allocnos): Call setup_profitable_hard_regs, | |
532 | form_object_hard_regs_nodes_forest, improve_allocation, | |
533 | finish_object_hard_regs_nodes_forest. Setup spill cost. | |
534 | (print_loop_title): Use pressure classes. | |
535 | (color_allocnso): Ditto. | |
536 | (do_coloring): Remove allocation and freeing splay_tree_node_pool | |
537 | and allocnos_for_spilling. | |
538 | (ira_sort_regnos_for_alter_reg): Don't setup members | |
539 | {first,next}_coalesced_allocno. | |
540 | (color): Remove allocating and freeing removed_splay_allocno_vec. | |
541 | (fast_allocation): Use ira_prohibited_class_mode_regs instead of | |
542 | prohibited_class_mode_regs. | |
543 | ||
544 | * ira-lives.c: Remove mentioning cover classes from the file. Fix | |
545 | formatting. | |
546 | (update_allocno_pressure_excess_length): Use pressure classes. | |
547 | (inc_register_pressure, dec_register_pressure): Check for pressure | |
548 | class. | |
549 | (mark_pseudo_regno_live, mark_pseudo_regno_subword_live): Use | |
550 | pressure class. Use ira_reg_class_nregs instead of | |
551 | ira_reg_class_max_nregs. | |
552 | (mark_pseudo_regno_dead, mark_pseudo_regno_subword_dead): Ditto. | |
553 | (mark_hard_reg_live, mark_hard_reg_dead): Use pressure class. | |
554 | (single_reg_class): Use ira_reg_class_nregs instead of | |
555 | ira_reg_class_max_nregs. | |
556 | (process_bb_node_lives): Use pressure classes. | |
557 | ||
558 | * ira-emit.c: Remove mentioning cover classes from the file. Use | |
559 | ALLOCNO_CLASS instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
560 | (change_loop): Use pressure classes. | |
561 | (modify_move_list): Call ira_set_allocno_class instead of | |
562 | ira_set_allocno_cover_class. | |
563 | ||
564 | * ira-build.c: Remove mentioning cover classes from the file. Use | |
565 | ALLOCNO_CLASS and ALLOCNO_CLASS_COST instead of | |
566 | ALLOCNO_COVER_CLASS and ALLOCNO_COVER_CLASS_COST. Use | |
567 | ALLOCNO_UPDATED_CLASS_COST instead of | |
568 | ALLOCNO_UPDATED_COVER_CLASS_COST. Fix formatting. | |
569 | (ira_create_object): Initiate OBJECT_PROFITABLE_HARD_REGS. | |
570 | (ira_create_allocno): Remove initialization of | |
571 | ALLOCNO_SPLAY_REMOVED_P, ALLOCNO_LEFT_CONFLICT_SIZE. Initialize | |
572 | ALLOCNO_COLORABLE_P. | |
573 | (ira_set_allocno_cover_class): Rename to ira_set_allocno_class. | |
574 | Update conflict regs for the objects. | |
575 | (create_cap_allocno): Remove assert. Don't propagate | |
576 | ALLOCNO_AVAILABLE_REGS_NUM. | |
577 | (ira_free_allocno_costs): New function. | |
578 | (finish_allocno): Change a part of code into call of | |
579 | ira_free_allocno_costs. | |
580 | (low_pressure_loop_node_p): Use pressure classes. | |
581 | (object_range_compare_func): Don't compare classes. | |
582 | (setup_min_max_conflict_allocno_ids): Ditto. | |
583 | ||
584 | * loop-invariant.c: Remove mentioning cover classes from the file. | |
585 | Use ira_pressure_classes and ira_pressure_classes_num instead of | |
586 | ira_reg_class_cover_size and ira_reg_class_cover. Fix formatting. | |
7a81008b UB |
587 | (get_cover_class_and_nregs): Rename to get_cover_pressure_and_nregs. |
588 | Use ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
589 | Use reg_allocno_class instead of reg_cover_class. | |
1756cb66 VM |
590 | (get_inv_cost): Use instead ira_stack_reg_pressure_class of |
591 | STACK_REG_COVER_CLASS. | |
592 | (get_regno_cover_class): Rename to get_regno_pressure_class. | |
593 | (move_loop_invariants): Initialize and finalize regstat. | |
594 | ||
595 | * ira.c: Remove mentioning cover classes from the file. Add | |
596 | comments about coloring without cover classes. Use ALLOCNO_CLASS | |
597 | instead of ALLOCNO_COVER_CLASS. Fix formatting. | |
598 | (alloc_reg_class_subclasses, setup_reg_subclasses): Move it before | |
599 | setup_class_subset_and_memory_move_costs. | |
600 | (setup_stack_reg_pressure_class, setup_pressure_classes): New. | |
601 | (setup_cover_and_important_classes): Rename to | |
602 | setup_allocno_and_important_classes. | |
603 | (setup_class_translate_array): New. | |
604 | (setup_class_translate): Call it for allocno and pressure classes. | |
605 | (cover_class_order): Rename to allocno_class_order. | |
606 | (comp_reg_classes_func): Use ira_allocno_class_translate instead | |
607 | of ira_class_translate. | |
608 | (reorder_important_classes): Set up ira_important_class_nums. | |
609 | (setup_reg_class_relations): Set up ira_reg_class_superunion. | |
610 | (print_class_cover): Rename to print_classes. Add parameter. | |
611 | (ira_debug_class_cover): Rename to ira_debug_allocno_classes. | |
612 | Print pressure classes too. | |
613 | (find_reg_class_closure): Rename to find_reg_classes. Don't call | |
614 | setup_reg_subclasses. | |
7a81008b | 615 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
616 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. |
617 | (setup_prohibited_class_mode_regs): Use | |
7a81008b | 618 | ira_prohibited_class_mode_regs instead of prohibited_class_mode_regs. |
1756cb66 VM |
619 | (clarify_prohibited_class_mode_regs): New function. |
620 | (ira_init_register_move_cost): Set up ira_max_register_move_cost, | |
621 | ira_max_may_move_in_cost, and ira_max_may_move_out_cost. | |
622 | (ira_init_once): Initialize them. | |
623 | (free_register_move_costs): Process them. | |
624 | (ira_init): Move calls of find_reg_classes and | |
625 | setup_hard_regno_aclass after setup_prohibited_class_mode_regs. | |
626 | Call clarify_prohibited_class_mode_regs. | |
627 | (ira_no_alloc_reg): Remove. | |
628 | (too_high_register_pressure_p): Use pressure classes. | |
629 | ||
630 | * sched-deps.c: Remove mentioning cover classes from the file. | |
631 | Use ira_reg_pressure_cover instead of ira_reg_class_cover. Use | |
632 | ira_pressure_classes and ira_pressure_classes_num instead of | |
633 | ira_reg_class_cover_size and ira_reg_class_cover. | |
634 | (mark_insn_hard_regno_birth, mark_hard_regno_death): Use | |
635 | sched_regno_pressure_class instead of sched_regno_cover_class. | |
636 | (mark_insn_pseudo_birth, mark_pseudo_death): Ditto. Use | |
637 | ira_reg_class_max_nregs instead of ira_reg_class_nregs. | |
638 | ||
639 | * ira.h: Add 2010 to Copyright. | |
640 | (ira_no_alloc_reg): Remove external. | |
641 | (struct target_ira): Rename x_ira_hard_regno_cover_class, | |
642 | x_ira_reg_class_cover_size, x_ira_reg_class_cover, and | |
643 | x_ira_class_translate to x_ira_hard_regno_allocno_class, | |
644 | x_ira_allocno_classes_num, x_ira_allocno_classes, and | |
645 | x_ira_allocno_class_translate. Add x_ira_pressure_classes_num, | |
646 | x_ira_pressure_classes, x_ira_pressure_class_translate, and | |
647 | x_ira_stack_reg_pressure_class. Rename x_ira_reg_class_nregs to | |
648 | x_ira_reg_class_max_nregs. Add x_ira_reg_class_min_nregs and | |
649 | x_ira_no_alloc_regs. | |
7a81008b | 650 | (ira_hard_regno_cover_class): Rename to ira_hard_regno_allocno_class. |
1756cb66 VM |
651 | (ira_reg_class_cover_size, ira_reg_class_cover): Rename to |
652 | ira_allocno_classes_num and ira_allocno_classes. | |
653 | (ira_class_translate): Rename to ira_allocno_class_translate. | |
654 | (ira_pressure_classes_num, ira_pressure_classes): New definitions. | |
655 | (ira_pressure_class_translate, ira_stack_reg_pressure_class): Ditto. | |
656 | (ira_reg_class_nregs): Rename to ira_reg_class_max_nregs. | |
657 | (ira_reg_class_min_nregs, ira_stack_reg_pressure_class): New | |
658 | (ira_no_alloc_regs): New. | |
659 | ||
660 | * ira-costs.c: Add 2010 to Copyright. Remove mentioning cover | |
661 | classes from the file. Use ALLOCNO_CLASS instead of | |
662 | ALLOCNO_COVER_CLASS. Use ALLOCNO_CLASS_COST instead of | |
663 | ALLOCNO_COVER_CLASS_COST. | |
664 | (regno_cover_class): Rename to regno_aclass. | |
665 | (record_reg_classes): Use ira_reg_class_subunion instead of | |
666 | ira_reg_class_union. | |
667 | (record_address_regs): Check overflow. | |
668 | (scan_one_insn): Ditto. | |
7a81008b | 669 | (print_allocno_costs): Print total mem cost fore regional allocation. |
1756cb66 VM |
670 | (print_pseudo_costs): Use REG_N_REFS. |
671 | (find_costs_and_classes): Use classes intersected with them on the | |
672 | 1st pass. Check overflow. Use ira_reg_class_subunion instead of | |
673 | ira_reg_class_union. Use ira_allocno_class_translate and | |
674 | regno_aclass instead of ira_class_translate and regno_cover_class. | |
675 | Modify code for finding regno_aclass. Setup preferred classes for | |
676 | the next pass. | |
677 | (setup_allocno_cover_class_and_costs): Rename to | |
678 | setup_allocno_class_and_costs. Use regno_aclass instead of | |
679 | regno_cover_class. Use ira_set_allocno_class instead of | |
680 | ira_set_allocno_cover_class. | |
681 | (init_costs, finish_costs): Use regno_aclass instead of | |
682 | regno_cover_class. | |
683 | (ira_costs): Use setup_allocno_class_and_costs instead of | |
684 | setup_allocno_cover_class_and_costs. | |
685 | (ira_tune_allocno_costs_and_cover_classes): Rename to | |
686 | ira_tune_allocno_costs. Check overflow. Skip conflict hard regs | |
687 | by processing objects. Use ira_reg_class_max_nregs instead of | |
688 | ira_reg_class_nregs. | |
689 | ||
690 | * rtl.h (reg_cover_class): Rename to reg_allocno_class. | |
691 | ||
692 | * sched-int.h: Remove mentioning cover classes from the file. | |
693 | (sched_regno_cover_class): Rename to sched_regno_pressure_class. | |
694 | ||
695 | * reginfo.c: Add 2010 to Copyright. Remove mentioning cover | |
696 | classes from the file. | |
697 | (struct reg_pref): Rename coverclass into allocnoclass. | |
698 | (reg_cover_class): Rename to reg_allocno_class. | |
699 | ||
7a81008b | 700 | * Makefile.in (ira-color.o): Remove SPLAY_TREE_H from dependencies. |
1756cb66 VM |
701 | |
702 | * config/alpha/alpha.h (IRA_COVER_CLASSES): Remove. | |
703 | ||
704 | * config/arm/arm.h (IRA_COVER_CLASSES): Ditto. | |
705 | ||
706 | * config/avr/avr.h (IRA_COVER_CLASSES): Ditto. | |
707 | ||
708 | * config/bfin/bfin.h (IRA_COVER_CLASSES): Ditto. | |
709 | ||
710 | * config/cris/cris.h (IRA_COVER_CLASSES): Ditto. | |
711 | ||
712 | * config/fr30/fr30.h (IRA_COVER_CLASSES): Ditto. | |
713 | ||
714 | * config/frv/frv.h (IRA_COVER_CLASSES): Ditto. | |
715 | ||
716 | * config/h8300/h8300.h (IRA_COVER_CLASSES): Ditto. | |
717 | ||
718 | * config/i386/i386.h (STACK_REG_COVER_CLASS): Ditto. | |
719 | ||
720 | * config/i386/i386.c (TARGET_IRA_COVER_CLASSES) | |
721 | (i386_ira_cover_classes): Ditto. | |
722 | ||
723 | * config/ia64/ia64.h (IRA_COVER_CLASSES): Ditto. | |
724 | ||
725 | * config/iq2000/iq2000.h (IRA_COVER_CLASSES): Ditto. | |
726 | ||
727 | * config/m32r/m32r.h (IRA_COVER_CLASSES): Ditto. | |
728 | ||
729 | * config/m68k/m68k.h (IRA_COVER_CLASSES): Ditto. | |
730 | ||
731 | * config/mcore/mcore.h (IRA_COVER_CLASSES): Ditto. | |
732 | ||
733 | * config/mep/mep.h (IRA_COVER_CLASSES): Ditto. | |
734 | ||
735 | * config/mips/mips.c (TARGET_IRA_COVER_CLASSES) | |
736 | (mips_ira_cover_classes): Ditto. | |
737 | ||
738 | * config/mn10300/mn10300.h (IRA_COVER_CLASSES): Ditto. | |
739 | ||
740 | * config/moxie/moxie.h (IRA_COVER_CLASSES): Ditto. | |
741 | ||
742 | * config/pa/pa64-regs.h (IRA_COVER_CLASSES): Ditto. | |
743 | ||
744 | * config/pa/pa32-regs.h (IRA_COVER_CLASSES): Ditto. | |
745 | ||
746 | * config/picochip/picochip.h (IRA_COVER_CLASSES): Ditto. | |
747 | ||
748 | * config/rs6000/rs6000.h (IRA_COVER_CLASSES_PRE_VSX) | |
749 | (IRA_COVER_CLASSES_VSX): Ditto. | |
750 | ||
751 | * config/rs6000/rs6000.c (TARGET_IRA_COVER_CLASSES) | |
752 | (rs6000_ira_cover_classes): Ditto. | |
753 | ||
754 | * config/rx/rx.h (IRA_COVER_CLASSES): Ditto. | |
755 | ||
756 | * config/s390/s390.h (IRA_COVER_CLASSES): Ditto. | |
757 | ||
758 | * config/score/score.h (IRA_COVER_CLASSES): Ditto. | |
759 | ||
760 | * config/sh/sh.h (IRA_COVER_CLASSES): Ditto. | |
761 | ||
762 | * config/sparc/sparc.h (IRA_COVER_CLASSES): Ditto. | |
763 | ||
764 | * config/spu/spu.h (IRA_COVER_CLASSES): Ditto. | |
765 | ||
766 | * config/stormy16/stormy16.h (IRA_COVER_CLASSES): Ditto. | |
767 | ||
768 | * config/v850/v850.h (IRA_COVER_CLASSES): Ditto. | |
769 | ||
770 | * config/vax/vax.h (IRA_COVER_CLASSES): Ditto. | |
771 | ||
772 | * config/xtensa/xtensa.h (IRA_COVER_CLASSES): Ditto. | |
773 | ||
2b80199f JJ |
774 | 2011-03-29 Jakub Jelinek <jakub@redhat.com> |
775 | ||
71dae1fe JJ |
776 | PR debug/48253 |
777 | * dwarf2out.c (struct dw_fde_struct): Remove dw_fde_hot_section_label, | |
778 | dw_fde_hot_section_end_label, dw_fde_unlikely_section_label, | |
779 | dw_fde_unlikely_section_end_label, cold_in_std_section, | |
780 | dw_fde_switched_sections and dw_fde_switched_cold_to_hot fields. | |
781 | Add dw_fde_second_begin, dw_fde_second_end and second_in_std_section | |
782 | fields. | |
783 | (output_fde): Use dw_fde_second_{begin,end} if second is | |
784 | true, otherwise dw_fde_{begin,end}. | |
785 | (output_call_frame_info): Test dw_fde_second_begin != NULL | |
786 | instead of dw_fde_switched_sections. | |
787 | (dwarf2out_begin_prologue): Stop initializing removed dw_fde_struct | |
788 | fields, initialize new fields. Initialize in_std_section | |
789 | unconditionally from the first partition. | |
790 | (dwarf2out_end_epilogue): Don't override dw_fde_end when | |
791 | dw_fde_second_begin is non-NULL. | |
792 | (dwarf2out_switch_text_section): Stop initializing removed | |
793 | dw_fde_struct fields, initialize new fields, initialize | |
794 | also dw_fde_end here. Set dw_fde_switch_cfi even when | |
795 | dwarf2out_do_cfi_asm (). Call var_location_switch_text_section. | |
796 | (struct var_loc_list_def): Add last_before_switch field. | |
797 | (arange_table, arange_table_allocated, arange_table_in_use, | |
798 | ARANGE_TABLE_INCREMENT, add_arange): Removed. | |
799 | (size_of_aranges): Count !in_std_section and !second_in_std_section | |
800 | hunks in fdes, instead of looking at arange_table_in_use. | |
801 | (output_aranges): Add aranges_length argument, don't call | |
802 | size_of_aranges here. Instead of using aranges_table* | |
803 | emit ranges for fdes when !in_std_section resp. | |
804 | !second_in_std_section. | |
805 | (dw_loc_list): Break ranges crossing section switch. | |
806 | (convert_cfa_to_fb_loc_list): Likewise. If switched sections, | |
7a81008b | 807 | use dw_fde_second_end instead of dw_fde_end as end of last range. |
71dae1fe JJ |
808 | (gen_subprogram_die): Don't call add_arange. Use |
809 | dw_fde_{begin,end} for first partition and if switched | |
810 | section dw_fde_second_{begin,end} for the second. | |
811 | (var_location_switch_text_section_1, | |
812 | var_location_switch_text_section): New functions. | |
813 | (dwarf2out_begin_function): Initialize cold_text_section even | |
814 | when function_section () isn't text_section. | |
815 | (prune_unused_types): Don't walk arange_table. | |
816 | (dwarf2out_finish): Don't needlessly test | |
817 | flag_reorder_blocks_and_partition when testing cold_text_section_used. | |
818 | If info_section_emitted, call size_of_aranges and if it indicates | |
819 | non-empty .debug_aranges, call output_aranges with the computed | |
820 | size. Stop using removed dw_fde_struct fields, use | |
821 | dw_fde_{begin,end} for first partition and dw_fde_second_{begin,end} | |
822 | for second. | |
823 | ||
2b80199f JJ |
824 | PR debug/48203 |
825 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Only | |
826 | create ENTRY_VALUE if incoming or address of incoming's MEM | |
827 | is a hard REG. | |
828 | * dwarf2out.c (mem_loc_descriptor): Don't emit | |
829 | DW_OP_GNU_entry_value of DW_OP_fbreg. | |
830 | * var-tracking.c (vt_add_function_parameter): Ensure cselib_lookup | |
831 | on ENTRY_VALUE is able to find the canonical parameter VALUE. | |
832 | * cselib.c (rtx_equal_for_cselib_1) <case ENTRY_VALUE>: Use | |
833 | rtx_equal_p instead of rtx_equal_for_cselib_1 to compare | |
834 | ENTRY_VALUE_EXPs. | |
835 | (cselib_hash_rtx) <case ENTRY_VALUE>: If ENTRY_VALUE_EXP | |
836 | is a REG_P or MEM_P with REG_P address, compute hash directly | |
837 | instead of calling cselib_hash_rtx on ENTRY_VALUE_EXP. | |
838 | (preserve_only_constants): Don't clear VALUES forwaring | |
839 | ENTRY_VALUE to some other VALUE. | |
840 | ||
8a445129 RS |
841 | 2011-03-28 Richard Sandiford <richard.sandiford@linaro.org> |
842 | ||
843 | * builtins.c (expand_builtin_memset_args): Use gen_int_mode | |
844 | instead of GEN_INT. | |
845 | ||
c82fee88 EB |
846 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
847 | ||
848 | * cfgexpand.c (expand_gimple_cond): Always set the source location and | |
849 | block before expanding the statement. | |
850 | (expand_gimple_stmt_1): Likewise. Set them here... | |
851 | (expand_gimple_stmt): ...and not here. Tidy. | |
852 | * cfglayout.c (curr_insn_locator): Return 0 if the current location is | |
853 | unknown. | |
854 | ||
e45425ec SB |
855 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
856 | ||
857 | * Makefile.in: New rule for cprop.o. | |
858 | * gcse.c: Move constant/copy propagation to cprop.c. | |
859 | (compute_local_properties): Only handle expression tables. | |
860 | (hash_scan_set, compute_hash_table_work, alloc_hash_table,): Likewise. | |
861 | (one_pre_gcse_pass, one_code_hoisting_pass): Likewise. | |
862 | (hash_set, insert_set_in_table, gcse_constant_p, lookup_set, | |
863 | next_set, reset_opr_set_tables, oprs_not_set_p, mark_call, mark_set, | |
7a81008b | 864 | mark_clobber, mark_oprs_set, alloc_cprop_mem, free_cprop_mem, |
e45425ec SB |
865 | compute_cprop_data, find_used_regs, try_replace_reg, |
866 | find_avail_set, cprop_jump, constprop_register, cprop_insn, | |
867 | local_cprop_find_used_regs, do_local_cprop, local_cprop_pass, | |
868 | fis_get_condition, implicit_set_cond_p, find_implicit_sets, | |
869 | find_bypass_set, reg_killed_on_edge, bypass_block, | |
870 | bypass_conditional_jumps, one_cprop_pass, gate_rtl_cprop, | |
871 | execute_rtl_cprop, pass_rtl_cprop): Move to... | |
872 | * cprop.c: ...here. New file, constant/copy propagation for RTL | |
873 | moved from gcse.c to here with minor cleanups in duplicated code. | |
874 | ||
c09d5426 L |
875 | 2011-03-28 H.J. Lu <hongjiu.lu@intel.com> |
876 | ||
877 | * config/i386/i386.c (flag_opts): Fix a typo in | |
878 | -mavx256-split-unaligned-store. | |
879 | ||
9eaa7740 AS |
880 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
881 | ||
882 | * config/h8300/h8300.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE, | |
883 | LIBCALL_VALUE): Remove macros. | |
884 | * config/h8300/h8300.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
885 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
886 | (h8300_function_value, h8300_libcall_value, | |
887 | h8300_function_value_regno_p): New functions. | |
888 | ||
dcec2be2 AS |
889 | 2011-03-28 Anatoly Sokolov <aesok@post.ru> |
890 | ||
891 | * config/h8300/h8300.h (ASM_OUTPUT_BSS): Remove macro. | |
892 | ||
520af9ec JL |
893 | 2011-03-28 Jeff Law <law@redhat.com> |
894 | ||
895 | * tree-ssa-threadupdate.c (redirect_edges): Call | |
896 | create_edge_and_update_destination_phis as needed. | |
897 | (create_edge_and_update_destination_phis): Accept new BB argument. | |
898 | All callers updated. | |
899 | (thread_block): Do not update the profile when threading around | |
900 | intermediate blocks. | |
901 | (thread_single_edge): Likewise. | |
902 | (determine_bb_domination_status): If BB is not a successor of the | |
903 | loop header, return NONDOMINATING. | |
904 | (register_jump_thread): Note when we register a jump thread around | |
905 | an intermediate block. | |
906 | * tree-ssa-threadedge.c (thread_around_empty_block): New function. | |
907 | (thread_across_edge): Use it. | |
908 | ||
7450b54f TG |
909 | 2011-03-28 Tristan Gingold <gingold@adacore.com> |
910 | ||
911 | * config/ia64/ia64.c (ia64_promote_function_mode): Fix promotion | |
912 | when for_return is 2. | |
913 | ||
649beb33 JL |
914 | 2011-03-28 Jeff Law <law@redhat.com> |
915 | ||
916 | * var-tracking.c (canonicalize_values_mark): Delete unused | |
917 | lhs assignment. | |
918 | (canonicalize_values_star, set_variable_part): Likewise. | |
919 | (clobber_variable_part, delete_variable_part): Likewise. | |
920 | ||
d5b8da97 SB |
921 | 2011-03-28 Steven Bosscher <steven@gcc.gnu.org> |
922 | ||
923 | * gcse.c (free_gcse_mem): Free reg_set_bitmap. | |
924 | ||
322dd859 MJ |
925 | 2011-03-28 Martin Jambor <mjambor@suse.cz> |
926 | ||
927 | * tree-inline.c (expand_call_inline): Do not check that destination | |
928 | node is analyzed. | |
929 | (optimize_inline_calls): Assert that destination node is analyzed. | |
930 | * cgraph.c (cgraph_add_new_function): Call cgraph_analyze_function, do | |
931 | not call tree_lowering_passes. | |
932 | * cgraph.h (cgraph_analyze_function): Declare. | |
933 | * cgraphunit.c (cgraph_analyze_function): Make public. | |
934 | ||
aa53e58b JM |
935 | 2011-03-28 Joseph Myers <joseph@codesourcery.com> |
936 | ||
937 | * config/sparc/sparc-opts.h: New. | |
938 | * config/sparc/sparc.c (sparc_handle_option, sparc_select, | |
939 | sparc_cpu, fpu_option_set, TARGET_HANDLE_OPTION): Remove. | |
940 | (sparc_option_override): Store processor_type enumeration rather | |
941 | than string in cpu_default. Remove name and enumeration from | |
942 | cpu_table. Directly default -mcpu then default -mtune from -mcpu | |
943 | without using sparc_select. Use target_flags_explicit instead of | |
944 | fpu_option_set. | |
945 | * config/sparc/sparc.h (enum processor_type): Move to | |
946 | sparc-opts.h. | |
947 | (sparc_cpu, struct sparc_cpu_select, sparc_select): Remove. | |
948 | * config/sparc/sparc.opt (config/sparc/sparc-opts.h): New | |
949 | HeaderInclude entry. | |
950 | (mcpu=, mtune=): Use Var and Enum. | |
951 | (sparc_processor_type): New Enum and EnumValue entries. | |
952 | ||
dd350eba RO |
953 | 2011-03-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
954 | Iain Sandoe <iains@gcc.gnu.org> | |
955 | ||
956 | PR target/48245 | |
957 | * config/darwin.h (LINK_COMMAND_SPEC_A): Use LINK_PLUGIN_SPEC. | |
958 | ||
1b29f05e EB |
959 | 2011-03-28 Eric Botcazou <ebotcazou@adacore.com> |
960 | ||
961 | * tree-vectorizer.h (vect_create_data_ref_ptr): Adjust prototype. | |
962 | * tree-vect-data-refs.c (vect_create_data_ref_ptr): Add GSI parameter. | |
963 | Insert new statements at it in lieu of STMT. | |
964 | (vect_setup_realignment): Adjust call to vect_create_data_ref_ptr. | |
965 | * tree-vect-stmts.c (vectorizable_store): Likewise. | |
966 | (vectorizable_load): Likewise. | |
967 | ||
506e6808 UB |
968 | 2011-03-28 Uros Bizjak <ubizjak@gmail.com> |
969 | ||
970 | * config/alpha/alpha.md (addtf3): Change mode of operands to TFmode. | |
971 | (divtf3): Ditto. | |
972 | (multf3): Ditto. | |
973 | (subtf3): Ditto. | |
974 | ||
2e939ee9 L |
975 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
976 | ||
977 | * config/i386/sse.md (*avx_mov<mode>_internal): Don't assert | |
978 | unaligned 256bit load/store. | |
979 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Likewise. | |
980 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
981 | ||
5e85ab88 JDA |
982 | 2011-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
983 | ||
984 | PR target/48288 | |
985 | * config/pa/predicates.md (reg_or_ior_operand): New predicate. | |
986 | * config/pa/pa.md (iordi3): Use new predicate in expander. | |
987 | (iorsi3): Likewise. | |
988 | ||
47be3d6d AS |
989 | 2011-03-27 Anatoly Sokolov <aesok@post.ru> |
990 | ||
506e6808 | 991 | * config/mips/mips.h (LIBCALL_VALUE, FUNCTION_VALUE, |
47be3d6d | 992 | FUNCTION_VALUE_REGNO_P): Remove macros. |
506e6808 UB |
993 | * config/mips/mips-protos.h (mips_function_value): Remove. |
994 | * config/mips/mips.c (mips_function_value): Rename to... | |
47be3d6d AS |
995 | (mips_function_value_1): ... this. Make static. Handle receiving |
996 | the function type in 'fn_decl_or_type' argument. | |
997 | (mips_function_value, mips_libcall_value, | |
998 | mips_function_value_regno_p): New function. | |
999 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
1000 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
1001 | ||
d253656a L |
1002 | 2011-03-27 H.J. Lu <hongjiu.lu@intel.com> |
1003 | ||
1004 | * config/i386/i386.c (flag_opts): Add -mavx256-split-unaligned-load | |
1005 | and -mavx256-split-unaligned-store. | |
1006 | (ix86_option_override_internal): Split 32-byte AVX unaligned | |
1007 | load/store by default. | |
1008 | (ix86_avx256_split_vector_move_misalign): New. | |
1009 | (ix86_expand_vector_move_misalign): Use it. | |
1010 | ||
1011 | * config/i386/i386.opt: Add -mavx256-split-unaligned-load and | |
1012 | -mavx256-split-unaligned-store. | |
1013 | ||
1014 | * config/i386/sse.md (*avx_mov<mode>_internal): Verify unaligned | |
1015 | 256bit load/store. Generate unaligned store on misaligned memory | |
1016 | operand. | |
1017 | (*avx_movu<ssemodesuffix><avxmodesuffix>): Verify unaligned | |
1018 | 256bit load/store. | |
1019 | (*avx_movdqu<avxmodesuffix>): Likewise. | |
1020 | ||
1021 | * doc/invoke.texi: Document -mavx256-split-unaligned-load and | |
1022 | -mavx256-split-unaligned-store. | |
1023 | ||
1ea9206a RS |
1024 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
1025 | ||
1026 | PR target/38598 | |
1027 | * config/mips/mips.md (extendsidi2): Add an "l" alternative. | |
1028 | Update commentary. | |
1029 | ||
b99ce2a8 RS |
1030 | 2011-03-27 Richard Sandiford <rdsandiford@googlemail.com> |
1031 | ||
1032 | * config/mips/mips.c (mips_prepare_builtin_arg): Replace icode and | |
1033 | opno arguments with an expand_operand. Use create_input_operand. | |
1034 | (mips_prepare_builtin_target): Delete. | |
1035 | (mips_expand_builtin_insn, mips_expand_builtin_compare_1): New | |
1036 | functions. | |
1037 | (mips_expand_builtin_direct): Use create_output_operand and | |
1038 | mips_expand_builtin_insn. Update call to mips_prepare_builtin_arg. | |
1039 | (mips_expand_builtin_movtf): Likewise. Use mips_expand_fp_comparison. | |
1040 | (mips_expand_builtin_compare): Use mips_expand_fp_comparison. | |
1041 | ||
69d52339 IR |
1042 | 2011-03-27 Ira Rosen <ira.rosen@linaro.org> |
1043 | ||
1044 | * config/arm/arm.c (arm_autovectorize_vector_sizes): New | |
1045 | function. | |
1046 | (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define. | |
1047 | ||
ba5e9aca EB |
1048 | 2011-03-26 Eric Botcazou <ebotcazou@adacore.com> |
1049 | ||
1050 | * basic-block.h (fixup_abnormal_edges): Adjust prototype. | |
1051 | * reload1.c (reload): Adjust call to fixup_abnormal_edges. Rediscover | |
1052 | basic blocks and call commit_edge_insertions directly. | |
1053 | (fixup_abnormal_edges): Move from here to... | |
1054 | * cfgrtl.c (fixup_abnormal_edges): ...here. Only insert instructions | |
1055 | on the edges and return whether some have actually been inserted. | |
1056 | * reg-stack.c (convert_regs): Fix up abnormal edges before inserting | |
1057 | compensation code. | |
1058 | ||
5d369d58 AB |
1059 | 2011-03-26 Andrey Belevantsev <abel@ispras.ru> |
1060 | ||
1061 | PR rtl-optimization/48144 | |
1062 | * sel-sched-ir.c (merge_history_vect): Factor out from ... | |
1063 | (merge_expr_data): ... here. | |
1064 | (av_set_intersect): Rename to av_set_code_motion_filter. | |
1065 | Update all callers. Call merge_history_vect when an expression | |
1066 | is found in both sets. | |
1067 | * sel-sched-ir.h (av_set_code_motion_filter): Add prototype. | |
1068 | ||
f082c000 AM |
1069 | 2011-03-26 Alan Modra <amodra@gmail.com> |
1070 | ||
1071 | * config/rs6000/predicates.md (word_offset_memref_op): Handle | |
1072 | cmodel medium addresses. | |
1073 | * config/rs6000/rs6000.c (rs6000_secondary_reload): Handle misaligned | |
1074 | 64-bit gpr loads and stores. | |
1075 | (rs6000_secondary_reload_ppc64): New function. | |
1076 | * config/rs6000/rs6000-protos.h: Declare it. | |
1077 | * config/rs6000/rs6000.md (reload_di_store, reload_di_load): New. | |
1078 | ||
8ac5e12e AM |
1079 | 2011-03-26 Alan Modra <amodra@gmail.com> |
1080 | ||
1081 | PR target/47487 | |
1082 | * config/rs6000/rs6000.c (rs6000_output_function_epilogue): Support | |
1083 | GNU Go in traceback table. | |
1084 | ||
c2654ded RH |
1085 | 2011-03-25 Richard Henderson <rth@redhat.com> |
1086 | ||
1087 | * expr.c (emit_block_move_via_movmem): Only use 6 operand variant | |
1088 | if there are exactly 6 operands. | |
1089 | (set_storage_via_setmem): Similarly. | |
1090 | ||
ba78087b KT |
1091 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
1092 | ||
1093 | * collect2.c (write_c_file_stat): Handle backslash | |
1094 | as right-hand directory separator. | |
1095 | (resolve_lib_name): Use IS_DIR_SEPARATOR instead of | |
1096 | checking just for slash. | |
1097 | * coverage.c (coverage_init): Use IS_ABSOLUTE_PATH | |
1098 | instead of checking for trailing slash. | |
1099 | * gcc.c (record_temp_file): Use filename_cmp instead | |
1100 | of strcmp. | |
1101 | (do_spec_1): Likewise. | |
1102 | (replace_outfile_spec_function): Likewise. | |
1103 | (is_directory): Use filename_ncmp instead of strncmp. | |
1104 | (print_multilib_info): Likewise. | |
1105 | * gcov.c (find_source): Use filename_cmp instead | |
1106 | instead of strcmp. | |
1107 | (make_gcov_file_name): Fix order of slash/backslash | |
1108 | checks. | |
1109 | * incpath.c (DIRS_EQ): Use filename_cmp instead of strcmp. | |
1110 | (add_standard_paths): Likewise. | |
1111 | * mips-tfile.c (saber_stop): Handle backslash. | |
1112 | * prefix.c (update_path): Use filename_ncmp instead of | |
1113 | strncmp. | |
1114 | * profile.c (output_location): Use filename_cmp instead | |
1115 | of strcmp. | |
1116 | * read-md.c (handle_toplevel_file): Handle backslash. | |
1117 | * tlink.c (frob_extension): Likewise. | |
1118 | * tree-cfg.c (same_line_p): Use filename_cmp instead of | |
1119 | strcmp. | |
1120 | * tree-dump.c (dequeue_and_dump): Handle backslash. | |
1121 | * tree.c (get_file_function_name): Likewise. | |
1122 | * gengtype.c (read_input_list): Likewise. | |
1123 | (get_file_realbasename): Likewise. | |
1124 | (get_output_file_with_visibility): Use filename_cmp | |
1125 | instead of strcmp. | |
1126 | ||
75f6ec9a RS |
1127 | 2011-03-25 Richard Sandiford <richard.sandiford@linaro.org> |
1128 | ||
1129 | * config/arm/arm.h (CANNOT_CHANGE_MODE_CLASS): Restrict FPA_REGS | |
1130 | case to VFPv1. | |
1131 | ||
6c4e2997 NF |
1132 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
1133 | ||
1134 | * fold-const.c (expr_location_or): New function. | |
1135 | (fold_truth_not_expr): Call it. | |
1136 | ||
0edf1bb2 JL |
1137 | 2011-03-25 Jeff Law <law@redhat.com> |
1138 | ||
1139 | * dwarf2asm.c (dw2_asm_output_encoded_addr_rtx): Add missing | |
1140 | va_end. | |
1141 | * c-family/c-common.c (def_fn_type): Likewise. | |
1142 | * ada/gcc-interface/utils.c (def_fn_type): Likewise. | |
1143 | * emit-rtl.c (gen_rtvec): Likewise. | |
1144 | * lto/lto-lang.c (def_fn_type): Likewise. | |
1145 | ||
fdc2de95 RG |
1146 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
1147 | ||
1148 | * tree-ssa-copy.c (stmt_may_generate_copy): Copies from constants | |
1149 | also generate copies. | |
1150 | (fini_copy_prop): Handle constant values properly. | |
1151 | ||
21385db0 JJ |
1152 | 2011-03-25 Jakub Jelinek <jakub@redhat.com> |
1153 | ||
1154 | * dwarf2out.c (mem_loc_descriptor) <case ZERO_EXTRACT>: Compare | |
1155 | mode size instead of bitsize with DWARF2_ADDR_SIZE. | |
1156 | (hash_loc_operands, compare_loc_operands): Handle | |
1157 | DW_OP_GNU_entry_value. | |
1158 | ||
6510e8bb KT |
1159 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
1160 | ||
1161 | * config/i386/cygming.h (DWARF_FRAME_REGISTERS): Adjust comment. | |
1162 | (STACK_BOUNDARY): Check for bit-ness in case of MS_ABI. | |
1163 | * config/i386/i386.c (ix86_conditional_register_usage): Adjust | |
1164 | comment and use macro TARGET_64BIT_MS_ABI instead. | |
1165 | (ix86_keep_aggregate_return_pointer): Optimize for 64-bit case | |
1166 | and change default behavior for 32-bit MS_ABI. | |
1167 | (ix86_reg_parm_stack_space): Check additionally for bit-ness. | |
1168 | (ix86_function_type_abi): Allow check for ms_abi/sysv_abi for | |
1169 | 32-bit, too. | |
1170 | (ix86_cfun_abi): Likewise. | |
1171 | (ix86_maybe_switch_abi): Adjust comment. | |
1172 | (init_cumulative_args): Check for bit-ness in MS_ABI case. | |
1173 | (ix86_gimplify_va_arg): Check just for not TARGET_64BIT_MS_ABI | |
1174 | instead of checking for SYSV_ABI. | |
1175 | (ix86_nsaved_sseregs): Likewise. | |
1176 | (ix86_compute_frame_layout): Set only for 64-bit MS_ABI alignment | |
1177 | to 16 bytes. | |
1178 | (ix86_expand_call): Use TARGET_64BIT_MS_ABI macro. | |
1179 | * config/i386.h (TARGET_32BIT_MS_ABI): New macro. | |
1180 | (ACCUMULATE_OUTGOING_ARGS): Check explicit for 64-bit MS_ABI. | |
1181 | (OUTGOING_REG_PARM_STACK_SPACE): Likewise. | |
1182 | * config/mingw32.h (DEFAULT_ABI): Change default always to MS_ABI. | |
1183 | ||
34019e28 RG |
1184 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
1185 | ||
1186 | * tree-flow.h (verify_stmts): Rename to verify_gimple_in_cfg. | |
1187 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
1188 | (verify_gimple): Remove. | |
1189 | * tree-cfg.c (verify_gimple_call): Merge verification | |
1190 | from verify_stmts. | |
1191 | (verify_gimple_phi): Merge verification from verify_stmts. | |
1192 | (verify_gimple_label): New function. | |
1193 | (verify_types_in_gimple_seq_2): Rename to verify_gimple_in_seq_2. | |
1194 | (verify_types_in_gimple_seq): Rename to verify_gimple_in_seq. | |
1195 | (verify_stmt): Merge into verify_gimple_in_cfg and callees. | |
1196 | (verify_stmts): Rename to verify_gimple_in_cfg. | |
1197 | (verify_gimple_in_cfg): New function. | |
1198 | * passes.c (execute_function_todo): Call verify_gimple_in_cfg. | |
1199 | * tree-ssa.c (verify_ssa): Likewise. | |
1200 | * gimplify.c (gimplify_body): Call verify_gimple_in_seq. | |
1201 | ||
605896f5 RG |
1202 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
1203 | ||
1204 | * passes.c (init_optimization_passes): Add FRE pass after | |
1205 | early SRA. | |
1206 | ||
7baa7c13 BS |
1207 | 2011-03-25 Bernd Schmidt <bernds@codesourcery.com> |
1208 | Andrew Stubbs <ams@codesourcery.com> | |
1209 | ||
1210 | * config/arm/vfp.md (arm_movdi_vfp): Enable only when not tuning | |
1211 | for Cortex-A8. | |
1212 | (arm_movdi_vfp_cortexa8): New pattern. | |
1213 | * config/arm/neon.md (adddi3_neon, subdi3_neon, anddi3_neon, | |
1214 | iordi3_neon, xordi3_neon): Add alternatives to discourage Neon | |
1215 | instructions when tuning for Cortex-A8. Set attribute "arch". | |
1216 | * config/arm/arm.md: Move include arm-tune.md up a bit. | |
1217 | (define_attr "arch"): Add "onlya8" and "nota8" values. | |
1218 | (define_attr "arch_enabled"): Handle "onlya8" and "nota8". | |
1219 | ||
45dbce1b NF |
1220 | 2011-03-25 Nathan Froyd <froydnj@codesourcery.com> |
1221 | ||
4ff08abf | 1222 | PR bootstrap/48282 |
45dbce1b NF |
1223 | Revert: |
1224 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> | |
1225 | ||
1226 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
1227 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
1228 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
1229 | * passes.c (init_optimization_passes): Move | |
1230 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
1231 | ||
ac9a30ae KT |
1232 | 2011-03-25 Kai Tietz <ktietz@redhat.com> |
1233 | ||
1234 | * c-typeck.c (comptypes_internal): Replace target | |
1235 | hook call of comp_type_attributes by version in tree.c file. | |
1236 | * gimple.c (gimple_types_compatible_p_1): Likewise. | |
1237 | * tree-ssa.c (useless_type_conversion_p): Likewise. | |
1238 | * tree.c (build_type_attribute_qual_variant): Likewise. | |
1239 | (attribute_value_equal): New static helper function. | |
1240 | (comp_type_attributes): New function. | |
1241 | (merge_attributes): Use attribute_value_equal for comparison. | |
1242 | (attribute_list_contained): Likewise. | |
1243 | * tree.h (comp_type_attributes): New prototype. | |
1244 | ||
afdac116 RG |
1245 | 2011-03-25 Richard Guenther <rguenther@suse.de> |
1246 | ||
1247 | * tree-cfg.c (verify_gimple_assign_unary): Drop special casing | |
1248 | of complex types at -O0. | |
1249 | (verify_gimple_assign_binary): Likewise. | |
1250 | (verify_gimple_assign_ternary): Likewise. | |
1251 | ||
ec6165f8 MW |
1252 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
1253 | ||
1254 | * dwarf2out.c (size_of_die): Modify comment to say DW_FORM_ref_sig8. | |
1255 | (value_format): Use DW_FORM_ref_sig8, not DW_FORM_sig8. | |
1256 | ||
2a5ac39a MW |
1257 | 2011-03-24 Mark Wielaard <mjw@redhat.com> |
1258 | ||
1259 | PR debug/48041 | |
1260 | * dwarf2out.c (output_abbrev_section): Only write table when | |
1261 | abbrev_die_table_in_use > 1. | |
1262 | ||
e533b2a4 RH |
1263 | 2011-02-24 Richard Henderson <rth@redhat.com> |
1264 | ||
1265 | * config/alpha/alpha.c (alpha_expand_unaligned_load): Use extql. | |
1266 | (alpha_expand_unaligned_store): Use mskwl, mskll, mskql. | |
1267 | (alpha_expand_unaligned_load_words): Use extql. | |
1268 | (alpha_expand_unaligned_store_words): Use insqh, mskqh, mskql. | |
1269 | (emit_insxl): Handle all modes for consistency. | |
1270 | ||
0b2a7367 RH |
1271 | 2011-02-24 Richard Henderson <rth@redhat.com> |
1272 | ||
1273 | * config/alpha/alpha.c (get_aligned_mem): Don't test WORDS_BIG_ENDIAN. | |
1274 | (alpha_expand_unaligned_load): Likewise. | |
1275 | (alpha_expand_unaligned_store): Likewise. | |
1276 | (alpha_expand_unaligned_load_words): Likewise. | |
1277 | (alpha_expand_unaligned_store_words): Likewise. | |
1278 | (emit_insxl, alpha_split_compare_and_swap_12): Likewise. | |
1279 | (alpha_split_lock_test_and_set_12): Likewise. | |
1280 | (print_operand, alpha_fold_builtin_extxx): Likewise. | |
1281 | (alpha_fold_builtin_insxx, alpha_fold_builtin_mskxx): Likewise. | |
1282 | * config/alpha/alpha.md (bswapsi2, insv, extv, extzv): Likewise. | |
1283 | (builtin_extwh, builtin_extlh, builtin_extql): Likewise. | |
1284 | (unaligned_extendqidi_be, unaligned_extendhidi_be, extxl_be): Remove. | |
1285 | (*extxl_1_be, *extql_2_be, extqh_be, extlh_be, extwh_be): Remove. | |
1286 | (insbl_be, inswl_be, insll_be, insql_be, mskxl_be): Remove. | |
1287 | (unaligned_loadqi_be, unaligned_loadhi_be): Remove. | |
1288 | (unaligned_storeqi_be, unaligned_storehi_be): Remove. | |
1289 | (extbl): Rename from builtin_extbl; don't test WORDS_BIG_ENDIAN. | |
1290 | (extwl, extll, extql): Similarly. | |
1291 | (inswh, inslh, insqh): Similarly. | |
1292 | (mskbl, mskwl, mskll, mskql): Similarly. | |
1293 | (mskwh, msklh, mskqh): Similarly. | |
1294 | ||
315b2bef RH |
1295 | 2011-02-24 Richard Henderson <rth@redhat.com> |
1296 | ||
1297 | * config/alpha/alpha.md (attribute isa): Add er, ner. | |
1298 | (attribute enabled): Handle them. | |
1299 | (*movdi): Merge *movdi_{er_nofix,nofix,er_fix,fix}. | |
1300 | ||
67102517 RH |
1301 | 2011-02-24 Richard Henderson <rth@redhat.com> |
1302 | ||
1303 | * config/alpha/alpha.md (attribute isa): Add vms. | |
1304 | (attribute enabled): Handle it. | |
1305 | (*movsf): Merge *movsf_{nofix,fix,nofp}. | |
1306 | (*movdf): Merge *movdf_{nofix,fix,nofp}. | |
1307 | (*movtf): Rename from *movtf_internal for consistency. | |
1308 | (*movsi): Merge with *movsi_nt_vms. | |
1309 | (*movhi): Merge *movhi_nobwx, *movhi_bwx. | |
1310 | (*movqi): Merge *movqi_nobwx, *movqi_bwx. | |
1311 | (*mov<VEC>): Merge *mov<VEC>_fix, *mov<VEC>_nofix. | |
1312 | * config/alpha/constraint.md ("f"): Use NO_REGS when fpu is disabled. | |
1313 | ||
6aba5cb4 RH |
1314 | 2011-02-24 Richard Henderson <rth@redhat.com> |
1315 | ||
1316 | * config/alpha/alpha.md (extendqihi2): Implement for BWX only. | |
1317 | (extendqisi2, extendhisi2): Likewise. | |
1318 | (extendqidi2): Simplify BWX/non-BWX expansions. | |
1319 | (extendhidi2): Similarly. | |
1320 | ||
bdfb351b RH |
1321 | 2011-02-24 Richard Henderson <rth@redhat.com> |
1322 | ||
1323 | * config/alpha/alpha.md (attribute isa): New. | |
1324 | (attribute enabled): New. | |
1325 | (zero_extendqihi2): Merge from *zero_extendqihi2_{bwx,nobwx}. | |
1326 | (zero_extendqisi2, zero_extendqidi2): Similarly. | |
1327 | (zero_extendhisi2, zero_extendhidi2): Similarly. | |
1328 | * config/alpha/predicates.md (reg_or_bwx_memory_operand): New. | |
1329 | ||
6abe71eb RH |
1330 | 2011-02-24 Richard Henderson <rth@redhat.com> |
1331 | ||
1332 | * config/alpha/predicates.md (input_operand): Revert last change; | |
1333 | update comment to mention 32-bit VMS rather than Windows. | |
1334 | ||
7114321e NF |
1335 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
1336 | ||
1337 | * function.c (instantiate_virtual_regs): Use FOR_EACH_BB and | |
1338 | FOR_BB_INSNS_SAFE to iterate through insns. Re-indent. | |
1339 | (pass_instantiate_virtual_regs): Require PROP_cfglayout. | |
1340 | * passes.c (init_optimization_passes): Move | |
1341 | pass_instantiate_virtual_regs after pass_into_cfg_layout_mode. | |
1342 | ||
c8679567 EB |
1343 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
1344 | ||
1345 | * dojump.c (do_jump_by_parts_greater_rtx): Optimize in specific cases. | |
1346 | ||
27173058 UB |
1347 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
1348 | ||
1349 | * config/i386/i386.md (ix86_print_operand): Output DFmode const_double | |
1350 | correctly. | |
1351 | ||
6f0c9f06 JJ |
1352 | 2011-03-24 Jakub Jelinek <jakub@redhat.com> |
1353 | ||
1354 | PR debug/48204 | |
1355 | * simplify-rtx.c (simplify_const_unary_operation): Call | |
1356 | real_convert when changing mode class with FLOAT_EXTEND. | |
1357 | ||
662666e5 NC |
1358 | 2011-03-24 Nick Clifton <nickc@redhat.com> |
1359 | ||
1360 | * config/rx/rx.h (LABEL_ALIGN_FOR_BARRIER): Define. | |
1361 | (ASM_OUTPUT_MAX_SKIP_ALIGN): Define. | |
1362 | * config/rx/rx.c (rx_option_override): Set align_jumps, | |
1363 | align_loops and align_labels if not set by the user. | |
1364 | (rx_align_for_label): New function. | |
1365 | (rx_max_skip_for_label): New function. | |
1366 | (TARGET_ASM_JUMP_ALIGN_MAX_SKIP): Define. | |
1367 | (TARGET_ASM_LOOP_ALIGN_MAX_SKIP): Define. | |
1368 | (TARGET_ASM_LABEL_ALIGN_MAX_SKIP): Define. | |
1369 | (TARGET_ASM_LABEL_ALIGN_AFTER_BARRIER_MAX_SKIP): Define. | |
1370 | * config/rx/rx-protos.h (rx_align_for_label): Add prototype. | |
1371 | ||
2b99b2b8 RS |
1372 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
1373 | ||
1374 | PR rtl-optimization/48263 | |
1375 | * optabs.c (expand_binop_directly): Reinstate convert_modes code | |
1376 | and original commutative_p handling. Use maybe_gen_insn. | |
1377 | ||
ccecd6ea AK |
1378 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1379 | ||
1380 | * reload.c (find_reloads_subreg_address): Add address_reloaded | |
1381 | parameter and return true there if the full address has been | |
1382 | reloaded. | |
1383 | (find_reloads_toplev): Pass address_reloaded flag. | |
1384 | (find_reloads_address_1): Don't use address_reloaded parameter. | |
1385 | ||
67295642 JL |
1386 | 2011-03-24 Jeff Law <law@redhat.com> |
1387 | ||
1388 | * tree-ssa-live.c (remove_unused_scope_block_p): Remove set but | |
1389 | unused variable "ann". | |
1390 | (remove_unused_locals): Likewise. | |
1391 | ||
1392 | * tree-ssa-copy.c (propagate_tree_value_into_stmt): Remove useless | |
1393 | statement. | |
1394 | ||
1395 | * cfglayout.c (fixup_reorder_chain): Do not dereference E_FALL | |
1396 | after it is freed. | |
1397 | ||
212aa74f AK |
1398 | 2011-03-24 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1399 | ||
1400 | * config/s390/s390.c (s390_preferred_reload_class): Return NO_REGS | |
1401 | for invalid symbolic addresses. | |
1402 | (s390_secondary_reload): Don't use s390_check_symref_alignment for | |
1403 | larl operands. | |
1404 | ||
fe784e0d EB |
1405 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
1406 | ||
1407 | * fold-const.c (fold_ternary_loc): Preserve the location (if any) of | |
1408 | the argument in calls to fold_truth_not_expr. | |
1409 | ||
63ee8641 NF |
1410 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
1411 | ||
1412 | * tree.c (record_node_allocation_statistics): New function. | |
1413 | (make_node_stat, copy_node_stat, build_string): Call it. | |
1414 | (make_tree_binfo_stat, make_tree_vec_stat, tree_cons_stat): Likewise. | |
1415 | (build1_stat, build_omp_clause): Likewise. | |
1416 | ||
61be2a1c RS |
1417 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
1418 | ||
1419 | * builtins.c (expand_movstr): Fix endp == 1 adjustment after | |
1420 | last commit. | |
1421 | ||
a881aaa7 RG |
1422 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
1423 | ||
1424 | PR tree-optimization/48271 | |
1425 | * tree-ssa-dom.c (tree_ssa_dominator_optimize): Only cleanup | |
1426 | blocks that still exist. | |
1427 | ||
dbaa912c RG |
1428 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
1429 | ||
1430 | PR tree-optimization/48270 | |
1431 | * tree-ssa-phiopt.c (cond_if_else_store_replacement): Do | |
1432 | not free datarefs before ddrs. | |
1433 | ||
1d60cc55 EB |
1434 | 2011-03-24 Eric Botcazou <ebotcazou@adacore.com> |
1435 | ||
1436 | * tree-sra.c (build_ref_for_offset): Strip useless type conversions | |
1437 | from the address built for a reference with variable offset. | |
1438 | ||
c78dd519 UB |
1439 | 2011-03-24 Uros Bizjak <ubizjak@gmail.com> |
1440 | ||
1441 | PR target/48237 | |
1442 | * config/i386/i386.md (*movdf_internal_rex64): Do not split | |
1443 | alternatives that can be handled with movq or movabsq insn. | |
1444 | (*movdf_internal): Disable for !TARGET_64BIT. | |
1445 | (*movdf_internal_nointeger): Ditto. | |
1446 | * config/i386/i386.c (ix86_print_operand): Handle DFmode immediates. | |
1447 | ||
b25b9e8f NF |
1448 | 2011-03-24 Nathan Froyd <froydnj@codesourcery.com> |
1449 | ||
1450 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
1451 | (FUNCTION_ARG_ADVANCE): Likewise. | |
1452 | * tm.texi.in: Change references to them to hook references. | |
1453 | * tm.texi: Regenerate. | |
c78dd519 | 1454 | * targhooks.c (default_function_arg): Eliminate check for target macro. |
b25b9e8f NF |
1455 | (default_function_incoming_arg): Likewise. |
1456 | (default_function_arg_advance): Likewise. | |
c78dd519 | 1457 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
b25b9e8f NF |
1458 | (function_arg_advance): Likewise. |
1459 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
1460 | ||
190b2187 RG |
1461 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
1462 | ||
1463 | PR middle-end/48269 | |
1464 | * tree-object-size.c (addr_object_size): Do not double-account | |
1465 | for MEM_REF offsets. | |
1466 | ||
a183b5c7 DN |
1467 | 2011-03-24 Diego Novillo <dnovillo@google.com> |
1468 | ||
1469 | * lto-opts.c (input_data_block): Move to lto-streamer-in.c. | |
c78dd519 | 1470 | * lto-streamer-in.c (input_string_internal): Add clarifying comments. |
a183b5c7 DN |
1471 | (lto_input_data_block): Move from lto-opts.c. Make extern. |
1472 | Update all users. | |
1473 | (lto_input_string): Rename from input_string. Make extern. | |
1474 | Update all users. | |
1475 | * lto-streamer-out.c (lto_output_string_with_length): Rename from | |
1476 | output_string_with_length. | |
1477 | Output 0 to indicate a non-NULL string. Update all callers to | |
1478 | not emit 0. | |
1479 | (lto_output_string): Rename from output_string. Make extern. | |
1480 | Update all users. | |
1481 | (lto_output_decl_state_streams): Make extern. | |
1482 | (lto_output_decl_state_refs): Make extern. | |
1483 | * lto-streamer.h (lto_input_string): Declare. | |
1484 | (lto_input_data_block): Declare. | |
1485 | (lto_output_string): Declare. | |
1486 | (lto_output_string_with_length): Declare. | |
1487 | (lto_output_decl_state_streams): Declare. | |
1488 | (lto_output_decl_state_refs): Declare. | |
1489 | ||
cfef45c8 RG |
1490 | 2011-03-24 Richard Guenther <rguenther@suse.de> |
1491 | ||
1492 | PR tree-optimization/46562 | |
1493 | * tree.c (build_invariant_address): New function. | |
1494 | * tree.h (build_invariant_address): Declare. | |
1495 | * tree-dfa.c (get_addr_base_and_unit_offset): Wrap around | |
1496 | a renamed function moved ... | |
1497 | * tree-flow-inline.h (get_addr_base_and_unit_offset_1): ... here. | |
1498 | Take valueization callback parameter. | |
1499 | * tree-flow.h (gimple_fold_stmt_to_constant): Declare. | |
1500 | * gimple-fold.h: New file. | |
1501 | * tree-ssa-ccp.c (ccp_fold): Use gimple_fold_stmt_to_constant_1. | |
1502 | (ccp_fold, fold_const_aggregate_ref, | |
1503 | fold_ctor_reference, fold_nonarray_ctor_reference, | |
1504 | fold_array_ctor_reference, fold_string_cst_ctor_reference, | |
1505 | get_base_constructor): Move ... | |
1506 | * gimple-fold.c: ... here. | |
1507 | (gimple_fold_stmt_to_constant_1): New function | |
1508 | split out from ccp_fold. Take a valueization callback parameter. | |
1509 | Valueize all operands. | |
1510 | (gimple_fold_stmt_to_constant): New wrapper function. | |
1511 | (fold_const_aggregate_ref_1): New function split out from | |
1512 | fold_const_aggregate_ref. Take a valueization callback parameter. | |
1513 | (fold_const_aggregate_ref): Wrap fold_const_aggregate_ref_1. | |
1514 | * tree-ssa-sccvn.c (simplify_binary_expression): Simplify | |
1515 | invariant POINTER_PLUS_EXPRs to invariant form. | |
1516 | (vn_valueize): New function. | |
1517 | (try_to_simplify): Simplify by using gimple_fold_stmt_to_constant. | |
1518 | * tree-vrp.c (vrp_valueize): New function. | |
1519 | (vrp_visit_assignment_or_call): Use gimple_fold_stmt_to_constant | |
1520 | to fold statements to constants. | |
1521 | * tree-ssa-pre.c (eliminate): Properly guard propagation of | |
1522 | function declarations. | |
1523 | * Makefile.in (tree-ssa-sccvn.o, tree-vrp.o, gimple-fold.o, | |
1524 | tree-ssa-ccp.o): Add gimple-fold.h dependencies. | |
1525 | ||
5e0a7e40 RS |
1526 | 2011-03-24 Richard Sandiford <richard.sandiford@linaro.org> |
1527 | ||
1528 | * config/h8300/predicates.md (jump_address_operand): Fix register | |
1529 | mode check. | |
1530 | ||
bfe068c3 IR |
1531 | 2011-03-24 Ira Rosen <ira.rosen@linaro.org> |
1532 | ||
1533 | * doc/invoke.texi (max-stores-to-sink): Document. | |
1534 | * params.h (MAX_STORES_TO_SINK): Define. | |
1535 | * opts.c (finish_options): Set MAX_STORES_TO_SINK to 0 | |
1536 | if either vectorization or if-conversion is disabled. | |
1537 | * tree-data-ref.c (dr_equal_offsets_p1): Moved and renamed from | |
1538 | tree-vect-data-refs.c vect_equal_offsets. | |
1539 | (dr_equal_offsets_p): New function. | |
1540 | (find_data_references_in_bb): Remove static. | |
1541 | * tree-data-ref.h (find_data_references_in_bb): Declare. | |
1542 | (dr_equal_offsets_p): Likewise. | |
1543 | * tree-vect-data-refs.c (vect_equal_offsets): Move to tree-data-ref.c. | |
1544 | (vect_drs_dependent_in_basic_block): Update calls to | |
1545 | vect_equal_offsets. | |
1546 | (vect_check_interleaving): Likewise. | |
1547 | * tree-ssa-phiopt.c: Include cfgloop.h and tree-data-ref.h. | |
1548 | (cond_if_else_store_replacement): Rename to... | |
1549 | (cond_if_else_store_replacement_1): ... this. Change arguments and | |
1550 | documentation. | |
1551 | (cond_if_else_store_replacement): New function. | |
1552 | * Makefile.in (tree-ssa-phiopt.o): Adjust dependencies. | |
1553 | * params.def (PARAM_MAX_STORES_TO_SINK): Define. | |
1554 | ||
4908b0bf CLT |
1555 | 2011-03-23 Chung-Lin Tang <cltang@codesourcery.com> |
1556 | ||
1557 | PR target/46934 | |
1558 | * config/arm/arm.md (casesi): Use the gen_int_mode() function | |
1559 | to subtract lower bound instead of GEN_INT(). | |
1560 | ||
2be478a2 JW |
1561 | 2011-03-23 Jonathan Wakely <jwakely.gcc@gmail.com> |
1562 | ||
1563 | PR other/48179 | |
1564 | PR other/48221 | |
1565 | PR other/48234 | |
1566 | * doc/extend.texi (Alignment): Move section to match order in TOC. | |
1567 | * doc/invoke.texi (i386 and x86-64 Windows Options): Likewise. | |
1568 | (Warning Options): Adjust -Wno-cpp summary and remove stray backslash. | |
1569 | ||
0c617be4 JL |
1570 | 2011-03-23 Jeff Law <law@redhat.com> |
1571 | ||
1572 | * cfg.c (redirect_edge_succ_nodup): Duplicate the varm map | |
1573 | before removing the edge. | |
1574 | ||
1575 | * cfgrtl.c (cfg_layout_redirect_edge_and_branch): Do not use E after | |
1576 | it may have been freed by redirect_branch_edge or | |
1577 | redirect_edge_succ_nodup. | |
1578 | ||
58da96fe RG |
1579 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
1580 | ||
c78dd519 | 1581 | * tree-stdarg.c (va_list_counter_bump): Handle bumps via MEM_REF. |
58da96fe RG |
1582 | (check_va_list_escapes): Likewise. |
1583 | (check_all_va_list_escapes): Likewise. | |
1584 | ||
b8beb4d1 RG |
1585 | 2011-03-23 Richard Guenther <rguenther@suse.de> |
1586 | ||
1587 | * Makefile.in (IPA_TYPE_ESCAPE_H): Remove. | |
1588 | (OBJS-archive): Remove ipa-struct-reorg.o and ipa-type-escape.o. | |
1589 | (tree-ssa-alias.o): Do not depend on IPA_TYPE_ESCAPE_H. | |
1590 | (alias.o): Likewise. | |
1591 | (ipa-type-escape.o): Remove. | |
1592 | (ipa-struct-reorg.o): Likewise. | |
1593 | (GTFILES): Remove ipa-struct-reorg.c. | |
1594 | * alias.c: Do not include ipa-type-escape.h. | |
1595 | * tree-ssa-alias.c: Likewise. | |
1596 | * common.opt (fipa-struct-reorg): Preserve for backward compatibility. | |
1597 | * opts.c (finish_options): Do not reset flag_ipa_struct_reorg. | |
1598 | * passes.c (init_optimization_passes): Remove ipa-struct-reorg | |
1599 | and ipa-type-escape passes. | |
1600 | * tree-pass.h (pass_ipa_type_escape): Remove. | |
1601 | (pass_ipa_struct_reorg): Likewise. | |
1602 | * ipa-struct-reorg.h: Remove. | |
1603 | * ipa-struct-reorg.c: Likewise. | |
1604 | * ipa-type-escape.h: Likewise. | |
1605 | * ipa-type-escape.c: Likewise. | |
1606 | * doc/invoke.texi (-fipa-struct-reorg): Remove. | |
1607 | (--param struct-reorg-cold-struct-ratio): Likewise. | |
1608 | * params.def (PARAM_STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
1609 | * params.h (STRUCT_REORG_COLD_STRUCT_RATIO): Likewise. | |
1610 | * timevar.def (TV_IPA_TYPE_ESCAPE): Likewise. | |
1611 | ||
f137aa63 AK |
1612 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1613 | ||
1614 | * config/s390/2084.md: Enable all insn reservations also for z9_ec | |
1615 | cpu attribute value. | |
1616 | * config/s390/s390-opts.h (enum s390_arch_option): Remove. | |
1617 | (enum processor_type): Add PROCESSOR_2094_Z9_EC. | |
1618 | * config/s390/s390.c (processor_flags_table): New constant array. | |
1619 | (s390_handle_arch_option): Remove. | |
1620 | (s390_handle_option): Remove s390_handle_arch_option invocations | |
1621 | and OPT_mwarn_framesize_ handling. | |
1622 | (s390_option_override): Remove s390_handle_arch_option invocation. | |
1623 | (s390_emit_prologue): Remove use of HOST_WIDE_INT_PRINT_DEC in | |
1624 | warnings. | |
1625 | * config/s390/s390.md (cpu attribute): Add z9_ec value. | |
1626 | * config/s390/s390.opt (s390_tune, s390_arch) | |
1627 | (march=): Replace s390_arch_option enum and values with | |
1628 | processor_type. Set variable name to s390_arch. Set | |
1629 | initialization value. | |
1630 | (mtune=): Replace s390_arch_option with processor_type. Set | |
1631 | variable name to s390_tune. Set initialization value. | |
1632 | ||
bf90208f JB |
1633 | 2011-03-23 Julian Brown <julian@codesourcery.com> |
1634 | ||
1635 | * expr.c (expand_expr_real_1): Only use BLKmode for volatile | |
1636 | accesses which are not naturally aligned. | |
1637 | ||
3460fdf3 RS |
1638 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
1639 | ||
1640 | PR target/47553 | |
1641 | * config/arm/predicates.md (neon_lane_number): Accept 0..15. | |
1642 | ||
a5c7d693 RS |
1643 | 2011-03-23 Richard Sandiford <richard.sandiford@linaro.org> |
1644 | ||
1645 | * optabs.h (emit_unop_insn, maybe_emit_unop_insn): Change insn code | |
1646 | parameter from "int" to "enum insn_code". | |
1647 | (expand_operand_type): New enum. | |
1648 | (expand_operand): New structure. | |
1649 | (create_expand_operand): New function. | |
1650 | (create_fixed_operand, create_output_operand): Likewise | |
1651 | (create_input_operand, create_convert_operand_to): Likewise. | |
1652 | (create_convert_operand_from, create_address_operand): Likewise. | |
1653 | (create_integer_operand): Likewise. | |
1654 | (create_convert_operand_from_type, maybe_legitimize_operands): Declare. | |
1655 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
1656 | (expand_insn, expand_jump_insn): Likewise. | |
1657 | * builtins.c (expand_builtin_prefetch): Use the new interfaces. | |
1658 | (expand_builtin_interclass_mathfn, expand_builtin_strlen): Likewise. | |
1659 | (expand_movstr, expand_builtin___clear_cache): Likewise. | |
1660 | (expand_builtin_lock_release): Likewise. | |
1661 | * explow.c (allocate_dynamic_stack_space): Likewise. | |
1662 | (probe_stack_range): Likewise. Allow check_stack to FAIL, | |
1663 | and use the default handling in that case. | |
1664 | * expmed.c (check_predicate_volatile_ok): Delete. | |
1665 | (store_bit_field_1, extract_bit_field_1): Use the new interfaces. | |
1666 | (emit_cstore): Likewise. | |
1667 | * expr.c (emit_block_move_via_movmem): Likewise. | |
1668 | (set_storage_via_setmem, expand_assignment): Likewise. | |
1669 | (emit_storent_insn, try_casesi): Likewise. | |
1670 | (emit_single_push_insn): Likewise. Allow the expansion to fail. | |
1671 | * optabs.c (expand_widen_pattern_expr, expand_ternary_op): Likewise. | |
1672 | (expand_vec_shift_expr, expand_binop_directly): Likewise. | |
1673 | (expand_twoval_unop, expand_twoval_binop): Likewise. | |
1674 | (expand_unop_direct, emit_indirect_jump): Likewise. | |
1675 | (emit_conditional_move, vector_compare_rtx): Likewise. | |
1676 | (expand_vec_cond_expr, expand_val_compare_and_swap_1): Likewise. | |
1677 | (expand_sync_operation, expand_sync_fetch_operation): Likewise. | |
1678 | (expand_sync_lock_test_and_set): Likewise. | |
1679 | (maybe_emit_unop_insn): Likewise. Change icode to an insn_code. | |
1680 | (emit_unop_insn): Likewise. | |
1681 | (expand_copysign_absneg): Change icode to an insn_code. | |
1682 | (create_convert_operand_from_type): New function. | |
1683 | (maybe_legitimize_operand, maybe_legitimize_operands): Likewise. | |
1684 | (maybe_gen_insn, maybe_expand_insn, maybe_expand_jump_insn): Likewise. | |
1685 | (expand_insn, expand_jump_insn): Likewise. | |
1686 | * config/i386/i386.md (setmem<mode>): Use nonmemory_operand rather | |
1687 | than const_int_operand for operand 2. | |
1688 | ||
78fadbab AK |
1689 | 2011-03-23 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
1690 | ||
1691 | * dwarf2out.c (const_ok_for_output_1): Print the unspec enum name | |
1692 | if possible. | |
1693 | ||
5f02387d NF |
1694 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
1695 | ||
1696 | * emit-rtl.c (emit_pattern_before_noloc): New function. | |
1697 | (emit_insn_before_noloc, emit_jump_insn_before_noloc): Call it. | |
1698 | (emit_call_insn_before_noloc, emit_debug_insn_before_noloc): Likewise. | |
1699 | (emit_pattern_after_noloc): New function. | |
1700 | (emit_insn_after_noloc, emit_jump_insn_after_noloc): Call it. | |
1701 | (emit_call_insn_after_noloc, emit_debug_insn_after_noloc): Likewise. | |
1702 | ||
fdf3e18a NF |
1703 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
1704 | ||
1705 | * libgcc2.c (__lshrdi3, __ashldi3, __ashrdi3): Use W_TYPE_SIZE. | |
1706 | (__ffsDI2): Likewise. | |
1707 | ||
42d085c1 RH |
1708 | 2011-03-22 Richard Henderson <rth@redhat.com> |
1709 | ||
1710 | * config/alpha/alpha.c (direct_return): Use TARGET_ABI_OSF instead | |
1711 | of !TARGET_ABI_OPEN_VMS. | |
1712 | (alpha_trampoline_init, alpha_start_function): Likewise. | |
1713 | (alpha_expand_epilogue, alpha_file_start): Likewise. | |
1714 | * config/alpha/alpha.md (divsi3, modsi3): Likewise. | |
1715 | (udivsi3, umodsi3, divdi3, moddi3, udivdi3, umoddi3): Likewise. | |
1716 | (*divmodsi_internal_er, *divmodsi_internal_er_1): Likewise. | |
1717 | (*divmodsi_internal, *divmoddi_internal_er): Likewise. | |
1718 | (*divmoddi_internal_er_1, *divmoddi_internal): Likewise. | |
1719 | ||
cabbe12a JM |
1720 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1721 | ||
1722 | * config/s390/s390-opts.h: New. | |
1723 | * config/s390/s390.c (s390_tune, s390_tune_flags, s390_arch, | |
1724 | s390_arch_flags, s390_warn_framesize, s390_stack_size, | |
1725 | s390_stack_guard): Remove. | |
1726 | (s390_handle_arch_option): Return void. Take enum | |
1727 | s390_arch_option value instead of string and searching array. | |
1728 | (s390_handle_option): Don't assert that global structures are in | |
1729 | use. Access variables via opts pointer. Use error_at. Don't use | |
1730 | sscanf for -mstack-guard= or -mstack-size=. Update call to | |
1731 | s390_handle_arch_option. | |
1732 | (s390_option_override): Update call to s390_handle_arch_option. | |
1733 | (s390_emit_prologue): Use %d format for s390_stack_size in | |
1734 | diagnostic. Use %wd for HOST_WIDE_INT. | |
1735 | * config/s390/s390.h (enum processor_type): Move to s390-opts.h. | |
1736 | (s390_tune, s390_tune_flags, s390_arch, s390_arch_flags): Remove. | |
1737 | * config/s390/s390.opt (config/s390/s390-opts.h): New | |
1738 | HeaderInclude entry. | |
1739 | (s390_arch_string, s390_tune, s390_tune_flags, s390_arch, | |
1740 | s390_arch_flags, s390_warn_framesize): New Variable entries. | |
1741 | (s390_arch_option): New Enum and EnumValue entries. | |
1742 | (march=): Use Enum instead of Var. | |
1743 | (mstack-guard=, mstack-size=): Use UInteger and Var. | |
1744 | (mtune=): Use Enum. | |
1745 | ||
05b12036 JM |
1746 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1747 | ||
1748 | * config/score/score.c (score_handle_option): Don't assert that | |
1749 | global structures are in use. Access target_flags via opts | |
1750 | pointer. Use value of -march= option to determine target_flags | |
1751 | settings. | |
1752 | * config/score/score.opt (march=): Use Enum. | |
1753 | (score_arch): New Enum and EnumValue entries. | |
1754 | ||
dd51e35a JM |
1755 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1756 | ||
1757 | * config/mep/mep.c (option_mtiny_specified): Remove. | |
1758 | (mep_option_override): Move register handling for -mivc2 from | |
1759 | mep_handle_option. Use global_options_set.x_mep_tiny_cutoff | |
1760 | instead of option_mtiny_specified. | |
1761 | (mep_handle_option): Access target_flags via opts pointer. Don't | |
1762 | assert that global structures are in use. Defer part of -mivc2 | |
1763 | handling and move it to mep_option_override. | |
1764 | * config/mep/mep.opt (IVC2): New Mask entry. | |
1765 | (mivc2): Use Var and Defer instead of Mask. | |
1766 | ||
4a8d3d91 JM |
1767 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1768 | ||
1769 | * config/v850/v850-opts.h: New. | |
1770 | * config/v850/v850.c (small_memory): Replace with | |
1771 | small_memory_physical_max array. Make that array static const. | |
1772 | (v850_handle_memory_option): Take integer value of argument. Take | |
1773 | gcc_options pointer, option text and location. Return void. | |
1774 | Update for changes to small memory structures. | |
1775 | (v850_handle_option): Access target_flags via opts pointer. Don't | |
1776 | assert that global structures are in use. Update calls to | |
1777 | v850_handle_memory_option. | |
c78dd519 UB |
1778 | (v850_encode_data_area): Update references to small memory settings. |
1779 | * config/v850/v850.h (struct small_memory_info, small_memory): Remove. | |
4a8d3d91 JM |
1780 | (enum small_memory_type): Move to v850-opts.h. |
1781 | * config/v850/v850.opt (config/v850/v850-opts.h): New | |
1782 | HeaderInclude entry. | |
1783 | (small_memory_max): New Variable entry. | |
1784 | (msda): Replace by pair of options msda= and msda-. Use UInteger. | |
1785 | (mtda, mzda): Likewise. | |
1786 | ||
117fdbfa JM |
1787 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1788 | ||
1789 | * config/sh/sh.c (sh_handle_option): Access target_flags via opts | |
1790 | pointer. Don't assert that global structures are in use. | |
1791 | ||
d715091c JM |
1792 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1793 | ||
1794 | * config/pdp11/pdp11.c (pdp11_handle_option): Access target_flags | |
1795 | via opts pointer. Don't assert that global structures are in use. | |
1796 | ||
1bb721dc JM |
1797 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1798 | ||
1799 | * config/pa/pa-hpux.opt (flag_pa_unix): New Variable entry. | |
1800 | (munix=93): Use Var. | |
1801 | * config/pa/pa-hpux1010.opt (munix=95): Use Var. | |
1802 | * config/pa/pa-hpux1111.opt (munix=98): Use Var. | |
1803 | * config/pa/pa-opts.h: New. | |
1804 | * config/pa/pa.c (pa_cpu, flag_pa_unix): Remove. | |
1805 | (pa_handle_option): Don't assert that global structures are in | |
1806 | use. Access target_flags via opts pointer. Don't handle | |
1807 | OPT_mschedule_, OPT_mfixed_range_, OPT_munix_93, OPT_munix_95 or | |
1808 | OPT_munix_98 here. | |
1809 | (pa_option_override): Handle deferred OPT_mfixed_range_. | |
1810 | ||
cd8d8754 JM |
1811 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1812 | ||
1813 | * config/mn10300/mn10300-opts.h: New. | |
1814 | * config/mn10300/mn10300.c (mn10300_processor, | |
1815 | mn10300_tune_string): Remove. | |
1816 | (mn10300_handle_option): Don't assert that global structures are | |
1817 | in use. Access mn10300_processor via opts pointer. Don't handle | |
1818 | OPT_mtune_ here. | |
1819 | * config/mn10300/mn10300.h (enum processor_type): Move to | |
1820 | mn10300-opts.h. | |
1821 | (mn10300_processor): Remove. | |
1822 | * config/mn10300/mn10300.opt (config/mn10300/mn10300-opts.h): New | |
1823 | HeaderInclude entry. | |
1824 | (mn10300_processor): New Variable entry. | |
1825 | (mtune=): Use Var. | |
1826 | ||
24e6e6b1 JM |
1827 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1828 | ||
1829 | * config/microblaze/microblaze.c: Don't include opts.h. | |
1830 | (microblaze_handle_option, TARGET_HANDLE_OPTION): Remove. | |
1831 | * config/microblaze/microblaze.opt (mxl-stack-check): Use Warn. | |
1832 | (mno-clearbss): Use Var and Warn. | |
1833 | ||
8a784afb JM |
1834 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1835 | ||
1836 | * config/m32r/m32r-opts.h: New. | |
1837 | * config/m32r/m32r.c (m32r_model, m32r_sdata): Remove. | |
1838 | (m32r_handle_option): Don't assert that global structures are in | |
1839 | use. Access target_flags and m32r_cache_flush_func via opts | |
1840 | pointer. Don't handle OPT_mmodel_, OPT_msdata_ or | |
1841 | OPT_mno_flush_trap here. | |
1842 | * config/m32r/m32r.h (Code Models, Small Data Area): Replace by | |
1843 | include of m32r-opts.h. | |
1844 | * config/m32r/m32r.opt (config/m32r/m32r-opts.h): New | |
1845 | HeaderInclude entry. | |
1846 | (m32r_model_selected, m32r_sdata_selected): New Variable entries. | |
1847 | (mmodel=): Use Enum and Var. | |
1848 | (m32r_model): New Enum and EnumValue entries. | |
1849 | (mno-flush-trap): Use Var. | |
1850 | (msdata=): Use Enum and Var. | |
1851 | (m32r_sdata): New Enum and EnumValue entries. | |
1852 | ||
bbfc9a8c JM |
1853 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1854 | ||
1855 | * config/m32c/m32c.c: Don't include opts.h. | |
1856 | (target_memregs, target_memregs_set, TARGET_HANDLE_OPTION, | |
1857 | m32c_handle_option): Remove. | |
1858 | (m32c_option_override): Check global_options_set.x_target_memregs | |
1859 | instead of target_memregs_set. | |
1860 | * config/m32c/m32c.h (target_memregs): Remove. | |
1861 | * config/m32c/m32c.opt (memregs=): Use UInteger with integer | |
1862 | variable. | |
1863 | ||
e24b8335 JM |
1864 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1865 | ||
1866 | * config/iq2000/iq2000-opts.h: New. | |
1867 | * config/iq2000/iq2000.c: Don't include opts.h. | |
1868 | (iq2000_tune, iq2000_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 1869 | * config/iq2000/iq2000.h (enum processor_type, iq2000_tune): Remove. |
e24b8335 JM |
1870 | * config/iq2000/iq2000.opt (config/iq2000/iq2000-opts.h): New |
1871 | HeaderInclude entry. | |
1872 | (iq2000_tune): New Variable entry. | |
1873 | (march=): Add comment. Use Enum. | |
1874 | (iq2000_arch): New Enum and EnumValue entries. | |
1875 | (mcpu=): Use Enum and Var. | |
1876 | (iq2000_tune): New Enum and EnumValue entries. | |
1877 | ||
e6cc0c98 JM |
1878 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1879 | ||
1880 | * config/ia64/ia64-opts.h: New. | |
1881 | * config/ia64/ia64.c (ia64_tune): Remove. | |
1882 | (ia64_handle_option): Don't handle OPT_mfixed_range_ or OPT_mtune_ | |
1883 | here. Use error_at. | |
1884 | (ia64_option_override): Handle deferred OPT_mfixed_range_. | |
1885 | * config/ia64/ia64.h (enum processor_type, ia64_tune): Remove. | |
1886 | * config/ia64/ia64.opt (config/ia64/ia64-opts.h): New | |
1887 | HeaderInclude entry. | |
1888 | (ia64_tune): New Variable entry. | |
1889 | (mfixed-range=): Use Defer and Var. | |
1890 | (mtune=): Use Enum and Var. | |
1891 | (ia64_tune): New Enum and EnumValue entries. | |
1892 | ||
db25893c JM |
1893 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1894 | ||
1895 | * config/frv/frv-opts.h: New. | |
1896 | * config/frv/frv-protos.h (enum frv_cpu, frv_cpu_t): Move to | |
1897 | frv-opts.h. | |
1898 | (frv_cpu_type): Remove. | |
1899 | * config/frv/frv.c: Don't include opts.h. | |
1900 | (frv_cpu_type, frv_handle_option, TARGET_HANDLE_OPTION): Remove. | |
c78dd519 | 1901 | * config/frv/frv.opt (config/frv/frv-opts.h): New HeaderInclude entry. |
db25893c JM |
1902 | (frv_cpu_type): New Variable entry. |
1903 | (frv_cpu): New Enum and EnumValue entries. | |
1904 | ||
6c223f5d JM |
1905 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1906 | ||
1907 | * config/cris/cris.c (cris_handle_option): Access target_flags via | |
1908 | opts pointer. Don't assert that global structures are in use. | |
1909 | Don't call CRIS_SUBTARGET_HANDLE_OPTION. | |
1910 | * config/cris/cris.h (CRIS_SUBTARGET_HANDLE_OPTION): Don't define. | |
1911 | ||
bbd399cf JM |
1912 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1913 | ||
1914 | * config/bfin/bfin-opts.h: New. | |
1915 | * config/bfin/bfin.c (bfin_lib_id_given, bfin_cpu_type, | |
1916 | bfin_si_revision, bfin_workarounds): Remove. | |
1917 | (bfin_cpus): Make static const. | |
1918 | (bfin_load_pic_reg): Check global_options_set.x_bfin_library_id | |
1919 | not bfin_lib_id_given. | |
1920 | (bfin_handle_option): Don't set bfin_lib_id_given. Access | |
1921 | bfin_cpu_type, bfin_si_revision and bfin_workarounds via opts | |
c78dd519 | 1922 | pointer. Use error_at. Don't assert that global structures are in use. |
bbd399cf JM |
1923 | * config/bfin/bfin.h: Include bfin-opts.h. |
1924 | (enum bfin_cpu_type, bfin_cpu_t): Move to bfin-opts.h. | |
1925 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): Remove. | |
1926 | * bfin.opt (config/bfin/bfin-opts.h): New HeaderInclude entry. | |
1927 | (bfin_cpu_type, bfin_si_revision, bfin_workarounds): New Variable | |
1928 | entries. | |
1929 | ||
5e1b4d5a JM |
1930 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1931 | ||
1932 | * config/arm/arm.opt (mhard-float, msoft-float): Use Alias. | |
1933 | * config/arm/arm.c (arm_handle_option): Don't handle -mhard-float | |
1934 | or -msoft-float here. | |
1935 | * config/arm/arm.h (CPP_SPEC): Handle -mfloat-abi=*, not | |
1936 | -msoft-float and -mhard-float. | |
c78dd519 | 1937 | (OPTION_DEFAULT_SPECS): Don't handle -mhard-float and -msoft-float. |
5e1b4d5a JM |
1938 | * config/arm/coff.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not |
1939 | msoft-float. | |
1940 | * config/arm/elf.h (ASM_SPEC): Don't handle -mhard-float and | |
1941 | -msoft-float. | |
1942 | (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not msoft-float. | |
1943 | * config/arm/linux-elf.h (MULTILIB_DEFAULTS): Use mfloat-abi=hard, | |
1944 | not mhard-float. | |
1945 | (LIBGCC_SPEC): Don't handle -msoft-float. | |
1946 | * config/arm/netbsd-elf.h (SUBTARGET_ASM_FLOAT_SPEC): Don't handle | |
1947 | -mhard-float. | |
1948 | * config/arm/pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, not | |
1949 | msoft-float. | |
1950 | * config/arm/rtems-elf.h (SUBTARGET_EXTRA_ASM_SPEC): Handle | |
1951 | -mfloat-abi=*, not -msoft-float and -mhard-float. | |
1952 | * config/arm/semi.h((ASM_SPEC): Don't handle -mhard-float and | |
1953 | -msoft-float. | |
1954 | * config/arm/t-arm-elf (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): | |
1955 | Use mfloat-abi=hard and mfloat-abi=soft in comments, not | |
1956 | mhard-float and msoft-float. | |
1957 | * config/arm/t-linux (MULTILIB_OPTIONS): Use mfloat-abi=hard and | |
1958 | mfloat-abi=soft in comments, not mhard-float and msoft-float. | |
1959 | * config/arm/t-rtems (MULTILIB_OPTIONS, MULTILIB_EXCEPTIONS): Use | |
1960 | mfloat-abi=soft and mfloat-abi=hard, not msoft-float and | |
1961 | mhard-float. | |
1962 | * config/arm/t-strongarm-elf (MULTILIB_OPTIONS): Use | |
1963 | mfloat-abi=hard and mfloat-abi=soft, not mhard-float and | |
1964 | msoft-float. | |
1965 | * config/arm/t-wince-pe (MULTILIB_OPTIONS): Use mfloat-abi=hard, | |
1966 | not mhard-float. | |
1967 | * config/arm/wince-pe.h (MULTILIB_DEFAULTS): Use mfloat-abi=soft, | |
1968 | not msoft-float. | |
1969 | ||
800d1de1 RH |
1970 | 2011-03-22 Richard Henderson <rth@redhat.com> |
1971 | ||
1972 | * config/alpha/alpha.c (alpha_expand_prologue): Don't test | |
1973 | TARGET_ABI_WINDOWS_NT. | |
1974 | (alpha_output_function_end_prologue): Likewise. | |
1975 | * config/alpha/alpha.h (TARGET_ABI_OSF): Likewise. | |
1976 | (ASM_OUTPUT_ADDR_DIFF_ELT): Likewise. | |
1977 | * config/alpha/alpha.md (call, call_value, tablejump): Likewise. | |
1978 | (trap, *movsi_nt_vms): Likewise. | |
1979 | (call_nt, call_value_nt, *call_nt_1, *call_value_nt_1): Remove. | |
1980 | (*tablejump_osf_nt_internal): Remove. | |
1981 | * config/alpha/predicates.md (input_operand): Only test Pmode. | |
1982 | ||
c59ddd2b JM |
1983 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1984 | ||
1985 | * config/alpha/alpha.c (alpha_handle_option): Access target_flags | |
1986 | via opts pointer. Use error_at. Don't assert that global | |
1987 | structures are in use. | |
1988 | ||
1333f97f JM |
1989 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
1990 | ||
1991 | * config/i386/i386.c (ix86_isa_flags_explicit): Remove. | |
1992 | (ix86_handle_option): Access ix86_isa_flags and | |
1993 | ix86_isa_flags_explicit via opts pointer. Don't assert that | |
1994 | global structures are in use. | |
1995 | (ix86_function_specific_save, ix86_function_specific_restore): | |
1996 | Update ix86_isa_flags_explicit field name. | |
c78dd519 | 1997 | * config/i386/i386.opt (ix86_isa_flags_explicit): New Variable entry. |
1333f97f JM |
1998 | (ix86_isa_flags_explicit): Rename TargetSave entry to |
1999 | x_ix86_isa_flags_explicit. | |
2000 | ||
75db85d8 RH |
2001 | 2011-03-22 Richard Henderson <rth@redhat.com> |
2002 | ||
2003 | * config/alpha/alpha.c (NUM_ARGS): Don't test TARGET_ABI_UNICOSMK. | |
2004 | (alpha_option_override, direct_return): Likewise. | |
2005 | (alpha_arg_partial_bytes, alpha_setup_incoming_varargs): Likewise. | |
2006 | (alpha_va_start, alpha_gimplify_va_arg, alpha_sa_mask): Likewise. | |
2007 | (alpha_sa_size, compute_frame_size, alpha_expand_prologue): Likewise. | |
2008 | (alpha_start_function, alpha_output_function_end_prologue): Likewise. | |
2009 | (alpha_expand_epilogue, alpha_end_function): Likewise. | |
2010 | (alpha_init_libfuncs): Likewise. | |
2011 | (struct machine_function): Remove unicosmk members. | |
2012 | (print_operand) ['t']: Remove. | |
2013 | (unicosmk_must_pass_in_stack, unicosmk_initial_elimination_offset, | |
2014 | unicosmk_output_module_name, unicosmk_output_common, | |
2015 | current_section_align, unicosmk_output_text_section_asm_op, | |
2016 | unicosmk_output_data_section_asm_op, unicosmk_init_sections, | |
2017 | unicosmk_section_type_flags, unicosmk_unique_section, | |
2018 | unicosmk_asm_named_section, unicosmk_insert_attributes, | |
2019 | unicosmk_output_align, unicosmk_defer_case_vector, | |
2020 | unicosmk_output_addr_vec, unicosmk_output_deferred_case_vectors, | |
2021 | SSIB_PREFIX, SSIB_PREFIX_LEN, unicosmk_ssib_name, unicosmk_gen_dsib, | |
2022 | unicosmk_output_ssib, unicosmk_add_call_info_word, | |
2023 | unicosmk_extern_head, unicosmk_output_default_externs, | |
2024 | unicosmk_output_externs, unicosmk_add_extern, unicosmk_dex_list, | |
2025 | unicosmk_dex_count, unicosmk_special_name, unicosmk_need_dex, | |
2026 | unicosmk_output_dex, unicosmk_file_start, unicosmk_file_end): Remove. | |
2027 | * config/alpha/alpha-protos.h: Update. | |
2028 | * config/alpha/alpha.h (TARGET_ABI_OSF): Don't test TARGET_ABI_UNICOSMK. | |
2029 | * config/alpha/alpha.md (UNSPEC_UMK_LAUM, UNSPEC_UMK_LALM): Remove. | |
2030 | (UNSPEC_UMK_LAL, UNSPEC_UMK_LOAD_CIW): Remove. | |
2031 | (mulsi3): Don't test TARGET_ABI_UNICOSMK. | |
2032 | (*mulsi_se, mulvsi3): Likewise. | |
2033 | (divsi3, udivsi3, modsi3, umodsi3, divdi3, udivdi3): Likewise. | |
2034 | (*divmodsi_internal, call, call_value, realign): Likewise. | |
2035 | (moddi3, umoddi3): Likewise; remove duplicate expander. | |
2036 | (moddi3_umk, umoddi3_umk, call_umk, call_value_umk): Remove. | |
2037 | (*call_umk_1, *movsi, umk_laum, umk_lalm, *umk_load_ciw): Remove. | |
2038 | (*movdi_nofix): Remove r/U alternative. | |
2039 | (umk_mismatch_args, arg_home_umk, *call_value_umk): Remove. | |
2040 | * config/alpha/constraints.md ("U"): Remove. | |
2041 | * config/alpha/predicates.md (call_operand"): Don't test | |
2042 | TARGET_ABI_UNICOSMK. | |
2043 | ||
96e45421 JM |
2044 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
2045 | ||
2046 | * target.def (handle_option): Take gcc_options and | |
2047 | cl_decoded_option pointers and location_t. | |
2048 | * doc/tm.texi.in (TARGET_HANDLE_OPTION): Update documentation. | |
2049 | * doc/tm.texi: Regenerate. | |
2050 | * hooks.c (hook_bool_size_t_constcharptr_int_true): Remove. | |
2051 | * hooks.h (hook_bool_size_t_constcharptr_int_true): Don't declare. | |
2052 | * lto-opts.c (lto_reissue_options): Generate option structure for | |
2053 | targetm.handle_option call. | |
2054 | * opts.c (target_handle_option): Update call to | |
2055 | targetm.handle_option. Remove assertions about values now passed | |
2056 | down to hook. | |
2057 | * targhooks.c (default_target_handle_option): New. | |
2058 | * targhooks.h (default_target_handle_option): Declare. | |
2059 | * config/alpha/alpha.c: Include opts.h. | |
2060 | (alpha_handle_option): Update to new hook interface. | |
2061 | * config/arm/arm.c: Include opts.h. | |
2062 | (arm_handle_option): Update to new hook interface. | |
2063 | * config/arm/t-arm (arm.o): Update dependencies. | |
2064 | * config/bfin/bfin.c: Include opts.h. | |
2065 | (bfin_handle_option): Update to new hook interface. | |
2066 | * config/cris/cris.c: Include opts.h. | |
2067 | (cris_handle_option): Update to new hook interface. | |
2068 | * config/frv/frv.c: Include opts.h. | |
2069 | (frv_handle_option): Update to new hook interface. | |
2070 | * config/i386/i386.c: Include opts.h. | |
2071 | (ix86_handle_option): Update to new hook interface. | |
2072 | (ix86_valid_target_attribute_inner_p): Generate option structure | |
2073 | for call to ix86_handle_option. | |
2074 | * config/i386/t-i386 (i386.o): Update dependencies. | |
2075 | * config/ia64/ia64.c: Include opts.h. | |
2076 | (ia64_handle_option): Update to new hook interface. | |
2077 | * config/ia64/t-ia64 (ia64.o): Update dependencies. | |
2078 | * config/iq2000/iq2000.c: Include opts.h. | |
2079 | (iq2000_handle_option): Update to new hook interface. | |
2080 | * config/m32c/m32c.c: Include opts.h. | |
2081 | (m32c_handle_option): Update to new hook interface. | |
2082 | * config/m32r/m32r.c: Include opts.h. | |
2083 | (m32r_handle_option): Update to new hook interface. | |
2084 | * config/m68k/m68k.c: Include opts.h. | |
2085 | (m68k_handle_option): Update to new hook interface. | |
2086 | * config/mep/mep.c: Include opts.h. | |
2087 | (mep_handle_option): Update to new hook interface. | |
2088 | * config/microblaze/microblaze.c: Include opts.h. | |
2089 | (microblaze_handle_option): Update to new hook interface. | |
2090 | * config/mips/mips.c: Include opts.h. | |
2091 | (mips_handle_option): Update to new hook interface. | |
2092 | * config/mn10300/mn10300.c: Include opts.h. | |
2093 | (mn10300_handle_option): Update to new hook interface. | |
2094 | * config/pa/pa.c: Include opts.h. | |
2095 | (pa_handle_option): Update to new hook interface. | |
2096 | * config/pdp11/pdp11.c: Include opts.h. | |
2097 | (pdp11_handle_option): Update to new hook interface. | |
2098 | * config/rs6000/rs6000.c: Include opts.h. | |
2099 | (rs6000_handle_option): Update to new hook interface. | |
2100 | * config/rs6000/t-rs6000 (rs6000.o): Update dependencies. | |
2101 | * config/rx/rx.c: Include opts.h. | |
2102 | (rx_handle_option): Update to new hook interface. | |
2103 | * config/s390/s390.c: Include opts.h. | |
2104 | (s390_handle_option): Update to new hook interface. | |
2105 | * config/score/score.c: Include opts.h. | |
2106 | (score_handle_option): Update to new hook interface. | |
2107 | * config/sh/sh.c: Include opts.h. | |
2108 | (sh_handle_option): Update to new hook interface. | |
2109 | * config/sparc/sparc.c: Include opts.h. | |
2110 | (sparc_handle_option): Update to new hook interface. | |
2111 | * config/v850/v850.c: Include opts.h. | |
2112 | (v850_handle_option): Update to new hook interface. | |
2113 | ||
66017846 JM |
2114 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
2115 | ||
2116 | * gcc.c (driver_unknown_option_callback): Only permit and save | |
2117 | unknown -Wno- options. | |
2118 | (driver_wrong_lang_callback): Save options directly instead of via | |
2119 | driver_unknown_option_callback. | |
2120 | ||
e8b97ccd EB |
2121 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
2122 | ||
2123 | * combine.c (simplify_set): Try harder to find the best CC mode when | |
2124 | simplifying a nested COMPARE on the RHS. | |
2125 | ||
ebb9f8b0 JM |
2126 | 2011-03-22 Joseph Myers <joseph@codesourcery.com> |
2127 | ||
2128 | * config/alpha/gnu.h: Remove. | |
2129 | * config/arc: Remove directory. | |
2130 | * config/arm/netbsd.h: Remove. | |
2131 | * config/arm/t-pe: Remove. | |
2132 | * config/crx: Remove directory. | |
2133 | * config/i386/netbsd.h: Remove. | |
2134 | * config/m68hc11: Remove directory. | |
2135 | * config/m68k/uclinux-oldabi.h: Remove. | |
2136 | * config/mcore/mcore-pe.h: Remove. | |
2137 | * config/mcore/t-mcore-pe: Remove. | |
2138 | * config/netbsd-aout.h: Remove. | |
2139 | * config/rs6000/gnu.h: Remove. | |
2140 | * config/sh/sh-symbian.h: Remove. | |
2141 | * config/sh/symbian-base.c: Remove. | |
2142 | * config/sh/symbian-c.c: Remove. | |
2143 | * config/sh/symbian-cxx.c: Remove. | |
2144 | * config/sh/symbian-post.h: Remove. | |
2145 | * config/sh/symbian-pre.h: Remove. | |
2146 | * config/sh/t-symbian: Remove. | |
2147 | * config/svr3.h: Remove. | |
2148 | * config/vax/netbsd.h: Remove. | |
2149 | * config.build: Don't handle i[34567]86-*-pe. | |
2150 | * config.gcc: Remove handling of deprecations for most deprecated | |
2151 | targets. | |
2152 | (m68k-*-uclinuxoldabi*): Add to second deprecated list. | |
2153 | (alpha*-*-gnu*, arc-*-elf*, arm*-*-netbsd*, arm-*-pe*, crx-*-elf, | |
2154 | i[34567]86-*-netbsd*, i[34567]86-*-pe, m68hc11-*-*|m6811-*-*, | |
2155 | m68hc12-*-*|m6812-*-*, m68k-*-uclinuxoldabi*, mcore-*-pe*, | |
2156 | powerpc64-*-gnu*, powerpc-*-gnu-gnualtivec*, powerpc-*-gnu*, | |
2157 | sh-*-symbianelf* | sh[12346l]*-*-symbianelf*, vax-*-netbsd*): | |
2158 | Remove cases. | |
2159 | * config.host: Don't handle i[34567]86-*-pe. | |
2160 | * config/rs6000/linux64.h (LINK_OS_GNU_SPEC): Remove. | |
2161 | (ASM_SPEC32): Don't handle -mcall-gnu. | |
2162 | * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Don't handle | |
2163 | -mcall-gnu. | |
2164 | (ASM_SPEC, CC1_SPEC, LINK_START_SPEC, LINK_OS_SPEC, CPP_SPEC, | |
2165 | STARTFILE_SPEC, LIB_SPEC, ENDFILE_SPEC): Don't handle -mcall-gnu. | |
2166 | (LIB_GNU_SPEC, STARTFILE_GNU_SPEC, ENDFILE_GNU_SPEC, | |
2167 | LINK_START_GNU_SPEC, LINK_OS_GNU_SPEC, CPP_OS_GNU_SPEC): Remove. | |
2168 | (SUBTARGET_EXTRA_SPECS): Remove *_gnu specs. | |
2169 | * config/sh/sh-protos.h, config/sh/sh.c: Remove all code | |
2170 | conditional on SYMBIAN. | |
2171 | * configure.ac: Don't handle powerpc*-*-gnu*. | |
2172 | * configure: Regenerate. | |
2173 | * doc/extend.texi (interrupt attribute): Don't mention CRX. | |
2174 | * doc/install-old.texi (m6811, m6812): Don't mention. | |
2175 | * doc/install.texi (arc-*-elf*): Don't document multilib option. | |
2176 | (arc-*-elf, CRX, m6811-elf, m6812-elf): Remove. | |
2177 | (m68k-uclinuxoldabi): Don't mention. | |
2178 | * doc/invoke.texi (ARC Options, CRX Options, M68hc1x Options): | |
2179 | Remove. | |
2180 | (-mcall-gnu): Remove. | |
2181 | * doc/md.texi (CRX Architecture, Motorola 68HC11 & 68HC12 | |
2182 | families): Remove constraint documentation. | |
2183 | ||
999a7d80 MS |
2184 | 2011-03-22 Marius Strobl <marius@FreeBSD.org> |
2185 | ||
2186 | * config/sparc/freebsd.h (CPP_CPU64_DEFAULT_SPEC): Replace with... | |
2187 | (FBSD_TARGET_CPU_CPP_BUILTINS): ...this. | |
2188 | (TARGET_GNU_TLS, TARGET_SUN_TLS): Define. | |
2189 | ||
980a0ff4 GJL |
2190 | 2011-03-21 Georg-Johann Lay <avr@gjlay.de> |
2191 | ||
2192 | * config/avr/avr-protos.h (expand_epilogue): Change prototype | |
2193 | * config/avr/avr.h (struct machine_function): Add field sibcall_fails. | |
2194 | * config/avr/avr.c (init_cumulative_args) | |
2195 | (avr_function_arg_advance): Use it. | |
2196 | * config/avr/avr.c (expand_epilogue): Add bool parameter. Handle | |
2197 | sibcall epilogues. | |
2198 | (TARGET_FUNCTION_OK_FOR_SIBCALL): Define to... | |
2199 | (avr_function_ok_for_sibcall): ...this new function. | |
2200 | (avr_lookup_function_attribute1): New static Function. | |
2201 | (avr_naked_function_p, interrupt_function_p) | |
2202 | (signal_function_p, avr_OS_task_function_p) | |
2203 | (avr_OS_main_function_p): Use it. | |
2204 | * config/avr/avr.md ("sibcall", "sibcall_value") | |
2205 | ("sibcall_epilogue"): New expander. | |
2206 | ("*call_insn", "*call_value_insn"): New insn. | |
2207 | ("call_insn", "call_value_insn"): Remove | |
2208 | ("call", "call_value", "epilogue"): Change expander to handle | |
2209 | sibling calls. | |
2210 | ||
49168734 NC |
2211 | 2011-03-21 Nick Clifton <nickc@redhat.com> |
2212 | ||
2213 | * doc/invoke.texi (Overall Options): Move closing brace to end of | |
2214 | options list. | |
2215 | (Optimization Options): Add missing @gol. | |
2216 | (Directory Options): Likewise. | |
2217 | (i386 and x86-64 Options): Likewise. | |
2218 | (RS6000 and PowerPC Options): Likewise. | |
2219 | (i386 and x86-64 Windows Options): Likewise. | |
2220 | (V850 Options): Add text missing from descriptions. | |
2221 | ||
bdfe906f RH |
2222 | 2011-03-22 Richard Henderson <rth@redhat.com> |
2223 | ||
2224 | * config/avr/avr.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
2225 | (avr_incoming_return_addr_rtx): New. | |
2226 | (emit_push_byte): New. | |
2227 | (expand_prologue): Use it. Remove incorrect dwarf annotation for | |
2228 | SREG, RAMPZ, zero register. Push frame pointer by bytes. Add dwarf | |
2229 | annotation for __prologue_saves__. Fixup dwarf annotation for CFA. | |
2230 | (emit_pop_byte): New. | |
2231 | (expand_epilogue): Use it. Pop frame pointer by bytes. | |
2232 | * config/avr/avr.h (FRAME_POINTER_CFA_OFFSET): Remove. | |
2233 | (INCOMING_RETURN_ADDR_RTX): New. | |
2234 | (INCOMING_FRAME_SP_OFFSET): New. | |
2235 | (ARG_POINTER_CFA_OFFSET): New. | |
2236 | * config/avr/avr.md (*pushqi): Fix mode of auto-inc. | |
2237 | (*pushhi, *pushsi, *pushsf, popqi): Likewise. | |
2238 | (pophi): Remove. | |
2239 | ||
d090a5aa RH |
2240 | * dwarf2out.c (dwarf2out_frame_debug_expr) [rule 11]: Handle post_dec. |
2241 | ||
fdf3e18a NF |
2242 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
2243 | ||
2244 | * system.h (FUNCTION_ARG, FUNCTION_INCOMING_ARG): Poison. | |
2245 | (FUNCTION_ARG_ADVANCE): Likewise. | |
2246 | * tm.texi.in: Change references to them to hook references. | |
2247 | * tm.texi: Regenerate. | |
2248 | * targhooks.c (default_function_arg): Eliminate check for target | |
2249 | macro. | |
2250 | (default_function_incoming_arg): Likewise. | |
2251 | (default_function_arg_advance): Likewise. | |
c78dd519 | 2252 | * target.def (function_arg, function_incoming_arg): Change to DEFHOOK. |
fdf3e18a NF |
2253 | (function_arg_advance): Likewise. |
2254 | * target-def.h: Eliminate FUNCTION_INCOMING_ARG check. | |
2255 | ||
009d3fcf NF |
2256 | 2011-03-22 Nathan Froyd <froydnj@codesourcery.com> |
2257 | ||
2258 | * tree.c (build_call_1): New function. | |
2259 | (build_call_valist, build_call_array_loc, build_call_vec): Call it. | |
2260 | ||
7bec30e1 RG |
2261 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
2262 | ||
2263 | PR tree-optimization/48228 | |
2264 | * tree-vrp.c (vrp_visit_phi_node): Do not stop propagating | |
2265 | for single-arg PHIs. | |
2266 | ||
0b7e851b AB |
2267 | 2011-03-22 Andrey Belevantsev <abel@ispras.ru> |
2268 | ||
2269 | PR rtl-optimization/48143 | |
2270 | * config/i386/sse.md (*sse2_cvtpd2dq): Add athlon_decode attribute. | |
2271 | (*sse2_cvttpd2dq, sse2_cvtss2sd, *sse2_cvtpd2ps, | |
2272 | sse2_cvtps2pd): Likewise. | |
2273 | ||
d89afca5 AK |
2274 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2275 | ||
2276 | * recog.c (canonicalize_change_group): Use validate_unshare_change. | |
2277 | ||
f471fe72 RG |
2278 | 2011-03-22 Richard Guenther <rguenther@suse.de> |
2279 | ||
2280 | * gimple.c (gimple_rhs_class_table): POLYNOMIAL_CHREC is not | |
2281 | a valid RHS. Make DOT_PROD_EXPR and REALIGN_LOAD_EXPR ternary. | |
2282 | * tree-cfg.c (verify_gimple_assign_ternary): Allow DOT_PROD_EXPR | |
2283 | and REALIGN_LOAD_EXPR. | |
2284 | (verify_gimple_assign_single): Do not allow POLYNOMIAL_CHREC, | |
2285 | DOT_PROD_EXPR or REALIGN_LOAD_EXPR. | |
2286 | * expr.c (expand_expr_real_1): Move REALIGN_LOAD_EXPR and | |
2287 | DOT_PROD_EXPR case ... | |
2288 | (expand_expr_real_2): ... here. | |
2289 | * gimple-pretty-print.c (dump_ternary_rhs): Handle DOT_PROD_EXPR | |
2290 | and REALIGN_LOAD_EXPR. | |
2291 | * tree-data-ref.c (split_constant_offset): Bail out for all CHRECs. | |
2292 | * tree-vect-loop.c (vect_model_reduction_cost): Handle ternaries. | |
2293 | (vect_create_epilog_for_reduction): Likewise. | |
2294 | (vectorizable_reduction): Likewise. | |
2295 | * tree-vect-patterns.c (vect_recog_dot_prod_pattern): Adjust. | |
2296 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
2297 | ||
f2f81d57 EB |
2298 | 2011-03-22 Eric Botcazou <ebotcazou@adacore.com> |
2299 | ||
2300 | * gimplify.c (gimplify_cond_expr): Gimplify COMPOUND_EXPR conditions. | |
2301 | ||
ab081dd6 AK |
2302 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2303 | ||
2304 | * config/s390/s390.c (s390_delegitimize_address): Fix offset | |
2305 | handling for PLTOFF/GOTOFF. | |
2306 | ||
6fd5332b NC |
2307 | 2011-03-22 Nick Clifton <nickc@redhat.com> |
2308 | ||
2309 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Remove | |
2310 | trailing backslash from the end of the macro definition. | |
2311 | ||
01841ac0 AK |
2312 | 2011-03-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2313 | ||
2314 | * config/s390/s390.c (s390_delegitimize_address): Handle PLTOFF | |
2315 | and PLT unspecs. | |
2316 | ||
2ef6ce06 RS |
2317 | 2011-03-21 Richard Sandiford <richard.sandiford@linaro.org> |
2318 | ||
2319 | * expr.h (prepare_operand): Move to... | |
2320 | * optabs.h (prepare_operand): ...here and change the insn code | |
2321 | parameter from "int" to "enum insn_code". | |
2322 | (insn_operand_matches): Declare. | |
2323 | * expr.c (init_expr_target): Use insn_operand_matches. | |
2324 | (compress_float_constant): Likewise. | |
2325 | * function.c (safe_insn_predicate, assign_parm_setup_reg): Likewise. | |
2326 | * optabs.c (can_compare_p, prepare_cmp_insn): Likewise. | |
2327 | (emit_cmp_and_jump_insn_1, gen_add2_insn, gen_add3_insn): Likewise. | |
c78dd519 UB |
2328 | (have_add2_insn, gen_sub2_insn, gen_sub3_insn, have_sub2_insn): |
2329 | Likewise. | |
2ef6ce06 RS |
2330 | (gen_cond_trap): Likewise. |
2331 | (prepare_operand): Likewise. Change icode to an insn_code. | |
2332 | (insn_operand_matches): New function. | |
2333 | * reload.c (find_reloads_address_1): Use insn_operand_matches. | |
2334 | * reload1.c (gen_reload): Likewise. | |
2335 | * targhooks.c (default_secondary_reload): Likewise. | |
2336 | ||
9e43ad68 UB |
2337 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> |
2338 | ||
9a96da32 UB |
2339 | * config/alpha/alpha.md (unspec): New define_c_enum. |
2340 | (unspecv): Ditto. | |
2341 | ||
2342 | 2011-03-21 Uros Bizjak <ubizjak@gmail.com> | |
2343 | ||
2344 | PR debug/48214 | |
9e43ad68 UB |
2345 | * config/alpha/alpha.c (alpha_pad_noreturn): Do not emit an unop |
2346 | between a call and its CALL_ARG_LOCATION note. | |
2347 | ||
31408f60 EB |
2348 | 2011-03-21 Eric Botcazou <ebotcazou@adacore.com> |
2349 | ||
2350 | * gimplify.c (gimplify_vla_decl): Set TREE_THIS_NOTRAP flag. | |
2351 | ||
2352 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> | |
126e6609 JJ |
2353 | |
2354 | PR c/42544 | |
2355 | PR c/48197 | |
2356 | * c-common.c (shorten_compare): If primopN is first sign-extended | |
2357 | to opN and then zero-extended to result type, set primopN to opN. | |
2358 | ||
9dfd55f5 DJ |
2359 | 2011-03-21 Daniel Jacobowitz <dan@codesourcery.com> |
2360 | ||
2361 | * config/arm/unwind-arm.c (__gnu_unwind_pr_common): Correct test | |
2362 | for barrier handlers. | |
2363 | ||
f3c33d9d MM |
2364 | 2011-03-21 Michael Meissner <meissner@linux.vnet.ibm.com> |
2365 | ||
2366 | * config/rs6000/rs6000.md (UNSPEC_*, UNSPECV_*): Redefine all | |
2367 | UNSPEC constants to be in the unspec enumeration, and redefine | |
2368 | all UNSPECV constants to be in the unspecv enumeration, so that | |
2369 | dumps print which unspec/unspec_volatile this is. | |
2370 | * config/rs6000/vector.md (UNSPEC_*): Ditto. | |
2371 | * config/rs6000/paired.md (UNSPEC_*): Ditto. | |
2372 | * config/rs6000/vsx.md (UNSPEC_*): Ditto. | |
2373 | * config/rs6000/altivec.md (UNSPEC_*, UNSPECV_*): Ditto. | |
2374 | * config/rs6000/dfp.md (UNSPEC_*): Ditto. | |
2375 | ||
2376 | * config/rs6000/rs6000.md (UNSPECV_ISYNC, UNSPECV_LWSYNC): Rename | |
2377 | UNSPEC_ISYNC and UNSPEC_HWSYNC to UNSPECV_ISYNC and | |
2378 | UNSPECV_LWSYNC, since these are used as unspec_volatile. | |
2379 | * config/rs6000/sync.md (isync, lwsync): Ditto. | |
2380 | ||
ac43f774 RG |
2381 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
2382 | ||
2383 | * params.def (lto-min-partition): Fix typo. | |
2384 | ||
411cdbd8 RG |
2385 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
2386 | ||
2387 | PR c/47939 | |
2388 | * c-decl.c (grokdeclarator): Drop to the main variant only | |
2389 | for array types. Drop flag_gen_aux_info check. | |
2390 | ||
1cd9e416 RG |
2391 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
2392 | ||
2393 | PR translation/47911 | |
2394 | * params.def (lto-partitions): Fix typo. | |
2395 | (lto-min-partition): Fix wording. | |
2396 | ||
ada5ad67 AT |
2397 | 2011-03-21 Andreas Tobler <andreast@fgznet.ch> |
2398 | ||
2399 | * config/rs6000/t-freebsd: Remove duplication from file. | |
2400 | ||
f9613c9a RG |
2401 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
2402 | ||
2403 | PR middle-end/47661 | |
2404 | * gimple.c (is_gimple_condexpr): Use tree_could_throw_p. | |
2405 | ||
9bfbc1eb RG |
2406 | 2011-03-21 Richard Guenther <rguenther@suse.de> |
2407 | ||
2408 | PR lto/48210 | |
2409 | * params.def (lto-partitions): Require at least 1 partition. | |
2410 | ||
a2268084 RO |
2411 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2412 | ||
2413 | * gthr-solaris.h: Remove. | |
2414 | * gthr.h (_SOLARIS_THREADS): Don't include gthr-solaris.h, remove. | |
2415 | * config/sol2.h (CPP_SUBTARGET_SPEC): Remove -threads support. | |
2416 | (LIB_SPEC): Likewise. | |
2417 | * config/sol2.opt (threads): Remove. | |
9e43ad68 | 2418 | * config.gcc (i[34567]86-*-solaris2*): Remove solaris threads support. |
a2268084 RO |
2419 | (sparc*-*-solaris2*): Likewise. |
2420 | * configure.ac (enable_threads): Enable solaris support. | |
2421 | * configure: Regenerate. | |
9e43ad68 | 2422 | * doc/invoke.texi (Option Summary, Solaris 2 Options): Remove -threads. |
a2268084 RO |
2423 | * doc/install.texi (Configuration, --enable-threads=lib): Remove |
2424 | solaris. | |
2425 | ||
c43d9a1b RO |
2426 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2427 | ||
2428 | * config.gcc: Obsolete *-*-solaris2.8*. | |
2429 | * doc/install.texi (Specific, *-*-solaris2*): Document it. | |
2430 | ||
084239f4 RO |
2431 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2432 | ||
2433 | PR bootstrap/48135 | |
2434 | * doc/install.texi (Prerequisites, Perl): Remove Glob.pm | |
2435 | reference. Solaris 8 perl works. | |
2436 | ||
64cadbe7 RO |
2437 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2438 | ||
2439 | PR bootstrap/48135 | |
2440 | * doc/install.texi (Prerequisites): Move jar etc. up. | |
2441 | Explain support library version requirements. | |
2442 | ||
eb975109 RO |
2443 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2444 | ||
2445 | PR bootstrap/48135 | |
2446 | * doc/install.texi (Prerequisites): Move Perl to build | |
2447 | requirements. Always necessary on Solaris 2 with Sun ld. | |
2448 | ||
8a509ffd RO |
2449 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2450 | ||
2451 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Update for | |
2452 | binutils 2.21. | |
2453 | (Specific, i?86-*-solaris2.[89]): Likewise. | |
2454 | (Specific, i?86-*-solaris2.10): Likewise. | |
2455 | (Specific, mips-sgi-irix6): Likewise. | |
2456 | (Specific, *-*-solaris2*): Remove Sun Studio download URL. | |
2457 | Update for binutils 2.21. | |
2458 | ||
8fbc58a1 RO |
2459 | 2011-03-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2460 | ||
2461 | * configure.ac (gcc_cv_lto_plugin): Fix typo. | |
2462 | Allow -fuse-linker-plugin for non-default plugin linker. | |
2463 | * configure: Regenerate. | |
2464 | ||
7e84ad0b NP |
2465 | 2011-03-21 Nicola Pero <nicola.pero@meta-innovation.com> |
2466 | ||
2467 | PR bootstrap/48167 | |
2468 | * gengtype.c (files_rules): Added rule for cp/parser.h. | |
2469 | ||
2f36e14b JJ |
2470 | 2011-03-21 Jakub Jelinek <jakub@redhat.com> |
2471 | ||
2472 | PR target/48213 | |
2473 | * config/s390/s390.c (s390_delegitimize_address): Don't call | |
2474 | lowpart_subreg if orig_x has BLKmode. | |
2475 | ||
62d784f7 KT |
2476 | 2011-03-21 Kai Tietz <ktietz@redhat.com> |
2477 | ||
2478 | PR target/12171 | |
9e43ad68 UB |
2479 | * doc/plugins.texi: Adjust documentation for plugin register_callback. |
2480 | * tree.h (attribute_spec): Add new member affects_type_identity. | |
2481 | * attribs.c (empty_attribute_table): Adjust attribute_spec | |
2482 | initializers. | |
62d784f7 KT |
2483 | * config/alpha/alpha.c: Likewise. |
2484 | * config/arc/arc.c: Likewise. | |
2485 | * config/arm/arm.c: Likewise. | |
2486 | * config/avr/avr.c: Likewise. | |
2487 | * config/bfin/bfin.c: Likewise. | |
2488 | * config/crx/crx.c: Likewise. | |
2489 | * config/darwin.h: Likewise. | |
2490 | * config/h8300/h8300.c: Likewise. | |
2491 | * config/i386/cygming.h: Likewise. | |
2492 | * config/i386/i386.c: Likewise. | |
2493 | * config/ia64/ia64.c: Likewise. | |
2494 | * config/m32c/m32c.c: Likewise. | |
2495 | * config/m32r/m32r.c: Likewise. | |
2496 | * config/m68hc11/m68hc11.c: Likewise. | |
2497 | * config/m68k/m68k.c: Likewise. | |
2498 | * config/mcore/mcore.c: Likewise. | |
2499 | * config/mep/mep.c: Likewise. | |
2500 | * config/microblaze/microblaze.c: Likewise. | |
2501 | * config/mips/mips.c: Likewise. | |
2502 | * config/rs6000/rs6000.c: Likewise. | |
2503 | * config/rx/rx.c: Likewise. | |
2504 | * config/sh/sh.c: Likewise. | |
2505 | * config/sol2.h: Likewise. | |
2506 | * config/sparc/sparc.c: Likewise. | |
2507 | * config/spu/spu.c: Likewise. | |
2508 | * config/stormy16/stormy16.c: Likewise. | |
2509 | * config/v850/v850.c: Likewise. | |
2510 | ||
54833ec0 CLT |
2511 | 2011-03-21 Chung-Lin Tang <cltang@codesourcery.com> |
2512 | ||
2513 | * simplify-rtx.c (simplify_binary_operation_1): Handle | |
2514 | (xor (and A B) C) case when B and C are both constants. | |
2515 | ||
14a41392 MX |
2516 | 2011-03-21 Mingjie Xing <mingjie.xing@gmail.com> |
2517 | ||
2518 | * tree-dfa.c (add_referenced_var): Fix typo in comment. | |
2519 | ||
806c3492 EB |
2520 | 2011-03-20 Eric Botcazou <ebotcazou@adacore.com> |
2521 | ||
2522 | PR bootstrap/48168 | |
2523 | * config/sparc/sparc.c (sparc_delegitimize_address): Add new pattern. | |
2524 | ||
65e0a0f3 JJ |
2525 | 2011-03-20 Jakub Jelinek <jakub@redhat.com> |
2526 | ||
2527 | PR rtl-optimization/48156 | |
2528 | * df-core.c (df_get_bb_dirty): Use df_lr if df_live is NULL, | |
2529 | assume df and df_lr are not NULL. | |
2530 | ||
b6a75dda RR |
2531 | 2011-03-20 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
2532 | ||
2533 | PR debug/48023 | |
2534 | * config/arm/arm.c (create_fix_barrier): Do not emit a minipool | |
2535 | between a call and its CALL_ARG_LOCATION note. | |
2536 | ||
5969b52d KK |
2537 | 2011-03-19 Kaz Kojima <kkojima@gcc.gnu.org> |
2538 | ||
2539 | PR debug/48178 | |
2540 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
2541 | between a call and its corresponding CALL_ARG_LOCATION note. | |
2542 | ||
f773c2bd AS |
2543 | 2011-03-19 Anatoly Sokolov <aesok@post.ru> |
2544 | ||
2545 | * cfgcleanup.c (mark_effect): Use bitmap_set_range/bitmap_clear_range | |
2546 | instead of loop. Use HARD_REGISTER_NUM_P predicate. | |
2547 | * haifa-sched.c (setup_ref_regs): Ditto. | |
2548 | * caller-save.c (add_used_regs_1): Ditto. | |
2549 | * dse.c (look_for_hardregs): Ditto. | |
2550 | * df-problems.c (df_simulate_one_insn_forwards): Ditto. | |
2551 | * sched-rgn.c (check_live_1): Ditto. | |
2552 | ||
8bf872f9 JM |
2553 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
2554 | ||
2555 | * c-decl.c (diagnose_mismatched_decls): Give an error for | |
2556 | redefining a typedef with variably modified type. | |
2557 | ||
ff8e2159 JM |
2558 | 2011-03-18 Joseph Myers <joseph@codesourcery.com> |
2559 | ||
2560 | * c-decl.c (grokfield): Don't allow typedefs for structures or | |
2561 | unions with no tag by default. | |
2562 | * doc/extend.texi (Unnamed Fields): Update. | |
2563 | ||
16cc4440 UB |
2564 | 2011-03-18 Uros Bizjak <ubizjak@gmail.com> |
2565 | ||
2566 | * config/i386/i386.md (float<SSEMODEI24:mode><X87MODEF:mode>2): | |
2567 | Rewrite using indirect functions. | |
2568 | (lwp_slwpcb): Ditto. | |
2569 | * config/i386/sse.md (avx_vextractf128<mode>): Ditto. | |
2570 | (avx_vinsertf128<mode>): Ditto. | |
2571 | ||
e101e12e AK |
2572 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2573 | ||
2574 | * config/s390/s390.c (s390_delegitimize_address): Handle GOTOFF | |
2575 | unspecs. | |
2576 | ||
4627c7fb AK |
2577 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2578 | ||
2579 | * config/s390/s390.c (s390_chunkify_start): Prevent literal pool | |
9e43ad68 | 2580 | splitting between a call and its corresponding CALL_ARG_LOCATION note. |
4627c7fb | 2581 | |
2d36b47f MK |
2582 | 2011-03-18 Maxim Kuvyrkov <maxim@codesourcery.com> |
2583 | ||
2584 | PR rtl-optimization/48170 | |
2585 | * gcse.c (hoist_code): Remove bogus asserts. | |
2586 | ||
2a3d7659 JL |
2587 | 2011-03-18 Georg-Johann Lay <avr@gjlay.de> |
2588 | ||
2589 | * ira-color.c (assign_hard_reg): Honor LOCAL_REGNO in cost | |
2590 | computation for prologue/epilogue. | |
2591 | ||
34c3ef05 RO |
2592 | 2011-03-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2593 | ||
2594 | * Makefile.in (check-consistency): Remove. | |
2595 | ||
81f2b976 JJ |
2596 | 2011-03-18 Jakub Jelinek <jakub@redhat.com> |
2597 | ||
2598 | PR debug/48176 | |
2599 | * dwarf2out.c (dwarf2out_finish): Call output_aranges even when | |
2600 | arange_table_in_use is 0, but either text_section_used or | |
2601 | cold_text_section_used is true. Don't call it if | |
2602 | !info_section_emitted. | |
2603 | ||
68fd7765 AS |
2604 | 2011-03-18 Anatoly Sokolov <aesok@post.ru> |
2605 | ||
2606 | * config/avr/avr.h (RET_REGISTER, LIBCALL_VALUE, | |
2607 | FUNCTION_VALUE_REGNO_P): Remove. | |
2608 | * config/avr/avr-protos.h (avr_ret_register, avr_libcall_value): | |
2609 | Remove. | |
2610 | * config/avr/avr.c (avr_ret_register): Make static inline. | |
2611 | (avr_function_value_regno_p): New function. | |
2612 | (avr_libcall_value): Make static. Add 'func' argument. | |
2613 | (avr_function_value): Make static. Rename 'func' argument to | |
2614 | 'fn_decl_or_type', forward it to avr_libcall_value. Call | |
2615 | avr_ret_register function instead of RET_REGISTER macro. | |
2616 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
2617 | ||
b4ef8aac JM |
2618 | 2011-03-18 Jason Merrill <jason@redhat.com> |
2619 | ||
2620 | PR c++/23372 | |
2621 | * gimplify.c (gimplify_arg): Strip redundant TARGET_EXPR. | |
2622 | ||
09a52fc3 RG |
2623 | 2011-03-18 Richard Guenther <rguenther@suse.de> |
2624 | ||
2625 | * doc/install.texi (--enable-gold): Remove. | |
2626 | (--with-plugin-ld): Document. | |
2627 | * doc/invoke.texi (-fuse-linker-plugin): Clarify. | |
2628 | ||
2a3d7659 | 2629 | 2011-03-18 Andrew Pinski <pinskia@gmail.com> |
3bf162a0 AP |
2630 | |
2631 | PR middle-end/47790 | |
2632 | * expr.c (optimize_bitfield_assignment_op): Revamp to work | |
2633 | again after expansion changes. | |
2634 | ||
2abbb0fe CLT |
2635 | 2011-03-18 Chung-Lin Tang <cltang@codesourcery.com> |
2636 | ||
2637 | * combine.c (try_combine): Do simplification only call of | |
2638 | subst() on i2 even when i1 is present. Update comments. | |
2639 | ||
2efd0aa6 KK |
2640 | 2011-03-18 Kaz Kojima <kkojima@gcc.gnu.org> |
2641 | ||
2642 | * config/sh/sh.c (sh_delegitimize_address): Handle UNSPEC_SYMOFF | |
2643 | and UNSPEC_PCREL_SYMOFF. | |
2644 | ||
30a49b23 AK |
2645 | 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
2646 | ||
2647 | * config/s390/s390.md: Use define_c_enum for the unspec constant | |
2648 | definitions. | |
2649 | ||
419e1853 JJ |
2650 | 2011-03-18 Richard Henderson <rth@redhat.com> |
2651 | Jakub Jelinek <jakub@redhat.com> | |
2652 | ||
2653 | PR bootstrap/48161 | |
2654 | * expr.c (expand_expr_addr_expr_1): Use simplify_gen_binary | |
2655 | instead of gen_rtx_PLUS if EXPAND_SUM or EXPAND_INITIALIZER. | |
2656 | ||
37875856 L |
2657 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
2658 | ||
2659 | PR middle-end/47725 | |
2660 | * combine.c (cant_combine_insn_p): Don't check zero/sign | |
2661 | extended hard registers. | |
2662 | ||
76069764 L |
2663 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
2664 | ||
2665 | PR middle-end/47725 | |
2666 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
2667 | hard registers. | |
2668 | ||
24da2019 AS |
2669 | 2011-03-17 Anatoly Sokolov <aesok@post.ru> |
2670 | ||
2671 | * config/v850/v850.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
2672 | * config/v850/v850-protos.h (v850_output_addr_const_extra): Remove. | |
2673 | * config/v850/v850.c (v850_output_addr_const_extra): Make static. | |
2674 | Change return type to bool. | |
2675 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
2676 | ||
a82ff31f JJ |
2677 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
2678 | ||
8b29c87a JJ |
2679 | PR debug/48163 |
2680 | * var-tracking.c (prepare_call_arguments): If CALL target | |
2681 | is a non-SYMBOL_REF CONSTANT_P, just add that into the list as | |
2682 | pc instead of looking it up using cselib_lookup and use | |
2683 | Pmode for it if x has VOIDmode. | |
2684 | * dwarf2out.c (gen_subprogram_die): If also both first and | |
2685 | second CONCAT arguments are VOIDmode, use mode of CONCAT itself. | |
2686 | ||
a82ff31f JJ |
2687 | PR debug/48163 |
2688 | * function.c (assign_parms): For data.passed_pointer parms | |
2689 | use MEM of data.entry_parm instead of data.entry_parm itself | |
2690 | as DECL_INCOMING_RTL. | |
2691 | * dwarf2out.c (rtl_for_decl_location): Use DECL_INCOMING_RTL | |
2692 | also when passed and declared mode is the same, DECL_RTL | |
2693 | is a MEM with pseudo as address and DECL_INCOMING_RTL is | |
2694 | a MEM too. | |
2695 | ||
82ce305c JL |
2696 | 2011-03-16 Jeff Law <law@redhat.com> |
2697 | ||
2698 | PR rtl-optimization/37273 | |
2699 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
2700 | handle them like argument loads from stack slots. Do not double | |
2701 | count memory for memory constants and argument loads from stack slots. | |
2702 | ||
fe58e02b L |
2703 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
2704 | ||
2705 | PR debug/48160 | |
2706 | * var-tracking.c (prepare_call_arguments): Check SUBREG. | |
2707 | ||
6fc4dbc7 L |
2708 | 2011-03-17 H.J. Lu <hongjiu.lu@intel.com> |
2709 | ||
2710 | PR target/48171 | |
2711 | * config/i386/i386.opt: Add Save to -mavx and -mfma. | |
2712 | ||
db3ed0b3 JJ |
2713 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
2714 | ||
8054a389 JJ |
2715 | PR bootstrap/48153 |
2716 | * dwarf2out.c (mem_loc_descriptor) <case ENTRY_VALUE>: Return NULL | |
2717 | if dwarf_strict. | |
2718 | (gen_subprogram_die): Don't add call_site DIEs if dwarf_strict. | |
2719 | Clear call_arg_locations and call_arg_loc_last always. | |
2720 | ||
db3ed0b3 JJ |
2721 | PR middle-end/48152 |
2722 | * var-tracking.c (prepare_call_arguments): If argument needs to be | |
2723 | passed by reference, adjust argtype and mode. | |
2724 | ||
1bce4ff3 RG |
2725 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
2726 | ||
2727 | PR middle-end/48134 | |
2728 | * tree-ssa.c (insert_debug_temp_for_var_def): If we propagated | |
2729 | a value make sure to fold the statement. | |
2730 | ||
7c71147d CLT |
2731 | 2011-03-17 Chung-Lin Tang <cltang@codesourcery.com> |
2732 | ||
2733 | PR target/43872 | |
2734 | * config/arm/arm.c (arm_get_frame_offsets): Adjust early | |
2735 | return condition with !cfun->calls_alloca. | |
2736 | ||
0e1ee172 RG |
2737 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
2738 | ||
2739 | PR bootstrap/48148 | |
2740 | * lto-cgraph.c (input_overwrite_node): Clear the abstract | |
2741 | origin for decls in other ltrans units. | |
2742 | (input_varpool_node): Likewise. | |
2743 | ||
f8bce518 RG |
2744 | 2011-03-17 Richard Guenther <rguenther@suse.de> |
2745 | ||
2746 | PR middle-end/48165 | |
2747 | * tree-object-size.c (compute_object_offset): Properly return | |
2748 | the offset operand of MEM_REFs as sizetype. | |
2749 | ||
1b6fa860 JJ |
2750 | 2011-03-17 Jakub Jelinek <jakub@redhat.com> |
2751 | ||
dabd47e7 JJ |
2752 | PR rtl-optimization/48141 |
2753 | * params.def (PARAM_MAX_DSE_ACTIVE_LOCAL_STORES): New. | |
2754 | * dse.c: Include params.h. | |
2755 | (active_local_stores_len): New variable. | |
2756 | (add_wild_read, dse_step1): Clear it when setting active_local_stores | |
2757 | to NULL. | |
2758 | (record_store, check_mem_read_rtx): Decrease it when removing | |
2759 | from the chain. | |
2760 | (scan_insn): Likewise. Increase it when adding to chain, if it | |
2761 | reaches PARAM_MAX_DSE_ACTIVE_LOCAL_STORES limit, set to 1 and | |
2762 | set active_local_stores to NULL before the addition. | |
2763 | * Makefile.in (dse.o): Depend on $(PARAMS_H). | |
2764 | ||
1b6fa860 JJ |
2765 | PR rtl-optimization/48141 |
2766 | * dse.c (record_store): If no positions are needed in an insn | |
2767 | that cannot be deleted, at least unchain it from active_local_stores. | |
2768 | ||
7b5cb7d6 DS |
2769 | 2011-03-16 Dodji Seketeli <dodji@redhat.com> |
2770 | ||
2771 | PR debug/47510 | |
2772 | * dwarf2out.c (strip_naming_typedef): Factorize out of ... | |
2773 | (lookup_type_die_strip_naming_typedef): ... here. | |
2774 | (get_context_die): Use it. | |
2775 | (gen_typedef_die): Add a DW_AT_{,MIPS_}linkage_name attribute to | |
2776 | the anonymous struct named by the naming typedef. | |
2777 | ||
585e9d9d L |
2778 | 2011-03-16 H.J. Lu <hongjiu.lu@intel.com> |
2779 | ||
2780 | PR target/48154 | |
2781 | * config/i386/i386.c (ix86_builtin_vectorized_function): Check | |
2782 | TARGET_ROUND for BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
2783 | ||
6261ab0e JL |
2784 | 2011-03-16 Jeff Law <law@redhat.com> |
2785 | ||
2786 | * tree-vrp.c (identify_jump_threads): Slightly simplify type | |
16cc4440 | 2787 | check for operands of conditional. Allow type to be a pointer. |
6261ab0e | 2788 | |
0b0081ec RG |
2789 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
2790 | ||
2791 | PR tree-optimization/48149 | |
2792 | * fold-const.c (fold_binary_loc): Fold | |
2793 | COMPLEX_EXPR <REALPART_EXPR <x>, IMAGPART_EXPR <x>>. | |
2794 | ||
64a3d647 RG |
2795 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
2796 | ||
2797 | PR tree-optimization/26134 | |
2798 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Handle rewriting | |
2799 | complex part accesses to REALPART_EXPR and IMAGPART_EXPR. | |
2800 | (non_rewritable_mem_ref_base): Handle complex type component | |
2801 | accesses, constrain offsets for vector and complex extracts | |
2802 | more properly. | |
2803 | ||
ef13324e RG |
2804 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
2805 | ||
2806 | PR tree-optimization/48146 | |
2807 | * tree-ssa-sink.c (sink_code_in_bb): Manually update virtual | |
2808 | operands avoiding the need for renaming. | |
2809 | ||
f0eddb90 RG |
2810 | 2011-03-16 Richard Guenther <rguenther@suse.de> |
2811 | ||
2812 | * gimple-fold.c (maybe_fold_reference): Open-code relevant | |
2813 | constant folding. Move MEM_REF canonicalization first. | |
2814 | Rely on fold_const_aggregate_ref for initializer folding. | |
2815 | * tree-ssa-ccp.c (ccp_fold): Handle constant vector extracts. | |
2816 | ||
e42348b8 JJ |
2817 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
2818 | ||
29f10e71 JJ |
2819 | PR middle-end/48136 |
2820 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Make sure | |
2821 | arg0/arg1 or their arguments are always fold converted to matching | |
2822 | types. | |
2823 | ||
e42348b8 JJ |
2824 | * var-tracking.c (prepare_call_arguments): Add ATTRIBUTE_UNUSED |
2825 | to nargs. | |
2826 | ||
55b46574 RO |
2827 | 2011-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2828 | ||
2829 | PR lto/46944 | |
2830 | * configure.ac (gcc_cv_gld_major_version, gcc_cv_gld_minor): | |
2831 | Handle in-tree gold. | |
2832 | (ld_vers): Extract binutils version for gold. | |
2833 | (gcc_cv_ld_hidden): Handle gold here. | |
2834 | (gcc_cv_lto_plugin): Determine level of linker plugin support. | |
2835 | * configure: Regenerate. | |
2836 | * config.in: Regenerate. | |
2837 | * gcc.c: Only use LTO plugin if HAVE_LTO_PLUGIN > 0, reject | |
2838 | -fuse-linker-plugin otherwise. | |
2839 | (LINK_PLUGIN_SPEC): Define. Extract from LINK_COMMAND_SPEC. | |
2840 | (LINK_COMMAND_SPEC): Use it. | |
2841 | (main): Only look for LTOPLUGINSONAME if HAVE_LTO_PLUGIN > 0. | |
2842 | ||
2b1c5433 JJ |
2843 | 2011-03-16 Jakub Jelinek <jakub@redhat.com> |
2844 | ||
c2969d8e JJ |
2845 | * emit-rtl.c (try_split): Don't call copy_call_info debug hook. |
2846 | * calls.c: Remove debug.h include. | |
2847 | (emit_call_1): Don't call virtual_call_token debug hook. | |
2848 | * dwarf2out.c (debug_dcall_section, debug_vcall_section, | |
2849 | dcall_entry, vcall_entry, dcall_table, vcall_table, vcall_insn, | |
2850 | vcall_insn_table, DEBUG_DCALL_SECTION, DEBUG_VCALL_SECTION, | |
2851 | size_of_dcall_table, output_dcall_table, size_of_vcall_table, | |
2852 | output_vcall_table, dwarf2out_direct_call, vcall_insn_table_hash, | |
2853 | vcall_insn_table_eq, store_vcall_insn, lookup_vcall_insn, | |
2854 | dwarf2out_virtual_call_token, dwarf2out_copy_call_info, | |
2855 | dwarf2out_virtual_call): Remove. | |
2856 | (dwarf2_debug_hooks): Remove direct_call, virtual_call_token, | |
2857 | copy_call_info and virtual_call hooks. | |
2858 | (dwarf2out_init): Don't initialize vcall_insn_table, | |
2859 | debug_dcall_section and debug_vcall_section. | |
2860 | (prune_unused_types): Don't mark nodes from dcall_table. | |
2861 | (dwarf2out_finish): Don't output dcall or vcall tables. | |
2862 | * final.c (final_scan_insn): Don't call direct_call or | |
2863 | virtual_call debug hooks. | |
2864 | * debug.h (struct gcc_debug_hooks): Remove direct_call, | |
2865 | virtual_call_token, copy_call_info and virtual_call hooks. | |
2866 | (debug_nothing_uid): Remove prototype. | |
2867 | * sdbout.c (sdb_debug_hooks): Remove direct_call, virtual_call_token, | |
2868 | copy_call_info and virtual_call hooks. | |
2869 | * vmsdbgout.c (vmsdbg_debug_hooks): Likewise. | |
2870 | * dbxout.c (dbx_debug_hooks, xcoff_debug_hooks): Likewise. | |
2871 | * debug.c (do_nothing_debug_hooks): Likewise. | |
2872 | (debug_nothing_uid): Remove. | |
2873 | * doc/invoke.texi (-fenable-icf-debug): Remove. | |
2874 | * common.opt (-fenable-icf-debug): Likewise. | |
2875 | ||
325f5379 JJ |
2876 | * calls.c (emit_call_1): Set MEM_EXPR on call's MEM. |
2877 | * var-tracking.c (prepare_call_arguments): Use MEM_EXPR on | |
2878 | call's MEM. Handle functions returning aggregate through a hidden | |
2879 | first pointer. For virtual calls add clobbered pc to call arguments | |
2880 | chain. | |
2881 | * dwarf2out.c (gen_subprogram_die): Emit | |
2882 | DW_AT_GNU_call_site_target_clobbered if DW_AT_GNU_call_site_target | |
2883 | can't be emitted. | |
2884 | ||
a58a8e4b JJ |
2885 | PR debug/45882 |
2886 | * rtl.def (ENTRY_VALUE): Change format from "e" to "0". | |
2887 | * rtl.h (ENTRY_VALUE_EXP): Define. | |
2888 | * rtl.c (rtx_equal_p_cb, rtx_equal_p): Handle ENTRY_VALUE. | |
2889 | * cselib.c (rtx_equal_for_cselib_p, cselib_hash_rtx): Likewise. | |
2890 | * print-rtl.c (print_rtx): Likewise. | |
2891 | * gengtype.c (adjust_field_rtx_def): Likewise. | |
2892 | * var-tracking.c (vt_add_function_parameter): Adjust | |
2893 | gen_rtx_ENTRY_VALUE uses, use ENTRY_VALUE_EXP macro. | |
2894 | * dwarf2out.c (mem_loc_descriptor): Use ENTRY_VALUE_EXP macro. | |
2895 | * cfgexpand.c (expand_debug_expr): If a SSA_NAME without | |
2896 | partition is a default definition of a PARM_DECL, use ENTRY_VALUE | |
2897 | of its DECL_INCOMING_RTL if possible, or its DECL_RTL if set. | |
2898 | ||
2b1c5433 JJ |
2899 | * final.c (final_scan_insn): Handle NOTE_INSN_CALL_ARG_LOCATION. |
2900 | Call var_location debug hook even on CALL_INSNs. | |
2901 | (rest_of_clean_state): Don't print NOTE_INSN_CALL_ARG_LOCATION. | |
2902 | * rtl.def (ENTRY_VALUE): New. | |
2903 | * dwarf2out.c: Include cfglayout.h. | |
2904 | (dwarf_stack_op_name, size_of_loc_descr, output_loc_operands, | |
2905 | output_loc_operands_raw): Handle DW_OP_GNU_entry_value. | |
2906 | (struct call_arg_loc_node): New type. | |
2907 | (call_arg_locations, call_arg_loc_last, block_map, call_site_count, | |
2908 | tail_call_site_count): New variables. | |
2909 | (dwarf_tag_name): Handle DW_TAG_GNU_call_site and | |
2910 | DW_TAG_GNU_call_site_parameter. | |
2911 | (dwarf_attr_name): Handle DW_AT_GNU_call_site_value, | |
2912 | DW_AT_GNU_call_site_data_value, DW_AT_GNU_call_site_target, | |
2913 | DW_AT_GNU_call_site_target_clobbered, DW_AT_GNU_tail_call, | |
2914 | DW_AT_GNU_all_tail_call_sites, DW_AT_GNU_all_call_sites | |
2915 | and DW_AT_GNU_all_source_call_sites. | |
2916 | (mem_loc_descriptor): Handle ENTRY_VALUE. | |
2917 | (add_src_coords_attributes): Don't add enything if | |
2918 | DECL_SOURCE_LOCATION is UNKNOWN_LOCATION. | |
2919 | (dwarf2out_abstract_function): Save and clear call_arg_location, | |
2920 | call_site_count and tail_call_site_count around dwarf2out_decl call. | |
2921 | (gen_call_site_die): New function. | |
2922 | (gen_subprogram_die): Emit DW_TAG_GNU_call_site DIEs for call sites. | |
2923 | (gen_lexical_block_die, gen_inlined_subroutine_die): Update block_map. | |
2924 | (dwarf2out_function_decl): Clear call_arg_locations, | |
2925 | call_arg_loc_last, set call_site_count and tail_call_site_count | |
2926 | to -1 and free block_map. | |
2927 | (dwarf2out_var_location): Handle NOTE_INSN_CALL_ARG_LOCATION and | |
2928 | CALL_INSNs. Add NOTE_DURING_CALL_P var location notes even when not | |
2929 | followed by any real instructions. | |
2930 | (dwarf2out_begin_function): Set call_site_count and | |
2931 | tail_call_site_count to 0. | |
2932 | (resolve_addr): If DW_AT_abstract_origin of DW_TAG_GNU_call_site | |
2933 | is dw_val_class_addr, attempt to look it up again, for DECL_EXTERNAL | |
2934 | attempt to force a DIE for it and worst case remove the attribute. | |
2935 | (resolve_one_addr): For TREE_CONSTANT_POOL_ADDRESS_P SYMBOL_REFs | |
2936 | check TREE_ASM_WRITTEN of DECL_INITIAL of the decl instead of | |
2937 | the decl itself. | |
2938 | * var-tracking.c: Include tm_p.h. | |
2939 | (vt_stack_adjustments): For calls call note_register_arguments. | |
2940 | (argument_reg_set): New variable. | |
2941 | (add_stores): For MO_VAL_SET of non-tracked regs from argument_reg_set | |
2942 | ensure the VALUE is resolved. | |
2943 | (call_arguments): New variable. | |
2944 | (prepare_call_arguments): New function. | |
2945 | (add_with_sets): For MO_CALL set u.loc from call_arguments and clear it. | |
2946 | (struct expand_loc_callback_data): Add ignore_cur_loc field. | |
2947 | (vt_expand_loc_callback): If ignore_cur_loc, don't look at cur_loc and | |
2948 | always use the best expression. | |
2949 | (vt_expand_loc): Add ignore_cur_loc argument. | |
2950 | (vt_expand_loc_dummy): Clear ignore_cur_loc field. | |
2951 | (emit_note_insn_var_location): Adjust vt_expand_loc callers. | |
2952 | (emit_notes_in_bb) <case MO_CALL>: Add NOTE_INSN_CALL_ARG_LOCATION | |
2953 | note for all calls. | |
2954 | (vt_add_function_parameter): Use cselib_lookup_from_insn. | |
2955 | If dv is a VALUE, enter into hash table also ENTRY_VALUE for the | |
2956 | argument. Don't call cselib_preserve_only_values and | |
2957 | cselib_reset_table. | |
2958 | (note_register_arguments): New function. | |
2959 | (vt_initialize): Compute argument_reg_set. Call | |
2960 | vt_add_function_parameters before processing basic blocks instead of | |
2961 | afterwards. For calls call prepare_call_arguments before calling | |
2962 | cselib_process_insn. | |
2963 | * print-rtl.c (print_rtx): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
2964 | * Makefile.in (dwarf2out.o): Depend on $(CFGLAYOUT_H). | |
2965 | (var-tracking.o): Depend on $(TM_P_H). | |
2966 | * cfglayout.h (insn_scope): New prototype. | |
2967 | * gengtype.c (adjust_field_rtx_def): Handle NOTE_INSN_CALL_ARG_LOCATION. | |
2968 | * cfglayout.c (insn_scope): No longer static. | |
2969 | * insn-notes.def (CALL_ARG_LOCATION): New. | |
2970 | * calls.c (expand_call, emit_library_call_value_1): Put USEs for | |
2971 | MEM arguments into CALL_INSN_FUNCTION_USAGE unconditionally. | |
2972 | * integrate.c (set_block_origin_self, set_block_abstract_flags): Do | |
2973 | nothing for DECL_EXTERNAL BLOCK_VARS. | |
2974 | ||
9ef13bd0 AM |
2975 | 2011-03-16 Alan Modra <amodra@gmail.com> |
2976 | ||
2977 | PR target/45844 | |
2978 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Don't | |
2979 | create invalid offset address for vsx splat insn. | |
2980 | * config/rs6000/predicates.md (splat_input_operand): New. | |
2981 | * config/rs6000/vsx.md (vsx_splat_*): Use it. | |
2982 | ||
56b67510 XDL |
2983 | 2011-03-15 Xinliang David Li <davidxl@google.com> |
2984 | ||
2985 | PR c/47837 | |
2986 | * tree-ssa-uninit.c (pred_chain_length_cmp): New function. | |
2987 | (normalize_preds): New function. | |
2988 | (is_use_properly_guarded): Normalize def predicates. | |
2989 | ||
80fffdef RR |
2990 | 2011-03-15 Ramana Radhakrishnan <ramana.radhakrishnan@linaro.org> |
2991 | ||
732f37c6 | 2992 | PR target/46788 |
80fffdef RR |
2993 | * config/arm/arm.md (arm_movtas_ze): Use 'L' instead of 'c' |
2994 | in the output template. | |
2995 | ||
930672ad RG |
2996 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
2997 | ||
2998 | PR middle-end/47650 | |
2999 | * tree-pretty-print.c (dump_function_declaration): Properly | |
3000 | dump unprototyped and varargs function types. | |
3001 | ||
c7ee7b45 RG |
3002 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
3003 | ||
3004 | PR tree-optimization/13954 | |
3005 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Look through memcpy | |
3006 | and friends. | |
3007 | ||
b2ad5e37 RG |
3008 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
3009 | ||
3010 | PR tree-optimization/48037 | |
3011 | * tree-ssa.c (maybe_rewrite_mem_ref_base): Rewrite vector | |
3012 | selects into BIT_FIELD_REFs. | |
3013 | (non_rewritable_mem_ref_base): Check if a MEM_REF is a | |
3014 | vector select. | |
3015 | ||
7ee93d4e JJ |
3016 | 2011-03-15 Jakub Jelinek <jakub@redhat.com> |
3017 | ||
3018 | PR tree-optimization/48129 | |
3019 | * builtins.c (fold_builtin_snprintf): Convert to type of | |
3020 | built_in_decls[BUILT_IN_SNPRINTF] retval instead of | |
3021 | implicit_built_in_decls[BUILT_IN_SNPRINTF] retval. | |
3022 | ||
e106efc7 RG |
3023 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
3024 | ||
3025 | PR tree-optimization/41490 | |
3026 | * tree-ssa-dce.c (propagate_necessity): Handle returns without | |
3027 | value but with VUSE. | |
3028 | * tree-ssa-operands.c (parse_ssa_operands): Add a VUSE on all | |
3029 | return statements. | |
3030 | * tree-ssa-sink.c (statement_sink_location): Fix store sinking. | |
3031 | * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Handle virtual PHIs. | |
3032 | * tree-tailcall.c (find_tail_calls): Ignore returns. | |
3033 | ||
17dea42f RG |
3034 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
3035 | ||
3036 | PR middle-end/48031 | |
3037 | * fold-const.c (fold_indirect_ref_1): Do not create new variable-sized | |
3038 | or variable-indexed array accesses when in gimple form. | |
3039 | ||
01c77a60 RG |
3040 | 2011-03-15 Richard Guenther <rguenther@suse.de> |
3041 | ||
16cc4440 | 3042 | * config/i386/i386.c (ix86_emit_swdivsf): Implement more efficiently. |
01c77a60 | 3043 | |
77b0791e AM |
3044 | 2011-03-15 Alan Modra <amodra@gmail.com> |
3045 | ||
3046 | PR target/48032 | |
3047 | * config/rs6000/rs6000.c (offsettable_ok_by_alignment): Do not | |
3048 | presume symbol_refs without a symbol_ref_decl are suitably | |
3049 | aligned, nor other trees we may see here. Handle anchor symbols. | |
3050 | (legitimate_constant_pool_address_p): Comment. Add mode param. | |
3051 | Check cmodel=medium addresses. Adjust all calls. | |
3052 | (rs6000_emit_move): Don't call offsettable_ok_by_alignment on | |
3053 | creating cmodel=medium optimized access to locals. | |
3054 | * config/rs6000/constraints.md (R): Pass QImode to | |
3055 | legitimate_constant_pool_address_p. | |
3056 | * config/rs6000/predicates.md (input_operand): Pass mode to | |
3057 | legitimate_constant_pool_address_p. | |
3058 | * config/rs6000/rs6000-protos.h (legitimate_constant_pool_address_p): | |
3059 | Update prototype. | |
3060 | ||
35f61ba4 MM |
3061 | 2011-03-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
3062 | ||
3063 | PR target/48053 | |
3064 | * config/rs6000/rs6000.md (movdi split for 32-bit): Don't split up | |
3065 | 64-bit constants being loaded into registers other than GPRs such | |
3066 | as loading 0 into a VSX register. | |
3067 | ||
07332e6d RO |
3068 | 2011-03-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3069 | ||
16cc4440 | 3070 | * config/sol2.c (solaris_assemble_visibility): Remove obsolete URLs. |
07332e6d | 3071 | |
de888d90 JJ |
3072 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
3073 | ||
ba3ceb2d JJ |
3074 | PR middle-end/47917 |
3075 | * builtins.c (fold_builtin_snprintf): New function. | |
3076 | (fold_builtin_3): Call it for BUILT_IN_SNPRINTF. | |
3077 | (fold_builtin_4): Likewise. | |
3078 | ||
2e64f8b8 JJ |
3079 | PR middle-end/38878 |
3080 | * fold-const.c (fold_binary_loc) <case EQ_EXPR, NE_EXPR>: Add | |
3081 | STRIP_NOPS on arg0 and arg1. When optimizing X +- C == X | |
3082 | and C - X == X also strip nops from +/-/p+ operand. | |
3083 | When optimizing -X == C, fold C to arg0's type. | |
3084 | ||
de888d90 JJ |
3085 | PR debug/47946 |
3086 | * dwarf2out.c (add_bit_offset_attribute): If bit_offset is negative, | |
3087 | emit it as add_AT_int instead of add_AT_unsigned. | |
3088 | ||
3089 | 2011-03-14 Tom Tromey <tromey@redhat.com> | |
f4e749b4 TT |
3090 | |
3091 | * unwind-dw2.c: Include sys/sdt.h if it exists. | |
3092 | (_Unwind_DebugHook): Use STAP_PROBE2. | |
3093 | * config.in, configure: Rebuild. | |
3094 | * configure.ac: Check for sys/sdt.h. | |
3095 | ||
d34abfd2 UB |
3096 | 2011-03-14 Uros Bizjak <ubizjak@gmail.com> |
3097 | ||
3098 | * config/i386/i386.md (ROUND_FLOOR): New constant. | |
3099 | (ROUND_CEIL): Ditto. | |
3100 | (ROUND_TRUNC): Ditto. | |
3101 | (ROUND_MXCSR): Ditto. | |
3102 | (ROUND_NO_EXC): Ditto. | |
3103 | (rint<mode>2): Use new defines instead of numerical constants. | |
3104 | (floor<mode>2): Ditto. | |
3105 | (ceil<mode>2): Ditto. | |
3106 | (btrunc<mode>2): Ditto. | |
3107 | * config/i386/i386-builtin-types.def: Define ROUND function type | |
3108 | aliases. | |
3109 | * config/i386/i386.c (enum ix86_builtins): Add | |
3110 | IX86_BUILTIN_{FLOOR,CEIL,TRUNC,RINT}{PS,PD}{,256} defines. | |
3111 | (struct builtin_description): Add | |
3112 | __builtin_ia32_{floor,ceil,trunc,rint}{pd,ps}{,256} descriptions. | |
3113 | (ix86_expand_sse_round): New static function. | |
3114 | (ix86_expand_args_builtin): Call ix86_expand_sse_round for ROUND | |
3115 | function types. | |
3116 | (ix86_builtin_vectorized_function): Handle | |
3117 | BUILT_IN_{FLOOR,CEIL,TRUNC,RINT}{,F} builtins. | |
3118 | ||
87f9e23d TT |
3119 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
3120 | ||
3121 | * c-parser.c (c_parser_asm_string_literal): Clear | |
3122 | warn_overlength_strings. | |
3123 | ||
b3ab9ea2 TT |
3124 | 2011-03-14 Tom Tromey <tromey@redhat.com> |
3125 | ||
3126 | * c-parser.c (disable_extension_diagnostics): Save | |
3127 | warn_overlength_strings. | |
3128 | (restore_extension_diagnostics): Restore warn_overlength_strings. | |
3129 | ||
6bd73dd8 JJ |
3130 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
3131 | ||
3132 | * BASE-VER: Change to 4.7.0. | |
3133 | ||
7f4d6e1b RG |
3134 | 2011-03-14 Richard Guenther <rguenther@suse.de> |
3135 | ||
3136 | PR middle-end/48098 | |
3137 | * tree.c (build_vector_from_val): Adjust assert to requirements | |
3138 | and reality. | |
3139 | ||
c6104ef1 JJ |
3140 | 2011-03-14 Jakub Jelinek <jakub@redhat.com> |
3141 | ||
3142 | PR bootstrap/48102 | |
d34abfd2 | 3143 | * graphite-cloog-compat.h (build_cloog_prog): Remove STATE parameter. |
c6104ef1 | 3144 | |
dfa95e19 AT |
3145 | 2011-03-14 Andreas Tobler <andreast@fgznet.ch> |
3146 | ||
3147 | * config/rs6000/freebsd.h: (RELOCATABLE_NEEDS_FIXUP): Define in | |
3148 | terms of target_flags_explicit. Adjust copyright year. | |
3149 | ||
3150 | * config.gcc: Add FreeBSD PowerPC soft-float libgcc bits. | |
3151 | * config/rs6000/t-freebsd: New file. Add override for | |
3152 | LIB2FUNCS_EXTRA. | |
3153 | ||
bb322018 CD |
3154 | 2011-03-13 Chris Demetriou <cgd@google.com> |
3155 | ||
3156 | * doc/invoke.texi (-fdiagnostics-show-option): Replace with... | |
3157 | (-fno-diagnostics-show-option): this, to reflect current default. | |
3158 | (-Werror=): Update text about -fno-diagnostics-show-option. | |
3159 | ||
12b1c80b PB |
3160 | 2011-03-12 Peter Bergner <bergner@vnet.ibm.com> |
3161 | ||
3162 | PR target/48053 | |
3163 | * config/rs6000/predicates.md (easy_vector_constant_add_self, | |
3164 | easy_vector_constant_msb): Do not handle V2DImode and V2DFmode. | |
3165 | * config/rs6000/rs6000.c (const_vector_elt_as_int): Add assert that | |
3166 | mode is not V2DImode or V2DFmode. | |
3167 | (vspltis_constant): Do not handle V2DImode and V2DFmode. | |
3168 | (rs6000_expand_vector_init): Replace copy_to_reg with copy_to_mode_reg. | |
3169 | * config/rs6000/rs6000.md (movdi_internal32): Allow setting VSX | |
3170 | registers to 0. | |
3171 | (movdi_internal64): Likewise. | |
3172 | ||
57d598f7 SP |
3173 | 2011-03-12 Sebastian Pop <sebastian.pop@amd.com> |
3174 | ||
3175 | PR tree-optimization/47127 | |
3176 | * graphite-clast-to-gimple.c (build_cloog_prog): Removed state | |
3177 | parameter. | |
3178 | (set_cloog_options): Same. | |
3179 | (scop_to_clast): Same. | |
3180 | (print_clast_stmt): Do not call cloog_state_malloc and | |
3181 | cloog_state_free. | |
3182 | (print_generated_program): Same. | |
3183 | (gloog): Same. | |
3184 | * graphite-clast-to-gimple.h (cloog_state): Declared. | |
3185 | (scop_to_clast): Adjust declaration. | |
3186 | * graphite.c (cloog_state): Defined here. | |
3187 | (graphite_initialize): Call cloog_state_malloc. | |
3188 | (graphite_finalize): Call cloog_state_free. | |
3189 | ||
f231b5ff JM |
3190 | 2011-03-11 Jason Merrill <jason@redhat.com> |
3191 | ||
3192 | * attribs.c (lookup_attribute_spec): Take const_tree. | |
3193 | * tree.h: Adjust. | |
3194 | ||
6a4e2bd5 JM |
3195 | 2011-03-11 Joseph Myers <joseph@codesourcery.com> |
3196 | ||
3197 | * config/sparc/sparc.c (sparc_option_override): Use | |
3198 | PROCESSOR_NIAGARA2 not PROCESSOR_NIAGARA for "niagara2". | |
3199 | ||
a758fd67 RG |
3200 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
3201 | ||
3202 | PR tree-optimization/48067 | |
3203 | * tree-ssa-math-opts.c (convert_mult_to_fma): Verify the | |
3204 | multiplication result will be only used once on the target | |
3205 | stmt. | |
3206 | ||
03dfda54 RG |
3207 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
3208 | ||
3209 | * doc/invoke.texi (max-inline-insns-single): Adjust default value. | |
3210 | ||
5f11a50a RG |
3211 | 2011-03-11 Richard Guenther <rguenther@suse.de> |
3212 | ||
3213 | PR lto/48073 | |
3214 | * tree.c (find_decls_types_r): Do not walk types only reachable | |
3215 | from IDENTIFIER_NODEs. | |
3216 | ||
4074f163 JJ |
3217 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
3218 | ||
3219 | PR middle-end/48044 | |
3220 | * ipa.c (cgraph_remove_unreachable_nodes): Enqueue | |
3221 | all vnode->force_output nodes as needed. | |
3222 | ||
30f7cdcd JM |
3223 | 2011-03-11 Jason Merrill <jason@redhat.com> |
3224 | ||
3225 | PR c++/48069 | |
3226 | * tree.c (type_hash_eq): Use COMPLETE_TYPE_P, not | |
3227 | COMPLETE_OR_UNBOUND_ARRAY_TYPE_P. | |
3228 | ||
62ecfeb8 MJ |
3229 | 2011-03-11 Martin Jambor <mjambor@suse.cz> |
3230 | ||
3231 | * cgraphunit.c (verify_cgraph_node): Call cgraph_get_node instead of | |
3232 | cgraph_node. | |
3233 | ||
e89e03ab JJ |
3234 | 2011-03-11 Jakub Jelinek <jakub@redhat.com> |
3235 | ||
3236 | PR tree-optimization/48063 | |
3237 | * ipa-inline.c (cgraph_decide_inlining): Don't try to | |
3238 | inline functions called once if !tree_can_inline_p (node->callers). | |
3239 | ||
efbe978b | 3240 | 2011-03-11 Chen Liqin <liqin.gcc@gmail.com> |
9d6193a7 | 3241 | |
efbe978b EB |
3242 | * config.gcc (score-*-elf): Add extra_parts .., update tmake_file and |
3243 | extra_objs. | |
9d6193a7 CL |
3244 | * config/score/score3.c: Delete. |
3245 | * config/score/score3.h: Delete. | |
3246 | * config/score/mul-div.S: Delete. | |
3247 | * config/score/sfp-machine.h: Add new file. | |
3248 | * config/score/constraints.md: Add new file. | |
3249 | * config/score/t-score-softfp: Add new file. | |
efbe978b | 3250 | * config/score/t-score-elf: Remove score3.o, do not generate multilib. |
9d6193a7 CL |
3251 | * config/score/score7.c (score7_const_ok_for_letter_p): Delete. |
3252 | (score7_extra_constraint): Delete. | |
efbe978b | 3253 | (score7_option_override): Remove unused code. |
9d6193a7 CL |
3254 | * config/score/score.c: Remove score3 and score5 define and code. |
3255 | * config/score/score.h: Remove score3 and score5 define and code. | |
efbe978b | 3256 | * config/score/score.md: Remove score3 template and unusual insn. |
9d6193a7 CL |
3257 | * config/score/score.opt: Remove score3 and score5 options. |
3258 | ||
5de27cca JDA |
3259 | 2011-03-10 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3260 | ||
3261 | * config/pa/pa-hpux10.h (TARGET_OS_CPP_BUILTINS): Define _REENTRANT | |
3262 | when _HPUX_SOURCE is defined. | |
3263 | (LIB_SPEC): Use -lc instead of -lc_r when -threads is specified. | |
3264 | ||
18d92053 JM |
3265 | 2011-03-10 Jason Merrill <jason@redhat.com> |
3266 | ||
3267 | PR c++/48029 | |
3268 | * stor-layout.c (layout_type): Don't set structural equality | |
3269 | on arrays of incomplete type. | |
3270 | * tree.c (type_hash_eq): Handle comparing them properly. | |
3271 | ||
67a2f76d JJ |
3272 | 2011-03-10 Jakub Jelinek <jakub@redhat.com> |
3273 | ||
3274 | PR debug/48043 | |
18d92053 | 3275 | * config/s390/s390.c (s390_delegitimize_address): Make sure the |
67a2f76d JJ |
3276 | result mode matches original rtl mode. |
3277 | ||
d845b2f9 NC |
3278 | 2011-03-10 Nick Clifton <nickc@redhat.com> |
3279 | ||
3280 | * config/rx/rx.md (bitset_in_memory, bitclr_in_memory: Fix timings. | |
39242686 | 3281 | (andsi3, andsi3_flags): Fix timings for three operand alternative. |
d845b2f9 | 3282 | |
db7ec035 JJ |
3283 | 2011-03-09 Jakub Jelinek <jakub@redhat.com> |
3284 | ||
3285 | PR rtl-optimization/47866 | |
3286 | * expr.c (store_field): If MEM_SCALAR_P (target), don't use | |
3287 | MEM_SET_IN_STRUCT_P (to_rtx, 1), just set MEM_IN_STRUCT_P (to_rtx) | |
3288 | if target wasn't scalar. | |
3289 | * function.c (assign_stack_temp_for_type): Assert that neither | |
3290 | MEM_SCALAR_P nor MEM_IN_STRUCT_P is set previously, set either | |
3291 | MEM_IN_STRUCT_P or MEM_SCALAR_P instead of using MEM_SET_IN_STRUCT_P | |
3292 | macro. | |
3293 | * rtl.h (MEM_SET_IN_STRUCT_P): Removed. | |
3294 | ||
5d304e47 AK |
3295 | 2011-03-09 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3296 | ||
3297 | * config/s390/s390-protos.h (s390_label_align): New prototype. | |
3298 | * config/s390/s390.c (s390_label_align): New function. | |
3299 | * config/s390/s390.h (LABEL_ALIGN): New target macro definition. | |
3300 | ||
93b826f0 MM |
3301 | 2011-03-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
3302 | ||
3303 | PR target/47755 | |
3304 | * config/rs6000/rs6000.c (easy_altivec_constant): Correctly handle | |
3305 | V2DI/V2DF constants. Only all 0's or all 1's are easy. | |
3306 | (output_vec_const_move): Ditto. | |
3307 | ||
ef78aed6 AS |
3308 | 2011-03-08 Anatoly Sokolov <aesok@post.ru> |
3309 | ||
3310 | * config/mips/mips.h (PREFERRED_RELOAD_CLASS): Remove macro. | |
3311 | * config/mips/mips-protos.h (mips_preferred_reload_class): Remove. | |
3312 | * config/mips/mips.c (mips_preferred_reload_class): Make static. | |
3313 | Change 'rclass' argument and result type to reg_class_t. | |
3314 | (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
3315 | ||
5f892aa0 GJL |
3316 | 2011-03-08 Georg-Johann Lay <avr@gjlay.de> |
3317 | ||
9e43ad68 UB |
3318 | * config/avr/avr.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. |
3319 | * config/avr/avr.c (TARGET_REGISTER_MOVE_COST) | |
3320 | (TARGET_MEMORY_MOVE_COST): Define. | |
3321 | (avr_register_move_cost, avr_memory_move_cost): New Functions. | |
5f892aa0 | 3322 | |
32bd2409 JJ |
3323 | 2011-03-08 Jakub Jelinek <jakub@redhat.com> |
3324 | ||
530a4800 JJ |
3325 | PR debug/47881 |
3326 | * ira.c (ira): Call df_analyze again if delete_trivially_dead_insns | |
3327 | removed anything. | |
3328 | ||
32bd2409 JJ |
3329 | PR tree-optimization/48022 |
3330 | * fold-const.c (fold_comparison): Don't call fold_overflow_warning | |
3331 | for EQ/NE_EXPR. | |
3332 | ||
c7148991 JJ |
3333 | 2011-03-07 Jakub Jelinek <jakub@redhat.com> |
3334 | ||
3335 | PR debug/47991 | |
3336 | * var-tracking.c (find_use_val): Return NULL for | |
3337 | cui->sets && cui->store_p BLKmode MEMs. | |
3338 | ||
43070a6e AS |
3339 | 2011-03-07 Anatoly Sokolov <aesok@post.ru> |
3340 | ||
3341 | * config/stormy16/stormy16.h (PRINT_OPERAND, PRINT_OPERAND_ADDRESS): | |
3342 | Remove. | |
3343 | * config/stormy16/stormy16-protos.h (xstormy16_print_operand, | |
3344 | xstormy16_print_operand_address): Remove. | |
3345 | * config/stormy16/stormy16.c (xstormy16_print_operand, | |
3346 | xstormy16_print_operand_address): Make static. | |
3347 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
3348 | ||
efbe978b | 3349 | 2011-03-07 Pat Haugen <pthaugen@us.ibm.com> |
79eefb0d PH |
3350 | |
3351 | PR target/47862 | |
3352 | * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
3353 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Undefine | |
3354 | before definition. | |
3355 | ||
cec8ac0b ZD |
3356 | 2011-03-07 Zdenek Dvorak <ook@ucw.cz> |
3357 | ||
3358 | PR bootstrap/48000 | |
3359 | * cfgloopmanip.c (fix_bb_placements): Return immediately | |
3360 | if FROM is BASE_LOOP's header. | |
3361 | ||
59527282 PW |
3362 | 2011-03-07 Paul Wögerer <paul_woegerer@mentor.com> |
3363 | ||
3364 | * gimplify.c (gimplify_function_tree): Fix building calls | |
3365 | to __builtin_return_address. | |
3366 | ||
617718f7 AM |
3367 | 2011-03-07 Alan Modra <amodra@gmail.com> |
3368 | ||
3369 | * config/rs6000/linux.h (TARGET_ASM_FILE_END): Don't define. | |
3370 | * config/rs6000/linux64.h (TARGET_ASM_FILE_END): Don't define. | |
3371 | * config/rs6000/sysv4.h (TARGET_ASM_FILE_END): Define. | |
3372 | * config/rs6000/rs6000-protos.h (init_cumulative_args): Add fndecl and | |
3373 | return_mode args. | |
3374 | * config/rs6000/rs6000.h (CUMULATIVE_ARGS): Add "escapes". | |
3375 | (INIT_CUMULATIVE_ARGS): Pass FNDECL, VOIDmode. | |
3376 | (INIT_CUMULATIVE_INCOMING_ARGS): Pass current_function_decl, VOIDmode. | |
3377 | (INIT_CUMULATIVE_LIBCALL_ARGS): Pass NULL_TREE, MODE. | |
3378 | * config/rs6000/rs6000.c | |
3379 | (rs6000_elf_end_indicate_exec_stack): Rename to.. | |
3380 | (rs6000_elf_file_end): ..this. Only call file_end_indicate_exec_stack | |
3381 | for POWERPC_LINUX. Move code emitting .gnu_attribute to here, from.. | |
3382 | (rs6000_file_start): ..here. | |
3383 | (rs6000_passes_float, rs6000_passes_vector, rs6000_returns_struct): New | |
3384 | file scope variables. | |
3385 | (call_ABI_of_interest): New function. | |
3386 | (init_cumulative_args): Set above vars when function return value | |
3387 | is a float, vector, or small struct. | |
3388 | (rs6000_function_arg_advance_1): Likewise for function args. | |
3389 | (rs6000_va_start): Set rs6000_passes_float if variable arg function | |
3390 | references float args. | |
3391 | ||
38528d50 MX |
3392 | 2011-03-07 Mingjie Xing <mingjie.xing@gmail.com> |
3393 | ||
3394 | * doc/cfg.texi: Remove "See" before @ref. | |
3395 | * doc/invoke.texi: Likewise. | |
3396 | ||
f42cf4f4 JM |
3397 | 2011-03-05 Jason Merrill <jason@redhat.com> |
3398 | ||
3399 | * doc/invoke.texi (C++ Dialect Options): Document ABI v5. | |
3400 | ||
804a304d AG |
3401 | 2011-03-05 Anthony Green <green@moxielogic.com> |
3402 | ||
3403 | * config.gcc (moxie-*-elf): Add newlib-stdint.h to tmfile. | |
3404 | ||
634ee309 ZD |
3405 | 2011-03-05 Zdenek Dvorak <ook@ucw.cz> |
3406 | ||
3407 | PR rtl-optimization/47899 | |
3408 | * cfgloopmanip.c (fix_bb_placements): Fix first argument | |
3409 | to flow_loop_nested_p when moving the loop upward. | |
3410 | ||
6fe471c8 RE |
3411 | 2011-03-05 Richard Earnshaw <rearnsha@arm.com> |
3412 | ||
3413 | PR target/47719 | |
3414 | * arm.md (movhi_insn_arch4): Accept any immediate constant. | |
3415 | ||
cc58ceee JJ |
3416 | 2011-03-05 Jakub Jelinek <jakub@redhat.com> |
3417 | ||
3418 | PR tree-optimization/47967 | |
3419 | * ipa-cp.c (build_const_val): Return NULL instead of creating | |
3420 | VIEW_CONVERT_EXPR for mismatching sizes. | |
3421 | (ipcp_create_replace_map): Return NULL if build_const_val failed. | |
3422 | (ipcp_insert_stage): If ipcp_create_replace_map returns NULL, | |
3423 | give up on versioning. | |
3424 | ||
ea868305 AM |
3425 | 2011-03-05 Alan Modra <amodra@gmail.com> |
3426 | ||
3427 | PR target/47986 | |
3428 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
3429 | full cmodel medium/large lo_sum + high addresses. | |
3430 | ||
bc6ce334 AK |
3431 | 2011-03-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3432 | ||
3433 | * config/s390/s390.c (s390_decompose_address): Reject non-literal | |
3434 | pool references in UNSPEC_LTREL_OFFSET. | |
3435 | ||
87e7b310 JH |
3436 | 2011-03-04 Jan Hubicka <jh@suse.cz> |
3437 | ||
3438 | PR lto/47497 | |
3439 | * lto-symtab.c (lto_cgraph_replace_node): Do not set thunk.alias. | |
3440 | (lto_symtab_merge_cgraph_nodes_1): Update thunk.alias pointers here. | |
d34abfd2 UB |
3441 | * cgraph.h (cgraph_same_body_alias, cgraph_add_thunk): |
3442 | Add node pointers. | |
87e7b310 JH |
3443 | * cgraph.c (cgraph_same_body_alias_1, cgraph_same_body_alias, |
3444 | cgraph_add_thunk): Add node pointers. | |
3445 | * lto-cgraph.c (lto_output_node): Verify that thunks&aliases are | |
3446 | associated to right node. | |
3447 | (input_node): Update use of cgraph_same_body_alias | |
3448 | and cgraph_add_thunk. | |
3449 | ||
d9c64246 CF |
3450 | 2011-03-04 Changpeng Fang <changpeng.fang@amd.com> |
3451 | ||
3452 | * config/i386/i386.opt (mprefer-avx128): New flag. | |
d34abfd2 UB |
3453 | * config/i386/i386.c (ix86_preferred_simd_mode): Prefer 128-bit AVX |
3454 | modes when the flag -mprefer-avx128 is on. | |
d9c64246 | 3455 | |
08707076 RS |
3456 | 2011-03-04 Richard Sandiford <richard.sandiford@linaro.org> |
3457 | ||
3458 | * dwarf2out.c (compare_loc_operands): Fix address handling. | |
3459 | ||
52517c81 AM |
3460 | 2011-03-04 Alan Modra <amodra@gmail.com> |
3461 | ||
3462 | * tree.h (TREE_ADDRESSABLE): Update FUNCTION_DECL comment. | |
3463 | ||
b147c5b9 RG |
3464 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
3465 | ||
3466 | PR middle-end/47968 | |
3467 | * expmed.c (extract_bit_field_1): Prefer vector modes that | |
3468 | vec_extract patterns can handle. | |
3469 | ||
8750672f RG |
3470 | 2011-03-04 Richard Guenther <rguenther@suse.de> |
3471 | ||
3472 | PR middle-end/47975 | |
3473 | * optabs.c (optab_for_tree_code): Do not use VECTOR_MODE_P. | |
3474 | ||
9eac0f2a RH |
3475 | 2011-03-04 Richard Henderson <rth@redhat.com> |
3476 | ||
3477 | * explow.c (emit_stack_save): Remove 'after' parameter. | |
3478 | (emit_stack_restore): Likewise. | |
3479 | * expr.h: Update to match. | |
3480 | * builtins.c, calls.c, stmt.c: Likewise. | |
3481 | * config/alpha/alpha.md, config/avr/avr.md: Likewise. | |
3482 | * config/mips/mips.md, config/pa/pa.md, config/vax/vax.md: Likewise. | |
3483 | * function.c (expand_function_end): Insert the emit_stack_save | |
3484 | sequence before parm_birth_insn instead of after. | |
3485 | ||
dfee1406 UB |
3486 | 2011-03-03 Uros Bizjak <ubizjak@gmail.com> |
3487 | ||
3488 | * config/i386/sse.md (*avx_pmaddubsw128): Fix mode of VEC_SELECT RTX. | |
3489 | (ssse3_pmaddubsw128): Ditto. | |
3490 | (ssse3_pmaddubsw): Ditto. | |
3491 | ||
f1d4c3de SE |
3492 | 2011-03-03 Steve Ellcey <sje@cup.hp.com> |
3493 | ||
3494 | * config/ia64/t-hpux: Add $(srcdir)/unwind-c.c to LIB2ADDEH | |
3495 | ||
71f3a3f5 JJ |
3496 | 2011-03-03 Jakub Jelinek <jakub@redhat.com> |
3497 | ||
423ed416 JJ |
3498 | PR c/47963 |
3499 | * gimplify.c (omp_add_variable): Only call omp_notice_variable | |
3500 | on TYPE_SIZE_UNIT if it is a DECL. | |
3501 | ||
71f3a3f5 JJ |
3502 | PR debug/47283 |
3503 | * cfgexpand.c (expand_debug_expr) <case MEM_REF>: If MEM_REF | |
3504 | first operand is not is_gimple_mem_ref_addr, try to fold it. | |
3505 | If the operand still isn't is_gimple_mem_ref_addr, clear | |
3506 | MEM_EXPR on op0. | |
3507 | ||
4b1a5c0d RG |
3508 | 2011-03-03 Richard Guenther <rguenther@suse.de> |
3509 | ||
3510 | PR middle-end/47283 | |
3511 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Make code | |
3512 | match comment. | |
3513 | (refs_may_alias_p_1): For release branches return true if | |
3514 | we are confused by our input. | |
3515 | ||
b46616fd AK |
3516 | 2011-03-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3517 | ||
3518 | * config/s390/s390.c (s390_function_value): Rename to ... | |
3519 | (s390_function_and_libcall_value): ... this. | |
3520 | (s390_function_value): New function. | |
3521 | (s390_libcall_value): New function. | |
dfee1406 | 3522 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE): Define target hooks. |
b46616fd AK |
3523 | * config/s390/s390.h (FUNCTION_VALUE, LIBCALL_VALUE): Remove |
3524 | target macro definitions. | |
3525 | * config/s390/s390-protos.h (s390_function_value): Remove prototype. | |
3526 | ||
46d8fabb JM |
3527 | 2011-03-02 Joseph Myers <joseph@codesourcery.com> |
3528 | ||
3529 | * config/i386/freebsd64.h (CC1_SPEC): Define. | |
3530 | * config/i386/linux64.h (CC1_SPEC): Define. | |
3531 | * config/i386/x86-64.h (CC1_SPEC): Don't define. | |
3532 | ||
6b1ce545 AS |
3533 | 2011-03-02 Anatoly Sokolov <aesok@post.ru> |
3534 | ||
3535 | * config/stormy16/stormy16.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
3536 | Remove. | |
3537 | * config/stormy16/stormy16.c: Include reload.h. | |
3538 | (xstormy16_memory_move_cost): New function. | |
3539 | (TARGET_MEMORY_MOVE_COST): Define. | |
3540 | ||
34161e98 RS |
3541 | 2011-03-02 Richard Sandiford <richard.sandiford@linaro.org> |
3542 | ||
3543 | PR rtl-optimization/47925 | |
3544 | * cse.c (count_reg_usage): Don't ignore the SET_DEST of instructions | |
3545 | with side effects. Remove the more-specific check for volatile asms. | |
3546 | ||
f60a97cf AM |
3547 | 2011-03-02 Alan Modra <amodra@gmail.com> |
3548 | ||
3549 | PR target/47935 | |
3550 | * config/rs6000/predicates.md (lwa_operand): Check cmodel medium | |
3551 | toc relative addresses for valid offsets. | |
3552 | ||
f2ca11ca RG |
3553 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
3554 | ||
3555 | PR tree-optimization/47890 | |
3556 | * tree-vect-loop.c (get_initial_def_for_induction): Set | |
3557 | related stmt properly. | |
3558 | ||
7a00d9ea RG |
3559 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
3560 | ||
3561 | PR lto/47924 | |
3562 | * lto-streamer.c (lto_record_common_node): Also register | |
3563 | the canonical type. | |
3564 | ||
06c7edcc RG |
3565 | 2011-03-01 Richard Guenther <rguenther@suse.de> |
3566 | ||
3567 | PR lto/46911 | |
3568 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
3569 | Do not stream DECL_ABSTRACT_ORIGIN. | |
3570 | (lto_input_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
3571 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
3572 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
3573 | Do not stream DECL_ABSTRACT_ORIGIN. | |
3574 | (lto_output_ts_block_tree_pointers): Nor BLOCK_SOURCE_LOCATION, | |
3575 | BLOCK_NONLOCALIZED_VARS or BLOCK_ABSTRACT_ORIGIN. | |
3576 | ||
998871e9 AS |
3577 | 2011-02-28 Anatoly Sokolov <aesok@post.ru> |
3578 | ||
3579 | * config/stormy16/stormy16.h (FUNCTION_VALUE, LIBCALL_VALUE, | |
3580 | FUNCTION_VALUE_REGNO_P): Remove. | |
b2e2ea67 | 3581 | * config/stormy16/stormy16-protos.h (xstormy16_function_value): Remove. |
998871e9 AS |
3582 | * config/stormy16/stormy16.c (xstormy16_function_value): Make static. |
3583 | Add 'outgoing' argument. | |
3584 | (xstormy16_libcall_value, xstormy16_function_value_regno_p): New | |
3585 | function. | |
3586 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
3587 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
3588 | ||
94369251 KT |
3589 | 2011-02-28 Kai Tietz <kai.tietz@onevision.com> |
3590 | ||
3591 | PR debug/28047 | |
3592 | * dwarf2out.c (file_table_eq): Use filename_cmp instead of strcmp. | |
3593 | (lookup_filename): Likewise. | |
b2e2ea67 | 3594 | * final.c (remap_debug_filename): Use filename_ncmp instead of strncmp. |
94369251 | 3595 | |
80a832cd JJ |
3596 | 2011-02-28 Bernd Schmidt <bernds@codesourcery.com> |
3597 | Jakub Jelinek <jakub@redhat.com> | |
3598 | ||
3599 | PR middle-end/47893 | |
3600 | * rtl.h (ASLK_REDUCE_ALIGN, ASLK_RECORD_PAD): Define. | |
3601 | (assign_stack_local_1): Change last argument type to int. | |
3602 | * function.c (assign_stack_local_1): Replace reduce_alignment_ok | |
3603 | argument with kind. If bit ASLK_RECORD_PAD is not set in it, | |
b2e2ea67 | 3604 | don't record padding space into frame_space_list nor use those areas. |
80a832cd JJ |
3605 | (assign_stack_local): Adjust caller. |
3606 | (assign_stack_temp_for_type): Call assign_stack_local_1 instead | |
3607 | of assign_stack_local, pass 0 as last argument. | |
3608 | * caller-save.c (setup_save_areas): Adjust assign_stack_local_1 | |
3609 | callers. | |
3610 | ||
1b500976 JJ |
3611 | 2011-02-28 Jakub Jelinek <jakub@redhat.com> |
3612 | ||
f61c6f34 JJ |
3613 | PR debug/47283 |
3614 | * cfgexpand.c (convert_debug_memory_address): Add AS parameter. | |
3615 | Use target address_mode and pointer_mode hooks instead of hardcoded | |
3616 | Pmode and ptr_mode. Handle some simple cases of extending if | |
3617 | POINTERS_EXTEND_UNSIGNED < 0. | |
3618 | (expand_debug_expr) <case MEM_REF, INDIRECT_REF, TARGET_MEM_REF>: | |
3619 | Call convert_debug_memory_address. | |
3620 | (expand_debug_expr) <case ADDR_EXPR>: Pass as to | |
3621 | convert_debug_memory_address. | |
3622 | ||
1b500976 JJ |
3623 | PR middle-end/46790 |
3624 | * configure.ac (HAVE_LD_EH_GC_SECTIONS_BUG): New test. | |
3625 | * configure: Regenerated. | |
3626 | * config.in: Regenerated. | |
3627 | * varasm.c (default_function_section): Return NULL | |
b2e2ea67 | 3628 | if HAVE_LD_EH_GC_SECTIONS_BUG and decl has implicit section name. |
1b500976 | 3629 | |
2f2935b6 MJ |
3630 | 2011-02-28 Martin Jambor <mjambor@suse.cz> |
3631 | ||
3632 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Fix | |
3633 | the description to match the printed values. | |
3634 | ||
474086eb RG |
3635 | 2011-02-28 Richard Guenther <rguenther@suse.de> |
3636 | ||
3637 | * tree-inline.c (tree_function_versioning): Set BLOCK_SUPERCONTEXT | |
3638 | of the copied scope tree. | |
3639 | ||
15bf6f3a RW |
3640 | 2011-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
3641 | ||
3642 | * doc/extend.texi (Function Attributes): Avoid deeply (and | |
3643 | wrongly) nested tables. | |
3644 | ||
f6b439c9 JJ |
3645 | 2011-02-27 Jakub Jelinek <jakub@redhat.com> |
3646 | ||
3647 | PR middle-end/47903 | |
3648 | * real.c (real_arithmetic) <case PLUS_EXPR, MINUS_EXPR, | |
3649 | MULT_EXPR, RDIV_EXPR>: Clear padding bits in *r first if | |
3650 | r isn't op0 nor op1. | |
3651 | ||
1d8ca2c7 GJL |
3652 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
3653 | ||
3654 | * config/avr/avr.md: Remove magic comment for emacs. | |
3655 | ||
593fca4b GJL |
3656 | 2011-02-23 Georg-Johann Lay <avr@gjlay.de> |
3657 | ||
3658 | PR target/45261 | |
3659 | * config/avr/avr.c (avr_option_override): Use error on bad options. | |
3660 | (avr_help): New function. | |
3661 | (TARGET_HELP): Define. | |
3662 | ||
6609216e GJL |
3663 | 2011-02-22 Georg-Johann Lay <avr@gjlay.de> |
3664 | ||
3665 | PR target/42240 | |
3666 | * config/avr/avr.c (avr_cannot_modify_jumps_p): New function. | |
3667 | (TARGET_CANNOT_MODIFY_JUMPS_P): Define. | |
3668 | ||
03d458af GP |
3669 | 2011-02-26 Gerald Pfeifer <gerald@pfeifer.com> |
3670 | ||
3671 | * doc/invoke.texi (ARC Options): Use CPU instead of cpu. | |
3672 | (ARM Options): Ditto. | |
3673 | (i386 and x86-64 Options): Ditto. | |
3674 | (RX Options): Ditto. | |
3675 | (SPARC Options): Ditto. | |
3676 | ||
1c379b78 TC |
3677 | 2011-02-26 Tijl Coosemans <tijl@coosemans.org> |
3678 | ||
3679 | * config.gcc (i386-*-freebsd*): Make i486 the default arch on | |
3680 | FreeBSD 6 and later. Generally use cpu generic. | |
3681 | ||
d5ed058c | 3682 | 2011-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
b2e2ea67 | 3683 | |
d5ed058c GP |
3684 | * doc/cpp.texi: Update copyright years. |
3685 | ||
509d65dd | 3686 | 2011-02-25 Sebastien Bourdeauducq <sebastien@milkymist.org> |
308d39cd | 3687 | |
509d65dd | 3688 | PR target/46898 |
308d39cd SB |
3689 | * config/lm32/lm32.md (ashrsi3): Added needed variable. |
3690 | ||
509d65dd | 3691 | 2011-02-25 Jon Beniston <jon@beniston.com> |
308d39cd | 3692 | |
509d65dd | 3693 | PR target/46898 |
308d39cd SB |
3694 | * config/lm32/lm32.h (INCOMING_RETURN_ADDR_RTX): New. |
3695 | * config/lm32/lm32.md (ashlsi3): Remove unused variable. | |
3696 | * config/lm32/lm32.c (TARGET_EXCEPT_UNWIND_INFO): New. | |
3697 | (lm32_block_move_inline): Add type cast to remove warning. | |
b2e2ea67 | 3698 | (lm32_expand_prologue): Generate fp in a way compatible with dwarf2out. |
308d39cd SB |
3699 | (gen_int_relational): Move declarations to start of function. |
3700 | ||
822ba6d7 EB |
3701 | 2011-02-25 Eric Botcazou <ebotcazou@adacore.com> |
3702 | ||
3703 | PR tree-optimization/45470 | |
3704 | * tree-vect-data-refs.c (vect_analyze_data_refs): Fail if a statement | |
3705 | can throw internally only. | |
3706 | * tree-vect-stmts.c (vectorizable_call): Likewise. | |
3707 | ||
ef795fc2 AS |
3708 | 2011-02-24 Anatoly Sokolov <aesok@post.ru> |
3709 | ||
3710 | * config/stormy16/stormy16.h (PREFERRED_RELOAD_CLASS, | |
3711 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
3712 | * config/stormy16/stormy16-protos.h | |
3713 | (xstormy16_preferred_reload_class): Remove. | |
3714 | * config/stormy16/stormy16.c (xstormy16_preferred_reload_class): Make | |
3715 | static. Change 'rclass' argument and return type to reg_class_t. | |
3716 | (TARGET_PREFERRED_RELOAD_CLASS, | |
3717 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
3718 | ||
1c3277ee RG |
3719 | 2011-02-24 Richard Guenther <rguenther@suse.de> |
3720 | ||
3721 | * lto-streamer-in.c (input_bb): Do not find referenced vars | |
3722 | in debug statements. | |
3723 | ||
67e18edb JM |
3724 | 2011-02-23 Jason Merrill <jason@redhat.com> |
3725 | ||
3726 | * common.opt (fabi-version): Document v5 and v6. | |
3727 | ||
b14fad9d RG |
3728 | 2011-02-23 Richard Guenther <rguenther@suse.de> |
3729 | ||
3730 | PR tree-optimization/47849 | |
3731 | * tree-if-conv.c (main_tree_if_conversion): Free postdom info. | |
3732 | ||
7fcf46f5 JZ |
3733 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
3734 | ||
3735 | * opts-common.c (decode_cmdline_option): Print empty string | |
3736 | argument as "" in decoded->orig_option_with_args_text. | |
3737 | * gcc.c (execute): Print empty string argument as "" | |
3738 | in the verbose output. | |
3739 | (do_spec_1): Keep empty string argument. | |
3740 | ||
f85b70fd NF |
3741 | 2011-02-23 Nathan Froyd <froydnj@codesourcery.com> |
3742 | ||
3743 | * config.gcc: Declare score-* and crx-* obsolete. | |
3744 | ||
b152a615 JZ |
3745 | 2011-02-23 Jie Zhang <jie@codesourcery.com> |
3746 | ||
3747 | PR rtl-optimization/47763 | |
3748 | * web.c (web_main): Ignore naked clobber when replacing register. | |
3749 | ||
bb6e77bc AS |
3750 | 2011-02-22 Anatoly Sokolov <aesok@post.ru> |
3751 | ||
3752 | * config/stormy16/stormy16.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P): | |
3753 | Remove. | |
3754 | ||
68bf6491 SP |
3755 | 2011-02-22 Sebastian Pop <sebastian.pop@amd.com> |
3756 | ||
3757 | PR doc/47848 | |
3758 | * doc/invoke.texi: Do not mention -ftree-loop-if-convert-memory-writes. | |
3759 | ||
88ee1fc7 MS |
3760 | 2011-02-22 Mike Stump <mikestump@comcast.net> |
3761 | ||
3762 | * acinclude.m4 (gcc_cv_gas_vers): Add -arch ppc for probing darwin | |
3763 | assembler. | |
3764 | * configure: Regenerate. | |
3765 | ||
6042d1dd CLT |
3766 | 2011-02-21 Chung-Lin Tang <cltang@codesourcery.com> |
3767 | ||
3768 | PR rtl-optimization/46002 | |
3769 | * ira-color.c (update_copy_costs): Change class intersection | |
3770 | test to reg_class_contents[] test of 'hard_regno'. | |
3771 | ||
7de97f9e JM |
3772 | 2011-02-21 Joseph Myers <joseph@codesourcery.com> |
3773 | ||
3774 | * config/alpha/osf5.opt (mno-mips-tfile): Mark as Target rather | |
3775 | than Driver option. | |
3776 | * config/hpux11.opt (mt): Likewise. | |
3777 | * config/microblaze/microblaze.opt (mxl-mode-xilkernel): Likewise. | |
3778 | * config/rs6000/xilinx.opt (mno-clearbss, mppcperflib): Likewise. | |
3779 | * config/vax/elf.opt (mno-asm-pic): Likewise. | |
3780 | * config/vms/vms.opt (map, mvms-return-codes): Likewise. | |
3781 | ||
d1d46f9f MS |
3782 | 2011-02-21 Mike Stump <mikestump@comcast.net> |
3783 | ||
3784 | PR target/47822 | |
3785 | * config/darwin-protos.h (darwin_init_cfstring_builtins): Return a | |
3786 | tree so we can get save the type. | |
3787 | * config/i386/darwin.h (SUBTARGET_INIT_BUILTINS): Reserve builtin slot | |
3788 | for CFString instead of trying to use past the end of the builtins. | |
3789 | * config/i386/i386.c (IX86_BUILTIN_CFSTRING): Likewise. | |
3790 | * config/rs6000/rs6000-builtin.def (RS6000_BUILTIN_CFSTRING): Likewise. | |
3791 | * config/rs6000/darwin.h (SUBTARGET_INIT_BUILTINS): Likewise. | |
3792 | * config/darwin.c (DARWIN_BUILTIN_CFSTRINGMAKECONSTANTSTRING): | |
3793 | Rename to darwin_builtin_cfstring. | |
3794 | (darwin_init_cfstring_builtins): Return the built type. | |
3795 | ||
23e0d930 UB |
3796 | 2011-02-21 Uros Bizjak <ubizjak@gmail.com> |
3797 | ||
3798 | PR target/47840 | |
3799 | * config/i386/avxintrin.h (_mm256_insert_epi32): Use _mm_insert_epi32. | |
3800 | (_mm256_insert_epi64): Use _mm_insert_epi64. | |
3801 | ||
192997cf AS |
3802 | 2011-02-21 Anatoly Sokolov <aesok@post.ru> |
3803 | ||
3804 | * config/stormy16/stormy16.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
3805 | * config/stormy16/stormy16-protos.h | |
3806 | (xstormy16_mode_dependent_address_p): Remove. | |
3807 | * config/stormy16/stormy16.c (xstormy16_mode_dependent_address_p): | |
3808 | Make static. Change return type to bool. Change argument type to | |
3809 | const_rtx. Remove dead code. | |
3810 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
3811 | ||
e292d003 RG |
3812 | 2011-02-21 Richard Guenther <rguenther@suse.de> |
3813 | ||
3814 | PR lto/47820 | |
3815 | * lto-streamer-in.c (lto_input_ts_decl_common_tree_pointers): | |
3816 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. | |
3817 | (lto_input_ts_block_tree_pointers): Hook a BLOCK into the | |
3818 | TUs context. | |
23e0d930 | 3819 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): |
e292d003 RG |
3820 | Do not stream DECL_INITIAL for TRANSLATION_UNIT_DECLs. |
3821 | ||
77f846e9 RG |
3822 | 2011-02-20 Richard Guenther <rguenther@suse.de> |
3823 | ||
3824 | PR lto/47822 | |
3825 | * tree.c (free_lang_data_in_decl): Clean builtins from | |
3826 | the TU decl BLOCK_VARS. | |
23e0d930 | 3827 | |
b2cddfc8 AO |
3828 | 2011-02-19 Alexandre Oliva <aoliva@redhat.com> |
3829 | ||
3830 | PR debug/47620 | |
3831 | PR debug/47630 | |
3832 | * haifa-sched.c (fix_tick_ready): Skip tick computation | |
3833 | for debug insns. | |
3834 | ||
becf4c11 RG |
3835 | 2011-02-19 Richard Guenther <rguenther@suse.de> |
3836 | ||
3837 | PR lto/47647 | |
3838 | * lto-streamer-in.c (lto_input_ts_decl_minimal_tree_pointers): | |
3839 | Remove lazy BLOCK_VARS streaming. | |
3840 | (lto_input_ts_block_tree_pointers): Likewise. | |
3841 | * lto-streamer-out.c (lto_output_ts_block_tree_pointers): Likewise. | |
3842 | ||
27f98305 JM |
3843 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
3844 | ||
3845 | * config.gcc (i[34567]86-pc-msdosdjgpp*): Use i386/djgpp-stdint.h. | |
3846 | ||
064bf3f4 JM |
3847 | 2011-02-19 Joseph Myers <joseph@codesourcery.com> |
3848 | ||
3849 | * config/i386/biarch32.h, config/i386/mach.h, | |
3850 | config/rs6000/aix.opt, config/sh/superh64.h: Remove. | |
3851 | ||
9215ddc3 JJ |
3852 | 2011-02-19 Jakub Jelinek <jakub@redhat.com> |
3853 | ||
3854 | PR target/47800 | |
3855 | * config/i386/i386.md (peephole2 for shift and plus): Use | |
3856 | operands[1] original mode in the first insn. | |
3857 | ||
8b021004 MS |
3858 | 2011-02-18 Mike Stump <mikestump@comcast.net> |
3859 | ||
65ded153 | 3860 | * config/t-darwin (TM_H): Add dependency on darwin-sections.def. |
8b021004 | 3861 | |
f84ae14c JH |
3862 | 2011-02-18 Jan Hubicka <jh@suse.cz> |
3863 | ||
3864 | PR middle-end/47788 | |
65ded153 EB |
3865 | * ipa-inline.c (compute_inline_parameters): Set disregard_inline_limits |
3866 | to zero when the function is not inlinable at all. | |
f84ae14c | 3867 | |
eddabc80 JDA |
3868 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3869 | ||
3870 | * config.gcc (hppa[12]*-*-hpux11*): Set extra_parts. | |
3871 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
3872 | pthread_mutex_unlock, pthread_once): Reinstate pthread stubs. | |
3873 | * config/pa/t-pa-hpux11: Add rules to build pthread stubs. | |
3874 | * config/pa/t-pa64: Likewise. | |
3875 | * config/pa/pa-hpux11.h (LINK_GCC_C_SEQUENCE_SPEC): Define. | |
3876 | ||
ca3da783 JJ |
3877 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
3878 | ||
3879 | PR driver/47787 | |
3880 | * gcc.c (default_compilers): Clear combinable field for "@cpp-output". | |
3881 | ||
430aa868 JDA |
3882 | 2011-02-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3883 | ||
3884 | PR target/47792 | |
3885 | * gthr-dce.h (__gthread_mutx_destroy): Fix typo in name. | |
3886 | ||
4bf7ff7e AS |
3887 | 2011-02-18 Anatoly Sokolov <aesok@post.ru> |
3888 | ||
3889 | * config/m32r/m32r.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, | |
3890 | RTX_OK_FOR_BASE_P, RTX_OK_FOR_OFFSET_P, LEGITIMATE_OFFSET_ADDRESS_P, | |
3891 | LEGITIMATE_LO_SUM_ADDRESS_P, LOAD_POSTINC_P, STORE_PREINC_PREDEC_P, | |
3892 | GO_IF_LEGITIMATE_ADDRESS): Remove macros. | |
3893 | * config/m32r/m32r.c (TARGET_LEGITIMATE_ADDRESS_P): Define. | |
3894 | (m32r_rtx_ok_for_base_p, m32r_rtx_ok_for_offset_p, | |
3895 | m32r_legitimate_offset_addres_p, m32r_legitimate_lo_sum_addres_p, | |
3896 | m32r_load_postinc_p, m32r_store_preinc_predec_p, | |
3897 | m32r_legitimate_address_p): New functions. | |
3898 | * config/m32r/constraints.md (constraint "S"): Don't use | |
3899 | STORE_PREINC_PREDEC_P. | |
3900 | (constraint "U"): Don't use LOAD_POSTINC_P. | |
3901 | ||
7efcf910 CLT |
3902 | 2011-02-18 Chung-Lin Tang <cltang@codesourcery.com> |
3903 | ||
3904 | PR rtl-optimization/46178 | |
3905 | * ira.c (setup_hard_regno_class): Use ira_class_translate[] to | |
3906 | compute ira_hard_regno_cover_class[]. | |
3907 | ||
237d6259 RG |
3908 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
3909 | ||
3910 | PR lto/47798 | |
3911 | * lto-streamer.h (lto_global_var_decls): Declare. | |
3912 | * lto-streamer-in.c (lto_register_var_decl_in_symtab): Register | |
3913 | statics for global var processing. | |
3914 | ||
12d80acc RG |
3915 | 2011-02-18 Richard Guenther <rguenther@suse.de> |
3916 | ||
3917 | PR tree-optimization/47737 | |
3918 | * tree-ssa-loop-im.c (extract_true_false_args_from_phi): Fix | |
3919 | edge dominance check. | |
3920 | ||
abfea58d JJ |
3921 | 2011-02-18 Jakub Jelinek <jakub@redhat.com> |
3922 | ||
3923 | PR debug/47780 | |
3924 | * cfgexpand.c (expand_debug_expr) <case SSA_NAME>: Call copy_rtx to | |
3925 | avoid invalid rtx sharing. | |
3926 | ||
f73c8882 GP |
3927 | 2011-02-18 Gerald Pfeifer <gerald@pfeifer.com> |
3928 | ||
3929 | * doc/cpp.texi (Obsolete Features): Add background on the | |
3930 | origin of assertions. | |
3931 | ||
d764a8e6 IS |
3932 | 2011-02-17 Iain Sandoe <iains@gcc.gnu.org> |
3933 | ||
3934 | * config/darwin-c.c (darwin_cpp_builtins): Define __OBJC2__ for | |
23e0d930 | 3935 | objc_abi == 2. |
d764a8e6 IS |
3936 | * config/darwin.c (output_objc_section_asm_op): Added support for |
3937 | ABI v1 and v2. | |
3938 | (is_objc_metadata): New. | |
3939 | (darwin_objc2_section): New. | |
3940 | (darwin_objc1_section): New. | |
3941 | (machopic_select_section): Added support for ABI v1 and v2. | |
3942 | (darwin_emit_objc_zeroed): New. | |
3943 | (darwin_output_aligned_bss): Detect objc metadata and treat it | |
3944 | appropriately. | |
3945 | (darwin_asm_output_aligned_decl_common): Same. | |
3946 | (darwin_asm_output_aligned_decl_local): Same. | |
3947 | * config/darwin-sections.def: Updated for ABI v1 and v2. | |
3948 | * config/darwin.h (SUBTARGET_C_COMMON_OVERRIDE_OPTIONS): When | |
3949 | compiling Objective-C code for the NeXT runtime, default to using | |
3950 | ABI version 0 for 32-bit, and version 2 for 64-bit. | |
3951 | ||
0a8134ca JM |
3952 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
3953 | ||
3954 | * common.opt (optimize_fast): New Variable. | |
3955 | * opts.c (default_options_optimization): Use opts->x_optimize_fast | |
3956 | instead of local variable ofast. | |
3957 | ||
0a256240 NP |
3958 | 2011-02-17 Nicola Pero <nicola.pero@meta-innovation.com> |
3959 | ||
3960 | * doc/invoke.texi (fobjc-abi-version): Documented. | |
3961 | (fobjc-nilcheck): Documented. | |
3962 | (fno-nil-receiver): Updated documentation to refer to the NeXT ABI | |
3963 | version. | |
3964 | ||
fa381cb2 JM |
3965 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
3966 | ||
3967 | PR driver/47390 | |
3968 | * common.opt (export-dynamic): New Driver option. | |
3969 | * gcc.c (LINK_COMMAND_SPEC): Add comment about %{e*}. | |
3970 | ||
5437eaa6 JM |
3971 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
3972 | ||
3973 | * config/rx/rx.h (LIB_SPEC): Match -msim not -msim*. | |
3974 | ||
bb7e6d55 AO |
3975 | 2011-02-17 Alexandre Oliva <aoliva@redhat.com> |
3976 | Jan Hubicka <jh@suse.cz> | |
3977 | ||
3978 | PR debug/47106 | |
3979 | PR debug/47402 | |
3980 | * cfgexpand.c (account_used_vars_for_block): Remove. | |
3981 | (estimated_stack_frame_size): Use referenced vars. | |
3982 | * tree-inline.c (remap_decl): Only mark VAR_DECLs as referenced | |
3983 | that were referenced in the original function. Test src_fn | |
3984 | rather than cfun. Drop redundant get_var_ann. | |
3985 | (setup_one_parameter): Drop redundant get_var_ann. | |
3986 | (declare_return_variable): Likewise. | |
3987 | (copy_decl_for_dup_finish): Mark VAR_DECLs referenced in src_fn. | |
3988 | (copy_arguments_for_versioning): Drop redundant get_var_ann. | |
3989 | * ipa-inline.c (compute_inline_parameters): Do not compute | |
3990 | disregard_inline_limits here. | |
bb7e6d55 AO |
3991 | (compute_inlinable_for_current, pass_inlinable): New. |
3992 | (pass_inline_parameters): Require PROP_referenced_vars. | |
3993 | * cgraphunit.c (cgraph_process_new_functions): Don't run | |
23e0d930 | 3994 | compute_inline_parameters explicitly unless function is in SSA form. |
bb7e6d55 AO |
3995 | (cgraph_analyze_function): Set .disregard_inline_limits. |
3996 | * tree-sra.c (convert_callers): Compute inliner parameters | |
3997 | only for functions already in SSA form. | |
3998 | ||
f181a8a7 JM |
3999 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
4000 | ||
4001 | * config/sparc/sparc.h (CPP_ENDIAN_SPEC): Don't handle | |
4002 | -mlittle-endian-data. | |
4003 | ||
c6869789 JM |
4004 | 2011-02-17 Joseph Myers <joseph@codesourcery.com> |
4005 | ||
4006 | * config/sparc/linux64.h (OPTION_DEFAULT_SPECS): Match -mfpu and | |
4007 | -mno-fpu, not -fpu and -no-fpu. | |
4008 | * config/sparc/sol2-bi.h (OPTION_DEFAULT_SPECS): Likewise. | |
4009 | * config/sparc/sparc.h (OPTION_DEFAULT_SPECS): Likewise. | |
4010 | ||
fbf4bfd3 UB |
4011 | 2011-02-17 Uros Bizjak <ubizjak@gmail.com> |
4012 | ||
4013 | PR target/43653 | |
4014 | * config/i386/i386.c (ix86_secondary_reload): Handle SSE | |
4015 | input reload with PLUS RTX. | |
4016 | ||
70be5dc7 JM |
4017 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
4018 | ||
4019 | * config/mips/mips.opt (mno-mdmx): Use Var(TARGET_MDMX, 0) instead | |
4020 | of InverseVar(MDMX). | |
4021 | ||
30b1646e JM |
4022 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
4023 | ||
4024 | * config/sh/embed-elf.h (LIBGCC_SPEC): Match -m4-340 instead of | |
4025 | --m4-340. | |
4026 | ||
ab7b71e9 JM |
4027 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
4028 | ||
4029 | * config/mn10300/mn10300.opt (mno-crt0): New. | |
4030 | ||
466f3f08 JM |
4031 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
4032 | ||
4033 | * config/m68k/uclinux.opt (static-libc): New Driver option. | |
4034 | ||
8226cd7b JM |
4035 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
4036 | ||
4037 | * config/m32c/m32c.h (LIB_SPEC): Match -msim not -msim*. | |
4038 | ||
45cab1d7 JM |
4039 | 2011-02-16 Joseph Myers <joseph@codesourcery.com> |
4040 | ||
4041 | * config/lm32/lm32.h (ASM_SPEC): Use %{muser-enabled} instead of | |
4042 | %{muser-extend-enabled}. | |
4043 | ||
65aab64f RG |
4044 | 2011-02-16 Richard Guenther <rguenther@suse.de> |
4045 | ||
4046 | PR tree-optimization/47738 | |
4047 | * tree-ssa-loop.c (run_tree_predictive_commoning): Return | |
4048 | the TODO from tree_predictive_commoning. | |
4049 | ||
fc2fa4fb JL |
4050 | 2011-02-15 Jeff Law <law@redhat.com> |
4051 | ||
4052 | Revert | |
4053 | 2011-01-25 Jeff Law <law@redhat.com> | |
4054 | ||
4055 | PR rtl-optimization/37273 | |
4056 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
4057 | handle them like argument loads from stack slots. Do not double | |
4058 | count memory for memory constants and argument loads from stack slots. | |
4059 | ||
4e380b8e L |
4060 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
4061 | ||
4062 | PR middle-end/47725 | |
4063 | * combine.c (cant_combine_insn_p): Revert the last change. | |
4064 | ||
e3a69bb4 MM |
4065 | 2011-02-15 Michael Meissner <meissner@linux.vnet.ibm.com> |
4066 | ||
4067 | PR target/47755 | |
4068 | * config/rs6000/predicates.md (easy_vector_constant): Allow V2DI | |
4069 | mode for vector constants. Remove code that checks for TImode. | |
4070 | ||
de650422 AO |
4071 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
4072 | ||
4073 | PR debug/47106 | |
4074 | PR debug/47402 | |
4075 | * cgraph.h (compute_inline_parameters): Return void. | |
4076 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
4077 | ||
30925d94 AO |
4078 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
4079 | ||
4080 | PR debug/47106 | |
4081 | PR debug/47402 | |
4082 | * tree-inline.h (estimated_stack_frame_size): Take cgraph node | |
4083 | rather than decl. | |
4084 | * cfgexpand.c (estimated_stack_frame_size): Likewise. | |
4085 | * ipa-inline.c (compute_inline_parameters): Adjust. | |
4086 | ||
1b9a784a AO |
4087 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
4088 | ||
4089 | PR debug/47106 | |
4090 | PR debug/47402 | |
4091 | * tree-flow.h (FOR_EACH_REFERENCED_VAR): Add FN argument. | |
4092 | Adjust all users. Pass FN to... | |
4093 | * tree-flow-inline.h (first_referenced_var): ... this. Add | |
4094 | fn argument. | |
4095 | * ipa-struct-reorg.c: Adjust. | |
4096 | * tree-dfa.c: Adjust. | |
4097 | * tree-into-ssa.c: Adjust. | |
4098 | * tree-sra.c: Adjust. | |
4099 | * tree-ssa-alias.c: Adjust. | |
4100 | * tree-ssa-live.c: Adjust. | |
4101 | * tree-ssa.c: Adjust. | |
4102 | * tree-ssanames.c: Adjust. | |
4103 | * tree-tailcall.c: Adjust. | |
4104 | ||
27c6b086 AO |
4105 | 2011-02-15 Alexandre Oliva <aoliva@redhat.com> |
4106 | ||
4107 | PR debug/47106 | |
4108 | PR debug/47402 | |
4109 | * tree-flow.h (referenced_var_lookup): Add fn parameter. | |
4110 | Adjust all callers. | |
4111 | * tree-dfa.c (referenced_var_lookup): Use fn instead of cfun. | |
4112 | * tree-flow-inline.h: Adjust. | |
4113 | * gimple-pretty-print.c: Adjust. | |
4114 | * tree-into-ssa.c: Adjust. | |
4115 | * tree-ssa.c: Adjust. | |
4116 | * cfgexpand.c: Adjust. | |
4117 | ||
679e8183 NF |
4118 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
4119 | ||
fbf4bfd3 UB |
4120 | * config/iq2000/i2000.h (REG_CLASS_FROM_LETTER): Delete. |
4121 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
4122 | (EXTRA_CONSTRAINT): Delete. | |
4123 | * config/iq2000/constraints.md: New file. | |
4124 | * config/iq2000/iq2000.md: Include it. | |
679e8183 NF |
4125 | (define_insn ""): Delete. |
4126 | (movsi_internal2, movhi_internal2, movqi_internal2): Delete | |
4127 | unsupported constraint letters from patterns. | |
4128 | (call_value, call_value_internal1): Likewise. | |
4129 | (call_value_multiple_internal1): Likewise. | |
4130 | ||
a45d420a NC |
4131 | 2011-02-15 Nick Clifton <nickc@redhat.com> |
4132 | ||
4133 | * config/mn10300/mn10300.c: Include tm-constrs.h. | |
4134 | (struct liw_data): New data structure describing an LIW candidate | |
4135 | instruction. | |
4136 | (extract_bundle): Use struct liw_data. Allow small integer | |
4137 | operands for some instructions. | |
4138 | (check_liw_constraints): Use struct liw_data. Remove swapped | |
4139 | parameter. Add comments describing the checks. Fix bug when | |
4140 | assigning the source of liw1 to the source of liw2. | |
4141 | (liw_candidate): Delete. Code moved into extract_bundle. | |
4142 | (mn10300_bundle_liw): Use struct liw_data. Check constraints | |
4143 | before swapping. | |
4144 | * config/mn10300/predicates.md (liw_operand): New predicate. | |
4145 | Allows registers and small integer constants. | |
4146 | * config/mn10300/constraints.md (O): New constraint. Accetps | |
4147 | integers in the range -8 to +7 inclusive. | |
4148 | * config/mn10300/mn10300.md (movesi_internal): Add an alternative | |
4149 | for moving a small integer into a register. Give this alternative | |
4150 | LIW attributes. | |
4151 | (addsi3, subsi3, cmpsi, lshrsi3, ashrsi3): Likewise. | |
4152 | (ashlsi3): Likewise, plus give LIW attributes to the alternatives | |
4153 | using the J,K,L and M constraints, | |
4154 | (liw): Remove SI mode on second operands to allow for HI and QI | |
4155 | mode values. | |
4156 | (cmp_liw, liw_cmp): Likewise. Plus fix order of operands in the | |
4157 | instruction. | |
4158 | ||
8a73faf1 L |
4159 | 2011-02-15 H.J. Lu <hongjiu.lu@intel.com> |
4160 | ||
4161 | PR middle-end/47725 | |
4162 | * combine.c (cant_combine_insn_p): Check zero/sign extended | |
4163 | hard registers. | |
4164 | ||
48feba28 RG |
4165 | 2011-02-15 Richard Guenther <rguenther@suse.de> |
4166 | ||
4167 | PR tree-optimization/47743 | |
4168 | * tree-ssa-pre.c (phi_translate_1): If we didn't get a value-number | |
4169 | for a non-type-compatible VN lookup bail out. | |
4170 | ||
ad1c1eeb NF |
4171 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
4172 | ||
4173 | * config/fr30/constraints.md: New file. | |
4174 | * config/fr30/fr30.md: Include it. | |
4175 | * config/fr30/fr30.h (REG_CLASS_FROM_LETTER): Delete. | |
4176 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
4177 | (EXTRA_CONSTRAINT): Delete. | |
4178 | ||
49ac143d NF |
4179 | 2011-02-15 Nathan Froyd <froydnj@codesourcery.com> |
4180 | ||
4181 | * config/frv/constraints.md: New file. | |
4182 | * config/frv/predicates.md: Include it. | |
4183 | * config/frv/frv.c (reg_class_from_letter): Delete. | |
4184 | (frv_option_override): Don't initialize it. | |
4185 | * config/frv/frv.h (REG_CLASS_FROM_LETTER): Delete. | |
4186 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_K): Delete. | |
4187 | (CONST_OK_FOR_L, CONST_OK_FOR_M, CONST_OK_FOR_N): Delete. | |
4188 | (CONST_OK_FOR_O, CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
4189 | (CONST_DOUBLE_OK_FOR_G, CONST_DOUBLE_OK_FOR_H): Delete. | |
4190 | (CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
4191 | (EXTRA_CONSTRAINT_FOR_Q, EXTRA_CONSTRAINT_FOR_R): Delete. | |
4192 | (EXTRA_CONSTRAINT_FOR_S, EXTRA_CONSTRAINT_FOR_T): Delete. | |
4193 | (EXTRA_CONSTRAINT_FOR_U, EXTRA_CONSTRAINT): Delete. | |
4194 | (EXTRA_MEMORY_CONSTRAINT, CONSTRAINT_LEN): Delete. | |
4195 | (REG_CLASS_FROM_CONSTRAINT): Delete. | |
4196 | ||
c95f9494 JJ |
4197 | 2011-02-15 Jakub Jelinek <jakub@redhat.com> |
4198 | ||
4199 | PR middle-end/47581 | |
4200 | * config/i386/i386.c (ix86_compute_frame_size): Don't align offset | |
4201 | if frame size is 0 in a leaf function. | |
4202 | ||
13aed611 RO |
4203 | 2011-02-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4204 | ||
4205 | PR pch/14940 | |
4206 | * config/alpha/host-osf.c: New file. | |
4207 | * config/alpha/x-osf: New file. | |
4208 | * config.host (alpha*-dec-osf*): Use it. | |
4209 | ||
b09c3081 AS |
4210 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
4211 | ||
4212 | * config/rx/rx.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
4213 | * config/rx/rx-protos.h (rx_is_mode_dependent_addr): Remove. | |
4214 | * config/xtensa/xtensa.c (rx_is_mode_dependent_addr): Rename to... | |
4215 | (rx_mode_dependent_address_p): ...this. Make static. Change argument | |
4216 | type to const_rtx. | |
4217 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
4218 | ||
d634083b NF |
4219 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
4220 | ||
4221 | * config/stormy16/constraints.md: New file. | |
4222 | * config/stormy16/predicates.md (nonimmediate_nonstack_operand): | |
4223 | Use satisfies_constraint_Q and satisfies_constraint_R. | |
4224 | * config/stormy16/stomry16-protos.h (xstormy16_extra_constraint_p): | |
4225 | Delete. | |
4226 | (xstormy16_legitiamte_address_p): Declare. | |
4227 | * config/stormy16/stormy16.h (REG_CLASS_FROM_LETTER): Delete. | |
4228 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
4229 | (EXTRA_CONSTRAINT): Delete. | |
fbf4bfd3 | 4230 | * config/stormy16/stormy16.c (xstormy16_legitimate_address_p): |
d634083b NF |
4231 | Un-staticize. |
4232 | (xstormy16_extra_constraint_p): Delete. | |
4233 | ||
c7dd803e EB |
4234 | 2011-02-14 Eric Botcazou <ebotcazou@adacore.com> |
4235 | ||
4236 | PR tree-optimization/46494 | |
4237 | * loop-unroll.c (split_edge_and_insert): Adjust comment. | |
4238 | * loop-init.c (loop_optimizer_finalize): Do not call verify_flow_info. | |
4239 | (pass_rtl_loop_done): Add TODO_verify_flow. | |
4240 | * fwprop.c (pass_rtl_fwprop): Likewise. | |
4241 | * modulo-sched.c (pass_sms): Likewise. | |
4242 | * tree-ssa-dom.c (pass_dominator): Likewise. | |
4243 | * tree-ssa-loop-ch.c (pass_ch): Likewise. | |
4244 | * tree-ssa-loop.c (pass_complete_unrolli): Likewise. | |
4245 | (pass_tree_loop_done): Likewise. | |
4246 | * tree-ssa-pre.c (execute_pre): Likewise. | |
4247 | * tree-ssa-reassoc.c (pass_reassoc): Likewise. | |
4248 | * tree-ssa-sink.c (pass_sink_code): Likewise. | |
4249 | * tree-vrp.c (pass_vrp): Likewise. | |
4250 | ||
c6150df6 NF |
4251 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
4252 | ||
c7dd803e EB |
4253 | * config/v850/constraints.md: New file. |
4254 | * config/v850/v850.md: Include it. | |
4255 | * config/v850/predicates.md (reg_or_0_operand): Use | |
4256 | satisfies_constraint_G. | |
4257 | (special_symbolref_operand): Use satisfies_constraint_K. | |
4258 | * config/v850/v850.h (CONSTANT_ADDRESS_P): Use constraint_satisfied_p. | |
4259 | (GO_IF_LEGITIMATE_ADDRESS): Likewise. | |
4260 | (REG_CLASS_FROM_LETTER, INT_7_BITS, INT_8_BITS): Delete. | |
4261 | (CONST_OK_FOR_P, CONST_OK_FOR_LETTER_P): Delete. | |
4262 | (EXTRA_CONSTRAINT): Delete. | |
4263 | (CONST_OK_FOR_I, CONST_OK_FOR_J): Use insn_const_int_ok_for_constraint. | |
4264 | (CONST_OK_FOR_K, CONST_OK_FOR_L, CONST_OK_FOR_M): Likewise. | |
4265 | (CONST_OK_FOR_N, CONST_OK_FOR_O): Likewise. | |
c6150df6 | 4266 | |
30dd1ea3 AS |
4267 | 2011-02-14 Anatoly Sokolov <aesok@post.ru> |
4268 | ||
4269 | PR target/47696 | |
4270 | * config/avr/avr-devices.c (avr_mcu_types): Fix ATmega2560 device | |
4271 | description. | |
4272 | ||
944f4bb3 NF |
4273 | 2011-02-14 Nathan Froyd <froydnj@codesourcery.com> |
4274 | ||
4275 | * config/mcore/constraints.md: New file. | |
4276 | * config/mcore/mcore.md: Include it. | |
4277 | * config/mcore/mcore.c (reg_class_from_letter): Delete. | |
4278 | * config/mcore/mcore.h (reg_class_from_letter): Delete. | |
4279 | (REG_CLASS_FROM_LETTER): Delete. | |
4280 | (CONST_OK_FOR_I, CONST_OK_FOR_J, CONST_OK_FOR_L): Use | |
4281 | insn_const_int_ok_for_constraint. | |
4282 | (CONST_OK_FOR_K, CONST_OK_FOR_M, CONST_OK_FOR_N): Likewise. | |
4283 | (CONST_OK_FOR_O, CONST_OK_FOR_P): Likewise. | |
4284 | (CONST_OK_FOR_LETTER_P, CONST_DOUBLE_OK_FOR_LETTER_P): Delete. | |
4285 | (EXTRA_CONSTRAINT): Delete. | |
4286 | ||
ad56a54c RO |
4287 | 2011-02-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4288 | ||
4289 | PR ada/41929 | |
4290 | * config/sparc/sol2-unwind.h: Include <sys/frame.h>, <sys/stack.h> | |
4291 | (IS_SIGHANDLER): Define. | |
4292 | (sparc64_is_sighandler): New function, split off from | |
4293 | sparc64_fallback_frame_state. | |
4294 | (sparc_is_sighandler): New function, split off from | |
4295 | sparc_fallback_frame_state. | |
4296 | (sparc64_fallback_frame_state): Merge with ... | |
4297 | (sparc_fallback_frame_state): ... this into ... | |
4298 | (MD_FALLBACK_FRAME_STATE_FOR): ... this. | |
fbf4bfd3 UB |
4299 | Change new_cfa to long. Remove regs_off, fpu_save_off, fpu_save. |
4300 | Define nframes, mctx. Use IS_SIGHANDLER, handler_args, mctx, walk | |
4301 | stack instead of hardcoded offsets. | |
ad56a54c | 4302 | |
fbf4bfd3 | 4303 | 2011-02-14 Andriy Gapon <avg@freebsd.org> |
67932abf AG |
4304 | |
4305 | PR target/45808 | |
4306 | * config/freebsd-spec.h (FBSD_LIB_SPEC): Handle the shared case. | |
4307 | ||
029c8f3e RW |
4308 | 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
4309 | ||
4310 | * configure: Regenerate. | |
4311 | ||
a016dc83 JM |
4312 | 2011-02-12 Joseph Myers <joseph@codesourcery.com> |
4313 | ||
4314 | PR driver/45731 | |
4315 | * gcc.c (asm_options): Correct spec matching --target-help. | |
4316 | ||
8957a0ec MJ |
4317 | 2011-02-12 Martin Jambor <mjambor@suse.cz> |
4318 | ||
4319 | * tree-cfg.c (verify_gimple_call): Return true upon invalid argument | |
4320 | to gimple call error. | |
4321 | ||
6ef828bc MS |
4322 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
4323 | ||
4324 | * config/frv/frv.h (TRANSFER_FROM_TRAMPOLINE): Canonicalize | |
4325 | comments in backslash regions. | |
4326 | ||
a4015be5 MS |
4327 | 2011-02-12 Mike Stump <mikestump@comcast.net> |
4328 | Jakub Jelinek <jakub@redhat.com> | |
4329 | Iain Sandoe <iains@gcc.gnu.org> | |
4330 | ||
4331 | PR target/47324 | |
4332 | * dwarf2out.c (output_cfa_loc): When required, apply the | |
4333 | DWARF2_FRAME_REG_OUT macro to adjust register numbers. | |
4334 | (output_loc_sequence): Likewise. | |
4335 | (output_loc_operands_raw): Likewise. | |
4336 | (output_loc_sequence_raw): Likewise. | |
4337 | (output_cfa_loc): Likewise. | |
4338 | (output_loc_list): Suppress register number adjustment when | |
4339 | calling output_loc_sequence() | |
4340 | (output_die): Likewise. | |
4341 | ||
5378dda2 AS |
4342 | 2011-02-12 Anatoly Sokolov <aesok@post.ru> |
4343 | ||
4344 | * config/xtensa/xtensa.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
4345 | Remove macros. | |
4346 | * config/xtensa/xtensa.c (xtensa_register_move_cost, | |
4347 | xtensa_memory_move_cost): New functions. | |
4348 | (TARGET_REGISTER_MOVE_COST, TARGET_REGISTER_MOVE_COST): Define. | |
4349 | ||
f3d533d3 AO |
4350 | 2011-02-12 Alexandre Oliva <aoliva@redhat.com> |
4351 | ||
4352 | PR lto/47225 | |
4353 | * configure.ac (gcc_cv_lto_plugin): Test for liblto_plugin.la | |
4354 | in the current directory. | |
4355 | * configure: Rebuilt. | |
4356 | ||
9d53403c IS |
4357 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
4358 | ||
4359 | * config/darwin.c (darwin_override_options): Add a hunk missed | |
fbf4bfd3 | 4360 | from the commit of r168571. Trim comment line lengths and |
9d53403c IS |
4361 | correct indents of the preceding block. |
4362 | ||
a350a6c8 IS |
4363 | 2011-02-12 Iain Sandoe <iains@gcc.gnu.org> |
4364 | ||
4365 | * gcc.c (driver_handle_option): Concatenate the argument to -F with | |
4366 | the switch. | |
4367 | ||
bab79a40 JM |
4368 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
4369 | ||
4370 | * common.opt (nostartfiles): New Driver option. | |
4371 | ||
1bbc6693 XDL |
4372 | 2011-02-11 Xinliang David Li <davidxl@google.com> |
4373 | ||
4374 | PR tree-optimization/47707 | |
4375 | * tree-chrec.c (convert_affine_scev): Keep type precision. | |
4376 | ||
1da7d8c0 EB |
4377 | 2011-02-11 Eric Botcazou <ebotcazou@adacore.com> |
4378 | ||
4379 | PR tree-optimization/47420 | |
4380 | * ipa-split.c (visit_bb): Punt on any kind of GIMPLE_RESX. | |
4381 | ||
4382 | 2011-02-11 Pat Haugen <pthaugen@us.ibm.com> | |
3f82421f PH |
4383 | |
4384 | PR rtl-optimization/47614 | |
4385 | * rtl.h (check_for_inc_dec): Declare. | |
4386 | * dse.c (check_for_inc_dec): Externalize... | |
4387 | * postreload.c (reload_cse_simplify): ...use it before deleting stmt. | |
4388 | (reload_cse_simplify_operands): Don't simplify opnds with side effects. | |
4389 | ||
4df47bca JM |
4390 | 2011-02-11 Joseph Myers <joseph@codesourcery.com> |
4391 | ||
4392 | PR driver/47678 | |
4393 | * gcc.c (main): Do not compile inputs if there were errors in | |
4394 | option handling. | |
4395 | * opts-common.c (read_cmdline_option): Check for wrong language | |
4396 | after other error checks. | |
4397 | ||
61502ca8 NF |
4398 | 2011-02-11 Nathan Froyd <froydnj@codesourcery.com> |
4399 | ||
4400 | * cgraph.c: Fix comment typos. | |
4401 | * cgraph.h: Likewise. | |
4402 | * cgraphunit.c: Likewise. | |
4403 | * ipa-cp.c: Likewise. | |
4404 | * ipa-inline.c: Likewise. | |
4405 | * ipa-prop.c: Likewise. | |
4406 | * ipa-pure-const.c: Likewise. | |
4407 | * ipa-ref.c: Likewise. | |
4408 | * ipa-reference.c: Likewise. | |
4409 | ||
b63f974e JJ |
4410 | 2011-02-11 Jakub Jelinek <jakub@redhat.com> |
4411 | ||
d50c5e0c JJ |
4412 | PR debug/47684 |
4413 | * tree-predcom.c (single_nonlooparound_use): Ignore debug uses. | |
b63f974e | 4414 | |
6dd2a13c RO |
4415 | 2011-02-11 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4416 | ||
4417 | PR testsuite/47400 | |
4418 | * doc/sourcebuild.texi (Require Support): Document | |
4419 | dg-require-ascii-locale. | |
4420 | ||
4a087ccf MX |
4421 | 2011-02-11 Mingjie Xing <mingjie.xing@gmail.com> |
4422 | ||
4423 | * doc/lto.texi (Write summary): Fix missing parentheses. | |
4424 | ||
a4403164 DD |
4425 | 2011-02-10 DJ Delorie <dj@redhat.com> |
4426 | ||
4427 | * config/m32c/m32c.c (m32c_option_override): Disable | |
4428 | -fcombine-stack-adjustments until flag value tracking and compare | |
4429 | optimization can be rewritten. | |
4430 | ||
4fac45bd PB |
4431 | 2011-02-10 Peter Bergner <bergner@vnet.ibm.com> |
4432 | ||
4433 | * config/rs6000/linux64.h (PROCESSOR_DEFAULT): Change to | |
4434 | PROCESSOR_POWER7. | |
4435 | (PROCESSOR_DEFAULT64): Likewise. | |
4436 | ||
72602cd1 RH |
4437 | 2011-02-10 Richard Henderson <rth@redhat.com> |
4438 | ||
4439 | * config/rx/predicates.md (rx_zs_comparison_operator): Revert | |
4440 | change from 2011-02-03. | |
4441 | * config/rx/rx.c (flags_from_code): Likewise. | |
4442 | (rx_print_operand) ['B']: For LT/GE, use lt/ge if overflow flag | |
4443 | is valid, n/pz otherwise. | |
4444 | (rx_select_cc_mode): Return CCmode if Y is not zero. | |
4445 | ||
ea57f573 RG |
4446 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
4447 | ||
ea4c3e65 | 4448 | * tree-ssa-structalias.c (bitpos_of_field): Use BITS_PER_UNIT, not 8. |
ea57f573 | 4449 | |
92b1d23b RG |
4450 | 2011-02-10 Richard Guenther <rguenther@suse.de> |
4451 | ||
4452 | PR tree-optimization/47677 | |
4453 | * tree-vrp.c (vrp_bitmap_equal_p): Fix comparison of empty bitmaps. | |
4454 | ||
525a2d06 JJ |
4455 | 2011-02-10 Jakub Jelinek <jakub@redhat.com> |
4456 | ||
4457 | PR target/47665 | |
4458 | * combine.c (make_compound_operation): Only change shifts into | |
4459 | multiplication for SCALAR_INT_MODE_P. | |
4460 | ||
06c969bd JZ |
4461 | 2011-02-10 Jie Zhang <jie@codesourcery.com> |
4462 | ||
4463 | PR testsuite/47622 | |
4464 | Revert | |
4465 | 2011-02-05 Jie Zhang <jie@codesourcery.com> | |
4466 | PR debug/42631 | |
4467 | * web.c (entry_register): Don't clobber the number of the | |
4468 | first uninitialized reference in used[]. | |
4469 | ||
282ec48e RG |
4470 | 2011-02-09 Richard Guenther <rguenther@suse.de> |
4471 | ||
4472 | PR tree-optimization/47664 | |
4473 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Visit | |
4474 | all edges again. | |
4475 | ||
df98c3e8 DE |
4476 | 2011-02-09 David Edelsohn <dje.gcc@gmail.com> |
4477 | ||
d0f21cd6 DE |
4478 | PR target/46481 |
4479 | PR target/47032 | |
df98c3e8 DE |
4480 | * config/rs6000/aix61.h (PROCESSOR_DEFAULT): Change to |
4481 | PROCESSOR_POWER7. | |
4482 | (PROCESSOR_DEFAULT64): Same. | |
4483 | (RS6000_DEFAULT_LONG_DOUBLE_SIZE): Delete. | |
4484 | ||
67b6839f RO |
4485 | 2011-02-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
4486 | ||
4487 | * config/mips/iris6.h (TARGET_C99_FUNCTIONS): Define. | |
4488 | ||
4fd73214 MJ |
4489 | 2011-02-09 Martin Jambor <mjambor@suse.cz> |
4490 | ||
4491 | PR middle-end/45505 | |
4492 | * tree-sra.c (struct access): New flags grp_scalar_read and | |
4493 | grp_scalar_write. Changed description of assignment read and write | |
4494 | flags. | |
4495 | (dump_access): Dump new flags, reorder all of them. | |
4496 | (sort_and_splice_var_accesses): Set the new flag accordingly, use them | |
4497 | to detect multiple scalar reads. | |
4498 | (analyze_access_subtree): Use the new scalar read write flags instead | |
4499 | of the old flags. Adjusted comments. | |
4500 | ||
91140cd3 DD |
4501 | 2011-02-08 DJ Delorie <dj@redhat.com> |
4502 | ||
4503 | PR target/47548 | |
4504 | * config/m32c/m32c.c (m32c_subreg): Don't try to validate interim | |
4505 | patterns. | |
4506 | ||
4254bbfe JM |
4507 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
4508 | ||
4509 | * config/m68k/uclinux.opt: New. | |
4510 | * config.gcc (m68k-*-uclinux*): Use m68k/uclinux.opt. | |
4511 | ||
f1fda84e JM |
4512 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
4513 | ||
4514 | * config/cris/elf.opt (sim): New Driver option. | |
4515 | ||
4933ae74 JM |
4516 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
4517 | ||
4518 | * config/xtensa/elf.opt: New. | |
4519 | * config.gcc (xtensa*-*-elf*): Use xtensa/elf.opt. | |
4520 | ||
4ad70280 JM |
4521 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
4522 | ||
4523 | * config/vax/elf.opt: New. | |
4524 | * config.gcc (vax-*-linux*, vax-*-netbsdelf*): Use vax/elf.opt. | |
4525 | ||
20893707 JM |
4526 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
4527 | ||
4528 | * config/rs6000/aix64.opt (posix, pthread): New Driver options. | |
4529 | ||
b8e7038e JM |
4530 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
4531 | ||
4532 | * config/gnu-user.opt: New. | |
4533 | * config.gcc (*-*-linux* | frv-*-*linux* | *-*-kfreebsd*-gnu | | |
4534 | *-*-knetbsd*-gnu | *-*-gnu* | *-*-kopensolaris*-gnu, | |
4535 | *-*-uclinux*): Use gnu-user.opt. | |
4536 | ||
e1c5225a TS |
4537 | 2011-02-08 Thomas Schwinge <thomas@schwinge.name> |
4538 | ||
4539 | * config/gnu.h (CPP_SPEC, LIB_SPEC): Remove handling of -bsd option. | |
4540 | * config/i386/gnu.h (CPP_SPEC): Likewise. | |
4541 | ||
5e46b0c6 ILT |
4542 | 2011-02-08 Ian Lance Taylor <iant@google.com> |
4543 | ||
4544 | * common.opt (fcx-limited-range): Add SetByCombined flag. | |
4545 | (ffinite-math-only, fmath-errno, frounding-math): Likewise. | |
4546 | (fsignaling-nans, fsigned-zeros, ftrapping-math): Likewise. | |
4547 | (fassociative-math, freciprocal-math): Likewise. | |
4548 | (funsafe-math-optimizations): Likewise. | |
4549 | * opth-gen.awk: Handle SetByCombined. | |
4550 | * optc-gen.awk: Likewise. | |
ea4c3e65 | 4551 | * opts.c (set_fast_math_flags): Don't override flag if set by frontend. |
5e46b0c6 ILT |
4552 | (set_unsafe_math_optimizations_flags): Likewise. |
4553 | * doc/options.texi (Option properties): Document SetByCombined. | |
4554 | ||
32243d46 JM |
4555 | 2011-02-08 Joseph Myers <joseph@codesourcery.com> |
4556 | ||
4557 | * config.gcc (arc-*, alpha*-*-gnu*, arm*-*-netbsd*, arm-*-pe*, | |
4558 | i[34567]86-*-interix3*, i[34567]86-*-netbsd*, i[34567]86-*-pe, | |
4559 | m68hc11-*-*, m6811-*-*, m68hc12-*-*, m6812-*-*, | |
4560 | m68k-*-uclinuxoldabi*, mcore-*-pe*, powerpc*-*-gnu*, | |
4561 | sh*-*-symbianelf*, vax-*-netbsd*): Mark obsolete. | |
4562 | ||
479c1fb3 SP |
4563 | 2011-02-08 Sebastian Pop <sebastian.pop@amd.com> |
4564 | ||
4565 | PR tree-optimization/46834 | |
4566 | PR tree-optimization/46994 | |
4567 | PR tree-optimization/46995 | |
4568 | * graphite-sese-to-poly.c (used_outside_reduction): New. | |
4569 | (detect_commutative_reduction): Call used_outside_reduction. | |
4570 | (rewrite_commutative_reductions_out_of_ssa_close_phi): Call | |
4571 | translate_scalar_reduction_to_array only when at least one | |
4572 | loop-phi/close-phi tuple has been detected. | |
4573 | ||
3865a06f RG |
4574 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
4575 | ||
4576 | PR middle-end/47639 | |
4577 | * tree-vect-generic.c (expand_vector_operations_1): Update | |
4578 | stmts here ... | |
4579 | (expand_vector_operations): ... not here. Cleanup EH info | |
4580 | and the CFG if required. | |
4581 | ||
62902f3f RG |
4582 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
4583 | ||
4584 | PR tree-optimization/47641 | |
4585 | * tree-ssa.c (execute_update_addresses_taken): For asm outputs | |
4586 | require type compatibility. | |
4587 | ||
0efb9d64 AK |
4588 | 2011-02-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
4589 | ||
4590 | * gimple-low.c (lower_function_body): Don't remove the location of | |
4591 | the return statement here. | |
4592 | (lower_gimple_return): Do it here instead but only if the return | |
4593 | statement is actually used twice. | |
4594 | ||
034b8ae4 RG |
4595 | 2011-02-08 Richard Guenther <rguenther@suse.de> |
4596 | ||
4597 | PR tree-optimization/47632 | |
4598 | * tree-ssa-forwprop.c (remove_prop_source_from_use): Remove | |
4599 | unused up_to_stmt parameter, return whether cfg-cleanup is | |
4600 | necessary, remove EH info properly. | |
4601 | (forward_propagate_into_gimple_cond): Adjust caller. | |
4602 | (forward_propagate_into_cond): Likewise. | |
4603 | (forward_propagate_comparison): Likewise. | |
4604 | (tree_ssa_forward_propagate_single_use_vars): Make | |
4605 | forward_propagate_comparison case similar to the two others. | |
4606 | ||
298362c8 NC |
4607 | 2011-02-08 Nick Clifton <nickc@redhat.com> |
4608 | ||
4609 | * config/mn10300/mn10300.opt (mliw): New command line option. | |
4610 | * config/mn10300/mn10300.md (UNSPEC_LIW): New unspec. | |
4611 | (liw_bundling): New automaton. | |
4612 | (liw): New attribute. | |
4613 | (liw_op): New attribute. | |
4614 | (liw_op1, liw_op2, liw_both, liw_either): New reservations. | |
4615 | (movsi_internal): Add LIW attributes. | |
4616 | (andsi3): Likewise. | |
4617 | (iorsi3): Likewise. | |
4618 | (xorsi3): Likewise. | |
4619 | (addsi3): Separate register and immediate alternatives. | |
4620 | Add LIW attributes. | |
4621 | (subsi3): Likewise. | |
4622 | (cmpsi): Likewise. | |
4623 | (aslsi3): Likewise. | |
4624 | (lshrsi3): Likewise. | |
4625 | (ashrsi3): Likewise. | |
4626 | (liw): New pattern. | |
4627 | * config/mn10300/mn10300.c (liw_op_names): New | |
4628 | (mn10300_print_operand): Handle 'W' operand descriptor. | |
4629 | (extract_bundle): New function. | |
4630 | (check_liw_constraints): New function. | |
4631 | (liw_candidate): New function. | |
4632 | (mn10300_bundle_liw): New function. | |
4633 | (mn10300_reorg): New function. | |
4634 | (TARGET_MACHINE_DEPENDENT_REORG): Define. | |
4635 | (TARGET_DEFAULT_TARGET_FLAGS): Add MASK_ALLOW_LIW. | |
4636 | * config/mn10300/mn10300.h (TARGET_CPU_CPP_BUILTINS): Define | |
4637 | __LIW__ or __NO_LIW__. | |
4638 | * doc/invoke.texi: Describe the -mliw command line option. | |
4639 | ||
90488014 JDA |
4640 | 2011-02-07 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
4641 | ||
4642 | * config.gcc (hppa[12]*-*-hpux11*): Don't set extra_parts. | |
4643 | * config/pa/stublib.c (pthread_default_stacksize_np, pthread_mutex_lock, | |
4644 | pthread_mutex_unlock): Remove. | |
4645 | * config/pa/t-pa-hpux11: Remove rules to build pthread stubs. | |
4646 | * config/pa/t-pa64: Likewise. | |
4647 | * config/pa/pa64-hpux.h (LIB_SPEC): In static links, link against | |
4648 | shared libc if not linking against libpthread. | |
4649 | * config/pa/pa-hpux11.h (LIB_SPEC): Likewise. | |
4650 | ||
689ff841 IS |
4651 | 2011-02-07 Iain Sandoe <iains@gcc.gnu.org> |
4652 | ||
4653 | PR target/47558 | |
4654 | * config/darwin10.h (LINK_GCC_C_SEQUENCE_SPEC): Put -lSystem first | |
4655 | on 10.6 and later to ensure that we always use the unwinder from | |
4656 | the system. Only add -no_compact_unwind when tarteting darwin | |
4657 | 10.6 or later. | |
4658 | ||
821014aa SE |
4659 | 2011-02-07 Steve Ellcey <sje@cup.hp.com> |
4660 | ||
4661 | PR target/46997 | |
4662 | * vect.md (vec_interleave_highv2sf): Change fmix for TARGET_BIG_ENDIAN. | |
4663 | (vec_interleave_lowv2sf): Ditto. | |
4664 | (vec_extract_evenv2sf): Add TARGET_BIG_ENDIAN check. | |
4665 | (vec_extract_oddv2sf): Ditto. | |
4666 | ||
41cf94fb MS |
4667 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
4668 | ||
62dea57d | 4669 | PR target/42333 |
41cf94fb MS |
4670 | Add __ieee_divdc3 entry point. |
4671 | * config/i386/darwin.h (DECLARE_LIBRARY_RENAMES): Retain ___divdc3 | |
4672 | entry point. | |
4673 | (SUBTARGET_INIT_BUILTINS): Call darwin_rename_builtins. | |
4674 | * config/i386/i386.c (TARGET_INIT_LIBFUNCS): Likewise. | |
4675 | * config/darwin.c (darwin_rename_builtins): Add. | |
4676 | * config/darwin-protos.h (darwin_rename_builtins): Add. | |
4677 | ||
ee09a3dd MM |
4678 | 2011-02-07 Michael Meissner <meissner@linux.vnet.ibm.com> |
4679 | ||
4680 | PR target/47636 | |
4681 | * config/rs6000/rs6000.md (rsqrt<mode>2): Use the correct macro | |
4682 | for the condition. | |
4683 | ||
83296cd0 MS |
4684 | 2011-02-07 Mike Stump <mikestump@comcast.net> |
4685 | ||
ea4c3e65 | 4686 | * config/darwin.opt (mmacosx-version-min): Update default OS version. |
83296cd0 | 4687 | |
0f4e946f DC |
4688 | 2011-02-07 Denis Chertykov <chertykov@gmail.com> |
4689 | ||
4690 | PR target/47534 | |
4691 | * config/avr/libgcc.S (exit): Move .endfunc | |
4692 | ||
1ec87690 RG |
4693 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
4694 | ||
4695 | PR tree-optimization/47615 | |
4696 | * tree-ssa-sccvn.h (run_scc_vn): Take a vn-walk mode argument. | |
4697 | * tree-ssa-sccvn.c (default_vn_walk_kind): New global. | |
4698 | (run_scc_vn): Initialize it. | |
4699 | (visit_reference_op_load): Use it. | |
4700 | * tree-ssa-pre.c (execute_pre): Use VN_WALK if in PRE. | |
4701 | ||
b46ae6da UW |
4702 | 2011-02-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
4703 | ||
4704 | * config/spu/spu.c (spu_init_libfuncs): Install SImode and | |
4705 | DImode trapping arithmetic libfuncs. | |
4706 | ||
c0aae19c RG |
4707 | 2011-02-07 Richard Guenther <rguenther@suse.de> |
4708 | ||
4709 | PR tree-optimization/47621 | |
4710 | * tree-ssa.c (non_rewritable_lvalue_p): New function, split out from | |
4711 | two duplicates ... | |
4712 | (execute_update_addresses_taken): ... here. Make it more | |
4713 | conservative in what we accept. | |
4714 | ||
295d926b JM |
4715 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
4716 | ||
4717 | * config/sparc/freebsd.h (ASM_SPEC): Define. | |
4718 | * config/sparc/vxworks.h (ASM_SPEC): Define. | |
4719 | ||
bdeb2471 JM |
4720 | 2011-02-06 Joseph Myers <joseph@codesourcery.com> |
4721 | ||
4722 | * config/sparc/sol2-bi.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
4723 | ||
d5d3781a SB |
4724 | 2011-02-06 Steven Bosscher <steven@gcc.gnu.org> |
4725 | ||
4726 | * doc/invoke.texi: Remove reference to compiler internals from | |
4727 | user documentation. | |
4728 | ||
4729 | * reg-notes.def: Remove REG_VALUE_PROFILE. | |
4730 | * combine.c (distribute_notes): Do not handle REG_VALUE_PROFILE. | |
4731 | ||
c42c09fc JJ |
4732 | 2011-02-05 Jakub Jelinek <jakub@redhat.com> |
4733 | ||
4734 | PR middle-end/47610 | |
4735 | * varasm.c (default_section_type_flags): If decl is NULL, | |
38be4072 | 4736 | and name is .data.rel.ro or .data.rel.ro.local, set SECTION_RELRO bit. |
c42c09fc | 4737 | |
beea2755 JZ |
4738 | 2011-02-05 Jie Zhang <jie@codesourcery.com> |
4739 | ||
4740 | PR debug/42631 | |
4741 | * web.c (entry_register): Don't clobber the number of the | |
4742 | first uninitialized reference in used[]. | |
4743 | ||
a130584a SP |
4744 | 2011-02-04 Sebastian Pop <sebastian.pop@amd.com> |
4745 | ||
4746 | PR tree-optimization/46194 | |
4747 | * tree-data-ref.c (analyze_miv_subscript): Remove comment. | |
4748 | (build_classic_dist_vector_1): Do not represent classic distance | |
4749 | vectors when the access functions are variating in different loops. | |
4750 | ||
962101ac JM |
4751 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
4752 | ||
4753 | * config/mips/iris6.opt: New. | |
4754 | * config.gcc (mips-sgi-irix6.5*): Use mips/iris6.opt. | |
4755 | ||
55eaaa5b RH |
4756 | 2011-02-04 Richard Henderson <rth@redhat.com> |
4757 | Steve Ellcey <sje@cup.hp.com> | |
4758 | ||
4759 | PR target/46997 | |
4760 | * config/ia64/predicates.md (mux1_brcst_element): New. | |
4761 | * config/ia64/ia64-protos.h (ia64_unpack_assemble): New. | |
4762 | * config/ia64/ia64.c (ia64_unpack_assemble): New. | |
4763 | (ia64_unpack_sign): New. | |
4764 | (ia64_expand_unpack): Rewrite using new routines. | |
4765 | (ia64_expand_widen_sum): Ditto. | |
4766 | (ia64_expand_dot_prod_v8qi): Ditto. | |
4767 | * config/ia64/vect.md (mulv8qi3): Rewrite to use new | |
4768 | routines, add endian check. | |
4769 | (pmpy2_even): Rename from pmpy2_r, add endian check. | |
4770 | (pmpy2_odd): Rename from pmpy2_l, add endian check. | |
4771 | (vec_widen_smult_lo_v4hi): Rewrite using new routines. | |
4772 | (vec_widen_smult_hi_v4hi): Ditto. | |
4773 | (vec_widen_umult_lo_v4hi): Ditto. | |
4774 | (vec_widen_umult_hi_v4hi): Ditto. | |
4775 | (mulv2si3): Change endian checks. | |
4776 | (sdot_prodv4hi): Rewrite with new calls. | |
4777 | (udot_prodv4hi): New. | |
4778 | (vec_pack_ssat_v4hi): Add endian check. | |
4779 | (vec_pack_usat_v4hi): Ditto. | |
4780 | (vec_pack_ssat_v2si): Ditto. | |
4781 | (max1_even): Rename from max1_r, add endian check. | |
4782 | (max1_odd): Rename from max1_l, add endian check. | |
4783 | (*mux1_rev): Format change. | |
4784 | (*mux1_mix): Ditto. | |
4785 | (*mux1_shuf): Ditto. | |
4786 | (*mux1_alt): Ditto. | |
4787 | (*mux1_brcst_v8qi): Use new predicate. | |
4788 | (vec_extract_evenv8qi): Remove endian check. | |
4789 | (vec_extract_oddv8qi): Ditto. | |
4790 | (vec_interleave_lowv4hi): Format change. | |
4791 | (vec_interleave_highv4hi): Ditto. | |
4792 | (mix2_even): Rename from mix2_r, add endian check. | |
4793 | (mix2_odd): Rename from mux2_l, add endian check. | |
4794 | (*mux2): Fix mask setting for TARGET_BIG_ENDIAN. | |
4795 | (vec_extract_evenodd_helper): Format change. | |
4796 | (vec_extract_evenv4hi): Remove endian check. | |
4797 | (vec_extract_oddv4hi): Remove endian check. | |
4798 | (vec_interleave_lowv2si): Format change. | |
4799 | (vec_interleave_highv2si): Format change. | |
4800 | (vec_initv2si): Remove endian check. | |
4801 | (vecinit_v2si): Add endian check. | |
4802 | (reduc_splus_v2sf): Add endian check. | |
4803 | (reduc_smax_v2sf): Ditto. | |
4804 | (reduc_smin_v2sf): Ditto. | |
4805 | (vec_initv2sf): Remove endian check. | |
4806 | (fpack): Add endian check. | |
4807 | (fswap): Add endian check. | |
4808 | (vec_interleave_highv2sf): Add endian check. | |
4809 | (vec_interleave_lowv2sf): Add endian check. | |
4810 | (fmix_lr): Add endian check. | |
4811 | (vec_setv2sf): Format change. | |
4812 | (*vec_extractv2sf_0_be): Use shift to extract operand. | |
4813 | (*vec_extractv2sf_1_be): New. | |
4814 | (vec_pack_trunc_v4hi): Add endian check. | |
4815 | (vec_pack_trunc_v2si): Format change. | |
4816 | ||
dcde5957 JJ |
4817 | 2011-02-04 Jakub Jelinek <jakub@redhat.com> |
4818 | ||
4819 | PR inline-asm/23200 | |
4820 | * tree-ssa-ter.c (is_replaceable_p): Add TER argument. Don't | |
38be4072 | 4821 | do bb, locus and block comparison and disallow loads if it is not set. |
dcde5957 JJ |
4822 | (stmt_is_replaceable_p): New function. |
4823 | (process_replaceable, find_replaceable_in_bb): Adjust is_replaceable_p | |
4824 | callers. | |
4825 | * expr.c (expand_expr_real_1) <case SSA_NAME>: If | |
4826 | get_gimple_for_ssa_name try for EXPAND_INITIALIZER harder to use | |
4827 | SSA_NAME_DEF_STMT. | |
4828 | * tree-flow.h (stmt_is_replaceable_p): New prototype. | |
4829 | ||
a64a8e5a JM |
4830 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
4831 | ||
4832 | * config/rs6000/xilinx.opt: New. | |
4833 | * config.gcc (powerpc-xilinx-eabi*): Use rs6000/xilinx.opt. | |
4834 | ||
4da2ed2f JM |
4835 | 2011-02-04 Joseph Myers <joseph@codesourcery.com> |
4836 | ||
4837 | * config/mips/mips.opt (EB, EL, noasmopt): New Driver options. | |
4838 | ||
a6e508f9 AS |
4839 | 2011-02-03 Anatoly Sokolov <aesok@post.ru> |
4840 | ||
4841 | * config/xtensa/xtensa.h (PREFERRED_RELOAD_CLASS, | |
4842 | PREFERRED_OUTPUT_RELOAD_CLASS): Remove. | |
4843 | * config/xtensa/xtensa-protos.h (xtensa_preferred_reload_class, | |
4844 | secondary_reload_info, xtensa_secondary_reload): Remove. | |
4845 | * config/xtensa/xtensa.c (TARGET_PREFERRED_RELOAD_CLASS, | |
4846 | TARGET_PREFERRED_OUTPUT_RELOAD_CLASS): Define. | |
4847 | (xtensa_preferred_reload_class): Make static. Change return and | |
4848 | 'rclass' argument type to reg_class_t. Remove 'isoutput' argument. | |
4849 | Use CONST_DOUBLE_P predicate. | |
4850 | (xtensa_preferred_output_reload_class): New function. | |
4851 | (xtensa_secondary_reload): Make static. | |
4852 | ||
82dc0de3 JM |
4853 | 2011-02-03 Joseph Myers <joseph@codesourcery.com> |
4854 | ||
4855 | * config/microblaze/microblaze.opt (Zxl-mode-bootstrap, | |
4856 | Zxl-mode-executable, Zxl-mode-novectors, Zxl-mode-xilkernel, | |
4857 | Zxl-mode-xmdstub, mxl-mode-xilkernel): New Driver options. | |
4858 | ||
7fece979 JJ |
4859 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
4860 | ||
4861 | PR middle-end/31490 | |
4862 | * output.h (SECTION_RELRO): Define. | |
4863 | (SECTION_MACH_DEP): Adjust. | |
4864 | (get_variable_section): New prototype. | |
4865 | * varpool.c (varpool_finalize_named_section_flags): New function. | |
4866 | (varpool_assemble_pending_decls): Call it. | |
4867 | * cgraph.h (varpool_finalize_named_section_flags): New prototype. | |
4868 | * cgraphunit.c (cgraph_output_in_order): Call | |
4869 | varpool_finalize_named_section_flags. | |
4870 | * varasm.c (get_section): Allow section flags conflicts between | |
4871 | relro and read-only sections if the section hasn't been declared yet. | |
4872 | Set SECTION_OVERRIDE after diagnosing section type conflict. | |
4873 | (get_variable_section): No longer static. | |
4874 | (default_section_type_flags): Use SECTION_WRITE | SECTION_RELRO for | |
4875 | readonly sections that need relocations. | |
4876 | (decl_readonly_section_1): New function. | |
4877 | (decl_readonly_section): Use it. | |
4878 | ||
4879 | Revert: | |
509d65dd | 4880 | 2010-11-17 Dinar Temirbulatov <dtemirbulatov@gmail.com> |
7fece979 JJ |
4881 | Steve Ellcey <sje@cup.hp.com> |
4882 | ||
4883 | PR middle-end/31490 | |
4884 | * varasm.c (categorize_decl_for_section): Ignore reloc_rw_mask | |
4885 | if section attribute used. | |
4886 | ||
d18d5478 JJ |
4887 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
4888 | ||
4889 | * config/darwin.h (SECTION_NO_ANCHOR): Remove. | |
4890 | * config/darwin.c (SECTION_NO_ANCHOR): Define. | |
4891 | (darwin_init_sections): Remove assertion. | |
4892 | ||
6479ed4b NC |
4893 | 2011-02-03 Nick Clifton <nickc@redhat.com> |
4894 | ||
4895 | * config/rx/predicates.md (rx_zs_comparison_operator): Remove | |
4896 | lt and ge. | |
38be4072 | 4897 | * config/rx/rx.md (abssi2_flags): Use CC_ZSmode rather than CC_ZSOmode. |
6479ed4b NC |
4898 | * config/rx/rx.c (rx_print_operand): Use "lt" and "ge" suffixes |
4899 | instead of "n" and "pz". | |
4900 | (flags_from_code): LT and GE tests need CC_FLAG_O as well as | |
4901 | CC_FLAG_S. | |
4902 | ||
89843f5d JJ |
4903 | 2011-02-03 Jakub Jelinek <jakub@redhat.com> |
4904 | ||
65450d64 JJ |
4905 | PR target/47312 |
4906 | * expr.c (expand_expr_real_2) <case FMA_EXPR>: If target doesn't expand | |
4907 | fma, expand FMA_EXPR as fma{,f,l} call. | |
4908 | ||
7d58701c JJ |
4909 | PR lto/47274 |
4910 | * lto-streamer-out.c (write_symbol): When writing kind and visibility, | |
4911 | copy them into a unsigned char variable and pass address of it to | |
4912 | lto_output_data_stream. | |
4913 | ||
89843f5d JJ |
4914 | PR target/47564 |
4915 | * toplev.c (target_reinit): Save and restore *crtl and regno_reg_rtx | |
4916 | around backend_init_target and lang_dependent_init_target calls. | |
4917 | * cgraphunit.c (cgraph_debug_gimple_stmt): New function. | |
4918 | (verify_cgraph_node): Don't call set_cfun here. Use | |
4919 | cgraph_debug_gimple_stmt instead of debug_gimple_stmt. | |
4920 | Set error_found for incorrectly represented calls to thunks. | |
4921 | ||
4deef538 AO |
4922 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
4923 | ||
4924 | PR debug/43092 | |
4925 | PR rtl-optimization/43494 | |
4926 | * rtl.h (for_each_inc_dec_fn): New type. | |
4927 | (for_each_inc_dec): Declare. | |
4928 | * rtlanal.c (struct for_each_inc_dec_ops): New type. | |
4929 | (for_each_inc_dec_find_inc_dec): New fn. | |
4930 | (for_each_inc_dec_find_mem): New fn. | |
4931 | (for_each_inc_dec): New fn. | |
4932 | * dse.c (struct insn_size): Remove. | |
4933 | (replace_inc_dec, replace_inc_dec_mem): Remove. | |
4934 | (emit_inc_dec_insn_before): New fn. | |
4935 | (check_for_inc_dec): Use it, along with for_each_inc_dec. | |
4936 | (canon_address): Pass mem modes to cselib_lookup. | |
4937 | * cselib.h (cselib_lookup): Add memmode argument. Adjust callers. | |
4938 | (cselib_lookup_from_insn): Likewise. | |
4939 | (cselib_subst_to_values): Likewise. | |
4940 | * cselib.c (find_slot_memmode): New var. | |
4941 | (cselib_find_slot): New fn. Use it instead of | |
4942 | htab_find_slot_with_hash everywhere. | |
4943 | (entry_and_rtx_equal_p): Use find_slot_memmode. | |
4944 | (autoinc_split): New fn. | |
4945 | (rtx_equal_for_cselib_p): Rename and implement in terms of... | |
4946 | (rtx_equal_for_cselib_1): ... this. Take memmode, pass it on. | |
4947 | Deal with autoinc. Special-case recursion into MEMs. | |
4948 | (cselib_hash_rtx): Likewise. | |
4949 | (cselib_lookup_mem): Infer pmode from address mode. Distinguish | |
4950 | address and MEM modes. | |
4951 | (cselib_subst_to_values): Add memmode, pass it on. | |
4952 | Deal with autoinc. | |
4953 | (cselib_lookup): Add memmode argument, pass it on. | |
4954 | (cselib_lookup_from_insn): Add memmode. | |
4955 | (cselib_invalidate_rtx): Discard obsolete push_operand handling. | |
4956 | (struct cselib_record_autoinc_data): New. | |
4957 | (cselib_record_autoinc_cb): New fn. | |
4958 | (cselib_record_sets): Use it, along with for_each_inc_dec. Pass MEM | |
4959 | mode to cselib_lookup. Reset autoinced REGs here instead of... | |
4960 | (cselib_process_insn): ... here. | |
4961 | * var-tracking.c (replace_expr_with_values, use_type): Pass MEM mode | |
4962 | to cselib_lookup. | |
4963 | (add_uses): Likewise, also to cselib_subst_to_values. | |
4964 | (add_stores): Likewise. | |
4965 | * sched-deps.c (add_insn_mem_dependence): Pass mode to | |
4966 | cselib_subst_to_values. | |
4967 | (sched_analyze_1, sched_analyze_2): Likewise. Adjusted. | |
4968 | * gcse.c (do_local_cprop): Adjusted. | |
4969 | * postreload.c (reload_cse_simplify_set): Adjusted. | |
4970 | (reload_cse_simplify_operands): Adjusted. | |
4971 | * sel-sched-dump (debug_mem_addr_value): Pass mode. | |
4972 | ||
1551d44a AO |
4973 | 2011-02-03 Alexandre Oliva <aoliva@redhat.com> |
4974 | ||
4975 | PR tree-optimization/45122 | |
4976 | * tree-ssa-loop-niter.c (number_of_iterations_exit): Don't make | |
4977 | unsafe assumptions when there's more than one loop exit. | |
4978 | ||
c9485473 MM |
4979 | 2011-02-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
4980 | ||
4981 | PR target/47272 | |
4982 | * doc/extend.texi (PowerPC AltiVec/VSX Built-in Functions): | |
4983 | Document using vector double with the load/store builtins, and | |
4984 | that the load/store builtins always use Altivec instructions. | |
4985 | ||
4986 | * config/rs6000/vector.md (vector_altivec_load_<mode>): New insns | |
4987 | to use altivec memory instructions, even on VSX. | |
4988 | (vector_altivec_store_<mode>): Ditto. | |
4989 | ||
4990 | * config/rs6000/rs6000-protos.h (rs6000_address_for_altivec): New | |
4991 | function. | |
4992 | ||
4993 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
4994 | V2DF, V2DI support to load/store overloaded builtins. | |
4995 | ||
4996 | * config/rs6000/rs6000-builtin.def (ALTIVEC_BUILTIN_*): Add | |
4997 | altivec load/store builtins for V2DF/V2DI types. | |
4998 | ||
4999 | * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't | |
5000 | set avoid indexed addresses on power6 if -maltivec. | |
5001 | (altivec_expand_ld_builtin): Add V2DF, V2DI support, use | |
5002 | vector_altivec_load/vector_altivec_store builtins. | |
5003 | (altivec_expand_st_builtin): Ditto. | |
5004 | (altivec_expand_builtin): Add VSX memory builtins. | |
5005 | (rs6000_init_builtins): Add V2DI types to internal types. | |
5006 | (altivec_init_builtins): Add support for V2DF/V2DI altivec | |
5007 | load/store builtins. | |
5008 | (rs6000_address_for_altivec): Insure memory address is appropriate | |
5009 | for Altivec. | |
5010 | ||
5011 | * config/rs6000/vsx.md (vsx_load_<mode>): New expanders for | |
5012 | vec_vsx_ld and vec_vsx_st. | |
5013 | (vsx_store_<mode>): Ditto. | |
5014 | ||
5015 | * config/rs6000/rs6000.h (RS6000_BTI_long_long): New type | |
5016 | variables to hold long long types for VSX vector memory builtins. | |
5017 | (RS6000_BTI_unsigned_long_long): Ditto. | |
5018 | (long_long_integer_type_internal_node): Ditti. | |
5019 | (long_long_unsigned_type_internal_node): Ditti. | |
5020 | ||
5021 | * config/rs6000/altivec.md (UNSPEC_LVX): New UNSPEC. | |
5022 | (altivec_lvx_<mode>): Make altivec_lvx use a mode iterator. | |
5023 | (altivec_stvx_<mode>): Make altivec_stvx use a mode iterator. | |
5024 | ||
5025 | * config/rs6000/altivec.h (vec_vsx_ld): Define VSX memory builtin | |
5026 | short cuts. | |
5027 | (vec_vsx_st): Ditto. | |
5028 | ||
b24d1acf JM |
5029 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
5030 | ||
5031 | * config/pa/pa-hpux10.opt: New. | |
5032 | * config/hpux11.opt (pthread): New Driver option. | |
5033 | * config/pa/pa-hpux.opt (nolibdld, rdynamic): New Driver options. | |
5034 | * config.gcc (hppa[12]*-*-hpux10*): Use pa/pa-hpux10.opt. | |
5035 | ||
aa18dd0f JM |
5036 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
5037 | ||
5038 | * config/ia64/vms.opt: New. | |
5039 | * config.gcc (ia64-hp-*vms*): Use ia64/vms.opt. | |
5040 | ||
28fc3eee MM |
5041 | 2011-02-01 Michael Meissner <meissner@linux.vnet.ibm.com> |
5042 | ||
5043 | PR target/47580 | |
5044 | * config/rs6000/vsx.md (vsx_float<VSi><mode>2): Use | |
5045 | gpc_reg_operand instead of vsx_register_operand to match rs6000.md | |
5046 | generator functions. | |
5047 | (vsx_floatuns<VSi><mode>2): Ditto. | |
5048 | (vsx_fix_trunc<mode><VSi>2): Ditto. | |
5049 | (vsx_fixuns_trunc<mode><VSi>2): Ditto. | |
5050 | ||
b5838b1f JM |
5051 | 2011-02-02 Joseph Myers <joseph@codesourcery.com> |
5052 | ||
5053 | * config/i386/djgpp.opt (posix): New Driver option. | |
5054 | ||
0db8fa89 GP |
5055 | 2011-02-02 Gerald Pfeifer <gerald@pfeifer.com> |
5056 | ||
5057 | * config.gcc (*-*-freebsd[12], *-*-freebsd[12].*, *-*-freebsd*aout*): | |
5058 | Move to the unsupported targets list. | |
5059 | ||
9cd4f22a PB |
5060 | 2011-02-02 Peter Bergner <bergner@vnet.ibm.com> |
5061 | ||
5062 | PR rtl-optimization/47525 | |
5063 | * df-scan.c: Update copyright years. | |
5064 | (df_get_call_refs): Do not mark global registers as DF_REF_REG_USE | |
5065 | and non-clobber DF_REF_REG_DEF for calls to const and pure functions. | |
5066 | ||
9ed8059c RO |
5067 | 2011-02-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5068 | ||
5069 | * config/i386/sysv4.h (TARGET_VERSION): Remove. | |
5070 | (SUBTARGET_RETURN_IN_MEMORY): Remove. | |
5071 | (ASM_OUTPUT_ASCII): Remove. | |
5072 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): Remove #undef. | |
5073 | ||
2a737389 JL |
5074 | 2011-02-02 Jeff Law <law@redhat.com> |
5075 | ||
5076 | PR middle-end/47543 | |
5077 | * reload.c (find_reloads_address): Handle reg+d address where both | |
5078 | components are invalid by reloading the entire address. | |
5079 | ||
9dac82c4 SP |
5080 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
5081 | Richard Guenther <rguenther@suse.de> | |
5082 | ||
5083 | PR tree-optimization/40979 | |
5084 | PR bootstrap/47044 | |
5085 | * passes.c (init_optimization_passes): After LIM call copy_prop | |
5086 | and DCE to clean up. | |
5087 | * tree-ssa-loop.c (pass_graphite_transforms): Add TODO_dump_func. | |
5088 | ||
14dd9aab SP |
5089 | 2011-02-02 Sebastian Pop <sebastian.pop@amd.com> |
5090 | ||
5091 | PR tree-optimization/47576 | |
5092 | PR tree-optimization/47555 | |
5093 | * doc/invoke.texi (scev-max-expr-complexity): Documented. | |
5094 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
5095 | (PARAM_SCEV_MAX_EXPR_COMPLEXITY): Declared. | |
5096 | * tree-scalar-evolution.c (follow_ssa_edge): Use | |
5097 | PARAM_SCEV_MAX_EXPR_COMPLEXITY. | |
5098 | ||
5cbf5c20 RG |
5099 | 2011-02-02 Richard Guenther <rguenther@suse.de> |
5100 | ||
5101 | PR tree-optimization/47566 | |
5102 | * builtins.c (builtin_save_expr): No SAVE_EXPR for SSA_NAMEs. | |
5103 | ||
83d70792 AO |
5104 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
5105 | ||
e829c321 AO |
5106 | PR debug/47106 |
5107 | PR debug/47402 | |
5108 | * tree-inline.c (declare_return_variable): Remove unused caller | |
5109 | variable. | |
5110 | ||
83d70792 AO |
5111 | PR debug/47106 |
5112 | PR debug/47402 | |
5113 | * tree-flow-inline.h (clear_is_used, is_used_p): New. | |
5114 | * cfgexpand.c (account_used_vars_for_block): Use them. | |
5115 | * tree-nrv.c (tree_nrv): Likewise. | |
5116 | * tree-ssa-live.c (remove_unused_scope_block_p): Likewise. | |
5117 | (dump_scope_block): Likewise. | |
5118 | (remove_unused_locals): Likewise. | |
5119 | ||
aaa2ac93 AO |
5120 | PR debug/47106 |
5121 | PR debug/47402 | |
5122 | * tree-inline.c (declare_return_variable): Add result decl to | |
5123 | local decls only once. | |
5124 | * gimple-low.c (record_vars_into): Mark newly-created variables | |
5125 | as referenced. | |
5126 | ||
a59d15cf AO |
5127 | 2011-02-02 Alexandre Oliva <aoliva@redhat.com> |
5128 | ||
5129 | PR debug/47498 | |
5130 | PR debug/47501 | |
5131 | PR debug/45136 | |
5132 | PR debug/45130 | |
5133 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
5134 | debug insns. | |
5135 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
5136 | treatment of boundary debug insns. | |
38be4072 | 5137 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
a59d15cf AO |
5138 | * sched-ebb.c (schedule_ebbs): Adjust skipping of debug insns. |
5139 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
5140 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
5141 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
5142 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
5143 | boundary debug insns. | |
5144 | * final.c (rest_of_clean_state): Clear notes' BB. | |
5145 | ||
6fc2f091 JM |
5146 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
5147 | ||
5148 | * config/openbsd.opt (assert=): New Driver option. | |
5149 | ||
fc523387 JM |
5150 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
5151 | ||
5152 | * config/i386/nto.opt: New. | |
5153 | * config.gcc (i[34567]86-*-nto-qnx*): Use i386/nto.opt. | |
5154 | ||
6d9821e5 JM |
5155 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
5156 | ||
5157 | * config/i386/netware.opt: New. | |
5158 | * config.gcc (i[3456x]86-*-netware*): Use i386/netware.opt. | |
5159 | ||
cef932d4 JM |
5160 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
5161 | ||
5162 | * config/interix.opt (posix): New Driver option. | |
5163 | ||
22843acd DD |
5164 | 2011-02-01 DJ Delorie <dj@redhat.com> |
5165 | ||
56490b74 DD |
5166 | * config/m32c/m32c.h (PTRDIFF_TYPE): Remove extra definition. |
5167 | ||
22843acd DD |
5168 | * config/m32c/m32c.c (m32c_regno_reg_class): Return smallest reg |
5169 | class for A0/A1. | |
5170 | ||
199c8f2f SP |
5171 | 2011-02-01 Sebastian Pop <sebastian.pop@amd.com> |
5172 | ||
5173 | PR tree-optimization/47561 | |
5174 | * toplev.c (process_options): Print the Graphite flags. Add | |
5175 | flag_loop_flatten to the list of options requiring Graphite. | |
5176 | ||
926bcf22 JM |
5177 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
5178 | ||
5179 | * config/i386/cygming.opt (posix): New Driver option. | |
5180 | ||
59793c51 JM |
5181 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
5182 | ||
5183 | * config/arm/vxworks.opt: New. | |
5184 | * config.gcc (arm-wrs-vxworks): Use arm/vxworks.opt. | |
5185 | ||
183c38a4 JM |
5186 | 2011-02-01 Joseph Myers <joseph@codesourcery.com> |
5187 | ||
5188 | * config/alpha/elf.opt: New. | |
5189 | * config.gcc (alpha*-*-linux*, alpha*-*-gnu*, alpha*-*-freebsd*, | |
5190 | alpha*-*-netbsd*, alpha*-*-openbsd*): Use alpha/elf.opt. | |
5191 | ||
9939e416 RG |
5192 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
5193 | ||
5194 | PR tree-optimization/47559 | |
5195 | * tree-ssa-loop-im.c (can_sm_ref_p): Do not perform | |
5196 | store-motion on references that can throw. | |
5197 | ||
4a3c9687 BS |
5198 | 2011-02-01 Bernd Schmidt <bernds@codesourcery.com> |
5199 | ||
5200 | * tree-dump.c (dump_option_value_info): Add entry for TDF_CSELIB. | |
5201 | * tree-pass.h (TDF_CSELIB): New macro. | |
5202 | * cselib.c (new_cselib_val, expand_loc, cselib_expand_value_rtx_1, | |
5203 | cselib_lookup): Check for it rather than for TDF_DETAILS. | |
5204 | ||
dd3b31fb L |
5205 | 2011-02-01 H.J. Lu <hongjiu.lu@intel.com> |
5206 | ||
5207 | PR driver/47547 | |
5208 | * lto-wrapper.c (run_gcc): Don't add -dumpdir if linker_output | |
5209 | is HOST_BIT_BUCKET. | |
5210 | ||
5211 | * opts.c (finish_options): Don't add x_aux_base_name if it is | |
5212 | HOST_BIT_BUCKET. | |
5213 | ||
34c1de79 RG |
5214 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
5215 | ||
5216 | PR tree-optimization/47555 | |
5217 | Revert | |
5218 | 2010-07-15 Sebastian Pop <sebastian.pop@amd.com> | |
5219 | ||
5220 | * params.def (PARAM_SCEV_MAX_EXPR_SIZE): Bump the value to 100. | |
5221 | ||
dd2804d2 SB |
5222 | 2011-02-01 Sebastien Bourdeauducq <sebastien@milkymist.org> |
5223 | ||
5224 | PR gcc/46692 | |
5225 | * config/lm32/t-lm32: Add multilib for all CPU options. | |
5226 | ||
3fd3b156 RG |
5227 | 2011-02-01 Richard Guenther <rguenther@suse.de> |
5228 | ||
5229 | PR tree-optimization/47541 | |
5230 | * tree-ssa-structalias.c (push_fields_onto_fieldstack): Make | |
5231 | sure to have a field at offset zero. | |
5232 | ||
f16072b6 JM |
5233 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
5234 | ||
5235 | * config/arc/arc.opt (EB, EL): New Driver options. | |
5236 | ||
6456cf2e JM |
5237 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
5238 | ||
5239 | * config/alpha/osf5.opt: New. | |
5240 | * config.gcc (alpha*-dec-osf5.1*): Use alpha/osf5.opt. | |
5241 | ||
cdde6ab4 JM |
5242 | 2011-01-31 Joseph Myers <joseph@codesourcery.com> |
5243 | ||
5244 | * config/vms/vms.opt (map, mvms-return-codes): New Driver options. | |
5245 | ||
7633415c SP |
5246 | 2011-01-31 Sebastian Pop <sebastian.pop@amd.com> |
5247 | ||
5248 | * common.opt (ftree-loop-linear): Use Alias to make it an alias of | |
5249 | -floop-interchange. | |
5250 | * invoke.texi (-ftree-loop-linear): Make it clear that this flag | |
5251 | is an alias of -floop-interchange and that it requires the | |
5252 | Graphite infrastructure. | |
5253 | * tree-ssa-loop.c (gate_graphite_transforms): Do not set | |
5254 | flag_loop_interchange based on the value of flag_tree_loop_linear. | |
5255 | ||
0425d6f5 JJ |
5256 | 2011-01-31 Jakub Jelinek <jakub@redhat.com> |
5257 | Richard Guenther <rguenther@suse.de> | |
5258 | ||
5259 | PR tree-optimization/47538 | |
5260 | * tree-ssa-ccp.c (bit_value_binop_1): For uns computation use | |
5261 | type instead of r1type, except for comparisons. For right | |
5262 | shifts and comparisons punt if there are mismatches in | |
5263 | sizetype vs. non-sizetype types. | |
5264 | ||
500b16c3 RO |
5265 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5266 | ||
5267 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
5268 | avx_runtime. | |
5269 | ||
e279edb0 RO |
5270 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5271 | ||
5272 | * configure.ac (gcc_cv_ld_eh_frame_hdr): Update minimal Sun ld | |
5273 | version number. | |
5274 | * configure: Regenerate. | |
5275 | ||
c6092243 RO |
5276 | 2011-01-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5277 | ||
5278 | * configure.ac (gcc_cv_ld_static_option): Define. | |
5279 | (gcc_cv_ld_dynamic_option): Define. | |
5280 | (gcc_cv_ld_static_dynamic): Tru64 UNIX support -noso/-so_archive | |
5281 | instead. | |
5282 | (HAVE_LD_STATIC_DYNAMIC): Update message. | |
5283 | (LD_STATIC_OPTION): Define. | |
5284 | (LD_DYNAMIC_OPTION): Define. | |
5285 | * configure: Regenerate. | |
5286 | * config.in: Regenerate. | |
5287 | * gcc.c (init_spec) [USE_LIBUNWIND_EXCEPTIONS && | |
5288 | HAVE_LD_STATIC_DYNAMIC]: Use them. | |
5289 | ||
d7862be3 NC |
5290 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
5291 | ||
5292 | * config/rx/rx.c (rx_get_stack_layout): Only save call clobbered | |
5293 | registers inside interrupt handlers if the handler is not a leaf | |
5294 | function. | |
5295 | ||
ba4ec0e0 NC |
5296 | 2011-01-31 Nick Clifton <nickc@redhat.com> |
5297 | ||
5298 | * config/mn10300/mn10300.c (mn10300_regno_in_class_p): Check for | |
5299 | reg_renumber returning an INVALID_REGNUM. | |
5300 | ||
29a63921 AO |
5301 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
5302 | ||
5303 | PR libgcj/44341 | |
5304 | * doc/install.texi: Document host options discarded when cross | |
5305 | configuring target libraries. | |
5306 | ||
ef591d3f AO |
5307 | 2011-01-31 Alexandre Oliva <aoliva@redhat.com> |
5308 | ||
5309 | Reverted: | |
5310 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> | |
5311 | PR debug/45136 | |
5312 | PR debug/45130 | |
5313 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
5314 | debug insns. | |
5315 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
5316 | treatment of boundary debug insns. | |
38be4072 | 5317 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
ef591d3f AO |
5318 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
5319 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
5320 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
5321 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
5322 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
5323 | boundary debug insns. | |
5324 | * final.c (rest_of_clean-state): Clear notes' BB. | |
5325 | ||
61052244 AM |
5326 | 2011-01-31 Alan Modra <amodra@gmail.com> |
5327 | ||
5328 | * config/rs6000/rs6000.c (print_operand): Rearrange addends in | |
5329 | toc relative expressions as we do in print_operand_address. | |
5330 | ||
c4c8962b KH |
5331 | 2011-01-30 Kazu Hirata <kazu@codesourcery.com> |
5332 | ||
5333 | * doc/extend.texi: Follow spelling conventions. | |
5334 | * doc/invoke.texi: Fix a typo. | |
5335 | ||
e543b94c JM |
5336 | 2011-01-30 Joseph Myers <joseph@codesourcery.com> |
5337 | ||
5338 | * config/hpux11.opt: New. | |
5339 | * config.gcc (hppa*64*-*-hpux11*, hppa[12]*-*-hpux11*, | |
5340 | ia64*-*-hpux*): Use hpux11.opt. | |
5341 | ||
509d65dd | 5342 | 2011-01-30 Jonathan Yong <jon_y@users.sourceforge.net> |
a70e0551 JY |
5343 | |
5344 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Add t-dfprules | |
5345 | to tmake_file. | |
5346 | ||
7be03a0e GP |
5347 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
5348 | ||
5349 | * doc/install.texi (hppa-hp-hpux10): Remove references to HP | |
5350 | support sites. | |
5351 | ||
419d1d37 GP |
5352 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> |
5353 | ||
b596ed64 GP |
5354 | * doc/install.texi (Binaries): Remove outdated reference for |
5355 | Motorola 68HC11/68HC12 downloads. | |
5356 | ||
5357 | 2011-01-30 Gerald Pfeifer <gerald@pfeifer.com> | |
61052244 | 5358 | |
419d1d37 GP |
5359 | * doc/extend.texi (Thread-Local): Adjust reference to Ulrich |
5360 | Drepper's paper. | |
5361 | ||
4406d0e9 JW |
5362 | 2011-01-29 Jonathan Wakely <jwakely.gcc@gmail.com> |
5363 | ||
5364 | PR bootstrap/47147 | |
5365 | * ginclude/stddef.h: Check for _X86_64_ANSI_H_ and _I386_ANSI_H_ as | |
5366 | used by NetBSD. | |
5367 | ||
38be4072 | 5368 | 2011-01-28 Ahmad Sharif <asharif@google.com> |
e0b77418 AS |
5369 | |
5370 | * value-prof.c (check_counter): Corrected error message. | |
5371 | ||
0cd98787 JZ |
5372 | 2011-01-29 Jie Zhang <jie@codesourcery.com> |
5373 | ||
5374 | * config/arm/arm.c (arm_legitimize_reload_address): New. | |
5375 | * config/arm/arm.h (ARM_LEGITIMIZE_RELOAD_ADDRESS): Use | |
5376 | arm_legitimize_reload_address. | |
38be4072 | 5377 | * config/arm/arm-protos.h (arm_legitimize_reload_address): Declare. |
0cd98787 | 5378 | |
9b798ac5 ILT |
5379 | 2011-01-28 Ian Lance Taylor <iant@google.com> |
5380 | ||
5381 | * godump.c (go_define): Ignore macros whose definitions include | |
5382 | two adjacent operands. | |
5383 | ||
591e29d9 JJ |
5384 | 2011-01-28 Jakub Jelinek <jakub@redhat.com> |
5385 | ||
5386 | PR target/42894 | |
5387 | * varasm.c (force_const_mem): Store copy of x in desc->constant | |
5388 | instead of x itself. | |
5389 | * expr.c (emit_move_insn): Add a copy of y_cst instead of y_cst | |
5390 | itself into REG_EQUAL note. | |
5391 | ||
62dcc44a JM |
5392 | 2011-01-28 Joseph Myers <joseph@codesourcery.com> |
5393 | ||
5394 | * config/freebsd.opt (posix, rdynamic): New Driver options. | |
5395 | ||
c9f58b9a RO |
5396 | 2011-01-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5397 | ||
5398 | * configure.ac (gcc_cv_ld_static_dynamic): IRIX 6 ld supports | |
5399 | -Bstatic/-Bdynamic. | |
5400 | * configure: Regenerate. | |
5401 | ||
5f02b9db JM |
5402 | 2011-01-27 Joseph Myers <joseph@codesourcery.com> |
5403 | ||
5404 | * config/rs6000/sysv4.h (LIB_NETBSD_SPEC): Don't handle -profile. | |
5405 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -profile. | |
5406 | ||
5df97412 AS |
5407 | 2011-01-27 Anatoly Sokolov <aesok@post.ru> |
5408 | ||
5409 | * config/s390/s390.h (PREFERRED_RELOAD_CLASS): Remove. | |
5410 | * config/s390/s390-protos.h (s390_preferred_reload_class): Remove. | |
5411 | * config/s390/s390.c (TARGET_PREFERRED_RELOAD_CLASS): Define. | |
5412 | (s390_preferred_reload_class): Make static. Change return and | |
5413 | 'rclass' argument type to reg_class_t. | |
5414 | ||
779d4b91 JH |
5415 | 2011-01-27 Jan Hubicka <jh@suse.cz> |
5416 | ||
5417 | PR middle-end/46949 | |
5418 | * cgraphunit.c (process_common_attributes): Fix use of remove_attribute. | |
5419 | (process_function_and_variable_attributes): Check defined weakrefs. | |
5420 | ||
e80b21ed MJ |
5421 | 2011-01-27 Martin Jambor <mjambor@suse.cz> |
5422 | ||
5423 | PR tree-optimization/47228 | |
5424 | * tree-sra.c (sra_modify_assign): Use build_ref_for_model instead of | |
5425 | build_ref_for_offset. | |
5426 | ||
6dcc4f31 UW |
5427 | 2011-01-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
5428 | ||
5429 | * config/spu/spu-elf.h (ASM_SPEC): Remove. | |
5430 | ||
509d65dd | 5431 | 2011-01-26 Mikael Pettersson <mikpe@it.uu.se> |
3b8ff89f MP |
5432 | |
5433 | PR rtl-optimization/46856 | |
5434 | * postreload.c (reload_combine_recognize_const_pattern): Do not | |
5435 | separate cc0 setter and user on cc0 targets. | |
5436 | ||
04af8788 NP |
5437 | 2011-01-26 Nicola Pero <nicola.pero@meta-innovation.com> |
5438 | ||
5439 | PR c/43082 | |
5440 | * c-typeck.c (c_objc_common_truthvalue_conversion): If we are | |
5441 | passed a VOID_TYPE expression, immediately emit an error and | |
5442 | return error_mark_node. | |
5443 | ||
f7a60085 JL |
5444 | 2011-01-26 Jeff Law <law@redhat.com> |
5445 | ||
5446 | PR rtl-optimization/47464 | |
5447 | * df-problems.c (can_move_insn_across): Use may_trap_or_fault_p | |
5448 | rather than may_trap_p as needed. | |
5449 | ||
5c2917ec DD |
5450 | 2011-01-26 DJ Delorie <dj@redhat.com> |
5451 | ||
5452 | PR rtl-optimization/46878 | |
5453 | * combine.c (insn_a_feeds_b): Check for the implicit cc0 | |
5454 | setter/user dependency as well. | |
5455 | ||
bef16e87 EB |
5456 | 2011-01-26 Eric Botcazou <ebotcazou@adacore.com> |
5457 | ||
5458 | PR rtl-optimization/44469 | |
5459 | * cfgcleanup.c (try_optimize_cfg): Iterate in CFG layout mode too | |
5460 | after removing trivially dead basic blocks. | |
5461 | ||
c75d884b JM |
5462 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
5463 | ||
5464 | * config/bfin/bfin.h (LINK_SPEC): Remove %{Qy:} %{!Qn:-Qy}. | |
5465 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
5466 | * config/i386/netware.h (LINK_SPEC): Likewise. | |
5467 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
5468 | * config/rs6000/linux64.h (ASM_SPEC_COMMON): Likewise. | |
5469 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
5470 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
5471 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
5472 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
5473 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
5474 | ||
d3153553 JM |
5475 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
5476 | ||
5477 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Ym,*}. | |
5478 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
5479 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
5480 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
5481 | * config/rs6000/linux64.h (ASM_SPEC): Likewise. | |
5482 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
5483 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
5484 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
5485 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
5486 | ||
b89b1e9d JM |
5487 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
5488 | ||
5489 | * config/bfin/bfin.h (LINK_SPEC): Remove %{YP,*}. | |
5490 | * config/frv/frv.h (LINK_SPEC): Likewise. | |
5491 | * config/rs6000/sysv4.h (LINK_SPEC): Likewise. | |
5492 | ||
12eb1a9c JM |
5493 | 2011-01-26 Joseph Myers <joseph@codesourcery.com> |
5494 | ||
5495 | * config/bfin/bfin.h (ASM_SPEC): Remove %{Yd,*}. | |
5496 | * config/frv/frv.h (ASM_SPEC): Likewise. | |
5497 | * config/i386/sol2-10.h (ASM_SPEC): Likewise. | |
5498 | * config/m68k/linux.h (ASM_SPEC): Likewise. | |
5499 | * config/pa/pa-linux.h (ASM_SPEC): Likewise. | |
5500 | * config/rs6000/linux64.h (ASM_SPEC32): Likewise. | |
5501 | * config/rs6000/vxworks.h (ASM_SPEC): Likewise. | |
5502 | * config/sol2.h (ASM_SPEC): Remove comment about -Yd,. | |
5503 | * config/sparc/linux.h (ASM_SPEC): Likewise. | |
5504 | * config/sparc/linux64.h (ASM_SPEC): Likewise. | |
5505 | * config/sparc/sp-elf.h (ASM_SPEC): Likewise. | |
5506 | * config/sparc/sysv4.h (ASM_SPEC): Remove %{Yd,*}. | |
5507 | ||
e435f098 SE |
5508 | 2011-01-26 Steve Ellcey <sje@cup.hp.com> |
5509 | ||
5510 | PR target/46997 | |
5511 | * config/ia64/vect.md (mulv2si3): Enable and fix for TARGET_BIG_ENDIAN. | |
5512 | (*mux2): Ditto. | |
5513 | (vec_extract_evenodd_help): Ditto. | |
5514 | (vec_extract_evenv4hi): Ditto. | |
5515 | (vec_extract_oddv4hi): Ditto. | |
5516 | (vec_interleave_lowv2si): Ditto. | |
5517 | (vec_interleave_highv2si): Ditto. | |
5518 | (vec_extract_evenv2si): Ditto. | |
5519 | (vec_extract_oddv2si: Ditto. | |
5520 | (vec_pack_trunc_v2si): Ditto. | |
5521 | ||
34f0eee0 JH |
5522 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
5523 | ||
5524 | PR target/47237 | |
5525 | * cgraph.h (cgraph_local_info): New field can_change_signature. | |
5526 | * ipa-cp.c (ipcp_update_callgraph): Only compute args_to_skip if callee | |
5527 | signature can change. | |
5528 | (ipcp_estimate_growth): Call sequence simplify only if calle signature | |
5529 | can change. | |
5530 | (ipcp_insert_stage): Only compute args_to_skip if signature can change. | |
5531 | (cgraph_function_versioning): We can not change signature of functions | |
5532 | that don't allow that. | |
5533 | * lto-cgraph.c (lto_output_node): Stream local.can_change_signature. | |
5534 | (lto_input_node): Likewise. | |
38be4072 UB |
5535 | * ipa-inline.c (compute_inline_parameters): Compute |
5536 | local.can_change_signature. | |
34f0eee0 | 5537 | * ipa-split.c (visit_bb): Never split away APPLY_ARGS. |
38be4072 UB |
5538 | * tree-sra.c (ipa_sra_preliminary_function_checks): Give up on |
5539 | functions that can not change signature. | |
34f0eee0 | 5540 | * i386.c (ix86_function_regparm, ix86_function_sseregparm, |
38be4072 UB |
5541 | init_cumulative_args): Do not use local calling conventions |
5542 | for functions that can not change signature. | |
34f0eee0 | 5543 | |
980ca891 JH |
5544 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
5545 | ||
5546 | * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk. | |
5547 | ||
768e3c60 RG |
5548 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
5549 | ||
5550 | PR tree-optimization/47190 | |
61052244 AM |
5551 | * cgraphunit.c (process_common_attributes): New function. |
5552 | (process_function_and_variable_attributes): Use it. | |
768e3c60 | 5553 | |
21d6a1c7 RG |
5554 | 2011-01-26 Richard Guenther <rguenther@suse.de> |
5555 | ||
5556 | PR lto/47423 | |
5557 | * cgraphbuild.c (record_eh_tables): Record reference to personality | |
5558 | function. | |
5559 | ||
48bb58b1 AO |
5560 | 2011-01-26 Alexandre Oliva <aoliva@redhat.com> |
5561 | ||
5562 | PR debug/45454 | |
5563 | * sel-sched.c (moveup_expr): Don't let debug insns prevent | |
5564 | non-debug insns from moving up. | |
5565 | ||
58c741a6 DK |
5566 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
5567 | ||
5568 | PR target/40125 | |
5569 | * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable | |
5570 | t-dlldir{,-x} fragment for build and add it to tmake_file. | |
5571 | (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise. | |
5572 | * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc. | |
5573 | * config/i386/t-dlldir: New file. | |
5574 | (SHLIB_DLLDIR): Define. | |
5575 | * config/i386/t-dlldir-x: New file. | |
5576 | (SHLIB_DLLDIR): Define. | |
5577 | * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set. | |
5578 | (SHLIB_INSTALL): Use it. | |
5579 | ||
bff99262 CLT |
5580 | 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com> |
5581 | ||
5582 | PR target/47246 | |
5583 | * config/arm/arm.c (thumb2_legitimate_index_p): Change the | |
5584 | lower bound of the allowed Thumb-2 coprocessor load/store | |
5585 | index range to -256. Add explaining comment. | |
5586 | ||
82c03907 ILT |
5587 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
5588 | ||
5589 | * godump.c (go_define): Improve lexing of macro expansion to only | |
5590 | accept expressions which match Go spec. | |
5591 | ||
47ea1edf DK |
5592 | 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com> |
5593 | ||
d4dba752 | 5594 | PR c++/43601 |
47ea1edf DK |
5595 | * tree.c (handle_dll_attribute): Handle it. |
5596 | * doc/extend.texi (@item dllexport): Mention it. | |
5597 | * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it. | |
5598 | ||
744f0946 ILT |
5599 | 2011-01-25 Ian Lance Taylor <iant@google.com> |
5600 | ||
5601 | PR tree-optimization/26854 | |
5602 | * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl. | |
5603 | (decl_jump_unsafe): Move higher in file, with no other change. | |
5604 | (bind): Set has_jump_unsafe_decl if appropriate. | |
5605 | (update_label_decls): Test has_jump_unsafe_decl to avoid loop. | |
5606 | (check_earlier_gotos): Likewise. | |
5607 | (c_check_switch_jump_warnings): Likewise. | |
5608 | ||
5734f2b3 JW |
5609 | 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com> |
5610 | ||
5611 | * doc/invoke.texi (Warning Options): Add missing hyphen. | |
5612 | (-fprofile-dir): Minor grammatical fixes. | |
5613 | (-fbranch-probabilities): Likewise. | |
5614 | ||
9bdbdcef AO |
5615 | 2011-01-25 Alexandre Oliva <aoliva@redhat.com> |
5616 | ||
5617 | PR debug/45136 | |
5618 | PR debug/45130 | |
5619 | * haifa-sched.c (get_ebb_head_tail): Move notes across boundary | |
5620 | debug insns. | |
5621 | (no_real_insns_p, schedule_block, set_priorities): Drop special | |
5622 | treatment of boundary debug insns. | |
38be4072 | 5623 | * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug insns. |
9bdbdcef AO |
5624 | * sched-ebb.c (schedule_ebbs): Don't skip debug insns. |
5625 | * sched-int.h (DEBUG_INSN_SCHED_P): Remove. | |
5626 | (BOUNDARY_DEBUG_INSN_P): Likewise. | |
5627 | (SCHEDULE_DEBUG_INSN_P): Likewise. | |
5628 | * sched-rgn.c (init_ready_list): Drop special treatment of | |
5629 | boundary debug insns. | |
5630 | * final.c (rest_of_clean-state): Clear notes' BB. | |
5631 | ||
b305e3da SP |
5632 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5633 | ||
5634 | * Makefile.in (LAMBDA_H): Removed. | |
5635 | (TREE_DATA_REF_H): Remove dependence on LAMBDA_H. | |
5636 | (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o, | |
5637 | lambda-trans.o, and tree-loop-linear.o. | |
5638 | (lto-symtab.o): Remove dependence on LAMBDA_H. | |
5639 | (tree-loop-linear.o): Remove rule. | |
5640 | (lambda-mat.o): Same. | |
5641 | (lambda-trans.o): Same. | |
5642 | (lambda-code.o): Same. | |
5643 | (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H. | |
5644 | (tree-vect-slp.o): Same. | |
5645 | * hwint.h (gcd): Moved here. | |
5646 | (least_common_multiple): Same. | |
5647 | * lambda-code.c: Removed. | |
5648 | * lambda-mat.c: Removed. | |
5649 | * lambda-trans.c: Removed. | |
5650 | * lambda.h: Removed. | |
5651 | * tree-loop-linear.c: Removed. | |
5652 | * lto-symtab.c: Do not include lambda.h. | |
5653 | * omega.c (gcd): Removed. | |
5654 | * passes.c (init_optimization_passes): Remove pass_linear_transform. | |
5655 | * tree-data-ref.c (print_lambda_vector): Moved here. | |
5656 | (lambda_vector_copy): Same. | |
5657 | (lambda_matrix_copy): Same. | |
5658 | (lambda_matrix_id): Same. | |
5659 | (lambda_vector_first_nz): Same. | |
5660 | (lambda_matrix_row_add): Same. | |
5661 | (lambda_matrix_row_exchange): Same. | |
5662 | (lambda_vector_mult_const): Same. | |
5663 | (lambda_vector_negate): Same. | |
5664 | (lambda_matrix_row_negate): Same. | |
5665 | (lambda_vector_equal): Same. | |
5666 | (lambda_matrix_right_hermite): Same. | |
5667 | * tree-data-ref.h: Do not include lambda.h. | |
5668 | (lambda_vector): Moved here. | |
5669 | (lambda_matrix): Same. | |
5670 | (dependence_level): Same. | |
5671 | (lambda_transform_legal_p): Removed declaration. | |
5672 | (lambda_collect_parameters): Same. | |
5673 | (lambda_compute_access_matrices): Same. | |
5674 | (lambda_vector_gcd): Same. | |
5675 | (lambda_vector_new): Same. | |
5676 | (lambda_vector_clear): Same. | |
5677 | (lambda_vector_lexico_pos): Same. | |
5678 | (lambda_vector_zerop): Same. | |
5679 | (lambda_matrix_new): Same. | |
5680 | * tree-flow.h (least_common_multiple): Removed declaration. | |
5681 | * tree-parloops.c (lambda_trans_matrix): Moved here. | |
5682 | (LTM_MATRIX): Same. | |
5683 | (LTM_ROWSIZE): Same. | |
5684 | (LTM_COLSIZE): Same. | |
5685 | (LTM_DENOMINATOR): Same. | |
5686 | (lambda_trans_matrix_new): Same. | |
5687 | (lambda_matrix_vector_mult): Same. | |
5688 | (lambda_transform_legal_p): Same. | |
5689 | * tree-pass.h (pass_linear_transform): Removed declaration. | |
5690 | * tree-ssa-loop.c (tree_linear_transform): Removed. | |
5691 | (gate_tree_linear_transform): Removed. | |
5692 | (pass_linear_transform): Removed. | |
5693 | (gate_graphite_transforms): Make flag_tree_loop_linear an alias of | |
5694 | flag_loop_interchange. | |
5695 | ||
6bdfdb96 JJ |
5696 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
5697 | ||
5698 | PR tree-optimization/47265 | |
5699 | PR tree-optimization/47443 | |
5700 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false | |
5701 | if name still has some uses. | |
5702 | ||
e4cba915 MJ |
5703 | 2011-01-25 Martin Jambor <mjambor@suse.cz> |
5704 | ||
5705 | PR tree-optimization/47382 | |
5706 | * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed. | |
5707 | (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call. | |
5708 | ||
509d65dd | 5709 | 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com> |
f822b8ea JS |
5710 | |
5711 | * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to | |
5712 | sjlj_except_unwind_info. | |
5713 | ||
194313e2 RG |
5714 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
5715 | ||
5716 | PR tree-optimization/47426 | |
5717 | * tree-ssa-structalias.c (ipa_pta_execute): Make externally | |
5718 | visible functions results escape. | |
5719 | ||
147a0bcf JJ |
5720 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
5721 | ||
5722 | PR target/45701 | |
5723 | * config/arm/arm.c (any_sibcall_uses_r3): New function. | |
5724 | (arm_get_frame_offsets): Use it. | |
5725 | ||
db963b52 SP |
5726 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5727 | Jakub Jelinek <jakub@redhat.com> | |
5728 | ||
5729 | PR tree-optimization/47271 | |
5730 | * tree-if-conv.c (bb_postdominates_preds): New. | |
5731 | (if_convertible_bb_p): Call bb_postdominates_preds. | |
5732 | (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS. | |
5733 | (predicate_scalar_phi): Call bb_postdominates_preds. | |
5734 | ||
bcddd3b9 NC |
5735 | 2011-01-25 Nick Clifton <nickc@redhat.com> |
5736 | ||
5737 | * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types. | |
5738 | * config/rx/rx.c (rx_function_value): Likewise. | |
5739 | (rx_promote_function_mode): Likewise. | |
5740 | (gen_safe_add): Place an outsized immediate value inside an UNSPEC | |
5741 | in order to make it legitimate. | |
38be4072 UB |
5742 | * config/rx/rx.md (adddi3_internal): If the second operand is a MEM |
5743 | make sure that the first operand is the same as the result register. | |
bcddd3b9 NC |
5744 | (addsi3_unspec): Delete. |
5745 | (subdi3): Do not accept immediate operands. | |
5746 | (subdi3_internal): Likewise. | |
5747 | ||
7e6cb022 JL |
5748 | 2011-01-25 Jeff Law <law@redhat.com> |
5749 | ||
5750 | PR rtl-optimization/37273 | |
5751 | * ira-costs.c (scan_one_insn): Detect constants living in memory and | |
5752 | handle them like argument loads from stack slots. Do not double | |
5753 | count memory for memory constants and argument loads from stack slots. | |
5754 | ||
9ffa621e JJ |
5755 | 2011-01-25 Jakub Jelinek <jakub@redhat.com> |
5756 | ||
5757 | PR tree-optimization/47427 | |
5758 | PR tree-optimization/47428 | |
5759 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't | |
5760 | coalesce if the new root var would be TREE_READONLY. | |
5761 | ||
5bd6e652 RG |
5762 | 2011-01-25 Richard Guenther <rguenther@suse.de> |
5763 | ||
5764 | PR middle-end/47414 | |
5765 | * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the | |
5766 | correct type for TBAA. | |
5767 | ||
7c48ea69 SP |
5768 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5769 | ||
5770 | * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New. | |
5771 | (close_phi_written_to_memory): Call for_each_index with | |
5772 | dr_indices_valid_in_loop. | |
5773 | ||
38013f25 SP |
5774 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5775 | ||
5776 | * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN | |
5777 | when it is initialized. | |
5778 | ||
5c640e29 SP |
5779 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5780 | ||
5781 | * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update | |
5782 | call to graphite_find_data_references_in_stmt. | |
5783 | * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New. | |
5784 | (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update | |
5785 | call to graphite_find_data_references_in_stmt. | |
5786 | (analyze_drs_in_stmts): Same. | |
5787 | * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop | |
5788 | in which the scalar analysis of indices is performed. | |
5789 | (create_data_ref): Same. Update call to dr_analyze_indices. | |
5790 | (find_data_references_in_stmt): Update call to create_data_ref. | |
5791 | (graphite_find_data_references_in_stmt): Same. | |
5792 | * tree-data-ref.h (graphite_find_data_references_in_stmt): Update | |
5793 | declaration. | |
5794 | (create_data_ref): Same. | |
5795 | * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update | |
5796 | call to create_data_ref. | |
5797 | ||
ac53c069 SP |
5798 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5799 | ||
5800 | * graphite-sese-to-poly.c (build_poly_scop): Move | |
38be4072 | 5801 | rewrite_commutative_reductions_out_of_ssa before find_scop_parameters. |
ac53c069 | 5802 | |
3d17df15 SP |
5803 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5804 | ||
5805 | * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow | |
5806 | VAR_DECL, PARM_DECL, and RESULT_DECL. | |
5807 | ||
c513da01 SP |
5808 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5809 | ||
5810 | * graphite-dependences.c (reduction_dr_1): Allow several reductions | |
5811 | in a reduction PBB. | |
5812 | * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs | |
5813 | that have already been marked as PBB_IS_REDUCTION. | |
5814 | ||
3a292d59 SP |
5815 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5816 | ||
5817 | * graphite-scop-detection.c (same_close_phi_node): New. | |
5818 | (remove_duplicate_close_phi): New. | |
5819 | (make_close_phi_nodes_unique): New. | |
5820 | (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique. | |
5821 | ||
ba858447 SP |
5822 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5823 | ||
5824 | * graphite-dependences.c (new_poly_ddr): Call same_pdr_p. | |
5825 | * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE | |
5826 | of both data references to be the same. | |
5827 | ||
8d865c56 SP |
5828 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5829 | ||
38be4072 UB |
5830 | * graphite-dependences.c (build_lexicographical_constraint): Remove |
5831 | the gdim parameter. | |
5832 | (build_lexicographical_constraint): Adjust call to | |
5833 | ppl_powerset_is_empty. | |
8d865c56 SP |
5834 | (dependence_polyhedron): Same. |
5835 | (graphite_legal_transform_dr): Same. | |
5836 | (graphite_carried_dependence_level_k): Same. | |
38be4072 UB |
5837 | * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params |
5838 | parameter. | |
8d865c56 SP |
5839 | * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration. |
5840 | ||
50034a36 SP |
5841 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5842 | ||
5843 | * graphite-sese-to-poly.c | |
5844 | (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr. | |
5845 | (close_phi_written_to_memory): New. | |
5846 | (translate_scalar_reduction_to_array): Call close_phi_written_to_memory | |
5847 | and unshare_expr. | |
5848 | ||
0deada9e SP |
5849 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5850 | ||
5851 | * doc/install.texi: Update the expected version number of PPL to 0.11. | |
5852 | * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under | |
5853 | #if PPL_VERSION_MINOR < 11. | |
5854 | ||
d7d3d6af SP |
5855 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5856 | ||
5857 | * graphite-dependences.c: Include graphite-cloog-util.h. | |
5858 | (new_poly_ddr): Inlined into dependence_polyhedron. | |
5859 | (free_poly_ddr): Moved close by new_poly_ddr. | |
5860 | (dependence_polyhedron_1): Renamed dependence_polyhedron. | |
5861 | Early return NULL when ppl_powerset_is_empty returns true. | |
5862 | (dependence_polyhedron): Renamed new_poly_ddr. Call only once | |
5863 | poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty. | |
5864 | (graphite_legal_transform_dr): Call new_poly_ddr. | |
5865 | (graphite_carried_dependence_level_k): Same. | |
5866 | (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr. | |
5867 | (dot_transformed_deps_stmt_1): Removed. | |
5868 | (dot_deps_stmt_1): Call dot_deps_stmt_2. | |
5869 | (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr. | |
5870 | (dot_deps_1): Call dot_deps_2. | |
5871 | * Makefile.in (graphite-dependences.o): Add missing dependence on | |
5872 | graphite-cloog-util.h. | |
5873 | ||
28c5db57 SP |
5874 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5875 | ||
5876 | * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty. | |
5877 | (build_lexicographical_constraint): Same. | |
5878 | (dependence_polyhedron_1): Same. | |
5879 | (graphite_legal_transform_dr): Same. | |
5880 | (graphite_carried_dependence_level_k): Same. | |
5881 | * graphite-ppl.c (ppl_powerset_is_empty): New. | |
5882 | * graphite-ppl.h (ppl_powerset_is_empty): Declared. | |
5883 | * tree-data-ref.c (dump_data_reference): Print the basic block index. | |
5884 | ||
5168d98f SP |
5885 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5886 | ||
5887 | * graphite-dependences.c (build_pairwise_scheduling): Correctly compute | |
5888 | the "a followed by b" relation and document it. | |
5889 | ||
4a40293a SP |
5890 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5891 | ||
5892 | * graphite-dependences.c (build_lexicographical_constraint): Stop the | |
5893 | iteration when the bag of constraints is empty. | |
5894 | ||
271fb6fa SP |
5895 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5896 | ||
5897 | * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work. | |
5898 | ||
92d23680 SP |
5899 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5900 | ||
5901 | * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop | |
5902 | nest and two loop depths as parameters. | |
5903 | (lst_try_interchange_loops): Call lst_interchange_profitable_p after | |
5904 | lst_perfect_nestify. | |
5905 | ||
2f51deff SP |
5906 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5907 | ||
5908 | * graphite-dependences.c (print_pddr): Call | |
5909 | ppl_io_fprint_Pointset_Powerset_C_Polyhedron. | |
5910 | ||
07f3593c SP |
5911 | 2011-01-25 Sebastian Pop <sebastian.pop@amd.com> |
5912 | ||
5913 | * graphite-ppl.c (debug_gmp_value): New. | |
5914 | * graphite-ppl.h (debug_gmp_value): Declared. | |
5915 | ||
3fae6099 TG |
5916 | 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de> |
5917 | ||
5918 | * doc/install.texi: Document availability of cloog-0.16. | |
5919 | ||
1c3ba85b SP |
5920 | 2011-01-25 Vladimir Kargov <kargov@gmail.com> |
5921 | ||
5922 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free | |
5923 | invalid postdominance info. | |
5924 | ||
e8ba94fc JH |
5925 | 2011-01-24 Jan Hubicka <jh@suse.cz> |
5926 | ||
5927 | PR c/21659 | |
5928 | * doc/extend.texi (weak pragma): Drop claim that it must | |
5929 | appear before definition. | |
5930 | * varasm.c (merge_weak, declare_weak): Only sanity check | |
5931 | that DECL is not output at a time it is declared weak. | |
5932 | ||
2b6e2d13 KZ |
5933 | 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com> |
5934 | ||
5935 | * machmode.def: Fixed comments. | |
1c3ba85b | 5936 | |
9841210f KT |
5937 | 2011-01-24 Kai Tietz <kai.tietz@onevision.com> |
5938 | ||
5939 | * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t. | |
5940 | ||
5941 | 2011-01-24 Paul Koning <ni1d@arrl.net> | |
e046112d PK |
5942 | |
5943 | * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN != | |
1c3ba85b | 5944 | WORDS_BIG_ENDIAN. |
e046112d | 5945 | |
a6c5070a L |
5946 | 2011-01-24 H.J. Lu <hongjiu.lu@intel.com> |
5947 | ||
5948 | PR target/46519 | |
5949 | * config/i386/i386.c: Include sbitmap.h and fibheap.h. | |
5950 | (block_info): Add scanned and prev. | |
5951 | (move_or_delete_vzeroupper_2): Return if the basic block | |
5952 | has been scanned and the upper 128bit state is unchanged | |
5953 | from the last scan. | |
5954 | (move_or_delete_vzeroupper_1): Return true if the exit | |
5955 | state is changed. | |
5956 | (move_or_delete_vzeroupper): Visit basic blocks using the | |
5957 | work-list based algorithm based on vt_find_locations in | |
5958 | var-tracking.c. | |
5959 | ||
5960 | * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H). | |
5961 | ||
a40d79d7 NC |
5962 | 2011-01-24 Nick Clifton <nickc@redhat.com> |
5963 | ||
5964 | * config/v850/v850.opt (mv850es): New option - alias for -mv850e1. | |
5965 | * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass | |
5966 | -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified | |
5967 | then define __v850e1__. | |
5968 | * doc/invoke.texi: Document -mv850es. | |
5969 | ||
440eb8de RH |
5970 | 2011-01-24 Richard Henderson <rth@redhat.com> |
5971 | ||
5972 | * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept | |
5973 | compound unordered comparisons. | |
5974 | * config/rx/rx.c (rx_split_fp_compare): Remove. | |
5975 | * config/rx/rx-protos.h: Update. | |
5976 | * config/rx/rx.md (gcc_conds, rx_conds): Remove. | |
5977 | (cbranchsf4): Don't call rx_split_fp_compare. | |
5978 | (*cbranchsf4): Use rx_split_cbranch. | |
5979 | (*cmpsf): Don't accept "i" constraint. | |
5980 | (*conditional_branch): Only valid after reload. | |
5981 | (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare. | |
5982 | ||
3ff79f99 MM |
5983 | 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
5984 | ||
5985 | PR target/47385 | |
5986 | * config/rs6000/altivec.md (vector constant splitters): Add | |
5987 | support for creating vector single precision constants if -mvsx is | |
5988 | used and we would create the constant using Altivec primitives. | |
5989 | ||
ff3d9d08 BS |
5990 | 2011-01-23 Bernd Schmidt <bernds@codesourcery.com> |
5991 | Richard Sandiford <rdsandiford@googlemail.com> | |
5992 | ||
5993 | PR rtl-optimization/47166 | |
5994 | * reload1.c (emit_reload_insns): Disable the spill_reg_store | |
5995 | mechanism for PRE_MODIFY and POST_MODIFY. | |
5996 | (inc_for_reload): For PRE_MODIFY, return the insn that sets the | |
5997 | reloadreg. | |
5998 | ||
7fcaf152 AS |
5999 | 2011-01-23 Andreas Schwab <schwab@linux-m68k.org> |
6000 | ||
8788adb6 | 6001 | * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers. |
7fcaf152 | 6002 | |
d09b58c4 JH |
6003 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
6004 | ||
6005 | PR lto/47333 | |
6006 | * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto. | |
6007 | ||
e8ff8c5a JH |
6008 | 2011-01-22 Jan Hubicka <jh@suse.cz> |
6009 | ||
6010 | PR tree-optimization/43884 | |
6011 | PR lto/44334 | |
8788adb6 | 6012 | * predict.c (maybe_hot_frequency_p): Use entry block frequency as base. |
e8ff8c5a JH |
6013 | * doc/invoke.texi (hot-bb-frequency-fraction): Update docs. |
6014 | ||
ccaed3ba AS |
6015 | 2011-01-22 Anatoly Sokolov <aesok@post.ru> |
6016 | ||
6017 | * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove. | |
6018 | * config/s390/s390.c (s390_register_move_cost, | |
6019 | s390_memory_move_cost): New. | |
6020 | (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define. | |
6021 | ||
0cecee06 UW |
6022 | 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
6023 | ||
6024 | PR middle-end/47401 | |
6025 | * except.c (sjlj_assign_call_site_values): Move setting the | |
6026 | crtl->uses_eh_lsda flag to ... | |
6027 | (sjlj_mark_call_sites): ... here. | |
6028 | (sjlj_emit_function_enter): Support NULL dispatch label. | |
6029 | (sjlj_build_landing_pads): In a function with no landing pads | |
6030 | that still has must-not-throw regions, generate code to register | |
6031 | a personality function with empty LSDA. | |
6032 | ||
e692f276 RH |
6033 | 2011-01-21 Richard Henderson <rth@redhat.com> |
6034 | ||
1b7ae0b7 RH |
6035 | * config/rx/rx.c (TARGET_FLAGS_REGNUM): New. |
6036 | ||
3843787f RH |
6037 | * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New. |
6038 | ||
e692f276 RH |
6039 | * compare-elim.c: New file. |
6040 | * Makefile.in (OBJS-common): Add it. | |
6041 | (compare-elim.o): New. | |
6042 | * common.opt (fcompare-elim): New. | |
6043 | * opts.c (default_options_table): Add OPT_fcompare_elim. | |
6044 | * tree-pass.h (pass_compare_elim_after_reload): New. | |
6045 | * passes.c (init_optimization_passes): Add it. | |
6046 | * recog.h: Protect against re-inclusion. | |
6047 | * target.def (TARGET_FLAGS_REGNUM): New POD hook. | |
6048 | * doc/invoke.texi (-fcompare-elim): Document it. | |
6049 | * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it. | |
6050 | * doc/tm.texi: Rebuild. | |
6051 | ||
9a7c2050 NC |
6052 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
6053 | ||
6054 | * config/rx/rx.md (cstoresf4): Pass comparison operator to | |
6055 | rx_split_fp_compare. | |
6056 | ||
15ba5696 NC |
6057 | 2011-01-22 Nick Clifton <nickc@redhat.com> |
6058 | ||
6059 | * config/rx/rx.md (UNSPEC_CONST): New. | |
6060 | (deallocate_and_return): Wrap the amount popped off the stack in | |
6061 | an UNSPEC_CONST in order to stop it being rejected by | |
6062 | -mmax-constant-size. | |
6063 | (pop_and_return): Add a "(return)" rtx. | |
6064 | (call): Drop the immediate operand. | |
6065 | (call_internal): Likewise. | |
6066 | (call_value): Likewise. | |
6067 | (call_value_internal): Likewise. | |
6068 | (sibcall_internal): Likewise. | |
6069 | (sibcall_value_internal): Likewise. | |
6070 | (sibcall): Likewise. Generate an explicit call using | |
6071 | sibcall_internal. | |
6072 | (sibcall_value): Likewise. | |
6073 | (mov<>): FAIL if a constant operand is not legitimate. | |
6074 | (addsi3_unpsec): New pattern. | |
9a7c2050 | 6075 | |
38be4072 | 6076 | * config/rx/rx.c (rx_print_operand_address): Handle UNSPEC CONSTs. |
15ba5696 NC |
6077 | (ok_for_max_constant): New function. |
6078 | (gen_safe_add): New function. | |
6079 | (rx_expand_prologue): Use gen_safe_add. | |
6080 | (rx_expand_epilogue): Likewise. | |
6081 | (rx_is_legitimate_constant): Use ok_for_max_constant. Handle | |
6082 | UNSPEC CONSTs. | |
6083 | ||
caaf13d3 JL |
6084 | 2011-01-21 Jeff Law <law@redhat.com> |
6085 | ||
6086 | PR tree-optimization/47053 | |
6087 | * tree-ssa-dse.c (need_eh_cleanup): New bitmap. | |
6088 | (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when | |
6089 | statements are deleted. | |
6090 | (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP | |
6091 | is nonempty, then purge dead edges and cleanup the CFG. | |
6092 | ||
12c30f2f AO |
6093 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
6094 | ||
6095 | PR debug/47402 | |
6096 | Temporarily revert: | |
6097 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> | |
6098 | PR debug/47106 | |
6099 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
6100 | ||
7360d2ac JJ |
6101 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
6102 | ||
aaa52a96 JJ |
6103 | PR middle-end/45566 |
6104 | * except.c (convert_to_eh_region_ranges): Emit queued no-region | |
6105 | notes from other section in hot/cold partitioning even if | |
6106 | last_action is -3. Increment call_site_base. | |
6107 | ||
7360d2ac JJ |
6108 | PR rtl-optimization/47366 |
6109 | * fwprop.c (forward_propagate_into): Return bool. If | |
6110 | any changes are made, -fnon-call-exceptions is used and | |
6111 | REG_EH_REGION note is present, call purge_dead_edges | |
6112 | and return true if it purged anything. | |
6113 | (fwprop_addr): Adjust callers, call cleanup_cfg (0) if | |
6114 | any EH edges were purged. | |
6115 | ||
e90b336f JL |
6116 | 2011-01-21 Jeff Law <law@redhat.com> |
6117 | ||
6118 | PR rtl-optimization/41619 | |
6119 | * caller-save.c (setup_save_areas): Break out code to determine | |
6120 | which hard regs are live across calls by examining the reload chains | |
6121 | so that it is always used. | |
6122 | Eliminate code which checked REG_N_CALLS_CROSSED. | |
6123 | ||
3ffe07e1 JJ |
6124 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
6125 | ||
6126 | PR tree-optimization/47355 | |
6127 | * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if | |
6128 | NOP has non-debug uses beyond PHIs in new_bb. | |
6129 | ||
1c7d0b34 AO |
6130 | 2011-01-21 Alexandre Oliva <aoliva@redhat.com> |
6131 | ||
6132 | PR debug/47106 | |
6133 | * cfgexpand.c (account_used_vars_for_block): Only account vars | |
6134 | that are annotated as used. | |
6135 | (estimated_stack_frame_size): Don't set TREE_USED. | |
6136 | * tree-dfa.c (create_var_ann): Mark variable as used. | |
6137 | ||
f99cc488 RG |
6138 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
6139 | ||
6140 | PR middle-end/47395 | |
6141 | * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name. | |
6142 | ||
3bc27de7 RG |
6143 | 2011-01-21 Richard Guenther <rguenther@suse.de> |
6144 | ||
6145 | PR tree-optimization/47365 | |
6146 | * tree-ssa-sccvn.h (vn_lookup_kind): Declare. | |
6147 | (vn_reference_lookup_pieces): Adjust. | |
6148 | (vn_reference_lookup): Likewise. | |
6149 | * tree-ssa-sccvn.c (vn_walk_kind): New static global. | |
6150 | (vn_reference_lookup_3): Only look through kills if in | |
6151 | VN_WALKREWRITE mode. | |
6152 | (vn_reference_lookup_pieces): Adjust. | |
6153 | (vn_reference_lookup): Likewise. | |
6154 | (visit_reference_op_load): Likewise. | |
6155 | (visit_reference_op_store): Likewise. | |
6156 | * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode. | |
6157 | (compute_avail): Likewise. | |
6158 | (eliminate): Likewise. | |
6159 | ||
d8debb1d JJ |
6160 | 2011-01-21 Jakub Jelinek <jakub@redhat.com> |
6161 | ||
6162 | * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove | |
6163 | DECL_IGNORED_P non-reg vars if they are used. | |
6164 | ||
3a2df831 JJ |
6165 | PR tree-optimization/47391 |
6166 | * varpool.c (const_value_known_p): Return false if | |
6167 | decl is volatile. | |
6168 | ||
1dd584a2 KT |
6169 | 2011-01-21 Kai Tietz <kai.tietz@onevision.com> |
6170 | ||
6171 | PR bootstrap/47215 | |
6172 | * config/i386/i386.c (ix86_local_alignment): Handle | |
6173 | case for va_list_type_node is nil. | |
6174 | (ix86_canonical_va_list_type): Likewise. | |
6175 | ||
7f9f095e AM |
6176 | 2011-01-21 Alan Modra <amodra@gmail.com> |
6177 | ||
6178 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add | |
6179 | builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__. | |
6180 | ||
837b01f6 RR |
6181 | 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
6182 | ||
6183 | * config/arm/arm.md (define_attr type): Rename f_load | |
6184 | and f_store to f_fpa_load and f_fpa_store. Update. | |
6185 | (write_conflict): Deal with rename fallout. | |
6186 | (*push_fp_multi): Likewise. | |
6187 | * config/arm/fpa.md (f_load): Use f_fpa_load. | |
6188 | (f_store): Use f_fpa_store. | |
6189 | (*movsf_fpa): Likewise. | |
6190 | (*movdf_fpa): Likewise. | |
6191 | (*movxf_fpa): Likewise. | |
6192 | (*thumb2_movsf_fpa): Likewise. | |
6193 | (*thumb2_movdf_fpa): Likewise. | |
6194 | (*thumb2_movxf_fpa): Likewise. | |
6195 | * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to | |
6196 | f_loadd and f_stored. | |
6197 | (*thumb2_movdi_vfp): Likewise. | |
6198 | (*thumb2_movsf_vfp): Fix attribute to f_loads. | |
6199 | (*thumb2_movsi_vfp): Likewise. | |
6200 | * config/arm/cortex-m4-fpu.md (cortex_m4_f_load): | |
6201 | Use f_loads instead of f_load. | |
6202 | * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load. | |
6203 | ||
a1a79768 AS |
6204 | 2011-01-20 Anatoly Sokolov <aesok@post.ru> |
6205 | ||
6206 | * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
6207 | * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove. | |
6208 | * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
6209 | (xtensa_mode_dependent_address_p): New function. | |
6210 | (constantpool_address_p): Make static. Change return type to bool. | |
6211 | Change argument type to const_rtx. Use CONST_INT_P predicate. | |
6212 | ||
427f6cec AO |
6213 | 2011-01-20 Alexandre Oliva <aoliva@redhat.com> |
6214 | ||
6215 | PR debug/46583 | |
6216 | * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls. | |
6217 | ||
583ac69c JJ |
6218 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
6219 | ||
6220 | PR debug/47283 | |
6221 | * cfgexpand.c (expand_debug_expr): Instead of generating | |
6222 | (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF | |
6223 | etc. handling. | |
6224 | ||
93e452ed RG |
6225 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
6226 | ||
6227 | PR middle-end/47370 | |
6228 | * tree-inline.c (remap_gimple_op_r): Recurse manually for | |
6229 | the pointer operand of MEM_REFs. | |
6230 | ||
28fc44f3 JJ |
6231 | 2011-01-20 Jakub Jelinek <jakub@redhat.com> |
6232 | ||
6233 | PR tree-optimization/46130 | |
6234 | * ipa-split.c (consider_split): If return_bb contains non-virtual | |
6235 | PHIs other than for retval or if split_function would not adjust it, | |
6236 | refuse to split. | |
6237 | ||
ddd268f2 RG |
6238 | 2011-01-20 Richard Guenther <rguenther@suse.de> |
6239 | ||
6240 | PR tree-optimization/47167 | |
6241 | * tree-ssa-copyrename.c (copy_rename_partition_coalesce): | |
6242 | Revert previous change, only avoid enumeral type changes. | |
6243 | ||
882020aa MS |
6244 | 2011-01-19 Mike Stump <mikestump@comcast.net> |
6245 | ||
6246 | * doc/tm.texi.in (BRANCH_COST): Englishify. | |
6247 | * doc/tm.texi (BRANCH_COST): Likewise. | |
6248 | ||
7edb6247 DS |
6249 | 2011-01-19 Dodji Seketeli <dodji@redhat.com> |
6250 | ||
6251 | PR c++/47291 | |
6252 | * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen) | |
61052244 AM |
6253 | (gen_scheduled_generic_parms_dies): New functions. |
6254 | (gen_struct_or_union_type_die): Schedule template parameters DIEs | |
6255 | generation for the end of CU compilation. | |
6256 | (dwarf2out_finish): Generate template parameters DIEs here. | |
7edb6247 | 6257 | |
23d5ed5d AO |
6258 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
6259 | ||
6260 | PR debug/46240 | |
6261 | * tree-into-ssa.c (maybe_register_def): Do not attempt to add | |
6262 | debug bind stmt on merge edges. | |
6263 | ||
37d6a488 AO |
6264 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
6265 | ||
6266 | PR debug/47079 | |
6267 | PR debug/46724 | |
6268 | * function.c (instantiate_expr): Instantiate incoming rtl of | |
6269 | implicit arguments, and recurse on VALUE_EXPRs. | |
6270 | (instantiate_decls): Instantiate rtl and VALUE_EXPR of result. | |
6271 | * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx. | |
6272 | ||
689f2c82 AO |
6273 | 2011-01-19 Alexandre Oliva <aoliva@redhat.com> |
6274 | ||
6275 | * c-parser.c (c_parser_for_statement): Initialize | |
6276 | collection_expression. | |
6277 | ||
03029de4 JM |
6278 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
6279 | ||
6280 | * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}. | |
6281 | ||
3e03217e JM |
6282 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
6283 | ||
6284 | * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove. | |
6285 | (LINK_SHLIB_SPEC): Don't use %(link_path). | |
6286 | (SUBTARGET_EXTRA_SPECS): Remove link_path. | |
6287 | ||
5bbe9b3f JM |
6288 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
6289 | ||
6290 | * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional. | |
6291 | (NO_SHARED_LIB_SUPPORT): Remove. | |
6292 | (LINK_SHLIB_SPEC): Remove one conditional definition. | |
6293 | ||
368e0b39 JM |
6294 | 2011-01-19 Joseph Myers <joseph@codesourcery.com> |
6295 | ||
6296 | * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared} | |
6297 | %{call_shared}. | |
6298 | * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}. | |
6299 | * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}. | |
6300 | * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared} | |
6301 | %{call_shared} and conditionals on these options not being passed. | |
6302 | * config/mips/sde.h (LINK_SPEC): Remove %{non_shared} | |
6303 | %{call_shared}. | |
6304 | ||
ed7656f6 JJ |
6305 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
6306 | ||
68457901 JJ |
6307 | * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge, |
6308 | simplify. | |
6309 | ||
ed7656f6 JJ |
6310 | * ipa-split.c: Spelling fixes. |
6311 | ||
e0d1958f RH |
6312 | 2011-01-19 Richard Henderson <rth@redhat.com> |
6313 | ||
6314 | * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand. | |
6315 | (*mulsi3): Likewise. | |
6316 | ||
27098b6b RH |
6317 | * longlong.h [__mn10300__] (count_leading_zeros): New. |
6318 | [__mn10300__] (umul_ppmm, smul_ppmm): New. | |
6319 | [__mn10300__] (add_ssaaaa, subddmmss): New. | |
6320 | [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New. | |
6321 | [__mn10300__] (UMUL_TIME, UDIV_TIME): New. | |
6322 | ||
d6be7c36 UW |
6323 | 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
6324 | ||
6325 | * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case. | |
6326 | ||
b1efde2a RH |
6327 | 2011-01-19 Richard Henderson <rth@redhat.com> |
6328 | ||
44217823 RH |
6329 | * config/mn10300/mn10300.md (addsi3_flags): New. |
6330 | (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New. | |
6331 | (subsi3_flags, subc_internal, subdi3): New. | |
6332 | (subdi3_internal, *subdi3_degenerate): New. | |
6333 | * config/mn10300/predicates.md (reg_or_am33_const_operand): New. | |
6334 | ||
37a185d7 RH |
6335 | * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New. |
6336 | (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn. | |
6337 | (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once. | |
6338 | * config/mn10300/mn10300-protos.h: Update. | |
6339 | * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn. | |
6340 | (return_ret): Likewise. Rename from return_internal_regs. | |
6341 | (return_internal): Remove. | |
6342 | ||
040c5757 RH |
6343 | * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove. |
6344 | (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL. | |
6345 | (mn10300_legitimate_constant_p): Likewise. | |
6346 | (mn10300_can_use_return_insn): Use mn10300_initial_offset. | |
6347 | (mn10300_frame_size): New. | |
6348 | (mn10300_expand_prologue): Use it. | |
6349 | (mn10300_expand_epilogue): Likewise. | |
6350 | (mn10300_initial_offset): Likewise. | |
6351 | * config/mn10300/mn10300-protos.h: Update. | |
6352 | * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove. | |
6353 | * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove. | |
6354 | (prologue, epilogue, return_internal): Tidy output code. | |
6355 | (mn10300_store_multiple_operation, return): Likewise. | |
6356 | (int_label, pop_pic_reg, GOTaddr2picreg): Remove. | |
6357 | (am33_loadPC, mn10300_loadPC, call_next_insn): Remove. | |
6358 | (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove. | |
6359 | (load_pic, am33_load_pic): New. | |
6360 | (mn10300_load_pic0, mn10300_load_pic1): New. | |
6361 | ||
bad41521 RH |
6362 | * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes. |
6363 | * config/mn10300/mn10300.c (CC_FLAG_Z): New. | |
6364 | (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New. | |
6365 | (cc_flags_for_mode, cc_flags_for_code): New. | |
6366 | (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the | |
6367 | overflow flag is not valid. Validate that the flags we need | |
6368 | for the comparison are valid. | |
6369 | (mn10300_output_cmp): Remove. | |
6370 | (mn10300_output_add): New. | |
6371 | (mn10300_select_cc_mode): Use cc_flags_for_code. | |
6372 | (mn10300_split_cbranch): New. | |
6373 | (mn10300_match_ccmode): New. | |
6374 | (mn10300_split_and_operand_count): New. | |
6375 | * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments | |
6376 | to the function. | |
6377 | * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge... | |
6378 | (addsi3): ... here. Use mn10300_output_add. | |
6379 | (*addsi3_flags): New. | |
6380 | (*am33_subsi3, *mn10300_subsi3): Merge... | |
6381 | (subsi3): ... here. Use attribute isa. | |
6382 | (*subsi3_flags): New. | |
6383 | (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC | |
6384 | when possible. | |
6385 | (*am33_andsi3, *mn10300_andsi3): Merge... | |
6386 | (andsi3): ... here. | |
6387 | (*andsi3_flags): New. | |
6388 | (andsi3 splitters): New. | |
6389 | (*am33_iorsi3, *mn10300_iorsi3): Merge... | |
6390 | (iorsi3): ... here. | |
6391 | (*iorsi3_flags): New. | |
6392 | (*am33_xorsi3, *mn10300_xorsi3): Merge... | |
6393 | (xorsi3): ... here. | |
6394 | (*xorsi3_flags): New. | |
6395 | (*am33_cmpsi2, *mn10300_cmplsi2): Merge... | |
6396 | (one_cmplsi2): ... here. | |
6397 | (*one_cmplsi2_flags): New. | |
6398 | (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r" | |
6399 | instead of "dax" in constraints. Use mn10300_split_cbranch. | |
6400 | (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not | |
6401 | use matching constraints to eliminate a self-comparison. | |
6402 | (*integer_conditional_branch): Rename from integer_conditional_branch. | |
6403 | Use int_mode_flags to match CC_REG. | |
6404 | (*cbranchsi4_btst, *btstsi): New. | |
6405 | (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use | |
6406 | mn10300_split_cbranch. | |
6407 | (*am33_cmpsf): Rename from am33_cmpsf. | |
6408 | (*float_conditional_branch): Rename from float_conditional_branch. | |
6409 | (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge... | |
6410 | (zero_extendqisi2): ... here. | |
6411 | (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge... | |
6412 | (zero_extendhisi2): ... here. | |
6413 | (*extendqisi2_am33, *extendqisi2_mn10300): Merge... | |
6414 | (extendqisi2): ... here. | |
6415 | (*extendhisi2_am33, *extendhisi2_mn10300): Merge... | |
6416 | (extendhisi2): ... here. | |
6417 | (*am33_ashlsi3, *mn10300_ashlsi3): Merge... | |
6418 | (ashlsi3): ... here. | |
6419 | (*am33_lshrsi3, *mn10300_lshrsi3): Merge... | |
6420 | (lshrsi3): ... here. | |
6421 | (*am33_ashrisi3, *mn10300_ashrsi3): Merge... | |
6422 | (ashrsi3): ... here. | |
6423 | (consecutive add peephole): Remove. | |
6424 | * config/mn10300/predicates.md (label_ref_operand): New. | |
6425 | (int_mode_flags): New. | |
6426 | (CCZN_comparison_operator): New. | |
6427 | ||
9efb4993 RH |
6428 | * config/mn10300/mn10300.md (UNSPEC_EXT): New. |
6429 | (throughput_42_latency_43): New reservation. | |
6430 | (mulsidi3, umulsidi3): New expanders. | |
6431 | (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose | |
6432 | the MDR register to allocation; separately allocate the low and | |
6433 | high parts of the DImode result. | |
6434 | (umulsidi3_internal): Similarly. | |
6435 | (*am33_mulsi3, *mn10300_mulsi3): Merge into ... | |
6436 | (*mulsi3): ... here. Clobber MDR as a scratch as necessary. | |
6437 | (udivsi3, umodsi3): Remove. | |
6438 | (udivmodsi4, divmodsi4): New expanders. | |
6439 | (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly. | |
6440 | (*divmodsi4): Simiarly. | |
6441 | (ext_internal): New. | |
6442 | ||
c25a21f5 RH |
6443 | * config/mn10300/constraints.md ("z"): New constraint. |
6444 | * config/mn10300/mn10300.h (MDR_REGNUM): Remove. | |
6445 | (FIXED_REGISTERS): Don't fix MDR. | |
6446 | (CALL_USED_REGSITERS): Reformat nicely. | |
6447 | (REG_ALLOC_ORDER): Add MDR. | |
6448 | (enum regclass): Add MDR_REGS. | |
6449 | (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match. | |
6450 | (IRA_COVER_CLASSES): Add MDR_REGS. | |
6451 | (REGNO_REG_CLASS): Handle MDR_REG. | |
6452 | * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS. | |
6453 | (mn10300_register_move_cost): Likewise. | |
6454 | * config/mn10300/mn10300.md (MDR_REG): New. | |
6455 | (*movsi_internal): Handle moves to/from MDR_REGS. | |
6456 | ||
36846b26 RH |
6457 | * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle |
6458 | POST_MODIFY. | |
6459 | (mn10300_secondary_reload): Tidy combination reload classes. | |
6460 | (mn10300_legitimate_address_p): Allow post-modify and reg+reg | |
6461 | addresses for AM33. Allow symbolic offsets for reg+imm. | |
6462 | (mn10300_regno_in_class_p): New. | |
6463 | (mn10300_legitimize_reload_address): New. | |
6464 | * config/mn10300/mn10300.h (enum reg_class): Remove | |
6465 | DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS, | |
6466 | SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add | |
6467 | SP_OR_GENERAL_REGS. | |
6468 | (REG_CLASS_NAMES): Update to match. | |
6469 | (REG_CLASS_CONTENTS): Likewise. | |
6470 | (INDEX_REG_CLASS): Use GENERAL_REGS for AM33. | |
6471 | (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33. | |
6472 | (REGNO_IN_RANGE_P): Remove. | |
6473 | (REGNO_DATA_P): Use mn10300_regno_in_class_p. | |
6474 | (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise. | |
6475 | (REGNO_STRICT_OK_FOR_BASE_P): Likewise. | |
6476 | (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise. | |
6477 | (REGNO_STRICT_OK_FOR_INDEX_P): Likewise. | |
6478 | (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove. | |
6479 | (REGNO_GENERAL_P): New. | |
6480 | (HAVE_POST_MODIFY_DISP): New. | |
6481 | (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New. | |
6482 | (LEGITIMIZE_RELOAD_ADDRESS): New. | |
6483 | * config/mn10300/mn10300-protos.h: Update. | |
6484 | ||
8b119bb6 RH |
6485 | * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow |
6486 | DATA_REGS for AM33 stack-pointer destination. | |
6487 | (mn10300_preferred_output_reload_class): Likewise. | |
6488 | (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class | |
6489 | into a form appropriate for ... | |
6490 | (TARGET_SECONDARY_RELOAD): New. | |
6491 | * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove. | |
6492 | * config/mn10300/mn10300-protos.h: Update. | |
6493 | * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from | |
6494 | reload_insi; use the "A" constraint for the scratch; handle AM33 | |
6495 | moves of sp to non-address registers. | |
6496 | ||
b1efde2a RH |
6497 | * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into |
6498 | (*movqi_internal): ... here. | |
6499 | (*am33_movhi, *mn10300_movhi): Merge into... | |
6500 | (*movhi_internal): ... here. | |
6501 | (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A" | |
6502 | as the source/destination of moves from/to SP. | |
6503 | (movsf): Only allow for AM33-2. | |
1c3ba85b | 6504 | (*movsf_internal): Use "r" instead of "dax"; use "F" instead of |
b1efde2a RH |
6505 | any integer constant constraint. Only allow for AM33-2. Tidy |
6506 | all of the alternative outputs. | |
6507 | (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove. | |
6508 | (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow | |
6509 | for MN103. | |
6510 | (udivsi3, umodsi3): New patterns for MN103 only. | |
6511 | ||
b899fd78 JR |
6512 | 2011-01-19 Joern Rennecke <amylaar@spamcop.net> |
6513 | ||
6514 | * doc/tm.texi.in: Spell out that a lack of register class unions | |
6515 | can lead to ICEs. | |
6516 | * doc/tm.texi: Regenerate. | |
6517 | ||
afaaa67d JJ |
6518 | 2011-01-19 Jakub Jelinek <jakub@redhat.com> |
6519 | ||
2e0642cd JJ |
6520 | PR rtl-optimization/47337 |
6521 | * dce.c (check_argument_store): New function. | |
6522 | (find_call_stack_args): Ignore debug insns. Use check_argument_store. | |
6523 | ||
afaaa67d JJ |
6524 | PR tree-optimization/47290 |
6525 | * tree-eh.c (infinite_empty_loop_p): New function. | |
6526 | (cleanup_empty_eh): Use it. | |
6527 | ||
d2cd871f SE |
6528 | 2011-01-18 Steve Ellcey <sje@cup.hp.com> |
6529 | ||
6530 | PR target/46997 | |
6531 | * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN. | |
6532 | (a64_expand_widen_sum): Ditto. | |
6533 | * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN. | |
6534 | (vec_extract_evenodd_help): Ditto. | |
6535 | (vec_extract_evenv4hi): Ditto. | |
6536 | (vec_extract_oddv4hi): Ditto. | |
6537 | (vec_extract_evenv2si): Ditto. | |
6538 | (vec_extract_oddv2si): Ditto. | |
6539 | (vec_extract_evenv2sf): Ditto. | |
6540 | (vec_extract_oddv2sf): Ditto. | |
6541 | (vec_pack_trunc_v4hi: Ditto. | |
6542 | (vec_pack_trunc_v2si): Ditto. | |
6543 | (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN. | |
6544 | (vec_interleave_highv8qi): Ditto. | |
6545 | (mix1_r): Ditto. | |
6546 | (vec_extract_oddv8qi): Ditto. | |
6547 | (vec_interleave_lowv4hi): Ditto. | |
6548 | (vec_interleave_highv4hi): Ditto. | |
6549 | (vec_interleave_lowv2si): Ditto. | |
6550 | (vec_interleave_highv2si): Ditto. | |
6551 | ||
41a1208a JDA |
6552 | 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
6553 | ||
6554 | * doc/extend.texi: Mention __float128 support on hppa HP-UX. | |
6555 | * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1. | |
6556 | * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h". | |
6557 | (pa_c_mode_for_suffix): New. | |
6558 | (TARGET_EXPAND_BUILTIN): Define. | |
6559 | (TARGET_C_MODE_FOR_SUFFIX): Define. | |
6560 | (pa_builtins): Define. | |
6561 | (pa_init_builtins): Register __float128 type and init new support | |
6562 | builtins. | |
6563 | * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined. | |
6564 | * config/pa/quadlib.c (_U_Qfcopysign): New. | |
6565 | ||
1ecad98e EB |
6566 | 2011-01-18 Eric Botcazou <ebotcazou@adacore.com> |
6567 | ||
6568 | PR middle-end/46894 | |
6569 | * explow.c (allocate_dynamic_stack_space): Do not assume more than | |
6570 | BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET | |
6571 | are defined. | |
6572 | ||
d4f2460a UW |
6573 | 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
6574 | ||
6575 | PR tree-optimization/47179 | |
6576 | * config/spu/spu.c (spu_ref_may_alias_errno): New function. | |
6577 | (TARGET_REF_MAY_ALIAS_ERRNO): Define. | |
6578 | ||
4994da65 RG |
6579 | 2011-01-18 Richard Guenther <rguenther@suse.de> |
6580 | ||
6581 | PR rtl-optimization/47216 | |
6582 | * emit-rtl.c: Include tree-flow.h. | |
6583 | (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead | |
6584 | of replicating it with different semantics. | |
6585 | * Makefile.in (emit-rtl.o): Adjust. | |
6586 | ||
1eb458d1 RR |
6587 | 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
6588 | ||
38be4072 | 6589 | * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually include. |
61052244 | 6590 | (cortex_a9_dp): Handle neon types correctly. |
1eb458d1 | 6591 | |
e7ef91dc JJ |
6592 | 2011-01-18 Jakub Jelinek <jakub@redhat.com> |
6593 | ||
6594 | PR rtl-optimization/47299 | |
6595 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use | |
38be4072 | 6596 | subtarget. Use normal multiplication if both operands are constants. |
e7ef91dc JJ |
6597 | * expmed.c (expand_widening_mult): Don't try to optimize constant |
6598 | multiplication if op0 has VOIDmode. Convert op1 constant to mode | |
6599 | before using it. | |
6600 | ||
535b7874 RW |
6601 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
6602 | ||
6603 | * doc/lto.texi (LTO): Ensure two spaces after period. Fix | |
6604 | spacing after 'e.g.', typos, comma, hyphenation. | |
6605 | ||
27bf36f3 RH |
6606 | 2011-01-17 Richard Henderson <rth@redhat.com> |
6607 | ||
8a5b5449 RH |
6608 | * config/rx/predicates.md (rx_constshift_operand): Use match_test. |
6609 | (rx_restricted_mem_operand): New. | |
6610 | (rx_shift_operand): Use register_operand. | |
6611 | (rx_source_operand, rx_compare_operand): Likewise. | |
6612 | * config/rx/rx.md (addsi3_flags): New expander. | |
6613 | (adddi3): Rewrite as expander. | |
6614 | (adc_internal, *adc_flags, adddi3_internal): New patterns. | |
6615 | (subsi3_flags): New expander. | |
6616 | (subdi3): Rewrite as expander. | |
6617 | (sbb_internal, *sbb_flags, subdi3_internal): New patterns. | |
6618 | ||
784f69be RH |
6619 | * config/rx/rx.c (RX_BUILTIN_SAT): Remove. |
6620 | (rx_init_builtins): Remove sat builtin. | |
6621 | (rx_expand_builtin): Likewise. | |
6622 | * config/rx/rx.md (ssaddsi3): New. | |
6623 | (*sat): Rename from sat. Represent the CC_REG input. | |
6624 | ||
f033541c RH |
6625 | * config/rx/predicates.md (rshift_operator): New. |
6626 | * config/rx/rx.c (rx_expand_insv): Remove. | |
6627 | * config/rx/rx-protos.h: Update. | |
6628 | * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift | |
6629 | operand to the canonical position. | |
6630 | (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly. | |
6631 | (*bitclr, *bitclr_in_memory): Similarly. | |
6632 | (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New. | |
6633 | (insv): Retain the zero_extract in the expansion. | |
6634 | ||
34fee389 RH |
6635 | * config/rx/rx.md (bswapsi2): Use = not + for output reload. |
6636 | (bswaphi2, bitinvert, revw): Likewise. | |
6637 | ||
265c835f RH |
6638 | * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET. |
6639 | (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise. | |
6640 | * config/rx/rx.md (pop_and_return): Use VOIDmode for SET. | |
6641 | (stack_push, stack_pushm, stack_pop, stack_popm): Likewise. | |
6642 | (bitset, bitset_in_memory): Likewise. | |
6643 | (bitinvert, bitinvert_in_memory): Likewise. | |
6644 | (bitclr, bitclr_in_memory): Likewise. | |
6645 | (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise. | |
6646 | (rx_strend, rx_cmpstrn): Likewise. | |
6647 | (rx_setmem): Likewise. Make the source BLKmode to match the dest. | |
6648 | (bitop peep2 patterns): Remove. | |
6649 | ||
b4d83be3 RH |
6650 | * config/rx/rx.c (rx_match_ccmode): New. |
6651 | * config/rx/rx-protos.h: Update. | |
6652 | * config/rx/rx.md (abssi2): Clobber, don't set flags. | |
6653 | (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise. | |
6654 | (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise. | |
6655 | (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise. | |
6656 | (fix_truncsfsi2, floatsisf2): Likewise. | |
6657 | (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New. | |
6658 | (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New. | |
6659 | (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New. | |
6660 | (*subsi3_flags, *xorsi3_flags): New. | |
6661 | ||
d0acb939 RH |
6662 | * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns. |
6663 | ||
c06fc3d9 RH |
6664 | * config/rx/rx.c (rx_print_operand): Remove workaround for |
6665 | unsplit comparison operations. | |
6666 | ||
2882702b RH |
6667 | * config/rx/rx.md (movsicc): Split after reload. |
6668 | (*movsicc): Merge *movsieq and *movsine via match_operator. | |
6669 | (*stcc): New pattern. | |
6670 | ||
6f7310f2 RH |
6671 | * config/rx/rx.c (rx_float_compare_mode): Remove. |
6672 | * config/rx/rx.h (rx_float_compare_mode): Remove. | |
6673 | * config/rx/rx.md (cstoresi4): Split after reload. | |
6674 | (*sccc): New pattern. | |
6675 | ||
e963cb1a RH |
6676 | * config/rx/predicates.md (label_ref_operand): New. |
6677 | (rx_z_comparison_operator): New. | |
6678 | (rx_zs_comparison_operator): New. | |
6679 | (rx_fp_comparison_operator): New. | |
6680 | * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes. | |
6681 | Validate that the flags are set properly for the comparison. | |
6682 | (rx_gen_cond_branch_template): Remove. | |
6683 | (rx_cc_modes_compatible): Remove. | |
6684 | (mode_from_flags): New. | |
6685 | (flags_from_code): Rename from flags_needed_for_conditional. | |
6686 | (rx_cc_modes_compatible): Re-write in terms of flags_from_mode. | |
6687 | (rx_select_cc_mode): Likewise. | |
6688 | (rx_split_fp_compare): New. | |
6689 | (rx_split_cbranch): New. | |
6690 | * config/rx/rx.md (most_cond, zs_cond): Remove iterators. | |
6691 | (*cbranchsi4): Use match_operator and rx_split_cbranch. | |
6692 | (*cbranchsf4): Similarly. | |
6693 | (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use | |
6694 | match_operator and rx_split_cbranch. | |
6695 | (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and | |
6696 | tstbranchsi4m_ne. Use match_operator and rx_split_cbranch. | |
6697 | (*cmpsi): Rename from cmpsi. | |
6698 | (*tstsi): Rename from tstsi. | |
6699 | (*cmpsf): Rename from cmpsf; use CC_Fmode. | |
6700 | (*conditional_branch): Rename from conditional_branch. | |
6701 | (*reveresed_conditional_branch): Remove. | |
6702 | (b<code>): Remove expander. | |
6703 | * config/rx/rx-protos.h: Update. | |
6704 | ||
af530bb4 RH |
6705 | * config/rx/rx.c (rx_compare_redundant): Remove. |
6706 | * config/rx/rx.md (cmpsi): Don't use it. | |
6707 | * config/rx/rx-protos.h: Update. | |
6708 | ||
27bf36f3 RH |
6709 | * config/rx/rx-modes.def (CC_F): New mode. |
6710 | * config/rx/rx.c (rx_select_cc_mode): New. | |
6711 | * config/rx/rx.h (SELECT_CC_MODE): Use it. | |
6712 | * config/rx/rx-protos.h: Update. | |
6713 | ||
d7fde127 RH |
6714 | 2011-01-17 Richard Henderson <rth@redhat.com> |
6715 | ||
6716 | * except.c (dump_eh_tree): Fix stray ; after for statement. | |
6717 | ||
6ff38230 RG |
6718 | 2011-01-17 Richard Guenther <rguenther@suse.de> |
6719 | ||
6720 | PR tree-optimization/47313 | |
6721 | * tree-inline.c (tree_function_versioning): Move DECL_RESULT | |
6722 | handling before copying the body. Properly deal with | |
6723 | by-reference result in SSA form. | |
6724 | ||
114ce554 ILT |
6725 | 2011-01-17 Ian Lance Taylor <iant@google.com> |
6726 | ||
bf5cd92b | 6727 | PR target/47219 |
114ce554 ILT |
6728 | * config/sparc/sparc.c (sparc_sr_alias_set): Don't define. |
6729 | (struct_value_alias_set): Don't define. | |
6730 | (sparc_option_override): Don't set sparc_sr_alias_set and | |
6731 | struct_value_alias_set. | |
6732 | (save_or_restore_regs): Use gen_frame_mem rather than calling | |
6733 | set_mem_alias_set. | |
6734 | (sparc_struct_value_rtx): Likewise. | |
6735 | ||
98c6d93c L |
6736 | 2011-01-17 H.J. Lu <hongjiu.lu@intel.com> |
6737 | ||
6738 | PR target/47318 | |
7a81008b | 6739 | * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to __m128i. |
98c6d93c L |
6740 | (_mm_maskstore_pd): Likewise. |
6741 | (_mm_maskload_ps): Likewise. | |
6742 | (_mm_maskstore_ps): Likewise. | |
6743 | (_mm256_maskload_pd): Change mask to __m256i. | |
6744 | (_mm256_maskstore_pd): Likewise. | |
6745 | (_mm256_maskload_ps): Likewise. | |
6746 | (_mm256_maskstore_ps): Likewise. | |
6747 | ||
6748 | * config/i386/i386-builtin-types.def: Updated. | |
6749 | (ix86_expand_special_args_builtin): Likewise. | |
6750 | ||
6751 | * config/i386/i386.c (bdesc_special_args): Update | |
6752 | __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps, | |
6753 | __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256, | |
6754 | __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps, | |
6755 | __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256. | |
6756 | ||
6757 | * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>): | |
6758 | Use <avxpermvecmode> on mask register. | |
6759 | (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise. | |
6760 | ||
b9361af2 | 6761 | 2011-01-17 Olivier Hainque <hainque@adacore.com> |
61052244 AM |
6762 | Michael Haubenwallner <michael.haubenwallner@salomon.at> |
6763 | Eric Botcazou <ebotcazou@adacore.com> | |
b9361af2 OH |
6764 | |
6765 | PR target/46655 | |
6766 | * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only | |
6767 | if <= USHRT_MAX in 32-bit mode. | |
6768 | ||
b7ae9eb5 RW |
6769 | 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
6770 | ||
6771 | * doc/install.texi (Configuration, Specific): Wrap long | |
6772 | lines in examples. Allow line wrapping in long options | |
6773 | and URLs where beneficial for PDF output. | |
6774 | ||
4377fad9 RS |
6775 | 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com> |
6776 | ||
6777 | * config/mips/mips.c (mips_classify_symbol): Don't return | |
6778 | SYMBOL_PC_RELATIVE for nonlocal labels. | |
6779 | ||
55959ffa | 6780 | 2011-01-15 Eric Botcazou <ebotcazou@adacore.com> |
be46831f | 6781 | |
55959ffa EB |
6782 | * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo. |
6783 | ||
6784 | 2011-01-15 Jan Hubicka <jh@suse.cz> | |
6785 | ||
6786 | PR tree-optimization/47276 | |
be46831f JH |
6787 | * ipa.c (function_and_variable_visibility): Do not try to mark alias |
6788 | declarations as needed. | |
6789 | ||
05842ff5 MJ |
6790 | 2011-01-15 Martin Jambor <mjambor@suse.cz> |
6791 | ||
6792 | * common.opt (fdevirtualize): New flag. | |
6793 | * doc/invoke.texi (Option Summary): Document it. | |
6794 | * opts.c (default_options_table): Add devirtualize flag. | |
6795 | * ipa-prop.c (detect_type_change): Return immediately if | |
6796 | devirtualize flag is not set. | |
6797 | (detect_type_change_ssa): Likewise. | |
6798 | (compute_known_type_jump_func): Likewise. | |
6799 | (ipa_analyze_virtual_call_uses): Likewise. | |
6800 | ||
f65cf2b7 MJ |
6801 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
6802 | ||
6803 | PR tree-optimization/45934 | |
6804 | PR tree-optimization/46302 | |
6805 | * ipa-prop.c (type_change_info): New type. | |
6806 | (stmt_may_be_vtbl_ptr_store): New function. | |
6807 | (check_stmt_for_type_change): Likewise. | |
6808 | (detect_type_change): Likewise. | |
6809 | (detect_type_change_ssa): Likewise. | |
6810 | (compute_complex_assign_jump_func): Check for dynamic type change. | |
6811 | (compute_complex_ancestor_jump_func): Likewise. | |
6812 | (compute_known_type_jump_func): Likewise. | |
6813 | (compute_scalar_jump_functions): Likewise. | |
6814 | (ipa_analyze_virtual_call_uses): Likewise. | |
6815 | (ipa_analyze_node): Push and pop cfun, set current_function_decl. | |
6816 | ||
eb5bb0fd JM |
6817 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6818 | ||
6819 | * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5. | |
6820 | * config/i386/i386.opt (msse5): New Alias. | |
6821 | ||
f2060fbe JM |
6822 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6823 | ||
6824 | * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}. | |
6825 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
6826 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
6827 | * config/sparc/sparc.h (CC1_SPEC): Likewise. | |
6828 | ||
3a7b4385 JM |
6829 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6830 | ||
6831 | * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of | |
6832 | -mcpu options. | |
6833 | * config/sparc/linux64.h (CC1_SPEC): Likewise. | |
6834 | * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise. | |
6835 | * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise. | |
6836 | * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC): | |
6837 | Likewise. | |
6838 | * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8. | |
6839 | ||
a7b778f8 JM |
6840 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6841 | ||
38be4072 | 6842 | * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or -fvec-eabi. |
a7b778f8 | 6843 | |
a7edae0a MS |
6844 | 2011-01-14 Mike Stump <mikestump@comcast.net> |
6845 | ||
6846 | * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set. | |
6847 | * config/fr30/fr30.md: Likweise | |
6848 | (movsi_push): Likewise. | |
6849 | (movsi_pop): Likewise. | |
6850 | (enter_func): Likewise. | |
6851 | * config/moxie/moxie.md (movsi_push): Likewise. | |
6852 | (movsi_pop): Likewise. | |
6853 | ||
cbabf03f JM |
6854 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6855 | ||
6856 | * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum} | |
6857 | %{no_archive} %{exact_version}. | |
6858 | * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}. | |
6859 | * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum} | |
6860 | %{no_archive} %{exact_version}. | |
6861 | * config/mips/openbsd.h (LINK_SPEC): Likewise. | |
6862 | * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}. | |
6863 | * config/mips/vxworks.h: Likewise. | |
6864 | ||
438da41a JM |
6865 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6866 | ||
38be4072 | 6867 | * config/microblaze/microblaze.h (ASM_SPEC): Remove %{microblaze1}. |
438da41a | 6868 | |
da290a42 JM |
6869 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6870 | ||
6871 | * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC, | |
6872 | ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove. | |
6873 | ||
8989d00e JM |
6874 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6875 | ||
6876 | * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not | |
6877 | -nodefaultlib. | |
6878 | ||
a3010a69 JM |
6879 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6880 | ||
6881 | * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check | |
6882 | for mcpu not cpu. | |
6883 | * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC, | |
6884 | CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu | |
6885 | not cpu. | |
6886 | (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options. | |
6887 | Don't handle -shlib. | |
6888 | ||
e7f2f537 JM |
6889 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6890 | ||
6891 | * config/avr/avr.h (CPP_SPEC): Don't handle -posix. | |
6892 | (CC1_SPEC): Don't handle -profile. | |
6893 | ||
34830bfd JM |
6894 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6895 | ||
6896 | * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec. | |
6897 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
6898 | ||
b2d36e74 JM |
6899 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6900 | ||
6901 | * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }. | |
6902 | * config/mips/mips.h (CC1_SPEC): Likewise. | |
6903 | ||
dabadc52 JM |
6904 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6905 | ||
6906 | * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional. | |
6907 | * config/m32r/linux.h (LINK_SPEC): Likewise. | |
6908 | * config/mips/linux.h (LINK_SPEC): Likewise. | |
6909 | * config/mips/linux64.h (LINK_SPEC): Likewise. | |
6910 | * config/sparc/linux.h (LINK_SPEC): Likewise. | |
6911 | * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC, | |
6912 | LINK_SPEC): Likewise. | |
6913 | * config/xtensa/linux.h (LINK_SPEC): Likewise. | |
6914 | ||
43ee6785 JM |
6915 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6916 | ||
6917 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove | |
6918 | %{version:-v}. | |
6919 | * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise. | |
6920 | ||
45e79dfd JM |
6921 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6922 | ||
6923 | * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}. | |
6924 | * config/sparc/sp64-elf.h (ASM_SPEC): Likewise. | |
6925 | ||
37e9e71d JM |
6926 | 2011-01-14 Joseph Myers <joseph@codesourcery.com> |
6927 | ||
6928 | * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}. | |
6929 | ||
bb127cd8 RO |
6930 | 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
6931 | ||
6932 | * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always | |
6933 | supports -Bstatic/-Bdynamic. | |
6934 | * configure: Regenerate. | |
6935 | ||
89a012ea | 6936 | 2011-01-14 Jan Hubicka <jh@suse.cz> |
509d65dd | 6937 | Jack Howarth <howarth@bromo.med.uc.edu> |
89a012ea JH |
6938 | |
6939 | PR target/46037 | |
6940 | * config/darwin.c (darwin_override_options): Honor flag_gtoggle | |
6941 | when checking debug_info_level. Test write_symbols instead of | |
6942 | debug_hooks->var_location when setting flag_var_tracking_uninit. | |
6943 | ||
7352c013 RG |
6944 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
6945 | ||
6946 | PR tree-optimization/47179 | |
6947 | * target.def (ref_may_alias_errno): New target hook. | |
6948 | * targhooks.h (default_ref_may_alias_errno): Declare. | |
6949 | * targhooks.c: Include tree-ssa-alias.h and tree-flow.h. | |
6950 | (default_ref_may_alias_errno): New function. | |
6951 | * target.h (struct ao_ref_s): Declare. | |
6952 | * tree-ssa-alias.c: Include target.h. | |
6953 | (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook. | |
6954 | * Makefile.in (tree-ssa-alias.o): Adjust dependencies. | |
6955 | (targhooks.o): Likewise. | |
6956 | * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document. | |
6957 | * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation. | |
6958 | ||
9a6c9288 RG |
6959 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
6960 | ||
6961 | * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER. | |
6962 | ||
0fdb0d27 RG |
6963 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
6964 | ||
6965 | PR tree-optimization/47280 | |
6966 | * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and | |
6967 | return CFG changes. | |
6968 | (tree_ssa_forward_propagate_single_use_vars): Deal with | |
6969 | CFG changes from associate_plusminus. | |
6970 | ||
8f66db3b RG |
6971 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
6972 | ||
6973 | PR middle-end/47281 | |
6974 | Revert | |
6975 | 2011-01-11 Richard Guenther <rguenther@suse.de> | |
6976 | ||
280d9630 EB |
6977 | PR tree-optimization/46076 |
6978 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
6979 | unprototyped to empty argument list function types are useless. | |
8f66db3b | 6980 | |
6c0c92e6 RG |
6981 | 2011-01-14 Richard Guenther <rguenther@suse.de> |
6982 | ||
6983 | PR tree-optimization/47286 | |
280d9630 | 6984 | * tree-ssa-structalias.c (new_var_info): Register variables are global. |
6c0c92e6 | 6985 | |
db09f943 MJ |
6986 | 2011-01-14 Martin Jambor <mjambor@suse.cz> |
6987 | ||
6988 | PR middle-end/46823 | |
6989 | * tree-inline.c (expand_call_inline): Get fndecl from call graph edge. | |
6990 | ||
dde8a3a4 AS |
6991 | 2011-01-13 Anatoly Sokolov <aesok@post.ru> |
6992 | ||
6993 | * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE, | |
6994 | LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
6995 | * config/xtensa/xtensa.c (xtensa_libcall_value, | |
6996 | xtensa_function_value_regno_p): New functions. | |
6997 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
6998 | ||
a2b63a20 KT |
6999 | 2011-01-13 Kai Tietz <kai.tietz@onevision.com> |
7000 | ||
7001 | PR c++/47213 | |
7002 | * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
7003 | PE specific hook. | |
7004 | * config/i386/i386-protos.h (i386_pe_assemble_visibility): | |
7005 | New function prototype. | |
7006 | * config/i386/winnt.c (i386_pe_assemble_visibility): | |
7007 | Warn only if attribute was specified by user. | |
7008 | ||
b41f0b34 MM |
7009 | 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com> |
7010 | ||
7011 | PR target/47251 | |
7012 | * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware | |
7013 | floating point. | |
7014 | (floatunsdidf2_fcfidu): Ditto. | |
7015 | ||
3f3c098d AK |
7016 | 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
7017 | ||
7018 | * config/s390/s390.c (print_operand_address): Replace 'error' with | |
7019 | 'output_operand_lossage'. | |
7020 | (print_operand): Likewise. | |
7021 | ||
29fa95ed JL |
7022 | 2011-01-13 Jeff Law <law@redhat.com> |
7023 | ||
280d9630 | 7024 | PR rtl-optimization/39077 |
29fa95ed JL |
7025 | * doc/invoke.texi (max-gcse-insertion-ratio): Document. |
7026 | * params.h (MAX_GCSE_INSERTION_RATIO): Define. | |
7027 | * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define. | |
7028 | * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps. | |
7029 | * gcse.c (prune_insertions_deletions): New function. | |
7030 | (compute_pre_data): Use it. | |
7031 | ||
71d12276 DS |
7032 | 2011-01-13 Dodji Seketeli <dodji@redhat.com> |
7033 | ||
7034 | PR debug/PR46973 | |
7035 | * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New | |
7036 | static function. | |
61052244 | 7037 | (prune_unused_types_mark): Use it. |
71d12276 | 7038 | |
9b0f04e7 AB |
7039 | 2011-01-13 Andrey Belevantsev <abel@ispras.ru> |
7040 | ||
7041 | PR rtl-optimization/45352 | |
1c3ba85b | 7042 | * sel-sched.c: Update copyright years. |
9b0f04e7 | 7043 | (reset_sched_cycles_in_current_ebb): Also recheck the DFA state |
1c3ba85b | 7044 | in the advancing loop when we have issued issue_rate insns. |
9b0f04e7 | 7045 | |
d6a3e264 RH |
7046 | 2011-01-12 Richard Henderson <rth@redhat.com> |
7047 | ||
a49b692a RH |
7048 | * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New. |
7049 | (TARGET_MD_ASM_CLOBBERS): New. | |
7050 | ||
126b1483 RH |
7051 | * config/mn10300/mn10300.c (mn10300_delegitimize_address): New. |
7052 | (TARGET_DELEGITIMIZE_ADDRESS): New. | |
7053 | ||
f3d9d2e0 RH |
7054 | * config/mn10300/mn10300.md (UNSPEC_BSCH): New. |
7055 | (clzsi2, *bsch): New patterns. | |
7056 | ||
d84760c9 RH |
7057 | * config/mn10300/mn10300.md (INT): New mode iterator. |
7058 | (*mov<INT>_clr): New pattern, and peep2 to generate it. | |
7059 | ||
ec815d65 RH |
7060 | * config/mn10300/mn10300.c (mn10300_option_override): Force enable |
7061 | flag_split_wide_types. | |
7062 | ||
d6a3e264 RH |
7063 | * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove. |
7064 | (mn10300_trampoline_init): Rewrite without a template, an immediate | |
7065 | load and a direct branch. | |
7066 | * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16. | |
7067 | ||
0f8ab434 AS |
7068 | 2011-01-12 Anatoly Sokolov <aesok@post.ru> |
7069 | ||
7070 | * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
7071 | * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove. | |
7072 | * config/s390/s390.c (s390_output_addr_const_extra): Make static. | |
7073 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
7074 | ||
d8a24b65 KT |
7075 | 2011-01-12 Kai Tietz <kai.tietz@onevision.com> |
7076 | ||
7077 | PR debug/47209 | |
7078 | * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT | |
7079 | of type. | |
7080 | ||
56e22cab JH |
7081 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
7082 | ||
7083 | PR driver/47244 | |
7084 | * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used. | |
7085 | (PLUGIN_COND_CLOSE): New macro. | |
7086 | (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE. | |
7087 | ||
4b18b3c2 RG |
7088 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
7089 | ||
7090 | PR lto/47259 | |
7091 | * lto-streamer-out.c (output_gimple_stmt): Do not wrap | |
7092 | register variables in a MEM_REF. | |
7093 | ||
8e38461c JM |
7094 | 2011-01-12 Joseph Myers <joseph@codesourcery.com> |
7095 | ||
7096 | * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*, | |
7097 | crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*, | |
7098 | hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* | | |
7099 | i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu | | |
7100 | i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu, | |
7101 | x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu, | |
7102 | ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*, | |
7103 | m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*, | |
7104 | mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*, | |
7105 | s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*, | |
7106 | sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*, | |
7107 | am33_2.0-*-linux*): Use gnu-user.h before linux.h. | |
7108 | * config/gnu-user.h: New. Copied from linux.h. | |
7109 | (LINUX_TARGET_STARTFILE_SPEC): Rename to | |
7110 | GNU_USER_TARGET_STARTFILE_SPEC. | |
7111 | (LINUX_TARGET_ENDFILE_SPEC): Rename to | |
7112 | GNU_USER_TARGET_ENDFILE_SPEC. | |
7113 | (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC. | |
7114 | (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC. | |
7115 | (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC, | |
7116 | LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1, | |
7117 | CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER, | |
7118 | UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64, | |
7119 | BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32, | |
7120 | BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER, | |
7121 | LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64, | |
7122 | TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove. | |
7123 | * config/arm/linux-eabi.h (CC1_SPEC): Use | |
7124 | GNU_USER_TARGET_CC1_SPEC. | |
7125 | (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC. | |
7126 | (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC. | |
7127 | (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC | |
7128 | * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF, | |
7129 | LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC, | |
7130 | LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC, | |
7131 | CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC, | |
7132 | LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove. | |
7133 | ||
a570fc16 RG |
7134 | 2011-01-12 Richard Guenther <rguenther@suse.de> |
7135 | ||
7136 | PR other/46946 | |
7137 | * doc/invoke.texi (ffast-math): Document it is turned on | |
7138 | with -Ofast. | |
7139 | ||
b0223c3e JH |
7140 | 2011-01-12 Jan Hubicka <jh@suse.cz> |
7141 | ||
7142 | PR tree-optimization/47233 | |
ca1e00b3 EB |
7143 | * opts.c (common_handle_option): Disable ipa-reference with profile |
7144 | feedback. | |
b0223c3e | 7145 | |
1c3ba85b | 7146 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
d853ee42 NP |
7147 | |
7148 | * c-parser.c (c_parser_objc_at_property_declaration): Improved | |
ca1e00b3 EB |
7149 | error message. |
7150 | ||
d853ee42 NP |
7151 | 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com> |
7152 | ||
7153 | * c-parser.c (c_lex_one_token): Updated and reindented some | |
7154 | comments. No changes in code. | |
7155 | ||
4053a5a0 ILT |
7156 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
7157 | ||
7158 | * godump.c (go_output_var): Don't output the variable if there is | |
7159 | already a type with the same name. | |
7160 | ||
fa3e04d2 ILT |
7161 | 2011-01-11 Ian Lance Taylor <iant@google.com> |
7162 | ||
7163 | * godump.c (go_format_type): Don't generate float80. | |
7164 | ||
885fe07c RH |
7165 | 2011-01-11 Richard Henderson <rth@redhat.com> |
7166 | ||
72d6e3c5 RH |
7167 | * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward |
7168 | declaration. Rewrite for both speed and size. | |
7169 | (mn10300_address_cost_1): Remove. | |
7170 | (mn10300_register_move_cost): New. | |
7171 | (mn10300_memory_move_cost): New. | |
7172 | (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle | |
7173 | ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare, | |
7174 | extensions, shifts, BSWAP, CLZ. | |
7175 | (mn10300_wide_const_load_uses_clr): Remove. | |
7176 | (TARGET_REGISTER_MOVE_COST): New. | |
7177 | (TARGET_MEMORY_MOVE_COST): New. | |
7178 | * config/mn10300/mn10300-protos.h: Update. | |
7179 | * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove. | |
7180 | ||
df37c023 RH |
7181 | * config/mn10300/constraints.md ("R", "T"): Remove constraints. |
7182 | * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove. | |
7183 | * config/mn10300/mn10300-protos.h: Update. | |
7184 | * config/mn10300/mn10300.md (movsi_internal): Don't use "R". | |
7185 | (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove. | |
7186 | (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove. | |
7187 | (*test_int_bitfield, *test_byte_bitfield): Remove. | |
7188 | (*bit_test, *subreg_bit_test): Remove. | |
62d3f9b2 | 7189 | * config/mn10300/predicates.md (const_8bit_operand): Remove. |
df37c023 | 7190 | |
85a337b5 RH |
7191 | * config/mn10300/constraints.md ("c"): Rename from "A". |
7192 | ("A", "D"): New constraint letters. | |
7193 | * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint. | |
7194 | (fmssf4, fnmasf4, fnmssf4): Likewise. | |
7195 | ||
a5c727e3 RH |
7196 | * config/mn10300/mn10300.md (isa): New attribute. |
7197 | (enabled): New attribute. | |
7198 | ||
0d9e23f4 RH |
7199 | * config/mn10300/mn10300.md (absdf2, negdf2): Remove. |
7200 | (abssf2, negsf2): Define only for hardware fp. | |
7201 | (sqrtsf2): Reformat. | |
7202 | (addsf3, subsf3, mulsf3): Merge expander and insn. | |
7203 | ||
c157b3f0 RH |
7204 | * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New. |
7205 | (DEBUGGER_AUTO_OFFSET): Remove. | |
7206 | (DEBUGGER_ARG_OFFSET): Remove. | |
7207 | ||
cc909bba RH |
7208 | * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static. |
7209 | Emit register stores with the same offsets as the hardware. | |
7210 | (mn10300_store_multiple_operation): Don't check that the register | |
7211 | save offsets are monotonic. | |
7212 | * config/mn10300/mn10300-protos.h: Update. | |
7213 | ||
e3b5c2f3 RH |
7214 | * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete. |
7215 | ||
885fe07c RH |
7216 | * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define |
7217 | in terms of the value on the stack, not the MDR register. | |
7218 | ||
6e701822 JH |
7219 | 2011-01-11 Jan Hubicka <jh@suse.cz> |
7220 | ||
7221 | PR lto/45721 | |
7222 | PR lto/45375 | |
7223 | * tree.h (symbol_alias_set_t): Move typedef here from varasm.c | |
7224 | (symbol_alias_set_destroy, symbol_alias_set_contains, | |
7225 | propagate_aliases_backward): Declare. | |
7226 | * lto-streamer-out.c (struct sets): New sturcture. | |
7227 | (trivally_defined_alias): New function. | |
7228 | (output_alias_pair_p): Rewrite. | |
7229 | (output_unreferenced_globals): Fix output of alias pairs. | |
7230 | (produce_symtab): Likewise. | |
7231 | * ipa.c (function_and_variable_visibility): Set weak alias destination | |
7232 | as needed in lto. | |
7233 | * varasm.c (symbol_alias_set_t): Remove. | |
7234 | (symbol_alias_set_destroy): Export. | |
7235 | (propagate_aliases_forward, propagate_aliases_backward): New functions | |
7236 | based on ... | |
7237 | (compute_visible_aliases): ... this one; remove. | |
7238 | (trivially_visible_alias): New | |
7239 | (trivially_defined_alias): New. | |
7240 | (remove_unreachable_alias_pairs): Rewrite. | |
7241 | (finish_aliases_1): Reorganize code checking if alias is defined. | |
7242 | * passes.c (rest_of_decl_compilation): Do not call assemble_alias when | |
7243 | in LTO mode. | |
7244 | ||
1b248907 RG |
7245 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
7246 | ||
7247 | PR tree-optimization/46076 | |
7248 | * tree-ssa.c (useless_type_conversion_p): Conversions from | |
7249 | unprototyped to empty argument list function types are useless. | |
7250 | ||
b1923f0a RG |
7251 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
7252 | ||
7253 | PR middle-end/45235 | |
7254 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark | |
7255 | volatile MEMs as MEM_READONLY_P. | |
7256 | ||
e98965af RG |
7257 | 2011-01-11 Richard Guenther <rguenther@suse.de> |
7258 | ||
7259 | PR tree-optimization/47239 | |
7260 | * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs. | |
7261 | ||
9f9ca914 JL |
7262 | 2011-01-11 Jeff Law <law@redhat.com> |
7263 | ||
1ee3ea05 | 7264 | PR tree-optimization/47086 |
9f9ca914 JL |
7265 | * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record |
7266 | IVs from statements that might throw. | |
7267 | ||
345fdcb7 JH |
7268 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
7269 | ||
7270 | PR lto/45375 | |
7271 | * lto-cgraph.c (input_profile_summary): Remove overactive sanity check. | |
7272 | ||
c459c97b JH |
7273 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
7274 | ||
7275 | PR lto/45375 | |
7276 | * profile.c (read_profile_edge_counts): Ignore profile inconistency | |
7277 | when correcting profile. | |
7278 | ||
06c9eb51 JH |
7279 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
7280 | ||
7281 | PR lto/46083 | |
7282 | * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store | |
7283 | DECL_FINI_PRIORITY. | |
7284 | * lto-streamer-in.c (unpack_ts_function_decl_value_fields): | |
7285 | Restore DECL_FINI_PRIORITY. | |
7286 | ||
ae9fd815 RW |
7287 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
7288 | ||
7289 | * doc/gimple.texi: Fix quoting of multi-word return values in | |
7290 | @deftypefn statements. Ensure presence of return value. Wrap | |
7291 | overlong @deftypefn lines. | |
7292 | (is_gimple_operand, is_gimple_min_invariant_address): Remove | |
7293 | descriptions of removed functions. | |
7294 | * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting | |
7295 | of multi-word return value in @deftypefn statement. | |
7296 | ||
0ecb4a7c RW |
7297 | 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
7298 | ||
7299 | * doc/gimple.texi (Temporaries, Operands, Compound Lvalues) | |
7300 | (Conditional Expressions, Logical Operators) | |
7301 | (Statement and operand traversals): Do not indent smallexample | |
7302 | code. Fix duplicate function argument in example. | |
7303 | ||
2e5e346d JL |
7304 | 2011-01-10 Jeff Law <law@redhat.com> |
7305 | ||
1ee3ea05 | 7306 | PR tree-optimization/47141 |
2e5e346d JL |
7307 | * ipa-split.c (split_function): Handle case where we are |
7308 | returning a value and the return block has a virtual operand phi. | |
7309 | ||
cf9712cc JH |
7310 | 2011-01-10 Jan Hubicka <jh@suse.cz> |
7311 | ||
1c3ba85b | 7312 | PR tree-optimization/47234 |
cf9712cc JH |
7313 | * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO. |
7314 | (pass_feedback_split_functions): Declare. | |
7315 | * passes.c (init_optimization_passes): Add ipa-split as subpass of | |
7316 | tree-profile. | |
7317 | * ipa-split.c (gate_split_functions): Update comments; disable | |
7318 | split-functions for profile_arc_flag and branch_probabilities. | |
7319 | (gate_feedback_split_functions): New function. | |
7320 | (execute_feedback_split_functions): New function. | |
7321 | (pass_feedback_split_functions): New global var. | |
7322 | ||
94cd932c L |
7323 | 2011-01-10 H.J. Lu <hongjiu.lu@intel.com> |
7324 | ||
7325 | PR lto/46760 | |
7326 | * tree-inline.c (tree_can_inline_p): Check e->call_stmt before | |
7327 | calling gimple_call_set_cannot_inline. | |
7328 | ||
fbbfcaf1 IS |
7329 | 2011-01-10 Iain Sandoe <iains@gcc.gnu.org> |
7330 | ||
7331 | * config/darwin-sections.def: Remove unused section. | |
7332 | ||
d06865bf DK |
7333 | 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com> |
7334 | ||
7335 | PR c++/47218 | |
7336 | * cgraphunit.c (assemble_thunk): Call resolve_unique_section. | |
7337 | ||
96bbfbac NP |
7338 | 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com> |
7339 | ||
7340 | PR objc/47232 | |
7341 | * c-parser.c (c_parser_declaration_or_fndef): Improved | |
7342 | error message. | |
7343 | ||
1ba6516f KT |
7344 | 2011-01-09 Kai Tietz <kai.tietz@onevision.com> |
7345 | ||
7346 | * config/i386/winnt.c (i386_pe_start_function): Make sure | |
7347 | to switch back to function's section. | |
7348 | ||
0c5d770e IS |
7349 | 2011-01-09 Iain Sandoe <iains@gcc.gnu.org> |
7350 | ||
7351 | PR gcc/46902 | |
7352 | PR testsuite/46912 | |
7353 | * plugin.c: Move include of dlfcn.h from here... | |
7354 | * system.h: ... to here. | |
7355 | ||
7356 | 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
4ee1aa2a RW |
7357 | |
7358 | * doc/cpp.texi (C++ Named Operators): Fix markup for header | |
7359 | file name. | |
7360 | * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid | |
7361 | two extra empty pages in PDF output. | |
7362 | ||
046608a3 NP |
7363 | 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com> |
7364 | ||
7365 | PR objc/47078 | |
7366 | * c-parser.c (c_parser_objc_type_name): If the type is unknown, | |
7367 | for error recovery purposes behave as if it was not specified so | |
7368 | that the default type is usd. | |
7369 | ||
8cb114b9 JH |
7370 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
7371 | ||
7372 | PR tree-optmization/46469 | |
7373 | * ipa.c (function_and_variable_visibility): Clear needed flags on | |
7374 | nodes with external decls; handle weakrefs merging correctly. | |
7375 | ||
b294a75e JM |
7376 | 2011-01-07 Joseph Myers <joseph@codesourcery.com> |
7377 | ||
7378 | * opts.c (finish_options): Set opts->x_flag_opts_finished to true, | |
7379 | not false. | |
7380 | ||
96bdf9b4 JH |
7381 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
7382 | ||
7383 | * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults | |
7384 | and no longer claim that gold is required for linker plugin. | |
7385 | * configure: Regenerate. | |
7386 | * gcc.c (PLUGIN_COND): New macro. | |
7387 | (LINK_COMMAND_SPEC): Use it. | |
7388 | (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set. | |
7389 | * config.in (HAVE_LTO_PLUGIN): New. | |
7390 | * configure.ac (--with-lto-plugin): New parameter; autodetect | |
7391 | HAVE_LTO_PLUGIN. | |
7392 | ||
17afc0fe JH |
7393 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
7394 | ||
7395 | PR tree-optimization/46367 | |
7396 | * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only | |
7397 | when we can update original. | |
7398 | (cgraph_mark_inline_edge): Sanity check. | |
7399 | * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check. | |
7400 | ||
d4c48c0f UW |
7401 | 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7402 | ||
7403 | * config/spu/spu.h (ASM_COMMENT_START): Define. | |
7404 | ||
96f5b137 L |
7405 | 2011-01-07 H.J. Lu <hongjiu.lu@intel.com> |
7406 | ||
7407 | PR driver/42445 | |
7408 | * gcc.c (%>S): New. | |
7409 | (SWITCH_KEEP_FOR_GCC): Likewise. | |
7410 | (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC. | |
7411 | (do_spec_1): Handle "%>". | |
7412 | ||
7413 | * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>". | |
7414 | ||
c6a8f6de JJ |
7415 | 2011-01-07 Jakub Jelinek <jakub@redhat.com> |
7416 | ||
c21bbd7a JJ |
7417 | PR target/47201 |
7418 | * config/i386/i386.c (ix86_delegitimize_address): If | |
7419 | simplify_gen_subreg fails, return orig_x. | |
7420 | ||
c6a8f6de JJ |
7421 | PR bootstrap/47187 |
7422 | * value-prof.c (gimple_stringop_fixed_value): Handle | |
7423 | lhs of the call properly. | |
7424 | ||
fe95fbf9 JH |
7425 | 2011-01-07 Jan Hubicka <jh@suse.cz> |
7426 | ||
7427 | PR lto/45375 | |
7428 | * lto-opt.c (lto_reissue_options): Set flag_shlib. | |
7429 | ||
14d11d40 IS |
7430 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
7431 | ||
72e961c8 EB |
7432 | * target.def (function_switched_text_sections): New hook. |
7433 | * doc/tm.texi: Regenerated. | |
7434 | * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. | |
14d11d40 | 7435 | * final.c (default_function_switched_text_sections): New. |
72e961c8 EB |
7436 | (final_scan_insn): Call function_switched_text_sections when a |
7437 | mid-function section change occurs. | |
14d11d40 | 7438 | * output.h (default_function_switched_text_sections): Declare. |
72e961c8 EB |
7439 | * config/darwin-protos.h (darwin_function_switched_text_sections): |
7440 | Likewise. | |
14d11d40 | 7441 | * config/darwin.c (darwin_function_switched_text_sections): New. |
72e961c8 | 7442 | * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New. |
14d11d40 | 7443 | |
0b764288 IS |
7444 | 2011-01-07 Iain Sandoe <iains@gcc.gnu.org> |
7445 | ||
7446 | * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for | |
7447 | DWARF >= 3. Add pubnames for the primary section and a reduced DIE for | |
7448 | the secondary code fragment when outputting for DWARF == 2. | |
7449 | ||
2ac6bb04 AS |
7450 | 2011-01-07 Anatoly Sokolov <aesok@post.ru> |
7451 | ||
7452 | * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove. | |
7453 | * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra): | |
7454 | Remove. | |
7455 | * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static. | |
7456 | (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define. | |
7457 | ||
9f82de11 EB |
7458 | 2011-01-06 Eric Botcazou <ebotcazou@adacore.com> |
7459 | ||
7460 | PR debug/46704 | |
280d9630 EB |
7461 | * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only |
7462 | when it is not empty. | |
9f82de11 EB |
7463 | |
7464 | 2011-01-06 Changpeng Fang <changpeng.fang@amd.com> | |
14b52538 | 7465 | |
1ed72abf | 7466 | Bobcat Enablement |
14b52538 | 7467 | * config.gcc (i[34567]86-*-linux* | ...): Add btver1. |
1ed72abf | 7468 | (case ${target}): Add btver1. |
14b52538 | 7469 | * config/i386/driver-i386.c (host_detect_local_cpu): Let |
1ed72abf | 7470 | -march=native recognize btver1 processors. |
14b52538 | 7471 | * config/i386/i386-c.c (ix86_target_macros_internal): Add |
1ed72abf | 7472 | btver1 def_and_undef |
14b52538 | 7473 | * config/i386/i386.c (struct processor_costs btver1_cost): New |
1ed72abf CF |
7474 | btver1 cost table. |
7475 | (m_BTVER1): New definition. | |
7476 | (m_AMD_MULTIPLE): Includes m_BTVER1. | |
7477 | (initial_ix86_tune_features): Add btver1 tune. | |
7478 | (processor_target_table): Add btver1 entry. | |
7479 | (static const char *const cpu_names): Add btver1 entry. | |
7480 | (software_prefetching_beneficial_p): Add btver1. | |
7481 | (ix86_option_override_internal): Add btver1 instruction sets. | |
7482 | (ix86_issue_rate): Add btver1. | |
7483 | (ix86_adjust_cost): Add btver1. | |
14b52538 | 7484 | * config/i386/i386.h (TARGET_BTVER1): New definition. |
1ed72abf CF |
7485 | (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1. |
7486 | (enum processor_type): Add PROCESSOR_BTVER1. | |
14b52538 CF |
7487 | * config/i386/i386.md (define_attr "cpu"): Add btver1. |
7488 | ||
e1a973d8 RO |
7489 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7490 | ||
7491 | PR target/43309 | |
7492 | * config/i386/i386.c (legitimize_tls_address) | |
7493 | <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS. | |
7494 | * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare. | |
7495 | (tls_initial_exec_64_sun): New pattern. | |
7496 | ||
c73f67c5 GP |
7497 | 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com> |
7498 | ||
7499 | * doc/invoke.texi (Overall Options): Improve wording and markup | |
7500 | of the description of -wrapper. | |
7501 | ||
bc4c6f9c JM |
7502 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
7503 | ||
7504 | * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads, | |
7505 | rdynamic, threads): New Driver options. | |
7506 | ||
adb75db0 RO |
7507 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7508 | ||
7509 | PR target/38118 | |
7510 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss | |
7511 | if coming from .tdata. | |
7512 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise. | |
7513 | ||
402c1cb4 JH |
7514 | 2011-01-06 Jan Hubicka <jh@suse.cz> |
7515 | ||
7516 | PR lto/47188 | |
7517 | * collect2.c (main): Do not enable LTOmode when plugin is active. | |
7518 | ||
a4da6485 RO |
7519 | 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7520 | ||
7521 | PR other/45915 | |
7522 | * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd | |
7523 | --version output if supported. | |
7524 | * configure: Regenerate. | |
7525 | ||
028dbdf4 JM |
7526 | 2011-01-06 Joseph Myers <joseph@codesourcery.com> |
7527 | ||
7528 | * config/linux-android.opt (tno-android-cc, tno-android-ld): New | |
7529 | Driver options. | |
7530 | ||
dfe776dd JJ |
7531 | 2011-01-06 Jakub Jelinek <jakub@redhat.com> |
7532 | ||
7533 | PR c/47150 | |
7534 | * c-convert.c (convert): When converting a complex expression | |
7535 | other than COMPLEX_EXPR to a different complex type, ensure | |
7536 | c_save_expr is called instead of save_expr, unless in_late_binary_op. | |
7537 | * c-typeck.c (convert_for_assignment): Set in_late_binary_op also | |
7538 | when converting COMPLEX_TYPE. | |
7539 | ||
210dedfe IR |
7540 | 2011-01-06 Ira Rosen <irar@il.ibm.com> |
7541 | ||
7542 | PR tree-optimization/47139 | |
7543 | * tree-vect-loop.c (vect_is_simple_reduction_1): Check that | |
7544 | only the last reduction value is used outside the loop. Update | |
7545 | documentation. | |
7546 | ||
cd33a412 JM |
7547 | 2011-01-05 Joseph Myers <joseph@codesourcery.com> |
7548 | ||
7549 | * config/rtems.opt: New. | |
7550 | * config.gcc (*-*-rtems*): Use rtems.opt. | |
7551 | ||
819edd94 CF |
7552 | 2011-01-05 Changpeng Fang <changpeng.fang@amd.com> |
7553 | ||
7554 | * config/i386/i386.c (ix86_option_override_internal): Bulldozer | |
7555 | processors do not support 3DNow instructions. | |
7556 | ||
dc242c4a UW |
7557 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7558 | ||
7559 | * config/spu/spu.c (spu_option_override): Set parameter | |
7560 | PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1. | |
7561 | ||
be286227 JH |
7562 | 2011-01-05 Jan Hubicka <jh@suse.cz> |
7563 | ||
7564 | * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified | |
7565 | at the command line. | |
7566 | ||
644e637f MJ |
7567 | 2011-01-05 Martin Jambor <mjambor@suse.cz> |
7568 | ||
7569 | PR lto/47162 | |
7570 | * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk | |
7571 | deltas on streamed outgoing edges. | |
7572 | (output_node_opt_summary): Output info for outgoing edges only when | |
7573 | the node is in new parameter set. | |
7574 | (output_cgraph_opt_summary): New parameter set, passed to the two | |
7575 | aforementioned functions. Update its forward declaration and its | |
7576 | callee too. | |
7577 | ||
7bd11157 TT |
7578 | 2011-01-05 Tom Tromey <tromey@redhat.com> |
7579 | ||
7580 | * c-parser.c (c_parser_omp_atomic): Pass location of assignment | |
7581 | operator to c_finish_omp_atomic. | |
7582 | * c-typeck.c (lvalue_or_else): Add 'loc' argument. | |
7583 | (build_unary_op): Update. | |
7584 | (build_modify_expr): Update. | |
7585 | (build_asm_expr): Update. | |
7586 | ||
f626b979 UW |
7587 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7588 | ||
7589 | * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for | |
7590 | newly inserted insns. | |
7591 | (pad_bb): Likewise. | |
7592 | (spu_emit_branch_hint): Likewise. | |
7593 | (insert_hbrp_for_ilb_runout): Likewise. | |
7594 | (spu_machine_dependent_reorg): Call df_finish_pass after | |
7595 | schedule_insns returns. | |
7596 | ||
4c825c02 UW |
7597 | 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7598 | ||
7599 | * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage. | |
7600 | ||
5e9fba51 EB |
7601 | 2011-01-05 Eric Botcazou <ebotcazou@adacore.com> |
7602 | ||
7603 | PR tree-optimization/47005 | |
7604 | * tree-sra.c (struct access): Add 'non_addressable' bit. | |
7605 | (create_access): Set it for a DECL_NONADDRESSABLE_P field. | |
7606 | (decide_one_param_reduction): Return 0 if the parameter is passed by | |
7607 | reference and one of the accesses in the group is non_addressable. | |
7608 | ||
3ebb5ca6 EB |
7609 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
7610 | ||
7611 | PR tree-optimization/47056 | |
7612 | * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers. | |
7613 | (mark_load): Likewise. Handle FUNCTION_DECL specially. | |
7614 | (mark_store): Likewise. Pass STMT to ipa_record_reference. | |
7615 | ||
d5d4d14e EB |
7616 | 2011-01-04 Eric Botcazou <ebotcazou@adacore.com> |
7617 | ||
7618 | * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the | |
7619 | initializer. Skip view conversions from aggregate types. | |
7620 | ||
d996ef70 KT |
7621 | 2011-01-04 Kai Tietz <kai.tietz@onevision.com> |
7622 | ||
7623 | PR bootstrap/47055 | |
7624 | * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC. | |
7625 | ||
509d65dd | 7626 | 2011-01-04 Philipp Thomas <pth@suse.de> |
017096ca PT |
7627 | |
7628 | * config/microblaze/microbalse.opt (mxl-float-convert): Fix | |
7629 | obvious typo. | |
7630 | ||
55c623b5 UW |
7631 | 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7632 | ||
7633 | * function.c (thread_prologue_and_epilogue_insns): Do not crash | |
7634 | on empty epilogue sequences. | |
7635 | ||
b98d6b35 JM |
7636 | 2011-01-04 Joseph Myers <joseph@codesourcery.com> |
7637 | ||
7638 | * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now, | |
7639 | non-static): New Driver options. | |
7640 | ||
a0d43bac JZ |
7641 | 2011-01-04 Jie Zhang <jie@codesourcery.com> |
7642 | ||
7643 | PR driver/47137 | |
7644 | * gcc.c (default_compilers[]): Set combinable field to 0 | |
7645 | for all assembly languages. | |
7646 | ||
2b18eb32 MX |
7647 | 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com> |
7648 | ||
7649 | * config/mips/loongson3a.md: New file. | |
7650 | * config/mips/mips.md: Include loongson3a.md. | |
7651 | * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when | |
7652 | TUNE_LOONGSON_3A. | |
7653 | ||
42a48c4f EB |
7654 | 2011-01-03 Eric Botcazou <ebotcazou@adacore.com> |
7655 | ||
7656 | PR middle-end/47017 | |
7657 | * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space | |
7658 | instead of convert_memory_address_addr_space on the base expression. | |
7659 | ||
9c1732c4 UW |
7660 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7661 | ||
7662 | * config/spu/spu.c (spu_option_override): Update error text | |
7663 | for bad -march= / -mtune= values. | |
7664 | ||
aa474365 UW |
7665 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
7666 | ||
7667 | * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking | |
7668 | if branch-hint optimization will be performed. | |
7669 | ||
9766135b JJ |
7670 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
7671 | ||
371556ee JJ |
7672 | PR tree-optimization/47148 |
7673 | * ipa-split.c (split_function): Convert arguments to | |
7674 | DECL_ARG_TYPE if possible. | |
7675 | ||
1ac12fa2 JJ |
7676 | PR tree-optimization/47155 |
7677 | * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type | |
7678 | when computing uns. | |
7679 | ||
9766135b JJ |
7680 | PR rtl-optimization/47157 |
7681 | * combine.c (try_combine): If undobuf.other_insn becomes | |
7682 | (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it | |
7683 | and set *new_direct_jump_p too. | |
7684 | ||
f4a2e571 SP |
7685 | 2011-01-03 Sebastian Pop <sebastian.pop@amd.com> |
7686 | ||
7687 | PR tree-optimization/47021 | |
7688 | * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR. | |
7689 | ||
9f8e43c0 JJ |
7690 | 2011-01-03 Jakub Jelinek <jakub@redhat.com> |
7691 | ||
7692 | * gcc.c (process_command): Update copyright notice dates. | |
7693 | * gcov.c (print_version): Likewise. | |
7694 | * gcov-dump.c (print_version): Likewise. | |
7695 | * mips-tfile.c (main): Likewise. | |
7696 | * mips-tdump.c (main): Likewise. | |
7697 | ||
1a2e38f3 MJ |
7698 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
7699 | ||
7700 | PR tree-optimization/46801 | |
7701 | * tree-sra.c (type_internals_preclude_sra_p): Check whether | |
7702 | aggregate fields start at byte boundary instead of the bit-field flag. | |
7703 | ||
56b721c5 L |
7704 | 2011-01-03 H.J. Lu <hongjiu.lu@intel.com> |
7705 | ||
7706 | PR driver/47137 | |
7707 | * gcc.c (main): Revert revision 168407. | |
7708 | ||
839d549b MJ |
7709 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
7710 | ||
7711 | * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type. | |
7712 | ||
4ce99a20 | 7713 | 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
2fa6eeff UW |
7714 | |
7715 | * tree-vect-generic.c (expand_vector_operations_1): When using vector/ | |
7716 | vector optab to expand vector/scalar shift, update gimple to vector. | |
7717 | ||
76df0ae6 MJ |
7718 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
7719 | ||
7720 | * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to | |
7721 | a thunk. | |
7722 | ||
ce47fda3 MJ |
7723 | 2011-01-03 Martin Jambor <mjambor@suse.cz> |
7724 | ||
7725 | PR tree-optimization/46984 | |
7726 | * cgraph.h (cgraph_indirect_call_info): make field thunk_delta | |
7727 | HOST_WIDE_INT. | |
7728 | (cgraph_create_indirect_edge): Fixed line length. | |
7729 | (cgraph_indirect_call_info): Declare. | |
7730 | (cgraph_make_edge_direct) Update declaration. | |
7731 | * cgraph.c (cgraph_allocate_init_indirect_info): New function. | |
7732 | (cgraph_create_indirect_edge): Use it. | |
7733 | (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all | |
7734 | callees. | |
7735 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for | |
7736 | the new thunk_delta representation. | |
7737 | * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to | |
7738 | HOST_WIDE_INT. | |
7739 | (ipa_write_indirect_edge_info): Remove streaming of thunk_delta. | |
7740 | (ipa_read_indirect_edge_info): Likewise. | |
7741 | * lto-cgraph.c (output_edge_opt_summary): New function. | |
7742 | (output_node_opt_summary): Call it on all outgoing edges. | |
7743 | (input_edge_opt_summary): New function. | |
7744 | (input_node_opt_summary): Call it on all outgoing edges. | |
7745 | ||
1e67fa1f L |
7746 | 2011-01-02 H.J. Lu <hongjiu.lu@intel.com> |
7747 | ||
7748 | PR driver/47137 | |
7749 | * gcc.c (main): Don't check have_o when settting combine_inputs. | |
7750 | ||
6656b2ac EB |
7751 | 2011-01-02 Eric Botcazou <ebotcazou@adacore.com> |
7752 | ||
7753 | * regrename.c: Add general comment describing the pass. | |
7754 | (struct du_head): Remove 'length' field. | |
7755 | (get_element, merge_sort_comparison, merge, sort_du_head): Remove. | |
7756 | (regrename_optimize): Do not sort chains. Rework comments, add others. | |
7757 | Force renaming to the preferred class (if any) in the first pass and do | |
7758 | not consider registers that belong to it in the second pass. | |
7759 | (create_new_chain): Do not set 'length' field. | |
7760 | (scan_rtx_reg): Likewise. | |
7761 | ||
bc470c24 JJ |
7762 | 2011-01-02 Jakub Jelinek <jakub@redhat.com> |
7763 | ||
4e996296 JJ |
7764 | PR tree-optimization/47140 |
7765 | * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use | |
7766 | TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument | |
7767 | to bit_value_binop. | |
7768 | ||
bc470c24 | 7769 | PR rtl-optimization/47028 |
6656b2ac EB |
7770 | * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after |
7771 | parm_birth_insn instead of at the beginning of first bb. | |
bc470c24 | 7772 | |
5af62fcd | 7773 | 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com> |
0d52f2a8 MX |
7774 | |
7775 | * doc/generic.texi: Remove duplicated "@subsubsection Statements". | |
7776 | Remove the word "see" before "@pxref". | |
7777 | * doc/rtl.texi: Remove the word "see" before "@pxref". | |
7778 | ||
0e20c89f JH |
7779 | 2011-01-01 Jan Hubicka <jh@suse.cz> |
7780 | ||
6656b2ac EB |
7781 | * tree-loop-distribution.c (tree_loop_distribution): Do not use freed |
7782 | memory. | |
0e20c89f | 7783 | |
220e83ca KT |
7784 | 2011-01-01 Kai Tietz <kai.tietz@onevision.com> |
7785 | ||
7786 | PR target/38662 | |
6656b2ac | 7787 | * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too. |
220e83ca | 7788 | |
ad41bd84 | 7789 | \f |
797103eb | 7790 | Copyright (C) 2011 Free Software Foundation, Inc. |
ad41bd84 JM |
7791 | |
7792 | Copying and distribution of this file, with or without modification, | |
7793 | are permitted in any medium without royalty provided the copyright | |
7794 | notice and this notice are preserved. |