]>
Commit | Line | Data |
---|---|---|
16c9d3b1 RO |
1 | 2010-07-23 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
2 | ||
3 | * configure.ac: Don't disable TLS on Solaris 8/9 by default | |
4 | Set tga_func for Solaris 2/x86 resp. SPARC. | |
5 | Remove duplicate parts of sparc*-sun-solaris2.* TLS check. | |
6 | (LIB_THREAD_LDFLAGS_SPEC): Define. | |
7 | (LIB_TLS_SPEC): Define. | |
8 | Check for required Sun ld version. | |
9 | * configure: Regenerate. | |
10 | * config.in: Regenerate. | |
11 | * config/sol2.h (LIB_SPEC): Use LIB_THREAD_LDFLAGS_SPEC with | |
12 | -pthread, -threads, LIB_TLS_SPEC with -pthread. | |
13 | * doc/install.texi (Specific, *-*-solaris2*): Document use of | |
14 | alternate thread libraries on Solaris 8. | |
15 | Document TLS patch requirements. | |
16 | * doc/sourcebuild.texi (Add Options): Sort alphabetically. | |
17 | Document tls. | |
18 | ||
19 | PR target/18788 | |
20 | * config/sol2.h (LIB_SPEC): Link with thread libraries even with | |
21 | -shared. | |
22 | ||
cd3f04c8 JJ |
23 | 2010-07-23 Jakub Jelinek <jakub@redhat.com> |
24 | ||
25 | * tree.h (struct tree_base): Add nameless_flag bitfield. | |
26 | (TYPE_NAMELESS, DECL_NAMELESS): Define. | |
27 | * omp-low.c (create_omp_child_function, scan_omp_parallel, | |
28 | scan_omp_task, lower_omp_taskreg): Set DECL_NAMELESS and/or | |
29 | DECL_ARTIFICIAL where needed. | |
30 | * dwarf2out.c (dwarf2_name): Return NULL if DECL_NAMELESS. | |
31 | (type_tag): Return NULL if TYPE_NAMELESS or if TYPE_DECL | |
32 | has DECL_NAMELESS set. | |
33 | ||
556ede65 MJ |
34 | 2010-07-23 Martin Jambor <mjambor@suse.cz> |
35 | ||
36 | PR tree-optimization/44915 | |
37 | * ipa-cp.c (cgraph_gate_cp): Also check that optimize is true. | |
38 | * ipa-inline.c (cgraph_mark_inline_edge): Likewise. | |
39 | (analyze_function): Likewise. | |
40 | ||
8cbeddcc MJ |
41 | 2010-07-23 Martin Jambor <mjambor@suse.cz> |
42 | ||
43 | PR tree-optimization/44914 | |
44 | * tree-sra.c (sra_modify_function_body): Return true if CFG was | |
45 | changed, add purging dead eh edges. | |
46 | (ipa_sra_modify_function_body): Return true if CFG was changed, | |
47 | simplify purging dead eh edges. | |
48 | (modify_function): Return true if CFG was changed. | |
49 | (perform_intra_sra): Add TODO_cleanup_cfg to the return value if CFG | |
50 | was changed. | |
51 | (ipa_early_sra): Likewise. | |
52 | ||
61044492 JZ |
53 | 2010-07-23 Jie Zhang <jie@codesourcery.com> |
54 | ||
55 | PR target/44290 | |
56 | * attribs.c (decl_attributes): Insert "noinline" and "noclone" | |
57 | if "naked". | |
58 | * tree-sra.c (ipa_sra_preliminary_function_checks): Return | |
59 | false if ! tree_versionable_function_p. | |
60 | ||
c59a0a1d NF |
61 | 2010-07-23 Nathan Froyd <froydnj@codesourcery.com> |
62 | ||
63 | * builtins.def (BUILT_IN_ARGS_INFO): Remove. | |
64 | * ipa-pure-const.c (special_builtlin_state): Remove | |
65 | BUILT_IN_ARGS_INFO case. | |
66 | * tree-stdarg.c (execute_optimize_stdarg): Likewise. | |
67 | * builtins.c (expand_builtin): Likewise. | |
68 | (expand_builtin_args_info): Remove. | |
69 | * doc/tm.texi (__builtin_args_info): Remove. | |
70 | (__builtin_next_arg): Adjust to not refer to __builtin_args_info. | |
71 | * doc/tm.text.in: Likewise. | |
72 | ||
c4fcd06a RG |
73 | 2010-07-23 Richard Guenther <rguenther@suse.de> |
74 | ||
75 | * lto-symtab.c (lto_symtab_merge): Use gtc_mode enum | |
76 | values. | |
77 | (lto_symtab_merge_decls_2): Likewise. | |
78 | * tree-ssa.c (useless_type_conversion_p): Likewise. | |
79 | * lto-streamer-in.c (input_gimple_stmt): Likewise. | |
80 | * gimple.c (gtc_visited2, gtc_ob2): Remove. | |
81 | (struct type_pair_d): Make same_p an array indexed by mode. | |
82 | Update comment. | |
83 | (lookup_type_pair): Update initialization. | |
84 | (struct sccs): Adjust same_p type. | |
85 | (gimple_types_compatible_p_1, gtc_visit, gimple_types_compatible_p): | |
86 | Adjust. | |
87 | (print_gimple_types_stats): Likewise. | |
88 | * gimple.h (enum gtc_mode): New. | |
89 | (gimple_types_compatible_p): Adjust prototype. | |
90 | ||
6afb52d3 DJ |
91 | 2010-07-23 Daniel Jacobowitz <dan@codesourcery.com> |
92 | ||
93 | * dwarf2out.c (dwarf2out_frame_debug): Check for queued saves | |
94 | again after processing insn. | |
95 | ||
a23c4464 JZ |
96 | 2010-07-23 Jie Zhang <jie@codesourcery.com> |
97 | ||
98 | * tree-sra.c (ipa_sra_preliminary_function_checks): Dump | |
99 | proper words when !tree_versionable_function_p. | |
100 | ||
97a73876 RG |
101 | 2010-07-23 Richard Guenther <rguenther@suse.de> |
102 | ||
103 | PR tree-optimization/45037 | |
104 | * tree-ssa-loop-ivopts.c (copy_ref_info): Handle NULL base. | |
105 | ||
ed3100b2 JZ |
106 | 2010-07-23 Jie Zhang <jie@codesourcery.com> |
107 | ||
108 | * doc/extend.texi: Remove IP2K from the description of naked | |
109 | attribute. Add MCORE instead. | |
110 | ||
73ce4d1e AK |
111 | 2010-07-10 Andi Kleen <ak@linux.intel.com> |
112 | ||
113 | PR lto/44992 | |
114 | * lto-opts.c (lto_write_options): Add NULL file_data argument to | |
115 | lto_get_section_name. | |
116 | * lto-section-out.c (lto_destroy_simple_output_block): Likewise. | |
117 | * lto-streamer-out.c (produce_asm): Likewise. | |
118 | (copy_function): Likewise. | |
119 | (produce_symtab): Likewise. | |
120 | (produce_asm_for_decls): Likewise. | |
121 | * lto-streamer.c (lto_get_section_name): Add file_data argument. | |
122 | Rewrite to add random postfix to LTO sections. | |
123 | * lto-streamer.h (lto_file_decl_data): Add next, id, resolutions. | |
124 | (lto_get_section_name): Add file_data argument to prototype. | |
125 | ||
2994ee14 AK |
126 | 2010-07-10 Andi Kleen <ak@linux.intel.com> |
127 | ||
128 | * lto-section-in.c (lto_section_name): Synchronize names | |
129 | with lto_get_section_name. | |
130 | ||
090fc3f4 AK |
131 | 2010-07-10 Andi Kleen <ak@linux.intel.com> |
132 | ||
133 | * lto-opts.c (lto_read_file_options): Check for missing section. | |
134 | ||
8cfd82bf BS |
135 | 2010-07-22 Bernd Schmidt <bernds@codesourcery.com> |
136 | ||
137 | * ira.c (check_allocation): Correctly handle the case where an allocno | |
138 | with two objects was allocated to a single reg. | |
139 | ||
1a39adae RS |
140 | 2010-07-22 Richard Sandiford <rdsandiford@googlemail.com> |
141 | ||
142 | * tree-ssa-math-opts.c (is_widening_mult_rhs_p): New function. | |
143 | (is_widening_mult_p): Likewise. | |
144 | (convert_to_widen): Use them. | |
145 | (convert_plusminus_to_widen): Likewise. Handle fixed-point types as | |
146 | well as integer ones. | |
147 | ||
9362286d SB |
148 | 2010-07-22 Steven Bosscher <steven@gcc.gnu.org> |
149 | ||
150 | * alias.c (true_dependence_1): New function, merged version of | |
151 | true_dependence and canon_true_dependence. | |
152 | (true_dependence): Simplify. | |
153 | (canon_true_dependence): Simplify. | |
154 | ||
b78cb618 RH |
155 | 2010-07-22 Richard Henderson <rth@redhat.com> |
156 | ||
157 | PR target/45027 | |
158 | * config/i386/i386.c (setup_incoming_varargs_64): Force the use | |
159 | of V4SFmode for the SSE saves; increase stack alignment if needed. | |
160 | (ix86_gimplify_va_arg): Don't increase stack alignment here. | |
161 | ||
828f2c8b JJ |
162 | 2010-07-22 Jakub Jelinek <jakub@redhat.com> |
163 | ||
164 | PR bootstrap/45028 | |
165 | * recgprop.c (copyprop_hardreg_forward_1): If changed is true, | |
166 | call cprop_find_used_regs again via note_uses. | |
167 | ||
7be7d292 EB |
168 | 2010-07-22 Eric Botcazou <ebotcazou@adacore.com> |
169 | ||
170 | * alias.c (get_alias_set): Fix formatting issues. | |
171 | ||
426d6333 SE |
172 | 2010-07-22 Steve Ellcey <sje@cup.hp.com> |
173 | ||
174 | PR middle-end/44878 | |
175 | * stmt.c (expand_value_return): Call promote_function_mode with | |
176 | a for_return argument of 2 when returning by reference. | |
177 | ||
35ea1c5a DS |
178 | 2010-07-22 Dodji Seketeli <dodji@redhat.com> |
179 | ||
180 | PR debug/45024 | |
181 | * dwarf2out.c (scope_die_for): Don't fall back to the compilation | |
182 | unit DIE if we can find the scope DIE. | |
183 | ||
ac0ab4f7 BS |
184 | 2010-07-22 Bernd Schmidt <bernds@codesourcery.com> |
185 | ||
bd3a5d17 UB |
186 | * ira-build.c (ira_create_object): New arg SUBWORD; all callers |
187 | changed. Initialize OBJECT_SUBWORD. | |
ac0ab4f7 BS |
188 | (ira_create_allocno): Clear ALLOCNO_NUM_OBJECTS. |
189 | (ira_create_allocno_objects): Renamed from ira_create_allocno_object; | |
190 | all callers changed. | |
191 | (merge_hard_reg_conflicts): Iterate over allocno subobjects. | |
192 | (finish_allocno): Likewise. | |
193 | (move_allocno_live_ranges, copy_allocno_live_ranges): Likewise. | |
194 | (remove_low_level_allocnos): Likewise. | |
195 | (update_bad_spill_attribute): Likewise. | |
196 | (setup_min_max_allocno_live_range_point): Likewise. | |
197 | (sort_conflict_id_map): Likewise. | |
198 | (ira_flattening): Likewise. Use ior_hard_reg_conflicts. | |
199 | (ior_hard_reg_conflicts): New function. | |
200 | (ior_allocate_object_conflicts): Renamed first argument to OBJ. | |
201 | (compress_conflict_vecs): Iterate over objects, not allocnos. | |
202 | (ira_add_live_range_to_object): New function. | |
203 | (object_range_compare_func): Renamed from allocno_range_compare_func. | |
204 | All callers changed. | |
205 | (setup_min_max_conflict_allocno_ids): For allocnos with multiple | |
206 | subobjects, widen the min/max range of the lowest-order object to | |
207 | potentially include all other such low-order objects. | |
208 | * ira.c (ira_bad_reload_regno_1): Iterate over allocno subobjects. | |
209 | (check_allocation): Likewise. Use more fine-grained tests for register | |
210 | conflicts. | |
211 | * ira-color.c (allocnos_have_intersected_live_ranges_p): Iterate over | |
212 | allocno subobjects. | |
213 | (assign_hard_reg): Keep multiple sets of conflicts. Make finer-grained | |
214 | choices about which bits to set in each set. Don't use | |
215 | ira_hard_reg_not_in_set_p, perform a more elaborate test for conflicts | |
216 | using the multiple sets we computed. | |
217 | (push_allocno_to_stack): Iterate over allocno subobjects. | |
218 | (all_conflicting_hard_regs_coalesced): New static function. | |
219 | (setup_allocno_available_regs_num): Use it. | |
220 | (setup_allocno_left_conflicts_size): Likewise. Iterate over allocno | |
221 | subobjects. | |
222 | (coalesced_allocno_conflict): Test subobject 0 in each allocno. | |
223 | (setup_allocno_priorities): Divide ALLOCNO_EXCESS_PRESSURE_POINTS_NUM | |
224 | by ALLOCNO_NUM_OBJECTS. | |
225 | (calculate_spill_cost): Likewise. | |
226 | (color_pass): Express if statement in a more normal way. | |
227 | (ira_reassign_conflict_allocnos): Iterate over allocno subobjects. | |
228 | (slot_coalesced_allocno_live_ranges_intersect_p): Likewise. | |
229 | (setup_slot_coalesced_allocno_live_ranges): Likewise. | |
230 | (allocno_reload_assign): Likewise. | |
231 | (ira_reassign_pseudos): Likewise. | |
232 | (fast_allocation): Likewise. | |
233 | * ira-conflicts.c (build_conflict_bit_table): Likewise. | |
234 | (print_allocno_conflicts): Likewise. | |
235 | (ira_build_conflicts): Likewise. | |
236 | (allocnos_conflict_for_copy_p): Renamed from allocnos_conflict_p. All | |
237 | callers changed. Test subword 0 of each allocno for conflicts. | |
238 | (build_object_conflicts): Renamed from build_allocno_conflicts. All | |
239 | callers changed. Iterate over allocno subobjects. | |
240 | * ira-emit.c (modify_move_list): Iterate over allocno subobjects. | |
bd3a5d17 UB |
241 | * ira-int.h (struct ira_allocno): New member: num_objects. |
242 | Rename object to objects and change it into an array. | |
ac0ab4f7 BS |
243 | (ALLOCNO_OBJECT): Add new argument N. |
244 | (ALLOCNO_NUM_OBJECTS, OBJECT_SUBWORD): New macros. | |
245 | (ira_create_allocno_objects): Renamed from ira_create_allocno_object. | |
246 | (ior_hard_reg_conflicts): Declare. | |
247 | (ira_add_live_range_to_object): Declare. | |
248 | (ira_allocno_object_iterator): New. | |
249 | (ira_allocno_object_iter_init, ira_allocno_object_iter_cond): New. | |
250 | (FOR_EACH_ALLOCNO_OBJECT): New macro. | |
bd3a5d17 UB |
251 | * ira-lives.c (objects_live): Renamed from allocnos_live; all |
252 | uses changed. | |
ac0ab4f7 | 253 | (allocnos_processed): New sparseset. |
bd3a5d17 UB |
254 | (make_object_born): Renamed from make_allocno_born; take an |
255 | ira_object_t argument. All callers changed. | |
256 | (make_object_dead): Renamed from make_allocno_dead; take an | |
257 | ira_object_t argument. All callers changed. | |
ac0ab4f7 BS |
258 | (update_allocno_pressure_excess_length): Take an ira_obejct_t argument. |
259 | All callers changed. | |
260 | (mark_pseudo_regno_live): Iterate over allocno subobjects. | |
261 | (mark_pseudo_regno_dead): Likewise. | |
262 | (mark_pseudo_regno_subword_live, mark_pseudo_regno_subword_dead): New | |
263 | functions. | |
264 | (mark_ref_live): Detect subword accesses and call | |
265 | mark_pseudo_regno_subword_live as appropriate. | |
266 | (mark_ref_dead): Likewise for mark_pseudo_regno_subword_dead. | |
267 | (process_bb_nodes_live): Deal with object-related updates first; set | |
268 | and test bits in allocnos_processed to avoid computing allocno | |
269 | statistics more than once. | |
270 | (create_start_finish_chains): Iterate over objects, not allocnos. | |
271 | (print_object_live_ranges): New function. | |
272 | (print_allocno_live_ranges): Use it. | |
273 | (ira_create_allocno_live_ranges): Allocate and free allocnos_processed | |
274 | and objects_live. | |
275 | ||
d4398a43 RG |
276 | 2010-07-22 Richard Guenther <rguenther@suse.de> |
277 | ||
278 | PR lto/42451 | |
279 | * gimple.c (gtc_next_dfs_num): New global. | |
280 | (struct sccs): Make value a union, add integer same_p member. | |
281 | (gtc_visit): New function. | |
282 | (gimple_types_compatible_p_1): New function, split out from ... | |
283 | (gimple_types_compatible_p): ... here. Start a DFS walk here. | |
284 | (iterative_hash_gimple_type): Adjust for sccs change. | |
285 | ||
56a42add MJ |
286 | 2010-07-22 Martin Jambor <mjambor@suse.cz> |
287 | ||
288 | PR tree-optimization/44891 | |
289 | * tree-sra.c: Include gimple-pretty-print.h. | |
290 | (replace_uses_with_default_def_ssa_name): Renamed to | |
291 | get_repl_default_def_ssa_name, return the new SSA name instead of | |
292 | replacing the old one. | |
293 | (sra_modify_assign): Dump a message when removing a load, if the LHS | |
294 | is an SSA_NAME, do not do any propagation, just set the RHS to a | |
295 | default definition SSA NAME, type convert if necessary. | |
296 | * Makefile.in (tree-sra.o): Add gimple-pretty-print.h to dependencies. | |
297 | ||
5ccbfc1f RG |
298 | 2010-07-22 Richard Guenther <rguenther@suse.de> |
299 | ||
300 | PR tree-optimization/45017 | |
301 | * tree-ssa-sccvn.c (vn_reference_eq): Make sure we honor | |
302 | TYPE_PRECISION of integral types in addition to size. | |
303 | ||
14ee5f0a MK |
304 | 2010-07-22 Maxim Kuvyrkov <maxim@codesourcery.com> |
305 | ||
306 | * config/rs6000/sysv4.h (CHOOSE_DYNAMIC_LINKER): Default to GLIBC | |
307 | when no C library is specified. | |
308 | ||
93c594a3 MJ |
309 | 2010-07-22 Martin Jambor <mjambor@suse.cz> |
310 | ||
311 | * ipa-prop.h (struct ipa_node_params): Updated comment. | |
312 | (struct ipa_edge_args): Likewise. | |
313 | * Makefile.in (ipa-prop.o): Remove bogus $(GIMPLE_FOLD_H) dependency. | |
314 | ||
02ec6988 MJ |
315 | 2010-07-22 Martin Jambor <mjambor@suse.cz> |
316 | ||
317 | * cgraphunit.c (verify_edge_count_and_frequency): New function. | |
318 | (verify_cgraph_node): Verify frequencies of indirect edges. | |
319 | * tree-inline.c (tree_function_versioning): Update frequencies of | |
320 | indirect edges. | |
321 | ||
f67325e8 RR |
322 | 2010-07-22 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
323 | ||
324 | PR target/43698 | |
325 | * config/arm/arm.md: Split arm_rev into *arm_rev | |
326 | and *thumb1_rev. Set *arm_rev to be predicable. | |
327 | ||
50eb566f IS |
328 | 2010-07-22 Iain Sandoe <iains@gcc.gnu.org> |
329 | ||
330 | * config/darwin.h (LINK_COMMAND_SPEC): Split into... | |
331 | (LINK_COMMAND_SPEC_A): New. | |
332 | (DSYMUTIL): New. | |
333 | (DSYMUTIL_SPEC): New. | |
334 | * config/darwin9.h (LINK_COMMAND_SPEC): Remove. | |
335 | (DSYMUTIL_SPEC): Update for darwin >= 9 requirements. | |
336 | ||
3b2ee170 IS |
337 | 2010-07-22 Iain Sandoe <iains@gcc.gnu.org> |
338 | ||
339 | * calls.c (load_register_parameters): Move check for zero | |
bd3a5d17 | 340 | sized items so that only the call to |
3b2ee170 IS |
341 | mem_overlaps_already_clobbered_arg_p () is protected. |
342 | ||
37512c66 JH |
343 | 2010-07-22 Jan Hubicka <jh@suse.cz> |
344 | ||
345 | * ipa-pure-const.c (varying_state): Break out from ... | |
346 | (get_function_state): ... here; always return varying_state | |
347 | when state would be NULL otherwise. | |
348 | (remove_node_data): Do not free varying state. | |
349 | ||
08bd6876 BS |
350 | 2010-07-22 Bernd Schmidt <bernds@codesourcery.com> |
351 | ||
352 | PR bootstrap/44970 | |
353 | PR middle-end/45009 | |
354 | * postreload.c: Include "target.h". | |
355 | (reload_combine_closest_single_use): Don't take DEBUG_INSNs | |
356 | into account. | |
357 | (fixup_debug_insns): Don't copy the rtx. | |
358 | (reload_combine_recognize_const_pattern): DEBUG_INSNs can't | |
359 | have uses. Don't copy when replacing. Call fixup_debug_insns | |
360 | in the case where we merged one add with another. | |
361 | (reload_combine_recognize_pattern): Fail if there aren't any | |
362 | uses. Try harder to determine whether we're picking a valid | |
363 | index register. Don't set store_ruid for an insn we're going | |
364 | to scan in the next iteration. | |
365 | (reload_combine): Remove unused code. | |
366 | (reload_combine_note_use): When updating use information for | |
367 | an old insn, ignore a use that occurs after store_ruid. | |
368 | * Makefile.in (postreload.o): Update dependencies. | |
369 | ||
dbb94435 BS |
370 | * function.c (record_hard_reg_sets): Restrict the previous change |
371 | to cases where the incoming nominal mode is the same as the | |
372 | incoming promoted mode and everything happens in MODE_INT. | |
373 | ||
fcc71c6c JJ |
374 | 2010-07-21 Jakub Jelinek <jakub@redhat.com> |
375 | ||
376 | PR debug/45015 | |
377 | * var-tracking.c (adjust_mems): Ignore ASM_OPERANDS with non-zero | |
378 | ASM_OPERANDS_OUTPUT_IDX. | |
379 | (adjust_insn): For inline asm with multiple sets ensure first | |
380 | ASM_OPERANDS vectors are used by all following ASM_OPERANDS in | |
381 | the insn. | |
382 | ||
650b5329 RH |
383 | 2010-07-21 Richard Henderson <rth@redhat.com> |
384 | ||
385 | * config/i386/i386.c (setup_incoming_varargs_64): Emit a simple | |
386 | comparison for avoiding xmm register saves. Emit the xmm register | |
387 | saves explicitly. | |
388 | * config/i386/i386.md (UNSPEC_SSE_PROLOGUE_SAVE): Remove. | |
389 | (UNSPEC_SSE_PROLOGUE_SAVE_LOW): Remove. | |
390 | (sse_prologue_save, sse_prologue_save_insn1, sse_prologue_save_insn): | |
391 | Remove patterns and the associated splitters. | |
392 | ||
7c6dafac CF |
393 | 2010-07-21 Changpeng Fang <changpeng.fang@amd.com> |
394 | ||
395 | * tree-ssa-loop-prefetch.c (analyze_ref): Strip off the real | |
396 | and imagine parts of a complex, so that they can have the same | |
397 | base and fall into the same group. | |
398 | ||
60f6be5a RG |
399 | 2010-07-21 Richard Guenther <rguenther@suse.de> |
400 | ||
401 | PR lto/45018 | |
402 | * tree.c (find_decls_types_r): Do not follow TREE_CHAIN | |
403 | of TYPE_DECLs. Do not follow TYPE_NEXT_VARIANT, | |
404 | TYPE_NEXT_PTR_TO, nor TYPE_NEXT_REF_TO or TYPE_CANONICAL. | |
405 | ||
75a75e91 MJ |
406 | 2010-07-21 Martin Jambor <mjambor@suse.cz> |
407 | ||
408 | PR tree-optimization/44900 | |
409 | * tree-sra.c (load_assign_lhs_subreplacements): Updated comments. | |
410 | (sra_modify_assign): Move gsi to the next statmenent unconditionally. | |
411 | ||
426797b2 BS |
412 | 2010-07-21 Bernd Schmidt <bernds@codesourcery.com> |
413 | ||
414 | PR middle-end/44738 | |
415 | * tree-ssa.c (warn_uninit): Avoid emitting an unnecessary message. | |
416 | ||
35e3a6e9 RG |
417 | 2010-07-21 Richard Guenther <rguenther@suse.de> |
418 | ||
419 | PR middle-end/45013 | |
420 | * tree-ssa.c (useless_type_conversion_p): Dispatch to | |
421 | gimple_types_compatible_p only when in lto. | |
422 | * gimple.c (gimple_types_compatible_p): Use canonical types | |
423 | to speed up comparison. | |
424 | ||
3f2930d8 RG |
425 | 2010-07-21 Richard Guenther <rguenther@suse.de> |
426 | ||
427 | * tree-flow.h (referenced_var): Move define ... | |
428 | * tree-flow-inline.h (referenced_var): ... here as an inline | |
429 | function. Assert here ... | |
430 | * tree-dfa.c (referenced_var_lookup): ... instead of here. | |
431 | * tree-ssa.c (maybe_optimize_var): Check if the variable | |
432 | is in referenced vars. | |
433 | (execute_update_addresses_taken): Remove old broken check. | |
434 | * gimple-pretty-print.c (pp_points_to_solution): Use | |
435 | referenced_var_lookup. | |
436 | * tree-into-ssa.c (dump_decl_set): Likewise. | |
437 | ||
370ae599 JJ |
438 | 2010-07-21 Jakub Jelinek <jakub@redhat.com> |
439 | ||
440 | PR debug/45003 | |
441 | * var-tracking.c (reverse_op): Also handle {SIGN,ZERO}_EXTEND of | |
442 | a MEM. | |
443 | * dwarf2out.c (loc_descriptor): Don't handle SIGN_EXTEND nor | |
444 | ZERO_EXTEND here. | |
445 | ||
7703295f RH |
446 | 2010-07-20 Richard Henderson <rth@redhat.com> |
447 | ||
448 | * vxworks.c (vxworks_emutls_var_fields): Pass locus to build_decls. | |
449 | ||
16737e76 BS |
450 | 2010-07-20 Bernd Schmidt <bernds@codesourcery.com> |
451 | ||
452 | * config/arm/arm.md (thumb1_addsi3): Add alternative and split for | |
453 | computing the sum of the stack pointer and a large constant. | |
454 | * config/arm/constraints.md (M): Remove superfluous parentheses. | |
455 | (Pc): New constraint. | |
456 | ||
1b47fe3f JJ |
457 | 2010-07-20 Jakub Jelinek <jakub@redhat.com> |
458 | ||
459 | PR debug/45006 | |
460 | * cfgexpand.c (expand_debug_expr): Only look at TYPE_UNSIGNED of | |
461 | operand's type if exp is tcc_unary class tree. | |
462 | ||
97c56ee3 NF |
463 | 2010-07-20 Nathan Froyd <froydnj@codesourcery.com> |
464 | ||
465 | * config/rs6000/rs6000.md (abs<mode>2_isel, nabs<mode>2_isel): | |
466 | Reverse sense of if_then_else condition. | |
467 | ||
d95016e0 NF |
468 | 2010-07-20 Nathan Froyd <froydnj@codesourcery.com> |
469 | ||
470 | * config/rs6000/rs6000.opt (mblock-move-inline-limit): New option. | |
471 | * config/rs6000/rs6000.c (rs6000_override_options): Set | |
472 | rs6000_block_move_inline_limit appropriately. | |
473 | (expand_block_move): Use rs6000_block_move_inline_limit. | |
474 | * doc/invoke.texi (mblock-move-inline-limit): Document. | |
475 | ||
caa4a250 BS |
476 | 2010-07-20 Bernd Schmidt <bernds@codesourcery.com> |
477 | ||
478 | * postreload.c (fixup_debug_insns): Remove arg REGNO. New args | |
479 | FROM and TO. All callers changed. Don't look for tracked uses, | |
480 | just scan the RTL for DEBUG_INSNs and substitute. | |
481 | (reload_combine_recognize_pattern): Call fixup_debug_insns. | |
482 | (reload_combine): Ignore DEBUG_INSNs. | |
483 | ||
68eaf35c JJ |
484 | 2010-07-20 Jakub Jelinek <jakub@redhat.com> |
485 | ||
d2d57152 JJ |
486 | * var-tracking.c (vt_expand_loc, vt_expand_loc_dummy): Bump maximum |
487 | depth to 8 from 5. | |
488 | ||
68eaf35c JJ |
489 | PR debug/45003 |
490 | * cfgexpand.c (expand_debug_expr) <case NOP_EXPR>: Use ZERO_EXTEND | |
491 | or SIGN_EXTEND depending on TYPE_UNSIGNED of the operand's type | |
492 | instead of the result's type. | |
493 | ||
720151ca RG |
494 | 2010-07-20 Richard Guenther <rguenther@suse.de> |
495 | ||
496 | PR tree-optimization/44977 | |
497 | * tree-ssa-dom.c (propagate_rhs_into_lhs): Do not create invalid | |
498 | SSA form. | |
499 | ||
f5d6836a RG |
500 | 2010-07-20 Richard Guenther <rguenther@suse.de> |
501 | ||
502 | * lto-symtab.c (lto_symtab_merge): Use gimple_types_compatible_p. | |
503 | (lto_symtab_merge_decls_2): Likewise. | |
504 | * gimple.h (gimple_types_compatible_p): Declare. | |
505 | * gimple.c (gimple_queue_type_fixup): Remove. | |
506 | (gimple_fixup_complete_and_incomplete_subtype_p): Likewise. | |
bd3a5d17 | 507 | (gimple_compatible_complete_and_incomplete_type_p): New function. |
f5d6836a RG |
508 | (gimple_types_compatible_p): Adjust. |
509 | (gimple_register_type): Remove type fixup code. | |
510 | (print_gimple_types_stats): Adjust. | |
511 | (free_gimple_type_tables): Likewise. | |
512 | * lto-streamer-in.c (input_gimple_stmt): Use gimple_types_compatible_p. | |
513 | * tree-ssa.c (useless_type_conversion_p): Likewise. | |
514 | ||
ad650c92 RG |
515 | 2010-07-20 Richard Guenther <rguenther@suse.de> |
516 | ||
517 | PR middle-end/44971 | |
518 | PR middle-end/44988 | |
519 | * tree-ssa.c (maybe_optimize_var): New function split out from ... | |
520 | (execute_update_addresses_taken): ... here. | |
521 | (non_rewritable_mem_ref_base): Likewise. | |
522 | (execute_update_addresses_taken): Do not iterate over all referenced | |
523 | vars but just all local decls and parms. | |
524 | Properly check call and asm arguments and rewrite call arguments. | |
525 | ||
2c8f43e6 MK |
526 | 2010-07-20 Maxim Kuvyrkov <maxim@codesourcery.com> |
527 | ||
528 | * config.gcc (LIBC_GLIBC, LIBC_UCLIBC, LIBC_BIONIC): Move constants | |
529 | to top level. | |
530 | * config/linux.h (LINUX_TARGET_OS_CPP_BUILTINS): Move Android-specific | |
531 | definitions ... | |
532 | * config/linux-android.h (ANDROID_TARGET_OS_CPP_BUILTINS): ... here. | |
533 | New macro. | |
534 | * config/arm/linux-eabi.h (TARGET_OS_CPP_BUILTINS): Use it. | |
535 | ||
b08e0339 RS |
536 | 2010-07-19 Richard Sandiford <rdsandiford@googlemail.com> |
537 | ||
538 | * gengtype.c (start_root_entry): New function, split out from | |
539 | write_root. Check whether V is null and raise an error if so. | |
540 | (write_field_root): Check for V being null. Don't raise an error here; | |
541 | set V to null instead. | |
542 | (write_root): Update comment above function. Use start_root_entry. | |
543 | ||
e74780a3 XDL |
544 | 2010-07-19 Xinliang David Li <davidxl@google.com> |
545 | ||
546 | PR testsuite/44932 | |
bd3a5d17 UB |
547 | * tree-ssa-uninit.c (collect_phi_def_edges): Fix bug collecting |
548 | def edges. | |
e74780a3 XDL |
549 | (find_uninit_use): Add dump. |
550 | (is_use_properly_guarded): Ditto. | |
551 | (warn_uninitialized_phi): Ditto. | |
552 | (execute_late_warn_uninitialized): Ditto. | |
553 | ||
8b4c365c RG |
554 | 2010-07-19 Richard Guenther <rguenther@suse.de> |
555 | ||
556 | PR middle-end/44941 | |
557 | * expr.c (emit_block_move_hints): Move zero size check first. | |
558 | Move asserts to more useful places. | |
559 | * calls.c (load_register_parameters): Check for zero size. | |
560 | ||
157be8f6 RH |
561 | 2010-07-19 Richard Henderson <rth@redhat.com> |
562 | ||
563 | * tree-optimize.c (execute_all_early_local_passes): New. Change | |
564 | cgraph_state here ... | |
565 | (execute_early_local_optimizations): ... not here. Remove. | |
566 | (pass_early_local_passes, pass_all_early_optimizations): Update. | |
567 | ||
b1d5eee8 BS |
568 | 2010-07-19 Bernd Schmidt <bernds@codesourcery.com> |
569 | ||
570 | * postreload.c (reload_combine_closest_single_use): Ignore the | |
571 | number of uses for DEBUG_INSNs. | |
572 | (fixup_debug_insns): New static function. | |
573 | (reload_combine_recognize_const_pattern): Use it. Don't let the | |
574 | main loop be affected by DEBUG_INSNs. | |
575 | Really disallow moving adds past a jump insn. | |
576 | (reload_combine_recognize_pattern): Don't update use_ruid here. | |
577 | (reload_combine_note_use): Do it here. | |
578 | (reload_combine): Use control_flow_insn_p rather than JUMP_P. | |
579 | ||
0be955e7 | 580 | 2010-07-19 Bingfeng Mei <bmei@broadcom.com> |
157be8f6 | 581 | |
0be955e7 | 582 | * ddg.c (create_ddg): Exclude nodes of debug_insn in counting nodes |
bd3a5d17 UB |
583 | of a loop. |
584 | * loop-doloop.c (doloop_condition_get): Skip possible debug_insn. | |
0be955e7 | 585 | |
9005471b IS |
586 | 2010-07-19 Iain Sandoe <iains@gcc.gnu.org> |
587 | ||
588 | * config/i386/darwin.h: Define darwin_emit_branch_islands. | |
589 | (TARGET_MACHO_BRANCH_ISLANDS): New. | |
590 | (FUNCTION_PROFILER): Use TARGET_MACHO_BRANCH_ISLANDS. | |
591 | * config/i386/i386.h (TARGET_MACHO_BRANCH_ISLANDS): Define a | |
592 | default value. | |
593 | * config/i386/i386.c (output_pic_addr_const): Do not emit | |
594 | branch islands unless TARGET_MACHO_BRANCH_ISLANDS is set. | |
595 | (x86_output_mi_thunk): Adjust symbol creation. | |
596 | * config/rs6000/darwin.h: Define darwin_emit_branch_islands. | |
597 | Remove out of date comment. | |
598 | * config/rs6000/rs6000.c (print_operand): Adjust symbol. | |
bd3a5d17 UB |
599 | (DARWIN_LINKER_GENERATES_ISLANDS): Remove. |
600 | (DARWIN_GENERATE_ISLANDS): Ditto. | |
9005471b IS |
601 | (output_call): Do not emit branch islands unless |
602 | darwin_emit_branch_islands is set. | |
603 | * config/darwin.c: Declare darwin_emit_branch_islands. | |
604 | (machopic_indirect_data_reference): Do not emit unless | |
605 | darwin_emit_branch_islands is set. | |
606 | (darwin_override_options): Set darwin_emit_branch_islands | |
607 | where it is needed. | |
bd3a5d17 | 608 | * config/darwin9.h (DARWIN_LINKER_GENERATES_ISLANDS): Remove. |
9005471b | 609 | |
39354b3b RO |
610 | 2010-07-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
611 | ||
612 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
613 | sse_runtime, sse2_runtime. | |
614 | ||
93f63c68 RS |
615 | 2010-07-18 Richard Sandiford <rdsandiford@googlemail.com> |
616 | ||
617 | * config/mips/mips.c (mips16_build_call_stub): Zero-extend the | |
618 | low half of a single-register SCmode return value before ORing | |
619 | it with the high half. | |
620 | * config/mips/mips16.S (MERGE_GPRf): Likewise. | |
621 | ||
84aa7cea JDA |
622 | 2010-07-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
623 | ||
624 | PR target/44805 | |
625 | * config/pa/pa.h (CONSTANT_ALIGNMENT): Align strings to BITS_PER_WORD | |
626 | on all targets. | |
627 | ||
dc0d5a57 BS |
628 | 2010-07-17 Bernd Schmidt <bernds@codesourcery.com> |
629 | ||
630 | PR target/42235 | |
631 | * postreload.c (reload_cse_move2add): Return bool, true if anything. | |
632 | changed. All callers changed. | |
633 | (move2add_use_add2_insn): Likewise. | |
634 | (move2add_use_add3_insn): Likewise. | |
635 | (reload_cse_regs): If reload_cse_move2add changed anything, rerun | |
636 | reload_combine. | |
637 | (RELOAD_COMBINE_MAX_USES): Bump to 16. | |
638 | (last_jump_ruid): New static variable. | |
639 | (struct reg_use): New members CONTAINING_MEM and RUID. | |
640 | (reg_state): New members ALL_OFFSETS_MATCH and REAL_STORE_RUID. | |
641 | (reload_combine_split_one_ruid, reload_combine_split_ruids, | |
642 | reload_combine_purge_insn_uses, reload_combine_closest_single_use | |
643 | reload_combine_purge_reg_uses_after_ruid, | |
644 | reload_combine_recognize_const_pattern): New static functions. | |
645 | (reload_combine_recognize_pattern): Verify that ALL_OFFSETS_MATCH | |
646 | is true for our reg and that we have available index regs. | |
647 | (reload_combine_note_use): New args RUID and CONTAINING_MEM. All | |
648 | callers changed. Use them to initialize fields in struct reg_use. | |
649 | (reload_combine): Initialize last_jump_ruid. Be careful when to | |
650 | take PREV_INSN of the scanned insn. Update REAL_STORE_RUID fields. | |
651 | Call reload_combine_recognize_const_pattern. | |
652 | (reload_combine_note_store): Update REAL_STORE_RUID field. | |
653 | ||
d4404fee JM |
654 | 2010-07-16 Jason Merrill <jason@redhat.com> |
655 | ||
656 | * Makefile.in (opts-common.o): Depend on options.h. | |
657 | ||
6a4825bd NF |
658 | 2010-07-16 Nathan Froyd <froydnj@codesourcery.com> |
659 | ||
660 | * tree.c (build_common_builtin_nodes): Use build_function_type_list | |
661 | instead of build_function_type. | |
662 | * tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Likewise. | |
663 | * cgraphunit.c (cgraph_build_static_cdtor): Likewise. | |
664 | ||
c5af628d NF |
665 | 2010-07-16 Nathan Froyd <froydnj@codesourcery.com> |
666 | ||
667 | * config/rs6000/rs6000.c (rs6000_emit_sISEL): Let rs6000_emit_int_cmove | |
668 | do all the work. | |
669 | (rs6000_emit_int_cmove): Use function pointers for insn generation. | |
670 | Don't force values into registers unnecessarily. | |
671 | (output_isel): Assert that we're not given conditions we can't handle. | |
672 | Delete corresponding code. | |
673 | * config/rs6000/rs6000.md (isel_signed_<mode>): Use | |
674 | scc_comparison_operator constraint. Permit 0 for the consequent | |
675 | operand. Permit any GPR for the alternative operand. | |
676 | (isel_unsigned_<mode>): Likewise. | |
677 | ||
88ad03c2 JJ |
678 | 2010-07-16 Jakub Jelinek <jakub@redhat.com> |
679 | ||
680 | PR target/44942 | |
681 | * config/i386/i386-protos.h (ix86_function_arg_boundary): Change second | |
682 | argument to const_tree. | |
683 | * config/i386/i386.c (function_arg_advance): If padding needs to be | |
684 | inserted before argument, increment cum->words by number of padding | |
685 | words as well. | |
686 | (contains_aligned_value_p): Change argument to const_tree. | |
687 | (ix86_function_arg_boundary): Change second argument to const_tree. | |
688 | ||
71008de4 BS |
689 | 2010-07-16 Bernd Schmidt <bernds@codesourcery.com> |
690 | ||
691 | PR target/42235 | |
692 | * function.c (record_hard_reg_sets): New static function. | |
693 | (assign_parm_setup_reg): If an optab for extending exists and the | |
694 | generated code clobbbers no hard regs, emit the insn directly and | |
695 | create a REG_EQUIV note. | |
696 | ||
f7587ed0 NF |
697 | 2010-07-15 Nathan Froyd <froydnj@codesourcery.com> |
698 | ||
699 | * c-decl.c (detect_field_duplicates): Use DECL_CHAIN insted of | |
700 | TREE_CHAIN. | |
701 | * c-typeck.c (push_init_level): Likewise. | |
702 | (process_init_element): Likewise. | |
703 | ||
9a9d280e AS |
704 | 2010-07-15 Anatoly Sokolov <aesok@post.ru> |
705 | ||
706 | * tree.h (enum tree_index): Add TI_INTEGER_THREE. | |
707 | (integer_three_node): Add. | |
708 | * tree.c (build_common_tree_nodes_2): Use integer_type_node insead of | |
709 | NULL_TREE in build_int_cst calls. Initialize the integer_three_node. | |
710 | * builtins.c (expand_builtin_prefetch): Use common tree nodes instead | |
711 | of call build_int_cst. | |
712 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Ditto. | |
713 | * tree-ssa-loop-ivopts.c (idx_find_step): Ditto. | |
714 | (find_interesting_uses_address): Ditto. | |
715 | * tree-ssa-alias.c (ao_ref_init_from_ptr_and_size): Ditto. | |
716 | * tree-eh.c (lower_eh_constructs_2): Ditto. | |
717 | * tree-vect-loop.c (get_initial_def_for_induction): Ditto. | |
718 | * c-typeck.c (really_start_incremental_init, push_init_level): Ditto. | |
719 | * expmed.c (expand_divmod): Ditto. | |
720 | * tree-mudflap.c (mx_register_decls): Ditto. | |
721 | * varasm.c (array_size_for_constructor): Ditto. | |
722 | * tree-ssa-loop-prefetch.c (issue_prefetch_ref): Ditto. | |
723 | * c-parser.c (c_parser_postfix_expression): Ditto. | |
724 | ||
67bb0206 BS |
725 | 2010-07-15 Bernd Schmidt <bernds@codesourcery.com> |
726 | ||
727 | * postreload.c (last_label_ruid, first_index_reg, last_index_reg): | |
728 | New static variables. | |
729 | (reload_combine_recognize_pattern): New static function, broken out | |
730 | of reload_combine. | |
731 | (reload_combine): Use it. Only initialize first_index_reg and | |
732 | last_index_reg once. | |
733 | ||
c5f77dcb RH |
734 | 2010-07-15 Richard Henderson <rth@redhat.com> |
735 | ||
736 | * cgraphunit.c (cgraph_build_static_cdtor): Clear current_function_decl | |
737 | when done. | |
738 | ||
ef8fc6c2 JH |
739 | 2010-07-15 Jan Hubicka <jh@suse.cz> |
740 | ||
bd3a5d17 UB |
741 | * lto-symtab.c (lto_symtab_resolve_symbols): Remove hack handling |
742 | comdats for broken gold. | |
743 | (lto_sy mtab_merge_decls_1): Set used_from_object_file correctly. | |
ef8fc6c2 | 744 | |
3d894a8e NF |
745 | 2010-07-15 Nathan Froyd <froydnj@codesourcery.com> |
746 | ||
747 | * tree.h (TREE_RTL_OPERAND_CHECK): Delete. | |
748 | ||
910ad8de NF |
749 | 2010-07-15 Nathan Froyd <froydnj@codesourcery.com> |
750 | ||
751 | * tree.h (DECL_CHAIN): Define. | |
752 | * alias.c: Carefully replace TREE_CHAIN with DECL_CHAIN. | |
753 | * c-decl.c: Likewise. | |
754 | * c-parser.c: Likewise. | |
755 | * c-typeck.c: Likewise. | |
756 | * cfgexpand.c: Likewise. | |
757 | * cgraph.c: Likewise. | |
758 | * cgraphunit.c: Likewise. | |
759 | * combine.c: Likewise. | |
760 | * config/alpha/alpha.c: Likewise. | |
761 | * config/arm/arm.c: Likewise. | |
762 | * config/frv/frv.c: Likewise. | |
763 | * config/i386/i386.c: Likewise. | |
764 | * config/i386/winnt-cxx.c: Likewise. | |
765 | * config/ia64/ia64.c: Likewise. | |
766 | * config/iq2000/iq2000.c: Likewise. | |
767 | * config/mep/mep.c: Likewise. | |
768 | * config/mips/mips.c: Likewise. | |
769 | * config/pa/som.h: Likewise. | |
770 | * config/rs6000/rs6000.c: Likewise. | |
771 | * config/s390/s390.c: Likewise. | |
772 | * config/sh/sh.c: Likewise. | |
773 | * config/sh/symbian-cxx.c: Likewise. | |
774 | * config/sparc/sparc.c: Likewise. | |
775 | * config/spu/spu.c: Likewise. | |
776 | * config/stormy16/stormy16.c: Likewise. | |
777 | * config/vxworks.c: Likewise. | |
778 | * config/xtensa/xtensa.c: Likewise. | |
779 | * coverage.c: Likewise. | |
780 | * dbxout.c: Likewise. | |
781 | * dwarf2out.c: Likewise. | |
782 | * emit-rtl.c: Likewise. | |
783 | * expr.c: Likewise. | |
784 | * function.c: Likewise. | |
785 | * gimple-low.c: Likewise. | |
786 | * gimple-pretty-print.c: Likewise. | |
787 | * gimplify.c: Likewise. | |
788 | * integrate.c: Likewise. | |
789 | * ipa-inline.c: Likewise. | |
790 | * ipa-prop.c: Likewise. | |
791 | * ipa-split.c: Likewise. | |
792 | * ipa-struct-reorg.c: Likewise. | |
793 | * ipa-type-escape.c: Likewise. | |
794 | * langhooks.c: Likewise. | |
795 | * lto-cgraph.c: Likewise. | |
796 | * omp-low.c: Likewise. | |
797 | * stor-layout.c: Likewise. | |
798 | * tree-cfg.c: Likewise. | |
799 | * tree-complex.c: Likewise. | |
800 | * tree-dfa.c: Likewise. | |
801 | * tree-dump.c: Likewise. | |
802 | * tree-inline.c: Likewise. | |
803 | * tree-mudflap.c: Likewise. | |
804 | * tree-nested.c: Likewise. | |
805 | * tree-object-size.c: Likewise. | |
806 | * tree-pretty-print.c: Likewise. | |
807 | * tree-sra.c: Likewise. | |
808 | * tree-ssa-live.c: Likewise. | |
809 | * tree-ssa-loop-niter.c: Likewise. | |
810 | * tree-ssa-math-opts.c: Likewise. | |
811 | * tree-ssa-reassoc.c: Likewise. | |
812 | * tree-ssa-sccvn.c: Likewise. | |
813 | * tree-ssa-structalias.c: Likewise. | |
814 | * tree-tailcall.c: Likewise. | |
815 | * tree-vrp.c: Likewise. | |
816 | * tree.c: Likewise. | |
817 | * var-tracking.c: Likewise. | |
818 | * varasm.c: Likewise. | |
819 | ||
643afedb UW |
820 | 2010-07-15 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
821 | ||
822 | PR target/44877 | |
823 | * config/spu/spu.c (spu_expand_builtin_1): Allow references | |
824 | (as well as pointers) as argument to mask_for_load builtins. | |
825 | ||
0ba0772b RB |
826 | 2010-07-15 Richard Guenther <rguenther@suse.de> |
827 | ||
828 | PR tree-optimization/44946 | |
829 | * tree-ssa-structalias.c (get_constraint_for_component_ref): Deal | |
830 | with accessing only padding properly. | |
831 | ||
02ee7bea JH |
832 | 2010-07-15 Jan Hubicka <jh@suse.cz> |
833 | ||
0ba0772b RB |
834 | * ipa.c (function_and_variable_visibility): Variables marked as used |
835 | should not be localized. | |
02ee7bea | 836 | |
99fecd47 JH |
837 | 2010-07-15 Jan Hubicka <jh@suse.cz> |
838 | ||
839 | * cgraph.c: Include lto-streamer.h | |
840 | (change_decl_assembler_name): Work when assembler name hash is at place. | |
bd3a5d17 UB |
841 | (cgraph_make_decl_local): When localizing COMDAT symbol at WPA stage, |
842 | be sure to rename it to avoid name clash. | |
99fecd47 JH |
843 | * ipa.c (cgraph_externally_visible_p, function_and_variable_visibility): |
844 | Localize hidden symbols only when locally defined. | |
845 | ||
53f00dde UB |
846 | 2010-07-15 Uros Bizjak <ubizjak@gmail.com> |
847 | ||
848 | * config/i386/i386.h (SHIFT_COUNT_TRUNCATED): Expand comment. | |
849 | ||
8ffadef9 MG |
850 | 2010-07-15 Magnus Granberg <zorry@gentoo.org> |
851 | Kevin F. Quinn <kevquinn@gentoo.org> | |
852 | ||
53f00dde UB |
853 | * builtins.c (expand_builtin_init_trampoline): Warn for -Wtrampolines. |
854 | * common.opt: Add -Wtrampolines. | |
855 | * doc/invoke.texi: Add -Wtrampolines. | |
8ffadef9 | 856 | |
5cb55204 JZ |
857 | 2010-07-15 Jie Zhang <jie@codesourcery.com> |
858 | ||
859 | * config/arm/cortex-a8.md (cortex_a8_load_store_2): Reserve | |
860 | cortex_a8_issue_ls. | |
861 | ||
4c4837a3 DK |
862 | 2010-07-15 Dave Korn <dave.korn.cygwin@gmail.com> |
863 | ||
864 | * config/i386/cygwin.h (LIBGCJ_SONAME): Update. | |
865 | * config/i386/mingw32.h (LIBGCJ_SONAME): Likewise. | |
866 | ||
588c71da UW |
867 | 2010-07-14 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
868 | ||
869 | * config/spu/spu.c (reg_names): Remove prototype. | |
870 | (call_used_regs): Likewise. | |
871 | ||
a9c5db80 DK |
872 | 2010-07-14 Dave Korn <dave.korn.cygwin@gmail.com> |
873 | ||
874 | * config/i386/cygming-crtend.c (__FRAME_END__): Replace attribute | |
875 | "unused" with attribute "used". | |
876 | (__JCR_END__): Likewise. | |
877 | * config/i386/cygming-crtbegin.c (__EH_FRAME_BEGIN__): Add missing | |
878 | "used" attribute. | |
879 | (__JCR_LIST__): Replace attribute "unused" with attribute "used". | |
880 | ||
61593e5e RG |
881 | 2010-07-14 Richard Guenther <rguenther@suse.de> |
882 | ||
883 | * lto-streamer-in.c (maybe_fixup_handled_component): Remove. | |
884 | (maybe_fixup_decls): Likewise. | |
885 | (input_gimple_stmt): Do not fixup anything. | |
886 | * lto-streamer-out.c (output_gimple_stmt): Make sure all | |
887 | non-automatic variable uses are wrapped inside a MEM_REF. | |
888 | ||
fc7fcda1 RH |
889 | 2010-07-14 Richard Henderson <rth@redhat.com> |
890 | ||
891 | * passes.c (rest_of_decl_compilation): Do not call assemble_variable | |
892 | for functions. | |
893 | * varasm.c (assemble_variable): Remove early exit for functions; | |
894 | assert that we're given a variable. | |
895 | ||
eab3f92e JZ |
896 | 2010-07-14 Jie Zhang <jie@codesourcery.com> |
897 | ||
898 | * config/arm/cortex-a8.md (cortex_a8_alu): Don't use | |
899 | cortex_a8_default when neon_type is not none. | |
900 | ||
402464a0 BS |
901 | 2010-07-14 Bernd Schmidt <bernds@codesourcery.com> |
902 | ||
903 | * lower-subreg.c (subreg_context): New static bitmap. | |
904 | (decompose_multiword_subregs): Allocate and free it. | |
905 | (find_decomposable_subregs): Set a bit in it for a register that | |
906 | occurs in a subreg that changes mode but not size. | |
907 | (can_decompose_p): Test it instead of non_decomposable_context. | |
908 | ||
bf9899d4 RG |
909 | 2010-07-14 Richard Guenther <rguenther@suse.de> |
910 | ||
911 | PR tree-optimization/44824 | |
912 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Use | |
913 | is_gimple_mem_ref_addr. | |
914 | (tree_ssa_forward_propagate_single_use_vars): Do not propagate | |
915 | non-decl_address_invariant_p addresses. | |
916 | ||
b1c8622e BS |
917 | 2010-07-14 Bernd Schmidt <bernds@codesourcery.com> |
918 | ||
919 | * reload.c (find_reloads): Revert code to penalize small register | |
920 | classes that was brought in with the IRA merge. | |
921 | ||
2bd6311d RG |
922 | 2010-07-14 Richard Guenther <rguenther@suse.de> |
923 | ||
924 | * tree-ssa-ccp.c (fold_const_aggregate_ref): Handle MEM_REF | |
925 | as base of ARRAY_REFs. | |
926 | ||
f051cb5d RG |
927 | 2010-07-14 Richard Guenther <rguenther@suse.de> |
928 | ||
929 | PR middle-end/44930 | |
930 | * tree-pretty-print.c (do_niy): Do not print a newline. | |
931 | ||
a49ae217 BS |
932 | 2010-07-14 Bernd Schmidt <bernds@codesourcery.com> |
933 | ||
934 | * ira-int.h (struct ira_object): New. | |
53f00dde | 935 | (ira_object_t): New typedef. Add DEF_VEC_P and DEF_VEC_ALLOC_P for it. |
a49ae217 BS |
936 | (struct ira_allocno): Remove members min, max, |
937 | conflict_allocno_array, conflict_id, conflict_allocno_array_size, | |
938 | conflict_allocnos_num and conflict_vec_p. Add new member object. | |
939 | (OBJECT_CONFLICT_ARRAY, OBJECT_CONFLICT_VEC_P, | |
940 | OBJECT_NUM_CONFLICTS, OBJECT_CONFLICT_ARRAY_SIZE, | |
941 | OBJECT_CONFLICT_HARD_REGS, OBJECT_TOTAL_CONFLICT_HARD_REGS, | |
942 | OBJECT_MIN, OBJECT_MAX, OBJECT_CONFLICT_ID): Renamed from | |
943 | ALLOCNO_CONFLICT_ALLOCNO_ARRAY, ALLOCNO_CONFLICT_VEC_P, | |
944 | ALLOCNO_CONFLICT_ALLOCNOS_NUM, ALLOCNO_CONFLICT_ALLOCNO_ARRAY_SIZE, | |
945 | ALLOCNO_CONFLICT_HARD_REGS, ALLOCNO_TOTAL_CONFLICT_HARD_REGS) | |
946 | ALLOCNO_MIN, ALLOCNO_MAX, and ALLOCNO_CONFLICT_ID; now operate on | |
947 | an ira_object_t rather than ira_allocno_t. All uses changed. | |
948 | (ira_object_id_map): Renamed from ira_conflict_id_allocno_map; now | |
949 | contains a vector of ira_object_t; all uses changed. | |
950 | (ira_objects_num): Declare variable. | |
951 | (ira_create_allocno_object): Declare function. | |
952 | (ira_conflict_vector_profitable_p): Adjust prototype. | |
953 | (ira_allocate_conflict_vec): Renamed from | |
954 | ira_allocate_allocno_conflict_vec; first arg now ira_object_t. | |
955 | (ira_allocate_object_conflicts): Renamed from | |
956 | ira_allocate_allocno_conflicts; first arg now ira_object_t. | |
957 | (struct ira_object_iterator): New. | |
958 | (ira_object_iter_init, ira_object_iter_cond, FOR_EACH_OBJECT): New. | |
959 | (ira_allocno_conflict_iterator): Renamed member allocno_conflict_vec_p | |
960 | to conflict_vec_p. All uses changed. | |
961 | (ira_allocno_conflict_iter_init, ira_allocno_conflict_iter_cond): | |
962 | Changed to take into account that conflicts are now tracked for | |
963 | objects. | |
53f00dde UB |
964 | * ira-conflicts.c (OBJECTS_CONFLICT_P): Renamed from CONFLICT_ALLOCNO_P. |
965 | Args changed to accept ira_object_t. All uses changed. | |
a49ae217 BS |
966 | (allocnos_conflict_p): New static function. |
967 | (collected_conflict_objects): Renamed from collected_allocno_objects; | |
968 | now a vector of ira_object_t. All uses changed. | |
969 | (build_conflict_bit_table): Changed to take into account that | |
970 | conflicts are now tracked for objects. | |
971 | (process_regs_for_copy, propagate_copies, build_allocno_conflicts) | |
972 | (print_allocno_conflicts, ira_build_conflicts): Likewise. | |
973 | * ira-color.c (assign_hard_reg, setup_allocno_available_regs_num) | |
974 | setup_allocno_left_conflicts_size, allocno_reload_assign, | |
975 | fast_allocation): Likewise. | |
976 | * ira-lives.c (make_hard_regno_born, make_allocno_born) | |
977 | process_single_reg_class_operands, process_bb_node_lives): Likewise. | |
978 | * ira-emit.c (modify_move_list, add_range_and_copies_from_move_list): | |
979 | Likewise. | |
980 | * ira-build.c (ira_objects_num): New variable. | |
981 | (ira_object_id_map): Renamed from ira_conflict_id_allocno_map; now | |
982 | contains a vector of ira_object_t; all uses changed. | |
983 | (ira_object_id_map_vec): Corresponding change. | |
984 | (object_pool): New static variable. | |
985 | (initiate_allocnos): Initialize it. | |
986 | (finish_allocnos): Free it. | |
987 | (ira_create_object, ira_create_allocno_object, create_allocno_objects): | |
988 | New functions. | |
989 | (ira_create_allocno): Don't set members that were removed. | |
990 | (ira_set_allocno_cover_class): Don't change conflict hard regs. | |
991 | (merge_hard_reg_conflicts): Changed to take into account that | |
992 | conflicts are now tracked for objects. | |
993 | (ira_conflict_vector_profitable_p, ira_allocate_conflict_vec, | |
994 | allocate_conflict_bit_vec, ira_allocate_object_conflicts, | |
995 | compress_conflict_vecs, remove_low_level_allocnos, ira_flattening, | |
996 | setup_min_max_allocno_live_range_point, allocno_range_compare_func, | |
997 | setup_min_max_conflict_allocno_ids, ): Likewise. | |
53f00dde | 998 | (add_to_conflicts): Renamed from add_to_allocno_conflicts, args changed |
a49ae217 BS |
999 | to ira_object_t; all callers changed. |
1000 | (ira_add_conflict): Renamed from ira_add_allocno_conflict, args changed | |
1001 | to ira_object_t, all callers changed. | |
1002 | (clear_conflicts): Renamed from clear_allocno_conflicts, arg changed | |
1003 | to ira_object_t, all callers changed. | |
1004 | (conflict_check, curr_conflict_check_tick): Renamed from | |
1005 | allocno_conflict_check and curr_allocno_conflict_check_tick; all uses | |
1006 | changed. | |
1007 | (compress_conflict_vec): Renamed from compress_allocno_conflict_vec, | |
1008 | arg changed to ira_object_t, all callers changed. | |
1009 | (create_cap_allocno): Call ira_create_allocno_object. | |
1010 | (finish_allocno): Free the corresponding object. | |
1011 | (sort_conflict_id_map): Renamed from sort_conflict_id_allocno_map; all | |
1012 | callers changed. Adjusted for dealing with objects. | |
1013 | (ira_build): Call create_allocno_objects after ira_costs. Adjusted for | |
1014 | dealing with objects. | |
1015 | * ira.c (ira_bad_reload_regno_1): Adjusted for dealing with objects. | |
1016 | ||
53f00dde UB |
1017 | * ira-int.h (struct live_range): Rename allocno member to object |
1018 | and change type to ira_object_t. | |
9140d27b BS |
1019 | (struct ira_object): New member live_ranges. |
1020 | (struct ira_allocno): Remove member live_ranges. | |
1021 | (ALLOCNO_LIVE_RANGES): Remove. | |
1022 | (OBJECT_LIVE_RANGES): New macro. | |
1023 | (ira_create_live_range, ira_copy_live_range_list, | |
1024 | ira_merge_live_range_list, ira_live_ranges_intersect_p, | |
1025 | ira_finish_live_range, ira_finish_live_range_list): Adjust declarations. | |
1026 | * ira-build.c (ira_create_object): Initialize live ranges here. | |
1027 | (ira_create_allocno): Not here. | |
1028 | (ira_create_live_range): Rename from ira_create_allocno_live_range, arg | |
1029 | changed to ira_object_t, all callers changed. | |
1030 | (copy_live_range): Rename from copy_allocno_live_range, all callers | |
1031 | changed. | |
53f00dde UB |
1032 | (ira_copy_live_range_list): Rename from |
1033 | ira_copy_allocno_live_range_list, all callers changed. | |
9140d27b BS |
1034 | (ira_merge_live_ranges): Rename from ira_merge_allocno_live_range_list, |
1035 | all callers changed. | |
1036 | (ira_live_ranges_intersect_p): Rename from | |
1037 | ira_allocno_live_ranges_intersect_p, all callers changed. | |
1038 | (ira_finish_live_range): Rename from ira_finish_allocno_live_range, all | |
1039 | callers changed. | |
1040 | (ira_finish_live_range_list): Rename from | |
1041 | ira_finish_allocno_live_range_list, all callers changed. | |
1042 | (change_object_in_range_list): Rename from change_allocno_in_range_list, | |
1043 | last arg changed to ira_object_t, all callers changed. | |
1044 | (finish_allocno): Changed to expect live ranges in the allocno's object. | |
1045 | (move_allocno_live_ranges, copy_allocno_live_ranges, | |
1046 | update_bad_spill_attribute, setup_min_max_allocno_live_range_point, | |
1047 | ira_flattening, ira_build): Likewise. | |
1048 | * ira-color.c (allocnos_have_intersected_live_ranges_p, | |
1049 | slot_coalesced_allocno_live_ranges_intersect, | |
1050 | setup_slot_coalesced_allocno_live_ranges, fast_allocation): Likewise. | |
1051 | * ira-conflicts.c (build_conflict_bit_table): Likewise. | |
1052 | * ira-emit.c (add_range_and_copies_from_move_list): Likewise. | |
1053 | * ira-lives.c (make_allocno_born, update_allocno_pressure_excess_length, | |
1054 | make_allocno_dead, create_start_finish_chains, | |
1055 | remove_some_program_points_and_update_live_ranges, | |
1056 | ira_debug_live_range_list): Likewise. | |
1057 | ||
fa86d337 BS |
1058 | * ira-int.h (ira_object_conflict_iterator): Rename from |
1059 | ira_allocno_conflict_iterator. | |
1060 | (ira_object_conflict_iter_init): Rename from | |
1061 | ira_allocno_conflict_iter_init, second arg changed to | |
1062 | * ira.c (check_allocation): Use FOR_EACH_OBJECT_CONFLICT rather than | |
1063 | FOR_EACH_ALLOCNO_CONFLICT. | |
1064 | * ira-color.c (assign_hard_reg, push_allocno_to_stack) | |
1065 | setup_allocno_left_conflicts_size, coalesced_allocno_conflict_p, | |
1066 | ira_reassign_conflict_allocnos, ira_reassign_pseudos): Likewise. | |
1067 | * ira-conflicts.c (print_allocno_conflicts): Likewise. | |
1068 | ||
c31c32f9 JR |
1069 | 2010-07-13 Joern Rennecke <joern.rennecke@embecosm.com> |
1070 | ||
1071 | PR other/44874 | |
1072 | * tree-dump.c (dump_options): Add enumerate_locals entry. | |
1073 | Add TDF_NOID exclusion to all entry. | |
1074 | * tree-dump.h (dump_enumerated_decls): Declare. | |
1075 | * tree-pretty-print.c (dump_generic_node): For TDF_NOID, | |
1076 | Don't display type uid. | |
1077 | (print_declaration): Don't crash on TREE_TYPE (t) == 0. | |
1078 | * tree-pass.h (TDF_ENUMERATE_LOCALS): Define. | |
1079 | * tree-ssa-live.c: Include gimple.h. | |
1080 | (numbered_tree_d): New struct. | |
1081 | (numbered_tree): New typedef. | |
1082 | (DEF_VEC_O (numbered_tree): New. | |
1083 | (DEF_VEC_ALLOC_O (numbered_tree, heap)): Likewise. | |
1084 | (compare_decls_by_uid, dump_enumerated_decls_push): New functions. | |
1085 | (dump_enumerated_decls): Likewise. | |
1086 | * tree-optimize.c (execute_cleanup_cfg_post_optimizing): If comparing | |
1087 | debug info and flag_dump_final_insns, call dump_enumerated_decls. | |
1088 | * tree-cfg.c (dump_function_to_file): Call dump_enumerated_decls. | |
1089 | * Makefile.in (tree-ssa-live.o): Depend on $(GIMPLE_H). | |
1090 | ||
d1465187 RS |
1091 | 2010-07-13 Richard Sandiford <rdsandiford@googlemail.com> |
1092 | ||
1093 | * expmed.h (MAX_BITS_PER_WORD): Move to... | |
1094 | * defaults.h (MAX_BITS_PER_WORD): ...here. | |
1095 | ||
0685e770 DD |
1096 | 2010-07-13 DJ Delorie <dj@redhat.com> |
1097 | ||
1098 | * config/h8300/h8300.c (h8300_init_once): Default to | |
1099 | -fstrict_volatile_bitfields. | |
1100 | ||
1101 | * config/sh/sh.c (sh_override_options): Default to | |
1102 | -fstrict_volatile_bitfields. | |
1103 | ||
1104 | * config/rx/rx.c (rx_option_override): New. | |
1105 | ||
1106 | * config/m32c/m32c.c (m32c_override_options): Default to | |
1107 | -fstrict_volatile_bitfields. | |
1108 | ||
3bb06db4 NF |
1109 | 2010-07-13 Nathan Froyd <froydnj@codesourcery.com> |
1110 | ||
1111 | * tree.h (build_function_call_expr): Delete. | |
1112 | (build_call_expr_loc_array): New function. | |
1113 | (build_call_expr_loc_vec): New function. | |
1114 | * tree-flow.h (struct omp_region): Change type of ws_args field | |
1115 | to a VEC. | |
1116 | * builtins.c (build_function_call_expr): Delete. | |
1117 | (build_call_expr_loc_array): New function. | |
1118 | (build_call_expr_loc): Call it. Use XALLOCAVEC. | |
1119 | (build_call_expr): Likewise. | |
1120 | (build_call_expr_loc_vec): New function. | |
1121 | * cgraphunit.c (build_cdtor): Call build_call_expr instead of | |
1122 | build_function_call_expr. | |
1123 | * expr.c (emutls_var_address): Likewise. | |
1124 | * varasm.c (emutls_common_1): Likewise. | |
1125 | * omp-low.c (expand_omp_atomic_mutex): Likewise. | |
1126 | (expand_omp_taskreg): Adjust for new type of region->ws_args. | |
1127 | (get_ws_args_for): Return a VEC instead of a tree. | |
1128 | (expand_parallel_call): Call build_call_expr_loc_vec instead of | |
1129 | build_function_call_expr. | |
1130 | * stor-layout.c (self_referential_size): Likewise. | |
1131 | ||
c55c061a JJ |
1132 | 2010-07-13 Jakub Jelinek <jakub@redhat.com> |
1133 | ||
1134 | PR testsuite/44701 | |
1135 | * recog.c (constrain_operands): Allow side-effects in memory | |
1136 | operands if either < or > constraint is used, rather than if | |
1137 | both < and > is used. | |
1138 | ||
2eb0b984 RG |
1139 | 2010-07-13 Richard Guenther <rguenther@suse.de> |
1140 | ||
1141 | PR middle-end/44911 | |
1142 | * tree-pretty-print.c (dump_generic_node): Use TDF_SLIM for | |
1143 | MEM_REF pointer type dumping. Avoid recursing for TYPE_DECLs | |
1144 | without name. | |
1145 | ||
535b951f KK |
1146 | 2010-07-13 Kaz Kojima <kkojima@gcc.gnu.org> |
1147 | ||
1148 | PR target/44761 | |
1149 | * mode-switching.c (optimize_mode_switching): Add ATTRIBUTE_UNUSED | |
1150 | to variable emited. | |
1151 | * config/sh/sh.c (sh_expand_epilogue): Remove unused variable. | |
1152 | * config/sh/sh.md (symGOT_load): Likewise. | |
1153 | (symDTPOFF2reg): Likewise. | |
1154 | (symTPOFF2reg): Likewise. | |
1155 | ||
6d06590d RR |
1156 | 2010-07-13 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
1157 | ||
1158 | * expmed.c (MAX_BITS_PER_WORD): Moved to expmed.h. | |
1159 | * expmed.h (MAX_BITS_PER_WORD): Moved from expmed.c. | |
1160 | ||
ea2d8f12 RO |
1161 | 2010-07-13 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1162 | ||
1163 | * config/i386/sol2-unwind.h (x86_64_fallback_frame_state): Correct | |
1164 | explanation. | |
1165 | Find ucontext_t * on Solaris 11. | |
1166 | (x86_fallback_frame_state): Handle Solaris 9 multi-threaded pattern. | |
1167 | Handle new Solaris 11 __sighndlr patterns. | |
1168 | ||
2fed2012 JJ |
1169 | 2010-07-13 Jakub Jelinek <jakub@redhat.com> |
1170 | ||
1171 | PR debug/44901 | |
1172 | * vec.h (VEC_block_remove): Fix comment. | |
1173 | * tree-ssa-live.c (remove_unused_locals): Don't use | |
1174 | VEC_unordered_remove on local_decls, instead replace a single | |
1175 | vector element in each iteration if at least one element had | |
1176 | to be removed and VEC_truncate at the end. | |
1177 | * omp-low.c (expand_omp_taskreg): Likewise. | |
1178 | ||
cc343f65 MLI |
1179 | 2010-07-13 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1180 | ||
1181 | * c-decl.c (finish_function): Fix typo in comment. | |
1182 | ||
5676e87d L |
1183 | 2010-07-12 H.J. Lu <hongjiu.lu@intel.com> |
1184 | ||
1185 | PR bootstrap/44921 | |
1186 | * postreload.c (move2add_use_add3_insn): Silence gcc warning | |
1187 | on min_regno. | |
1188 | ||
8556f58f JJ |
1189 | 2010-07-12 Jakub Jelinek <jakub@redhat.com> |
1190 | ||
1191 | * tree-vrp.c (simplify_bit_ops_using_ranges): New function. | |
1192 | (simplify_stmt_using_ranges): Use it. | |
1193 | ||
8dc9f5bd UW |
1194 | 2010-07-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
1195 | ||
1196 | * config/spu/spu.h (struct spu_builtin_description): Remove FNDECL | |
1197 | member. Do not mark as GTY(()). | |
1198 | * config/spu/spu.c (spu_builtins): Remove FNDECL initializer elements. | |
1199 | (spu_builtin_decls): New static variable. | |
1200 | (spu_builtin_decl): Use it instead of spu_builtins[].fndecl. | |
1201 | (spu_init_builtins): Likewise. | |
1202 | (spu_builtin_mul_widen_even): Likewise. | |
1203 | (spu_builtin_mul_widen_odd): Likewise. | |
1204 | (spu_builtin_mask_for_load): Likewise. | |
1205 | (spu_builtin_vec_perm): Likewise. | |
1206 | * config/spu/spu-c.c: Include "target.h". | |
1207 | (spu_resolve_overloaded_builtin): Call targetm.builtin_decl instead | |
1208 | of using spu_builtins[].fndecl. | |
1209 | ||
ac9b0eea RS |
1210 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1211 | ||
1212 | * config/mips/mips.c (mips_override_options): Make -mflip-mips16 | |
1213 | imply -minterlink-mips16. | |
1214 | ||
5aa62249 RS |
1215 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1216 | ||
1217 | * config/mips/mips.h (mips16_globals): Declare. | |
1218 | (SWITCHABLE_TARGET): Define. | |
1219 | * config/mips/mips.c: Include target-globals.h. | |
1220 | (mips16_globals): New variable. | |
1221 | (mips_set_mips16_mode): Use save_target_globals and | |
1222 | restore_target_globals instead of target_reinit. | |
1223 | ||
77f55879 RS |
1224 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1225 | ||
1226 | * reginfo.c (init_reg_sets): Don't zero globals here. Update comment | |
1227 | to say that the function can be called more than once. | |
1228 | * target-globals.c (save_target_globals): Call init_reg_sets. | |
1229 | ||
76ee381a RS |
1230 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1231 | ||
1232 | * Makefile.in (bb-reorder.o, target-globals.o): Depend on bb-reorder.h | |
1233 | * bb-reorder.h: New file. | |
1234 | * bb-reorder.c (default_target_bb_reorder): New variable. | |
1235 | (this_target_bb_reorder): New conditional variable. | |
1236 | (uncond_jump_length): Redefine as a macro. | |
1237 | * target-globals.h (this_target_bb_reorder): Declare. | |
1238 | (target_globals): Add a bb_reorder field. | |
1239 | (restore_target_globals): Copy the bb_reorder field to | |
1240 | this_target_bb-reorder. | |
1241 | * target-globals.c: Include bb-reorder.h. | |
1242 | (default_target_globals): Initialize the bb_reorder field. | |
1243 | (save_target_globals): Likewise. | |
1244 | ||
7c6811fe RS |
1245 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1246 | ||
1247 | * Makefile.in (gcse.o, target-globals.o): Depend on gcse.h.. | |
1248 | * gcse.h: New file. | |
1249 | * gcse.c: Include gcse.h. | |
1250 | (default_target_gcse): New variable. | |
1251 | (this_target_gcse): New conditional variable. | |
1252 | (can_copy): Redefine as a macro. | |
1253 | (can_copy_init_p): New macro. | |
1254 | (can_copy_p): Remove can_copy_init_p. | |
1255 | * target-globals.h (this_target_gcse): Declare. | |
1256 | (target_globals): Add a gcse field. | |
53f00dde | 1257 | (restore_target_globals): Copy the gcse field to this_target_gcse. |
7c6811fe RS |
1258 | * target-globals.c: Include gcse.h. |
1259 | (default_target_globals): Initialize the gcse field. | |
1260 | (save_target_globals): Likewise. | |
1261 | ||
15e7b94f RS |
1262 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1263 | ||
1264 | * ira-int.h (target_ira_int): Add x_ira_prohibited_mode_move_regs | |
1265 | and x_ira_prohibited_mode_move_regs_initialized_p. | |
1266 | (ira_prohibited_mode_move_regs): Redefine as a macro. | |
1267 | * ira.c (ira_prohibited_mode_move_regs): Delete. | |
1268 | (ira_prohibited_mode_move_regs_initialized_p): Redefine as a macro. | |
1269 | ||
cc14227f RS |
1270 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1271 | ||
1272 | * reload.h (target_reload): Add x_cached_reg_save_code and | |
1273 | x_cached_reg_restore_code. | |
1274 | * caller-save.c (cached_reg_save_code, cached_reg_restore_code): | |
1275 | Redefine as macros. | |
1276 | ||
fa19795e RS |
1277 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1278 | ||
1279 | * Makefile.in (target-globals.o): Depend on builtins.h. | |
1280 | * builtins.h: New file. | |
1281 | * builtins.c: Include builtins.h. | |
1282 | (default_target_builtins): New variable. | |
1283 | (this_target_builtins): New conditional variable. | |
1284 | (apply_args_mode, apply_result_mode): Redefine as macros. | |
1285 | * target-globals.h (this_target_builtins): Declare. | |
1286 | (target_globals): Add a builtins field. | |
1287 | (restore_target_globals): Copy the builtins field to | |
1288 | this_target_builtins. | |
1289 | * target-globals.c: Include builtins.h. | |
1290 | (default_target_globals): Initialize the builtins field. | |
1291 | (save_target_globals): Likewise. | |
1292 | ||
c371bb73 RS |
1293 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1294 | ||
1295 | * expmed.h (alg_code, mult_cost, MULT_COST_LESS, CHEAPER_MULT_COST) | |
1296 | (algorithm, alg_hash_entry, NUM_ALG_HASH_ENTRIES, alg_hash): Moved | |
1297 | from expmed.c. | |
1298 | (target_expmed): Add x_alg_hash and x_alg_hash_used_p. | |
1299 | (alg_hash, alg_hash_used_p): New macros. | |
1300 | * expmed.c (init_expmed): Clear alg_hash if reinitializing. | |
1301 | (alg_code, mult_cost, MULT_COST_LESS, CHEAPER_MULT_COST, algorithm) | |
1302 | (alg_hash_entry, NUM_ALG_HASH_ENTRIES, alg_hash): Moved to expmed.h. | |
1303 | ||
aa1c5d72 RS |
1304 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1305 | ||
1306 | * ira-int.h (target_ira_int): Add x_max_struct_costs_size, x_init_cost, | |
1307 | x_temp_costs, x_op_costs, x_this_op_costs and x_cost_classes. | |
1308 | * ira-costs.c (max_struct_costs_size, init_cost, temp_costs, op_costs) | |
1309 | (this_op_costs, costs_classes): Redefine as macros. | |
1310 | (record_reg_classes): Don't take op_costs as a parameter. | |
1311 | (record_operand_costs): Likewise. Update calls to record_reg_classes. | |
1312 | (scan_one_insn): Update call to record_operand_costs. | |
1313 | ||
afcc66c4 RS |
1314 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1315 | ||
1316 | * Makefile.in (target-globals.o): Depend on $(IRA_INT_H). | |
1317 | * ira-int.h (ira_max_nregs, ira_important_class_nums): Delete. | |
1318 | (target_ira_int): New structure. | |
1319 | (default_target_ira_int): Declare. | |
1320 | (this_target_ira_int): Declare as a variable or define as a macro. | |
1321 | (ira_reg_mode_hard_regset, ira_register_move_cost) | |
1322 | (ira_may_move_in_cost, ira_may_move_out_cost, ira_class_subset_p) | |
1323 | (ira_non_ordered_class_hard_regs, ira_class_hard_reg_index) | |
1324 | (prohibited_class_mode_regs, ira_important_classes_num) | |
1325 | (ira_important_classes, ira_reg_class_intersect) | |
1326 | (ira_reg_classes_intersect_p, ira_reg_class_super_classes) | |
1327 | (ira_reg_class_union): Redefine as macros. | |
1328 | * ira.h (target_ira): New structure. | |
1329 | (default_target_ira): Declare. | |
1330 | (this_target_ira): Declare as a variable or define as a macro. | |
1331 | (ira_available_class_regs, ira_hard_regno_cover_class) | |
1332 | (ira_reg_class_cover_size, ira_reg_class_cover, ira_class_translate) | |
1333 | (ira_reg_class_nregs, ira_memory_move_cost, ira_class_hard_regs) | |
1334 | (ira_class_hard_regs_num): Redefine as macros. | |
1335 | * ira.c (default_target_ira, default_target_ira_int): New variables. | |
1336 | (this_target_ira, this_target_ira_int): New conditional variables. | |
1337 | (ira_reg_mode_hard_regset, ira_memory_move_cost) | |
1338 | (ira_register_move_cost, ira_may_move_in_cost, ira_may_move_out_cost) | |
1339 | (ira_class_subset_p): Delete. | |
1340 | (no_unit_alloc_regs): Redefine as a macro. | |
1341 | (ira_class_hard_regs, ira_non_ordered_class_hard_regs) | |
1342 | (ira_class_hard_regs_num, ira_class_hard_reg_index) | |
1343 | (ira_available_class_regs): Delete. | |
1344 | (alloc_reg_class_subclasses): Redefine as a macro. | |
1345 | (ira_reg_class_cover_size, ira_reg_class_cover) | |
1346 | (ira_important_classes_num, ira_important_classes) | |
1347 | (ira_important_class_nums, ira_class_translate): Delete. | |
1348 | (cover_class_order): Document the variable's lifetime. | |
1349 | (reorder_important_classes): Don't set ira_important_class_nums. | |
1350 | (ira_reg_class_intersect, ira_reg_classes_intersect_p) | |
1351 | (ira_reg_class_super_classes, ira_reg_class_union) | |
1352 | (ira_hard_regno_cover_class, ira_reg_class_nregs, ira_max_nregs): | |
1353 | Delete. | |
1354 | (setup_reg_class_nregs): Don't set ira_max_regs. | |
1355 | (prohibited_class_mode_regs): Delete. | |
1356 | * target-globals.h (this_target_ira, this_target_ira_int): Declare. | |
1357 | (target_globals): Add ira and ira_int fields. | |
1358 | (restore_target_globals): Copy the ira field to this_target_ira | |
1359 | and the ira_int field to this_target_ira_int. | |
1360 | * target-globals.c: Include ira-int.h. | |
1361 | (default_target_globals): Initialize the ira and ira_int fields. | |
1362 | (save_target_globals): Likewise. | |
1363 | ||
4391924a RS |
1364 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1365 | ||
1366 | * Makefile.in (target-globals.o): Depend on $(CFGLOOP_H). | |
1367 | * cfgloop.h (target_cfgloop): New structure. | |
1368 | (default_target_cfgloop): Declare. | |
1369 | (this_target_cfgloop): Declare as a variable or define as a macro. | |
1370 | (target_avail_regs, target_clobbered_regs, target_res_regs) | |
1371 | (target_reg_cost, target_spill_cost): Redefine as macros. | |
1372 | * cfgloopanal.c (default_target_cfgloop): New variable. | |
1373 | (this_target_cfgloop): New conditional variable. | |
1374 | (target_avail_regs, target_clobbered_regs, target_res_regs) | |
1375 | (target_reg_cost, target_spill_cost): Delete. | |
1376 | * target-globals.h (this_target_cfgloop): Declare. | |
1377 | (target_globals): Add a cfgloop field. | |
1378 | (restore_target_globals): Copy the cfgloop field to | |
1379 | this_target_cfgloop. | |
1380 | * target-globals.c: Include cfgloop.h. | |
1381 | (default_target_globals): Initialize the cfgloop field. | |
1382 | (save_target_globals): Likewise. | |
1383 | ||
9d86796b RS |
1384 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1385 | ||
1386 | * regs.h (target_regs): Add x_direct_load, x_direct_store and | |
1387 | x_float_extend_from_mem. | |
1388 | (direct_load, direct_store, float_extend_from_mem): New macros. | |
1389 | * expr.c (direct_load, direct_store, float_extend_from_mem): Delete. | |
1390 | ||
3e9c326a RS |
1391 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1392 | ||
1393 | * Makefile.in (LIBFUNCS_H): Add $(HASHTAB_H). | |
1394 | (target-globals.o): Depend on $(LIBFUNCS_H). | |
1395 | * libfuncs.h: Include hashtab.h. | |
1396 | (libfunc_entry): Moved from optabs.c. | |
1397 | (target_libfuncs): New structure. | |
1398 | (default_target_libfuncs): Declare. | |
1399 | (this_target_libfuncs): Declare as a variable or define as a macro. | |
1400 | (libfunc_table): Redefine as a macro. | |
1401 | * optabs.c (default_target_libfuncs): New variable. | |
1402 | (this_target_libfuncs): New conditional variable. | |
1403 | (libfunc_table): Delete. | |
1404 | (libfunc_entry): Moved to optabs.h. | |
1405 | (libfunc_hash): Redefine as a macro. | |
1406 | (hash_libfunc, eq_libfunc): Fix comments. | |
1407 | (init_optabs): Use libfunc_hash to detect cases where the function | |
1408 | has already been called. Clear the hash table instead of | |
1409 | recreating it. | |
1410 | * target-globals.h (this_target_libfuncs): Declare. | |
1411 | (target_globals): Add a libfuncs field. | |
1412 | (restore_target_globals): Copy the libfuncs field to | |
1413 | this_target_libfuncs. | |
1414 | * target-globals.c: Include libfuncs.h. | |
1415 | (default_target_globals): Initialize the libfuncs field. | |
1416 | (save_target_globals): Likewise. | |
1417 | ||
9f7f1892 RS |
1418 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1419 | ||
1420 | * Makefile.in (LIBFUNCS_H): New variable. Use instead of libfuncs.h | |
1421 | in all dependency lists. | |
1422 | ||
4bcbfa03 RS |
1423 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1424 | ||
1425 | * Makefile.in (target-globals.o): Depend on $(EXPR_H) and $(OPTABS_H). | |
1426 | * optabs.h (target_optabs): New structure. | |
1427 | (default_target_optabs): Declare. | |
1428 | (this_target_optabs): Declare as a variable or define as a macro. | |
1429 | (optab_table, convert_optab_table, direct_optab_table): Redefine | |
1430 | as macros. | |
1431 | * optabs.c (default_target_optabs): New variable. | |
1432 | (this_target_optabs): New conditional variable. | |
1433 | (optab_table, convert_optab_table, direct_optab_table): Delete. | |
1434 | * target-globals.h (this_target_optabs): Declare. | |
1435 | (target_globals): Add a optabs field. | |
1436 | (restore_target_globals): Copy the optabs field to | |
1437 | this_target_optabs. | |
1438 | * target-globals.c: Include expr.h and optabs.h. | |
1439 | (default_target_globals): Initialize the optabs field. | |
1440 | (save_target_globals): Likewise. | |
1441 | ||
b6609375 RS |
1442 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1443 | ||
1444 | * flags.h (target_flagstate): Add x_flag_excess_precision. | |
1445 | (flag_excess_precision): Redefine as a macro. | |
1446 | * toplev.c (flag_excess_precision): Delete. | |
1447 | ||
bcbaaba1 RS |
1448 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1449 | ||
1450 | * defaults.h (MAX_MOVE_MAX, MIN_UNITS_PER_WORD): Define if not defined. | |
1451 | * libgcc2.c (MIN_UNITS_PER_WORD): Delete. | |
1452 | * hard-reg-set.h (target_hard_regs): Add x_no_caller_save_reg_set. | |
1453 | (no_caller_save_reg_set): Redefine as a macro. | |
1454 | * reload.h (target_reload): Add x_caller_save_initialized_p and | |
1455 | x_regno_save_mode. | |
1456 | (caller_save_initialized_p): Redefine as a macro. | |
1457 | * caller-save.c (caller_save_initialized_p, no_caller_save_reg_set) | |
1458 | (MAX_MOVE_MAX, MIN_UNITS_PER_WORD): Delete. | |
1459 | (regno_save_mode): Redefine as a macro. | |
1460 | ||
462f85ce RS |
1461 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1462 | ||
1463 | * Makefile.in (expmed.o, target-globals.o): Depend on expmed.h. | |
1464 | * expmed.h: New file. | |
1465 | * expmed.c (default_target_costs): New variable. | |
1466 | (this_target_costs): New conditional variable. | |
1467 | (sdiv_pow2_cheap, smod_pow2_cheap, zero_cost, add_cost, neg_cost) | |
1468 | (shift_cost, shiftadd_cost, shiftsub0_cost, shiftsub1_cost, mul_cost) | |
1469 | (sdiv_cost, udiv_cost, mul_widen_cost, mul_highpart_cost): Delete. | |
1470 | * target-globals.h (this_target_expmed): Declare. | |
1471 | (target_globals): Add a expmed field. | |
1472 | (restore_target_globals): Copy the expmed field to | |
1473 | this_target_expmed. | |
1474 | * target-globals.c: Include expmed.h. | |
1475 | (default_target_globals): Initialize the expmed field. | |
1476 | (save_target_globals): Likewise. | |
1477 | ||
d474db84 RS |
1478 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1479 | ||
1480 | * Makefile.in (target-globals.o): Depend on reload.h. | |
1481 | * reload.h (target_reload): New structure. | |
1482 | (default_target_reload): Declare. | |
1483 | (this_target_reload): Declare as a variable or define as a macro. | |
1484 | (indirect_symref_ok, double_reg_address_ok): Redefine as macros. | |
1485 | * reload1.c (default_target_reload): New variable | |
1486 | (this_target_reload): New conditional variable. | |
1487 | (indirect_symref_ok, double_reg_address_ok): Delete. | |
1488 | (spill_indirect_levels): Redefine as a macro. | |
1489 | * target-globals.h (this_target_reload): Declare. | |
1490 | (target_globals): Add a reload field. | |
1491 | (restore_target_globals): Copy the reload field to | |
1492 | this_target_reload. | |
1493 | * target-globals.c: Include hard-reg-set.h. | |
1494 | (default_target_globals): Initialize the reload field. | |
1495 | (save_target_globals): Likewise. | |
1496 | ||
7bf84454 RS |
1497 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1498 | ||
1499 | * rtl.h (target_rtl): Add x_static_reg_base_value. | |
1500 | * alias.c (static_reg_base_value): Redefine as a macro. | |
1501 | ||
360d045b RS |
1502 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1503 | ||
1504 | * Makefile.in (reginfo.o): Don't depend on $(GGC_H) or gt-reginfo.h. | |
1505 | (GTFILES): Remove reginfo.c. | |
1506 | * rtl.h (target_rtl): Add x_top_of_stack. | |
1507 | (top_of_stack): New macro. | |
1508 | * reginfo.c: Don't include ggc.h or gt-reginfo.h. | |
1509 | (top_of_stack): Delete. | |
1510 | ||
55e78c8c RS |
1511 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1512 | ||
53f00dde UB |
1513 | * regs.h (target_regs): Add x_hard_regs_of_mode, |
1514 | x_contains_reg_of_mode, x_move_cost, x_may_move_in_cost, | |
1515 | x_may_move_out_cost and x_last_mode_for_init_move_cost. | |
55e78c8c RS |
1516 | (have_regs_of_mode, contains_reg_of_mode, move_cost) |
1517 | (may_move_in_cost, may_move_out_cost): Redefine as macros. | |
1518 | * reginfo.c (have_regs_of_mode, contains_reg_of_mode, move_cost) | |
1519 | (may_move_in_cost, may_move_out_cost): Delete. | |
1520 | (last_mode_for_init_move_cost): Redefine as a macro. | |
1521 | ||
6642445b RS |
1522 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1523 | ||
1524 | * hard-reg-set.h (target_hard_regs): New structure. | |
1525 | (default_target_hard_regs): Declare. | |
1526 | (this_target_hard_regs): Declare as a variable or define as a macro. | |
1527 | (fixed_regs, fixed_reg_set, call_used_regs, call_really_used_regs) | |
1528 | (call_used_reg_set, call_fixed_reg_set, regs_invalidated_by_call) | |
1529 | (reg_alloc_order, inv_reg_alloc_order, reg_class_contents) | |
1530 | (reg_class_size, reg_class_subclasses, reg_class_subunion) | |
1531 | (reg_class_superunion, reg_names): Redefine as macros. | |
1532 | * reginfo.c (fixed_regs, fixed_reg_set, call_used_regs) | |
1533 | (call_used_reg_set, call_really_used_regs, call_fixed_reg_set) | |
1534 | (regs_invalidated_by_call, reg_alloc_order, inv_reg_alloc_order) | |
1535 | (reg_class_contents, reg_class_size, reg_class_subclasses) | |
1536 | (reg_class_subunion, reg_class_superunion, reg_names): Delete. | |
1537 | (default_target_hard_regs): New variable | |
1538 | (this_target_hard_regs, initial_call_really_used_regs) | |
1539 | (initial_reg_alloc_order): New conditional variables. | |
1540 | (initial_reg_names): New variable. | |
1541 | (init_reg_sets): Assert that initial_call_really_used_regs, | |
1542 | initial_reg_alloc_order and initial_reg_names | |
1543 | are all the same size as their variable counterparts. Use them to | |
1544 | initialize those counterparts. | |
1545 | * target-globals.h (this_target_hard_regs): Declare. | |
1546 | (target_globals): Add a hard_regs field. | |
1547 | (restore_target_globals): Copy the hard_regs field to | |
1548 | this_target_hard_regs. | |
1549 | * target-globals.c: Include hard-reg-set.h. | |
1550 | (default_target_globals): Initialize the hard_regs field. | |
1551 | (save_target_globals): Likewise. | |
1552 | ||
5fb0e246 RS |
1553 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1554 | ||
1555 | * Makefile.in (target-globals.o): Depend on $(RTL_H). | |
bd3a5d17 | 1556 | * rtl.h (target_rtl): New structure. |
5fb0e246 RS |
1557 | (default_target_rtl): Declare. |
1558 | (this_target_rtl): Declare as a variable or define as a macro. | |
1559 | (global_rtl, pic_offset_table_rtx, return_address_pointer_rtx): | |
1560 | Redefine as macros. | |
1561 | * emit-rtl.c (default_target_rtl): New variable. | |
1562 | (this_target_rtl): New conditional variable. | |
1563 | (global_rtl, static_regno_reg_rtx, pic_offset_table_rtx) | |
1564 | (return_address_pointer_rtx): Delete. | |
1565 | (initial_regno_reg_rtx): New macro. | |
1566 | (init_emit): Use initial_regno_reg_rtx instead of static_regno_reg_rtx. | |
1567 | (init_emit_regs): Likewise. | |
1568 | * target-globals.h (this_target_rtl): Declare. | |
1569 | (target_globals): Add a rtl field. | |
1570 | (restore_target_globals): Copy the rtl field to this_target_rtl. | |
1571 | * target-globals.c: Include rtl.h. | |
1572 | (default_target_globals): Initialize the rtl field. | |
1573 | (save_target_globals): Likewise. | |
1574 | ||
939dcd0d RS |
1575 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1576 | ||
1577 | * Makefile.in (target-globals.o): Depend on $(REGS_H). | |
1578 | * regs.h (target_reg_modes): New structure. | |
1579 | (default_target_reg_modes): Declare. | |
1580 | (this_target_reg_modes): Declare as a variable or define as a macro. | |
1581 | (hard_regno_nregs, reg_raw_mode): Redefine as macros. | |
1582 | * reginfo.c (default_target_reg_modes): New variable. | |
1583 | (this_target_reg_modes): New conditional variable. | |
1584 | (hard_regno_nregs, reg_raw_mode): Delete. | |
1585 | * target-globals.h (this_target_regs): Declare. | |
1586 | (target_globals): Add a regs field. | |
1587 | (restore_target_globals): Copy the regs field to this_target_regs. | |
1588 | * target-globals.c: Include regs.h. | |
1589 | (default_target_globals): Initialize the regs field. | |
1590 | (save_target_globals): Likewise. | |
1591 | ||
3bd36029 RS |
1592 | 2010-07-12 Richard Sandiford <rdsandiford@googlemail.com> |
1593 | ||
1594 | * doc/tm.texi.in (SWITCHABLE_TARGET): Document. | |
1595 | * doc/tm.texi: Regenerate. | |
1596 | * Makefile.in (OBJS-common): Add target-globals.o. | |
1597 | (gtype-desc.o): Depend on $(IPA_PROP_H), $(LTO_STREAMER_H) | |
1598 | and target-globals.h. | |
1599 | (target-globals.o): New rule. | |
1600 | (GTFILES): Include $(srcdir)/target-globals.h. | |
1601 | * defaults.h (SWITCHABLE_TARGET): Define. | |
1602 | * gengtype.c (open_base_files): Add target-globals.h to the | |
1603 | list of includes. | |
1604 | * target-globals.h: New file. | |
1605 | * target-globals.c: Likewise. | |
1606 | ||
1607 | * Makefile.in (target-globals.o): Depend on $(FLAGS_H). | |
1608 | * flags.h (target_flag_state): New structure. | |
1609 | (default_target_flag_state): Declare. | |
1610 | (this_target_flag_state): Declare as a variable or define as a macro. | |
1611 | (align_loops_log): Redefine as a macro. | |
1612 | (align_loops_max_skip, align_jumps_log): Likewise. | |
1613 | (align_jumps_max_skip, align_labels_log): Likewise. | |
1614 | (align_labels_max_skip, align_functions_log): Likewise. | |
1615 | * toplev.c (default_target_flag_state): New variable. | |
1616 | (this_target_flag_state): New conditional variable. | |
1617 | (align_loops_log): Delete. | |
1618 | (align_loops_max_skip, align_jumps_log): Likewise. | |
1619 | (align_jumps_max_skip, align_labels_log): Likewise. | |
1620 | (align_labels_max_skip, align_functions_log): Likewise. | |
1621 | * target-globals.h (this_target_flag_state): Declare. | |
1622 | (target_globals): Add a flag_state field. | |
1623 | (restore_target_globals): Copy the flag_state field to | |
1624 | this_target_flag_state. | |
1625 | * target-globals.c: Include flags.h. | |
1626 | (default_target_globals): Initialize the flag_state field. | |
1627 | (save_target_globals): Likewise. | |
1628 | ||
7beb0596 JZ |
1629 | 2010-07-12 Jie Zhang <jie@codesourcery.com> |
1630 | ||
1631 | * postreload.c (reg_symbol_ref[]): New. | |
1632 | (move2add_use_add2_insn): New. | |
1633 | (move2add_use_add3_insn): New. | |
1634 | (reload_cse_move2add): Handle SYMBOL + OFFSET case. | |
1635 | (move2add_note_store): Likewise. | |
1636 | ||
ea19b1ec JR |
1637 | 2010-07-12 Joern Rennecke <joern.rennecke@embecosm.com> |
1638 | ||
1639 | PR rtl-optimization/44752 | |
1640 | * genautomata.c (main): Don't emit an empty file even if there | |
1641 | is no automaton. | |
1642 | ||
e2b4f103 RO |
1643 | 2010-07-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1644 | ||
1645 | * config/i386/i386.c (ix86_sol10_return_in_memory): Rename to | |
1646 | ix86_solaris_return_in_memory. | |
1647 | * config/i386-protos.h: Reflect this. | |
1648 | * config/i386/vx-common.h (SUBTARGET_RETURN_IN_MEMORY): Likewise. | |
1649 | * config/i386/sol2-10.h (SUBTARGET_RETURN_IN_MEMORY): Likewise. | |
1650 | Move ... | |
1651 | * config/i386/sol2.h (SUBTARGET_RETURN_IN_MEMORY): ... here. | |
1652 | ||
fb2f8cf8 JZ |
1653 | 2010-07-12 Jie Zhang <jie@codesourcery.com> |
1654 | ||
1655 | * config/arm/arm.c (arm_get_frame_offsets): Don't use r3 to | |
1656 | align the stack when it's going to be saved. | |
1657 | ||
8f89ba7c RO |
1658 | 2010-07-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1659 | ||
1660 | PR pch/14940 | |
1661 | * config/host-solaris.c (mmap_fixed): New function. | |
1662 | (sol_gt_pch_get_address): Use it. | |
1663 | (sol_gt_pch_use_address): Likewise. | |
1664 | ||
ae6a0535 RO |
1665 | 2010-07-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
1666 | ||
1667 | * config.gcc (i[34567]86-*-solaris2*): Default with_arch_32 to | |
1668 | pentiumpro on Solaris 8 and 9/x86. | |
1669 | * doc/install.texi (Specific, i?86-*-solaris2.[89]): Recommend GNU as. | |
1670 | Document SSE/SSE2 support. | |
1671 | * doc/sourcebuild.texi (Effective-Target Keywords): Document sse. | |
1672 | ||
e56d9a76 AK |
1673 | 2010-07-12 Andi Kleen <ak@linux.intel.com> |
1674 | ||
1675 | * lto-symtab.c (lto_symtab_merge_decls_1): Use fatal_error | |
1676 | instead of gcc_assert to print better error message for multiple | |
1677 | prevailing defs. | |
1678 | ||
9db335b9 UB |
1679 | 2010-07-12 Uros Bizjak <ubizjak@gmail.com> |
1680 | ||
1681 | * config/i386/i386.c (ix86_asm_output_function_label): Change format | |
1682 | string placeholder from 0x%x to %#x. | |
1683 | (ix86_code_end): Use putc to output '\n'. | |
1684 | (ix86_print_operand) <case ';'>: Use putc to output ';'. | |
1685 | ||
23b488ad KT |
1686 | 2010-07-11 Kai Tietz <kai.tietz@onevision.com> |
1687 | ||
1688 | * config/i386/winnt.c (i386_pe_file_end): Quote symbol name | |
1689 | in directive -export. | |
1690 | ||
a56b31ca AS |
1691 | 2010-07-10 Anatoly Sokolov <aesok@post.ru> |
1692 | ||
1693 | * reginfo.h (reg_classes_intersect_p): Change arguments type to | |
1694 | reg_class_t. | |
1695 | * rtl.h (reg_classes_intersect_p): Adjust prototype. | |
1696 | ||
1697 | * config/rs6000/rs6000.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): | |
1698 | Remove macros. | |
1699 | * config/rs6000/rs6000-protos.h (rs6000_register_move_cost, | |
1700 | rs6000_memory_move_cost): Remove | |
1701 | * config/rs6000/rs6000.c (TARGET_REGISTER_MOVE_COST, | |
1702 | TARGET_MEMORY_MOVE_COST): Define. | |
1703 | (rs6000_register_move_cost): Make static. Change arguments type from | |
1704 | enum reg_class to reg_class_t. Adjust rs6000_memory_move_cost calls. | |
1705 | (rs6000_memory_move_cost): Make static. Change arguments type from | |
1706 | 'enum reg_class' to reg_class_t. | |
1707 | ||
bec922f0 SL |
1708 | 2010-07-10 Sandra Loosemore <sandra@codesourcery.com> |
1709 | ||
1710 | PR middle-end/42505 | |
1711 | * tree-inline.c (estimate_num_insns): Refactor builtin complexity | |
1712 | lookup code into.... | |
1713 | * builtins.c (is_simple_builtin, is_inexpensive_builtin): ...these | |
1714 | new functions. | |
1715 | * tree.h (is_simple_builtin, is_inexpensive_builtin): Declare. | |
1716 | * cfgloopanal.c (target_clobbered_regs): Define. | |
1717 | (init_set_costs): Initialize target_clobbered_regs. | |
1718 | (estimate_reg_pressure_cost): Add call_p argument. When true, | |
1719 | adjust the number of available registers to exclude the | |
1720 | call-clobbered registers. | |
1721 | * cfgloop.h (target_clobbered_regs): Declare. | |
1722 | (estimate_reg_pressure_cost): Adjust declaration. | |
1723 | * tree-ssa-loop-ivopts.c (struct ivopts_data): Add body_includes_call. | |
1724 | (ivopts_global_cost_for_size): Pass it to estimate_reg_pressure_cost. | |
1725 | (determine_set_costs): Dump target_clobbered_regs. | |
1726 | (loop_body_includes_call): New function. | |
1727 | (tree_ssa_iv_optimize_loop): Use it to initialize new field. | |
1728 | * loop-invariant.c (gain_for_invariant): Adjust arguments to pass | |
1729 | call_p flag through. | |
1730 | (best_gain_for_invariant): Likewise. | |
1731 | (find_invariants_to_move): Likewise. | |
1732 | (move_single_loop_invariants): Likewise, using already-computed | |
1733 | has_call field. | |
1734 | ||
ccf134c7 RG |
1735 | 2010-07-10 Richard Guenther <rguenther@suse.de> |
1736 | Joern Rennecke <joern.rennecke@embecosm.com> | |
1737 | ||
1738 | PR debug/44832 | |
9db335b9 | 1739 | * tree-ssa-live.c (mark_all_vars_used_1): Set TREE_USED for LABEL_DECL. |
ccf134c7 RG |
1740 | (remove_unused_scope_block_p): Don't drop TREE_USED LABEL_DECLs |
1741 | unless they have DECL_IGNORED_P set. | |
1742 | ||
bcee752e RG |
1743 | 2010-07-10 Richard Guenther <rguenther@suse.de> |
1744 | ||
1745 | PR lto/44889 | |
1746 | * gimple.c (gimple_fixup_complete_and_incomplete_subtype_p): New | |
1747 | helper function. | |
1748 | (gimple_types_compatible_p): Similar to pointed-to | |
1749 | types allow and merge a mix of complete and incomplete aggregate. | |
1750 | Use gimple_fixup_complete_and_incomplete_subtype_p for that. | |
1751 | (iterative_hash_gimple_type): Adjust for that. | |
1752 | ||
7e9b9697 RS |
1753 | 2010-07-10 Richard Sandiford <r.sandiford@uk.ibm.com> |
1754 | ||
1755 | * tree.h (DECL_REPLACEABLE_P): Strengthen check for weak symbols. | |
1756 | ||
058bfe53 IS |
1757 | 2010-07-10 Iain Sandoe <iains@gcc.gnu.org> |
1758 | ||
1759 | PR objc/44140 | |
1760 | * config/darwin.c (output_objc_section_asm_op): Save and restore | |
1761 | section when outputting ObjC section list. | |
1762 | ||
b772114c JH |
1763 | 2010-07-09 Jan Hubicka <jh@suse.cz> |
1764 | ||
9db335b9 UB |
1765 | * lto-streamer-out.c (produce_symtab): Do not write alias |
1766 | cgraph/varpool nodes. | |
b772114c | 1767 | |
7e97ee1a JH |
1768 | 2010-07-09 Jan Hubicka <jh@suse.cz> |
1769 | ||
1770 | * tree-inline.c (declare_return_variable): Fix ICE while | |
1771 | inlining DECL_BY_VALUE function not in SSA form | |
1772 | ||
0bbe50f6 CF |
1773 | 2010-07-09 Changpeng Fang <changpeng.fang@amd.com> |
1774 | ||
1775 | PR tree-optimization/44576 | |
1776 | * tree-ssa-loop-prefetch.c (trip_count_to_ahead_ratio_too_small_p): | |
1777 | New. Pull out from is_loop_prefetching_profitable to implement | |
1778 | the trip count to ahead ratio heuristic. | |
1779 | (mem_ref_count_reasonable_p): New. Pull out from | |
1780 | is_loop_prefetching_profitable to implement the instruction to | |
1781 | memory reference ratio heuristic. Also consider not reasonable if | |
1782 | the memory reference count is above a threshold (to avoid | |
1783 | explosive compilation time. | |
1784 | (insn_to_prefetch_ratio_too_small_p): New. Pull out from | |
1785 | is_loop_prefetching_profitable to implement the instruction to | |
1786 | prefetch ratio heuristic. | |
1787 | (is_loop_prefetching_profitable): Removed. | |
1788 | (loop_prefetch_arrays): Distribute the cost analysis across the | |
1789 | function to allow early exit of the prefetch analysis. | |
1790 | is_loop_prefetching_profitable is splitted into three functions, | |
1791 | with each one called as early as possible. | |
1792 | (PREFETCH_MAX_MEM_REFS_PER_LOOP): New. Threshold above which the | |
1793 | number of memory references in a loop is considered too many. | |
1794 | ||
c033690d BS |
1795 | 2010-07-09 Bernd Schmidt <bernds@codesourcery.com> |
1796 | ||
9db335b9 UB |
1797 | * reload.c (find_reloads): Don't clear badop if we have a winreg |
1798 | alternative, but not win, and the class only has fixed regs. | |
c033690d BS |
1799 | * hard-reg-set.h (class_only_fixed_regs): Declare. |
1800 | * reginfo.c (class_only_fixed_regs): New array. | |
1801 | (init_reg_sets_1): Initialize it. | |
1802 | * config/arm/arm.md (arm_addsi3, thumb1_addsi3, arm_subsi3_insn): Don't | |
1803 | discourage alternatives using the stack pointer. | |
1804 | ||
0879e7b3 BS |
1805 | * config/arm/arm.md (addsi3_cbranch): Switch alternatives 0 and 1. |
1806 | ||
1744c800 BS |
1807 | * config/arm/arm.md (Thumb-1 ldrsb peephole): New. |
1808 | ||
95da5cf9 BS |
1809 | * config/arm/arm.md (cbranchqi4): Fix array size. |
1810 | (addsi3_cbranch): Also andle alternative 2 like alternative 3 when | |
1811 | calculating length. | |
1812 | ||
e8edaf95 RG |
1813 | 2010-07-09 Richard Guenther <rguenther@suse.de> |
1814 | ||
1815 | * gimple.c (struct type_fixup_s): New struct and VEC type. | |
1816 | (gimple_register_type_fixups): New static global. | |
1817 | (gimple_queue_type_fixup): New function. | |
1818 | (gimple_types_compatible_p): Queue type fixups instead of | |
1819 | applying them here. | |
1820 | (gimple_register_type): Apply queued fixups for the | |
1821 | canonical type. Empty the type fixup queue. | |
1822 | ||
7085bfb6 UB |
1823 | 2010-07-09 Uros Bizjak <ubizjak@gmail.com> |
1824 | ||
1825 | * configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Fix test. | |
1826 | * configure: Regenerate. | |
abcb0bd9 | 1827 | * config.in: Ditto. |
7085bfb6 | 1828 | |
85e693aa JJ |
1829 | 2010-07-09 Jakub Jelinek <jakub@redhat.com> |
1830 | Denys Vlasenko <dvlasenk@redhat.com> | |
1831 | Bernhard Reutner-Fischer <aldot@gcc.gnu.org> | |
1832 | ||
1833 | PR tree-optimization/28632 | |
1834 | * tree-vrp.c (zero_nonzero_bits_from_vr): New function. | |
1835 | (extract_range_from_binary_expr): Further optimize | |
1836 | BIT_AND_EXPR and BIT_IOR_EXPR. | |
1837 | ||
59ee2304 SP |
1838 | 2010-07-09 Sebastian Pop <sebastian.pop@amd.com> |
1839 | ||
1840 | * tree-if-conv.c (fold_or_predicates): New. | |
1841 | (add_to_predicate_list): Call it. | |
1842 | ||
38a178dd RG |
1843 | 2010-07-09 Richard Guenther <rguenther@suse.de> |
1844 | ||
1845 | PR middle-end/44890 | |
1846 | * tree-ssa-address.c (create_mem_ref_raw): Only build a MEM_REF | |
1847 | if base is a pointer. | |
1848 | * tree-cfg.c (verify_expr): Update MEM_REF checking. | |
1849 | ||
c8aa02cc MM |
1850 | 2010-07-08 Michael Meissner <meissner@linux.vnet.ibm.com> |
1851 | ||
1852 | PR target/44877 | |
1853 | * config/rs6000/rs6000.c (rs6000_expand_builtin): Use | |
1854 | POINTER_TYPE_P instead of checking only for POINTER_TYPE for the | |
1855 | builtin mask for load/store builtins. | |
1856 | ||
4bade865 UB |
1857 | 2010-07-09 Uros Bizjak <ubizjak@gmail.com> |
1858 | ||
1859 | * configure.ac (gcc_cv_as_ix86_rep_lock_prefix): Also check | |
1860 | for "lock addl". | |
1861 | * configure: Regenerate. | |
1862 | * config/i386/i386.c (ix86_print_operand) <case ';'>: | |
1863 | Remove TARGET_MACHO. | |
1864 | ||
2c9ccc21 PB |
1865 | 2010-07-09 Peter Bergner <bergner@vnet.ibm.com> |
1866 | ||
1867 | * config/rs6000/rs6000.c (rs6000_override_options): Fix setting of | |
1868 | default ISA flags. | |
1869 | * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add -mvsx. | |
1870 | ||
5c9fae0d TV |
1871 | 2010-07-09 Tom de Vries <tjvries@xs4all.nl> |
1872 | ||
1873 | * tree.c (type_hash_if_marked_p): Removed non-ggc_marked_p clause. | |
1874 | ||
7085bfb6 | 1875 | 2010-07-09 Hariharan Sandanagobalane <hariharan@picochip.com> |
099379da HS |
1876 | |
1877 | * config/picochip/picochip.md (commsTestPort): Emit more | |
1878 | efficient sequence for tstport instruction. | |
1879 | ||
f55a7cbc UB |
1880 | 2010-07-09 Uros Bizjak <ubizjak@gmail.com> |
1881 | ||
1882 | * config/i386/i386.c (ix86_veclib_handler): Make static. | |
1883 | ||
dbfcc059 RG |
1884 | 2010-07-09 Richard Guenther <rguenther@suse.de> |
1885 | ||
1886 | PR tree-optimization/44852 | |
1887 | * tree-ssa-alias.c: Include toplev.h for exact_log2. | |
1888 | (indirect_ref_may_alias_decl_p): Properly handle negative offsets | |
1889 | in MEM_REF. | |
1890 | (indirect_refs_may_alias_p): Likewise. | |
1891 | * Makefile.in (tree-ssa-alias.o): Add $(TOPLEV_H). | |
1892 | ||
ca1316d2 RG |
1893 | 2010-07-09 Richard Guenther <rguenther@suse.de> |
1894 | ||
1895 | PR tree-optimization/44882 | |
1896 | * tree-vect-stmts.c (vectorizable_store): Do not assert alias | |
1897 | sets do conflict. | |
1898 | (vectorizable_load): Likewise. | |
1899 | ||
e784c52c BS |
1900 | 2010-07-09 Bernd Schmidt <bernds@codesourcery.com> |
1901 | ||
1902 | PR target/40657 | |
1903 | * config/arm/arm.c (thumb1_extra_regs_pushed): New arg FOR_PROLOGUE. | |
1904 | All callers changed. | |
1905 | Handle the case when we're called for the epilogue. | |
1906 | (thumb_unexpanded_epilogue): Use it. | |
1907 | (thumb1_expand_epilogue): Likewise. | |
1908 | ||
ac285648 JJ |
1909 | 2010-07-09 Jakub Jelinek <jakub@redhat.com> |
1910 | ||
1911 | * tree-vrp.c (extract_range_from_binary_expr) <BIT_AND_EXPR>: If | |
1912 | both ranges are range_int_cst_p with non-negative minimum, | |
1913 | try harder to derive smaller range. | |
1914 | ||
79a3f089 MLI |
1915 | 2010-07-09 Manuel López-Ibáñez <manu@gcc.gnu.org> |
1916 | ||
1917 | * genrecog.c: Include diagnostic-core.h before toplev.h. | |
1918 | * genoutput.c: Likewise. | |
1919 | * genextract.c: Likewise. | |
1920 | * genautomata.c: Likewise. | |
1921 | * genemit.c: Likewise. | |
1922 | * genpeep.c: Likewise. | |
1923 | * genattrtab.c: Likewise. | |
1924 | * genconditions.c: Likewise. | |
1925 | * genpreds.c: Likewise. | |
1926 | ||
f55a7cbc | 1927 | 2010-07-08 Andi Kleen <ak@linux.intel.com> |
1df15c3d AK |
1928 | |
1929 | * lto-section-in.c (lto_section_name): Add missing comma. | |
1930 | ||
930572b9 AS |
1931 | 2010-07-08 Anatoly Sokolov <aesok@post.ru> |
1932 | ||
1933 | * config/ia64/ia64.h (OVERRIDE_OPTIONS): Remove macros. | |
1934 | * config/ia64/ia64-protos.h (ia64_override_options): Remove. | |
1935 | * config/ia64/ia64.c (TARGET_OPTION_OVERRIDE): Define. | |
1936 | (ia64_override_options): Rename to... | |
1937 | (ia64_option_override): ... this one. Make static. | |
1938 | ||
5951297a EB |
1939 | 2010-07-08 Eric Botcazou <ebotcazou@adacore.com> |
1940 | ||
1941 | PR middle-end/44843 | |
1942 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not rely on the | |
1943 | pointed-to type of the offset in a MEM_REF to compute the alignment. | |
1944 | ||
135a687e KT |
1945 | 2010-07-08 Kai Tietz <kai.tietz@onevision.com> |
1946 | ||
2784ed9c KT |
1947 | * final.c (final_scan_insn): Replace |
1948 | TARGET_UNWIND_INFO macro check by unwind_emit | |
1949 | hook NULL check. | |
1950 | * targhooks.c (default_unwind_emit): Removed. | |
1951 | * targhooks.h (default_unwind_emit): Likewise. | |
1952 | * target.def (unwind_emit): Set default value to NULL. | |
1953 | ||
135a687e KT |
1954 | * config/i386/i386-protos.h (ix86_asm_output_function_label): |
1955 | New prototype. | |
1956 | * config/i386/i386.c (ix86_function_ms_hook_prologue): Check | |
1957 | for NULL fntype argument and allow 64-bit targets. | |
1958 | (ix86_asm_output_function_label): New function. | |
1959 | (ix86_expand_prologue): Handle 64-bit ms hook prologue. | |
1960 | (ix86_handle_fndecl_attribute): Likewise. | |
1961 | * doc/extend.texi (ms_hook_prologue): Adjust documentation. | |
1962 | * doc/doc/tm.texi: Regenerated. | |
1963 | * doc/doc/doc/tm.texi.in (ASM_OUTPUT_FUNCTION_LABEL): New. | |
1964 | (ASM_DECLARE_FUNCTION_NAME): Adjust documentation. | |
1965 | * defaults.h (ASM_OUTPUT_FUNCTION_LABEL): New macro. | |
1966 | * config/darwin.h (ASM_DECLARE_FUNCTION_NAME): Use | |
1967 | ASM_OUTPUT_FUNCTION_LABEL instead of ASM_OUTPUT_LABEL. | |
1968 | * config/elfos.h: Likewise. | |
1969 | * config/i386/cygming.h: Likewise. | |
1970 | * config/netbsd-aout.h: Likewise. | |
1971 | * config/openbsd.h: Likewise. | |
1972 | * config/i386/i386.h (ASM_OUTPUT_FUNCTION_LABEL): Override | |
1973 | by ix86_asm_output_function_label function call. | |
1974 | * varasm.c (assemble_start_function): Use | |
1975 | ASM_OUTPUT_FUNCTION_LABEL instead of ASM_OUTPUT_LABEL. | |
1976 | ||
09411461 JH |
1977 | 2010-07-08 Jan Hubicka <jh@suse.cz> |
1978 | ||
1979 | * cgraph.c (cgraph_will_be_removed_from_program_if_no_direct_calls): | |
1980 | New function. | |
1981 | * cgraph.h (cgraph_will_be_removed_from_program_if_no_direct_calls): | |
1982 | Declare. | |
1983 | * ipa-cp.c (ipcp_estimate_growth): Use it. | |
1984 | * ipa-inline.c (cgraph_estimate_growth, cgraph_decide_inlining): | |
1985 | Likewise. | |
1986 | ||
72109b25 JH |
1987 | 2010-07-08 Jan Hubicka <jh@suse.cz> |
1988 | ||
1989 | * tree-inline.c (declare_return_variable): Allocate annotation for new | |
1990 | temporary. | |
1991 | ||
d89e5e20 SP |
1992 | 2010-07-08 Sebastian Pop <sebastian.pop@amd.com> |
1993 | ||
1994 | PR tree-optimization/44710 | |
1995 | * tree-if-conv.c (parse_predicate): New. | |
1996 | (add_to_predicate_list): Call it, call maybe_fold_or_comparisons. | |
1997 | Make sure that the predicates are either SSA_NAMEs or gimple_condexpr. | |
1998 | ||
384a5197 SP |
1999 | 2010-07-08 Sebastian Pop <sebastian.pop@amd.com> |
2000 | ||
2001 | * common.opt (ftree-loop-if-convert): New flag. | |
2002 | * doc/invoke.texi (ftree-loop-if-convert): Documented. | |
2003 | * tree-if-conv.c (gate_tree_if_conversion): Enable if-conversion | |
2004 | when flag_tree_loop_if_convert is set. | |
2005 | ||
f8e1995a UB |
2006 | 2010-07-08 Uros Bizjak <ubizjak@gmail.com> |
2007 | ||
2008 | * config/i386/i386.c: Use short syntax for function calls | |
2009 | through function pointers. | |
2010 | * config/i386/i386.md: Ditto. | |
2011 | ||
a80903ff EB |
2012 | 2010-07-08 Eric Botcazou <ebotcazou@adacore.com> |
2013 | ||
2014 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Fix formatting issues. | |
2015 | ||
d0c422cb RG |
2016 | 2010-07-08 Richard Guenther <rguenther@suse.de> |
2017 | ||
2018 | * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): Fix | |
2019 | stmt check for POINTER_PLUS_EXPRs, fix the pointer assignment. | |
2020 | ||
b298f924 JJ |
2021 | 2010-07-08 Jakub Jelinek <jakub@redhat.com> |
2022 | ||
2023 | * dwarf2out.c (mem_loc_descriptor): Use DW_OP_const[48]u | |
2024 | instead of DW_OP_addr for DW_OP_GNU_push_tls_address operand. | |
2025 | (loc_list_from_tree): Likewise. | |
2026 | (output_loc_operands): Handle outputting DW_OP_const[48]u | |
2027 | with loc->dtprel set. | |
2028 | (resolve_addr_in_expr): Handle loc->dtprel like DW_OP_addr. | |
2029 | ||
5dde3b01 JH |
2030 | 2010-07-08 Jan Hubicka <jh@suse.cz> |
2031 | ||
2032 | * ipa.c: Include pointer-set.h | |
2033 | (cgraph_externally_visible_p): New attribute ALIASED; | |
2034 | when in LTO, hidden symbols are local unless they are aliased. | |
2035 | (function_and_variable_visibility): Compute aliased nodes; | |
2036 | handle LTO and hidden symbol on functions and vars. | |
2037 | * cgraph.c (cgraph_make_decl_local): Clear NAMED_SECTION | |
2038 | for COMDAT symbols; handle COMDAT_GROUPS also at vars. | |
2039 | ||
2de710b9 EB |
2040 | 2010-07-08 Eric Botcazou <ebotcazou@adacore.com> |
2041 | ||
2042 | * config/i386/cygming.h (STACK_CHECK_STATIC_BUILTIN): Define to 1. | |
2043 | * config/i386/freebsd.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
2044 | * config/i386/linux.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
2045 | * config/i386/linux64.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
2046 | * config/i386/sol2.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
2047 | * config/i386/i386.c (ix86_gen_adjust_stack_and_probe): New variable. | |
2048 | (ix86_gen_probe_stack_range): Likewise. | |
2049 | (override_options): Set them. | |
2050 | (ix86_target_stack_probe): New function. | |
2051 | (ix86_compute_frame_layout): Force use of push instructions to | |
2052 | save registers if stack checking with probes is enabled. | |
2053 | (get_scratch_register_on_entry): New function. | |
2054 | (release_scratch_register_on_entry): Likewise. | |
2055 | (ix86_adjust_stack_and_probe): Likewise. | |
2056 | (output_adjust_stack_and_probe): Likewise. | |
2057 | (ix86_emit_probe_stack_range): Likewise. | |
2058 | (output_probe_stack_range): Likewise. | |
2059 | (ix86_expand_prologue): Emit stack checking code if static built-in | |
2060 | stack checking is enabled. | |
2061 | Test ix86_target_stack_probe instead of TARGET_STACK_PROBE. | |
2062 | * config/i386/i386-protos.h (ix86_target_stack_probe): Declare. | |
2063 | (output_adjust_stack_and_probe): Likewise. | |
2064 | (output_probe_stack_range): Likewise. | |
2065 | * config/i386/i386.md (UNSPECV_PROBE_STACK_RANGE): New constant. | |
2066 | (allocate_stack_worker_32): Test ix86_target_stack_probe instead of | |
2067 | TARGET_STACK_PROBE. | |
2068 | (allocate_stack_worker_64): Likewise. | |
2069 | (allocate_stack): Likewise. | |
2070 | (adjust_stack_and_probe): New insn. | |
2071 | (probe_stack_range): Likewise. | |
2072 | ||
f076deba RG |
2073 | 2010-07-08 Richard Guenther <rguenther@suse.de> |
2074 | ||
2075 | PR tree-optimization/44831 | |
2076 | * tree-ssa-phiprop.c (phiprop_insert_phi): Properly build | |
2077 | a MEM_REF preserving TBAA info of the original dereference. | |
4bade865 | 2078 | Dereference the original pointer if the address is not invariant. |
f076deba RG |
2079 | (propagate_with_phi): Fixup type checks wrt MEM_REFs. Require |
2080 | at least one invariant address that we are going to dereference. | |
2081 | ||
20ede5c6 RG |
2082 | 2010-07-08 Richard Guenther <rguenther@suse.de> |
2083 | ||
2084 | PR tree-optimization/44861 | |
2085 | * tree-vect-stmts.c (vectorizable_store): Preserve TBAA | |
2086 | information when building MEM_REFs. | |
2087 | (vectorizable_load): Likewise. | |
2088 | * tree-vect-data-refs.c (vect_setup_realignment): Likewise. | |
2089 | ||
80edb36c EB |
2090 | 2010-07-08 Eric Botcazou <ebotcazou@adacore.com> |
2091 | ||
2092 | * config/sol2-c.c: Do not include diagnostic-core.h. | |
2093 | ||
2e1ec94f RR |
2094 | 2010-07-08 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
2095 | ||
1df15c3d | 2096 | PR bootstrap/44768 |
2e1ec94f RR |
2097 | * cfgexpand.c (estimated_stack_frame_size): Make self-contained |
2098 | with respect to current_function_decl. Pass decl of the function. | |
2099 | * tree-inline.h (estimated_stack_frame_size): Adjust prototype. | |
2100 | * ipa-inline.c (compute_inline_parameters): Pass decl to | |
2101 | estimated_stack_frame_size. | |
2102 | ||
a03a9774 RG |
2103 | 2010-07-08 Richard Guenther <rguenther@suse.de> |
2104 | ||
2105 | * tree-ssa-sccvn.c (vn_reference_maybe_forwprop_address): | |
2106 | New function. | |
2107 | (valueize_refs): Call it. | |
2108 | ||
e73cfe5d RG |
2109 | 2010-07-08 Richard Guenther <rguenther@suse.de> |
2110 | ||
2111 | PR rtl-optimization/44838 | |
2112 | * tree-ssa-alias.c (indirect_refs_may_alias_p): When not in | |
2113 | SSA form do not use pointer equivalence. | |
2114 | ||
51d49bc2 EB |
2115 | 2010-07-08 Eric Botcazou <ebotcazou@adacore.com> |
2116 | ||
2117 | * dwarf2out.c (AT_linkage_name): Delete. | |
2118 | (add_linkage_attr): New function. | |
2119 | (add_linkage_name): Call it to emit the linkage attribute. | |
2120 | (dwarf2out_finish): Likewise. | |
2121 | (move_linkage_attr): Explicitly accept both attribute variants. | |
2122 | ||
718f9c0f MLI |
2123 | 2010-07-08 Manuel López-Ibáñez <manu@gcc.gnu.org> |
2124 | ||
2125 | * toplev.h: Do not include diagnostic-core.h. | |
2126 | Include diagnostic-core.h in every file that includes toplev.h. | |
2127 | * c-tree.h: Do not include toplev.h. | |
2128 | * pretty-print.h: Update comment. | |
2129 | * Makefile.in: Update dependencies. | |
2130 | * alias.c: Include diagnostic-core.h in every file that includes | |
2131 | toplev.h. | |
2132 | * attribs.c: Likewise. | |
2133 | * auto-inc-dec.c: Likewise. | |
2134 | * bb-reorder.c: Likewise. | |
2135 | * bt-load.c: Likewise. | |
2136 | * caller-save.c: Likewise. | |
2137 | * calls.c: Likewise. | |
2138 | * cfg.c: Likewise. | |
2139 | * cfganal.c: Likewise. | |
2140 | * cfgbuild.c: Likewise. | |
2141 | * cfgcleanup.c: Likewise. | |
2142 | * cfghooks.c: Likewise. | |
2143 | * cfgloop.c: Likewise. | |
2144 | * combine.c: Likewise. | |
2145 | * config/alpha/alpha.c: Likewise. | |
2146 | * config/arc/arc.c: Likewise. | |
2147 | * config/arm/arm.c: Likewise. | |
2148 | * config/arm/pe.c: Likewise. | |
2149 | * config/avr/avr.c: Likewise. | |
2150 | * config/bfin/bfin.c: Likewise. | |
2151 | * config/cris/cris.c: Likewise. | |
2152 | * config/crx/crx.c: Likewise. | |
2153 | * config/darwin-c.c: Likewise. | |
2154 | * config/darwin.c: Likewise. | |
2155 | * config/fr30/fr30.c: Likewise. | |
2156 | * config/frv/frv.c: Likewise. | |
2157 | * config/h8300/h8300.c: Likewise. | |
2158 | * config/host-darwin.c: Likewise. | |
2159 | * config/i386/i386.c: Likewise. | |
2160 | * config/i386/netware.c: Likewise. | |
2161 | * config/i386/nwld.c: Likewise. | |
2162 | * config/i386/winnt-cxx.c: Likewise. | |
2163 | * config/i386/winnt-stubs.c: Likewise. | |
2164 | * config/i386/winnt.c: Likewise. | |
2165 | * config/ia64/ia64-c.c: Likewise. | |
2166 | * config/ia64/ia64.c: Likewise. | |
2167 | * config/iq2000/iq2000.c: Likewise. | |
2168 | * config/lm32/lm32.c: Likewise. | |
2169 | * config/m32c/m32c-pragma.c: Likewise. | |
2170 | * config/m32c/m32c.c: Likewise. | |
2171 | * config/m32r/m32r.c: Likewise. | |
2172 | * config/m68hc11/m68hc11.c: Likewise. | |
2173 | * config/m68k/m68k.c: Likewise. | |
2174 | * config/mcore/mcore.c: Likewise. | |
2175 | * config/mep/mep-pragma.c: Likewise. | |
2176 | * config/mep/mep.c: Likewise. | |
2177 | * config/mmix/mmix.c: Likewise. | |
2178 | * config/mn10300/mn10300.c: Likewise. | |
2179 | * config/moxie/moxie.c: Likewise. | |
2180 | * config/pa/pa.c: Likewise. | |
2181 | * config/pdp11/pdp11.c: Likewise. | |
2182 | * config/picochip/picochip.c: Likewise. | |
2183 | * config/rs6000/rs6000-c.c: Likewise. | |
2184 | * config/rs6000/rs6000.c: Likewise. | |
2185 | * config/rx/rx.c: Likewise. | |
2186 | * config/s390/s390.c: Likewise. | |
2187 | * config/score/score.c: Likewise. | |
2188 | * config/score/score3.c: Likewise. | |
2189 | * config/score/score7.c: Likewise. | |
2190 | * config/sh/sh.c: Likewise. | |
2191 | * config/sh/symbian-base.c: Likewise. | |
2192 | * config/sh/symbian-c.c: Likewise. | |
2193 | * config/sh/symbian-cxx.c: Likewise. | |
2194 | * config/sol2-c.c: Likewise. | |
2195 | * config/sol2.c: Likewise. | |
2196 | * config/sparc/sparc.c: Likewise. | |
2197 | * config/spu/spu.c: Likewise. | |
2198 | * config/stormy16/stormy16.c: Likewise. | |
2199 | * config/v850/v850-c.c: Likewise. | |
2200 | * config/v850/v850.c: Likewise. | |
2201 | * config/vax/vax.c: Likewise. | |
2202 | * config/vxworks.c: Likewise. | |
2203 | * config/xtensa/xtensa.c: Likewise. | |
2204 | * convert.c: Likewise. | |
2205 | * cse.c: Likewise. | |
2206 | * cselib.c: Likewise. | |
2207 | * dbgcnt.c: Likewise. | |
2208 | * dbxout.c: Likewise. | |
2209 | * ddg.c: Likewise. | |
2210 | * dominance.c: Likewise. | |
2211 | * emit-rtl.c: Likewise. | |
2212 | * explow.c: Likewise. | |
2213 | * expmed.c: Likewise. | |
2214 | * fixed-value.c: Likewise. | |
2215 | * fold-const.c: Likewise. | |
2216 | * fwprop.c: Likewise. | |
2217 | * gcse.c: Likewise. | |
2218 | * ggc-common.c: Likewise. | |
2219 | * ggc-page.c: Likewise. | |
2220 | * ggc-zone.c: Likewise. | |
2221 | * gimple-low.c: Likewise. | |
2222 | * gimplify.c: Likewise. | |
2223 | * graph.c: Likewise. | |
2224 | * haifa-sched.c: Likewise. | |
2225 | * ifcvt.c: Likewise. | |
2226 | * implicit-zee.c: Likewise. | |
2227 | * integrate.c: Likewise. | |
2228 | * ira-build.c: Likewise. | |
2229 | * ira-color.c: Likewise. | |
2230 | * ira-conflicts.c: Likewise. | |
2231 | * ira-costs.c: Likewise. | |
2232 | * ira-lives.c: Likewise. | |
2233 | * ira.c: Likewise. | |
2234 | * lists.c: Likewise. | |
2235 | * loop-doloop.c: Likewise. | |
2236 | * loop-iv.c: Likewise. | |
2237 | * lto-opts.c: Likewise. | |
2238 | * lto-symtab.c: Likewise. | |
2239 | * main.c: Likewise. | |
2240 | * modulo-sched.c: Likewise. | |
2241 | * optabs.c: Likewise. | |
2242 | * params.c: Likewise. | |
2243 | * plugin.c: Likewise. | |
2244 | * postreload-gcse.c: Likewise. | |
2245 | * postreload.c: Likewise. | |
2246 | * predict.c: Likewise. | |
2247 | * profile.c: Likewise. | |
2248 | * real.c: Likewise. | |
2249 | * regcprop.c: Likewise. | |
2250 | * reginfo.c: Likewise. | |
2251 | * regmove.c: Likewise. | |
2252 | * reorg.c: Likewise. | |
2253 | * resource.c: Likewise. | |
2254 | * rtl.c: Likewise. | |
2255 | * rtlanal.c: Likewise. | |
2256 | * sched-deps.c: Likewise. | |
2257 | * sched-ebb.c: Likewise. | |
2258 | * sched-rgn.c: Likewise. | |
2259 | * sdbout.c: Likewise. | |
2260 | * sel-sched-dump.c: Likewise. | |
2261 | * sel-sched-ir.c: Likewise. | |
2262 | * simplify-rtx.c: Likewise. | |
2263 | * stmt.c: Likewise. | |
2264 | * stor-layout.c: Likewise. | |
2265 | * store-motion.c: Likewise. | |
2266 | * targhooks.c: Likewise. | |
2267 | * tree-cfg.c: Likewise. | |
2268 | * tree-cfgcleanup.c: Likewise. | |
2269 | * tree-dump.c: Likewise. | |
2270 | * tree-eh.c: Likewise. | |
2271 | * tree-inline.c: Likewise. | |
2272 | * tree-nomudflap.c: Likewise. | |
2273 | * tree-object-size.c: Likewise. | |
2274 | * tree-optimize.c: Likewise. | |
2275 | * tree-outof-ssa.c: Likewise. | |
2276 | * tree-phinodes.c: Likewise. | |
2277 | * tree-profile.c: Likewise. | |
2278 | * tree-ssa-ccp.c: Likewise. | |
2279 | * tree-ssa-coalesce.c: Likewise. | |
2280 | * tree-ssa-live.c: Likewise. | |
2281 | * tree-ssa-loop-niter.c: Likewise. | |
2282 | * tree-ssa-loop-prefetch.c: Likewise. | |
2283 | * tree-ssa-loop.c: Likewise. | |
2284 | * tree-ssa-structalias.c: Likewise. | |
2285 | * tree-ssa-uninit.c: Likewise. | |
2286 | * tree-ssa.c: Likewise. | |
2287 | * tree-vect-data-refs.c: Likewise. | |
2288 | * tree-vect-loop-manip.c: Likewise. | |
2289 | * tree-vect-loop.c: Likewise. | |
2290 | * tree-vect-patterns.c: Likewise. | |
2291 | * tree-vect-stmts.c: Likewise. | |
2292 | * tree-vrp.c: Likewise. | |
2293 | * varasm.c: Likewise. | |
2294 | * vec.c: Likewise. | |
2295 | * web.c: Likewise. | |
2296 | * xcoffout.c: Likewise. | |
2297 | ||
647565f6 RS |
2298 | 2010-07-07 Richard Sandiford <rdsandiford@googlemail.com> |
2299 | ||
2300 | * gengtype.c (write_field_root): New function. | |
2301 | (write_root): Use it. | |
2302 | ||
88c1612f WG |
2303 | 2010-07-07 Wei Guozhi <carrot@google.com> |
2304 | ||
2305 | * config/arm/thumb2.md (peephole2 to convert zero_extract/compare | |
2306 | of lowest bits to lshift/compare): Add a missing line. | |
2307 | ||
ece53c91 WG |
2308 | 2010-07-07 Wei Guozhi <carrot@google.com> |
2309 | ||
2310 | * config/arm/thumb2.md (peephole2 to convert zero_extract/compare | |
2311 | of lowest bits to lshift/compare): New. | |
2312 | ||
9730bc27 TT |
2313 | 2010-07-07 Tom Tromey <tromey@redhat.com> |
2314 | ||
2315 | * doc/tm.texi: Update. | |
2316 | * doc/tm.texi.in (SDB and DWARF) <TARGET_WANT_DEBUG_PUB_SECTIONS>: | |
2317 | Add @hook. | |
2318 | * target.def (want_debug_pub_sections): New hook. | |
2319 | * config/darwin.h (TARGET_WANT_DEBUG_PUB_SECTIONS): Define. | |
2320 | * dwarf2out.c (add_pubname_string): Check | |
2321 | targetm.want_debug_pub_sections. | |
2322 | (add_pubname): Likewise. | |
2323 | (add_pubtype): Likewise. | |
2324 | ||
f5d5226b JZ |
2325 | 2010-07-07 Jie Zhang <jie@codesourcery.com> |
2326 | ||
2327 | * genautomata.c (output_automata_list_min_issue_delay_code): | |
2328 | Correctly decompress min_issue_delay. | |
2329 | ||
71df5a7e BS |
2330 | 2010-07-07 Bernd Schmidt <bernds@codesourcery.com> |
2331 | ||
2332 | PR rtl-optimization/44404 | |
2333 | * auto-inc-dec.c (find_inc): Avoid calling count_occurrences if | |
2334 | possible, use reg_overlap_mentioned_p instead. | |
2335 | ||
f625098e DS |
2336 | 2010-07-07 Duncan Sands <baldrick@free.fr> |
2337 | ||
2338 | PR middle-end/41355 | |
2339 | * tree.c (build_function_type_skip_args): Copy the original type using | |
1df15c3d | 2340 | build_distinct_type_copy rather than copy_node. |
f625098e | 2341 | |
ab33bd5c L |
2342 | 2010-07-07 H.J. Lu <hongjiu.lu@intel.com> |
2343 | ||
2344 | PR target/44850 | |
2345 | * config/i386/i386.c (ix86_function_ms_hook_prologue): Revert | |
2346 | revision 161876. | |
2347 | (ix86_expand_prologue): Likewise. | |
2348 | (ix86_handle_fndecl_attribute): Likewise. | |
2349 | (ix86_asm_declare_function_name): Likewise. | |
2350 | * config/i386/i386.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
2351 | * config/i386/cygming.h (ASM_DECLARE_FUNCTION_NAME): Likewise. | |
2352 | (SUBTARGET_ASM_DECLARE_FUNCTION_NAME): Likewise. | |
4bade865 | 2353 | * config/i386/i386-protos.h (ix86_asm_declare_function_name): Likewise. |
ab33bd5c L |
2354 | * doc/extend.texi: Likewise. |
2355 | ||
5e86e540 L |
2356 | 2010-07-07 H.J. Lu <hongjiu.lu@intel.com> |
2357 | ||
2358 | PR target/44844 | |
2359 | * config/i386/i386.md (rdrand<mode>): Changed to expand to | |
2360 | retry if the carry flag isn't valid. | |
2361 | (rdrand<mode>_1): New. | |
2362 | ||
0ee95c43 RG |
2363 | 2010-07-07 Richard Guenther <rguenther@suse.de> |
2364 | ||
2365 | PR middle-end/44790 | |
2366 | * expr.c (expand_expr_real_1): Go the POINTER_PLUS_EXPR path | |
2367 | for expanding the constant offset for MEM_REFs. | |
2368 | ||
523968bf RG |
2369 | 2010-07-07 Richard Guenther <rguenther@suse.de> |
2370 | ||
2371 | * tree-ssa-propagate.h (valid_gimple_call_p): Remove. | |
2372 | * tree-ssa-propagate.c (valid_gimple_call_p): Make static. Fix. | |
2373 | * gimple.h (is_gimple_operand): Remove. | |
2374 | * gimple.c (is_gimple_operand): Likewise. | |
2375 | (walk_gimple_op): Fix wi->val_only setting for calls. | |
2376 | * tree-cfg.c (verify_gimple_call): Fix argument validation. | |
2377 | * tree-profile.c (tree_gen_ic_func_profiler): Do not create | |
2378 | invalid gimple calls. | |
2379 | ||
86353474 JH |
2380 | 2010-07-06 Jan Hubicka <jh@suse.cz> |
2381 | ||
2382 | * lto-cgraph.c (output_cgraph): Add missing declaration. | |
2383 | ||
b0d9e663 JH |
2384 | 2010-07-06 Jan Hubicka <jh@suse.cz> |
2385 | ||
2386 | * lto-cgraph.c (output_cgraph): Output toplevel asms only into first | |
2387 | partition. | |
2388 | ||
38be945b AO |
2389 | 2010-07-06 Alexandre Oliva <aoliva@redhat.com> |
2390 | ||
2391 | * doc/gimple.texi (GIMPLE_DEBUG): Document. | |
2392 | * doc/rtl.texi (Debug Information): New node. | |
2393 | (NOTE_INSN_VAR_LOCATION): Document. | |
2394 | (debug_insn): Likewise. | |
2395 | * doc/generic.texi (DEBUG_EXPR_DECL): Document. | |
2396 | ||
6938f93f JH |
2397 | 2010-07-07 Jan Hubicka <jh@suse.cz> |
2398 | ||
4bade865 | 2399 | With parts by Richard Guenther. |
6938f93f JH |
2400 | |
2401 | PR middle-end/44813 | |
2402 | * tree-ssa-uninit.c (ssa_undefined_value_p): Result decl is defined | |
2403 | for functions passed by reference. | |
2404 | * tree.c (needs_to_live_in_memory): RESULT_DECL don't need to live | |
2405 | in memory when passed by reference. | |
2406 | * tree-ssa-ccp.c (get_default_value): Only VAR_DECL is undefined at | |
2407 | beggining. | |
2408 | * ipa-split.c (split_function): Cleanup way return value is passed; | |
2409 | handle SSA DECL_BY_REFERENCE retvals. | |
2410 | * tree-ssa.c (verify_def): Verify that RESULT_DECL is read only when | |
2411 | DECL_BY_REFERENCE is set. | |
2412 | * tree-ssa-structalias.c (get_constraint_for_ssa_var, get_fi_for_callee, | |
2413 | find_what_p_points_to): Handle RESULT_DECL. | |
2414 | * tree-inline.c (declare_return_variable): Get new entry_block argument; | |
2415 | when passing by reference ensure that RESULT_DECL is gimple_val. | |
2416 | (remap_gimple_op_r): Remap RESULT_DECL ssa name. | |
2417 | (remap_gimple_stmt): Handle SSA DECL_BY_REFERENCE returns. | |
2418 | ||
325d7997 BS |
2419 | 2010-07-07 Bernd Schmidt <bernds@codesourcery.com> |
2420 | ||
2421 | PR rtl-optimization/44787 | |
2422 | * config/arm/arm.md (arith_shiftsi): Allow stack pointer in operand 2. | |
2423 | * config/arm/thumb2.md (thumb2_arith_shiftsi): Likewise. | |
2424 | ||
e10aaec0 JH |
2425 | 2010-07-06 Jan Hubicka <jh@suse.cz> |
2426 | ||
2427 | * lto-symtab.c (lto_cgraph_replace_node): Handle aliases. | |
2428 | (lto_symtab_resolve_can_prevail_p): Also alias of cgraph node | |
2429 | with body can prevail. | |
2430 | (lto_symtab_resolve_symbols): Use cgraph_get_node_or_alias. | |
2431 | (lto_symtab_merge_cgraph_nodes_1): Do not remove nodes from aliases. | |
2432 | * cgraph.c (cgraph_get_node_or_alias): New function. | |
2433 | * cgraph.h (cgraph_get_node_or_alias): Declare. | |
2434 | ||
4bbf141c KT |
2435 | 2010-07-06 Kai Tietz <kai.tietz@onevision.com> |
2436 | ||
2437 | * config/i386/i386.c (ix86_function_ms_hook_prologue): Enable x64 | |
2438 | support. | |
2439 | (ix86_expand_prologue): Likewise. | |
2440 | (ix86_handle_fndecl_attribute): Likewise. | |
2441 | (ix86_asm_declare_function_name): New function for | |
2442 | ASM_DECLARE_FUNCTION_NAME. | |
2443 | * config/i386/i386.h (ASM_DECLARE_FUNCTION_NAME): New macro. | |
2444 | * config/i386/cygming.h (ASM_DECLARE_FUNCTION_NAME): Removed. | |
2445 | (SUBTARGET_ASM_DECLARE_FUNCTION_NAME): New macro. | |
2446 | * config/i386/i386-protos.h (ix86_asm_declare_function_name): New. | |
2447 | * doc/extend.texi: Adjust documentation about ms_hook_prologue | |
2448 | attribute. | |
2449 | ||
9aa5922d UB |
2450 | 2010-07-06 Uros Bizjak <ubizjak@gmail.com> |
2451 | ||
2452 | * config/i386/i386.md (immediate_operand): New mode attribute. | |
f8e1995a | 2453 | |
9aa5922d UB |
2454 | (pro_epilogue_adjust_stack_<mode>_1): Macroize insn from |
2455 | pro_epilogue_adjust_stack and pro_epilogue_adjust_stack_rex64 | |
2456 | using P mode iterator. | |
2457 | (pro_epilogue_adjust_stack_di_2): Rename from | |
2458 | pro_epilogue_adjust_stack_rex64_2. | |
2459 | ||
2460 | * config/i386/i386.c (pro_epilogue_adjust_stack): Update for rename. | |
2461 | ||
2462 | 2010-07-06 Uros Bizjak <ubizjak@gmail.com> | |
2463 | ||
2464 | * config/i386/i386.md (insv): Call gen_movdi_insv1 or gen_movsi_insv1 | |
2465 | through gen_mov_insv_1 function pointer. | |
2466 | (fmod<mode>3): Call gen_truncxf<mode>2_i387_noop_unspec or | |
2467 | gen_truncxf<mode>2 through gen_truncxf function pointer. | |
2468 | (remainder<mode>3): Ditto. | |
2469 | (cmpstrnsi): Rename cmp_insn function pointer to gen_cmp. | |
2470 | (allocate_stack): Call gen_allocate_stack_worker_64 or | |
2471 | gen_allocate_stack_worker_32 through gen_allocate_stack_worker | |
2472 | function pointer. | |
2473 | (probe_stack): Call gen_iordi3 or gen_iorsi3 through gen_ior3 | |
2474 | function pointer. | |
2475 | ||
2476 | 2010-07-06 Uros Bizjak <ubizjak@gmail.com> | |
2477 | ||
2478 | * config/i386/i386.md (*add<mode>3_cconly_overflow): Use <g> | |
2479 | operand constraint instead of <r><i>m. | |
2480 | ||
dfb88126 RG |
2481 | 2010-07-06 Richard Guenther <rguenther@suse.de> |
2482 | ||
2483 | PR middle-end/44828 | |
2484 | * convert.c (convert_to_integer): Watch out for overflowing | |
2485 | MULT_EXPR as well. | |
2486 | ||
c5d1f058 JH |
2487 | 2010-07-05 Jan Hubicka <jh@suse.cz> |
2488 | ||
2489 | * lto-streamer.c (write_symbol_vec): Rename to ... | |
2490 | (write_symbol) ... this one; write only symbol given and when | |
2491 | present in cache. Sanity check that what is defined is present | |
2492 | in cgraph/varpool with body/finalized decl. | |
2493 | (write_symbols_of_kind): Remove. | |
2494 | (produce_symtab): Take outputblock and sets; use cgraph/varpool/alias | |
2495 | pairs to produce symtab. | |
2496 | (produce_asm_for_decls): Update call of produce_symtab; don't do so | |
2497 | when doing WPA streaming. | |
2498 | ||
6e4da084 JH |
2499 | 2010-07-05 Jan Hubicka <jh@suse.cz> |
2500 | ||
2501 | * gimple-fold.c (gimple_fold_obj_type_ref_known_binfo): Check that | |
2502 | function is still available to fold into. | |
2503 | ||
c021f10b NF |
2504 | 2010-07-05 Nathan Froyd <froydnj@codesourcery.com> |
2505 | ||
2506 | * vec.h (FOR_EACH_VEC_ELT_REVERSE): New macro. | |
2507 | * function.h (struct_function): Change type of local_decls field | |
2508 | to a VEC. | |
2509 | (add_local_decl): New function. | |
2510 | (FOR_EACH_LOCAL_DECL): New macro. | |
2511 | * cfgexpand.c (init_vars_expansion): Adjust for new type of | |
2512 | cfun->local_decls. | |
2513 | (estimated_stack_frame_size): Likewise. | |
2514 | (expand_used_vars): Likewise. | |
2515 | * cgraphbuild.c (build_cgraph_edges): Likewise. | |
2516 | * function.c (instantiate_decls_1): Likewise. | |
2517 | * ipa-struct-reorg.c (build_data_structure): Likewise. | |
2518 | * ipa-type-escape.c (analyze_function): Likewise. | |
2519 | * lto-streamer-in.c (input_function): Likewise. | |
2520 | * lto-streamer-out.c (output_function): Likewise. | |
2521 | * tree-ssa-live.c (remove_unused_locals): Likewise. | |
2522 | * tree.c (free_lang_data_in_decl): Likewise. | |
2523 | (find_decls_types_in_node): Likewise. | |
2524 | * omp-low.c (remove_exit_barrier): Likewise. | |
2525 | (expand_omp_taskreg): Likewise. | |
2526 | (list2chain): Rename to... | |
2527 | (vec2chain): ...this. Adjust. | |
2528 | * cgraphunit.c (assemble_thunk): Call add_local_decl. | |
2529 | * tree-cfg.c (replace_by_duplicate_decl): Likewise. | |
2530 | * gimple-low.c (record_vars_into): Likewise. | |
2531 | * tree-inline.c (remap_decls): Likewise. | |
2532 | (declare_return_variable): Likewise. | |
2533 | (declare_inline_vars): Likewise. | |
2534 | (copy_forbidden): Adjust for new type of cfun->local_decls. | |
2535 | (add_local_variables): New function. | |
2536 | (expand_call_inline): Call it. | |
2537 | (tree_function_versioning): Likewise. | |
2538 | ||
4ee89d5f L |
2539 | 2010-07-05 H.J. Lu <hongjiu.lu@intel.com> |
2540 | ||
2541 | AVX Programming Reference (June, 2010) | |
2542 | * config/i386/cpuid.h (bit_F16C): New. | |
2543 | (bit_RDRND): Likewise. | |
2544 | (bit_FSGSBASE): Likewise. | |
2545 | ||
2546 | * config/i386/i386-builtin-types.def: Add | |
2547 | "DEF_FUNCTION_TYPE (UINT16)", function types for | |
2548 | float16 <-> float conversions and | |
2549 | "DEF_FUNCTION_TYPE (VOID, UINT64)". | |
2550 | ||
2551 | * config/i386/i386-c.c (ix86_target_macros_internal): Support | |
2552 | OPTION_MASK_ISA_FSGSBASE, OPTION_MASK_ISA_RDRND and | |
2553 | OPTION_MASK_ISA_F16C. | |
2554 | ||
2555 | * config/i386/i386.c (OPTION_MASK_ISA_FSGSBASE_SET): New. | |
2556 | (OPTION_MASK_ISA_RDRND_SET): Likewise. | |
2557 | (OPTION_MASK_ISA_F16C_SET): Likewise. | |
2558 | (OPTION_MASK_ISA_FSGSBASE_UNSET): Likewise. | |
2559 | (OPTION_MASK_ISA_RDRND_UNSET): Likewise. | |
2560 | (OPTION_MASK_ISA_F16C_UNSET): Likewise. | |
2561 | (OPTION_MASK_ISA_AVX_UNSET): Add OPTION_MASK_ISA_F16C_UNSET. | |
9aa5922d | 2562 | (ix86_handle_option): Handle OPT_mfsgsbase, OPT_mrdrnd and OPT_mf16c. |
4ee89d5f L |
2563 | (ix86_target_string): Support -mfsgsbase, -mrdrnd and -mf16c. |
2564 | (pta_flags): Add PTA_FSGSBASE, PTA_RDRND and PTA_F16C. | |
2565 | (override_options): Handle them. | |
9aa5922d | 2566 | (ix86_valid_target_attribute_inner_p): Handle fsgsbase, rdrnd and f16c. |
4ee89d5f L |
2567 | (ix86_builtins): Add IX86_BUILTIN_RDFSBASE32, |
2568 | IX86_BUILTIN_RDFSBASE64, IX86_BUILTIN_RDGSBASE32, | |
2569 | IX86_BUILTIN_RDGSBASE64, IX86_BUILTIN_WRFSBASE32, | |
2570 | IX86_BUILTIN_WRFSBASE64, IX86_BUILTIN_WRGSBASE32, | |
2571 | IX86_BUILTIN_WRGSBASE64, IX86_BUILTIN_RDRAND16, | |
2572 | IX86_BUILTIN_RDRAND32, IX86_BUILTIN_RDRAND64, | |
2573 | IX86_BUILTIN_CVTPH2PS, IX86_BUILTIN_CVTPH2PS256, | |
2574 | IX86_BUILTIN_CVTPS2PH and IX86_BUILTIN_CVTPS2PH256. | |
2575 | (bdesc_args): Likewise. | |
2576 | (ix86_expand_args_builtin): Handle V8SF_FTYPE_V8HI, | |
2577 | V4SF_FTYPE_V8HI, V8HI_FTYPE_V8SF_INT and V8HI_FTYPE_V4SF_INT. | |
2578 | (ix86_expand_special_args_builtin): Handle VOID_FTYPE_UINT64, | |
2579 | VOID_FTYPE_UNSIGNED, UNSIGNED_FTYPE_VOID and UINT16_FTYPE_VOID. | |
2580 | Handle non-memory store. | |
2581 | ||
2582 | * config/i386/i386.h (TARGET_FSGSBASE): New. | |
2583 | (TARGET_RDRND): Likewise. | |
2584 | (TARGET_F12C): Likewise. | |
2585 | ||
2586 | * config/i386/i386.md (UNSPEC_VCVTPH2PS): New. | |
2587 | (UNSPEC_VCVTPS2PH): Likewise. | |
2588 | (UNSPECV_RDFSBASE): Likewise. | |
2589 | (UNSPECV_RDGSBASE): Likewise. | |
2590 | (UNSPECV_WRFSBASE): Likewise. | |
2591 | (UNSPECV_WRGSBASE): Likewise. | |
2592 | (UNSPECV_RDRAND): Likewise. | |
2593 | (rdfsbase<mode>): Likewise. | |
2594 | (rdgsbase<mode>): Likewise. | |
2595 | (wrfsbase<mode>): Likewise. | |
2596 | (wrgsbase<mode>): Likewise. | |
2597 | (rdrand<mode>): Likewise. | |
2598 | ||
2599 | * config/i386/i386.opt: Add -mfsgsbase, -mrdrnd and -mf16c. | |
2600 | ||
2601 | * config/i386/immintrin.h (_rdrand_u16): New. | |
2602 | (_rdrand_u32): Likewise. | |
2603 | (_readfsbase_u32): Likewise. | |
2604 | (_readfsbase_u64): Likewise. | |
2605 | (_readgsbase_u32): Likewise. | |
2606 | (_readgsbase_u64): Likewise. | |
2607 | (_writefsbase_u32): Likewise. | |
2608 | (_writefsbase_u64): Likewise. | |
2609 | (_writegsbase_u32): Likewise. | |
2610 | (_writegsbase_u64): Likewise. | |
2611 | (_rdrand_u64): Likewise. | |
2612 | (_cvtsh_ss): Likewise. | |
2613 | (_mm_cvtph_ps): Likewise. | |
2614 | (_mm256_cvtph_ps): Likewise. | |
2615 | (_cvtss_sh): Likewise. | |
2616 | (_mm_cvtps_ph): Likewise. | |
2617 | (_mm256_cvtps_ph): Likewise. | |
2618 | ||
2619 | * config/i386/sse.md (vcvtph2ps): New. | |
2620 | (*vcvtph2ps_load): Likewise. | |
2621 | (vcvtph2ps256): Likewise. | |
2622 | (vcvtps2ph): Likewise. | |
2623 | (*vcvtps2ph): Likewise. | |
2624 | (*vcvtps2ph_store): Likewise. | |
2625 | (vcvtps2ph256): Likewise. | |
2626 | ||
2627 | * doc/extend.texi: Document FSGSBASE and RDRND built-in functions. | |
2628 | ||
2629 | * doc/invoke.texi: Document -mfsgsbase, -mrdrnd and -mf16c. | |
2630 | ||
3341aeda JR |
2631 | 2010-07-05 Joern Rennecke <joern.rennecke@embecosm.com> |
2632 | ||
2633 | PR bootstrap/44512 | |
2634 | * genenums.c (main): Output include of insn-constants.h | |
2635 | * Makefile.in (insn-enums.o): Depend on insn-constants.h. | |
2636 | ||
71b2fd74 UB |
2637 | 2010-07-05 Uros Bizjak <ubizjak@gmail.com> |
2638 | ||
2639 | * config/i386/i386.c (ix86_gen_allocate_stack_worker): New. | |
2640 | (override_options): Initialize it. | |
2641 | (ix86_expand_prologue): Use it. | |
2642 | ||
938650d8 JJ |
2643 | 2010-07-05 Jakub Jelinek <jakub@redhat.com> |
2644 | ||
2645 | * tree-nrv.c (tree_nrv): Set DECL_VALUE_EXPR on found to result. | |
2646 | ||
88e06841 AS |
2647 | 2010-07-05 Anatoly Sokolov <aesok@post.ru> |
2648 | ||
2649 | * double-int.h (fit_double_type): Remove declaration. | |
2650 | * double-int.c (fit_double_type): Remove function. | |
2651 | * tree.h (int_fits_type_p): Adjust prototype. | |
2652 | * tree.c (int_fits_type_p): Return bool. Use double_int_fits_to_tree_p | |
2653 | instead of fit_double_type. | |
2654 | (build_int_cst_type): Use double_int_to_tree and shwi_to_double_int | |
2655 | instead of fit_double_type and build_int_cst_wide. | |
2656 | * builtins.c (): Use double_int_fits_to_tree_p and double_int_to_tree | |
2657 | instead of fit_double_type and build_int_cst_wide. | |
2658 | (fold_builtin_object_size): Use double_int_fits_to_tree_p instead | |
2659 | of fit_double_type. | |
2660 | ||
92eb4438 JH |
2661 | 2010-07-05 Jan Hubicka <jh@suse.cz> |
2662 | ||
2663 | * cgraph.h (cgraph_node, cgraph_varpool_node): Update docmentation of | |
2664 | in_other_partition. | |
2665 | * lto-cgraph.c (referenced_from_other_partition_p, | |
2666 | reachable_from_other_partition_p): Use in_other_partition flags. | |
2667 | (output_node, output_varpool_node): COMDAT nodes always have private | |
2668 | copies and thus are never used from other partition. | |
2669 | ||
69e18c09 AS |
2670 | 2010-07-05 Anatoly Sokolov <aesok@post.ru> |
2671 | ||
2672 | * config/ia64/ia64.h (MEMORY_MOVE_COST): Remove macro. | |
2673 | * config/ia64/t-ia64 (ia64.o): Depend on reload.h. | |
2674 | * config/ia64/ia64.c Include reload.h. | |
2675 | (ia64_memory_move_cost): New function. | |
2676 | (TARGET_MEMORY_MOVE_COST): Define. | |
2677 | (ia64_register_move_cost): Replace MEMORY_MOVE_COST with | |
2678 | memory_move_cost. | |
2679 | ||
16ad8025 SL |
2680 | 2010-07-05 Sandra Loosemore <sandra@codesourcery.com> |
2681 | ||
2682 | PR middle-end/42505 | |
16ad8025 SL |
2683 | * tree-ssa-loop-ivopts.c (determine_set_costs): Delete obsolete |
2684 | comments about cost model. | |
2685 | (try_add_cand_for): Add second strategy for choosing initial set | |
2686 | based on original IVs, controlled by ORIGINALP argument. | |
2687 | (get_initial_solution): Add ORIGINALP argument. | |
2688 | (find_optimal_iv_set_1): New function, split from find_optimal_iv_set. | |
2689 | (find_optimal_iv_set): Try two different strategies for choosing | |
2690 | the IV set, and return the one with lower cost. | |
2691 | ||
bdf0f819 RG |
2692 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
2693 | ||
9aa5922d | 2694 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Copy alias info. |
bdf0f819 | 2695 | |
a41e5e86 RG |
2696 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
2697 | ||
2698 | * tree.c (reference_alias_ptr_type): New function. | |
2699 | * tree.h (reference_alias_ptr_type): Declare. | |
2700 | * tree-ssa-loop-ivopts.c (copy_ref_info): Restructure to | |
2701 | allow non-TARGET_MEM_REF new refs. | |
94dbbc81 | 2702 | (rewrite_use_address): Pass old alias pointer type to create_mem_ref. |
a41e5e86 RG |
2703 | * tree-ssa-address.c (create_mem_ref_raw): Get alias pointer type. |
2704 | Build a MEM_REF instead of a TARGET_MEM_REF if possible. | |
2705 | (create_mem_ref): Get alias pointer type. Adjust calls to | |
2706 | create_mem_ref_raw. | |
2707 | (maybe_fold_tmr): Likewise. | |
2708 | * tree-flow.h (create_mem_ref): Adjust prototype. | |
2709 | ||
f2896bc9 JJ |
2710 | 2010-07-05 Jakub Jelinek <jakub@redhat.com> |
2711 | ||
2712 | PR c++/44808 | |
2713 | * gimplify.c (gimplify_modify_expr): Only SET_DECL_DEBUG_EXPR if | |
2714 | *from_p is VAR_DECL. | |
2715 | ||
cfe6dea2 NF |
2716 | 2010-07-05 Nathan Froyd <froydnj@codesourcery.com> |
2717 | ||
2718 | * tree.h (build_call_list): Remove. | |
2719 | * tree.c (build_call_list): Remove. | |
2720 | ||
e22f7f31 RB |
2721 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
2722 | ||
2723 | * double-int.h (double_int_sub): Declare. | |
2724 | * double-int.c (double_int_sub): New function. | |
2725 | * dwarf2out.c (field_byte_offset): Use it. | |
2726 | * fixed-value.c (do_fixed_add): Likewise. | |
2727 | (do_fixed_multiply): Likewise. | |
2728 | (do_fixed_divide): Likewise. | |
2729 | * tree-predcom.c (add_ref_to_chain): Likewise. | |
2730 | (determine_roots_comp): Likewise. | |
2731 | * tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Likewise. | |
2732 | ||
989ea525 NF |
2733 | 2010-07-05 Nathan Froyd <froydnj@codesourcery.com> |
2734 | ||
2735 | * vec.h (VEC_splice, VEC_safe_splice): New macros. Add function | |
2736 | implementations. | |
2737 | ||
7ec6356e BS |
2738 | 2010-07-05 Bernd Schmidt <bernds@codesourcery.com> |
2739 | ||
2740 | * config/arm/arm.c (get_arm_condition_code): Remove CC_NOTBmode case. | |
2741 | * arm-modes.def (CC_NOTB): Don't define. | |
2742 | * config/arm/arm.md (arm_adddi3): Generate canonical RTL. | |
2743 | (adddi_sesidi_di, adddi_zesidi_di): Likewise. | |
2744 | (LTUGEU): New code_iterator. | |
2745 | (cnb, optab): New corresponding code_attrs. | |
2746 | (addsi3_carryin_<optab>): Renamed from addsi3_carryin. Change pattern | |
2747 | to canonical form. Operands 1 and 2 are commutative. Parametrize | |
2748 | using LTUGEU. | |
2749 | (addsi3_carryin_shift_<optab>): Likewise. | |
2750 | (addsi3_carryin_alt2_<optab>): Renamed from addsi3_carryin_alt2. | |
2751 | Operands 1 and 2 are commutative. Parametrize using LTUGEU. | |
2752 | (addsi3_carryin_alt1, addsi3_carryin_alt3): Remove. | |
94dbbc81 UB |
2753 | (subsi3_compare): Renamed from subsi3_compare0_c. |
2754 | Change CC_NOTB to CC. | |
7ec6356e BS |
2755 | (arm_subsi3_insn): Allow constants for operand 0. |
2756 | (compare_scc peephole for eq case): New. | |
2757 | (compare_scc splitters): Change CC_NOTB to CC. | |
2758 | ||
75421dcd RG |
2759 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
2760 | ||
2761 | * tree-ssa-loop-im.c (for_each_index): Do not handle | |
2762 | ALIGN_INDIRECT_REF. | |
2763 | (gen_lsm_tmp_name): Likewise. | |
2764 | * tree-dump.c (dequeue_and_dump): Likewise. | |
2765 | * tree-pretty-print.c (dump_generic_node): Likewise. | |
2766 | (op_code_prio): Likewise. | |
2767 | (op_symbol_code): Likewise. | |
2768 | * tree.c (staticp): Likewise. | |
2769 | (build1_stat): Likewise. | |
2770 | * tree.h (INDIRECT_REF_P): Likewise. | |
2771 | * fold-const.c (maybe_lvalue_p): Likewise. | |
2772 | (operand_equal_p): Likewise. | |
2773 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Likewise. | |
2774 | (ao_ref_init_from_vn_reference): Likewise. | |
2775 | * tree-ssa-loop-ivopts.c (idx_find_step): Likewise. | |
2776 | (find_interesting_uses_address): Likewise. | |
2777 | * dwarf2out.c (loc_list_from_tree): Likewise. | |
2778 | * gimplify.c (gimplify_expr): Likewise. | |
2779 | * tree-eh.c (tree_could_trap_p): Likewise. | |
2780 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. | |
2781 | * cfgexpand.c (expand_debug_expr): Likewise. | |
2782 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Likewise. | |
2783 | * tree-ssa-loop-prefetch.c (idx_analyze_ref): Likewise. | |
2784 | * tree-cfg.c (verify_types_in_gimple_min_lval): Likewise. | |
2785 | * config/rs6000/rs6000 (rs6000_check_sdmode): Likewise. | |
2786 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
2787 | * expr.c (safe_from_p): Likewise. | |
2788 | (expand_expr_real_1): Likewise. TER BIT_AND_EXPRs into MEM_REFs. | |
2789 | * tree-vect-data-refs.c (vect_setup_realignment): Build | |
2790 | BIT_AND_EXPR and MEM_REF instead of ALIGN_INDIRECT_REF. | |
2791 | * tree-vect-stmts.c (vectorizable_load): Likewise. | |
2792 | * tree.def (ALIGN_INDIRECT_REF): Remove. | |
2793 | ||
5d657263 RG |
2794 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
2795 | ||
2796 | PR tree-optimization/44784 | |
2797 | * tree-ssa-pre.c (bitmap_find_leader): Fix dominance check | |
2798 | for inserted stmts. | |
2799 | (find_or_generate_expression): Fix SCCVN insertion check. | |
2800 | ||
3cd0d4fa NS |
2801 | 2010-07-05 Nathan Sidwell <nathan@codesourcery.com> |
2802 | ||
2803 | * config/rs6000/e500crtsavg64gprctr.asm: Correct done label name. | |
2804 | * config/rs6000/e500crtsav64gprctr.asm: Likewise. | |
2805 | * config/rs6000/e500crtres64gprctr.asm: Likewise. Add FUNC_END | |
2806 | directives. | |
2807 | ||
9940b13c IR |
2808 | 2010-07-05 Ira Rosen <irar@il.ibm.com> |
2809 | ||
2810 | * tree-vect-loop.c (vect_get_single_scalar_iteraion_cost): Skip | |
2811 | statements that are not vectorized. | |
2812 | * tree-vect-stmts.c (vect_get_load_cost): Update the value stored | |
94dbbc81 | 2813 | in INSIDE_COST. |
9940b13c | 2814 | |
e4dde839 MP |
2815 | 2010-07-05 Mikael Pettersson <mikpe@it.uu.se> |
2816 | ||
2817 | PR bootstrap/44820 | |
2818 | * config/arm/arm.c (arm_attr_length_move_neon): Delete regno. | |
2819 | ||
e3061843 RB |
2820 | 2010-07-05 Richard Guenther <rguenther@suse.de> |
2821 | ||
2822 | * tree-cfg.c (verify_gimple_return): Handle DECL_BY_REFERENCE | |
2823 | RESULT_DECLs properly. | |
2824 | ||
c2a78352 L |
2825 | 2010-07-04 H.J. Lu <hongjiu.lu@intel.com> |
2826 | ||
2827 | PR rtl-optimization/44695 | |
2828 | * config/i386/i386.md (extract_code): Removed. | |
2829 | (<u>divmodqi4): Likewise. | |
2830 | (divmodqi4): New. | |
2831 | (udivmodqi4): Likewise. | |
94dbbc81 | 2832 | (divmodhiqi3): Change div/mod to HImode and extend operand 2 to HImode. |
c2a78352 L |
2833 | (udivmodhiqi3): Likewise. |
2834 | ||
4aa1c0d5 JH |
2835 | 2010-07-04 Jan Hubicka <jh@suse.cz> |
2836 | ||
2837 | * lto-cgraph.c (input_edge): Do not care about resolution decisions. | |
2838 | ||
a05541a9 JH |
2839 | 2010-07-04 Jan Hubicka <jh@suse.cz> |
2840 | ||
94dbbc81 UB |
2841 | * cgraphunit.c (init_cgraph): Only initialize dump file if it |
2842 | is not already initialized. | |
a05541a9 | 2843 | |
f9621cc4 RS |
2844 | 2010-07-04 Richard Sandiford <rdsandiford@googlemail.com> |
2845 | ||
2846 | * optabs.h (reload_in_optab, reload_out_optab, code_to_optab) | |
2847 | (vcond_gen_code, vcondu_gen_code, movmem_optab, setmem_optab) | |
2848 | (cmpstr_optab, cmpstrn_optab, cmpmem_optab, sync_add_optab) | |
2849 | (sync_sub_optab, sync_ior_optab, sync_and_optab, sync_xor_optab) | |
2850 | (sync_nand_optab, sync_old_add_optab, sync_old_sub_optab) | |
2851 | (sync_old_ior_optab, sync_old_and_optab, sync_old_xor_optab) | |
2852 | (sync_old_nand_optab, sync_new_add_optab, sync_new_sub_optab) | |
2853 | (sync_new_ior_optab, sync_new_and_optab, sync_new_xor_optab) | |
2854 | (sync_new_nand_optab): Redefine as macros. | |
2855 | (sync_compare_and_swap, sync_lock_test_and_set, sync_lock_release): | |
2856 | Delete. | |
2857 | (direct_optab_index): New enum. | |
2858 | (direct_optab_d): New structure. | |
2859 | (direct_optab): New typedef. | |
2860 | (direct_optab_table): Declare. | |
2861 | (direct_optab_handler, set_direct_optab_handler): New functions. | |
2862 | (sync_compare_and_swap_optab, sync_lock_test_and_set_optab) | |
2863 | (sync_lock_release_optab): New macros. | |
2864 | * optabs.c (direct_optab_table): New variable. | |
2865 | (movcc_gen_code, vcond_gen_code, vcondu_gen_code): Delete. | |
2866 | (prepare_cmp_insn): Use direct_optab_handler for cmpmem_optab, | |
2867 | cmpstr_optab and cmpstrn_optab. | |
2868 | (emit_conditional_move): Likewise for movcc_optab. | |
2869 | (can_conditionally_move_p): Likewise for movcc_gen_code. | |
2870 | (init_insn_codes): Clear direct_optab_table. | |
2871 | (init_optabs): Don't initialize the new "direct optabs" here. | |
2872 | (get_vcond_icode): Use direct_optab_handler for vcondu_gen_code and | |
2873 | vcond_gen_code. | |
2874 | (expand_val_compare_and_swap): Likewise sync_compare_and_swap_optab. | |
2875 | (expand_bool_compare_and_swap): Likewise sync_compare_and_swap_optab. | |
2876 | (expand_compare_and_swap_loop): Likewise sync_compare_and_swap_optab. | |
2877 | (expand_sync_operation): Likewise other sync_*_optabs. | |
2878 | (expand_sync_fetch_operation): Likewise. Rename sync_compare_and_swap | |
2879 | to sync_compare_and_swap_optab. | |
2880 | (expand_sync_lock_test_and_set): Use direct_optab_handler for | |
2881 | sync_lock_test_and_set and sync_compare_and_swap, adding "_optab" | |
2882 | to the names of both. | |
2883 | * builtins.c (expand_builtin_strcmp): Use direct_optab_handler for | |
2884 | cmpstr_optab and cmpstrn_optab. | |
2885 | (expand_builtin_lock_release): Likewise sync_lock_release. | |
2886 | * expr.c (movmem_optab, setmem_optab, cmpstr_optab, cmpstrn_optab) | |
2887 | (cmpmem_optab, sync_add_optab, sync_sub_optab, sync_ior_optab) | |
2888 | (sync_and_optab, sync_xor_optab, sync_nand_optab, sync_old_add_optab) | |
2889 | (sync_old_sub_optab, sync_old_ior_optab, sync_old_and_optab) | |
2890 | (sync_old_xor_optab, sync_old_nand_optab, sync_new_add_optab) | |
2891 | (sync_new_sub_optab, sync_new_ior_optab, sync_new_and_optab) | |
2892 | (sync_new_xor_optab, sync_new_nand_optab, sync_compare_and_swap) | |
2893 | (sync_lock_test_and_set, sync_lock_release): Delete. | |
2894 | (emit_block_move_via_movmem): Use direct_optab_handler for movmem_optab. | |
2895 | (emit_block_move_via_setmem): Use direct_optab_handler for setmem_optab. | |
2896 | * genopinit.c (optabs): Use set_direct_optab_handler for the new | |
2897 | macro optabs. | |
2898 | * omp-low.c (expand_omp_atomic_fetch_op): Update the type of | |
2899 | the "optab" local variable. Use direct_optab_handler for optab and | |
2900 | sync_compare_and_swap_optab. | |
2901 | * reload1.c (reload_in_optab, reload_out_optab): Delete. | |
2902 | * targhooks.c (default_secondary_reload): Use direct_optab_handler for | |
2903 | reload_in_optab and reload_out_optab. | |
2904 | * config/alpha/alpha.c (alpha_secondary_reload): Likewise. | |
2905 | * config/frv/frv.c (frv_alloc_temp_reg): Likewise. | |
2906 | * config/pa/pa.c (pa_secondary_reload): Likewise. | |
2907 | * java/builtins.c (compareAndSwapInt_builtin): Use direct_optab_handler | |
2908 | for sync_compare_and_swap, renaming it to sync_compare_and_swap_optab. | |
2909 | (compareAndSwapLong_builtin, compareAndSwapObject_builtin): Likewise. | |
2910 | (VMSupportsCS8_builtin): Likewise. | |
2911 | ||
596455ce RS |
2912 | 2010-07-04 Richard Sandiford <rdsandiford@googlemail.com> |
2913 | ||
2914 | * optabs.h (optab_handlers): Change type of insn_code to int. | |
2915 | (optab_handler, set_optab_handler, convert_optab_handler) | |
2916 | (set_convert_optab_handler): Treat the insn_code field as "insn_code - | |
2917 | CODE_FOR_nothing". | |
2918 | * optabs.c (optab_table, convert_optab_table): Always zero-initialize. | |
2919 | (init_insn_codes): Zero both the above arrays. | |
2920 | (init_optabs): Never call init_insn_codes first time around. | |
2921 | ||
947131ba RS |
2922 | 2010-07-04 Richard Sandiford <rdsandiford@googlemail.com> |
2923 | ||
2924 | * optabs.h (optab_handler, convert_optab_handler): Turn into | |
2925 | inline functions that return an insn code. | |
2926 | (set_optab_handler, set_convert_optab_handler): New functions. | |
2927 | * builtins.c: Replace optab_handler(X)->insn_code with | |
2928 | optab_handler or set_optab_handler thoughout. Likewise | |
2929 | convert_optab_handler(X)->insn_code with convert_optab_handler | |
2930 | and set_convert_optab_handler. | |
2931 | * expmed.c, expr.c, genopinit.c, ifcvt.c, optabs.c, reload.c, | |
2932 | reload1.c, stmt.c, targhooks.c, tree-ssa-loop-prefetch.c, | |
2933 | tree-ssa-math-opts.c, tree-vect-data-refs.c, tree-vect-generic.c, | |
2934 | tree-vect-loop.c, tree-vect-patterns.c, tree-vect-slp.c, | |
2935 | tree-vect-stmts.c, config/m32c/m32c.c, config/rs6000/rs6000.c, | |
2936 | config/spu/spu.c: Likewise. | |
2937 | ||
47e5ff44 KK |
2938 | 2010-07-04 Kaz Kojima <kkojima@gcc.gnu.org> |
2939 | ||
2940 | PR target/44531 | |
2941 | * config.gcc (sh*-*-*): Use regular expressions instead of | |
2942 | the 'i' modifier for sed substitutions. | |
2943 | ||
abbd64b9 JS |
2944 | 2010-07-04 Jeremie Salvucci <jeremie.salvucci@free.fr> |
2945 | ||
2946 | * gimple.c (gimple_body): Comments added. | |
2947 | ||
7f5ad6d7 RG |
2948 | 2010-07-04 Richard Guenther <rguenther@suse.de> |
2949 | ||
2950 | PR middle-end/44809 | |
2951 | * gimplify.c (gimplify_expr): Properly build a MEM_REF instead | |
2952 | of an INDIRECT_REF. | |
2953 | ||
17fc049f RG |
2954 | 2010-07-04 Richard Guenther <rguenther@suse.de> |
2955 | ||
2956 | PR tree-optimization/44479 | |
2957 | * tree-ssa-loop-ivopts.c (rewrite_use_nonlinear_expr): Avoid | |
2958 | extra SSA name copy statements which preserves points-to | |
2959 | information. | |
2960 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
2961 | Copy points-to information for all pointers. Properly handle | |
2962 | MEM_REFs. | |
2963 | (vect_create_data_ref_ptr): Likewise. Avoid extra SSA name | |
2964 | copy statements. | |
2965 | * Makefile.in (tree-ssa-loop-ivopts.o): Add tree-ssa-propagate.h | |
2966 | dependency. | |
2967 | ||
72aa3dca RG |
2968 | 2010-07-04 Richard Guenther <rguenther@suse.de> |
2969 | ||
2970 | PR middle-end/44785 | |
2971 | * tree-inline.c (initialize_inlined_parameters): Do not | |
2972 | re-use pointer-map slot over remap_type call. | |
2973 | ||
ef2a9157 RG |
2974 | 2010-07-04 Richard Guenther <rguenther@suse.de> |
2975 | ||
2976 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Fix last commit. | |
2977 | ||
4fa4929e RG |
2978 | 2010-07-04 Richard Guenther <rguenther@suse.de> |
2979 | ||
2980 | PR tree-optimization/44656 | |
2981 | * tree-ssa-sccvn.c (vn_reference_lookup_3): Try disambiguation | |
2982 | again after value-replacing in the defintions lhs. | |
2983 | ||
720f5239 IR |
2984 | 2010-07-04 Ira Rosen <irar@il.ibm.com> |
2985 | Revital Eres <eres@il.ibm.com> | |
2986 | ||
94dbbc81 | 2987 | * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): |
720f5239 IR |
2988 | Document new arguments. |
2989 | * doc/tm.texi: Regenerate. | |
2990 | * targhooks.c (default_builtin_vectorization_cost): Add new arguments. | |
2991 | Handle unaligned store. | |
2992 | * targhooks.h (default_builtin_vectorization_cost): Add new arguments. | |
2993 | * target.def (builtin_vectorization_cost): Add new arguments. | |
2994 | * target.h (enum vect_cost_for_stmt): Add unaligned_store. | |
2995 | * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Take number | |
2996 | of iterations of prolog loop directly from LOOP_PEELING_FOR_ALIGNMENT. | |
2997 | (vect_vfa_segment_size): Fix indentation. | |
2998 | * tree-vectorizer.h (struct _vect_peel_info): New. | |
2999 | (struct _vect_peel_extended_info): New. | |
3000 | (struct _loop_vec_info): Add new field for peeling hash table and a | |
3001 | macro for its access. | |
3002 | (VECT_MAX_COST): Define. | |
3003 | (vect_get_load_cost): Declare. | |
94dbbc81 | 3004 | (vect_get_store_cost, vect_get_known_peeling_cost, |
720f5239 IR |
3005 | vect_get_single_scalar_iteraion_cost): Likewise. |
3006 | (vect_supportable_dr_alignment): Add new argument. | |
3007 | * tree-vect-loop.c (new_loop_vec_info): Initialize peeling hash table | |
3008 | field. | |
3009 | (destroy_loop_vec_info): Free peeling hash table. | |
3010 | (vect_analyze_loop_form): Update call to builtin_vectorization_cost. | |
3011 | (vect_analyze_loop): Move vect_enhance_data_refs_alignment before | |
3012 | vect_analyze_slp. Fix indentation. | |
3013 | (vect_get_single_scalar_iteraion_cost): New function. | |
3014 | (vect_get_known_peeling_cost): Likewise. | |
94dbbc81 UB |
3015 | (vect_estimate_min_profitable_iters): Rename byte_misalign to npeel. |
3016 | Call vect_get_single_scalar_iteraion_cost instead of cost_for_stmt per | |
720f5239 IR |
3017 | statement. Move outside cost calculation inside unknown peeling case. |
3018 | Call vect_get_known_peeling_cost for known amount of peeling. | |
3019 | * tree-vect-data-refs.c (vect_compute_data_ref_alignment): Add data | |
3020 | reference to the print message of forced alignment. | |
94dbbc81 | 3021 | (vect_verify_datarefs_alignment): Update call to |
720f5239 IR |
3022 | vect_supportable_dr_alignment. |
3023 | (vect_get_data_access_cost): New function. | |
3024 | (vect_peeling_hash, vect_peeling_hash_eq, vect_peeling_hash_insert, | |
3025 | vect_peeling_hash_get_most_frequent, vect_peeling_hash_get_lowest_cost, | |
3026 | vect_peeling_hash_choose_best_peeling): Likewise. | |
3027 | (vect_enhance_data_refs_alignment): Fix documentation. Use hash table | |
3028 | to store all the accesses in the loop and find best possible access to | |
3029 | align using peeling for known alignment case. For unknown alignment | |
3030 | check if stores are preferred or if peeling is worthy. | |
3031 | (vect_find_same_alignment_drs): Analyze pairs of loads too. | |
3032 | (vect_supportable_dr_alignment): Add new argument and check aligned | |
94dbbc81 | 3033 | accesses according to it. |
720f5239 | 3034 | * tree-vect-stmts.c (vect_get_stmt_cost): New function. |
94dbbc81 | 3035 | (cost_for_stmt): Call vect_get_stmt_cost. |
720f5239 | 3036 | (vect_model_simple_cost): Likewise. |
94dbbc81 | 3037 | (vect_model_store_cost): Call vect_get_stmt_cost. Call |
720f5239 IR |
3038 | vect_get_store_cost to calculate the cost of the statement. |
3039 | (vect_get_store_cost): New function. | |
94dbbc81 | 3040 | (vect_model_load_cost): Call vect_get_stmt_cost. Call |
720f5239 IR |
3041 | vect_get_load_cost to calculate the cost of the statement. |
3042 | (vect_get_load_cost): New function. | |
3043 | (vectorizable_store): Update call to vect_supportable_dr_alignment. | |
3044 | (vectorizable_load): Likewise. | |
94dbbc81 | 3045 | * config/spu/spu.c (spu_builtin_vectorization_cost): Add new arguments. |
720f5239 IR |
3046 | * config/i386/i386.c (ix86_builtin_vectorization_cost): Add new |
3047 | arguments. Handle unaligned store. | |
3048 | * config/rs6000/rs6000.c (rs6000_builtin_vectorization_cost): New. | |
3049 | (rs6000_builtin_support_vector_misalignment): Return true for word and | |
3050 | double word alignments for VSX. | |
94dbbc81 | 3051 | * tree-vect-slp.c (vect_build_slp_tree): Update calls to |
720f5239 IR |
3052 | vect_supportable_dr_alignment and builtin_vectorization_cost. |
3053 | ||
d3ca3d6b JDA |
3054 | 2010-07-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3055 | ||
3056 | PR target/44597 | |
3057 | * config/pa/predicates.md (prefetch_cc_operand): Remove. | |
3058 | (prefetch_nocc_operand): Likewise. | |
3059 | * config/pa/pa.md (prefetch): Revise expander to use prefetch_20. | |
3060 | (prefetch_20): New insn. | |
3061 | (prefetch_cc): Remove. | |
3062 | (prefetch_nocc): Likewise. | |
3063 | ||
4d451982 MLI |
3064 | 2010-07-03 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3065 | ||
3066 | * expr.c (vector_mode_valid_p): Move to c-common.c. | |
3067 | * expr.h (vector_mode_valid_p): Do not declare here. | |
3068 | * system.h: Poison GCC_EXPR_H in front-ends. | |
3069 | * Makefile.in: Update dependencies. | |
3070 | ||
3a0c7e3a JDA |
3071 | 2010-07-03 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
3072 | ||
3073 | PR target/44705 | |
3074 | * config/pa/pa.h (GO_IF_LEGITIMATE_ADDRESS): Reject LABEL_REF. | |
3075 | ||
f029db69 JH |
3076 | 2010-07-03 Jan Hubicka <jh@suse.cz> |
3077 | ||
3078 | * timevar.def (TV_OUT_OF_SSA, TV_VAR_EXPAND, TV_POST_EXPAND, | |
3079 | TV_VAR_TRACKING_DATAFLOW, TV_VAR_TRACKING_EMIT): New timevars. | |
3080 | * cfgexpand.c (gimple_expand_cfg): Use new timevars. | |
3081 | * var-tracking.c (vt_find_locations, variable_tracking_main_1): | |
3082 | Likewise. | |
3083 | ||
3084 | * lto-stramer-out.c (pass_ipa_lto_gimple_out, pass_ipa_lto_finish_out): | |
3085 | Update timevars.V | |
3086 | * timevar.def (TV_IPA_LTO_GIMPLE_IO, TV_IPA_LTO_DECL_IO): Remove. | |
3087 | (TV_IPA_LTO_GIMPLE_IN, TV_IPA_LTO_GIMPLE_OUT, TV_IPA_LTO_DECL_IN, | |
3088 | TV_IPA_LTO_DECL_OUT): New. | |
3089 | * lto.c (read_cgraph_and_symbols, materialize_cgraph): Update timevars. | |
3090 | ||
9b8051b4 JH |
3091 | 2010-07-03 Jan Hubicka <jh@suse.cz> |
3092 | ||
3093 | * ipa-inline.c (update_edge_key): Break out from ... | |
3094 | update_callers_keys): ... here; | |
3095 | (update_callee_keys): Update only the edges from caller to callee. | |
3096 | (update_all_calle_keys): Do what update_calle_keys did. | |
3097 | (decide_inlining_of_small_functions): Avoid recomputing of all | |
3098 | callees when badness increase. | |
3099 | ||
7c4f0041 JZ |
3100 | 2010-07-03 Jie Zhang <jie@codesourcery.com> |
3101 | ||
3102 | * config/arm/arm.c (arm_attr_length_move_neon): New. | |
3103 | * config/arm/arm-protos.h (arm_attr_length_move_neon): Declare. | |
3104 | * config/arm/neon.md (define_mode_attr V_slen): Remove. | |
3105 | (neon_mov<mode> for VSTRUCT): Use arm_attr_length_move_neon | |
3106 | to compute length attribute. | |
3107 | ||
4e6f5666 JZ |
3108 | 2010-07-03 Jie Zhang <jie@codesourcery.com> |
3109 | ||
3110 | * config/arm/vfp.md (*push_multi_vfp): Use vfp_register_operand | |
3111 | as predicate for operand 1 and remove its constraint. | |
3112 | * config/arm/predicates.md (vfp_register_operand): New. | |
94dbbc81 | 3113 | * config/arm/arm.md (*push_multi): Remove the constraint of operand 1. |
4e6f5666 JZ |
3114 | (*push_fp_multi): Likewise. |
3115 | ||
6687b740 EB |
3116 | 2010-07-03 Eric Botcazou <ebotcazou@adacore.com> |
3117 | ||
3118 | * gimplify.c (mostly_copy_tree_r): Deal with BIND_EXPR. | |
3119 | ||
3120 | 2010-07-03 Jan Hubicka <jh@suse.cz> | |
bd7f30a1 JH |
3121 | |
3122 | * config/i386/i386.c (override_options): Revert accidental commit. | |
3123 | ||
3f59fa1c LCW |
3124 | 2010-07-02 Le-Chun Wu <lcwu@google.com> |
3125 | ||
e2cb8da2 | 3126 | PR c++/44128 |
3f59fa1c LCW |
3127 | * doc/invoke.texi: Update documentation of -Wshadow. |
3128 | ||
73160ba9 DJ |
3129 | 2010-07-02 Daniel Jacobowitz <dan@codesourcery.com> |
3130 | Julian Brown <julian@codesourcery.com> | |
3131 | Sandra Loosemore <sandra@codesourcery.com> | |
3132 | ||
3133 | * config/arm/arm.c (arm_canonicalize_comparison): Canonicalize DImode | |
3134 | comparisons. Adjust to take both operands. | |
3135 | (arm_select_cc_mode): Handle DImode comparisons. | |
3136 | (arm_gen_compare_reg): Generate a scratch register for DImode | |
3137 | comparisons which require one. Use xor for Thumb equality checks. | |
3138 | (arm_const_double_by_immediates): New. | |
3139 | (arm_print_operand): Allow 'Q' and 'R' for constants. | |
3140 | (get_arm_condition_code): Handle new CC_CZmode and CC_NCVmode. | |
3141 | * config/arm/arm.h (CANONICALIZE_COMPARISON): Always use | |
3142 | arm_canonicalize_comparison. | |
3143 | * config/arm/arm-modes.def: Add CC_CZmode and CC_NCVmode. | |
3144 | * config/arm/arm-protos.h (arm_canonicalize_comparison): Update | |
3145 | prototype. | |
3146 | (arm_const_double_by_immediates): Declare. | |
3147 | * config/arm/constraints.md (Di): New constraint. | |
3148 | * config/arm/predicates.md (arm_immediate_di_operand) | |
3149 | (arm_di_operand, cmpdi_operand): New. | |
3150 | * config/arm/arm.md (cbranchdi4): Handle non-Cirrus also. | |
3151 | (*arm_cmpdi_insn, *arm_cmpdi_unsigned) | |
3152 | (*arm_cmpdi_zero, *thumb_cmpdi_zero): New insns. | |
3153 | (cstoredi4): Handle non-Cirrus also. | |
3154 | ||
400cfcf5 JB |
3155 | 2010-07-02 Julian Brown <julian@codesourcery.com> |
3156 | Sandra Loosemore <sandra@codesourcery.com> | |
3157 | ||
3158 | PR target/43703 | |
400cfcf5 JB |
3159 | * config/arm/vec-common.md (add<mode>3, sub<mode>3, smin<mode>3) |
3160 | (smax<mode>3): Disable for NEON float modes when | |
3161 | flag_unsafe_math_optimizations is false. | |
3162 | * config/arm/neon.md (*add<mode>3_neon, *sub<mode>3_neon) | |
3163 | (*mul<mode>3_neon) | |
3164 | (mul<mode>3add<mode>_neon, mul<mode>3neg<mode>add<mode>_neon) | |
3165 | (reduc_splus_<mode>, reduc_smin_<mode>, reduc_smax_<mode>): Disable | |
3166 | for NEON float modes when flag_unsafe_math_optimizations is false. | |
94dbbc81 UB |
3167 | (quad_halves_<code>v4sf): Only enable if |
3168 | flag_unsafe_math_optimizations is true. | |
400cfcf5 JB |
3169 | * doc/invoke.texi (ARM Options): Add note about floating point |
3170 | vectorization requiring -funsafe-math-optimizations. | |
3171 | ||
bab53516 SL |
3172 | 2010-07-02 Sandra Loosemore <sandra@codesourcery.com> |
3173 | Julian Brown <julian@codesourcery.com> | |
3174 | ||
3175 | * config/arm/neon.md (UNSPEC_VABA): Delete. | |
3176 | (UNSPEC_VABAL): Delete. | |
3177 | (UNSPEC_VABS): Delete. | |
3178 | (UNSPEC_VMUL_N): Delete. | |
3179 | (adddi3_neon): New. | |
3180 | (subdi3_neon): New. | |
3181 | (mul<mode>3add<mode>_neon): Make the pattern named. | |
3182 | (mul<mode>3neg<mode>add<mode>_neon): Likewise. | |
3183 | (neon_vadd<mode>): Replace with define_expand, and move the remaining | |
3184 | unspec parts... | |
3185 | (neon_vadd<mode>_unspec): ...to this. | |
3186 | (neon_vmla<mode>, neon_vmla<mode>_unspec): Likewise. | |
3187 | (neon_vlms<mode>, neon_vmls<mode>_unspec): Likewise. | |
3188 | (neon_vsub<mode>, neon_vsub<mode>_unspec): Likewise. | |
3189 | (neon_vaba<mode>): Rewrite in terms of vabd. | |
3190 | (neon_vabal<mode>): Rewrite in terms of vabdl. | |
3191 | (neon_vabs<mode>): Rewrite without unspec. | |
3192 | * config/arm/arm.md (*arm_adddi3): Disable for TARGET_NEON. | |
3193 | (*arm_subdi3): Likewise. | |
3194 | * config/arm/neon.ml (Vadd, Vsub): Split out 64-bit variants and add | |
3195 | No_op attribute to disable assembly output checks. | |
3196 | * config/arm/arm_neon.h: Regenerated. | |
3197 | * doc/arm-neon-intrinsics.texi: Regenerated. | |
3198 | ||
556e9ba0 JH |
3199 | 2010-07-02 Jan Hubicka <jh@suse.cz> |
3200 | ||
e2cb8da2 EB |
3201 | * ipa-split.c (split_function): For aggregate values, set the return |
3202 | slot optimization bit. When passing DECL_BY_REFERENCE, produce | |
94dbbc81 | 3203 | *<retval> = fncall.part (). |
556e9ba0 JH |
3204 | (execute_split_functions): Do not care about DECL_BY_REFERENCE. |
3205 | ||
b3b7bbce SL |
3206 | 2010-07-02 Sandra Loosemore <sandra@codesourcery.com> |
3207 | ||
3208 | * config/arm/neon.md (UNSPEC_VAND): Delete. | |
3209 | (UNSPEC_VBIC): Delete. | |
3210 | (UNSPEC_VCLZ): Delete. | |
3211 | (UNSPEC_VCNT): Delete. | |
3212 | (UNSPEC_VEOR): Delete. | |
3213 | (UNSPEC_VORN): Delete. | |
3214 | (UNSPEC_VORR): Delete. | |
3215 | (iordi3_neon): Rewrite RTL without unspec. Add alternatives to handle | |
3216 | core registers too. | |
3217 | (anddi3_neon): Likewise. | |
3218 | (orndi3_neon): Likewise. | |
3219 | (bicdi3_neon): Likewise. | |
3220 | (xordi3_neon): Likewise. | |
3221 | (neon_vclz<mode>): Rewrite as define_expand and clz<mode>2 to get | |
3222 | rid of unspec and handle unused operand. | |
3223 | (neon_vcnt<mode>): Similarly, with popcount<mode>2. | |
3224 | * config/arm/predicates.md (imm_for_neon_logic_operand): | |
3225 | Require TARGET_NEON. | |
3226 | (imm_for_neon_inv_logic_operand): Likewise. | |
94dbbc81 | 3227 | * config/arm/arm.md (define_split for logical_binary_operator): |
b3b7bbce SL |
3228 | Disable for NEON registers. |
3229 | (anddi3): Add new define_expand, and rename the insn. Disable | |
3230 | this insn for NEON, where anddi3_neon now applies. | |
3231 | (*anddi_notdi_di): Disable for TARGET_NEON, where bicdi3_neon applies. | |
3232 | (iordi3): As for anddi3. | |
3233 | (xordi3): Likewise. | |
3234 | * config/arm/neon.ml (Vand): Split DImode variants and mark them | |
3235 | as No_op to disable testing for exact instruction match. | |
3236 | (Vorr): Likewise. | |
3237 | (Veor): Likewise. | |
3238 | (Vbic): Likewise. | |
3239 | (Vorn): Likewise. | |
3240 | * config/arm/arm_neon.h: Regenerated. | |
3241 | * doc/arm-neon-intrinsics.texi: Regenerated. | |
3242 | ||
260c8ba3 EB |
3243 | 2010-07-02 Eric Botcazou <ebotcazou@adacore.com> |
3244 | ||
3245 | * expr.h (emit_stack_probe): Declare. | |
3246 | * explow.c (emit_stack_probe): Make global. | |
3247 | (anti_adjust_stack_and_probe): Fix comments. | |
3248 | * config/sparc/linux.h (STACK_CHECK_STATIC_BUILTIN): Define to 1. | |
3249 | * config/sparc/linux64.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
3250 | * config/sparc/sol2.h (STACK_CHECK_STATIC_BUILTIN): Likewise. | |
3251 | * config/sparc/sparc.c: Include except.h. | |
3252 | (sparc_emit_probe_stack_range): New function. | |
3253 | (output_probe_stack_range): Likewise. | |
3254 | (sparc_expand_prologue): Invoke sparc_emit_probe_stack_range if static | |
3255 | built-in stack checking is enabled. | |
3256 | * config/sparc/sparc-protos.h (output_probe_stack_range): Declare. | |
3257 | * config/sparc/sparc.md (UNSPECV_PROBE_STACK_RANGE): New constant. | |
3258 | (probe_stack_range): New insn. | |
3259 | ||
e4f1aef1 RG |
3260 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
3261 | ||
3262 | PR target/43958 | |
3263 | * config/pa/pa.c (hppa_gimplify_va_arg_expr): Use pointer arithmetic | |
3264 | for argument alignment. | |
3265 | ||
2094f1fc JH |
3266 | 2010-07-02 Jan Hubicka <jh@suse.cz> |
3267 | ||
e2cb8da2 EB |
3268 | * ipa-split.c (verify_non_ssa_vars): Break out from ...; perform DFS |
3269 | walk backwards from entry_bb to check only those basic block of header | |
2094f1fc JH |
3270 | that might lead to execution of split part. |
3271 | (consider_split) ... here. | |
3272 | (find_return_bb): Allow assignment in return BB. | |
3273 | (find_retval): New. | |
260c8ba3 EB |
3274 | (split_function): Fix name of cloned function; take care of updating |
3275 | return value in return_bb containing move. | |
2094f1fc | 3276 | |
2dc8bd76 AS |
3277 | 2010-07-02 Andreas Schwab <schwab@linux-m68k.org> |
3278 | ||
3279 | PR target/44771 | |
3280 | * config/m68k/m68k.c (m68k_expand_prologue): Remove set but not | |
3281 | used variable insn. | |
3282 | ||
0acba2b4 EB |
3283 | 2010-07-02 Eric Botcazou <ebotcazou@adacore.com> |
3284 | ||
3285 | * implicit-zee.c (combine_reaching_defs): Fix long lines. | |
3286 | (is_set_with_extension_DI): Delete. | |
3287 | (struct zero_extend_info): New structure. | |
f4a4b582 | 3288 | (add_removable_zero_extend): New function. |
0acba2b4 EB |
3289 | (find_removable_zero_extends): Use note_stores to find SETs. |
3290 | (find_and_remove_ze): Fix long line, remove superfluous parentheses. | |
3291 | ||
14e444c3 CF |
3292 | 2010-07-02 Changpeng Fang <changpeng.fang@amd.com> |
3293 | ||
3294 | * tree-ssa-loop-prefetch.c (compute_miss_rate): Rename to | |
3295 | is_miss_rate_acceptable. Pull total_positions computation | |
3296 | out of the loops. Early return if miss_positions exceeds | |
3297 | the acceptable threshold. | |
3298 | * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Call | |
3299 | is_miss_rate_acceptable after renaming of compute_miss_rate. | |
3300 | ||
a245c04b CF |
3301 | 2010-07-02 Changpeng Fang <changpeng.fang@amd.com> |
3302 | ||
3303 | PR middle-end/44576 | |
3304 | * tree-ssa-loop-prefetch.c (compute_miss_rate): Return 1000 (out | |
3305 | of 1000) for miss rate if the address diference is greater than or | |
3306 | equal to the cache line size (the two reference will never hit the | |
3307 | same cache line). | |
3308 | ||
18e8200f BS |
3309 | 2010-07-02 Bernd Schmidt <bernds@codesourcery.com> |
3310 | ||
3311 | PR target/42835 | |
3312 | * config/arm/arm-modes.def (CC_NOTB): New mode. | |
3313 | * config/arm/arm.c (get_arm_condition_code): Handle it. | |
3314 | * config/arm/thumb2.md (thumb2_compare_scc): Delete pattern. | |
3315 | * config/arm/arm.md (subsi3_compare0_c): New pattern. | |
3316 | (compare_scc): Now a define_and_split. Add a number of extra | |
3317 | splitters before it. | |
3318 | ||
e4c6a07a BS |
3319 | PR target/42172 |
3320 | * config/arm/arm.c (thumb1_rtx_costs): Improve support for SIGN_EXTEND | |
3321 | and ZERO_EXTEND. | |
3322 | (arm_rtx_costs_1): Likewise. | |
3323 | (arm_size_rtx_costs): Use arm_rtx_costs_1 for these codes. | |
3324 | * config/arm/arm.md (is_arch6): New attribute. | |
3325 | (zero_extendhisi2, zero_extendqisi2, extendhisi2, | |
3326 | extendqisi2): Tighten the code somewhat, avoiding invalid | |
3327 | RTL to occur in the expander patterns. | |
3328 | (thumb1_zero_extendhisi2): Merge with thumb1_zero_extendhisi2_v6. | |
3329 | (thumb1_zero_extendhisi2_v6): Delete. | |
3330 | (thumb1_extendhisi2): Merge with thumb1_extendhisi2_v6. | |
3331 | (thumb1_extendhisi2_v6): Delete. | |
3332 | (thumb1_extendqisi2): Merge with thumb1_extendhisi2_v6. | |
3333 | (thumb1_extendqisi2_v6): Delete. | |
3334 | (zero_extendhisi2 for register input splitter): New. | |
3335 | (zero_extendqisi2 for register input splitter): New. | |
3336 | (thumb1_extendhisi2 for register input splitter): New. | |
3337 | (extendhisi2 for register input splitter): New. | |
3338 | (extendqisi2 for register input splitter): New. | |
3339 | (TARGET_THUMB1 extendqisi2 for memory input splitter): New. | |
3340 | (arm_zero_extendhisi2): Allow nonimmediate_operand for operand 1, | |
3341 | and add support for a register alternative requiring a split. | |
3342 | (thumb1_zero_extendqisi2): Likewise. | |
3343 | (arm_zero_extendqisi2): Likewise. | |
3344 | (arm_extendhisi2): Likewise. | |
3345 | (arm_extendqisi2): Likewise. | |
3346 | ||
a277dd9b SL |
3347 | 2010-07-02 Sandra Loosemore <sandra@codesourcery.com> |
3348 | ||
3349 | * config/arm/arm.c (neon_vdup_constant): Expand into canonical RTL | |
3350 | instead of an unspec. | |
3351 | (neon_expand_vector_init): Likewise. | |
3352 | * config/arm/neon.md (UNSPEC_VCOMBINE): Delete. | |
3353 | (UNSPEC_VDUP_LANE): Delete. | |
3354 | (UNSPEC VDUP_N): Delete. | |
3355 | (UNSPEC_VGET_HIGH): Delete. | |
3356 | (UNSPEC_VGET_LANE): Delete. | |
3357 | (UNSPEC_VGET_LOW): Delete. | |
3358 | (UNSPEC_VMVN): Delete. | |
3359 | (UNSPEC_VSET_LANE): Delete. | |
3360 | (V_double_vector_mode): New. | |
3361 | (vec_set<mode>_internal): Make code emitted match that for the | |
3362 | corresponding intrinsics. | |
3363 | (vec_setv2di_internal): Likewise. | |
3364 | (neon_vget_lanedi): Rewrite to expand into emit_move_insn. | |
3365 | (neon_vget_lanev2di): Rewrite to expand into vec_extractv2di. | |
3366 | (neon_vset_lane<mode>): Combine double and quad patterns and | |
3367 | expand into vec_set<mode>_internal instead of UNSPEC_VSET_LANE. | |
3368 | (neon_vset_lanedi): Rewrite to expand into emit_move_insn. | |
3369 | (neon_vdup_n<mode>): Rewrite RTL without unspec. | |
3370 | (neon_vdup_ndi): Rewrite as define_expand and use emit_move_insn. | |
3371 | (neon_vdup_nv2di): Rewrite RTL without unspec and merge with | |
3372 | with neon_vdup_lanev2di, adjusting the pattern from the latter | |
3373 | to be predicable for consistency. | |
3374 | (neon_vdup_lane<mode>_internal): New. | |
3375 | (neon_vdup_lane<mode>): Turn into a define_expand and rewrite | |
3376 | to avoid using an unspec. | |
3377 | (neon_vdup_lanedi): Rewrite RTL pattern to avoid unspec. | |
3378 | (neon_vdup_lanev2di): Turn into a define_expand. | |
3379 | (neon_vcombine): Rewrite pattern to eliminate UNPSEC_VCOMBINE. | |
3380 | (neon_vget_high<mode>): Replace with.... | |
3381 | (neon_vget_highv16qi): New pattern using canonical RTL. | |
3382 | (neon_vget_highv8hi): Likewise. | |
3383 | (neon_vget_highv4si): Likewise. | |
3384 | (neon_vget_highv4sf): Likewise. | |
3385 | (neon_vget_highv2di): Likewise. | |
3386 | (neon_vget_low<mode>): Replace with.... | |
3387 | (neon_vget_lowv16qi): New pattern using canonical RTL. | |
3388 | (neon_vget_lowv8hi): Likewise. | |
3389 | (neon_vget_lowv4si): Likewise. | |
3390 | (neon_vget_lowv4sf): Likewise. | |
3391 | (neon_vget_lowv2di): Likewise. | |
3392 | ||
3393 | * config/arm/neon.ml (Vget_lane): Add No_op attribute to suppress | |
3394 | test for this emitting vmov. | |
3395 | (Vset_lane): Likewise. | |
3396 | (Vdup_n): Likewise. | |
3397 | (Vmov_n): Likewise. | |
3398 | ||
3399 | * doc/arm-neon-intrinsics.texi: Regenerated. | |
3400 | ||
8c98c2a6 SL |
3401 | 2010-07-02 Sandra Loosemore <sandra@codesourcery.com> |
3402 | ||
3403 | * config/arm/neon.md (vec_extractv2di): Correct error in register | |
3404 | numbering to reconcile with neon_vget_lanev2di. | |
3405 | ||
90fa9e17 RG |
3406 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
3407 | ||
3408 | * tree-ssa-structalias.c (pt_solution_set_var): New function. | |
3409 | * tree-ssa-alias.h (pt_solution_set_var): Declare. | |
3410 | * tree-ssa-loop-ivopts.c (copy_ref_info): Also copy or create | |
3411 | points-to information. | |
3412 | ||
c3ac3ddf CB |
3413 | 2010-07-02 Christian Borntraeger <borntraeger@de.ibm.com> |
3414 | ||
3415 | * config/s390/s390.c (override_options): Adopt prefetching | |
3416 | at -O3 to handle flag_prefetch_loop_arrays as a tristate. | |
3417 | ||
b144ba9d JH |
3418 | 2010-07-02 Jan Hubicka <jh@suse.cz> |
3419 | ||
3420 | * df-problems.c (df_kill_notes): Do not collect dead notes. | |
3421 | (df_set_note): Just call add_reg_note. | |
3422 | (df_set_unused_notes_for_mw, df_set_dead_notes_for_mw, | |
3423 | df_create_unused_note): Do not deal with lists of old notes. | |
3424 | (df_note_bb_compute): Likewise. | |
3425 | ||
fca821b5 RG |
3426 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
3427 | ||
3428 | * tree-ssa-structalias.c (find_func_aliases): Handle | |
3429 | pointer alignment via BIT_AND_EXPR. | |
3430 | * tree-vrp.c (extract_range_from_binary_expr): Likewise. | |
3431 | ||
19368333 RG |
3432 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
3433 | ||
3434 | * tree-data-ref.c (initialize_data_dependence_relation): Handle | |
3435 | mismatching number of dimensions properly. | |
3436 | ||
1a4fc49d UW |
3437 | 2010-07-02 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
3438 | ||
3439 | PR target/44707 | |
3440 | * config/rs6000/rs6000.c (rs6000_legitimize_reload_address): Recognize | |
3441 | (lo_sum (high ...) ...) patterns generated by earlier passes. | |
3442 | ||
c18dc5cc RO |
3443 | 2010-07-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
3444 | ||
3445 | * doc/install.texi (Prerequisites): Document Perl requirement on | |
3446 | Solaris 2. | |
3447 | (Specific, *-*-solaris2*): Document GNU c++filt requirement. | |
3448 | ||
7dd536f1 RG |
3449 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
3450 | ||
3451 | PR middle-end/44777 | |
3452 | * tree-cfg.c (gimple_block_ends_with_call_p): Handle empty BBs. | |
3453 | ||
450997ef JH |
3454 | 2010-07-02 Jan Hubicka <jh@suse.cz> |
3455 | ||
3456 | PR middle-end/44706 | |
3457 | * predict.c (predict_paths_for_bb): Handle case when control dependence | |
3458 | BB has only abnormal edges. | |
3459 | ||
3fa39831 RG |
3460 | 2010-07-02 Richard Guenther <rguenther@suse.de> |
3461 | ||
3462 | PR tree-optimization/44748 | |
3463 | * tree-ssa-ccp.c (fold_const_aggregate_ref): Properly handle | |
3464 | the embedded conversion in MEM_REFs. | |
3465 | ||
5a5bd694 MLI |
3466 | 2010-07-01 López-Ibáñez <manu@gcc.gnu.org> |
3467 | ||
3468 | * reload.c: Include toplev.h. | |
3469 | * recog.c: Likewise. | |
3470 | * Makefile.in: Adjust dependencies. | |
3471 | ||
3aa05bb6 JJ |
3472 | 2010-07-01 Jakub Jelinek <jakub@redhat.com> |
3473 | ||
3474 | PR debug/44694 | |
3475 | * dwarf2out.c (reg_loc_descriptor): For eliminated arg_pointer_rtx | |
3476 | or frame_pointer_rtx use DW_OP_fbreg offset DW_OP_stack_value. | |
3477 | ||
e3ccfc8b RG |
3478 | 2010-07-01 Richard Guenther <rguenther@suse.de> |
3479 | ||
3480 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Use unsigned | |
3481 | types for offsets. | |
3482 | ||
c689f757 JR |
3483 | 2010-07-01 Joern Rennecke <joern.rennecke@embecosm.com> |
3484 | ||
3485 | PR target/44732 | |
3486 | * config/ia64/ia64.c (ia64_register_move_cost): Remove stray '{'. | |
94dbbc81 | 3487 | Fix argument types. |
c21fc181 | 3488 | |
cc9568ba BS |
3489 | 2010-07-01 Bernd Schmidt <bernds@codesourcery.com> |
3490 | ||
3491 | PR target/44727 | |
3492 | * config/i386/i386.md (peephole2 for arithmetic ops with memory): | |
3493 | Make sure operand 0 dies. | |
3494 | ||
70f34814 RG |
3495 | 2010-07-01 Richard Guenther <rguenther@suse.de> |
3496 | ||
3497 | PR middle-end/42834 | |
3498 | PR middle-end/44468 | |
3499 | * doc/gimple.texi (is_gimple_mem_ref_addr): Document. | |
3500 | * doc/generic.texi (References to storage): Document MEM_REF. | |
3501 | * tree-pretty-print.c (dump_generic_node): Handle MEM_REF. | |
3502 | (print_call_name): Likewise. | |
3503 | * tree.c (recompute_tree_invariant_for_addr_expr): Handle MEM_REF. | |
3504 | (build_simple_mem_ref_loc): New function. | |
3505 | (mem_ref_offset): Likewise. | |
3506 | * tree.h (build_simple_mem_ref_loc): Declare. | |
3507 | (build_simple_mem_ref): Define. | |
3508 | (mem_ref_offset): Declare. | |
3509 | * fold-const.c: Include tree-flow.h. | |
3510 | (operand_equal_p): Handle MEM_REF. | |
3511 | (build_fold_addr_expr_with_type_loc): Likewise. | |
3512 | (fold_comparison): Likewise. | |
3513 | (fold_unary_loc): Fold | |
3514 | VIEW_CONVERT_EXPR <T1, MEM_REF <T2, ...>> to MEM_REF <T1, ...>. | |
3515 | (fold_binary_loc): Fold MEM[&MEM[p, CST1], CST2] to MEM[p, CST1 + CST2], | |
3516 | fold MEM[&a.b, CST2] to MEM[&a, offsetof (a, b) + CST2]. | |
3517 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Handle MEM_REF. | |
3518 | (ptr_deref_may_alias_ref_p_1): Likewise. | |
3519 | (ao_ref_base_alias_set): Properly differentiate base object for | |
3520 | offset and TBAA. | |
3521 | (ao_ref_init_from_ptr_and_size): Use MEM_REF. | |
3522 | (indirect_ref_may_alias_decl_p): Handle MEM_REFs properly. | |
3523 | (indirect_refs_may_alias_p): Likewise. | |
3524 | (refs_may_alias_p_1): Likewise. Remove pointer SSA name def | |
3525 | chasing code. | |
3526 | (ref_maybe_used_by_call_p_1): Handle MEM_REF. | |
3527 | (call_may_clobber_ref_p_1): Likewise. | |
3528 | * dwarf2out.c (loc_list_from_tree): Handle MEM_REF. | |
3529 | * expr.c (expand_assignment): Handle MEM_REF. | |
3530 | (store_expr): Handle MEM_REFs from STRING_CSTs. | |
3531 | (store_field): If expanding a MEM_REF of a non-addressable | |
3532 | decl use bitfield operations. | |
3533 | (get_inner_reference): Handle MEM_REF. | |
3534 | (expand_expr_addr_expr_1): Likewise. | |
3535 | (expand_expr_real_1): Likewise. | |
3536 | * tree-eh.c (tree_could_trap_p): Handle MEM_REF. | |
3537 | * alias.c (ao_ref_from_mem): Handle MEM_REF. | |
3538 | (get_alias_set): Likewise. Properly handle VIEW_CONVERT_EXPRs. | |
3539 | * tree-data-ref.c (dr_analyze_innermost): Handle MEM_REF. | |
3540 | (dr_analyze_indices): Likewise. | |
3541 | (dr_analyze_alias): Likewise. | |
3542 | (object_address_invariant_in_loop_p): Likewise. | |
3543 | * gimplify.c (mark_addressable): Handle MEM_REF. | |
3544 | (gimplify_cond_expr): Build MEM_REFs. | |
3545 | (gimplify_modify_expr_to_memcpy): Likewise. | |
3546 | (gimplify_init_ctor_preeval_1): Handle MEM_REF. | |
3547 | (gimple_fold_indirect_ref): Adjust. | |
3548 | (gimplify_expr): Handle MEM_REF. Gimplify INDIRECT_REF to MEM_REF. | |
3549 | * tree.def (MEM_REF): New tree code. | |
3550 | * tree-dfa.c: Include toplev.h. | |
3551 | (get_ref_base_and_extent): Handle MEM_REF. | |
3552 | (get_addr_base_and_unit_offset): New function. | |
3553 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Handle MEM_REF. | |
3554 | * gimple-fold.c (may_propagate_address_into_dereference): Handle | |
3555 | MEM_REF. | |
3556 | (maybe_fold_offset_to_array_ref): Allow possibly out-of bounds | |
3557 | accesses if the array has just one dimension. Remove always true | |
3558 | parameter. Do not require type compatibility here. | |
3559 | (maybe_fold_offset_to_component_ref): Remove. | |
3560 | (maybe_fold_stmt_indirect): Remove. | |
3561 | (maybe_fold_reference): Remove INDIRECT_REF handling. | |
3562 | Fold back to non-MEM_REF. | |
3563 | (maybe_fold_offset_to_address): Simplify. Deal with type | |
3564 | mismatches here. | |
3565 | (maybe_fold_reference): Likewise. | |
3566 | (maybe_fold_stmt_addition): Likewise. Also handle | |
3567 | &ARRAY + I in addition to &ARRAY[0] + I. | |
3568 | (fold_gimple_assign): Handle ADDR_EXPR of MEM_REFs. | |
3569 | (gimple_get_relevant_ref_binfo): Handle MEM_REF. | |
3570 | * cfgexpand.c (expand_debug_expr): Handle MEM_REF. | |
3571 | * tree-ssa.c (useless_type_conversion_p): Make most pointer | |
3572 | conversions useless. | |
3573 | (warn_uninitialized_var): Handle MEM_REF. | |
3574 | (maybe_rewrite_mem_ref_base): New function. | |
3575 | (execute_update_addresses_taken): Implement re-writing of MEM_REFs | |
3576 | to SSA form. | |
3577 | * tree-inline.c (remap_gimple_op_r): Handle MEM_REF, remove | |
3578 | INDIRECT_REF handling. | |
3579 | (copy_tree_body_r): Handle MEM_REF. | |
3580 | * gimple.c (is_gimple_addressable): Adjust. | |
3581 | (is_gimple_address): Likewise. | |
3582 | (is_gimple_invariant_address): ADDR_EXPRs of MEM_REFs with | |
3583 | invariant base are invariant. | |
3584 | (is_gimple_min_lval): Adjust. | |
3585 | (is_gimple_mem_ref_addr): New function. | |
3586 | (get_base_address): Handle MEM_REF. | |
3587 | (count_ptr_derefs): Likewise. | |
3588 | (get_base_loadstore): Likewise. | |
3589 | * gimple.h (is_gimple_mem_ref_addr): Declare. | |
3590 | (gimple_call_fndecl): Handle invariant MEM_REF addresses. | |
3591 | * tree-cfg.c (verify_address): New function, split out from ... | |
3592 | (verify_expr): ... here. Use for verifying ADDR_EXPRs and | |
3593 | the address operand of MEM_REFs. Verify MEM_REFs. Reject | |
3594 | INDIRECT_REFs. | |
3595 | (verify_types_in_gimple_min_lval): Handle MEM_REF. Disallow | |
3596 | INDIRECT_REF. Allow conversions. | |
3597 | (verify_types_in_gimple_reference): Verify VIEW_CONVERT_EXPR of | |
3598 | a register does not change its size. | |
3599 | (verify_types_in_gimple_reference): Verify MEM_REF. | |
3600 | (verify_gimple_assign_single): Disallow INDIRECT_REF. | |
3601 | Handle MEM_REF. | |
3602 | * tree-ssa-operands.c (opf_non_addressable, opf_not_non_addressable): | |
3603 | New. | |
3604 | (mark_address_taken): Handle MEM_REF. | |
3605 | (get_indirect_ref_operands): Pass through opf_not_non_addressable. | |
3606 | (get_asm_expr_operands): Pass opf_not_non_addressable. | |
3607 | (get_expr_operands): Handle opf_[not_]non_addressable. | |
3608 | Handle MEM_REF. Remove INDIRECT_REF handling. | |
bd3a5d17 | 3609 | * tree-vrp.c (check_array_ref): Handle MEM_REF. |
70f34814 RG |
3610 | (search_for_addr_array): Likewise. |
3611 | (check_array_bounds): Likewise. | |
3612 | (vrp_stmt_computes_nonzero): Adjust for MEM_REF. | |
3613 | * tree-ssa-loop-im.c (for_each_index): Handle MEM_REF. | |
3614 | (ref_always_accessed_p): Likewise. | |
3615 | (gen_lsm_tmp_name): Likewise. Handle ADDR_EXPR. | |
3616 | * tree-complex.c (extract_component): Do not handle INDIRECT_REF. | |
3617 | Handle MEM_REF. | |
3618 | * cgraphbuild.c (mark_load): Properly check for NULL result | |
3619 | from get_base_address. | |
3620 | (mark_store): Likewise. | |
3621 | * tree-ssa-loop-niter.c (array_at_struct_end_p): Handle MEM_REF. | |
3622 | * tree-loop-distribution.c (generate_builtin): Exchange INDIRECT_REF | |
3623 | handling for MEM_REF. | |
3624 | * tree-scalar-evolution.c (follow_ssa_edge_expr): Handle | |
3625 | &MEM[ptr + CST] similar to POINTER_PLUS_EXPR. | |
3626 | * builtins.c (stabilize_va_list_loc): Use the function ABI | |
3627 | valist type if we couldn't canonicalize the argument type. | |
3628 | Always dereference with the canonical va-list type. | |
3629 | (maybe_emit_free_warning): Handle MEM_REF. | |
3630 | (fold_builtin_memory_op): Simplify and handle MEM_REFs in folding | |
3631 | memmove to memcpy. | |
3632 | * builtins.c (fold_builtin_memory_op): Use ref-all types | |
3633 | for all memcpy foldings. | |
3634 | * omp-low.c (build_receiver_ref): Adjust for MEM_REF. | |
3635 | (build_outer_var_ref): Likewise. | |
3636 | (scan_omp_1_op): Likewise. | |
3637 | (lower_rec_input_clauses): Likewise. | |
3638 | (lower_lastprivate_clauses): Likewise. | |
3639 | (lower_reduction_clauses): Likewise. | |
3640 | (lower_copyprivate_clauses): Likewise. | |
3641 | (expand_omp_atomic_pipeline): Likewise. | |
3642 | (expand_omp_atomic_mutex): Likewise. | |
3643 | (create_task_copyfn): Likewise. | |
3644 | * tree-ssa-sccvn.c (copy_reference_ops_from_ref): Handle MEM_REF. | |
3645 | Remove old union trick. Initialize constant offsets. | |
3646 | (ao_ref_init_from_vn_reference): Likewise. Do not handle | |
3647 | INDIRECT_REF. Init base_alias_set properly. | |
94dbbc81 | 3648 | (vn_reference_lookup_3): Replace INDIRECT_REF handling with MEM_REF. |
70f34814 RG |
3649 | (vn_reference_fold_indirect): Adjust for MEM_REFs. |
3650 | (valueize_refs): Fold MEM_REFs. Re-evaluate constant offset | |
3651 | for ARRAY_REFs. | |
3652 | (may_insert): Remove. | |
3653 | (visit_reference_op_load): Do not test may_insert. | |
3654 | (run_scc_vn): Remove parameter, do not fiddle with may_insert. | |
3655 | * tree-ssa-sccvn.h (struct vn_reference_op_struct): Add | |
3656 | a field to store the constant offset this op applies. | |
3657 | (run_scc_vn): Adjust prototype. | |
3658 | * cgraphunit.c (thunk_adjust): Adjust for MEM_REF. | |
3659 | * tree-ssa-ccp.c (ccp_fold): Replace INDIRECT_REF folding with | |
3660 | MEM_REF. Propagate &foo + CST as &MEM[&foo, CST]. Do not | |
3661 | bother about volatile qualifiers on pointers. | |
3662 | (fold_const_aggregate_ref): Handle MEM_REF, do not handle INDIRECT_REF. | |
3663 | * tree-ssa-loop-ivopts.c | |
94dbbc81 | 3664 | * tree-ssa-loop-ivopts.c (determine_base_object): Adjust for MEM_REF. |
70f34814 RG |
3665 | (strip_offset_1): Likewise. |
3666 | (find_interesting_uses_address): Replace INDIRECT_REF handling with | |
3667 | MEM_REF handling. | |
3668 | (get_computation_cost_at): Likewise. | |
3669 | * ipa-pure-const.c (check_op): Handle MEM_REF. | |
3670 | * tree-stdarg.c (check_all_va_list_escapes): Adjust for MEM_REF. | |
3671 | * tree-ssa-sink.c (is_hidden_global_store): Handle MEM_REF | |
3672 | and constants. | |
3673 | * ipa-inline.c (likely_eliminated_by_inlining_p): Handle MEM_REF. | |
3674 | * tree-parloops.c (take_address_of): Adjust for MEM_REF. | |
3675 | (eliminate_local_variables_1): Likewise. | |
3676 | (create_call_for_reduction_1): Likewise. | |
3677 | (create_loads_for_reductions): Likewise. | |
3678 | (create_loads_and_stores_for_name): Likewise. | |
3679 | * matrix-reorg.c (may_flatten_matrices_1): Sanitize. | |
3680 | (ssa_accessed_in_tree): Handle MEM_REF. | |
3681 | (ssa_accessed_in_assign_rhs): Likewise. | |
3682 | (update_type_size): Likewise. | |
3683 | (analyze_accesses_for_call_stmt): Likewise. | |
3684 | (analyze_accesses_for_assign_stmt): Likewise. | |
3685 | (transform_access_sites): Likewise. | |
3686 | (transform_allocation_sites): Likewise. | |
3687 | * tree-affine.c (tree_to_aff_combination): Handle MEM_REF. | |
3688 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do | |
3689 | not handle INDIRECT_REF. | |
3690 | * tree-ssa-phiopt.c (add_or_mark_expr): Handle MEM_REF. | |
3691 | (cond_store_replacement): Likewise. | |
3692 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Handle | |
3693 | MEM_REF, no not handle INDIRECT_REFs. | |
3694 | (insert_into_preds_of_block): Properly initialize avail. | |
3695 | (phi_translate_1): Fold MEM_REFs. Re-evaluate constant offset | |
3696 | for ARRAY_REFs. Properly handle reference lookups that | |
3697 | require a bit re-interpretation. | |
3698 | (can_PRE_operation): Do not handle INDIRECT_REF. Handle MEM_REF. | |
70f34814 RG |
3699 | * tree-sra.c (build_access_from_expr_1): Handle MEM_REF. |
3700 | (build_ref_for_offset_1): Remove. | |
3701 | (build_ref_for_offset): Build MEM_REFs. | |
3702 | (gate_intra_sra): Disable for now. | |
3703 | (sra_ipa_modify_expr): Handle MEM_REF. | |
3704 | (ipa_early_sra_gate): Disable for now. | |
3705 | * tree-sra.c (create_access): Swap INDIRECT_REF handling for | |
3706 | MEM_REF handling. | |
3707 | (disqualify_base_of_expr): Likewise. | |
3708 | (ptr_parm_has_direct_uses): Swap INDIRECT_REF handling for | |
3709 | MEM_REF handling. | |
3710 | (sra_ipa_modify_expr): Remove INDIRECT_REF handling. | |
3711 | Use mem_ref_offset. Remove bogus folding. | |
94dbbc81 | 3712 | (build_access_from_expr_1): Properly handle MEM_REF for non IPA-SRA. |
70f34814 RG |
3713 | (make_fancy_name_1): Add support for MEM_REF. |
3714 | * tree-predcom.c (ref_at_iteration): Handle MEM_REFs. | |
3715 | * tree-mudflap.c (mf_xform_derefs_1): Adjust for MEM_REF. | |
3716 | * ipa-prop.c (compute_complex_assign_jump_func): Handle MEM_REF. | |
3717 | (compute_complex_ancestor_jump_func): Likewise. | |
3718 | (ipa_analyze_virtual_call_uses): Likewise. | |
3719 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Replace | |
3720 | INDIRECT_REF folding with more generalized MEM_REF folding. | |
3721 | (tree_ssa_forward_propagate_single_use_vars): Adjust accordingly. | |
3722 | (forward_propagate_addr_into_variable_array_index): Also handle | |
3723 | &ARRAY + I in addition to &ARRAY[0] + I. | |
3724 | * tree-ssa-dce.c (ref_may_be_aliased): Handle MEM_REF. | |
3725 | * tree-ssa-ter.c (find_replaceable_in_bb): Avoid TER if that | |
3726 | creates assignments with overlap. | |
3727 | * tree-nested.c (get_static_chain): Adjust for MEM_REF. | |
3728 | (get_frame_field): Likewise. | |
3729 | (get_nonlocal_debug_decl): Likewise. | |
3730 | (convert_nonlocal_reference_op): Likewise. | |
3731 | (struct nesting_info): Add mem_refs pointer-set. | |
3732 | (create_nesting_tree): Allocate it. | |
3733 | (convert_local_reference_op): Insert to be folded mem-refs. | |
3734 | (fold_mem_refs): New function. | |
94dbbc81 | 3735 | (finalize_nesting_tree_1): Perform defered folding of mem-refs |
70f34814 RG |
3736 | (free_nesting_tree): Free the pointer-set. |
3737 | * tree-vect-stmts.c (vectorizable_store): Adjust for MEM_REF. | |
3738 | (vectorizable_load): Likewise. | |
3739 | * tree-ssa-phiprop.c (phiprop_insert_phi): Adjust for MEM_REF. | |
3740 | (propagate_with_phi): Likewise. | |
3741 | * tree-object-size.c (addr_object_size): Handle MEM_REFs | |
3742 | instead of INDIRECT_REFs. | |
3743 | (compute_object_offset): Handle MEM_REF. | |
3744 | (plus_stmt_object_size): Handle MEM_REF. | |
3745 | (collect_object_sizes_for): Dispatch to plus_stmt_object_size | |
3746 | for &MEM_REF. | |
3747 | * tree-flow.h (get_addr_base_and_unit_offset): Declare. | |
3748 | (symbol_marked_for_renaming): Likewise. | |
3749 | * Makefile.in (tree-dfa.o): Add $(TOPLEV_H). | |
3750 | (fold-const.o): Add $(TREE_FLOW_H). | |
3751 | * tree-ssa-structalias.c (get_constraint_for_1): Handle MEM_REF. | |
3752 | (find_func_clobbers): Likewise. | |
3753 | * ipa-struct-reorg.c (decompose_indirect_ref_acc): Handle MEM_REF. | |
3754 | (decompose_access): Likewise. | |
3755 | (replace_field_acc): Likewise. | |
3756 | (replace_field_access_stmt): Likewise. | |
3757 | (insert_new_var_in_stmt): Likewise. | |
3758 | (get_stmt_accesses): Likewise. | |
3759 | (reorg_structs_drive): Disable. | |
3760 | * config/i386/i386.c (ix86_va_start): Adjust for MEM_REF. | |
3761 | (ix86_canonical_va_list_type): Likewise. | |
3762 | ||
a87cf97e JR |
3763 | 2010-06-30 Joern Rennecke <joern.rennecke@embecosm.com> |
3764 | ||
3765 | PR other/44566 | |
3766 | * coretypes.h [!USED_FOR_TARGET] (reg_class_t): Define. | |
3767 | * target.def (struct gcc_target): Replace enum reg_class with | |
3768 | reg_class_t in hook argument / return types. | |
3769 | * doc/tm.texi.in (TARGET_SECONDARY_RELOAD): Likewise. | |
3770 | (TARGET_IRA_COVER_CLASSES, TARGET_MEMORY_MOVE_COST): Likewise. | |
3771 | (TARGET_BRANCH_TARGET_REGISTER_CLASS): Likewise. | |
3772 | * targhooks.h (default_branch_target_register_class): Likewise. | |
3773 | (default_ira_cover_classes, default_secondary_reload): Likewise. | |
3774 | (default_memory_move_cost, default_register_move_cost): Likewise. | |
3775 | * targhooks.c (default_branch_target_register_class): Likewise. | |
3776 | (default_ira_cover_classes, default_secondary_reload): Likewise. | |
3777 | (default_memory_move_cost, default_register_move_cost): Likewise. | |
3778 | * reload.c (push_secondary_reload, secondary_reload_class): Likewise. | |
3779 | * bt-load.c (branch_target_load_optimize): Likewise. | |
3780 | * ira.c (setup_cover_and_important_classes): Likewise. | |
3781 | * ira-costs.c (copy_cost): Likewise. | |
3782 | * reload1.c (emit_input_reload_insns): Likewise. | |
3783 | * config/alpha/alpha.c (alpha_secondary_reload): Likewise. | |
3784 | * config/frv/frv.c (frv_secondary_reload): Likewise. | |
3785 | * config/s390/s390.c (s390_secondary_reload): Likewise. | |
3786 | * config/i386/i386.c (i386_ira_cover_classes): Likewise. | |
3787 | (ix86_secondary_reload, ix86_memory_move_cost): Likewise. | |
3788 | (ix86_register_move_cost): Likewise. | |
3789 | * config/sh/sh-protos.h (sh_secondary_reload): Likewise. | |
3790 | * config/sh/sh.c (sh_target_reg_class, sh_secondary_reload): Likewise. | |
3791 | * config/xtensa/xtensa.c (xtensa_secondary_reload): Likewise. | |
3792 | * config/xtensa/xtensa-protos.h (xtensa_secondary_reload): Likewise. | |
3793 | * config/rs6000/rs6000.c (rs6000_secondary_reload): Likewise. | |
3794 | (rs6000_ira_cover_classes): Likewise. | |
3795 | * config/picochip/picochip.c (picochip_secondary_reload): Likewise. | |
3796 | * config/picochip/picochip-protos.h (picochip_secondary_reload): | |
3797 | Likewise. | |
3798 | * config/pa/pa.c (pa_secondary_reload): Likewise. | |
3799 | * config/mips/mips.c (mips_ira_cover_classes): Likewise. | |
3800 | * config/bfin/bfin.c (bfin_secondary_reload): Likewise. | |
3801 | * config/ia64/ia64.c (ia64_register_move_cost): Likewise. | |
3802 | * doc/tm.texi: Regenerate. | |
3803 | ||
6e44d26e SP |
3804 | 2010-06-30 Sebastian Pop <sebastian.pop@amd.com> |
3805 | ||
3806 | PR bootstrrap/44726 | |
3807 | * graphite-sese-to-poly.c (build_poly_dr): Avoid uninitialized | |
3808 | use. | |
3809 | (build_alias_set_optimal_p): Likewise. | |
3810 | (build_base_obj_set_for_drs): Likewise. | |
3811 | ||
f6170701 JR |
3812 | 2010-06-30 Joern Rennecke <joern.rennecke@embecosm.com> |
3813 | ||
3814 | * target.def: Remove comment about licensing problems of function | |
3815 | declarations. | |
3816 | ||
ad78130c JR |
3817 | * target.def (declare_constant_name): Change exp to expr. Use DEFHOOK. |
3818 | * doc/tm.texi.in (TARGET_ASM_DECLARE_CONSTANT_NAME): Use @hook. | |
3819 | * doc/tm.texi: Regenerate. | |
3820 | ||
89356d17 JR |
3821 | * target.def (builtin_reciprocal): Change tm_fn to md_fn. Use DEFHOOK. |
3822 | * doc/tm.texi.in (TARGET_BUILTIN_RECIPROCAL): Use @hook. | |
3823 | ||
07a5b2bc JR |
3824 | * target.def (enum_va_list_p): Use DEFHOOK. |
3825 | * doc/tm.texi.in (TARGET_ENUM_VA_LIST_P): Use @hook. | |
3826 | Rename ptype to ptree. | |
3827 | * doc/tm.texi: Regenerate. | |
3828 | ||
08914aaa JR |
3829 | * target.def (fold_builtin): Rename nargs to n_args. Use DEFHOOK. |
3830 | * doc/tm.texi.in (TARGET_FOLD_BUILTIN): Use @hook. | |
3831 | * doc/tm.texi: Regenerate. | |
3832 | ||
911852ff JR |
3833 | * target.def (memory_move_cost): Use DEFHOOK. |
3834 | * doc/tm.texi.in (TARGET_MEMORY_MOVE_COST): Use @hook. | |
3835 | Rename regclass AKA class to rclass. | |
3836 | * doc/tm.texi: Regenerate. | |
3837 | ||
56cb42ea JR |
3838 | * target.def (pragma_parse): Use DEFHOOK. |
3839 | * doc/tm.texi.in (TARGET_OPTION_PRAGMA_PARSE): Use @hook. | |
3840 | s/TARGET_VALID_OPTION_ATTRIBUTE_P/TARGET_OPTION_VALID_ATRIBUTE_P/ . | |
3841 | * doc/tm.texi: Regenerate. | |
3842 | ||
ec9f85e5 JR |
3843 | * target.def (pass_by_reference): Use DEFHOOK. |
3844 | * doc/tm.texi.in (TARGET_PASS_BY_REFERENCE): Use @hook. | |
3845 | * doc/tm.texi: Regenerate. | |
3846 | ||
d66f5459 JR |
3847 | * target.def (resolve_overloaded_builtin): Rename params to arglist. |
3848 | Use DEFHOOK. | |
3849 | * doc/tm.texi.in (TARGET_RESOLVE_OVERLOADED_BUILTIN): Use @hook. | |
3850 | * doc/tm.texi: Regenerate. | |
3851 | ||
893d13d5 JR |
3852 | * target.def (return_pops_args): Use DEFHOOK. |
3853 | * doc/tm.texi.in (TARGET_RETURN_POPS_ARGS): Use @hook. | |
3854 | Rename stack-size to size. | |
3855 | * doc/tm.texi: Regenerate. | |
3856 | ||
c06bbdf7 JR |
3857 | * target.def (dfa_new_cycle): Use DEFHOOK. Rename dump_file to dump, |
3858 | last-sched_cycle to last_clock, cur_cycle to clock. | |
3859 | * doc/tm.texi.in: Use @hook. | |
3860 | * doc/tm.texi: Regenerate. | |
3861 | ||
4d00d5dd JR |
3862 | * target.def (print_operand, print_operand_address): Update comment. |
3863 | (print_operand_punct_valid_p): Likewise. | |
3864 | ||
0cbd9993 MLI |
3865 | 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3866 | ||
3867 | * toplev.h (_fatal_insn_not_found, _fatal_insn): Move declarations | |
3868 | to rtl.h. | |
3869 | (error_for_asm, warning_for_asm): Move declarations to rtl-error.h. | |
94dbbc81 | 3870 | * rtl.h (_fatal_insn_not_found, _fatal_insn): Move declarations here. |
0cbd9993 MLI |
3871 | * rtl-error.h: New. |
3872 | * regrename.c: Do not include toplev.h. Include rtl-error.h. | |
3873 | * rtl-error.c: Likewise. | |
3874 | * reload.c: Likewise. | |
3875 | * recog.c: Likewise. | |
3876 | * sel-sched.c: Likewise. | |
3877 | * function.c: Likewise. | |
3878 | * reg-stack.c: Likewise. | |
3879 | * cfgrtl.c: Likewise. | |
3880 | * reload1.c: Likewise. | |
3881 | * final.c: Include rtl-error. | |
3882 | * Makefile.in: Adjust dependencies. | |
3883 | ||
8a9c1ae6 JH |
3884 | 2010-06-30 Jan Hubicka <jh@suse.cz> |
3885 | ||
3886 | PR middle-end/PR44706 | |
3887 | * ipa-split (split_function): Refine conditions when to use DECL_RESULT | |
3888 | to return the value. | |
3889 | ||
8a1561bc MM |
3890 | 2010-06-30 Michael Matz <matz@suse.de> |
3891 | ||
3892 | PR bootstrap/44699 | |
3893 | * tree-vrp.c (vrp_finalize): Deal with changing num_ssa_names. | |
3894 | * gimple-fold.c (gimplify_and_update_call_from_tree): If LHS is | |
3895 | a gimple reg, attach the original VDEF to the last store in the | |
3896 | sequence. | |
3897 | ||
8a1dabd5 IS |
3898 | 2010-06-30 Iain Sandoe <iains@gcc.gnu.org> |
3899 | ||
3900 | PR other/44034 | |
3901 | * config/darwin.c (darwin_override_options): Use renamed | |
3902 | targetm.asm_out.emit_unwind_label. | |
3903 | ||
dcad005d BS |
3904 | 2010-06-30 Bernd Schmidt <bernds@codesourcery.com> |
3905 | ||
3906 | PR tree-optimization/39799 | |
3907 | * tree-inline.c (remap_ssa_name): Initialize variable only if | |
3908 | SSA_NAME_OCCURS_IN_ABNORMAL_PHI. | |
3909 | ||
1d468b06 NF |
3910 | 2010-06-30 Nathan Froyd <froydnj@codesourcery.com> |
3911 | ||
3912 | * c-parser.c (c_parser_omp_for_loop): Use a VEC for for_block. | |
3913 | ||
501d1a70 RG |
3914 | 2010-06-30 Richard Guenther <rguenther@suse.de> |
3915 | ||
3916 | PR target/44722 | |
3917 | * config/i386/i386.md (peephole2 for fix:SSEMODEI24): Guard | |
3918 | against oscillation with reverse peephole2. | |
3919 | ||
ed1db000 L |
3920 | 2010-06-30 H.J. Lu <hongjiu.lu@intel.com> |
3921 | ||
3922 | PR target/44721 | |
3923 | * config/i386/i386.md (peephole2 for arithmetic ops with memory): | |
3924 | Fix last commit. | |
3925 | ||
aea8fc97 NC |
3926 | 2010-06-30 Nick Clifton <nickc@redhat.com> |
3927 | ||
3928 | * config/rx/rx-modes.def: New file. | |
3929 | * config/rx/rx.h (FIRST_PSEUDO_REGISTER): Increase to 17. | |
3930 | (CC_REGNUM): Define. | |
3931 | (FIXED_REGISTERS, CALL_USED_REGISTERS, REGISTER_NAMES): Add cc | |
3932 | register. | |
3933 | (CC_NO_CARRY, NOTICE_UPDATE_CC): Delete. | |
3934 | (SELECT_CC_MODE): Define. | |
3935 | * config/rx/rx.md (CC_REG): Define. Update all patterns to use | |
3936 | (reg:CC CC_REG) instead of (cc0). | |
3937 | (attr "cc"): Delete. | |
3938 | (cbranchsi4): Do not split compare and branch here. Instead move | |
3939 | it to... | |
3940 | (cbranchsi4_<code>): ... here. New patterns. | |
3941 | (cmpsi): Call rx-compare_redundant to find out if it is necessary | |
3942 | to emit the compare instruction. | |
3943 | * config/rx/rx.c (rx_gen-cond_branch_template): Remove tests of | |
3944 | cc_status flags. | |
3945 | (rx_get_stack_layout): Iterate up to before CC_REGNUM not | |
3946 | FIRST_PSEUDO_REGNUM. | |
3947 | (rx_expand_prologue, rx_expand_epilogue): Likewise. | |
3948 | (rx_notice_update_cc): Delete. | |
3949 | (rx_cc_modes_compatible): New function. | |
3950 | (flags_needed_for_conditional): New function. | |
3951 | (flags_from_mode): New function. | |
3952 | (rx_compare_redundant): New function - scans backwards through | |
94dbbc81 | 3953 | insn list to find out if condition flags are already set correctly. |
aea8fc97 NC |
3954 | (TARGET_CC_MODES_COMPATIBLE): Define. |
3955 | * config/rx/rx-protos.h (rx_compare_redundant): Prototype. | |
3956 | ||
3957 | * config/rx/rx.h (BRANCH_COST): Define. | |
3958 | (REGISTER_MOVE_COST): Define. | |
94dbbc81 | 3959 | * config/rx/predicates (rx_source_operand): Allow all constant types. |
aea8fc97 NC |
3960 | * config/rx/rx.md (addsi3): Add alternative for swapped operands. |
3961 | (tstsi4): New pattern. | |
3962 | * config/rx/rx.c (rx_memory_move_cost): Define. | |
3963 | (TARGET_MEMORY_MOVE_COST): Define. | |
3964 | ||
6662d794 MLI |
3965 | 2010-06-30 Manuel López-Ibáñez <manu@gcc.gnu.org> |
3966 | ||
3967 | * tree.h (block_may_fallthru): Declare here. | |
3968 | * tree-flow.h (block_may_fallthru): Do not declare here. | |
3969 | * c-typeck.c: Do not include tree-flow.h. Include gimple.h and | |
3970 | bitmap.h | |
3971 | * Makefile.in (c-typeck.o): Update dependencies. | |
3972 | ||
9de9cbaf JJ |
3973 | 2010-06-30 Jakub Jelinek <jakub@redhat.com> |
3974 | ||
3975 | PR debug/44694 | |
3976 | * cselib.h (cselib_preserve_cfa_base_value): Add regno argument. | |
3977 | * cselib.c (cfa_base_preserved_regno): New static variable. | |
3978 | (cselib_reset_table): Don't reset cfa_base_preserved_regno instead | |
3979 | of REGNO (cfa_base_preserved_val->locs->loc). | |
3980 | (cselib_preserve_cfa_base_value): Add regno argument, set | |
3981 | cfa_base_preserved_regno to it. | |
3982 | (cselib_invalidate_regno): Allow removal of registers other than | |
3983 | cfa_base_preserved_regno from cfa_base_preserved_val. | |
3984 | (cselib_finish): Set cfa_base_preserved_regno to INVALID_REGNUM. | |
3985 | * var-tracking.c (adjust_mems): Replace sp or hfp even outside | |
3986 | of MEM addresses, if not on LHS. | |
3987 | (reverse_op): Don't add reverse ops for cfa_base_rtx. | |
3988 | (vt_init_cfa_base): Adjust cselib_preserve_cfa_base_value caller. | |
3989 | ||
ee932b8f BS |
3990 | 2010-06-30 Bernd Schmidt <bernds@codesourcery.com> |
3991 | ||
3992 | * recog.c (peep2_do_rebuild_jump_labels, peep2_do_cleanup_cfg): New | |
3993 | static variables. | |
3994 | (peep2_buf_position): New static function. | |
3995 | (peep2_regno_dead_p, peep2_reg_dead_p, peep2_find_free_register, | |
3996 | peephole2_optimize): Use it. | |
3997 | (peep2_attempt, peep2_update_life): New static functions, broken out | |
3998 | of peephole2_optimize. | |
3999 | (peep2_fill_buffer): New static function. | |
4000 | (peephole2_optimize): Change the main loop to try to fill the buffer | |
4001 | with the maximum number of insns before matching them against | |
4002 | peepholes. Use a forward scan. Remove special case for targets with | |
4003 | conditional execution. | |
4004 | * genrecog.c (change_state): Delete dead code. | |
4005 | * config/i386/i386.md (peephole2 for arithmetic ops with memory): | |
4006 | Rewrite so as not to expect the second insn to have had a peephole | |
4007 | applied yet. | |
4008 | ||
4d64faec NF |
4009 | 2010-06-29 Nathan Froyd <froydnj@codesourcery.com> |
4010 | ||
4011 | * genhooks.c (emit_findices): Cast field precision to int. | |
4012 | (emit_documentation): Likewise. | |
4013 | ||
0287000a JJ |
4014 | 2010-06-29 Jakub Jelinek <jakub@redhat.com> |
4015 | ||
087fa34b JJ |
4016 | PR tree-optimization/43801 |
4017 | * cgraph.c (cgraph_create_virtual_clone): Clear DECL_SECTION_NAME | |
4018 | if old_decl was DECL_ONE_ONLY. | |
4019 | ||
0287000a JJ |
4020 | PR debug/44668 |
4021 | * dwarf2out.c (add_accessibility_attribute): New function. | |
4022 | (gen_subprogram_die, gen_variable_die, gen_field_die): Use it | |
4023 | instead of adding DW_AT_accessibility manually. | |
4024 | (gen_enumeration_type_die, gen_struct_or_union_type_die, | |
4025 | gen_typedef_die): Use it. | |
4026 | ||
6a07b007 DR |
4027 | 2010-06-29 Douglas B Rupp <rupp@gnat.com> |
4028 | ||
4029 | * vmsdbgout.c (full_name): Just output the file name if not native. | |
4030 | ||
6ca45368 DR |
4031 | 2010-06-29 Douglas B Rupp <rupp@gnat.com> |
4032 | ||
4033 | * vmsdbgout.c (func_table): Replace with VEC func{nam,num}_tables. | |
4034 | (funcnam_table): New static table. | |
4035 | (funcnum_table): New static table. | |
4036 | (write_rtnbeg): Write value saved in funcnum_table. | |
4037 | (write_rtnend): Write value saved in funcnum_table. | |
4038 | (vmsdbgout_begin_function): Save current function info in | |
4039 | (vmsdbgout_init): Initialize func{nam,num}_tables. Minor reformatting. | |
4040 | (vmsdbgout_finish): Iterate over funcnum_table. | |
4041 | ||
528b7aa4 DR |
4042 | 2010-06-29 Douglas B Rupp <rupp@gnat.com> |
4043 | ||
4044 | * vmsdbgout.c (vmsdbgout_begin_epilogue): Declare | |
4045 | (vmsdbgout_type_decl): Declare | |
4046 | (vmsdbg_debug_hooks): Add entry for type_decl and begin_epilogue. | |
4047 | (FUNC_EPILOGUE_LABEL): New macro | |
4048 | (vmsdbgout_begin_epilogue): New function. | |
4049 | (vmsdbgout_type_decl): New function. | |
4050 | ||
cb488ce1 DR |
4051 | 2010-06-29 Douglas B Rupp <rupp@gnat.com> |
4052 | ||
4053 | * vmsdbg.h: Update copyright. | |
4054 | ||
b313b165 DR |
4055 | 2010-06-29 Douglas B Rupp <rupp@gnat.com> |
4056 | ||
4057 | * vmsdbg.h (DST_K_TBG): New DST constant. | |
4058 | * vmsdbgout.c (addr_const_to_string): Removed, not referenced. | |
4059 | (write_modbeg): Cast module_language to avoid warning. | |
4060 | (write_rtnbeg): Use DST_K_TBG vice magic mystery number. | |
4061 | ||
38f8b050 JR |
4062 | 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com> |
4063 | ||
4064 | PR other/44034 | |
4065 | * target.def, doc/tm.texi.in, genhooks.c: New files. | |
4066 | * target.h: Instead of defining individual hook members, | |
4067 | define DEFHOOKPOD / DEFHOOK / DEFHOOK_UNDOC / HOOKSTRUCT and | |
4068 | include target.def. | |
4069 | * target-def.h: Instead of defining individual hook initializers, | |
4070 | include target-hooks-def.h. | |
4071 | * df-scan.c, haifa-sched.c, sel-sched.c: Rename targetm members: | |
4072 | targetm.live_on_entry -> targetm.extra_live_on_entry | |
4073 | targetm.sched.md_finish ->targetm.sched.finish | |
4074 | targetm.sched.md_init -> targetm.sched.init | |
4075 | targetm.sched.md_init_global -> targetm.sched.init_global | |
4076 | targetm.asm_out.unwind_label -> targetm.asm_out.emit_unwind_label | |
4077 | targetm.asm_out.except_table_label -> | |
4078 | targetm.asm_out.emit_except_table_label | |
4079 | targetm.asm_out.visibility -> targetm.asm_out.assemble_visibility | |
4080 | targetm.target_help -> targetm.help | |
4081 | targetm.vectorize.builtin_support_vector_misalignment -> | |
4082 | targetm.vectorize.support_vector_misalignment | |
4083 | targetm.file_start_app_off -> targetm.asm_file_start_app_off | |
4084 | targetm.file_start_file_directive -> | |
4085 | targetm.asm_file_start_file_directive | |
4086 | * dwarf2out.c, opts.c, tree-vect-data-refs.c, except.c: Likewise. | |
4087 | * varasm.c, config/alpha/alpha.c, config/cris/cris.c: Likewise. | |
4088 | * gcc/config/spu/spu.c, config/ia64/ia64.c: Rename target macros: | |
4089 | TARGET_VECTOR_ALIGNMENT_REACHABLE -> | |
4090 | TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE | |
4091 | TARGET_SUPPORT_VECTOR_MISALIGNMENT -> | |
4092 | TARGET_VECTORIZE_SUPPORT_VECTOR_MISALIGNMENT | |
4093 | TARGET_UNWIND_EMIT -> TARGET_ASM_UNWIND_EMIT | |
4094 | * config/rs6000/rs6000.c, config/arm/arm.c: Likewise. | |
4095 | * Makefile.in (TARGET_H): Depend on target.def. | |
4096 | (TARGET_DEF_H): Depend on target-hooks-def.h. | |
4097 | (target-hooks-def.h, tm.texi, s-target-hooks-def-h): New rules. | |
4098 | (s-tm-texi, build/genhooks.o, build/genhooks): Likewise. | |
4099 | * doc/tm.texi: Regenerate. | |
4100 | ||
e82a40fc JR |
4101 | * Makefile.in (s-tm-texi): Remove stray tab / rule. |
4102 | ||
7ecb00a6 JR |
4103 | * config/m68k/m68k.c (targetm.sched.init_global): Update comment. |
4104 | (targetm.sched.init): Likewise. | |
4105 | ||
3fc7cd18 NF |
4106 | 2010-06-29 Nathan Froyd <froydnj@codesourcery.com> |
4107 | ||
4108 | PR bootstrap/44713 | |
4109 | * config/i386/i386.c (type_natural_mode): Const-ify CUM parameter. | |
4110 | (function_arg_advance_32): Const-ify TYPE parameter. | |
4111 | (function_arg_advance_64): Likewise. Change type of NAMED to bool. | |
4112 | (ix86_function_arg_advance): Change type of NAMED to bool. | |
4113 | (function_arg_32): Const-ify CUM and TYPE parameters. | |
4114 | (function_arg_64): Likewise. Change type of NAMED to bool. | |
4115 | (function_arg_ms_64): Const-ify CUM parameter. Change type of NAMED | |
4116 | to bool. | |
4117 | (ix86_function_arg): Change type of NAMED to bool. | |
4118 | (ix86_setup_incoming_varargs): Call ix86_function_arg_advance. Pass | |
4119 | last argument as a bool. | |
4120 | ||
74f7912a JR |
4121 | 2010-06-29 Joern Rennecke <joern.rennecke@embecosm.com> |
4122 | ||
4123 | * doc/tm.texi (TARGET_OPTION_OVERRIDE): Document. | |
4124 | (OVERRIDE_OPTIONS): Add note of obsolescence. | |
4125 | Replace references with references to TARGET_OPTION_OVERRIDE. | |
4126 | (Except for C_COMMON_OVERRIDE_OPTIONS, which remains similar to | |
4127 | the macro). | |
4128 | * targhooks.c (default_target_option_override): New function. | |
4129 | * targhooks.h (default_target_option_override): Declare. | |
4130 | * target.h (struct gcc_target): Add override member to | |
9afcc09d | 4131 | target_option member. |
74f7912a JR |
4132 | * toplev.c (process_options): Replace OVERRIDE_OPTIONS use with |
4133 | targetm.target_option.override call. | |
4134 | * target-def.h (TARGET_OPTION_OVERRIDE): Define. | |
4135 | (TARGET_OPTION_HOOKS): Add TARGET_OPTION_OVERRIDE. | |
4136 | ||
20a6bb58 JH |
4137 | 2010-06-29 Jan Hubicka <jh@suse.cz> |
4138 | ||
4139 | * tree-inline.c: Replace incomming by incomin and clonning by cloning. | |
4140 | ||
b35366ce JH |
4141 | 2010-06-29 Jan Hubicka <jh@suse.cz> |
4142 | ||
4143 | * predict.c (propagate_freq): Clear EXIT_BLOCK_PTR frequency if it is | |
4144 | unreachable. | |
4145 | (rebuild_frequencies): New function. | |
4146 | * predict.h (rebuild_frequencies): Declare. | |
4147 | * tree-inline.c (copy_cfg_body): Compute properly count & frequency of | |
4148 | entry block and edge reaching new_entry. | |
94dbbc81 UB |
4149 | (tree_function_versioning): When doing partial cloning, rebuild |
4150 | frequencies when done. | |
b35366ce JH |
4151 | * passes.c (execute_function_todo): Use rebild_frequencies. |
4152 | ||
50b56694 RG |
4153 | 2010-06-29 Richard Guenther <rguenther@suse.de> |
4154 | ||
4155 | * tree-dfa.c (dump_variable): Remove noalias_state dumping. | |
4156 | * tree-flow.h (enum noalias_state): Remove. | |
4157 | (struct var_ann_d): Remove noalias_state member. | |
4158 | ||
810c4bf4 BS |
4159 | 2010-06-29 Bernd Schmidt <bernds@codesourcery.com> |
4160 | ||
4161 | PR target/43902 | |
4162 | * config/arm/arm.md (maddsidi4, umaddsidi4): New expanders. | |
4163 | (maddhisi4): Renamed from mulhisi3addsi. Operands renumbered. | |
4164 | (maddhidi4): Likewise. | |
4165 | ||
3df41baf BS |
4166 | Revert parts of the change for PR25130. |
4167 | * cse.c (exp_equiv_p): For MEMs, if for_gcse, only compare | |
4168 | MEM_ALIAS_SET. | |
4169 | ||
3c07301f NF |
4170 | 2010-06-29 Nathan Froyd <froydnj@codesourcery.com> |
4171 | ||
4172 | * calls.c, dse.c, expr.c, function.c: Call targetm.calls.function_arg, | |
4173 | targetm.calls.function_incoming_arg, and | |
4174 | targetm.calls.function_arg_advance instead of FUNCTION_ARG, | |
4175 | FUNCTION_INCOMING_ARG, and FUNCTION_ARG_ADVANCE, respectively. | |
4176 | * target.h (struct gcc_target): Add function_arg_advance, | |
4177 | function_arg, and function_incoming_arg fields. | |
4178 | * target-def.h (TARGET_FUNCTION_ARG_ADVANCE, TARGET_FUNCTION_ARG): | |
4179 | (TARGET_FUNCTION_INCOMING_ARG): Define. | |
4180 | (TARGET_CALLS): Add TARGET_FUNCTION_ARG_ADVANCE, TARGET_FUNCTION_ARG, | |
4181 | and TARGET_FUNCTION_INCOMING_ARG. | |
4182 | * targhooks.h (default_function_arg_advance): Declare. | |
4183 | (default_function_arg, default_function_incoming_arg): Declare. | |
4184 | * targhooks.c (default_function_arg_advance): New function. | |
4185 | (default_function_arg, default_function_incoming_arg): New function. | |
4186 | * config/i386/i386.c (function_arg_advance): Rename to... | |
4187 | (ix86_function_arg_advance): ...this. Make static. | |
4188 | (function_arg): Rename to... | |
4189 | (ix86_function_arg): ...this. Make static. | |
4190 | (TARGET_FUNCTION_ARG_ADVANCE): Define. | |
4191 | (TARGET_FUNCTION_ARG): Define. | |
4192 | * config/i386/i386.h (FUNCTION_ARG_ADVANCE): Delete. | |
4193 | (FUNCTION_ARG): Delete. | |
4194 | * config/i386/i386-protos.h (function_arg_advance): Delete prototype. | |
4195 | (function_arg): Delete prototype. | |
4196 | ||
079e7538 NF |
4197 | 2010-06-29 Nathan Froyd <froydnj@codesourcery.com> |
4198 | ||
4199 | * reginfo.c (init_reg_sets_1): Adjust comments. | |
4200 | * combine-stack-adj.c (rest_of_handle_stack_adjustments): Likewise. | |
4201 | * calls.c (prepare_call_address): Likewise. | |
4202 | (emit_call_1): Use targetm.calls.return_pops_args. | |
4203 | (expand_call): Likewise. | |
4204 | * function.c (assign_parms): Likewise. | |
4205 | * system.h (RETURN_POPS_ARGS): Add to #pragma poison list. | |
4206 | * target.h (struct gcc_target) [struct calls]: Add | |
4207 | return_pops_args field. | |
4208 | * targhooks.h (default_return_pops_args): Declare. | |
4209 | * targhooks.c (default_return_pops_args): Define. | |
4210 | * target-def.h (TARGET_RETURN_POPS_ARGS): Define. | |
4211 | (TARGET_CALLS): Add TARGET_RETURN_POPS_ARGS. | |
4212 | * doc/tm.texi (RETURN_POPS_ARGS): Rename to... | |
4213 | (TARGET_RETURN_POPS_ARGS): ...this. Use deftypefn. Adjust | |
4214 | documentation. | |
4215 | * config/alpha/alpha.h (RETURN_POPS_ARGS): Delete. | |
4216 | * config/arc/arc.h (RETURN_POPS_ARGS): Likewise. | |
4217 | * config/arm/arm.h (RETURN_POPS_ARGS): Likewise. | |
4218 | * config/avr/avr.h (RETURN_POPS_ARGS): Likewise. | |
4219 | * config/bfin/bfin.h (RETURN_POPS_ARGS): Likewise. | |
4220 | * config/cris/cris.h (RETURN_POPS_ARGS): Likewise. | |
4221 | * config/crx/crx.h (RETURN_POPS_ARGS): Likewise. | |
4222 | * config/fr30/fr30.h (RETURN_POPS_ARGS): Likewise. | |
4223 | * config/frv/frv.h (RETURN_POPS_ARGS): Likewise. | |
4224 | * config/h8300/h8300.h (RETURN_POPS_ARGS): Likewise. | |
4225 | * config/ia64/ia64.h (RETURN_POPS_ARGS): Likewise. | |
4226 | * config/iq2000/iq2000.h (RETURN_POPS_ARGS): Likewise. | |
4227 | * config/lm32/lm32.h (RETURN_POPS_ARGS): Likewise. | |
4228 | * config/m32c/m32c.h (RETURN_POPS_ARGS): Likewise. | |
4229 | * config/m32r/m32r.h (RETURN_POPS_ARGS): Likewise. | |
4230 | * config/m68hc11/m68hc11.h (RETURN_POPS_ARGS): Likewise. | |
4231 | * config/mcore/mcore.h (RETURN_POPS_ARGS): Likewise. | |
4232 | * config/mep/mep.h (RETURN_POPS_ARGS): Likewise. | |
4233 | * config/mips/mips.h (RETURN_POPS_ARGS): Likewise. | |
4234 | * config/mmix/mmix.h (RETURN_POPS_ARGS): Likewise. | |
4235 | * config/mn10300/mn10300.h (RETURN_POPS_ARGS): Likewise. | |
4236 | * config/moxie/moxie.h (RETURN_POPS_ARGS): Likewise. | |
4237 | * config/pa/pa.h (RETURN_POPS_ARGS): Likewise. | |
4238 | * config/pdp11/pdp11.h (RETURN_POPS_ARGS): Likewise. | |
4239 | * config/picochip/picochip.h (RETURN_POPS_ARGS): Likewise. | |
4240 | * config/rs6000/rs6000.h (RETURN_POPS_ARGS): Likewise. | |
4241 | * config/rx/rx.h (RETURN_POPS_ARGS): Likewise. | |
4242 | * config/s390/s390.h (RETURN_POPS_ARGS): Likewise. | |
4243 | * config/score/score.h (RETURN_POPS_ARGS): Likewise. | |
4244 | * config/sh/sh.h (RETURN_POPS_ARGS): Likewise. | |
4245 | * config/sparc/sparc.h (RETURN_POPS_ARGS): Likewise. | |
4246 | * config/spu/spu.h (RETURN_POPS_ARGS): Likewise. | |
4247 | * config/stormy16/stormy16.h (RETURN_POPS_ARGS): Likewise. | |
4248 | * config/v850/v850.h (RETURN_POPS_ARGS): Likewise. | |
4249 | * config/xtensa/xtensa.h (RETURN_POPS_ARGS): Likewise. | |
4250 | * config/i386/i386-protos.h (ix86_return_pops_args): Delete. | |
4251 | * config/i386/i386.h (RETURN_POPS_ARGS): Delete. | |
4252 | * config/i386/i386.c (ix86_return_pops_args): Make static. | |
4253 | Constify arguments. | |
4254 | (TARGET_RETURN_POPS_ARGS): Define. | |
4255 | * config/m68k/m68k.h (RETURN_POPS_ARGS): Move to... | |
4256 | * config/m68k/m68k.c (m68k_return_pops_args): ...here. New function. | |
4257 | (TARGET_RETURN_POPS_ARGS): Define. | |
4258 | * config/vax/vax.h (RETURN_POPS_ARGS): Move to... | |
4259 | * config/vax/vax.c (vax_return_pops_args): ...here. New function. | |
4260 | (TARGET_RETURN_POPS_ARGS): Define. | |
4261 | ||
ea184343 RG |
4262 | 2010-06-29 Richard Guenther <rguenther@suse.de> |
4263 | ||
4264 | PR middle-end/44667 | |
4265 | * tree-inline.c (initialize_inlined_parameters): Make sure | |
4266 | to remap the inlined parameter variable substitutions types. | |
4267 | ||
5dfebe0a EB |
4268 | 2010-06-29 Eric Botcazou <ebotcazou@adacore.com> |
4269 | ||
4270 | PR rtl-optimization/44659 | |
4271 | * combine.c (make_compound_operation) <SUBREG>: Do not return the | |
4272 | result of force_to_mode if it partially re-expanded the compound. | |
4273 | ||
6b5c2d6c JH |
4274 | 2010-06-28 Jan Hubicka <jh@suse.cz> |
4275 | ||
4276 | PR middle-end/44671 | |
5dfebe0a EB |
4277 | * ipa-split.c (test_nonssa_use, mark_nonssa_use): Check also uses of |
4278 | RESULT_DECL. | |
6b5c2d6c | 4279 | |
9589f23e AS |
4280 | 2010-06-28 Anatoly Sokolov <aesok@post.ru> |
4281 | ||
4282 | * double-int.h (force_fit_type_double): Remove declaration. | |
4283 | * double-int.c (force_fit_type_double): Move to tree.c. | |
4284 | * tree.h (force_fit_type_double): Declare. | |
4285 | * tree.h (force_fit_type_double): Moved from double-int.c. Use | |
4286 | double_int type for 'cst' argument. Use double_int_fits_to_tree_p and | |
4287 | double_int_to_tree instead of fit_double_type and build_int_cst_wide. | |
4288 | * convert.c (convert_to_pointer): Adjust call to | |
4289 | force_fit_type_double. | |
4290 | * tree-vrp.c (extract_range_from_assert, | |
4291 | extract_range_from_unary_expr): Adjust call to force_fit_type_double. | |
4292 | * fold-const.c: Update comment. | |
4293 | (int_const_binop, fold_convert_const_int_from_int, | |
4294 | fold_convert_const_int_from_real, fold_convert_const_int_from_fixed, | |
4295 | extract_muldiv_1, fold_div_compare, fold_sign_changed_comparison, | |
4296 | fold_unary_loc, fold_negate_const, fold_abs_const, fold_not_const, | |
4297 | round_up_loc): Adjust call to force_fit_type_double. | |
4298 | ||
5dfebe0a | 4299 | 2010-06-28 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
dfecaf59 PT |
4300 | |
4301 | * config/rs6000/rs6000.h (PROCESSOR_TITAN): Declare. | |
4302 | ||
bb8e5dca MJ |
4303 | 2010-06-28 Martin Jambor <mjambor@suse.cz> |
4304 | ||
4305 | * tree-sra.c (convert_callers): New parameter, change fndecls of | |
4306 | recursive calls. | |
4307 | (modify_function): Pass the old decl to convert_callers. | |
4308 | ||
f5d3b855 MJ |
4309 | 2010-06-28 Martin Jambor <mjambor@suse.cz> |
4310 | ||
4311 | * ipa-cp.c (ipcp_init_cloned_node): Replace calls to | |
4312 | ipa_check_create_node_params and ipa_initialize_node_params with | |
4313 | checking asserts they are not necessary. | |
4314 | ||
4021f4a1 JH |
4315 | 2010-06-28 Jan Hubicka <jh@suse.cz> |
4316 | ||
4317 | PR tree-optimization/44687 | |
4318 | * ipa-split.c (split_function): Use DECL_RESULT to store return value. | |
4319 | ||
621f4189 MJ |
4320 | 2010-06-28 Martin Jambor <mjambor@suse.cz> |
4321 | ||
4322 | PR c++/44535 | |
4323 | * gimple-fold.c (get_first_base_binfo_with_virtuals): New function. | |
4324 | (gimple_get_relevant_ref_binfo): Use get_first_base_binfo_with_virtuals | |
4325 | instead of BINFO_BASE_BINFO. | |
4326 | ||
fe2ef088 MM |
4327 | 2010-06-28 Michael Matz <matz@suse.de> |
4328 | ||
4329 | PR middle-end/44592 | |
4330 | * gimple-fold.c (gimplify_and_update_call_from_tree): Maintain | |
4331 | proper VDEF chain for intermediate stores in the sequence. | |
4332 | ||
f0cc75e0 JH |
4333 | 2010-06-28 Jan Hubicka <jh@suse.cz> |
4334 | ||
4335 | PR tree-optimization/44357 | |
94dbbc81 UB |
4336 | * ipa-inline.c (add_new_edges_to_heap): Do not add edges to |
4337 | uninlinable functions. | |
f0cc75e0 | 4338 | |
5dfebe0a | 4339 | 2010-06-28 Philipp Tomsich <philipp.tomsich@theobroma-systems.com> |
3c005e6c PT |
4340 | |
4341 | * config.gcc (powerpc*-*-*): Handle titan. | |
4342 | * config/rs6000/rs6000.c (titan_cost): New costs. | |
4343 | (rs6000_override_options): Add "titan" to processor_target_table. | |
4344 | Add Titan to branch alignment logic. | |
4345 | Correctly set rs6000_cost for titan. | |
4346 | * config/rs6000/rs6000.md (cpu): Add titan. Include "titan.md". | |
4347 | * config/rs6000/titan.md: New file. | |
4348 | * doc/invoke.texi (RS/6000 and PowerPC Options): Document -mcpu=titan. | |
94dbbc81 | 4349 | |
40523581 NF |
4350 | 2010-06-28 Nathan Froyd <froydnj@codesourcery.com> |
4351 | ||
4352 | * tree-browser.c (TB_history_stack): Convert to a VEC. | |
4353 | (TB_SET_HEAD): Adjust for new type of TB_history_stack. | |
4354 | (TB_history_prev): Likewise. | |
4355 | ||
04924d6a NF |
4356 | 2010-06-28 Nathan Froyd <froydnj@codesourcery.com> |
4357 | ||
4358 | * vec.h (vec_heap_free): Add parentheses around free. | |
4359 | ||
3b06d379 SB |
4360 | 2010-06-28 Steven Bosscher <steven@gcc.gnu.org> |
4361 | ||
4362 | * system.h: Poison GCC_EXCEPT_H for front-end files. | |
4363 | ||
4364 | * langhooks.h (struct lang_hooks): Add eh_protect_cleanup_actions | |
4365 | langhook. | |
4366 | * langhooks-def.h (LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS) New. | |
4367 | Define to NULL by default. | |
4368 | * except.h: Define GCC_EXCEPT_H. | |
4369 | (doing_eh): Remove prototype. | |
4370 | (init_eh, init_eh_for_function): Move prototypes to toplev.h. | |
4371 | (lang_protect_cleanup_actions): Remove. | |
4372 | * except.c (lang_protect_cleanup_actions): Remove. | |
4373 | (doing_eh): Remove. | |
4374 | (gen_eh_region): Don't check doing_eh here. | |
4375 | * toplev.h (init_eh, init_eh_for_function_): Moved from except.h. | |
4376 | * tree-eh.c (honor_protect_cleanup_actions): Use new langhook | |
4377 | instead of lang_protect_cleanup_actions. | |
4378 | * omp-low.c (maybe_catch_exception): Likewise. | |
4379 | * Makefile.in: Update dependencies. | |
4380 | ||
5dfebe0a | 4381 | 2010-06-28 Bingfeng Mei <bmei@broadcom.com> |
6d41cd02 | 4382 | |
94dbbc81 UB |
4383 | * cgraph.h (struct varpool_node): new used_from_object_file flag. |
4384 | (struct cgraph_local_info): new used_from_object_file flag. | |
4385 | * cgraph.c (dump_cgraph_node): dump used_from_object_file flag. | |
4386 | (cgraph_clone_node): initialize used_from_object_file. | |
4387 | (cgraph_create_virtual_clone): initialize used_from_object_file. | |
4388 | * lto-symbtab.c (lto_symtab_merge_decls_1): Set | |
4389 | used_from_object_file flags for symbols of LDPR_PREVAILING_DEF | |
4390 | when compiling with -fwhole-program. | |
4391 | (lto_symtab_resolve_symbols) Use LDPR_PREVAILING_DEF_IRONLY for | |
6d41cd02 | 4392 | internal resolver. |
94dbbc81 UB |
4393 | * ipa.c (function_and_variable_visibility): Set externally_visible |
4394 | flag of varpool_node if used_from_object_file flag is set. | |
4395 | (cgraph_externally_visible_p): check used_from_object_file flag. | |
4396 | * doc/invoke.texi (-fwhole-program option): Change description of | |
4397 | externally_visible attribute accordingly. | |
4398 | * doc/extend.texi (externally_visible): Ditto. | |
6d41cd02 | 4399 | |
7802ca7c JH |
4400 | 2010-06-27 Jan Hubicka <jh@suse.cz> |
4401 | ||
4402 | * params.def (max-inline-insns-auto): Default to 40. | |
4403 | * doc/invoke.texi (max-inline-insns-auto): Document the change. | |
4404 | ||
d402c33d JH |
4405 | 2010-06-27 Jan Hubicka <jh@suse.cz> |
4406 | ||
4407 | PR middle-end/44671 | |
4408 | PR middle-end/44686 | |
5dfebe0a EB |
4409 | * tree.c (build_function_decl_skip_args): Clear DECL_BUILT_IN on |
4410 | signature change. | |
d402c33d JH |
4411 | * ipa-split.c (split_function): Always clear DECL_BUILT_IN. |
4412 | * ipa-prop.c (ipa_modify_formal_parameters): Likewise. | |
4413 | ||
de8f4b07 AS |
4414 | 2010-06-27 Anatoly Sokolov <aesok@post.ru> |
4415 | ||
4416 | * target.h (struct gcc_target): Add register_move_cost field. | |
4417 | * target-def.h (TARGET_REGISTER_MOVE_COST): New. | |
4418 | (TARGET_INITIALIZER): Use TARGET_REGISTER_MOVE_COST. | |
4419 | * targhooks.c (default_register_move_cost): New function. | |
4420 | * targhooks.h (default_register_move_cost): Declare function. | |
4421 | * defaults.h (REGISTER_MOVE_COST): Delete. | |
4422 | * ira-int.h (ira_register_move_cost): Update comment. | |
bd3a5d17 | 4423 | * ira.c (ira_register_move_cost): Update comment. |
de8f4b07 AS |
4424 | * reload.h (register_move_cost): Declare. |
4425 | * reginfo.c (register_move_cost): New function. | |
4426 | (move_cost): Update comment. | |
4427 | (init_move_cost, memory_move_secondary_cost): Replace | |
4428 | REGISTER_MOVE_COST with register_move_cost. | |
4429 | * postreload.c (reload_cse_simplify_set): (Ditto.). | |
4430 | * reload.c (find_valid_class, find_reloads): (Ditto.). | |
4431 | * reload1.c (choose_reload_regs): (Ditto.). | |
4432 | * doc/tm.texi (TARGET_REGISTER_MOVE_COST): New. | |
4433 | (REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Update documentation. | |
4434 | * doc/md.texi (can_create_pseudo_p): Update documentation. | |
4435 | ||
4436 | * config/i386/i386.h (MEMORY_MOVE_COST): Remove macro. | |
4437 | * config/i386/i386-protos.h (int ix86_memory_move_cost): Remove. | |
4438 | * config/i386/i386.h (ix86_memory_move_cost): Make static. | |
4439 | (TARGET_MEMORY_MOVE_COST): Define. | |
4440 | ||
4441 | * config/ia64/ia64.h (MEMORY_MOVE_COST): Remove macro. | |
4442 | * config/ia64/ia64-protos.h (int ia64_memory_move_cost): Remove. | |
4443 | * config/ia64/ia64.h (ia64_memory_move_cost): Make static. | |
4444 | (TARGET_MEMORY_MOVE_COST): Define. | |
4445 | ||
533e50f6 RG |
4446 | 2010-06-27 Richard Guenther <rguenther@suse.de> |
4447 | ||
4448 | PR tree-optimization/44683 | |
4449 | * tree-ssa-dom.c (record_edge_info): Record equivalences for the | |
4450 | false edge from the inverted condition. | |
4451 | ||
11af16ef RG |
4452 | 2010-06-27 Richard Guenther <rguenther@suse.de> |
4453 | ||
4454 | PR middle-end/44684 | |
4455 | * tree-ssa-alias.c (refs_may_alias_p_1): Allow SSA name refs. | |
4456 | (stmt_may_clobber_ref_p_1): Do not bother to call the oracle | |
4457 | for register LHS. Or non-store assignments. | |
4458 | ||
d9816849 EB |
4459 | 2010-06-26 Eric Botcazou <ebotcazou@adacore.com> |
4460 | ||
4461 | * config/sparc/sparc.c (sparc_emit_set_const32): Make static. | |
4462 | (sparc_emit_set_const64): Likewise. Remove disabled code. | |
4463 | * config/sparc/sparc-protos.h (sparc_emit_set_const32): Delete. | |
4464 | (sparc_emit_set_const64): Likewise. | |
4465 | ||
2639084e CM |
4466 | 2010-06-26 Catherine Moore <clm@codesourcery.com> |
4467 | ||
4468 | * config/mips/mips.md (alu_type): New attribute. | |
4469 | (type): Infer type from alu_type. | |
4470 | (*add<mode>3, *add<mode>3_mips16, *addsi3_extended, | |
4471 | *baddu_si_eb, *baddu_si_el, *baddu_di, sub<mode>3, | |
4472 | *subsi3_extended, negsi2, negdi2, *low<mode>, | |
4473 | *low<mode>_mips16, *ior<mode>3, *ior<mode>3_mips16, | |
4474 | xor<mode>3, *nor<mode>3, | |
4475 | *zero_extend<GPR:mode>_trunc<SHORT:mode>, | |
4476 | *zero_extendhi_truncqi): Set alu_type instead of type. | |
4477 | ||
df453731 DR |
4478 | 2010-06-26 Douglas B Rupp <rupp@gnat.com> |
4479 | ||
4480 | * config/alpha/alpha.c (alpha_need_linkage): Adjust | |
6a02864a | 4481 | splay_tree_new_ggc call. |
df453731 DR |
4482 | (alpha_use_linkage): Likewise. |
4483 | ||
d5d8b111 JM |
4484 | 2010-06-26 Joseph Myers <joseph@codesourcery.com> |
4485 | ||
4486 | * collect2.c (main): Remove SWITCHES_NEED_SPACES conditional. | |
4487 | * doc/tm.texi (SWITCHES_NEED_SPACES): Don't document. | |
4488 | * gcc.c (SWITCHES_NEED_SPACES, switches_need_spaces): Remove. | |
4489 | (static_specs): Remove switches_need_spaces. | |
4490 | (process_command, do_self_spec): Hardcode handling "-o" instead of | |
4491 | checking switches_need_spaces. | |
4492 | * system.h (SWITCHES_NEED_SPACES): Poison. | |
4493 | ||
2706a615 RG |
4494 | 2010-06-26 Richard Guenther <rguenther@suse.de> |
4495 | ||
4496 | PR tree-optimization/44393 | |
4497 | * tree-loop-distribution.c (generate_loops_for_partition): Fix | |
4498 | stmt removal and VOP renaming. | |
4499 | (generate_memset_zero): Remove redundant stmt updating. | |
4500 | * tree-flow.h (mark_virtual_ops_in_bb): Remove. | |
4501 | * tree-cfg.c (mark_virtual_ops_in_bb): Likewise. | |
4502 | ||
8b3057b3 JH |
4503 | 2010-06-26 Jan Hubicka <jh@suse.cz> |
4504 | ||
4505 | * ipa-split.c (consider_split): PHI in entry block is OK as long as all | |
4506 | edges comming from header are equivalent. | |
4507 | (visit_bb): Handle PHIs correctly. | |
4508 | * tree-inline.c (copy_phis_for_bb): Be able to copy | |
4509 | PHI from entry edge. | |
94dbbc81 | 4510 | (copy_cfg_body): Produce edge from entry BB before copying PHIs. |
8b3057b3 | 4511 | |
6bfd4302 RB |
4512 | 2010-06-26 Richard Guenther <rguenther@suse.de> |
4513 | ||
4514 | PR middle-end/44674 | |
4515 | * tree-ssa-alias.c (refs_may_alias_p_1): Allow all kind of | |
4516 | decls. Handle LABEL_DECLs like FUNCTION_DECLs. | |
4517 | ||
922e1882 JM |
4518 | 2010-06-26 Joseph Myers <joseph@codesourcery.com> |
4519 | ||
4520 | * gcc.c (n_switches_alloc, n_infiles_alloc, alloc_infile, | |
4521 | add_infile, alloc_switch): New. | |
4522 | (process_command): Remove variable lang_n_infiles. Process | |
4523 | options in a single pass. Use new functions for allocating | |
4524 | infiles and switches arrays. Properly skip operands of | |
4525 | -Xpreprocessor and -Xassembler. | |
4526 | ||
8cf9feca JH |
4527 | 2010-06-26 Jan Hubicka <jh@suse.cz> |
4528 | ||
4529 | PR middle-end/44671 | |
6bfd4302 RB |
4530 | * cgraphunit.c (cgraph_function_versioning): Remove wrong |
4531 | cgraph_make_decl_local call; fix typo copying RTL data. | |
8cf9feca | 4532 | |
f6052f86 DD |
4533 | 2010-06-25 DJ Delorie <dj@redhat.com> |
4534 | ||
4535 | * config/m32c/m32c-protos.h (m32c_note_pragma_address): Declare. | |
4536 | (m32c_output_aligned_common): Likewise. | |
4537 | * config/m32c/m32c.h (ASM_OUTPUT_ALIGNED_DECL_COMMON): New. | |
4538 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New. | |
4539 | * config/m32c/m32c-pragma.c (m32c_pragma_address): New. | |
4540 | (m32c_register_pragmas): Register it. | |
4541 | * config/m32c/m32c.c (m32c_get_pragma_address): New. | |
4542 | (m32c_insert_attributes): Set #pragma address decls volatile. | |
4543 | (pragma_entry_eq): New. | |
4544 | (pragma_entry_hash): New. | |
4545 | (m32c_note_pragma_address): New. | |
4546 | (m32c_get_pragma_address): New. | |
4547 | (m32c_output_aligned_common): New. | |
4548 | * doc/extend.texi: Document the new pragma. | |
4549 | ||
4550 | * config/m32c/m32c.c (m32c_illegal_subreg_p): Reject illegal MEMs | |
4551 | also. | |
4552 | * config/m32c/predicates.md (m32c_any_operand): Check the code | |
4553 | instead of memory_operand so as to allow matching volatile MEMs. | |
4554 | (m32c_nonimmediate_operand): Likewise. | |
4555 | (mra_operand): Allow volatiles. | |
4556 | ||
e0a80069 AO |
4557 | 2010-06-25 Alexandre Oliva <aoliva@redhat.com> |
4558 | ||
4559 | PR debug/44610 | |
4560 | * simplify-rtx.c (delegitimize_mem_from_attrs): Don't use a base | |
4561 | address if the offset is unknown. | |
4562 | ||
8e7745dc DR |
4563 | 2010-06-25 Douglas B Rupp <rupp@gnat.com> |
4564 | ||
4565 | * dwarf2out.c (dwarf2out_vms_debug_main_pointer): New function. | |
4566 | * dwarf2out.h (dwarf2out_vms_debug_main_pointer): Declare new function. | |
4567 | * config/ia64/ia64-protos.h (ia64_start_function): Declare. | |
4568 | * config/ia64/sysv4.h (ASM_DECLARE_FUNCTION_NAME): Move contents | |
4569 | to ia64_start_function. Invoke it. | |
4570 | * config/ia64/ia64.c (ia64_start_function): Call new function | |
4571 | dwarf2out_vms_debug_main_pointer. | |
4572 | ||
5c8b27d7 SP |
4573 | 2010-06-25 Sebastian Pop <sebastian.pop@amd.com> |
4574 | ||
4575 | * tree-if-conv.c (insert_gimplified_predicates): Do not insert | |
4576 | statements computing the true predicate. | |
4577 | ||
29caa68a SP |
4578 | 2010-06-25 Sebastian Pop <sebastian.pop@amd.com> |
4579 | ||
4580 | * tree-if-conv.c (init_bb_predicate): Initialize the predicate | |
4581 | to boolean_true_node. | |
4582 | (reset_bb_predicate): New. | |
4583 | (predicate_bbs): Call reset_bb_predicate. | |
4584 | ||
0f741287 SP |
4585 | 2010-06-25 Sebastian Pop <sebastian.pop@amd.com> |
4586 | ||
4587 | * tree-if-conv.c (combine_blocks): Remove FIXME comment. | |
4588 | (tree_if_conversion): Returns true when something has been changed. | |
4589 | (main_tree_if_conversion): Return TODO_cleanup_cfg when if-conversion | |
4590 | changed something. | |
4591 | ||
53aa40a8 SP |
4592 | 2010-06-25 Sebastian Pop <sebastian.pop@amd.com> |
4593 | ||
4594 | * Makefile.in (tree-if-conv.o): Depends on DBGCNT_H. | |
4595 | * dbgcnt.def (if_conversion_tree): New DEBUG_COUNTER. | |
4596 | * tree-if-conv.c: Include dbgcnt.h. | |
4597 | (tree_if_conversion): Use if_conversion_tree to count the number of | |
4598 | if-convertible loops. | |
4599 | ||
1fbb509a CF |
4600 | 2010-06-25 Changpeng Fang <changpeng.fang@amd.com> |
4601 | ||
4602 | * common.opt (fprefetch-loop-arrays): Re-define | |
4603 | -fprefetch-loop-arrays as a tri-state option with the initial | |
4604 | value of -1. | |
4605 | * tree-ssa-loop.c (gate_tree_ssa_loop_prefetch): Invoke prefetch | |
4606 | pass only when flag_prefetch_loop_arrays > 0. | |
4607 | * toplev.c (process_options): Note that, with tri-states, | |
4608 | flag_prefetch_loop_arrays>0 means prefetching is enabled. | |
4609 | * config/i386/i386.c (override_options): Enable prefetching at -O3 | |
4610 | for a set of CPUs that sw prefetching is helpful. | |
4611 | (software_prefetching_beneficial_p): New. Return TRUE if software | |
4612 | prefetching is beneficial for the given CPU. | |
4613 | ||
97f43086 L |
4614 | 2010-06-25 H.J. Lu <hongjiu.lu@intel.com> |
4615 | ||
4616 | PR rtl-optimization/44326 | |
4617 | * implicit-zee.c (find_removable_zero_extends): Replace | |
4618 | INSN_P with NONDEBUG_INSN_P. | |
4619 | ||
062c604f MJ |
4620 | 2010-06-25 Martin Jambor <mjambor@suse.cz> |
4621 | ||
4622 | * ipa-prop.h (struct ipa_param_descriptor): Removed the modified flag. | |
4623 | (struct ipa_node_params): Removed the modification_analysis_done flag. | |
4624 | (ipa_is_param_modified): Removed. | |
4625 | (ipa_analyze_node): Declare. | |
4626 | (ipa_compute_jump_functions): Remove declaration. | |
4627 | (ipa_count_arguments): Likewise. | |
4628 | (ipa_detect_param_modifications): Likewise. | |
4629 | (ipa_analyze_params_uses): Likewise. | |
4630 | * ipa-prop.c (struct param_analysis_info): New type. | |
4631 | (visit_store_addr_for_mod_analysis): Removed. | |
4632 | (visit_load_for_mod_analysis): Renamed to visit_ref_for_mod_analysis, | |
4633 | moved down in the file. | |
4634 | (ipa_detect_param_modifications): Merged into ipa_analyze_params_uses. | |
4635 | (ipa_count_arguments): Made static. | |
4636 | (mark_modified): New function. | |
4637 | (is_parm_modified_before_call): New function. | |
4638 | (compute_pass_through_member_ptrs): New parameter parms_info, call | |
4639 | is_parm_modified_before_call instead of ipa_is_param_modified. | |
4640 | (ipa_compute_jump_functions_for_edge): New parameter parms_info, pass | |
4641 | it to compute_pass_through_member_ptrs. | |
4642 | (ipa_compute_jump_functions): New parameter parms_info, pass it to | |
4643 | ipa_compute_jump_functions_for_edge. Call ipa_initialize_node_params | |
4644 | on the callee if it is analyzed. Made static. | |
4645 | (ipa_analyze_indirect_call_uses): New parameter parms_info, call | |
4646 | is_parm_modified_before_call instead of ipa_is_param_modified. | |
4647 | (ipa_analyze_call_uses): New parameter parms_info, pass it to | |
4648 | ipa_analyze_indirect_call_uses. | |
4649 | (ipa_analyze_stmt_uses): New parameter parms_info, pass it to | |
4650 | ipa_analyze_call_uses. | |
4651 | (ipa_analyze_params_uses): New parameter parms_info, pass it to | |
4652 | ipa_analyze_stmt_uses. Also perform the used analysis. Made static. | |
4653 | (ipa_analyze_node): New function. | |
4654 | (ipa_print_node_params): Do not dump the modified flag. | |
4655 | (ipa_write_node_info): Assert uses_analysis_done rather than streaming | |
4656 | it. Do not stream the modified parameter flag. | |
4657 | (ipa_read_node_info): Set uses_analysis_done to 1 instead of streaming | |
4658 | it. Do not stream the modified parameter flag. | |
4659 | * ipa-cp.c (ipcp_analyze_node): Removed. | |
4660 | (ipcp_init_stage): Iterate only once over the nodes, analyze each one | |
4661 | with only a call to ipa_analyze_node. | |
4662 | * ipa-inline.c (inline_indirect_intraprocedural_analysis): Analyze the | |
4663 | node with only a call to ipa_analyze_node. | |
53aa40a8 | 4664 | |
212580ff MLI |
4665 | 2010-06-25 Manuel López-Ibáñez <manu@gcc.gnu.org> |
4666 | ||
4667 | * doc/invoke.texi (-Wsuggest-attribute): Add item for noreturn. | |
53aa40a8 | 4668 | |
3e485f62 JH |
4669 | 2010-06-25 Jan Hubicka <jh@suse.cz> |
4670 | ||
4671 | * tree-pass.h (pass_split_functions): Declare. | |
4672 | * opts.c (decode_options): Enable function splitting at -O2 | |
4673 | * timevar.def (TV_IPA_FNSPLIT): New macro. | |
4674 | * ipa-split.c: New file. | |
4675 | * common.opt (-fpartial-inlining): New flag. | |
4676 | * Makefile.in (ipa-split.o): New object file. | |
4677 | * passes.c (init_optimization_passes): Add ipa-split. | |
4678 | * params.def (partial-inlining-entry-probability): New parameters. | |
4679 | * doc/invoke.texi (-fpartial-inlining): New. | |
4680 | ||
12947319 MLI |
4681 | 2010-06-25 Manuel López-Ibáñez <manu@gcc.gnu.org> |
4682 | ||
4683 | PR 44665 | |
4684 | * tree-inline.c (gimple_expand_calls_inline): Fix typo in comment. | |
4685 | * gimplify.c (is_gimple_reg_rhs_or_call): Likewise. | |
4686 | (gimplify_expr): Likewise. | |
53aa40a8 | 4687 | |
8aa29647 MJ |
4688 | 2010-06-25 Martin Jambor <mjambor@suse.cz> |
4689 | ||
4690 | * ipa-prop.c (determine_cst_member_ptr): Ignore non-clobbering | |
4691 | statements instead of bailing out on them. | |
4692 | (ipa_analyze_indirect_call_uses): Do not require that loads from the | |
4693 | parameter are in the same BB as the condition. Update comments. | |
4694 | ||
8ba0479e JJ |
4695 | 2010-06-25 Jakub Jelinek <jakub@redhat.com> |
4696 | ||
7a2eceff JJ |
4697 | PR middle-end/43866 |
4698 | * tree-ssa-loop-unswitch.c (tree_may_unswitch_on): If stmt is always | |
4699 | true or always false, return NULL_TREE. | |
4700 | (tree_unswitch_single_loop): Optimize conditions even when reaching | |
4701 | max-unswitch-level parameter. If num > 0, optimize first all conditions | |
4702 | using entry checks, then do still reachable block discovery and consider | |
4703 | only conditions in still reachable basic blocks in the loop. | |
4704 | ||
8ba0479e JJ |
4705 | PR tree-optimization/44539 |
4706 | * tree-cfgcleanup.c (fixup_noreturn_call): Call update_stmt even when | |
4707 | the call doesn't have LHS, but has VDEF. | |
4708 | ||
d6841109 JM |
4709 | 2010-06-25 Joseph Myers <joseph@codesourcery.com> |
4710 | ||
4711 | * config/pa/pa.h (MODIFY_TARGET_NAME): Remove. | |
4712 | * doc/tm.texi (MODIFY_TARGET_NAME): Don't document. | |
94dbbc81 | 4713 | * gcc.c (enum add_del, struct modify_target, modify_target): Remove. |
d6841109 JM |
4714 | (process_command): Remove code conditional on MODIFY_TARGET_NAME. |
4715 | * system.h (MODIFY_TARGET_NAME): Poison. | |
4716 | ||
4c9d416e AM |
4717 | 2010-06-25 Alan Modra <amodra@gmail.com> |
4718 | ||
4719 | * doc/invoke.texi: Delete mcmodel=medium from powerpc options. | |
4720 | * config/rs6000/rs6000.h (enum rs6000_cmodel): Delete CMODEL_MEDIUM. | |
4721 | * config/rs6000/linux64.h (SUBSUBTARGET_OVERRIDE_OPTIONS): Set | |
4722 | CMODEL_LARGE as default. | |
4723 | * config/rs6000/rs6000.c (rs6000_handle_option): Remove mcmodel=medium. | |
4724 | (offsettable_ok_by_alignment): Delete. | |
4725 | (rs6000_emit_move): Remove mcmodel=medium optimization. | |
4726 | ||
0354c0c7 BS |
4727 | 2010-06-25 Bernd Schmidt <bernds@codesourcery.com> |
4728 | ||
4729 | With large parts from Jim Wilson: | |
4730 | PR target/43902 | |
4731 | * tree-pretty-print.c (dump_generic_node, op_code_prio): Add | |
4732 | WIDEN_MULT_PLUS_EXPR and WIDEN_MULT_MINUS_EXPR. | |
4733 | * optabs.c (optab_for_tree_code): Likewise. | |
4734 | (expand_widen_pattern_expr): Likewise. | |
4735 | * tree-ssa-math-opts.c (convert_mult_to_widen): New function, broken | |
4736 | out of execute_optimize_widening_mul. | |
4737 | (convert_plusminus_to_widen): New function. | |
4738 | (execute_optimize_widening_mul): Use the two new functions. | |
4739 | * expr.c (expand_expr_real_2): Add support for GIMPLE_TERNARY_RHS. | |
4740 | Remove code to generate widening multiply-accumulate. Add support | |
4741 | for WIDEN_MULT_PLUS_EXPR and WIDEN_MULT_MINUS_EXPR. | |
4742 | * gimple-pretty-print.c (dump_ternary_rhs): New function. | |
4743 | (dump_gimple_assign): Call it when appropriate. | |
4744 | * tree.def (WIDEN_MULT_PLUS_EXPR, WIDEN_MULT_MINUS_EXPR): New codes. | |
4745 | * cfgexpand.c (gimple_assign_rhs_to_tree): Likewise. | |
4746 | (expand_gimple_stmt_1): Likewise. | |
4747 | (expand_debug_expr): Support WIDEN_MULT_PLUS_EXPR and | |
4748 | WIDEN_MULT_MINUS_EXPR. | |
4749 | * tree-ssa-operands.c (get_expr_operands): Likewise. | |
4750 | * tree-inline.c (estimate_operator_cost): Likewise. | |
4751 | * gimple.c (extract_ops_from_tree_1): Renamed from | |
4752 | extract_ops_from_tree. Add new arg for a third operand; fill it. | |
4753 | (gimple_build_assign_stat): Support operations with three operands. | |
4754 | (gimple_build_assign_with_ops_stat): Likewise. | |
4755 | (gimple_assign_set_rhs_from_tree): Likewise. | |
4756 | (gimple_assign_set_rhs_with_ops_1): Renamed from | |
4757 | gimple_assign_set_rhs_with_ops. Add new arg for a third operand. | |
4758 | (get_gimple_rhs_num_ops): Support GIMPLE_TERNARY_RHS. | |
4759 | (get_gimple_rhs_num_ops): Handle WIDEN_MULT_PLUS_EXPR and | |
4760 | WIDEN_MULT_MINUS_EXPR. | |
4761 | * gimple.h (enum gimple_rhs_class): Add GIMPLE_TERNARY_RHS. | |
4762 | (extract_ops_from_tree_1): Adjust declaration. | |
4763 | (gimple_assign_set_rhs_with_ops_1): Likewise. | |
4764 | (gimple_build_assign_with_ops): Pass NULL for last operand. | |
4765 | (gimple_build_assign_with_ops3): New macro. | |
4766 | (gimple_assign_rhs3, gimple_assign_rhs3_ptr, gimple_assign_set_rhs3, | |
4767 | gimple_assign_set_rhs_with_ops, extract_ops_from_tree): New inline | |
4768 | functions. | |
4769 | * tree-cfg.c (verify_gimple_assign_ternary): New static function. | |
4770 | (verify_gimple_assign): Call it. | |
4771 | * doc/gimple.texi (Manipulating operands): Document GIMPLE_TERNARY_RHS. | |
4772 | (Tuple specific accessors, subsection GIMPLE_ASSIGN): Document new | |
4773 | functions for dealing with three-operand statements. | |
4774 | * tree.c (commutative_ternary_tree_code): New function. | |
4775 | * tree.h (commutative_ternary_tree_code): Declare it. | |
5dfebe0a EB |
4776 | * tree-vrp.c (gimple_assign_nonnegative_warnv_p): Return false for |
4777 | ternary statements. | |
0354c0c7 BS |
4778 | (gimple_assign_nonzero_warnv_p): Likewise. |
4779 | * tree-ssa-sccvn.c (stmt_has_constants): Handle GIMPLE_TERNARY_RHS. | |
4780 | * tree-ssa-ccp.c (get_rhs_assign_op_for_ccp): New static function. | |
4781 | (ccp_fold): Use it. Handle GIMPLE_TERNARY_RHS. | |
4782 | * tree-ssa-dom.c (enum expr_kind): Add EXPR_TERNARY. | |
4783 | (struct hashtable_expr): New member ternary in the union. | |
4784 | (initialize_hash_element): Handle GIMPLE_TERNARY_RHS. | |
4785 | (hashable_expr_equal_p): Fix indentation. Handle EXPR_TERNARY. | |
4786 | (iterative_hash_hashable_expr): Likewise. | |
4787 | (print_expr_hash_elt): Handle EXPR_TERNARY. | |
4788 | * gimple-fold.c (fold_gimple_assign): Handle GIMPLE_TERNARY_RHS. | |
4789 | * tree-ssa-threadedge.c (fold_assignment_stmt): Remove useless break | |
4790 | statements. Handle GIMPLE_TERNARY_RHS. | |
4791 | ||
38f78b0c JH |
4792 | 2010-06-25 Jan Hubicka <jh@suse.cz> |
4793 | ||
4794 | * doc/invoke.texi (-Wsuggest-attribute): Add noreturn. | |
4795 | ||
09a1e889 SZ |
4796 | 2010-06-25 Shujing Zhao <pearly.zhao@oracle.com> |
4797 | ||
4798 | PR c/44517 | |
4799 | * c-parser.c (c_parser_parms_list_declarator): Return NULL if one of | |
4800 | parameters are not good. | |
4801 | (c_parser_parameter_declaration): Error unknown type name if the type | |
4802 | name can't start declaration specifiers. | |
4803 | ||
418f840c JM |
4804 | 2010-06-25 Joseph Myers <joseph@codesourcery.com> |
4805 | ||
4806 | * gcc.c (translate_options): Don't mention +e in comment. | |
4807 | (process_command): Don't handle +e specially. | |
4808 | ||
dd2e0807 BS |
4809 | 2010-06-25 Bernd Schmidt <bernds@codesourcery.com> |
4810 | ||
4811 | * ira.c (allocno_pool, copy_pool, allocno_live_range_pool): Delete. | |
4812 | ||
3c55880a BS |
4813 | * ira-build.c (merge_hard_reg_conflicts): New function. |
4814 | (create_cap_allocno, copy_info_to_removed_store_destinations, | |
4815 | propagate_some_info_from_allocno, propagate_allocno_info): Use it. | |
4816 | (move_allocno_live_ranges, copy_allocno_live_ranges): New functions. | |
4817 | (remove_unnecessary_allocnos, remove_low_level_allocnos) | |
4818 | copy_nifo_to_removed_store_destination): Use them. | |
4819 | * ira-lives.c (make_hard_regno_born): New function, split out of | |
4820 | make_regno_born. | |
4821 | (make_allocno_born): Likewise. | |
4822 | (make_hard_regno_dead): New function, split out of make_regno_dead. | |
4823 | (make_allocno_dead): Likewise. | |
4824 | (inc_register_pressure): New function, split out of set_allocno_live. | |
4825 | (dec_register_pressure): New function, split out of clear_allocno_live. | |
4826 | (mark_pseudo_regno_live): New function, split out of mark_reg_live. | |
4827 | (mark_hard_reg_live): Likewise. Use inc_register_pressure. | |
4828 | (mark_pseudo_regno_dead): New function, split out of mark_reg_dead. | |
4829 | (mark_hard_reg_dead): Likewise. Use dec_register_pressure. | |
4830 | (make_pseudo_conflict): Use mark_pseudo_regno_dead and | |
4831 | mark_pseudo_regno_live. | |
4832 | (process_bb_node_lives): Use mark_pseudo_regno_live, | |
4833 | make_hard_regno_born and make_allocno_dead. | |
4834 | (make_regno_born, make_regno_dead, mark_reg_live, mark_reg_dead, | |
4835 | set_allocno_live, clear_allocno_live): Delete functions. | |
4836 | ||
029da7d4 BS |
4837 | * ira-int.h (ira_parent_allocno, ira_parent_or_cap_allocno): Declare. |
4838 | * ira-build.c (ira_parent_allocno, ira_parent_or_cap_allocno): New | |
4839 | functions. | |
4840 | (ira_flattening): Use ira_parent_allocno. | |
4841 | * ira-conflicts.c (process_regs_for_copy, propagate_copies) | |
4842 | build_allocno_conflicts): Use ira_parent_or_cap_allocno. | |
4843 | ||
6300cb73 BS |
4844 | * ira-color.c (assign_hard_reg): Improve formatting of multi-line for |
4845 | statement. | |
4846 | ||
42ce1cc4 BS |
4847 | * ira-int.h (SET_MINMAX_SET_BIT, CLEAR_MINMAX_SET_BIT, |
4848 | TEST_MINMAX_SET_BIT, minmax_set_iterator, minmax_set_iter_init, | |
4849 | minmax_set_iter_cond, minmax_set_iter_next, | |
4850 | FOR_EACH_BIT_IN_MINMAX_SET): Renamed from SET_ALLOCNO_SET_BIT, | |
4851 | CLEAR_ALLOCNO_SET_BIT, TEST_ALLOCNO_SET_BIT, ira_allocno_set_iterator, | |
4852 | ira_allocno_set_iter_init, ira_allocno_set_iter_cond, | |
4853 | ira_allocno_set_iter_Next and FOR_EACH_ALLOCNO_IN_ALLOCNO_SET. All | |
4854 | uses changed. | |
4855 | ||
b14151b5 BS |
4856 | * ira-int.h (struct live_range, live_range_t): Renamed from struct |
4857 | ira_allocno_live_range and allocno_live_range_t; all uses changed. | |
4858 | * ira-build.c (live_range_pool): Renamed from allocno_live_range_pool. | |
4859 | All uses changed. | |
4860 | ||
8850383b RE |
4861 | 2010-06-24 Richard Earnshaw <rearnsha@arm.com> |
4862 | ||
4863 | * thumb2.md (thumb2_tlobits_cbranch): Delete. | |
4864 | (peephole2 to convert zero_extract/compare of single bit to | |
4865 | lshift/compare): New. | |
4866 | ||
43a5d30b AS |
4867 | 2010-06-24 Anatoly Sokolov <aesok@post.ru> |
4868 | ||
4869 | * fold-const.c (const_binop): Remove 'notrunc' argement. Adjust | |
4870 | recursive call and call to 'int_const_binop'. | |
4871 | (build_range_check, fold_cond_expr_with_comparison, unextend, | |
4872 | fold_truthop, extract_muldiv_1, fold_comparison, fold_binary_loc, | |
4873 | multiple_of_p): Adjust call to const_binop. | |
4874 | ||
b1c6d018 UB |
4875 | 2010-06-24 Uros Bizjak <ubizjak@gmail.com> |
4876 | ||
4877 | * config/i386/i386.md (XFmode push splitter): Use GET_MODE_SIZE to | |
4878 | determine size of XFmode operand. | |
4879 | (XFmode extended DFmode push splitter): Ditto. | |
4880 | (XFmode extended SFmode push splitter): Ditto. | |
4881 | ||
da0ae970 L |
4882 | 2010-06-24 H.J. Lu <hongjiu.lu@intel.com> |
4883 | ||
4884 | PR target/44588 | |
4885 | * config/i386/i386.md (extract_code): New. | |
4886 | (<u>divmodqi4): Likewise. | |
4887 | (divmodhiqi3): Likewise. | |
4888 | (udivmodhiqi3): Likewise. | |
4889 | (<u>divqi3): Remvoved. | |
4890 | ||
54f044eb JJ |
4891 | 2010-06-24 Jakub Jelinek <jakub@redhat.com> |
4892 | ||
4893 | PR middle-end/44492 | |
4894 | * recog.h (struct recog_data): Add is_asm field. | |
4895 | * recog.c (asm_operand_ok, constrain_operands): If neither < nor > is | |
4896 | present in constraints of inline-asm operand and memory operand | |
4897 | contains {PRE,POST}_{INC,DEC,MODIFY}, return 0. | |
4898 | (extract_insn): Initialize recog_data.is_asm. | |
4899 | * doc/md.texi (Constraints): Document operand side-effect rules. | |
4900 | ||
d166d4c3 AK |
4901 | 2010-06-24 Andi Kleen <ak@linux.intel.com> |
4902 | ||
b1c6d018 UB |
4903 | * c-parser.c (c_parser_conditional_expression): Call |
4904 | warn_for_omitted_condop. | |
4905 | * doc/invoke.texi: Document omitted condop warning. | |
d166d4c3 | 4906 | |
b27c1cde NC |
4907 | 2010-06-24 Nick Clifton<nickc@redhat.com> |
4908 | ||
4909 | * loop-unswitch.c (compare_and_jump_seq): Assert that the last | |
4910 | insn in the sequence is a jump insn before setting its label. | |
4911 | ||
2dcef31e AM |
4912 | 2010-06-24 Alan Modra <amodra@gmail.com> |
4913 | ||
4914 | * collect2.c (main): Match exactly --version and --help. | |
4915 | ||
5f4a67a5 DD |
4916 | 2010-06-24 DJ Delorie <dj@redhat.com> |
4917 | ||
4918 | * config/m32c/m32c-pragma.c: Don't include rtl.h. | |
4919 | ||
bc051083 UB |
4920 | 2010-06-23 Uros Bizjak <ubizjak@gmail.com> |
4921 | ||
b1c6d018 | 4922 | * config/i386/i386.md (mov<mode>): Macroize expander from mov{sf,df,xf} |
bc051083 UB |
4923 | using X87MODEF mode iterator. |
4924 | (pushsf splitter): Macroize splitter using P mode iterator. | |
4925 | (*swap<mode>): Macroize insn from *swap{sf,df} using MODEF | |
4926 | mode iterator. | |
4927 | ||
4928 | (*movxf_internal): Rename from *movxf_integer. | |
4929 | (*movxf_internal_nointeger): Rename from *movxf_nointeger. | |
4930 | (*movdf_internal_rex64): Rename from *movdf_integer_rex64. | |
4931 | (*movdf_internal): Rename from *movdf_integer. | |
4932 | (*movdf_internal_nointeger): Rename from *movdf_nointeger. | |
4933 | (*movsf_internal): Rename from *movdf_1. | |
4934 | ||
cde8534c BS |
4935 | 2010-06-23 Basile Starynkevitch <basile@starynkevitch.net> |
4936 | ||
bd3a5d17 | 4937 | * coretypes.h (gimple_seq_node_d, gimple_seq_node) |
cde8534c BS |
4938 | (const_gimple_seq_node): Removed typedefs. |
4939 | ||
bd3a5d17 | 4940 | * gimple.h (gimple_seq_node_d, gimple_seq_node) |
cde8534c BS |
4941 | (const_gimple_seq_node): Added typedefs moved from coretypes.h. |
4942 | ||
9b2133cd L |
4943 | 2010-06-23 H.J. Lu <hongjiu.lu@intel.com> |
4944 | ||
4945 | * config/i386/i386.c (bdesc_args): Replace CODE_FOR_avx_si_si256, | |
4946 | CODE_FOR_avx_ps_ps256 and CODE_FOR_avx_pd_pd256 with | |
4947 | CODE_FOR_vec_extract_lo_v8si, CODE_FOR_vec_extract_lo_v8sf | |
4948 | and CODE_FOR_vec_extract_lo_v4df. | |
4949 | ||
4950 | * config/i386/sse.md (vec_extract_lo_<AVX256MODE4P:mode>): | |
4951 | Changed to define_insn_and_split. | |
4952 | (vec_extract_lo_<AVX256MODE8P:mode>): Likewise. | |
4953 | (vec_extract_lo_v16hi): Likewise. | |
4954 | (vec_extract_lo_v32qi): Likewise. | |
4955 | (avx_<avxmodesuffixp><avxmodesuffix>_<avxmodesuffixp>): Likewise. | |
4956 | (avx_<avxmodesuffixp>_<avxmodesuffixp><avxmodesuffix>): Removed. | |
4957 | ||
82c0295a JR |
4958 | 2010-06-23 Joern Rennecke <joern.rennecke@embecosm.com> |
4959 | ||
f52d94aa | 4960 | PR target/44640 |
82c0295a JR |
4961 | * config/spu/spu-protos.h (spu_expand_epilogue) Use bool. |
4962 | * config/spu/spu.c (spu_scalar_mode_supported_p): Declare with bool. | |
4963 | (spu_vector_mode_supported_p, spu_handle_fndecl_attribute): Likewise. | |
4964 | (spu_handle_vector_attribute, spu_pass_by_reference): Likewise. | |
4965 | (spu_rtx_costs, spu_function_ok_for_sibcall): Likewise. | |
4966 | ||
f52d94aa | 4967 | PR target/44640 |
bec02c18 JR |
4968 | * config/spu/spu.c (ea_load_store_inline): Use add_reg_note. |
4969 | ||
f12c802a JR |
4970 | PR other/44644 |
4971 | * df-core.c (struct df): Rename to df_d. | |
4972 | * df.h (struct df): Likewise. | |
4973 | * dse.h (struct df): Remove forward declaration. | |
4974 | * recog.h (struct insn_data): Rename to: | |
4975 | (struct_insn_data_d). Adjusted all users. | |
4976 | ||
1004318e AC |
4977 | 2010-06-23 Arnaud Charlet <charlet@adacore.com |
4978 | ||
422f3939 | 4979 | PR ada/22220 |
1004318e AC |
4980 | * doc/install.texi: Update requirements to build GNAT. |
4981 | ||
f878882b AS |
4982 | 2010-06-22 Andreas Schwab <schwab@linux-m68k.org> |
4983 | ||
4984 | * config/m68k/m68k.c (m68k_output_addr_const_extra): Add cast to | |
4985 | enum type. | |
4986 | (m68k_sched_attr_opx_type): Remove unreachable return. | |
4987 | (m68k_sched_attr_opy_type): Likewise. | |
4988 | (m68k_sched_attr_size): Likewise. | |
4989 | (sched_get_opxy_mem_type): Likewise. | |
4990 | (m68k_sched_attr_op_mem): Likewise. | |
4991 | ||
8d2adc24 EB |
4992 | 2010-06-22 Eric Botcazou <ebotcazou@adacore.com> |
4993 | ||
4994 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Chain the | |
4995 | new statement and adjust VDEF only if necessary. Remove superfluous | |
4996 | call to maybe_clean_or_replace_eh_stmt. | |
4997 | * gimple.c (gimple_call_copy_skip_args): Use gimple_call_copy_flags to | |
4998 | copy the flags. | |
4999 | * gimple-iterator.c (gsi_replace): Clear BB of old statement here... | |
5000 | * tree-inline.c (copy_bb): ...and not there. | |
5001 | ||
ca3e07b4 CC |
5002 | 2010-06-22 Cary Coutant <ccoutant@google.com> |
5003 | ||
5004 | * dwarf2out.c (is_nested_in_subprogram): New function. | |
5005 | (should_move_die_to_comdat): Use it. | |
5006 | (copy_ancestor_tree): Don't mark DIEs here. | |
5007 | (copy_decls_walk): Start walk from root of newly-added tree; | |
5008 | mark DIEs here instead. | |
5009 | ||
153b6955 L |
5010 | 2010-06-22 H.J. Lu <hongjiu.lu@intel.com> |
5011 | ||
5012 | * config/i386/i386.md (unit): Also check sseishft1. | |
5013 | ||
b074e783 JH |
5014 | 2010-06-22 Jan Hubicka <jh@suse.cz> |
5015 | ||
8d2adc24 EB |
5016 | * gimple.h (gimple_expr_code): Do checking on when gimple checking is |
5017 | enabled. | |
b074e783 | 5018 | |
1a0f3fa1 JH |
5019 | 2010-06-22 Jan Hubicka <jh@suse.cz> |
5020 | ||
8d2adc24 EB |
5021 | * df-problems.c (df_rd_confluence_n, df_lr_confluence_n, |
5022 | df_live_confluence_n, df_byte_lr_confluence_n, df_md_confluence_n): | |
5023 | Return true if something changed. | |
1a0f3fa1 | 5024 | * df.h (df_confluence_function_n): Return bool. |
8d2adc24 EB |
5025 | * df-core.c (df_worklist_propagate_forward, |
5026 | df_worklist_propagate_backward): Track changes and ages. | |
1a0f3fa1 JH |
5027 | (df_worklist_dataflow_doublequeue): Use bitmap iterator for main walk; |
5028 | track ages. | |
5029 | * dse.c (dse_confluence_n): Return always true. | |
5030 | ||
5031 | 2010-06-22 Jan Hubicka <jh@suse.cz> | |
07309d58 UB |
5032 | |
5033 | * bitmap.c (bitmap_clear_bit): Micro optimize. | |
5034 | ||
a8ecfc9f UB |
5035 | 2010-06-22 Uros Bizjak <ubizjak@gmail.com> |
5036 | ||
5037 | * config/i386/i386.md (SWI1248x): New mode iterator. | |
5038 | (SWI48x): Ditto. | |
5039 | (SWI12): Ditto. | |
5040 | (SWI24): Ditto. | |
bc051083 | 5041 | |
a8ecfc9f UB |
5042 | (mov<mode>): Macroize expander from mov{qi,hi,si,di} using |
5043 | SWI1248x mode iterator. | |
5044 | (*push<mode>2_rex64): Macroize insn from *push{qi,hi,si}_rex64 | |
5045 | using SWI124 mode iterator. | |
5046 | (*push<mode>2): Macroize insn from *push{qi,hi} using SWI12 | |
5047 | mode iterator. | |
5048 | (*push<mode>2_prologue): Macroize insn from *pushsi2_prologue and | |
5049 | *pushdi2_prologue_rex64 using P mode iterator. | |
5050 | (*mov<mode>_xor): Macroize insn from *movsi_xor and *movdi_xor_rex64 | |
5051 | using SWI48 mode iterator. | |
5052 | (*mov<mode>_or): Ditto from *movsi_or and *movdi_or_rex64. | |
5053 | (*movabs<mode>_1): Macroize insn from *movabs{qi,hi,si,di}_1_rex64 | |
5054 | using SWI1248x mode iterator. | |
5055 | (*movabs<mode>_2): Ditto from *movabs{qi,hi,si,di}_1_rex64. | |
5056 | (*swap<mode>): Macroize insn from *swapsi and *swapdi_rex64 using | |
5057 | SWI48 mode iterator. | |
5058 | (*swap<mode>_1): Macroize insn from *swap{qi,hi}_1 using SWI12 mode | |
5059 | iterator. | |
5060 | (*swap<mode>_2): Ditto from *swap{qi,hi}_2. | |
5061 | (movstrict<mode>): Macroize expander from movstrict{qi,hi} using | |
5062 | SWI12 mode iterator. | |
5063 | (*movstrict<mode>_1): Macroize insn from *movstrict{qi,hi}_1 using | |
5064 | SWI12 mode iterator. | |
5065 | (*movstrict<mode>_xor): Ditto from *movstrict{qi,hi}_xor. | |
5066 | (*mov<mode>_extv_1): Macroize insn from *mov{hi,si}_extv_1 using | |
5067 | SWI24 mode iterator. | |
5068 | (*mov<mode>_extzv_1): Macroize insn from *mov{si,di}_extzv_1 using | |
5069 | SWI48 mode iterator. | |
5070 | (mov<mode>_insn_1): New expander. | |
5071 | (*mov<mode>_insv_1_rex64): Macroize insn from *mov{si,di}_insv_1_rex64 | |
5072 | using SWI48x mode iterator. | |
5073 | ||
5074 | (*movoi_internal_avx): Rename from *movoi_internal. | |
5075 | (*movti_internal_rex64): Rename from *movti_rex64. | |
5076 | (*movti_internal_sse): Rename from *movti_sse. | |
5077 | (*movdi_internal_rex64): Rename from *movdi_1_rex64. | |
5078 | (*movdi_internal): Rename from *movdi_2. | |
5079 | (*movsi_internal): Rename from *movsi_1. | |
5080 | (*movhi_internal): Rename from *movhi_1. | |
5081 | (*movqi_internal): Rename from *movqi_1. | |
5082 | ||
5083 | (insv): Update the call to gen_movsi_insv_1 for rename. | |
5084 | * config/i386/i386.c (promote_duplicated_reg): Ditto. | |
5085 | ||
0d6a035d JH |
5086 | 2010-06-22 Jan Hubicka <jh@suse.cz> |
5087 | ||
5088 | * passes.c (execute_function_todo): Move call of statistics_fini_pass | |
5089 | to ... | |
5090 | (execute_todo) ... this one. | |
5091 | ||
8d2547f2 AM |
5092 | 2010-06-22 Alan Modra <amodra@gmail.com> |
5093 | ||
5094 | PR target/44364 | |
5095 | * config/rs6000/e500.h (HARD_REGNO_CALLER_SAVE_MODE): Define. | |
5096 | * caller-save.c (insert_restore, insert_save): Use non-validate | |
5097 | form of adjust_address. | |
5098 | ||
e92abd50 JDA |
5099 | 2010-06-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5100 | ||
5101 | PR target/39690 | |
a181e869 | 5102 | * config/pa/pa.c (override_options): Disable |
e92abd50 JDA |
5103 | -freorder-blocks-and-partition. |
5104 | ||
c1b157a6 L |
5105 | 2010-06-21 H.J. Lu <hongjiu.lu@intel.com> |
5106 | ||
5107 | PR target/44615 | |
5108 | * config/i386/atom.md (atom_sseishft_2): Also check sseishft1. | |
5109 | ||
5110 | * config/i386/i386.md (type): Add sseishft1 | |
5111 | ||
5112 | * config/i386/ppro_insn (ppro_insn): Also check sseishft1. | |
5113 | (ppro_insn_load): Likewise. | |
5114 | (ppro_insn_store): Likewise. | |
5115 | (ppro_insn_both): Likewise. | |
5116 | ||
5117 | * config/i386/sse.md (sse2_lshrv1ti3): Add atom_unit. | |
5118 | (*vec_extractv2di_1_rex64_avx): Replace sseishft with sseishft1 | |
5119 | for type. | |
5120 | (*vec_extractv2di_1_avx): Likewise. | |
5121 | (*vec_extractv2di_1_rex64): Replace sseishft with sseishft1 for | |
5122 | type. Remove atom_unit. | |
5123 | (*vec_extractv2di_1_sse2): Likewise. | |
5124 | ||
cd7fe53b DD |
5125 | 2010-06-21 DJ Delorie <dj@redhat.com> |
5126 | ||
5127 | * diagnostic.h (diagnostic_classification_change_t): New. | |
5128 | (diagnostic_context): Add history and push/pop list. | |
5129 | (diagnostic_push_diagnostics): Declare. | |
5130 | (diagnostic_pop_diagnostics): Declare. | |
5131 | * diagnostic.c (diagnostic_classify_diagnostic): Store changes | |
5132 | from pragmas in a history chain instead of the global table. | |
5133 | (diagnostic_push_diagnostics): New. | |
5134 | (diagnostic_pop_diagnostics): New. | |
5135 | (diagnostic_report_diagnostic): Scan history chain to find state | |
5136 | of diagnostics as of the diagnostic location. | |
5137 | * opts.c (set_option): Pass UNKNOWN_LOCATION to | |
5138 | diagnostic_classify_diagnostic. | |
5139 | (enable_warning_as_error): Likewise. | |
5140 | * diagnostic-core.h (DK_POP): Add after "real" diagnostics, for | |
5141 | use in the history chain. | |
cd7fe53b DD |
5142 | * doc/extend.texi: Document pragma GCC diagnostic changes. |
5143 | ||
d34b4f64 JJ |
5144 | 2010-06-21 Jakub Jelinek <jakub@redhat.com> |
5145 | ||
5ec96609 JJ |
5146 | * dwarf2out.c (add_linkage_name): New function. Don't add |
5147 | anything to DW_TAG_member DIEs. | |
5148 | (add_name_and_src_coords_attributes): Use it. | |
5149 | (gen_variable_die): Call it for C++ static data members if | |
5150 | specification is DW_TAG_member. | |
5151 | ||
f0057424 JJ |
5152 | * dwarf2out.c (base_type_die): Use DW_ATE_UTF for |
5153 | C++ char16_t and char32_t. | |
5154 | ||
2e1e8c5d JJ |
5155 | * Makefile.in (build/genattrtab.o): Depend on vecprim.h. |
5156 | * genattrtab.c: Include vecprim.h. | |
5157 | (cached_attrs, cached_attr_count, attrs_seen_once, | |
5158 | attrs_seen_more_than_once, attrs_to_cache, attrs_cached_inside, | |
5159 | attrs_cached_after): New variables. | |
5160 | (find_attrs_to_cache): New function. | |
5161 | (FLG_BITWISE, FLG_AFTER, FLG_INSIDE, FLG_OUTSIDE_AND): Define. | |
5162 | (write_test_expr): Add attrs_cached argument, return it too, | |
5163 | attempt to cache non-const attributes used more than once in | |
5164 | a single case handling. | |
5165 | (write_attr_get): Use find_attrs_to_cache, for caching candidates | |
5166 | emit cached_* variables. Adjust write_attr_set callers. | |
5167 | (write_attr_set): Add attrs_cached attribute, use find_attrs_to_cache | |
5168 | to find attributes that should be cached in this block. Adjust | |
5169 | write_test_expr callers. | |
5170 | (write_attr_case): Clear attrs_to_cache. Adjust write_attr_set | |
5171 | callers. | |
5172 | (make_automaton_attrs): Adjust write_test_expr caller. | |
5173 | ||
2b21299c JJ |
5174 | * Makefile.in (cfgexpand.o): Depend on $(INSN_ATTR_H). |
5175 | * genattrtab.c (check_tune_attr, find_tune_attr): New functions. | |
5176 | (make_automaton_attrs): If find_tune_attr returns non-NULL, | |
5177 | write separate internal_dfa_insn_code_* and insn_default_latency_* | |
5178 | functions for each attribute's value and emit init_sched_attrs | |
5179 | function and function pointers. | |
5180 | * genattr.c (const_attrs, reservations): New variables. | |
5181 | (gen_attr): Add const attributes to const_attrs vector. | |
5182 | (check_tune_attr, find_tune_attr): New functions. | |
5183 | (main): Add reservations to reservations vector. If find_tune_attr | |
5184 | returns true, add prototype for init_sched_attrs and make | |
5185 | internal_dfa_insn_code and insn_default_latency function pointers, | |
5186 | otherwise define init_sched_attrs as dummy macro. | |
5187 | * cfgexpand.c: Include insn-attr.h. | |
5188 | (gimple_expand_cfg): Call init_sched_attrs. | |
5189 | ||
5e88be0d | 5190 | * stmt.c (resolve_asm_operand_names): Fix handling of %%. |
d34b4f64 | 5191 | |
529e5fc9 JJ |
5192 | PR target/44575 |
5193 | * config/i386/i386.c (ix86_gimplify_va_arg): When copying | |
5194 | va_arg from a set of register save slots into a temporary, | |
5195 | if the container is bigger than type size, do the copying | |
5196 | using smaller mode or using memcpy. | |
5197 | ||
67477881 JJ |
5198 | PR bootstrap/44426 |
5199 | * sel-sched-dump.h (sel_prepare_string_for_dot_label): Remove | |
5200 | prototype. | |
5201 | (sel_print_to_dot): Remove macro. | |
5202 | (sel_print): Likewise. New prototype. | |
5203 | * sel-sched-dump.c (sel_prepare_string_for_dot_label): Make static. | |
5204 | (sel_print): New function. | |
5205 | ||
babc4728 RO |
5206 | 2010-06-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
5207 | ||
5208 | * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define | |
5209 | __STDC_VERSION__=199901L, _XOPEN_SOURCE=600 for C++. | |
5210 | ||
31e727b0 NC |
5211 | 2010-06-21 Nick Clifton <nickc@redhat.com> |
5212 | ||
5213 | * config/rx/rx.h (PTRDIFF_TYPE): Define. | |
5214 | (SMALL_REGISTER_CLASS): Define (to zero). | |
5215 | (PRINT_OPERAND): Delete. | |
5216 | (PRINT_OPERAND_ADDRESS): Delete. | |
5217 | * config/rx/rx-protos.h (rx_print_operand): Delete prototype. | |
5218 | (rx_print_operand_address): Delete prototype. | |
5219 | * config/rx/rx.c (rx_print_operand): Make static. | |
5220 | Allow %H and %L to handle CONST_DOUBLEs. | |
5221 | (rx_print_operand_address): Make static. | |
5222 | (rx_gen_move_template): Rename local variable 'template' to | |
5223 | out_template. | |
5e88be0d | 5224 | (rx_function_arg): Do not pass unknown sized objects in registers. |
31e727b0 NC |
5225 | (TARGET_PRINT_OPERAND): Define. |
5226 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
5227 | ||
b361b153 JK |
5228 | 2010-06-21 Jan Kratochvil <jan.kratochvil@redhat.com> |
5229 | ||
5230 | * Makefile.in (POD2MAN): Provide --date from $(DATESTAMP). | |
5231 | ||
7916a546 KT |
5232 | 2010-06-21 Kai Tietz <kai.tietz@onevision.com> |
5233 | ||
5234 | * config/i386/i386.c (ix86_compute_frame_layout): Avoid | |
5235 | stack-alignment for simple leaf-functions. | |
5236 | ||
339325b3 AO |
5237 | 2010-06-20 Alexandre Oliva <aoliva@redhat.com> |
5238 | ||
5239 | * doc/install.texi: Document bootstrap-lto. | |
5240 | ||
7254364e AO |
5241 | 2010-06-20 Alexandre Oliva <aoliva@redhat.com> |
5242 | ||
5243 | PR debug/44248 | |
5244 | * lto-streamer-in.c (input_bb): Leave debug stmts alone. | |
5245 | (input_function): Drop them here, if VTA is disabled. | |
5246 | ||
dedd9d05 UB |
5247 | 2010-06-20 Uros Bizjak <ubizjak@gmail.com> |
5248 | ||
5249 | PR target/44546 | |
5250 | * config/i386/predicates.md (ix86_swapped_fp_comparsion_operator): | |
5251 | New predicate. | |
5e88be0d | 5252 | * config/i386/i386.md (*fp_jcc_8<mode>_387 and splitters): Use |
dedd9d05 UB |
5253 | ix86_swapped_fp_comparsion_operator instead of |
5254 | ix86_fp_comparison_operator. | |
5255 | ||
5256 | (*fp_jcc_1_387): Rename from *fp_jcc_3_387. | |
5257 | (*fp_jcc_1r_387): Rename from *fp_jcc_4_387. | |
5258 | (*fp_jcc_2_387): Rename from *fp_jcc_5_387. | |
5259 | (*fp_jcc_2r_387): Rename from *fp_jcc_6_387. | |
5260 | (*fp_jcc_3_387): Rename from *fp_jcc_7_387. | |
5261 | (*fp_jcc_4_<mode>_387): Rename from *fp_jcc_8<mode>_387. | |
5262 | ||
6e2f1956 JM |
5263 | 2010-06-20 Joseph Myers <joseph@codesourcery.com> |
5264 | ||
5265 | PR other/32998 | |
5266 | * opth-gen.awk: Generate definitions of OPT_SPECIAL_unknown, | |
5267 | OPT_SPECIAL_program_name and OPT_SPECIAL_input_file. | |
5268 | * opts-common.c (find_opt): Return OPT_SPECIAL_unknown on failure. | |
5269 | (decode_cmdline_option): Update for this return value. Set | |
5270 | orig_option_with_args_text field. Set arg field for unknown | |
5271 | options. Make static. | |
5272 | (decode_cmdline_options_to_array): New. | |
5273 | (prune_options): Update handling of find_opt return value. | |
5274 | * opts.c (read_cmdline_option): Take decoded option. Return void. | |
5275 | (read_cmdline_options): Take decoded options. | |
5276 | (decode_options): Add parameters for decoded options. Use | |
5277 | decode_cmdline_options_to_array. Use decoded options for -O | |
5278 | scan. Use integral_argument for -O parameters. Update call to | |
5279 | read_cmdline_options. | |
dedd9d05 | 5280 | (enable_warning_as_error): Update handling of find_opt return value. |
6e2f1956 JM |
5281 | * opts.h: Update comment on unknown options. |
5282 | (struct cl_decoded_option): Update comments on opt_index and arg. | |
5283 | Add orig_option_with_args_text. | |
5284 | (decode_cmdline_option): Remove. | |
5285 | (decode_cmdline_options_to_array): Declare. | |
5286 | (decode_options): Update prototype. | |
5287 | * toplev.c (save_argv): Remove. | |
5288 | (save_decoded_options, save_decoded_options_count): New. | |
5289 | (read_integral_parameter): Remove. | |
5290 | (print_switch_values): Use decoded options. | |
dedd9d05 | 5291 | (toplev_main): Don't set save_argv. Update call to decode_options. |
6e2f1956 | 5292 | * toplev.h (read_integral_parameter): Remove. |
dedd9d05 | 5293 | * varasm.c (elf_record_gcc_switches): Don't handle holding back names. |
6e2f1956 | 5294 | |
e6bfe8a2 RE |
5295 | 2010-06-19 Richard Earnshaw <rearnsha@arm.com> |
5296 | ||
5297 | PR target/44072 | |
5298 | * arm.md (cmpsi2_addneg): Prefer emitting adds to subs with a negative | |
5299 | immediate. | |
5300 | * constraints.md (Pw, Px): New constraints. | |
5301 | * thumb2.md (cmpsi2_addneg peephole2): New peepholes. | |
5302 | ||
1c154a23 L |
5303 | 2010-06-19 H.J. Lu <hongjiu.lu@intel.com> |
5304 | ||
5305 | * config/i386/sse.md (fma4modesuffixf4): Removed. | |
5306 | (ssemodesuffixf2s): Likewise. | |
5307 | (ssemodesuffixf4): Likewise. | |
5308 | (ssemodesuffixf2c): Likewise. | |
5309 | (ssescalarmodesuffix2s): Likewise. | |
5310 | (avxmodesuffixf2c): Likewise. | |
5311 | (ssemodesuffix): New. | |
5312 | (ssescalarmodesuffix): Likewise. | |
5313 | Update patterns with ssemodesuffix and ssescalarmodesuffix. | |
5314 | ||
5a2983ce PH |
5315 | 2010-06-19 Philip Herron <herron.philip@googlemail.com> |
5316 | ||
a8ecfc9f | 5317 | * c-decl.c (c_write_global_declarations): Don't check flag_syntax_only. |
5a2983ce | 5318 | |
fae76410 L |
5319 | 2010-06-18 H.J. Lu <hongjiu.lu@intel.com> |
5320 | ||
5321 | * stor-layout.c (debug_rli): Remove unused local variables. | |
5322 | ||
d36d83e9 EB |
5323 | 2010-06-18 Eric Botcazou <ebotcazou@adacore.com> |
5324 | ||
5325 | PR rtl-optimization/40900 | |
5326 | * expr.c (expand_expr_real_1) <SSA_NAME>: Fix long line. Save the | |
5327 | original expression for later reuse. | |
5328 | <expand_decl_rtl>: Use promote_function_mode to compute the signedness | |
5329 | of the promoted RTL for a SSA_NAME on the LHS of a call statement. | |
5330 | ||
fd7de64c AS |
5331 | 2010-06-18 Anatoly Sokolov <aesok@post.ru> |
5332 | ||
5333 | * double-int.h (double_int_to_shwi, double_int_to_uhwi, | |
5334 | double_int_fits_in_uhwi_p): Implement as static inline. | |
5335 | (double_int_xor): New inline function. | |
5336 | (double_int_lrotate, double_int_rrotate, double_int_max, | |
5337 | double_int_umax, double_int_smax, double_int_min, double_int_umin, | |
5338 | double_int_smin): Declare. | |
5339 | (lrotate_double, rrotate_double): Remove declaration. | |
5340 | * double-int.c (double_int_fits_in_uhwi_p, double_int_to_shwi, | |
5341 | double_int_to_uhwi, lrotate_double, rrotate_double): Remove function. | |
5342 | (double_int_lrotate, double_int_rrotate, double_int_max, | |
5343 | double_int_umax, double_int_smax, double_int_min, double_int_umin, | |
5344 | double_int_smin): New function. | |
5345 | * fold-const.c (int_const_binop): Clean up, use double_int_* | |
5346 | functions. | |
5347 | * simplify-rtx.c (simplify_const_binary_operation): Clean up, use | |
5348 | double_int_* and immed_double_int_const functions. | |
5349 | ||
bc87224e NF |
5350 | 2010-06-18 Nathan Froyd <froydnj@codesourcery.com> |
5351 | ||
5352 | * function.h (types_used_by_cur_var_decl): Change type to a VEC. | |
5353 | * function.c (types_used_by_cur_var_decl): Likewise. | |
a8ecfc9f | 5354 | (used_types_insert): Adjust for new type of types_used_by_cur_var_decl. |
bc87224e | 5355 | |
76d971cc NF |
5356 | 2010-06-18 Nathan Froyd <froydnj@codesourcery.com> |
5357 | ||
5358 | * tree.h (record_layout_info): Change type of pending_statics field | |
5359 | to a VEC. | |
5360 | * stor-layout.c (start_record_layout): Store NULL into | |
5361 | pending_statics. | |
5362 | (debug_rli): Call debug_vec_tree instead of debug_tree. | |
5363 | (place_field): Likewise. | |
5364 | (finish_record_layout): Likewise. | |
5365 | ||
9628d8f6 AM |
5366 | 2010-06-18 Alan Modra <amodra@gmail.com> |
5367 | ||
5368 | * config/rs6000/linux64.h (SET_CMODEL): Don't expand to empty. | |
5369 | ||
8ccfe1ab JDA |
5370 | 2010-06-17 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
5371 | ||
5372 | PR target/43740 | |
dedd9d05 UB |
5373 | * config/pa/pa.c (emit_move_sequence): Don't infer REG_POINTER flag |
5374 | for SET source operand from SET destination operand. | |
8ccfe1ab | 5375 | |
60de8907 BS |
5376 | 2010-06-17 Bernd Schmidt <bernds@codesourcery.com> |
5377 | ||
5378 | PR rtl-optimization/39871 | |
5379 | * reload1.c (init_eliminable_invariants): For flag_pic, disable | |
5380 | equivalences only for constants that aren't LEGITIMATE_PIC_OPERAND_P. | |
5381 | (function_invariant_p): Rule out a plus of frame or arg pointer with | |
5382 | a SYMBOL_REF. | |
5383 | * ira.c (find_reg_equiv_invariant_const): Likewise. | |
5384 | ||
d398d903 GN |
5385 | 2010-06-17 Gunther Nikl <gnikl@users.sourceforge.net> |
5386 | ||
5387 | * config/rs6000/rs6000.c (print_operand) <'K'>: Also use | |
5388 | print_operand_address and puts to output the operand for CONST. | |
5389 | ||
654bbfea JJ |
5390 | 2010-06-17 Jakub Jelinek <jakub@redhat.com> |
5391 | ||
5392 | PR debug/44572 | |
5393 | * dwarf2out.c (dwarf2out_debug_hooks): Add entry for begin_epilogue | |
5394 | hook. | |
5395 | ||
11d259f0 NF |
5396 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
5397 | ||
5398 | * v850-protos.h (print_operand): Delete. | |
5399 | (print_operand_address): Delete. | |
5400 | * v850.h (PRINT_OPERAND): Delete. | |
5401 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
5402 | (PRINT_OPERAND_ADDRESS): Delete. | |
5403 | * v850.c (print_operand_address): Rename to... | |
5404 | (v850_print_operand_address): ...this. Make static. Call | |
5405 | v850_print_operand. | |
5406 | (print_operand): Rename to... | |
5407 | (v850_print_operand): ...this. Make static. Call | |
5408 | v850_print_operand_address. | |
5409 | (v850_print_operand_punct_valid_p): New function. | |
5410 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
5411 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
5412 | ||
9e94b957 NF |
5413 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
5414 | ||
5415 | * config/sh/sh-protos.h (print_operand): Delete. | |
5416 | (print_operand_address): Delete. | |
5417 | * config/sh/sh.h (PRINT_OPERAND): Delete. | |
5418 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
5419 | (PRINT_OPERAND_ADDRESS): Delete. | |
5420 | * config/sh/sh.c (sh_print_operand_address): Make static. | |
5421 | (sh_print_operand): Make static. Call sh_print_operand_address | |
5422 | and sh_print_operand. | |
5423 | (sh_print_operand_punct_valid_p): New function. | |
5424 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
5425 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
5426 | ||
349f851e NF |
5427 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
5428 | ||
5429 | * config/mcore/mcore-protos.h (mcore_print_operand): Delete. | |
5430 | (mcore_print_operand_address): Delete. | |
5431 | * config/mcore/mcore.h (PRINT_OPERAND): Delete. | |
5432 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
5433 | (PRINT_OPERAND_ADDRESS): Delete. | |
5434 | * config/mcore/mcore.c (mcore_print_operand_address): Make static. | |
5435 | (mcore_print_operand): Make static. | |
5436 | (mcore_print_operand_punct_valid_p): New function. | |
5437 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define | |
5438 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
5439 | ||
efe554e4 NF |
5440 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
5441 | ||
5442 | * config/m68hc11/m68hc11-protos.h (print_operand): Delete. | |
5443 | (print_operand_address): Delete. | |
5444 | * config/m68hc11/m68hc11.h (PRINT_OPERAND): Delete. | |
5445 | (PRINT_OPERAND_ADDRESS): Delete. | |
5446 | * config/m68hc11/m68hc11.c (m68hc11_print_operand_address): Make | |
5447 | static. | |
5448 | (m68hc11_print_operand): Make static. | |
5449 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
5450 | ||
c73035c7 NF |
5451 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
5452 | ||
5453 | * config/m32r/m32r-protos.h (m32r_print_operand): Delete. | |
5454 | (m32r_print_operand_address): Delete. | |
5455 | * config/m32r/m32r.h (m32r_punct_chars): Delete. | |
5456 | (PRINT_OPERAND): Delete. | |
5457 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
5458 | (PRINT_OPERAND_ADDRESS): Delete. | |
5459 | * config/m32r/m32r.c (m32r_punct_chars): Make static. | |
5460 | (m32r_print_operand_address): Make static. | |
5461 | (m32r_print_operand): Make static. | |
5462 | (m32r_print_operand_punct_valid_p): New function. | |
5463 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): | |
5464 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
5465 | ||
bf7c1408 NF |
5466 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
5467 | ||
5468 | * config/iq2000/iq2000-protos.h (print_operand): Delete. | |
5469 | (print_operand_address): Delete. | |
5470 | * config/iq2000/iq2000.h (PRINT_OPERAND): Delete. | |
5471 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
5472 | (PRINT_OPERAND_ADDRESS): Delete. | |
5473 | (iq2000_print_operand_punct): Delete. | |
5474 | * config/iq2000/iq2000.c (iq2000_print_operand_punct): Make static. | |
5475 | (iq2000_print_operand_address): Make static. | |
5476 | (iq2000_print_operand): Make static. | |
5477 | (iq2000_print_operand_punct_valid_p): New function. | |
5478 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): | |
5479 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
5480 | ||
0fb30cb7 NF |
5481 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
5482 | ||
5483 | * config/frv/frv-protos.h (frv_print_operand): Delete. | |
5484 | (frv_print_operand_address): Delete. | |
5485 | * config/frv/frv.h (PRINT_OPERAND): Delete. | |
5486 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
5487 | (PRINT_OPERAND_ADDRESS): Delete. | |
5488 | * config/frv/frv.c (frv_print_operand_address): Make static. | |
5489 | (frv_print_operand): Make static. | |
5490 | (frv_print_operand_punct_valid_p): New function. | |
5491 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): | |
5492 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
5493 | ||
bfdb7b70 NF |
5494 | 2010-06-17 Nathan Froyd <froydnj@codesourcery.com> |
5495 | ||
5496 | * tree.h (vec_member): Declare. | |
5497 | * tree.c (vec_member): Define. | |
5498 | ||
3a620661 RG |
5499 | 2010-06-17 Richard Guenther <rguenther@suse.de> |
5500 | ||
5501 | * tree-flow-inline.h (array_ref_contains_indirect_ref): Remove. | |
5502 | * tree-flow.h (array_ref_contains_indirect_ref): Likewise. | |
5503 | ||
498c378f RG |
5504 | 2010-06-17 Richard Guenther <rguenther@suse.de> |
5505 | ||
5506 | * tree-inline.c (declare_return_variable): Remove bogus code. | |
5507 | ||
bd2e63a1 RG |
5508 | 2010-06-17 Richard Guenther <rguenther@suse.de> |
5509 | ||
5510 | * gimplify.c (gimplify_bind_expr): Always promote complex | |
5511 | and vector variables to registers if possible. | |
5512 | ||
7fa5296e RG |
5513 | 2010-06-17 Richard Guenther <rguenther@suse.de> |
5514 | ||
5515 | * expr.c (get_inner_reference): Use double_int for bit_offset | |
5516 | calculation. | |
5517 | ||
6a78b724 DD |
5518 | 2010-06-16 DJ Delorie <dj@redhat.com> |
5519 | ||
5520 | * common.opt (-fstrict-volatile-bitfields): new. | |
5521 | * doc/invoke.texi: Document it. | |
5522 | * fold-const.c (optimize_bit_field_compare): For volatile | |
5523 | bitfields, use the field's type to determine the mode, not the | |
5524 | field's size. | |
5525 | * expr.c (expand_assignment): Likewise. | |
5526 | (get_inner_reference): Likewise. | |
5527 | (expand_expr_real_1): Likewise. | |
5528 | * expmed.c (store_fixed_bit_field): Likewise. | |
5529 | (extract_bit_field_1): Likewise. | |
5530 | (extract_fixed_bit_field): Likewise. | |
5531 | ||
f1071b12 RG |
5532 | 2010-06-16 Richard Guenther <rguenther@suse.de> |
5533 | ||
dedd9d05 | 5534 | * tree-inline.c (remap_gimple_op_r): Recurse using remap_gimple_op_r. |
f1071b12 | 5535 | |
67ad2ae7 DR |
5536 | 2010-06-16 Douglas B Rupp <rupp@gnat.com> |
5537 | ||
5538 | * config/ia64/vms.h (ASM_OUTPUT_DWARF_DELTA_UNITS): Remove. | |
5539 | (ASM_OUTPUT_DWARF_VMS_DELTA: Define new macro. | |
5540 | * dbxout.c (gcc_debug_hooks): New entry begin_epilogue. | |
5541 | * debug.c: Likewise. | |
5542 | * sdbout.c: Likewise. | |
5543 | * vmsdbgout.c: Likewise. | |
5544 | * debug.h: Likewise. (dwarf2out_vms_{begin,end}_prologue): Declare. | |
5545 | * doc/tm.texi (ASM_OUTPUT_DWARF_VMS_DELTA): Document. | |
5546 | * dwarf2asm.c (dw2_asm_output_vms_delta): New function. | |
5547 | (ASM_OUTPUT_DWARF_VMS_DELTA): Call it. | |
5548 | * dwarf2asm.h (dw2_asm_output_vms_delta): Declare. | |
5549 | * dwarf2out.c (dw_fde_struct): New fields | |
5550 | dw_fde_vms_{end,begin}_prologue. | |
5551 | (PROLOGUE_END_LABEL, EPILOGUE_BEGIN_LABEL): New macros. | |
5552 | (dwarf2out_begin_prologue): Set dw_fde_struct defaults for above. | |
5553 | (dwarf2out_vms_end_prologue): New function. | |
5554 | (dwarf2out_vms_begin_epilogue): New function. | |
5555 | (dw_val_struct): New value dw_val_class_vms_delta. | |
5556 | (gcc_debug_hooks): New entry begin_epilogue. Set end_prologue, | |
5557 | begin_epilogue for VMS. | |
5558 | (AT_vms_delta1, AT_vms_delta2, add_AT_vms_delta): Declare | |
5559 | new static functions. | |
5560 | (dwarf_attr_name): New cases DW_AT_HP_{prologue,epilogue}. | |
dedd9d05 | 5561 | (AT_vms_delta1, AT_vms_delta2, add_AT_vms_delta): New |
67ad2ae7 DR |
5562 | static functions. |
5563 | (print_die): New case dw_val_class_vms_delta. | |
5564 | (attr_checksum): Likewise. | |
5565 | (same_dw_val_p: Likewise. | |
5566 | (size_of_die): Likewise. | |
5567 | (value_format): Likewise. | |
5568 | (output_die): Likewise. | |
5569 | (gen_subprogram_die): Call add_AT_vms_delta on VMS. | |
5570 | (dwarf2out_begin_epilogue): Rename to dwarf2out_cfi_begin_epilogue | |
5571 | * dwarf2out.h (dwarf2out_begin_epilogue): Rename to | |
5572 | dwarf2out_cfi_begin_epilogue | |
5573 | * final.c (final_scan_insn): Likewise. Call begin_epilogue. | |
5574 | ||
ed5c4a10 NF |
5575 | 2010-06-16 Nathan Froyd <froydnj@codesourcery.com> |
5576 | ||
5577 | * config/cris/cris-protos.h (cris_print_operand): Delete. | |
5578 | (cris_print_operand_address): Delete. | |
5579 | * config/cris/cris.h (PRINT_OPERAND): Delete. | |
5580 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
5581 | (PRINT_OPERAND_ADDRESS): Delete. | |
5582 | * config/cris/cris.c (cris_print_operand_address): Make static. | |
5583 | (cris_print_operand): Make static. | |
5584 | (cris_print_operand_punct_valid_p): New function. | |
5585 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): | |
5586 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
5587 | ||
616c557d NF |
5588 | 2010-06-16 Nathan Froyd <froydnj@codesourcery.com> |
5589 | ||
5590 | * config/arm/arm-protos.h (arm_print_operand): Delete. | |
5591 | (arm_print_operand_address): Delete. | |
5592 | * config/arm/arm.h (PRINT_OPERAND): Delete. | |
5593 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
5594 | (PRINT_OPERAND_ADDRESS, ARM_PRINT_OPERAND_ADDRESS): | |
5595 | (THUMB_PRINT_OPERAND_ADDRESS): Delete and move code to... | |
a8ecfc9f | 5596 | * config/arm/arm.c (arm_print_operand_address): ...here. New function. |
616c557d NF |
5597 | (arm_print_operand): Make static. |
5598 | (arm_print_operand_punct_valid_p): New function. | |
5599 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): | |
5600 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
5601 | ||
c249a7bc NC |
5602 | 2010-06-16 Nick Clifton <nickc@redhat.com> |
5603 | ||
5604 | * config/rx/constraints.md (NEGint4): New constraint. | |
5605 | * config/rx/rx.md (attr cc): Add set_zsc. | |
5606 | (cbranchsf4): Only test for -fnon-call-exceptions if cfun has been | |
5607 | initialised. | |
5608 | (cmpsf): Likewise. | |
5609 | (call_internal): Clobber the cc0 register. | |
5610 | (call_value_internal): Likewise. | |
5611 | (cstoresi4): Likewise. | |
5612 | (movsieq): Likewise. | |
5613 | (movsine): Likewise. | |
5614 | (addsi3): Add alternative to handle small negative constants. | |
5615 | (sunsi3): Likewise. | |
5616 | (addsi3): Do not set the O bit in the cc0 register. | |
5617 | (adddi3): Likewise. | |
5618 | (subsi3): Likewise. | |
5619 | (subdi3): Likewise. | |
5620 | (andsi3): Reorder alternatives to prefer shorter forms. | |
5621 | (mulsi3): Likewise. | |
5622 | (iorsi3): Likewise. | |
5623 | (negsi2): Note that the cc0 flags are set. | |
5624 | (rotlsi3): Note that only the Z and S bits are set in cc0. | |
5625 | (lshrsi3): Likewise. | |
5626 | (ashlsi3): Likewise. | |
5627 | (subsf3): Use %Q for the MEM operand. | |
5628 | (fix_truncsfsi2): Likewise. | |
5629 | (floatsisf2): Likewise. | |
5630 | (bitset): Remove early clobber from destination. | |
5631 | (bitset_in_memory): Likewise. | |
5632 | (lrintsf2): Clobber the cc0 register. | |
dedd9d05 | 5633 | * config/rx/rx.c (rx_notice_update_cc): Handle CC_SET_ZSC. |
c249a7bc NC |
5634 | (rx_print_operand): Handle %N. |
5635 | ||
f75aa51c JH |
5636 | 2010-06-16 Jan Hubicka <jh@suse.cz> |
5637 | ||
5638 | * df-core.c (df_compact_blocks): Free problem_temps vector. | |
5639 | ||
29be3835 MJ |
5640 | 2010-06-16 Martin Jambor <mjambor@suse.cz> |
5641 | ||
5642 | PR tree-optimization/43905 | |
5643 | * tree-sra.c: Include tree-inline.h. | |
5644 | (create_abstract_origin): Removed. | |
5645 | (modify_function): Version the call graph node instead of creating | |
5646 | abstract origins and dealing with same_body aliases. | |
5647 | * tree-sra.c (ipa_sra_preliminary_function_checks): Check whether the | |
5648 | function is versionable. | |
5649 | * Makefile.in (tree-sra.o): Add TREE_INLINE_H to dependencies. | |
5650 | ||
e7bfcf35 MK |
5651 | 2010-06-16 Maxim Kuvyrkov <maxim@codesourcery.com> |
5652 | ||
5653 | * config/mips/linux64.h (BIONIC_DYNAMIC_LINKERN32): Define. | |
5654 | (CHOOSE_DYNAMIC_LINKER): Update. | |
5655 | ||
f582a3aa UB |
5656 | 2010-06-15 Uros Bizjak <ubizjak@gmail.com> |
5657 | ||
5658 | * config/i386/i386.c (*prefetch_sse_<mode>): Macroize insn from | |
5659 | *prefetch_sse and *prefetch_sse_rex using P mode iterator. | |
5660 | (*prefetch_3dnow_<mode>): Ditto from *prefetch_3dnow and | |
5661 | *prefetch_3dnow_rex. | |
5662 | ||
e4f7c483 AS |
5663 | 2010-06-15 Anatoly Sokolov <aesok@post.ru> |
5664 | ||
5665 | * target.h (struct asm_out):Add declare_constant_name field. | |
5666 | * target-def.h (TARGET_ASM_DECLARE_CONSTANT_NAME): Define. | |
5667 | (TARGET_INITIALIZER): Use TARGET_ASM_DECLARE_CONSTANT_NAME. | |
5668 | * output.h (default_asm_declare_constant_name): Declare. | |
5669 | (assemble_label): Update prototype. | |
5670 | * varasm.c (assemble_constant_contents): Use | |
5671 | targetm.asm_out.declare_constant_name target hook. | |
5672 | (assemble_label): Add 'file' argument. | |
5673 | (default_asm_declare_constant_name): New function. | |
5674 | * system.h (ASM_DECLARE_CONSTANT_NAME): Poison. | |
5675 | * doc/tm.texi (ASM_DECLARE_CONSTANT_NAME): Remove. | |
5676 | (TARGET_ASM_DECLARE_CONSTANT_NAME): Document it. | |
5677 | ||
5678 | * config/darwin-protos.h (darwin_asm_declare_constant_name): Declare. | |
5679 | * config/darwin.c (darwin_asm_declare_constant_name): New function. | |
5680 | (machopic_output_indirection): Update assemble_label argument list. | |
5681 | * config/darwin.h (ASM_DECLARE_CONSTANT_NAME): Remove. | |
5682 | (TARGET_ASM_DECLARE_CONSTANT_NAME): Define. | |
5683 | ||
6ab4e307 SP |
5684 | 2010-06-15 Sebastian Pop <sebastian.pop@amd.com> |
5685 | ||
5686 | PR middle-end/44391 | |
5687 | * graphite-clast-to-gimple.c (graphite_create_new_loop_guard): Use | |
5688 | size_one_node for pointer types. Do not call gmp_cst_to_tree. | |
5689 | ||
7fc1dad6 RG |
5690 | 2010-06-15 Richard Guenther <rguenther@suse.de> |
5691 | ||
5692 | * tree-ssa-pre.c (eliminate): Handle PHI elimination to constants. | |
5693 | ||
50416c61 | 5694 | 2010-06-15 Paul Brook <paul@codesourcery.com> |
6ab4e307 | 5695 | |
50416c61 PB |
5696 | * config/arm/arm.c (use_vfp_abi): Add sorry() for Thumb-1 |
5697 | hard-float ABI. | |
5698 | ||
15bbc165 AO |
5699 | 2010-06-15 Alexandre Oliva <aoliva@redhat.com> |
5700 | ||
5701 | * tree-vect-patterns.c (vect_pattern_recog_1): Bail out if we | |
5702 | don't get a vector type for output. | |
5703 | ||
79943d19 JJ |
5704 | 2010-06-15 Jakub Jelinek <jakub@redhat.com> |
5705 | ||
5706 | PR fortran/44536 | |
5707 | * langhooks.h (struct lang_hooks_for_decls): Add omp_report_decl. | |
5708 | * langhooks-def.h (LANG_HOOKS_OMP_REPORT_DECL): Define. | |
5709 | (LANG_HOOKS_DECLS): Add it. | |
5710 | * gimplify.c (omp_notice_variable): Call | |
5711 | lang_hooks.decls.omp_report_decl. | |
5712 | ||
eed5f58a MJ |
5713 | 2010-06-15 Martin Jambor <mjambor@suse.cz> |
5714 | ||
5715 | PR lto/44464 | |
5716 | * tree-sra.c (replace_removed_params_ssa_names): Call release_ssa_name | |
5717 | on the newly dead SSA name. | |
5718 | ||
070b27da AM |
5719 | 2010-06-15 Alan Modra <amodra@gmail.com> |
5720 | ||
5721 | * doc/invoke.texi: Add mcmodel to powerpc options. | |
5722 | * configure.ac: Add HAVE_LD_LARGE_TOC test. | |
5723 | * configure: Regenerate. | |
5724 | * config.in: Regenerate. | |
5725 | * config/rs6000/linux64.opt (mcmodel): New. | |
5726 | * config/rs6000/linux64.h (TARGET_USES_LINUX64_OPT): Define. | |
9628d8f6 | 5727 | (TARGET_CMODEL, SET_CMODEL): Define. |
070b27da AM |
5728 | (SUBSUBTARGET_OVERRIDE_OPTIONS): Check user -mcmodel choice, |
5729 | select CMODEL_MEDIUM default. | |
5730 | * config/rs6000/rs6000.h (enum rs6000_cmodel): New. | |
5731 | (TARGET_CMODEL): Define default. | |
5732 | * config/rs6000/rs6000.c (cmodel): New variable. | |
5733 | (rs6000_explicit_options): Add cmodel field. | |
5734 | (rs6000_handle_option): Handle -mcmodel. | |
5735 | (create_TOC_reference): Add largetoc_reg param. Generate high, | |
5736 | lo_sum rtl for CMODEL_MEDIUM and CMODEL_LARGE. Update all callers. | |
5737 | (rs6000_delegitimize_address): Recognise new toc reference rtl | |
5738 | and minimal-toc rtl. | |
5739 | (rs6000_legitimize_reload_address): Handle new toc references. | |
5740 | (print_operand_address): Handle legitimate_constant_pool_address_p | |
5741 | match before lo_sum. | |
5742 | (rs6000_eliminate_indexed_memrefs): Tidy. | |
5743 | (rs6000_emit_move): Tweak threshold for inlining constants. | |
5744 | Keep rs6000_emit_allocate_stack large stack frame offsets | |
5745 | loaded into r0 inline. | |
5746 | (rs6000_generate_compare <cmptf_internal2>): One more clobber. | |
5747 | (tocrel_base, tocrel_offset): New variables. | |
5748 | (toc_relative_expr_p): Set them here. | |
f582a3aa | 5749 | (print_operand_address): Skip over any offset on constant pool address. |
070b27da AM |
5750 | (rs6000_output_addr_const_extra): Print tocrel_offset before @toc. |
5751 | (rs6000_mode_dependent_address <LO_SUM>): False for new toc refs. | |
5752 | (offsettable_ok_by_alignment): New function. | |
5753 | (rs6000_emit_move): Address suitably aligned local symbol_refs | |
5754 | relative to the toc pointer for -mcmodel=medium. | |
5755 | (legitimate_constant_pool_address_p): Make param const_rtx. Add | |
5756 | strict param. Allow lo_sum version of addressing. Verify reg | |
5757 | used for -mminimal-toc and -mcmodel != small. Update all callers. | |
5758 | * config/rs6000/constraints.md: Update for above change. | |
5759 | * config/rs6000/predicates.md: Likewise. | |
5760 | * config/rs6000/rs6000.md (tls_gd_aix): Generate -mcmodel=medium/large | |
5761 | code. | |
5762 | (tls_gd): Split for -mcmodel=medium/large. | |
5763 | (tls_gd_high, tls_gd_low): New. | |
5764 | (tls_ld_aix, tls_ld, tls_ld_high, tls_ld_low): Similarly. | |
5765 | (tls_got_dtprel, tls_got_dtprel_high, tls_got_dtprel_low): Similarly. | |
5766 | (tls_got_tprel, tls_got_tprel_high, tls_got_tprel_low): Similarly. | |
5767 | (largetoc_high, largetoc_low): New. | |
5768 | (cmptf_internal2): Add clobber. | |
5769 | * config/rs6000/rs6000-protos.h: Update. | |
5770 | ||
d5058523 CF |
5771 | 2010-06-14 Changpeng Fang <changpeng.fang@amd.com> |
5772 | ||
5773 | * tree-ssa-loop-prefetch.c (nothing_to_prefetch_p): New. Return | |
5774 | true if no prefetch is going to be generated for a given group. | |
5775 | (estimate_prefetch_count): Use prefetch_mod and unroll_factor to | |
5776 | estimate the prefetch_count. | |
5777 | (loop_prefetch_arrays): Call nothing_to_prefetch_p; estimate the | |
5778 | prefetch count by considering the unroll_factor and prefetch_mod | |
5779 | for is_loop_prefetching_profitable. | |
5780 | ||
33d67485 AS |
5781 | 2010-06-14 Andreas Schwab <schwab@linux-m68k.org> |
5782 | ||
5783 | * config/m68k/m68k.c (m68k_delegitimize_address): Don't do | |
5784 | anything if the argument is not a MEM. | |
5785 | ||
22963fee AO |
5786 | 2010-06-14 Alexandre Oliva <aoliva@redhat.com> |
5787 | ||
5788 | PR debug/43650 | |
5789 | PR debug/44181 | |
5790 | PR debug/44247 | |
5791 | * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Skip | |
5792 | debug stmts. | |
5793 | (canonicalize_loop_ivs): Likewise. | |
5794 | ||
c11b0b3b AO |
5795 | 2010-06-14 Alexandre Oliva <aoliva@redhat.com> |
5796 | ||
5797 | PR debug/43656 | |
5798 | * haifa-sched.c (setup_insn_reg_pressure_info, | |
5799 | update_register_pressure): Reject debug insns. | |
5800 | (ready_sort): Don't setup reg pressure for debug insns. | |
5801 | (schedule_insn): Don't update reg pressure for debug insns. | |
5802 | ||
2465dcc2 RG |
5803 | 2010-06-14 Richard Guenther <rguenther@suse.de> |
5804 | ||
5805 | * lto-streamer.c (cached_bp): Remove. | |
5806 | (bitpack_delete): Likewise. | |
5807 | (bitpack_create): Likewise. | |
5808 | (bp_get_next_word): Likewise. | |
5809 | (bp_pack_value, bp_unpack_value): Move ... | |
5810 | * lto-streamer.h (bp_pack_value, bp_unpack_value): ... here. | |
5811 | Re-implement. | |
5812 | (struct bitpack_d): Likewise. | |
5813 | (bitpack_create, lto_output_bitpack, lto_input_bitpack): | |
5814 | New inline functions. | |
5815 | * lto-streamer-out.c (lto_output_bitpack): Remove. | |
f582a3aa | 5816 | (pack_ts_base_value_fields): Adjust. Avoid conditional bitpacking. |
2465dcc2 RG |
5817 | (pack_value_fields): Adjust. |
5818 | (lto_write_tree): Likewise. | |
5819 | (output_gimple_stmt): Likewise. | |
5820 | (output_function): Likewise. | |
5821 | * lto-streamer-in.c (input_gimple_stmt): Adjust. | |
5822 | (input_function): Likewise. | |
f582a3aa | 5823 | (unpack_ts_base_value_fields): Adjust. Avoid conditional bitpacking. |
2465dcc2 RG |
5824 | (lto_input_bitpack): Remove. |
5825 | (lto_materialize_tree): Adjust. | |
5826 | * Makefile.in (ipa-prop.o): Add $(LTO_STREAMER_H) dependency. | |
5827 | * lto-cgraph.c (lto_output_edge): Adjust. | |
5828 | (lto_output_node): Likewise. | |
5829 | (lto_output_varpool_node): Likewise. | |
5830 | (lto_output_ref): Likewise. | |
5831 | (input_node): Likewise. | |
5832 | (input_varpool_node): Likewise. | |
5833 | (input_ref): Likewise. | |
5834 | (input_edge): Likewise. | |
5835 | (output_node_opt_summary): Likewise. | |
5836 | (input_node_opt_summary): Likewise. | |
5837 | * ipa-pure-const.c (pure_const_write_summary): Likewise. | |
5838 | (pure_const_read_summary): Likewise. | |
5839 | * ipa-prop.c (ipa_write_indirect_edge_info): Likewise. | |
5840 | (ipa_read_indirect_edge_info): Likewise. | |
5841 | (ipa_write_node_info): Likewise. | |
5842 | (ipa_read_node_info): Likewise. | |
5843 | ||
808081b4 L |
5844 | 2010-06-14 H.J. Lu <hongjiu.lu@intel.com> |
5845 | ||
5846 | PR target/44534 | |
f582a3aa | 5847 | * config/i386/sse.md (vec_extract_lo_<mode>): Replace 0x1 with 0x0. |
808081b4 L |
5848 | (vec_extract_lo_v16hi): Likewise. |
5849 | (vec_extract_lo_v32qi): Likewise. | |
5850 | ||
5bca794b JJ |
5851 | 2010-06-14 Jakub Jelinek <jakub@redhat.com> |
5852 | ||
aa493694 JJ |
5853 | PR bootstrap/44426 |
5854 | * tree.h (build_call_expr): Don't define as vararg macro, instead | |
5855 | add a prototype. | |
5856 | * builtins.c (build_call_nofold): Remove. | |
5857 | (expand_builtin_int_roundingfn, expand_builtin_pow, | |
5858 | expand_builtin_mempcpy_args, expand_builtin_stpcpy, | |
5859 | expand_builtin_memset_args, expand_builtin_strcmp, | |
5860 | expand_builtin_strncmp, expand_builtin_memory_chk): Use | |
5861 | build_call_nofold_loc instead of build_call_nofold. | |
5862 | (build_call_expr): New function. | |
5863 | ||
8ab7d796 | 5864 | PR tree-optimization/44508 |
f582a3aa | 5865 | * tree-ssa-propagate.h (substitute_and_fold): Add DO_DCE argument. |
8ab7d796 JJ |
5866 | * tree-ssa-propagate.c (substitute_and_fold): If !DO_DCE, |
5867 | don't eliminate trivially dead stmts. | |
5868 | * tree-vrp.c (vrp_finalize): Pass false as last argument | |
5869 | to substitute_and_fold. | |
5870 | * tree-ssa-copy.c (fini_copy_prop): Pass true as last argument | |
5871 | to substitute_and_fold. | |
5872 | * tree-ssa-ccp.c (ccp_finalize): Likewise. | |
5873 | ||
5bca794b JJ |
5874 | PR bootstrap/44509 |
5875 | * c-config-lang.in (gtfiles): Add c-family/c-cppbuiltin.c. | |
5bca794b | 5876 | |
c1e822d5 IR |
5877 | 2010-06-14 Ira Rosen <irar@il.ibm.com> |
5878 | ||
6ab4e307 | 5879 | PR tree-optimization/44507 |
c1e822d5 IR |
5880 | * tree-vect-loop.c (get_initial_def_for_reduction): Use -1 |
5881 | to build initial vector for BIT_AND_EXPR. | |
5882 | * tree-vect-slp.c (vect_get_constant_vectors): Likewise. | |
5883 | ||
ce71b410 JJ |
5884 | 2010-06-14 Jakub Jelinek <jakub@redhat.com> |
5885 | ||
5886 | * config/s390/s390.md (*mov<mode>_64 DD_DF, mov<mode>): Properly | |
5887 | adjust z10prop set_attr. | |
5888 | ||
7a40b8b1 JH |
5889 | 2010-06-13 Jan Hubicka <jh@suse.cz> |
5890 | ||
5891 | * bitmap.c (bitmap_and, bitmap_and_into, bitmap_and_compl, | |
5892 | bitmap_and_compl_into, bitmap_compl_and_into, bitmap_ior, | |
5893 | bitmap_ior_into, bitmap_xor, bitmap_xor_into, | |
223c6c5d EB |
5894 | bitmap_ior_and_compl, bitmap_ior_and_compl): Turn internal |
5895 | datastructure checks into checking asserts. | |
7a40b8b1 JH |
5896 | * rtlanal.c (find_reg_note): Use gcc_checking_assert. |
5897 | * tree-ssa-sccvn.c (VN_INFO): Likewise. | |
5898 | * df-scan.c (df_reorganize_refs_by_reg_by_reg, df_install_ref, | |
5899 | df_ref_create_structure): Likewise. | |
5900 | * alloc-pool.c (create_alloc_pool, empty_alloc_pool, pool_alloc, | |
5901 | pool_free): Use gcc_checking_assert. | |
5902 | * alias.c (get_alias_set): Likewise. | |
5903 | * var-tracking.c (variable_htab_free, shared_hash_copy, | |
5904 | canonicalize_values_mark, variable_merge_over_cur): Likewise. | |
5905 | * lto-streamer.c (bp_unpack_value): Likewise. | |
5906 | ||
4a2ac96f RG |
5907 | 2010-06-13 Richard Guenther <rguenther@suse.de> |
5908 | ||
5909 | * lto-streamer-in.c (lto_input_ts_type_tree_pointers): | |
5910 | Do not stream but initialize TYPE_CANONICAL to NULL. | |
5911 | (lto_output_ts_type_tree_pointers): Do not stream TYPE_CANONICAL. | |
5912 | * gimple.c (gimple_types_compatible_p): Disregard | |
5913 | TYPE_STRUCTURAL_EQUALITY_P. | |
5914 | (gimple_register_type): Use TYPE_CANONICAL as cache. | |
5915 | * lto-streamer.c (lto_record_common_node): Zero TYPE_CANONICAL | |
5916 | before registering common types. | |
5917 | * config/i386/i386.c (ix86_function_arg_boundary): Do not | |
5918 | use TYPE_CANONICAL, instead use TYPE_MAIN_VARIANT. | |
5919 | * tree.h (TYPE_CANONICAL): Clarify documentation. | |
5920 | ||
ba90d838 AS |
5921 | 2010-06-13 Anatoly Sokolov <aesok@post.ru> |
5922 | ||
5923 | * config/ia64/ia64.h (FUNCTION_VALUE_REGNO_P, FUNCTION_VALUE, | |
5924 | LIBCALL_VALUE): Remove macros. | |
5925 | * config/ia64/ia64-protos.h (ia64_function_value): Remove. | |
5926 | * config/ia64/ia64.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
5927 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
5928 | (ia64_libcall_value, ia64_function_value_regno_p): New functions. | |
5929 | (ia64_function_value): Make static. Handle receiving the function | |
5930 | type in 'fn_decl_or_type' argunent. Add 'outgoing' argument. | |
5931 | ||
9fcb01de JH |
5932 | 2010-06-12 Jan Hubicka <jh@suse.cz> |
5933 | ||
5934 | * cse.c (cse_extended_basic_block): Move optimize_bb_for_speed_p | |
5935 | at correct place. | |
5936 | ||
f63a6726 BS |
5937 | 2010-06-12 Bernd Schmidt <bernds@codesourcery.com> |
5938 | ||
5939 | * config/arm/arm.c (thumb2_reorg): Fix errors in previous change. | |
5940 | ||
e285df08 JH |
5941 | 2010-06-12 Jan Hubicka <jh@suse.cz> |
5942 | ||
5943 | * df-core.c (df_clear_bb_info): New function. | |
5944 | (df_set_blocks): bb_info is always allocated. | |
5945 | (df_get_bb_info): Use block_info_elt_size. | |
5946 | (df_set_bb_info): Likewise. | |
5947 | (df_compact_blocks): Update for new block_info. | |
5948 | (grow_bb_info): New function. | |
5949 | * df-problems.c (df_grow_bb_info): Move to df-core.c | |
5950 | (df_rd_set_bb_info): Remove. | |
5951 | (df_rd_free_bb_info): Do not free block pool. | |
5952 | (df_rd_alloc): Do not create pool, use check for | |
5953 | obstack presence instead of NULL pointer for new blocks. | |
5954 | (df_rd_free): DO not free alloc pool; clear block_info. | |
5955 | (problem_RD): Add size of block info structure. | |
5956 | (df_lr_set_bb_info): Remove. | |
5957 | (df_lr_free_bb_info): Do not free block pool. | |
5958 | (df_lr_alloc): Do not create pool, use check for | |
5959 | obstack presence instead of NULL pointer for new blocks. | |
5960 | (df_lr_free): DO not free alloc pool; clear block_info. | |
5961 | (problem_LR): Add size of block info structure. | |
5962 | (df_live_set_bb_info): Remove. | |
5963 | (df_live_free_bb_info): Do not free block pool. | |
5964 | (df_live_alloc): Do not create pool, use check for | |
5965 | obstack presence instead of NULL pointer for new blocks. | |
5966 | (df_live_free): DO not free alloc pool; clear block_info. | |
5967 | (problem_LIVE): Add size of block info structure. | |
5968 | (problem_CHAIN): Add size of block info structure. | |
5969 | (df_byte_lr_set_bb_info): Remove. | |
5970 | (df_byte_lr_free_bb_info): Do not free block pool. | |
5971 | (df_byte_lr_alloc): Do not create pool, use check for | |
5972 | obstack presence instead of NULL pointer for new blocks. | |
5973 | (df_byte_lr_free): DO not free alloc pool; clear block_info. | |
5974 | (problem_BYTE_LR): Add size of block info structure. | |
5975 | (problem_NOTE): Add size of block info structure. | |
5976 | (df_byte_MD_set_bb_info): Remove. | |
5977 | (df_byte_MD_free_bb_info): Do not free block pool. | |
5978 | (df_byte_MD_alloc): Do not create pool, use check for | |
5979 | obstack presence instead of NULL pointer for new blocks. | |
5980 | (df_byte_MD_free): DO not free alloc pool; clear block_info. | |
5981 | (problem_BD): Add size of block info structure. | |
5982 | * df-scan.c (df_scan_free_internal): Free block pool. | |
5983 | (df_scan_set_bb_info): Remove. | |
5984 | (df_scan_free_bb_info): Check for artificial_defs instead | |
5985 | of bb_info being non-NULL. | |
5986 | (df_scan_alloc): DO not create df_scan_block pool. | |
5987 | (problem_SCAN): Set size of block info. | |
5988 | (df_bb_refs_record): Do not allocate bb_info. | |
5989 | * df.h (df_problem): Add block_info_elt_size. | |
5990 | (struct dataflow): Change block_info to void *. | |
5991 | (df_scan_get_bb_info, df_rd_get_bb_info, df_lr_get_bb_info, | |
5992 | df_md_get_bb_info, df_live_get_bb_info, df_byte_lr_get_bb_info): Return | |
5993 | in-line structures. | |
5994 | ||
02d635a2 JH |
5995 | 2010-06-12 Jan Hubicka <jh@suse.cz> |
5996 | ||
5997 | PR tree-optimize/44485 | |
223c6c5d EB |
5998 | * tree-cfgcleanup.c (fixup_noreturn_call): Remove basic blocks |
5999 | containing use of return value of noreturn function. | |
02d635a2 | 6000 | |
153a3027 AS |
6001 | 2010-06-12 Anatoly Sokolov <aesok@post.ru> |
6002 | ||
6003 | * targhooks.c (default_function_value): Don't use | |
6004 | FUNCTION_OUTGOING_VALUE. | |
6005 | * system.h (FUNCTION_OUTGOING_VALUE): Poison. | |
6006 | * doc/tm.texi (FUNCTION_OUTGOING_VALUE): Removed. | |
6007 | ||
48b09a92 KH |
6008 | 2010-06-12 Kazu Hirata <kazu@codesourcery.com> |
6009 | ||
f582a3aa UB |
6010 | * config.gcc (mips64*-*-linux*, mipsisa64*-*-linux*, mips*-*-linux*): |
6011 | Add crtfastmath.o to extra_parts. | |
48b09a92 KH |
6012 | * config/mips/crtfastmath.c: New. |
6013 | * config/mips/linux.h (ENDFILE_SPEC): New. | |
6014 | ||
b53cd1c5 SP |
6015 | 2010-06-12 Sebastian Pop <sebastian.pop@amd.com> |
6016 | ||
6017 | * graphite-clast-to-gimple.c (gcc_type_for_interval): Do not pass | |
6018 | old_type in parameter. | |
6019 | (gcc_type_for_value): Update call to gcc_type_for_interval. | |
6020 | (compute_type_for_level_1): Renamed compute_type_for_level. | |
6021 | Update call to gcc_type_for_interval. | |
6022 | ||
fcfbd84e JM |
6023 | 2010-06-11 Joseph Myers <joseph@codesourcery.com> |
6024 | ||
6025 | * common.opt (Wstrict-aliasing=, Wstrict-overflow=, fabi-version=, | |
f582a3aa | 6026 | flto-compression-level=, ftree-parallelize-loops=): Add RejectNegative. |
fcfbd84e | 6027 | |
5d4b393f JM |
6028 | 2010-06-11 Joseph Myers <joseph@codesourcery.com> |
6029 | ||
6030 | * opts-common.c: Include options.h. | |
6031 | (integral_argument): Move from opts.c. | |
6032 | (decode_cmdline_option): New. Based on read_cmdline_option. | |
6033 | * opts.c (integral_argument): Move to opts-common.c. | |
6034 | (read_cmdline_option): Move most contents to | |
6035 | decode_cmdline_option. Use %qs in diagnostics. | |
6036 | * opts.h (CL_ERR_DISABLED, CL_ERR_MISSING_ARG, CL_ERR_WRONG_LANG, | |
6037 | CL_ERR_UINT_ARG, struct cl_decoded_option, integral_argument, | |
6038 | decode_cmdline_option): New. | |
6039 | ||
b79a08f6 UB |
6040 | 2010-06-11 Uros Bizjak <ubizjak@gmail.com> |
6041 | ||
6042 | PR target/44481 | |
6043 | * config/i386/i386.md (UNSPEC_PARITY): New unspec. | |
f582a3aa | 6044 | (paritydi2_cmp): Use UNSPEC_PARITY unspec instead of parity RTX. |
b79a08f6 UB |
6045 | (partiysi2_cmp): Ditto. |
6046 | (*partiyhi2_cmp): Ditto. | |
6047 | (*parityqi2_cmp): Remove. | |
6048 | ||
d5568f03 JH |
6049 | 2010-06-11 Jan Hubicka <jh@suse.cz> |
6050 | ||
b79a08f6 UB |
6051 | * bitmap.h (bmp_iter_next_bit): New. |
6052 | (bmp_iter_set, bmp_iter_and, bmp_iter_and_compl): Use it. | |
d5568f03 | 6053 | |
5914a70f | 6054 | 2010-06-11 Sandra Loosemore <sandra@codesourcery.com> |
f582a3aa | 6055 | Eric Botcazou <ebotcazou@adacore.com> |
5914a70f SL |
6056 | |
6057 | * tree-ssa-loop-ivopts.c (get_computation_cost_at): Return again the | |
6058 | computed cost. | |
6059 | ||
ed9955f9 UB |
6060 | 2010-06-11 Uros Bizjak <ubizjak@gmail.com> |
6061 | ||
6062 | * config/i386/i386.md (unspec): New define_c_enum. | |
6063 | (unspecv): Ditto. | |
6064 | ||
8e680db5 JJ |
6065 | 2010-06-10 Jakub Jelinek <jakub@redhat.com> |
6066 | ||
8e680db5 JJ |
6067 | * Makefile.in (c-family/c-cppbuiltin.o): Depend on $(CPP_ID_DATA_H). |
6068 | ||
7b14477e SP |
6069 | 2010-06-11 Sebastian Pop <sebastian.pop@amd.com> |
6070 | ||
6071 | PR middle-end/44483 | |
6072 | * tree-if-conv.c (bb_predicate_s): New struct. | |
6073 | (bb_predicate_p): New. | |
6074 | (bb_has_predicate): New. | |
6075 | (bb_predicate): New. | |
6076 | (set_bb_predicate): New. | |
6077 | (bb_predicate_gimplified_stmts): New. | |
6078 | (set_bb_predicate_gimplified_stmts): New. | |
6079 | (add_bb_predicate_gimplified_stmts): New. | |
6080 | (init_bb_predicate): New. | |
6081 | (free_bb_predicate): New. | |
6082 | (is_predicated): Use bb_predicate. | |
6083 | (add_to_predicate_list): Use bb_predicate and set_bb_predicate. | |
6084 | (predicate_bbs): Same. Gimplify the condition of the basic blocks | |
6085 | before processing their successors. | |
6086 | (clean_predicate_lists): Removed. | |
6087 | (find_phi_replacement_condition): Use bb_predicate. | |
6088 | (process_phi_nodes): Renamed ifconvert_phi_nodes. Avoid useless | |
6089 | computations. | |
6090 | (insert_gimplified_predicates): New. | |
6091 | (combine_blocks): Call insert_gimplified_predicates. | |
6092 | (tree_if_conversion): Call free_bb_predicate instead of | |
6093 | clean_predicate_lists. | |
6094 | ||
f6e47b26 | 6095 | 2010-10-11 Paul Brook <paul@codesourcery.com> |
ed9955f9 | 6096 | |
f6e47b26 PB |
6097 | * doc/invoke.texi: Document ARM -mcpu=cortex-m4. |
6098 | * config/arm/arm.c (all_architectures): Change v7e-m default to | |
6099 | cortexm4. | |
6100 | * config/arm/arm-cores.def: Add cortex-m4. | |
6101 | * config/arm/arm-tune.md: Regenerate. | |
6102 | ||
0a42aa4e JH |
6103 | 2010-06-11 Jan Hubicka <jh@suse.cz> |
6104 | ||
6105 | * ipa-pure-const.c (special_builtlin_state): New function. | |
6106 | (check_call): Use it instead of special casign BUILT_IN_RETURN. | |
6107 | (propagate_pure_const): Use it. | |
6108 | ||
d725a1a5 JH |
6109 | 2010-06-11 Jan Hubicka <jh@suse.cz> |
6110 | ||
6111 | * df-problems.c (df_live_scratch): Convert to bitmap_head. | |
6112 | (df_live_alloc): Initialize df_live_scratch when initializing | |
6113 | problem_data. | |
6114 | (df_live_transfer_function): Update uses of df_live_scratch. | |
6115 | (df_live_free): Free problem_data; clear df_live_scratch before | |
6116 | releasing the obstack. | |
6117 | (df_md_free): Free problem data. | |
6118 | ||
7ea6b6cf JH |
6119 | 2010-06-11 Jan Hubicka <jh@suse.cz> |
6120 | ||
6121 | * doc/invoke.texi (Wsuggest-attribute): Document. | |
6122 | (Wmissing-noreturn): Remove. | |
6123 | * ipa-pure-const.c (warn_function_noreturn): New function. | |
6124 | * opts.c (decode_options): Set warn_suggest_attribute_noreturn on | |
6125 | warn_missing_noreturn. | |
6126 | * common.opt (Wsuggest-attribute=noreturn): New. | |
6127 | * tree-flow.h (warn_function_noreturn): Declare. | |
6128 | * tree-cfg.c (execute_warn_function_noreturn): Use | |
6129 | warn_function_noreturn. | |
6130 | (gate_warn_function_noreturn): New. | |
6131 | (pass_warn_function_noreturn): Update. | |
6132 | ||
2ee3cb35 MLI |
6133 | 2010-06-11 Manuel López-Ibáñez <manu@gcc.gnu.org> |
6134 | ||
6135 | * c-typeck.c (handle_warn_cast_qual): Add loc | |
6136 | parameter. Improve warning message. | |
6137 | (build_c_cast): Pass location to handle_warn_cast_qual. | |
6138 | ||
3d25c396 UB |
6139 | 2010-06-11 Uros Bizjak <ubizjak@gmail.com> |
6140 | ||
6141 | * config/i386/i386.md (pro_epilogue_adjust_stack_1) <TYPE_ALU>: Assert | |
6142 | that operand 0 == operand 1. Use x86_maybe_negate_const_int to output | |
6143 | insn mnemonic. | |
6144 | (pro_epilogue_adjust_stack_rex64) <TYPE_ALU>: Ditto. | |
6145 | ||
b66a8c5d DS |
6146 | 2010-06-10 Dodji Seketeli <dodji@redhat.com> |
6147 | ||
6148 | Fix bootstap on mips | |
6149 | * dwarf2out.c (is_naming_typedef_dec): Built-in TYPE_DECLs cannot | |
6150 | be naming typedefs. | |
6151 | ||
10d291f6 KT |
6152 | 2010-06-11 Kai Tietz <kai.tietz@onevision.com> |
6153 | ||
6154 | * system.h (helper_const_non_const_cast): New inline for | |
6155 | gcc version <= 4.0. | |
6156 | (CONST_CAST2): For gcc version <= 4.0 use | |
6157 | new helper to do const/non-const casting. | |
6158 | ||
0fe60a1b RS |
6159 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6160 | ||
6161 | * doc/md.texi: Document the "unspec" and "unspecv" enum names. | |
6162 | * Makefile.in (OBJS-common): Include insn-enums.o. | |
6163 | (insn-enums.o): New rule. | |
6164 | (simple_generated_c): Add insn-enums.c. | |
6165 | (build/genenums.o): New rule. | |
6166 | (genprogmd): Add "enums". | |
6167 | * genconstants.c (print_enum_type): Declare a C string array | |
6168 | for each enum. | |
6169 | * genenums.c: New file. | |
6170 | * print-rtl.c (print_rtx): If defined, use the "unspecv" enum | |
6171 | for UNSPEC_VOLATILE. If defined, use the "unspec" enum for both | |
6172 | UNSPEC and (as a fallback) for UNSPEC_VOLATILE. | |
6173 | ||
8f4fe86c RS |
6174 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6175 | ||
6176 | * doc/md.texi (define_enum_attr): Document. | |
6177 | * rtl.def (DEFINE_ENUM_ATTR): New rtx. | |
6178 | * read-md.h (lookup_enum_type): Declare. | |
6179 | * read-md.c (lookup_enum_type): New function. | |
6180 | * genattr.c (gen_attr, main): Handle DEFINE_ENUM_ATTR. | |
6181 | * genattrtab.c (attr_desc): Add an enum_name field. | |
6182 | (evaluate_eq_attr): Take the associated attribute as argument. | |
6183 | Get the enum prefix from the enum_name field, if defined. | |
6184 | Use ACONCAT rather than a fixed-length buffer. Update recursive calls. | |
6185 | (simplify_test_exp): Pass attr to evaluate_eq_attr. | |
6186 | (add_attr_value): New function, split out from... | |
6187 | (gen_attr): ...here. Handle DEFINE_ENUM_ATTR. | |
6188 | (write_test_expr): Pass attr to evaluate_eq_attr. | |
6189 | (write_attr_get): Use the enum_name as the enum tag, if defined. | |
6190 | (write_attr_valueq): Use the enum_name as a prefix, if defined. | |
6191 | (find_attr): Initialize enum_name. | |
6192 | (main): Handle DEFINE_ENUM_ATTR. | |
6193 | * gensupport.c (process_rtx): Likewise. | |
6194 | * config/mips/mips.h (mips_tune_attr): Delete. | |
6195 | * config/mips/mips.md (cpu): Use define_attr_enum. | |
6196 | ||
24609606 RS |
6197 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6198 | ||
6199 | * doc/md.texi (define_c_enum, define_enum): Document. | |
6200 | * read-md.h (md_constant): Add a parent_enum field. | |
6201 | (enum_value, enum_type): New structures. | |
6202 | (upcase_string, traverse_enum_types): Declare. | |
6203 | * read-md.c (enum_types): New variable. | |
6204 | (upcase_string, add_constant): New functions. | |
6205 | (handle_constants): Don't create the hash table here. | |
6206 | Use add_constant. | |
6207 | (traverse_md_constants): Don't check for a null md_constants. | |
6208 | (decimal_string, handle_enum, traverse_enum_types): New functions. | |
6209 | (read_md_files): Initialize md_constants and md_enums. | |
6210 | * genconstants.c (print_md_constant): Ignore info argument. | |
6211 | Only print constants that belong to no enum. | |
6212 | (print_enum_type): New function. | |
6213 | (main): Don't pass stdout to print_md_constant. Call print_enum_type | |
6214 | for each defined enum type. | |
6215 | * config/mips/mips.md (processor): New define_enum. | |
6216 | (unspec): New define_c_enum. | |
6217 | (UNSPEC_COMPARE_AND_SWAP, UNSPEC_COMPARE_AND_SWAP_12) | |
6218 | (UNSPEC_SYNC_OLD_OP, UNSPEC_SYNC_NEW_OP, UNSPEC_SYNC_NEW_OP_12) | |
6219 | (UNSPEC_SYNC_OLD_OP_12, UNSPEC_SYNC_EXCHANGE, UNSPEC_SYNC_EXCHANGE_12) | |
6220 | (UNSPEC_MEMORY_BARRIER): Moved to sync.md. | |
6221 | (UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ, UNSPEC_SUBQ_S, UNSPEC_ADDSC) | |
6222 | (UNSPEC_ADDWC, UNSPEC_MODSUB, UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S) | |
6223 | (UNSPEC_PRECRQ_QB_PH, UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W) | |
6224 | (UNSPEC_PRECRQU_S_QB_PH, UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR) | |
6225 | (UNSPEC_PRECEQU_PH_QBL, UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA) | |
6226 | (UNSPEC_PRECEQU_PH_QBRA, UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR) | |
6227 | (UNSPEC_PRECEU_PH_QBLA, UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL) | |
6228 | (UNSPEC_SHLL_S, UNSPEC_SHRL_QB, UNSPEC_SHRA_PH, UNSPEC_SHRA_R) | |
6229 | (UNSPEC_MULEU_S_PH_QBL, UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH) | |
6230 | (UNSPEC_MULEQ_S_W_PHL, UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL) | |
6231 | (UNSPEC_DPAU_H_QBR, UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR) | |
6232 | (UNSPEC_DPAQ_S_W_PH, UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH) | |
6233 | (UNSPEC_DPAQ_SA_L_W, UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL) | |
6234 | (UNSPEC_MAQ_S_W_PHR, UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR) | |
6235 | (UNSPEC_BITREV, UNSPEC_INSV, UNSPEC_REPL_QB, UNSPEC_REPL_PH) | |
6236 | (UNSPEC_CMP_EQ, UNSPEC_CMP_LT, UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB) | |
6237 | (UNSPEC_CMPGU_LT_QB, UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH) | |
6238 | (UNSPEC_EXTR_W, UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H) | |
6239 | (UNSPEC_EXTP, UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP) | |
6240 | (UNSPEC_RDDSP): Move to mips-dsp.md. | |
6241 | (UNSPEC_ABSQ_S_QB, UNSPEC_ADDU_PH, UNSPEC_ADDU_S_PH, UNSPEC_ADDUH_QB) | |
6242 | (UNSPEC_ADDUH_R_QB, UNSPEC_APPEND, UNSPEC_BALIGN, UNSPEC_CMPGDU_EQ_QB) | |
6243 | (UNSPEC_CMPGDU_LT_QB, UNSPEC_CMPGDU_LE_QB, UNSPEC_DPA_W_PH) | |
6244 | (UNSPEC_DPS_W_PH, UNSPEC_MADD, UNSPEC_MADDU, UNSPEC_MSUB, UNSPEC_MSUBU) | |
6245 | (UNSPEC_MUL_PH, UNSPEC_MUL_S_PH, UNSPEC_MULQ_RS_W, UNSPEC_MULQ_S_PH) | |
6246 | (UNSPEC_MULQ_S_W, UNSPEC_MULSA_W_PH, UNSPEC_MULT, UNSPEC_MULTU) | |
6247 | (UNSPEC_PRECR_QB_PH, UNSPEC_PRECR_SRA_PH_W, UNSPEC_PRECR_SRA_R_PH_W) | |
6248 | (UNSPEC_PREPEND, UNSPEC_SHRA_QB, UNSPEC_SHRA_R_QB, UNSPEC_SHRL_PH) | |
6249 | (UNSPEC_SUBU_PH, UNSPEC_SUBU_S_PH, UNSPEC_SUBUH_QB, UNSPEC_SUBUH_R_QB) | |
6250 | (UNSPEC_ADDQH_PH, UNSPEC_ADDQH_R_PH, UNSPEC_ADDQH_W, UNSPEC_ADDQH_R_W) | |
6251 | (UNSPEC_SUBQH_PH, UNSPEC_SUBQH_R_PH, UNSPEC_SUBQH_W, UNSPEC_SUBQH_R_W) | |
6252 | (UNSPEC_DPAX_W_PH, UNSPEC_DPSX_W_PH, UNSPEC_DPAQX_S_W_PH) | |
6253 | (UNSPEC_DPAQX_SA_W_PH, UNSPEC_DPSQX_S_W_PH, UNSPEC_DPSQX_SA_W_PH): | |
6254 | Moved to mips-dspr2.md. | |
6255 | (UNSPEC_MOVE_TF_PS, UNSPEC_C, UNSPEC_ALNV_PS, UNSPEC_CABS) | |
6256 | (UNSPEC_ADDR_PS, UNSPEC_CVT_PW_PS, UNSPEC_CVT_PS_PW, UNSPEC_MULR_PS) | |
6257 | (UNSPEC_ABS_PS, UNSPEC_RSQRT1, UNSPEC_RSQRT2, UNSPEC_RECIP1) | |
223c6c5d | 6258 | (UNSPEC_RECIP2, UNSPEC_SINGLE_CC, UNSPEC_SCC): Move from mips-ps-3d.md. |
24609606 RS |
6259 | (UNSPEC_LOONGSON_PAVG, UNSPEC_LOONGSON_PCMPEQ, UNSPEC_LOONGSON_PCMPGT) |
6260 | (UNSPEC_LOONGSON_PEXTR, UNSPEC_LOONGSON_PINSR_0) | |
6261 | (UNSPEC_LOONGSON_PINSR_1, UNSPEC_LOONGSON_PINSR_2) | |
6262 | (UNSPEC_LOONGSON_PINSR_3, UNSPEC_LOONGSON_PMADD) | |
6263 | (UNSPEC_LOONGSON_PMOVMSK, UNSPEC_LOONGSON_PMULHU) | |
6264 | (UNSPEC_LOONGSON_PMULH, UNSPEC_LOONGSON_PMULL, UNSPEC_LOONGSON_PMULU) | |
223c6c5d EB |
6265 | (UNSPEC_LOONGSON_PASUBUB, UNSPEC_LOONGSON_BIADD, |
6266 | UNSPEC_LOONGSON_PSADBH) | |
24609606 RS |
6267 | (UNSPEC_LOONGSON_PSHUFH, UNSPEC_LOONGSON_PUNPCKH) |
6268 | (UNSPEC_LOONGSON_PUNPCKL, UNSPEC_LOONGSON_PADDD) | |
6269 | (UNSPEC_LOONGSON_PSUBD): Move to mips-loongson.md. | |
6270 | (UNSPEC_LOONGSON_ALU1_TURN_ENABLED_INSN) | |
6271 | (UNSPEC_LOONGSON_ALU2_TURN_ENABLED_INSN) | |
6272 | (UNSPEC_LOONGSON_FALU1_TURN_ENABLED_INSN) | |
223c6c5d | 6273 | (UNSPEC_LOONGSON_FALU2_TURN_ENABLED_INSN): Move to mips-loongson2ef.md. |
24609606 RS |
6274 | (cpu): Update comment. |
6275 | * config/mips/sync.md (UNSPEC_COMPARE_AND_SWAP) | |
6276 | (UNSPEC_COMPARE_AND_SWAP_12, UNSPEC_SYNC_OLD_OP, UNSPEC_SYNC_NEW_OP) | |
6277 | (UNSPEC_SYNC_NEW_OP_12, UNSPEC_SYNC_OLD_OP_12, UNSPEC_SYNC_EXCHANGE) | |
6278 | (UNSPEC_SYNC_EXCHANGE_12, UNSPEC_MEMORY_BARRIER): Moved from mips.md. | |
223c6c5d EB |
6279 | * config/mips/loongson.md (UNSPEC_LOONGSON_PAVG, |
6280 | UNSPEC_LOONGSON_PCMPEQ) | |
6281 | (UNSPEC_LOONGSON_PCMPGT, UNSPEC_LOONGSON_PEXTR, | |
6282 | UNSPEC_LOONGSON_PINSR_0) | |
24609606 RS |
6283 | (UNSPEC_LOONGSON_PINSR_1, UNSPEC_LOONGSON_PINSR_2) |
6284 | (UNSPEC_LOONGSON_PINSR_3, UNSPEC_LOONGSON_PMADD) | |
6285 | (UNSPEC_LOONGSON_PMOVMSK, UNSPEC_LOONGSON_PMULHU) | |
6286 | (UNSPEC_LOONGSON_PMULH, UNSPEC_LOONGSON_PMULL, UNSPEC_LOONGSON_PMULU) | |
223c6c5d EB |
6287 | (UNSPEC_LOONGSON_PASUBUB, UNSPEC_LOONGSON_BIADD, |
6288 | UNSPEC_LOONGSON_PSADBH) | |
24609606 RS |
6289 | (UNSPEC_LOONGSON_PSHUFH, UNSPEC_LOONGSON_PUNPCKH) |
6290 | (UNSPEC_LOONGSON_PUNPCKL, UNSPEC_LOONGSON_PADDD) | |
6291 | (UNSPEC_LOONGSON_PSUBD): Moved from mips.md | |
6292 | * config/mips/loongson2ef.md (UNSPEC_LOONGSON_ALU1_TURN_ENABLED_INSN) | |
6293 | (UNSPEC_LOONGSON_ALU2_TURN_ENABLED_INSN) | |
6294 | (UNSPEC_LOONGSON_FALU1_TURN_ENABLED_INSN) | |
6295 | (UNSPEC_LOONGSON_FALU2_TURN_ENABLED_INSN): Moved from mips.md | |
6296 | * config/mips/mips-dsp.md (UNSPEC_ADDQ, UNSPEC_ADDQ_S, UNSPEC_SUBQ) | |
6297 | (UNSPEC_SUBQ_S, UNSPEC_ADDSC, UNSPEC_ADDWC, UNSPEC_MODSUB) | |
6298 | (UNSPEC_RADDU_W_QB, UNSPEC_ABSQ_S, UNSPEC_PRECRQ_QB_PH) | |
6299 | (UNSPEC_PRECRQ_PH_W, UNSPEC_PRECRQ_RS_PH_W, UNSPEC_PRECRQU_S_QB_PH) | |
6300 | (UNSPEC_PRECEQ_W_PHL, UNSPEC_PRECEQ_W_PHR, UNSPEC_PRECEQU_PH_QBL) | |
6301 | (UNSPEC_PRECEQU_PH_QBR, UNSPEC_PRECEQU_PH_QBLA, UNSPEC_PRECEQU_PH_QBRA) | |
6302 | (UNSPEC_PRECEU_PH_QBL, UNSPEC_PRECEU_PH_QBR, UNSPEC_PRECEU_PH_QBLA) | |
6303 | (UNSPEC_PRECEU_PH_QBRA, UNSPEC_SHLL, UNSPEC_SHLL_S, UNSPEC_SHRL_QB) | |
6304 | (UNSPEC_SHRA_PH, UNSPEC_SHRA_R, UNSPEC_MULEU_S_PH_QBL) | |
6305 | (UNSPEC_MULEU_S_PH_QBR, UNSPEC_MULQ_RS_PH, UNSPEC_MULEQ_S_W_PHL) | |
6306 | (UNSPEC_MULEQ_S_W_PHR, UNSPEC_DPAU_H_QBL, UNSPEC_DPAU_H_QBR) | |
6307 | (UNSPEC_DPSU_H_QBL, UNSPEC_DPSU_H_QBR, UNSPEC_DPAQ_S_W_PH) | |
6308 | (UNSPEC_DPSQ_S_W_PH, UNSPEC_MULSAQ_S_W_PH, UNSPEC_DPAQ_SA_L_W) | |
6309 | (UNSPEC_DPSQ_SA_L_W, UNSPEC_MAQ_S_W_PHL, UNSPEC_MAQ_S_W_PHR) | |
6310 | (UNSPEC_MAQ_SA_W_PHL, UNSPEC_MAQ_SA_W_PHR, UNSPEC_BITREV, UNSPEC_INSV) | |
6311 | (UNSPEC_REPL_QB, UNSPEC_REPL_PH, UNSPEC_CMP_EQ, UNSPEC_CMP_LT) | |
6312 | (UNSPEC_CMP_LE, UNSPEC_CMPGU_EQ_QB, UNSPEC_CMPGU_LT_QB) | |
6313 | (UNSPEC_CMPGU_LE_QB, UNSPEC_PICK, UNSPEC_PACKRL_PH, UNSPEC_EXTR_W) | |
6314 | (UNSPEC_EXTR_R_W, UNSPEC_EXTR_RS_W, UNSPEC_EXTR_S_H, UNSPEC_EXTP) | |
6315 | (UNSPEC_EXTPDP, UNSPEC_SHILO, UNSPEC_MTHLIP, UNSPEC_WRDSP) | |
6316 | (UNSPEC_RDDSP): Moved from mips.md. | |
6317 | * config/mips/mips-dspr2.md (UNSPEC_ABSQ_S_QB, UNSPEC_ADDU_PH) | |
6318 | (UNSPEC_ADDU_S_PH, UNSPEC_ADDUH_QB, UNSPEC_ADDUH_R_QB, UNSPEC_APPEND) | |
6319 | (UNSPEC_BALIGN, UNSPEC_CMPGDU_EQ_QB, UNSPEC_CMPGDU_LT_QB) | |
6320 | (UNSPEC_CMPGDU_LE_QB, UNSPEC_DPA_W_PH, UNSPEC_DPS_W_PH, UNSPEC_MADD) | |
6321 | (UNSPEC_MADDU, UNSPEC_MSUB, UNSPEC_MSUBU, UNSPEC_MUL_PH) | |
6322 | (UNSPEC_MUL_S_PH, UNSPEC_MULQ_RS_W, UNSPEC_MULQ_S_PH, UNSPEC_MULQ_S_W) | |
6323 | (UNSPEC_MULSA_W_PH, UNSPEC_MULT, UNSPEC_MULTU, UNSPEC_PRECR_QB_PH) | |
6324 | (UNSPEC_PRECR_SRA_PH_W, UNSPEC_PRECR_SRA_R_PH_W, UNSPEC_PREPEND) | |
6325 | (UNSPEC_SHRA_QB, UNSPEC_SHRA_R_QB, UNSPEC_SHRL_PH, UNSPEC_SUBU_PH) | |
6326 | (UNSPEC_SUBU_S_PH, UNSPEC_SUBUH_QB, UNSPEC_SUBUH_R_QB, UNSPEC_ADDQH_PH) | |
6327 | (UNSPEC_ADDQH_R_PH, UNSPEC_ADDQH_W, UNSPEC_ADDQH_R_W, UNSPEC_SUBQH_PH) | |
6328 | (UNSPEC_SUBQH_R_PH, UNSPEC_SUBQH_W, UNSPEC_SUBQH_R_W, UNSPEC_DPAX_W_PH) | |
6329 | (UNSPEC_DPSX_W_PH, UNSPEC_DPAQX_S_W_PH, UNSPEC_DPAQX_SA_W_PH) | |
6330 | (UNSPEC_DPSQX_S_W_PH, UNSPEC_DPSQX_SA_W_PH): Moved from mips.md. | |
6331 | * config/mips/mips-ps-3d.md (UNSPEC_MOVE_TF_PS, UNSPEC_C) | |
6332 | (UNSPEC_ALNV_PS, UNSPEC_CABS, UNSPEC_ADDR_PS, UNSPEC_CVT_PW_PS) | |
6333 | (UNSPEC_CVT_PS_PW, UNSPEC_MULR_PS, UNSPEC_ABS_PS, UNSPEC_RSQRT1) | |
6334 | (UNSPEC_RSQRT2, UNSPEC_RECIP1, UNSPEC_RECIP2, UNSPEC_SINGLE_CC) | |
6335 | (UNSPEC_SCC): Moved from mips.md. | |
6336 | * config/mips/mips.c (mips_arch, mips_tune): Change enum from | |
6337 | "processor_type" to "processor". | |
6338 | (mips_rtx_cost_data): Replace PROCESSOR_MAX with NUM_PROCESSOR_VALUES. | |
6339 | * config/mips/mips.h (processor_type): Delete. | |
6340 | (mips_cpu_info.cpu, mips_arch, mips_tune): Change enum from | |
6341 | "processor_type" to "processor". | |
6342 | ||
c513ce77 RS |
6343 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6344 | ||
6345 | * configure.ac (tm_include_list): Add insn-constants.h. | |
6346 | * configure: Regenerate. | |
6347 | * Makefile.in (GTM_H): Move insn-constants.h here from... | |
6348 | (TM_H): ...here. | |
6349 | * mkconfig.sh: Remove special handling for insn-constants.h. | |
6350 | ||
9b68b6ea RS |
6351 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6352 | ||
6353 | * Makefile.in (BUILD_RTL): Move build/read-md.o to... | |
6354 | (BUILD_MD): ...this new variable. | |
6355 | (simple_generated_rtl_h, simple_generated_rtl_c): New variables | |
6356 | that include the old contents of simple_generated_h and | |
6357 | simple_generated_c. | |
6358 | (simple_generated_h, simple_generated_c): Include them. Add | |
6359 | insn-constants.h. | |
6360 | (s-%): Make simple_generated_{h,c} stamps depend on $(MD_DEPS) | |
6361 | and simple_generated_rtl_{h,c} stamps depend on insn-conditions.md. | |
6362 | Remove these dependencies from the main rule and include | |
6363 | insn-conditions.md in the command line only if it appears | |
6364 | in the dependency list. | |
6365 | (insn-constants.h, s-constants): Delete. | |
6366 | (build/genconstants.o): Don't depend on $(RTL_BASE_H), $(GTM_H) | |
6367 | or gensupport.h. | |
6368 | (build/genmddeps.o): Likewise. | |
6369 | (genprogrtl): New variable that contains everything from genprogmd | |
6370 | except mddeps and constants. | |
6371 | (genprogmd): Redefine in terms of genprogrtl. Make these programs | |
6372 | depend on $(BUILD_MD) | |
6373 | (genprog): New variable. Make these programs depend on | |
6374 | $(BUILD_ERRORS). | |
6375 | * genmddeps.c: Don't include tm.h, rtl.h or gensupport.h. | |
6376 | (main): Use read_md_files instead of init_rtx_reader_args. | |
6377 | * genconstants.c: As for genmddeps.c. | |
6378 | * read-md.h (read_skip_construct): Declare. | |
6379 | * read-md.c (read_skip_construct): New function. | |
6380 | (handle_file): Allow a null handle_directive, skipping the | |
6381 | construct if so. | |
6382 | (parse_include): Update the comment accordingly. | |
6383 | ||
600ab3fc RS |
6384 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6385 | ||
6386 | * Makefile.in (build/genmddeps.o): Depend on $(READ_MD_H). | |
6387 | * genmddeps.c: Include read-md.h. | |
6388 | (main): Call init_rtx_reader_args instead of init_md_reader_args. | |
6389 | * genattr.c (main): Likewise. | |
6390 | * genattrtab.c (main): Likewise. | |
6391 | * genautomata.c (main): Likewise. | |
6392 | * gencodes.c (main): Likewise. | |
6393 | * genconditions.c (main): Likewise. | |
6394 | * genconfig.c (main): Likewise. | |
6395 | * genconstants.c (main): Likewise. | |
6396 | * genemit.c (main): Likewise. | |
6397 | * genextract.c (main): Likewise. | |
6398 | * genflags.c (main): Likewise. | |
6399 | * genopinit.c (main): Likewise. | |
6400 | * genoutput.c (main): Likewise. | |
6401 | * genpeep.c (main): Likewise. | |
6402 | * genrecog.c (main): Likewise. | |
6403 | * genpreds.c (main): Likewise. | |
6404 | * gensupport.h (in_fname): Move to read-md.h. | |
6405 | (init_md_reader_args_cb): Rename to... | |
6406 | (init_rtx_reader_args_cb): ...this and return a bool. | |
6407 | (init_md_reader_args): Rename to... | |
6408 | (init_rtx_reader_args): ...this and return a bool. | |
6409 | (include_callback): Move to read-md.h. | |
6410 | * gensupport.c (in_fname, include_callback, base_dir, max_include_len) | |
6411 | (file_name_list, first_dir_md_include): Move to read-md.c | |
6412 | (first_bracket_include): Delete unused variable. | |
6413 | (last_dir_md_include): Move to read-md.c. | |
6414 | (process_include): Delete, moving code to read-md.c:handle_include. | |
6415 | (process_rtx): Don't handle INCLUDE. | |
6416 | (save_string): Delete. | |
6417 | (rtx_handle_directive): New function. | |
6418 | (init_md_reader_args_cb): Rename to... | |
6419 | (init_rtx_reader_args_cb): ...this and return a boolean success value. | |
6420 | Use read_md_args. | |
6421 | (init_md_reader_args): Rename to... | |
6422 | (init_rtx_reader_args): ...this and return a boolean success value. | |
6423 | * rtl.def (INCLUDE): Delete. | |
6424 | * rtl.h (read_rtx): Remove "int *" argument. Add "const char *" | |
6425 | argument. | |
6426 | * read-rtl.c (read_conditions): Don't gobble ')' here. | |
6427 | (read_mapping): Likewise. | |
6428 | (read_rtx): Remove LINENO argument. Add RTX_NAME argument. | |
6429 | Handle top-level non-rtx constructs here rather than in read_rtx_1. | |
6430 | Store the whole queue in *X. Remove call to init_md_reader. | |
6431 | (read_rtx_1): Rename to... | |
6432 | (read_rtx_code): ...this. Call read_nested_rtx to read subrtxes. | |
6433 | Don't handle top-level non-rtx constructs here. Don't handle (nil) | |
6434 | here. | |
6435 | (read_nested_rtx): New function. Handle (nil) here rather than | |
6436 | in read_rtx_code. | |
6437 | (read_rtx_variadic): Call read_nested_rtx to read subrtxes. Don't | |
6438 | gobble ')' here. | |
6439 | * read-md.h (directive_handler_t): New type. | |
6440 | (in_fname, include_callback): Moved from read-md.h. | |
6441 | (read_constants, init_md_reader): Delete. | |
6442 | (read_md_files): Declare. | |
6443 | * read-md.c (file_name_list, in_fname, base_dir, first_dir_md_include) | |
6444 | (last_dir_md_include_ptr, include_callback, max_include_len): Moved | |
6445 | from gensupport.c. | |
6446 | (read_constants): Rename to... | |
6447 | (handle_constants): ...this. Don't gobble ')' here. | |
6448 | (handle_include, handle_file, handle_toplevel_file) | |
6449 | (parse_include): New functions, mostly taken from gensupport.c. | |
6450 | (init_md_reader): Subsume into... | |
6451 | (read_md_files): ...this new function. | |
6452 | ||
7f7c467f RS |
6453 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6454 | ||
6455 | * read-md.h (read_char): Increment read_md_lineno after reading '\n'. | |
6456 | (unread_char): Decrement read_md_lineno after putting back '\n'. | |
6457 | * read-md.c (fatal_with_file_and_line): Push back any characters | |
6458 | that we decide not to add to the context. | |
6459 | (read_skip_spaces): Don't increment read_md_lineno here. Avoid using | |
6460 | fatal_expected_char in cases where '/' ends a line (for example). | |
6461 | (read_name): Don't increment read_md_lineno here. | |
6462 | (read_escape): Likewise. | |
6463 | (read_quoted_string): Likewise. | |
6464 | (read_braced_string): Likewise. | |
6465 | ||
9f418533 RS |
6466 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6467 | ||
6468 | * Makefile.in (READ_MD_H): Add $(HASHTAB_H). | |
6469 | (build/genconstants.o): Depend on $(READ_MD_H) gensupport.h. | |
6470 | * genconstants.c: Include read-md.h. | |
6471 | * read-rtl.c (md_constants): Move to read-md.c. | |
6472 | (md_name): Move to read-md.h. | |
6473 | (initialize_iterators): Use leading_string_hash instead of def_hash | |
6474 | and leading_string_eq_p instead of def_name_eq_p. | |
6475 | (read_name): Move to read-md.c. | |
6476 | (def_hash, def_name_eq_p): Delete. | |
6477 | (read_constants, traverse_md_constants): Move to read-md.c. | |
6478 | * rtl.h (md_constant, traverse_md_constants): Move to read-md.h. | |
6479 | * read-md.h: Include hashtab.h. | |
6480 | (md_name): Moved from read-rtl.c. | |
6481 | (md_constant): Moved from read-md.h. | |
6482 | (leading_string_hash, leading_string_eq_p, read_name) | |
6483 | (read_constants, traverse_md_constants): Declare. | |
6484 | * read-md.c (md_constants): Moved from read-rtl.c. | |
6485 | (leading_string_hash, leading_string_eq_p): New functions. | |
6486 | (read_name, read_constants, traverse_md_constants): Moved from | |
6487 | read-rtl.c. | |
6488 | ||
82f8e3fd RS |
6489 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6490 | ||
6491 | * read-rtl.c (md_name): New structure. | |
6492 | (read_name): Take an md_name instead of a buffer pointer. | |
6493 | Use the "string" field instead of strcpy when expanding constants. | |
6494 | (read_constants): Remove the tmp_char argument. Update the calls | |
6495 | to read_name, using two local name buffers instead of the tmp_char | |
6496 | argument. Merge the constant-creation code. | |
6497 | (read_conditions): Remove the tmp_char argument. Update the calls | |
6498 | to read_name, using a local name buffer instead of the tmp_char | |
6499 | argument. | |
6500 | (read_mapping): Replace tmp_char variable with a local name buffer. | |
6501 | Update the calls to read_name. | |
6502 | (read_rtx_1): Likewise. Update the calls to read_constants and | |
6503 | read_conditions. | |
6504 | ||
bb933490 RS |
6505 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6506 | ||
6507 | * Makefile.in (build/read-md.o): Depend on errors.h. | |
6508 | * read-md.h (error_with_line): Declare. | |
6509 | * read-md.c: Include errors.h. | |
6510 | (message_with_line_1): New function, extracted from... | |
6511 | (message_with_line): ...here. | |
6512 | (error_with_line): New function. | |
6513 | * genattrtab.c: If a call to message_with_line is followed by | |
6514 | "have_error = 1;", replace both statements with a call to | |
6515 | error_with_line. | |
6516 | * genoutput.c: Likewise. | |
6517 | * genpreds.c: Likewise. | |
6518 | * genrecog.c: If a call to message_with_line is followed by | |
6519 | "error_count++;", replace both statements with a call to | |
6520 | error_with_line. | |
6521 | (errorcount): Delete. | |
6522 | (main): Don't check it. | |
6523 | * gensupport.c: If a call to message_with_line is followed by | |
6524 | "errors = 1;", replace both statements with a call to error_with_line. | |
6525 | (errors): Delete. | |
6526 | (process_define_cond_exec): Check have_error instead of errors. | |
6527 | (init_md_reader_args_cb): Likewise. Don't set errors. | |
6528 | ||
c5e88b39 RS |
6529 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6530 | ||
6531 | * read-md.h (read_md_file): Declare. | |
6532 | (read_char, unread_char): New functions. | |
6533 | (fatal_with_file_and_line, fatal_expected_char, read_skip_spaces) | |
6534 | (read_quoted_string, read_string): Remove FILE * argument. | |
6535 | * read-md.c (read_md_file): New variable. | |
6536 | (read_md_filename, read_md_lineno): Update comments and remove | |
6537 | unnecessary initialization. | |
6538 | (fatal_with_file_and_line, fatal_expected_char, read_skip_spaces) | |
6539 | (read_escape, read_quoted_string, read_braced_string, read_string): | |
6540 | Remove FILE * argument. Update calls accordingly, using read_char | |
6541 | and unread_char instead of getc and ungetc. | |
6542 | * rtl.h (read_rtx): Remove FILE * argument. | |
6543 | * read-rtl.c (iterator_group): Remove FILE * argument from | |
6544 | "find_builtin". | |
6545 | (iterator_traverse_data): Remove "infile" field. | |
6546 | (find_mode, find_code, apply_mode_maps, apply_iterator_to_rtx) | |
6547 | (add_mapping, read_name, read_constants, read_conditions) | |
6548 | (validate_const_int, find_iterator, read_mapping, check_code_iterator) | |
6549 | (read_rtx, read_rtx_1, read_rtx_variadic): Remove FILE * argument. | |
6550 | Remove file arguments from all calls, using read_char and unread_char | |
6551 | instead of getc and ungetc. | |
6552 | * gensupport.c (process_include): Preserve read_md_file around | |
6553 | the include. Set read_md_file to the handle of the included file. | |
6554 | Update call to read_rtx. | |
6555 | (init_md_reader_args_cb): Set read_md_file to the handle of the file | |
6556 | and remove local FILE *. Update calls to read_rtx. | |
6557 | ||
d2a3ce4e RS |
6558 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6559 | ||
6560 | * read-md.h (read_rtx_lineno): Rename to... | |
6561 | (read_md_lineno): ...this. | |
6562 | (read_rtx_filename): Rename to... | |
6563 | (read_md_filename): ...this. | |
6564 | (copy_rtx_ptr_loc): Rename to... | |
6565 | (copy_md_ptr_loc): ...this. | |
6566 | (print_rtx_ptr_loc): Rename to... | |
6567 | (print_md_ptr_loc): ...this. | |
6568 | * read-md.c: Likewise. Update references after renaming. | |
6569 | (string_obstack): Replace RTL with MD in comment. | |
6570 | (set_rtx_ptr_loc): Rename to... | |
6571 | (set_md_ptr_loc): ...this. | |
6572 | (get_rtx_ptr_loc): Rename to... | |
6573 | (get_md_ptr_loc): ...this. | |
6574 | * genconditions.c: Update references after renaming. | |
6575 | * genemit.c: Likewise. | |
6576 | * genoutput.c: Likewise. | |
6577 | * genpreds.c: Likewise. | |
6578 | * gensupport.c: Likewise. | |
6579 | * read-rtl.c: Likewise. | |
6580 | ||
10692477 RS |
6581 | 2010-06-10 Richard Sandiford <rdsandiford@googlemail.com> |
6582 | ||
6583 | * Makefile.in (READ_MD_H): New variable. | |
6584 | (BUILD_RTL): Add build/read-md.o. | |
6585 | (lto-wrapper.o): Depend on coretypes.h instead of defaults.h. | |
6586 | (build/gensupport.o, build/read-rtl.o, build/genattr.o) | |
6587 | (build/genattrtab.o, build/genconditions.o build/genemit.o) | |
6588 | (build/genextract.o, build/genflags.o, build/genoutput.o) | |
6589 | (build/genpreds.o, build/genrecog.o): Depend on $(READ_MD_H). | |
6590 | (build/read-md.o): New rule. | |
6591 | * defaults.h (obstack_chunk_alloc, obstack_chunk_free) | |
6592 | (OBSTACK_CHUNK_SIZE, gcc_obstack_init): Move to... | |
6593 | * coretypes.h: ...here. | |
6594 | * lto-wrapper.c: Include coretypes.h instead of defaults.h. | |
6595 | * pretty-print.c (obstack_chunk_alloc, obstack_chunk_free): Delete. | |
6596 | * genattr.c: Include read-md.h. | |
6597 | * genattrtab.c: Likewise. | |
6598 | * genconditions.c: Likewise. | |
6599 | * genemit.c: Likewise. | |
6600 | * genextract.c: Likewise. | |
6601 | * genflags.c: Likewise. | |
6602 | * genoutput.c: Likewise. | |
6603 | * genpreds.c: Likewise. | |
6604 | * genrecog.c: Likewise. | |
6605 | * rtl.h (read_skip_spaces, copy_rtx_ptr_loc, print_rtx_ptr_loc) | |
6606 | (join_c_conditions, print_c_condition, read_rtx_filename) | |
6607 | (read_rtx_lineno): Move to read-md.h. | |
6608 | * read-rtl.c: Include read-md.h. | |
6609 | (ptr_loc, string_obstack, ptr_locs, ptr_loc_obstack) | |
6610 | (joined_conditions, joined_conditions_obstack, read_rtx_lineno) | |
6611 | (read_rtx_filename, fatal_with_file_and_line, fatal_expected_char) | |
6612 | (leading_ptr_hash, leading_ptr_eq_p, set_rtx_ptr_loc, get_rtx_ptr_loc) | |
6613 | (copy_rtx_ptr_loc, print_rtx_ptr_loc, join_c_conditions) | |
6614 | (print_c_condition, read_skip_spaces, read_escape, read_quoted_string) | |
6615 | (read_braced_string, read_string): Move to read-md.c. | |
6616 | (read_rtx): Move some initialization to init_md_reader and call | |
6617 | init_md_reader here. | |
6618 | * gensupport.h (message_with_line, n_comma_elts, scan_comma_elt): | |
6619 | Move to read-md.h. | |
6620 | * gensupport.c: Include read-md.h. | |
3d25c396 | 6621 | (message_with_line, n_comma_elts, scan_comma_elt): Move to read-md.c. |
10692477 RS |
6622 | * read-md.h, read-md.c: New files. |
6623 | ||
feab9982 AS |
6624 | 2010-06-10 Anatoly Sokolov <aesok@post.ru> |
6625 | ||
6626 | * config/moxie/moxie.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, | |
6627 | LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
6628 | * config/moxie/moxie-protos.h (moxie_function_value): Remove. | |
6629 | * config/moxie/moxie.c (moxie_function_value): Make static. | |
6630 | (moxie_libcall_value, moxie_function_value_regno_p): New functions. | |
6631 | (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
6632 | ||
567a4beb MJ |
6633 | 2010-06-10 Martin Jambor <mjambor@suse.cz> |
6634 | ||
6635 | * Makefile.in (tree-sra.o): Add DBGCNT_H to dependencies. | |
6636 | * dbgcnt.def (tree_sra): New counter. | |
6637 | * tree-sra.c: Include dbgcnt.h. | |
6638 | (gate_intra_sra): Check tree_sra debug counter. | |
6639 | ||
591d4f4a MJ |
6640 | 2010-06-10 Martin Jambor <mjambor@suse.cz> |
6641 | ||
6642 | PR tree-optimization/44258 | |
6643 | * tree-sra.c (build_access_subtree): Return false iff there is a | |
6644 | partial overlap. | |
6645 | (build_access_trees): Likewise. | |
6646 | (analyze_all_variable_accesses): Disqualify candidates if | |
6647 | build_access_trees returns true for them. | |
6648 | ||
b933b33a AO |
6649 | 2010-06-10 Alexandre Oliva <aoliva@redhat.com> |
6650 | ||
6651 | PR debug/41371 | |
6652 | * var-tracking.c (find_loc_in_1pdv): Remove recursion, only | |
6653 | tail-recurse into canonical node. Fast-forward over | |
6654 | non-canonical VALUEs. | |
6655 | ||
ff534e89 L |
6656 | 2010-06-10 H.J. Lu <hongjiu.lu@intel.com> |
6657 | ||
6658 | PR boostrap/44470 | |
6659 | * config/i386/i386.md (*add<mode>_1): Revert revision 160394. | |
6660 | (*addsi_1_zext) <TYPE_LEA>: Likewise. | |
6661 | (add lea splitter): Likewise. | |
6662 | (add_zext lea splitter): Likewise. | |
6663 | ||
1cb42611 JM |
6664 | 2010-06-10 Joseph Myers <joseph@codesourcery.com> |
6665 | ||
6666 | * common.opt (fshow-column): Don't mark as C ObjC C++ ObjC++. | |
6667 | ||
29aba2bb JH |
6668 | 2010-06-10 Jan Hubicka <jh@suse.cz> |
6669 | ||
6670 | * df-problems.c (df_live_problem_data): Add live_bitmaps. | |
6671 | (df_live_alloc): Initialize problem data and live_osbtacks. | |
6672 | (df_live_finalize): Remove obstack, problem data; do not | |
6673 | clear all bitmaps. | |
6674 | (df_live_top_dump, df_live_bottom_dump): Do not dump old | |
6675 | data when not allocated. | |
6676 | (df_live_verify_solution_start): Do not allocate problem data. | |
6677 | (df_live_verify_solution_end): Check if out is allocated. | |
6678 | (struct df_md_problem_data): New structure. | |
6679 | (df_md_alloc): Allocate problem data. | |
6680 | (df_md_free): Free problem data; do not clear bitmaps. | |
6681 | ||
bfa912a8 JB |
6682 | 2010-06-10 Jan Beulich <jbeulich@novell.com> |
6683 | ||
2aa9a961 | 6684 | PR bootstrap/37304 |
bfa912a8 JB |
6685 | * configure.ac: Replace $() with ${} when intending to expand |
6686 | variables rather than invoking commands. | |
6687 | * configure: Re-generate. | |
6688 | ||
21d9971a JH |
6689 | 2010-06-10 Jan Hubicka <jh@suse.cz> |
6690 | ||
fea87e28 | 6691 | PR rtl-optimization/44460 |
3d25c396 UB |
6692 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Remove |
6693 | TYPE_NEEDS_CONSTRUCTING sanity check. | |
21d9971a | 6694 | |
07a67d6a GP |
6695 | 2010-06-10 Gerald Pfeifer <gerald@pfeifer.com> |
6696 | ||
6697 | * doc/include/fdl.texi: Move to GFDL version 1.3. | |
6698 | ||
6699 | * doc/cpp.texi: Move to GFDL version 1.3. | |
6700 | * doc/gcc.texi: Move to GFDL version 1.3. Fix copyright years. | |
6701 | * doc/gccint.texi: Move to GFDL version 1.3. | |
6702 | * doc/gcov.texi: Move to GFDL version 1.3. Update copyright years. | |
6703 | * doc/install.texi: Move to GFDL version 1.3. Fix copyright years. | |
6704 | * doc/invoke.texi: Move to GFDL version 1.3. | |
6705 | ||
15e80fc3 JH |
6706 | 2010-06-09 Jan Hubicka <jh@suse.cz> |
6707 | ||
6708 | * ipa-pure-const.c (propagate_pure_const, propagate_noreturn): | |
6709 | Break out from ... | |
6710 | (propagate) ... here; swap the order. | |
6711 | ||
377002a9 JH |
6712 | 2010-06-09 Jan Hubicka <jh@suse.cz> |
6713 | ||
6714 | * bitmap.c (bitmap_elt_insert_after, bitmap_first_set_bit, | |
6715 | bitmap_first_set_bit, bitmap_last_set_bit, bitmap_last_set_bit, | |
6716 | bitmap_and_into, bitmap_and_compl_into, bitmap_set_range, | |
6717 | bitmap_compl_and_into, bitmap_elt_ior): Use checking asserts. | |
6718 | ||
50814135 CF |
6719 | 2010-06-09 Changpeng Fang <changpeng.fang@amd.com> |
6720 | ||
6721 | * tree-ssa-loop-prefetch.c (gather_memory_references_ref): | |
6722 | Do not the gather memory reference in the outer loop if the step | |
6723 | is not a constant. | |
6724 | ||
f7963a7c CF |
6725 | 2010-06-09 Changpeng Fang <changpeng.fang@amd.com> |
6726 | ||
3d25c396 UB |
6727 | * tree-ssa-loop-prefetch.c (PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO) : |
6728 | Change the PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO threshold value from | |
6729 | 8 to 4. Minor change of the related comments. | |
f7963a7c | 6730 | |
7472eb13 SP |
6731 | 2010-06-09 Sebastian Pop <sebastian.pop@amd.com> |
6732 | ||
6733 | * tree-scalar-evolution.c (instantiate_scev_name): Do not fail | |
6734 | the scev analysis when the variable is not used outside the loop | |
6735 | in a close phi node: call compute_overall_effect_of_inner_loop. | |
6736 | ||
c12e2a5f SP |
6737 | 2010-06-09 Sebastian Pop <sebastian.pop@amd.com> |
6738 | ||
6739 | * graphite-sese-to-poly.c (single_pred_cond): Renamed | |
6740 | single_pred_cond_non_loop_exit. Return NULL for loop exit edges. | |
6741 | (build_sese_conditions_before): Renamed call to single_pred_cond. | |
6742 | (build_sese_conditions_after): Same. | |
6743 | ||
072edf07 SP |
6744 | 2010-06-09 Sebastian Pop <sebastian.pop@amd.com> |
6745 | ||
6746 | * graphite-poly.h: Fix comments and indentation. | |
6747 | * graphite-sese-to-poly.c: Same. | |
6748 | (build_sese_conditions_before): Compute stmt and gbb only when needed. | |
6749 | * tree-chrec.c: Fix comments and indentation. | |
6750 | (tree-ssa-loop-niter.c): Same. | |
6751 | ||
642d55de EB |
6752 | 2010-06-09 Eric Botcazou <ebotcazou@adacore.com> |
6753 | ||
6754 | PR rtl-optimization/42461 | |
6755 | * dce.c (deletable_insn_p): Return true for const or pure calls again. | |
6756 | * except.c (insn_could_throw_p): Return false if !flag_exceptions. | |
6757 | ||
a2b709cc JH |
6758 | 2010-06-09 Jan Hubicka <jh@suse.cz> |
6759 | ||
6760 | * bitmap.c (bitmap_and): Walk array forward. | |
6761 | (bitmap_and_compl_into): Likewise. | |
6762 | (bitmap_xor): Likewise. | |
6763 | (bitmap_xor_into): Likewise. | |
6764 | (bitmap_equal_p): Likewise. | |
6765 | (bitmap_intersect_p): Likewise. | |
6766 | (bitmap_intersect_compl_p): Likewise. | |
6767 | (bitmap_ior_and_into): Likewise. | |
6768 | (bitmap_elt_copy): Likewise. | |
6769 | (bitmap_and_compl): Likewise. | |
6770 | (bitmap_elt_ior): Likewise. | |
6771 | ||
807303cf DK |
6772 | 2010-06-09 Dave Korn <dave.korn.cygwin@gmail.com> |
6773 | ||
6774 | * opts-common.c (prune_options): Ensure replacement argv array | |
6775 | is correctly terminated by a NULL entry. | |
6776 | ||
06795261 JH |
6777 | 2010-06-09 Jan Hubicka <jh@suse.cz> |
6778 | ||
6779 | * cgraph.h (varpool_first_static_initializer, | |
6780 | varpool_next_static_initializer): Make checking only when | |
6781 | checking enabled. | |
6782 | * tree-vectorizer.h (vinfo_for_stmt): Remove check. | |
6783 | (set_vinfo_for_stmt, get_earlier_stmt, is_loop_header_bb_p): Change | |
6784 | gcc_assert to gcc_checking_assert. | |
3d25c396 UB |
6785 | * tree-flow-inline.h (gimple_vop, get_var_ann, relink_imm_use, |
6786 | phi_nodes, set_phi_nodes, phi_arg_index_from_use, op_iter_next_use, | |
06795261 | 6787 | op_iter_next_def, op_iter_next_tree, op_iter_init, op_iter_init_use, |
3d25c396 UB |
6788 | op_iter_init_phiuse, op_iter_init_phidef, |
6789 | array_ref_contains_indirect_ref, ref_contains_array_ref): Use | |
6790 | gcc_checking_assert. | |
06795261 JH |
6791 | * emit-rtl.h (set_first_insn, set_last_insn): Likewise. |
6792 | * tree-ssa-live.h (var_to_partition, var_to_partition_to_var, | |
6793 | partition_is_global, live_on_entry, live_on_exit, | |
6794 | live_merge_and_clear): Likewise. | |
6795 | * system.h (gcc_checking_assert): New macro. | |
6796 | * gimple.h (set_bb_seq): Use gcc_checking_assert. | |
6797 | ||
8d681dbf JM |
6798 | 2010-06-09 Jason Merrill <jason@redhat.com> |
6799 | ||
6800 | * Makefile.in (TAGS): Collect tags info from c-family. | |
6801 | ||
2bc0a660 JH |
6802 | 2010-06-09 Jan Hubicka <jh@suse.cz> |
6803 | ||
6804 | * gimple.h (gcc_gimple_checking_assert): New macro. | |
3d25c396 UB |
6805 | (gimple_set_def_ops, gimple_set_use_ops, |
6806 | gimple_set_vuse, gimple_set_vdef, | |
6807 | gimple_omp_subcode, gimple_omp_set_subcode, gimple_ops, gimple_op, | |
6808 | gimple_op_ptr, gimple_op_ptr, gimple_set_op, gimple_bind_set_block, | |
6809 | gimple_asm_input_op, gimple_asm_input_op_ptr, gimple_asm_set_input_op, | |
6810 | gimple_asm_output_op, gimple_asm_output_op_ptr, | |
6811 | gimple_asm_set_output_op, gimple_asm_clobber_op, | |
6812 | gimple_asm_set_clobber_op, gimple_asm_label_op, | |
6813 | gimple_asm_set_label_op, gimple_try_set_kind, | |
6814 | gimple_try_catch_is_cleanup, gimple_try_set_catch_is_cleanup, | |
6815 | gimple_phi_arg, gimple_switch_num_labels, gimple_switch_set_index, | |
6816 | gimple_switch_label, gimple_switch_set_label, gimple_omp_for_index, | |
6817 | gimple_omp_for_index_ptr, gimple_omp_for_set_index, | |
6818 | gimple_omp_for_initial, gimple_omp_for_initial_ptr, | |
6819 | gimple_omp_for_set_initial, gimple_omp_for_final, | |
6820 | gimple_omp_for_final_ptr, gimple_omp_for_set_final, | |
6821 | gimple_omp_for_incr, gimple_omp_for_incr_ptr, gimple_omp_for_set_incr, | |
6822 | gimple_omp_for_set_cond, gimple_omp_for_cond): Make checking | |
6823 | conditional with ENABLE_GIMPLE_CHECKING. | |
6824 | (gimple_phi_set_arg): Likewise; replace memcpy by assignment. | |
2bc0a660 | 6825 | |
6521ac85 SL |
6826 | 2010-06-09 Sandra Loosemore <sandra@codesourcery.com> |
6827 | ||
6828 | * tree-ssa-loop-ivopts.c (adjust_setup_cost): New function. | |
6829 | (get_computation_cost_at): Use it. | |
6830 | (determine_use_iv_cost_condition): Likewise. | |
6831 | (determine_iv_cost): Likewise. | |
6832 | ||
76c85743 RG |
6833 | 2010-06-09 Richard Guenther <rguenther@suse.de> |
6834 | ||
6835 | * tree-ssa-loop-niter.c (simplify_replace_tree): Do not | |
6836 | replace constants. | |
6837 | ||
5d7eb7e2 KT |
6838 | 2010-06-09 Kai Tietz <kai.tietz@onevision.com> |
6839 | ||
6840 | * c-objc-common.c (c_tree_printer): Pre-intialize t by NULL_TREE. | |
6841 | ||
1536b6ab MJ |
6842 | 2010-06-09 Martin Jambor <mjambor@suse.cz> |
6843 | ||
6844 | PR tree-optimization/44423 | |
6845 | * tree-sra.c (dump_access): Dump also grp_assignment_read. | |
6846 | (analyze_access_subtree): Pass negative allow_replacements to children | |
6847 | if the current type is scalar. | |
6848 | ||
f52d94aa | 6849 | 2010-06-09 Joern Rennecke <joern.rennecke@embecosm.com> |
2d7f5f9b JR |
6850 | |
6851 | PR testsuite/42843 | |
6852 | * gcc-plugin.h (int plugin_is_GPL_compatible): Declare as extern "C". | |
6853 | * doc/plugins.texi (Plugin license check): Update information | |
6854 | on type of plugin_is_GPL_compatible. | |
6855 | * Makefile.in (PLUGINCC): Define as $(COMPILER). | |
6856 | (PLUGINCFLAGS): Define as $(COMPILER_FLAGS). | |
6857 | ||
eef5973d BS |
6858 | 2010-06-09 Bernd Schmidt <bernds@codesourcery.com> |
6859 | ||
6860 | * config/arm/arm.c (thumb2_reorg): New function. | |
6861 | (arm_reorg): Call it. | |
6862 | * config/arm/thumb2.md (define_peephole2 for flag clobbering | |
6863 | arithmetic operations): Delete. | |
6864 | ||
2cc0672a EW |
6865 | 2010-06-09 Edmar Wienskoski <edmar@freescale.com> |
6866 | ||
6867 | PR target/44067 | |
6868 | * config/rs6000/rs6000.md (DIFD): Do not split dpfp values for | |
6869 | e500v2 target. | |
6870 | ||
f1c3bf86 JR |
6871 | 2010-06-09 Joern Rennecke <joern.rennecke@embecosm.com> |
6872 | ||
2d7f5f9b | 6873 | PR plugins/44459 |
f1c3bf86 JR |
6874 | * gcc-plugin.h: Encapsulate all declarations in extern "C". |
6875 | ||
a7280dfb JH |
6876 | 2010-06-08 Jan Hubicka <jh@suse.cz> |
6877 | ||
6878 | * basic-block.h (single_succ_edge, single_pred_edge, ei_container, | |
6879 | ei_next, ei_prev): Do sanity checking with ENABLE_CHECKING only. | |
6880 | ||
e89065a1 SL |
6881 | 2010-06-08 Sandra Loosemore <sandra@codesourcery.com> |
6882 | ||
6883 | PR tree-optimization/39874 | |
6884 | PR middle-end/28685 | |
6885 | * gimple.h (maybe_fold_and_comparisons, maybe_fold_or_comparisons): | |
6886 | Declare. | |
6887 | * gimple-fold.c (canonicalize_bool, same_bool_comparison_p, | |
6888 | same_bool_result_p): New. | |
6889 | (and_var_with_comparison, and_var_with_comparison_1, | |
6890 | and_comparisons_1, and_comparisons, maybe_fold_and_comparisons): New. | |
6891 | (or_var_with_comparison, or_var_with_comparison_1, | |
6892 | or_comparisons_1, or_comparisons, maybe_fold_or_comparisons): New. | |
6893 | * tree-ssa-reassoc.c (eliminate_redundant_comparison): Use | |
6894 | maybe_fold_and_comparisons or maybe_fold_or_comparisons instead | |
6895 | of combine_comparisons. | |
6896 | * tree-ssa-ifcombine.c (ifcombine_ifandif, ifcombine_iforif): Likewise. | |
6897 | ||
c547eb0d AS |
6898 | 2010-06-08 Anatoly Sokolov <aesok@post.ru> |
6899 | ||
6900 | * config/pdp11/pdp11.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, | |
6901 | LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
55f9fe15 AS |
6902 | * config/pdp11/pdp11.c (pdp11_function_value, pdp11_libcall_value, |
6903 | pdp11_function_value_regno_p): New functions. | |
c547eb0d AS |
6904 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, |
6905 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
6906 | ||
29a551b3 KH |
6907 | 2010-06-08 Kazu Hirata <kazu@codesourcery.com> |
6908 | ||
6909 | * config/arm/arm.c (arm_rtx_costs_1): Don't special case for | |
6910 | Thumb-2 in the MINUS case. | |
6911 | ||
a9429e29 LB |
6912 | 2010-06-08 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
6913 | ||
6914 | * doc/tm.texi (Per-Function Data): Do not reference ggc_alloc. | |
6915 | ||
6916 | * doc/gty.texi (GTY Options): Document typed GC allocation and | |
6917 | variable_size GTY option. | |
6918 | ||
6919 | * ggc-internal.h: New. | |
6920 | ||
6921 | * ggc.h: Update copyright year. | |
6922 | (digit_string): Move to stringpool.c. | |
6923 | (ggc_mark_stringpool, ggc_purge_stringpool, ggc_mark_roots) | |
6924 | (gt_pch_save_stringpool, gt_pch_fixup_stringpool) | |
6925 | (gt_pach_restore_stringpool, gt_pch_p_S, gt_pch_note_object) | |
6926 | (init_ggc_pch, ggc_pch_count_object, ggc_pch_total_size) | |
6927 | (ggc_pch_this_base, ggc_pch_alloc_object, ggc_pch_prepare_write) | |
6928 | (ggc_pch_write_object, ggc_pch_finish, ggc_pch_read) | |
6929 | (ggc_force_collect, ggc_get_size, ggc_statistics) | |
6930 | (ggc_print_common_statistics): Move to ggc-internal.h. | |
6931 | (digit_vector, new_ggc_zone, destroy_ggc_zone, ggc_alloc_stat) | |
6932 | (ggc_alloc, ggc_alloc_cleared, ggc_realloc, ggc_calloc, GGC_NEW) | |
6933 | (GGC_CNEW, GGC_NEWVEC, GGC_CNEWVEC, GGC_NEWVAR, ggc_alloc_rtvec) | |
6934 | (ggc_alloc_tree, gt_pch_save, ggc_min_expand_heuristic) | |
6935 | (ggc_min_heapsize_heuristic, ggc_alloc_zone) | |
6936 | (ggc_alloc_zone_pass_stat): Remove. | |
6937 | (ggc_internal_alloc_stat, ggc_internal_alloc) | |
6938 | (ggc_internal_cleared_alloc_stat): New. | |
6939 | (GGC_RESIZEVEC, GGC_RESIZEVAR): Redefine. | |
6940 | (ggc_internal_vec_alloc_stat) | |
6941 | (ggc_internal_cleared_vec_alloc_stat) | |
6942 | (ggc_internal_vec_alloc_stat, ggc_internal_cleared_vec_alloc) | |
6943 | (ggc_alloc_atomic_stat, ggc_alloc_atomic) | |
6944 | (ggc_alloc_cleared_atomic, ggc_cleared_alloc_htab_ignore_args) | |
6945 | (ggc_cleared_alloc_ptr_array_two_args): New. | |
6946 | (htab_create_ggc, splay_tree_new_ggc): Redefine. | |
6947 | (ggc_splay_alloc): Change the type of the first argument to | |
6948 | enum gt_types_enum. | |
6949 | (ggc_alloc_string): Make macro. | |
6950 | (ggc_alloc_string_stat): New. | |
6951 | (ggc_strdup): Redefine. | |
6952 | (rtl_zone, tree_zone, tree_id_zone): Declare unconditionally. | |
6953 | (ggc_alloc_rtvec_sized): New. | |
6954 | (ggc_alloc_zone_stat): Rename to ggc_internal_alloc_zone_stat. | |
6955 | (ggc_internal_alloc_zone_pass_stat, ggc_internal_alloc_zone_stat) | |
6956 | (ggc_internal_cleared_alloc_zone_stat) | |
6957 | (ggc_internal_zone_alloc_stat) | |
6958 | (ggc_internal_zone_cleared_alloc_stat) | |
6959 | (ggc_internal_zone_vec_alloc_stat) | |
6960 | (ggc_alloc_zone_rtx_def_stat) | |
6961 | (ggc_alloc_zone_tree_node_stat) | |
6962 | (ggc_alloc_zone_cleared_tree_node_stat) | |
6963 | (ggc_alloc_cleared_gimple_statement_d_stat): New. | |
6964 | ||
6965 | * ggc-common.c: Include ggc-internal.h. | |
6966 | (ggc_internal_cleared_alloc_stat): Rename from | |
6967 | ggc_alloc_cleared_stat. | |
6968 | (ggc_realloc_stat): Use ggc_internal_alloc_stat. | |
6969 | (ggc_calloc): Remove. | |
6970 | (ggc_cleared_alloc_htab_ignore_args): New. | |
6971 | (ggc_cleared_alloc_ptr_array_two_args): New. | |
6972 | (ggc_splay_alloc): Add obj_type parameter. | |
6973 | (init_ggc_heuristics): Formatting fixes. | |
6974 | ||
6975 | * ggc-none.c: Update copyright year. | |
6976 | (ggc_alloc_stat): Rename to ggc_alloc_stat. | |
6977 | (ggc_alloc_cleared_stat): Rename to | |
6978 | ggc_internal_cleared_alloc_stat. | |
6979 | (struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New. | |
6980 | ||
6981 | * ggc-page.c: Update copyright year. Include ggc-internal.h. | |
6982 | Remove references to ggc_alloc in comments. | |
6983 | (ggc_alloc_typed_stat): Call ggc_internal_alloc_stat. | |
6984 | (ggc_alloc_stat): Rename to ggc_internal_alloc_stat. | |
6985 | (new_ggc_zone, destroy_ggc_zone): Remove. | |
6986 | (struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New. | |
6987 | ||
6988 | * ggc-zone.c: Include ggc-internal.h. Remove references to | |
6989 | ggc_alloc in comments. | |
6990 | (ggc_alloc_zone_stat): ggc_internal_alloc_zone_stat. | |
6991 | (ggc_internal_alloc_zone_pass_stat): New. | |
6992 | (ggc_internal_cleared_alloc_zone_stat): New. | |
6993 | (ggc_alloc_typed_stat): Use ggc_internal_alloc_zone_pass_stat. | |
6994 | (ggc_alloc_stat): Rename ggc_internal_alloc_stat. | |
6995 | (new_ggc_zone, destroy_ggc_zone): Remove. | |
6996 | ||
6997 | * stringpool.c: Update copyright year. Include ggc-internal.h | |
6998 | (digit_vector): Make static. | |
6999 | (digit_string): Moved from ggc.h. | |
7000 | (stringpool_ggc_alloc): Use ggc_alloc_atomic. | |
7001 | (ggc_alloc_string): Rename to ggc_alloc_string_stat. | |
7002 | ||
7003 | * Makefile.in (GGC_INTERNAL_H): New. | |
7004 | (ggc_common.o, ggc-page.o, ggc-zone.o, stringpool.o): Add | |
7005 | $(GGC_INTERNAL_H) to dependencies. | |
7006 | ||
7007 | * gentype.c: Update copyright year. | |
7008 | (walk_type): Accept variable_size GTY option. | |
7009 | (USED_BY_TYPED_GC_P): New macro. | |
7010 | (write_enum_defn): Use USED_BY_TYPED_GC_P. Do not output | |
7011 | whitespace at the end of strings. | |
7012 | (get_type_specifier, variable_size_p): New functions. | |
7013 | (alloc_quantity, alloc_zone): New enums. | |
7014 | (write_typed_alloc_def): New function. | |
7015 | (write_typed_struct_alloc_def): Likewise. | |
7016 | (write_typed_typed_typedef_alloc_def): Likewise. | |
7017 | (write_typed_alloc_defns): Likewise. | |
7018 | (output_typename, write_splay_tree_allocator_def): Likewise. | |
7019 | (write_splay_tree_allocators): Likewise. | |
7020 | (main): Call write_typed_alloc_defns and | |
7021 | write_splay_tree_allocators. | |
7022 | ||
7023 | * lto-streamer.h (lto_file_decl_data_ptr): New. | |
7024 | ||
7025 | * passes.c (order): Define using cgraph_node_ptr. | |
7026 | ||
7027 | * strinpool.c (struct string_pool_data): Declare nested_ptr using | |
7028 | ht_identifier_ptr. | |
7029 | ||
7030 | * gimple.h (union gimple_statement_d): Likewise. | |
7031 | ||
7032 | * rtl.h (struct rtx_def): Likewise. | |
7033 | (struct rtvec_def): Likewise. | |
7034 | ||
7035 | * tree.h (union tree_node): Likewise. | |
7036 | ||
7037 | * tree-ssa-operands.h (struct ssa_operand_memory_d): Likewise. | |
7038 | ||
7039 | * cfgloop.c (record_loop_exits): Use htab_create_ggc. | |
7040 | ||
7041 | * tree-scalar-evolution.c (scev_initialize): Likewise. | |
7042 | ||
7043 | * alias.c (record_alias_subset): Update splay_tree_new_ggc call. | |
7044 | ||
7045 | * dwarf2asm.c (dw2_force_const_mem): Likewise. | |
7046 | ||
7047 | * omp-low.c (lower_omp_critical): Likewise. | |
7048 | ||
7049 | * bitmap.h (struct bitmap_head_def): Update comment to not | |
7050 | reference ggc_alloc. | |
7051 | ||
7052 | * config/pa/pa.c (get_deferred_label): Use GGC_RESIZEVEC. | |
7053 | ||
7054 | * ira.c (fix_reg_equiv_init): Use GGC_RESIZEVEC. | |
7055 | ||
7056 | * ipa-prop.c (duplicate_ggc_array): Rename to | |
7057 | duplicate_ipa_jump_func_array. Use typed GC allocation. | |
7058 | (ipa_edge_duplication_hook): Call duplicate_ipa_jump_func_array. | |
7059 | ||
7060 | * gimple.c (gimple_alloc_stat): Use | |
7061 | ggc_alloc_cleared_gimple_statement_d_stat. | |
7062 | ||
7063 | * varasm.c (create_block_symbol): Use ggc_alloc_zone_rtx_def. | |
7064 | ||
7065 | * tree.c (make_node_stat): Use | |
7066 | ggc_alloc_zone_cleared_tree_node_stat. | |
7067 | (make_tree_vec_stat): Likewise. | |
7068 | (build_vl_exp_stat): Likewise. | |
7069 | (copy_node_stat): Use ggc_alloc_zone_tree_node_stat. | |
7070 | (make_tree_binfo_stat): Likewise. | |
7071 | (tree_cons_stat): Likewise. | |
7072 | ||
7073 | * rtl.c (rtx_alloc_stat): Use ggc_alloc_zone_rtx_def_stat. | |
7074 | (shallow_copy_rtx_stat): Likewise. | |
7075 | (make_node_stat): Likewise. | |
7076 | ||
7077 | * lto-symtab.c: Fix comment. | |
7078 | ||
7079 | * tree-cfg.c (create_bb): Update comment to not reference | |
7080 | ggc_alloc_cleared. | |
3d25c396 | 7081 | * tree-ssa-structalias.c (struct heapvar_for_stmt): Fix param_is value. |
a9429e29 LB |
7082 | |
7083 | * varpool.c (varpool_node): Use typed GC allocation. | |
7084 | (varpool_extra_name_alias): Likewise. | |
7085 | ||
7086 | * varasm.c (emutls_decl): Likewise. | |
7087 | (get_unnamed_section): Likewise. | |
7088 | (get_noswitch_section): Likewise. | |
7089 | (get_section): Likewise. | |
7090 | (get_block_for_section): Likewise. | |
7091 | (build_constant_desc): Likewise. | |
7092 | (create_constant_pool): Likewise. | |
7093 | (force_const_mem): Likewise. | |
7094 | ||
7095 | * tree.c (build_vl_exp_stat): Likewise. | |
7096 | (build_real): Likewise. | |
7097 | (build_string): Likewise. | |
7098 | (decl_debug_expr_insert): Likewise. | |
7099 | (decl_value_expr_insert): Likewise. | |
7100 | (type_hash_add): Likewise. | |
7101 | (build_omp_clause): Likewise. | |
7102 | ||
7103 | * tree-ssanames.c (duplicate_ssa_name_ptr_info): Likewise. | |
7104 | ||
7105 | * tree-ssa.c (init_tree_ssa): Likewise. | |
7106 | ||
7107 | * tree-ssa-structalias.c (heapvar_insert): Likewise. | |
7108 | ||
7109 | * tree-ssa-operands.c (ssa_operand_alloc): Likewise. | |
7110 | ||
7111 | * tree-ssa-loop-niter.c (record_estimate): Likewise. | |
7112 | ||
7113 | * tree-ssa-alias.c (get_ptr_info): Likewise. | |
7114 | ||
7115 | * tree-scalar-evolution.c (new_scev_info_str): Likewise. | |
7116 | ||
7117 | * tree-phinodes.c (allocate_phi_node): Likewise. | |
7118 | ||
7119 | * tree-iterator.c (tsi_link_before): Likewise. | |
7120 | (tsi_link_after): Likewise. | |
7121 | ||
7122 | * tree-eh.c (add_stmt_to_eh_lp_fn): Likewise. | |
7123 | ||
7124 | * tree-dfa.c (create_var_ann): Likewise. | |
7125 | ||
7126 | * tree-cfg.c (create_bb): Likewise. | |
7127 | ||
7128 | * toplev.c (alloc_for_identifier_to_locale): Likewise. | |
7129 | (general_init): Likewise. | |
7130 | ||
7131 | * stringpool.c (stringpool_ggc_alloc): Likewise. | |
7132 | (gt_pch_save_stringpool): Likewise. | |
7133 | ||
7134 | * sese.c (if_region_set_false_region): Likewise. | |
7135 | ||
7136 | * passes.c (do_per_function_toporder): Likewise. | |
7137 | ||
7138 | * optabs.c (set_optab_libfunc): Likewise. | |
7139 | (set_conv_libfunc): Likewise. | |
7140 | ||
7141 | * lto-symtab.c (lto_symtab_register_decl): Likewise. | |
7142 | ||
7143 | * lto-streamer-in.c (lto_input_eh_catch_list): Likewise. | |
7144 | (input_eh_region): Likewise. | |
7145 | (input_eh_lp): Likewise. | |
7146 | (make_new_block): Likewise. | |
7147 | (unpack_ts_real_cst_value_fields): Likewise. | |
7148 | ||
7149 | * lto-section-in.c (lto_new_in_decl_state): Likewise. | |
7150 | ||
7151 | * lto-cgraph.c (input_node_opt_summary): Likewise. | |
7152 | ||
7153 | * loop-init.c (loop_optimizer_init): Likewise. | |
7154 | ||
7155 | * lambda.h (lambda_vector_new): Likewise. | |
7156 | ||
7157 | * lambda-code.c (replace_uses_equiv_to_x_with_y): Likewise. | |
7158 | ||
7159 | * ira.c (update_equiv_regs): Likewise. | |
7160 | ||
7161 | * ipa.c (cgraph_node_set_new): Likewise. | |
7162 | (cgraph_node_set_add): Likewise. | |
7163 | (varpool_node_set_new): Likewise. | |
7164 | (varpool_node_set_add): Likewise. | |
7165 | ||
7166 | * ipa-prop.c (ipa_compute_jump_functions_for_edge): Likewise. | |
7167 | (duplicate_ipa_jump_func_array): Likewise. | |
7168 | (ipa_read_node_info): Likewise. | |
7169 | ||
7170 | * ipa-cp.c (ipcp_create_replace_map): Likewise. | |
7171 | ||
7172 | * integrate.c (get_hard_reg_initial_val): Likewise. | |
7173 | ||
7174 | * gimple.c (gimple_alloc_stat): Likewise. | |
7175 | (gimple_build_omp_for): Likewise. | |
7176 | (gimple_seq_alloc): Likewise. | |
7177 | (gimple_copy): Likewise. | |
7178 | ||
7179 | * gimple-iterator.c (gsi_insert_before_without_update): Likewise. | |
7180 | (gsi_insert_after_without_update): Likewise. | |
7181 | ||
7182 | * function.c (add_frame_space): Likewise. | |
7183 | (insert_temp_slot_address): Likewise. | |
7184 | (assign_stack_temp_for_type): Likewise. | |
7185 | (allocate_struct_function): Likewise. | |
7186 | (types_used_by_var_decl_insert): Likewise. | |
7187 | ||
7188 | * except.c (init_eh_for_function): Likewise. | |
7189 | (gen_eh_region): Likewise. | |
7190 | (gen_eh_region_catch): Likewise. | |
7191 | (gen_eh_landing_pad): Likewise. | |
7192 | (add_call_site): Likewise. | |
7193 | ||
7194 | * emit-rtl.c (get_mem_attrs): Likewise. | |
7195 | (get_reg_attrs): Likewise. | |
7196 | (start_sequence): Likewise. | |
7197 | (init_emit): Likewise. | |
7198 | ||
7199 | * dwarf2out.c (new_cfi): Likewise. | |
7200 | (queue_reg_save): Likewise. | |
7201 | (dwarf2out_frame_init): Likewise. | |
7202 | (new_loc_descr): Likewise. | |
7203 | (find_AT_string): Likewise. | |
7204 | (new_die): Likewise. | |
7205 | (add_var_loc_to_decl): Likewise. | |
7206 | (clone_die): Likewise. | |
7207 | (clone_as_declaration): Likewise. | |
7208 | (break_out_comdat_types): Likewise. | |
7209 | (new_loc_list): Likewise. | |
7210 | (loc_descriptor): Likewise. | |
7211 | (add_loc_descr_to_each): Likewise. | |
7212 | (add_const_value_attribute): Likewise. | |
7213 | (tree_add_const_value_attribute): Likewise. | |
7214 | (add_comp_dir_attribute): Likewise. | |
7215 | (add_name_and_src_coords_attributes): Likewise. | |
7216 | (lookup_filename): Likewise. | |
7217 | (store_vcall_insn): Likewise. | |
7218 | (dwarf2out_init): Likewise. | |
7219 | ||
7220 | * dbxout.c (dbxout_init): Likewise. | |
7221 | ||
7222 | * config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise. | |
7223 | ||
7224 | * config/sparc/sparc.c (sparc_init_machine_status): Likewise. | |
7225 | ||
7226 | * config/score/score7.c (score7_output_external): Likewise. | |
7227 | ||
7228 | * config/score/score3.c (score3_output_external): Likewise. | |
7229 | ||
7230 | * config/s390/s390.c (s390_init_machine_status): Likewise. | |
7231 | ||
7232 | * config/rs6000/rs6000.c (builtin_function_type): Likewise. | |
7233 | (rs6000_init_machine_status): Likewise. | |
7234 | (output_toc): Likewise. | |
7235 | ||
7236 | * config/pa/pa.c (pa_init_machine_status): Likewise. | |
7237 | (get_deferred_plabel): Likewise. | |
7238 | ||
7239 | * config/moxie/moxie.c (moxie_init_machine_status): Likewise. | |
7240 | ||
7241 | * config/mmix/mmix.c (mmix_init_machine_status): Likewise. | |
7242 | ||
7243 | * config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise. | |
7244 | ||
7245 | * config/mep/mep.c (mep_init_machine_status): Likewise. | |
7246 | (mep_note_pragma_flag): Likewise. | |
7247 | ||
7248 | * config/m32c/m32c.c (m32c_init_machine_status): Likewise. | |
7249 | ||
7250 | * config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise. | |
7251 | ||
7252 | * config/ia64/ia64.c (ia64_init_machine_status): Likewise. | |
7253 | ||
7254 | * config/i386/winnt.c (i386_pe_record_external_function): Likewise. | |
7255 | (i386_pe_maybe_record_exported_symbol): Likewise. | |
7256 | ||
7257 | * config/i386/i386.c (get_dllimport_decl): Likewise. | |
7258 | (ix86_init_machine_status): Likewise. | |
7259 | (assign_386_stack_local): Likewise. | |
7260 | ||
7261 | * config/frv/frv.c (frv_init_machine_status): Likewise. | |
7262 | ||
7263 | * config/darwin.c (machopic_indirection_name): Likewise. | |
7264 | ||
7265 | * config/cris/cris.c (cris_init_machine_status): Likewise. | |
7266 | ||
7267 | * config/bfin/bfin.c (bfin_init_machine_status): Likewise. | |
7268 | ||
7269 | * config/avr/avr.c (avr_init_machine_status): Likewise. | |
7270 | ||
7271 | * config/arm/arm.c (arm_init_machine_status): Likewise. | |
7272 | ||
7273 | * config/alpha/alpha.c (alpha_init_machine_status): Likewise. | |
7274 | (alpha_need_linkage): Likewise. | |
7275 | (alpha_use_linkage): Likewise. | |
7276 | ||
7277 | * cgraph.c (cgraph_allocate_node): Likewise. | |
7278 | (cgraph_create_edge_1): Likewise. | |
7279 | (cgraph_create_indirect_edge): Likewise. | |
7280 | (cgraph_add_asm_node): Likewise. | |
7281 | ||
7282 | * cfgrtl.c (init_rtl_bb_info): Likewise. | |
7283 | ||
7284 | * cfgloop.c (alloc_loop): Likewise. | |
7285 | (rescan_loop_exit): Likewise. | |
7286 | ||
7287 | * cfg.c (init_flow): Likewise. | |
7288 | (alloc_block): Likewise. | |
7289 | (unchecked_make_edge): Likewise. | |
7290 | ||
7291 | * c-parser.c (c_parse_init): Likewise. | |
7292 | (c_parse_file): Likewise. | |
7293 | ||
7294 | * c-decl.c (bind): Likewise. | |
7295 | (record_inline_static): Likewise. | |
7296 | (push_scope): Likewise. | |
7297 | (make_label): Likewise. | |
7298 | (lookup_label_for_goto): Likewise. | |
7299 | (finish_struct): Likewise. | |
7300 | (finish_enum): Likewise. | |
7301 | (c_push_function_context): Likewise. | |
7302 | ||
7303 | * bitmap.c (bitmap_element_allocate): Likewise. | |
7304 | (bitmap_gc_alloc_stat): Likewise. | |
7305 | ||
7306 | * alias.c (record_alias_subset): Likewise. | |
7307 | (init_alias_analysis): Likewise. | |
7308 | ||
49c8958b | 7309 | 2010-06-08 Shujing Zhao <pearly.zhao@oracle.com> |
3d25c396 | 7310 | |
49c8958b SZ |
7311 | * fold-const.c (fold_comparison): Remove redundant parenthesis. |
7312 | * tree-inline.c (expand_call_inline): Pass translated return value of | |
7313 | cgraph_inline_failed_string to diagnostic function. | |
7314 | ||
5dfebe0a | 7315 | 2010-06-08 Andrew Pinski <pinskia@gmail.com> |
6a8f4e12 AP |
7316 | Shujing Zhao <pearly.zhao@oracle.com> |
7317 | ||
7318 | PR c/37724 | |
7319 | * c-typeck.c (convert_for_assignment): Call pedwarn_init if the | |
7320 | implicit bad conversions is initialization. | |
7321 | (error_init): Use gmsgid instead of msgid for argument name and change | |
7322 | the call for error. | |
7323 | (pedwarn_init): Use gmsgid instead of msgid for argument name and | |
7324 | change the call for pedwarn. | |
7325 | (warning_init): Use gmsgid instead of msgid for argument name and | |
7326 | change the call for warning. | |
7327 | ||
6e9e0126 NF |
7328 | 2010-06-07 Nathan Froyd <froydnj@codesourcery.com> |
7329 | ||
6a8f4e12 | 7330 | * config/mips/mips-protos.h (mips_print_operand): Delete. |
6e9e0126 NF |
7331 | (mips_print_operand_address): Delete. |
7332 | * config/mips/mips.h (mips_print_operand_punct): Delete. | |
7333 | (PRINT_OPERAND): Delete. | |
7334 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
7335 | (PRINT_OPERAND_ADDRESS): Delete. | |
7336 | * config/mips/mips.c (mips_print_operand_punct): Make static. | |
7337 | (mips_print_operand_address): Make static. | |
7338 | (mips_print_operand): Make static. Call | |
7339 | mips_print_operand_punct_valid_p. | |
7340 | (mips_print_operand_punct_valid_p): New function. | |
7341 | (TARGET_PRINT_OPERAND, TARGET_PRINT_OPERAND_ADDRESS): Define. | |
7342 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
7343 | ||
f2eff9f8 JH |
7344 | 2010-06-07 Jan Hubicka <jh@suse.cz> |
7345 | ||
7346 | PR middle-end/44454 | |
7347 | (df_lr_top_dump, df_lr_bottom_dump): Check that in/out bitmaps | |
7348 | are allocated. | |
7349 | ||
10575b5d KK |
7350 | 2010-06-07 Kaz Kojima <kkojima@gcc.gnu.org> |
7351 | ||
7352 | * config/sh/sh.c (sh_build_builtin_va_list): Set tree type | |
7353 | name of RECORD. | |
7354 | ||
659b24d6 RO |
7355 | 2010-06-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
7356 | ||
7357 | * doc/sourcebuild.texi (Effective-Target Keywords, Other | |
7358 | attributes): Document gas. | |
7359 | ||
390b2b32 UB |
7360 | 2010-06-07 Uros Bizjak <ubizjak@gmail.com> |
7361 | ||
7362 | * config/i386/i386.md (*add<mode>_1): Remove alternative 2. | |
7363 | <TYPE_LEA>: Split instruction. | |
7364 | <default>: Remove alternative 2 handling. | |
7365 | (*addsi_1_zext) <TYPE_LEA>: Split instruction. | |
7366 | (add lea splitter): Generate SImode lea for mode sizes <= SImode. | |
7367 | (add_zext lea splitter): Use ix86_lea_for_add_ok in insn predicate. | |
7368 | ||
7369 | (*movsi_1) <TYPE_LEA>: Use %a modifier to output operand 1. | |
7370 | (ashift_zext lea splitter): Use DImode for multiplication. | |
7371 | ||
7372 | * config/i386/i386.c (ix86_expand_epilogue): Do not use ix86_gen_add | |
7373 | to generate addition. | |
7374 | ||
5498f011 JM |
7375 | 2010-06-07 Joseph Myers <joseph@codesourcery.com> |
7376 | ||
7377 | * common.opt (fira-verbose): Use Var. | |
7378 | (fpcc-struct-return): Use Init instead of VarExists. | |
7379 | * defaults.h (DEFAULT_PCC_STRUCT_RETURN): Move definition from | |
7380 | toplev.c. | |
7381 | * flags.h (flag_signed_char, flag_short_enums, | |
7382 | flag_pcc_struct_return, flag_ira_verbose, | |
3d25c396 | 7383 | flag_detailed_statistics, flag_remove_unreachable_functions): Remove. |
5498f011 | 7384 | * toplev.c (flag_detailed_statistics, flag_signed_char, |
390b2b32 | 7385 | flag_short_enums, flag_pcc_struct_return, flag_ira_verbose): Remove. |
5498f011 JM |
7386 | (DEFAULT_PCC_STRUCT_RETURN): Move definition to defaults.h. |
7387 | * toplev.h (flag_crossjumping, flag_if_conversion, | |
7388 | flag_if_conversion2, flag_keep_static_consts, flag_peel_loops, | |
7389 | flag_rerun_cse_after_loop, flag_thread_jumps, flag_tracer, | |
7390 | flag_unroll_loops, flag_unroll_all_loops, flag_unswitch_loops, | |
7391 | flag_cprop_registers, time_report, flag_ira_loop_pressure, | |
7392 | flag_ira_coalesce, flag_ira_move_spills, | |
7393 | flag_ira_share_save_slots, flag_ira_share_spill_slots): Remove. | |
7394 | ||
e7f96023 JH |
7395 | 2010-06-07 Jan Hubicka <jh@suse.cz> |
7396 | ||
f2580bd8 L |
7397 | * df-core.c (df_analyze_problem): Do verification after allocation. |
7398 | ||
e7f96023 JH |
7399 | * df-problems.c (df_lr_problem_data): Add lr_bitmaps. |
7400 | (df_lr_alloc): Initialize problem data; move bitmaps to | |
7401 | lr_bitmaps obstack. | |
7402 | (df_lr_finalize): Free problem data; do not bother to free bitmaps. | |
7403 | (df_lr_verify_solution_start): Do not initialize problem data; | |
7404 | allocate bitmaps in lr_bitmaps. | |
7405 | (df_lr_verify_solution_end): Do not free problem data. | |
7406 | ||
f10ea640 JH |
7407 | 2010-06-07 Jan Hubicka <jh@suse.cz> |
7408 | ||
7409 | * cgraph.c (cgraph_edge_cannot_lead_to_return): Also check | |
7410 | if caller is noreturn. | |
7411 | * ipa-reference.c (analyze_function): Use ipa_ref_cannot_lead_to_return | |
7412 | * ipa-ref.h (ipa_ref_cannot_lead_to_return): New function. | |
7413 | * ipa-ref.c (ipa_ref_cannot_lead_to_return): New function. | |
7414 | * ipa-pure-const.c (check_decl): Add IPA parameter. | |
7415 | (state_from_flags): New function. | |
7416 | (better_state, worse_state): New functions. | |
7417 | (check_call): When in IPA mode, do not care about callees. | |
7418 | (check_load, check_store): Update. | |
7419 | (check_ipa_load, check_ipa_store): New. | |
7420 | (check_stmt): When in IPA mode, use IPA checkers. | |
7421 | (analyze_function): Use state_from_flags. | |
7422 | (propagate): Check indirect edges and references. | |
7423 | ||
5e52ffc4 KH |
7424 | 2010-06-07 Kazu Hirata <kazu@codesourcery.com> |
7425 | ||
7426 | PR rtl-optimization/44404 | |
7427 | * auto-inc-dec.c (find_inc): Use reg_overlap_mentioned_p instead | |
3d25c396 | 7428 | of count_occurrences to see if it's safe to modify mem_insn. |
5e52ffc4 | 7429 | |
ae0595b0 RG |
7430 | 2010-06-07 Richard Guenther <rguenther@suse.de> |
7431 | ||
7432 | * gimplify.c (gimplify_cleanup_point_expr): For empty body | |
7433 | and EH-only cleanup drop the cleanup instead of inserting it | |
7434 | unconditionally. | |
7435 | ||
35e1a5e7 IR |
7436 | 2010-06-07 Ira Rosen <irar@il.ibm.com> |
7437 | ||
7438 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Update | |
7439 | documentation. | |
7440 | * targhooks.c (default_builtin_vectorization_cost): New function. | |
7441 | * targhooks.h (default_builtin_vectorization_cost): Declare. | |
7442 | * target.h (enum vect_cost_for_stmt): Define. | |
7443 | (builtin_vectorization_cost): Change argument and comment. | |
7444 | * tree-vectorizer.h: Remove cost model macros. | |
7445 | * tree-vect-loop.c: Include target.h. | |
7446 | (vect_get_cost): New function. | |
7447 | (vect_estimate_min_profitable_iters): Replace cost model macros with | |
7448 | calls to vect_get_cost. | |
7449 | (vect_model_reduction_cost, vect_model_induction_cost): Likewise. | |
7450 | * target-def.h (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Add | |
7451 | default implementation. | |
7452 | * tree-vect-stmts.c (cost_for_stmt): Replace cost model macros with | |
7453 | calls to target hook builtin_vectorization_cost. | |
7454 | (vect_model_simple_cost, vect_model_store_cost, vect_model_load_cost): | |
7455 | Likewise. | |
7456 | * Makefile.in (tree-vect-loop.o): Add dependency on TARGET_H. | |
7457 | * config/spu/spu.c (spu_builtin_vectorization_cost): Replace with new | |
7458 | implementation to return costs. | |
7459 | * config/i386/i386.c (ix86_builtin_vectorization_cost): Likewise. | |
7460 | * config/spu/spu.h: Remove vectorizer cost model macros. | |
7461 | * config/i386/i386.h: Likewise. | |
7462 | * tree-vect-slp.c (vect_build_slp_tree): Replace cost model macro with | |
7463 | a call to target hook builtin_vectorization_cost. | |
7464 | ||
81c566c2 ST |
7465 | 2010-06-06 Sriraman Tallam <tmsriram@google.com> |
7466 | ||
7467 | PR target/44319 | |
7468 | * config/i386/i386.c (override_options): Turn zee pass on for level 2 | |
7469 | and above and defer till target is known. | |
7470 | (optimization_options): Turn on zee pass if TARGET_64BIT is set and | |
7471 | turn off otherwise. | |
390b2b32 | 7472 | |
a7e3698d JH |
7473 | 2010-05-25 Jan Hubicka <jh@suse.cz> |
7474 | ||
7475 | * df-core.c (df_set_blocks): Use bitmap_head instead of bitmap. | |
7476 | (df_compact_blocks): Likewise. | |
7477 | * df.h (struct df): Turn hardware_regs_used, | |
7478 | regular_block_artificial_uses, eh_block_artificial_uses, | |
7479 | insns_to_delete, insns_to_rescan, insns_to_notes_rescan into | |
7480 | bitmap_head. | |
7481 | * df-problems.c (df_lr_local_compute, df_lr_confluence_0, | |
7482 | df_byte_lr_alloc, df_simulate_fixup_sets): Update. | |
7483 | * df-scan.c (df_scan_free_internal, df_scan_alloc, df_scan_start_dump, | |
7484 | df_scan_blocks, df_insn_delete, df_insn_rescan, | |
7485 | df_insn_rescan_debug_internal, df_insn_rescan_all, | |
7486 | df_process_deferred_rescans, df_process_deferred_rescans, | |
7487 | df_notes_rescan, df_get_call_refs, df_get_call_refs, | |
7488 | regs_invalidated_by_call_regset, df_get_call_refs, df_bb_refs_collect, | |
7489 | df_record_entry_block_defs, df_record_exit_block_uses, | |
7490 | df_update_exit_block_uses, df_bb_verify, df_entry_block_bitmap_verify, | |
7491 | df_scan_verify): Update. | |
7492 | ||
e62b90b4 DS |
7493 | 2010-05-25 Dodji Seketeli <dodji@redhat.com> |
7494 | ||
7495 | PR c++/44188 | |
7496 | * c-common.c (is_typedef_decl): Move this definition ... | |
7497 | * tree.c (is_typedef_decl): ... here. | |
7498 | (typdef_variant_p): Move definition here from gcc/cp/tree.c. | |
7499 | * c-common.h (is_typedef_decl): Move this declaration ... | |
7500 | * tree.h (is_typedef_decl): ... here. | |
7501 | (typedef_variant_p): Move declaration here from gcc/cp/cp-tree.h | |
7502 | * dwarf2out.c (is_naming_typedef_decl): New function. | |
7503 | (gen_tagged_type_die): Split out of ... | |
7504 | (gen_type_die_with_usage): ... this function. When an anonymous | |
7505 | tagged type is named by a typedef, make sure a DW_TAG_typedef DIE | |
7506 | is emitted for the typedef. | |
7507 | (gen_typedef_die): Emit DW_TAG_typedef also for typedefs naming | |
7508 | anonymous tagged types. | |
7509 | ||
04087cd0 MLI |
7510 | 2010-06-06 Manuel López-Ibáñez <manu@gcc.gnu.org> |
7511 | ||
7512 | PR c/20000 | |
390b2b32 | 7513 | * c-decl.c (grokdeclarator): Delete warning. |
04087cd0 | 7514 | |
f7b4a383 EB |
7515 | 2010-06-06 Eric Botcazou <ebotcazou@adacore.com> |
7516 | ||
7517 | * stor-layout.c (self_referential_size): Set UNKNOWN_LOCATION on the | |
7518 | newly built CALL_EXPR. | |
df2a52a6 EB |
7519 | * tree-profile.c (tree_profiling): Don't profile functions produced |
7520 | for built-in stuff. | |
f7b4a383 | 7521 | |
346967d1 SB |
7522 | 2010-06-06 Segher Boessenkool <segher@kernel.crashing.org> |
7523 | ||
7524 | PR bootstrap/44427 | |
7525 | PR bootstrap/44428 | |
3333e146 | 7526 | * genautomata.c (SET_BIT, CLEAR_BIT, TEST_BIT): Make these macros |
346967d1 SB |
7527 | endianness-independent. |
7528 | ||
39dabefd SB |
7529 | 2010-06-05 Steven Bosscher <steven@gcc.gnu.org> |
7530 | ||
7531 | * c-common.c: Move to c-family/. | |
7532 | * c-common.def: Likewise. | |
7533 | * c-common.h: Likewise. | |
7534 | * c-cppbuiltin.c: Likewise. | |
7535 | * c-dump.c: Likewise. | |
7536 | * c-format.c: Likewise. | |
7537 | * c-format.h : Likewise. | |
7538 | * c-gimplify.c: Likewise. | |
7539 | * c-lex.c: Likewise. | |
7540 | * c-omp.c: Likewise. | |
7541 | * c.opt: Likewise. | |
7542 | * c-opts.c: Likewise. | |
7543 | * c-pch.c: Likewise. | |
7544 | * c-ppoutput.c: Likewise. | |
7545 | * c-pragma.c: Likewise. | |
7546 | * c-pragma.h: Likewise. | |
7547 | * c-pretty-print.c: Likewise. | |
7548 | * c-pretty-print.h: Likewise. | |
7549 | * c-semantics.c: Likewise. | |
7550 | * stub-objc.c: Likewise. | |
7551 | ||
7552 | * gengtype.c (get_file_langdir): Special-case files in c-family/. | |
7553 | (get_output_file_with_visibility): Fix name for c-common.h. | |
7554 | * c-config-lang.in: Update paths in gtfiles for files in c-family/. | |
7555 | ||
7556 | * c-tree.h: Update include path for moved files. | |
7557 | * c-lang.c: Likewise. | |
7558 | * c-lang.h: Likewise. | |
7559 | * c-parser.c: Likewise. | |
7560 | * c-convert.c: Likewise. | |
7561 | * c-decl.c: Likewise. | |
7562 | * c-objc-common.c: Likewise. | |
7563 | * configure.ac: Make sure c-family/ exists in the build directory. | |
7564 | * configure: Regenerate. | |
7565 | * Makefile.in: Update paths for moved files. Regroup files per | |
7566 | location and update dependencies. Move generated_files down after | |
7567 | ALL_GTFILES_H. | |
7568 | ||
7569 | * config/spu/spu-c.c: Update paths for moved files. | |
7570 | * config/mep/mep-pragma.c: Likewise. | |
7571 | * config/darwin-c.c: Likewise. | |
7572 | * config/i386/msformat-c.c: Likewise. | |
7573 | * config/i386/i386-c.c: Likewise. | |
7574 | * config/avr/avr-c.c: Likewise. | |
7575 | * config/sol2-c.c: Likewise. | |
7576 | * config/ia64/ia64-c.c: Likewise. | |
7577 | * config/rs6000/rs6000-c.c: Likewise. | |
7578 | * config/arm/arm.c: Likewise. | |
7579 | * config/arm/arm-c.c: Likewise. | |
7580 | * config/h8300/h8300.c: Likewise. | |
7581 | * config/v850/v850-c.c: Likewise. | |
7582 | ||
7583 | * config/t-darwin: Fix dependencies for moved files. | |
7584 | * config/t-sol2: Fix dependencies for moved files. | |
7585 | * config/mep/t-mep: Fix dependencies for moved files. | |
7586 | * config/ia64/t-ia64: Fix dependencies for moved files. | |
7587 | * config/rs6000/t-rs6000: Fix dependencies for moved files. | |
7588 | * config/v850/t-v850: Fix dependencies for moved files. | |
7589 | * config/v850/t-v850e: Fix dependencies for moved files. | |
7590 | ||
7591 | * config/m32c/m32c-pragma.c | |
7592 | ||
7593 | * po/exgettext: Look in c-family/ also. | |
7594 | ||
ad06ee51 EB |
7595 | 2010-06-05 Eric Botcazou <ebotcazou@adacore.com> |
7596 | ||
7597 | * tree-ssa-dce.c (mark_last_stmt_necessary): New function. | |
7598 | (mark_control_dependent_edges_necessary): Call it instead of marking | |
7599 | the last statement manually. | |
7600 | (propagate_necessity): Likewise. | |
7601 | ||
0fc555fb JH |
7602 | 2010-06-05 Jan Hubicka <jh@suse.cz> |
7603 | ||
6903fcbd L |
7604 | * basic-block.h (compute_dominance_frontiers): Updated. |
7605 | (compute_idf): Likewise. | |
7606 | ||
0fc555fb JH |
7607 | * tree-into-ssa.c (insert_phi_nodes): Use bitmap heads |
7608 | for dominance frontiers. | |
3d25c396 | 7609 | (rewrite_into_ssa): Update for bitmap heads in dominance frontiers. |
0fc555fb JH |
7610 | (insert_updated_phi_nodes_for): Likewise. |
7611 | (update_ssa): Likewise. | |
7612 | * cfganal.c (compute_dominance_frontiers_1): Likewise. | |
7613 | (compute_dominance_frontiers): Likewise. | |
7614 | (compute_idf): Likewise. | |
7615 | * df-problems.c (df_md_local_compute): Likewise. | |
7616 | ||
f5c21ef3 AS |
7617 | 2010-06-05 Anatoly Sokolov <aesok@post.ru> |
7618 | ||
7619 | * target.h (struct gcc_target): Add memory_move_cost field. | |
7620 | * target-def.h (TARGET_MEMORY_MOVE_COST): New. | |
7621 | (TARGET_INITIALIZER): Use TARGET_MEMORY_MOVE_COST. | |
7622 | * targhooks.c (default_memory_move_cost): New function. | |
7623 | * targhooks.h (default_memory_move_cost): Declare function. | |
7624 | * reload.h (memory_move_cost): Declare. | |
7625 | (memory_move_secondary_cost): Change type of 'in' argument to bool. | |
7626 | * reginfo.c (memory_move_cost): New function. | |
7627 | (memory_move_secondary_cost): Change type of 'in' argument to bool. | |
7628 | * ira.h (ira_memory_move_cost): Update comment. | |
bd3a5d17 | 7629 | * ira.c (ira_memory_move_cost): Update comment. |
f5c21ef3 AS |
7630 | (setup_class_subset_and_memory_move_costs): Replace MEMORY_MOVE_COST |
7631 | with memory_move_cost. | |
7632 | * postreload.c (reload_cse_simplify_set): (Ditto.). | |
7633 | * reload1.c (choose_reload_regs): (Ditto.). | |
7634 | * doc/tm.texi (TARGET_MEMORY_MOVE_COST): New. | |
7635 | (MEMORY_MOVE_COST): Revise documentation. | |
7636 | ||
7637 | * config/i386/i386.h (MEMORY_MOVE_COST): Remove macro. | |
7638 | * config/i386/i386-protos.h (int ix86_memory_move_cost): Remove. | |
7639 | * config/i386/i386.h (ix86_memory_move_cost): Make static. Change | |
7640 | type of 'in' argument to bool. | |
7641 | (TARGET_MEMORY_MOVE_COST): Define. | |
7642 | ||
da8c7675 JH |
7643 | 2010-06-05 Jan Hubicka <jh@suse.cz> |
7644 | ||
ad06ee51 EB |
7645 | * ipa-pure-const.c (propagate): Fix typo in handling of functions |
7646 | that cannot return. Be more careful when merging the results with | |
7647 | previously known ones. | |
da8c7675 | 7648 | |
c1ce46a5 MK |
7649 | 2010-06-05 Matthias Klose <doko@ubuntu.com> |
7650 | ||
7651 | * gcc.c (cc1_options, cpp_unique_options): Use find-plugindir spec | |
7652 | function to add the -iplugindir option. | |
7653 | (find_plugindir_spec_function): Add new declaration and function. | |
7654 | (static_spec_func): Use it for "find-plugindir". | |
7655 | ||
82c3c067 JJ |
7656 | 2010-06-05 Jakub Jelinek <jakub@redhat.com> |
7657 | ||
7658 | PR c++/44361 | |
7659 | * c-typeck.c (mark_exp_read): Handle C_MAYBE_CONST_EXPR. | |
7660 | * c-parser.c (c_parser_postfix_expression): Call mark_exp_read on | |
7661 | statement expression. | |
7662 | ||
5c72d561 JH |
7663 | 2010-06-05 Jan Hubicka <jh@suse.cz> |
7664 | ||
7665 | * df-problems.c (seen_in_block, seen_in_insn): Convert to bitmap_head. | |
7666 | (df_rd_problem_data): Convert sparse_invalidated_by_call, | |
7667 | dense_invalidated_by_call to bitmap head. | |
7668 | (df_rd_alloc, df_rd_bb_local_compute_process_def, | |
7669 | df_rd_bb_local_compute, df_rd_confluence_n, df_rd_transfer_function, | |
7670 | df_rd_start_dump, df_lr_verify_transfer_functions, | |
7671 | df_live_verify_transfer_functions, df_chain_create_bb, | |
7672 | df_chain_add_problem, df_byte_lr_check_regs, df_byte_lr_alloc, | |
7673 | df_byte_lr_confluence_0, df_byte_lr_confluence_n, df_note_compute, | |
389caea8 EB |
7674 | df_simulate_one_insn_forwards, df_md_alloc, |
7675 | df_md_bb_local_compute_process_def, | |
7676 | df_md_bb_local_compute_process_def, df_md_local_compute, | |
7677 | df_md_transfer_function df_md_free): Update. | |
5c72d561 | 7678 | |
f2c1da78 JM |
7679 | 2010-06-05 Joseph Myers <joseph@codesourcery.com> |
7680 | ||
7681 | PR c/44322 | |
7682 | * c-typeck.c (build_unary_op): Merge qualifiers into pointer | |
7683 | target type for ADDR_EXPR; require no changes to qualifiers except | |
7684 | for function types. | |
7685 | * c-tree.h (c_build_type_variant): Remove. | |
7686 | ||
4af89b88 SB |
7687 | 2010-06-05 Segher Boessenkool <segher@kernel.crashing.org> |
7688 | ||
389caea8 | 7689 | * genautomata.c (get_excl_set): Do work per element, not per char. |
4af89b88 SB |
7690 | (check_presence_pattern_sets): Similar. |
7691 | (check_absence_pattern_sets): Similar. | |
7692 | ||
99d98200 SB |
7693 | 2010-06-05 Segher Boessenkool <segher@kernel.crashing.org> |
7694 | ||
7695 | * genautomata.c (curr_state_pass_num): Delete. | |
7696 | (min_issue_delay_pass_states): Delete. | |
7697 | (min_issue_delay): Delete. | |
7698 | (initiate_min_issue_delay_pass_states): Delete. | |
7699 | (output_min_issue_delay_table): Compute min_issue_delay_vect | |
7700 | using a breadth-first search variant. | |
7701 | (output_tables): Don't call initiate_min_issue_delay_pass_states. | |
7702 | ||
c69d3a0e L |
7703 | 2010-06-04 H.J. Lu <hongjiu.lu@intel.com> |
7704 | ||
7705 | PR boostrap/44421 | |
390b2b32 | 7706 | * df-problems.c (df_lr_bb_local_compute): Updated for embedded bitmaps. |
c69d3a0e L |
7707 | (df_byte_lr_bb_local_compute): Likewise. |
7708 | ||
0a766368 JM |
7709 | 2010-06-03 Jason Merrill <jason@redhat.com> |
7710 | ||
7711 | Implement noexcept operator (5.3.7) | |
7712 | * c-common.c (c_common_reswords): Add noexcept. | |
7713 | * c-common.h (enum rid): Add RID_NOEXCEPT. | |
7714 | ||
bdc6b402 JM |
7715 | 2010-06-04 Joseph Myers <joseph@codesourcery.com> |
7716 | ||
7717 | * config/darwin-driver.c (darwin_default_min_version): Use | |
9f7b464b | 7718 | GCC-specific formats in diagnostics. |
bdc6b402 JM |
7719 | * cppspec.c (lang_specific_driver): Use GCC-specific formats in |
7720 | diagnostics. | |
7721 | * gcc.c (translate_options, read_specs, add_sysrooted_prefix, | |
7722 | execute, process_command, end_going_arg, do_self_spec, do_spec_1, | |
7723 | eval_spec_function, handle_braces, process_brace_body, main, | |
7724 | perror_with_name, used_arg, set_multilib_dir, print_multilib_info, | |
7725 | getenv_spec_function, compare_version_strings, | |
7726 | version_compare_spec_function): Use GCC-specific formats in | |
7727 | diagnostics. | |
7728 | ||
7d1f0f8a UB |
7729 | 2010-06-04 Uros Bizjak <ubizjak@gmail.com> |
7730 | ||
7731 | * config/i386/i386.md (*addhi_1_lea) <TYPE_INCDEC, default>: Assert | |
7732 | that operand 0 and operand 1 are equal. | |
7733 | (*addqi_1_lea) <TYPE_INCDEC, default>: Ditto. | |
7734 | (*add<mode>_2) <TYPE_INCDEC>: Remove assert that operand 0 | |
7735 | and operand 1 are equal. | |
390b2b32 | 7736 | <default>: Ditto. Remove ??? comment. |
7d1f0f8a UB |
7737 | (*add<mode>_3) <TYPE_INCDEC>: Remove assert that operand 0 |
7738 | and operand 1 are equal. | |
390b2b32 UB |
7739 | <default>: Ditto. Remove ??? comment. |
7740 | (*adddi_4) <default>: Remove assert that operand 0 and operand 1 | |
7d1f0f8a UB |
7741 | are equal. |
7742 | (*add<mode>_4) <default>: Ditto. | |
7743 | (*add<mode>_5) <TYPE_INCDEC, default>: Ditto. | |
7744 | ||
6b3c42ae NF |
7745 | 2010-06-04 Nathan Froyd <froydnj@codesourcery.com> |
7746 | ||
7747 | * config/i386/i386-protos.h (ix86_print_operand): Declare. | |
7748 | * config/i386/i386.c (ix86_print_operand): Make non-static. | |
7749 | * config/i386/sol2.h (ASM_OUTPUT_CALL): Call ix86_print_operand. | |
7750 | * output.h (output_operand): Declare. | |
7751 | * final.c (output_operand): Make non-static. | |
7752 | ||
0fa43fb7 AO |
7753 | 2010-06-04 Alexandre Oliva <aoliva@redhat.com> |
7754 | ||
39e7207a AO |
7755 | PR rtl-optimization/44013 |
7756 | * sched-deps.c (add_dependence_list_and_free): Don't free lists | |
7757 | when processing debug insns. | |
7758 | ||
0fa43fb7 AO |
7759 | PR debug/41371 |
7760 | * var-tracking.c (find_loc_in_1pdv): Mark initial value before | |
7761 | recursing. Check that recursion is bounded. Rename inner var | |
7762 | to avoid hiding incoming argument. | |
7763 | ||
ad1f7916 UB |
7764 | 2010-06-04 Uros Bizjak <ubizjak@gmail.com> |
7765 | ||
7d1f0f8a UB |
7766 | * config/i386/i386.md (*addqi_2) <TYPE_INCDEC>: Do not assert that |
7767 | operands[2] == 255. | |
ad1f7916 UB |
7768 | (*addqi_3): Ditto. |
7769 | (*addqi_4): Ditto. | |
7770 | (*addqi_5): Ditto. | |
7771 | (*addqi_ext_1_rex64): Ditto. | |
7772 | (*addqi_ext_1): Ditto. | |
7773 | ||
7774 | (*addqi_4): Check for incdec_operand in QImode. | |
7775 | ||
7776 | (*add<mode>_2): Macroize insn from *add<mode>_2 and *add{qi,hi}_2 | |
7777 | using SWI mode iterator. | |
7778 | (*add<mode>_3): Ditto from *add<mode>_3 and *add{qi,hi}_3. | |
7779 | (*add<mode>_4): Macroize insn from *add{qi,hi,si}_4 using SWI124 | |
7780 | mode iterator. | |
7781 | (*add<mode>_5): Macroize insn from *add<mode>_5 and *add{qi,hi}_5 | |
7782 | using SWI mode iterator. | |
7783 | ||
49706e39 MLI |
7784 | 2010-06-04 Manuel López-Ibáñez <manu@gcc.gnu.org> |
7785 | ||
7786 | PR c/25880 | |
7787 | * c-objc-common.c (c_tree_printer): Handle %V, %v and %#v. | |
7788 | * c-format.c (gcc_diag_flag_specs): Add hash. | |
7789 | (gcc_cxxdiag_flag_specs): Use gcc_diag_flag_specs directly. | |
7790 | (gcc_tdiag_char_table,gcc_cdiag_char_table): Handle %V and %v. | |
7791 | * c-pretty-print.c (pp_c_cv_qualifier): Rename as | |
7792 | pp_c_cv_qualifiers. Handle qualifiers spelling here. | |
7793 | (pp_c_type_qualifier_list): Call the function above. | |
7794 | * c-pretty-print.h (pp_c_cv_qualifiers): Declare. | |
7795 | * c-typeck.c (handle_warn_cast_qual): Print qualifiers. | |
7796 | (WARN_FOR_QUALIFIERS): New macro. | |
7797 | (convert_for_assignment): Use it. | |
7798 | ||
b13ea8bd KT |
7799 | 2010-06-04 Kai Tietz <kai.tietz@onevision.com> |
7800 | ||
ad1f7916 | 7801 | * config/i386/cygming.h (ASM_GENERATE_INTERNAL_LABEL): Prefix by '*'. |
b13ea8bd | 7802 | |
b33a91c9 JH |
7803 | 2010-06-04 Jan Hubicka <jh@suse.cz> |
7804 | ||
7805 | * df.h (df_rd_bb_info, df_md_bb_info, df_lr_bb_info, df_live_bb_info, | |
7806 | df_byte_lr_bb_info): Embedd bitmap_head into the structure. | |
7807 | (DF_LIVE_IN, DF_LIVE_OUT, DF_LR_IN, DF_LR_OUT, DF_BYTE_LR_IN, | |
7808 | DF_BYTE_LR_OUT): Update for embedded bitmaps. | |
7809 | * fwprop.c (single_def_use_enter_block): Likewise. | |
7810 | * ddg.c (create_ddg_dep_from_intra_loop_link, | |
7811 | add_cross_iteration_register_deps, build_inter_loop_deps): Likewise. | |
7812 | * loop-iv.c (latch_dominating_def): Likewise. | |
7813 | * df-problems.c (df_rd_free_bb_info, df_rd_alloc, | |
7814 | df_rd_bb_local_compute_process_def, df_rd_bb_local_compute_process_def, | |
7815 | df_rd_init_solution, df_rd_init_solution, df_rd_transfer_function, | |
7816 | df_rd_transfer_function, df_rd_top_dump, | |
7817 | df_rd_bottom_dump): Update. | |
7818 | (df_lr_free_bb_info, df_lr_alloc, df_lr_reset, df_lr_bb_local_compute, | |
7819 | df_lr_bb_local_compute, df_lr_bb_local_compute, df_lr_bb_local_compute, | |
7820 | df_lr_bb_local_compute, df_lr_local_compute, df_lr_init, df_lr_init, | |
7821 | df_lr_confluence_0, df_lr_free, df_lr_top_dump, df_lr_bottom_dump, | |
7822 | df_lr_verify_solution_start, df_lr_verify_solution_end, | |
7823 | df_lr_verify_transfer_functions, df_lr_verify_transfer_functions, | |
7824 | df_live_free_bb_info, df_live_alloc, df_live_reset, | |
7825 | df_live_bb_local_compute, df_live_init, df_live_transfer_function, | |
7826 | df_live_finalize, df_live_free, df_live_top_dump, df_live_bottom_dump, | |
7827 | df_live_verify_solution_start, df_live_verify_solution_end, | |
7828 | df_live_verify_transfer_functions, df_chain_create_bb, | |
7829 | df_byte_lr_free_bb_info, df_byte_lr_alloc, df_byte_lr_reset, | |
7830 | df_byte_lr_bb_local_compute, df_byte_lr_bb_local_compute, | |
7831 | df_byte_lr_bb_local_compute, df_byte_lr_bb_local_compute, | |
7832 | df_byte_lr_bb_local_compute, df_byte_lr_local_compute, df_byte_lr_init, | |
7833 | df_byte_lr_confluence_0, df_byte_lr_confluence_n, | |
7834 | df_byte_lr_transfer_function, df_byte_lr_top_dump, | |
7835 | df_byte_lr_bottom_dump, df_create_unused_note, | |
7836 | df_note_bb_compute, df_md_free_bb_info, df_md_alloc, | |
7837 | df_md_bb_local_compute_process_def, df_md_local_compute, df_md_reset, | |
7838 | df_md_transfer_function, df_md_init, df_md_confluence_0, | |
7839 | df_md_confluence_n, | |
ad1f7916 UB |
7840 | df_md_top_dump, df_md_bottom_dump): Update. |
7841 | (struct df_lr_problem_data): Embedd bitmap headers. | |
b33a91c9 | 7842 | |
f251709a JH |
7843 | 2010-06-04 Jan Hubicka <jh@suse.cz> |
7844 | ||
ad1f7916 UB |
7845 | * dce.c (dce_process_block): Do not re-scan already marked |
7846 | instructions. | |
f251709a | 7847 | |
8ff49c29 BS |
7848 | 2010-06-04 Bernd Schmidt <bernds@codesourcery.com> |
7849 | ||
7850 | PR rtl-optimization/39871 | |
7851 | PR rtl-optimization/40615 | |
7852 | PR rtl-optimization/42500 | |
7853 | PR rtl-optimization/42502 | |
7854 | * ira.c (init_reg_equiv_memory_loc: New function. | |
7855 | (ira): Call it twice. | |
7856 | * reload.h (calculate_elim_costs_all_insns): Declare. | |
7857 | * ira-costs.c: Include "reload.h". | |
7858 | (regno_equiv_gains): New static variable. | |
7859 | (init_costs): Allocate it. | |
7860 | (finish_costs): Free it. | |
7861 | (ira_costs): Call calculate_elim_costs_all_insns. | |
7862 | (find_costs_and_classes): Take estimated elimination costs | |
7863 | into account. | |
7864 | (ira_adjust_equiv_reg_cost): New function. | |
7865 | * ira.h (ira_adjust_equiv_reg_cost): Declare it. | |
7866 | * reload1.c (init_eliminable_invariants, free_reg_equiv, | |
ad1f7916 | 7867 | elimination_costs_in_insn, note_reg_elim_costly): New static functions. |
8ff49c29 BS |
7868 | (elim_bb): New static variable. |
7869 | (reload): Move code out of here into init_eliminable_invariants and | |
7870 | free_reg_equiv. Call them. | |
7871 | (calculate_elim_costs_all_insns): New function. | |
7872 | (eliminate_regs_1): Declare. Add extra arg FOR_COSTS; | |
7873 | all callers changed. If FOR_COSTS is true, don't call alter_reg, | |
7874 | but call note_reg_elim_costly if we turned a valid memory address | |
7875 | into an invalid one. | |
7876 | * Makefile.in (ira-costs.o): Depend on reload.h. | |
7877 | ||
95c5655c JB |
7878 | 2010-06-04 Julian Brown <julian@codesourcery.com> |
7879 | ||
7880 | * config/arm/thumb2.md (*thumb2_movdf_soft_insn): Fix alternatives | |
7881 | for pool ranges. | |
7882 | ||
d4c0c9f6 RG |
7883 | 2010-06-04 Richard Guenther <rguenther@suse.de> |
7884 | ||
7885 | PR lto/41584 | |
7886 | * cgraph.h (struct varpool_node): Add lto_file_data field. | |
7887 | * lto-cgraph.c (input_varpool_node): Initialize it. | |
7888 | ||
308e51aa UB |
7889 | 2010-06-04 Uros Bizjak <ubizjak@gmail.com> |
7890 | ||
7891 | * config/i386/predicates.md (pic_symbolic_operand): Remove predicate. | |
7892 | * config/i386/i386.md (*add<mode>_1): Do not use pic_symbolic_operand | |
7893 | predicate in "type" attribute calculation. | |
7894 | (*addsi_1_zext): Ditto. | |
7895 | (*add<mode>_2): Do not use pic_symbolic_operand in insn predicate. | |
7896 | (*addsi_2_zext): Ditto. | |
7897 | (*add<mode>_3): Ditto. | |
7898 | (*addsi_3_zext): Ditto. | |
7899 | (*add<mode>_5): Ditto. | |
7900 | ||
f3cf730b JH |
7901 | 2010-06-03 Jan Hubicka <jh@suse.cz> |
7902 | ||
7903 | * tree-into-ssa.c (mark_block_for_update): Avoid redundant call | |
7904 | of bitmap_bit_p. | |
7905 | * cfganal.c (compute_dominance_frontiers_1): Likewise. | |
7906 | ||
95f4cd58 JH |
7907 | 2010-06-03 Jan Hubicka <jh@suse.cz> |
7908 | ||
7909 | * df-problems.c (df_create_unused_note, df_note_bb_compute): | |
7910 | micro-optimize the checks when to add new note. | |
7911 | ||
6e2188e0 NF |
7912 | 2010-06-03 Nathan Froyd <froydnj@codesourcery.com> |
7913 | ||
7914 | * final.c (output_asm_insn): Call | |
7915 | targetm.asm_out.print_operand_punct_valid_p. Update comments. | |
7916 | (output_operand): Call targetm.asm_out.print_operand. Update comments. | |
7917 | (output_address): Call targetm.asm_out.print_operand_address. | |
7918 | Update comments. | |
7919 | * target.h (struct gcc_target): Add print_operand, | |
7920 | print_operand_address, and print_operand_punct_valid_p fields. | |
7921 | * targhooks.h (default_print_operand): Declare. | |
7922 | (default_print_operand_address): Declare. | |
7923 | (default_print_operand_punct_valid_p): Declare. | |
7924 | * targhooks.c (default_print_operand): Define. | |
7925 | (default_print_operand_address): Define. | |
7926 | (default_print_operand_punct_valid_p): Define. | |
7927 | * target-def.h (TARGET_PRINT_OPERAND): Define if not defined. | |
7928 | (TARGET_PRINT_OPERAND_ADDRESS): Likewise. | |
7929 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Likewise. | |
7930 | (TARGET_ASM_OUT): Add TARGET_PRINT_OPERAND, | |
7931 | TARGET_PRINT_OPERAND_ADDRESS, and TARGET_PRINT_OPERAND_PUNCT_VALID_P. | |
7932 | * vmsdbgout.c (addr_const_to_string): Update comment. | |
7933 | * config/i386/i386.c (print_operand): Rename to... | |
7934 | (ix86_print_operand): ...this. Make static. | |
7935 | (print_operand_address): Rename to... | |
7936 | (ix86_print_operand_address): ...this. Make static. Call | |
7937 | ix86_print_operand instead of PRINT_OPERAND. | |
7938 | (ix86_print_operand_punct_valid_p): New function. | |
7939 | (TARGET_PRINT_OPERAND): Define. | |
7940 | (TARGET_PRINT_OPERAND_ADDRESS): Define. | |
7941 | (TARGET_PRINT_OPERAND_PUNCT_VALID_P): Define. | |
7942 | * config/i386/i386.h (HI_REGISTER_NAMES): Update comment. | |
7943 | (PRINT_OPERAND_PUNCT_VALID_P): Delete. | |
7944 | (PRINT_OPERAND): Delete. | |
7945 | (PRINT_OPERAND_ADDRESS): Delete. | |
7946 | * config/i386/i386-protos.h (print_operand): Delete prototype. | |
7947 | (print_operand_address): Delete prototype. | |
7948 | ||
bb6c4ac8 RG |
7949 | 2010-06-03 Richard Guenther <rguenther@suse.de> |
7950 | ||
7951 | PR tree-optimization/44403 | |
7952 | * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): | |
7953 | Preserve pointer qualifiers. | |
7954 | (vect_create_data_ref_ptr): Likewise. | |
7955 | ||
1c314335 L |
7956 | 2010-06-03 H.J. Lu <hongjiu.lu@intel.com> |
7957 | ||
7958 | PR c++/44294 | |
7959 | * defaults.h (MAX_FIXED_MODE_SIZE): New. | |
7960 | ||
7961 | * stor-layout.c (MAX_FIXED_MODE_SIZE): Removed. | |
7962 | ||
c87d6057 JJ |
7963 | 2010-06-03 Jakub Jelinek <jakub@redhat.com> |
7964 | ||
7965 | PR debug/44375 | |
7966 | * tree-cfg.c (gimple_can_merge_blocks_p): For -O0 | |
7967 | return false if merging the bbs would lead to goto_locus | |
7968 | location being lost from the IL. | |
7969 | ||
193d4c0f JJ |
7970 | 2010-06-03 Jan Hubicka <jh@suse.cz> |
7971 | Jakub Jelinek <jakub@redhat.com> | |
7972 | ||
308e51aa | 7973 | * var-tracking.c (dataflow_set_equiv_regs): Shortcut the loop if |
193d4c0f JJ |
7974 | set->regs[i] is NULL or has just one entry. |
7975 | ||
703e95cf JH |
7976 | 2010-06-03 Jan Hubicka <jh@suse.cz> |
7977 | ||
7978 | * lto-cgraph.c (lto_varpool_encoder_size): Remove. | |
7979 | * lto-streamer.h (lto_varpool_encoder_size): New inline function. | |
7980 | ||
12a0a4d4 PB |
7981 | 2010-06-03 Paul Brook <paul@codesourcery.com> |
7982 | ||
7983 | * config/arm/arm.c (FL_TUNE): Define. | |
7984 | (arm_default_cpu, arm_cpu_select): Remove. | |
7985 | (all_cores): Populate core field. | |
7986 | (arm_selected_arch, arm_selected_cpu, arm_selected_tune): New. | |
7987 | (arm_find_cpu): New function. | |
7988 | (arm_handle_option): Lookup cpu/architecture names. | |
7989 | (arm_override_options): Cleanup mcpu/march/mtune handling. | |
7990 | (arm_file_start): Ditto. | |
7991 | ||
d9d7a1bf AM |
7992 | 2010-06-03 Alan Modra <amodra@gmail.com> |
7993 | ||
7994 | PR target/44169 | |
7995 | * config/rs6000/rs6000.md (load_toc_v4_PIC_1b): Add label operand. | |
7996 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Pass label | |
7997 | rtx to gen_load_toc_v4_PIC_1b. Tidy. | |
7998 | (rs6000_emit_load_toc_table): Likewise. | |
7999 | ||
514f01ad JH |
8000 | 2010-06-02 Jan Hubicka <jh@suse.cz> |
8001 | ||
8002 | * passes.c (init_optimization_passes): Put ipa reference | |
8003 | after ipa pure-const. | |
8004 | ||
22a8d1e6 JH |
8005 | 2010-06-02 Jan Hubicka <jh@suse.cz> |
8006 | ||
8007 | * ipa-reference.c (ipa_reference_local_vars_info_d): Remove | |
8008 | calls_read_all and calls_write_all. | |
8009 | (get_reference_optimization_summary): Fix formatting. | |
8010 | (is_proper_for_analysis): Check that decl is not readonly. | |
8011 | (propagate_bits): Check CONST/PURE/noreturn flags. | |
8012 | (ipa_init): Move all_module_statics to optimization_summary_obstack. | |
8013 | (analyze_function): Ignore indirect edges. | |
8014 | (copy_global_bitmap): For all module statics, do nothing. | |
8015 | (generate_summary): Do not print calls_read_all/calls_write_all. | |
8016 | (read_write_all_from_decl): Take node as argument; check | |
8017 | cgraph_node_cannot_return. | |
8018 | (propagate): Reorganize read_all/write_all computation; | |
8019 | check indirect edges; check ecf flags; use all_module_statics | |
8020 | in the results; do not free all_module_statics. | |
8021 | (stream_out_bitmap): Handle all_module_statics. | |
8022 | (ipa_reference_write_optimization_summary): Likewise; use | |
8023 | varpool/cgraph encoders to get boundaries. | |
8024 | (ipa_reference_read_optimization_summary): Read in all_module_statics; | |
8025 | use it when possible. | |
8026 | ||
92902797 MM |
8027 | 2010-06-02 Michael Meissner <meissner@linux.vnet.ibm.com> |
8028 | ||
8029 | PR target/44218 | |
8030 | * doc/invoke.texi (RS/6000 and PowerPC Options): Delete obsolete | |
308e51aa | 8031 | -mswdiv option. Add -mrecip, -mrecip=<xxx>, -mrecip-precision options. |
92902797 MM |
8032 | |
8033 | * doc/extend.texi (powerpc builtins): Document vec_recip, | |
8034 | vec_rsqrt, vec_rsqrte altivec/vsx builtins. | |
8035 | ||
308e51aa | 8036 | * config/rs6000/rs60000-protos.h (rs6000_emit_swdiv): New function. |
92902797 MM |
8037 | (rs6000_emit_swrsqrt): Ditto. |
8038 | (rs6000_emit_swdivsf): Delete. | |
8039 | (rs6000_emit_swdivdf): Ditto. | |
8040 | (rs6000_emit_swrsqrtsf): Ditto. | |
8041 | ||
8042 | * config/rs6000/rs6000.c (rs6000_recip_bits): New global to | |
8043 | describe the reciprocal estimate support for each type. | |
8044 | (recip_options): Map -mrecip=<opt> into option bits. | |
8045 | (gen_2arg_fn_t): New typedef for binary rtx gen function. | |
8046 | (rs6000_debug_reg_global): If -mdebug=reg, print the state of the | |
8047 | reciprocal estimate instructions. | |
8048 | (rs6000_init_hard_regno_mode_ok): Key ws constraint off of the | |
8049 | debug -mvsx-scalar-memory switch instead of -mvsx-scalar-double. | |
8050 | Set up rs6000_recip_bits based on the -mrecip* options. Print the | |
8051 | cost information if -mdebug=cost or -mdebug=reg. | |
8052 | (rs6000_override_options): Set -mrecip-precision for power6, and | |
8053 | power7 machines. If -mvsx or -mdfp, enable various options that | |
8054 | came in previous instruction set ISAs, unless the option was | |
8055 | explicitly disabled by the command line option. Parse | |
8056 | -mrecip=<opt> options. | |
8057 | (rs6000_builtin_vectorized_function): Add support for vectorizing | |
8058 | the reciprocal estimate builtins and expansions. | |
8059 | (rs6000_handle_option): Add -mrecip, -mrecip=<opt> support. | |
8060 | (bdesc_2arg): Add reciprocal estimate builtins. | |
8061 | (bdesc_1arg): Add reciprocal square root estimate builtins. | |
8062 | (rs6000_expand_builtin): Rewrite to use a switch statement, | |
308e51aa | 8063 | instead of multiple if/then/elses. Add reciprocal estimate builtins. |
92902797 MM |
8064 | (rs6000_init_builtins): Create declarations for reciprocal |
8065 | estimate builtins. | |
8066 | (rs6000_preferred_reload_class): Simplify VSX preferences, if scalar | |
8067 | sized, prefer traditional floating point registers, if integer | |
8068 | vector types, prefer altivec registers. Don't actually look at | |
8069 | the memory address any more. | |
8070 | (rs6000_builtin_reciprocal): Add new builtin reciprocal estimate | |
8071 | builtins. | |
8072 | (rs6000_load_constant_and_splat): New helper function to load up | |
8073 | the constant for reciprocal estimate instructions. | |
8074 | (rs6000_emit_madd): New helper function for generating | |
8075 | multiply/add type instructions, based on the current switches. | |
8076 | (rs6000_emit_msub): Ditto. | |
8077 | (rs6000_emit_mnsub): Ditto. | |
8078 | (rs6000_emit_swdiv_high_precision): Replace rs6000_emit_swdivsf to | |
8079 | replace a divide with a reciprocal estimate and fixup, adding | |
8080 | support for machines with high precision and vectors. | |
8081 | (rs6000_emit_swdiv_low_precision): Rewrite rs6000_emit_swdivdf for | |
8082 | low precision machines. | |
8083 | (rs6000_emit_swdiv): New common function to be called to replace a | |
8084 | division with reciprocal estimate and fixup. | |
8085 | (rs6000_emit_swrsqrt): Replace rs6000_emit_swrsqrtsf. Add support | |
308e51aa | 8086 | for double and vector types. Add support for high precision machines. |
92902797 MM |
8087 | |
8088 | * config/rs6000/rs6000.h (TARGET_FRES): New macro to say whether | |
8089 | the reciprocal estimate instructions can be generated. | |
8090 | (TARGET_FRE): Ditto. | |
8091 | (TARGET_FRSQRTES): Ditto. | |
8092 | (TARGET_FRSQRTE): Ditto. | |
8093 | (RS6000_RECIP_*): New macros for reciprocal estimate support. | |
8094 | ||
8095 | * config/rs6000/vector.md (rsqrte<mode>2): New insn for reciprocal | |
8096 | square root estimate on vectors. | |
8097 | (re<mode>2): New insn for reciprocal division estimate on vectors. | |
8098 | ||
8099 | * config/rs6000/rs6000-buitlins.def (ALTIVEC_BUILTIN_VRSQRTFP): | |
8100 | New builtin. | |
8101 | (ALTIVEC_BUILTIN_VRECIPFP): Ditto. | |
8102 | (ALTIVEC_BUITLIN_VEC_RE): Ditto. | |
8103 | (ALTIVEC_BUILTIN_VEC_RSQRT): Ditto. | |
8104 | (VSX_BUILTIN_RSQRT_V4SF): Ditto. | |
8105 | (VSX_BUITLIN_RSQRT_V2DF): Ditto. | |
8106 | (RS6000_BUILTIN_RSQRT): Ditto. | |
8107 | (ALTIVEC_BUILTIN_VEC_RSQRTE): Denote that the builtin is a | |
8108 | floating point builtin. | |
8109 | ||
8110 | * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Define | |
8111 | macros __RECIP__, __RECIPF__, __RSQRTE__, __RSQRTEF__, | |
8112 | __RECIP_PRECISION__ based on the command line switches. | |
8113 | (altivec_overloaded_builtins): Add reciprocal estimate builtins. | |
8114 | ||
8115 | * config/rs6000/rs6000.opt (-mrecip): Document add support for | |
308e51aa | 8116 | replacing division instructions with reciprocal estimate and fixup. |
92902797 MM |
8117 | (-mrecip=<opt>): New option. |
8118 | (-mrecip-precision): Ditto. | |
8119 | ||
8120 | * config/rs6000/vsx.md (UNSPEC_VSX_RSQRTE): Delete. | |
8121 | (vsx_rsqrte<mode>2): Use UNSPEC_RSQRT not UNSPEC_VSX_RSQRTE. | |
8122 | (vsx_copysignsf3): If -mvsx, use double precision cpsign on single | |
8123 | precision scalar. | |
8124 | ||
8125 | * config/rs6000/altivec.md (UNSPEC_RSQRTEFP): Delete. | |
8126 | (UNSPEC_VREFP): Ditto. | |
8127 | (altivec_vnmsubfp*): Make altivec nmsub mirror the scalar and VSX | |
308e51aa | 8128 | conterparts with regard to support of -mno-fused-madd and -ffast-math. |
92902797 MM |
8129 | (altivec_vrsqrtefp): Use common UNSPEC to allow scalar/vector |
8130 | reciprocal estimate instructions to be generated. | |
8131 | (altivec_vrefp): Ditto. | |
8132 | ||
8133 | * config/rs6000/rs6000.md (RECIPF): New iterator for reciprocal | |
8134 | estimate support. | |
8135 | (rreg): New mode attribute for reciprocal estimate support. | |
8136 | (recip<mode>3): New insn for division using reciprocal estimate | |
8137 | and fixup builtins. | |
8138 | (divide define_split): New define_split to convert floating point | |
8139 | division to use reciprocal estimate if the user used the | |
8140 | appropriate options and the split is run when we can add new | |
8141 | pseudo registers for the fixup. | |
8142 | (rsqrt<mode>2): New insn for reciprocal square root support. | |
8143 | (recipsf3): Move into recip<mode>3. | |
8144 | (recipdf3): Ditto. | |
8145 | (fres): Use TARGET_FRES. | |
8146 | (rsqrtsf2): Move into rsqrt<mode>2. | |
8147 | (rsqrtsf_internal1): Use TARGET_FRSQRTSES. | |
8148 | (copysignsf3): Add support for VSX. | |
8149 | (fred): Use TARGET_FRE. | |
8150 | (fred_fpr): Ditto. | |
8151 | (rsqrtdf_internal1): New function for frsqrte instruciton. | |
8152 | ||
308e51aa | 8153 | * config/rs6000/altivec.h (vec_recipdiv): Define new vector builtin. |
92902797 MM |
8154 | (vec_rsqrt): Ditto. |
8155 | ||
eef4a603 RG |
8156 | 2010-06-03 Richard Guenther <rguenther@suse.de> |
8157 | ||
8158 | PR middle-end/44291 | |
8159 | * optabs.c (init_one_libfunc): Use IDENTIFIER_HASH_VALUE. | |
8160 | (set_user_assembler_libfunc): Likewise. | |
8161 | ||
77ec4307 SB |
8162 | 2010-06-02 Steven Bosscher <steven@gcc.gnu.org> |
8163 | ||
8164 | * mkconfig.sh: Include insn-flags.h and insn-constants.h before | |
8165 | defaults.h. | |
8166 | * except.h: Move MUST_USE_SJLJ_EXCEPTIONS and USING_SJLJ_EXCEPTIONS | |
8167 | to defaults.h | |
8168 | * expr.h (BRANCH_COST, MOVE_RATIO, CLEAR_RATIO, SET_RATIO, | |
8169 | DEFAULT_FUNCTION_ARG_PADDING, FUNCTION_ARG_PADDING, | |
8170 | FUNCTION_ARG_BOUNDARY, STACK_SAVEAREA_MODE, STACK_SIZE_MODE, | |
8171 | STACK_CHECK_BUILTIN, STACK_CHECK_STATIC_BUILTIN, | |
8172 | STACK_CHECK_PROBE_INTERVAL_EXP, STACK_CHECK_MOVING_SP, | |
8173 | STACK_OLD_CHECK_PROTECT, STACK_CHECK_PROTECT, | |
8174 | STACK_CHECK_MAX_FRAME_SIZE, STACK_CHECK_FIXED_FRAME_SIZE, | |
8175 | STACK_CHECK_MAX_VAR_SIZE): Move target macro defaults to defaults.h. | |
8176 | * defaults.h: Updated for above mentioned changes. | |
8177 | ||
ef2d9e4d KT |
8178 | 2010-06-02 Kai Tietz <kai.tietz@onevision.com> |
8179 | ||
8180 | * c-common.c: Remove header include of tm_p.h. | |
8181 | * Makefile.in (c-common.o): Remove TM_P_H dependency. | |
8182 | ||
53e030f1 JJ |
8183 | 2010-06-02 Jakub Jelinek <jakub@redhat.com> |
8184 | ||
8185 | * tree.h (struct tree_decl_map): New type. | |
8186 | (tree_decl_map_eq, tree_decl_map_marked_p): Define. | |
8187 | (tree_decl_map_hash): New prototype. | |
8188 | (debug_expr_for_decl, value_expr_for_decl): Change into | |
8189 | tree_decl_map hashtab from tree_map. | |
8190 | (init_ttree): Adjust initialization. | |
8191 | (tree_decl_map_hash): New function. | |
8192 | (decl_debug_expr_lookup, decl_debug_expr_insert, | |
8193 | decl_value_expr_lookup, decl_value_expr_insert): Adjust. | |
8194 | ||
a6198222 RO |
8195 | 2010-06-02 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
8196 | ||
8197 | * configure.ac (gcc_cv_ld_sol2_emulation): Test for GNU ld *_sol2 | |
8198 | linker emulations. | |
8199 | * configure: Regenerate. | |
8200 | * config.in: Regenerate. | |
8201 | ||
8202 | * config/i386/sol2-10.h [TARGET_GNU_LD] (I386_EMULATION): Define. | |
8203 | (X86_64_EMULATION): Define. | |
8204 | (TARGET_LD_EMULATION): Use them. | |
8205 | ||
8206 | * config/sparc/sol2-gld-bi.h (SPARC32_EMULATION): Define. | |
8207 | (SPARC64_EMULATION): Define. | |
8208 | (LINK_ARCH_SPEC): Use them. | |
8209 | ||
d6abd6d8 SP |
8210 | 2010-06-02 Sebastian Pop <sebastian.pop@amd.com> |
8211 | ||
8212 | * graphite-clast-to-gimple.c (gcc_type_for_interval): Use | |
8213 | smallest_mode_for_size for computing the precision types of new | |
8214 | graphite IVs. Do not call lang_hooks.types.type_for_size. | |
8215 | ||
718d3588 SP |
8216 | 2010-06-02 Sebastian Pop <sebastian.pop@amd.com> |
8217 | ||
8218 | * tree-if-conv.c (predicate_bbs): Do not reset the GIMPLE_DEBUG | |
8219 | information. | |
8220 | (remove_conditions_and_labels): Reset the GIMPLE_DEBUG information. | |
8221 | ||
5521cae9 SP |
8222 | 2010-06-02 Sebastian Pop <sebastian.pop@amd.com> |
8223 | ||
8224 | PR middle-end/44363 | |
8225 | * tree-if-conv.c (predicate_bbs): Do not call gcc_unreachable, | |
8226 | return false instead. | |
8227 | ||
437ffe7b JH |
8228 | 2010-06-02 Jan Hubicka <jh@suse.cz> |
8229 | ||
8230 | PR middle-end/44295 | |
8231 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Do not | |
8232 | create new cgraph node to check callee. | |
8233 | ||
f3dcdff7 RG |
8234 | 2010-06-02 Richard Guenther <rguenther@suse.de> |
8235 | ||
8236 | * lto-streamer-in.c (input_gimple_stmt): Fix typo. | |
8237 | ||
396717c9 RG |
8238 | 2010-06-02 Richard Guenther <rguenther@suse.de> |
8239 | ||
8240 | * lto-wrapper.c (lto_wrapper_exit): Rename to ... | |
8241 | (lto_wrapper_cleanup): ... this. Do not exit. | |
8242 | (fatal): Adjust. Exit here. | |
8243 | (fatal_perror): Likewise. | |
8244 | (fatal_signal): New function. | |
8245 | (main): Set up signal handlers to cleanup temporary files. | |
8246 | * Makefile.in (lto-wrapper.o): Adjust dependencies. | |
8247 | ||
2698955a RG |
8248 | 2010-06-02 Richard Guenther <rguenther@suse.de> |
8249 | ||
8250 | PR tree-optimization/44377 | |
8251 | * tree-ssa-structalias.c (find_func_aliases): Fix typo. | |
8252 | ||
30972225 AK |
8253 | 2010-06-02 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
8254 | ||
8255 | * config/s390/2097.md (z10_fhex): Remove insn reservation. | |
8256 | * config/s390/s390.md (UNSPEC_COPYSIGN): Remove unused constant. | |
8257 | (*mov<mode>_64 TD_TF, *mov<mode>_31 TD_TF, *mov<mode>_64dfp DD_DF, | |
8258 | *mov<mode>_64 DD_DF, *mov<mode>_31, mov<mode>): Remove load zero | |
8259 | instruction. | |
308e51aa | 8260 | * config/s390/s390.c: Don't accept fp zeros as valid constants anymore. |
30972225 | 8261 | |
d4fb676f JH |
8262 | 2010-06-02 Jan Hubicka <jh@suse.cz> |
8263 | ||
8264 | * bitmap.c (bitmap_descriptor): Add search_iter. | |
8265 | (bitmap_find_bit): Increment it. | |
8266 | (print_statistics): Print it. | |
8267 | ||
36c4a482 NF |
8268 | 2010-06-02 Nathan Froyd <froydnj@codesourcery.com> |
8269 | ||
8270 | * tree-vect-slp.c (vect_create_mask_and_perm): Use gimple_build_call | |
8271 | instead of gimple_build_call_vec. Delete unnecessary local variable. | |
8272 | ||
f66d6761 SB |
8273 | 2010-06-02 Steven Bosscher <steven@gcc.gnu.org> |
8274 | ||
8275 | * gimplify.c (gimplify_body): Revert "Do not initialize RTL profiling" | |
8276 | change from yesterday. | |
8277 | ||
a8cd9c51 SB |
8278 | 2010-06-02 Steven Bosscher <steven@gcc.gnu.org> |
8279 | ||
8280 | * c-ada-spec.c: Clean up redundant includes. | |
8281 | ||
2eb79bbb SB |
8282 | 2010-06-01 Steven Bosscher <steven@gcc.gnu.org> |
8283 | ||
8284 | * gimplify.c: Do not include except.h and optabs.h. | |
8285 | (gimplify_body): Do not initialize RTL profiling. | |
8286 | * gimple-low.c: Do not include rtl.h, diagnostic.h, langhooks.h, | |
8287 | langhooks-def.h, timevar.h, except.h, hashtab.h, and expr.h. | |
8288 | * gimple-fold.c: Do not include rtl.h, tm_p.h, ggc.h, basic-block.h, | |
8289 | output.h, expr.h, diagnostic.h, timevar.h, value-prof.h, and | |
8290 | langhooks.h. | |
8291 | ||
8292 | * tree-pretty-print.h: Include pretty-print.h. | |
8293 | * gimple-pretty-print.h: Include pretty-print.h. | |
8294 | ||
8295 | * tree-pretty-print.c: Do not include diagnostic.h. | |
8296 | * tree-vrp.c: Likewise. | |
8297 | * tree-tailcall.c: Likewise | |
8298 | * tree-scalar-evolution.c: Likewise | |
8299 | * tree-ssa-dse.c: Likewise | |
8300 | * tree-chrec.c: Likewise | |
8301 | * tree-ssa-sccvn.c: Likewise | |
8302 | * tree-ssa-copyrename.c: Likewise | |
8303 | * tree-nomudflap.c: Likewise | |
8304 | * tree-call-cdce.c: Likewise | |
8305 | * tree-stdarg.c: Likewise | |
8306 | * tree-ssa-math-opts.c: Likewise | |
8307 | * tree-nrv.c: Likewise | |
8308 | * tree-ssa-sink.c: Likewise | |
8309 | * tree-browser.c: Likewise | |
8310 | * tree-ssa-loop-ivcanon.c: Likewise | |
8311 | * tree-ssa-loop.c: Likewise | |
8312 | * tree-parloops.c: Likewise | |
8313 | * tree-ssa-address.c: Likewise | |
8314 | * tree-ssa-ifcombine.c: Likewise | |
8315 | * tree-if-conv.c: Likewise | |
8316 | * tree-data-ref.c: Likewise | |
8317 | * tree-affine.c: Likewise | |
8318 | * tree-ssa-phiopt.c: Likewise | |
8319 | * tree-ssa-coalesce.c: Likewise | |
8320 | * tree-ssa-pre.c: Likewise | |
8321 | * tree-ssa-live.c: Likewise | |
8322 | * tree-predcom.c: Likewise | |
8323 | * tree-ssa-forwprop.c: Likewise | |
8324 | * tree-ssa-dce.c: Likewise | |
8325 | * tree-ssa-ter.c: Likewise | |
8326 | * tree-ssa-loop-prefetch.c: Likewise | |
8327 | * tree-optimize.c: Likewise | |
8328 | * tree-ssa-phiprop.c: Likewise | |
8329 | * tree-object-size.c: Likewise | |
8330 | * tree-outof-ssa.c: Likewise | |
8331 | * tree-ssa-structalias.c: Likewise | |
8332 | * tree-switch-conversion.c: Likewise | |
8333 | * tree-ssa-reassoc.c: Likewise | |
8334 | * tree-ssa-operands.c: Likewise | |
8335 | * tree-vectorizer.c: Likewise | |
8336 | * tree-vect-data-refs.c: Likewise | |
8337 | * tree-vect-generic.c: Likewise | |
8338 | * tree-vect-stmts.c: Likewise | |
8339 | * tree-vect-patterns.c: Likewise | |
8340 | * tree-vect-slp.c: Likewise | |
8341 | * tree-vect-loop.c: Likewise | |
8342 | * tree-ssa-loop-ivopts.c: Likewise | |
8343 | * tree-ssa-loop-im.c: Likewise | |
8344 | * tree-ssa-loop-niter.c: Likewise | |
8345 | * tree-ssa-loop-unswitch.c: Likewise | |
8346 | * tree-ssa-loop-manip.c: Likewise | |
8347 | * tree-ssa-loop-ch.c: Likewise | |
8348 | * tree-dump.c: Likewise | |
8349 | * tree-complex.c: Likewise | |
8350 | ||
8351 | * tree-into-ssa.c: Do not include diagnostic.h and expr.h. | |
8352 | * tree-ssa-uninit.c: Likewise | |
8353 | * tree-ssa-threadupdate.c: Likewise | |
8354 | * tree-ssa-uncprop.c: Likewise | |
8355 | * tree-ssa-ccp.c: Likewise | |
8356 | * tree-ssa-dom.c: Likewise | |
8357 | * tree-ssa-propagate.c: Likewise | |
8358 | * tree-ssa-alias.c: Likewise | |
8359 | * tree-dfa.c: Likewise | |
8360 | * tree-cfgcleanup.c: Likewise | |
8361 | * tree-sra.c: Likewise | |
8362 | * tree-ssa-copy.c: Likewise | |
8363 | * tree-ssa.c: Likewise | |
8364 | * tree-profile.c: Likewise | |
8365 | * tree-cfg.c: Likewise | |
8366 | * tree-ssa-threadedge.c: Likewise | |
8367 | * tree-vect-loop-manip.c: Likewise | |
8368 | ||
8369 | * tree-inline.c: Do not include diagnostic.h and expr.h. | |
8370 | Include rtl.h. | |
8371 | (copy_decl_for_dup_finish): Do not use NULL_RTX. | |
8372 | ||
308e51aa | 8373 | * tree-loop-linear.c: Do not include diagnostic.h, expr.h and optabs.h. |
2eb79bbb SB |
8374 | * tree-loop-distribution.c: Likewise. |
8375 | ||
73add7fe JH |
8376 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
8377 | ||
8378 | * ipa-pure-const.c (local_pure_const): Do NORETURN discovery. | |
8379 | ||
566d09ef JH |
8380 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
8381 | ||
8382 | * tree-cfgcleanup.c (fixup_noreturn_call): Break out from ...; | |
8383 | remove return value. | |
8384 | (split_bbs_on_noreturn_calls) .... here. | |
8385 | * tree-optimize.c (execute_fixup_cfg): Fixup noreturn calls too. | |
8386 | * tree-flow.h (fixup_noreturn_call): New. | |
8387 | ||
fb9ef4c1 JH |
8388 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
8389 | ||
8390 | * emit-rtl.c (remove_insn): Fix thinko in prevoius patch. | |
8391 | ||
6594b49d NF |
8392 | 2010-06-01 Nathan Froyd <froydnj@codesourcery.com> |
8393 | ||
8394 | * tree.h (build_nt_call_list): Delete. | |
8395 | * tree.c (build_nt_call_list): Delete. | |
8396 | ||
5936d944 JH |
8397 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
8398 | ||
8399 | * fwprop.c: Make emit-rtl.h include last. | |
8400 | * rtlanal.c: Include emit-rtl.h. | |
8401 | * genautomata.c: Output emit-rtl include into insn-automata.c | |
8402 | * df-scan.c: Include emit-rtl.h. | |
8403 | * haifa-sched.c: Indlude emit-rtl.h. | |
8404 | * mode-switching.c: Indlude emit-rtl.h. | |
8405 | * graph.c: Indlude emit-rtl.h. | |
8406 | * sel-sched.c: Include emit-rtl.h. | |
8407 | * sel-sched-ir.c: Include emit-rtl.h. | |
8408 | * ira-build.c: Include emit-rtl.h. | |
bd3a5d17 | 8409 | * emit-rtl.c (first_insn, last_insn): Remove defines. |
5936d944 JH |
8410 | (get_insns, set_first_insn, get_last_insn, set_last_insn, get_max_uid): |
8411 | Move to emit-rtl.h. | |
308e51aa UB |
8412 | (set_new_first_and_last_insn, get_last_insn_anywhere, |
8413 | get_first_nonnote_insn, get_last_nonnote_insn, try_split, | |
8414 | make_call_insn_raw, add_insn_after, add_insn_before, remove_insn, | |
8415 | delete_insns_since, reorder_insns_nobb, emit_insn_after_1, | |
8416 | emit_debug_insn_before, emit_insn, start_sequence, push_to_sequence, | |
8417 | push_to_sequence2, push_topmost_sequence, end_sequence, copy_insn): | |
8418 | Use accessor functions. | |
5936d944 JH |
8419 | * emit-rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn, |
8420 | gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value, | |
8421 | set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode, | |
308e51aa | 8422 | mem_expr_equal_p): Move here from rtl.h. |
5936d944 JH |
8423 | (get_insns, set_first-insn, get_last_insn, set_last_insn, get_max_uid): |
8424 | Move here from emit-rtl.c; make inline. | |
308e51aa | 8425 | * cfglayout.h: Include emit-rtl.h. |
5936d944 JH |
8426 | * rtl.h (gen_blockage, gen_rtvec, copy_insn_1, copy_insn, |
8427 | gen_int_mode, emit_copy_of_insn_after, set_reg_attrs_from_value, | |
8428 | set_reg_attrs_for_parm, set_reg_attrs_for_decl_rtl, adjust_reg_mode, | |
308e51aa UB |
8429 | mem_expr_equal_p, get_insns, set_first-insn, |
8430 | get_last_insn, set_last_insn, get_max_uid): Move to emit-rtl.h. | |
8431 | * reg-stack.c: Include emit-rtl.h. | |
5936d944 JH |
8432 | * dce.c: Likewise. |
8433 | ||
91382288 JH |
8434 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
8435 | ||
8436 | * cgraph.h (tree_function_versioning): Update prototype. | |
8437 | (cgraph_function_versioning): Update prototype. | |
8438 | * cgraphunit.c (cgraph_copy_node_for_versioning): Accept bbs_to_copy | |
8439 | bitmap. | |
308e51aa | 8440 | (cgraph_function_versioning): Accept new_entry_block and bbs_to_copy. |
91382288 JH |
8441 | (cgraph_materialize_clone, save_inline_function_body): Update use of |
8442 | tree_function_versioning. | |
308e51aa UB |
8443 | * tree-inline.c (copy_bb): Look for previous copied block to link |
8444 | after; fix debug output. | |
91382288 JH |
8445 | (copy_cfg_body): Accept new_entry_block and bbs_to_copy. |
8446 | (copy_body): Likewise. | |
8447 | (expand_call_inline): Update use of copy_body. | |
8448 | (tree_function_versioning): Update use of copy body; accept | |
8449 | blocks_to_copy and new_entry. | |
8450 | ||
6ac9d3a3 JH |
8451 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
8452 | ||
8453 | * gegenrtl.c: Remove unnecesary prototypes. | |
8454 | (gendecl): Remove. | |
8455 | (gendef): Produce static inline. | |
8456 | (gencode): Remove. | |
8457 | (main): Do not decode parameters; generate header only. | |
8458 | * Makefile.in (genrtl.c): Remove. | |
8459 | ||
2e3b4885 JH |
8460 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
8461 | ||
8462 | * tree-switch-conversion.c (build_one_array): Make it readonly. | |
8463 | ||
0641fa97 RG |
8464 | 2010-06-01 Richard Guenther <rguenther@suse.de> |
8465 | ||
8466 | * optabs.c (init_optabs): Guard all accesses to reinit. | |
8467 | * ipa-pure-const.c (propagate): Fix another typo. | |
8468 | * opts.c (common_handle_option): Split assignment to bool. | |
8469 | * c-opts.c (c_common_handle_option): Likewise. | |
8470 | ||
9cc54940 | 8471 | 2010-06-01 Arnaud Charlet <charlet@adacore.com> |
308e51aa | 8472 | Matthew Gingell <gingell@adacore.com> |
9cc54940 AC |
8473 | |
8474 | * doc/invoke.texi: Mention -fdump-ada-spec. | |
8475 | * tree-dump.c (dump_files): Add ada-spec. | |
8476 | (FIRST_AUTO_NUMBERED_DUMP): Bump to 8. | |
8477 | * tree-pass.h (tree_dump_index): Add TDI_ada. | |
8478 | * gcc.c: Add support for -C without -E and for -fdump-ada-spec. | |
8479 | (cpp_unique_options): Do not reject -C or -CC when -E isn't present. | |
8480 | (default_compilers) <@c-header>: Allow -fdump-ada-spec on header files. | |
8481 | * c-decl.c: Include c-ada-spec.h. | |
8482 | (collect_source_ref_cb, collect_all_refs, for_each_global_decl): New | |
8483 | functions. | |
8484 | (c_write_global_declarations): Add handling of -fdump-ada-spec. | |
8485 | * c-lex.c (c_lex_with_flags): Add handling of CPP_COMMENT. | |
8486 | * Makefile.in (C_AND_OBJC_OBJS): Add c-ada-spec.o. | |
8487 | * c-ada-spec.h, c-ada-spec.c: New files. | |
8488 | ||
97d45cef RG |
8489 | 2010-06-01 Richard Guenther <rguenther@suse.de> |
8490 | ||
8491 | PR lto/43853 | |
8492 | * ipa-pure-const.c (get_function_state): Hand back varying state | |
8493 | if we do not have one. | |
8494 | (has_function_state): New function. | |
8495 | (duplicate_node_data): Adjust. | |
8496 | (remove_node_data): Likewise. | |
8497 | (pure_const_write_summary): Likewise. | |
8498 | (propagate): Likewise. Fix typo. | |
8499 | ||
f7fbb475 JH |
8500 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
8501 | ||
8502 | * tree-cfg.c (verify_stmt): Do not skip could_throw test. | |
8503 | * passes.c (execute_function_todo): Do not make implicit verify_ssa. | |
8504 | (execute_all_ipa_transforms): Do not play with the states. | |
8505 | ||
d47a371c MK |
8506 | 2010-06-01 Maxim Kuvyrkov <maxim@codesourcery.com> |
8507 | ||
8508 | * config/arm/t-linux-androideabi: New. | |
389caea8 | 8509 | * config.gcc (arm*-*-linux-androideabi): Include multilib config. |
d47a371c | 8510 | |
613f61fc JH |
8511 | 2010-06-01 Jan Hubicka <jh@suse.cz> |
8512 | ||
8513 | * tree-inline.c (estimate_num_insns): For stdarg functions look | |
8514 | into call statement to count cost of argument passing. | |
8515 | ||
193d4c0f | 8516 | 2010-06-01 Kai Tietz <kai.tietz@onevision.com> |
42ad7bc8 | 8517 | |
308e51aa UB |
8518 | * config/i386.c (ix86_output_addr_vec_elt): Make LPREFIX |
8519 | argument for fprintf. | |
8520 | (ix86_output_addr_diff_elt): Likewise. | |
8521 | (x86_function_profiler): Likewise. | |
8522 | * config/cygming.h (LOCAL_LABEL_PREFIX): Fix for x64 no-underscore. | |
8523 | (LPREFIX): Likewise. | |
8524 | (ASM_GENERATE_INTERNAL_LABEL): Likewise. | |
42ad7bc8 | 8525 | |
c71ad61e JJ |
8526 | 2010-05-31 Jakub Jelinek <jakub@redhat.com> |
8527 | ||
8528 | PR target/44338 | |
8529 | * config/i386/sse.md (fma4i_fmadd<mode>4256, fma4i_fmsub<mode>4256, | |
8530 | fma4i_fnmadd<mode>4256, fma4i_fnmsub<mode>4256, fma4i_fmadd<mode>4, | |
8531 | fma4i_fmsub<mode>4, fma4i_fnmadd<mode>4, fma4i_fnmsub<mode>4, | |
8532 | fma4i_vmfmadd<mode>4, fma4i_vmfmsub<mode>4, fma4i_vmfnmadd<mode>4, | |
8533 | fma4i_vmfnmsub<mode>4, fma4i_fmaddsubv8sf4, fma4i_fmaddsubv4df4, | |
8534 | fma4i_fmaddsubv4sf4, fma4i_fmaddsubv2df4, fma4i_fmsubaddv8sf4, | |
8535 | fma4i_fmsubaddv4df4, fma4i_fmsubaddv4sf4, fma4i_fmsubaddv2df4): | |
8536 | Guard only with TARGET_FMA4 instead of TARGET_FMA4 && | |
8537 | TARGET_FUSED_MADD. | |
8538 | ||
63f1c699 JH |
8539 | 2010-05-31 Jan Hubicka <jh@suse.cz> |
8540 | ||
8541 | * tree.h (tree_range_check_failed): Declare noreturn. | |
8542 | ||
4892422a JH |
8543 | 2010-05-31 Jan Hubicka <jh@suse.cz> |
8544 | ||
8545 | * gimple.c (gimple_call_builtin_p): New function. | |
8546 | * gimple.h (gimple_call_builtin_p): Declare. | |
8547 | * tree-cfg.c (make_edges): Produce edge from BUILT_IN_RETURN | |
8548 | to exit. | |
8549 | (execute_warn_function_return): BUILT_IN_RETURN is return. | |
8550 | (split_critical_edges): Return edges are not critical. | |
8551 | (is_ctrl_altering_stmt): Builtin_in_return is altering. | |
8552 | (gimple_verify_flow_info): Handle built_in_return. | |
8553 | (execute_warn_function_return): Handle built_in_return. | |
8554 | * ipa-pure-const.c (check_call): Ignore builtin_return. | |
8555 | ||
90a7788b JJ |
8556 | 2010-05-31 Jakub Jelinek <jakub@redhat.com> |
8557 | ||
6a866023 JJ |
8558 | PR middle-end/44337 |
8559 | * expr.c (expand_assignment): Don't store anything for out-of-bounds | |
8560 | array accesses with non-MEM. | |
8561 | ||
90a7788b JJ |
8562 | PR tree-optimization/44182 |
8563 | * tree-inline.c (copy_edges_for_bb): Don't split bb if a stmt that | |
8564 | newly needs to end a bb is followed by debug stmts, instead return | |
8565 | true from the function at the end. | |
8566 | (maybe_move_debug_stmts_to_successors): New function. | |
8567 | (copy_cfg_body): Call it if copy_edges_for_bb returned true. | |
8568 | ||
877a19bf KT |
8569 | 2010-05-31 Kai Tietz <kai.tietz@onevision.com> |
8570 | ||
8571 | PR target/44161 | |
308e51aa | 8572 | * config/i386/cygming.h (SUBTARGET_OVERRIDE_OPTIONS): Handle flag_pic. |
877a19bf | 8573 | |
c5d01958 EB |
8574 | 2010-05-31 Eric Botcazou <ebotcazou@adacore.com> |
8575 | ||
8576 | * cgraphunit.c (cgraph_decide_is_function_needed): Really return false | |
8577 | for nested functions in non-optimized compilation. | |
8578 | ||
a4c9bc15 RG |
8579 | 2010-05-31 Richard Guenther <rguenther@suse.de> |
8580 | ||
308e51aa | 8581 | * tree-ssa-structalias.c (find_func_aliases): Handle BUILT_IN_RETURN. |
a4c9bc15 | 8582 | |
22983f55 JH |
8583 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
8584 | ||
8585 | * predict.c (maybe_hot_edge_p): Calls to functions called once is cold. | |
8586 | ||
66a3e339 RG |
8587 | 2010-05-30 Richard Guenther <rguenther@suse.de> |
8588 | ||
8589 | PR lto/42975 | |
8590 | * tree-eh.c (execute_cleanup_eh_1): Copy from execute_cleanup_eh. | |
8591 | (execute_cleanup_eh): Clear DECL_FUNCTION_PERSONALITY if it is | |
8592 | no longer needed. | |
8593 | ||
83bf7f5e IS |
8594 | 2010-05-30 Iain Sandoe <iains@gcc.gnu.org> |
8595 | ||
8596 | * config/darwin.c (output_objc_section_asm_op): Add comment. | |
8597 | (name_needs_quotes): Add '_' to list of valid comment chars. | |
8598 | (machopic_output_function_base_name): Remove unneeded quotes. | |
8599 | (darwin_encode_section_info): Adjust asm whitespace. | |
8600 | * config/i386/darwin.h (ASM_OUTPUT_COMMON): Adjust asm tabs. | |
8601 | (ASM_OUTPUT_LOCAL): Ditto. | |
8602 | * config/rs6000/darwin.h (ASM_OUTPUT_COMMON): Ditto. | |
8603 | * config/darwin.h (GLOBAL_ASM_OP): Ditto. | |
8604 | * config/darwin9.h (ASM_OUTPUT_ALIGNED_COMMON): Ditto. | |
308e51aa | 8605 | |
18fc5f44 EB |
8606 | 2010-05-30 Eric Botcazou <ebotcazou@adacore.com> |
8607 | ||
8608 | * config/rs6000/rs6000.c (rs6000_output_function_entry): Use | |
8609 | RS6000_OUTPUT_BASENAME unconditionally. | |
8610 | (rs6000_output_function_epilogue): Likewise. | |
8611 | ||
babf1701 JH |
8612 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
8613 | ||
8614 | * toplev.c (wrapup_global_declaration_2): Avoid creation of new varpool | |
c5d01958 | 8615 | nodes. |
babf1701 | 8616 | |
fbd767b1 RG |
8617 | 2010-05-30 Richard Guenther <rguenther@suse.de> |
8618 | ||
8619 | * tree-cfg.c (verify_gimple_assign_single): Implement | |
8620 | verification for COND_EXPR rhs. | |
8621 | ||
0a5fa5a1 JH |
8622 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
8623 | ||
8624 | * cgraph.h (cgraph_dump_file): Declare. | |
8625 | * cgraphunit.c (cgraph_dump_file): Export. | |
308e51aa | 8626 | * ipa.c (dump_cgraph_node_set, dump_varpool_node_set): Be less verbose. |
0a5fa5a1 | 8627 | |
0b9c3a04 JH |
8628 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
8629 | ||
8630 | * dwarf2out.c (reference_to_unused, | |
18fc5f44 EB |
8631 | premark_types_used_by_global_vars_helper): Avoid creation of new |
8632 | varpool nodes. | |
0b9c3a04 | 8633 | |
d56026c2 JH |
8634 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
8635 | ||
8636 | * cgraph.h (cgraph_node_cannot_return, | |
8637 | cgraph_edge_cannot_lead_to_return): New functions. | |
8638 | * cgraph.c (cgraph_node_cannot_return, | |
8639 | cgraph_edge_cannot_lead_to_return): Use them. | |
8640 | * ipa-pure-const.c (pure_const_names): New static var. | |
8641 | (check_call): Handle calls not leading to return. | |
8642 | (pure_const_read_summary): Dump info read. | |
308e51aa UB |
8643 | (propagate): Dump info about propagation process; ignore side effects |
8644 | of functions not leading to exit; fix handling of pure functions. | |
d56026c2 | 8645 | |
17f01631 JH |
8646 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
8647 | ||
8648 | * config/i386/i386.c (pro_epilogue_adjust_stack): Use EBP | |
8649 | for tail call epilogues. | |
8650 | ||
f59292da JH |
8651 | 2010-05-30 Jan Hubicka <jh@suse.cz> |
8652 | ||
8653 | * passes.c (ipa_write_optimization_summaries_1, ipa_write_summaries_2, | |
18fc5f44 EB |
8654 | ipa_read_summaries_1, ipa_read_optimization_summaries_1): Initialize |
8655 | dump files. | |
f59292da | 8656 | |
8a6295ba JH |
8657 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
8658 | ||
18fc5f44 EB |
8659 | * ipa.c (cgraph_remove_unreachable_node): Walk references of correct |
8660 | node; remove references in node we no longer keep in cgrpah but need | |
8661 | body of. | |
8a6295ba | 8662 | |
7baeea85 JH |
8663 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
8664 | ||
8665 | * cgraph.c (cgraph_mark_reachable): Relax check for analyzed nodes. | |
8666 | ||
482959e5 JDA |
8667 | 2010-05-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8668 | ||
8669 | PR target/44165 | |
8670 | * config/pa/pa32-linux.h (CTOR_LIST_BEGIN): Mark __CTOR_LIST__ as used. | |
8671 | ||
24e47c76 JH |
8672 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
8673 | ||
8674 | * tree-vrp.c (debug_value_range, debug_all_value_ranges, | |
8675 | debug_asserts_for, debug_all_asserts): Annotate with DEBUG_FUNCTION. | |
8676 | * tree-into-ssa.c (debug_decl_set, debug_defs_stack, debug_currdefs, | |
8677 | debug_tree_ssa, debug_tree_ssa_stats, debug_def_blocks, | |
308e51aa | 8678 | debug_names_replaced_by, debug_update_ssa): Likewise. |
24e47c76 JH |
8679 | * sbitmap.c (debug_sbitmap): Likewise. |
8680 | * genrecog.c (debug_decision, debug_decision_list): Likewise. | |
8681 | * tree-pretty-print.c (debug_generic_expr, debug_generic_stmt, | |
8682 | debug_tree_chain): Likewise. | |
8683 | * tree-loop-distribution.c (debug_rdg_partitions): Likewise. | |
8684 | * cgraph.c (debug_cgraph_node, debug_cgraph): Likewise. | |
8685 | * optabs.c (debug_optab_libfuncs): Likewise. | |
8686 | (verify_loop_closed_ssa): Likewise. | |
8687 | * value-prof.c (verify_histograms): Likewise. | |
8688 | * reload.c (debug_reload_to_stream, debug_reload): Likewise. | |
8689 | * bitmap.c (debug_bitmap_file, debug_bitmap, bitmap_print): Likewise. | |
8690 | * cfghooks.c (verify_flow_info): Likewise. | |
8691 | * fold-const.c (debug_fold_checksum): Likewise. | |
8692 | * omp-low.c (debug_omp_region, debug_all_omp_regions): Likewise. | |
8693 | * cfg.c (debug_regset, debug_flow_info, debug_bb, debug_bb_n): | |
8694 | Likewise. | |
8695 | * omega.c (debug_omega_problem): Likewise. | |
8696 | * cgraphunit.c (verify_cgraph_node, verify_cgraph): Likewise. | |
8697 | * tree-ssa-ccp.c (debug_lattice_value): Likewise. | |
8698 | * dominance.c (verify_dominators, debug_dominance_info, | |
8699 | debug_dominance_tree): Likewise. | |
8700 | * df-core.c (df_insn_uid_debug, df_insn_debug, df_insn_debug_regno, | |
8701 | * df_regno_debug, df_ref_debug, | |
8702 | debug_df_insn, debug_df_reg, debug_df_regno, debug_df_ref, | |
8703 | debug_df_defno, debug_df_useno, debug_df_chain): Likewise. | |
8704 | * tree-ssa-dom.c (debug_dominator_optimization_stats): Likewise. | |
8705 | * sel-sched.c (debug_state): Likewise. | |
18fc5f44 EB |
8706 | * tree-ssa-alias.c (debug_alias_info, debug_points_to_info_for): |
8707 | Likewise. | |
24e47c76 JH |
8708 | * cfganal.c (print_edge_list, verify_edge_list): Likewise. |
8709 | * dwarf2out.c (debug_dwarf_die, debug_dwarf): Likewise. | |
8710 | * tree-eh.c (verify_eh_edges, verify_eh_dispatch_edge): Likewise. | |
18fc5f44 EB |
8711 | * gimple-pretty-print.c (debug_gimple_stmt, debug_gimple_seq): |
8712 | Likewise. | |
24e47c76 JH |
8713 | * c-pretty-print.c (debug_c_tree): Likewise. |
8714 | * sel-sched-dump.c (debug_insn_rtx, debug_vinsn, debug_expr, debug_insn | |
18fc5f44 EB |
8715 | debug_av_set, debug_lv_set, debug_ilist, debug_blist, |
8716 | debug_insn_vector, debug_hard_reg_set, debug_mem_addr_value): Likewise. | |
24e47c76 JH |
8717 | * ebitmap.c (debug_ebitmap): Likewise. |
8718 | * function.c (debug_find_var_in_block_tree): Likewise. | |
8719 | * print-rtl.c (debug_rtx): Likewise. | |
8720 | (debug_rtx_count): Likewise. | |
8721 | (debug_rtx_list, debug_rtx_range, debug_rtx_find): Likewise. | |
8722 | * stor-layout.c (debug_rli): Likewise. | |
8723 | * ipa.c (debug_cgraph_node_set, debug_varpool_node_set): Likewise. | |
18fc5f44 EB |
8724 | * tree-data-ref.c (debug_data_references, |
8725 | debug_data_dependence_relations, debug_data_reference, | |
8726 | debug_data_dependence_relation, debug_rdg_vertex, | |
24e47c76 JH |
8727 | debug_rdg_component, debug_rdg): Likewise. |
8728 | * tree-affine.c (debug_aff): Likewise. | |
18fc5f44 EB |
8729 | * tree-dfa.c (debug_referenced_vars, debug_variable, debug_dfa_stats): |
8730 | Likewise. | |
24e47c76 JH |
8731 | * except.c (debug_eh_tree, verify_eh_tree): Likewise. |
8732 | * emit-rtl.c (verify_rtl_sharing): Likewise. | |
8733 | * tree-ssa-pre.c (debug_pre_expr, debug_bitmap_set, | |
8734 | debug_value_expressions): Likewise. | |
8735 | * tree-ssa-live.c (debug_scope_block, debug_scope_blocks): Likewise. | |
8736 | * sese.c (debug_rename_map, debug_ivtype_map): Likewise. | |
8737 | * print-tree.c (debug_tree, debug_vec_tree): Likewise. | |
8738 | * cfglayout.c (verify_insn_chain): Likewise. | |
8739 | * graphite-clast-to-gimple.c (debug_clast_name_indexes, | |
8740 | debug_clast_stmt, debug_generated_program): Likewise. | |
8741 | * ggc-page.c (debug_print_page_list): Likewise. | |
8742 | * tree-ssa-ter.c (debug_ter): Likewise. | |
8743 | * graphite-dependences.c (debug_pddr): Likewise. | |
8744 | * sched-deps.c (debug_ds): Likewise. | |
8745 | * tree-ssa.c (verify_ssa): Likewise. | |
8746 | * graphite-poly.c (debug_scattering_function, debug_iteration_domain, | |
8747 | debug_scattering_functions, debug_iteration_domains, debug_pdr, | |
18fc5f44 EB |
8748 | debug_pdrs, debug_pbb_domain, debug_pbb, debug_scop_context, |
8749 | debug_scop, debug_cloog, debug_scop_params, debug_lst): Likewise. | |
24e47c76 JH |
8750 | * tree-inline.c (debug_find_tree): Likewise. |
8751 | * graphite-ppl.c (debug_ppl_linear_expr, debug_ppl_polyhedron_matrix, | |
8752 | debug_ppl_powerset_matrix): Likewise. | |
8753 | * var-tracking.c (debug_dv): Likewise. | |
8754 | * system.h (DEBUG_FUNCTION, DEBUG_VARIABLE): Define. | |
8755 | * cfgloop.c (verify_loop_structure): Likewise. | |
8756 | * plugin.c (dump_active_plugins, debug_active_plugins): Likewise. | |
8757 | * c-common.c (verify_sequence_points): Likewise. | |
8758 | * sched-rgn.c (debug_regions, debug_region, debug_candidate, | |
8759 | debug_candidates, debug_rgn_dependencies): Likewise. | |
8760 | * tree-ssa-structalias.c (debug_constraint, debug_constraints, | |
8761 | * debug_constraint_graph, debug_solution_for_var, | |
8762 | debug_sa_points_to_info): Likewise. | |
8763 | * sched-vis.c (debug_insn_slim, debug_bb_slim, debug_bb_n_slim): | |
8764 | Likewie. | |
8765 | * tree-cfg.c (debug_cfg_stats, verify_stmts, debug_function, | |
8766 | debug_loops, debug_loop, debug_loop_num): Likewise. | |
8767 | * passes.c (debug_pass): Likewise. | |
8768 | (dump_properties): Likewise; add cfglayout property. | |
8769 | (debug_properties): Likewise. | |
8770 | * tree-ssa-reassoc.c (debug_ops_vector): Likewise. | |
8771 | * varpool.c (debug_varpool): Likewise. | |
8772 | * regcprop.c (debug_value_data): Likewise. | |
8773 | * tree-ssa-operands.c (verify_imm_links, debug_immediate_uses, | |
8774 | debug_immediate_uses_for): Likewise. | |
8775 | ||
f9897dfa L |
8776 | 2010-05-29 H.J. Lu <hongjiu.lu@intel.com> |
8777 | ||
8778 | PR bootstrap/44315 | |
8779 | * Makefile.in (build/gencondmd.o): Remove TM_H := $(GTM_H). | |
8780 | Filter out insn-flags.h. | |
8781 | ||
9eec9488 JH |
8782 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
8783 | ||
8784 | * cgraph.h (struct varpool_node_set_def, | |
8785 | struct cgraph_node_set_def): Remove unused AUX pointer. | |
8786 | (cgraph_node_set_nonempty_p, varpool_node_set_nonempty_p): Use | |
8787 | VEC_empty macro. | |
8788 | ||
eb598ce6 JH |
8789 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
8790 | ||
8791 | PR middle-end/44324 | |
8792 | * ipa-cp.c (ipcp_insert_stage): Replace "clone" by "constprop". | |
8793 | ||
1be8f484 RG |
8794 | 2010-05-29 Richard Guenther <rguenther@suse.de> |
8795 | ||
8796 | * lto-streamer.c (cached_bp): New global variable. | |
8797 | (bitpack_create): Return the cached bitpack, if available. | |
8798 | (bitpack_delete): Clear and cache the bitpack, if appropriate. | |
8799 | (bp_pack_value): Remove redundant asserts. | |
8800 | ||
0247298c SP |
8801 | 2010-05-29 Sebastian Pop <sebastian.pop@amd.com> |
8802 | ||
8803 | PR middle-end/44306 | |
8804 | * tree-if-conv.c (is_true_predicate): New. | |
8805 | (is_predicated): Use is_true_predicate. | |
8806 | (add_to_predicate_list): Same. Do not use unshare_expr. | |
8807 | (add_to_dst_predicate_list): Same. | |
8808 | ||
32ccbfac SP |
8809 | 2010-05-29 Sebastian Pop <sebastian.pop@amd.com> |
8810 | ||
8811 | * tree-if-conv.c (add_to_dst_predicate_list): Do not use the ->aux | |
8812 | field on edges. | |
8813 | (predicate_bbs): Same. | |
8814 | (clean_predicate_lists): Same. | |
8815 | (find_phi_replacement_condition): Do not AND the predicate from | |
8816 | edge->aux. | |
8817 | ||
a41021ce L |
8818 | 2010-05-29 H.J. Lu <hongjiu.lu@intel.com> |
8819 | ||
8820 | PR bootstrap/44315 | |
8821 | * Makefile.in (build/gencondmd.o): Add a missing `\'. | |
8822 | ||
bbd07239 JDA |
8823 | 2010-05-29 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
8824 | ||
8825 | PR target/44261 | |
8826 | config/pa/pa.md (negdf2_slow, negsf2_slow): New patterns. | |
8827 | (negdf2): Adjust expander pattern and use negdf2_slow. | |
8828 | (negsf2): Likewise. | |
8829 | ||
25efe060 NF |
8830 | 2010-05-29 Nathan Froyd <froydnj@codesourcery.com> |
8831 | ||
18fc5f44 EB |
8832 | * basic-block.h (struct control_flow_graph): Move last_label_uid field |
8833 | up. | |
25efe060 NF |
8834 | * df.h (struct df_base_ref): Move regno field up. |
8835 | * dwarf2out.c (struct dw_fde_struct): Move funcdef_number field down. | |
8836 | * expr.h (struct separate_ops): Move location field up. | |
8837 | * optabs.h (struct optab_d): Move libcall_basename field down. | |
8838 | * config/i386/i386.c (struct ix86_frame): Move red_zone_size up. | |
8839 | * config/i386/i386.h (struct machine_function): Convert call_abi field | |
8840 | into a bitfield. Move cfa field to the end of the structure. | |
8841 | ||
4cceafb8 JH |
8842 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
8843 | ||
8844 | * varpool.c (varpool_get_node): Fix lookup. | |
8845 | ||
65ea7e28 SB |
8846 | 2010-05-29 Steven Bosscher <steven@gcc.gnu.org> |
8847 | ||
8848 | * config/spu/spu-protos.h: Do not include rtl.h. Protect | |
8849 | RTL specific prototypes with #ifdef RTX_CODE. | |
8850 | * config/spu/spu-c.c: Include c-common.h instead of c-tree.h. | |
8851 | * config/spu/t-spu-elf: Fix dependencies. | |
8852 | ||
1a86e236 SB |
8853 | * config/t-darwin (darwin-c.o): Remove C_TREE_H dependency. |
8854 | ||
d03a97e1 MS |
8855 | 2010-05-29 Mike Stump <mikestump@comcast.net> |
8856 | ||
a41021ce | 8857 | PR bootstrap/44315 |
d03a97e1 MS |
8858 | * Makefile.in (build/gencondmd.o): Be sure to use GTM_H instead of |
8859 | TM_H when building to avoid dependency loops. | |
8860 | ||
f0c418dc JH |
8861 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
8862 | ||
54da01d2 | 8863 | * cgraphunit.c (cgraph_materialize_clone): Only remove calles, |
dedd9d05 | 8864 | refs and body; not the whole node for masters of materialized clones. |
f0c418dc | 8865 | |
5c5543af MS |
8866 | 2010-05-29 Mike Stump <mikestump@comcast.net> |
8867 | ||
8868 | * config/rs6000/rs6000-c.c: Remove c-tree.h include. | |
8869 | ||
036546e5 JH |
8870 | 2010-05-29 Jan Hubicka <jh@suse.cz> |
8871 | ||
8872 | * cgraph.c (clone_function_name): Take SUFFIX argument; export. | |
8873 | (cgraph_create_virtual_clone): Take SUFFIX argument; udpate | |
8874 | use of clone_function_name. | |
308e51aa | 8875 | * cgraph.h (cgraph_create_virtual_clone, |
036546e5 JH |
8876 | cgraph_function_versioning): update prototypes. |
8877 | (clone_function_name): Declare. | |
8878 | * ipa-cp.c (ipcp_insert_stage): Update call of | |
8879 | cgraph_create_virtual_clone. | |
8880 | * omp-low.c (create_omp_child_function_name): Use | |
8881 | cgraph_create_virtual_clone. | |
8882 | * cgraphunit.c (cgraph_copy_node_for_versioning): Fix edges updating. | |
8883 | (cgraph_function_versioning): Take SUFFIX argument; produce new name | |
8884 | and make decl local. | |
8885 | ||
3e097227 SB |
8886 | 2010-05-29 Steven Bosscher <steven@gcc.gnu.org> |
8887 | ||
8888 | * vec.h: Include statistics.h | |
8889 | * Makefile.in: Introduce VEC_H. Replace all vec.h dependencies | |
8890 | with VEC_H. | |
8891 | ||
accf9ad6 SB |
8892 | 2010-05-29 Steven Bosscher <steven@gcc.gnu.org> |
8893 | ||
3d25c396 UB |
8894 | * c-lex.c: Do not include c-tree.h. |
8895 | * c-pretty-print.c: Likewise. | |
8896 | * c-opts.c: Likewise. | |
8897 | * c-gimplify.c: Likewise. | |
accf9ad6 SB |
8898 | * c-common.c: Likewise. |
8899 | * c-dump.c: Likewise. Include c-common.h. | |
8900 | ||
59cc9210 SB |
8901 | 2010-05-29 Steven Bosscher <steven@gcc.gnu.org> |
8902 | ||
8903 | * c-common.h (GCC_DIAG_STYLE): Define earlier in the file, | |
8904 | before including diagnostic-core.h. | |
8905 | (c_cpp_error): New prototype moved from c-tree.h. | |
8906 | Use ATTRIBUTE_GCC_DIAG instead of ATTRIBUTE_GCC_CDIAG. | |
8907 | * c-tree.h (ATTRIBUTE_GCC_CDIAG): Remove define. | |
8908 | (pedwarn_c90, perwarn_c99): Use ATTRIBUTE_GCC_DIAG instead. | |
8909 | (c_cpp_error): Prototype moved to c-common.h. | |
8910 | * Makefile.in: Update dependency for C_COMMON_H. | |
8911 | ||
bffad7f1 SB |
8912 | 2010-05-29 Steven Bosscher <steven@gcc.gnu.org> |
8913 | ||
8914 | * c-common.h: Add FIXME for awkward split of c_register_addr_space. | |
8915 | * c-common.c (c_register_addr_space): Remove here. | |
8916 | * c-decl.c (c_register_addr_space): Re-add here. | |
8917 | ||
d685a689 MS |
8918 | 2010-05-28 Mike Stump <mikestump@comcast.net> |
8919 | ||
8920 | * config/darwin-c.c: Remove c-tree.h include. | |
8921 | ||
6afbc885 JM |
8922 | 2010-05-28 Joseph Myers <joseph@codesourcery.com> |
8923 | ||
8924 | * gcc.c: Include diagnostic.h. | |
8925 | (error_count): Remove. All users changed to use errorcount. | |
8926 | (programname): Remove. All users changed to use progname. | |
8927 | (fancy_abort, internal_error, fatal_error, error, warning, inform, | |
8928 | fnotice): Remove. | |
8929 | (execute): Don't include "Internal error" and bug reporting | |
8930 | information in argument of internal_error call. | |
8931 | (process_command): Don't increment error_count after calling | |
8932 | perror_with_name. | |
8933 | (input_filename): Rename to gcc_input_filename. All users | |
8934 | changed. | |
8935 | (main): Call diagnostic_initialize. Register delete_temp_files | |
8936 | with atexit. Use seen_error to test for errors. | |
8937 | * gcc.h: Include diagnostic-core.h. | |
8938 | (fatal_error, error, warning): Remove. | |
8939 | * Makefile.in (GCC_H): Add $(DIAGNOSTIC_CORE_H). | |
8940 | (GCC_OBJS): Add diagnostic.o, pretty-print.o and input.o. | |
8941 | (gcc.o): Update dependencies. | |
8942 | ||
bdf0eb06 JL |
8943 | 2010-05-28 Jeff Law <law@redhat.com> |
8944 | ||
0896cc66 JL |
8945 | * ira.c (ira_bad_reload_regno, ira_build_reload_regno_1): New |
8946 | functions. | |
8947 | * ira.h (ira_bad_reload_regno): Declare | |
8948 | * reload1.c (allocate_reload_reg): Use ira_bad_reload_regno. | |
8949 | ||
bdf0eb06 JL |
8950 | * ira-color.c (update_curr_costs): Free updated hard reg costs. |
8951 | (ira_reassign_conflict_allocnos): Remove bogus asserts. | |
8952 | (allocno_reload_assign): Likewise. | |
8953 | ||
4a73490d NF |
8954 | 2010-05-28 Nathan Froyd <froydnj@codesourcery.com> |
8955 | ||
8956 | * tree-vect-stmts.c (vectorizable_assignment): Call build1 instead of | |
8957 | build1_stat. | |
8958 | ||
86561bb6 RG |
8959 | 2010-05-28 Richard Guenther <rguenther@suse.de> |
8960 | ||
8961 | PR lto/44312 | |
8962 | * lto-streamer-in.c (unpack_ts_fixed_cst_value_fields): | |
8963 | Stream fixed-point constants mode. | |
8964 | (unpack_ts_type_value_fields): Fix width of TYPE_MODE | |
8965 | and TYPE_PRECISION. | |
8966 | * lto-streamer-out.c (pack_ts_fixed_cst_value_fields): | |
8967 | Stream fixed-point constants mode. | |
8968 | (pack_ts_function_decl_value_fields): Fix width of TYPE_MODE | |
8969 | and TYPE_PRECISION. | |
8970 | ||
0a74c758 SP |
8971 | 2010-05-28 Sebastian Pop <sebastian.pop@amd.com> |
8972 | ||
8973 | * tree-scalar-evolution.c (set_nb_iterations_in_loop): Inlined in the | |
8974 | only place it was called from. | |
8975 | (number_of_latch_executions): Do not return chrec_dont_know when the | |
8976 | may_be_zero is a runtime condition: instead, return a COND_EXPR | |
8977 | including the may_be_zero condition. | |
8978 | * cfgloop.h (struct loop): Add a note on COND_EXPRs to the comment | |
8979 | of nb_iterations. | |
8980 | * tree-ssa-loop-ivopts.c (contains_abnormal_ssa_name_p): Handle | |
8981 | COND_EXPRs. | |
8982 | ||
e7cb8957 SP |
8983 | 2010-05-28 Sebastian Pop <sebastian.pop@amd.com> |
8984 | ||
8985 | * tree-if-conv.c (replace_phi_with_cond_gimple_assign_stmt): Don't | |
8986 | generate COND_EXPRs for degenerate_phi_result. | |
8987 | ||
d10e857e SP |
8988 | 2010-05-28 Sebastian Pop <sebastian.pop@amd.com> |
8989 | ||
8990 | PR middle-end/44293 | |
8991 | * tree-if-conv.c (if_convertible_loop_p): Check the | |
8992 | if-convertibility of phi nodes in non predicated BBs. | |
8993 | ||
6cffd02a JM |
8994 | 2010-05-28 Joseph Myers <joseph@codesourcery.com> |
8995 | ||
8996 | * gcc.c (error, warning, inform): Remove duplicate ": " in output. | |
8997 | ||
2dec80c7 JM |
8998 | 2010-05-28 Joseph Myers <joseph@codesourcery.com> |
8999 | ||
9000 | PR driver/15303 | |
9001 | * gcc.c (inform, warning, inform): New functions. | |
9002 | (fatal_ice): Rename to internal_error; change cmsgid parameter to | |
9003 | gmsgid. All callers changed. | |
dedd9d05 | 9004 | (notice): Rename to fnotice; add parameter fp. All callers changed. |
2dec80c7 JM |
9005 | (fatal_error): Rename to fatal_signal. All users changed. |
9006 | (fatal): Rename to fatal_error; change cmsgid parameter to | |
9007 | gmsgid. All callers changed. | |
9008 | (process_command): Use warning instead of error for warnings. | |
9009 | (end_going_arg): Don't use _() around argument of error. | |
9010 | (do_spec_1): Use inform for message from %n specs. Use warning | |
9011 | instead of error for warnings. | |
9012 | (main): Use inform for comparison messages. Use warning for | |
9013 | message about unused linker input. | |
9014 | (error): Increment error_count. Print "error: ". | |
9015 | * gcc.h (fatal): Change to fatal_error. | |
9016 | (warning): Declare. | |
9017 | * config/darwin-driver.c (darwin_default_min_version): Use warning | |
9018 | instead of fprintf for warnings. | |
dedd9d05 | 9019 | * cppspec.c (lang_specific_driver): Use fatal_error instead of fatal. |
2dec80c7 | 9020 | |
dcd8b2ee JB |
9021 | 2010-05-28 Julian Brown <julian@codesourcery.com> |
9022 | ||
9023 | * config/arm/thumb2.md (*thumb2_addsi3_compare0): New. | |
9024 | (*thumb2_addsi3_compare0_scratch): New. | |
9025 | * config/arm/constraints.md (Pv): New. | |
9026 | * config/arm/arm.md (*addsi3_compare0): Remove FIXME comment. Use | |
9027 | for ARM mode only. | |
9028 | (*addsi3_compare0_scratch): Likewise. | |
9029 | ||
df24c2b8 JH |
9030 | 2010-05-28 Jan Hubicka <jh@suse.cz> |
9031 | ||
6c608111 EB |
9032 | * ipa-reference.c (add_static_var): Remove redundant all_module_statics |
9033 | check. | |
9034 | (ipa_reference_write_optimization_summary): Call is_proper_for_analysis | |
9035 | only on local statics. | |
df24c2b8 | 9036 | |
c3a9a336 IS |
9037 | 2010-05-28 Iain Sandoe <iains@gcc.gnu.org> |
9038 | ||
308e51aa | 9039 | * config.gcc (*-*-darwin*): Adjust t-make fragments for Darwin. |
c3a9a336 | 9040 | |
47089d42 MK |
9041 | 2010-05-28 Maxim Kuvyrkov <maxim@codesourcery.com> |
9042 | ||
9043 | PR bootstrap/44314 | |
9044 | * config/alpha/linux.h, config/rs6000/linux.h, config/rs6000/linux64.h | |
9045 | (OPTION_GLIBC): Define. | |
9046 | ||
005d613b JJ |
9047 | 2010-05-28 Jakub Jelinek <jakub@redhat.com> |
9048 | ||
cced5e7f JJ |
9049 | PR debug/41048 |
9050 | * dwarf2out.c (double_int_type_size_in_bits): New function. | |
9051 | (round_up_to_align): Change first argument and return value to | |
9052 | double_int. | |
9053 | (field_byte_offset): Work internally on double_ints. | |
9054 | ||
005d613b JJ |
9055 | PR target/43636 |
9056 | * builtins.c (expand_movstr): Use a temporary pseudo instead | |
9057 | of target even when target is not NULL and not const0_rtx, but | |
9058 | fails movstr predicate. | |
9059 | * config/m32c/blkmov.md (movstr): Add predicate to first operand. | |
9060 | ||
7ca92787 JM |
9061 | 2010-05-28 Joseph Myers <joseph@codesourcery.com> |
9062 | ||
9063 | * final.c (rest_of_clean_state): Use %m in errors instead of | |
9064 | strerror (errno). | |
9065 | * gengtype.c (read_input_list, close_output_files): Use xstrerror | |
9066 | instead of strerror. | |
9067 | * toplev.c (process_options): Use %m in errors instead of strerror | |
9068 | (errno). | |
9069 | * tree-dump.c (dump_begin): Use %m in errors instead of strerror | |
9070 | (errno). | |
9071 | ||
8bf85f21 UB |
9072 | 2010-05-28 Uros Bizjak <ubizjak@gmail.com> |
9073 | ||
9074 | * config/i386/i386.c (ix86_fn_abi_va_list): Make static. | |
9075 | (ix86_canonical_va_list_type): Make static. Add declaration. | |
9076 | (ix86_enum_va_list): Make static. Reindent. | |
9077 | * config/i386/i386-protos.h (ix86_fn_abi_va_list): Remove declaration. | |
9078 | (ix86_canonical_va_list_type): Ditto. | |
9079 | (ix86_enum_va_list): Ditto. | |
9080 | ||
b5611987 RG |
9081 | 2010-05-28 Richard Guenther <rguenther@suse.de> |
9082 | ||
9083 | * lto-wrapper.c (run_gcc): With -save-temps generate a | |
9084 | user-visible ltrans filename. Fixup ltrans unit numbering. | |
9085 | ||
40dcd88b KT |
9086 | 2010-05-28 Kai Tietz <kai.tietz@onevision.com> |
9087 | ||
d4048208 KT |
9088 | * c-common.c (c_common_nodes_and_builtins): Replace use |
9089 | of TARGET_ENUM_VA_LIST by target hook enum_va_list. | |
9090 | * config/i386/i386.c (TARGET_ENUM_VA_LIST_P): Hook | |
9091 | to ix86_enum_va_list. | |
9092 | * config/i386/i386.h (TARGET_ENUM_VA_LIST): Removed. | |
9093 | * doc/tm.texi (TARGET_ENUM_VA_LIST): Removed. | |
9094 | (TARGET_ENUM_VA_LIST_P): Add hook description. | |
9095 | * target-def.h (TARGET_ENUM_VA_LIST_P): Added. | |
9096 | * target.h (gcc_target): Add enum_va_list hook. | |
9097 | ||
40dcd88b KT |
9098 | PR bootstrap/44299 |
9099 | * config/i386/t-cygming: Adjust header dependencies for winnt-cxx.c. | |
9100 | * config/i386/winnt-cxx.c (IN_GCC_FRONTEND): Remove undefine. | |
9101 | * config/i386/winnt.c (IN_GCC_FRONTEND): Likewise. | |
9102 | ||
1cb980a2 AM |
9103 | 2010-05-28 Alan Modra <amodra@gmail.com> |
9104 | ||
9105 | PR target/44266 | |
9106 | * config/rs6000/rs6000.c (rs6000_legitimize_tls_address): Use | |
9107 | emit_library_call machinery to set up __tls_get_addr calls. | |
9108 | ||
b247e88a AK |
9109 | 2010-05-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9110 | ||
9111 | * config/s390/s390.md (movqi): Fix typo ('*' -> '#'). | |
9112 | ||
ec4be2f4 DS |
9113 | 2010-05-28 Dodji Seketeli <dodji@redhat.com> |
9114 | ||
6c608111 | 9115 | Revert fix for PR c++/44188 |
ec4be2f4 DS |
9116 | * c-common.c (is_typedef_decl): Revert the moving of this |
9117 | definition ... | |
9118 | * tree.c (is_typedef_decl): ... here. | |
9119 | (typdef_variant_p): Revert the moving of this definition | |
9120 | here from gcc/cp/tree.c. | |
9121 | * c-common.h (is_typedef_decl): Revert the moving of this | |
9122 | declaration ... | |
9123 | * tree.h (is_typedef_decl): ... here. | |
9124 | (typedef_variant_p): Revert the moving of this declaration here | |
9125 | from gcc/cp/cp-tree.h | |
9126 | * dwarf2out.c (is_naming_typedef_decl): Revert this new function. | |
9127 | (gen_tagged_type_die): Revert the splitting out of ... | |
9128 | (gen_type_die_with_usage): ... this function. Revert the anonymous | |
9129 | tagged type handling. | |
9130 | (gen_typedef_die): Revert emitting DW_TAG_typedef for | |
9131 | typedefs naming anonymous tagged types. | |
9132 | ||
3fe7b63c SB |
9133 | 2010-05-28 Segher Boessenkool <segher@kernel.crashing.org> |
9134 | ||
9135 | * config/rs6000/rs6000-modes.def (PSImode): Delete. | |
9136 | ||
f6b5d695 SB |
9137 | 2010-05-28 Segher Boessenkool <segher@kernel.crashing.org> |
9138 | ||
9139 | * config/rs6000/constraints.md ("z" constraint): Change to CA_REGS. | |
9140 | * config/rs6000/predicates.md: Change XER_REGNO_P to CA_REGNO_P | |
9141 | throughout. | |
9142 | * config/rs6000/rs6000.c (rs6000_reg_names, alt_reg_names): Change | |
9143 | "xer" to "ca". | |
9144 | Change XER_REGNO_P to CA_REGNO_P, XER_REGNO to CA_REGNO, and | |
9145 | XER_REGS to CA_REGS throughout. | |
9146 | * config/rs6000/rs6000.h: Same. | |
9147 | (ADDITIONAL_REGISTER_NAMES): Add "xer". | |
9148 | * config/rs6000/rs6000.md: Change XER_REGNO to CA_REGNO. Document | |
9149 | that mode_iterator "P" is the size for arithmetic carries as well. | |
9150 | * doc/md.texi (rs6000 section, "z" constraint): Fix documentation. | |
9151 | ||
47027bf3 JJ |
9152 | 2010-05-28 Jakub Jelinek <jakub@redhat.com> |
9153 | ||
9154 | PR bootstrap/44255 | |
9155 | * combine.c (struct rtx_subst_pair): Define unconditionally. | |
9156 | (propagate_for_debug_subst): Likewise. If not AUTO_INC_DEC, | |
9157 | copy_rtx pair->to instead of cleanup_auto_inc_dec it. | |
9158 | Call make_compound_operation on pair->to. | |
9159 | (propagate_for_debug): Don't call make_compound_operation here. | |
9160 | Always use simplify_replace_fn_rtx. | |
9161 | ||
9162 | 2010-05-27 Sterling Augustine <sterling@tensilica.com> | |
1b408ba1 SA |
9163 | |
9164 | * doc/invoke.texi (xtensa options): Add -mforce-no-pic. | |
9165 | * config/xtensa/xtensa.c (override_options): Check | |
9166 | TARGET_FORCE_NO_PIC and set flag_pic. | |
9167 | * config/xtensa/xtensa.opt: Document -mforce-no-pic | |
9168 | ||
9169 | 2010-05-27 Kai Tietz <kai.tietz@onevision.com> | |
9170 | ||
0bc25dd0 KT |
9171 | PR bootstrap/44299 |
9172 | * config/i386/winnt.c (IN_GCC_FRONTEND): Undefine. | |
9173 | * config/i386/winnt-cxx.c (IN_GCC_FRONTEND): Likewise. | |
9174 | ||
1da2ed5f JM |
9175 | 2010-05-27 Joseph Myers <joseph@codesourcery.com> |
9176 | ||
9177 | * diagnostic-core.h: New. Contents moved from diagnostic.h and | |
9178 | toplev.h. | |
9179 | * diagnostic.c: Don't include toplev.h. | |
9180 | (progname): Define. Moved from toplev.c. | |
9181 | (seen_error): New function. | |
9182 | * diagnostic.h: Include diagnostic-core.h. | |
9183 | (diagnostic_t, emit_diagnostic): Don't declare here. | |
9184 | * toplev.c (progname): Move to toplev.c. | |
9185 | (emit_debug_global_declarations, compile_file, finalize, | |
9186 | do_compile, toplev_main): Use seen_error. | |
9187 | * toplev.h: Include diagnostic-core.h. | |
9188 | (trim_filename, GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG, | |
9189 | internal_error, warning, warning_at, error, error_n, error_at, | |
9190 | fatal_error, pedwarn, permerror, sorry, inform, inform_n, | |
9191 | verbatim, fnotice, progname): Move to diagnostic-core.h. | |
9192 | * builtins.c: Include diagnostic-core.h instead of diagnostic.h. | |
9193 | (expand_builtin_expect): Use seen_error. | |
9194 | * c-decl.c: Include diagnostic-core.h instead of diagnostic.h. | |
9195 | (c_make_fname_decl, c_write_global_declarations): Use seen_error. | |
9196 | * c-format.c: Include diagnostic-core.h instead of diagnostic.h. | |
9197 | * c-gimplify.c: Include diagnostic-core.h instead of diagnostic.h. | |
9198 | * c-lang.c: Include diagnostic-core.h instead of diagnostic.h. | |
9199 | * c-lex.c (c_lex_with_flags, interpret_float): Don't increment | |
9200 | errorcount for errors. | |
9201 | * c-opts.c (c_common_finish): Use seen_error. | |
9202 | * cgraph.c: Include diagnostic-core.h instead of diagnostic.h. | |
9203 | * cgraphunit.c (verify_cgraph_node, verify_cgraph, | |
9204 | cgraph_output_pending_asms, cgraph_optimize): Use seen_error. | |
9205 | * coverage.c: Include diagnostic-core.h instead of diagnostic.h. | |
9206 | (get_coverage_counts): Use seen_error. | |
9207 | * dwarf2out.c (dwarf2out_finish): Use seen_error. | |
9208 | * gimplify.c (gimplify_var_or_parm_decl, gimple_push_cleanup, | |
9209 | gimplify_body): Use seen_error. | |
9210 | * ipa-inline.c (cgraph_early_inlining): Use seen_error. | |
9211 | * ipa-pure-const.c (gate_pure_const): Use seen_error. | |
9212 | * ipa-reference.c (gate_reference): Use seen_error. | |
9213 | * jump.c: Include diagnostic-core.h instead of diagnostic.h. | |
9214 | * lambda-code.c: Include diagnostic-core.h instead of | |
9215 | diagnostic.h. | |
9216 | * lto-cgraph.c: Include diagnostic-core.h instead of diagnostic.h. | |
9217 | * lto-compress.c: Include diagnostic-core.h instead of | |
9218 | diagnostic.h. | |
9219 | * lto-section-in.c: Include diagnostic-core.h instead of | |
9220 | diagnostic.h. | |
9221 | * lto-streamer-out.c: Include diagnostic-core.h instead of | |
9222 | diagnostic.h. | |
9223 | * lto-streamer.c: Include diagnostic-core.h instead of | |
9224 | diagnostic.h. | |
9225 | (gate_lto_out): Use seen_error. | |
9226 | * matrix-reorg.c: Include diagnostic-core.h instead of | |
9227 | diagnostic.h. | |
9228 | * omega.c: Include diagnostic-core.h instead of diagnostic.h. | |
9229 | * omp-low.c: Include diagnostic-core.h instead of diagnostic.h. | |
9230 | (gate_expand_omp, lower_omp_1): Use seen_error. | |
9231 | * passes.c: Include diagnostic-core.h instead of diagnostic.h. | |
9232 | (rest_of_decl_compilation, rest_of_type_compilation, | |
9233 | gate_rest_of_compilation, ipa_write_summaries): Use seen_error. | |
9234 | * tree-cfg.c (label_to_block_fn): Use seen_error. | |
9235 | * tree-inline.c (optimize_inline_calls): Use seen_error. | |
9236 | * tree-mudflap.c (mudflap_finish_file): Use | |
9237 | seen_error. | |
9238 | * tree-optimize.c (gate_all_optimizations, | |
9239 | gate_all_early_local_passes, gate_all_early_optimizations): Use | |
9240 | seen_error. | |
9241 | * tree-ssa-structalias.c (gate_ipa_pta): Use seen_error. | |
9242 | * varpool.c: Include diagnostic-core.h instead of diagnostic.h. | |
9243 | (varpool_remove_unreferenced_decls, | |
9244 | varpool_assemble_pending_decls): Use seen_error. | |
9245 | * Makefile.in (DIAGNOSTIC_CORE_H): Define. | |
9246 | (TOPLEV_H, DIAGNOSTIC_H): Update. | |
9247 | (c-decl.o, c-lang.o, c-format.o, lto-compress.o, lto-cgraph.o, | |
9248 | lto-streamer-out.o, lto-section-in.o, lto-streamer.o, | |
9249 | c-gimplify.o, omp-low.o, omega.o, diagnostic.o, passes.o, | |
9250 | builtins.o, jump.o, cgraph.o, varpool.o, matrix-reorg.o, | |
9251 | coverage.o, lambda-code.o): Update dependencies. | |
9252 | ||
fe08ec12 DS |
9253 | 2010-05-25 Dodji Seketeli <dodji@redhat.com> |
9254 | ||
9255 | PR c++/44188 | |
9256 | * c-common.c (is_typedef_decl): Move this definition ... | |
9257 | * tree.c (is_typedef_decl): ... here. | |
9258 | (typdef_variant_p): Move definition here from gcc/cp/tree.c. | |
9259 | * c-common.h (is_typedef_decl): Move this declaration ... | |
9260 | * tree.h (is_typedef_decl): ... here. | |
9261 | (typedef_variant_p): Move declaration here from gcc/cp/cp-tree.h | |
9262 | * dwarf2out.c (is_naming_typedef_decl): New function. | |
9263 | (gen_tagged_type_die): Split out of ... | |
9264 | (gen_type_die_with_usage): ... this function. When an anonymous | |
9265 | tagged type is named by a typedef, make sure a DW_TAG_typedef DIE | |
9266 | is emitted for the typedef. | |
9267 | (gen_typedef_die): Emit DW_TAG_typedef also for typedefs naming | |
9268 | anonymous tagged types. | |
9269 | ||
b042534c JM |
9270 | 2010-05-27 Jason Merrill <jason@redhat.com> |
9271 | ||
9272 | * print-tree.c (debug_vec_tree): New fn. | |
9273 | (print_vec_tree): New fn. | |
9274 | * tree.h: Declare them. | |
9275 | * gdbinit.in (pvt): New command. | |
9276 | ||
9277 | * print-tree.c (print_node) [TREE_VEC]: Print elements normally. | |
9278 | ||
9279 | * gdbinit.in (pdd): New command. | |
9280 | ||
cdc029b9 JH |
9281 | 2010-05-27 Jan Hubicka <jh@suse.cz> |
9282 | ||
9283 | * ipa-inline.c (cgraph_estimate_size_after_inlining): Make inline. | |
9284 | (update_caller_keys): Return early if there are no callers; | |
9285 | only update fibheap when decresing the key. | |
9286 | (update_callee_keys): Avoid recursion. | |
9287 | (decide_inlining_of_small_functions): When badness does not match; | |
9288 | re-insert into fibheap. | |
9289 | ||
7a3b4887 SB |
9290 | 2010-05-27 Steven Bosscher <steven@gcc.gnu.org> |
9291 | ||
9292 | * Makefile.in (ALL_CFLAGS): Add file-specific CFLAGS. | |
9293 | (ALL_HOST_FRONTEND_OBJS): New, for all front-end specific objects. | |
9294 | (ALL_HOST_BACKEND_OBJS): New, for all backend and target objects. | |
9295 | (ALL_HOST_OBJS): Now a union of the above two. | |
9296 | <section "Language makefile fragments">: Add -DIN_GCC_FRONTEND for | |
9297 | all files in ALL_HOST_FRONTEND_OBJS. | |
9298 | * system.h: Poison GCC_RTL_H if IN_GCC_FRONTEND is defined. | |
9299 | ||
9300 | * c-common.c: Pretend to be a backend file by undefining | |
9301 | IN_GCC_FRONTEND (still need rtl.h here). | |
9302 | ||
753d358d JH |
9303 | 2010-05-27 Jan Hubicka <jh@suse.cz> |
9304 | ||
9305 | * cgraph.h (struct cgraph_node): Mark former_clone_of by GTY ((skip)). | |
9306 | * cgraphunit.c (clone_of_p): Compile only when checking is enabled. | |
9307 | ||
88302d54 JH |
9308 | 2010-05-27 Jan Hubicka <jh@suse.cz> |
9309 | ||
9310 | * sched-ebb.c: Rename struct deps to struct deps_desc. | |
9311 | * ddg.c: Likewise. | |
9312 | * sel-sched-ir.c: Likewise. | |
9313 | * sched-deps.c: Likewise. | |
9314 | * sched-int.h: Likewise. | |
9315 | * sched-rgn.c: Likewise. | |
9316 | ||
f4a4b582 | 9317 | 2010-05-27 Jon Beniston <jon@beniston.com> |
9bb81453 JB |
9318 | |
9319 | PR 43726 | |
308e51aa | 9320 | * config/lm32/lm32.h: Remove definition of |
9bb81453 JB |
9321 | GO_IF_MODE_DEPENDENT_ADDRESS. Update copyright year. |
9322 | ||
7951d88a EB |
9323 | 2010-05-27 Eric Botcazou <ebotcazou@adacore.com> |
9324 | ||
9325 | PR lto/44230 | |
9326 | * dwarf2out.c (dwarf2out_begin_prologue): Fix nits in sorry message. | |
9327 | ||
fde9c428 RG |
9328 | 2010-05-27 Richard Guenther <rguenther@suse.de> |
9329 | ||
9330 | PR tree-optimization/44284 | |
9331 | * tree-vect-stmts.c (vectorizable_assignment): Handle | |
9332 | sign-changing conversions as simple copy. | |
9333 | ||
3714764d MK |
9334 | 2010-05-27 Maxim Kuvyrkov <maxim@codesourcery.com> |
9335 | ||
9336 | * gthr-posix.h (pthread_cancel): Don't declare if compiling against | |
9337 | Bionic C library. | |
9338 | (__gthread_active_p): Check for pthread_create if compiling against | |
9339 | Bionic C library. | |
9340 | ||
51b9db92 MK |
9341 | 2010-05-27 Maxim Kuvyrkov <maxim@codesourcery.com> |
9342 | ||
9343 | Support compilation for Android platform. Reimplement -mandroid. | |
9344 | ||
9345 | * config.gcc (*linux*): Include linux-android.h and linux-android.opt. | |
9346 | (*android*): Set ANDROID_DEFAULT. | |
9347 | (arm*-*-linux*): Include linux-android.h. | |
9348 | (arm*-*-eabi*): Don't include previous -mandroid implementation. | |
9349 | * config/arm/eabi.h: Remove, move Android-specific parts ... | |
9350 | * config/linux-android.h: ... here. New file. | |
9351 | * config/arm/eabi.opt: Rename to ... | |
9352 | * config/linux-android.opt: ... this. | |
9353 | (mandroid): Allow -mno-android option. Initialize based on | |
9354 | ANDROID_DEFAULT. | |
9355 | * config/linux.h (STARTFILE_SPEC, ENDFILE_SPEC, CC1_SPEC, LIB_SPEC): | |
9356 | Move logic to corresponding LINUX_TARGET_* macros. | |
9357 | (TARGET_OS_CPP_BUILTINS): Define __ANDROID__, when appropriate. | |
9358 | * config/linux-eabi.h (LINK_SPEC, CC1_SPEC, CC1PLUS_SPEC, LIB_SPEC,) | |
9359 | (STARTFILE_SPEC, ENDFILE_SPEC): Define to choose between Linux and | |
9360 | Android definitions. | |
9361 | (LINUX_TARGET_OS_CPP_BUILTINS): Define __ANDROID__ if TARGET_ANDROID. | |
9362 | * doc/invoke.texi (-mandroid, -tno-android-cc, -tno-android-ld): | |
9363 | Document. | |
9364 | ||
74c70253 MK |
9365 | 2010-05-27 Maxim Kuvyrkov <maxim@codesourcery.com> |
9366 | ||
9367 | Add support for Bionic C library | |
9368 | ||
9369 | * config.gcc (LIBC_GLIBC, LIBC_BIONIC, LIBC_UCLIBC): New tm_define | |
9370 | macro. | |
9371 | (DEFAULT_LIBC): New tm_define macro set to one of LIBC_*. | |
9372 | (bfin*-uclinux, moxie-*-uclinux*, m68k-*-uclinux*): Update. | |
9373 | ||
9374 | * config/linux.h (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC): Define. | |
9375 | (LINUX_TARGET_OS_CPP_BUILTINS): Define __gnu_linux__ only for GLIBC. | |
9376 | (CHOOSE_DYNAMIC_LINKER1, CHOOSE_DYNAMIC_LINKER): Make it easier | |
9377 | to support multiple C libraries. Handle Bionic. | |
9378 | (BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,) | |
9379 | (BIONIC_DYNAMIC_LINKER64): Define. | |
9380 | (LINUX_DYNAMIC_LINKER, LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64): | |
9381 | Update. | |
9382 | (TARGET_HAS_SINCOS): Enable for Bionic. | |
9383 | ||
9384 | * config/linux.opt: Rewrite to handle more than 2 C libraries. Make | |
9385 | the last option specified on command line take effect. | |
9386 | (linux_uclibc): Rename to linux_libc, initialize using DEFAULT_LIBC. | |
9387 | (mbionic): New. | |
9388 | (mglibc, muclibc): Update. | |
9389 | ||
9390 | * config/alpha/linux-elf.h, config/rs6000/linux64.h, | |
9391 | * config/rs6000/sysv4.h (CHOOSE_DYNAMIC_LINKER): Update to use | |
9392 | DEFAULT_LIBC. | |
9393 | ||
9394 | * doc/invoke.texi (-mglibc, -muclibc): Update. | |
9395 | (-mbionic): Document. | |
9396 | ||
3ef0694c UW |
9397 | 2010-05-27 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
9398 | ||
9399 | * c-common.h (c_register_addr_space): Add prototype. | |
9400 | (ADDR_SPACE_KEYWORD): Remove. | |
9401 | * c-common.c (c_register_addr_space): New function. | |
9402 | (c_addr_space_name): Reimplement. | |
9403 | (c_common_reswords): Do not include TARGET_ADDR_SPACE_KEYWORDS. | |
9404 | ||
9405 | * config/spu/spu.h (TARGET_ADDR_SPACE_KEYWORDS): Remove. | |
9406 | (REGISTER_TARGET_PRAGMAS): Call c_register_addr_space. | |
9407 | ||
9408 | * doc/tm.texi (Named Address Spaces): Mention c_register_addr_space. | |
9409 | Remove TARGET_ADDR_SPACE_KEYWORDS. | |
9410 | ||
447924ef JM |
9411 | 2010-05-27 Joseph Myers <joseph@codesourcery.com> |
9412 | ||
9413 | * input.c: New file. | |
9414 | * input.h (main_input_filename): Move declaration to toplev.h. | |
9415 | * toplev.c (input_location, line_table): Move to input.c | |
9416 | * toplev.h (main_input_filename): Move declaration from input.h. | |
9417 | * tree.c (expand_location): Move to input.c. | |
9418 | * Makefile.in (OBJS-common): Add input.o. | |
9419 | (input.o): Add dependencies. | |
9420 | ||
62116e60 RG |
9421 | 2010-05-27 Richard Guenther <rguenther@suse.de> |
9422 | ||
9423 | * lto-wrapper.c (maybe_unlink_file): Ignore unlink failure | |
9424 | for non-existant files. | |
9425 | (fork_execute): Mark args_name file as deleted. | |
9426 | ||
64c31785 KT |
9427 | 2010-05-27 Kai Tietz <kai.tietz@onevision.com> |
9428 | ||
9429 | PR bootstrp/44287 | |
9430 | * c-lex.c (narrowest_unsigned_type): Check for NULL_TREE. | |
9431 | (narrow_signed_type): Likewise. | |
9432 | ||
e466e2ce JH |
9433 | 2010-05-26 Jan Hubicka <jh@suse.cz> |
9434 | ||
9435 | * cgraphunit.c (verify_cgraph_node): Do checking that DECL match | |
9436 | edge only when checking is enabled; check using former_clone_of; | |
9437 | check inline clones too. | |
9438 | (cgraph_materialize_clone): Record former_clone_of pointer. | |
9439 | (cgraph_redirect_edge_call_stmt_to_callee): Assert that we are not | |
9440 | combining redirections; dump args_to_skip bitmap | |
9441 | (cgraph_materialize_all_clones): Do no redirection here. | |
9442 | * ipa-inline.c (inline_transform): Do redirection here. | |
9443 | * cgraph.h (struct cgraph_node): Add former_clone_of filed (enabled | |
9444 | cheking only). | |
9445 | ||
e62d5d9f SB |
9446 | 2010-05-26 Steven Bosscher <steven@gcc.gnu.org> |
9447 | ||
9448 | * config/avr/avr-c.c: Do not include regs.h. | |
9449 | Include cpplib.h for cpp_define and tree.h for c-common.h. | |
9450 | * config/avr/avr-devices.c (avr_mcu_types): Fix initializer. | |
9451 | * config/avr/t-avr: Fix dependencies for avr-c.o. | |
9452 | ||
d477d1fe SB |
9453 | 2010-05-26 Steven Bosscher <steven@gcc.gnu.org> |
9454 | ||
9455 | * explow.c (set_stack_check_libfunc): Adjust to accept name as a | |
9456 | string instead of SYMBOL_REF rtx. | |
9457 | * rtl.h (set_stack_check_libfunc): Move prototype from here... | |
9458 | * libfuncs.h: ...to here. Adjust for explow.c change. | |
9459 | ||
ab9b814d JM |
9460 | 2010-05-26 Joseph Myers <joseph@codesourcery.com> |
9461 | ||
9462 | * pretty-print.c: Don't include ggc.h. | |
9463 | (identifier_to_locale_alloc, identifier_to_locale_free): Define. | |
9464 | (identifier_to_locale): Use them for allocation. | |
9465 | * pretty-print.h (identifier_to_locale_alloc, | |
9466 | identifier_to_locale_free): Declare. | |
9467 | * toplev.c (alloc_for_identifier_to_locale): New. | |
9468 | (general_init): Set identifier_to_locale_alloc and | |
9469 | identifier_to_locale_free. | |
9470 | * Makefile.in (pretty-print.o): Update dependencies. | |
9471 | ||
c9549072 EB |
9472 | 2010-05-26 Eric Botcazou <ebotcazou@adacore.com> |
9473 | ||
9474 | * gimple.c (gimple_types_compatible_p): Return 0 for aggregate and | |
9475 | pointer types if they have different alignment or mode. | |
9476 | ||
bf44d792 AS |
9477 | 2010-05-26 Anatoly Sokolov <aesok@post.ru> |
9478 | ||
9479 | * config/sparc/sparc.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, | |
9480 | LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
9481 | * config/sparc/sparc-protos.h (function_value): Remove declaration. | |
9482 | * config/sparc/sparc.c (sparc_function_value, sparc_libcall_value, | |
9483 | sparc_function_value_regno_p): New functions. | |
9484 | (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
9485 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
9486 | (function_value): Rename to... | |
9487 | (sparc_function_value_1): ... this. Make static. Change 'incoming_p' | |
9488 | argument to 'outgoing'. | |
9489 | (function_arg_record_value, function_arg_union_value, | |
9490 | function_arg_vector_value): Update comment. | |
9491 | ||
4ad2e1ec EB |
9492 | 2010-05-26 Eric Botcazou <ebotcazou@adacore.com> |
9493 | ||
9494 | * dwarf2out.c (struct dw_fde_struct): Reorder flags. | |
9495 | (fde_needed_for_eh_p): New predicate. | |
9496 | (output_call_frame_info): Use it throughout to decide whether FDEs | |
9497 | are needed for EH purpose. | |
9498 | (dwarf2out_begin_prologue): Reorder assignments. | |
9499 | ||
4204425f SP |
9500 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
9501 | ||
9502 | * tree-if-conv.c (if_convertible_gimple_assign_stmt_p): Do not | |
9503 | special case loop->header. | |
9504 | (is_predicated): New. | |
9505 | (if_convertible_loop_p): Call it. | |
9506 | ||
e1449456 SP |
9507 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
9508 | ||
9509 | * tree-if-conv.c (add_to_dst_predicate_list): Do not pass a statemet | |
9510 | iterator in parameter. Do not generate code during the analysis. | |
9511 | (tree_if_convert_cond_stmt): Removed. | |
9512 | (tree_if_convert_stmt): Removed. | |
9513 | (predicate_bbs): New. | |
9514 | (if_convertible_loop_p): Call predicate_bbs. | |
9515 | (tree_if_conversion): Simplify the top-level logic as predicate_bbs | |
9516 | now contains all the analysis part. | |
9517 | ||
76b84776 SP |
9518 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
9519 | ||
9520 | * tree-if-conv.c (tree_if_convert_cond_stmt): Do not remove | |
9521 | statements in the analysis part. | |
9522 | (tree_if_convert_stmt): Update comment. | |
9523 | (remove_conditions_and_labels): New. | |
9524 | (combine_blocks): Call remove_conditions_and_labels. | |
9525 | (tree_if_conversion): Update comment. | |
9526 | ||
bc447143 SP |
9527 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
9528 | ||
9529 | * tree-if-conv.c (if_convertible_bb_p): Don't handle BBs with more | |
9530 | than 2 predecessors or more than 2 successors. | |
9531 | ||
6d795034 SP |
9532 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
9533 | ||
9534 | * tree-if-conv.c (if_convertible_loop_p): Avoid if-conversion | |
9535 | of loops in which the data dependence analysis fails. | |
9536 | ||
d7309618 SP |
9537 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
9538 | ||
9539 | * tree-if-conv.c (if_convertible_loop_p): Do not compute/free | |
9540 | CDI_POST_DOMINATORS. | |
9541 | (tree_if_conversion): Same. | |
9542 | ||
7b371e73 SP |
9543 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
9544 | ||
9545 | * tree-if-conv.c (tree_if_conversion): Do not return a bool. | |
9546 | ||
4ab71973 SP |
9547 | 2010-05-26 Sebastian Pop <sebastian.pop@amd.com> |
9548 | ||
9549 | * tree-if-conv.c: Update copyright years. Fix comments. | |
9550 | Fix indentation. | |
9551 | ||
a6766312 KT |
9552 | 2010-05-26 Kai Tietz <kai.tietz@onevision.com> |
9553 | ||
9554 | * builtin-types.def (BT_INT128): New primitive type. | |
9555 | (BT_UINT128): Likewise. | |
9556 | * c-common.c (c_common_r): Add __int128 keyword. | |
9557 | (c_common_type_for_size): Handle __int128. | |
9558 | (c_common_type_for_mode): Likewise. | |
9559 | (c_common_signed_or_unsigned_type): Likewise. | |
9560 | (c_common_nodes_and_builtins): Add builtin type | |
9561 | if target supports 128-bit integer scalar. | |
9562 | * c-common.h (enum rid): Add RID_INT128. | |
9563 | * c-cppbuiltin.c (c_cpp_builtins): Define __SIZEOF_INT128__ | |
9564 | if target supports 128-bit integer scalar. | |
ade52657 | 9565 | * c-decl.c (declspecs_add_type): Handle new keyword __int128. |
a6766312 KT |
9566 | (finish_declspecs): Likewise. |
9567 | * c-parser.c (c_token_starts_typename): Handle RID_INT128. | |
9568 | (c_token_starts_declspecs): Likewise. | |
9569 | (c_parser_declspecs): Likewise. | |
9570 | (c_parser_attributes): Likewise. | |
9571 | (c_parser_objc_selector): Likewise. | |
9572 | * c-pretty-print.c (pp_c_integer_constant): Handle __int128. | |
9573 | * c-tree.h (enum c_typespec_keyword): Add cts_int128. | |
9574 | * gimple.c (gimple_signed_or_unsigned_type): Handle int128 types. | |
9575 | * tree.c (make_or_reuse_type): Likewise. | |
9576 | (make_unsigned_type): Likewise. | |
9577 | (build_common_tree_nodes_2): Likewise. | |
9578 | * tree.h (enum integer_type_kind): Add itk_int128 and | |
9579 | itk_unsigned_int128. | |
ade52657 | 9580 | (int128_integer_type_node): New define. |
a6766312 | 9581 | (int128_unsigned_type_node): New define. |
a6766312 KT |
9582 | * doc/extend.texi: Add documentation about __int128 type. |
9583 | ||
880ad25f RG |
9584 | 2010-05-26 Richard Guenther <rguenther@suse.de> |
9585 | ||
9586 | * tree-ssa-sccvn.c (copy_nary): Adjust. | |
9587 | (copy_phis): Rename to ... | |
9588 | (copy_phi): ... this. Adjust. | |
9589 | (copy_references): Rename to ... | |
9590 | (copy_reference): ... this. Adjust. | |
9591 | (process_scc): Use HTAB_FOR_EACH_ELEMENT to insert the | |
9592 | result into the valid table. | |
9593 | ||
52642070 SB |
9594 | 2010-05-26 Steven Bosscher <steven@gcc.gnu.org> |
9595 | ||
9596 | * config/spu/spu-c.c: Do not include function.h, rtl.h, expr.h, | |
9597 | insn-config.h, insn-codes.h, recog.h, and optabs.h. | |
9598 | ||
58cd6303 LB |
9599 | 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
9600 | ||
ade52657 | 9601 | * ggc.h (ggc_min_expand_heuristic, ggc_min_heapsize_heuristic): Remove. |
58cd6303 | 9602 | |
c3a02647 RG |
9603 | 2010-05-26 Richard Guenther <rguenther@suse.de> |
9604 | ||
9605 | * opts.c (common_handle_option): Handle OPT_Ofast. | |
9606 | ||
5f0f4a3b JM |
9607 | 2010-05-26 Joseph Myers <joseph@codesourcery.com> |
9608 | ||
9609 | * diagnostic.c: Don't include opts.h. | |
9610 | (permissive_error_option): Define. | |
9611 | (diagnostic_initialize): Take n_opts parameter. Allocate memory | |
9612 | for classify_diagnostic. Don't use memset for | |
9613 | classify_diagnostic. Initialize new and recently added fields. | |
9614 | (diagnostic_classify_diagnostic): Use context->n_opts instead of | |
9615 | N_OPTS. | |
9616 | (diagnostic_report_diagnostic): Pass context parameter to | |
9617 | diagnostic_report_warnings_p. Use option_enabled and option_name | |
9618 | hooks from context. | |
9619 | (emit_diagnostic): Use permissive_error_option. | |
9620 | (permerror): Likewise. | |
9621 | * diagnostic.h: Don't include options.h. | |
9622 | (struct diagnostic_context): Add n_opts, opt_permissive, | |
9623 | inhibit_warnings, warn_system_headers, option_enabled and | |
9624 | option_name fields. Change classify_diagnostic to a pointer. | |
9625 | * opts-diagnostic.h: New file. | |
9626 | * opts.c: Include opts-diagnostic.h. | |
9627 | (common_handle_option): Set global_dc fields for -Wfatal-errors, | |
9628 | -Wsystem-headers, -fshow-column, -pedantic-errors and -w. | |
9629 | (option_name): New function. | |
9630 | * c-opts.c (c_common_init_options): Set global_dc->opt_permissive. | |
9631 | (c_common_handle_option): Set global_dc->permissive for | |
9632 | -fpermissive. | |
9633 | * c-common.c (c_cpp_error): Save and restore | |
9634 | global_dc->warn_system_headers, not variable warn_system_headers. | |
9635 | * toplev.c: Include opts-diagnostic.h. | |
9636 | (general_init): Update call to diagnostic_initialize. Set | |
9637 | global_dc->show_column, global_dc->option_enabled and | |
9638 | global_dc->option_name. | |
9639 | (process_options): Don't set global_dc fields here. | |
9640 | * Makefile.in (DIAGNOSTIC_H): Remove options.h. | |
9641 | (diagnostic.o, opts.o, toplev.o): Update dependencies. | |
9642 | ||
f024f85d HS |
9643 | 2010-04-30 Hariharan Sandanagobalane <hariharan@picochip.com> |
9644 | ||
9645 | * config/picochip/picochip.md (movsi): Split a movsi from a | |
9646 | const after reload. | |
9647 | ||
e4dfaf72 LB |
9648 | 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
9649 | ||
9650 | * ggc-zone.c: Update copyright year. | |
9651 | (poison_region): Mark memory for Valgrind as undefined before | |
9652 | memset () call and inaccessible afterwards. | |
9653 | (ggc_pch_total_size): Change type of i to int. | |
9654 | ||
9655 | 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com> | |
9656 | ||
9657 | * ggc-common.c (ggc_free_overhead): Allow empty slot. | |
9658 | ||
9659 | 2010-05-26 Laurynas Biveinis <laurynas.biveinis@gmail.com> | |
9660 | ||
9661 | * ggc-common.c: Update copyright year. | |
9662 | (ggc_rlimit_bound): Remove prototype. Compile only if | |
9663 | !ENABLE_GC_CHECKING && !ENABLE_GC_ALWAYS_COLLECT. | |
9664 | (ggc_min_heapsize_heuristic): Compile only if !ENABLE_GC_CHECKING | |
9665 | && !ENABLE_GC_ALWAYS_COLLECT. Make static. | |
9666 | (ggc_min_heapsize_heuristic): Likewise. | |
9667 | ||
630d3fad RG |
9668 | 2010-05-26 Richard Guenther <rguenther@suse.de> |
9669 | ||
9670 | PR rtl-optimization/44164 | |
9671 | * tree-ssa-alias.c (aliasing_component_refs_p): Fix the | |
9672 | no-common access-path disambiguation. | |
9673 | (indirect_ref_may_alias_decl_p): Adjust. | |
9674 | (indirect_refs_may_alias_p): Likewise. | |
9675 | (refs_may_alias_p_1): Likewise. | |
9676 | ||
b9b6c084 SB |
9677 | 2010-05-26 Steven Bosscher <steven@gcc.gnu.org> |
9678 | ||
9679 | * c-typeck.c: Do not include expr.h. | |
9680 | ||
d347d97e SB |
9681 | 2010-05-26 Steven Bosscher <steven@gcc.gnu.org> |
9682 | ||
9683 | * rtl.h (decl_default_tls_model): Move prototype from here... | |
9684 | * output.h: ...to here. | |
9685 | * c-decl.c: Do not include rtl.h. | |
9686 | * c-pragma.c: Likewise. | |
9687 | * c-parser.c: Likewise. | |
9688 | * c-gimplify.c: Likewise. And also not hard-reg-set. | |
9689 | * c-common.c: Do not include rtl.h. Include tm_p.h and add a | |
9690 | FIXME note for it. Add a FIXME note for expr.h. | |
9691 | * config/i386/i386-protos.h (ix86_enum_va_list, ix86_fn_abi_va_list, | |
9692 | ix86_canonical_va_list_type): Make visible even if RTX_CODE is not | |
9693 | defined. | |
9694 | ||
0d65bdbb JJ |
9695 | 2010-05-26 Jakub Jelinek <jakub@redhat.com> |
9696 | ||
9697 | PR target/44199 | |
9698 | * config/rs6000/rs6000.c (rs6000_emit_epilogue): If cfun->calls_alloca | |
9699 | or total_size is larger than red zone size for non-V4 ABI, emit a | |
9700 | stack_tie resp. frame_tie insn before stack pointer restore. | |
9701 | * config/rs6000/rs6000.md (frame_tie): New insn. | |
9702 | ||
8f4f502f EB |
9703 | 2010-05-25 Eric Botcazou <ebotcazou@adacore.com> |
9704 | ||
9705 | * function.h (struct function): Add can_throw_non_call_exceptions bit. | |
9706 | * lto-streamer-in.c (input_function): Stream it in. | |
9707 | * lto-streamer-out.c (output_function): Stream it out. | |
9708 | * function.c (allocate_struct_function): Set it. | |
9709 | (expand_function_end): Substitute cfun->can_throw_non_call_exceptions | |
9710 | for flag_non_call_exceptions. | |
9711 | * cfgbuild.c (control_flow_insn_p): Likewise. | |
9712 | (make_edges): Likewise. | |
9713 | * cfgexpand.c (expand_stack_alignment): Likewise. | |
9714 | * combine.c (distribute_notes): Likewise. | |
9715 | * cse.c (cse_extended_basic_block): Likewise. | |
9716 | * except.c (insn_could_throw_p): Likewise. | |
9717 | * gcse.c (simple_mem): Likewise. | |
9718 | * ipa-pure-const.c (check_call): Likewise. | |
9719 | (check_stmt ): Likewise. | |
9720 | * lower-subreg.c (lower-subreg.c): Likewise. | |
9721 | * optabs.c (emit_libcall_block): Likewise. | |
9722 | (prepare_cmp_insn): Likewise. | |
9723 | * postreload-gcse.c (eliminate_partially_redundant_loads): Likewise. | |
9724 | * postreload.c (rest_of_handle_postreload): Likewise. | |
9725 | * reload1.c (reload_as_needed): Likewise. | |
9726 | (emit_input_reload_insns): Likewise. | |
9727 | (emit_output_reload_insns): Likewise. | |
9728 | (fixup_abnormal_edges): Likewise. | |
9729 | * sel-sched-ir.c (init_global_and_expr_for_insn): Likewise. | |
9730 | * store-motion.c (find_moveable_store): Likewise. | |
9731 | * tree-eh.c (stmt_could_throw_p): Likewise. | |
9732 | (tree_could_throw_p): Likewise. | |
9733 | * tree-ssa-dce.c (mark_stmt_if_obviously_necessary): Likewise. | |
9734 | * config/arm/arm.c (arm_expand_prologue): Likewise. | |
9735 | (thumb1_expand_prologue): Likewise. | |
9736 | * config/rx/rx.md (cbranchsf4): Likewise. | |
9737 | (cmpsf): Likewise. | |
9738 | * config/s390/s390.c (s390_emit_prologue): Likewise. | |
9739 | * tree-inline.c (initialize_cfun): Copy can_throw_non_call_exceptions. | |
9740 | (inline_forbidden_into_p): New predicate. | |
9741 | (expand_call_inline): Use it to forbid inlining. | |
9742 | (tree_can_inline_p): Likewise. | |
9743 | ||
c962b78d SB |
9744 | 2010-05-25 Steven Bosscher <steven@gcc.gnu.org> |
9745 | ||
9746 | * config/i386/i386-c.c: Do not include rtl.h. | |
9747 | * config/i386/t-i386: Update dependencies. | |
9748 | ||
afb67dc2 SB |
9749 | 2010-05-25 Steven Bosscher <steven@gcc.gnu.org> |
9750 | ||
9751 | * attribs.c: Do not include rtl.h. | |
9752 | * Makefile.in: Update dependencies. | |
9753 | ||
e233a3b2 AS |
9754 | 2010-05-25 Anatoly Sokolov <aesok@post.ru> |
9755 | ||
9756 | * double-int.h (double_int_and): New. | |
9757 | * combine.c (try_combine): Clean up, use double_int_* and | |
9758 | immed_double_int_const functions. | |
9759 | ||
bc492e47 RO |
9760 | 2010-05-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
9761 | ||
9762 | * configure.ac (gcc_cv_as_ld_jalr_reloc): Redirect grep stdout, | |
9763 | stderr to /dev/null instead of grep -q. | |
9764 | * configure: Regenerate. | |
9765 | ||
245763e3 SB |
9766 | 2010-05-25 Steven Bosscher <steven@gcc.gnu.org> |
9767 | ||
9768 | * Makefile.in (EXCEPT_H): Fix typo. | |
9769 | ||
f4a4b582 | 9770 | 2010-05-25 Vladimir Makarov <vmakarov@redhat.com> |
4ac293e2 VM |
9771 | |
9772 | * ira-build.c (update_conflict_hard_reg_costs): New. | |
9773 | (ira_build): Call update_conflict_hard_reg_costs. | |
9774 | ||
60a5d78a JJ |
9775 | 2010-05-25 Jakub Jelinek <jakub@redhat.com> |
9776 | ||
bb9862c6 JJ |
9777 | PR debug/41371 |
9778 | * var-tracking.c (find_loc_in_1pdv): Guard asserts with | |
9779 | ENABLE_CHECKING. | |
9780 | (intersect_loc_chains): Walk the s2var's loc_chain together | |
9781 | with s1node chain as long as the locations are equal, don't | |
9782 | call find_loc_in_1pdv in that case. | |
9783 | ||
60a5d78a JJ |
9784 | PR debug/42801 |
9785 | * tree-inline.c (remap_decls): Remap DECL_VALUE_EXPR here... | |
9786 | (copy_bind_expr): ... instead of here. | |
9787 | (copy_tree_body_r): If id->remapping_type_depth clear TREE_BLOCK | |
9788 | if the block hasn't been remapped. | |
9789 | * dwarf2out.c (gen_formal_parameter_die, gen_variable_die): When | |
9790 | emitting concrete instance of abstract VLA, add DW_AT_type attribute. | |
9791 | ||
c946a318 RG |
9792 | 2010-05-25 Richard Guenther <rguenther@suse.de> |
9793 | ||
9794 | PR middle-end/44069 | |
9795 | * gimple-fold.c (maybe_fold_stmt_addition): Avoid generating | |
9796 | out-of-bounds array accesses. | |
9797 | ||
50ee30d5 RG |
9798 | 2010-05-25 Richard Guenther <rguenther@suse.de> |
9799 | ||
9800 | * lto-wrapper.c (nr, input_names, output_names, makefile): Globalize. | |
9801 | (lto_wrapper_exit): Unlink all LTRANS temporary files on error. | |
9802 | (run_gcc): Re-organize to make cleanup easier. | |
9803 | ||
ca1930ce AK |
9804 | 2010-05-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
9805 | ||
9806 | * config/s390/s390.c (optimization_options): Fix and move the | |
9807 | flag_prefetch_loop_arrays override ... | |
9808 | (override_options): ... here. | |
9809 | ||
a13812e2 JM |
9810 | 2010-05-25 Joseph Myers <joseph@codesourcery.com> |
9811 | ||
9812 | * diagnostic.c: Don't include plugin.h. | |
9813 | (diagnostic_report_diagnostic): Don't handle plugins specially | |
9814 | here. Pass context to internal_error callback. | |
9815 | * diagnostic.h (struct diagnostic_context): Add context parameter | |
9816 | to internal_error callback. | |
ade52657 | 9817 | * plugin.c (warn_if_plugins, plugins_internal_error_function): New. |
a13812e2 JM |
9818 | * plugin.h (struct diagnostic_context): Declare. |
9819 | (warn_if_plugins, plugins_internal_error_function): Declare. | |
9820 | * toplev.c (general_init): Set global_dc->internal_error. | |
9821 | * Makefile.in (diagnostic.o): Update dependencies. | |
9822 | ||
9a2d05e0 IS |
9823 | 2010-05-25 Iain Sandoe <iains@gcc.gnu.org> |
9824 | ||
9825 | * config/rs6000/darwin64.h: Update DARWIN_ARCH_SPEC. | |
9826 | * config/rs6000/t-darwin64: New. | |
9827 | * config.gcc (powerpc64-*-darwin*): Use darwin.opts, t-darwin64, | |
9828 | build crt2. | |
9829 | ||
8fde8b40 CB |
9830 | 2010-05-25 Christian Borntraeger <borntraeger@de.ibm.com> |
9831 | ||
9832 | PR 44203 | |
9833 | * tree-ssa-loop-prefetch.c: Fix logic for step calculation to | |
9834 | match the original (and intended) behaviour before r159557. This | |
9835 | changeset changed a=a+b*c to a=(a+b)*b which was obviously wrong | |
9836 | in two ways. | |
9837 | ||
be6d3f0e RG |
9838 | 2010-05-25 Richard Guenther <rguenther@suse.de> |
9839 | ||
9840 | * doc/invoke.texi: Document -Ofast. | |
9841 | * target.h (struct gcc_target): Add handle_ofast. | |
9842 | * target-def.h (TARGET_HANDLE_OFAST): Add. | |
9843 | (TARGET_INITIALIZER): Adjust. | |
ade52657 | 9844 | * opts.c (decode_options): Handle -Ofast. Enable -ffast-math with it. |
be6d3f0e RG |
9845 | * common.opt (Ofast): Add. |
9846 | ||
ac5eda13 PB |
9847 | 2010-05-25 Paolo Bonzini <bonzini@gnu.org> |
9848 | ||
9849 | * doc/tm.texi (STORE_FLAG_VALUE): Do not refer to sCC patterns. | |
9850 | * doc/md.texi (cstoreXX4): Update for cond-optab changes. | |
9851 | ||
9852 | 2010-05-25 Paolo Bonzini <bonzini@gnu.org> | |
6597fd0b PB |
9853 | |
9854 | PR target/43610 | |
9855 | * optabs.c (prepare_float_lib_cmp): Allow reversing the comparison | |
9856 | even if !FLOAT_LIB_COMPARE_RETURNS_BOOL. Always compute true_rtx and | |
9857 | false_rtx. Use false_rtx to compute the correct *ptest for reversed | |
9858 | comparisons for which !FLOAT_LIB_COMPARE_RETURNS_BOOL. | |
9859 | ||
9d4545b2 JJ |
9860 | 2010-05-25 Jakub Jelinek <jakub@redhat.com> |
9861 | ||
9862 | * dwarf2out.c (loc_descr_plus_const): When offset is negative, use | |
9863 | DW_OP_minus with negated offset instead of DW_OP_plus. | |
ade52657 | 9864 | (loc_list_from_tree): Don't test whether second operand is INTEGER_CST. |
9d4545b2 | 9865 | |
ee4e1706 WG |
9866 | 2010-05-25 Wei Guozhi <carrot@google.com> |
9867 | ||
9868 | * config/arm/thumb2.md (thumb2_tlobits_cbranch): Add constraint to | |
9869 | tst instruction and a new alternative. | |
9870 | * config/arm/constraints.md (Pu): New constraint. | |
9871 | ||
427188d5 SP |
9872 | 2010-05-24 Sebastian Pop <sebastian.pop@amd.com> |
9873 | ||
9874 | * function.c (assign_stack_local_1): Initialize variable | |
9875 | to avoid warning when bootstrapping at -O3. | |
9876 | ||
96ee6e08 SB |
9877 | 2010-05-24 Steven Bosscher <steven@gcc.gnu.org> |
9878 | ||
9879 | * configure.ac (all_lang_makefiles): Remove everything related to it. | |
9880 | * configure: Regenerate. | |
9881 | * Makefile.in: Fix reference to ada Make-lang.in. | |
9882 | Remove support for LANG_MAKEFILES. | |
9883 | ||
1ab55d69 MK |
9884 | 2010-05-24 Daniel Jacobowitz <dan@codesourcery.com> |
9885 | Sandra Loosemore <sandra@codesourcery.com> | |
9886 | ||
9887 | * config/arm/neon-testgen.ml: Use dg-add-options arm_neon. | |
9888 | * doc/sourcebuild.texi (Effective-Target Keywords): Update arm_neon_ok | |
9889 | description. Add arm_neon_fp16_ok. | |
9890 | (Add Options): Add arm_neon and arm_neon_fp16. | |
9891 | ||
243fbddd JM |
9892 | 2010-05-24 Joseph Myers <joseph@codesourcery.com> |
9893 | ||
9894 | * diagnostic.c: Don't include flags.h. | |
9895 | (pedantic_warning_kind, permissive_error_kind): Take diagnostic | |
ade52657 | 9896 | context parameters. Check flags in the context passed as a parameter. |
243fbddd JM |
9897 | (diagnostic_build_prefix): Add context parameter. Check |
9898 | show_column flag in context. | |
ade52657 UB |
9899 | (diagnostic_action_after_output): Check fatal_errors flag in context. |
9900 | (diagnostic_report_current_module): Check show_column flag in context. | |
243fbddd JM |
9901 | (default_diagnostic_starter): Update call to |
9902 | diagnostic_build_prefix. | |
ade52657 | 9903 | (diagnostic_report_diagnostic): Pass context to pedantic_warning_kind. |
243fbddd JM |
9904 | (emit_diagnostic): Pass context to permissive_error_kind. |
9905 | (permerror): Pass context to permissive_error_kind. | |
9906 | * diagnostic.h (struct diagnostic_context): Add show_column, | |
9907 | pedantic_errors, permissive and fatal_errors fields. | |
9908 | (diagnostic_build_prefix): Update prototype. | |
9909 | * langhooks.c | |
9910 | * toplev.c (process_options): Set flags in global_dc from | |
9911 | flag_show_column, flag_pedantic_errors, flag_permissive, | |
9912 | flag_fatal_errors. | |
9913 | * tree-diagnostic.c (default_tree_diagnostic_starter): Update call | |
9914 | to diagnostic_build_prefix. | |
9915 | * Makefile.in (diagnostic.o): Update dependencies. | |
9916 | ||
42f40af4 L |
9917 | 2010-05-24 H.J. Lu <hongjiu.lu@intel.com> |
9918 | ||
9919 | * config/i386/ia32intrin.h (__crc32q): Define only if | |
9920 | __SSE4_2__ is defined. | |
9921 | ||
1db0429a IS |
9922 | 2010-05-24 Iain Sandoe <iains@gcc.gnu.org> |
9923 | ||
9924 | PR target/44132 | |
9925 | PR middle-end/43602 | |
9926 | * varasm.c (get_emutls_init_templ_addr): Copy DECL_PRESERVE_P, | |
9927 | DECL_VISIBILITY_SPECIFIED. | |
9928 | (emutls_decl): Set DECL_PRESERVE_P and copy | |
9929 | DECL_VISIBILITY_SPECIFIED, DECL_RESTRICTED_P. | |
9930 | (emutls_finalize_control_var): New callback. | |
9931 | (emutls_finish): Finalize emutls control variables. | |
ade52657 | 9932 | * toplev.c (compile_file): Move the call to emutls_finish () |
1db0429a IS |
9933 | before varpool_assemble_pending_decls (). |
9934 | ||
e72e2da4 DG |
9935 | 2010-05-24 Daniel Gutson <dgutson@codesourcery.com> |
9936 | ||
9937 | * config/arm/lib1funcs.asm (__ARM_ARCH__): __ARM_ARCH_7EM__ | |
9938 | added to the preprocessor condition. | |
9939 | ||
b748fbd6 PB |
9940 | 2010-05-24 Paul Brook <paul@codesourcery.com> |
9941 | ||
9942 | * gengtype-lex.l: Add HARD_REG_SET. | |
9943 | * expr.c (expand_expr_real_1): Record writes to hard registers. | |
9944 | * function.c (rtl_data): Add asm_clobbers. | |
9945 | * ira.c (compute_regs_asm_clobbered): Use crtl->asm_clobbers. | |
9946 | (ira_setup_eliminable_regset): Remove regs_asm_clobbered. | |
9947 | Use crtl->asm_clobbers. | |
9948 | ||
9888e9cf RW |
9949 | 2010-05-24 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
9950 | ||
9951 | * doc/makefile.texi (Makefile): Mention stages 'profile' | |
9952 | and 'feedback' for profiledbootstrap. | |
9953 | ||
cf5b989e L |
9954 | 2010-05-23 H.J. Lu <hongjiu.lu@intel.com> |
9955 | ||
9956 | PR target/44245 | |
9957 | * config/i386/i386.c (def_builtin): Properly check | |
9958 | OPTION_MASK_ISA_64BIT. | |
9959 | ||
dc5027f4 JM |
9960 | 2010-05-23 Joseph Myers <joseph@codesourcery.com> |
9961 | ||
9962 | * c-decl.c (diagnose_mismatched_decls): Give error for duplicate | |
9963 | typedefs with different but compatible types. Allow duplicate | |
9964 | typedefs with the same type except for pedantic non-C1X, but give | |
9965 | warning for variably modified types. | |
9966 | * c-typeck.c (tagged_types_tu_compatible_p, | |
9967 | function_types_compatible_p, type_lists_compatible_p, | |
9968 | comptypes_internal): Add parameter different_types_p; set | |
9969 | *different_types_p for different but compatible types. All | |
9970 | callers changed. | |
9971 | (comptypes_check_different_types): New. | |
9972 | * c-tree.h (comptypes_check_different_types): Declare. | |
9973 | ||
2d1a4cc1 SB |
9974 | 2010-05-23 Steven Bosscher <steven@gcc.gnu.org> |
9975 | ||
ade52657 | 9976 | * regs.h: Do not include obstack.h, basic-block.h. Include machmode.h. |
2d1a4cc1 SB |
9977 | * jump.c: Include basic-block.h. |
9978 | * profile.c: Likewise. | |
9979 | * tree-profile.c: Likewise. | |
9980 | * coverage.c: Likewise. | |
9981 | * basic-block.h (optimize_function_for_size_p): Move to function.h. | |
9982 | (optimize_function_for_speed_p): Likewise. | |
9983 | * function.h (optimize_function_for_size_p, | |
9984 | optimize_function_for_speed_p): Moved here from basic-block.h. | |
539bac37 | 9985 | * Makefile.in: Update dependencies. |
2d1a4cc1 | 9986 | |
5767217f RW |
9987 | 2010-05-23 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
9988 | ||
9989 | * lto-wrapper.c (run_gcc): Unset MAKEFLAGS and MFLAGS | |
9990 | before calling make; allow override through $MAKE. | |
9991 | * doc/invoke.texi (Optimize Options): Document override. | |
9992 | ||
7a955d62 AS |
9993 | 2010-05-23 Anatoly Sokolov <aesok@post.ru> |
9994 | ||
9995 | * config/rs6000/rs6000.c (rs6000_mode_dependent_address_p): New. | |
9996 | (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
9997 | (rs6000_mode_dependent_address_ptr): Make static. | |
9998 | * config/rs6000/rs6000.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
9999 | * config/rs6000/rs6000-protos.h (rs6000_mode_dependent_address_ptr): | |
10000 | Remove. | |
10001 | ||
362ff46e | 10002 | 2010-05-23 Maarten Lankhorst <mlankhorst@codeweavers.com> |
7b37a805 ML |
10003 | |
10004 | PR target/43869 | |
10005 | * config/i386/i386.c: Make sure that the correct regparm is passed. | |
10006 | ||
9ecb1730 SB |
10007 | 2010-05-23 Steven Bosscher <steven@gcc.gnu.org> |
10008 | ||
10009 | * sbitmap.h (sbitmap_ptr, const_sbitmap_ptr): Move from here... | |
10010 | * sbitmap.c: ...to here to internalize sbitmap element access. | |
10011 | Do not include tm.h, rtl.h, flags.h, hard-reg-set.h, and obstack.h. | |
10012 | Explain why basic-block.h is included. | |
10013 | * function.h: Include tm.h for CUMULATIVE_ARGS. | |
10014 | * Makefile.in: Update dependencies. | |
10015 | ||
7a8cba34 SB |
10016 | 2010-05-22 Steven Bosscher <steven@gcc.gnu.org> |
10017 | ||
10018 | * coretypes.h (struct simple_bitmap_def, sbitmap, const_sbitmap): | |
10019 | New core types. | |
10020 | * sbitmap.h (struct sbitmap_def): Do not typedef here. | |
10021 | * sbitmap.c: Include sbitmap.h. | |
10022 | * basic-block.h: Do not include bitmap.h, sbitmap.h, partition.h, | |
10023 | hard-reg-set.h. Split everything related to regsets out from here... | |
10024 | * regset.h: ...to here. New file. | |
10025 | * df.h: Include regset.h and sbitmap.h. | |
10026 | * tree-flow.h: Likewise. | |
10027 | * cfgloop.h: Likewise. | |
10028 | * except.h: Do not include sbitmap.h. Include hashtab.h. | |
10029 | * cgraph.h: Include vec.h and function.h. | |
10030 | * reload.h (struct insn_chain): Change types of live_throughout | |
10031 | and dead_or_set from regset_head to bitmap_head. | |
10032 | (compute_use_by_pseudos): Be defined also if regset.h is not included. | |
10033 | * ira-int.h (struct ira_spilled_reg_stack_slot): Change type of | |
10034 | spilled_regs from regset_head to bitmap_head to avoid dependency | |
10035 | in regset.h. | |
10036 | * sel-sched-ir.h: Include regset.h. | |
10037 | * reload.c: Include df.h before reload.h. | |
10038 | * caller-save.c: Likewise. | |
10039 | * reload1.c: Likewise. | |
10040 | * ira.c: Likewise. | |
10041 | (mark_elimination): Update type of r to bitmap, consistent with | |
10042 | DF_LR_IN. | |
10043 | * dominance.c: Include bitmap.h. | |
10044 | * modulo-sched.c: Include df.h. | |
10045 | * cfganal.c: Include bitmap.h and sbitmap.h. | |
10046 | * cfgbuild.c: Include sbitmap.h. | |
10047 | * lcm.c: Include sbitmap.h. | |
10048 | * gcse.c (alloc_gcse_mem): Allocate regset with ALLOC_REG_SET. | |
10049 | * domwalk.c: Include sbitmap.h, exclude ggc.h. | |
10050 | * cfgexpand.c: Inlcude bitmap.h and sbitmap.h. | |
10051 | * cselib.c: Include bitmap.h. | |
10052 | * tree-optimize.c: Include regset.h. | |
10053 | * stmt.c: Include bitmap.h. | |
10054 | * Makefile.in: Update dependencies. | |
10055 | ||
9f90e80a JH |
10056 | 2010-05-22 Jan Hubicka <jh@suse.cz> |
10057 | ||
10058 | * cgraph.h (struct varpool_node): Add same_comdat_group. | |
10059 | * lto-cgrpah.c (lto_output_varpool_node): Output same_comdat_group | |
10060 | pointer. | |
10061 | (output_varpool): Update call of lto_output_varpool_node. | |
10062 | (input_varpool): Read same_comdat_group pointer. | |
10063 | (input_varpool_1): Fixup same_comdat_group pointer. | |
10064 | * ipa.c (cgraph_remove_unreachable_nodes): WHen one of same comdat | |
10065 | group is needed, all are. | |
10066 | * varpool.c (varpool_remove_node): Remove node from same comdat group | |
10067 | linklist too. | |
10068 | (varpool_analyze_pending_decls): Walk same comdat groups. | |
10069 | ||
a2c9fe42 SB |
10070 | 2010-05-22 Steven Bosscher <steven@gcc.gnu.org> |
10071 | ||
10072 | * rtl.h (union rtunion_def): Remove rt_bit member. | |
10073 | (XBITMAP, X0BITMAP, XCBITMAP): Remove. | |
10074 | * print-rtl (print_rtx): Do not print the member. | |
10075 | * gengtype.c (adjust_field_rtx_def): Do not handle it. | |
10076 | * gengenrtl.c (type_from_format): Likewise. | |
10077 | (accessor_from_format): Likewise. | |
10078 | ||
3b2ce251 JM |
10079 | 2010-05-22 Joseph Myers <joseph@codesourcery.com> |
10080 | ||
10081 | * dbgcnt.c: Include toplev.h instead of errors.h. | |
10082 | * ira-emit.c: Don't include errors.h. | |
10083 | * ira.c: Include toplev.h instead of errors.h. | |
10084 | * lto-compress.c: Include toplev.h instead of errors.h. | |
10085 | * Makefile.in (lto-compress.o, lto-streamer-out.o, ira-emit.o, | |
10086 | ira.o, dbgcnt.o): Update dependencies. | |
10087 | ||
bd9eb5da RG |
10088 | 2010-05-22 Richard Guenther <rguenther@suse.de> |
10089 | ||
10090 | * gimple.c (gimple_types_compatible_p): Check type qualifications | |
10091 | before merging pointer to complete and pointer to incomplete type. | |
10092 | * lto-symtab.c (lto_symtab_resolve_symbols): For commons make sure | |
10093 | we use our own resolution algorithm. The gold linker plugin | |
10094 | doesn't do the job we want it to do here. | |
10095 | ||
277e2873 AS |
10096 | 2010-05-22 Anatoly Sokolov <aesok@post.ru> |
10097 | ||
10098 | * config/sparc/sparc.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove. | |
10099 | * config/sparc/sparc.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define. | |
10100 | (sparc_mode_dependent_address_p): New function. | |
10101 | ||
613b1547 SB |
10102 | 2010-05-21 Steven Bosscher <steven@gcc.gnu.org> |
10103 | ||
10104 | * Makefile.in: Fix c-pch.o and ggc-common.o dependencies on timevars. | |
10105 | ||
10106 | * timevar.c: Do not include any core headers. | |
10107 | (timevar_print): De-i18n-ize. | |
10108 | (print_time): Likewise. | |
10109 | * timevar.h (timevar_push, timevar_pop): Make inline functions. | |
10110 | ||
cf835838 JM |
10111 | 2010-05-21 Joseph Myers <joseph@codesourcery.com> |
10112 | ||
10113 | * diagnostic.c: Don't include tm.h, tree.h, tm_p.h, langhooks.h or | |
10114 | langhooks-def.h. | |
10115 | (diagnostic_initialize): Initialize x_data not last_function. | |
10116 | (diagnostic_report_current_function): Move to tree-diagnostic.c. | |
10117 | (default_diagnostic_starter): Call | |
10118 | diagnostic_report_current_module not | |
10119 | diagnostic_report_current_function. | |
10120 | (diagnostic_report_diagnostic): Initialize x_data not | |
10121 | abstract_origin. | |
10122 | (verbatim): Likewise. | |
10123 | * diagnostic.h (struct diagnostic_info): Change abstract_origin to | |
10124 | x_data. | |
10125 | (struct diagnostic_context): Change last_function to x_data. | |
10126 | (diagnostic_auxiliary_data): Replace with | |
10127 | diagnostic_context_auxiliary_data and | |
10128 | diagnostic_info_auxiliary_data. | |
10129 | (diagnostic_last_function_changed, diagnostic_set_last_function, | |
10130 | diagnostic_report_current_function): Move to tree-diagnostic.h. | |
10131 | (print_declaration, dump_generic_node, print_generic_stmt, | |
10132 | print_generic_stmt_indented, print_generic_expr, | |
10133 | print_generic_decl, debug_c_tree, dump_omp_clauses, | |
10134 | print_call_name, debug_generic_expr, debug_generic_stmt, | |
10135 | debug_tree_chain, default_tree_printer): Move to | |
10136 | tree-pretty-print.h. | |
10137 | (debug_gimple_stmt, debug_gimple_seq, print_gimple_seq, | |
10138 | print_gimple_stmt, print_gimple_expr, dump_gimple_stmt): Move to | |
10139 | gimple-pretty-print.h. | |
10140 | * pretty-print.c: Don't include tree.h | |
10141 | (pp_base_format): Don't handle %K here. | |
10142 | (pp_base_tree_identifier): Move to tree-pretty-print.c. | |
10143 | * pretty-print.h (text_info): Change abstract_origin to x_data. | |
10144 | (pp_tree_identifier, pp_unsupported_tree, | |
10145 | pp_base_tree_identifier): Move to tree-pretty-print.h. | |
10146 | * gimple-pretty-print.h, tree-diagnostic.c, tree-diagnostic.h, | |
10147 | tree-pretty-print.h: New files. | |
10148 | * tree-pretty-print.c: Include tree-pretty-print.h. | |
10149 | (percent_K_format): New. Moved from pretty-print.c. | |
10150 | (pp_base_tree_identifier): Move from pretty-print.c. | |
10151 | * c-objc-common.c: Include tree-pretty-print.h. | |
10152 | (c_tree_printer): Handle %K here. | |
10153 | * langhooks.c: Include tree-diagnostic.h. | |
10154 | (lhd_print_error_function): Use diagnostic_abstract_origin macro. | |
10155 | * toplev.c: Include tree-diagnostic.h and tree-pretty-print.h. | |
10156 | (default_tree_printer): Handle %K using percent_K_format. | |
10157 | (general_init): Use default_tree_diagnostic_starter. | |
10158 | * tree.c: Include tree-diagnostic.h and tree-pretty-print.h. | |
10159 | (free_lang_data): Use default_tree_diagnostic_starter. | |
10160 | * c-pretty-print.c: Include tree-pretty-print.h. | |
ade52657 UB |
10161 | * cfgexpand.c: Include tree-pretty-print.h and gimple-pretty-print.h. |
10162 | * cgraphunit.c: Include tree-pretty-print.h and gimple-pretty-print.h. | |
cf835838 JM |
10163 | * dwarf2out.c: Include tree-pretty-print.h. |
10164 | * except.c: Include tree-pretty-print.h. | |
10165 | * gimple-pretty-print.c: Include tree-pretty-print.h and | |
10166 | gimple-pretty-print.h. | |
10167 | * gimplify.c: Include tree-pretty-print.h. | |
10168 | * graphite-poly.c: Include tree-pretty-print.h and | |
10169 | gimple-pretty-print.h. | |
10170 | * ipa-cp.c: Include tree-pretty-print.h. | |
10171 | * ipa-inline.c: Include gimple-pretty-print.h. | |
ade52657 | 10172 | * ipa-prop.c: Include tree-pretty-print.h and gimple-pretty-print.h. |
cf835838 JM |
10173 | * ipa-pure-const.c: Include gimple-pretty-print.h. |
10174 | * ipa-struct-reorg.c: Include tree-pretty-print.h and | |
10175 | gimple-pretty-print.h. | |
10176 | * ipa-type-escape.c: Include tree-pretty-print.h. | |
10177 | * print-rtl.c: Include tree-pretty-print.h. | |
10178 | * print-tree.c: Include gimple-pretty-print.h. | |
10179 | * sese.c: Include tree-pretty-print.h. | |
10180 | * tree-affine.c: Include tree-pretty-print.h. | |
10181 | * tree-browser.c: Include tree-pretty-print.h. | |
10182 | * tree-call-cdce.c: Include gimple-pretty-print.h. | |
ade52657 | 10183 | * tree-cfg.c: Include tree-pretty-print.h and gimple-pretty-print.h. |
cf835838 JM |
10184 | * tree-chrec.c: Include tree-pretty-print.h. |
10185 | * tree-data-ref.c: Include tree-pretty-print.h and | |
10186 | gimple-pretty-print.h. | |
10187 | * tree-dfa.c: Include tree-pretty-print.h. | |
10188 | * tree-if-conv.c: Include tree-pretty-print.h and | |
10189 | gimple-pretty-print.h. | |
10190 | * tree-inline.c: Include tree-pretty-print.h. | |
10191 | * tree-into-ssa.c: Include tree-pretty-print.h and | |
10192 | gimple-pretty-print.h. | |
10193 | * tree-nrv.c: Include tree-pretty-print.h. | |
10194 | * tree-object-size.c: Include tree-pretty-print.h and | |
10195 | gimple-pretty-print.h. | |
10196 | * tree-outof-ssa.c: Include tree-pretty-print.h and | |
10197 | gimple-pretty-print.h. | |
10198 | * tree-parloops.c: Include tree-pretty-print.h and | |
10199 | gimple-pretty-print.h. | |
10200 | * tree-predcom.c: Include tree-pretty-print.h and | |
10201 | gimple-pretty-print.h. | |
10202 | * tree-scalar-evolution.c: Include tree-pretty-print.h and | |
10203 | gimple-pretty-print.h. | |
10204 | * tree-sra.c: Include tree-pretty-print.h. | |
10205 | * tree-ssa-address.c: Include tree-pretty-print.h. | |
10206 | * tree-ssa-alias.c: Include tree-pretty-print.h. | |
10207 | * tree-ssa-ccp.c: Include tree-pretty-print.h and | |
10208 | gimple-pretty-print.h. | |
10209 | * tree-ssa-coalesce.c: Include tree-pretty-print.h. | |
10210 | * tree-ssa-copy.c: Include tree-pretty-print.h and | |
10211 | gimple-pretty-print.h. | |
10212 | * tree-ssa-copyrename.c: Include tree-pretty-print.h. | |
10213 | * tree-ssa-dce.c: Include tree-pretty-print.h and | |
10214 | gimple-pretty-print.h. | |
10215 | * tree-ssa-dom.c: Include tree-pretty-print.h and | |
10216 | gimple-pretty-print.h. | |
10217 | * tree-ssa-dse.c: Include gimple-pretty-print.h. | |
10218 | * tree-ssa-forwprop.c: Include tree-pretty-print.h. | |
10219 | * tree-ssa-ifcombine.c: Include tree-pretty-print.h. | |
10220 | * tree-ssa-live.c: Include tree-pretty-print.h and | |
10221 | gimple-pretty-print.h. | |
10222 | * tree-ssa-loop-im.c: Include tree-pretty-print.h and | |
10223 | gimple-pretty-print.h. | |
10224 | * tree-ssa-loop-ivcanon.c: Include tree-pretty-print.h and | |
10225 | gimple-pretty-print.h. | |
10226 | * tree-ssa-loop-ivopts.c: Include tree-pretty-print.h and | |
10227 | gimple-pretty-print.h. | |
10228 | * tree-ssa-loop-niter.c: Include tree-pretty-print.h and | |
10229 | gimple-pretty-print.h. | |
10230 | * tree-ssa-loop-prefetch.c: Include tree-pretty-print.h. | |
10231 | * tree-ssa-math-opts.c: Include gimple-pretty-print.h. | |
10232 | * tree-ssa-operands.c: Include tree-pretty-print.h and | |
10233 | gimple-pretty-print.h. | |
10234 | * tree-ssa-phiprop.c: Include tree-pretty-print.h and | |
10235 | gimple-pretty-print.h. | |
10236 | * tree-ssa-pre.c: Include tree-pretty-print.h and | |
10237 | gimple-pretty-print.h. | |
10238 | * tree-ssa-propagate.c: Include gimple-pretty-print.h. | |
10239 | * tree-ssa-reassoc.c: Include tree-pretty-print.h and | |
10240 | gimple-pretty-print.h. | |
10241 | * tree-ssa-sccvn.c: Include tree-pretty-print.h and | |
10242 | gimple-pretty-print.h. | |
10243 | * tree-ssa-sink.c: Include gimple-pretty-print.h. | |
10244 | * tree-ssa-ter.c: Include tree-pretty-print.h and | |
10245 | gimple-pretty-print.h. | |
10246 | * tree-ssa-uninit.c: Include gimple-pretty-print.h. | |
10247 | * tree-ssa.c: Include tree-pretty-print.h and | |
10248 | gimple-pretty-print.h. | |
10249 | * tree-stdarg.c: Include gimple-pretty-print.h. | |
10250 | * tree-switch-conversion.c: Include gimple-pretty-print.h. | |
10251 | * tree-tailcall.c: Include tree-pretty-print.h and | |
10252 | gimple-pretty-print.h. | |
10253 | * tree-vect-data-refs.c: Include tree-pretty-print.h and | |
10254 | gimple-pretty-print.h. | |
10255 | * tree-vect-loop-manip.c: Include tree-pretty-print.h and | |
10256 | gimple-pretty-print.h. | |
10257 | * tree-vect-loop.c: Include tree-pretty-print.h and | |
10258 | gimple-pretty-print.h. | |
10259 | * tree-vect-patterns.c: Include gimple-pretty-print.h. | |
10260 | * tree-vect-slp.c: Include tree-pretty-print.h and | |
10261 | gimple-pretty-print.h. | |
10262 | * tree-vect-stmts.c: Include tree-pretty-print.h and | |
10263 | gimple-pretty-print.h. | |
10264 | * tree-vectorizer.c: Include tree-pretty-print.h. | |
10265 | * tree-vrp.c: Include tree-pretty-print.h and | |
10266 | gimple-pretty-print.h. | |
10267 | * value-prof.c: Include tree-pretty-print.h and | |
10268 | gimple-pretty-print.h. | |
10269 | * var-tracking.c: Include tree-pretty-print.h. | |
10270 | * Makefile.in (OBJS-common): Add tree-diagnostic.o. | |
10271 | (tree-diagnostic.o): New dependencies. | |
10272 | (c-objc-common.o, c-pretty-print.o, langhooks.o, tree.o, | |
10273 | tree-inline.o, print-tree.o, stor-layout.o, tree-ssa-uninit.o, | |
10274 | tree-ssa.o, tree-into-ssa.o, tree-ssa-ter.o, tree-ssa-coalesce.o, | |
10275 | tree-outof-ssa.o, tree-ssa-forwprop.o, tree-ssa-phiprop.o, | |
10276 | tree-ssa-ifcombine.o, tree-nrv.o, tree-ssa-copy.o, | |
10277 | tree-ssa-propagate.o, tree-ssa-dom.o, tree-ssa-uncprop.o, | |
10278 | tree-ssa-live.o, tree-ssa-copyrename.o, tree-ssa-pre.o, | |
10279 | tree-ssa-sccvn.o, tree-vrp.o, tree-cfg.o, tree-tailcall.o, | |
10280 | tree-ssa-sink.o, tree-if-conv.o, tree-dfa.o, tree-ssa-operands.o, | |
10281 | tree-ssa-address.o, tree-ssa-loop-niter.o, | |
10282 | tree-ssa-loop-ivcanon.o, tree-ssa-loop-prefetch.o, tree-predcom.o, | |
10283 | tree-ssa-loop-ivopts.o, tree-affine.o, tree-ssa-loop-im.o, | |
10284 | tree-ssa-math-opts.o, tree-ssa-alias.o, tree-ssa-reassoc.o, | |
10285 | gimplify.o, tree-browser.o, tree-chrec.o, tree-scalar-evolution.o, | |
10286 | tree-data-ref.o, sese.o, graphite-poly.o, tree-vect-loop.o, | |
10287 | tree-vect-loop-manip.o, tree-vect-patterns.o, tree-vect-slp.o, | |
10288 | tree-vect-stmts.o, tree-vect-data-refs.o, tree-vectorizer.o, | |
10289 | tree-parloops.o, tree-stdarg.o, tree-object-size.o, | |
10290 | gimple-pretty-print.o, tree-pretty-print.o, diagnostic.o, | |
10291 | toplev.o, print-rtl.o, except.o, dwarf2out.o, cgraphunit.o, | |
10292 | ipa-prop.o, ipa-cp.o, ipa-inline.o, ipa-pure-const.o, | |
10293 | ipa-type-escape.o, ipa-struct-reorg.o, tree-ssa-dce.o, | |
10294 | tree-call-cdce.o, tree-ssa-ccp.o, tree-sra.o, | |
10295 | tree-switch-conversion.o, var-tracking.o, value-prof.o, | |
10296 | cfgexpand.o, pretty-print.o): Update dependencies. | |
10297 | ||
cf4f4175 AT |
10298 | 2010-05-22 Andreas Tobler <andreast@fgznet.ch> |
10299 | ||
10300 | * tree-ssa-structalias.c: Remove tm_p.h from include. | |
10301 | ||
c6d0f11a JL |
10302 | 2010-05-21 Jeff Law <law@redhat.com> |
10303 | ||
10304 | * ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Fix typo. | |
10305 | ||
d3f28910 JM |
10306 | 2010-05-21 Jason Merrill <jason@redhat.com> |
10307 | ||
10308 | * tree-eh.c (cleanup_is_dead_in): New. | |
10309 | (lower_try_finally): Don't generate a dead cleanup region. | |
10310 | (lower_cleanup): Likewise. | |
10311 | ||
14db98d4 JJ |
10312 | 2010-05-21 Jakub Jelinek <jakub@redhat.com> |
10313 | ||
10314 | PR debug/44223 | |
10315 | * haifa-sched.c (schedule_insn): When freeing INSN_REG_USE_LIST, | |
10316 | unchain each use from the cyclic next_regno_use chain first. | |
10317 | ||
d49b6e1e SB |
10318 | 2010-05-21 Steven Bosscher <steven@gcc.gnu.org> |
10319 | ||
10320 | * real: Do not include gmp.h, mpfr.h, and mpc.h. | |
10321 | (REAL_VALUE_NEGATE, REAL_VALUE_ABS, real_arithmetic2): Remove. | |
10322 | (real_value_negate, real_value_abs): New prototypes. | |
10323 | (do_mpc_arg2, real_from_mpfr, mpfr_from_real): Move from here... | |
10324 | * realmpfr.h (do_mpc_arg2, real_from_mpfr, mpfr_from_real): ...to here, | |
10325 | new include file for interface between MPFR and REAL_VALUE_TYPE. | |
10326 | * real.c: Include realmpfr.h. | |
10327 | (real_arithmetic2): Remove legacy function. | |
10328 | (real_value_negate): New. | |
10329 | (real_value_abs): New. | |
10330 | (mfpr_from_real, real_from_mpfr): Move from here... | |
10331 | * realmpfr.c (mpfr_from_real, real_from_mpfr): ...to here, new file. | |
10332 | * builtins.c: Include realmpfr.h. | |
10333 | * fold-const.c: Include realmpfr.h. | |
10334 | (fold_comparison): Use real_value_negate instead of REAL_VALUE_NEGATE. | |
10335 | (fold_negate_const): Likewise. | |
10336 | (fold_abs_const): Use real_value_abs instead of REAL_VALUE_ABS. | |
10337 | * toplev.c: Include realmpfr.h. | |
10338 | * simplify-rtx.c (simplify_const_unary_operation): Use real_value_abs | |
10339 | and real_value_negate. | |
10340 | * fixed-value.c (check_real_for_fixed_mode): Likewise. | |
10341 | * config/arm/arm.c (neg_const_double_rtx_ok_for_fpa): Likewise. | |
10342 | (vfp3_const_double_index): Likewise. | |
10343 | (arm_print_operand): Likewise. | |
10344 | * Makefile.in: Update dependencies. | |
10345 | ||
5b4b1c9a AK |
10346 | 2010-05-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
10347 | ||
10348 | * config/s390/s390.c (override_options): Increase the default | |
10349 | of max-completely-peel-times. | |
10350 | ||
7c19c715 JB |
10351 | 2010-05-21 Julian Brown <julian@codesourcery.com> |
10352 | Mark Mitchell <mark@codesourcery.com> | |
10353 | ||
10354 | * config/arm/arm.c (arm_function_ok_for_sibcall): Only forbid | |
10355 | sibling calls for Thumb-1. | |
10356 | * config/arm/arm.h (USE_RETURN_INSN): Enable for Thumb-2. | |
10357 | * config/arm/arm.md (*call_symbol, *call_value_symbol): Use for | |
10358 | Thumb-2. | |
10359 | (*call_insn, *call_value_insn): Don't use for Thumb-2. | |
10360 | (sibcall, sibcall_value, *sibcall_insn, *sibcall_value_insn): Use | |
10361 | for Thumb-2. | |
10362 | (return): New expander. | |
10363 | (*arm_return): New name for ARM return insn. | |
10364 | * config/arm/thumb2.md (*thumb2_return): New insn pattern. | |
10365 | ||
f4a4b582 | 10366 | 2010-05-19 Joel Sherrill <joel.sherrill@oarcorp.com> |
3943fe02 JS |
10367 | |
10368 | * config.gcc (sparc64-*-rtems*): New target. | |
10369 | ||
95f6e526 NF |
10370 | 2010-05-21 Nathan Froyd <froydnj@codesourcery.com> |
10371 | ||
10372 | * tree.c (build_function_decl_skip_args): Fix grammar. | |
10373 | (build_function_type_list_1): Fix typos, adjust formatting. | |
10374 | ||
40013784 SB |
10375 | 2010-05-21 Steven Bosscher <steven@gcc.gnu.org> |
10376 | ||
10377 | * tree.h: Include real.h and fixed-value.h as basic datatypes. | |
10378 | * dfp.c, convert.c, reload1.c, reginfo.c, tree-flow.h, | |
10379 | tree-ssa-threadedge.c, tree-ssanames.c, tree-loop-linear.c, | |
10380 | tree-into-ssa.c, tree-vect-generic.c, tree-ssa-structalias.c, | |
10381 | tree-ssa-loop-im.c, tree-dump.c, tree-complex.c, tree-ssa-uninit.c, | |
10382 | genrecog.c, tree-ssa-threadupdate.c, tree-ssa-loop-niter.c, | |
10383 | tree-pretty-print.c, tree-loop-distribution.c, | |
10384 | tree-ssa-loop-unswitch.c, c-lex.c, optabs.c, postreload-gcse.c, | |
10385 | tree-ssa-loop-manip.c, postreload.c, tree-ssa-loop-ch.c, | |
10386 | tree-tailcall.c, tree.c, reload.c, tree-scalar-evolution.c, rtlanal.c, | |
10387 | tree-phinodes.c, builtins.c, final.c, genoutput.c, fold-const.c, | |
10388 | tree-ssa-dse.c, genautomata.c, tree-ssa-uncprop.c, toplev.c, | |
10389 | tree-chrec.c, genemit.c, c-cppbuiltin.c, tree-ssa-sccvn.c, | |
10390 | tree-ssa-ccp.c, tree-ssa-loop-ivopts.c, mode-switching.c, | |
10391 | tree-call-cdce.c, cse.c, genpeep.c, tree-ssa-math-opts.c, | |
10392 | tree-ssa-dom.c, tree-nrv.c, tree-ssa-propagate.c, tree-ssa-alias.c, | |
10393 | tree-ssa-sink.c, jump.c, ifcvt.c, dwarf2out.c, expr.c, genattrtab.c, | |
10394 | genconditions.c, tree-ssa-loop-ivcanon.c, tree-ssa-loop.c, | |
10395 | tree-parloops.c, recog.c, tree-ssa-address.c, lcm.c, tree-eh.c, | |
10396 | gimple-pretty-print.c, c-pretty-print.c, print-rtl.c, gcse.c, | |
10397 | tree-if-conv.c, tree-data-ref.c, tree-affine.c, gimplify.c, | |
10398 | tree-ssa-phiopt.c, implicit-zee.c, expmed.c, tree-dfa.c, emit-rtl.c, | |
10399 | store-motion.c, cselib.c, tree-cfgcleanup.c, simplify-rtx.c, | |
10400 | tree-ssa-pre.c, genpreds.c, tree-mudflap.c, print-tree.c, | |
10401 | tree-ssa-copy.c, tree-ssa-forwprop.c, tree-ssa-dce.c, varasm.c, | |
10402 | tree-nested.c, tree-ssa.c, tree-ssa-loop-prefetch.c, rtl.c, | |
10403 | tree-inline.c, integrate.c, tree-optimize.c, tree-ssa-phiprop.c, | |
10404 | fixed-value.c, combine.c, tree-profile.c, c-common.c, sched-vis.c, | |
10405 | tree-cfg.c, passes.c, tree-ssa-reassoc.c, config/alpha/alpha.c, | |
10406 | config/frv/frv.c, config/s390/s390.c, config/m32c/m32c.c, | |
10407 | config/spu/spu.c, config/sparc/sparc.c, config/mep/mep.c, | |
10408 | config/m32r/m32r.c, config/rx/rx.c, config/i386/i386.c, | |
10409 | config/sh/sh.c, config/pdp11/pdp11.c, config/avr/avr.c, | |
10410 | config/crx/crx.c, config/xtensa/xtensa.c, config/stormy16/stormy16.c, | |
10411 | config/fr30/fr30.c, config/lm32/lm32.c, config/moxie/moxie.c, | |
10412 | config/m68hc11/m68hc11.c, config/cris/cris.c, config/iq2000/iq2000.c, | |
10413 | config/mn10300/mn10300.c, config/ia64/ia64.c, config/m68k/m68k.c, | |
10414 | config/rs6000/rs6000.c, config/picochip/picochip.c, config/darwin.c, | |
10415 | config/arc/arc.c, config/mcore/mcore.c, config/score/score3.c, | |
10416 | config/score/score7.c, config/score/score.c, config/arm/arm.c, | |
10417 | config/pa/pa.c, config/mips/mips.c, config/vax/vax.c, | |
10418 | config/h8300/h8300.c, config/v850/v850.c, config/mmix/mmix.c, | |
ade52657 | 10419 | config/bfin/bfin.c: Clean up redundant includes. |
40013784 SB |
10420 | * Makefile.in: Update accordingly. |
10421 | ||
0a7561b7 NF |
10422 | 2010-05-21 Nathan Froyd <froydnj@codesourcery.com> |
10423 | ||
10424 | PR middle-end/44204 | |
10425 | * builtins.c (fold_call_stmt): Pass &error_mark_node if the call | |
10426 | statement has no arguments. | |
10427 | ||
e1935569 KT |
10428 | 2010-05-21 Kai Tietz <kai.tietz@onevision.com> |
10429 | ||
10430 | PR/44139 | |
10431 | * varasm.c (emutls_decl): Merge attributes to new decl. | |
10432 | ||
46314d3e EB |
10433 | 2010-05-21 Eric Botcazou <ebotcazou@adacore.com> |
10434 | ||
10435 | PR middle-end/44101 | |
10436 | * gimplify.c (gimplify_init_constructor): Build a VIEW_CONVERT_EXPR | |
10437 | around the uniquized constructor if its type requires a conversion. | |
10438 | ||
f99fcb3b JJ |
10439 | 2010-05-21 Jakub Jelinek <jakub@redhat.com> |
10440 | ||
10441 | PR debug/44205 | |
10442 | * tree-cfgcleanup.c (tree_forwarder_block_p): Return false if | |
10443 | at -O0 goto_locus of any of the incoming edges differs from | |
10444 | goto_locus of outgoing edge, or gimple_location of any of the | |
10445 | labels differs. | |
10446 | ||
f4a4b582 | 10447 | 2009-09-14 Vladimir Makarov <vmakarov@redhat.com> |
0583835c VM |
10448 | |
10449 | * ira.c (ira_non_ordered_class_hard_regs): Define. | |
ade52657 | 10450 | (setup_class_hard_regs): Initialize ira_non_ordered_class_hard_regs. |
0583835c VM |
10451 | * ira-int.h (ira_non_ordered_class_hard_regs): Declare. |
10452 | * ira-costs.c (ira_tune_allocno_costs_and_cover_classes): Increase | |
10453 | cost of unaligned hard regs when allocating multi-reg pseudos. | |
10454 | ||
9f946bc1 RS |
10455 | 2010-05-20 Richard Sandiford <rdsandiford@googlemail.com> |
10456 | ||
10457 | * config.gcc (mips*-sde-elf*): Don't use sdemtk.opt. | |
10458 | * config/mips/mips.h (TARGET_CPU_CPP_BUILTINS): Define __mips_no_float | |
10459 | for TARGET_NO_FLOAT. | |
10460 | * config/mips/mips.c (mips_file_start): Expand conditional expression | |
10461 | into "if" statements. Use .gnu_attribute 4,0 for TARGET_NO_FLOAT. | |
10462 | (mips_override_options): Move -mno-float override -msoft-float and | |
10463 | -mhard-float. | |
10464 | * config/mips/mips.opt (mno-float): Move from sdemtk.opt, but add | |
10465 | Condition(TARGET_SUPPORTS_NO_FLOAT). | |
10466 | * config/mips/sdemtk.h (TARGET_OS_CPP_BUILTINS): Don't set | |
10467 | __mips_no_float here. | |
10468 | (SUBTARGET_OVERRIDE_OPTIONS): Delete. | |
10469 | (TARGET_SUPPORTS_NO_FLOAT): Define. | |
10470 | * config/mips/sdemtk.opt: Delete. | |
10471 | ||
69610617 SB |
10472 | 2010-05-20 Segher Boessenkool <segher@kernel.crashing.org> |
10473 | ||
ade52657 | 10474 | * ipa-prop.c (compute_complex_ancestor_jump_func): Bail out if !cond. |
69610617 | 10475 | |
953c29f7 UB |
10476 | 2010-05-20 Uros Bizjak <ubizjak@gmail.com> |
10477 | ||
10478 | PR target/43733 | |
10479 | * configure.ac (gcc_cv_as_ix86_sahf): Switch to 64bit mode. | |
10480 | * configure: Regenerate. | |
10481 | * config.in: Regenerate. | |
10482 | * config/i386/i386.md (x86_sahf_1): Conditionally output 0x9e | |
10483 | instead of sahf only for 64bit targets. | |
10484 | ||
69b45d71 JJ |
10485 | 2010-05-20 Jakub Jelinek <jakub@redhat.com> |
10486 | ||
10487 | PR debug/44178 | |
10488 | * haifa-sched.c (initiate_bb_reg_pressure_info): Do not call | |
10489 | setup_ref_regs for DEBUG_INSNs. | |
10490 | ||
a14f1878 JH |
10491 | 2010-05-20 Jan Hubicka <jh@suse.cz> |
10492 | ||
10493 | PR middle-end/44197 | |
10494 | * varpool.c (varpool_remove_node): Handle in-varpool aliases. | |
10495 | ||
5797be12 KZ |
10496 | 2010-05-20 Kenneth Zadeck <zadeck@naturalbridge.com> |
10497 | ||
10498 | PR bootstrap/43870 | |
10499 | * df-scan.c (df_ref_compare): Stabilize sort. | |
10500 | ||
f1ca3117 JJ |
10501 | 2010-05-20 Jakub Jelinek <jakub@redhat.com> |
10502 | ||
10503 | * dwarf2out.c (new_loc_descr_op_bit_piece): Add offset | |
10504 | argument. Don't use DW_OP_piece if offset is non-zero, | |
10505 | put offset into second DW_OP_bit_piece argument. | |
10506 | (dw_sra_loc_expr): Adjust callers. For memory expressions | |
10507 | compute offset. | |
10508 | ||
d8ec9c14 HPN |
10509 | 2010-05-20 Hans-Peter Nilsson <hp@axis.com> |
10510 | ||
10511 | PR target/44202 | |
10512 | * config/cris/cris.md ("*addsi3_v32"): Correct "cc" | |
10513 | settings for 16-bit-constant "addo" alternative. | |
10514 | ||
951771dc JW |
10515 | 2010-05-19 James E. Wilson <wilson@codesourcery.com> |
10516 | ||
9af157ac JW |
10517 | * config/mips/mips-dsp.md (add<DSPV:mode>3, |
10518 | mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>): Add ISA_HAS_DSP condition. | |
10519 | ||
951771dc JW |
10520 | PR target/43764 |
10521 | * mips.c (mips_call_expr_from_insn): New arg second_call. Set it. | |
10522 | (mips_annotate_pic_calls): Pass new arg to mips_call_expr_from_insn. | |
10523 | Use it. | |
10524 | ||
676dd4d4 JM |
10525 | 2010-05-19 Joseph Myers <joseph@codesourcery.com> |
10526 | ||
10527 | * diagnostic.c (FLOAT, FFS): Don't undefine. | |
10528 | * passes.c, pretty-print.c, rtl-error.c, toplev.c: Likewise. | |
10529 | * cse.c, regmove.c: Remove comments about stdio.h and rtl.h | |
10530 | include ordering. | |
10531 | ||
caba7aaa RS |
10532 | 2010-05-19 Richard Sandiford <rdsandiford@googlemail.com> |
10533 | ||
10534 | * combine.c (propagate_for_debug): Call make_compound_operation | |
10535 | on the source value. | |
10536 | (try_combine): When implementing a split chosen by find_split_point, | |
10537 | either copy i2src or set it to null. Assert that i2src is not null | |
10538 | before substituting into CALL_INSN_FUNCTION_USAGE. | |
10539 | ||
1961ffb8 AS |
10540 | 2010-05-19 Anatoly Sokolov <aesok@post.ru> |
10541 | ||
10542 | * double-int.h (double_int_ior): New function. | |
10543 | * tree.h (build_int_cst_wide_type): Remove. | |
10544 | * tree.c (build_int_cst_wide_type): Remove. | |
10545 | * fold-const.c (native_interpret_int): Use double_int_to_tree instead | |
10546 | of build_int_cst_wide_type. | |
10547 | * stor-layout.c (set_sizetype): (Ditto.). | |
10548 | * dojump.c (do_jump): Use build_int_cstu instead of | |
10549 | build_int_cst_wide_type. | |
10550 | ||
616f1431 EB |
10551 | 2010-05-19 Eric Botcazou <ebotcazou@adacore.com> |
10552 | ||
10553 | * langhooks.h (struct lang_hooks): Add new field deep_unsharing. | |
10554 | * langhooks-def.h (LANG_HOOKS_DEEP_UNSHARING): New macro. | |
10555 | (LANG_HOOKS_INITIALIZER): Add LANG_HOOKS_DEEP_UNSHARING. | |
ade52657 | 10556 | * gimplify.c (mostly_copy_tree_r): Copy trees under SAVE_EXPR and |
616f1431 EB |
10557 | TARGET_EXPR nodes, but only once, if instructed to do so. Do not |
10558 | propagate the 'data' argument to copy_tree_r. | |
10559 | (copy_if_shared_r): Remove bogus ATTRIBUTE_UNUSED marker. | |
10560 | Propagate 'data' argument to walk_tree. | |
10561 | (copy_if_shared): New function. | |
10562 | (unmark_visited_r): Remove bogus ATTRIBUTE_UNUSED marker. | |
10563 | (unmark_visited): New function. | |
10564 | (unshare_body): Call copy_if_shared instead of doing it manually. | |
10565 | (unvisit_body): Call unmark_visited instead of doing it manually. | |
10566 | ||
f311c3b4 NF |
10567 | 2010-05-19 Nathan Froyd <froydnj@codesourcery.com> |
10568 | ||
10569 | * hooks.h (hook_tree_tree_tree_bool_null): Rename to... | |
10570 | (hook_tree_tree_int_treep_bool_null): ...this. Update signature. | |
10571 | * hooks.c: Likewise. | |
10572 | * target-def.h (TARGET_FOLD_BUILTIN): Define to | |
10573 | hook_tree_tree_int_treep_bool_null. | |
ade52657 | 10574 | * target.h (struct gcc_target): Update signature of fold_builtin |
f311c3b4 NF |
10575 | field. |
10576 | * doc/tm.texi (TARGET_FOLD_BUILTIN): Update description and signature. | |
10577 | * builtins.c (fold_call_expr): Pass call_expr_nargs and CALL_EXPR_ARGP | |
10578 | instead of the call expression. | |
10579 | (fold_builtin_call_array): Pass n and argarray directly. | |
10580 | (fold_call_stmt): Pass nargs and gimple_call_arg_ptr instead of | |
10581 | consing a list. | |
10582 | * config/alpha/alpha.c (alpha_fold_builtin): Update signature. Lift | |
10583 | MAX_ARGS check out of the loop. Delete declaration of `arity', declare | |
10584 | `i' and use it in place of `arity'. | |
10585 | * config/sparc/sparc.c (sparc_fold_builtin): Update signature. | |
10586 | Dereference `args' directly. | |
10587 | * config/xtensa/xtensa (xtensa_fold_builtin): Likewise. | |
10588 | ||
40f1bdd9 RO |
10589 | 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10590 | ||
10591 | * doc/sourcebuild.texi (Effective-Target Keywords): Document | |
10592 | 3dnow, sse3, sse2. | |
10593 | (Directives): Document optional dg-require-effective-target | |
10594 | selector. | |
10595 | ||
817c2996 RG |
10596 | 2010-05-19 Richard Guenther <rguenther@suse.de> |
10597 | ||
10598 | PR lto/44196 | |
10599 | * tree.c (find_decls_types_r): Walk BLOCKs and its vars. | |
10600 | ||
c04b6b38 RG |
10601 | 2010-05-19 Richard Guenther <rguenther@suse.de> |
10602 | ||
10603 | * doc/invoke.texi (-fwhopr): Document new optional jobs argument. | |
10604 | * common.opt (fwhopr=): New. | |
10605 | * opts.c (common_handle_option): Handle OPT_fwhopr. | |
10606 | * gcc.c (LINK_COMMAND_SPEC): Pass fwhopr*. | |
10607 | * collect2.c (main): Match -fwhopr*. | |
10608 | * lto-wrapper.c (run_gcc): Handle jobs argument of -fwhopr. | |
10609 | Execute ltrans stage in parallel when jobs is bigger than 1. | |
10610 | ||
ed104137 RO |
10611 | 2010-05-19 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10612 | ||
10613 | * config.gcc (i[34567]86-*-solaris2*): Default with_arch_32 to | |
10614 | pentiumpro on Solaris 8/x86 with Sun as. | |
10615 | * configure.ac (gcc_cv_as_hidden): Check for Solaris 9/x86 as | |
10616 | hidden alias bug. | |
10617 | (gcc_cv_as_ix86_quad): Check for .quad directive. | |
10618 | * configure: Regenerate. | |
10619 | * config.in: Regenerate. | |
10620 | * config/i386/sol2.h (ASM_QUAD): Change guard to !HAVE_AS_IX86_QUAD. | |
10621 | ||
749aa96d MJ |
10622 | 2010-05-19 Martin Jambor <mjambor@suse.cz> |
10623 | ||
10624 | * ipa-prop.c (ipa_print_node_jump_functions): Print jump functions | |
10625 | also for indirect edges. Actual printing moved... | |
10626 | (ipa_print_node_jump_functions_for_edge): ...here. | |
10627 | (ipa_compute_jump_functions): Renamed to | |
10628 | ipa_compute_jump_functions_for_edge and made static. | |
10629 | (ipa_compute_jump_functions): New function. | |
10630 | (make_edge_direct_to_target): Check if the number of arguments on | |
10631 | the newly direct edge is the same as the number of parametrs of | |
10632 | the callee. | |
10633 | * ipa-cp.c (ipcp_init_stage): Most functionality moved to new | |
10634 | ipa_compute_jump_functions. Call ipa_analyze_params_uses. | |
10635 | * ipa-inline.c (inline_indirect_intraprocedural_analysis): Call | |
10636 | analysis functions unconditionally, call the new | |
10637 | ipa_analyze_params_uses on the node instead of every edge. | |
10638 | ||
81f32326 CB |
10639 | 2010-05-19 Christian Borntraeger <borntraeger@de.ibm.com> |
10640 | ||
431043bd | 10641 | * tree-ssa-loop-prefetch.c (mem_ref_group, ar_data): Change step |
81f32326 | 10642 | to tree. |
431043bd | 10643 | (dump_mem_ref): Adopt debug code to handle a tree as step. This |
81f32326 CB |
10644 | also checks for a constant int vs. non-constant but |
10645 | loop-invariant steps. | |
431043bd | 10646 | (find_or_create_group): Change the sort algorithm to only consider |
81f32326 | 10647 | steps that are constant ints. |
431043bd | 10648 | (idx_analyze_ref): Adopt code to handle a tree instead of a |
81f32326 | 10649 | HOST_WIDE_INT for step. |
431043bd | 10650 | (gather_memory_references_ref): Handle tree instead of int and be |
81f32326 | 10651 | prepared to see a NULL_TREE. |
431043bd | 10652 | (prune_ref_by_self_reuse, prune_ref_by_group_reuse): Do not prune |
81f32326 | 10653 | prefetches if the step cannot be calculated at compile time. |
431043bd | 10654 | (issue_prefetch_ref): Issue prefetches for non-constant but |
81f32326 CB |
10655 | loop-invariant steps. |
10656 | ||
39b27b3a NF |
10657 | 2010-05-18 Nathan Froyd <froydnj@codesourcery.com> |
10658 | ||
10659 | Revert: | |
10660 | 2010-05-18 Nathan Froyd <froydnj@codesourcery.com> | |
10661 | ||
10662 | * tree.h (build_call_list): Remove. | |
10663 | * tree.c (build_call_list): Remove. | |
10664 | ||
3fcb9d1b NF |
10665 | 2010-05-18 Nathan Froyd <froydnj@codesourcery.com> |
10666 | ||
10667 | * tree.h (build_call_list): Remove. | |
10668 | * tree.c (build_call_list): Remove. | |
10669 | ||
58efc3ac JH |
10670 | 2010-05-18 Jan Hubicka <jh@suse.cz> |
10671 | ||
10672 | * ipa-reference.c (propagate): Walk all nodes in the cleanup stage. | |
10673 | ||
0495bafc VM |
10674 | 2010-05-18 Vladimir Makarov <vmakarov@redhat.com> |
10675 | ||
10676 | PR rtl-optimization/43332 | |
10677 | * haifa-sched.c (setup_insn_max_reg_pressure): Check barrier. | |
10678 | ||
abdbbf16 AS |
10679 | 2010-05-18 Anatoly Sokolov <aesok@post.ru> |
10680 | ||
10681 | * tree.h (build_int_cstu): Implement as static inline. | |
10682 | * tree.c (build_int_cstu): Remove function. | |
10683 | (double_int_to_tree, double_int_fits_to_tree_p): Handle size types as | |
10684 | sign extended. | |
10685 | ||
cf96bae7 RG |
10686 | 2010-05-18 Richard Guenther <rguenther@suse.de> |
10687 | ||
10688 | PR lto/44143 | |
10689 | * lto-wrapper.c (verbose): New variable. Initialize from -v. | |
10690 | (debug): Initialize from -save-temps. | |
10691 | (collect_execute): Print command-line when verbose. | |
10692 | (run_gcc): Always use COLLECT_GCC_OPTIONS. Use fork_execute | |
10693 | for ltrans invocation. Produce -dumpbase flag again. | |
10694 | (process_args): Remove. | |
10695 | (main): Simplify. | |
10696 | * collect2.c (maybe_run_lto_and_relink): Only pass object | |
10697 | files to lto-wrapper. | |
10698 | * gcc.c (LINK_COMMAND_SPEC): Likewise. | |
10699 | ||
80e2a014 JH |
10700 | 2010-05-18 Jan Hubicka <jh@suse.cz> |
10701 | ||
10702 | * opts.c (decode_options): Do not disable whopr at ipa_cp. | |
10703 | * ipa-prop.c (ipa_detect_param_modifications): Walk PHI nodes too. | |
10704 | ||
174f391c SB |
10705 | 2010-05-18 Steven Bosscher <steven@gcc.gnu.org> |
10706 | ||
10707 | PR lto/44184 | |
10708 | * lto-streamer-out.c (output_gimple_stmt): Output number of labels | |
10709 | in a GIMPLE_ASM. | |
10710 | * lto-streamer-in.c (input_gimple_stmt): Read number of labels | |
10711 | in a GIMPLE_ASM. | |
10712 | ||
13077931 JJ |
10713 | 2010-05-18 Jakub Jelinek <jakub@redhat.com> |
10714 | ||
10715 | PR debug/41371 | |
10716 | * var-tracking.c (find_loc_in_1pdv): Add a few checks from | |
10717 | rtx_equal_p inline. | |
10718 | ||
02540df4 SB |
10719 | 2010-05-18 Steven Bosscher <steven@gcc.gnu.org> |
10720 | ||
10721 | * config.gcc (powerpc-*-darwin*, powerpc64-*-darwin*): Add | |
10722 | lto-macho as lto_binary_reader. | |
10723 | ||
10724 | * darwin.c (darwin_asm_named_section): Do not add assembler comment | |
10725 | after .section directive; just print it before the directive instead. | |
10726 | ||
36576655 JH |
10727 | 2010-05-17 Jan Hubicka <jh@suse.cz> |
10728 | ||
10729 | * cgraph.c (cgraph_create_virtual_clone): Only check | |
10730 | versionable_function_p when not in wpa and checking is enabled. | |
10731 | * cgraphunit.c (cgraph_materialize_all_clones): Stabilize after | |
10732 | there are no more functions to materialize. | |
10733 | ||
922f15c2 JH |
10734 | 2010-05-17 Jan Hubicka <jh@suse.cz> |
10735 | ||
10736 | * cgraph.h (struct ipa_replace_map): Add parm_num parameter. | |
10737 | * lto-cgraph.c (output_cgraph_opt_summary, input_cgraph_opt_summary): | |
10738 | New functions. | |
10739 | (output_cgraph): Call output_cgraph_opt_summary. | |
10740 | (input_cgrpah): Call input_cgraph_opt_summary. | |
10741 | (output_cgraph_opt_summary_p, output_node_opt_summary, | |
10742 | input_node_opt_summary, input_cgraph_opt_section): New functions. | |
10743 | * lto-section-in.c (lto_section_name): Add cgraphopt. | |
10744 | * tree-inline.c (tree_function_versioning): Handle parm_num. | |
10745 | * lto-streamer.c (lto_get_section_name): Handle cgraphopt. | |
10746 | * lto-streamer.h (lto_section_type): Add LTO_section_cgraph_opt_sum. | |
10747 | ||
d3a9b459 CF |
10748 | 2010-05-17 Changpeng Fang <changpeng.fang@amd.com> |
10749 | ||
10750 | * doc/invoke.texi: Update documentation for min-insn-to-prefetch-ratio. | |
10751 | * tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable): Also apply | |
10752 | the insn to prefetch ratio heuristic to loops with known trip count. | |
10753 | ||
8532678c CF |
10754 | 2010-05-17 Changpeng Fang <changpeng.fang@amd.com> |
10755 | ||
10756 | * tree-ssa-loop-prefetch.c (PREFETCH_MOD_TO_UNROLL_FACTOR_RATIO): New. | |
10757 | (schedule_prefetches): Do not generate a prefetch if the unroll factor | |
10758 | is far from what is required by the prefetch. | |
10759 | ||
339f49ec JH |
10760 | 2010-05-17 Jan Hubicka <jh@suse.cz> |
10761 | ||
10762 | * ipa-cp.c (ipcp_update_callgraph): Use ipa_is_param_used. | |
10763 | (ipcp_estimate_growth): Likewise. | |
10764 | (ipcp_const_param_count): Likewise. | |
10765 | (ipcp_insert_stage): Likewise. | |
10766 | * ipa-prop.c (visit_load_for_mod_analysis): New function. | |
10767 | (visit_store_addr_for_mod_analysis): Set used flag. | |
10768 | (ipa_detect_param_modifications): Set used flag for SSE params; | |
10769 | update use of walk_stmt_load_store_addr_ops. | |
10770 | (ipa_print_node_params): Print used flag. | |
10771 | (ipa_write_node_info): Stream used flag. | |
10772 | (ipa_read_node_info): Likewise. | |
10773 | * ipa-prop.h (struct ipa_param_descriptor): Add used field. | |
10774 | (ipa_is_param_used): New function. | |
10775 | (lto_ipa_fixup_call_notes): Remove unused declaration. | |
10776 | ||
2433310d RO |
10777 | 2010-05-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10778 | ||
10779 | PR target/44074 | |
10780 | * configure.ac (HAVE_AS_IX86_REP_LOCK_PREFIX): New test. | |
10781 | * configure: Regenerate. | |
10782 | * config.in: Regenerate. | |
431043bd | 10783 | * config/i386/i386.c (print_operand) <case ;>: Also print ";" if |
2433310d RO |
10784 | !HAVE_AS_IX86_REP_LOCK_PREFIX. |
10785 | Don't emit whitespace. | |
10786 | * config/i386/i386.md (*rep_movdi_rex64): Use {%;} after rep. | |
10787 | (*rep_movsi): Likewise. | |
10788 | (*rep_movsi_rex64): Likewise. | |
10789 | (*rep_movqi): Likewise. | |
10790 | (*rep_movqi_rex64): Likewise. | |
10791 | (*rep_stosdi_rex64): Likewise. | |
10792 | (*rep_stossi): Likewise. | |
10793 | (*rep_stossi_rex64): Likewise. | |
10794 | (*rep_stosqi): Likewise. | |
10795 | (*rep_stosqi_rex64): Likewise. | |
10796 | (*cmpstrnqi_nz_1): Use {%;} after repz. | |
10797 | (*cmpstrnqi_nz_rex_1): Likewise. | |
10798 | (*cmpstrnqi_1): Likewise. | |
10799 | (*cmpstrnqi_rex_1): Likewise. | |
10800 | (*strlenqi_1): Use {%;} after repnz. | |
10801 | (*strlenqi_rex_1): Likewise. | |
10802 | * config/i386/sync.md (memory_barrier_nosse): Replace {%;| } by {%;} . | |
10803 | (*sync_compare_and_swap<mode>): Likewise. | |
10804 | (sync_double_compare_and_swap<mode>): Likewise. | |
10805 | (*sync_double_compare_and_swapdi_pic): Likewise. | |
10806 | (sync_old_add<mode>): Likewise. | |
10807 | (sync_add<mode>): Likewise. | |
10808 | (sync_sub<mode>): Likewise. | |
10809 | (sync_<code><mode>): Likewise. | |
10810 | ||
b258210c MJ |
10811 | 2010-05-17 Martin Jambor <mjambor@suse.cz> |
10812 | ||
10813 | * cgraph.h (cgraph_indirect_call_info): New fields anc_offset, | |
10814 | otr_token and polymorphic. | |
10815 | * cgraph.c (cgraph_create_indirect_edge): Inilialize the above fields. | |
10816 | (cgraph_clone_edge): Copy the above fields. | |
10817 | * tree.c (get_binfo_at_offset): New function. | |
10818 | * tree.h (get_binfo_at_offset): Declare. | |
10819 | * ipa-prop.h (enum jump_func_type): Added known_type jump function | |
10820 | type, reordered items, updated comments. | |
10821 | (union jump_func_value): Added base_type field, reordered fields. | |
10822 | (enum ipa_lattice_type): Moved down in the file. | |
10823 | (struct ipa_param_descriptor): New field polymorphic. | |
10824 | (ipa_is_param_polymorphic): New function. | |
10825 | * ipa-prop.c: Include gimple.h and gimple-fold.h. | |
10826 | (ipa_print_node_jump_functions): Print known type jump functions. | |
10827 | (compute_complex_pass_through): Renamed to... | |
10828 | (compute_complex_assign_jump_func): this. | |
10829 | (compute_complex_ancestor_jump_func): New function. | |
10830 | (compute_known_type_jump_func): Likewise. | |
10831 | (compute_scalar_jump_functions): Create known type and complex ancestor | |
10832 | jump functions. | |
10833 | (ipa_note_param_call): New parameter polymorphic, set the corresponding | |
10834 | flag in the call note accordingly. | |
10835 | (ipa_analyze_call_uses): Renamed to... | |
10836 | (ipa_analyze_indirect_call_uses): this. New parameter target, define | |
10837 | variable var only in the block where it is used. | |
10838 | (ipa_analyze_virtual_call_uses): New function. | |
10839 | (ipa_analyze_call_uses): Likewise. | |
10840 | (combine_known_type_and_ancestor_jfs): Likewise. | |
10841 | (update_jump_functions_after_inlining): Implemented handling of a | |
10842 | number of new jump function types combination. | |
10843 | (print_edge_addition_message): Removed. | |
10844 | (make_edge_direct_to_target): New function. | |
10845 | (try_make_edge_direct_simple_call): Likewise. | |
10846 | (try_make_edge_direct_virtual_call): Likewise. | |
10847 | (update_call_notes_after_inlining): Renamed to... | |
10848 | (update_indirect_edges_after_inlining): this. Moved edge creation for | |
10849 | indirect calls to try_make_edge_direct_simple_call, also calls | |
10850 | try_make_edge_direct_virtual_call for virtual calls. | |
10851 | (ipa_print_node_params): Changed the header message. | |
10852 | (ipa_write_jump_function): Stream also known type jump functions. | |
10853 | (ipa_read_jump_function): Likewise. | |
10854 | (ipa_write_indirect_edge_info): Stream new fields in | |
10855 | cgraph_indirect_call_info. | |
10856 | (ipa_read_indirect_edge_info): Likewise. | |
10857 | * Makefile.in (ipa-prop.o): Add dependency to GIMPLE_H and | |
10858 | GIMPLE_FOLD_H. | |
10859 | ||
d5d74497 RO |
10860 | 2010-05-17 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
10861 | ||
10862 | * config/i386/sol2.h (TARGET_SUN_TLS): Remove duplicate definition. | |
10863 | ||
58a11859 NF |
10864 | 2010-05-17 Nathan Froyd <froydnj@codesourcery.com> |
10865 | ||
10866 | * tree.h (CALL_EXPR_ARGS): Delete. | |
10867 | (call_expr_arglist): Delete. | |
10868 | * tree.c (call_expr_arglist): Delete. | |
10869 | * builtins.c (fold_call_expr): Pass the whole CALL_EXPR to | |
10870 | targetm.fold_builtin. | |
10871 | * config/alpha/alpha.c (alpha_fold_builtin): Rename arglist parameter. | |
10872 | Rewrite iteration to work on call_expr_nargs rather than TREE_CHAIN. | |
10873 | * config/picochip/picochip.c (picochip_expand_builtin_2op): Rename | |
10874 | arglist parameter. Use CALL_EXPR_ARG. | |
10875 | (picochip_expand_builtin_3op): Likewise. | |
10876 | (picochip_expand_builtin_2opvoid): Likewise. | |
10877 | (picochip_expand_array_get): Likewise. | |
10878 | (picochip_expand_array_put): Likewise. | |
10879 | (picochip_expand_array_testport): Likewise. | |
10880 | (picochip_expand_builtin): Don't call CALL_EXPR_ARGS. Pass exp | |
10881 | rather than arglist. | |
10882 | * config/rx/rx.c (rx_expand_builtin): Call call_expr_nargs instead of | |
10883 | CALL_EXPR_ARGS. | |
10884 | * config/sparc/sparc.c (sparc_fold_builtin): Use CALL_EXPR_ARG rather | |
10885 | than TREE_VALUE and TREE_CHAIN. | |
10886 | * config/xtensa/xtensa.c (xtensa_fold_builtin): Likewise. | |
10887 | * doc/tm.texi (TARGET_FOLD_BUILTIN): Pass CALL_EXPR tree instead of | |
10888 | the arglist. | |
10889 | ||
f1de5107 JJ |
10890 | 2010-05-17 Jakub Jelinek <jakub@redhat.com> |
10891 | ||
f145213f JJ |
10892 | PR bootstrap/42347 |
10893 | * cfglayout.c (fixup_reorder_chain): Allow returnjump_p | |
10894 | to have no fallthru edge. | |
10895 | ||
f1de5107 JJ |
10896 | PR middle-end/44102 |
10897 | * cfgcleanup.c (try_optimize_cfg): When removing trivially empty | |
10898 | bb with no successors, move footer whenever in IR_RTL_CFGLAYOUT | |
10899 | mode, not just when CLEANUP_CFGLAYOUT, and when in IR_RTL_CFGRTL | |
10900 | add BARRIER after previous bb if needed. | |
10901 | ||
b64fca63 | 10902 | 2010-05-17 Nathan Froyd <froydnj@codesourcery.com> |
431043bd | 10903 | |
b64fca63 | 10904 | * tree.c (build_function_type_list_1): Remove bogus assert condition. |
431043bd | 10905 | |
2882bfcc AM |
10906 | 2010-05-17 Alan Modra <amodra@gmail.com> |
10907 | ||
10908 | * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Delete | |
10909 | unnecessary prototype. Replace copy_r12 and copy_r11 flag params | |
10910 | with copy_reg rtx param. | |
10911 | (rs6000_emit_prologue): Update rs6000_emit_allocate_stack calls. | |
10912 | Correct cases where code for ABI_V4 did not initialise the reg | |
10913 | used to access frame. Also leave frame_reg_rtx as sp for large | |
10914 | frames that save no regs. | |
10915 | ||
5feb49f0 MJ |
10916 | 2010-05-17 Martin Jambor <mjambor@suse.cz> |
10917 | ||
10918 | PR middle-end/44133 | |
10919 | * tree-sra.c (create_access_replacement): New parameter rename, mark | |
10920 | the replaement for renaming only when it is true. | |
10921 | (get_access_replacement): Pass true in the rename parameter of | |
10922 | create_access_replacement. | |
10923 | (get_unrenamed_access_replacement): New function. | |
10924 | (replace_uses_with_default_def_ssa_name): New parameter racc, get the | |
10925 | replacement declaration from it. | |
10926 | ||
56731d64 BS |
10927 | 2010-05-17 Bernd Schmidt <bernds@codesourcery.com> |
10928 | ||
10929 | * function.c (try_fit_stack_local, add_frame_space): New static | |
10930 | functions. | |
10931 | (assign_stack_local_1): Use them. Look for opportunities to use | |
10932 | space previously wasted on alignment. | |
10933 | * function.h (struct frame_space): New. | |
10934 | (struct rtl_data): Add FRAME_SPACE_LIST member. | |
10935 | * reload1.c (something_was_spilled): New static variable. | |
10936 | (alter_reg): Set it. | |
10937 | (reload): Test it in addition to testing if the frame size changed. | |
10938 | ||
24a235c8 CB |
10939 | 2010-05-17 Christian Borntraeger <borntraeger@de.ibm.com> |
10940 | ||
431043bd UB |
10941 | * config/s390/s390.c: Define sane prefetch settings and activate |
10942 | flag_prefetch_loop_arrays on -O3. | |
10943 | * config/s390/s390.h: Declare that read can use write prefetch. | |
24a235c8 | 10944 | |
18252dcf JJ |
10945 | 2010-05-17 Jakub Jelinek <jakub@redhat.com> |
10946 | ||
10947 | * lto-streamer-out.c (lto_output): Fix --enable-checking=release | |
10948 | build. | |
10949 | ||
199f1dc4 JH |
10950 | 2010-05-16 Jan Hubicka <jh@suse.cz> |
10951 | ||
10952 | * ipa-cp.c (ipcp_versionable_function_p): Walk cgraph edges instead of | |
10953 | function body; do not check stdarg field of struct function. | |
10954 | ||
ccbbf8a2 JH |
10955 | 2010-05-16 Jan Hubicka <jh@suse.cz> |
10956 | ||
10957 | * cgraph.c (dump_cgraph_node): Dump versionable flag. | |
10958 | * cgraph.h (cgraph_local_info): Add versionable flag. | |
10959 | * ipa-cp.c (ipcp_analyze_node): Set versionable flag. | |
10960 | (ipcp_versionable_function_p): Use it. | |
10961 | * lto-cgraph.c (lto_output_node, input_overwrite_node): Stream | |
10962 | versionable flag. | |
10963 | ||
91fbf0c7 JH |
10964 | 2010-05-16 Jan Hubicka <jh@suse.cz> |
10965 | ||
10966 | * cgraph.c (cgraph_clone_node): Take decl argument and insert | |
10967 | clone into hash when it is different from orig. | |
10968 | (cgraph_create_virtual_clone): Update use of cgraph_clone_node. | |
10969 | * cgraph.h (cgraph_clone_node): Update prototype. | |
10970 | * lto-cgrpah.c (lto_cgraph_encoder_new): Create body map. | |
10971 | (lto_cgraph_encoder_delete): Delete body map. | |
10972 | (lto_cgraph_encoder_size): Move to header. | |
ccbbf8a2 JH |
10973 | (lto_cgraph_encoder_encode_body_p, |
10974 | lto_set_cgraph_encoder_encode_body): New. | |
91fbf0c7 JH |
10975 | (lto_output_node): Do not take written_decls argument; output clone_of |
10976 | pointer. | |
10977 | (add_node_to): Add include_body_argument; call | |
10978 | lto_set_cgraph_encoder_encode_body on master of the clone. | |
10979 | (add_references): Update use of add_node_to. | |
10980 | (compute_ltrans_boundary): Likewise. | |
10981 | (output_cgraph): Do not create written_decls bitmap. | |
10982 | (input_node): Take nodes argument; stream in clone_of correctly. | |
10983 | (input_cgraph_1): Update use of input_node. | |
10984 | * lto-streamer-out.c (lto_output): Use encoder info to decide | |
10985 | what bodies to output. | |
10986 | * ipa-inline.c (cgraph_clone_inlined_nodes, | |
10987 | cgraph_decide_recursive_inlining): Update call of cgraph_clone_node. | |
10988 | * lto-streamer.h (lto_cgraph_encoder_d): Add body. | |
10989 | (lto_cgraph_encoder_size): Define here. | |
10990 | (lto_cgraph_encoder_encode_body_p, lto_varpool_encoder_encode_body_p): | |
10991 | Declare. | |
10992 | ||
6b87d1b4 RG |
10993 | 2010-05-16 Richard Guenther <rguenther@suse.de> |
10994 | ||
10995 | * doc/invoke.texi (-fipa-struct-reorg): Do not mention | |
10996 | -fipa-type-escape. | |
10997 | * ipa-type-escape.c (gate_type_escape_vars): Run when | |
10998 | -fipa-struct-reorg runs. | |
10999 | * opts.c (decode_options): Do not unset flag_ipa_type_escape. | |
11000 | * common.opt (fipa-type-escape): Remove. | |
11001 | ||
203a92e3 EB |
11002 | 2010-05-16 Eric Botcazou <ebotcazou@adacore.com> |
11003 | ||
11004 | * opts.c (handle_option): Call into LTO streamer only if ENABLE_LTO. | |
11005 | (decode_options): Likewise. | |
11006 | * Makefile.in (opts.o): Add dependency on LTO_STREAMER_H. | |
11007 | ||
e419f710 JH |
11008 | 2010-05-16 Jan Hubicka <jh@suse.cz> |
11009 | ||
11010 | * ipa.c (function_and_variable_visibility): Also bring local all | |
11011 | aliases. | |
11012 | ||
2e0c984c RG |
11013 | 2010-05-16 Richard Guenther <rguenther@suse.de> |
11014 | ||
11015 | * alias.c (nonoverlapping_memrefs_p): Remove use of | |
11016 | IPA type-escape information. | |
11017 | ||
32912286 JM |
11018 | 2010-05-16 Joseph Myers <joseph@codesourcery.com> |
11019 | ||
11020 | * c-common.c (c_common_reswords): Add _Static_assert for C. | |
11021 | * c-parser.c (c_token_starts_declaration, | |
11022 | c_parser_next_token_starts_declaration, | |
11023 | c_parser_static_assert_declaration_no_semi, | |
11024 | c_parser_static_assert_declaration): New. | |
11025 | (c_parser_declaration_or_fndef): Add parameter static_assert_ok. | |
11026 | Handle static assertions if static_assert_ok. | |
11027 | (c_parser_external_declaration, c_parser_declaration_or_fndef, | |
11028 | c_parser_compound_statement_nostart, c_parser_label, | |
11029 | c_parser_for_statement, c_parser_objc_methodprotolist, | |
11030 | c_parser_omp_for_loop): All callers of | |
11031 | c_parser_declaration_or_fndef changed. | |
11032 | (c_parser_struct_declaration): Handle static assertions. | |
11033 | (c_parser_compound_statement_nostart): Use | |
11034 | c_parser_next_token_starts_declaration and | |
11035 | c_token_starts_declaration to detect start of declarations. | |
11036 | (c_parser_label, c_parser_for_statement, c_parser_omp_for_loop): | |
11037 | Likewise. | |
11038 | ||
a3ca07e3 AS |
11039 | 2010-05-16 Anatoly Sokolov <aesok@post.ru> |
11040 | ||
11041 | * config/mmix/mmix.h (FUNCTION_VALUE, FUNCTION_OUTGOING_VALUE, | |
11042 | LIBCALL_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros. | |
11043 | * config/mmix/mmix.c (TARGET_FUNCTION_VALUE, TARGET_LIBCALL_VALUE, | |
11044 | TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
11045 | (mmix_function_outgoing_value): Rename to... | |
11046 | (mmix_function_value): ...this. Make static. Add 'outgoing' argument. | |
11047 | (mmix_function_value_regno_p): Make static. | |
11048 | (mmix_libcall_value): New function. | |
11049 | * config/mmix/mmix-protos.h (mmix_function_outgoing_value, | |
11050 | mmix_function_value_regno_p): Remove declaration. | |
11051 | ||
29d17485 EB |
11052 | 2010-05-16 Eric Botcazou <ebotcazou@adacore.com> |
11053 | ||
11054 | * tree.c (build_common_builtin_nodes): Always clear TREE_NOTHROW on | |
11055 | BUILT_IN_ALLOCA if stack checking is enabled. | |
11056 | ||
a6590c31 RG |
11057 | 2010-05-16 Richard Guenther <rguenther@suse.de> |
11058 | ||
11059 | * var-tracking.c (vars_copy_1): Inline ... | |
11060 | (vars_copy): ... here. Use FOR_EACH_HTAB_ELEMENT. | |
11061 | (variable_union): Use FOR_EACH_HTAB_ELEMENT. Merge asserts. | |
11062 | (variable_merge_over_cur): Adjust. Merge asserts. | |
11063 | (variable_merge_over_src): Likewise. | |
11064 | (dataflow_set_merge): Use FOR_EACH_HTAB_ELEMENT. | |
11065 | (variable_post_merge_new_vals): Merge asserts. | |
11066 | (variable_post_merge_perm_vals): Likewise. | |
11067 | (find_mem_expr_in_1pdv): Likewise. | |
11068 | (dataflow_set_different_value): Remove. | |
11069 | (onepart_variable_different_p): Merge asserts. | |
11070 | (variable_different_p): Likewise. | |
11071 | (dataflow_set_different_1): Inline ... | |
11072 | (dataflow_set_different): ... here. Use FOR_EACH_HTAB_ELEMENT. | |
11073 | (emit_notes_for_differences_1): Merge asserts. | |
11074 | ||
6456e26e RG |
11075 | 2010-05-16 Richard Guenther <rguenther@suse.de> |
11076 | ||
11077 | * lto-symtab.c (lto_symtab_entry_hash): Use IDENTIFIER_HASH_VALUE. | |
11078 | * optabs.c (libfunc_decl_hash): Likewise. | |
11079 | * varasm.c (emutls_decl): Likewise. | |
11080 | ||
1d4c5fe9 SB |
11081 | 2010-05-16 Steven Bosscher <steven@gcc.gnu.org> |
11082 | ||
11083 | * c-decl.c: Don't include gimple.h. | |
11084 | (merge_decls): Do not copy gimple_body. | |
11085 | ||
9feb3d6a JM |
11086 | 2010-05-15 Jason Merrill <jason@redhat.com> |
11087 | ||
11088 | * c.opt: Add -fnothrow-opt. | |
11089 | ||
9b3cf76a JH |
11090 | 2010-05-15 Jan Hubicka <jh@suse.cz> |
11091 | ||
29d17485 EB |
11092 | * ipa-prop.c (ipa_prop_read_section): Add sanity check that node is |
11093 | analyzed. | |
9b3cf76a JH |
11094 | * passes.c (ipa_write_summaries): Write all analyzed nodes. |
11095 | ||
f4ce02c5 SB |
11096 | 2010-05-15 Steven Bosscher <steven@gcc.gnu.org> |
11097 | ||
11098 | * vecir.h: New file with VEC primitives for tree, gimple, and rtl. | |
11099 | * Makefile.in: Add it. | |
11100 | Fix all other Makefile dependencies for changes below. | |
11101 | * tree.h: Include it instead of defining VEC primitives here. | |
11102 | * gimple.h: Likewise. | |
11103 | * rtl.h: Likewise. | |
11104 | * tree-inline.h: Inlclude vecir.h instead of gimple.h. | |
11105 | * except.h: Include vecir.h, break dependence on tree.h. | |
11106 | ||
11107 | * gimplify.c (append_to_statement_list_1, append_to_statement_list): | |
11108 | Move from here... | |
11109 | * tree-iterator.c: ...to here. | |
11110 | * tree-iterator.h: Fix file introduction comment. Add extern markers. | |
11111 | ||
11112 | * c-lex.c: Include fixed-value.h instead of rtl.h. Do not include | |
11113 | tm_p.h. | |
11114 | * c-cppbuiltin.c: Explain why debug.h and tm_p.h are included. | |
11115 | * c-objc-common.h: Do not include tm.h, rtl.h, insn-config.h, | |
11116 | integrate.h, function.h, toplev.h, tree-inline.h, ggc.h, | |
11117 | tree-mudflap.h, and target.h. | |
11118 | * c-semantics.c: Do not include except.h, ggc.h, rtl.h, timevar.h, | |
11119 | predict.h, tree-inline.h, gimple.h, and langhooks.h. | |
11120 | * c-decl.c: Do not include expr.h, ggc.h, libfuncs.h, except.h. | |
11121 | Add FIXME for why gimple.h is still included (should be unnecessary | |
11122 | since GCC 4.5 gimplification unit-at-a-time). | |
11123 | * c-typeck.c: Do not include rtl.h, tm_p.h, ggc.h, and gimple.h. | |
11124 | * c-pragma.c: Add FIXME for why function.h needs to be included just | |
11125 | for cfun, at front-end level. | |
11126 | Add note that REGISTER_TARGET_PRAGMAS should probably be a target hook. | |
11127 | Do not include ggc.h, but include vecprim.h for VEC(char). | |
11128 | * c-opts.c: Do not include tm.h, tree-inline.h, and tm_p.h. | |
11129 | Explain why target.h is included. | |
11130 | * c-omp.h: Do not include tm.h, function.h, and bitmap.h. | |
11131 | Explain why gimple.h is included. | |
11132 | * c-ppoutput.c: Do not include tm.h. | |
11133 | * c-common.c: Do not include gimple.h. Explain why expr.h is included. | |
11134 | * c-parses.c: Explain why rtl.h is included, and that this (and only | |
11135 | this) is also why tm.h must be included. | |
11136 | Do not include except.h. | |
11137 | * c-lang.c: Do not include ggc.h. | |
11138 | ||
12201e48 UB |
11139 | 2010-05-15 Uros Bizjak <ubizjak@gmail.com> |
11140 | ||
11141 | * targhooks.c (GO_IF_MODE_DEPENDENT_ADDRESS): Use CONST_CAST_RTX. | |
11142 | ||
4bdd0a60 JM |
11143 | 2010-05-15 Joseph Myers <joseph@codesourcery.com> |
11144 | ||
11145 | * c-decl.c (grokfield): Allow typedefs for anonymous structs and | |
11146 | unions by default if those structs and unions have no tags. Do | |
11147 | not condition anonymous struct and unions handling on flag_iso. | |
11148 | Allow anonymous structs and unions for C1X. | |
11149 | (finish_struct): Do not diagnose lack of named fields when | |
11150 | anonymous structs and unions present for C1X. Accept flexible | |
11151 | array members in structure with anonymous structs or unions but no | |
11152 | directly named fields. | |
11153 | * doc/extend.texi (Unnamed Fields): Update. | |
11154 | ||
d025732d EB |
11155 | 2010-05-15 Eric Botcazou <ebotcazou@adacore.com> |
11156 | ||
11157 | * gimple.h (compare_field_offset): Rename into... | |
11158 | (gimple_compare_field_offset): ...this. | |
11159 | * gimple.c (compare_field_offset): Rename into... | |
11160 | (gimple_compare_field_offset): ...this. Compare the full access if | |
11161 | the offset is self-referential. | |
11162 | (gimple_types_compatible_p): Adjust for above renaming. | |
11163 | * lto-streamer-in.c (input_gimple_stmt): Likewise. Also compare the | |
11164 | DECL_NONADDRESSABLE_P flag of fields before merging them. | |
11165 | ||
b75bdd29 NF |
11166 | 2010-05-15 Nathan Froyd <froydnj@codesourcery.com> |
11167 | ||
11168 | * tree.h (ctor_to_list): Delete. | |
11169 | * tree.c (ctor_to_list): Delete. | |
11170 | ||
f3380641 JH |
11171 | 2010-05-15 Jan Hubicka <jh@suse.cz> |
11172 | ||
11173 | * ipa-reference.c: Include toplev.h | |
11174 | (is_proper_for_analysis): Only add to all_module_statics | |
11175 | if it is allocated. | |
11176 | (write_node_summary_p, stream_out_bitmap, | |
11177 | ipa_reference_write_optimization_summary, | |
11178 | ipa_reference_read_optimization_summary): New. | |
11179 | (struct ipa_opt_pass_d pass_ipa_reference): Add | |
11180 | optimization summary streaming. | |
12201e48 | 11181 | * lto-cgraph.c (referenced_from_this_partition_p, |
f3380641 JH |
11182 | reachable_from_this_partition_p): New functions. |
11183 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1, | |
11184 | call_may_clobber_ref_p_1): Ask ipa-reference even for public vars. | |
11185 | * opts.c (decode_options): Enable ipa_reference. | |
11186 | * Makefile.in (ipa-reference.o): Add toplev.h dependency. | |
11187 | * lto-streamer.h (referenced_from_this_partition_p, | |
11188 | reachable_from_this_partition_p): Declare. | |
11189 | ||
9d0baae1 RG |
11190 | 2010-05-15 Richard Guenther <rguenther@suse.de> |
11191 | ||
11192 | PR tree-optimization/44038 | |
11193 | * tree-ssa-forwprop.c (forward_propagate_addr_expr_1): Avoid | |
11194 | taking the address of a V_C_E of a constant. | |
11195 | ||
46c30019 JH |
11196 | 2010-05-14 Jan Hubicka <jh@suse.cz> |
11197 | ||
11198 | * tree.h (memory_identifier_string): Remove. | |
11199 | * ipa-reference.c: Update comment; do not include gt-ipa-reference.h | |
11200 | (ipa_reference_global_vars_info_d): Remove statics_not_read and | |
11201 | statics_not_written. | |
11202 | (ipa_reference_optimization_summary_d): New structure. | |
11203 | (ipa_reference_optimization_summary_t): New type and vector. | |
11204 | (ipa_reference_vars_info_d): Embedd structures instead of using | |
11205 | pointers. | |
11206 | (reference_vars_to_consider): Remove out of GGC space. | |
11207 | (module_statics_escape): Remove. | |
11208 | (global_info_obstack): Rename to ... | |
11209 | (optimization_summary_obstack): ... this one. | |
11210 | (initialization_status_t): Remove. | |
11211 | (memory_identifier_string): Remove. | |
11212 | (get_reference_vars_info): Fix indenting. | |
11213 | (set_reference_vars_info): Likewise. | |
11214 | (get_reference_optimization_summary): New. | |
11215 | (set_reference_optimization_summary): New. | |
11216 | (get_global_reference_vars_info): Remove. | |
11217 | (ipa_reference_get_read_global): Remove. | |
11218 | (ipa_reference_get_written_global): Remove. | |
11219 | (ipa_reference_get_not_read_global): Update. | |
11220 | (ipa_reference_get_not_written_global): Update. | |
11221 | (is_proper_for_analysis): Outlaw addressable. | |
11222 | (propagate_bits): Update for new datastructures. | |
11223 | (analyze_variable): Remove. | |
11224 | (init_function_info): Update for new datastructures. | |
11225 | (clean_function_local_data): Remove. | |
11226 | (clean_function): Remove. | |
11227 | (copy_global_bitmap): Use optimizations_summary_obstack. | |
11228 | (duplicate_node_data): Duplicate optimization summary only. | |
11229 | (remove_node_data): Remove optimization summary only. | |
11230 | (generate_summary): Do not analyze variables; do not compute | |
11231 | module_statics_escape; do not prune solutions by it. | |
11232 | (read_write_all_from_decl): Fix typos in comments. | |
11233 | (propagate): Doscover readonly and nonaddressable first; | |
11234 | update for new datastructures; share global bitmaps. | |
11235 | * ipa-reference.h (ipa_reference_get_read_global, | |
11236 | ipa_reference_get_written_global): Remove. | |
11237 | * ipa-pure-const.c (check_stmt): Do not use memory_identifier_string. | |
11238 | * Makefile.in: Remove ipa-refereference from GT files. | |
11239 | ||
22bf7d17 JJ |
11240 | 2010-05-14 Jakub Jelinek <jakub@redhat.com> |
11241 | ||
11242 | PR debug/44112 | |
11243 | * dwarf2out.c (resolve_one_addr): Check TREE_ASM_WRITTEN | |
11244 | for all SYMBOL_REF_DECLs. | |
11245 | ||
4a444e58 JH |
11246 | 2010-05-14 Jan Hubicka <jh@suse.cz> |
11247 | ||
11248 | * cgraph.h (ipa_discover_readonly_nonaddressable_vars): Declare. | |
11249 | (varpool_all_refs_explicit_p): New inline function. | |
11250 | * ipa-reference.c: Update comment. | |
11251 | (module_statics_written): Remove. | |
11252 | (get_static_decl): Remove. | |
11253 | (ipa_init): Do not initialize module_statics_written. | |
11254 | (analyze_function): Likewise. | |
11255 | (generate_summary): Likewise; do not compute module_statics_readonly | |
11256 | and do not update variable flags. | |
11257 | (propagate): Call ipa_discover_readonly_nonaddressable_vars. | |
11258 | * ipa.c: Inlucde flags.h | |
11259 | (cgraph_local_node_p): New. | |
11260 | (cgraph_remove_unreachable_nodes): Return early when not optimizing; | |
11261 | promote functions to local. | |
11262 | (ipa_discover_readonly_nonaddressable_vars): New function. | |
11263 | (function_and_variable_visibility): Use cgraph_local_node_p. | |
11264 | * varpool.c (varpool_finalize_decl): Set force_output for | |
11265 | DECL_PRESERVE_P vars. | |
11266 | ||
bc8ddfe6 JH |
11267 | 2010-05-14 Jan Hubicka <jh@suse.cz> |
11268 | ||
11269 | * ipa.c (cgraph_remove_unreachable_nodes): Revert accidental commit. | |
11270 | ||
4d2ab9e3 RG |
11271 | 2010-05-14 Richard Guenther <rguenther@suse.de> |
11272 | ||
11273 | PR tree-optimization/44119 | |
11274 | * tree-ssa-pre.c (eliminate): Properly mark replacement of | |
11275 | a PHI node necessary. | |
11276 | ||
9e87b842 EB |
11277 | 2010-05-14 Eric Botcazou <ebotcazou@adacore.com> |
11278 | ||
11279 | * tree.h (TREE_ADDRESSABLE): Remove bogus usage for FIELD_DECL. | |
11280 | ||
786f715d JM |
11281 | 2010-05-14 Jason Merrill <jason@redhat.com> |
11282 | ||
9bb1a81b JM |
11283 | PR c++/44127 |
11284 | * gimple.h (enum gf_mask): Add GF_CALL_NOTHROW. | |
11285 | (gimple_call_set_nothrow): New. | |
11286 | * gimple.c (gimple_build_call_from_tree): Call it. | |
11287 | (gimple_call_flags): Set ECF_NOTHROW from GF_CALL_NOTHROW. | |
11288 | ||
786f715d JM |
11289 | PR c++/44127 |
11290 | * gimplify.c (gimplify_seq_add_stmt): No longer static. | |
11291 | * gimple.h: Declare it. | |
11292 | * gimple.c (gimple_build_eh_filter): No ops. | |
11293 | ||
19fb0b86 JH |
11294 | 2010-05-14 Jan Hubicka <jh@suse.cz> |
11295 | ||
11296 | * ipa.c (enqueue_cgraph_node): Update comment; do not re-enqueue | |
11297 | nodes already in queue. | |
9e87b842 EB |
11298 | (cgraph_remove_unreachable_nodes): Cleanup; fix problem with |
11299 | re-enqueueing node. | |
19fb0b86 | 11300 | |
88c04a5d JJ |
11301 | 2010-05-14 Jakub Jelinek <jakub@redhat.com> |
11302 | ||
11303 | PR debug/44136 | |
11304 | * cfgexpand.c (expand_debug_expr): If non-memory op0 | |
11305 | has BLKmode, return NULL. | |
11306 | ||
1133125e HJ |
11307 | 2010-05-14 Harsha Jagasia <harsha.jagasia@amd.com> |
11308 | ||
11309 | * config.gcc: Add support for --with-cpu option for bdver1. | |
11310 | * config/i386/i386.h (TARGET_BDVER1): New macro. | |
11311 | (ix86_tune_indices): Change SSE_UNALIGNED_MOVE_OPTIMAL | |
11312 | to SSE_UNALIGNED_LOAD_OPTIMAL. Add SSE_UNALIGNED_STORE_OPTIMAL. | |
11313 | (ix86_tune_features) :Change SSE_UNALIGNED_MOVE_OPTIMAL | |
11314 | to SSE_UNALIGNED_LOAD_OPTIMAL. Add SSE_UNALIGNED_STORE_OPTIMAL. | |
11315 | Add SSE_PACKED_SINGLE_INSN_OPTIMAL. | |
11316 | (TARGET_CPU_DEFAULT_NAMES): Add bdver1. | |
11317 | (processor_type): Add PROCESSOR_BDVER1. | |
11318 | * config/i386/i386.md: Add bdver1 as a new cpu attribute to match | |
11319 | processor_type in config/i386/i386.h. | |
11320 | Add check for TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit | |
11321 | movaps <reg, reg> instead of movapd <reg, reg> when replacing | |
11322 | movsd <reg, reg> or movss <reg, reg> for SSE and AVX. | |
11323 | Add check for TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL | |
11324 | to emit packed xor instead of packed double/packed integer | |
11325 | xor for SSE and AVX when moving a zero value. | |
9e87b842 EB |
11326 | * config/i386/sse.md: Add check for |
11327 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit movaps instead of | |
11328 | movapd/movdqa for SSE and AVX. | |
11329 | Add check for TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit packed | |
11330 | single logical operations i.e and, or and xor instead of packed double | |
11331 | logical operations for SSE and AVX. | |
12201e48 UB |
11332 | * config/i386/i386-c.c (ix86_target_macros_internal): |
11333 | Add PROCESSOR_BDVER1. | |
1133125e HJ |
11334 | * config/i386/driver-i386.c: Turn on -mtune=native for BDVER1. |
11335 | (has_fma4, has_xop): New. | |
11336 | * config/i386/i386.c (bdver1_cost): New variable. | |
11337 | (m_BDVER1): New macro. | |
11338 | (m_AMD_MULTIPLE): Add m_BDVER1. | |
11339 | (x86_tune_use_leave, x86_tune_push_memory, x86_tune_unroll_strlen, | |
9e87b842 EB |
11340 | x86_tune_deep_branch_prediction, x86_tune_use_sahf, x86_tune_movx, |
11341 | x86_tune_use_simode_fiop, x86_tune_promote_qimode, | |
11342 | x86_tune_add_esp_8, x86_tune_tune_sub_esp_4, x86_tune_sub_esp_8, | |
11343 | x86_tune_integer_dfmode_moves, x86_tune_partial_reg_dependency, | |
11344 | x86_tune_sse_partial_reg_dependency, | |
11345 | x86_tune_sse_unaligned_load_optimal, | |
11346 | x86_tune_sse_unaligned_store_optimal, x86_tune_sse_typeless_stores, | |
11347 | x86_tune_memory_mismatch_stall, x86_tune_use_ffreep, | |
11348 | x86_tune_inter_unit_moves, x86_tune_inter_unit_conversions, | |
11349 | x86_tune_use_bt, x86_tune_pad_returns, x86_tune_slow_imul_imm32_mem, | |
11350 | x86_tune_slow_imul_imm8, x86_tune_fuse_cmp_and_branch): | |
1133125e HJ |
11351 | Enable/disable for bdver1. |
11352 | (processor_target_table): Add bdver1_cost. | |
11353 | (cpu_names): Add bdver1. | |
11354 | (override_options): Set up PROCESSOR_BDVER1 for bdver1 entry in | |
11355 | processor_alias_table. | |
9e87b842 EB |
11356 | (ix86_expand_vector_move_misalign): Change. |
11357 | TARGET_SSE_UNALIGNED_MOVE_OPTIMAL to TARGET_SSE_UNALIGNED_LOAD_OPTIMAL. | |
11358 | Check for TARGET_SSE_UNALIGNED_STORE_OPTIMAL. | |
11359 | Check for TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit movups instead | |
11360 | of movupd/movdqu for SSE and AVX. | |
1133125e HJ |
11361 | (ix86_tune_issue_rate): Add PROCESSOR_BDVER1. |
11362 | (ix86_tune_adjust_cost): Add code for bdver1. | |
11363 | (standard_sse_constant_opcode): Add check for | |
11364 | TARGET_SSE_PACKED_SINGLE_INSN_OPTIMAL to emit packed single xor instead | |
11365 | of packed double xor for SSE and AVX. | |
11366 | ||
e972cc7e PH |
11367 | 2010-05-14 Pat Haugen <pthaugen@us.ibm.com> |
11368 | ||
11369 | * tree-ssa-loop.prefetch.c (prune_ref_by_group_reuse): Cast abs() | |
11370 | result to unsigned. | |
11371 | ||
6a080096 TG |
11372 | 2010-05-14 Tristan Gingold <gingold@adacore.com> |
11373 | ||
11374 | * toplev.c (default_debug_hooks): Remove this variable. | |
11375 | (process_options): Remove assignments to default_debug_hooks. | |
11376 | ||
b5023f3c MJ |
11377 | 2010-05-14 Martin Jambor <mjambor@suse.cz> |
11378 | ||
11379 | * langhooks-def.h (LANG_HOOKS_FOLD_OBJ_TYPE_REF): Remove. | |
11380 | (LANG_HOOKS_INITIALIZER): Remove LANG_HOOKS_FOLD_OBJ_TYPE_REF. | |
11381 | * langhooks.h (struct lang_hooks_for_decls): Removed field | |
11382 | fold_obj_type_ref. | |
11383 | * tree.c (free_lang_data): Remove assignment to | |
11384 | lang_hooks.fold_obj_type_ref. | |
11385 | * tree.def (OBJ_TYPE_REF): Update comment. | |
11386 | ||
6141b7db RG |
11387 | 2010-05-14 Richard Guenther <rguenther@suse.de> |
11388 | ||
11389 | PR tree-optimization/44124 | |
11390 | * tree-ssa-sccvn.c (vn_nary_may_trap): Fix invalid memory access. | |
11391 | ||
e15a8cbe AM |
11392 | 2010-05-14 Alan Modra <amodra@gmail.com> |
11393 | ||
11394 | PR target/44075 | |
11395 | * config/rs6000/rs6000.c (struct machine_function): Reorder | |
11396 | fields for better packing. Add lr_save_state. | |
11397 | (rs6000_ra_ever_killed): Return lr_save_state if set. | |
11398 | (rs6000_emit_eh_reg_restore): Set lr_save_state. | |
11399 | ||
da405c74 JH |
11400 | 2010-05-13 Jan Hubicka <jh@suse.cz> |
11401 | ||
11402 | * varpool.c (decide_is_variable_needed): Drop code checking | |
11403 | TREE_SYMBOL_REFERENCED. | |
11404 | ||
152464d2 JH |
11405 | 2010-05-13 Jan Hubicka <jh@suse.cz> |
11406 | ||
11407 | * final.c (output_addr_const): Do not call mark_decl_referenced. | |
11408 | * cgraphunit.c (process_function_and_variable_attributes): Use | |
11409 | mark_needed_node dirrectly. | |
11410 | (assemble_thunk): Do not call mark_decl_referenced. | |
11411 | ||
32cbdf00 AS |
11412 | 2010-05-13 Anatoly Sokolov <aesok@post.ru> |
11413 | ||
11414 | * targhooks.c (default_mode_dependent_address_p): Cast 'addr' to rtx. | |
11415 | ||
e4f36d31 JL |
11416 | 2010-05-13 Jeff Law <law@redhat.com> |
11417 | ||
11418 | * ira-conflicts.c (print_allocno_conflicts): New function broken out | |
11419 | from... | |
11420 | (print_conflicts): Call print_allocno_conflicts. | |
11421 | ||
1fcebc11 JJ |
11422 | 2010-05-13 Jakub Jelinek <jakub@redhat.com> |
11423 | ||
11424 | PR debug/44104 | |
11425 | * dwarf2out.c (modified_type_die): Don't dereference mod_type_die | |
11426 | if it is NULL. | |
11427 | ||
917ed773 KT |
11428 | 2010-05-13 Kai Tietz <kai.tietz@onevision.com> |
11429 | ||
11430 | * config.gcc (i[34567]86-*-mingw* | x86_64-*-mingw*): Choose | |
11431 | t-mingw-w64 or t-mingw-w32 for multilib configuration. | |
11432 | * config/i386/t-mingw-w32: New. | |
11433 | * config/i386/t-mingw-w64 (MULTILIB_OSDIRNAMES): Change lib64 to lib. | |
12201e48 | 11434 | |
1ae6fe9b MJ |
11435 | 2010-05-13 Martin Jambor <mjambor@suse.cz> |
11436 | ||
11437 | * gimple.c (gimple_fold_obj_type_ref): Removed (a replacement moved to | |
11438 | gimple-fold.c). | |
11439 | * gimple-fold.c (get_base_binfo_for_type): New function. | |
11440 | (gimple_get_relevant_ref_binfo): Likewise. | |
11441 | (gimple_fold_obj_type_ref_known_binfo): Likewise. | |
11442 | (gimple_fold_obj_type_ref): Likewise. | |
11443 | (fold_gimple_call): Simplify condition for folding virtual calls | |
11444 | and call gimple_fold_obj_type_ref. | |
11445 | * gimple.h (gimple_get_relevant_ref_binfo): Declare. | |
11446 | (gimple_fold_obj_type_ref_known_binfo): Likewise. | |
11447 | ||
78c7cabb AS |
11448 | 2010-05-13 Andreas Schwab <schwab@linux-m68k.org> |
11449 | ||
11450 | * config/rs6000/rs6000-protos.h | |
11451 | (rs6000_mode_dependent_address_ptr): Change argument to const_rtx. | |
11452 | * config/rs6000/rs6000.c (rs6000_mode_dependent_address) | |
11453 | (rs6000_debug_mode_dependent_address) | |
11454 | (rs6000_mode_dependent_address_ptr): Likewise. | |
11455 | ||
823e9473 JJ |
11456 | 2010-05-13 Jakub Jelinek <jakub@redhat.com> |
11457 | ||
11458 | PR debug/43983 | |
11459 | * var-tracking.c (track_expr_p): Allow tracking of variables optimized | |
11460 | by SRA. | |
11461 | * Makefile.in (dwarf2out.o): Depend on $(TREE_FLOW_H). | |
11462 | * tree-sra.c (create_access_replacement): Call unshare_expr before | |
12201e48 | 11463 | passing expr to SET_DECL_DEBUG_EXPR, and remove any SSA_NAMEs from it. |
823e9473 JJ |
11464 | * dwarf2out.c: Include tree-flow.h. |
11465 | (struct var_loc_node): Rename var_loc_note field to loc, add comment. | |
11466 | (size_of_loc_descr, output_loc_operands, output_loc_operands_raw): | |
11467 | Handle DW_OP_bit_piece. | |
11468 | (decl_piece_bitsize, decl_piece_varloc_ptr, decl_piece_node, | |
11469 | construct_piece_list, adjust_piece_list): New functions. | |
11470 | (add_var_loc_to_decl): Handle SRA optimized variables. | |
11471 | Adjust for var_loc_note to loc field renaming. | |
11472 | (dw_loc_list_1): For WANT_ADDRESS == 2 prefer DECL_MODE of decl | |
11473 | in VAR_LOCATION note. | |
11474 | (new_loc_descr_op_bit_piece): New function. | |
11475 | (dw_sra_loc_expr): New function. | |
11476 | (dw_loc_list): Use it. Don't handle the last range after the | |
11477 | loop, handle it inside of the loop. Adjust for var_loc_note | |
11478 | to loc field renaming. | |
11479 | (add_location_or_const_value_attribute): Only special case | |
11480 | single entry loc lists if loc is NOTE_P. Adjust for | |
11481 | var_loc_note to loc field renaming. | |
11482 | (dwarf2out_var_location): Don't set newloc->var_loc_note | |
11483 | and newloc->next here. | |
11484 | ||
bd3cdcc0 JH |
11485 | 2010-05-12 Jan Hubicka <jh@suse.cz> |
11486 | ||
c46a5e28 EB |
11487 | * cgraph.c (cgraph_mark_address_taken_node): No longer imply needed |
11488 | flag. | |
bd3cdcc0 JH |
11489 | * cgraph.h (cgraph_only_called_directly_p, |
11490 | cgraph_can_remove_if_no_direct_calls_p): test address_taken flag. | |
11491 | (cgraph_can_remove_if_no_direct_calls_and_refs_p): New function. | |
11492 | * cgraphunit.c (cgraph_mark_functions_to_output): Test address_taken. | |
11493 | (assemble | |
11494 | * ipa.c (cgraph_remove_unreachable_nodes): Use | |
c46a5e28 EB |
11495 | cgraph_can_remove_if_no_direct_calls_and_refs_p; clear address_taken |
11496 | flags. | |
bd3cdcc0 JH |
11497 | * tree-inline.c (copy_bb): Check address_taken flag. |
11498 | * tree-profile.c (tree_gen_ic_func_profiler): Check address_taken and | |
11499 | externally_visible flag. | |
11500 | ||
5116acc6 JM |
11501 | 2010-05-12 Jason Merrill <jason@redhat.com> |
11502 | ||
11503 | PR bootstrap/44048 | |
11504 | PR target/44099 | |
11505 | * dbxout.c (dbxout_type): Remove NULLPTR_TYPE handling. | |
11506 | * sdbout.c (plain_type_1): Likewise. | |
11507 | * dwarf2out.c (is_base_type): Likewise. | |
11508 | (gen_type_die_with_usage): Likewise. Generate | |
11509 | DW_TAG_unspecified_type for any LANG_TYPE. | |
11510 | ||
5f902d76 JH |
11511 | 2010-05-12 Jan Hubicka <jh@suse.cz> |
11512 | ||
11513 | * cgraphbuild.c (build_cgraph_edges, rebuild_cgraph_edges): Build | |
11514 | indrect edges too. | |
11515 | * cgraph.c (cgraph_create_indirect_edge): Take ecf_flags argument. | |
11516 | (cgraph_clone_edge): Update. | |
11517 | (cgraph_node_remove_callees): Remove indirect calls too. | |
11518 | * cgraph.h (cgraph_indirect_call_info): Add ecf_flags. | |
11519 | (cgraph_create_indirect_edge): Update prototype. | |
11520 | * ipa-reference.c (has_proper_scope_for_analysis): Rename to | |
11521 | is_proper_for_analysis. | |
11522 | (add_new_function, visited_nodes, function_insertion_hook_holder, | |
11523 | get_local_reference_vars_info, mark_address_taken, mark_address, | |
11524 | mark_load, mark_store, check_asm_memory_clobber, check_call, | |
11525 | scan_stmt_for_static_refs, scan_initializer_for_static_refs): Remove. | |
11526 | (ipa_init): Do not initialize visited_nodes; | |
11527 | function_insertion_hook_holder. | |
11528 | (analyze_variable): Rewrite. | |
11529 | (analyze_function): Rewrite. | |
11530 | (copy_local_bitmap): Remove. | |
11531 | (duplicate_node_dat): Do not duplicate local info. | |
11532 | (generate_summary): Simplify to only walk cgraph. | |
11533 | (write_node_summary_p, ipa_reference_write_summary, | |
11534 | ipa_reference_read_summary): Remove. | |
11535 | (propagate): Do not remove function insertion; | |
11536 | generate summary. | |
11537 | (pass_ipa_reference): NULLify summary handling fields. | |
11538 | * lto-cgraph.c (lto_output_edge): Output ecf_flags. | |
11539 | (input_edge): Input ecf_flags. | |
11540 | * ipa-prop.c (ipa_note_parm_call): Expect edge to be around. | |
11541 | (update_indirect_edges_after_inlining): Ignore edges with unknown | |
11542 | param. | |
11543 | ||
87a0ebfd ST |
11544 | 2010-05-12 Sriraman Tallam <tmsriram@google.com> |
11545 | ||
11546 | * implicit-zee.c: New file. | |
11547 | * tree-pass.h (pass_implicit_zee): Declare. | |
11548 | * passes.c (init_optimization_passes): Add zee pass. | |
11549 | * common.opt (fzee): New flag. | |
11550 | * timevar.def (TV_ZEE): Define. | |
11551 | * config/i386/i386.c (optimization_options): Turn on ZEE for level 2 | |
11552 | and beyond. | |
11553 | * Makefile.in (implicit-zee.o): Add new build file. | |
11554 | ||
01f0a9dc KH |
11555 | 2010-05-12 Kazu Hirata <kazu@codesourcery.com> |
11556 | Nathan Froyd <froydnj@codesourcery.com> | |
11557 | ||
11558 | * c-common.c (sync_resolve_params): Remove write-only variable. | |
11559 | ||
cbda7dc6 AS |
11560 | 2010-05-12 Anatoly Sokolov <aesok@post.ru> |
11561 | ||
11562 | * target.h (struct gcc_target): Add mode_dependent_address_p field. | |
11563 | * target-def.h (TARGET_MODE_DEPENDENT_ADDRESS_P): New. | |
11564 | (TARGET_INITIALIZER): Use TARGET_MODE_DEPENDENT_ADDRESS_P. | |
11565 | * targhooks.c (default_mode_dependent_address_p): New function. | |
11566 | * targhooks.h (default_mode_dependent_address_p): Declare function. | |
11567 | * doc/tm.texi (TARGET_MODE_DEPENDENT_ADDRESS_P): New. | |
11568 | (GO_IF_MODE_DEPENDENT_ADDRESS): Update. | |
ade52657 | 11569 | * recog.c (mode_dependent_address_p): Call mode_dependent_address_p |
cbda7dc6 | 11570 | target hook. Change return type to bool. |
ade52657 | 11571 | * recog.h (mode_dependent_address_p): Change return type to bool. |
cbda7dc6 | 11572 | |
1df43907 KH |
11573 | 2010-05-12 Kazu Hirata <kazu@codesourcery.com> |
11574 | Nathan Froyd <froydnj@codesourcery.com> | |
11575 | ||
11576 | * tree-mudflap.c (build_function_type_0, build_function_type_1, | |
11577 | build_function_type_2, build_function_type_3): Remove. | |
11578 | (mudflap_init): Use build_function_type_list. | |
11579 | ||
f9b36bb3 KH |
11580 | 2010-05-12 Kazu Hirata <kazu@codesourcery.com> |
11581 | Nathan Froyd <froydnj@codesourcery.com> | |
11582 | ||
11583 | * coverage.c (build_fn_info_value): Call build_constructor instead of | |
11584 | build_constructor_from_list. | |
11585 | (build_ctr_info_value): Likewise. | |
11586 | (build_gcov_info): Likewise. | |
11587 | ||
f88203b0 NF |
11588 | 2010-05-12 Nathan Froyd <froydnj@codesourcery.com> |
11589 | ||
11590 | * tree.c (build_constructor): Compute TREE_CONSTANT for the | |
11591 | resultant constructor. | |
11592 | (build_constructor_single): Don't set TREE_CONSTANT. | |
11593 | (build_constructor_from_list): Don't compute TREE_CONSTANT. | |
11594 | ||
b34fd25c JH |
11595 | 2010-05-12 Jan Hubicka <jh@suse.cz> |
11596 | ||
11597 | * cgraph.h (struct varpool_node): Add aux. | |
11598 | * varasm.c (find_decl_and_mark_needed): Force output of varpool nodes. | |
11599 | * varpool.c (varpool_remove_node): Do not remove initializer. | |
11600 | (varpool_reset_queue): Export. | |
11601 | (varpool_finalize_decl): Volatile vars are forced to be output. | |
11602 | * lto-symtab.c (lto_varpool_replace_node): Clear out initializer of | |
11603 | replaced decl. | |
11604 | * ipa.c (enqueue_cgraph_node, enqueue_varpool_node, | |
11605 | process_references, varpool_can_remove_if_no_refs): New functions. | |
11606 | (cgraph_remove_unreachable_nodes): Handle variables too. | |
11607 | ||
49f19b1c L |
11608 | 2010-05-12 H.J. Lu <hongjiu.lu@intel.com> |
11609 | ||
11610 | PR target/44088 | |
11611 | * config/i386/sse.md (*avx_vmmaskcmp<mode>3): New. | |
11612 | ||
7c2db0d3 JJ |
11613 | 2010-05-12 Jakub Jelinek <jakub@redhat.com> |
11614 | ||
f22f4340 JJ |
11615 | PR middle-end/44085 |
11616 | * gimplify.c (enum omp_region_type): Add ORT_UNTIED_TASK, | |
11617 | change value of ORT_TASK. | |
11618 | (new_omp_context): Handle ORT_UNTIED_TASK like ORT_TASK. | |
11619 | (omp_notice_threadprivate_variable): New function. | |
11620 | (omp_notice_variable): Call it for threadprivate variables. | |
11621 | If enclosing ctx is a task, print enclosing task rather than | |
11622 | enclosing parallel. Handle ORT_UNTIED_TASK like ORT_TASK. | |
11623 | (gimplify_omp_task): Pass ORT_UNTIED_TASK instead of ORT_TASK | |
11624 | if task has untied clause. | |
11625 | ||
7c2db0d3 JJ |
11626 | PR debug/42278 |
11627 | * dwarf2out.c (base_type_die): Don't add name attribute here. | |
11628 | (modified_type_die): Instead of sizetype use | |
11629 | its underlying original type. If a DW_TAG_base_type doesn't | |
11630 | have name added, add __unknown__. | |
11631 | (dwarf2out_imported_module_or_decl_1): Don't call base_type_die, | |
11632 | always call force_type_die instead. | |
11633 | ||
623a6941 MK |
11634 | 2010-05-12 Maxim Kuvyrkov <maxim@codesourcery.com> |
11635 | ||
11636 | * targhooks.c (default_stack_protect_guard): Avoid sharing RTL | |
11637 | for __stack_chk_guard. | |
11638 | ||
056928b2 JJ |
11639 | 2010-05-11 Jakub Jelinek <jakub@redhat.com> |
11640 | ||
9d000e83 JJ |
11641 | * c-opts.c (c_common_parse_file): If start_end_main_source_file, |
11642 | don't call start_source_file debug hook here... | |
11643 | (finish_options): ... but here, after outputting predefined and | |
11644 | command line defines and undefs. | |
11645 | ||
3b5fda81 JJ |
11646 | PR middle-end/44071 |
11647 | * cfglayout.c (fixup_reorder_chain): Allow asm goto to have | |
11648 | no fallthru edge. | |
11649 | * cfgcleanup.c (try_optimize_cfg): When in cfglayout mode | |
11650 | optimizing away empty bb with no successors, move over its | |
11651 | footer chain to fallthru predecessor. | |
11652 | * cfgrtl.c (patch_jump_insn): Update also REG_LABEL_OPERAND. | |
11653 | (rtl_split_edge): For asm goto call patch_jump_insn even if | |
11654 | splitting fallthru edge. | |
11655 | ||
3895ec53 JJ |
11656 | PR c++/44059 |
11657 | * config/elfos.h (ASM_DECLARE_OBJECT_NAME): Use qnu_unique_object | |
11658 | even for DECL_ONE_ONLY DECL_ARTIFICIAL !TREE_READONLY decls. | |
11659 | * config/alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Likewise. | |
11660 | * dwarf2asm.c (dw2_output_indirect_constant_1): Set TREE_READONLY | |
11661 | on DW.ref.* decls. | |
11662 | ||
056928b2 JJ |
11663 | PR c++/44062 |
11664 | * c-parser.c (c_parser_expression): Mark LHS of a comma | |
11665 | expression as read if it is a decl, handled component or | |
11666 | COMPOUND_EXPR with that on the RHS. | |
11667 | * c-typeck.c (c_process_expr_stmt): Mark RHS of COMPOUND_EXPR | |
11668 | if it is a decl or handled component. | |
11669 | ||
9a809897 JH |
11670 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
11671 | ||
11672 | * lto-symtab.c (lto_symtab_free): New function. | |
11673 | * lto-streamer.h (lto_symtab_free): Declare. | |
11674 | ||
11675 | 2010-05-11 Jan Hubicka <jh@suse.cz> | |
11676 | ||
11677 | * lto-cgraph.c (reachable_from_other_partition_p): Export; do not assume | |
11678 | that if function is needed it is reachable. | |
11679 | (lto_output_node): See if it the function is reachable or referenced. | |
11680 | (output_cgraph): Update call of lto_output_node. | |
11681 | * lto-streamer.h (reachable_from_other_partition_p): Declare. | |
11682 | ||
b8053194 JH |
11683 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
11684 | ||
11685 | * crtstuff.c (__JCR_LIST__, __DTOR_END__, __JCR_END__, __FRAME_END__): | |
11686 | Mark as used. | |
11687 | ||
1aa14195 JH |
11688 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
11689 | ||
11690 | PR tree-optimize/44063 | |
c46a5e28 EB |
11691 | * ipa-inline.c (cgraph_edge_badness): Move always inlines to top of |
11692 | queue. | |
1aa14195 JH |
11693 | (cgraph_decide_inlining_of_small_function): Skip check when disrgarding |
11694 | limits. | |
11695 | (estimate_function_body_sizes): Compute sizes even when disregarding. | |
11696 | ||
f088f0ae KT |
11697 | 2010-05-11 Kai Tietz <kai.tietz@onevision.com> |
11698 | ||
11699 | * collect2.c (maybe_lto_object_file): Add x64-coff magic and check. | |
11700 | ||
dcda03f4 JH |
11701 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
11702 | ||
11703 | * lto-cgraph.c (output_cgraph): Remove loop adding all varpool nodes | |
11704 | into every boundary. | |
11705 | ||
ece02605 JH |
11706 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
11707 | ||
11708 | * matrix-reorg.c (matrix_reorg): Rebuild edges. | |
11709 | ||
cc56d170 JH |
11710 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
11711 | ||
11712 | * lto-streamer.c (lto_streamer_cache_add_to_node_array, | |
11713 | lto_streamer_cache_delete): Put nodes into heap. | |
979aeb33 JH |
11714 | * lto-streamer.h (struct lto_streamer_cache_d): Nodes vector is in |
11715 | heap. | |
cc56d170 | 11716 | |
99b766fc JH |
11717 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
11718 | ||
11719 | * cgraphbuild.c (cgraph_rebuild_references): New. | |
a2acdf1f JH |
11720 | * cgraph.c (cgraph_mark_reachable_node): Accept references to optimized |
11721 | out extern inlines. | |
99b766fc JH |
11722 | * cgraph.h (cgraph_rebuild_references): Declare. |
11723 | * tree-inline.c (tree_function_versioning): Use it. | |
11724 | * ipa-struct-reorg.c (do_reorg_for_func): Likewise. | |
11725 | ||
a940b4d9 JH |
11726 | 2010-05-11 Jan Hubicka <jh@suse.cz> |
11727 | ||
11728 | * cgraph.c: Include ipa-utils.h | |
11729 | (cgraph_create_virtual_clone): Update references. | |
11730 | * Makefile.in (cgraph.o): Add dependency at ipa-utils.h | |
11731 | ||
57762e97 CB |
11732 | 2010-05-11 Christian Borntraeger <borntraeger@de.ibm.com> |
11733 | ||
78c7cabb | 11734 | * tree-ssa-loop-prefetch.c (prune_ref_by_group_reuse): Reset |
57762e97 CB |
11735 | prefetch_before to PREFETCH_ALL if to accesses "meet" beyond |
11736 | cache size. | |
11737 | ||
a8beb3a7 CB |
11738 | 2010-05-11 Christian Borntraeger <borntraeger@de.ibm.com> |
11739 | ||
78c7cabb | 11740 | * tree-ssa-loop-prefetch.c: Add debug for dropped prefetches. |
a8beb3a7 | 11741 | |
3f592b38 JJ |
11742 | 2010-05-11 Jakub Jelinek <jakub@redhat.com> |
11743 | ||
09b201fc JJ |
11744 | * gcc.c (execute): For -### don't quote arguments that |
11745 | contain just alphanumerics and _/-. characters. | |
11746 | * doc/invoke.texi: Document that change for -###. | |
11747 | ||
3f592b38 JJ |
11748 | PR debug/44023 |
11749 | * df-problems.c (struct dead_debug): Add to_rescan field. | |
11750 | (dead_debug_init): Clear to_rescan field. | |
11751 | (dead_debug_finish): Rescan all debug insns in to_rescan | |
11752 | bitmap and free the bitmap. | |
11753 | (dead_debug_insert_before): Instead of rescanning debug insns | |
11754 | immediately queue their rescanning until dead_debug_finish. | |
11755 | (df_note_bb_compute): After dead_debug_add do continue instead | |
11756 | of break. | |
11757 | ||
1de12eab JJ |
11758 | 2010-05-10 Jakub Jelinek <jakub@redhat.com> |
11759 | ||
11760 | PR debug/44028 | |
11761 | * haifa-sched.c (schedule_insn): When clearing INSN_VAR_LOCATION_LOC, | |
11762 | clear also INSN_REG_USE_LIST. | |
11763 | ||
e472d6bf RO |
11764 | 2010-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11765 | ||
11766 | * config/mips/mips.c (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): Undef. | |
11767 | ||
6cd174f6 JH |
11768 | 2010-05-10 Jan Hubicka <jh@suse.cz> |
11769 | ||
c46a5e28 EB |
11770 | * lto-stramer-out.c (produce_asm_for_decls): Correct accidentally |
11771 | commited change. | |
6cd174f6 | 11772 | |
5c4f225f JH |
11773 | 2010-05-10 Jan Hubicka <jh@suse.cz> |
11774 | ||
c46a5e28 EB |
11775 | * passes.c (ipa_write_summaries_1, ipa_write_optimization_summaries): |
11776 | Allocate encoders. | |
5c4f225f JH |
11777 | * lto-section-out.c (lto_new_out_decl_state): Do not allocate it here. |
11778 | * lto-streamer.c (lto_streamer_cache_insert_1): Use alloc pool. | |
11779 | (lto_streamer_cache_create): Init alloc pool. | |
11780 | (lto_streamer_cache_delete): Free alloc pool. | |
11781 | * lto-streamer.h: Include alloc pool. | |
11782 | (lto_streamer_cache_d): Use alloc pool. | |
11783 | * lto-stramer-out.c (produce_asm_for_decls): Delete fn_out_states. | |
11784 | ||
de61f467 JH |
11785 | 2010-05-10 Jan Hubicka <jh@suse.cz> |
11786 | ||
11787 | * Makefile.in (cgraphbuild.o): Add dependency on except.h. | |
11788 | * cgraphbuild.c: Include except.h | |
11789 | (record_type_list, record_eh_tables): New function. | |
11790 | (build_cgraph_edges, rebuild_cgraph_edges): Use it. | |
11791 | ||
e4fa83d3 JH |
11792 | 2010-05-10 Jan Hubicka <jh@suse.cz> |
11793 | ||
11794 | * crtstuff.c (force_to_data, __do_global_dtors_aux_fini_array_entry, | |
11795 | __frame_dummy_init_array_entry, force_to_data): Attribute as used | |
11796 | rather than unused. | |
11797 | ||
8a9ecffd MM |
11798 | 2010-05-10 Michael Matz <matz@suse.de> |
11799 | ||
11800 | * tree-ssa-reassoc.c (undistribute_ops_list): Use create_tmp_reg. | |
11801 | (can_reassociate_p): Use FLOAT_TYPE_P. | |
11802 | * tree-vectorizer.h (vect_is_simple_reduction): Rename to ... | |
11803 | (vect_force_simple_reduction): ... this. | |
62e59133 | 11804 | * tree-parloops.c (gather_scalar_reductions): Use |
8a9ecffd MM |
11805 | vect_force_simple_reduction. |
11806 | * tree-vect-loop.c (vect_is_simple_reduction_1): Rename from | |
11807 | vect_is_simple_reduction, add modify argument, if true rewrite | |
11808 | "a-b" into "a+(-b)". | |
11809 | (vect_is_simple_reduction, vect_force_simple_reduction): New | |
11810 | functions. | |
11811 | (vect_analyze_scalar_cycles_1): Use vect_force_simple_reduction. | |
11812 | ||
11813 | 2010-05-10 H.J. Lu <hongjiu.lu@intel.com> | |
11814 | Vladimir Makarov <vmakarov@redhat.com> | |
46044dd9 L |
11815 | |
11816 | PR rtl-optimization/44012 | |
11817 | * ira-build.c (remove_unnecessary_allocnos): Nullify | |
11818 | regno_allocno_map of the removed allocno. | |
11819 | ||
2e2b183b RO |
11820 | 2010-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11821 | ||
11822 | * configure.ac (gcc_cv_ld_eh_gc_sections): Redirect objdump errors | |
11823 | to /dev/null. | |
11824 | * configure: Regenerate. | |
11825 | ||
a93e1899 RO |
11826 | 2010-05-10 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
11827 | ||
11828 | * config/sol2.c (solaris_assemble_visibility): Declare decl, vis | |
11829 | unused. | |
11830 | Define visibility_types, name, type inside HAVE_GAS_HIDDEN. | |
11831 | * configure.ac (gcc_cv_ld_hidden): Explain stages of visibility | |
11832 | support in Sun ld. | |
11833 | * configure: Regenerate. | |
11834 | ||
571943de RG |
11835 | 2010-05-10 Richard Guenther <rguenther@suse.de> |
11836 | ||
11837 | * lto-symtab.c (lto_symtab_entry_marked_p): Make entry | |
11838 | marked if the entry identifier is marked. | |
11839 | ||
0b7b376d RG |
11840 | 2010-05-10 Richard Guenther <rguenther@suse.de> |
11841 | ||
11842 | * c-common.c (struct c_common_attributes): Add fnspec attribute. | |
11843 | (handle_fnspec_attribute): New function. | |
11844 | * gimple.h (gimple_call_return_flags): Declare. | |
11845 | (gimple_call_arg_flags): Likewise. | |
11846 | * gimple.c (gimple_call_arg_flags): New function. | |
11847 | (gimple_call_return_flags): Likewise. | |
11848 | * tree.h (EAF_DIRECT, EAF_NOCLOBBER, EAF_NOESCAPE, EAF_UNUSED): | |
11849 | New argument flags. | |
11850 | (ERF_RETURN_ARG_MASK, ERF_RETURNS_ARG, ERF_NOALIAS): New function | |
11851 | return value flags. | |
11852 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Skip unused args. | |
11853 | * tree-ssa-structalias.c (make_constraint_from_heapvar): Split | |
11854 | main work to ... | |
11855 | (make_heapvar_for): ... this new function. | |
11856 | (handle_rhs_call): Handle fnspec attribute argument specifiers. | |
11857 | (handle_lhs_call): Likewise. | |
11858 | (find_func_aliases): Adjust. | |
11859 | ||
1755aad0 RG |
11860 | 2010-05-10 Richard Guenther <rguenther@suse.de> |
11861 | ||
11862 | PR tree-optimization/44050 | |
62e59133 | 11863 | * tree-inline.c (tree_function_versioning): Clone the ipa-pta flag. |
1755aad0 | 11864 | |
333b67a9 WG |
11865 | 2010-05-10 Wei Guozhi <carrot@google.com> |
11866 | ||
11867 | PR target/42879 | |
11868 | * config/arm/thumb2.md (thumb2_tlobits_cbranch): New insn pattern. | |
11869 | ||
0fb96aa4 JM |
11870 | 2010-05-09 Joseph Myers <joseph@codesourcery.com> |
11871 | ||
11872 | PR c/10676 | |
11873 | * c-typeck.c (lookup_field): Take a type directly. Update | |
11874 | recursive calls. | |
11875 | (build_component_ref): Update call to lookup_field. | |
11876 | (set_init_label): Use lookup_field to find initialized field. | |
11877 | Handle returned list of fields like a sequence of designators. | |
11878 | ||
3d7a712a RG |
11879 | 2010-05-09 Richard Guenther <rguenther@suse.de> |
11880 | ||
11881 | PR middle-end/44024 | |
11882 | * fold-const.c (tree_single_nonzero_warnv_p): Properly | |
11883 | handle &FUNCTION_DECL. | |
11884 | ||
492fc0ee JM |
11885 | 2010-05-09 Joseph Myers <joseph@codesourcery.com> |
11886 | ||
11887 | PR c/4784 | |
11888 | * c-decl.c (detect_field_duplicates_hash): New. Handle anonymous | |
11889 | structures and unions recursively. | |
11890 | (detect_field_duplicates): Move duplicate detection with a hash to | |
11891 | detect_field_duplicates_hash. Always use a hash if anonymous | |
11892 | structures or unions are present. | |
11893 | * doc/extend.texi (Unnamed Fields): Document that duplicate fields | |
11894 | give errors. | |
11895 | ||
44f276c6 L |
11896 | 2010-05-09 H.J. Lu <hongjiu.lu@intel.com> |
11897 | ||
11898 | PR target/44046 | |
11899 | * config/i386/driver-i386.c (host_detect_local_cpu): Properly | |
11900 | detect Atom, Core 2 and Core i7. | |
11901 | ||
d6205185 RG |
11902 | 2010-05-09 Richard Guenther <rguenther@suse.de> |
11903 | ||
11904 | * gcc.c (store_arg): Handle temporary file deletion for | |
11905 | joined arguments. | |
11906 | ||
5588864d RG |
11907 | 2010-05-09 Richard Guenther <rguenther@suse.de> |
11908 | ||
11909 | PR middle-end/44043 | |
11910 | * ipa-inline.c (estimate_function_body_sizes): Return after | |
11911 | disregarding inline limits. | |
11912 | ||
aa34f42c RG |
11913 | 2010-05-09 Richard Guenther <rguenther@suse.de> |
11914 | ||
11915 | * gcc.c (store_arg): Revert last change. | |
11916 | ||
844381e5 SL |
11917 | 2010-05-08 Sandra Loosemore <sandra@codesourcery.com> |
11918 | ||
11919 | PR middle-end/28685 | |
11920 | * tree-ssa-reassoc.c (eliminate_redundant_comparison): New function. | |
11921 | (optimize_ops_list): Call it. | |
11922 | ||
43896afb RG |
11923 | 2010-05-08 Richard Guenther <rguenther@suse.de> |
11924 | ||
11925 | PR tree-optimization/44030 | |
11926 | * tree-ssa-pre.c (eliminate): Copy NECESSARY flag. Set | |
11927 | NECESSARY flag if we propagate from a inserted expression. | |
11928 | ||
f56000ed EB |
11929 | 2010-05-08 Eric Botcazou <ebotcazou@adacore.com> |
11930 | ||
11931 | * gimple.c (gimple_types_compatible_p) <ARRAY_TYPE>: Treat bounds of | |
11932 | domain types as equal if they are both PLACEHOLDER_EXPRs. | |
11933 | ||
1522167d RG |
11934 | 2010-05-08 Richard Guenther <rguenther@suse.de> |
11935 | ||
11936 | * lto-wrapper.c (run_gcc): Remove linker output from | |
11937 | command line for LTRANS invocation. | |
11938 | ||
c082f9f3 SB |
11939 | 2010-05-07 Steven Bosscher <steven@gcc.gnu.org> |
11940 | ||
11941 | * config.gcc (i[34567]86-*-darwin*, x86_64-*-darwin*): Add | |
11942 | lto-macho as lto_binary_reader. | |
11943 | * target.h (struct gcc_target): New hooks lto_start and lto_end. | |
11944 | * target-def.h (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END): Define. | |
11945 | * cgraphunit.c (ipa_passes): Wrap LTO assembler output generation | |
11946 | in lto_start and lto_end calls. | |
11947 | (is_elf_or_coff): Rename to maybe_lto_object_file. Add Mach-O | |
11948 | magic numbers. | |
11949 | (scan_prog_file): Update is_elf_or_coff call. | |
11950 | * doc/tm.text (TARGET_ASM_LTO_START, TARGET_ASM_LTO_END): Document. | |
11951 | ||
11952 | * collect2.c (main): Fix enum comparison. | |
11953 | ||
11954 | * config/darwin-protos.h (darwin_asm_lto_start, darwin_asm_lto_end): | |
11955 | Add prototypes. | |
11956 | * darwin9.h (LINK_COMMAND_SPEC): Pass -flto and -fwhopr to the linker. | |
11957 | * darwin.h (LINK_COMMAND_SPEC): Likewise. Define TARGET_ASM_LTO_START | |
11958 | and TARGET_ASM_LTO_END. | |
11959 | * darwin.c: Include obstack.h and lto-streamer.h. | |
11960 | (lto_section_names_offset, lto_section_names_obstack, | |
11961 | lto_asm_out_file, lto_asm_out_name, saved_asm_out_file): New static | |
11962 | global variables. | |
11963 | (LTO_SEGMENT_NAME, LTO_NAMES_SECTION): New defines. | |
11964 | (darwin_asm_lto_start): New function. Redirect output to asm_out_file | |
11965 | to a temporary file. | |
11966 | (darwin_asm_lto_end): New function. Restore asm_out_file. | |
11967 | (darwin_asm_named_section): For LTO sections, replace the name with | |
11968 | the offset of the section name in a string table, and build this | |
11969 | table. | |
11970 | (darwin_file_start): Initialize global vars for LTO support. | |
11971 | (darwin_file_end): If output to asm_out_file was redirected, append it | |
11972 | to the proper asm_out_file here. Add the section names section. | |
11973 | ||
18bc5398 SB |
11974 | 2010-05-07 Steven Bosscher <steven@gcc.gnu.org> |
11975 | ||
11976 | * c-pragma.c (pending_weak_d, pending_weak): New. | |
11977 | (pending_weaks): Change the type to VEC((pending_weak,gc) *. | |
11978 | (maybe_apply_pragma_weak, maybe_apply_pending_pragma_weaks, | |
11979 | handle_pragma_weak): Update the uses of pending_weaks. | |
11980 | ||
0f590a2d RW |
11981 | 2010-05-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
11982 | ||
11983 | PR documentation/44016 | |
11984 | * doc/standards.texi (Standards): Link to unversioned | |
11985 | cxx0x_status.html page. | |
11986 | ||
f4a4b582 | 11987 | 2010-05-07 Iain Sandoe <iains@gcc.gnu.org> |
3bd5cdeb IS |
11988 | |
11989 | PR target/43708 | |
11990 | * config/darwin-c.c (darwin_pragma_unused): Set DECL_READ_P | |
11991 | in addition to TREE_USED, to avoid "set but unused" warnings. | |
11992 | ||
9bf4598b CF |
11993 | 2010-05-07 Changpeng Fang <changpeng.fang@amd.com> |
11994 | ||
11995 | * tree-ssa-loop-prefetch.c (TRIP_COUNT_TO_AHEAD_RATIO): New. | |
11996 | (is_loop_prefetching_profitable): Do not insert prefetches | |
11997 | when the trip count is not at least TRIP_COUNT_TO_AHEAD_RATIO | |
11998 | times the prefetch ahead distance. | |
11999 | ||
ccacf0e1 CF |
12000 | 2010-05-07 Changpeng Fang <changpeng.fang@amd.com> |
12001 | ||
12002 | * tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable): | |
12003 | Account for loop unrolling in the insn-to-prefetch ratio heuristic. | |
12004 | (loop_prefetch_arrays): Pass to is_loop_prefetching_profitable | |
12005 | the unroll_factor. | |
12006 | ||
55e5a2eb CF |
12007 | 2010-05-07 Changpeng Fang <changpeng.fang@amd.com> |
12008 | ||
12009 | * tree-ssa-loop-prefetch.c (is_loop_prefetching_profitable): Dump | |
12010 | a diagnostic info when the insn-to-mem ratio is too small. | |
12011 | ||
f4a4b582 | 12012 | 2010-05-07 Richard Guenther <rguenther@suse.de> |
5cd0e96b RG |
12013 | |
12014 | * gcc.c (LINK_COMMAND_SPEC): Provide a resolution file to | |
12015 | the linker plugin. | |
12016 | (store_arg): Queue temp_filename for deletion instead of | |
12017 | the whole argument. | |
12018 | ||
48cf395b RB |
12019 | 2010-05-07 Richard Guenther <rguenther@suse.de> |
12020 | ||
12021 | * lto-wrapper.c (DUMPBASE_SUFFIX): Define. | |
12022 | (run_gcc): Handle LTRANS phase invocation. | |
62e59133 | 12023 | * collect2.c (maybe_run_lto_and_relink): Do not set WPA_SAVE_LTRANS. |
48cf395b | 12024 | |
86b2c5b6 JJ |
12025 | 2010-05-07 Jakub Jelinek <jakub@redhat.com> |
12026 | ||
12027 | * tree.h (TREE_ADDRESSABLE): Adjust comment to say that | |
12028 | this is also meaningful on PARM_DECLs and RESULT_DECLs. | |
12029 | ||
c4e1e0b1 RO |
12030 | 2010-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12031 | ||
12032 | * config/mips/iris6.h (LINK_SPEC): Don't pass -init, -fini with -r. | |
12033 | ||
a7d4562a RG |
12034 | 2010-05-07 Richard Guenther <rguenther@suse.de> |
12035 | ||
12036 | PR tree-optimization/44020 | |
12037 | * tree-ssa-pre.c (execute_pre): Do not remove dead inserted | |
12038 | code when PRE is not yet initialized. | |
12039 | ||
a6b02ef3 RO |
12040 | 2010-05-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12041 | ||
12042 | * config/mips/dbxmdebug.h: Remove. | |
12043 | * config.gcc (mips-sgi-irix6.5*): Remove mips/dbxmdebug.h. | |
12044 | ||
d42ba3b8 SZ |
12045 | 2010-05-07 Shujing Zhao <pearly.zhao@oracle.com> |
12046 | ||
12047 | * c-typeck.c (build_binary_op): Warn ordered comparison of pointer | |
12048 | with null pointer and also warn about ordered comparison of zero with | |
12049 | pointer if -Wextra. | |
12050 | ||
a6733c71 AS |
12051 | 2010-05-05 Andreas Simbuerger <simbuerg@fim.uni-passau.de> |
12052 | ||
12053 | * graphite-blocking.c | |
12054 | (pbb_strip_mine_profitable_p): Replace Value with mpz_t. | |
12055 | * graphite-clast-to-gimple.c | |
12056 | (clast_to_gcc_expression): Same. | |
12057 | (precision_for_value): Same. | |
12058 | (precision_for_interval): Same. | |
12059 | (gcc_type_for_interval): Same. | |
12060 | (graphite_create_new_guard): Same. | |
12061 | (compute_bounds_for_level): Same. | |
12062 | (graphite_create_new_loop_guard): Same. | |
12063 | * graphite-interchange.c | |
12064 | (build_linearized_memory_access): Same. | |
12065 | (pdr_stride_in_loop): Same. | |
12066 | (memory_strides_in_loop_1): Same. | |
12067 | (memory_strides_in_loop): Same. | |
12068 | (extend_scattering): Same. | |
12069 | (psct_scattering_dim_for_loop_depth): Same. | |
12070 | (pbb_number_of_iterations): Same. | |
12071 | * graphite-poly.h | |
12072 | (debug_iteration_domains): Same. | |
12073 | * graphite-ppl.c | |
12074 | (new_Cloog_Domain_from_ppl_Pointset_Powerset): Same. | |
12075 | (ppl_set_inhomogeneous_gmp): Same. | |
12076 | (ppl_strip_loop): Same. | |
12077 | (ppl_lexico_compare_linear_expressions): Same. | |
12078 | (ppl_read_polyhedron_matrix): Same. | |
12079 | (ppl_max_for_le_pointset): Same. | |
12080 | * graphite-ppl.h | |
12081 | (ppl_read_polyhedron_matrix): Same. | |
12082 | (tree_int_to_gmp): Same. | |
12083 | (gmp_cst_to_tree): Same. | |
12084 | (ppl_set_inhomogeneous): Same. | |
12085 | (ppl_set_inhomogeneous_tree): Same. | |
12086 | (ppl_set_coef): Same. | |
12087 | (ppl_set_coef_tree): Same. | |
12088 | * graphite-sese-to-poly.c | |
12089 | (build_pbb_scattering_polyhedrons): Same. | |
12090 | (build_scop_scattering): Same. | |
12091 | (scan_tree_for_params_right_scev): Same. | |
12092 | (scan_tree_for_params): Same. | |
12093 | (find_params_in_bb): Same. | |
12094 | (find_scop_parameters): Same. | |
12095 | (add_upper_bounds_from_estimated_nit): Same. | |
12096 | (build_loop_iteration_domains): Same. | |
12097 | (add_condition_to_domain): Same. | |
12098 | (pdr_add_memory_accesses): Same. | |
12099 | ||
12100 | 2010-05-05 Andreas Simbuerger <simbuerg@fim.uni-passau.de> | |
12101 | ||
12102 | * graphite-blocking.c (pbb_strip_mine_profitable_p): Resolve | |
12103 | CLooG's value_* macros to their respective mpz_* counterparts. | |
12104 | * graphite-clast-to-gimple.c (clast_to_gcc_expression): Same. | |
12105 | (graphite_create_new_loop_guard): Same. | |
12106 | * graphite-interchange.c (build_linearized_memory_access): Same. | |
12107 | (pdr_stride_in_loop): Same. | |
12108 | (memory_strides_in_loop_1): Same. | |
12109 | (1st_interchange_profitable_p): Same. | |
12110 | * graphite-poly.c (extend_scattering): Same. | |
12111 | (psct_scattering_dim_for_loop_depth): Same. | |
12112 | (pbb_number_of_iterations): Same. | |
12113 | (pbb_number_of_iterations_at_time): Same. | |
12114 | * graphite-poly.h (new_1st_loop): Same. | |
12115 | * graphite-ppl.c (cloog_matrix_to_ppl_constraint): Same. | |
12116 | (oppose_constraint): Same. | |
12117 | (insert_constraint_into_matrix): Same. | |
12118 | (ppl_set_inhomogeneous_gmp): Same. | |
12119 | (ppl_set_coef_gmp): Same. | |
12120 | (ppl_strip_loop): Same. | |
12121 | (ppl_lexico_compare_linear_expressions): Same. | |
12122 | (ppl_max_for_le_pointset): Same. | |
12123 | (ppl_min_for_le_pointset): Same. | |
12124 | (ppl_build_realtion): Same. | |
12125 | * graphite-ppl.h (gmp_cst_to_tree): Same. | |
12126 | (ppl_set_inhomogeneous): Same. | |
12127 | (ppl_set_inhomogeneous_tree): Same. | |
12128 | (ppl_set_coef): Same. | |
12129 | (ppl_set_coef_tree): Same. | |
12130 | * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same. | |
12131 | (build_scop_scattering): Same. | |
12132 | (add_value_to_dim): Same. | |
12133 | (scan_tree_for_params_right_scev): Same. | |
12134 | (scan_tree_for_params_int): Same. | |
12135 | (scan_tree_for_params): Same. | |
12136 | (find_params_in_bb): Same. | |
12137 | (find_scop_parameters): Same. | |
12138 | (add_upper_bounds_from_estimated_nit): Same. | |
12139 | (build_loop_iteration_domains): Same. | |
12140 | (create_linear_expr_from_tree): Same. | |
12141 | (add_condition_to_domain): Same. | |
12142 | (pdr_add_memory_accesses): Same. | |
12143 | ||
14c2101d JM |
12144 | 2010-05-06 Magnus Fromreide <magfr@lysator.liu.se> |
12145 | Jason Merrill <jason@redhat.com> | |
12146 | ||
12147 | * c-common.c (c_common_reswords): Add nullptr. | |
12148 | * c-common.h: Add RID_NULLPTR. Reorganize C++0x rids. | |
12149 | * dwarf2out.c (is_base_type): Handle NULLPTR_TYPE. | |
12150 | (gen_type_die_with_usage): Likewise. | |
12151 | * dbxout.c (dbxout_type): Likewise. | |
12152 | * sdbout.c (plain_type_1): Likewise. | |
12153 | ||
ebad5233 JM |
12154 | 2010-05-06 Jason Merrill <jason@redhat.com> |
12155 | ||
941f78d1 JM |
12156 | * gimplify.c (gimplify_expr): Set GS_ALL_DONE when appropriate. |
12157 | Don't change GS_OK to GS_ALL_DONE. Make sure that all cases set | |
12158 | ret appropriately. | |
12159 | (gimplify_compound_lval): Return GS_ALL_DONE as appropriate. | |
12160 | ||
ebad5233 JM |
12161 | * gimplify.c (gimplify_modify_expr_rhs): Don't return GS_OK for |
12162 | stripping WITH_SIZE_EXPR. | |
12163 | (gimplify_expr) [MODIFY_EXPR]: Trust GS_OK even if the rhs didn't | |
12164 | change. | |
12165 | ||
9aaa1ee8 RO |
12166 | 2010-05-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
12167 | ||
12168 | * config.gcc: Removed mips-sgi-irix5*, mips-sgi-irix6.[0-4]* from | |
12169 | list of obsolete configurations. | |
12170 | Disabled check for obsolete configurations. | |
12171 | (mips-sgi-irix[56]*): Restrict to mips-sgi-irix6.5*. | |
12172 | Removed support for previous versions. | |
12173 | * config/mips/iris.h: Removed. | |
12174 | * config/mips/iris5.h: Removed. | |
12175 | * config/mips/iris6.h: Merged old iris.h contents. | |
12176 | (TARGET_IRIX): Removed. | |
12177 | (DRIVER_SELF_SPECS): Removed mabi=32. | |
12178 | (IDENT_ASM_OP): Removed undef. | |
12179 | (STARTFILE_SPEC): Removed mabi=32. | |
12180 | (ENDFILE_SPEC): Likewise. | |
12181 | (IRIX_SUBTARGET_LINK_SPEC): Likewise. | |
12182 | (MACHINE_TYPE): Update for IRIX 6.5. | |
12183 | * config/mips/mips.c (mips_build_builtin_va_list): Replaced | |
12184 | TARGET_IRIX by TARGET_IRIX6. | |
12185 | (mips_file_start): Likewise. | |
12186 | (mips_output_external): Remove IRIX 5/6 O32 support. | |
12187 | (mips_output_function_prologue): Likewise. | |
12188 | * config/mips/mips.h (TARGET_GPWORD): Replaced TARGET_IRIX by | |
12189 | TARGET_IRIX6. | |
12190 | (TARGET_CPU_CPP_BUILTINS): Likewise. | |
12191 | (TARGET_IRIX): Removed. | |
12192 | * config/mips/t-iris6 (MULTILIB_OPTIONS): Removed mabi=32. | |
12193 | (MULTILIB_DIRNAMES): Removed 32. | |
12194 | (MULTILIB_OSDIRNAMES): Removed ../lib. | |
62e59133 | 12195 | * doc/install.texi (Prerequisites): Don't reference IRIX before 6.5. |
9aaa1ee8 | 12196 | (Specific, mips-sgi-irix5): Document removal. |
62e59133 | 12197 | (Specific, mips-sgi-irix6): Document IRIX 6.[0-4] and O32 ABI removal. |
9aaa1ee8 RO |
12198 | Remove references to older IRIX 6 releases and the O32 ABI. |
12199 | ||
5b8bd3d5 JJ |
12200 | 2010-05-06 Jakub Jelinek <jakub@redhat.com> |
12201 | ||
12202 | PR bootstrap/43994 | |
12203 | * df-problems.c (dead_debug_insert_before): Use *DF_REF_REAL_LOC | |
12204 | instead of DF_REF_REAL_REG. | |
12205 | ||
e97580ce DK |
12206 | 2010-05-06 Dave Korn <dave.korn.cygwin@gmail.com> |
12207 | ||
12208 | PR target/43888 | |
12209 | * config/i386/winnt.c (i386_pe_binds_local_p): Tweak weak symbol | |
12210 | handling to still return true for x64 targets. | |
12211 | ||
f24d84cc MK |
12212 | 2010-05-06 Maxim Kuvyrkov <maxim@codesourcery.com> |
12213 | ||
12214 | * config/m68k/uclinux.h (LIB_SPEC): Bring in sync with config/linux.h. | |
12215 | ||
ef38b551 JH |
12216 | 2010-05-06 Jan Hubicka <jh@suse.cz> |
12217 | ||
12218 | PR tree-optimization/43791 | |
12219 | * ipa-inline.c (update_caller_keys): Remove bogus | |
12220 | disregard_inline_limits check. | |
12221 | ||
0ab555de MM |
12222 | 2010-05-06 Michael Matz <matz@suse.de> |
12223 | ||
12224 | PR tree-optimization/43984 | |
12225 | * tree-ssa-pre.c (inserted_phi_names): Remove. | |
12226 | (inserted_exprs): Change to bitmap. | |
12227 | (create_expression_by_pieces): Set bits, don't append to vector. | |
12228 | (insert_into_preds_of_block): Don't handle inserted_phi_names. | |
12229 | (eliminate): Don't look at inserted_phi_names, remove deleted | |
12230 | insns from inserted_exprs. | |
62e59133 | 12231 | (remove_dead_inserted_code): Adjust to use bitmaps instead of vectors. |
0ab555de MM |
12232 | (init_pre, fini_pre): Allocate and free bitmaps. |
12233 | (execute_pre): Insert insns on edges before elimination. | |
12234 | ||
315a02da MK |
12235 | 2010-05-06 Maxim Kuvyrkov <maxim@codesourcery.com> |
12236 | ||
12237 | * tree.c (initializer_zerop): Handle STRING_CST. | |
12238 | ||
3734d960 MLI |
12239 | 2010-05-06 Manuel López-Ibáñez <manu@gcc.gnu.org> |
12240 | ||
12241 | PR 40989 | |
12242 | * doc/invoke.texi (Wimplicit): Document as C only. | |
12243 | * opts.c (common_handle_option): Add argument kind. | |
12244 | (handle_option): Rename as read_cmdline_option. Factor out code to... | |
12245 | (handle_option): ... here. New. | |
12246 | (handle_options): Rename as read_cmdline_options. | |
12247 | (decode_options): Update call. | |
12248 | (set_option): Use option index instead of option pointer. Classify | |
12249 | diagnostics correctly. | |
12250 | (enable_warning_as_error): Call handle_option. | |
12251 | * opts.h (set_option): Update declaration. | |
12252 | (handle_option): Declare. | |
62e59133 | 12253 | * langhooks.h (struct lang_hooks): Add argument kind to handle_option. |
3734d960 MLI |
12254 | * c.opt (Wimplicit,Wimplicit-int): Initialize to -1. |
12255 | * c-opts.c (set_Wimplicit): Delete. | |
12256 | (c_family_lang_mask): New static constant. | |
12257 | (c_common_handle_option): Add argument kind. Use handle_option | |
12258 | instead of set_Wimplicit. | |
12259 | (c_common_post_options): warn_implicit and warn_implicit_int | |
12260 | are disabled by default. | |
12261 | * c-common.c (warn_implicit): Do not define here. | |
12262 | * c-common.h (warn_implicit): Do not declare here. | |
12263 | (c_common_handle_option): Update declaration. | |
12264 | * lto-opts.c (lto_reissue_options): Update call to set_option. | |
12265 | ||
2b90475a RG |
12266 | 2010-05-06 Richard Guenther <rguenther@suse.de> |
12267 | ||
12268 | PR tree-optimization/43571 | |
12269 | * domwalk.c (walk_dominator_tree): Walk the dominator | |
12270 | sons in more optimal order. | |
12271 | ||
e3bdfed6 RG |
12272 | 2010-05-06 Richard Guenther <rguenther@suse.de> |
12273 | ||
12274 | PR tree-optimization/43934 | |
12275 | * tree-ssa-loop-im.c (movement_possibility): Handle PHI nodes. | |
12276 | (stmt_cost): Likewise. | |
12277 | (extract_true_false_args_from_phi): New helper. | |
12278 | (determine_max_movement): For PHI nodes verify we can hoist them | |
12279 | and compute their cost. | |
12280 | (determine_invariantness_stmt): Handle PHI nodes. | |
12281 | (move_computations_stmt): Likewise. Hoist PHI nodes in | |
12282 | if-converted form using COND_EXPRs. | |
62e59133 | 12283 | (move_computations): Return TODO_cleanup_cfg if we hoisted PHI nodes. |
e3bdfed6 RG |
12284 | (tree_ssa_lim): Likewise. |
12285 | * tree-flow.h (tree_ssa_lim): Adjust prototype. | |
12286 | * tree-ssa-loop.c (tree_ssa_loop_im): Return todo. | |
12287 | ||
a81b065a RG |
12288 | 2010-05-06 Richard Guenther <rguenther@suse.de> |
12289 | ||
12290 | PR tree-optimization/43987 | |
12291 | * tree-ssa-structalias.c (could_have_pointers): For possibly | |
12292 | address-taken variables force pointers to be recorded. | |
12293 | (create_variable_info_for_1): Likewise. | |
12294 | (push_fields_onto_fieldstack): Pass in wheter all fields | |
12295 | must have pointers. | |
12296 | (find_func_aliases): Query types instead of vars whether | |
12297 | they contain pointers where appropriate. | |
12298 | ||
369451ec JH |
12299 | 2010-05-06 Jan Hubicka <jh@suse.cz> |
12300 | ||
12301 | * cgraphbuild.c (record_reference_ctx): Add varpool_node. | |
12302 | (record_reference, mark_address, mark_load, mark_store): Record | |
12303 | references. | |
12304 | (record_references_in_initializer): Update call of record_references. | |
12305 | (rebuild_cgraph_edges): Remove all references before rebuiding. | |
12306 | * cgraph.c (cgraph_create_node): Clear ref list. | |
12307 | (cgraph_remove_node): Remove references. | |
12308 | (dump_cgraph_node): Dump references. | |
12309 | (cgraph_clone_node): Clone references. | |
12310 | * cgraph.h: Include ipa-ref.h and ipa-ref-inline.h | |
12311 | (struct cgraph_node, varpool_node): Add ref_lst. | |
12312 | * ipa-ref.c: New file. | |
12313 | * ipa-ref.h: New file. | |
12314 | * ipa-ref-inline.h: New file. | |
12315 | * lto-cgraph.c (output_varpool): Take cgrag node set argument. | |
12316 | (referenced_from_other_partition_p): New function. | |
12317 | (lto_output_varpool_node): Take set arugment; call | |
12318 | referenced_from_other_partition. | |
12319 | (lto_output_ref): New. | |
12320 | (add_references): New. | |
12321 | (output_refs): New. | |
62e59133 | 12322 | (output_cgraph): Compute boundary based on references; output refs. |
369451ec JH |
12323 | (output_varpool): Accept cgraph_node_set argument. |
12324 | (input_ref): New. | |
12325 | (input_refs): New. | |
12326 | (input_cgraph): Call input_refs. | |
12327 | * lto-section-in.c (lto_section_name): Add refs. | |
ade52657 | 12328 | * Makefile.in (cgraph.h): Include ipa-ref.h and ipa-ref-inline.h |
369451ec JH |
12329 | (ipa-ref.o): New file. |
12330 | * varpool.c (varpool_node): Clear ipa ref list. | |
12331 | (varpool_remove_node): Remove references. | |
12332 | (dump_varpool_node): Dump references. | |
12333 | (varpool_assemble_decl): Only compile finalized ones. | |
12334 | (varpool_extra_name_alias): Initialize ref list. | |
12335 | * lto-streamer.c (lto-get_section_name): Add .refs section. | |
12336 | * lto-streamer.h (lto_section_type): Add LTO_section_refs. | |
12337 | (referenced_from_other_partition_p): Declared. | |
12338 | ||
7d8930a0 IR |
12339 | 2010-05-06 Ira Rosen <irar@il.ibm.com> |
12340 | ||
12341 | PR tree-optimization/43901 | |
12342 | * tree-vect-stmts.c (vectorizable_call): Assert that vector | |
12343 | type is not NULL if it's transformation phase, and return | |
12344 | FALSE if it's analysis. | |
62e59133 UB |
12345 | (vectorizable_conversion, vectorizable_operation, |
12346 | vectorizable_type_demotion, vectorizable_type_promotion): Likewise. | |
7d8930a0 | 12347 | |
a1c4f19f AP |
12348 | 2010-05-05 Andrew Pinski <andrew.pinski@caviumnetworks.com> |
12349 | ||
12350 | * config/mips/mips.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): | |
12351 | Delete. | |
12352 | * config/mips/mips.c (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): | |
12353 | New define. | |
12354 | * config/mips/mips-protos.h | |
12355 | (mips_small_register_classes_for_mode_p): Delete prototype. | |
12356 | ||
93b338c3 BS |
12357 | 2010-05-06 Bernd Schmidt <bernds@codesourcery.com> |
12358 | ||
12359 | * config/arm/arm.h (MAX_LDM_STM_OPS): New macro. | |
12360 | * config/arm/arm.c (multiple_operation_profitable_p, | |
12361 | compute_offset_order): New static functions. | |
12362 | (load_multiple_sequence, store_multiple_sequence): Use them. | |
12363 | Replace constant 4 with MAX_LDM_STM_OPS. Compute order[0] from | |
12364 | memory offsets, not register numbers. | |
12365 | (emit_ldm_seq, emit_stm_seq): Replace constant 4 with MAX_LDM_STM_OPS. | |
12366 | ||
50701474 SB |
12367 | 2010-05-05 Steven Bosscher <steven@gcc.gnu.org> |
12368 | ||
62e59133 | 12369 | * stor-layout.c (pending_sizes): Change the type to VEC(tree,gc) *. |
50701474 SB |
12370 | (get_pending_sizes, put_pending_size, put_pending_sizes): |
12371 | Update the uses of pending_sizes. | |
12372 | * c-decl.c (store_parm_decls): Likewise. | |
12373 | * c-tree.h (struct c_arg_info): Likewise. | |
12374 | * tree.h: Update the prototype for get_pending_sizes and | |
12375 | put_pending_sizes. | |
12376 | ||
564a129d JM |
12377 | 2010-05-05 Jason Merrill <jason@redhat.com> |
12378 | ||
0f559c16 JM |
12379 | PR debug/43370 |
12380 | * c-common.c (handle_aligned_attribute): Respect | |
12381 | ATTR_FLAG_TYPE_IN_PLACE. | |
12382 | ||
564a129d JM |
12383 | PR testsuite/43758 |
12384 | * target.h (struct gcc_target): Add attribute_takes_identifier_p. | |
12385 | * target_def.h (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Define. | |
12386 | (TARGET_INITIALIZER): Use it. | |
12387 | * c-common.c (attribute_takes_identifier_p): Call it. | |
12388 | * c-common.h: Update prototype. | |
12389 | * config/rs6000/rs6000.c (rs6000_attribute_takes_identifier_p): New. | |
12390 | (TARGET_ATTRIBUTE_TAKES_IDENTIFIER_P): Define. | |
12391 | ||
58c13acc JJ |
12392 | 2010-05-05 Jakub Jelinek <jakub@redhat.com> |
12393 | ||
12394 | PR debug/43950 | |
12395 | * dwarf2out.c (gen_compile_unit_die): Add DW_AT_identifier_case | |
12396 | DW_ID_down_case for Fortran compilation units. | |
12397 | ||
5b042919 JH |
12398 | 2010-05-05 Jan Hubicka <jh@suse.cz> |
12399 | ||
12400 | * lto-cgraph.c (lto_output_varpool_node, input_varpool_node): Correctly | |
12401 | handle aliases. | |
12402 | ||
ca361dec EB |
12403 | 2010-05-05 Eric Botcazou <ebotcazou@adacore.com> |
12404 | ||
12405 | * gimplify.c (gimplify_return_expr): Gimplify the size expressions of | |
12406 | a variable-sized RESULT_DECL. | |
12407 | ||
fa6aeae1 MK |
12408 | 2010-05-05 Maxim Kuvyrkov <maxim@codesourcery.com> |
12409 | ||
12410 | * doc/invoke.texi (-mfix-cortex-m3-ldrd): Move from ARC section to ARM. | |
12411 | ||
6d729f28 JM |
12412 | 2010-05-05 Jason Merrill <jason@redhat.com> |
12413 | ||
12414 | PR c++/43787 | |
12415 | * gimplify.c (gimplify_expr): Keep working if gimplify_modify_expr | |
12416 | returns GS_OK. | |
12417 | (gimplify_modify_expr_rhs): Return GS_OK if anything changed. | |
12418 | ||
e972a1d3 AO |
12419 | 2010-05-05 Alexandre Oliva <aoliva@redhat.com> |
12420 | Jakub Jelinek <jakub@redhat.com> | |
12421 | ||
12422 | PR debug/43478 | |
12423 | * df-problems.c (struct dead_debug_use, struct dead_debug): New. | |
12424 | (dead_debug_init, dead_debug_finish): New functions. | |
12425 | (dead_debug_add, dead_debug_insert_before): Likewise. | |
12426 | (df_note_bb_compute): Initialize a dead_debug object, add dead | |
12427 | debug uses to it, insert debug bind insns before death insns, | |
12428 | reset debug insns that refer to pending uses at the end. | |
12429 | * rtl.h (make_debug_expr_from_rtl): New prototype. | |
12430 | * varasm.c (make_debug_expr_from_rtl): New function. | |
12431 | ||
2f41ecf5 JH |
12432 | 2010-05-05 Jan Hubicka <jh@suse.cz> |
12433 | ||
12434 | * lto-cgraph.c (output_varpool): Forward declare; work on encoder. | |
62e59133 UB |
12435 | (lto_varpool_encoder_new, lto_varpool_encoder_delete, |
12436 | lto_varpool_encoder_encode, lto_varpool_encoder_lookup, | |
12437 | lto_varpool_encoder_deref, lto_varpool_encoder_size, | |
2f41ecf5 JH |
12438 | lto_varpool_encoder_encode_initializer_p, |
12439 | lto_set_varpool_encoder_encode_initializer): New functions. | |
12440 | (lto_output_cgraph): Take vset parameter too; compute varpool encoder; | |
12441 | call output_varpool. | |
12442 | (input_varpool_node): Do not always set analyzed. | |
12443 | (input_cgraph_1): Return vector of cgraph nodes. | |
12444 | (input_varpool_1): Return vector of varpools. | |
12445 | (input_cgraph): Free the vectors. | |
12446 | * lto-streamer-out.c (lto_output_ts_decl_common_tree_pointers): | |
12447 | output only initializers needed. | |
12448 | (lto_output): Only call output_cgraph. | |
12449 | (produce_asm_for_decls): Call lto_varpool_encoder_delete. | |
12450 | * lto-section-out.c (lto_new_out_decl_state): Initialize | |
12451 | state->varpool_node_encoder. | |
12452 | * lto-streamer.h (lto_varpool_encoder_d): New. | |
62e59133 | 12453 | (lto_out_decl_state, lto_file_decl_data): Add varpool_node_encoder. |
2f41ecf5 JH |
12454 | (lto_cgraph_encoder_delete, output_cgraph): Update prototype. |
12455 | (lto_varpool_encoder_deref, lto_varpool_encoder_lookup, | |
12456 | lto_varpool_encoder_encode, lto_varpool_encoder_delete, | |
12457 | lto_varpool_encoder_encode_initializer_p, lto_varpool_encoder_new): | |
12458 | Declare. | |
12459 | (output_varpool, input_varpool): Remove declarations. | |
12460 | ||
9e0546ef JH |
12461 | 2010-05-05 Jan Hubicka <jh@suse.cz> |
12462 | ||
12463 | * lto-symtab.c (lto_symtab_resolve_can_prevail_p): Alias of variable | |
12464 | with body can prevail. | |
12465 | ||
12466 | 2010-05-05 Jan Hubicka <jh@suse.cz> | |
12467 | ||
12468 | * lto-symtab.c (lto_symtab_merge_decls_1): Prefer declarations with | |
12469 | size. | |
12470 | ||
0277fabf LB |
12471 | 2010-05-05 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
12472 | ||
62e59133 | 12473 | * Makefile.in (build/gengtype.o): Add $(HASHTAB_H) to dependencies. |
0277fabf LB |
12474 | |
12475 | * gengtype.h (erro_at_line): Constify pos argument. | |
12476 | ||
12477 | * gengtype.c: Include hashtab.h. | |
12478 | (enum gc_used): Document GC_MAYBE_POINTED_TO. | |
12479 | (error_at_line): Constify pos argument. | |
12480 | (do_typedef): Initialize p->opt field. | |
12481 | (get_file_gtfilename): Fix comment typo. | |
12482 | (struct walk_type_data): Constify line field. | |
12483 | (get_output_file_for_structure): New function. | |
12484 | (write_local_func_for_structure): Constify orig_s argument. | |
12485 | Use get_output_file_for_structure. | |
12486 | (write_func_for_structure): Use get_output_file_for_structure. | |
12487 | (INDENT): New define. | |
12488 | (dump_pair, dump_type, dump_type_list, dump_typekind) | |
12489 | (dump_gc_used, dump_options, dump_fileloc, dump_type_u_s) | |
12490 | (dump_type_u_a, dump_type_u_param_struct, dump_everything): New | |
12491 | functions. | |
12492 | (seen_types): New variable. | |
12493 | (main): New variable do_dump. Process "-d" command line option. | |
12494 | Call dump_everything if dump requested. | |
12495 | ||
dbb2a2cb JJ |
12496 | 2010-05-05 Jakub Jelinek <jakub@redhat.com> |
12497 | ||
12498 | * var-tracking.c (var_debug_decl): Save DECL_DEBUG_EXPR value | |
12499 | in a temporary instead of invoking the macro multiple times. | |
12500 | (track_expr_p): Likewise. | |
12501 | ||
f4a4b582 | 12502 | 2010-05-04 Neil Vachharajani <nvachhar@google.com> |
650cfcab NV |
12503 | |
12504 | * doc/invoke.texi (-Wcoverage-mismatch): Updated documentation as | |
12505 | per new semantics. | |
12506 | * opts.c (decode_options): Enable -Werror=coverage-mismatch. | |
12507 | * coverage.c (get_coverage_counts): Always emit a warning. Adjust | |
12508 | conditions for printing notes. | |
12509 | * common.opt (-Wcoverage-mismatch): Allow negative, default to | |
12510 | true, update documentation. | |
12511 | * Makefile.in (coverage.o): Add dependence on DIAGNOSTIC_H and intl.h. | |
650cfcab | 12512 | |
97e3c923 JJ |
12513 | 2010-05-04 Jakub Jelinek <jakub@redhat.com> |
12514 | ||
12515 | PR c/43981 | |
12516 | * c-parser.c (c_parser_direct_declarator_inner): Call mark_exp_read | |
12517 | on dimen. | |
12518 | ||
ade6a9ac L |
12519 | 2010-05-04 H.J. Lu <hongjiu.lu@intel.com> |
12520 | ||
12521 | PR target/43799 | |
62e59133 | 12522 | * config/i386/i386.md (sse_prologue_save): Clobber CC register. |
ade6a9ac L |
12523 | (*sse_prologue_save_insn1): Likewise. |
12524 | (SSE prologue save splitter): Likewise. | |
12525 | ||
7ef5e86c EB |
12526 | 2010-05-04 Eric Botcazou <ebotcazou@adacore.com> |
12527 | ||
12528 | * tree.c (free_lang_data_in_one_sizepos): New inline function. | |
12529 | (free_lang_data_in_type): Call it on TYPE_{MIN|MAX}_VALUE of numerical | |
12530 | types. Call it on TYPE_SIZE and TYPE_SIZE_UNIT of all types. | |
12531 | (free_lang_data_in_decl): Call it on DECL_SIZE and DECL_SIZE_UNIT of | |
12532 | all decls. Call it on DECL_FIELD_OFFSET of fields. | |
12533 | (find_decls_types_r): Follow DECL_VALUE_EXPR. | |
12534 | (iterative_hash_expr) <PLACEHOLDER_EXPR>: New case. | |
12535 | ||
6cbd3b6a MJ |
12536 | 2010-05-04 Martin Jambor <mjambor@suse.cz> |
12537 | ||
12538 | * tree-sra.c (build_access_from_expr_1): The first parameter type | |
12539 | changed to simple tree. | |
12540 | (build_access_from_expr): Likewise, gsi parameter was eliminated. | |
12541 | (scan_assign_result): Renamed to assignment_mod_result, enum elements | |
12542 | renamed as well. | |
12543 | (build_accesses_from_assign): Removed all parameters except for a | |
12544 | simple gimple statement. Now returns a simple bool. | |
12545 | (scan_function): All non-analysis parts moved to separate functions | |
12546 | sra_modify_function_body and ipa_sra_modify_function_body. Removed all | |
12547 | parameters and updated both callers. | |
12548 | (sra_modify_expr): Removed parameter data. | |
12549 | (sra_modify_function_body): New function. | |
12550 | (perform_intra_sra): Call sra_modify_function_body to modify the | |
12551 | function body. | |
12552 | (replace_removed_params_ssa_names): Parameter data changed into | |
12553 | adjustments vector. | |
12554 | (sra_ipa_modify_expr): Likewise. Also removed unused parameter gsi and | |
12555 | changed the parameter dont_convert to convert with the opposite | |
12556 | meaning. | |
12557 | (sra_ipa_modify_assign): Parameter data changed into adjustments | |
12558 | vector, return value changed to bool. | |
12559 | (ipa_sra_modify_function_body): New function. | |
12560 | (sra_ipa_reset_debug_stmts): Updated a comment. | |
12561 | (modify_function): Use ipa_sra_modify_function_body to modify function | |
12562 | body. | |
12563 | ||
2147c71c L |
12564 | 2010-05-04 H.J. Lu <hongjiu.lu@intel.com> |
12565 | ||
12566 | PR middle-end/43671 | |
12567 | * alias.c (true_dependence): Handle the same VALUE in x and mem. | |
12568 | (canon_true_dependence): Likewise. | |
12569 | (write_dependence_p): Likewise. | |
12570 | ||
85912441 JH |
12571 | 2010-05-04 Jan Hubicka <jh@suse.cz> |
12572 | ||
12573 | * Makefile.in (cgraphbuild.o): Add dependency on ipa-utils.h | |
12574 | * cgraphbuild.c: Include ipa-utils.h | |
12575 | (record_reference_ctx): New struct. | |
12576 | (record_reference): Simplify to work on initializers; not statements. | |
12577 | (mark_address, mark_load, mark_store): New. | |
12578 | (build_cgraph_edges): Simplify using walk_stmt_load_store_addr_ops; | |
12579 | walk PHI nodes too. | |
12580 | (record_references_in_initializer): Update use of record_reference. | |
12581 | (rebuild_cgraph_edges): Simplify using walk_stmt_load_store_addr_ops; | |
12582 | walk PHI nodes too. | |
12583 | ||
688a10c2 JH |
12584 | 2010-05-04 Jan Hubicka <jh@suse.cz> |
12585 | ||
12586 | * lto-symtab.c (lto_cgraph_replace_node): Do not remove edges; | |
12587 | node will be removed anyway. | |
12588 | (lto_varpool_replace_node): Allow also unanalyzed nodes; | |
12589 | relink aliases of node into prevailing node. | |
12590 | * varpool.c (varpool_remove_node): Remove aliases properly; | |
12591 | when removing node, remove all its aliases too; remove DECL_INITIAL | |
12592 | of removed node; ggc_free the varpool node. | |
12593 | ||
27c2cfa6 RG |
12594 | 2010-05-04 Richard Guenther <rguenther@suse.de> |
12595 | ||
12596 | PR tree-optimization/43879 | |
12597 | * tree-ssa-structalias.c (alias_get_name): Use | |
12598 | DECL_ASSEMBLER_NAME if available. | |
12599 | (create_function_info_for): Return the varinfo node. | |
12600 | (ipa_pta_execute): Associate same-body aliases and extra names | |
12601 | with their origin nodes varinfo. Dump DECL_ASSEMBLER_NAME. | |
12602 | ||
9c265c4d KK |
12603 | 2010-05-04 Kaz Kojima <kkojima@gcc.gnu.org> |
12604 | ||
62e59133 | 12605 | * config/sh/sh.c (sh_small_register_classes_for_mode_p): Remove static. |
9c265c4d | 12606 | |
a5c011cd MP |
12607 | 2010-05-04 Mikael Pettersson <mikpe@it.uu.se> |
12608 | ||
12609 | PR bootstrap/43964 | |
12610 | * ira-color.c (assign_hard_reg): Declare rclass and add_cost | |
12611 | only if HONOR_REG_ALLOC_ORDER is not defined. | |
12612 | ||
622d360e RG |
12613 | 2010-05-04 Richard Guenther <rguenther@suse.de> |
12614 | ||
12615 | PR tree-optimization/43949 | |
12616 | * tree-vrp.c (extract_range_from_binary_expr): Only handle | |
12617 | TRUNC_MOD_EXPR. | |
12618 | ||
cbb4feb3 JM |
12619 | 2010-04-26 Jason Merrill <jason@redhat.com> |
12620 | ||
12621 | * c.opt (-fstrict-enums): New. | |
12622 | * doc/invoke.texi (C++ Dialect Options): Document -fstrict-enums. | |
12623 | ||
f4a4b582 | 12624 | 2010-05-03 David Ung <davidu@mips.com> |
67e67979 DU |
12625 | James E. Wilson <wilson@codesourcery.com> |
12626 | ||
e492f63b | 12627 | * config/mips/mips.c (mips_output_division): If GENERATE_DIVIDE_TRAPS, |
67e67979 DU |
12628 | emit the trap instruction before the divide for TUNE_74K. |
12629 | ||
42db504c SB |
12630 | 2010-05-03 Steven Bosscher <steven@gcc.gnu.org> |
12631 | ||
12632 | * doc/tm.texi (defmac SMALL_REGISTER_CLASSES): Remove. | |
12633 | (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): Add documentation, | |
12634 | based on the above, for new target hook. | |
12635 | ||
12636 | * hooks.c (hook_bool_mode_true): New generic hook. | |
12637 | * hooks.h (hook_bool_mode_true): Add prototype. | |
12638 | ||
12639 | * target.h (struct gcc_target): Add small_register_classes_for_mode_p | |
12640 | target hook. | |
12641 | * target-def.h (TARGET_SMALL_REGISTER_CLASSES_FOR_MODE_P): New default | |
12642 | target hook, set to hook_bool_mode_false. | |
12643 | * regs.h: Remove default definition of SMALL_REGISTER_CLASSES. | |
12644 | * reload.c (push_secondary_reload): Replace SMALL_REGISTER_CLASSES | |
12645 | with targetm.small_register_classes_for_mode_p. | |
12646 | (find_reusable_reload): Likewise. | |
12647 | (combine_reloads): Likewise. | |
12648 | * reload1.c (reload_as_needed): Likewise. | |
12649 | * cse.c (approx_reg_cost_1, hash_rtx_cb): Likewise. | |
12650 | * ifcvt.c (noce_process_if_block, check_cond_move_block, | |
12651 | dead_or_predicable): Likewise. | |
12652 | * regmove.c (optimize_reg_copy_1): Likewise. | |
12653 | * calls.c (prepare_call_address): Likewise. | |
12654 | (precompute_register_parameters): Likewise. | |
12655 | ||
12656 | * config/sh/sh.h: Replace SMALL_REGISTER_CLASSES with new target | |
12657 | hook definition. | |
12658 | * config/sh/sh.c (sh_small_register_classes_for_mode_p): Add | |
12659 | implementation of the hook that considers all register classes | |
12660 | small except for SH64. | |
12661 | (sh_override_options): Use the new hook. | |
12662 | * config/sh/sh-protos.h (sh_small_register_classes_for_mode_p): | |
12663 | Add prototype. | |
12664 | ||
12665 | * config/arm/arm.h: Replace SMALL_REGISTER_CLASSES with new target | |
12666 | hook definition. | |
12667 | * config/arm/arm.c (arm_small_register_classes_for_mode_p): Add | |
12668 | implementation of the hook that considers all register classes | |
12669 | small for THUMB1. | |
12670 | * config/arm/arm-protos.h (arm_small_register_classes_for_mode_p): | |
12671 | Add prototype. | |
12672 | ||
12673 | * config/mips/mips.h: Replace SMALL_REGISTER_CLASSES with new target | |
12674 | hook definition. | |
12675 | * config/mips/mips.c (mips_small_register_classes_for_mode_p): Add | |
12676 | implementation of the hook that considers all register classes | |
12677 | small for MIPS16. | |
12678 | * config/mips/mips-protos.h (mips_small_register_classes_for_mode_p): | |
12679 | Add prototype. | |
12680 | ||
12681 | * config/i386/i386.h: Replace SMALL_REGISTER_CLASSES with new target | |
12682 | hook definition. | |
12683 | * config/m32c/m32c.h: Likewise. | |
12684 | * config/pdp11/pdp11.h: Likewise. | |
12685 | * config/avr/avr.h: Likewise. | |
12686 | * config/xtensa/xtensa.h: Likewise. | |
12687 | * config/m68hc11/m68hc11.h: Likewise. | |
12688 | * config/mn10300/mn10300.h: Likewise. | |
12689 | * config/mcore/mcore.h: Likewise. | |
12690 | * config/h8300/h8300.h: Likewise. | |
12691 | * config/bfin/bfin.h: Likewise. | |
12692 | ||
12693 | * config/iq2000/iq2000.h: Remove SMALL_REGISTER_CLASSES definition. | |
12694 | * config/rx/rx.h: Remove SMALL_REGISTER_CLASSES definition. | |
12695 | ||
e6693cfa AS |
12696 | 2010-05-03 Anatoly Sokolov <aesok@post.ru> |
12697 | ||
12698 | * double-int.h (tree_to_double_int): Remove macro. | |
12699 | (double_int_to_tree, double_int_fits_to_tree_p): Move prototypes ... | |
12700 | * tree.h (double_int_to_tree, double_int_fits_to_tree_p): ... here. | |
12701 | (tree_to_double_int): New function. | |
12702 | * double-int.c (double_int_to_tree, double_int_fits_to_tree_p): | |
12703 | Move ... | |
12704 | * tree.c (double_int_to_tree, double_int_fits_to_tree_p): ... here. | |
12705 | ||
8eb7bc3c RG |
12706 | 2010-05-03 Richard Guenther <rguenther@suse.de> |
12707 | ||
12708 | PR tree-optimization/43971 | |
12709 | * tree-ssa-structalias.c (get_constraint_for_1): Fix | |
12710 | constraints in the !flag_delete_null_pointer_checks case. | |
12711 | ||
c4e26da1 JJ |
12712 | 2010-05-03 Jakub Jelinek <jakub@redhat.com> |
12713 | ||
12714 | PR debug/43972 | |
12715 | * config/i386/i386.c (ix86_delegitimize_address): Make sure the | |
12716 | result mode matches original rtl mode. | |
12717 | ||
2dfccd83 DK |
12718 | 2010-05-03 Dave Korn <dave.korn.cygwin@gmail.com> |
12719 | ||
2385a470 | 12720 | PR target/43888 |
2dfccd83 DK |
12721 | * config/i386/winnt.c (i386_pe_binds_local_p): Handle weak decls. |
12722 | ||
18fdef20 UB |
12723 | 2010-05-02 Uros Bizjak <ubizjak@gmail.com> |
12724 | ||
12725 | * config/i386/i386.c (ix86_target_string): Output 'flags', not 'isa', | |
12726 | when processing flag options. | |
12727 | ||
7c393241 UB |
12728 | 2010-05-02 Uros Bizjak <ubizjak@gmail.com> |
12729 | ||
12730 | * gcov-iov.c (main): Change format string placeholder | |
12731 | from %#08x to 0x%08x. | |
12732 | * genchecksum.c (dosum): Change format string placeholder | |
12733 | from %#02x to 0x%02x. | |
12734 | ||
52c307ba RG |
12735 | 2010-05-02 Richard Guenther <rguenther@suse.de> |
12736 | ||
12737 | PR tree-optimization/43879 | |
7c393241 | 12738 | * tree-tailcall.c (find_tail_calls): Clobbers also prevent tail calls. |
52c307ba | 12739 | |
4896c7b8 BH |
12740 | 2010-05-02 Bruno Haible <bruno@clisp.org> |
12741 | ||
12742 | * doc/extend.texi (Function Attributes): Fix a typo. | |
12743 | ||
34a47f6f UB |
12744 | 2010-05-02 Uros Bizjak <ubizjak@gmail.com> |
12745 | ||
12746 | Revert: | |
12747 | * hwint.h (HOST_WIDE_INT_PRINT_DOUBLE_HEX): Change format string | |
12748 | placeholder from 0x%x to %#x. | |
12749 | (HOST_WIDEST_INT_PRINT_DOUBLE_HEX): Ditto. | |
7c393241 UB |
12750 | * config/i386/i386elf.h (ASM_OUTPUT_ASCII): Ditto. |
12751 | * config/i386/i386-interix.h (ASM_OUTPUT_ASCII): Ditto. | |
12752 | * config/i386/att.h (ASM_OUTPUT_ASCII): Ditto. | |
12753 | * config/i386/sysv4.h (ASM_OUTPUT_ASCII): Ditto. | |
12754 | * config/i386/i386.c (ix86_target_string): Ditto. | |
34a47f6f | 12755 | * config/i386/i386.c (output_pic_addr_const): Ditto. |
7c393241 | 12756 | (print_operand): Ditto. |
34a47f6f | 12757 | |
35c59d9c UB |
12758 | 2010-05-02 Uros Bizjak <ubizjak@gmail.com> |
12759 | ||
12760 | * vmsdbgout.c (ASM_OUTPUT_DEBUG_DATA1): Change format string | |
12761 | placeholder from 0x%x to %#x. | |
12762 | (ASM_OUTPUT_DEBUG_DATA1): Ditto. | |
12763 | (ASM_OUTPUT_DEBUG_DATA4): Ditto. | |
12764 | (ASM_OUTPUT_DEBUG_DATA): Ditto. | |
12765 | (ASM_OUTPUT_DEBUG_ADDR_DATA): Ditto. | |
12766 | (ASM_OUTPUT_DEBUG_DATA8): Ditto. | |
12767 | * optc-gen.awk: Ditto. | |
12768 | * hwint.h (HOST_WIDE_INT_PRINT_DOUBLE_HEX): Ditto. | |
12769 | (HOST_WIDE_INT_PRINT_HEX): Ditto. | |
12770 | (HOST_WIDEST_INT_PRINT_HEX): Ditto. | |
12771 | (HOST_WIDEST_INT_PRINT_DOUBLE_HEX): Ditto. | |
35c59d9c | 12772 | |
82f81f18 AS |
12773 | 2010-05-01 Anatoly Sokolov <aesok@post.ru> |
12774 | ||
12775 | * target.h (struct calls): Add function_value_regno_p field. | |
12776 | * target-def.h (TARGET_FUNCTION_VALUE_REGNO_P): Define. | |
12777 | (TARGET_INITIALIZER): Use TARGET_FUNCTION_VALUE_REGNO_P. | |
12778 | * targhooks.c (default_function_value_regno_p): New function. | |
12779 | * targhooks.h (default_function_value_regno_p): Declare function. | |
12780 | * rtlanal.c (keep_with_call_p): Use function_value_regno_p hook. | |
12781 | * builtins.c. (apply_result_size): (Ditto.). | |
12782 | * combine.c. (likely_spilled_retval_p): (Ditto.). | |
12783 | * mode-switching.c. Include 'target.h'. | |
12784 | (create_pre_exit): Use function_value_regno_p hook. | |
12785 | * Makefile.in (mode-switching.o): Add dependency on TARGET_H. | |
12786 | * doc/tm.texi (FUNCTION_VALUE_REGNO_P, | |
12787 | TARGET_FUNCTION_VALUE_REGNO_P): Revise documentation. | |
12788 | ||
12789 | * config/i386/i386.h (TARGET_FUNCTION_VALUE_REGNO_P): Remove macro. | |
12790 | * config/i386/i386.c (TARGET_FUNCTION_VALUE_REGNO_P): Define macro. | |
12791 | (ix86_function_value_regno_p): Declare as static, change argument | |
12792 | type to const unsigned int. | |
12793 | * config/i386/i386-protos.h (ix86_function_value_regno_p): Remove. | |
12794 | ||
bab4d587 RG |
12795 | 2010-05-01 Richard Guenther <rguenther@suse.de> |
12796 | ||
12797 | PR tree-optimization/43949 | |
12798 | * tree-vrp.c (ssa_name_nonnegative_p): Return true for unsigned | |
12799 | types. | |
12800 | (extract_range_from_binary_expr): Handle *_MOD_EXPR. | |
12801 | ||
3e93ff81 AS |
12802 | 2010-05-01 Anatoly Sokolov <aesok@post.ru> |
12803 | ||
12804 | * rtl.h (CONST_DOUBLE_P): Define. | |
12805 | (rtx_to_double_int): Declare. | |
12806 | * emit-rtl.c (rtx_to_double_int): New function. | |
12807 | * dwarf2out.c (insert_double): New function. | |
12808 | (loc_descriptor, add_const_value_attribute): Clean up, use | |
12809 | rtx_to_double_int and insert_double functions. | |
12810 | ||
bcbc9564 JW |
12811 | 2010-05-01 Jonathan Wakely <jwakely.gcc@gmail.com> |
12812 | ||
12813 | * doc/extend.texi (Inline): Add missing return keyword to examples. | |
12814 | (Function Attributes, Variable Attributes, Pragmas): Hyphenate | |
12815 | "command-line". | |
12816 | ||
ce276b61 EB |
12817 | 2010-04-30 Eric Botcazou <ebotcazou@adacore.com> |
12818 | ||
12819 | * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Check the alignment of | |
12820 | the variable part of the offset as well. Use highest_pow2_factor for | |
12821 | all alignment checks. | |
12822 | ||
82677400 RB |
12823 | 2010-04-30 Richard Guenther <rguenther@suse.de> |
12824 | ||
12825 | PR tree-optimization/43879 | |
12826 | * tree-ssa-structalias.c (type_could_have_pointers): Functions | |
12827 | can have pointers. | |
12828 | ||
cd71491e JH |
12829 | 2010-04-30 Jan Hubicka <jh@suse.cz> |
12830 | ||
82677400 RB |
12831 | * lto-symtab.c (lto_symtab_resolve_can_prevail_p): Chose var with |
12832 | varpool. | |
cd71491e JH |
12833 | (lto_symtab_merge_decls_1): Remove logic looking for an initializer. |
12834 | ||
ace72c88 JH |
12835 | 2010-04-30 Jan Hubicka <jh@suse.cz> |
12836 | ||
82677400 RB |
12837 | * cgraph.h (cgraph_node_set_nonempty_p, varpool_node_set_nonempty_p): |
12838 | New. | |
ace72c88 JH |
12839 | * lto-cgraph.c (input_cgraph): Remove call to lto_mark_file_for_ltrans. |
12840 | * lto-streamer.h (lto_file_decl_data): Remove needs_ltrans_p. | |
12841 | (lto_file_needs_ltrans_p, lto_mark_file_for_ltrans, | |
12842 | cgraph_node_set_needs_ltrans_p): Remove. | |
12843 | ||
b6feb796 SB |
12844 | 2010-04-30 Steven Bosscher <steven@gcc.gnu.org> |
12845 | ||
12846 | * sdbout.c: Include vec.h, do not include varray.h. | |
12847 | (deferred_global_decls, sdbout_global_decl, | |
12848 | sdbout_finish, sdbout_init): Use VEC instead of VARRAY. | |
12849 | * toplev.c: Do not include varray.h. | |
12850 | (dump_memory_report): Do not dump VARRAY statistics. | |
12851 | * gengtype.c (open_base_file): Ignore varray.h. | |
12852 | * Makefile.in: Update for abovementioned changes. | |
12853 | Remove all traces of varray.c and varray.h. | |
12854 | * varray.c: Remove file. | |
12855 | * varray.h: Remove file. | |
12856 | ||
05575e07 JH |
12857 | 2010-04-30 Jan Hubicka <jh@suse.cz> |
12858 | ||
12859 | * lto-cgraph.c (lto_output_varpool_node): Always output constant pool | |
12860 | references. | |
12861 | ||
9c6e0798 JH |
12862 | 2010-04-30 Jan Hubicka <jh@suse.cz> |
12863 | ||
12864 | * tree-profile.c (tree_init_ic_make_global_vars): Mark new decls as | |
12865 | needed. | |
12866 | ||
47d8a903 RG |
12867 | 2010-04-30 Richard Guenther <rguenther@suse.de> |
12868 | ||
12869 | * tree-ssa-structalias.c (get_constraint_for_1): Generate | |
12870 | constraints for CONSTRUCTOR. | |
12871 | ||
b6050cb7 RG |
12872 | 2010-04-30 Richard Guenther <rguenther@suse.de> |
12873 | ||
12874 | PR lto/43946 | |
12875 | * passes.c (init_optimization_passes): Move pass_ipa_free_lang_data | |
12876 | first after all lowering passes. | |
12877 | ||
9aae8d16 SB |
12878 | 2010-04-30 Steven Bosscher <steven@gcc.gnu.org> |
12879 | ||
12880 | * toplev.c: Include varray.h for statistics dumping. | |
12881 | * tree.h: Do not declare varray_head_tag. | |
12882 | * tree-into-ssa.c, tree-ssa-uninit.c, tree-phinodes.c, omega.c, | |
12883 | regs.h, lto-cgraph.c, tree-ssa-loop-ivopts.c, tree-nomudflap.c, | |
12884 | c-objc-common.c, lto-streamer-out.c, tree-ssa-propagate.c, | |
12885 | gimple-low.c, c-semantics.c, dwarf2out.c, lto-streamer-in.c, | |
12886 | lto-section-in.c, alias.c, tree-if-conv.c, gimplify.c, ggc-zone.c, | |
12887 | tree-ssa.c, tree-ssa-loop-prefetch.c, integrate.h, c-gimplify.c, | |
12888 | c-common.c, c-common.h, reg-stack.c, basic-block.h, | |
12889 | tree-ssa-structalias.c, lto-section-out.c, tree-ssanames.c: Do not | |
12890 | include varray.h. | |
12891 | * Makefile.in: Update for abovementioned changes. | |
12892 | ||
a07ecd2b JJ |
12893 | 2010-04-30 Jakub Jelinek <jakub@redhat.com> |
12894 | ||
12895 | PR debug/43942 | |
12896 | * tree.c (auto_var_in_fn_p): Return false for DECL_EXTERNAL vars. | |
12897 | ||
41700fc3 HS |
12898 | 2010-04-30 Hariharan Sandanagobalane <hariharan@picochip.com> |
12899 | ||
12900 | * config/picochip/picochip.c (picochip_legitimize_address): Define. | |
12901 | Use this function to do machine-specific conversion. | |
12902 | (picochip_legitimize_reload_address): Likewise. | |
12903 | (picochip_legitimate_address_p): Check valid base register only if | |
12904 | strict. | |
12905 | (picochip_check_conditional_copy): Check for modw only if opnd is | |
12906 | register. | |
12907 | * config/picochip/picochip.h (LEGITIMIZE_RELOAD_ADDRESS): Use this | |
12908 | to call the function in c. | |
12909 | * config/picochip/picochip-protos.h | |
12910 | (picochip_legitimize_reload_address): Define. | |
12911 | * config/picochip/picochip.md (supported_compare1): Define. | |
12912 | ||
8b4765bf JH |
12913 | 2010-04-30 Jan Hubicka <jh@suse.cz> |
12914 | ||
12915 | * cgraph.h (cgraph_local_info): Remove for_functions_valid. | |
12916 | (cgraph_global_info): Remove inlined. | |
12917 | (LTO_cgraph_tag_names): Remove. | |
12918 | (LTO_cgraph_tags, LCC_NOT_FOUND): Move to ... | |
12919 | * lto-cgraph.c (LTO_cgraph_tags, LCC_NOT_FOUND): ... here; | |
12920 | simplify cgraph tags and document. | |
12921 | (lto_output_node): Use only LTO_cgraph_unavail_node and | |
12922 | LTO_cgraph_analyzed_node; Do not save analzed, reachable, | |
35c59d9c | 12923 | for_functions_valid, global info, process and output flags. |
8b4765bf | 12924 | (input_overwrite_node): Initialize estimated stack size and |
35c59d9c | 12925 | estimated growth. Do not read flags we no longer store. |
8b4765bf JH |
12926 | (input_node): Likewise do not read info no longer stored. |
12927 | * ipa-inline.c (cgraph_mark_inline_edge): Do not set global.inlined | |
12928 | flag. | |
12929 | ||
4be68d9a RG |
12930 | 2010-04-30 Richard Guenther <rguenther@suse.de> |
12931 | ||
12932 | PR tree-optimization/43879 | |
12933 | * tree-ssa-structalias.c (get_constraint_for_1): Properly | |
12934 | handle non-zero initializers. | |
12935 | ||
06468254 RG |
12936 | 2010-04-30 Richard Guenther <rguenther@suse.de> |
12937 | ||
12938 | * builtins.c (fold_builtin_1): Delete free (0). | |
12939 | ||
8b4765bf | 12940 | 2010-04-29 Jan Hubicka <jh@suse.cz> |
49ba8180 JH |
12941 | |
12942 | * gengtype.c (open_base_files): Add lto-streamer.h | |
12943 | * cgraph.h (cgraph_local_info): lto_file_data is now in GGC. | |
12944 | (pass_ipa_cp): GGC collect. | |
12945 | * toplev. (compile_file): Do not output symbols. | |
12946 | * ipa-inline.c (pass_ipa_inline): Add ggc collect. | |
12947 | * timevar.def (TV_VARPOOL, TV_IPA_LTO_DECL_INIT_IO, | |
12948 | TV_IPA_LTO_DECL_MERGE, TV_IPA_LTO_CGRAPH_MERGE, TV_VAROUT): New. | |
12949 | * lto-section-in.c: Include ggc.h | |
12950 | (lto_new_in_decl_state): Alloc in GGC. | |
12951 | (lto_delete_in_decl_state): Likewise. | |
35c59d9c UB |
12952 | * ipa.c (pass_ipa_function_visibility, pass_ipa_whole_program): |
12953 | Collect. | |
49ba8180 | 12954 | |
5a733826 BS |
12955 | 2010-04-29 Bernd Schmidt <bernds@codesourcery.com> |
12956 | ||
12957 | PR target/42895 | |
12958 | * doc/tm.texi (ADJUST_REG_ALLOC_ORDER): Renamed from | |
12959 | ORDER_REGS_FOR_LOCAL_ALLOC. All instances of this macro changed. | |
12960 | (HONOR_REG_ALLOC_ORDER): Describe new macro. | |
12961 | * ira.c (setup_alloc_regs): Use ADJUST_REG_ALLOC_ORDER if defined. | |
12962 | * ira-color.c (assign_hard_reg): Take prologue/epilogue costs into | |
12963 | account only if HONOR_REG_ALLOC_ORDER is not defined. | |
12964 | * config/arm/arm.h (HONOR_REG_ALLOC_ORDER): Define. | |
12965 | * system.h (ORDER_REGS_FOR_LOCAL_ALLOC): Poison. | |
35c59d9c UB |
12966 | |
12967 | 2010-04-29 Jon Grant <04@jguk.org> | |
12968 | ||
7c6d86cc JG |
12969 | * collect2.c (vflag): Change type from int to bool. |
12970 | (debug): Likewise. | |
12971 | (helpflag): New global bool. | |
35c59d9c UB |
12972 | (main): Set vflag and debug with boolean, not integer truth values. |
12973 | Accept new "--help" option and output usage text if found. | |
7c6d86cc JG |
12974 | * collect2.h (vflag): Update prototype. |
12975 | (debug): Likewise. | |
35c59d9c | 12976 | |
55040b34 L |
12977 | 2010-04-29 H.J. Lu <hongjiu.lu@intel.com> |
12978 | ||
716a3481 | 12979 | PR bootstrap/43936 |
35c59d9c | 12980 | * plugin.h (flag_plugin_added): Moved out of invoke_plugin_callbacks. |
55040b34 | 12981 | |
46e70c4e RG |
12982 | 2010-04-29 Richard Guenther <rguenther@suse.de> |
12983 | ||
12984 | PR bootstrap/43935 | |
12985 | * plugin.h (invoke_plugin_callbacks): Annotate arguments | |
12986 | with ATTRIBUTE_UNUSED. | |
12987 | ||
0d0539f0 L |
12988 | 2010-04-29 H.J. Lu <hongjiu.lu@intel.com> |
12989 | ||
12990 | PR target/43921 | |
12991 | * config/i386/i386.c (get_some_local_dynamic_name): Replace | |
12992 | INSN_P with NONDEBUG_INSN_P. | |
12993 | (distance_non_agu_define): Likewise. | |
12994 | (distance_agu_use): Likewise. | |
12995 | ||
8e5f0b49 BS |
12996 | 2010-04-29 Bernd Schmidt <bernds@codesourcery.com> |
12997 | ||
f4a4b582 | 12998 | From Dominique d'Humieres <dominiq@lps.ens.fr> |
8e5f0b49 BS |
12999 | PR bootstrap/43858 |
13000 | * ifcvt.c (dead_or_predicable): Use df_simulate_find_defs to compute | |
13001 | test_set. | |
13002 | ||
35c59d9c | 13003 | 2010-04-29 Brian Hackett <bhackett1024@gmail.com> |
efda3807 BH |
13004 | |
13005 | * plugin.h (invoke_plugin_callbacks): New inline function. | |
13006 | * plugin.c (flag_plugin_added): New global flag. | |
13007 | (add_new_plugin): Initialize above flag. | |
13008 | (invoke_plugin_callbacks): Rename to ... | |
13009 | (invoke_plugin_callbacks_full): ... this. | |
13010 | ||
2942c502 JH |
13011 | 2010-04-28 Jan Hubicka <jh@suse.cz> |
13012 | ||
13013 | * lto-symtab.c (lto_symtab_entry_def) Add vnode. | |
13014 | (lto_varpool_replace_node): New. | |
13015 | (lto_symtab_resolve_symbols): Resolve varpool nodes. | |
13016 | (lto_symtab_merge_decls_1): Prefer decls with varpool node. | |
13017 | (lto_symtab_merge_cgraph_nodes_1): Merge varpools. | |
13018 | * cgraph.h (varpool_node_ptr): New type. | |
13019 | (varpool_node_ptr): New vector. | |
13020 | (varpool_node_set_def): New structure. | |
13021 | (varpool_node_set): New type. | |
13022 | (varpool_node_set): New vector. | |
13023 | (varpool_node_set_element_def): New structure. | |
13024 | (varpool_node_set_element, const_varpool_node_set_element): New types. | |
13025 | (varpool_node_set_iterator): New type. | |
13026 | (varpool_node): Add prev pointers, add used_from_other_partition, | |
13027 | in_other_partition. | |
13028 | (varpool_node_set_new, varpool_node_set_find, varpool_node_set_add, | |
13029 | varpool_node_set_remove, dump_varpool_node_set, debug_varpool_node_set, | |
13030 | varpool_get_node, varpool_remove_node): Declare. | |
13031 | (vsi_end_p, vsi_next, vsi_node, vsi_start, varpool_node_in_set_p, | |
13032 | varpool_node_set_size): New inlines. | |
13033 | * cgraph.c (dump_cgraph_node): Dump asm names of aliases. | |
13034 | * tree-pass.h (varpool_node_set_def): Forward declare. | |
13035 | (ipa_opt_pass_d): Summary writting takes vnode sets too. | |
13036 | (ipa_write_optimization_summaries): Update prototype. | |
13037 | * ipa-cp.c (ipcp_write_summary): Update. | |
13038 | * ipa-reference.c (ipa_reference_write_summary): Update. | |
13039 | * lto-cgraph.c (lto_output_varpool_node): New static function. | |
13040 | (output_varpool): New function. | |
13041 | (input_varpool_node): New static function. | |
13042 | (input_varpool_1): New function. | |
13043 | (input_cgraph): Input varpool. | |
13044 | * ipa-pure-const.c (pure_const_write_summary): Update. | |
13045 | * lto-streamer-out.c (lto_output): Update, output varpool too. | |
13046 | (write_global_stream): Kill WPA hack. | |
13047 | (produce_asm_for_decls): Update. | |
13048 | (output_alias_pair_p): Handle variables. | |
13049 | (output_unreferenced_globals): Output only needed partition of varpool. | |
13050 | * ipa-inline.c (inline_write_summary): Update. | |
35c59d9c UB |
13051 | * lto-streamer-in.c (lto_input_tree_ref, lto_input_tree): Do not build |
13052 | cgraph. | |
2942c502 JH |
13053 | * lto-section-in.c (lto_section_name): Add varpool and jump funcs. |
13054 | * ipa.c (hash_varpool_node_set_element, eq_varpool_node_set_element, | |
13055 | varpool_node_set_new, varpool_node_set_add, | |
13056 | varpool_node_set_remove, varpool_node_set_find, dump_varpool_node_set, | |
13057 | debug_varpool_node_set): New functions. | |
13058 | * passes.c (rest_of_decl_compilation): when in LTO do not finalize. | |
13059 | (execute_one_pass): Process new decls too. | |
13060 | (ipa_write_summaries_2): Pass around vsets. | |
13061 | (ipa_write_summaries_1): Likewise. | |
13062 | (ipa_write_summaries): Build vset; be more selective about cgraph nodes | |
13063 | to add. | |
13064 | (ipa_write_optimization_summaries_1): Pass around vsets. | |
13065 | (ipa_write_optimization_summaries): Likewise. | |
13066 | * varpool.c (varpool_get_node): New. | |
13067 | (varpool_node): Update doubly linked lists. | |
13068 | (varpool_remove_node): New. | |
13069 | (dump_varpool_node): More dumping. | |
13070 | (varpool_enqueue_needed_node): Update doubly linked lists. | |
13071 | (decide_is_variable_needed): Kill ltrans hack. | |
13072 | (varpool_finalize_decl): Kill lto hack. | |
13073 | (varpool_assemble_decl): Skip decls in other partitions. | |
13074 | (varpool_assemble_pending_decls): Update doubly linkes lists. | |
13075 | (varpool_empty_needed_queue): Likewise. | |
13076 | (varpool_extra_name_alias): Likewise. | |
13077 | * lto-streamer.c (lto_get_section_name): Add vars section. | |
13078 | * lto-streamer.h (lto_section_type): Update. | |
13079 | (output_varpool, input_varpool): Declare. | |
13080 | ||
da7f2697 MS |
13081 | 2010-04-28 Mike Stump <mikestump@comcast.net> |
13082 | ||
74ca3393 | 13083 | * config/i386/darwin.h (CC1_SPEC): Ignore -mdynamic-no-pic for now. |
da7f2697 | 13084 | |
91eace2b EB |
13085 | 2010-04-28 Eric Botcazou <ebotcazou@adacore.com> |
13086 | ||
13087 | * lto-streamer-in.c (unpack_ts_type_value_fields): Replace test for | |
13088 | record or union type with RECORD_OR_UNION_TYPE_P predicate. | |
13089 | (lto_input_ts_type_tree_pointers): Likewise. | |
13090 | * lto-streamer-out.c (pack_ts_type_value_fields): Likewise. | |
13091 | (lto_output_ts_type_tree_pointers): Likewise. | |
13092 | ||
8478130d EB |
13093 | 2010-04-28 Eric Botcazou <ebotcazou@adacore.com> |
13094 | ||
13095 | Uniquization of constants at the Tree level | |
20225a9b | 13096 | * tree.h (DECL_IN_CONSTANT_POOL): New macro. |
8478130d EB |
13097 | (tree_decl_with_vis): Add in_constant_pool bit, move shadowed_for_var_p |
13098 | bit to the end. | |
13099 | (tree_output_constant_def): Declare. | |
20225a9b | 13100 | * gimplify.c (gimplify_init_constructor): When using block copy, first |
8478130d | 13101 | uniquize the constant constructor on the RHS. |
20225a9b EB |
13102 | * lto-streamer-in.c (unpack_ts_decl_with_vis_value_fields): Deal with |
13103 | DECL_IN_CONSTANT_POOL flag. | |
8478130d | 13104 | * lto-streamer-out.c (pack_ts_decl_with_vis_value_fields): Likewise. |
20225a9b EB |
13105 | * varasm.c (make_decl_rtl): Deal with variables belonging to the global |
13106 | constant pool. | |
8478130d EB |
13107 | (assemble_variable): Deal with symbols belonging to the tree constant |
13108 | pool. | |
13109 | (get_constant_section): Add ALIGN parameter and simplify. | |
13110 | (build_constant_desc): Build a VAR_DECL and attach it to the symbol. | |
13111 | (assemble_constant_contents): Use the expression of the VAR_DECL. | |
13112 | (output_constant_def_contents): Use the alignment of the VAR_DECL. | |
13113 | (tree_output_constant_def): New global function. | |
13114 | (mark_constant): Use the expression of the VAR_DECL. | |
20225a9b EB |
13115 | (place_block_symbol): Use the alignment of the VAR_DECL and the size of |
13116 | its expression. | |
8478130d EB |
13117 | (output_object_block): Likewise and assemble the expression. |
13118 | ||
331c7fcd EB |
13119 | 2010-04-28 Eric Botcazou <ebotcazou@adacore.com> |
13120 | ||
13121 | * lto-streamer.c [LTO_STREAMER_DEBUG] (tree_htab, tree_hash_entry, | |
13122 | hash_tree, eq_tree): New tree hash table. | |
13123 | (lto_streamer_init) [LTO_STREAMER_DEBUG]: Initialize it. | |
13124 | [LTO_STREAMER_DEBUG] (lto_orig_address_map, lto_orig_address_get, | |
13125 | lto_orig_address_remove): Reimplement. | |
13126 | ||
34f97b94 XDL |
13127 | 2010-04-28 Xinliang David Li <davidxl@google.com> |
13128 | ||
13129 | PR c/42643 | |
13130 | * tree-ssa-uninit.c (can_skip_redundant_opnd): New function. | |
13131 | (compute_uninit_opnds_pos): New function. | |
13132 | (is_non_loop_exit_postdominating): New function. | |
13133 | (compute_control_dep_chain): New function. | |
13134 | (find_pdom): New function. | |
13135 | (convert_control_dep_chain_into_preds): New function. | |
13136 | (find_predicates): New function. | |
13137 | (find_control_equiv_block): New function. | |
13138 | (collect_phi_def_edges): New function. | |
13139 | (find_def_preds): New function. | |
13140 | (find_dom): New function. | |
13141 | (dump_predicates): New function. | |
13142 | (get_cmp_code): New function. | |
13143 | (is_value_included_in): New function. | |
13144 | (find_matching_predicate_in_rest_chains): New function. | |
13145 | (use_pred_not_overlap_with_undef_path_pred): New function. | |
13146 | (is_use_properly_guarded): New function. | |
13147 | (normalize_cond_1): New function. | |
13148 | (is_and_or_or): New function. | |
13149 | (normalize_cond): New function. | |
13150 | (is_gcond_subset_of): New function. | |
13151 | (is_subset_of_any): New function. | |
13152 | (is_or_set_subset_of): New function. | |
13153 | (is_and_set_subset_of): New function. | |
13154 | (is_norm_cond_subset_of): New function. | |
13155 | (is_pred_expr_subset_of): New function. | |
13156 | (is_pred_chain_subset_of): New function. | |
13157 | (is_included_in): New function. | |
13158 | (is_superset_of): New function. | |
13159 | (find_uninit_use): New function. | |
13160 | (warn_uninitialized_phi): New function. | |
13161 | (compute_possibly_undefined_names): New function. | |
13162 | (ssa_undefined_value_p): New function. | |
13163 | (execute_late_warn_uninitialized): New function. | |
13164 | * tree-ssa.c (ssa_undefined_value_p): Removed. | |
13165 | (warn_uninit): Changed to extern. | |
13166 | (warn_uninitialized_phi): Removed. | |
13167 | (warn_uninitialized_vars): Changed to extern. | |
13168 | (execute_late_warn_uninitialized): Removed | |
13169 | * tree-flow.h: Add new prototypes. | |
13170 | * timevar.def: Add new time variable. | |
13171 | * Makefile.in: Add new build file. | |
13172 | ||
85fac79c UB |
13173 | 2010-04-28 Uros Bizjak <ubizjak@gmail.com> |
13174 | ||
13175 | * config/alpha/elf.h (ASM_DECLARE_OBJECT_NAME): Use gnu_unique_object | |
13176 | type if available. | |
13177 | ||
902a51a1 RO |
13178 | 2010-04-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
13179 | ||
13180 | PR target/22224 | |
13181 | * config/alpha/osf5.h (ASM_OUTPUT_LOCAL): Redefine. | |
13182 | ||
e33c6cd6 MJ |
13183 | 2010-04-28 Martin Jambor <mjambor@suse.cz> |
13184 | ||
13185 | * cgraph.h (struct cgraph_node): New field indirect_calls. | |
13186 | (struct cgraph_indirect_call_info): New type. | |
13187 | (struct cgraph_edge): Removed field indirect_call. New fields | |
13188 | indirect_info, indirect_inlining_edge and indirect_unknown_callee. | |
13189 | (cgraph_create_indirect_edge): Declare. | |
13190 | (cgraph_make_edge_direct): Likewise. | |
13191 | (enum LTO_cgraph_tags): New item LTO_cgraph_indirect_edge. | |
13192 | * ipa-prop.h (struct ipa_param_call_note): Removed. | |
13193 | (struct ipa_node_params): Removed field param_calls. | |
13194 | (ipa_create_all_structures_for_iinln): Declare. | |
13195 | * cgraph.c: Described indirect edges and uids in initial comment. | |
13196 | (cgraph_add_edge_to_call_site_hash): New function. | |
13197 | (cgraph_edge): Search also among the indirect edges, use | |
13198 | cgraph_add_edge_to_call_site_hash to add edges to the call site hash. | |
13199 | (cgraph_set_call_stmt): Possibly turn an indirect edge into a direct | |
13200 | one, use cgraph_add_edge_to_call_site_hash to add edges to the call | |
13201 | site hash. | |
13202 | (initialize_inline_failed): Assign a reason to indirect edges. | |
13203 | (cgraph_create_edge_1): New function. | |
13204 | (cgraph_create_edge): Moved some functionality to | |
13205 | cgraph_create_edge_1. | |
13206 | (cgraph_create_indirect_edge): New function. | |
13207 | (cgraph_edge_remove_callee): Add an assert checking for | |
13208 | non-indirectness. | |
13209 | (cgraph_edge_remove_caller): Special-case indirect edges. | |
13210 | (cgraph_remove_edge): Likewise. | |
13211 | (cgraph_set_edge_callee): New function. | |
13212 | (cgraph_redirect_edge_callee): Use cgraph_set_edge_callee. | |
13213 | (cgraph_make_edge_direct): New function. | |
13214 | (cgraph_update_edges_for_call_stmt_node): Do nothing only when also | |
13215 | the declaration of the call statement matches. | |
13216 | (cgraph_node_remove_callees): Special-case indirect edges. | |
13217 | (cgraph_clone_edge): Likewise. | |
13218 | (cgraph_clone_node): Clone also the indirect edges. | |
13219 | (dump_cgraph_node): Dump indirect_inlining_edge flag instead of | |
13220 | indirect_call, dump count of indirect_calls edges. | |
13221 | * ipa-prop.c (iinlining_processed_edges): New variable. | |
13222 | (ipa_note_param_call): Create indirect edges instead of | |
13223 | creating notes. New parameter node. | |
13224 | (ipa_analyze_call_uses): New parameter node, pass it on to | |
13225 | ipa_note_param_call. | |
13226 | (ipa_analyze_stmt_uses): Likewise. | |
13227 | (ipa_analyze_params_uses): Pass node to ipa_analyze_stmt_uses. | |
13228 | (print_edge_addition_message): Work on edges rather than on notes. | |
13229 | (update_call_notes_after_inlining): Likewise, renamed to | |
13230 | update_indirect_edges_after_inlining. | |
13231 | (ipa_create_all_structures_for_iinln): New function. | |
13232 | (ipa_free_node_params_substructures): Do not free notes. | |
13233 | (ipa_edge_duplication_hook): Propagate bits within | |
13234 | iinlining_processed_edges bitmap. | |
13235 | (ipa_node_duplication_hook): Do not duplicate notes. | |
13236 | (free_all_ipa_structures_after_ipa_cp): Renamed to | |
13237 | ipa_free_all_structures_after_ipa_cp. | |
13238 | (free_all_ipa_structures_after_iinln): Renamed to | |
62e59133 | 13239 | ipa_free_all_structures_after_iinln. |
e33c6cd6 MJ |
13240 | (ipa_write_param_call_note): Removed. |
13241 | (ipa_read_param_call_note): Removed. | |
13242 | (ipa_write_indirect_edge_info): New function. | |
13243 | (ipa_read_indirect_edge_info): Likewise. | |
13244 | (ipa_write_node_info): Do not stream notes, do stream information | |
13245 | in indirect edges. | |
13246 | (ipa_read_node_info): Likewise. | |
13247 | (lto_ipa_fixup_call_notes): Removed. | |
13248 | * ipa-cp.c (pass_ipa_cp): Set stmt_fixup to NULL. | |
13249 | * ipa-inline.c (pass_ipa_inline): Likewise. | |
13250 | * cgraphunit.c (verify_cgraph_node): Check also indirect edges. | |
13251 | * cif-code.def (INDIRECT_UNKNOWN_CALL): New reason. | |
13252 | * tree-inline.c (copy_bb): Removed an unnecessary double check for | |
13253 | is_gimple_call. | |
13254 | * tree-inline.c (get_indirect_callee_fndecl): Do not consider indirect | |
13255 | edges. | |
13256 | * lto-cgraph.c (output_outgoing_cgraph_edges): New function. | |
13257 | (output_cgraph): Stream also indirect edges. | |
13258 | (lto_output_edge): Added capability to stream indirect edges. | |
13259 | (input_edge): Likewise. | |
13260 | (input_cgraph_1): Likewise. | |
f3d1b157 MJ |
13261 | * lto-streamer-in.c (fixup_call_stmt_edges_1): Fixup also statements |
13262 | of indirect edges. | |
e33c6cd6 | 13263 | |
18abb35e RG |
13264 | 2010-04-28 Richard Guenther <rguenther@suse.de> |
13265 | ||
13266 | PR tree-optimization/43879 | |
13267 | PR tree-optimization/43909 | |
13268 | * tree-ssa-structalias.c (struct variable_info): Add | |
13269 | only_restrict_pointers flag. | |
13270 | (new_var_info): Initialize it. Increment stats.total_vars here. | |
62e59133 | 13271 | (create_function_info_for): Do not increment stats.total_vars here. |
18abb35e RG |
13272 | (get_function_part_constraint): Fix build with C++. |
13273 | (insert_into_field_list): Remove. | |
13274 | (push_fields_onto_fieldstack): Properly merge fields. | |
13275 | (create_variable_info_for): Split and simplify. | |
13276 | (create_variable_info_for_1): New piece. | |
13277 | (intra_create_variable_infos): Properly make restrict constraints | |
13278 | from parameters. | |
13279 | ||
c718820a RG |
13280 | 2010-04-28 Richard Guenther <rguenther@suse.de> |
13281 | ||
13282 | PR c++/43880 | |
35c59d9c | 13283 | * tree-inline.c (copy_bind_expr): Also copy bind expr vars value-exprs. |
c718820a | 13284 | |
5dc16b19 | 13285 | 2010-04-27 Manuel López-Ibáñez <manu@gcc.gnu.org> |
f4a4b582 | 13286 | Jan Hubicka <hubicka@ucw.cz> |
5dc16b19 MLI |
13287 | |
13288 | * doc/invoke.texi (-Wsuggest-attribute=const, | |
13289 | -Wsuggest-attribute=pure): Document. | |
13290 | * ipa-pure-const.c: Include toplev.h, intl.h and opts.h. | |
13291 | (function_always_visible_to_compiler_p, | |
13292 | suggest_attribute, warn_function_pure, warn_function_const): | |
13293 | New functions. | |
13294 | (check_call): Improve debug info. | |
13295 | (analyze_function): Do not check availability. | |
13296 | (add_new_function): Check availability. | |
13297 | (propagate): Output warnings. | |
13298 | (skip_function_for_local_pure_const): New function. | |
13299 | (local_pure_const): Use it; output warnings. | |
13300 | * common.opt (Wsuggest-attribute=const, | |
13301 | Wsuggest-attribute=pure): New. | |
13302 | ||
78b41ae2 JJ |
13303 | 2010-04-27 Jakub Jelinek <jakub@redhat.com> |
13304 | ||
13305 | * dwarf2out.c (def_cfa_1): After DW_CFA_def_cfa_expression | |
13306 | force using DW_CFA_def_cfa instead of DW_CFA_def_cfa_register | |
13307 | or DW_CFA_def_cfa_offset{,_sf}. | |
13308 | ||
62107106 EB |
13309 | 2010-04-27 Eric Botcazou <ebotcazou@adacore.com> |
13310 | ||
13311 | * tree.h: Fix truncated long macros. | |
13312 | ||
ad211091 KT |
13313 | 2010-04-27 Kai Tietz <kai.tietz@onevision.com> |
13314 | ||
13315 | * collect2.c (TARGET_64BIT): Redefine to target's default. | |
13316 | * tlink.c: Likewise. | |
13317 | * config/i386/cygming.h (USER_LABEL_PREFIX): Define | |
13318 | dependent to TARGET_64BIT and USE_MINGW64_LEADING_UNDERSCORES. | |
13319 | * config/i386/i386.h (CRT_CALL_STATIC_FUNCTION): Use | |
13320 | for underscoring __USER_LABEL_PREFIX__. | |
13321 | * config/i386/mingw-w64.h (SUB_LINK_ENTRY): New macro. | |
13322 | (SUB_LINK_ENTRY32): New. | |
13323 | (SUB_LINK_ENTRY64): New. | |
85fac79c | 13324 | (LINK_SPEC): Replace entry point spec by SUB_LINK_ENTRY. |
ad211091 KT |
13325 | * config/i386/mingw32 (SUB_LINK_ENTRY32): New. |
13326 | (SUB_LINK_ENTRY64): New. | |
13327 | (SUB_LINK_ENTRY): New. | |
13328 | (LINK_SPEC): Use SUB_LINK_ENTRY instead of hard-coded entry-point. | |
13329 | (DWARF2_UNWIND_INFO): Error out for use of dw2 unwind when | |
13330 | x64 target is choosen. | |
13331 | * config.in (USE_MINGW64_LEADING_UNDERSCORES): New. | |
13332 | * configure: Regenerated. | |
13333 | * configure.ac (leading-mingw64-underscores): Option added. | |
13334 | ||
e65bb9be JH |
13335 | 2010-04-27 Jan Hubicka <jh@suse.cz> |
13336 | ||
13337 | * doc/invoke.texi (-fipa-profile): Document. | |
13338 | * opts.c (decode_options): Enable ipa-profile at -O1. | |
13339 | * timevar.def (TV_IPA_PROFILE): Define. | |
13340 | * common.opt (fipa-profile): Add. | |
62107106 EB |
13341 | * cgraph.c (cgraph_clone_node): Set local flag and clear vtable method |
13342 | flag for clones. | |
e65bb9be JH |
13343 | (cgraph_propagate_frequency): Handle only local ones. |
13344 | * tree-pass.h (pass_ipa_profile): Declare. | |
13345 | * ipa-profile.c (gate_profile): Use flag_ipa_profile. | |
13346 | (pass_ipa_profile): Use TV_IPA_PROFILE. | |
13347 | * ipa.c (ipa_profile): New function. | |
13348 | (gate_ipa_profile): Likewise. | |
13349 | (pass_ipa_profile): New global variable. | |
13350 | * passes.c (pass_ipa_profile): New. | |
13351 | ||
8606c81d NF |
13352 | 2010-04-27 Nathan Froyd <froydnj@codesourcery.com> |
13353 | ||
13354 | * config/arm/arm.c (arm_expand_builtin): Remove redundant declaration. | |
13355 | ||
78eaf7bf MJ |
13356 | 2010-04-27 Martin Jambor <mjambor@suse.cz> |
13357 | ||
13358 | PR middle-end/43812 | |
13359 | * ipa.c (dissolve_same_comdat_group_list): New function. | |
13360 | (function_and_variable_visibility): Call | |
13361 | dissolve_same_comdat_group_list when comdat group contains external or | |
13362 | newly local nodes. | |
13363 | * cgraphunit.c (verify_cgraph_node): Verify that same_comdat_group | |
13364 | lists are circular and that they contain only DECL_ONE_ONLY nodes. | |
13365 | ||
5b56d3bb EB |
13366 | 2010-04-27 Eric Botcazou <ebotcazou@adacore.com> |
13367 | ||
13368 | * varasm.c (decode_addr_const): Handle special case of INDIRECT_REF. | |
13369 | (const_hash_1) <VECTOR_CST>: New case. | |
13370 | (compare_constant) <VECTOR_CST>: Likewise. | |
13371 | <ADDR_EXPR>: Deal with LABEL_REFs. | |
13372 | (copy_constant) <VECTOR_CST>: New case. | |
13373 | ||
fa5f5e27 JH |
13374 | 2010-04-27 Jan Hubicka <jh@suse.cz> |
13375 | ||
13376 | * cgraph.c (cgraph_propagate_frequency): New function. | |
13377 | * cgraph.h (cgraph_propagate_frequency): Declare. | |
13378 | * ipa-inline.c (cgraph_clone_inlined_nodes): Call | |
13379 | cgraph_propagate_frequency. | |
13380 | ||
934f5b42 JJ |
13381 | 2010-04-27 Jakub Jelinek <jakub@redhat.com> |
13382 | ||
13383 | * unwind-dw2.c (_Unwind_DebugHook): Add used and noclone attributes. | |
13384 | ||
cb751cbd BS |
13385 | 2010-04-27 Bernd Schmidt <bernds@codesourcery.com> |
13386 | ||
13387 | PR target/40657 | |
13388 | * config/arm/arm.c (thumb1_extra_regs_pushed): New function. | |
13389 | (thumb1_expand_prologue, thumb1_output_function_prologue): Call it | |
13390 | here to determine which regs to push and how much stack to reserve. | |
13391 | ||
a5027830 JZ |
13392 | 2010-04-27 Jie Zhang <jie@codesourcery.com> |
13393 | ||
13394 | * doc/gimple.texi (gimple_statement_with_ops): Remove | |
13395 | addresses_taken field. | |
13396 | (gimple_statement_with_memory_ops): Likewise. | |
13397 | ||
d89488ec JH |
13398 | 2010-04-27 Jan Hubicka <jh@suse.cz> |
13399 | ||
13400 | * tree-inline.c (eni_inlining_weights): Remove. | |
13401 | (estimate_num_insns): Special case more builtins. | |
13402 | ||
637f1455 | 13403 | 2010-04-27 Shujing Zhao <pearly.zhao@oracle.com> |
85fac79c | 13404 | |
637f1455 SZ |
13405 | PR c/32207 |
13406 | * c-typeck.c (build_binary_op): Move forward check for comparison | |
13407 | pointer with null pointer constant and adjust the diagnostic message. | |
13408 | ||
f0423078 DK |
13409 | 2010-04-27 Dave Korn <dave.korn.cygwin@gmail.com> |
13410 | ||
13411 | PR lto/42776 | |
13412 | * configure.ac (gcc_cv_as_section_has_align): Set if installed | |
13413 | binutils supports extended .section directive needed by LTO, or | |
13414 | warn if older binutils found. | |
13415 | (LTO_BINARY_READER): New AC_SUBST'd variable. | |
13416 | (LTO_USE_LIBELF): Likewise. | |
13417 | * gcc/config.gcc (lto_binary_reader): New target-specific configure | |
13418 | variable. | |
13419 | * gcc/Makefile.in (LTO_BINARY_READER): Import AC_SUBST'd autoconf var. | |
13420 | (LTO_USE_LIBELF): Likewise. | |
13421 | * configure: Regenerate. | |
13422 | ||
13423 | * collect2.c (is_elf): Rename from this ... | |
13424 | (is_elf_or_coff): ... to this, and recognize and allow i386 COFF | |
13425 | object files in addition to ELF-formatted ones. | |
13426 | (scan_prog_file): Caller updated. Also allow for LTO info marker | |
13427 | symbol to be prefixed or not by an extra underscore. | |
13428 | ||
13429 | * config/i386/t-cygming (winnt.o): Also depend on LTO_STREAMER_H. | |
13430 | * config/i386/winnt.c: Also #include lto-streamer.h | |
13431 | (i386_pe_asm_named_section): Specify 1-byte section alignment for | |
13432 | LTO named sections. | |
13433 | (i386_pe_asm_output_aligned_decl_common): Add comment. | |
13434 | (i386_pe_maybe_record_exported_symbol): Allow decl arg to be NULL. | |
13435 | ||
68e87fc9 HPN |
13436 | 2010-04-27 Hans-Peter Nilsson <hp@bitrange.com> |
13437 | ||
45c384e3 | 13438 | PR target/43889 |
68e87fc9 HPN |
13439 | * config/mmix/mmix.md ("*divdi3_nonknuth", "*moddi3_nonknuth"): |
13440 | Add missing earlyclobber for second alternative. | |
13441 | ||
823ff7b4 BS |
13442 | 2010-04-26 Bernd Schmidt <bernds@codesourcery.com> |
13443 | ||
13444 | * df-problems.c (df_simulate_initialize_forwards): Set, don't clear, | |
13445 | bits for artificial defs at the top of the block. | |
13446 | * fwprop.c (single_def_use_enter_block): Don't call it. | |
13447 | ||
f4a4b582 | 13448 | 2010-04-26 Jack Howarth <howarth@bromo.med.uc.edu> |
9ec69d2e JH |
13449 | |
13450 | PR 43715 | |
13451 | * gcc/configure.ac: Use "$gcc_cv_nm -g" on darwin | |
13452 | instead of "$gcc_cv_objdump -T". | |
13453 | Use "-undefined dynamic_lookup" on darwin. | |
13454 | * gcc/configure: Regenerate. | |
13455 | ||
b83a701b JJ |
13456 | 2010-04-26 Jakub Jelinek <jakub@redhat.com> |
13457 | ||
13458 | PR c/43893 | |
13459 | * c-omp.c (c_finish_omp_for): Handle also EQ_EXPR. | |
13460 | ||
8415f317 NF |
13461 | 2010-04-26 Nathan Froyd <froydnj@codesourcery.com> |
13462 | ||
13463 | * c-parser.c (struct c_token): Move location field up. | |
13464 | * c-tree.h (struct c_typespec): Move expr_const_operands field up. | |
13465 | (struct c_declspecs): Convert typespec_word, storage_class, and | |
13466 | default_int_p into bitfields. | |
13467 | (struct c_declarator): Move loc field up. | |
13468 | ||
448f65db NF |
13469 | 2010-04-26 Nathan Froyd <froydnj@codesourcery.com> |
13470 | ||
13471 | * cfgloop.h (struct loop): Move can_be_parallel field up. | |
13472 | * ipa-prop.h (struct ip_node_params): Move bitfields up. | |
13473 | * tree-ssa-loop-ivopts.c (struct version_info): Move inv_id field | |
13474 | down. | |
13475 | (struct iv_cand): Convert pos field into a bitfield. | |
13476 | * tree-vectorizer.h (struct _loop_vec_info): Move loop_line_number | |
13477 | field up. | |
13478 | (struct _stmt_vec_info): Shuffle fields for better packing. | |
13479 | ||
736865e1 EB |
13480 | 2010-04-26 Eric Botcazou <ebotcazou@adacore.com> |
13481 | ||
13482 | * varasm.c (IN_NAMED_SECTION): Remove guard. | |
13483 | * config/arm/unknown-elf.h (IN_NAMED_SECTION): Rename to... | |
13484 | (IN_NAMED_SECTION_P): ...this. | |
13485 | (ASM_OUTPUT_ALIGNED_BSS): Adjust for above renaming. | |
13486 | (ASM_OUTPUT_ALIGNED_DECL_LOCAL): Likewise. | |
13487 | ||
06ec59e6 EB |
13488 | 2010-04-26 Eric Botcazou <ebotcazou@adacore.com> |
13489 | ||
13490 | * gimplify.c (gimplify_cond_expr): Use THEN_ and ELSE_ local variables. | |
13491 | Use VOID_TYPE_P for all void type tests. Adjust TYPE variable instead | |
13492 | of shadowing it. Fix comments. | |
13493 | ||
5fefcf92 JH |
13494 | 2010-04-26 Jan Hubicka <jh@suse.cz> |
13495 | ||
13496 | * cgraph.c (cgraph_create_node): Set node frequency to normal. | |
13497 | (cgraph_clone_node): Copy function frequency. | |
13498 | * cgraph.h (node_frequency): New enum | |
13499 | (struct cgraph_node): Add. | |
13500 | * final.c (rest_of_clean_state): Update. | |
13501 | * lto-cgraph.c (lto_output_node): Output node frequency. | |
13502 | (input_overwrite_node): Input node frequency. | |
13503 | * tre-ssa-loop-ivopts (computation_cost): Update. | |
06ec59e6 EB |
13504 | * lto-streamer-out.c (output_function): Do not output function |
13505 | frequency. | |
13506 | * predict.c (maybe_hot_frequency_p): Update and handle functions | |
13507 | executed once. | |
5fefcf92 JH |
13508 | (cgraph_maybe_hot_edge_p): Likewise; use cgraph frequency instead of |
13509 | attribute lookup. | |
13510 | (probably_never_executed_bb_p, optimize_function_for_size_p): Update. | |
06ec59e6 EB |
13511 | (compute_function_frequency): Set noreturn functions to be executed |
13512 | once. | |
5fefcf92 JH |
13513 | (choose_function_section): Update. |
13514 | * lto-streamer-in.c (input_function): Do not input function frequency. | |
06ec59e6 EB |
13515 | * function.c (allocate_struct_function): Do not initialize function |
13516 | frequency. | |
5fefcf92 JH |
13517 | * function.h (function_frequency): Remove. |
13518 | (struct function): Remove function frequency. | |
13519 | * ipa-profile.c (CGRAPH_NODE_FREQUENCY): Remove. | |
13520 | (try_update): Update. | |
13521 | * tree-inline.c (initialize_cfun): Do not update function frequency. | |
13522 | * passes.c (pass_init_dump_file): Update. | |
13523 | * i386.c (ix86_compute_frame_layout): Update. | |
13524 | (ix86_pad_returns): Update. | |
13525 | ||
330af32c JZ |
13526 | 2010-04-26 Jie Zhang <jie@codesourcery.com> |
13527 | ||
13528 | PR tree-optimization/43833 | |
13529 | * tree-vrp.c (range_int_cst_p): New. | |
13530 | (range_int_cst_singleton_p): New. | |
13531 | (extract_range_from_binary_expr): Optimize BIT_AND_EXPR case | |
13532 | when both operands are constants. Use range_int_cst_p in | |
13533 | BIT_IOR_EXPR case. | |
13534 | ||
ae2b0888 JH |
13535 | 2010-04-26 Jan Hubicka <jh@suse.cz> |
13536 | ||
13537 | * cgraphunit.c (cgraph_copy_node_for_versioning): Fix profile updating. | |
13538 | ||
98b2dfbb RG |
13539 | 2010-04-26 Richard Guenther <rguenther@suse.de> |
13540 | ||
13541 | PR lto/43080 | |
13542 | * gimple.c (gimple_decl_printable_name): Deal gracefully | |
13543 | with a NULL DECL_NAME. | |
13544 | ||
1ae3075b RG |
13545 | 2010-04-26 Richard Guenther <rguenther@suse.de> |
13546 | ||
13547 | PR lto/42425 | |
13548 | * tree.c (free_lang_data_in_type): Do not free TYPE_CONTEXT | |
13549 | if emitting debug information and it is either a function | |
13550 | or a namespace decl. | |
13551 | ||
4b5caab7 IR |
13552 | 2010-04-26 Ira Rosen <irar@il.ibm.com> |
13553 | ||
85fac79c UB |
13554 | * tree-vectorizer.h (struct _stmt_vec_info): Add new field to |
13555 | determine if the statement is vectorizable, and a macro to access it. | |
13556 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
13557 | Skip statements that can't be vectorized. If the analysis fails, | |
13558 | mark the statement as unvectorizable if vectorizing basic block. | |
4b5caab7 | 13559 | (vect_compute_data_refs_alignment): Likewise. |
85fac79c | 13560 | (vect_verify_datarefs_alignment): Skip statements marked as |
4b5caab7 | 13561 | unvectorizable. Add print. |
85fac79c UB |
13562 | (vect_analyze_group_access): Skip statements that can't be |
13563 | vectorized. If the analysis fails, mark the statement as | |
4b5caab7 | 13564 | unvectorizable if vectorizing basic block. |
85fac79c UB |
13565 | (vect_analyze_data_ref_accesses, vect_analyze_data_refs): Likewise. |
13566 | * tree-vect-stmts.c (vectorizable_store): Fix the number of | |
4b5caab7 IR |
13567 | generated stmts for SLP. |
13568 | (new_stmt_vec_info): Initialize the new field. | |
85fac79c | 13569 | * tree-vect-slp.c (vect_build_slp_tree): Fail to vectorize |
4b5caab7 IR |
13570 | statements marked as unvectorizable. |
13571 | ||
2778d766 JM |
13572 | 2010-04-25 Joseph Myers <joseph@codesourcery.com> |
13573 | ||
13574 | * c-common.c (flag_isoc1x): New. | |
13575 | (flag_isoc99): Update comment. | |
13576 | * c-common.h (flag_isoc1x): New. | |
13577 | (flag_isoc99): Update comment. | |
13578 | * c-cppbuiltin.c (builtin_define_float_constants): Also define | |
13579 | __<type>_DECIMAL_DIG__. | |
13580 | * c-opts.c (set_std_c1x): New. | |
13581 | (c_common_handle_option): Handle -std=c1x and -std=gnu1x. | |
13582 | (set_std_c89, set_std_c99): Also set flag_isoc1x to 0. | |
13583 | * c.opt (-std=c1x, -std=gnu1x): New options. | |
13584 | * doc/cpp.texi: Mention -std=c1x. | |
13585 | * doc/cppopts.texi (-std=c1x, -std=gnu1x): Document. | |
13586 | * doc/extend.texi: Mention -std=c1x and -std=gnu1x. | |
13587 | * doc/invoke.texi (-std=c1x, -std=gnu1x): Document. | |
13588 | * doc/standards.texi: Mention C1X. | |
13589 | * ginclude/float.h (FLT_DECIMAL_DIG, DBL_DECIMAL_DIG, | |
13590 | LDBL_DECIMAL_DIG, FLT_HAS_SUBNORM, DBL_HAS_SUBNORM, | |
13591 | LDBL_HAS_SUBNORM, FLT_TRUE_MIN, DBL_TRUE_MIN, LDBL_TRUE_MIN): | |
13592 | Define for C1X. | |
13593 | ||
3d416346 UB |
13594 | 2010-04-25 Uros Bizjak <ubizjak@gmail.com> |
13595 | ||
13596 | * config/i386/gmon-sol2.c (_mcleanup): Change format string | |
13597 | placeholder from 0x%x to %#x. | |
13598 | * config/i386/i386elf.h (ASM_OUTPUT_ASCII): Ditto. | |
13599 | * config/i386/i386-interix.h (ASM_OUTPUT_ASCII): Ditto. | |
13600 | * config/i386/att.h (ASM_OUTPUT_ASCII): Ditto. | |
13601 | * config/i386/sysv4.h (ASM_OUTPUT_ASCII): Ditto. | |
13602 | * config/i386/i386.c (ix86_target_string): Ditto. | |
13603 | (output_pic_addr_const): Ditto. | |
13604 | (print_operand): Ditto. | |
13605 | ||
910ed7dc PB |
13606 | 2010-04-25 Paolo Bonzini <bonzini@gnu.org> |
13607 | ||
13608 | * combine.c (find_split_point): Add third argument. Use it | |
13609 | to find nested multiply-accumulate instructions. Adjust calls. | |
13610 | (try_combine): Adjust call to find_split_point. | |
13611 | ||
423b2799 GP |
13612 | 2010-04-24 Gerald Pfeifer <gerald@pfeifer.com> |
13613 | ||
13614 | * doc/contrib.texi (Contributors): Add Dodji Seketeli. | |
13615 | ||
27d0d96a BS |
13616 | 2010-04-24 Bernd Schmidt <bernds@codesourcery.com> |
13617 | ||
13618 | PR tree-optimization/41442 | |
13619 | * fold-const.c (merge_truthop_with_opposite_arm): New function. | |
13620 | (fold_binary_loc): Call it. | |
13621 | ||
c7d0de89 MLI |
13622 | 2010-04-23 Manuel López-Ibáñez <manu@gcc.gnu.org> |
13623 | ||
3d416346 | 13624 | * toplev.c (general_init): Set default for fdiagnostics-show-option. |
c7d0de89 | 13625 | * opts.c (common_handle_option): Allow disabling it. |
3d416346 UB |
13626 | * common.opt (fdiagnostics-show-option): Add Var. Enabled by default. |
13627 | ||
915f5921 EB |
13628 | 2010-04-23 Eric Botcazou <ebotcazou@adacore.com> |
13629 | ||
13630 | * expr.c (expand_expr_real_1) <VIEW_CONVERT_EXPR>: Only use conversion | |
13631 | between modes if both types are integral. | |
13632 | ||
4e708ff7 RG |
13633 | 2010-04-23 Richard Guenther <rguenther@suse.de> |
13634 | ||
13635 | PR tree-optimization/43572 | |
13636 | * tree-tailcall.c (find_tail_calls): Allow PARM_DECL uses. | |
13637 | ||
8fd8a06f RG |
13638 | 2010-04-23 Richard Guenther <rguenther@suse.de> |
13639 | ||
13640 | PR lto/43455 | |
13641 | * tree-inline.c (tree_can_inline_p): Also check compatibility | |
13642 | of return types. | |
13643 | ||
77620011 MJ |
13644 | 2010-04-23 Martin Jambor <mjambor@suse.cz> |
13645 | ||
13646 | PR tree-optimization/43846 | |
13647 | * tree-sra.c (struct access): New flag grp_assignment_read. | |
13648 | (build_accesses_from_assign): Set grp_assignment_read. | |
13649 | (sort_and_splice_var_accesses): Propagate grp_assignment_read. | |
13650 | (enum mark_read_status): New type. | |
13651 | (analyze_access_subtree): Propagate grp_assignment_read, create | |
13652 | accesses also if both direct_read and root->grp_assignment_read. | |
13653 | ||
5c20baf1 MJ |
13654 | 2010-04-23 Martin Jambor <mjambor@suse.cz> |
13655 | ||
13656 | PR middle-end/43835 | |
13657 | * tree-sra.c (ipa_sra_preliminary_function_checks): Check that the | |
13658 | function does not have type attributes. | |
13659 | ||
c67f69a3 RG |
13660 | 2010-04-23 Richard Guenther <rguenther@suse.de> |
13661 | ||
13662 | PR lto/42653 | |
13663 | * tree.c (free_lang_data_in_decl): Do not reset DECL_CONTEXT | |
13664 | of FUNCTION_DECLs. | |
13665 | ||
086058c2 LB |
13666 | 2010-04-22 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
13667 | ||
13668 | * sese.h (create_if_region_on_edge): Remove. | |
13669 | ||
13670 | * sese.c (create_if_region_on_edge): Make static. | |
13671 | ||
13672 | * tree-inline.c: Do not include ggc.h. | |
13673 | ||
13674 | * expr.c: Do not include ggc.h. | |
13675 | ||
13676 | * Makefile.in (tree-inline.o, expr.o): Remove $(GGC_H) from | |
13677 | dependencies. | |
13678 | ||
fc9c984d KK |
13679 | 2010-04-22 Kaz Kojima <kkojima@gcc.gnu.org> |
13680 | ||
13681 | PR target/43744 | |
13682 | * config/sh/sh.c (find_barrier): Don't emit a constant pool | |
13683 | in the middle of insns for casesi_worker_2. | |
13684 | ||
cf42f095 DE |
13685 | 2010-04-22 David Edelsohn <edelsohn@gnu.org> |
13686 | ||
13687 | * config/rs6000/x-aix: Override LDFLAGS for all COMPILERS. | |
13688 | ||
13689 | 2010-04-22 Ira Rosen <irar@il.ibm.com> | |
74500b3e | 13690 | |
5bdd895c | 13691 | PR tree-optimization/43842 |
d5dceab8 | 13692 | * tree-vect-loop.c (vect_create_epilog_for_reduction): Handle |
74500b3e IR |
13693 | loop unrolling in update of exit phis. Fix comment. |
13694 | * tree-vect-slp.c (vect_analyze_slp): Check that there are at | |
d5dceab8 | 13695 | least two reduction statements in the loop before starting SLP |
74500b3e IR |
13696 | analysis. |
13697 | ||
d5f4a527 NC |
13698 | 2010-04-22 Nick Clifton <nickc@redhat.com> |
13699 | ||
13700 | * config/stormy16/stormy16-lib2.c (__ucmpsi2): Fix thinko. | |
13701 | ||
44741f03 AM |
13702 | 2010-04-22 Alexander Monakov <amonakov@ispras.ru> |
13703 | ||
13704 | * tree-ssa-reassoc.c (eliminate_plus_minus_pair): Handle BIT_NOT_EXPR | |
13705 | to simplify a + ~a. | |
13706 | ||
f873b205 LB |
13707 | 2010-04-22 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
13708 | ||
13709 | * tree-parloops.c (loop_parallel_p): New argument | |
13710 | parloop_obstack. Pass it down. | |
13711 | (parallelize_loops): New variable parloop_obstack. Initialize it, | |
13712 | pass it down, free it. | |
13713 | ||
13714 | * tree-loop-linear.c (linear_transform_loops): Pass down | |
13715 | lambda_obstack. | |
13716 | ||
13717 | * tree-data-ref.h (lambda_compute_access_matrices): New argument | |
13718 | of type struct obstack *. | |
13719 | ||
13720 | * tree-data-ref.c (analyze_subscript_affine_affine): New variable | |
13721 | scratch_obstack. Initialize it, pass down, free it. | |
13722 | ||
13723 | * lambda.h (lambda_loop_new): Remove. | |
13724 | (lambda_matrix_new, lambda_matrix_inverse) | |
13725 | (lambda_trans_matrix_new, lambda_trans_matrix_inverse): New | |
13726 | argument of type struct obstack *. | |
13727 | ||
13728 | * lambda-trans.c (lambda_trans_matrix_new): New argument | |
13729 | lambda_obstack. Pass it down, use obstack allocation for ret. | |
13730 | (lambda_trans_matrix_inverse): New argument lambda_obstack. Pass | |
13731 | it down. | |
13732 | ||
13733 | * lambda-mat.c (lambda_matrix_get_column) | |
13734 | (lambda_matrix_project_to_null): Remove. | |
13735 | (lambda_matrix_new): New argument lambda_obstack. Use obstack | |
13736 | allocation for mat. | |
13737 | (lambda_matrix_inverse_hard, lambda_matrix_inverse): New argument | |
13738 | lambda_obstack. | |
13739 | ||
13740 | * lambda-code.c (lambda_loop_new): New function. | |
13741 | (lambda_lattice_new, compute_nest_using_fourier_motzkin) | |
13742 | (lambda_compute_auxillary_space, lambda_compute_target_space) | |
13743 | (lambda_loopnest_transform, gcc_loop_to_lambda_loop) | |
13744 | (lambda_loopnest_to_gcc_loopnest): Pass down lambda_obstack. | |
13745 | (build_access_matrix): New argument lambda_obstack. Use obstack | |
13746 | allocation for am. | |
13747 | (lambda_compute_step_signs, lambda_compute_access_matrices): New | |
13748 | argument lambda_obstack. Pass it down. | |
13749 | ||
b99279f3 BS |
13750 | 2010-04-22 Bernd Schmidt <bernds@codesourcery.com> |
13751 | ||
13752 | * optabs.h (expand_widening_mult): Declare. | |
13753 | ||
b3be2694 RG |
13754 | 2010-04-22 Richard Guenther <rguenther@suse.de> |
13755 | ||
13756 | PR tree-optimization/43845 | |
13757 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Properly | |
13758 | lookup the CALL_EXPR function and arguments. | |
13759 | ||
038eab67 NC |
13760 | 2010-04-22 Nick Clifton <nickc@redhat.com> |
13761 | ||
13762 | * config/stormy16/stormy16.c | |
d5dceab8 | 13763 | (xstormy16_asm_output_aligned_common): Handle a NULL decl parameter. |
038eab67 NC |
13764 | * config/stormy16/stormy16.h: Tidy up formatting. |
13765 | (DONT_USE_BUILTIN_SETJMP): Remove definition. | |
13766 | * config/stormy16/stormy16.c (cbranchsi4): Delete pattern. | |
13767 | (ineqbranchsi): Delete pattern. | |
13768 | * config/stormy16/stormy16-lib2-ucmpsi2.c: New file. | |
13769 | * config/stormy16/stormy16-lib2.c (__ucmpsi2): New function. | |
13770 | * config/stormy16/t-stormy16 (LIB2FUNCS_EXTRA): Add | |
13771 | stormy16-lib2-ucmpsi2.c. | |
13772 | ||
907deb1a BS |
13773 | 2010-04-22 Bernd Schmidt <bernds@codesourcery.com> |
13774 | ||
13775 | * ifcvt.c (dead_or_predicable): Use df_simulate_find_defs and | |
13776 | df_simulate_find_noclobber_defs as appropriate. Keep track of an | |
13777 | extra set merge_set_noclobber, and use it to relax the final test | |
13778 | slightly. | |
13779 | * df.h (df_simulate_find_noclobber_defs): Declare. | |
13780 | * df-problems.c (df_simulate_find_defs): Don't ignore partial or | |
13781 | conditional defs. | |
13782 | (df_simulate_find_noclobber_defs): New function. | |
13783 | ||
6a0447ba UB |
13784 | 2010-04-22 Uros Bizjak <ubizjak@gmail.com> |
13785 | ||
13786 | * config/i386/i386.md: Use {} around multi-line preparation statements. | |
13787 | ||
a1e3b3d9 LB |
13788 | 2010-04-22 Laurynas Biveinis <laurynas.biveinis@gmail.com> |
13789 | ||
13790 | * c-tree.h (push_init_level, pop_init_level, set_init_index) | |
13791 | (process_init_element): New argument of type struct obstack *. | |
13792 | ||
13793 | * c-typeck.c (push_init_level, pop_init_level, set_designator) | |
13794 | (set_init_index, set_init_label, set_nonincremental_init) | |
13795 | (set_nonincremental_init_from_string, find_init_member) | |
13796 | (output_init_element, output_pending_init_elements) | |
13797 | (process_init_element): New argument braced_init_obstack. Pass it | |
13798 | down. | |
13799 | (push_range_stack, add_pending_init): New argument | |
13800 | braced_init_obstack. Use obstack allocation. | |
13801 | ||
13802 | * c-parser.c (c_parser_initelt, c_parser_initval): New argument | |
13803 | braced_init_obstack. Pass it down. | |
13804 | (c_parser_braced_init): New variables ret, braced_init_obstack. | |
13805 | Initialize obstack, pass it down and finally free it. | |
13806 | ||
5b58b39b BS |
13807 | 2010-04-22 Bernd Schmidt <bernds@codesourcery.com> |
13808 | ||
13809 | PR middle-end/29274 | |
5b58b39b BS |
13810 | * tree-pass.h (pass_optimize_widening_mul): Declare. |
13811 | * tree-ssa-math-opts.c (execute_optimize_widening_mul, | |
13812 | gate_optimize_widening_mul): New static functions. | |
13813 | (pass_optimize_widening_mul): New. | |
3d416346 | 13814 | * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: New case. |
5b58b39b BS |
13815 | <case MULT_EXPR>: Remove support for widening multiplies. |
13816 | * tree.def (WIDEN_MULT_EXPR): Tweak comment. | |
13817 | * cfgexpand.c (expand_debug_expr) <case WIDEN_MULT_EXPR>: Use | |
13818 | simplify_gen_unary rather than directly building extensions. | |
13819 | * tree-cfg.c (verify_gimple_assign_binary): Add tests for | |
13820 | WIDEN_MULT_EXPR. | |
13821 | * expmed.c (expand_widening_mult): New function. | |
13822 | * passes.c (init_optimization_passes): Add pass_optimize_widening_mul. | |
13823 | ||
bc58d7e1 JH |
13824 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
13825 | ||
13826 | * timevar.def (TV_WHOPR_WPA_FIXUP): Remove. | |
13827 | * lto-section-in.c (lto_section_name): Remove wpa_fixup. | |
13828 | * lto-wpa-fixup.c: Remove. | |
13829 | * Makefile.in (lto-wpa-fixup.o): Remove. | |
13830 | * passes.c (init_optimization_passes): Remove pass_ipa_lto_wpa_fixup. | |
13831 | (execute_all_ipa_transforms): Set cgraph_state to CGRAPH_STATE_IPA_SSA. | |
13832 | * lto-streamer.c (lto_get_section_name): Remove wpa_fixup section. | |
13833 | ||
e792884f JH |
13834 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
13835 | ||
13836 | * tree-pass.h (ipa_opt_pass_d): Rename function_read_summary; | |
13837 | add write_optimization_summary, read_optimization_summary. | |
13838 | (ipa_write_summaries_of_cgraph_node_set): Remove. | |
13839 | (ipa_write_optimization_summaries): Declare. | |
13840 | (ipa_read_optimization_summaries): Declare. | |
13841 | * ipa-cp.c (pass_ipa_cp): Update. | |
13842 | * ipa-reference.c (pass_ipa_reference): Update. | |
13843 | * ipa-pure-const.c (pass_ipa_pure_const): Update. | |
13844 | * lto-streamer-out.c (pass_ipa_lto_gimple, pass_ipa_lto_finish): | |
13845 | Update. | |
13846 | * ipa-inline.c (pass_ipa_inline): Update. | |
13847 | * ipa.c (pass_ipa_whole_program): Update. | |
13848 | * lto-wpa-fixup.c (pass_ipa_lto_wpa_fixup): Update. | |
13849 | * passes.c (ipa_write_summaries_1): Do not test wpa. | |
13850 | (ipa_write_optimization_summaries_1): New. | |
13851 | (ipa_write_optimization_summaries): New. | |
13852 | (ipa_read_summaries): Do not test ltrans. | |
13853 | (ipa_read_optimization_summaries_1): New. | |
13854 | (ipa_read_optimization_summaries): New. | |
13855 | ||
ecd03d10 JH |
13856 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
13857 | ||
13858 | * lto-cgraph.c (lto_output_node): Do not output comdat groups | |
13859 | for boundary nodes. | |
13860 | (output_cgraph): Do not arrange comdat groups for boundary nodes. | |
13861 | ||
71a810c3 JJ |
13862 | 2010-04-21 Jakub Jelinek <jakub@redhat.com> |
13863 | ||
13864 | PR debug/40040 | |
13865 | * dwarf2out.c (add_name_and_src_coords_attributes): Add | |
13866 | DW_AT_{,MIPS_}linkage_name even for Fortran decls. | |
13867 | ||
dd6d1ad7 JH |
13868 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
13869 | ||
13870 | * ipa-prop.c (ipa_edge_removal_hook): Check for bounds. | |
13871 | ||
c9945504 JH |
13872 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
13873 | ||
13874 | * varpool.c (decide_is_variable_needed): Variable is always needed | |
13875 | during ltrans. | |
13876 | ||
e7cfce71 JH |
13877 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
13878 | ||
13879 | * opts.c (decode_options): Enable pure-const pass for whopr. | |
13880 | ||
0115e6c7 JH |
13881 | 2010-04-21 Jan Hubicka <jh@suse.cz> |
13882 | ||
13883 | * cgraph.c (dump_cgraph_node): Dump also assembler name. | |
13884 | * ipa-inline.c (cgraph_decide_inlining_of_small_functions): Do not ice | |
13885 | at WPA dumping. | |
13886 | (cgraph_decide_inlining): Do not expect callee to be removed in all | |
13887 | cases. | |
13888 | ||
96c2a0d6 EW |
13889 | 2010-04-21 Eric B. Weddington <eric.weddington@atmel.com> |
13890 | ||
13891 | * config/avr/avr-devices.c (avr_mcu_types): Add missing comma. | |
13892 | ||
656ef6bb UB |
13893 | 2010-04-21 Uros Bizjak <ubizjak@gmail.com> |
13894 | ||
13895 | * config/i386/i386.md (x86_shrd): Add athlon_decode and | |
13896 | amdfam10_decode attributes. | |
13897 | ||
78db7d92 JJ |
13898 | 2010-04-21 Jakub Jelinek <jakub@redhat.com> |
13899 | ||
13900 | PR middle-end/43570 | |
13901 | * omp-low.c (scan_sharing_clauses): Don't scan_omp_op | |
13902 | OMP_CLAUSE_DECL for OMP_CLAUSE_COPYPRIVATE. | |
13903 | (lower_copyprivate_clauses): Use private var in outer | |
13904 | context instead of original var. Make sure the types | |
13905 | are correct for VLAs. | |
13906 | ||
11152c95 RG |
13907 | 2010-04-21 Richard Guenther <rguenther@suse.de> |
13908 | ||
13909 | * tree-ssa-structalias.c (do_ds_constraint): Avoid escaping | |
13910 | to non-pointer objects. | |
13911 | ||
8f65940d JJ |
13912 | 2010-04-21 Jakub Jelinek <jakub@redhat.com> |
13913 | ||
0f2f44c0 JJ |
13914 | * dwarf2out.c (add_var_loc_to_decl): Add LABEL argument. Drop |
13915 | last chain entry if it starts with the still current label. | |
13916 | (add_location_or_const_value_attribute): Check that | |
6a0447ba | 13917 | loc_list->first->next is NULL instead of comparing ->first with ->last. |
0f2f44c0 JJ |
13918 | (dwarf2out_var_location): Pass last_label resp. last_postcall_label |
13919 | to add_var_loc_to_decl. | |
13920 | ||
8f65940d | 13921 | * dwarf2out.c (output_call_frame_info): For dw_cie_version |
6a0447ba | 13922 | >= 4 add also address size and segment size fields into CIE header. |
8f65940d JJ |
13923 | |
13924 | * unwind-dw2.c (extract_cie_info): Handle CIE version 4, as | |
13925 | long as address size is the same as sizeof (void *) and | |
13926 | segment size is 0. | |
13927 | * unwind-dw2-fde.c (get_cie_encoding): Likewise. If | |
13928 | address size or segment size is unexpected, return DW_EH_PE_omit. | |
13929 | (classify_object_over_fdes): If get_cie_encoding returned | |
13930 | DW_EH_PE_omit, return -1. | |
13931 | (init_object): If classify_object_over_fdes returned -1, | |
13932 | pretend there were no FDEs at all. | |
13933 | ||
2d2d5a91 UB |
13934 | 2010-04-21 Uros Bizjak <ubizjak@gmail.com> |
13935 | ||
13936 | * config/i386/i386.md (bswap<mode>2): Macroize expander from | |
13937 | bswap{si,di}2 using SWI48 mode iterator. | |
13938 | (*bswap<mode>2_movbe): Macroize insn from *bswap{si,di}_movbe using | |
13939 | SWI48 mode iterator. Set type attribute of bswap insn to bitmanip, | |
13940 | set modrm attribute of bswap insn to 0 and remove length attribute. | |
13941 | (*bswap<mode>2_1): Macroize insn from *bswap{si,di}_1 using SWI48 mode | |
13942 | iterator. Set type attribute to bitmanip, set modrm attribute to 0, | |
13943 | set mode attribute to <MODE> and remove length attribute. | |
13944 | ||
4811db8d JW |
13945 | 2010-04-20 James E. Wilson <wilson@codesourcery.com> |
13946 | ||
13947 | PR rtl-optimization/43520 | |
13948 | * ira-lives.c (ira_implicitly_set_insn_hard_regs): Exclude classes with | |
13949 | zero available registers. | |
13950 | ||
3c642f92 KG |
13951 | 2010-04-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
13952 | ||
13953 | * builtins.c (fold_builtin_cproj): Fold more cases. | |
13954 | ||
43272bf5 KG |
13955 | 2010-04-20 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
13956 | ||
13957 | * builtins.c (build_complex_cproj, fold_builtin_cproj): New. | |
13958 | (fold_builtin_1): Fold builtin cproj. | |
13959 | * builtins.def (BUILT_IN_CPROJ, BUILT_IN_CPROJF, BUILT_IN_CPROJL): | |
13960 | Use ATTR_CONST_NOTHROW_LIST. | |
13961 | ||
e96ccb30 UB |
13962 | 2010-04-20 Uros Bizjak <ubizjak@gmail.com> |
13963 | ||
13964 | * config/i386/i386.md (ffs<mode>2): Macroize expander from ffs_cmove | |
13965 | and ffsdi2 using SWI48 mode iterator. Expand SImode insn through | |
13966 | ffsi2_no_cmove for !TARGET_CMOVE. | |
13967 | (ffssi2_no_cmove): Rename from *ffs_no_cmove. Make public. | |
13968 | (ffssi2): Remove expander. | |
13969 | (*ffs<mode>_1): Macroize insn from *ffs{si,di} using SWI48 | |
13970 | mode iterator. | |
13971 | (ctz<mode>2): Ditto from ctz{si,di}2. | |
13972 | (clz<mode>2): Macroize expander from ctz{hi,si,di}2 using SWI248 | |
13973 | mode iterator. | |
13974 | (clz<mode>2_abm): Macroize insn from clz{hi,si,di}2_abm using SWI248 | |
13975 | mode iterator. | |
13976 | ||
4c0ab69d JJ |
13977 | 2010-04-20 Jakub Jelinek <jakub@redhat.com> |
13978 | ||
13979 | * dwarf2out.c (AT_linkage_name): Define. | |
13980 | (clone_as_declaration): Handle DW_AT_linkage_name. | |
13981 | (add_name_and_src_coords_attributes): Use AT_linkage_name instead | |
13982 | of DW_AT_MIPS_linkage_name. | |
13983 | (move_linkage_attr): Likewise. | |
13984 | (dwarf2out_finish): Likewise. | |
13985 | ||
94e85e0a XDL |
13986 | 2010-04-20 Xinliang David Li <davidxl@gcc.gnu.org> |
13987 | ||
13988 | PR middle-end/41952 | |
e96ccb30 | 13989 | * fold-const.c (fold_comparison): New folding rule. |
94e85e0a | 13990 | |
4c0ab69d | 13991 | 2010-04-20 Anatoly Sokolov <aesok@post.ru> |
54fb1ae0 AS |
13992 | |
13993 | * double-int.h (double_int_setbit): Declare. | |
13994 | * double-int.c (double_int_setbit): New function. | |
13995 | * rtl.h (immed_double_int_const): Declare. | |
13996 | * emit-rtl.c (immed_double_int_const): New function. | |
13997 | * builtins.c (expand_builtin_signbit): Clean up, use double_int_* | |
13998 | and immed_double_int_const functions. | |
13999 | * optabs.c (expand_absneg_bit, expand_copysign_absneg, | |
14000 | expand_copysign_bit): (Ditto.). | |
14001 | * simplify-rtx.c (simplify_binary_operation_1): (Ditto.). | |
14002 | * tree-ssa-address.c (addr_for_mem_ref): (Ditto.). | |
14003 | * dojump.c (prefer_and_bit_test): (Ditto.). | |
14004 | * expr.c (convert_modes, reduce_to_bit_field_precision, | |
14005 | const_vector_from_tree): (Ditto.). | |
14006 | * expmed.c (mask_rtx, lshift_value): (Ditto.). | |
14007 | ||
a837268b JH |
14008 | 2010-04-20 Jan Hubicka <jh@suse.cz> |
14009 | ||
14010 | * cgraph.c (cgraph_remove_node): Kill bodies in other partitoin. | |
14011 | (dump_cgraph_node): Dump new flags. | |
e96ccb30 UB |
14012 | * cgraph.h (struct cgraph_node): Add flags |
14013 | reachable_from_other_partition and in_other_partition. | |
14014 | (cgraph_can_remove_if_no_direct_calls_p): Functions used by | |
14015 | other partition can not be removed. | |
14016 | * cgraphunit.c (cgraph_mark_functions_to_output): Functions used by | |
14017 | the other partition must be output; silence sanity checking on | |
14018 | leaking functions bodies from other paritition. | |
a837268b JH |
14019 | * lto-cgraph.c (reachable_from_other_partition_p): New function. |
14020 | (lto_output_node): Output new flags; do not sanity check that inline | |
14021 | clones are output; drop lto_forced_extern_inline_p code; do not mock | |
14022 | visibility flags at partition boundaries. | |
14023 | (add_node_to): New function. | |
14024 | (output_cgraph): Use it to sort functions so masters appear before | |
14025 | clones. | |
14026 | (input_overwrite_node): Input new flags. | |
14027 | * passes.c (ipa_write_summaries): Do not call | |
14028 | lto_new_extern_inline_states. | |
74ca3393 EB |
14029 | * lto-section-out.c (forced_extern_inline, |
14030 | lto_new_extern_inline_states lto_delete_extern_inline_states, | |
14031 | lto_force_functions_extern_inline, lto_forced_extern_inline_p): Kill. | |
a837268b JH |
14032 | * lto-streamer.h (lto_new_extern_inline_states, |
14033 | * lto_delete_extern_inline_states, lto_force_functions_extern_inline, | |
14034 | lto_forced_extern_inline_p): Kill. | |
14035 | ||
3c323b52 RG |
14036 | 2010-04-20 Richard Guenther <rguenther@suse.de> |
14037 | ||
14038 | * tree-ssa-structalias.c (do_sd_constraint): Add edges only | |
14039 | from vars that can have pointers. | |
14040 | (process_constraint): Dump useless constraints. | |
14041 | ||
b28ae58f RG |
14042 | 2010-04-20 Richard Guenther <rguenther@suse.de> |
14043 | ||
e96ccb30 | 14044 | * tree-ssa-structalias.c (do_structure_copy): Properly handle DEREF. |
b28ae58f RG |
14045 | (dump_sa_points_to_info): Remove asserts. |
14046 | (init_base_vars): nothing_id isn't an escape point nor does it | |
14047 | have pointers. | |
14048 | ||
1197ce8e JJ |
14049 | 2010-04-20 Jakub Jelinek <jakub@redhat.com> |
14050 | ||
14051 | * tree.h (TYPE_REF_IS_RVALUE): Define. | |
14052 | * dwarf2out.c (attr_checksum_ordered, is_type_die, is_comdat_die, | |
14053 | should_move_die_to_comdat, prune_unused_types_walk): Handle | |
14054 | DW_TAG_rvalue_reference_type like DW_TAG_reference_type. | |
14055 | (modified_type_die, gen_reference_type_die): Emit | |
14056 | DW_TAG_rvalue_reference_type instead of DW_TAG_reference_type | |
14057 | if TYPE_REF_IS_RVALUE and -gdwarf-4. | |
14058 | ||
72e2cf16 AK |
14059 | 2010-04-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14060 | ||
14061 | PR target/43635 | |
14062 | * config/s390/s390.c (s390_emit_call): Turn direct into indirect | |
14063 | calls for -fpic -m31 if they have been sibcall optimized. | |
14064 | ||
810d71d0 JW |
14065 | 2010-04-19 James E. Wilson <wilson@codesourcery.com> |
14066 | ||
4a863f3a JW |
14067 | * config/ia64/ia64.h (FIXED_REGISTERS, CALL_USED_REGISTERS): Make |
14068 | ar.lc fixed and call-used. | |
14069 | ||
810d71d0 JW |
14070 | * config/ia64/ia64.c (TARGET_INVALID_WITHIN_DOLOOP): Define. |
14071 | ||
3ee2243c JH |
14072 | 2010-04-19 Jan Hubicka <jh@suse.cz> |
14073 | ||
14074 | * opts.c (decode_options): Disable whpr incompatible passes. | |
14075 | * lto/lto.c (lto_1_to_1_map): Skip clones. | |
14076 | (read_cgraph_and_symbols): Do not mark everything as needed. | |
14077 | (do_whole_program_analysis): Do map only after optimizing; | |
14078 | set proper cgraph_state; use passmanager. | |
14079 | ||
576319a7 DD |
14080 | 2010-04-19 DJ Delorie <dj@redhat.com> |
14081 | ||
14082 | * cfgexpand.c (expand_debug_expr): Check for mismatched modes in | |
14083 | POINTER_PLUS_EXPR and fix them. | |
14084 | ||
578ad141 EW |
14085 | 2010-04-19 Eric B. Weddington <eric.weddington@atmel.com> |
14086 | ||
14087 | * config/avr/avr-devices.c (avr_mcu_types): Add support for new | |
14088 | devices atmega644pa, attiny2313a, attiny24a, attiny261a, attiny4313, | |
14089 | attiny44a, attiny861a, atmega16a, atmega168a, atmega164a, atmega165a, | |
14090 | atmega169a, atmega169pa, atmega16hva2, atmega324a, atmega324pa, | |
14091 | atmega325a, atmega3250a, atmega328, atmega329a, atmega329pa, | |
14092 | atmega3290a, atmega48a, atmega644a, atmega645a, atmega645p, | |
14093 | atmega6450a, atmega6450p, atmega649a, atmega649p, atmega6490a, | |
14094 | atmega6490p, atmega64hve, atmega88a, atmega88pa, attiny461a, attiny84a, | |
14095 | m3000. Remove support for devices atmega8m1, atmega8c1, atmega16c1, | |
14096 | atmega4hvd, atmega8hvd, attiny327, m3000f, m3000s, m3001b. | |
14097 | * config/avr/t-avr.c (MULTILIB_MATCHES): Same. | |
14098 | ||
d321bd2d EB |
14099 | 2010-04-19 Eric Botcazou <ebotcazou@adacore.com> |
14100 | ||
14101 | * ifcvt.c (noce_try_cmove_arith): Fix long lines. | |
14102 | (check_cond_move_block): Likewise. | |
14103 | (cond_move_process_if_block): Likewise. | |
14104 | (noce_find_if_block): Improve formatting. | |
14105 | (find_if_header): Pass 0 to memset and tweak conditions. | |
14106 | (cond_exec_find_if_block): Fix long lines and tweak conditions. | |
14107 | ||
74e27d0d JJ |
14108 | 2010-04-19 Jakub Jelinek <jakub@redhat.com> |
14109 | ||
e96ccb30 UB |
14110 | * dwarf2out.c (lower_bound_default): For DW_LANG_Python return 0 |
14111 | for -gdwarf-4. | |
74e27d0d | 14112 | |
fd2e4e99 JJ |
14113 | PR middle-end/43337 |
14114 | * tree-nested.c (convert_nonlocal_omp_clauses): OMP_CLAUSE_PRIVATE | |
14115 | with non-local decl doesn't need chain. | |
14116 | ||
ec995732 VM |
14117 | 2010-04-19 Vladimir Makarov <vmakarov@redhat.com> |
14118 | ||
14119 | * ira-color.c (allocno_reload_assign): Avoid accumulating | |
14120 | reload registers in ALLOCNO_TOTAL_CONFLICT_HARD_REGS. | |
14121 | ||
acd63801 MJ |
14122 | 2010-04-19 Martin Jambor <mjambor@suse.cz> |
14123 | ||
14124 | * gimple.h (create_tmp_reg): Declare. | |
14125 | * gimplify.c (create_tmp_reg): New function. | |
14126 | (gimplify_return_expr): Use create_tmp_reg. | |
14127 | (gimplify_omp_atomic): Likewise. | |
14128 | (gimple_regimplify_operands): Likewise. | |
14129 | * tree-dfa.c (make_rename_temp): Likewise. | |
14130 | * tree-predcom.c (predcom_tmp_var): Likewise. | |
14131 | (reassociate_to_the_same_stmt): Likewise. | |
14132 | * tree-sra.c (replace_uses_with_default_def_ssa_name): Likewise. | |
14133 | (get_replaced_param_substitute): Likewise. | |
14134 | * tree-ssa-phiprop.c (phiprop_insert_phi): Likewise. | |
14135 | * tree-ssa-phiopt.c (cond_store_replacement): Likewise. | |
14136 | * tree-ssa-pre.c (get_representative_for): Likewise. | |
14137 | (create_expression_by_pieces): Likewise. | |
14138 | * tree-tailcall.c (adjust_return_value_with_ops): Likewise. | |
14139 | (create_tailcall_accumulator): Likewise. | |
14140 | ||
0b6e2868 MJ |
14141 | 2010-04-19 Martin Jambor <mjambor@suse.cz> |
14142 | ||
14143 | * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update | |
14144 | new_stmt. | |
14145 | (cgraph_materialize_all_clones): Assert !need_ssa_update_p. | |
14146 | ||
1936a7d4 RG |
14147 | 2010-04-19 Richard Guenther <rguenther@suse.de> |
14148 | ||
14149 | PR tree-optimization/43796 | |
14150 | * tree-vrp.c (adjust_range_with_scev): Lookup init and step | |
14151 | from SCEV in the lattice. | |
14152 | (vrp_visit_phi_node): Dump change. | |
14153 | ||
479881c3 RG |
14154 | 2010-04-19 Richard Guenther <rguenther@suse.de> |
14155 | ||
14156 | * configure.ac: Fix quoting around elf_getshstrndx ABI check. | |
14157 | * configure: Re-generated. | |
14158 | ||
d53bed0b RG |
14159 | 2010-04-19 Richard Guenther <rguenther@suse.de> |
14160 | ||
14161 | PR tree-optimization/43783 | |
14162 | * tree-ssa-pre.c (create_component_ref_by_pieces_1): Drop | |
14163 | constant ARRAY_REF operands two and three if possible. | |
14164 | ||
90f775a9 UB |
14165 | 2010-04-19 Uros Bizjak <ubizjak@gmail.com> |
14166 | ||
14167 | PR target/43766 | |
14168 | * config/i386/i386.c (ix86_decompose_address): Handle ASHIFT addends. | |
14169 | ||
8d9b7be5 JZ |
14170 | 2010-04-19 Jie Zhang <jie@codesourcery.com> |
14171 | ||
14172 | PR target/43662 | |
90f775a9 | 14173 | * reginfo.c (reinit_regs): Set caller_save_initialized_p to false. |
8d9b7be5 | 14174 | |
d5dceab8 | 14175 | 2010-04-19 Ira Rosen <irar@il.ibm.com> |
b5aeb3bb IR |
14176 | |
14177 | PR tree-optimization/37027 | |
e96ccb30 | 14178 | * tree-vectorizer.h (struct _loop_vec_info): Add new field reductions |
b5aeb3bb IR |
14179 | and macro to access it. |
14180 | (vectorizable_reduction): Add argument. | |
14181 | (vect_get_slp_defs): Likewise. | |
14182 | * tree-vect-loop.c (vect_analyze_scalar_cycles_1): Collect reduction | |
14183 | statements for possible use in SLP. | |
14184 | (new_loop_vec_info): Initialize LOOP_VINFO_REDUCTIONS. | |
14185 | (destroy_loop_vec_info): Free LOOP_VINFO_REDUCTIONS. | |
14186 | (vect_create_epilog_for_reduction): Handle SLP. Modify documentation, | |
14187 | add new argument. | |
14188 | (vectorizable_reduction): Likewise. | |
e96ccb30 | 14189 | * tree-vect-stmts.c (vect_get_vec_defs): Update call to |
b5aeb3bb IR |
14190 | vect_get_slp_defs. |
14191 | (vectorizable_type_demotion, vectorizable_type_promotion, | |
14192 | vectorizable_store): Likewise. | |
14193 | (vect_analyze_stmt): Update call to vectorizable_reduction. | |
14194 | (vect_transform_stmt): Likewise. | |
14195 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Handle reduction. | |
14196 | (vect_build_slp_tree): Fix indentation. Check that there are no loads | |
14197 | from different interleaving chains in same node. | |
14198 | (vect_slp_rearrange_stmts): New function. | |
e96ccb30 | 14199 | (vect_supported_load_permutation_p): Allow load permutations for |
b5aeb3bb IR |
14200 | reductions. Call vect_slp_rearrange_stmts() to rearrange statements |
14201 | inside SLP nodes if necessary. | |
14202 | (vect_analyze_slp_instance): Handle reductions. | |
14203 | (vect_analyze_slp): Try to build SLP instances originating from groups | |
14204 | of reductions. | |
14205 | (vect_detect_hybrid_slp_stmts): Skip reduction statements. | |
14206 | (vect_get_constant_vectors): Create initial vectors for reductions | |
14207 | according to reduction code. Add new argument. | |
e96ccb30 | 14208 | (vect_get_slp_defs): Add new argument, pass it to |
b5aeb3bb IR |
14209 | vect_get_constant_vectors. |
14210 | (vect_schedule_slp_instance): Remove SLP tree root statements. | |
14211 | ||
5a2fa9e8 JJ |
14212 | 2010-04-19 Jakub Jelinek <jakub@redhat.com> |
14213 | ||
14214 | * tree.h (ENUM_IS_SCOPED): Define. | |
14215 | * dwarf2out.c (gen_enumeration_type_die): Add DW_AT_enum_class | |
14216 | for ENUM_IS_SCOPED enums. | |
14217 | ||
3b9e5d95 EB |
14218 | 2010-04-18 Eric Botcazou <ebotcazou@adacore.com> |
14219 | ||
14220 | * fold-const.c (fold_comparison): Use ssizetype. | |
14221 | * gimple-fold.c (maybe_fold_offset_to_array_ref): Likewise. | |
14222 | * ipa-prop.c (ipa_modify_call_arguments): Use sizetype. | |
14223 | * tree-loop-distribution.c (build_size_arg_loc): Likewise. | |
14224 | * tree-object-size.c (compute_object_sizes): Use size_type_node. | |
14225 | ||
14226 | * tree.h (initialize_sizetypes): Remove parameter. | |
14227 | (build_common_tree_nodes): Remove second parameter. | |
14228 | * stor-layout.c (initialize_sizetypes): Remove parameter. | |
14229 | Always create an unsigned type. | |
14230 | (set_sizetype): Assert that the passed type is unsigned and simplify. | |
14231 | * tree.c (build_common_tree_nodes): Remove second parameter. | |
14232 | Adjust call to initialize_sizetypes. | |
14233 | * c-decl.c (c_init_decl_processing): Remove second argument in call to | |
14234 | build_common_tree_nodes. | |
14235 | ||
b3c35965 MK |
14236 | 2010-04-18 Matthias Klose <doko@ubuntu.com> |
14237 | ||
14238 | * gcc.c (main): Search for liblto_plugin.so with mode R_OK. | |
14239 | ||
d5dceab8 | 14240 | 2010-04-18 Ira Rosen <irar@il.ibm.com> |
59eefaa6 IR |
14241 | |
14242 | PR tree-optimization/43771 | |
14243 | * tree-vect-slp.c (vect_supported_load_permutation_p): Check that | |
14244 | load permutation doesn't have gaps. | |
14245 | ||
07b3ef2e JH |
14246 | 2010-04-18 Jan Hubicka <jh@suse.cz> |
14247 | ||
14248 | * i386.md (UNSPEC_SSE_PROLOGUE_SAVE_LOW): New. | |
14249 | (sse_prologue_save_insn expander): Use new pattern. | |
14250 | (sse_prologue_save_insn1): New pattern and splitter. | |
14251 | (sse_prologue_save_insn): Update to deal also with 64bit aligned | |
14252 | blocks. | |
90f775a9 UB |
14253 | * i386.c (setup_incoming_varargs_64): Do not compute jump |
14254 | destination here. | |
07b3ef2e | 14255 | (ix86_gimplify_va_arg): Update alignment needed. |
90f775a9 | 14256 | (ix86_local_alignment): Do not align all local arrays to 128bit. |
07b3ef2e | 14257 | |
6a8cd100 JH |
14258 | 2010-04-17 Jan Hubicka <jh@suse.cz> |
14259 | ||
14260 | * ipa-inline.c (cgraph_early_inlining): Handle flattening too. | |
14261 | ||
9e315505 RE |
14262 | 2010-04-17 Richard Earnshaw <rearnsha@arm.com> |
14263 | ||
14264 | * arm.md (negdi2): Remove redundant code to force values into a | |
14265 | register. | |
14266 | ||
6f0668cf RE |
14267 | 2010-04-17 Richard Earnshaw <rearnsha@arm.com> |
14268 | ||
14269 | * arm/bpabi.S: Add EABI alignment attributes to objects. | |
14270 | * arm/bpabi-v6m.S: Likewise. | |
14271 | * arm/crti.asm: Likewise. | |
14272 | * arm/crtn.asm: Likewise. | |
14273 | * arm/lib1funcs.asm: Likewise. | |
14274 | * arm/libunwind.S: Likewise. | |
14275 | ||
1b78f575 RE |
14276 | 2010-04-17 Richard Earnshaw <rearnsha@arm.com> |
14277 | ||
14278 | * arm-protos.h (tune_params): New structure. | |
14279 | * arm.c (current_tune): New variable. | |
14280 | (arm_constant_limit): Delete. | |
14281 | (struct processors): Add pointer to the tune parameters. | |
14282 | (arm_slowmul_tune): New tuning option. | |
14283 | (arm_fastmul_tune, arm_xscale_tune, arm_9e_tune): Likewise. | |
14284 | (all_cores): Adjust to pick up the tuning model. | |
14285 | (arm_constant_limit): New function. | |
14286 | (arm_override_options): Select the appropriate tuning model. Delete | |
14287 | initialization of arm_const_limit. | |
14288 | (arm_split_constant): Use the new constant-limit model. | |
14289 | (arm_rtx_costs): Pick up the current tuning model. | |
14290 | * arm.md (is_strongarm, is_xscale): Delete. | |
14291 | * arm-generic.md (load_ldsched_x, load_ldsched): Test explicitly | |
14292 | for Xscale variant architectures. | |
14293 | (mult_ldsched_strongarm, mult_ldsched): Similarly for StrongARM. | |
14294 | ||
80d56d04 RR |
14295 | 2010-04-17 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
14296 | ||
1b78f575 RE |
14297 | * config/arm/arm.c (arm_gen_constant): Remove unused variable |
14298 | can_shift. | |
80d56d04 RR |
14299 | (arm_rtx_costs_1): Remove unused variable extra_cost. |
14300 | (arm_unwind_emit_set): Use variable offset. | |
14301 | (thumb1_output_casesi): Remove unused variable flags. | |
14302 | ||
6190446b JL |
14303 | 2010-04-16 Jeff Law <law@redhat.com> |
14304 | ||
14305 | * ira-color.c (ira_reassign_pseudos): Collect and sort all the pseudos | |
016f9d9d JL |
14306 | needing assignment rather than doing a two-phase assignment. Remove |
14307 | unused variable 'm'. | |
6190446b | 14308 | |
24f8d71e JJ |
14309 | 2010-04-16 Jakub Jelinek <jakub@redhat.com> |
14310 | ||
14311 | PR bootstrap/43767 | |
14312 | * alias.c (memrefs_conflict_p): Don't crash if CSELIB_VAL_PTR is NULL. | |
14313 | ||
f1665f5c DK |
14314 | 2010-04-16 Doug Kwan <dougkwan@google.com> |
14315 | ||
14316 | * tree-ssa-reassoc.c (struct operand_entry): Add new field ID. | |
14317 | (next_operand_entry_id): New static variable. | |
14318 | (sort_by_operand_rank): Stabilize qsort comparator by using unique IDs. | |
14319 | (add_to_ops_vec): Assigned unique ID to operand entry. | |
3d25c396 | 14320 | (struct oecount_s): New field ID. |
f1665f5c DK |
14321 | (oecount_cmp): Stabilize qsort comparotor by using unique IDs. |
14322 | (undistribute_ops_list): Assign unique IDs to oecounts. | |
14323 | (init_reassoc): reset next_operand_entry_id. | |
14324 | ||
f638261a DK |
14325 | 2010-04-16 Doug Kwan <dougkwan@google.com> |
14326 | ||
14327 | * config/i386/i386.md (*jcc_bt<mode>): Fix build breakage by adding | |
14328 | missing left parenthesis. | |
e96ccb30 | 14329 | |
4a81b412 UB |
14330 | 2010-04-16 Uros Bizjak <ubizjak@gmail.com> |
14331 | ||
14332 | * config/i386/i386.md (*bt<mode>): Macroize insn from *btsi and | |
14333 | *btdi_rex64 using SWI48 mode iterator. | |
14334 | (*jcc_bt<mode>): Ditto from *jcc_btsi and *jcc_btdi_rex64. | |
14335 | (*jcc_bt<mode>_mask): Ditto from *jcc_btsi_mask and | |
14336 | *jcc_btdi_mask_rex64. | |
14337 | ||
9d4d1f8e AS |
14338 | 2010-04-16 Anatoly Sokolov <aesok@post.ru> |
14339 | ||
14340 | * double-int.h (tree_to_double_int): Convert to macro. | |
14341 | * double-int.c (tree_to_double_int): Remove. | |
14342 | ||
835eb810 JJ |
14343 | 2010-04-16 Jakub Jelinek <jakub@redhat.com> |
14344 | ||
14345 | PR debug/43762 | |
14346 | * dwarf2out.c (add_bound_info): Always call loc_list_from_tree | |
14347 | with want_address 2 and in case a single element list might be | |
14348 | possible, call it again with want_address 0. | |
14349 | ||
14350 | 2010-04-12 Kaushik Phatak <kaushik.phatak@kpitcummins.com> | |
db624ecb | 14351 | |
0f6b820c KP |
14352 | * config/h8300/h8300.c (print_operand) : Modify case 'V' and |
14353 | case 'W' print operands for HI mode. | |
14354 | * config/h8300/h8300.h (Y0, Y2) : New constraints. | |
14355 | * config/h8300/h8300.md (bclrqi_msx, bclrhi_msx): New patterns | |
14356 | (bsetqi_msx, bsethi_msx, bnotqi_msx, bnothi_msx): Likewise. | |
14357 | * config/h8300/predicate.md (bit_register_indirect_operand): New. | |
14358 | ||
a7494d9e KP |
14359 | * config/h8300/h8300.h (OK_FOR_U): Support 'U' constraint for H8300SX. |
14360 | ||
e96ccb30 | 14361 | * config/h8300/h8300.md (movqi_h8sx, movhi_h8sx, movsi_h8sx, |
8cb81753 KP |
14362 | cmphi_h8300hs_znvc, cmpsi, addhi3_h8sx) : Emit instructions in |
14363 | #xx:3 and #xx:4 mode. | |
14364 | ||
60744089 KP |
14365 | * config/h8300/h8300.md (inverted load with HImode dest): Add |
14366 | support for H8300SX. | |
14367 | ||
db624ecb KP |
14368 | * config/h8300/predicate.md (bit_operand): Allow immediate values that |
14369 | satisfy 'U' constraint. | |
14370 | ||
8ccb78f2 RO |
14371 | 2010-04-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14372 | ||
e96ccb30 | 14373 | * configure.ac: Check for elf_getshdrstrndx or elf_getshstrndx flavor. |
8ccb78f2 RO |
14374 | * configure: Regenerate. |
14375 | * config.in: Regenerate. | |
14376 | * doc/install.texi (Prerequisites): Document that Solaris 2 libelf | |
14377 | works. | |
14378 | ||
bc9c331d RG |
14379 | 2010-04-16 Richard Guenther <rguenther@suse.de> |
14380 | ||
14381 | * tree.h (struct tree_decl_minimal): Move pt_uid ... | |
14382 | (struct tree_decl_common): ... here. | |
14383 | (DECL_PT_UID): Adjust. | |
14384 | (SET_DECL_PT_UID): Likewise. | |
14385 | (DECL_PT_UID_SET_P): Likewise. | |
14386 | ||
12de6355 RG |
14387 | 2010-04-16 Richard Guenther <rguenther@suse.de> |
14388 | ||
14389 | PR tree-optimization/43572 | |
14390 | * tree-ssa-alias.h (call_may_clobber_ref_p): Declare. | |
14391 | * tree-ssa-alias.c (call_may_clobber_ref_p): Export. | |
14392 | * tree-flow.h (is_call_clobbered): Remove. | |
14393 | * tree-flow-inline.h (is_call_clobbered): Likewise. | |
14394 | * tree-dfa.c (dump_variable): Do not dump call clobber state. | |
14395 | * tree-nrv.c (dest_safe_for_nrv_p): Use the alias oracle. | |
14396 | (execute_return_slot_opt): Adjust. | |
14397 | * tree-tailcall.c (suitable_for_tail_opt_p): Remove | |
14398 | check for call clobbered vars here. | |
14399 | (find_tail_calls): Move tailcall verification to the | |
14400 | proper place. | |
14401 | ||
6ab643b5 DN |
14402 | 2010-04-16 Diego Novillo <dnovillo@google.com> |
14403 | ||
e96ccb30 | 14404 | * doc/invoke.texi: Explain how are unrecognized -Wno- warnings handled. |
6ab643b5 | 14405 | |
f0c6475a BS |
14406 | 2010-04-16 Bernd Schmidt <bernds@codesourcery.com> |
14407 | ||
14408 | PR target/40603 | |
14409 | * config/arm/arm.md (cbranchqi4): New pattern. | |
14410 | * config/arm/predicates.md (const0_operand, | |
14411 | cbranchqi4_comparison_operator): New predicates. | |
14412 | ||
f0107145 RG |
14413 | 2010-04-16 Richard Guenther <rguenther@suse.de> |
14414 | ||
14415 | * gimple-pretty-print.c (dump_gimple_phi): Dump alias info. | |
14416 | (dump_gimple_stmt): Likewise. | |
14417 | ||
f0c6475a | 14418 | 2010-04-16 Bernd Schmidt <bernds@codesourcery.com> |
6ddfdb0f BS |
14419 | |
14420 | * recog.h (struct recog_data): New field is_operator. | |
14421 | (struct insn_operand_data): New field is_operator. | |
14422 | * recog.c (extract_insn): Set recog_data.is_operator. | |
14423 | * genoutput.c (output_operand_data): Emit code to set the | |
14424 | is_operator field. | |
14425 | * reload.c (find_reloads): Use it rather than testing for an | |
14426 | empty constraint string. | |
14427 | ||
6ea007e4 BS |
14428 | PR target/41514 |
14429 | * config/arm/arm.md (cbranchsi4_insn): Renamed from "*cbranchsi4_insn". | |
14430 | If the previous insn is a cbranchsi4_insn with the same arguments, | |
14431 | omit the compare instruction. | |
14432 | ||
3302cfa1 BS |
14433 | * config/arm/arm.md (addsi3_cbranch): If destination is a high |
14434 | register, inputs must be low registers and we need a low register | |
14435 | scratch. Handle alternative 2 like alternative 3. | |
14436 | ||
5312b066 JJ |
14437 | 2010-04-16 Jakub Jelinek <jakub@redhat.com> |
14438 | ||
14439 | * alias.c (memrefs_conflict_p): If x and y are the same VALUE, | |
14440 | don't call get_addr on both. If one expression is a VALUE and | |
14441 | the other a REG, check VALUE's locs if the REG isn't among them. | |
14442 | ||
7a296495 CB |
14443 | 2010-04-16 Christian Bruel <christian.bruel@st.com> |
14444 | ||
14445 | * config/sh/sh.h (sh_frame_pointer_required): New function. | |
14446 | * config/sh/sh.h (TARGET_FRAME_POINTER_REQUIRED): New macro. | |
14447 | (flag_omit_frame_pointer) Set. | |
14448 | (MASK_ACCUMULATE_OUTGOING_ARGS) Define and Set. | |
14449 | (rounded_frame_size): Adjust size with outgoing_args_size. | |
14450 | (sh_set_return_address): Must return from stack pointer. | |
14451 | * gcc/config/sh/sh.h (CAN_DEBUG_WITHOUT_FP): Define. | |
14452 | (SUBTARGET_FRAME_POINTER_REQUIRED): Define. | |
14453 | (ACCUMULATE_OUTGOING_ARGS): Define. | |
14454 | * doc/invoke.texi (maccumulate-outgoing-args): Document for SH. | |
ade52657 | 14455 | * gcc/config/sh/sh.opt (maccumulate-outgoing-args): New option. |
7a296495 | 14456 | |
7140f0f9 KK |
14457 | 2010-04-15 Kaz Kojima <kkojima@gcc.gnu.org> |
14458 | ||
14459 | PR target/43471 | |
14460 | * config/sh/sh.c (sh_legitimize_reload_address): Use | |
14461 | MAYBE_BASE_REGISTER_RTX_P instead of BASE_REGISTER_RTX_P. | |
14462 | Remove a unneeded check for offset_base. | |
14463 | ||
bafaef55 L |
14464 | 2010-04-15 H.J. Lu <hongjiu.lu@intel.com> |
14465 | ||
14466 | * configure: Regenerated. | |
14467 | ||
e8de8fea AK |
14468 | 2010-04-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
14469 | ||
14470 | * config/s390/s390.c (s390_call_save_register_used): Switch back | |
14471 | to HARD_REGNO_NREGS. | |
14472 | ||
038a39d1 RG |
14473 | 2010-04-15 Richard Guenther <rguenther@suse.de> |
14474 | ||
14475 | * alias.c (alias_set_subset_of): Handle alias-set zero | |
14476 | child properly. | |
14477 | ||
28907f9a MS |
14478 | 2010-04-15 Mark Shinwell <shinwell@codesourcery.com> |
14479 | Julian Brown <julian@codesourcery.com> | |
14480 | ||
14481 | * config/arm/thumb2.md (thumb2_movsi_insn): Split ldr and str | |
14482 | alternatives according to use of high and low regs. | |
14483 | * config/arm/vfp.md (thumb2_movsi_vfp): Likewise. | |
14484 | * config/arm/arm.h (CONDITIONAL_REGISTER_USAGE): Use high regs when | |
14485 | optimizing for size on Thumb-2. | |
14486 | ||
3f56ef8b TS |
14487 | 2010-04-15 Thomas Schwinge <tschwinge@gnu.org> |
14488 | ||
14489 | * config.gcc <i[34567]86-*-gnu*>: Handle softfp as for Linux. | |
14490 | ||
25a6a873 RG |
14491 | 2010-04-15 Richard Guenther <rguenther@suse.de> |
14492 | ||
14493 | * tree-ssa-structalias.c (struct variable_info): Add | |
14494 | is_fn_info flag. | |
14495 | (new_var_info): Initialize it. | |
14496 | (dump_constraints): Support printing last added constraints. | |
14497 | (debug_constraints): Adjust. | |
14498 | (dump_constraint_graph): Likewise. | |
14499 | (make_heapvar_for): Check for NULL cfun. | |
14500 | (get_function_part_constraint): New function. | |
14501 | (get_fi_for_callee): Likewise. | |
14502 | (find_func_aliases): Properly implement IPA PTA constraints. | |
14503 | (process_ipa_clobber): New function. | |
14504 | (find_func_clobbers): Likewise. | |
14505 | (insert_into_field_list_sorted): Remove. | |
14506 | (create_function_info_for): Properly allocate vars for IPA mode. | |
14507 | Do not use insert_into_field_list_sorted. | |
14508 | (create_variable_info_for): Properly generate constraints for | |
14509 | global vars in IPA mode. | |
14510 | (dump_solution_for_var): Always dump the solution. | |
14511 | (set_uids_in_ptset): Initialize DECL_PT_UID if in ipa-mode. | |
14512 | (find_what_var_points_to): Adjust. | |
14513 | (pt_solution_set): Change. | |
14514 | (pt_solution_ior_into): New function. | |
14515 | (pt_solution_empty_p): Export. | |
14516 | (pt_solution_includes_global): Adjust. | |
14517 | (pt_solution_includes_1): Likewise. | |
14518 | (pt_solutions_intersect_1): Likewise. | |
14519 | (dump_sa_points_to_info): Check some invariants. | |
14520 | (solve_constraints): Move constraint dumping ... | |
14521 | (compute_points_to_sets): ... here. | |
14522 | (ipa_pta_execute): ... and here. | |
14523 | (compute_may_aliases): Do not re-compute points-to info | |
14524 | locally if IPA info is available. | |
14525 | (ipa_escaped_pt): New global var. | |
14526 | (ipa_pta_execute): Properly implement IPA PTA. | |
14527 | * tree-into-ssa.c (dump_decl_set): Support dumping | |
14528 | decls not in referenced-vars. | |
14529 | * tree-flow.h (struct gimple_df): Add ipa_pta flag. | |
14530 | * tree-ssa-alias.c (ptr_deref_may_alias_decl_p): Adjust. | |
14531 | (dump_points_to_solution): Likewise. | |
14532 | * tree-dfa.c (dump_variable): Also dump DECL_PT_UID. | |
14533 | * tree-inline.c (remap_ssa_name): Copy IPA points-to solution. | |
e96ccb30 | 14534 | (remap_gimple_stmt): Reset call clobber/use information if necessary. |
25a6a873 RG |
14535 | (copy_decl_to_var): Copy DECL_PT_UID. |
14536 | (copy_result_decl_to_var): Likewise. | |
14537 | * tree.c (make_node_stat): Initialize DECL_PT_UID. | |
14538 | (copy_node_stat): Copy it. | |
14539 | * tree.h (DECL_PT_UID): New macro. | |
14540 | (SET_DECL_PT_UID): Likewise. | |
14541 | (DECL_PT_UID_SET_P): Likewise. | |
14542 | (struct tree_decl_minimal): Add pt_uid member. | |
14543 | * tree-ssa-alias.h (struct pt_solution): Add ipa_escaped flag. | |
14544 | (pt_solution_empty_p): Declare. | |
14545 | (pt_solution_set): Adjust. | |
14546 | (ipa_escaped_pt): Declare. | |
14547 | * cfgexpand.c (update_alias_info_with_stack_vars): Adjust. | |
14548 | * gimple-pretty-print.c (pp_points_to_solution): New function. | |
14549 | (dump_gimple_call): Dump call clobber/use information. | |
14550 | * tree-dump.c (dump_option_value_in): Add TDF_ALIAS entry. | |
14551 | * tree-pass.h (TDF_ALIAS): New dump option. | |
14552 | * tree-pretty-print.c (dump_decl_name): Dump DECL_PT_UID if asked to. | |
14553 | * doc/invoke.texi (-fipa-pta): Update documentation. | |
14554 | ||
cbdd87d4 RG |
14555 | 2010-04-15 Richard Guenther <rguenther@suse.de> |
14556 | ||
14557 | * Makefile.in (OBJS-common): Add gimple-fold.o. | |
14558 | (gimple-fold.o): New rule. | |
14559 | * tree.h (maybe_fold_offset_to_reference, | |
14560 | maybe_fold_offset_to_address, maybe_fold_stmt_addition): Move | |
14561 | prototypes ... | |
14562 | * gimple.h: ... here. | |
14563 | * tree-flow.h (fold_stmt, fold_stmt_inplace, get_symbol_constant_value, | |
14564 | may_propagate_address_into_dereference): Move prototypes ... | |
14565 | * gimple.h: ... here. | |
14566 | * tree-ssa-ccp.c (get_symbol_constant_value, | |
14567 | may_propagate_address_into_dereference, maybe_fold_offset_to_array_ref, | |
14568 | maybe_fold_offset_to_component_ref, maybe_fold_offset_to_reference, | |
14569 | maybe_fold_offset_to_address, maybe_fold_stmt_indirect, | |
14570 | maybe_fold_stmt_addition, maybe_fold_reference, get_maxval_strlen, | |
14571 | ccp_fold_builtin, fold_gimple_assign, fold_gimple_cond, | |
14572 | fold_gimple_call, fold_stmt_1, fold_stmt, fold_stmt_inplace, | |
14573 | gimplify_and_update_call_from_tree): Move ... | |
14574 | * gimple-fold.c: ... here. New file. | |
14575 | (ccp_fold_builtin): Rename to ... | |
14576 | (gimple_fold_builtin): ... this. | |
14577 | * tree-ssa-ccp.c (execute_fold_all_builtins): Adjust. | |
14578 | ||
330db1e3 RG |
14579 | 2010-04-15 Richard Guenther <rguenther@suse.de> |
14580 | ||
14581 | * fold-const.c (LOWPART, HIGHPART, BASE, encode, decode, | |
14582 | fit_double_type, force_fit_type_double, add_double_with_sign, | |
14583 | neg_double, mul_double_with_sign, lshift_double, rshift_double, | |
14584 | lrotate_double, rrotate_double, div_and_round_double): Move ... | |
14585 | * double-int.c: ... here. | |
14586 | * tree.h (force_fit_type_double, fit_double_type, add_double_with_sign, | |
14587 | add_double, neg_double, mul_double_with_sign, mul_double, | |
14588 | lshift_double, rshift_double, lrotate_double, rrotate_double, | |
14589 | div_and_round_double): Move prototypes ... | |
14590 | * double-int.h: ... here. | |
14591 | ||
f0c6475a | 14592 | 2010-04-15 Bernd Schmidt <bernds@codesourcery.com> |
077668e3 BS |
14593 | |
14594 | PR target/43742 | |
14595 | * config/sh/sh.md (doloop_end_split, dect): Undo previous patch. Use | |
14596 | matching constraints to ensure inputs match the output. | |
14597 | ||
fa66fc40 KK |
14598 | 2010-04-15 Kaz Kojima <kkojima@gcc.gnu.org> |
14599 | ||
14600 | PR target/43742 | |
14601 | * config/sh/sh.md (doloop_end_split): Remove "+r" constraint | |
e96ccb30 | 14602 | in an input-only operand. |
fa66fc40 | 14603 | |
2bd1333d AS |
14604 | 2010-04-15 Anatoly Sokolov <aesok@post.ru> |
14605 | ||
14606 | * double-int.h (HOST_BITS_PER_DOUBLE_INT): Define. | |
14607 | (double_int_not, double_int_lshift, double_int_rshift): Declare. | |
14608 | (double_int_negative_p): Convert to static inline function. | |
74ca3393 | 14609 | * double-int.c (double_int_lshift, double_int_lshift): New functions. |
2bd1333d | 14610 | (double_int_negative_p): Remove. |
e96ccb30 | 14611 | * tree.h (lshift_double, rshift_double): |
2bd1333d AS |
14612 | * tree.c (build_low_bits_mask): Clean up, use double_int_* functions. |
14613 | * fold-const.c (fold_convert_const_int_from_real, | |
14614 | fold_convert_const_int_from_fixed, div_if_zero_remainder): (Ditto.). | |
14615 | (lshift_double): Change type of arith argument to bool. | |
14616 | (rshift_double): Change type of arith argument to bool. Correct | |
14617 | comment. | |
14618 | * expmed.c (mask_rtx, lshift_value): (Ditto.). | |
14619 | ||
f0c6475a | 14620 | 2010-04-14 Bernd Schmidt <bernds@codesourcery.com> |
e96ccb30 | 14621 | |
31ce8a53 BS |
14622 | PR target/21803 |
14623 | * ifcvt.c (cond_exec_process_if_block): Look for identical sequences | |
14624 | at the start and end of the then/else blocks, and omit them from the | |
14625 | conversion. | |
14626 | * cfgcleanup.c (flow_find_cross_jump): No longer static. Remove MODE | |
14627 | argument; all callers changed. Pass zero to old_insns_match_p instead. | |
14628 | (flow_find_head_matching_sequence): New function. | |
14629 | (old_insns_match_p): Check REG_EH_REGION notes for calls. | |
14630 | * basic-block.h (flow_find_cross_jump, | |
14631 | flow_find_head_matching_sequence): Declare functions. | |
14632 | ||
943f82e7 JM |
14633 | 2010-04-14 Jason Merrill <jason@redhat.com> |
14634 | ||
14635 | PR c++/36625 | |
14636 | * c-common.c (attribute_takes_identifier_p): New fn. | |
14637 | * c-common.h: Declare it. | |
14638 | ||
feeb8c52 UB |
14639 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
14640 | ||
14641 | * config/i386/i386.md (*divmod<mode>4): Remove stray "&&" from | |
14642 | splitter condition. | |
14643 | (*udivmod<mode>4): Ditto. | |
14644 | ||
4a5528cc UB |
14645 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
14646 | ||
14647 | * config/i386/i386.md (maxmin_int): Rename code attribute from | |
14648 | maxminiprefix and update all users. | |
14649 | (maxmin_float): Ditto from maxminfprefix. | |
14650 | (logic): Ditto from logicprefix. | |
14651 | (absneg_mnemonic): Ditto from absnegprefix. | |
14652 | * config/i386/mmx.md: Update all users of maxminiprefix, | |
4a81b412 | 14653 | maxminfprefix and logicprefix for rename. |
4a5528cc UB |
14654 | * config/i386/sse.md: Ditto. |
14655 | * config/i386/sync.md (sync_<code><mode>): Update for | |
14656 | logicprefix rename. | |
14657 | ||
289fcbbd MLI |
14658 | 2010-04-14 Manuel López-Ibáñez <manu@gcc.gnu.org> |
14659 | ||
14660 | PR 42966 | |
14661 | * diagnostics.c (diagnostic_report_diagnostic): Mark specially | |
14662 | warnings converted to errors. | |
14663 | ||
d58770e7 UB |
14664 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
14665 | ||
14666 | * config/alpha/alpha.c (alpha_adjust_cost): Remove set but not | |
14667 | used insn_type variable. | |
14668 | (function_value): Add ATTRIBUTE_UNUSED to dummy variable declaration | |
14669 | to avoid set-but-not-used warning. | |
14670 | ||
a3f1cee4 UB |
14671 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
14672 | ||
14673 | * df-core.c (df_ref_debug): Change format string placeholder | |
14674 | from 0x%x to %#x. | |
14675 | * dwarf2asm.c (dw2_asm_output_data_raw, | |
14676 | dw2_asm_output_data_uleb128_raw, dw2_asm_output_data_uleb128, | |
14677 | dw2_asm_output_data_sleb128_raw, dw2_asm_output_data_sleb128): Ditto. | |
14678 | * dwarf2out.c (output_cfi, output_cfi_directive, | |
14679 | dwarf2out_do_cfi_startproc, output_loc_sequence_raw, | |
14680 | output_cfa_loc_raw, output_die, output_ranges, output_file_names): | |
14681 | Ditto. | |
14682 | * genattrtab.c (write_test_expr, write_attr_valueq): Ditto. | |
14683 | * print-rtl.c (print_rtx): Ditto. | |
14684 | ||
3eb4dbe3 MM |
14685 | 2010-04-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
14686 | ||
14687 | PR middle-end/42694 | |
14688 | * builtins.c (expand_builtin_pow_root): New function to expand pow | |
14689 | calls with exponents 0.25, 0.50, 0.75, 1./3., and 1./6. into a | |
14690 | series of sqrt and cbrt calls under -ffast-math. | |
14691 | (expand_builtin_pow): Call it. | |
14692 | ||
fc249fe5 MM |
14693 | 2010-04-14 Michael Matz <matz@suse.de> |
14694 | ||
14695 | PR tree-optimization/42963 | |
14696 | * tree-cfg.c (touched_switch_bbs): New static variable. | |
14697 | (group_case_labels_stmt): New function broken out from ... | |
14698 | (group_case_labels): ... here, use the above. | |
14699 | (start_recording_case_labels): Allocate touched_switch_bbs. | |
14700 | (end_recording_case_labels): Deallocate it, call | |
14701 | group_case_labels_stmt. | |
14702 | (gimple_redirect_edge_and_branch): Remember index of affected BB. | |
14703 | ||
0fcbf3ed UB |
14704 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
14705 | ||
14706 | * config/i386/i386.md (*popcountsi2_cmp_zext): Remove mode attribute | |
14707 | from insn template. | |
14708 | ||
3f529c2c UB |
14709 | 2010-04-14 Uros Bizjak <ubizjak@gmail.com> |
14710 | ||
14711 | * config/i386/i386.md (*ashlqi3_1_slp): New insn pattern. | |
14712 | ||
1ce18dc8 JH |
14713 | 2010-04-13 Jan Hubicka <jh@suse.cz> |
14714 | ||
14715 | * ipa-inline.c (cgraph_mark_inline_edge): Avoid double accounting | |
14716 | of optimized out static functions. | |
14717 | (cgraph_edge_badness): Add DUMP parameter and dump reasons for the | |
14718 | cost computation. Also sanity check for overflows. | |
14719 | (update_caller_keys): Update cgraph_edge_badness call; properly | |
14720 | update fibheap and sanity check that it is up to date. | |
14721 | (add_new_edges_to_heap): Update cgraph_edge_badness. | |
14722 | (cgraph_decide_inlining_of_small_function): Likewise; | |
14723 | add sanity checking that badness in heap is up to date; | |
14724 | improve dumping of reason; Update badness of calls to the | |
14725 | offline copy of function currently inlined; dump badness | |
14726 | of functions not inlined because of unit growth limits. | |
14727 | ||
9e9ef331 EB |
14728 | 2010-04-13 Eric Botcazou <ebotcazou@adacore.com> |
14729 | ||
14730 | PR middle-end/32628 | |
14731 | * c-common.c (pointer_int_sum): Disregard overflow that occured only | |
14732 | because of sign-extension change when converting to sizetype here... | |
14733 | * fold-const.c (fold_convert_const_int_from_int): ...and not here. | |
14734 | ||
14735 | * fold-const.c (fold_binary_op_with_conditional_arg): Do not restrict | |
14736 | the folding to constants. Remove redundant final conversion. | |
14737 | (fold_binary) <associate>: Do not associate if the re-association of | |
14738 | constants alone overflows. | |
14739 | (fold_binary) <FLOOR_MOD_EXPR>: Move transformation into BIT_AND_EXPR | |
14740 | to the end of the list. | |
14741 | (multiple_of_p) <COND_EXPR>: New case. | |
14742 | ||
9db94baa MLI |
14743 | 2010-04-13 Manuel López-Ibáñez <manu@gcc.gnu.org> |
14744 | ||
14745 | * opt-functions.awk (opt_sanitized_name): New. | |
14746 | (opt_enum): New. | |
14747 | * optc-gen.awk: Use it | |
14748 | * opth-gen.awk: Use it. | |
14749 | ||
0f2ffb9a MJ |
14750 | 2010-04-13 Martin Jambor <mjambor@suse.cz> |
14751 | ||
14752 | * tree-sra.c (replace_uses_with_default_def_ssa_name): New function. | |
14753 | (sra_modify_assign): Delete stmts loading dead data even if racc has no | |
14754 | children. Call replace_uses_with_default_def_ssa_name to handle | |
14755 | SSA_NAES on lhs. | |
14756 | ||
f78b86c0 MM |
14757 | 2010-04-13 Michael Matz <matz@suse.de> |
14758 | ||
14759 | PR middle-end/43730 | |
14760 | * builtins.c (expand_builtin_interclass_mathfn): Also create | |
14761 | a register if the predicate doesn't match. | |
14762 | ||
0e6229c2 DN |
14763 | 2010-04-13 Diego Novillo <dnovillo@google.com> |
14764 | ||
14765 | * Makefile.in (c-pch.o, ggc-common.o): Depend on timevar.h. | |
14766 | * c-pch.c: Include timevar.h. | |
14767 | (c_common_write_pch): Use TV_PCH_SAVE and TV_PCH_CPP_SAVE timers. | |
3f529c2c | 14768 | (c_common_read_pch): Use TV_PCH_RESTORE and TV_PCH_CPP_RESTORE timers. |
0e6229c2 | 14769 | * ggc-common.c: Include timevar.h. |
3f529c2c | 14770 | (gt_pch_save): Use TV_PCH_PTR_REALLOC and TV_PCH_PTR_SORT timers. |
0e6229c2 DN |
14771 | * timevar.def (TV_PCH_SAVE): Define. |
14772 | (TV_PCH_CPP_SAVE): Define. | |
14773 | (TV_PCH_PTR_REALLOC): Define. | |
14774 | (TV_PCH_PTR_SORT): Define. | |
14775 | (TV_PCH_RESTORE): Define. | |
14776 | (TV_PCH_CPP_RESTORE): Define. | |
14777 | ||
143597ff MM |
14778 | 2010-04-13 Michael Matz <matz@suse.de> |
14779 | ||
14780 | * tree-ssa-reassoc.c (repropagate_negates): Merge negates also | |
14781 | into MINUS_EXPRs. | |
14782 | (can_reassociate_p): New function. | |
14783 | (break_up_subtract_bb, reassociate_bb): Use it. | |
14784 | ||
54c5ec4f RG |
14785 | 2010-04-13 Richard Guenther <rguenther@suse.de> |
14786 | ||
14787 | PR bootstrap/43737 | |
14788 | * builtins.c (c_readstr): Fix assert. | |
14789 | ||
719938ae UB |
14790 | 2010-04-13 Uros Bizjak <ubizjak@gmail.com> |
14791 | ||
14792 | * config/i386/i386.md (extendsidi2 splitter): Also check for DX_REG | |
14793 | when generating cltd insn. | |
14794 | ||
14795 | (*ashl<mode>3_1): Remove special handling for register operand 2. | |
14796 | (*ashlsi3_1_zext): Ditto. | |
14797 | (*ashlhi3_1): Ditto. | |
14798 | (*ashlhi3_1_lea): Ditto. | |
14799 | (*ashlqi3_1): Ditto. | |
14800 | (*ashlqi3_1_lea): Ditto. | |
14801 | (*<shiftrt_insn><mode>3_1): Ditto. | |
14802 | (*<shiftrt_insn>si3_1_zext): Ditto. | |
14803 | (*<shiftrt_insn>qi3_1_slp): Ditto. | |
14804 | (*<rotate_insn><mode>3_1): Ditto. | |
14805 | (*<rotate_insn>si3_1_zext): Ditto. | |
14806 | (*<rotate_insn>qi3_1_slp): Ditto. | |
14807 | ||
3e8542ca RG |
14808 | 2010-04-13 Richard Guenther <rguenther@suse.de> |
14809 | ||
14810 | * tree-ssa-structalias.c (callused_id): Remove. | |
14811 | (call_stmt_vars): New. | |
14812 | (get_call_vi): Likewise. | |
14813 | (lookup_call_use_vi): Likewise. | |
14814 | (lookup_call_clobber_vi): Likewise. | |
14815 | (get_call_use_vi): Likewise. | |
14816 | (get_call_clobber_vi): Likewise. | |
14817 | (make_transitive_closure_constraints): Likewise. | |
14818 | (handle_const_call): Adjust to do per-call call-used handling. | |
14819 | (handle_pure_call): Likewise. | |
14820 | (find_what_var_points_to): Remove general callused handling. | |
14821 | (init_base_vars): Likewise. | |
14822 | (init_alias_vars): Initialize call_stmt_vars. | |
14823 | (compute_points_to_sets): Process call-used and call-clobbered | |
14824 | vars for call statements. | |
14825 | (delete_points_to_sets): Free call_stmt_vars. | |
14826 | ||
777e1f09 RG |
14827 | 2010-04-13 Richard Guenther <rguenther@suse.de> |
14828 | ||
14829 | * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): | |
14830 | Only add RW dependence for dependence distance zero. | |
14831 | Adjust maximal vectorization factor according to dependences. | |
14832 | Move alignment handling ... | |
14833 | (vect_find_same_alignment_drs): ... here. New function. | |
14834 | (vect_analyze_data_ref_dependences): Adjust. | |
14835 | (vect_analyze_data_refs_alignment): Call vect_find_same_alignment_drs. | |
14836 | (vect_analyze_data_refs): Adjust minimal vectorization factor | |
14837 | according to data references. | |
14838 | * tree-vect-loop.c (vect_analyze_loop): Analyze data-ref | |
14839 | dependences before determining the vectorization factor. | |
14840 | Analyze alignment after determining the vectorization factor. | |
14841 | * tree-vect-slp.c ((vect_slp_analyze_bb): Analyze data-ref | |
14842 | dependences before alignment. | |
14843 | * tree-vectorizer.h (vect_analyze_data_ref_dependences): | |
14844 | Adjust prototype. | |
14845 | (vect_analyze_data_refs): Likewise. | |
14846 | (MAX_VECTORIZATION_FACTOR): New define. | |
14847 | ||
1a710808 DS |
14848 | 2010-04-13 Duncan Sands <baldrick@free.fr> |
14849 | ||
14850 | * except.h (lang_eh_type_covers): Remove. | |
14851 | * except.c (lang_eh_type_covers): Likewise. | |
14852 | ||
9602b6a1 | 14853 | 2010-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
3f529c2c UB |
14854 | Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
14855 | ||
9602b6a1 AK |
14856 | * gcc/config/s390/s390.md: Replace TARGET_64BIT with TARGET_ZARCH. |
14857 | * gcc/config/s390/s390.c: Replace UNTIS_PER_WORD with | |
3f529c2c | 14858 | UNITS_PER_LONG where it is ABI relevant. |
9602b6a1 AK |
14859 | (s390_return_addr_rtx): Likewise. |
14860 | (s390_back_chain_rtx): Likewise. | |
14861 | (s390_frame_area): Likewise. | |
14862 | (s390_frame_info): Likewise. | |
14863 | (s390_initial_elimination_offset): Likewise. | |
14864 | (save_gprs): Likewise. | |
14865 | (s390_emit_prologue): Likewise. | |
14866 | (s390_emit_epilogue): Likewise. | |
14867 | (s390_function_arg_advance): Likewise. | |
14868 | (s390_function_arg): Likewise. | |
14869 | (s390_va_start): Likewise. | |
14870 | (s390_gimplify_va_arg): Likewise. | |
14871 | (s390_function_profiler): Likewise. | |
14872 | (s390_optimize_prologue): Likewise. | |
14873 | (s390_rtx_costs): Likewise. | |
14874 | (s390_secondary_reload): Likewise. | |
14875 | (s390_promote_function_mode): Likewise. | |
14876 | (s390_hard_regno_mode_ok): Replace TARGET_64BIT with TARGET_ZARCH. | |
14877 | (s390_scalar_mode_supported_p): Disallow TImode if no 64 bit | |
14878 | registers available. | |
14879 | (s390_unwind_word_mode): New function. | |
14880 | (s390_function_value): Split 64 bit values into register pair if | |
14881 | used as return value. | |
14882 | (s390_call_saved_register_used): Don't use HARD_REGNO_NREGS for | |
14883 | function call parameters. Handle parallels. | |
14884 | (TARGET_SCALAR_MODE_SUPPORTED_P): New macro. | |
14885 | (HARD_REGNO_CALL_PART_CLOBBERED): New macro. | |
14886 | (DWARF_CIE_DATA_ALIGNMENT): New macro. | |
14887 | (s390_expand_setmem): Remove unused variable src_addr. | |
14888 | * gcc/longlong.h: Make smul_ppmm and sdiv_qrnnd inline asms to | |
3f529c2c | 14889 | deal with 64 bit registers. |
9602b6a1 AK |
14890 | * gcc/config/s390/s390.h: Define __zarch__ predefined macro. |
14891 | Replace UNITS_PER_WORD with UNITS_PER_LONG where it is ABI relevant. | |
14892 | (UNITS_PER_LONG): New macro. | |
14893 | * libjava/include/s390-signal.h: Define extended ucontext | |
14894 | structure containing the upper halfs of the 64 bit registers. | |
14895 | ||
3b123595 SB |
14896 | 2010-04-13 Simon Baldwin <simonb@google.com> |
14897 | ||
14898 | * cfgexpand.c (gimple_expand_cfg): Clarify warning message text. | |
14899 | ||
cb3d597d EB |
14900 | 2010-04-13 Eric Botcazou <ebotcazou@adacore.com> |
14901 | ||
14902 | * gimple.c (walk_gimple_op) <GIMPLE_ASSIGN>: Do not request a pure | |
14903 | rvalue on the RHS if the LHS is of a non-renamable type. | |
14904 | * tree-ssa-ccp.c (maybe_fold_offset_to_component_ref): Fold result. | |
14905 | ||
4adbd5dd MK |
14906 | 2010-04-13 Matthias Klose <doko@ubuntu.com> |
14907 | ||
14908 | * gcc.c (cc1_options): Handle -iplugindir before processing | |
14909 | the cc1 spec. Only add -iplugindir once. | |
14910 | (cpp_unique_options): Add -iplugindir option if -fplugin* options | |
14911 | found. | |
14912 | * common.opt (iplugindir): Remove `Separate' property, initialize. | |
14913 | * plugin.c (default_plugin_dir_name): Error with missing -iplugindir | |
14914 | option. | |
14915 | * Makefile.in (check-%, check-parallel-%): Create plugin dir. | |
14916 | (distclean): Remove plugin dir. | |
14917 | * doc/invoke.texi: Document -iplugindir. | |
14918 | ||
14919 | 2010-04-13 Basile Starynkevitch <basile@starynkevitch.net> | |
14920 | ||
14921 | * doc/plugins.texi (Loading Plugins): Document short | |
14922 | -fplugin=foo option. | |
14923 | (Plugin API): Mention default_plugin_dir_name function. | |
14924 | ||
14925 | * gcc.c (find_file_spec_function): Add new declaration. | |
14926 | (static_spec_func): Use it for "find-file". | |
14927 | (find_file_spec_function): Add new function. | |
14928 | (cc1_options): Add -iplugindir option if -fplugin* options found. | |
14929 | ||
14930 | * gcc-plugin.h (default_plugin_dir_name): Added new declaration. | |
14931 | ||
14932 | * plugin.c (add_new_plugin): Updated comment, and handle short | |
14933 | plugin name. | |
14934 | (default_plugin_dir_name): Added new function. | |
14935 | ||
719938ae | 14936 | * common.opt (iplugindir): New option to set the plugin directory. |
4adbd5dd | 14937 | |
e0db9cc6 UB |
14938 | 2010-04-12 Uros Bizjak <ubizjak@gmail.com> |
14939 | ||
14940 | * config/i386/i386.md (any_rotate): New code iterator. | |
14941 | (rotate_insn): New code attribute. | |
14942 | (rotate): Ditto. | |
14943 | (SWIM124): New mode iterator. | |
14944 | (<rotate_insn>ti3): New expander. | |
14945 | (<rotate_insn>di3): Macroize expander from {rotl,rotr}di3 using | |
14946 | any_rotate code iterator. | |
14947 | (<rotate_insn><mode>3) Macroize expander from {rotl,rotr}{qi,hi,si}3 | |
14948 | using any_rotate code iterator and SWIM124 mode iterator. | |
14949 | (ix86_rotlti3): New insn_and_split pattern. | |
14950 | (ix86_rotrti3): Ditto. | |
14951 | (ix86_rotl<dwi>3_doubleword): Macroize insn_and_split pattern from | |
14952 | ix86_rotl{di,ti}3 patterns. | |
14953 | (ix86_rotr<dwi>3_doubleword): Ditto from ix86_rotr{di,ti}3 patterns. | |
14954 | (*<rotate_insn><mode>3_1): Merge with *{rotl,rotr}{qi,hi,si}3_1_one_bit | |
14955 | and *{rotl,rotr}di3_1_one_bit_rex64. Macroize insn from | |
14956 | *{rotl,rotr}{qi,hi,si}3_1 and *{rotl,rotr}di3_1_rex64 using any_rotate | |
14957 | code iterator and SWI mode iterator. | |
14958 | (*<rotate_insn>si3_1_zext): Merge with *{rotl,rotr}si3_1_one_bit_zext. | |
14959 | Macroize insn from {rotl,rotr}si3_1_zext using any_rotate | |
14960 | code iterator. | |
14961 | (*<rotate_insn>qi3_1_slp): Merge with *{rotl,rotr}qi3_1_one_bit_slp. | |
14962 | Macroize insn from {rotl,rotr}qi3_1_slp using any_rotate code iterator. | |
14963 | (bswap rotatert splitter): Add splitter. | |
14964 | (bswap splitter): Macroize splitter using any_rotate code iterator. | |
14965 | Add insn predicate to split only for TARGET_USE_XCHGB or when | |
14966 | optimizing function for size. | |
14967 | ||
077c8ada SE |
14968 | 2010-04-12 Steve Ellcey <sje@cup.hp.com> |
14969 | ||
14970 | * config/pa/pa.c (emit_move_sequence): Remove use of | |
14971 | deleted variable flag_argument_noalias. | |
14972 | ||
c7392d11 RO |
14973 | 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14974 | ||
14975 | * config.gcc: Removed *-*-solaris2.7* from list of obsolete | |
14976 | configurations. | |
14977 | Add to unsupported targets list. | |
14978 | * configure.ac (gcc_cv_as_tls): Removed i[34567]86-*-solaris2.[567]*, | |
14979 | sparc*-sun-solaris2.[567]* from target lists. | |
14980 | * configure: Regenerate. | |
14981 | * doc/install.texi (Specific, *-*-solaris2*): Document Solaris 7 | |
14982 | removal. | |
14983 | Remove Solaris 7 patch references. | |
14984 | (Specific, sparc-sun-solaris2.7): Removed. | |
14985 | (sparc-sun-solaris2*): Update Solaris 7 example. | |
14986 | (sparc64-*-solaris2*): Likewise. | |
14987 | ||
8c200350 RO |
14988 | 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
14989 | ||
14990 | * config.build (alpha*-dec-osf4*): Remove. | |
14991 | * config.gcc: Remove alpha*-dec-osf4*, alpha-dec-osf5.0* from list | |
14992 | of obsolete configurations. | |
14993 | (alpha*-dec-osf[45]*): Remove alpha*-dec-osf4*, alpha-dec-osf5.0* | |
14994 | support. | |
14995 | * config/alpha/t-osf4: Renamed to ... | |
14996 | * config/alpha/t-osf5: ... this. | |
14997 | * config/alpha/osf.h: Renamed to ... | |
14998 | * config/alpha/osf5.h: ... this. | |
14999 | Merged old osf5.h contents. | |
15000 | Update comments. | |
15001 | (ASM_SPEC): Use ASM_OLDAS_SPEC directly. | |
15002 | (EXTRA_SPECS): Removed. | |
15003 | * doc/install.texi (Specific, alpha*-dec-osf5.1): Renamed to | |
15004 | reflect removal of Tru64 UNIX V4.0/V5.0 support. | |
15005 | Document that. | |
15006 | ||
887204da RO |
15007 | 2010-04-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15008 | ||
15009 | * doc/contrib.texi (Contributors, Rainer Orth): Update. | |
15010 | ||
c1b8e139 KT |
15011 | 2010-04-12 Kai Tietz <kai.tietz@onevision.com> |
15012 | ||
15013 | PR/43702 | |
15014 | * config/i386/i386.c (x86_this_parameter): Handle aggregate for | |
15015 | __thiscall convention. | |
15016 | ||
b38bccca SE |
15017 | 2010-04-12 Steve Ellcey <sje@cup.hp.com> |
15018 | ||
15019 | * config/pa/pa.c (hppa_legitimize_address): Remove unused variable | |
15020 | orig_base. | |
15021 | * config/pa/pa.md (call, call_value): Remove unused variable call_insn. | |
15022 | ||
fc2f1f53 SE |
15023 | 2010-04-12 Steve Ellcey <sje@cup.hp.com> |
15024 | ||
15025 | * function.c (assign_parms_initialize_all): Add unused attribute | |
15026 | to fntype. | |
15027 | ||
d086d311 RG |
15028 | 2010-04-12 Richard Guenther <rguenther@suse.de> |
15029 | ||
15030 | * gsstruct.def (GSS_CALL): New. | |
15031 | * gimple.def (GIMPLE_CALL): Change to GSS_CALL. | |
15032 | * gimple.h: Include tree-ssa-alias.h. | |
15033 | (struct gimple_statement_call): New. | |
15034 | (union gimple_statement_struct_d): Add gimple_call member. | |
15035 | (gimple_call_reset_alias_info): Declare. | |
15036 | (gimple_call_use_set): New function. | |
15037 | (gimple_call_clobber_set): Likewise. | |
15038 | * Makefile.in (GIMPLE_H): Add tree-ssa-alias.h. | |
15039 | * gimple.c (gimple_call_reset_alias_info): New function. | |
15040 | (gimple_build_call_1): Call it. | |
15041 | * lto-streamer-in.c (input_gimple_stmt): Likewise. | |
15042 | * tree-inline.c (remap_gimple_stmt): Likewise. | |
15043 | (expand_call_inline): Remove callused handling. | |
15044 | * cfgexpand.c (update_alias_info_with_stack_vars): Likewise. | |
15045 | * tree-dfa.c (dump_variable): Likewise. | |
15046 | * tree-parloops.c (parallelize_loops): Likewise. | |
15047 | * tree-ssa.c (init_tree_ssa): Likewise. | |
15048 | (delete_tree_ssa): Likewise. | |
15049 | * tree-flow-inline.h (is_call_used): Remove. | |
15050 | * tree-flow.h (struct gimple_df): Remove callused member. | |
15051 | * tree-nrv.c (dest_safe_for_nrv_p): Adjust predicate. | |
15052 | * tree-ssa-alias.c (dump_alias_info): Remove callused handling. | |
15053 | (ref_maybe_used_by_call_p_1): Simplify. | |
15054 | (call_may_clobber_ref_p_1): Likewise. | |
15055 | * tree-ssa-structalias.c (compute_points_to_sets): Set | |
15056 | the call stmt used and clobbered sets. | |
15057 | * tree-tailcall.c (suitable_for_tail_opt_p): Adjust predicate. | |
15058 | (find_tail_calls): Verify the tail call. | |
15059 | ||
af961c7f RG |
15060 | 2010-04-12 Richard Guenther <rguenther@suse.de> |
15061 | ||
15062 | * ipa.c (cgraph_postorder): Adjust postorder to guarantee | |
15063 | single-iteration always-inline inlining. | |
15064 | * ipa-inline.c (cgraph_mark_inline): Do not return anything. | |
e0db9cc6 | 15065 | (cgraph_decide_inlining): Do not handle always-inline specially. |
af961c7f RG |
15066 | (try_inline): Remove always-inline cycle detection special case. |
15067 | Do not recurse on always-inlines. | |
15068 | (cgraph_early_inlining): Do not iterate if not optimizing. | |
15069 | (cgraph_gate_early_inlining): remove. | |
15070 | (pass_early_inline): Run unconditionally. | |
15071 | (gate_cgraph_decide_inlining): New function. | |
15072 | (pass_ipa_inline): Use it. Do not run the IPA inliner if | |
15073 | not inlining or optimizing. | |
15074 | (cgraph_decide_inlining_of_small_functions): Also consider | |
15075 | always-inline functions. | |
15076 | (cgraph_default_inline_p): Return true for nodes which should | |
15077 | disregard inline limits. | |
15078 | (estimate_function_body_sizes): Assume zero size and time for | |
15079 | nodes which are marked as disregarding inline limits. | |
15080 | (cgraph_decide_recursive_inlining): Do not perform recursive | |
15081 | inlining on always-inline nodes. | |
15082 | ||
fa8351f8 JJ |
15083 | 2010-04-12 Jakub Jelinek <jakub@redhat.com> |
15084 | ||
15085 | PR bootstrap/43699 | |
15086 | * c-typeck.c (c_process_expr_stmt): Call mark_exp_read even | |
15087 | for exprs satisfying handled_component_p. | |
15088 | ||
675c873b EB |
15089 | 2010-04-12 Eric Botcazou <ebotcazou@adacore.com> |
15090 | ||
15091 | * expr.c (categorize_ctor_elements_1): Properly count sub-elements of | |
15092 | non-constant aggregate elements. | |
15093 | ||
15094 | * gimplify.c (gimplify_init_constructor): Do not pre-evaluate if this | |
15095 | is a real initialization. | |
15096 | ||
c4712597 SZ |
15097 | 2010-04-12 Shujing Zhao <pearly.zhao@oracle.com> |
15098 | ||
15099 | PR c/36774 | |
15100 | * c-decl.c (start_function): Move forward check for nested function. | |
15101 | ||
6f50eb9c KK |
15102 | 2010-04-11 Kaz Kojima <kkojima@gcc.gnu.org> |
15103 | ||
15104 | * config/sh/sh-protos.h (sh_legitimize_reload_address): Declare. | |
15105 | * config/sh/sh.c: Include reload.h. | |
15106 | (sh_legitimize_reload_address): New. | |
15107 | * config/sh/sh.h (LEGITIMIZE_RELOAD_ADDRESS): Use | |
15108 | sh_legitimize_reload_address. | |
15109 | ||
c11c09f9 KP |
15110 | 2010-04-11 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
15111 | ||
15112 | * config/sh/sh.md (*movqi_pop): New insn pattern. | |
15113 | * config/sh/predicates.md (sh_no_delay_pop_operand): New predicate. | |
15114 | ||
d72ebc16 UB |
15115 | 2010-04-11 Uros Bizjak <ubizjak@gmail.com> |
15116 | ||
15117 | * config/i386/i386.md (any_shiftrt): New code iterator. | |
15118 | (shiftrt_insn): New code attribute. | |
15119 | (shiftrt): Ditto. | |
e0db9cc6 UB |
15120 | (<shiftrt_insn><mode>3): Macroize expander from {ashr,lshr}<mode>3 |
15121 | using any_shiftrt code iterator. | |
d72ebc16 | 15122 | (*<shiftrt_insn><mode>3_doubleword): Macroize insn_and_split from |
e0db9cc6 | 15123 | *{ashr,lshr}<mode>3_doubleword using any_shiftrt code iterator. |
d72ebc16 UB |
15124 | (*<shiftrt_insn><mode>3_doubleword peephole2): Macroize peephole2 |
15125 | pattern from corresponding peephole2 patterns. | |
e0db9cc6 UB |
15126 | (*<shiftrt_insn><mode>3_1): Macroize insn from *{ashr,lshr}<mode>3_1 |
15127 | using any_shiftrt code iterator. | |
15128 | (*<shiftrt_insn>si3_1_zext): Ditto from *{ashr,lshr}si3_1_zext. | |
15129 | (*<shiftrt_insn>qi3_1_slp): Ditto from *{ashr,lshr}qi3_1_slp. | |
15130 | (*<shiftrt_insn><mode>3_cmp): Ditto from *{ashr,lshr}<mode>3_cmp. | |
15131 | (*<shiftrt_insn><mode>3_cmp_zext): Ditto from | |
15132 | *{ashr,lshr}<mode>3_cmp_zext. | |
15133 | (*<shiftrt_insn><mode>3_cconly): Ditto from *{ashr,lshr}<mode>3_cconly. | |
d72ebc16 | 15134 | |
59caab22 UB |
15135 | 2010-04-11 Uros Bizjak <ubizjak@gmail.com> |
15136 | ||
15137 | * config/i386/i386.md (*ashr<mode>3_cconly): Fix wrong mode of | |
15138 | scratch register. | |
15139 | (*lshr<mode>3_cconly): Ditto. | |
15140 | ||
9200ac72 UB |
15141 | 2010-04-11 Uros Bizjak <ubizjak@gmail.com> |
15142 | ||
15143 | * config/i386/i386.md (lshr<mode>3): Macroize expander from | |
15144 | lshr{qi,hi,si,di,ti}3_1 using SDWIM mode iterator. | |
15145 | (*lshr<mode>3_doubleword): New insn_and_split_pattern. Macroize | |
15146 | pattern from *lshr{di,ti}3_1 and corresponding splitters using | |
15147 | DWI mode iterator. | |
15148 | (*lshr<mode>3_doubleword peephole2): Macroize peephole2 pattern | |
15149 | from corresponding peephole2 patterns. | |
15150 | (*lshr<mode>3_1): Merge with *lshr{qi,hi,si}3_1_one_bit and | |
e0db9cc6 UB |
15151 | *lshrdi3_1_one_bit_rex64. Macroize insn from *lshr{qi,hi,si}3_1 |
15152 | and *lshrdi3_1_rex64 using SWI mode iterator. | |
d72ebc16 | 15153 | (*lshrsi3_1_zext): Merge with *lshrsi3_1_one_bit_zext. |
9200ac72 UB |
15154 | (*lshrqi3_1_slp): Merge with *lshrqi3_1_one_bit_slp. |
15155 | (*lshr<mode>3_cmp): Merge with *lshr{qi,hi,si}3_one_bit_cmp and | |
15156 | *lshrdi3_one_bit_cmp_rex64. Macroize insn from *lshr{qi,hi,si}3_cmp | |
15157 | and *lshrdi3_cmp_rex64 using SWI mode iterator. | |
15158 | (*lshrsi3_cmp_zext): Merge with *lshrsi3_cmp_one_bit_zext. | |
15159 | (*lshr<mode>3_cconly): Merge with *lshr{qi,hi,si}3_one_bit_cconly and | |
15160 | *lshrdi3_one_bit_cconly_rex64. Macroize insn from | |
15161 | *lshr{qi,hi,si}3_cconly and *lshrdi3_cconly_rex64 using | |
15162 | SWI mode iterator. | |
15163 | ||
27431d88 UB |
15164 | 2010-04-10 Uros Bizjak <ubizjak@gmail.com> |
15165 | ||
15166 | * config/i386/i386.md (ashr<mode>3): Macroize expander from | |
15167 | ashr{qi,hi,si,di,ti}3_1 using SDWIM mode iterator. | |
15168 | (*ashr<mode>3_doubleword): New insn_and_split_pattern. Macroize | |
15169 | pattern from *ashr{di,ti}3_1 and corresponding splitters using | |
15170 | DWI mode iterator. | |
15171 | (*ashr<mode>3_doubleword peephole2): Macroize peephole2 pattern | |
15172 | from corresponding peephole2 patterns. | |
15173 | (ashrdi3_cvt): Rename from ashrdi3_63_rex64. | |
15174 | (ashrsi3_cvt): Rename from ashrsi3_31. | |
15175 | (*ashrsi3_cvt_zext): Rename from *ashrsi3_31_zext. | |
15176 | (x86_shift<mode>_adj_3): Macroize expander from x86_shift_adj_3 | |
15177 | and x86_64_shift_adj_3 using SWI48 mode iterator. | |
15178 | (*ashr<mode>3_1): Merge with *ashr{qi,hi,si}3_1_one_bit and | |
e0db9cc6 UB |
15179 | *ashrdi3_1_one_bit_rex64. Macroize insn from *ashr{qi,hi,si}3_1 |
15180 | and *ashrdi3_1_rex64 using SWI mode iterator. | |
d72ebc16 | 15181 | (*ashrsi3_1_zext): Merge with *ashrsi3_1_one_bit_zext. |
27431d88 UB |
15182 | (*ashrqi3_1_slp): Merge with *ashrqi3_1_one_bit_slp. |
15183 | (*ashr<mode>3_cmp): Merge with *ashr{qi,hi,si}3_one_bit_cmp and | |
15184 | *ashrdi3_one_bit_cmp_rex64. Macroize insn from *ashr{qi,hi,si}3_cmp | |
15185 | and *ashrdi3_cmp_rex64 using SWI mode iterator. | |
15186 | (*ashrsi3_cmp_zext): Merge with *ashrsi3_cmp_one_bit_zext. | |
15187 | (*ashr<mode>3_cconly): Merge with *ashr{qi,hi,si}3_one_bit_cconly and | |
15188 | *ashrdi3_one_bit_cconly_rex64. Macroize insn from | |
15189 | *ashr{qi,hi,si}3_cconly and *ashrdi3_cconly_rex64 using | |
15190 | SWI mode iterator. | |
59caab22 | 15191 | (sign_extend splitters): Update for renamed ashr{di,si}3_cvt patterns. |
27431d88 | 15192 | * config/i386/i386.c (ix86_split_ashr): Update for renamed |
9200ac72 | 15193 | x86_shift<mode>_adj_3 expanders. |
27431d88 | 15194 | |
85c9bcd4 WG |
15195 | 2010-04-10 Wei Guozhi <carrot@google.com> |
15196 | ||
15197 | PR target/42601 | |
15198 | * config/arm/arm.c (arm_pic_static_addr): New function. | |
15199 | (legitimize_pic_address): Call arm_pic_static_addr when it detects | |
15200 | a static symbol. | |
15201 | (arm_output_addr_const_extra): Output expression for new pattern. | |
15202 | * config/arm/arm.md (UNSPEC_SYMBOL_OFFSET): New unspec symbol. | |
15203 | ||
f0c6475a | 15204 | 2010-04-10 Bernd Schmidt <bernds@codesourcery.com> |
979740a0 BS |
15205 | |
15206 | * ira-costs.c (record_reg_classes): Ignore alternatives that are | |
15207 | not enabled. | |
4143fd36 BS |
15208 | |
15209 | * Makefile.in (web.o): Depend on insn-config.h and $(RECOG_H). | |
15210 | * web.c: Include "insn-config.h" and "recog.h". | |
15211 | (union_match_dups): New function. | |
15212 | (web_main): Call it. | |
15213 | (union_defs): Don't try to recognize match_dups. | |
15214 | ||
52c1d580 BS |
15215 | * reload1.c (eliminate_regs_in_insn): Don't restore an operand |
15216 | if doing so would replace the entire pattern. | |
15217 | ||
ef0f4a03 UB |
15218 | 2010-04-09 Uros Bizjak <ubizjak@gmail.com> |
15219 | ||
15220 | PR target/43707 | |
15221 | PR target/43709 | |
15222 | * config/i386/i386.md (*ashl<mode>3_doubleword): Split to insn | |
15223 | and splitter pattern. Change splitter operand 1 predicate to | |
15224 | nonmemory_operand. | |
15225 | ||
add5d998 MJ |
15226 | 2010-04-09 Martin Jambor <mjambor@suse.cz> |
15227 | ||
15228 | * ipa-cp.c (ipcp_lats_are_equal): Return true also if the two | |
15229 | lattices are addresses of CONST_DECLs with the same initial value. | |
15230 | (ipcp_print_all_lattices): Print values of CONST_DECLs. | |
15231 | * ipa-prop.c (ipa_print_node_jump_functions): Likewise. | |
15232 | ||
43ba743c | 15233 | 2010-04-09 Eric Botcazou <ebotcazou@adacore.com> |
f0c6475a | 15234 | Bernd Schmidt <bernds@codesourcery.com> |
43ba743c EB |
15235 | |
15236 | * loop-invariant.c (replace_uses): New static function. | |
15237 | (move_invariant_reg): Use it to ensure we can replace the uses. | |
15238 | ||
15239 | 2010-04-09 Hariharan Sandanagobalane <hariharan@picochip.com> | |
c3fd7b4d | 15240 | |
27431d88 UB |
15241 | * config/picochip/picochip.c (picochip_rtx_costs): Use correct |
15242 | function template. | |
43ba743c | 15243 | (picochip_override_options): Enable section anchors only above -O1. |
c3fd7b4d HS |
15244 | (picochip_reorg): Fixed a couple of build warnings. |
15245 | ||
fcf52686 RO |
15246 | 2010-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15247 | ||
15248 | * configure.ac (plugin -rdynamic test): Log result. | |
15249 | * configure: Regenerate. | |
15250 | * config/sol2.h (LINK_SPEC): Handle -rdynamic. | |
15251 | (RDYNAMIC_SPEC): Define. | |
15252 | * config/sol2-gld.h (RDYNAMIC_SPEC): Redefine. | |
15253 | ||
55c4f715 RO |
15254 | 2010-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15255 | ||
15256 | * configure.ac: Determine Sun ld version numbers. | |
15257 | (comdat_group): Restrict GNU ld version checks to gld. | |
15258 | (comdat_group, *-*-solaris2.1[1-9]*): Enable for Sun ld > 1.1688. | |
15259 | (enable_comdat): Support --enable-comdat. | |
15260 | * configure: Regenerate. | |
15261 | * doc/install.texi (Configuration): Document --enable-comdat. | |
15262 | ||
62e08523 RO |
15263 | 2010-04-09 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15264 | ||
ef0f4a03 | 15265 | * config/sparc/sol2-gld.h: Remove SPARC reference. Rename ... |
62e08523 RO |
15266 | * config/sol2-gld.h: ... here. |
15267 | * config.gcc (sparc*-*-solaris2*): Reflect this. | |
15268 | (i[34567]86-*-solaris2*): Use it. | |
15269 | ||
034288ef SE |
15270 | 2010-04-09 Steve Ellcey <sje@cup.hp.com> |
15271 | ||
15272 | * config/ia64/ia64.c (ia64_dfa_new_cycle): Remove unused variable | |
15273 | setup_clocks_p. | |
15274 | (final_emit_insn_group_barriers): Remove unused variable prev_insn. | |
15275 | ||
d0b8780d MLI |
15276 | 2010-04-09 Manuel López-Ibáñez <manu@gcc.gnu.org> |
15277 | ||
15278 | PR 42965 | |
15279 | * diagnostic.c (diagnostic_initialize): Initialize | |
15280 | some_warnings_are_errors. | |
15281 | (diagnostic_finish): New. | |
15282 | (diagnostic_action_after_output): Call it before exiting. | |
15283 | (diagnostic_report_diagnostic): Do not print message here. Set | |
15284 | some_warnings_are_errors. | |
15285 | * diagnostic.h (diagnostic_context): Delete | |
15286 | issue_warnings_are_errors_message. Add some_warnings_are_errors. | |
15287 | (diagnostic_finish): Declare. | |
15288 | * toplev.c (toplev_main): Call it before exit. | |
15289 | ||
93e9807a JM |
15290 | 2010-04-09 Jason Merrill <jason@redhat.com> |
15291 | ||
cb6addf4 JM |
15292 | PR c++/42623 |
15293 | * c-common.c (c_sizeof_or_alignof_type): Return error_mark_node | |
15294 | for incomplete type. | |
15295 | ||
93e9807a JM |
15296 | PR c++/41788 |
15297 | * stor-layout.c (finalize_record_size): Don't change TYPE_PACKED | |
15298 | based on a warning flag. | |
15299 | ||
74367220 RG |
15300 | 2010-04-09 Richard Guenther <rguenther@suse.de> |
15301 | ||
43ba743c | 15302 | * tree-pretty-print.c (dump_generic_node): Dump TYPE_VECTOR_SUBPARTS. |
74367220 | 15303 | |
8351bca7 IS |
15304 | 2010-04-09 Iain Sandoe <iains@gcc.gnu.org> |
15305 | ||
15306 | PR bootstrap/43684 | |
ef0f4a03 | 15307 | * varasm.c (default_assemble_visibility): Wrap vars that are |
8351bca7 | 15308 | set, but unused, by targets without GAS. |
ade52657 | 15309 | * config/rs6000/rs6000.c (paired_emit_vector_compare): |
8351bca7 IS |
15310 | Remove set, but unused, vars. |
15311 | (rs6000_legitimize_tls_address): Likewise. | |
15312 | (altivec_expand_dst_builtin): Likewise. | |
15313 | * config/darwin.c (machopic_classify_symbol): Likewise. | |
15314 | (machopic_indirection_name): Likewise. | |
ef0f4a03 | 15315 | |
014753cc UB |
15316 | 2010-04-09 Uros Bizjak <ubizjak@gmail.com> |
15317 | ||
15318 | * config/i386/i386.md (DWI): New mode iterator. | |
15319 | (S): New mode attribute. | |
15320 | (shift_operand): Ditto. | |
15321 | (shift_immediate_operand): Ditto. | |
15322 | (ashl_input_operand): Ditto. | |
15323 | (ashl<mode>3): Macroize expander from ashl{qi,hi,si,di,ti}3_1 | |
15324 | using SDWIM mode iterator. | |
15325 | (*ashl<mode>3_doubleword): New insn_and_split_pattern. Macroize | |
15326 | pattern from *ashl{di,ti}3_1 and corresponding splitters using | |
15327 | DWI mode iterator. | |
15328 | (*ashl<mode>3_doubleword peephole2): Macroize peephole2 pattern | |
15329 | from corresponding peephole2 patterns. | |
15330 | (x86_shift<mode>_adj_1): Macroize expander from x86_shift_adj_1 | |
15331 | and x86_64_shift_adj_1 using SWI48 mode iterator. | |
15332 | (x86_shift<mode>_adj_2): Ditto. | |
15333 | (*ashldi3_1_rex64): Split TYPE_LEA pattern. | |
15334 | (*ashl<mode>3_1): Macroize insn from *ashlsi3_1 and *ashldi3_1_rex64 | |
15335 | using SWI48 mode iterator. | |
15336 | (*ashl<mode>3_cmp): Macroize insn from *ashl{qi,hi,si}3_cmp and | |
15337 | *ashldi3_cmp_rex64 using SWI mode iterator. | |
15338 | (*ashl<mode>3_cconly): Macroize insn from *ashl{qi,hi,si}3_cconly and | |
15339 | *ashldi3_cconly_rex64 using SWI mode iterator. | |
15340 | * config/i386/i386.c (ix86_split_ashl): Update for renamed | |
15341 | x86_shift<mode>_adj_{1,2}. | |
15342 | (ix86_split_ashr): Ditto. | |
15343 | (ix86_split_lshr): Ditto. | |
15344 | ||
88dd7150 RG |
15345 | 2010-04-09 Richard Guenther <rguenther@suse.de> |
15346 | ||
15347 | * target.h (builtin_conversion): Pass in input and output types. | |
15348 | * targhooks.c (default_builtin_vectorized_conversion): Adjust. | |
15349 | * targhooks.h (default_builtin_vectorized_conversion): Likewise. | |
15350 | * tree-vect-stmts.c (vectorizable_conversion): Adjust. | |
15351 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): Adjust. | |
15352 | ||
15353 | * config/i386/i386.c (ix86_vectorize_builtin_conversion): Adjust. | |
15354 | Handle AVX modes. | |
15355 | * config/rs6000/rs6000.c (rs6000_builtin_conversion): Adjust. | |
15356 | ||
3f2060fd RG |
15357 | 2010-04-09 Richard Guenther <rguenther@suse.de> |
15358 | ||
15359 | PR target/43152 | |
15360 | * config/i386/sse.md (vcond<mode>): Handle AVX modes as well. | |
15361 | ||
b690cc0f RG |
15362 | 2010-04-09 Richard Guenther <rguenther@suse.de> |
15363 | ||
15364 | * tree-vectorizer.h (struct _stmt_vec_info): Document | |
15365 | that vectype is the type of the LHS. | |
59caab22 | 15366 | (supportable_widening_operation, supportable_narrowing_operation): |
b690cc0f RG |
15367 | Get both input and output vector types as arguments. |
15368 | (vect_is_simple_use_1): Declare. | |
15369 | (get_same_sized_vectype): Likewise. | |
15370 | * tree-vect-loop.c (vect_determine_vectorization_factor): | |
15371 | Set STMT_VINFO_VECTYPE to the vector type of the def. | |
15372 | (vectorizable_reduction): Adjust. | |
15373 | * tree-vect-patterns.c (vect_recog_widen_mult_pattern): | |
15374 | Adjust. Specify the output vector type. | |
15375 | (vect_pattern_recog_1): Adjust. | |
15376 | * tree-vect-stmts.c (get_same_sized_vectype): New function. | |
15377 | (vectorizable_call): Adjust. | |
15378 | (vectorizable_conversion): Likewise. | |
15379 | (vectorizable_operation): Likewise. | |
15380 | (vectorizable_type_demotion): Likewise. | |
15381 | (vectorizable_type_promotion): Likewise. | |
15382 | (vect_analyze_stmt): Set STMT_VINFO_VECTYPE to the vector type of | |
15383 | the def. | |
15384 | (vect_is_simple_use_1): New function. | |
15385 | (supportable_widening_operation): Get both input and output | |
15386 | vector types. | |
15387 | (supportable_narrowing_operation): Likewise. | |
15388 | * tree-vect-slp.c (vect_schedule_slp_instance): Adjust. | |
15389 | ||
3e65f251 KT |
15390 | 2010-04-09 Kai Tietz <kai.tietz@onevision.com> |
15391 | ||
15392 | * config/i386/cygming.h (TARGET_OS_CPP_BUILTINS): Add | |
15393 | __thiscall and _thiscall as predefined macros. | |
15394 | * config/i386/i386.c (ix86_handle_cconv_attribute): Add | |
15395 | thiscall attribute handling. | |
15396 | (ix86_comp_type_attributes): Likewise. | |
15397 | (ix86_function_regparm): Likewise. | |
15398 | (ix86_return_pops_args): Likewise. | |
15399 | (init_cumulative_args): Likewise. | |
15400 | (find_drap_reg): Likewise. | |
15401 | (ix86_static_chain): Likewise. | |
15402 | (x86_this_parameter): Likewise. | |
15403 | (x86_output_mi_thunk): Likewise. | |
15404 | (ix86_attribute_table): Add description for thiscall attribute. | |
014753cc | 15405 | * config/i386/i386.h (ix86_args): Adjust comment for member fastcall. |
3e65f251 | 15406 | * doc/extend.texi: Add documentation for thiscall. |
27431d88 | 15407 | |
dc8d2739 MLI |
15408 | 2010-04-09 Manuel López-Ibáñez <manu@gcc.gnu.org> |
15409 | ||
15410 | PR c++/28584 | |
15411 | * c.opt (Wint-to-pointer-cast): Available in C++. | |
15412 | * doc/invoke.texi (Wint-to-pointer-cast): Available in C++. | |
15413 | ||
d47d0a8d EB |
15414 | 2010-04-08 Eric Botcazou <ebotcazou@adacore.com> |
15415 | ||
15416 | * tree.h (TREE_ADDRESSABLE): Document its effect for function types. | |
15417 | * calls.c (expand_call): Pass the function type to aggregate_value_p. | |
15418 | * function.c (aggregate_value_p): Do not honor DECL_BY_REFERENCE on | |
15419 | the target function of a CALL_EXPR. Honor TREE_ADDRESSABLE on the | |
15420 | function type instead. Reorder and simplify checks. | |
15421 | ||
15422 | * gimplify.c (gimplify_modify_expr_rhs) <WITH_SIZE_EXPR>: New case. | |
15423 | ||
dc5ee869 JY |
15424 | 2010-04-08 Jing Yu <jingyu@google.com> |
15425 | Zdenek Dvorak <ook@ucw.cz> | |
15426 | ||
15427 | PR tree-optimization/42720 | |
15428 | * tree-ssa-loop-unswitch.c (tree_ssa_unswitch_loops): Move one-time | |
014753cc UB |
15429 | loop unswitch conditions here from ... |
15430 | (tree_unswitch_single_loop): ... here. | |
dc5ee869 | 15431 | |
98c07c54 SP |
15432 | 2010-04-08 Sebastian Pop <sebastian.pop@amd.com> |
15433 | ||
15434 | * tree-if-conv.c: Fix comments and simplify logic. | |
15435 | ||
6cbcfa9d SP |
15436 | 2010-04-08 Sebastian Pop <sebastian.pop@amd.com> |
15437 | ||
15438 | * tree-if-conv.c (if_convertible_loop_p): Remove unused parameter. | |
15439 | (tree_if_conversion): Same. Update call to if_convertible_loop_p. | |
15440 | (main_tree_if_conversion): Update call to tree_if_conversion. | |
15441 | ||
1401cf37 MLI |
15442 | 2010-04-08 Manuel López-Ibáñez <manu@gcc.gnu.org> |
15443 | ||
15444 | PR 42485 | |
15445 | * doc/invoke.texi (-b,-V): Delete. | |
15446 | * doc/tm.texi: Do not mention -b. | |
15447 | * gcc.c (display_help): Delete -b and -V. | |
15448 | (process_command): Delete -b and -V. | |
15449 | * gcc.h (DEFAULT_SWITCH_TAKES_ARG): Delete -b and -V. | |
6cbcfa9d | 15450 | |
40ac4f73 | 15451 | 2010-04-08 Christian Borntraeger <borntraeger@de.ibm.com> |
27431d88 | 15452 | Wolfgang Gellerich <gellerich@de.ibm.com> |
40ac4f73 | 15453 | |
014753cc UB |
15454 | Implement target hook for loop unrolling |
15455 | * target.h (loop_unroll_adjust): Add a new target hook function. | |
15456 | * target-def.h (TARGET_LOOP_UNROLL_ADJUST): Likewise. | |
15457 | * doc/tm.texi (TARGET_LOOP_UNROLL_ADJUST): Document it. | |
15458 | * config/s390/s390.c (TARGET_LOOP_UNROLL_ADJUST): Define it. | |
15459 | (s390_loop_unroll_adjust): Implement the new target hook for s390. | |
15460 | * loop-unroll.c (decide_unroll_runtime_iterations): Call loop unroll | |
15461 | target hook. | |
15462 | (decide_unroll_stupid): Likewise. | |
40ac4f73 | 15463 | |
07c60ef7 RO |
15464 | 2010-04-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15465 | ||
15466 | PR target/43643 | |
15467 | * config/i386/gmon-sol2.c [__x86_64__]: Properly restore %rcx. | |
15468 | ||
dd178909 RO |
15469 | 2010-04-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15470 | ||
15471 | * doc/install.texi (Specific, i?86-*-solaris2.10): Fix grammar. | |
15472 | (Specific, *-*-solaris2*): Likewise. | |
15473 | Don't prefer Sun as over GNU as. | |
15474 | ||
cc6ae6a1 WG |
15475 | 2010-04-08 Wolfgang Gellerich <gellerich@de.ibm.com> |
15476 | ||
c46a5e28 EB |
15477 | * config/s390/s390.c (override_options): Adjust the z10 defaults |
15478 | for max-unroll-times, max-completely-peeled-insns | |
15479 | and max-completely-peel-times. | |
cc6ae6a1 | 15480 | |
adfa3cd3 AK |
15481 | 2010-04-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
15482 | ||
15483 | * config/s390/s390.c (s390_expand_movmem): Issue prefetch | |
15484 | instructions for z10. | |
15485 | (s390_expand_setmem): Likewise. | |
15486 | (s390_expand_cmpmem): Likewise. | |
15487 | ||
84ae6d7b RG |
15488 | 2010-04-08 Richard Guenther <rguenther@suse.de> |
15489 | ||
15490 | PR tree-optimization/43679 | |
15491 | * tree-ssa-pre.c (eliminate): Only propagate copies. | |
15492 | ||
5a905a2b JJ |
15493 | 2010-04-08 Jakub Jelinek <jakub@redhat.com> |
15494 | ||
15495 | PR bootstrap/43681 | |
15496 | * expr.c (block_move_libcall_safe_for_call_parm): Avoid | |
15497 | set but not used variable warning. | |
15498 | ||
7548c1be WG |
15499 | 2010-04-08 Wei Guozhi <carrot@google.com> |
15500 | ||
15501 | PR target/41653 | |
15502 | * config/arm/arm.c (thumb1_size_rtx_costs): New function. | |
15503 | (arm_size_rtx_costs): Call the new function when optimized for size. | |
15504 | ||
aa847cc8 JJ |
15505 | 2010-04-08 Jakub Jelinek <jakub@redhat.com> |
15506 | ||
15507 | PR debug/43670 | |
15508 | * cfgexpand.c (expand_debug_expr): If for non-NULL offset | |
15509 | op0 is not a MEM, just return NULL instead of assertion | |
15510 | failure. | |
15511 | (discover_nonconstant_array_refs): Don't walk debug stmts. | |
15512 | ||
1dcc82c2 DK |
15513 | 2010-04-08 Doug Kwan <dougkwan@google.com> |
15514 | ||
15515 | * configure.ac: Recognize gold and do not use its version number | |
15516 | to test ld features. | |
15517 | * configure: Regenerate. | |
15518 | ||
b0aef8a8 MK |
15519 | 2010-04-08 Maxim Kuvyrkov <maxim@codesourcery.com> |
15520 | ||
15521 | PR middle-end/40815 | |
15522 | * tree-ssa-reassoc.c (broken_up_substracts): Rename to plus_negates. | |
15523 | (negate_value): Move code to push elements to broken_up_substracts ... | |
15524 | (eliminate_plus_minus_pair): ... here. Push operands that have no | |
15525 | negative pair to plus_negates. | |
15526 | (repropagate_negates, init_reassoc, fini_reassoc): Update. | |
15527 | ||
7a50adb7 RW |
15528 | 2010-04-07 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
15529 | ||
2d413304 RW |
15530 | * doc/install.texi (Configuration): Move description of |
15531 | --enable-lto, --with-libelf*, --enable-gold from Java section to | |
15532 | general section. | |
15533 | ||
7a50adb7 RW |
15534 | * doc/generic.texi (Working with declarations) |
15535 | (Function Properties, C and C++ Trees): Fix typos. | |
15536 | * doc/sourcebuild.texi (Top Level): Likewise. | |
15537 | ||
60d3aec4 JJ |
15538 | 2010-04-07 Jakub Jelinek <jakub@redhat.com> |
15539 | ||
ebfbbdc5 JJ |
15540 | PR c/18624 |
15541 | * tree.h (DECL_READ_P): Define. | |
15542 | (struct tree_decl_common): Add decl_read_flag. | |
15543 | * c-decl.c (pop_scope): If TREE_USED but !DECL_READ_P, issue | |
15544 | a set but not used warning. | |
15545 | (merge_decls): Merge DECL_READ_P flag. | |
15546 | (finish_decl, build_compound_literal): Set DECL_READ_P flag. | |
15547 | (finish_function): Issue -Wunused-but-set-parameter diagnostics. | |
15548 | * c-common.c (handle_used_attribute, handle_unused_attribute): | |
15549 | Likewise. | |
15550 | * c-tree.h (default_function_array_read_conversion, mark_exp_read): | |
15551 | New prototypes. | |
15552 | * c-typeck.c (default_function_array_read_conversion, mark_exp_read): | |
15553 | New functions. | |
15554 | (default_conversion, c_process_expr_stmt): Call mark_exp_read. | |
15555 | * c-parser.c (c_parser_initializer, c_parser_expr_no_commas, | |
15556 | c_parser_binary_expression, c_parser_cast_expression, | |
15557 | c_parser_expr_list, c_parser_omp_atomic, c_parser_omp_for_loop): | |
15558 | Call default_function_array_read_conversion instead of | |
15559 | default_function_array_conversion where needed. | |
15560 | (c_parser_unary_expression, c_parser_conditional_expression, | |
15561 | c_parser_postfix_expression_after_primary, c_parser_initelt): | |
15562 | Likewise. Call mark_exp_read where needed. | |
15563 | (c_parser_statement_after_labels, c_parser_asm_operands, | |
15564 | c_parser_typeof_specifier, c_parser_sizeof_expression, | |
15565 | c_parser_alignof_expression, c_parser_initval): Call mark_exp_read | |
15566 | where needed. | |
15567 | * common.opt (Wunused-but-set-variable, Wunused-but-set-parameter): | |
15568 | New. | |
15569 | * toplev.c (warn_unused_but_set_variable): Default to warn_unused. | |
15570 | (warn_unused_but_set_parameter): Default to warn_unused | |
15571 | && extra_warnings. | |
15572 | * doc/invoke.texi: Document -Wunused-but-set-variable and | |
15573 | -Wunused-but-set-parameter. | |
15574 | ||
60d3aec4 JJ |
15575 | * tree-ssa-pre.c (my_rev_post_order_compute): Remove set but not |
15576 | used count variable. | |
15577 | * genemit.c (gen_expand, gen_split): Avoid set but not used warnings | |
15578 | when operandN variables aren't used in the body of the expander | |
15579 | or splitter. | |
15580 | * tree-outof-ssa.c (FOR_EACH_ELIM_GRAPH_SUCC, | |
15581 | FOR_EACH_ELIM_GRAPH_PRED): Avoid set but not used warnings. | |
15582 | * tree-ssa-operands.h (FOR_EACH_SSA_TREE_OPERAND): Likewise. | |
15583 | * tree-flow.h (FOR_EACH_IMM_USE_FAST, FOR_EACH_IMM_USE_STMT, | |
15584 | FOR_EACH_IMM_USE_ON_STMT): Likewise. | |
15585 | * tree.h (FOR_EACH_CONSTRUCTOR_ELT): Likewise. | |
15586 | * tree.c (PROCESS_ARG): Likewise. | |
15587 | ||
87cf0651 SB |
15588 | 2010-04-07 Simon Baldwin <simonb@google.com> |
15589 | ||
15590 | * diagnostic.h (diagnostic_override_option_index): New macro to | |
15591 | set a diagnostic's option_index. | |
15592 | * c-tree.h (c_cpp_error): Add warning reason argument. | |
15593 | * opts.c (_warning_as_error_callback): New. | |
15594 | (register_warning_as_error_callback): Store callback for | |
15595 | warnings enabled via enable_warning_as_error. | |
15596 | (enable_warning_as_error): Call callback, minor code tidy. | |
15597 | * opts.h (register_warning_as_error_callback): Declare. | |
15598 | * c-opts.c (warning_as_error_callback): New, set cpp_opts flag in | |
15599 | response to -Werror=. | |
15600 | (c_common_init_options): Register warning_as_error_callback in opts.c. | |
15601 | * common.opt: Add -Wno-cpp option. | |
15602 | * c-common.c (struct reason_option_codes_t): Map cpp warning | |
15603 | reason codes to gcc option indexes. | |
15604 | * (c_option_controlling_cpp_error): New function, lookup the gcc | |
15605 | option index for a cpp warning reason code. | |
15606 | * (c_cpp_error): Add warning reason argument, call | |
15607 | c_option_controlling_cpp_error for diagnostic_override_option_index. | |
15608 | * doc/invoke.texi: Document -Wno-cpp. | |
15609 | ||
2ea9dc64 RG |
15610 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
15611 | ||
15612 | * ipa-reference.c (mark_load): Use get_base_address. | |
15613 | (mark_store): Likewise. | |
15614 | ||
15615 | * tree-ssa-ccp.c (gimplify_and_update_call_from_tree): Avoid | |
15616 | inserting GIMPLE_NOPs into the IL. | |
15617 | * tree-ssa-structalias.c (get_constraint_for_component_ref): | |
15618 | Explicitly strip handled components and indirect references. | |
59caab22 | 15619 | |
2ea9dc64 RG |
15620 | * fold-const.c (fold_unary_loc): Do not strip qualifiers when |
15621 | folding address expressions. | |
15622 | * gimple.c (gimple_ior_addresses_taken_1): Use get_base_address. | |
15623 | * tree-ssa-alias.c (decl_refs_may_alias_p): Do not use | |
15624 | operand_equal_p to compare decls. | |
15625 | (ptr_deref_may_alias_decl_p): Likewise. | |
15626 | * tree-ssa-operands.c (get_asm_expr_operands): Simplify | |
15627 | * tree-ssa-forwprop.c (forward_propagate_into_gimple_cond): | |
15628 | Handle reversed comparison ops. | |
15629 | * tree-sra.c (asm_visit_addr): Use get_base_address. | |
014753cc | 15630 | * ipa-prop.c (visit_store_addr_for_mod_analysis): Use get_base_address. |
2ea9dc64 RG |
15631 | * ipa-reference.c (mark_address): Use get_base_address. |
15632 | ||
95d938ee RG |
15633 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
15634 | ||
15635 | * tree-ssa-forwprop.c (forward_propagate_addr_expr): | |
15636 | Propagate constants everywhere. | |
15637 | ||
1a299ae4 JJ |
15638 | 2010-04-07 Jakub Jelinek <jakub@redhat.com> |
15639 | ||
15640 | PR debug/43516 | |
15641 | * tree.c (MAX_INT_CACHED_PREC): Define. | |
15642 | (nonstandard_integer_type_cache): New array. | |
15643 | (build_nonstandard_integer_type): Cache results for precision | |
15644 | <= MAX_INT_CACHED_PREC. | |
15645 | ||
0d3c82d6 RG |
15646 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
15647 | ||
15648 | * doc/invoke.texi (-fargument-alias, -fargument-noalias, | |
15649 | -fargument-noalias-global, -fargument-noalias-anything): Remove. | |
15650 | * common.opt: Likewise. | |
014753cc UB |
15651 | * tree-ssa-structalias.c (intra_create_variable_infos): Adjust comment. |
15652 | * alias.c (base_alias_check): Remove flag_argument_noalias handling. | |
0d3c82d6 RG |
15653 | (nonoverlapping_memrefs_p): Likewise. |
15654 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Likewise. | |
15655 | * opts.c (common_handle_option): Handle OPT_fargument_alias, | |
15656 | OPT_fargument_noalias, OPT_fargument_noalias_anything and | |
15657 | OPT_fargument_noalias_global for backward compatibility. | |
15658 | ||
12bd5a1e RG |
15659 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
15660 | ||
15661 | PR tree-optimization/43270 | |
014753cc | 15662 | * tree-vrp.c (check_array_ref): Fix flexible array member detection. |
12bd5a1e RG |
15663 | * tree-ssa-sccvn.h (fully_constant_vn_reference_p): Declare. |
15664 | * tree-ssa-pre.c (phi_translate_1): Adjust. | |
15665 | (fully_constant_expression): Split out vn_reference handling to ... | |
15666 | * tree-ssa-sccvn.c (fully_constant_vn_reference_p): ... here. | |
15667 | Fold reads from constant strings. | |
15668 | (vn_reference_lookup): Handle fully constant references. | |
15669 | (vn_reference_lookup_pieces): Likewise. | |
15670 | * Makefile.in (expmed.o-warn): Add -Wno-error. | |
15671 | ||
a7752396 MJ |
15672 | 2010-04-07 Martin Jambor <mjambor@suse.cz> |
15673 | ||
15674 | * tree-sra.c (find_param_candidates): Allow scalar va_list types. | |
15675 | ||
6392bea6 IS |
15676 | 2010-04-07 Iain Sandoe <iains@gcc.gnu.org> |
15677 | ||
15678 | PR driver/41594 | |
15679 | * gcc.c: Add -static-libstdc++ to list of recognized options. | |
15680 | ||
9af27220 RO |
15681 | 2010-04-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
15682 | ||
014753cc | 15683 | * config.gcc (i[34567]86-*-solaris2*): Default with_tune_32 to generic. |
9af27220 | 15684 | |
83a416b0 RG |
15685 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
15686 | ||
15687 | PR middle-end/42617 | |
014753cc UB |
15688 | * expr.c (expand_expr_real_1): For TARGET_MEM_REFs with pointer |
15689 | bases build simple mem attributes to retain points-to information. | |
83a416b0 | 15690 | |
366f945f RG |
15691 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
15692 | ||
15693 | PR middle-end/42617 | |
15694 | * alias.c (ao_ref_from_mem): Without MEM_OFFSET or MEM_SIZE | |
15695 | preserve points-to related information. | |
15696 | ||
56c47f22 RG |
15697 | 2010-04-07 Richard Guenther <rguenther@suse.de> |
15698 | ||
15699 | PR middle-end/42617 | |
15700 | * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not | |
15701 | discard plain indirect references. | |
014753cc | 15702 | * fold-const.c (operand_equal_p): Guard against NULL_TREE type. |
56c47f22 RG |
15703 | * tree.c (tree_nop_conversion): Likewise. |
15704 | ||
a42f1217 DS |
15705 | 2010-04-07 Dodji Seketeli <dodji@redhat.com> |
15706 | ||
15707 | PR debug/43628 | |
15708 | * dwarf2out.c (modified_type_die): Ignore artificial typedefs. | |
15709 | ||
b97b2634 KT |
15710 | 2010-04-06 Kai Tietz <kai.tietz@onevision.com> |
15711 | ||
15712 | * config/i386/i386.c (ix86_handle_cconv_attribute): Ignore | |
15713 | calling convention attributes on METHOD_TYPEs for w64 ABI, too. | |
15714 | ||
62ef2431 SP |
15715 | 2010-04-07 Sebastian Pop <sebastian.pop@amd.com> |
15716 | ||
15717 | * tree-if-conv.c: Fix indentation and comments. | |
15718 | ||
baaa8e96 SP |
15719 | 2010-04-07 Sebastian Pop <sebastian.pop@amd.com> |
15720 | ||
15721 | * tree-if-conv.c: Sort static functions in topological order. | |
15722 | ||
b6779d81 SP |
15723 | 2010-04-07 Sebastian Pop <sebastian.pop@amd.com> |
15724 | ||
15725 | * tree-if-conv.c: Fix indentation and comments. | |
15726 | ||
9310a3e2 SP |
15727 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> |
15728 | ||
15729 | PR middle-end/43519 | |
15730 | * graphite-clast-to-gimple.c (max_signed_precision_type): Use | |
014753cc UB |
15731 | lang_hooks.types.type_for_size instead of |
15732 | build_nonstandard_integer_type. | |
9310a3e2 SP |
15733 | When converting an unsigned type to signed, double its precision. |
15734 | (gcc_type_for_interval): Use lang_hooks.types.type_for_size. | |
15735 | (gcc_type_for_iv_of_clast_loop): Call max_signed_precision_type. | |
014753cc UB |
15736 | (graphite_create_new_loop_guard): When ub + 1 wraps around, |
15737 | use lb <= ub. | |
9310a3e2 SP |
15738 | |
15739 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> | |
15740 | ||
15741 | PR middle-end/43519 | |
15742 | * graphite-clast-to-gimple.c (graphite_create_new_loop_guard): Use | |
15743 | POINTER_PLUS_EXPR for pointer types. | |
15744 | ||
15745 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> | |
15746 | ||
15747 | PR middle-end/43519 | |
15748 | * Makefile.in (graphite-clast-to-gimple.o): Depends on langhooks.h. | |
15749 | * graphite-clast-to-gimple.c: Include langhooks.h. | |
15750 | (max_signed_precision_type): New. | |
15751 | (max_precision_type): Takes two types as arguments. | |
15752 | (precision_for_value): New. | |
15753 | (precision_for_interval): New. | |
15754 | (gcc_type_for_interval): New. | |
15755 | (gcc_type_for_value): New. | |
15756 | (gcc_type_for_clast_term): New. | |
15757 | (gcc_type_for_clast_red): New. | |
15758 | (gcc_type_for_clast_bin): New. | |
15759 | (gcc_type_for_clast_expr): Split up into several functions. | |
15760 | (gcc_type_for_clast_eq): Rewritten. | |
15761 | (compute_bounds_for_level): New. | |
15762 | (compute_type_for_level_1): New. | |
15763 | (compute_type_for_level): New. | |
15764 | (gcc_type_for_cloog_iv): Removed. | |
15765 | (gcc_type_for_iv_of_clast_loop): Rewritten. | |
15766 | (graphite_create_new_loop): Compute the lower and upper bound types | |
15767 | with gcc_type_for_clast_expr. | |
15768 | (graphite_create_new_loop_guard): Same. | |
15769 | (find_cloog_iv_in_expr): Removed. | |
15770 | (compute_cloog_iv_types_1): Removed. | |
15771 | (compute_cloog_iv_types): Removed. | |
15772 | (gloog): Do not call compute_cloog_iv_types. | |
15773 | * graphite-sese-to-poly.c (new_gimple_bb): Do not initialize | |
15774 | GBB_CLOOG_IV_TYPES. | |
15775 | (free_data_refs_aux): Do not free GBB_CLOOG_IV_TYPES. | |
15776 | * sese.h (struct gimple_bb): Removed field cloog_iv_types. | |
15777 | (GBB_CLOOG_IV_TYPES): Removed. | |
15778 | ||
15779 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> | |
15780 | ||
15781 | * graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Assert that | |
15782 | gimple_phi_num_args of the loop close SSA phi node is equal to 1. | |
15783 | (detect_commutative_reduction): Same. | |
15784 | ||
a3b9e73c SP |
15785 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> |
15786 | ||
15787 | * graphite-clast-to-gimple.c (graphite_verify): Remove redundant | |
15788 | call to verify_ssa. Invoke verify_loop_closed_ssa with an extra | |
15789 | argument. | |
15790 | * graphite-scop-detection.c (canonicalize_loop_closed_ssa_form): Same. | |
15791 | * graphite-sese-to-poly.c (rewrite_reductions_out_of_ssa): Same. | |
15792 | (rewrite_commutative_reductions_out_of_ssa): Same. | |
15793 | * passes.c (execute_function_todo): Call verify_ssa for every pass | |
15794 | in the LNO. Invoke verify_loop_closed_ssa with an extra argument. | |
15795 | * tree-flow.h (verify_loop_closed_ssa): Update declaration. | |
15796 | * tree-parloops.c (parallelize_loops): Invoke verify_loop_closed_ssa | |
15797 | with an extra argument. | |
15798 | * tree-ssa-loop-manip.c (check_loop_closed_ssa_stmt): Same. Call | |
15799 | verify_ssa only when the extra argument is true. | |
15800 | (gimple_duplicate_loop_to_header_edge): Invoke verify_loop_closed_ssa | |
15801 | with an extra argument. | |
15802 | (tree_transform_and_unroll_loop): Same. | |
15803 | ||
98b6e9dd SP |
15804 | 2010-04-06 Sebastian Pop <sebastian.pop@amd.com> |
15805 | ||
15806 | * passes.c (execute_function_todo): Call verify_loop_closed_ssa | |
15807 | for all the passes of the LNO having LOOP_CLOSED_SSA. | |
15808 | * tree-if-conv.c (pass_if_conversion): Remove TODO_verify_loops. | |
15809 | * tree-loop-distribution.c (pass_loop_distribution): Same. | |
15810 | * tree-pass.h (TODO_verify_loops): Removed. | |
15811 | * tree-ssa-loop.c (pass_tree_loop_init): Same. | |
15812 | (pass_lim): Same. | |
15813 | (pass_tree_unswitch): Same. | |
15814 | (pass_predcom): Same. | |
15815 | (pass_vectorize): Same. | |
15816 | (pass_linear_transform): Same. | |
15817 | (pass_graphite_transforms): Same. | |
15818 | (pass_iv_canon): Same. | |
15819 | (pass_complete_unroll): Same. | |
15820 | (pass_complete_unrolli): Same. | |
15821 | (pass_parallelize_loops): Same. | |
15822 | (pass_loop_prefetch): Same. | |
15823 | (pass_iv_optimize): Same. | |
15824 | ||
c86a3947 CF |
15825 | 2010-04-06 Changpeng Fang <changpeng.fang@amd.com> |
15826 | ||
15827 | PR middle-end/32824 | |
15828 | * passes.c (init_optimization_passes): Move pass_lim before | |
15829 | pass_copy_prop and pass_dce_loop. | |
15830 | ||
37794981 JJ |
15831 | 2010-04-06 Jakub Jelinek <jakub@redhat.com> |
15832 | ||
15833 | PR target/43667 | |
15834 | * config/i386/i386.c (bdesc_multi_arg): Use OPTION_MASK_ISA_XOP | |
15835 | instead of OPTION_MASK_ISA_AVX for __builtin_ia32_vpermil2p*. | |
15836 | (ix86_expand_args_builtin): Use V*_FTYPE_* enum codes instead of | |
15837 | MULTI_* defines for 4 argument vpermil2p* builtins. | |
15838 | ||
d079b87f UB |
15839 | 2010-04-06 Uros Bizjak <ubizjak@gmail.com> |
15840 | ||
15841 | * config/i386/i386-protos.h (x86_maybe_negate_const_int): Declare. | |
15842 | * config/i386/i386.c (x86_maybe_negate_const_int): New. | |
15843 | (x86_output_mi_thunk): Use x86_maybe_negate_const_int. | |
15844 | * config/i386/i386.md (*add<mode>_1, *addsi_1_zext, *addhi_1, | |
15845 | *addhi_1_lea, *addqi_1, *addqi_1_lea, *addqi_1_slp, *add<mode>_2, | |
15846 | *addsi_2_zext, *addhi_2, *addqi_2, *add<mode>_3, *addsi_3_zext, | |
15847 | *addhi_3, *addqi_3,*add<mode>_5, *addhi_5, *addqi_5): | |
15848 | Use x86_maybe_negate_const_int to output insn mnemonic. | |
15849 | (*adddi_4, *addsi_4, *addhi_4, *addqi_4): Ditto. Remove overflow | |
15850 | check from instruction predicate. Update comments. | |
15851 | * config/i386/sync.md (sync_add<mode>): Use | |
15852 | x86_maybe_negate_const_int to output insn mnemonic. | |
b1a0b3b4 | 15853 | |
d079b87f UB |
15854 | 2010-04-06 Jan Hubicka <jh@suse.cz> |
15855 | ||
15856 | PR tree-optimization/42906 | |
15857 | * tree-ssa-dce.c (mark_control_dependent_edges_necessary): Add | |
15858 | IGNORE_SELF argument. Set visited_control_parents for fully | |
15859 | processed BBs. | |
b1a0b3b4 JH |
15860 | (find_obviously_necessary_stmts): Update call of |
15861 | mark_control_dependent_edges_necessary. | |
d079b87f | 15862 | (propagate_necessity): Likewise. Handle PHI edges more curefully. |
b1a0b3b4 | 15863 | |
6593d123 UB |
15864 | 2010-04-06 Uros Bizjak <ubizjak@gmail.com> |
15865 | ||
15866 | * config/i386/i386.md: Remove comment about 'e' and 'E' | |
15867 | operand modifier. | |
15868 | ||
56186ac2 RG |
15869 | 2010-04-06 Richard Guenther <rguenther@suse.de> |
15870 | ||
15871 | PR tree-optimization/43627 | |
15872 | * tree-vrp.c (extract_range_from_unary_expr): Widenings | |
15873 | of [1, +INF(OVF)] go to [1, +INF(OVF)] of the wider type, | |
15874 | not varying. | |
15875 | ||
7d11d368 JJ |
15876 | 2010-04-06 Jakub Jelinek <jakub@redhat.com> |
15877 | ||
d3bccded JJ |
15878 | * BASE-VER: Change to 4.6.0. |
15879 | ||
7d11d368 JJ |
15880 | PR target/43638 |
15881 | * config/i386/i386.c (print_operand): Remove 'e' and 'E' code | |
15882 | handling. | |
15883 | ||
eb12d0ae RG |
15884 | 2010-04-06 Richard Guenther <rguenther@suse.de> |
15885 | ||
15886 | PR middle-end/43661 | |
15887 | * fold-const.c (fold_comparison): Handle X * 0 CMP 0. | |
15888 | ||
53b79425 RW |
15889 | 2010-04-05 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
15890 | ||
15891 | * doc/invoke.texi (Optimize Options): Document that LTO | |
15892 | won't remove object access purely due to incompatible | |
15893 | declarations. | |
15894 | ||
7e0ec110 MK |
15895 | 2010-04-04 Matthias Klose <doko@ubuntu.com> |
15896 | ||
15897 | * graphite-sese-to-poly.c (translate_scalar_reduction_to_array): | |
15898 | Initialize variable. | |
15899 | ||
2b22e382 RG |
15900 | 2010-04-03 Richard Guenther <rguenther@suse.de> |
15901 | ||
15902 | PR middle-end/42509 | |
15903 | * alias.c (nonoverlapping_memrefs_p): For spill-slot accesses | |
15904 | require a non-NULL MEM_OFFSET. | |
15905 | ||
c75c517d SB |
15906 | 2010-04-02 Steven Bosscher <steven@gcc.gnu.org> |
15907 | ||
d079b87f | 15908 | * ada/gcc-interface/Make-lang.in, alias.c, attribs.c, auto-inc-dec.c, |
c75c517d SB |
15909 | basic-block.h, bb-reorder.c, calls.c, c-common.c, cgraph.h, |
15910 | collect2.h, config/alpha/alpha.c, config/alpha/alpha.md, | |
15911 | config/alpha/predicates.md, config/arm/arm.md, | |
15912 | config/arm/lib1funcs.asm, config/arm/neon-schedgen.ml, | |
15913 | config/avr/avr.c, config/avr/avr.md, config/bfin/bfin.c, | |
15914 | config/darwin9.h, config/darwin.c, config/darwin.h, | |
15915 | config/h8300/h8300.c, config/i386/cpuid.h, config/i386/cygming.h, | |
15916 | config/i386/cygwin.h, config/i386/mingw32.h, config/i386/msformat-c.c, | |
15917 | config/i386/sol2-10.h, config/i386/xopintrin.h, config/ia64/ia64.c, | |
15918 | config/ia64/ia64.md, config/ia64/sync.md, config/mep/mep.c, | |
15919 | config/mips/mips.md, config/mn10300/mn10300.c, | |
15920 | config/mn10300/mn10300.h, config/pa/pa.c, config/pa/pa.md, | |
15921 | config/rs6000/aix.h, config/rs6000/dfp.md, | |
15922 | config/rs6000/rs6000-builtin.def, config/rs6000/rs6000-c.c, | |
15923 | config/rs6000/vector.md, config/rtems.h, config/rx/rx.md, | |
15924 | config/s390/s390.md, config/sol2-c.c, config/sparc/sol2-bi.h, | |
15925 | config/sparc/sol2-gas.h, config/sparc/sparc.h, config/sparc/sparc.md, | |
15926 | config/sparc/sparc-protos.h, config/spu/spu.c, config/spu/spu-c.c, | |
15927 | config/t-darwin, convert.c, c.opt, c-opts.c, cp/Make-lang.in, | |
15928 | c-pretty-print.c, c-typeck.c, df-core.c, df-scan.c, diagnostic.c, | |
15929 | diagnostic.h, doc/cppopts.texi, doc/cpp.texi, doc/extend.texi, | |
15930 | doc/gimple.texi, doc/languages.texi, doc/plugins.texi, doc/rtl.texi, | |
15931 | doc/standards.texi, doc/tree-ssa.texi, doc/trouble.texi, dominance.c, | |
15932 | fold-const.c, fortran/Make-lang.in, fwprop.c, gcc-plugin.h, | |
15933 | gensupport.c, gimple.h, gimple-iterator.c, graphite.c, | |
15934 | graphite-clast-to-gimple.c, graphite-clast-to-gimple.h, | |
15935 | graphite-dependences.c, graphite-poly.c, graphite-poly.h, | |
15936 | graphite-ppl.c, graphite-ppl.h, graphite-scop-detection.c, | |
15937 | graphite-sese-to-poly.c, graphite-sese-to-poly.h, ifcvt.c, intl.c, | |
15938 | intl.h, ipa.c, ipa-cp.c, ipa-inline.c, ipa-prop.c, ipa-prop.h, | |
15939 | ipa-pure-const.c, ipa-reference.c, ipa-type-escape.c, ira-color.c, | |
15940 | ira-conflicts.c, ira-lives.c, java/Make-lang.in, lambda-code.c, | |
15941 | loop-invariant.c, lto/Make-lang.in, lto-streamer.h, lto-streamer-in.c, | |
15942 | objc/Make-lang.in, objcp/Make-lang.in, omp-low.c, optc-gen.awk, | |
15943 | opt-functions.awk, opth-gen.awk, params.def, passes.c, | |
15944 | postreload-gcse.c, print-tree.c, recog.c, regrename.c, reload.h, | |
15945 | rtl.def, sched-int.h, sched-rgn.c, sel-sched-dump.c, sese.c, sese.h, | |
15946 | store-motion.c, stor-layout.c, tree-cfgcleanup.c, tree-chrec.c, | |
15947 | tree-complex.c, tree-data-ref.c, tree.def, tree-eh.c, tree-flow.h, | |
15948 | tree-flow-inline.h, tree.h, tree-loop-distribution.c, tree-outof-ssa.c, | |
15949 | tree-parloops.c, tree-pass.h, tree-predcom.c, tree-profile.c, | |
15950 | tree-scalar-evolution.c, tree-ssa-address.c, tree-ssa-alias.c, | |
15951 | tree-ssa-coalesce.c, tree-ssa-copy.c, tree-ssa-dce.c, tree-ssa-dom.c, | |
15952 | tree-ssa-dse.c, tree-ssa-loop-im.c, tree-ssa-loop-ivcanon.c, | |
15953 | tree-ssa-loop-manip.c, tree-ssa-math-opts.c, tree-ssa-operands.c, | |
15954 | tree-ssa-pre.c, tree-ssa-sccvn.c, tree-ssa-structalias.c, | |
15955 | tree-ssa-uncprop.c, tree-tailcall.c, tree-vect-data-refs.c, | |
15956 | tree-vect-loop.c, tree-vectorizer.h, tree-vect-slp.c, tree-vrp.c, | |
15957 | unwind-dw2-fde-darwin.c, varpool.c: Update copyright years. | |
15958 | ||
4d9e8446 RW |
15959 | 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
15960 | ||
15961 | PR other/43620 | |
15962 | * doc/install.texi (Prerequisites): Bump Automake version to 1.11.1. | |
15963 | * aclocal.m4: Regenerate. | |
15964 | ||
1cdaa211 RG |
15965 | 2010-04-02 Richard Guenther <rguenther@suse.de> |
15966 | ||
15967 | PR tree-optimization/43629 | |
15968 | * tree-ssa-ccp.c (likely_value): Reset all_undefined_operands | |
15969 | if we have seen a constant value. | |
15970 | ||
d33da5cd JM |
15971 | 2010-04-02 Joseph Myers <joseph@codesourcery.com> |
15972 | ||
014753cc | 15973 | * read-rtl.c (read_rtx_1): Give an error for EOF while looking for ']'. |
d33da5cd | 15974 | |
2e5505a4 RE |
15975 | 2010-04-02 Richard Earnshaw <rearnsha@arm.com> |
15976 | ||
15977 | PR target/43469 | |
d079b87f | 15978 | * arm.c (legitimize_tls_address): Adjust call to |
2e5505a4 RE |
15979 | gen_tls_load_dot_plus_four. |
15980 | (arm_note_pic_base): New function. | |
15981 | (arm_cannot_copy_insn_p): Use it. | |
15982 | * thumb2.md (tls_load_dot_plus_four): Rework to avoid use of '+' in | |
15983 | constraint. | |
15984 | ||
bdfbd9df RW |
15985 | 2010-04-02 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
15986 | ||
15987 | PR bootstrap/43531 | |
15988 | ||
15989 | Revert: | |
15990 | 2009-09-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> | |
15991 | ||
15992 | * Makefile.in ($(out_object_file)): Depend on | |
15993 | gt-$(basename $(notdir $(out_file))).h. | |
15994 | ||
f4a4b582 | 15995 | 2010-04-01 Ralf Corsépius <ralf.corsepius@rtems.org> |
2bc40daa | 15996 | |
014753cc | 15997 | * config.gcc (lm32-*-rtems*): Add t-lm32. |
2bc40daa | 15998 | |
f4a4b582 | 15999 | 2010-04-01 Joel Sherrill <joel.sherrill@oarcorp.com> |
2bc40daa | 16000 | |
014753cc UB |
16001 | * config.gcc: Add lm32-*-rtems*. |
16002 | * config/lm32/rtems.h: New file. | |
2bc40daa | 16003 | |
abfb38d7 DK |
16004 | 2010-04-01 Dave Korn <dave.korn.cygwin@gmail.com> |
16005 | ||
16006 | PR target/42609 | |
16007 | * config/i386/cygwin.h (CXX_WRAP_SPEC): Disable spec when -mno-cygwin. | |
16008 | ||
2f43d500 JJ |
16009 | 2010-04-01 Jakub Jelinek <jakub@redhat.com> |
16010 | ||
16011 | * dwarf2out.c (output_compilation_unit_header): For | |
16012 | -gdwarf-4 use version 4 instead of version 3. | |
16013 | (output_line_info): For version 4 and above emit additional | |
16014 | maximum ops per insn header field. | |
16015 | (DWARF_LINE_DEFAULT_MAX_OPS_PER_INSN): Define. | |
16016 | ||
16017 | * dwarf2out.c (is_c_family, is_java): Remove. | |
16018 | (lower_bound_default): New function. | |
16019 | (add_bound_info, gen_descr_array_type_die): Use it. | |
16020 | ||
777351a5 DS |
16021 | 2010-04-01 Dodji Seketeli <dodji@redhat.com> |
16022 | ||
16023 | PR debug/43325 | |
16024 | * dwarf2out.c (gen_variable_die): Allow debug info for variable | |
16025 | re-declaration when it happens in a function. | |
16026 | ||
6544865a AH |
16027 | 2010-04-01 Aldy Hernandez <aldyh@redhat.com> |
16028 | ||
16029 | * cgraph.c (cgraph_add_function_insertion_hook): Update comment. | |
16030 | (cgraph_remove_function_insertion_hook): Same. | |
16031 | (cgraph_call_function_insertion_hooks): Same. | |
16032 | ||
5e9fb3db RG |
16033 | 2010-04-01 Richard Guenther <rguenther@suse.de> |
16034 | ||
16035 | PR middle-end/43614 | |
16036 | * tree-ssa-address.c (copy_mem_ref_info): Copy TREE_SIDE_EFFECTS | |
16037 | and TREE_THIS_VOLATILE. | |
16038 | (copy_ref_info): Likewise. | |
16039 | * tree-ssa-operands.c (get_tmr_operands): Check TREE_THIS_VOLATILE. | |
16040 | * tree.c (build6_stat): Ignore side-effects of all but arg5 | |
16041 | for TARGET_MEM_REF. Set TREE_THIS_VOLATILE from arg5 of | |
16042 | TARGET_MEM_REF. | |
16043 | ||
eb258d7f RG |
16044 | 2010-04-01 Richard Guenther <rguenther@suse.de> |
16045 | ||
16046 | PR tree-optimization/43607 | |
16047 | * ipa-type-escape.c (check_call): Do not access non-existing | |
16048 | arguments. | |
16049 | ||
aa8bfcad RG |
16050 | 2010-04-01 Richard Guenther <rguenther@suse.de> |
16051 | ||
16052 | PR middle-end/43602 | |
16053 | Revert | |
f4a4b582 EB |
16054 | 2010-03-30 Seongbae Park <seongbae.park@gmail.com> |
16055 | Jack Howarth <howarth@bromo.med.uc.edu> | |
aa8bfcad RG |
16056 | |
16057 | * tree-profile.c (tree_init_ic_make_global_vars): Make static | |
16058 | variables TLS. | |
16059 | ||
8c5cfa89 RO |
16060 | 2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16061 | ||
16062 | * doc/install.texi (Prerequisites): Document libelf usability on | |
16063 | IRIX 5/6 and Solaris 2. | |
16064 | (Specific, i?86-*-solaris2.10): No 64-bit default configuration. | |
16065 | Update GNU as, GNU ld requirements. | |
16066 | (Specific, *-*-solaris2*): Document Solaris 7 obsoletion, removal. | |
16067 | Document Sun Studio compiler download. | |
16068 | Update and simplify as, ld recommendations. | |
16069 | (Specific, *-*-solaris2.7): Note obsoletion, removal. | |
16070 | ||
ddcc3550 RO |
16071 | 2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16072 | ||
9af27220 | 16073 | * config.gcc (i[34567]86-*-solaris2*): Default with_arch_32, |
ddcc3550 RO |
16074 | with_tune_32 to pentium4. |
16075 | ||
93234e58 UB |
16076 | 2010-04-01 Uros Bizjak <ubizjak@gmail.com> |
16077 | ||
16078 | * config/i386/cpuid.h (__get_cpuid_max): Move misplaced comment. | |
16079 | ||
ef369ad8 RO |
16080 | 2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16081 | ||
16082 | * doc/install.texi (Specific, mips-sgi-irix5): Document IRIX 5 | |
16083 | obsoletion, removal. | |
16084 | Update IDO URL. | |
16085 | Document GNU as requirement. | |
16086 | Update configure requirements. | |
014753cc | 16087 | (Specific, mips-sgi-irix6): Document IRIX 6 < 6.5 obsoletion, removal. |
ef369ad8 RO |
16088 | Recomment IRIX 6.5.18+. |
16089 | Document IDF/IDL requirement. | |
16090 | Document GNU as requirement. | |
16091 | Document GNU ld bootstrap failure. | |
16092 | Remove freeware.sgi.com reference. | |
16093 | ||
92d80770 RO |
16094 | 2010-04-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16095 | ||
16096 | * doc/install.texi (Specific, alpha*-dec-osf*): Document Tru64 | |
16097 | UNIX V4.0, V5.0 obsoletion, removal. | |
16098 | Remove --with-gc=simple reference. | |
16099 | Update VM requirements during bootstrap. | |
16100 | Remove -oldas bootstrap description. | |
16101 | Update binutils reference. | |
16102 | Remove comparison failure note. | |
16103 | ||
25d635d9 SP |
16104 | 2010-03-31 Richard Guenther <rguenther@suse.de> |
16105 | Zdenek Dvorak <ook@ucw.cz> | |
16106 | Sebastian Pop <sebastian.pop@amd.com> | |
16107 | ||
16108 | PR middle-end/43464 | |
16109 | * tree-ssa-copy.c (init_copy_prop): Handle loop close phi nodes | |
16110 | with multiple arguments. | |
16111 | (execute_copy_prop): Remove call to rewrite_into_loop_closed_ssa. | |
16112 | ||
16113 | 2010-03-31 Sebastian Pop <sebastian.pop@amd.com> | |
16114 | ||
16115 | * graphite-dependences.c (print_pddr): Call print_pdr with an | |
16116 | extra argument. | |
16117 | * graphite-poly.c (debug_pdr): Add an extra argument for the | |
16118 | verbosity level. | |
16119 | (print_pdr): Same. | |
16120 | (print_pbb_domain): Same. | |
16121 | (print_pbb): Same. | |
16122 | (print_scop_context): Same. | |
16123 | (print_scop): Same. | |
16124 | (print_cloog): Same. | |
16125 | (debug_pbb_domain): Same. | |
16126 | (debug_pbb): Same. | |
16127 | (print_pdrs): Same. | |
16128 | (debug_pdrs): Same. | |
16129 | (debug_scop_context): Same. | |
16130 | (debug_scop): Same. | |
16131 | (debug_cloog): Same. | |
16132 | (print_scop_params): Same. | |
16133 | (debug_scop_params): Same. | |
16134 | (print_iteration_domain): Same. | |
16135 | (print_iteration_domains): Same. | |
16136 | (debug_iteration_domain): Same. | |
16137 | (debug_iteration_domains): Same. | |
16138 | (print_scattering_function): Same. | |
16139 | (print_scattering_functions): Same. | |
16140 | (debug_scattering_function): Same. | |
16141 | (debug_scattering_functions): Same. | |
16142 | * graphite-poly.h (debug_pdr): Update declaration. | |
16143 | (print_pdr): Same. | |
16144 | (print_pbb_domain): Same. | |
16145 | (print_pbb): Same. | |
16146 | (print_scop_context): Same. | |
16147 | (print_scop): Same. | |
16148 | (print_cloog): Same. | |
16149 | (debug_pbb_domain): Same. | |
16150 | (debug_pbb): Same. | |
16151 | (print_pdrs): Same. | |
16152 | (debug_pdrs): Same. | |
16153 | (debug_scop_context): Same. | |
16154 | (debug_scop): Same. | |
16155 | (debug_cloog): Same. | |
16156 | (print_scop_params): Same. | |
16157 | (debug_scop_params): Same. | |
16158 | (print_iteration_domain): Same. | |
16159 | (print_iteration_domains): Same. | |
16160 | (debug_iteration_domain): Same. | |
16161 | (debug_iteration_domains): Same. | |
16162 | (print_scattering_function): Same. | |
16163 | (print_scattering_functions): Same. | |
16164 | (debug_scattering_function): Same. | |
16165 | (debug_scattering_functions): Same. | |
16166 | ||
16167 | 2010-03-31 Sebastian Pop <sebastian.pop@amd.com> | |
16168 | ||
16169 | * graphite-poly.c (print_scattering_function_1): New. | |
16170 | (print_scattering_function): Call it. | |
16171 | (print_scop_params): Remove spaces at the end of lines. | |
16172 | (print_cloog): New. | |
16173 | (debug_cloog): New. | |
16174 | * graphite-poly.h (print_cloog): Declared. | |
16175 | (debug_cloog): Declared. | |
16176 | ||
16177 | 2010-03-31 Sebastian Pop <sebastian.pop@amd.com> | |
16178 | ||
16179 | * graphite-sese-to-poly.c (graphite_loop_normal_form): Add the IV bump | |
16180 | in loop->header. | |
16181 | * tree-flow.h (canonicalize_loop_ivs): Updated declaration. | |
16182 | * tree-parloops.c (gen_parallel_loop): Add the IV bump in loop->latch. | |
16183 | * tree-ssa-loop-manip.c (canonicalize_loop_ivs): Add a new parameter | |
16184 | to switch between adding the IV bump in loop->latch or in loop->header. | |
16185 | ||
16186 | 2010-03-31 Sebastian Pop <sebastian.pop@amd.com> | |
16187 | ||
16188 | * graphite-poly.c (print_scattering_function): Pretty print following | |
16189 | the scoplib format. | |
16190 | (print_pdr): Same. | |
16191 | (print_pbb_domain): Same. | |
16192 | (dump_gbb_cases): Same. | |
16193 | (dump_gbb_conditions): Same. | |
16194 | (print_pdrs): Same. | |
16195 | (print_pbb): Same. | |
16196 | (print_scop_params): Same. | |
16197 | (print_scop_context): Same. | |
16198 | (print_scop): Same. | |
16199 | (print_pbb_body): New. | |
16200 | (lst_indent_to): New. | |
16201 | (print_lst): Start new lines with a #. | |
16202 | * graphite-poly.h (pbb_bb): New. | |
16203 | (pbb_index): Use pbb_bb. | |
16204 | * graphite-ppl.c (ppl_print_powerset_matrix): Print the number of | |
16205 | disjuncts. | |
16206 | * tree-data-ref.c (dump_data_reference): Start new lines with a #. | |
16207 | ||
2080bd29 JJ |
16208 | 2010-03-31 Jakub Jelinek <jakub@redhat.com> |
16209 | ||
290d8971 JJ |
16210 | * dwarf2out.c (size_of_die): For -gdwarf-4 use |
16211 | uleb128 size instead of fixed 1 or 2 for dw_val_class_loc | |
16212 | and 0 instead of 1 for dw_val_class_flag. | |
16213 | (value_format): For -gdwarf-4 use DW_FORM_sec_offset for | |
16214 | dw_val_class_range_list, dw_val_class_loc_list, | |
16215 | dw_val_class_lineptr and dw_val_class_macptr, use | |
16216 | DW_FORM_flag_present for dw_val_class_flag and | |
16217 | DW_FORM_exprloc for dw_val_class_loc. | |
16218 | (output_die): For -gdwarf-4 print dw_val_class_loc | |
16219 | size as uleb128 instead of 1 or 2 bytes and don't print | |
16220 | anything for dw_val_class_flag. | |
16221 | ||
109f4af3 JJ |
16222 | * var-tracking.c (vt_init_cfa_base): Use cselib_lookup_from_insn |
16223 | instead of cselib_lookup following by tweaking locs->setting_insn. | |
16224 | ||
2080bd29 JJ |
16225 | PR bootstrap/43596 |
16226 | * cselib.c (cselib_process_insn): Clear cselib_current_insn | |
16227 | even before returning from label, setjmp call or volatile asm | |
16228 | handling. | |
16229 | ||
33283dad RG |
16230 | 2010-03-31 Richard Guenther <rguenther@suse.de> |
16231 | ||
16232 | PR middle-end/43600 | |
16233 | * cgraphunit.c (cgraph_output_in_order): Do not allocate | |
16234 | temporary data on stack. | |
16235 | ||
a0c21029 RO |
16236 | 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16237 | ||
16238 | * config/sparc/sysv4.h (PUSHSECTION_FORMAT): Remove undef. | |
16239 | (PUSHSECTION_ASM_OP): Remove. | |
16240 | (POPSECTION_ASM_OP): Remove. | |
16241 | (PUSHSECTION_FORMAT): Remove. | |
16242 | * config/sol2.h (PUSHSECTION_FORMAT): Define. | |
16243 | * config/sparc/sol2.h [!USE_GAS] (PUSHSECTION_FORMAT): Redefine. | |
16244 | * config/sol2.c (solaris_output_init_fini): Use it. | |
16245 | ||
a3f410a2 JZ |
16246 | 2010-03-31 Jie Zhang <jie@codesourcery.com> |
16247 | ||
16248 | PR 43574 | |
16249 | * opt-functions.awk (var_type_struct): Use signed char type | |
16250 | for simple variables. | |
16251 | ||
f0c01ffd RO |
16252 | 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16253 | ||
16254 | * config/sol2.c: Include output.h. | |
16255 | (solaris_assemble_visibility): New function. | |
16256 | * config/t-sol2 (sol2.o): Add output.h dependency. | |
16257 | * config/sol2-protos.h (solaris_assemble_visibility): Declare. | |
16258 | * config/sol2.h [!USE_GAS] (TARGET_ASM_ASSEMBLE_VISIBILITY): | |
16259 | Redefine. | |
16260 | ||
132b4e82 JJ |
16261 | 2010-03-31 Jakub Jelinek <jakub@redhat.com> |
16262 | ||
d8d55ac0 JJ |
16263 | PR target/43580 |
16264 | * config/arm/arm.c (arm_save_coproc_regs): Use Pmode instead of | |
16265 | V2SImode or XFmode on PRE_DEC. | |
16266 | ||
132b4e82 JJ |
16267 | PR debug/43557 |
16268 | * cfgexpand.c (expand_debug_expr): Handle VOIDmode mode like | |
16269 | BLKmode. | |
16270 | ||
dc12b70e JZ |
16271 | 2010-03-31 Jie Zhang <jie@codesourcery.com> |
16272 | ||
16273 | PR 43562 | |
16274 | * reload.h (caller_save_initialized_p): Declare. | |
16275 | * toplev.c (backend_init_target): Don't call | |
93234e58 | 16276 | init_caller_save but set caller_save_initialized_p to false. |
dc12b70e JZ |
16277 | * caller-save.c (caller_save_initialized_p): Define. |
16278 | (init_caller_save): Check caller_save_initialized_p. | |
16279 | * ira.c (ira): Call init_caller_save if flag_caller_saves. | |
16280 | ||
4a2f22ff RO |
16281 | 2010-03-31 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16282 | ||
16283 | PR target/39048 | |
16284 | * config.gcc (i[34567]86-*-solaris2*): Add i386/t-fprules-softfp | |
16285 | and soft-fp/t-softfp to tmake_file. | |
16286 | * config/i386/sol2.h (LIBGCC2_HAS_TF_MODE): Redefine. | |
16287 | (LIBGCC2_TF_CEXT): Define. | |
16288 | (TF_SIZE): Define. | |
16289 | ||
5847e8da AO |
16290 | 2010-03-30 Alexandre Oliva <aoliva@redhat.com> |
16291 | ||
16292 | PR debug/42977 | |
16293 | * cselib.c (n_useless_values): Document handling of debug locs. | |
16294 | (n_useless_debug_values, n_debug_values): New variables. | |
16295 | (new_elt_loc_list): Don't add to debug values, keep count. | |
16296 | (promote_debug_loc): New. | |
16297 | (cselib_reset_table): Zero new variables. | |
16298 | (entry_and_rtx_equal_p): Promote debug locs. | |
16299 | (discard_useless_locs): Increment n_useless_debug_values for | |
16300 | debug values. | |
16301 | (remove_useless_values): Adjust n_useless_values and n_debug_values | |
16302 | with n_useless_debug_values. | |
16303 | (add_mem_for_addr): Promote debug locs. | |
16304 | (cselib_lookup_mem): Likewise. | |
16305 | (cselib_lookup_addr): Renamed to... | |
93234e58 | 16306 | (cselib_lookup_addr_1): ... this. Promote debug locs. Don't call... |
5847e8da AO |
16307 | (cselib_log_lookup): ... this. Turn into... |
16308 | (cselib_lookup_addr): ... new wrapper. | |
16309 | (cselib_lookup_from_insn): New. | |
16310 | (cselib_invalidate_regno): Increment n_useless_debug_values for | |
16311 | debug values. | |
16312 | (cselib_invalidate_mem): Likewise. | |
16313 | (cselib_process_insn): Take n_deleted and n_debug_values into | |
16314 | account to guard remove_useless_value call. | |
16315 | (cselib_finish): Zero n_useless_debug_values. | |
16316 | * cselib.h (cselib_lookup_from_insn): Declare. | |
16317 | * sched-deps.c (sched_analyze_1): Use cselib_lookup_from_insn. | |
16318 | (sched_analyze_2): Likewise. | |
16319 | ||
03a5f060 JJ |
16320 | 2010-03-30 Jakub Jelinek <jakub@redhat.com> |
16321 | ||
e9e00885 JJ |
16322 | * var-tracking.c (use_narrower_mode_test, use_narrower_mode): New |
16323 | functions. | |
16324 | (adjust_mems): Replace narrowing SUBREG of expression containing | |
16325 | just PLUS, MINUS, MULT and ASHIFT of registers and constants | |
16326 | with operations in the narrower mode. | |
16327 | ||
03a5f060 | 16328 | PR debug/43593 |
93234e58 UB |
16329 | * var-tracking.c (dataflow_set_clear_at_call): Invalidate just |
16330 | regs_invalidated_by_call instead all call_used_reg_set registers. | |
03a5f060 | 16331 | |
8533c9d8 SP |
16332 | 2010-03-30 Sebastian Pop <sebastian.pop@amd.com> |
16333 | ||
16334 | PR middle-end/43430 | |
16335 | * tree-vect-slp.c (vect_get_and_check_slp_defs): Replace type | |
16336 | pointer comparisons with types_compatible_p. | |
16337 | * tree-vect-stmts.c (vectorizable_call): Same. | |
16338 | (vectorizable_condition): Same. | |
16339 | ||
a3e7e012 AK |
16340 | 2010-03-30 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
16341 | ||
16342 | * config/s390/s390.c (s390_emit_prologue): Omit issuing a dynamic | |
16343 | stack check if the mask would be zero. | |
16344 | ||
f4a4b582 EB |
16345 | 2010-03-30 Seongbae Park <seongbae.park@gmail.com> |
16346 | Jack Howarth <howarth@bromo.med.uc.edu> | |
40ae6799 SP |
16347 | |
16348 | * tree-profile.c (tree_init_ic_make_global_vars): Make static | |
16349 | variables TLS. | |
16350 | ||
2bcba94b JM |
16351 | 2010-03-30 Joseph Myers <joseph@codesourcery.com> |
16352 | ||
16353 | PR other/25232 | |
16354 | * libgcc-std.ver (GCC_4.5.0): Define version. Include __unordxf2 | |
16355 | and __unordtf2. | |
16356 | * config/bfin/libgcc-bfin.ver (GCC_4.5.0): Define version. | |
16357 | Include ___unordxf2 and ___unordtf2. | |
16358 | * config/i386/libgcc-glibc.ver: Do not define inheritance from | |
16359 | GCC_4.4.0 here. | |
16360 | ||
15baf7f8 TG |
16361 | 2010-03-30 Tarik Graba <tarik.graba@telecom-paristech.fr> |
16362 | ||
16363 | * config/lm32/t-lm32: New file. | |
16364 | * config.gcc: Use the above file when targetting lm32. | |
16365 | ||
fba48836 DS |
16366 | 2010-03-28 Duncan Sands <baldrick@free.fr> |
16367 | ||
93234e58 | 16368 | * Makefile.in (PLUGIN_HEADERS): Add except.h. |
fba48836 | 16369 | |
49a71bc8 SP |
16370 | 2010-03-29 Sebastian Pop <sebastian.pop@amd.com> |
16371 | ||
16372 | PR middle-end/43431 | |
16373 | * tree-vect-loop.c (vect_estimate_min_profitable_iters): | |
16374 | Improve vectorization cost model diagnostic. | |
16375 | ||
22a8be9e SP |
16376 | 2010-03-29 Sebastian Pop <sebastian.pop@amd.com> |
16377 | ||
16378 | PR middle-end/43436 | |
16379 | * tree-vect-data-refs.c (vect_analyze_data_refs): When | |
16380 | compute_data_dependences_for_loop returns false, early exit | |
16381 | and output an extra diagnostic for the failed data reference | |
16382 | analysis. | |
16383 | ||
58adb739 RG |
16384 | 2010-03-29 Richard Guenther <rguenther@suse.de> |
16385 | ||
16386 | PR tree-optimization/43560 | |
93234e58 UB |
16387 | * tree-ssa-loop-im.c (ref_always_accessed_p): Add store_p parameter. |
16388 | (can_sm_ref_p): Treat stores to readonly locations as trapping. | |
58adb739 | 16389 | |
3b34d92c JZ |
16390 | 2010-03-29 Jie Zhang <jie@codesourcery.com> |
16391 | ||
16392 | PR 43564 | |
16393 | * toplev.c (process_options): Set optimization_default_node | |
16394 | and optimization_current_node. | |
16395 | * opts.c (decode_options): Don't set optimization_default_node | |
16396 | and optimization_current_node. | |
16397 | ||
090f6087 RC |
16398 | 2010-03-29 Ralf Corsépius <ralf.corsepius@rtems.org> |
16399 | ||
16400 | * config/rtems.h: Abandon -qrtems_debug. | |
16401 | ||
88cc1e04 JH |
16402 | 2010-03-28 Jan Hubicka <jh@suse.cz> |
16403 | ||
16404 | PR tree-optimization/43505 | |
16405 | * cgraph.c (cgraph_clone_node): When clonning a clone, replacement | |
16406 | map should not be copied. | |
16407 | ||
b932b8b1 JDA |
16408 | 2010-03-27 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16409 | ||
16410 | PR middle-end/41674 | |
16411 | * cgraphunit.c (cgraph_build_static_cdtor): If target doesn't have | |
16412 | cdtors, set DECL_PRESERVE_P. | |
16413 | * ipa.c (cgraph_externally_visible_p): Return true if declaration | |
16414 | should be preseved. | |
16415 | ||
fb6807b8 UB |
16416 | 2010-03-27 Uros Bizjak <ubizjak@gmail.com> |
16417 | ||
16418 | PR tree-optimization/43528 | |
16419 | * stor-layout.c (place_field): Check that constant fits into | |
16420 | unsigned HWI when skipping calculation of MS bitfield layout. | |
16421 | ||
a9deb256 JH |
16422 | 2010-03-27 Jan Hubicka <jh@suse.cz> |
16423 | ||
16424 | PR middle-end/43391 | |
16425 | * varasm.c (make_decl_rtl): Deal with COMMON flag to make | |
16426 | notice_global_symbol work. | |
16427 | ||
5a9c8a1b JJ |
16428 | 2010-03-27 Jakub Jelinek <jakub@redhat.com> |
16429 | ||
16430 | * dwarf2out.c (dwarf2_debug_hooks): Use dwarf2out_function_decl | |
16431 | instead of dwarf2out_decl. | |
16432 | (struct var_loc_node): Remove section_label field. | |
16433 | (dwarf2out_function_decl): New function. | |
16434 | (dwarf2out_var_location): Don't set section_label field. | |
16435 | (dwarf2out_begin_function): Don't empty decl_loc_table here. | |
16436 | ||
62f7fd21 MM |
16437 | 2010-03-26 Michael Meissner <meissner@linux.vnet.ibm.com> |
16438 | ||
16439 | PR tree-optimization/43544 | |
16440 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): | |
16441 | First argument for builtin vectorized function hook is now a | |
16442 | tree to be able to distinguish between machine specific and | |
16443 | standard builtins. | |
16444 | * targhooks.c (default_builtin_vectorized_function): Ditto. | |
16445 | * targhooks.h (default_builtin_vectorized_function): Ditto. | |
16446 | * target.h (struct gcc_target): Ditto. | |
16447 | * tree-vect-stmts.c (vectorizable_function): Ditto. | |
16448 | * config/i386/i386.c (ix86_builtin_vectorized_function): Ditto. | |
16449 | * config/rs6000/rs6000.c (rs6000_builtin_vectorized_function): | |
16450 | Ditto. | |
16451 | ||
10e76c1a JM |
16452 | 2010-03-26 Joseph Myers <joseph@codesourcery.com> |
16453 | ||
16454 | PR c/43381 | |
16455 | * c-decl.c (get_parm_info): Assert that decl going in OTHERS has a | |
16456 | nested binding iff it is a FUNCTION_DECL. | |
16457 | (store_parm_decls_newstyle): Pass nested=true to bind for | |
16458 | FUNCTION_DECLs amongst parameters. | |
16459 | ||
89245ef2 JJ |
16460 | 2010-03-26 Jakub Jelinek <jakub@redhat.com> |
16461 | ||
2155f963 JJ |
16462 | * var-tracking.c (vt_expand_loc_callback): Don't run |
16463 | cselib_expand_value_rtx_cb in dummy mode if | |
16464 | cselib_dummy_expand_value_rtx_cb returned false. | |
16465 | ||
e80691a0 JJ |
16466 | * var-tracking.c (emit_note_insn_var_location): For one part |
16467 | notes with offset 0, don't add EXPR_LIST around the location. | |
16468 | * dwarf2out.c (loc_descriptor, dw_loc_list_1, | |
16469 | add_location_or_const_value_attribute): Adjust for that change. | |
16470 | ||
89245ef2 JJ |
16471 | PR debug/43540 |
16472 | * dwarf2out.c (reg_save): For DW_CFA_expression put regnum | |
16473 | into first operand and location into second. | |
16474 | (dw_cfi_oprnd1_desc): Return dw_cfi_oprnd_reg_num instead of | |
16475 | dw_cfi_oprnd_loc for DW_CFA_expression. | |
16476 | (dw_cfi_oprnd2_desc): Return dw_cfi_oprnd_loc for DW_CFA_expression. | |
16477 | (output_cfa_loc, output_cfa_loc_raw): For DW_CFA_expression | |
16478 | assume first argument is regnum and second argument is location. | |
16479 | ||
c5e43cc4 UB |
16480 | 2010-03-26 Uros Bizjak <ubizjak@gmail.com> |
16481 | ||
16482 | PR target/42113 | |
16483 | * config/alpha/alpha.md (*cmp_sadd_si): Change mode | |
16484 | of scratch register to DImode. Split to DImode comparison operator. | |
16485 | Use SImode subreg of scratch register in the multiplication. | |
16486 | (*cmp_sadd_sidi): Ditto. | |
16487 | (*cmp_ssub_si): Ditto. | |
16488 | (*cmp_ssub_sidi): Ditto. | |
16489 | ||
fb04bb84 UB |
16490 | 2010-03-26 Uros Bizjak <ubizjak@gmail.com> |
16491 | ||
16492 | PR target/43524 | |
16493 | * config/i386/i386.c (ix86_expand_prologue) [TARGET_STACK_PROBE]: | |
16494 | Remove invalid assert and wrong comment. | |
16495 | ||
6ca5d1f6 JJ |
16496 | 2010-03-26 Jakub Jelinek <jakub@redhat.com> |
16497 | ||
16498 | PR debug/43516 | |
16499 | * flags.h (final_insns_dump_p): New extern. | |
16500 | * final.c (final_insns_dump_p): New variable. | |
16501 | (rest_of_clean_state): Set it before -fdump-final-insns= | |
16502 | dumping, clear afterwards. | |
16503 | * print-rtl.c (print_rtx): If final_insns_dump_p don't dump | |
16504 | MEM_ALIAS_SET on MEMs. | |
16505 | ||
46bc665f DM |
16506 | 2010-03-26 David S. Miller <davem@davemloft.net> |
16507 | ||
16508 | * configure.ac: Fix sparc GOTDATA_OP bug check. | |
16509 | * configure: Rebuild. | |
16510 | ||
9fa195b8 AM |
16511 | 2010-03-26 Alan Modra <amodra@gmail.com> |
16512 | ||
16513 | * config/rs6000/rs6000.md (cmptf_internal2): Correct comparison. | |
16514 | ||
9b7e6950 RO |
16515 | 2010-03-25 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16516 | ||
16517 | * doc/tm.texi (Sections): Document TLS_COMMON_ASM_OP, | |
16518 | TLS_SECTION_ASM_FLAG. | |
16519 | ||
d53c73e0 JJ |
16520 | 2010-03-25 Jakub Jelinek <jakub@redhat.com> |
16521 | ||
935ec2c9 JJ |
16522 | PR bootstrap/43511 |
16523 | * config/i386/i386.c (ix86_code_end): Set DECL_WEAK if TARGET_MACHO. | |
16524 | Clear first_function_block_is_cold. | |
16525 | ||
d53c73e0 JJ |
16526 | PR c/43385 |
16527 | * gimplify.c (gimple_boolify): Only recurse on __builtin_expect | |
16528 | argument if the argument is truth_value_p. | |
16529 | ||
871c9abb MM |
16530 | 2010-03-24 Michael Meissner <meissner@linux.vnet.ibm.com> |
16531 | ||
fb04bb84 | 16532 | * config/rs6000/constraints.md: Update copyright year for my changes. |
94ad7adc | 16533 | |
871c9abb MM |
16534 | PR target/43484 |
16535 | * config/rs6000/rs6000.c (rs6000_split_multireg_move): If r0 is | |
16536 | used in reg+reg addressing, swap registers. | |
16537 | ||
81ef7e24 JJ |
16538 | 2010-03-24 Jakub Jelinek <jakub@redhat.com> |
16539 | ||
6d217c32 JJ |
16540 | PR debug/43293 |
16541 | * target.h (struct gcc_target): Add code_end hook. | |
16542 | * target-def.h (TARGET_ASM_CODE_END): Define to hook_void_void | |
16543 | if not yet defined. | |
16544 | (TARGET_ASM_OUT): Add TARGET_ASM_CODE_END. | |
16545 | * toplev.c (compile_file): Call targetm.asm_out.code_end | |
16546 | hook before unwind info/debug info output. | |
16547 | * config/i386/winnt.c (i386_pe_file_end): Don't call ix86_file_end. | |
16548 | * config/i386/linux.h (NEED_INDICATE_EXEC_STACK): Don't define. | |
16549 | (TARGET_ASM_FILE_END): Define to file_end_indicate_exec_stack. | |
16550 | * config/i386/linux64.h (NEED_INDICATE_EXEC_STACK): Don't define. | |
16551 | (TARGET_ASM_FILE_END): Define to file_end_indicate_exec_stack. | |
16552 | * config/i386/i386.c (ix86_file_end): Renamed to... | |
16553 | (ix86_code_end): ... this. Make static. Don't call | |
16554 | file_end_indicate_exec_stack. Emit unwind info using | |
16555 | final_start_function/final_end_function. | |
16556 | (darwin_x86_file_end): Remove. | |
16557 | (TARGET_ASM_CODE_END): Define. | |
16558 | * config/i386/i386.h (TARGET_ASM_FILE_END, | |
16559 | NEED_INDICATE_EXEC_STACK): Don't define. | |
16560 | * config/i386/darwin.h (darwin_x86_file_end): Remove prototype. | |
16561 | (TARGET_ASM_FILE_END): Define to darwin_file_end. | |
16562 | * config/i386/i386-protos.h (ix86_file_end): Remove prototype. | |
16563 | * doc/tm.texi (TARGET_ASM_CODE_END): Document. | |
16564 | ||
81ef7e24 JJ |
16565 | PR target/43498 |
16566 | * config/i386/i386.c (x86_output_mi_thunk): Call final_start_function | |
16567 | at the beginning and final_end_function at the end. | |
16568 | * config/s390/s390.c (s390_output_mi_thunk): Likewise. | |
16569 | ||
f1c26cad RO |
16570 | 2010-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16571 | ||
16572 | * configure.ac (i[34567]86-*-*): Handle Solaris 2/x86 TLS support | |
16573 | and Sun as TLS syntax. | |
16574 | (TLS_SECTION_ASM_FLAG) [on_solaris && !gas_flag]: Define. | |
16575 | * configure: Regenerate. | |
16576 | * config.in: Regenerate. | |
16577 | * varasm.c (TLS_SECTION_ASM_FLAG): Define default. | |
16578 | (default_elf_asm_named_section): Use it. | |
16579 | * config/i386/i386.c (output_pic_addr_const): Lowercase @DTPOFF. | |
16580 | (i386_output_dwarf_dtprel): Likewise. | |
16581 | (output_addr_const_extra): Likewise. | |
16582 | (output_pic_addr_const): Lowercase @GOTTPOFF. | |
16583 | (output_addr_const_extra): Likewise. | |
16584 | (output_pic_addr_const): Lowercase @GOTNTPOFF. | |
16585 | (output_addr_const_extra): Likewise. | |
16586 | (output_pic_addr_const): Lowercase @INDNTPOFF. | |
16587 | (output_addr_const_extra): Likewise. | |
16588 | (output_pic_addr_const): Lowercase @NTPOFF. | |
16589 | (output_addr_const_extra): Likewise. | |
16590 | (output_pic_addr_const): Lowercase @TPOFF. | |
16591 | (output_addr_const_extra): Likewise. | |
fb04bb84 | 16592 | * config/i386/i386.md (*tls_global_dynamic_32_gnu): Lowercase @TLSGD. |
f1c26cad RO |
16593 | (*tls_global_dynamic_64): Likewise. |
16594 | (*tls_local_dynamic_base_32_gnu): Lowercase @TLSLDM. | |
16595 | (*tls_local_dynamic_base_64): Lowercase @TLSLD. | |
16596 | ||
16597 | * defaults.h (TLS_COMMON_ASM_OP): Provide default. | |
16598 | (ASM_OUTPUT_TLS_COMMON): Use it. | |
16599 | * config/i386/sol2-gas.h (TLS_COMMON_ASM_OP): Undef. | |
16600 | ||
16601 | PR target/38118 | |
fb04bb84 | 16602 | * config.gcc (sparc*-*-solaris2*) [$gas=yes]: Add usegas.h to tm_file. |
f1c26cad RO |
16603 | * config/sparc/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Move ... |
16604 | * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): ... here. | |
16605 | * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Redefine. | |
16606 | * config/i386/sol2.h (TARGET_SUN_TLS): Redefine. | |
16607 | (ASM_DECLARE_OBJECT_NAME) [!USE_GAS]: Redefine. | |
16608 | ||
d2af65b9 RO |
16609 | 2010-03-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16610 | ||
16611 | * config/i386/i386.c (override_options): Don't accept | |
16612 | -mtls-dialect=sun any longer. | |
16613 | * config/i386/i386.h (TARGET_SUN_TLS): Define as 0. | |
16614 | * config/i386/i386.md (*tls_global_dynamic_32_sun): Remove. | |
16615 | (*tls_local_dynamic_base_32_sun): Likewise. | |
16616 | * config/i386/sol2.h (TARGET_SUN_TLS): Redefine. | |
16617 | ||
d0ed412a JJ |
16618 | 2010-03-24 Jakub Jelinek <jakub@redhat.com> |
16619 | ||
1db0ea00 JJ |
16620 | PR debug/43508 |
16621 | * dwarf2out.c (mem_loc_descriptor): Don't ICE on | |
16622 | VEC_{MERGE,SELECT,CONCAT,DUPLICATE}. | |
16623 | ||
3a6191b1 JJ |
16624 | PR debug/43479 |
16625 | * ira.c (adjust_cleared_regs): New function. | |
16626 | (update_equiv_regs): Adjust cleared_regs in DEBUG_INSNs. | |
16627 | ||
d0ed412a JJ |
16628 | PR debug/19192 |
16629 | PR debug/43479 | |
16630 | * cfgexpand.c (gimple_assign_rhs_to_tree): Also set TREE_BLOCK | |
16631 | from gimple_block. | |
16632 | * expr.c (expand_expr_real): Restore previous | |
16633 | curr_insn_source_location and curr_insn_block after | |
16634 | expand_expr_real_1 call. | |
16635 | (expand_expr_real_1) <case SSA_NAME>: Call expand_expr_real | |
16636 | instead of expand_expr_real_1. | |
16637 | ||
478ab26d VM |
16638 | 2010-03-23 Vladimir Makarov <vmakarov@redhat.com> |
16639 | ||
16640 | PR rtl-optimization/43413 | |
16641 | * ira-color.c (setup_allocno_available_regs_num): Count prohibited | |
16642 | hard regs too. | |
16643 | ||
67b476d1 JW |
16644 | 2010-03-22 James E. Wilson <wilson@codesourcery.com> |
16645 | ||
16646 | PR target/43348 | |
16647 | * ia64.md (call_nogp, call_value_nogp, sibcall_nogp, call_gp, | |
fb04bb84 | 16648 | call_value_gp, sibcall_gp): Use 's' constraint not 'i'. |
67b476d1 | 16649 | |
99eaa2e7 L |
16650 | 2010-03-22 H.J. Lu <hongjiu.lu@intel.com> |
16651 | ||
fb04bb84 UB |
16652 | * config/i386/i386.c (ix86_target_string): Add -mfma. |
16653 | Fix a typo in comment. | |
99eaa2e7 | 16654 | |
212066e6 MS |
16655 | 2010-03-22 Mike Stump <mikestump@comcast.net> |
16656 | ||
16657 | PR target/23071 | |
16658 | * config/rs6000/rs6000.c (darwin_rs6000_special_round_type_align): | |
16659 | Don't overly align based upon packed packed fields. | |
16660 | ||
ce30e6fd JM |
16661 | 2010-03-22 Jason Merrill <jason@redhat.com> |
16662 | ||
16663 | * c-pretty-print.c (pp_c_specifier_qualifier_list) [VECTOR_TYPE]: | |
16664 | Use () rather than [], and move before the element type. | |
16665 | ||
3a1ef68a RO |
16666 | 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16667 | ||
16668 | * doc/configfiles.texi (Configuration Files): Removed | |
16669 | fixinc/Makefile*, intl/Makefile.*. | |
fb04bb84 UB |
16670 | * doc/makefile.texi: Fixed markup. Abstract from version |
16671 | control system used. | |
3a1ef68a RO |
16672 | (Makefile): Removed obsolete gcc/java/parse.y example. |
16673 | * doc/sourcebuild.texi: Likewise. | |
16674 | (Top Level): Added config, gnattools, libdecnumber, libgcc, | |
fb04bb84 | 16675 | libgomp, libssp. Removed fastjar. |
3a1ef68a RO |
16676 | (Miscellaneous Docs): Clarify location. |
16677 | Added COPYING3, COPYING3.LIB. | |
fb04bb84 | 16678 | (Front End Directory): Moved Make-lang.in entry to new subsubsection. |
3a1ef68a | 16679 | |
7f5441df RO |
16680 | 2010-03-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
16681 | ||
16682 | PR target/38085 | |
16683 | * config/i386/i386.c (x86_function_profiler) | |
16684 | [!NO_PROFILE_COUNTERS]: Fix typo. | |
16685 | * config/i386/gmon-sol2.c (_mcleanup) [__x86_64__]: Use call | |
16686 | instead of callq. | |
16687 | ||
d4f3924a | 16688 | 2010-03-22 Janis Johnson <janis187@us.ibm.com> |
f4a4b582 | 16689 | Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
d4f3924a JJ |
16690 | |
16691 | * doc/sourcebuild.texi (Test Directives): Split into six | |
16692 | subsections, with most of the current text in new subsections | |
16693 | Directives, Selectors, and Final Actions. | |
16694 | (Directives): Split list of test directives into multiple | |
16695 | subsubsections. | |
16696 | (Selectors): Describe use and syntax of selectors. | |
16697 | (Effective-Target Keywords): Describe all existing keywords. | |
16698 | (Add Options): Describe features for dg-add-options. | |
16699 | (Require Support): Describe variants of dg-require-support. | |
16700 | (Final Actions): Describe commands to use in dg-final. | |
16701 | ||
047550e9 MM |
16702 | 2010-03-22 Michael Matz <matz@suse.de> |
16703 | ||
16704 | PR middle-end/43475 | |
16705 | * recog.c (validate_replace_rtx_group): Replace also in | |
16706 | REG_EQUAL and REG_EQUIV notes. | |
16707 | ||
6d7971b8 RG |
16708 | 2010-03-22 Richard Guenther <rguenther@suse.de> |
16709 | ||
16710 | PR tree-optimization/43390 | |
16711 | * tree-vect-stmts.c (get_vectype_for_scalar_type): Make | |
16712 | sure vector extracts are type correct. | |
16713 | ||
6af84c85 RG |
16714 | 2010-03-22 Richard Guenther <rguenther@suse.de> |
16715 | ||
16716 | PR middle-end/40106 | |
16717 | * builtins.c (expand_builtin_pow): Expand pow (x, 1.5) as | |
16718 | x * sqrt (x) even when optimizing for size if the target | |
16719 | has native support for sqrt. | |
16720 | ||
539eb459 JJ |
16721 | 2010-03-22 Jakub Jelinek <jakub@redhat.com> |
16722 | ||
be36dd85 JJ |
16723 | * varasm.c (make_decl_rtl_for_debug): Also clear |
16724 | flag_mudflap for the duration of make_decl_rtl call. | |
16725 | ||
539eb459 JJ |
16726 | PR debug/43443 |
16727 | * var-tracking.c (add_cselib_value_chains): Remove ASM_OPERANDS | |
16728 | locs from preserved VALUEs. | |
16729 | ||
19c1be39 JDA |
16730 | 2010-03-21 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
16731 | ||
16732 | PR middle-end/42718 | |
16733 | * pa.md (movmemsi): Set align to one if zero. | |
16734 | (movmemdi): Likewise. | |
16735 | ||
f8b68ed3 RE |
16736 | 2010-03-21 Richard Earnshaw <rearnsha@arm.com> |
16737 | ||
16738 | PR target/42321 | |
16739 | * arm.c (arm_output_epilogue): Correctly match VFP pop instructions | |
16740 | with their corresponding prologue pushes. | |
16741 | ||
941ce52b AP |
16742 | 2010-03-20 Andrew Pinski <pinskia@gmail.com> |
16743 | ||
16744 | PR target/43156 | |
16745 | * config/spu/spu.c (spu_expand_prologue): Don't emit NOTE_INSN_DELETED | |
16746 | at the begining or end. | |
16747 | (spu_expand_epilogue): Likewise. | |
16748 | ||
d491d2af RG |
16749 | 2010-03-20 Richard Guenther <rguenther@suse.de> |
16750 | ||
16751 | PR rtl-optimization/43438 | |
16752 | * combine.c (make_extraction): Properly zero-/sign-extend an | |
16753 | extraction of the low part of a CONST_INT. Also handle | |
16754 | CONST_DOUBLE. | |
16755 | ||
4dd9ee92 MS |
16756 | 2010-03-19 Mike Stump <mikestump@comcast.net> |
16757 | ||
16758 | * config/i386/darwin.h (SUBTARGET32_DEFAULT_CPU): Add. | |
16759 | * config/i386/i386.c (SUBTARGET32_DEFAULT_CPU): Add. | |
16760 | (override_options): Use SUBTARGET32_DEFAULT_CPU. | |
16761 | ||
e49a760f AP |
16762 | 2010-03-19 Andrew Pinski <andrew_pinski@caviumnetworks.com> |
16763 | ||
6644642e | 16764 | PR c/43211 |
fb04bb84 UB |
16765 | * c-decl.c (grokparms): Set arg_types to NULL_TREE if there was |
16766 | an error. | |
e49a760f | 16767 | |
f0c6475a | 16768 | 2010-03-19 Bernd Schmidt <bernds@codesourcery.com> |
002b2dee BS |
16769 | |
16770 | PR rtl-optimization/42258 | |
16771 | * ira-lives.c (check_and_make_def_conflict): Ignore conflict for a | |
16772 | use that may match DEF. | |
16773 | ||
c99102b8 BS |
16774 | PR target/40697 |
16775 | * optabs.c (avoid_expensive_constant): Use rtx_cost to find out | |
16776 | the cost of loading the constant rather than assuming | |
16777 | COSTS_N_INSNS (1). | |
16778 | * config/arm/arm.c (thumb1_rtx_costs) <case CONST_INT>: If the | |
16779 | outer code is AND, do the same tests as the andsi3 expander and | |
16780 | return COSTS_N_INSNS (1) if and is cheap. | |
fdb2c684 BS |
16781 | |
16782 | * optabs.c (avoid_expensive_constant): Fix formatting. | |
16783 | ||
f9ceed32 MM |
16784 | 2010-03-19 Michael Matz <matz@suse.de> |
16785 | ||
16786 | PR c++/43116 | |
16787 | * attribs.c (decl_attributes): When rebuilding a function pointer | |
16788 | type use the same qualifiers as the original pointer type. | |
16789 | ||
3795eae6 MJ |
16790 | 2010-03-19 Martin Jambor <mjambor@suse.cz> |
16791 | ||
16792 | * doc/gimple.texi (Logical Operators): Describe is_gimple_ip_invariant | |
16793 | and is_gimple_ip_invariant_address. | |
16794 | ||
ae0bef88 RR |
16795 | 2010-03-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
16796 | ||
16797 | Revert | |
16798 | 2009-10-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> | |
16799 | ||
16800 | * config/arm/arm.c (arm_override_options): Turn off | |
16801 | flag_dwarf2_cfi_asm for AAPCS variants. | |
16802 | ||
9abf5d7b RR |
16803 | 2010-03-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
16804 | ||
16805 | PR target/43399 | |
16806 | * config/arm/arm.c (emit_multi_reg_push): Update comments. | |
16807 | Use PRE_MODIFY instead of PRE_DEC. | |
16808 | (emit_sfm): Use PRE_MODIFY instead of PRE_DEC. | |
16809 | (vfp_emit_fstmd): Likewise. | |
16810 | ||
8a0b1aa4 MM |
16811 | 2010-03-19 Michael Matz <matz@suse.de> |
16812 | ||
16813 | PR target/43305 | |
16814 | * builtins.c (expand_builtin_interclass_mathfn, | |
16815 | expand_builtin_signbit): Use maybe_emit_unop_insn, emit libcalls | |
16816 | if that fails. | |
16817 | ||
3e999e7b RG |
16818 | 2010-03-19 Richard Guenther <rguenther@suse.de> |
16819 | ||
16820 | PR tree-optimization/43415 | |
16821 | * tree-ssa-pre.c (phi_translate): Split out worker to ... | |
16822 | (phi_translate_1): ... this. | |
16823 | (phi_translate): Move all caching here. Cache all NARY | |
16824 | and REFERENCE translations. | |
16825 | ||
9fd52c6c DM |
16826 | 2010-03-19 David S. Miller <davem@davemloft.net> |
16827 | ||
16828 | With help from Eric Botcazou. | |
16829 | * config/sparc/sparc.c: Include dwarf2out.h. | |
16830 | (emit_pic_helper): Delete. | |
16831 | (pic_helper_symbol_name): Delete. | |
16832 | (pic_helper_emitted_p): Delete. | |
16833 | (pic_helper_needed): New. | |
16834 | (USE_HIDDEN_LINKONCE): Define to '1' if HAVE_GAS_HIDDEN else '0'. | |
16835 | (get_pc_thunk_name): New. | |
16836 | (load_pic_register): Remove 'delay_pic_helper' arg. Use | |
16837 | get_thunk_pc_name and ggc_strdup to generate PIC thunk symbol. | |
16838 | Set pic_helper_needed to true. Don't call emit_pic_helper. | |
16839 | (sparc_expand_prologue): Update load_pic_register call. | |
16840 | (sparc_output_mi_thunk): Likewise. | |
16841 | (sparc_file_end): Emit a hidden comdat symbol for the PIC | |
16842 | thunk if possible. Output CFI information as needed. | |
16843 | ||
f4a4b582 EB |
16844 | 2010-03-18 Francois-Xavier Coudert <fxcoudert@gcc.gnu.org> |
16845 | Jack Howarth <howarth@bromo.med.uc.edu> | |
b6010cab FXC |
16846 | |
16847 | PR target/36399 | |
48019e3d | 16848 | * config/i386/i386.h: Fix ABI on darwin x86-32. |
b6010cab | 16849 | |
b1aa0655 AH |
16850 | 2010-03-18 Aldy Hernandez <aldyh@redhat.com> |
16851 | ||
16852 | * tree.h: Declare make_decl_rtl_for_debug. | |
16853 | * varasm.c (make_decl_rtl_for_debug): New. | |
16854 | * dwarf2out.c (rtl_for_decl_location): Call it. | |
16855 | * cfgexpand.c (expand_debug_expr): Call it. | |
16856 | ||
f0c12fcc JJ |
16857 | 2010-03-18 Jakub Jelinek <jakub@redhat.com> |
16858 | ||
9a05b749 JJ |
16859 | PR bootstrap/43399 |
16860 | * var-tracking.c (adjust_mems) <case POST_MODIFY>: Allow BLKmode | |
16861 | mem_mode. | |
16862 | ||
f0c12fcc JJ |
16863 | PR bootstrap/43403 |
16864 | * var-tracking.c (vt_init_cfa_base): Do nothing if | |
fb04bb84 | 16865 | cfa_base_rtx would be hard_frame_pointer_rtx or non-fixed register. |
f0c12fcc | 16866 | |
e999b0c9 AO |
16867 | 2010-03-18 Alexandre Oliva <aoliva@redhat.com> |
16868 | ||
16869 | PR debug/42873 | |
16870 | * var-tracking.c (canonicalize_vars_star): New. | |
16871 | (dataflow_post_merge_adjust): Use it. | |
16872 | ||
5644a3d0 JJ |
16873 | 2010-03-18 Jakub Jelinek <jakub@redhat.com> |
16874 | ||
16875 | PR debug/43058 | |
16876 | * var-tracking.c (non_suitable_const): New function. | |
16877 | (add_uses): For DEBUG_INSNs with constants, don't record any | |
16878 | value, instead just the constant value itself. | |
16879 | (compute_bb_dataflow) <case MO_VAL_LOC>: If PAT_VAR_LOCATION_LOC | |
16880 | is not VAR_LOC_UNKNOWN_P, set var to the constant. | |
16881 | (emit_notes_in_bb): Likewise. | |
16882 | (emit_note_insn_var_location): For onepart variables if | |
16883 | cur_loc is a VOIDmode constant, use DECL_MODE. | |
16884 | ||
8132a837 MJ |
16885 | 2010-03-18 Martin Jambor <mjambor@suse.cz> |
16886 | ||
16887 | PR middle-end/42450 | |
16888 | * cgraph.h (cgraph_redirect_edge_call_stmt_to_callee): Declare. | |
16889 | * cgraphunit.c (cgraph_materialize_all_clones): Update calls in | |
16890 | all non-clones. Moved call redirection... | |
fb04bb84 | 16891 | (cgraph_redirect_edge_call_stmt_to_callee): ...to this new function. |
8132a837 MJ |
16892 | (cgraph_materialize_all_clones): Dispose of all |
16893 | combined_args_to_skip bitmaps. | |
16894 | (verify_cgraph_node): Do not check for edges pointing to wrong | |
16895 | nodes in inline clones. | |
16896 | * tree-inline.c (copy_bb): Call | |
16897 | cgraph_redirect_edge_call_stmt_to_callee. | |
16898 | * ipa.c (cgraph_remove_unreachable_nodes): Call | |
16899 | cgraph_node_remove_callees even when there are used clones. | |
16900 | ||
7893d7ac L |
16901 | 2010-03-18 H.J. Lu <hongjiu.lu@intel.com> |
16902 | ||
16903 | * config/i386/libgcc-glibc.ver: Make GCC_4.5.0 inherit GCC_4.4.0. | |
16904 | ||
cdfedab1 L |
16905 | 2010-03-18 H.J. Lu <hongjiu.lu@intel.com> |
16906 | ||
16907 | PR target/43383 | |
16908 | * config/i386/libgcc-glibc.ver: Add __extendxftf2 to GCC_4.5.0 | |
16909 | for 32bit. | |
16910 | ||
c21372c4 MM |
16911 | 2010-03-18 Michael Matz <matz@suse.de> |
16912 | ||
16913 | PR middle-end/43419 | |
16914 | * builtins.c (expand_builtin_pow): Don't transform pow(x, 0.5) | |
16915 | into sqrt(x) if we need to preserve signed zeros. | |
16916 | ||
82fa5f8a L |
16917 | 2010-03-18 Steven Bosscher <steven@gcc.gnu.org> |
16918 | Eric Botcazou <ebotcazou@adacore.com> | |
16919 | ||
16920 | PR rtl-optimization/43360 | |
16921 | * loop-invariant.c (move_invariant_reg): Remove the REG_EQUAL | |
16922 | note if we don't know its invariant status. | |
16923 | ||
eb45755f MM |
16924 | 2010-03-18 Michael Matz <matz@suse.de> |
16925 | ||
16926 | PR tree-optimization/43402 | |
16927 | * tree-cfgcleanup.c (cleanup_control_expr_graph): Don't follow | |
16928 | PHI chains of ssa names registered for update. | |
16929 | ||
60936b22 PB |
16930 | 2010-03-17 Peter Bergner <bergner@vnet.ibm.com> |
16931 | ||
16932 | PR target/42427 | |
16933 | * config/rs6000/rs6000.c (rs6000_split_multireg_move): Add support for | |
16934 | non-offsettable and pre_modify update addressing. | |
16935 | * config/rs6000/dfp.md (*movdd_hardfloat32): Make the "0", "1" | |
16936 | and "2" alternatives "#". | |
16937 | (*movdd_softfloat32): Make all alternatives "#"; | |
16938 | * config/rs6000/rs6000.md (DIFD): New define_mode_iterator. | |
16939 | (*movdf_hardfloat32): Make the "0", "1" and "2" alternatives "#". | |
16940 | (*movdf_softfloat32): Make all alternatives "#"; | |
16941 | (movdi): Use the new DIFD mode iterator to create a common splitter | |
16942 | for movdi, movdf and movdd patterns. | |
16943 | ||
316fc112 SZ |
16944 | 2010-03-18 Shujing Zhao <pearly.zhao@oracle.com> |
16945 | ||
16946 | * common.opt (dumpdir): Remove redundant tab. | |
16947 | ||
ec24771f MJ |
16948 | 2010-03-17 Martin Jambor <mjambor@suse.cz> |
16949 | ||
16950 | PR tree-optimization/43347 | |
16951 | * tree-sra.c (create_access_replacement): Set TREE_NO_WARNING when the | |
16952 | original base is DECL_ARTIFICIAL or DECL_IGNORED_P. | |
16953 | ||
e33c42db BS |
16954 | 2010-03-17 Bernd Schmidt <bernd.schmidt@analog.com> |
16955 | ||
16956 | PR rtl-optimization/42216 | |
16957 | * regrename.c (create_new_chain): New function, broken out from... | |
16958 | (scan_rtx_reg): ... here. Call it. Handle the case where we are | |
16959 | appending a use to an empty chain. | |
16960 | (build_def_use): Remove previous changes that convert OP_INOUT to | |
16961 | OP_OUT operands; instead detect the case where an OP_INOUT operand | |
fb04bb84 | 16962 | uses a previously untracked register and create an empty chain for it. |
e33c42db | 16963 | |
4c4177dc RW |
16964 | 2010-03-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
16965 | ||
16966 | * doc/extend.texi (Function Attributes): Rewrite unfinished | |
16967 | sentence in ms_abi documentation. | |
16968 | ||
60ac9511 AM |
16969 | 2010-03-17 Alan Modra <amodra@gmail.com> |
16970 | ||
16971 | * config/rs6000/linux64.opt (mprofile-kernel): Use profile_kernel var. | |
16972 | * config/rs6000/linux64.h (TARGET_PROFILE_KERNEL): Define. | |
16973 | (SUBSUBTARGET_OVERRIDE_OPTIONS): Don't use SET_PROFILE_KERNEL. | |
16974 | * config/rs6000/rs6000.c (SET_PROFILE_KERNEL): Don't define. | |
16975 | ||
e19d1f06 RH |
16976 | 2010-03-16 Richard Henderson <rth@redhat.com> |
16977 | ||
16978 | PR middle-end/43365 | |
16979 | * tree-eh.c (replace_goto_queue): Also replace in the eh_seq. | |
16980 | (lower_try_finally): Save and restore eh_seq around the expansion | |
16981 | of the try-finally. | |
16982 | ||
c36fed0c AH |
16983 | 2010-03-16 Aldy Hernandez <aldyh@redhat.com> |
16984 | ||
16985 | * graphite-sese-to-poly.c (split_reduction_stmt): Skip debug | |
16986 | statements before splitting block. | |
16987 | ||
f4a4b582 | 16988 | 2010-03-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17a7cb4e RO |
16989 | |
16990 | * doc/sourcebuild.texi (Testsuites): Fix markup. | |
16991 | Use pathnames relative to gcc/testsuite. | |
16992 | (Test Directives): Move description of how timeout is determined. | |
16993 | (Ada Tests): Favor gnat.exp over ada/acats/tests/gcc. | |
16994 | (C Tests): Correct gcc.misc-tests directory. | |
16995 | Framework tests now live in gcc.test-framework. | |
16996 | ||
7686fb74 RG |
16997 | 2010-03-16 Richard Guenther <rguenther@suse.de> |
16998 | ||
16999 | PR middle-end/43379 | |
fb04bb84 UB |
17000 | * tree-cfg.c (gimple_merge_blocks): When propagating virtual PHI |
17001 | operands make sure to merge SSA_NAME_OCCURS_IN_ABNORMAL_PHI properly. | |
7686fb74 | 17002 | |
7a181764 AH |
17003 | 2010-03-16 Aldy Hernandez <aldyh@redhat.com> |
17004 | Alexandre Oliva <aoliva@redhat.com> | |
17005 | ||
17006 | PR tree-optimization/42917 | |
17007 | * lambda-code.c (remove_iv): Skip debug statements. | |
17008 | (lambda_loopnest_to_gcc_loopnest): Likewise. | |
17009 | (not_interesting_stmt): Debug statements are not interesting. | |
17010 | ||
457eeaae JJ |
17011 | 2010-03-16 Jakub Jelinek <jakub@redhat.com> |
17012 | ||
17013 | PR debug/43051 | |
17014 | PR debug/43092 | |
17015 | * cselib.c (cselib_preserve_constants, | |
17016 | cfa_base_preserved_val): New static variables. | |
17017 | (preserve_only_constants): New function. | |
17018 | (cselib_reset_table): If cfa_base_preserved_val is non-NULL, don't | |
fb04bb84 | 17019 | clear its REG_VALUES. If cselib_preserve_constants, don't |
457eeaae JJ |
17020 | empty the whole hash table, but preserve there VALUEs with constants, |
17021 | cfa_base_preserved_val and cfa_base_preserved_val plus constant. | |
17022 | (cselib_preserve_cfa_base_value): New function. | |
17023 | (cselib_invalidate_regno): Don't invalidate cfa_base_preserved_val. | |
17024 | (cselib_init): Change argument to int bitfield. Set | |
17025 | cselib_preserve_constants to whether CSELIB_PRESERVE_CONSTANTS | |
17026 | is in it. | |
17027 | (cselib_finish): Clear cselib_preserve_constants and | |
17028 | cfa_base_preserved_val. | |
17029 | * cselib.h (enum cselib_record_what): New enum. | |
17030 | (cselib_init): Change argument to int. | |
17031 | (cselib_preserve_cfa_base_value): New prototype. | |
17032 | * postreload.c (reload_cse_regs_1): Adjust cselib_init caller. | |
17033 | * dse.c (dse_step1): Likewise. | |
17034 | * cfgcleanup.c (thread_jump): Likewise. | |
17035 | * sched-deps.c (sched_analyze): Likewise. | |
17036 | * gcse.c (local_cprop_pass): Likewise. | |
17037 | * simplify-rtx.c (simplify_replace_fn_rtx): Add argument to callback. | |
17038 | If FN is non-NULL, call the callback always and whenever it returns | |
17039 | non-NULL just return that. Only do rtx_equal_p if FN is NULL. | |
17040 | * rtl.h (simplify_replace_fn_rtx): Add argument to callback. | |
17041 | * combine.c (propagate_for_debug_subst): Add old_rtx argument, | |
17042 | compare from with old_rtx and if it isn't rtx_equal_p, return NULL. | |
17043 | * Makefile.in (var-tracking.o): Depend on $(RECOG_H). | |
17044 | * var-tracking.c: Include recog.h. | |
17045 | (bb_stack_adjust_offset): Remove. | |
17046 | (vt_stack_adjustments): Don't call it, instead just gather the | |
17047 | adjustments using insn_stack_adjust_offset_pre_post on each bb insn. | |
17048 | (adjust_stack_reference): Remove. | |
17049 | (compute_cfa_pointer): New function. | |
17050 | (hard_frame_pointer_adjustment, cfa_base_rtx): New static variables. | |
17051 | (struct adjust_mem_data): New type. | |
17052 | (adjust_mems, adjust_mem_uses, adjust_mem_stores, adjust_insn): New | |
17053 | functions. | |
17054 | (get_address_mode): New function. | |
17055 | (replace_expr_with_values): Use it. | |
17056 | (use_type): Don't do cselib_lookup for VAR_LOC_UNKNOWN_P. | |
17057 | Use get_address_mode. For cfa_base_rtx return MO_CLOBBER. | |
17058 | (adjust_sets): Remove. | |
17059 | (add_uses): Don't add extra MO_VAL_USE for cfa_base_rtx plus constant. | |
17060 | Use get_address_mode. | |
17061 | (get_adjusted_src): Remove. | |
17062 | (add_stores): Don't call it. Never reuse expr SET. Don't add extra | |
17063 | MO_VAL_USE for cfa_base_rtx plus constant. Use get_address_mode. | |
17064 | (add_with_sets): Don't call adjust_sets. | |
17065 | (fp_setter, vt_init_cfa_base): New functions. | |
17066 | (vt_initialize): Change return type to bool. Move most of pool etc. | |
17067 | initialization to the beginning of the function from end. Pass | |
17068 | CSELIB_RECORD_MEMORY | CSELIB_PRESERVE_CONSTANTS to cselib_init. | |
17069 | If !frame_pointer_needed, call vt_stack_adjustment before mos | |
17070 | vector is filled, call vt_init_cfa_base if argp/framep has been | |
17071 | eliminated to sp. If frame_pointer_needed and argp/framep has | |
17072 | been eliminated to hard frame pointer, set | |
17073 | hard_frame_pointer_adjustment and call vt_init_cfa_base after | |
17074 | encountering fp setter in the prologue. For MO_ADJUST, call | |
17075 | log_op_type before pusing the op into mos vector, not afterwards. | |
17076 | Call adjust_insn before cselib_process_insn/add_with_sets, | |
17077 | call cancel_changes (0) afterwards. | |
17078 | (variable_tracking_main_1): Adjust for vt_initialize calling | |
17079 | vt_stack_adjustments and returning whether it succeeded or not. | |
17080 | ||
7dee65d8 AH |
17081 | 2010-03-15 Aldy Hernandez <aldyh@redhat.com> |
17082 | ||
17083 | * graphite-sese-to-poly.c (rewrite_cross_bb_scalar_deps): Skip | |
17084 | debug statements. | |
17085 | ||
6019a098 JJ |
17086 | 2010-03-15 Jakub Jelinek <jakub@redhat.com> |
17087 | ||
17088 | * dwarf2out.c (dwarf2out_frame_debug): Don't assert drap_reg | |
17089 | has been set. | |
17090 | (based_loc_descr): Use DW_OP_fbreg for vdrap_reg even when | |
17091 | drap_reg has not been set. | |
17092 | ||
c2172338 MM |
17093 | 2010-03-15 Michael Matz <matz@suse.de> |
17094 | ||
17095 | PR middle-end/43300 | |
17096 | * tree-outof-ssa.c (emit_partition_copy): New argument sizeexp, | |
17097 | use it to expand block copies. | |
17098 | (insert_partition_copy_on_edge, insert_rtx_to_part_on_edge, | |
17099 | insert_part_to_rtx_on_edge): Adjust callers of emit_partition_copy. | |
17100 | (insert_value_copy_on_edge): Use store_expr for BLKmode values. | |
17101 | ||
610b64e2 RG |
17102 | 2010-03-15 Richard Guenther <rguenther@suse.de> |
17103 | ||
17104 | PR tree-optimization/43367 | |
17105 | * tree-cfg.c (gimple_can_merge_blocks_p): Simplify PHI | |
17106 | elimination check. | |
17107 | ||
610de68d RB |
17108 | 2010-03-15 Richard Guenther <rguenther@suse.de> |
17109 | ||
17110 | PR tree-optimization/43317 | |
17111 | * ipa-struct-reorg.c (create_new_general_access): Update stmt. | |
17112 | ||
932e2e64 MJ |
17113 | 2010-03-15 Martin Jambor <mjambor@suse.cz> |
17114 | ||
610de68d | 17115 | PR tree-optimization/43141 |
932e2e64 MJ |
17116 | * tree-sra.c (create_abstract_origin): New function. |
17117 | (modify_function): Call create_abstract_origin. | |
17118 | ||
c8c520dd CD |
17119 | 2010-03-15 Chris Demetriou <cgd@google.com> |
17120 | ||
17121 | * Makefile.in (stmp-int-hdrs): Don't chmod include/stdint.h if it | |
17122 | wasn't copied. | |
17123 | ||
7f931500 SP |
17124 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> |
17125 | ||
17126 | PR middle-end/43354 | |
17127 | * graphite-sese-to-poly.c (rewrite_close_phi_out_of_ssa): Do not | |
17128 | call insert_out_of_ssa_copy for default definitions. | |
17129 | ||
17130 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
17131 | ||
17132 | * graphite-clast-to-gimple.c (my_long_long): Defined. | |
17133 | (gcc_type_for_cloog_iv): Use it instead of long_long_integer_type_node. | |
17134 | * graphite-sese-to-poly.c (my_long_long): Defined. | |
17135 | (scop_ivs_can_be_represented): Use it. | |
17136 | ||
17137 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
17138 | ||
17139 | * doc/invoke.texi: Fix documentation of graphite-max-nb-scop-params, | |
17140 | graphite-max-bbs-per-function, and loop-block-tile-size. | |
17141 | * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Replace "maximal" | |
17142 | with "maximum". | |
17143 | (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Same. | |
17144 | ||
17145 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
17146 | ||
17147 | * graphite-clast-to-gimple.c (gcc_type_for_iv_of_clast_loop): Remove | |
17148 | forward declaration. | |
17149 | * graphite-sese-to-poly.c (reduction_phi_p): Remove FIXME comment. | |
17150 | (add_upper_bounds_from_estimated_nit): New. | |
17151 | (build_loop_iteration_domains): Use it. | |
17152 | ||
17153 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
17154 | ||
17155 | * doc/invoke.texi (PARAM_LOOP_BLOCK_TILE_SIZE): Document. | |
17156 | ||
17157 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
17158 | ||
17159 | PR middle-end/43306 | |
17160 | * tree-chrec.c (evolution_function_right_is_integer_cst): CHREC_RIGHT | |
17161 | should be an INTEGER_CST. Also handle CASE_CONVERT. | |
17162 | ||
17163 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
17164 | ||
17165 | * graphite.c (graphite_initialize): To bound the number of bbs per | |
17166 | function, use PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION. | |
17167 | * params.def (PARAM_GRAPHITE_MAX_BBS_PER_FUNCTION): Declared. | |
17168 | * doc/invoke.texi: Document it. | |
17169 | ||
17170 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
17171 | ||
17172 | * graphite-sese-to-poly.c (build_poly_scop): Do not return bool. | |
17173 | * graphite-sese-to-poly.h (build_poly_scop): Same. | |
17174 | ||
17175 | 2010-03-13 Sebastian Pop <sebastian.pop@amd.com> | |
17176 | ||
17177 | * graphite-sese-to-poly.c (build_poly_scop): Limit scops following | |
17178 | the number of parameters in the scop. Use as an upper bound | |
17179 | PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS. | |
17180 | * params.def (PARAM_GRAPHITE_MAX_NB_SCOP_PARAMS): Declared. | |
17181 | * doc/invoke.texi: Document it. | |
17182 | ||
929769f4 JQ |
17183 | 2010-03-13 Jerry Quinn <jlquinn@optonline.net> |
17184 | ||
17185 | * Makefile.in (TEXI_GCCINT_FILES): Remove c-tree.texi. | |
17186 | * doc/c-tree.texi: Remove. | |
17187 | * doc/generic.texi: Merge c-tree.texi here. | |
17188 | * doc/gccint.texi (Trees): Remove menu entry. | |
17189 | (c-tree.texi): Remove @include. | |
17190 | * doc/rtl.texi (Reading RTL): Update pxref from Trees to GENERIC. | |
17191 | * doc/languages.texi (Reading RTL): Ditto. | |
17192 | ||
9c8cab44 SE |
17193 | 2010-03-12 Steve Ellcey <sje@cup.hp.com> |
17194 | ||
17195 | PR target/42869 | |
17196 | * config/ia64/sync.md (sync_compare_and_swap): Move memory fence. | |
17197 | ||
08f9d725 MM |
17198 | 2010-03-12 Michael Meissner <meissner@linux.vnet.ibm.com> |
17199 | ||
17200 | PR middle-end/42431 | |
17201 | * gcc/config/rs6000/rs6000.c (rs6000_emit_move): Delete band-aid | |
17202 | code added to work around reload clobbering CONST insns. | |
17203 | ||
70235ab9 JJ |
17204 | 2010-03-12 Jakub Jelinek <jakub@redhat.com> |
17205 | ||
0de3e43f JJ |
17206 | * cselib.c (LONG_TERM_PRESERVED_VALUE_P): Remove. |
17207 | (cselib_preserve_definitely, cselib_clear_preserve): Remove. | |
17208 | (cselib_preserve_only_values): Remove retain argument, don't | |
17209 | traverse hash table with cselib_{preserve_definitely,clear_preserve}. | |
17210 | * cselib.h (cselib_preserve_only_values): Remove retain argument. | |
17211 | * var-tracking.c (micro_operation): Move insn field before union. | |
17212 | Add DEF_VEC_O and DEF_VEC_ALLOC_O for this type. | |
17213 | (struct variable_tracking_info_def): Remove n_mos field, change | |
17214 | mos into a vector of micro_operations. | |
17215 | (count_uses, count_uses_1, count_stores, count_with_sets): Remove. | |
17216 | (bb_stack_adjust_offset, log_op_type, add_uses, add_stores, | |
17217 | compute_bb_dataflow, emit_notes_in_bb): Adjust for VTI (bb)->mos | |
17218 | changing into a vector. | |
17219 | (add_with_sets): Likewise. Ensure MO_VAL_USE uops from add_stores | |
17220 | come before all other uops generated by add_stores. | |
17221 | (vt_add_function_parameters): Adjust for cselib_preserve_only_values | |
17222 | argument removal. | |
17223 | (vt_initialize): Likewise. Adjust for VTI (bb)->mos changing into | |
17224 | a vector. Run just one pass over the bbs instead of separate counting | |
17225 | and computation phase. | |
17226 | (vt_finalize): Free VTI (bb)->mos vector instead of array. | |
17227 | ||
70235ab9 JJ |
17228 | PR debug/43329 |
17229 | * tree-inline.c (remap_decls): Put old_var rather than origin_var | |
17230 | into *nonlocalized_list vector. | |
17231 | * dwarf2out.c (gen_formal_parameter_die): Call decl_ultimate_origin | |
17232 | even if origin is non-NULL. | |
17233 | (gen_variable_die): Likewise. | |
17234 | (process_scope_var): Don't change origin. | |
17235 | (gen_decl_die): Likewise. | |
17236 | * tree-cfgcleanup.c (remove_forwarder_block): Check single_pred_p | |
17237 | before adding new edges instead of after it, fix moving over | |
17238 | debug stmts. | |
17239 | ||
7ac22e17 DM |
17240 | 2010-03-11 David S. Miller <davem@davemloft.net> |
17241 | ||
77514c73 UB |
17242 | * configure.ac (gcc_cv_as_cfi_advance_working): Skip a multiple |
17243 | of four. | |
7ac22e17 DM |
17244 | * configure: Rebuild. |
17245 | ||
0e0a1359 MJ |
17246 | 2010-03-11 Martin Jambor <mjambor@suse.cz> |
17247 | ||
17248 | PR tree-optimization/43257 | |
17249 | * tree.c (assign_assembler_name_if_neeeded): New function. | |
17250 | (free_lang_data_in_cgraph): Assembler name assignment moved to the | |
17251 | above new function. | |
17252 | * tree.h (assign_assembler_name_if_neeeded): Declare. | |
17253 | * cgraphunit.c (cgraph_analyze_function): Create an assembler name for | |
17254 | the function if needed. | |
17255 | ||
1d9edd01 CD |
17256 | 2010-03-11 Chris Demetriou <cgd@google.com> |
17257 | ||
17258 | * Makefile.in (stmp-int-hdrs): Make include/unwind.h, | |
17259 | include/stdint-gcc.h, and include/stdint.h world-readable. | |
17260 | ||
ff0a0c1d RG |
17261 | 2010-03-11 Richard Guenther <rguenther@suse.de> |
17262 | ||
17263 | PR tree-optimization/43255 | |
17264 | * tree-vrp.c (process_assert_insertions_for): Do not insert | |
17265 | asserts for trivial conditions. | |
17266 | ||
b509e1fc AK |
17267 | 2010-03-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
17268 | ||
17269 | PR tree-optimization/43280 | |
77514c73 UB |
17270 | * tree-ssa-math-opts.c (find_bswap_1): Modify symbolic number |
17271 | generation. Move calculation of size out of the if branch. | |
b509e1fc AK |
17272 | (find_bswap): Modify compare number generation. |
17273 | ||
108ba00b RG |
17274 | 2010-03-11 Richard Guenther <rguenther@suse.de> |
17275 | ||
17276 | PR lto/43200 | |
17277 | * lto-streamer-in.c (maybe_fixup_decls): Simplify. | |
17278 | (input_gimple_stmt): Fixup handled component types during | |
17279 | operand read. Also fix up decls in ADDR_EXPRs. | |
17280 | ||
f37f5bb9 EB |
17281 | 2010-03-10 Eric Botcazou <ebotcazou@adacore.com> |
17282 | ||
17283 | * config/sparc/sol2-bi.h (CC1_SPEC): Default to -mcpu=v9 for -m32. | |
17284 | * config/sparc/t-sol2-64 (MULTILIB_DIRNAMES): Use sparcv8plus. | |
17285 | ||
e9fecf0e JH |
17286 | 2010-03-10 Jan Hubicka <jh@suse.cz> |
17287 | ||
17288 | PR c/43288 | |
17289 | * ipa.c (function_and_variable_visibility) Normalize COMMON bits. | |
17290 | * varasm.c (get_variable_section): Don't do that here... | |
17291 | (make_decl_rtl): ... and here. | |
17292 | (do_assemble_alias): Produce decl RTL. | |
17293 | (assemble_alias): Likewise. | |
17294 | ||
23f39b37 JJ |
17295 | 2010-03-10 Jakub Jelinek <jakub@redhat.com> |
17296 | ||
17297 | PR debug/43290 | |
17298 | * reg-notes.def (REG_CFA_SET_VDRAP): New note. | |
17299 | * dwarf2out.c (dwarf2out_frame_debug_expr): Remove rule 20 - setting | |
17300 | of fde->vdrap_reg. | |
17301 | (dwarf2out_frame_debug): Handle REG_CFA_SET_VDRAP note. | |
17302 | (based_loc_descr): Only express drap or vdrap regno based expressions | |
17303 | using DW_OP_fbreg when not optimizing. | |
17304 | * config/i386/i386.c (ix86_get_drap_rtx): When not optimizing, | |
17305 | make the vDRAP = DRAP assignment RTX_FRAME_RELATED_P and add | |
17306 | REG_CFA_SET_VDRAP note. | |
17307 | ||
6edd8198 AM |
17308 | 2010-03-10 Alexander Monakov <amonakov@ispras.ru> |
17309 | ||
17310 | PR tree-optimization/43236 | |
17311 | * tree-loop-distribution.c (generate_memset_zero): Fix off-by-one | |
17312 | error in calculation of base address in reverse iteration case. | |
17313 | (generate_builtin): Take number of latch executions if the statement | |
17314 | is in the latch. | |
17315 | ||
9f698956 AB |
17316 | 2010-03-10 Andrey Belevantsev <abel@ispras.ru> |
17317 | ||
17318 | PR middle-end/42859 | |
17319 | * tree-eh.c: Include pointer-set.h. | |
17320 | (lower_eh_dispatch): Filter out duplicate case labels and | |
17321 | remove the unneeded edge when the label is unused. Return | |
17322 | true when some edges are removed. | |
17323 | (execute_lower_eh_dispatch): When any lowering resulted in | |
17324 | removing an edge, also delete unreachable blocks. | |
17325 | ||
ff4f03c3 JJ |
17326 | 2010-03-10 Jakub Jelinek <jakub@redhat.com> |
17327 | ||
17328 | PR bootstrap/43287 | |
17329 | * config/rs6000/rs6000.c (rs6000_delegitimize_address): Handle | |
17330 | UNSPEC_MACHOPIC_OFFSET. | |
17331 | ||
7b0f476d AS |
17332 | 2010-03-09 Andreas Schwab <schwab@linux-m68k.org> |
17333 | ||
17334 | PR target/43294 | |
17335 | * config/m68k/m68k.c (TARGET_DELEGITIMIZE_ADDRESS): Define. | |
17336 | (m68k_delegitimize_address): New function. | |
17337 | ||
3b7998ea JJ |
17338 | 2010-03-09 Jakub Jelinek <jakub@redhat.com> |
17339 | ||
eb1fcdaa JJ |
17340 | PR debug/43299 |
17341 | * dwarf2out.c (const_ok_for_output_1): Return 1 for UNSPECs. | |
17342 | ||
69b89883 JJ |
17343 | PR debug/43299 |
17344 | * var-tracking.c (adjust_sets): New function. | |
17345 | (count_with_sets, add_with_sets): Use it. | |
17346 | (get_adjusted_src): New inline function. | |
17347 | (add_stores): Use it. | |
17348 | ||
3b7998ea JJ |
17349 | PR debug/43304 |
17350 | * var-tracking.c (vt_expand_loc_callback) <case SUBREG>: If dummy, | |
17351 | call cselib_dummy_expand_value_rtx_cb instead of | |
17352 | cselib_expand_value_rtx_cb. | |
bded9b70 JJ |
17353 | |
17354 | PR debug/43293 | |
17355 | * config/i386/t-i386 (i386.o): Depend on debug.h and dwarf2out.h. | |
17356 | * config/i386/i386.c: Include debug.h and dwarf2out.h. | |
17357 | (ix86_file_end): If dwarf2out_do_cfi_asm (), emit .cfi_startproc | |
17358 | and .cfi_endproc around the pic thunks. | |
17359 | (output_set_got): For TARGET_DEEP_BRANCH_PREDICTION pic, ensure | |
17360 | all queued unwind info register saves are saved before the call. | |
17361 | For !TARGET_DEEP_BRANCH_PREDICTION pic, ensure the call is | |
17362 | considered as sp-=4 for unwind info and the pop as sp+=4 which | |
17363 | also clobbers dest, but doesn't actually restore it. | |
4398467a JJ |
17364 | |
17365 | PR debug/43290 | |
17366 | * config/i386/i386.c (ix86_get_drap_rtx): Don't set | |
17367 | RTX_FRAME_RELATED_P. | |
17368 | ||
81ad4ac0 JZ |
17369 | 2010-03-09 Jie Zhang <jie@codesourcery.com> |
17370 | ||
17371 | * config/arm/arm.md (thumb_mulsi3_v6): Remove trailing | |
17372 | whitespaces in output template. | |
17373 | ||
dc344e87 JZ |
17374 | 2010-03-09 Jie Zhang <jie@codesourcery.com> |
17375 | ||
17376 | * ira-lives.c (check_and_make_def_use_conflict): Don't fall | |
17377 | out array boundary. | |
17378 | ||
ff12d3a6 JJ |
17379 | 2010-03-08 Jakub Jelinek <jakub@redhat.com> |
17380 | ||
17381 | * Makefile.in (check_gcc_parallelize): Run dg-torture.exp and | |
17382 | builtins.exp in a separate job. | |
17383 | ||
b58543c3 SP |
17384 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> |
17385 | ||
17386 | * graphite-sese-to-poly.c (add_param_constraints): Use | |
17387 | lower_bound_in_type and upper_bound_in_type. | |
17388 | ||
17389 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
17390 | ||
17391 | * graphite-sese-to-poly.c (add_param_constraints): Use sizetype | |
17392 | instead of unsigned_type_node. | |
17393 | ||
17394 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
17395 | Reza Yazdani <reza.yazdani@amd.com> | |
17396 | ||
17397 | PR middle-end/43065 | |
17398 | * graphite-sese-to-poly.c (add_param_constraints): Insert bounds | |
17399 | on pointer type parameters. | |
17400 | ||
17401 | 2010-03-08 Tobias Grosser <grosser@fim.uni-passau.de> | |
17402 | ||
17403 | PR middle-end/42644 | |
17404 | PR middle-end/42130 | |
17405 | * graphite-clast-to-gimple.c (clast_to_gcc_expression): Also | |
17406 | handle conversions from pointer to integers. | |
17407 | (gcc_type_for_cloog_iv): Choose the smalles signed integer as an | |
77514c73 | 17408 | induction variable, to be able to work with code generated by CLooG. |
b58543c3 SP |
17409 | * graphite-sese-to-poly.c (scop_ivs_can_be_represented): New. |
17410 | (build_poly_scop): Bail out if we cannot codegen a loop. | |
17411 | ||
17412 | 2010-03-08 Tobias Grosser <grosser@fim.uni-passau.de> | |
17413 | ||
17414 | * graphite-clast-to-gimple.c (translate_clast): Do not short-cut | |
17415 | code generation with gloog_error. | |
17416 | ||
17417 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
17418 | ||
17419 | * sese.c (expand_scalar_variables_ssa_name): Add new argument for type. | |
17420 | Call fold_convert on all the returned values. | |
77514c73 UB |
17421 | (expand_scalar_variables_expr): Pass to |
17422 | expand_scalar_variables_ssa_name the type of the resulting expression. | |
b58543c3 SP |
17423 | |
17424 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
17425 | ||
17426 | * graphite-ppl.c (ppl_min_for_le_polyhedron): Renamed | |
77514c73 UB |
17427 | ppl_min_for_le_pointset. |
17428 | Use ppl_Pointset_Powerset_C_Polyhedron_minimize. | |
b58543c3 SP |
17429 | * graphite-ppl.h (ppl_min_for_le_polyhedron): Update declaration. |
17430 | ||
17431 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
17432 | ||
17433 | * graphite-dependences.c (map_into_dep_poly): Removed. | |
17434 | (dependence_polyhedron_1): Use combine_context_id_scat. | |
17435 | ||
17436 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
17437 | ||
17438 | * graphite-poly.h (struct poly_scattering): Add layout documentation. | |
17439 | (struct poly_bb): Same. | |
17440 | (combine_context_id_scat): New. | |
17441 | ||
17442 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
17443 | ||
17444 | PR middle-end/42326 | |
17445 | * sese.c (name_defined_in_loop_p): Return false for default | |
17446 | definitions. | |
17447 | ||
17448 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
17449 | ||
17450 | * graphite-clast-to-gimple.c (find_cloog_iv_in_expr): Simplify | |
17451 | and clean up the logic. | |
17452 | ||
17453 | 2010-03-08 Sebastian Pop <sebastian.pop@amd.com> | |
17454 | ||
17455 | * graphite-sese-to-poly.c (add_param_constraints): Enabled: remove | |
17456 | early return. | |
17457 | ||
1feb8238 JJ |
17458 | 2010-03-08 Jakub Jelinek <jakub@redhat.com> |
17459 | ||
17460 | * var-tracking.c (remove_cselib_value_chains): Define only for | |
17461 | ENABLE_CHECKING. | |
17462 | (dataflow_set_preserve_mem_locs, dataflow_set_remove_mem_locs, | |
17463 | delete_slot_part, emit_notes_for_differences_1): Don't call | |
17464 | remove_cselib_value_chains here. | |
17465 | (set_slot_part, emit_notes_for_differences_2): Don't call | |
17466 | add_cselib_value_chains here. | |
17467 | (preserved_values): New vector. | |
17468 | (preserve_value): New function. | |
17469 | (add_uses, add_stores, vt_add_function_parameters): Use it | |
17470 | instead of cselib_preserve_value. | |
17471 | (changed_values_stack): New vector. | |
17472 | (check_changed_vars_0): New function. | |
17473 | (check_changed_vars_1, check_changed_vars_2): Use it. | |
17474 | (emit_notes_for_changes): Call set_dv_changed (*, false) on all | |
17475 | changed_values_stack VALUEs. | |
17476 | (vt_emit_notes): For all preserved_values call | |
17477 | add_cselib_value_chains. If ENABLE_CHECKING call | |
17478 | remove_cselib_value_chains before verifying value_chains is empty. | |
17479 | Initialize and free changed_values_stack. | |
17480 | (vt_initialize): Initialize preserved_values. | |
17481 | (vt_finalize): Free preserved_values. | |
17482 | ||
cc788fcc RG |
17483 | 2010-03-08 Richard Guenther <rguenther@suse.de> |
17484 | ||
17485 | PR tree-optimization/43269 | |
17486 | * tree-ssa-dse.c (dse_possible_dead_store_p): Fix post-dom | |
17487 | region detection. | |
17488 | ||
69c103c7 MJ |
17489 | 2010-03-08 Martin Jambor <mjambor@suse.cz> |
17490 | ||
17491 | * ipa-prop.h (struct ipa_param_descriptor): Removed the called field. | |
17492 | (ipa_is_param_called): Removed. | |
17493 | * ipa-prop.c (ipa_note_param_call): Do not set the called flag. | |
17494 | (ipa_print_node_params): Do not print the called flag. | |
17495 | (ipa_write_node_info): Do not stream the called flag. | |
17496 | (ipa_read_node_info): Likewise. | |
17497 | ||
864ddef7 JJ |
17498 | 2010-03-07 Jakub Jelinek <jakub@redhat.com> |
17499 | ||
17500 | PR debug/43176 | |
17501 | * Makefile.in (var-tracking.o): Depend on pointer-set.h. | |
17502 | * cselib.c (struct expand_value_data): Add dummy field. | |
17503 | (cselib_expand_value_rtx, cselib_expand_value_rtx_cb): Initialize | |
17504 | dummy to false. | |
17505 | (cselib_dummy_expand_value_rtx_cb): New function. | |
17506 | (cselib_expand_value_rtx_1): If evd->dummy is true, don't allocate | |
17507 | any rtl. | |
17508 | * cselib.h (cselib_dummy_expand_value_rtx_cb): New prototype. | |
17509 | * var-tracking.c: Include pointer-set.h. | |
17510 | (variable): Change n_var_parts to char from int. Add | |
17511 | cur_loc_changed and in_changed_variables fields. | |
17512 | (variable_canonicalize): Remove. | |
17513 | (shared_var_p): New inline function. | |
17514 | (unshare_variable): Maintain cur_loc_changed and | |
17515 | in_changed_variables fields. If var was in changed_variables, | |
17516 | replace it there with new_var. Just copy cur_loc instead of | |
17517 | resetting it to something else. | |
17518 | (variable_union): Don't recompute cur_loc. Use shared_var_p. | |
17519 | (dataflow_set_union): Don't call variable_canonicalize. | |
17520 | (loc_cmp): If both x and y are DEBUG_EXPRs, compare uids | |
17521 | of their DEBUG_EXPR_TREE_DECLs. | |
17522 | (canonicalize_loc_order_check): Verify that cur_loc is NULL | |
17523 | and in_changed_variables and cur_loc_changed is false. | |
17524 | (variable_merge_over_cur): Clear cur_loc, in_changed_variables | |
17525 | and cur_loc_changed. Don't update cur_loc here. | |
17526 | (variable_merge_over_src): Don't call variable_canonicalize. | |
17527 | (dataflow_set_preserve_mem_locs): Use shared_var_p. When | |
17528 | removing loc that is equal to cur_loc, clear cur_loc, | |
17529 | set cur_loc_changed and ensure variable_was_changed is called. | |
17530 | (dataflow_set_remove_mem_locs): Use shared_var_p. Only | |
17531 | compare pointers in cur_loc check, if it is equal to loc, | |
17532 | clear cur_loc and set cur_loc_changed. Don't recompute cur_loc here. | |
17533 | (variable_different_p): Remove compare_current_location argument, | |
17534 | don't compare cur_loc. | |
17535 | (dataflow_set_different_1): Adjust variable_different_p caller. | |
17536 | (variable_was_changed): If dv had some var in changed_variables | |
17537 | already, reset in_changed_variables flag for it and propagate | |
17538 | cur_loc_changed over to the new variable. On empty var | |
17539 | always set cur_loc_changed. Set in_changed_variables on whatever | |
17540 | var is added to changed_variables. | |
17541 | (set_slot_part): Clear cur_loc_changed and in_changed_variables. | |
17542 | Use shared_var_p. When removing loc that is equal to cur_loc, | |
17543 | clear cur_loc and set cur_loc_changed. If cur_loc is NULL at the | |
17544 | end, don't set it to something else, just call variable_was_changed. | |
17545 | (delete_slot_part): Use shared_var_p. When cur_loc equals to | |
17546 | loc being removed, clear cur_loc and set cur_loc_changed. | |
17547 | Set cur_loc_changed if all locations have been removed. | |
17548 | (struct expand_loc_callback_data): New type. | |
17549 | (vt_expand_loc_callback): Add dummy mode in which no rtxes are | |
17550 | allocated. Always create SUBREGs if simplify_subreg failed. | |
17551 | Prefer to use cur_loc, when that fails and still in | |
17552 | changed_variables (and seen first time) recompute it. Set | |
17553 | cur_loc_changed of variables which had to change cur_loc and | |
17554 | compute elcd->cur_loc_changed if any of the subexpressions used | |
17555 | had to change cur_loc. | |
17556 | (vt_expand_loc): Adjust to pass arguments in | |
17557 | expand_loc_callback_data structure. | |
17558 | (vt_expand_loc_dummy): New function. | |
17559 | (emitted_notes): New variable. | |
17560 | (emit_note_insn_var_location): For VALUEs and DEBUG_EXPR_DECLs | |
17561 | that weren't used for any other decl in current | |
17562 | emit_notes_for_changes call call vt_expand_loc_dummy to update | |
17563 | cur_loc. For -fno-var-tracking-assignments, set cur_loc to | |
17564 | first loc_chain location if NULL before. Always use just | |
17565 | cur_loc instead of first loc_chain location. When cur_loc_changed | |
17566 | is false, when not --enable-checking=rtl just don't emit any note. | |
17567 | When rtl checking, compute the note and assert it is the same | |
17568 | as previous note. Clear cur_loc_changed and in_changed_variables | |
17569 | at the end before removing from changed_variables. | |
17570 | (check_changed_vars_3): New function. | |
17571 | (emit_notes_for_changes): Traverse changed_vars to call | |
17572 | check_changed_vars_3 on each changed var. | |
17573 | (emit_notes_for_differences_1): Clear cur_loc_changed and | |
17574 | in_changed_variables. Recompute cur_loc of new_var. | |
77514c73 | 17575 | (emit_notes_for_differences_2): Clear cur_loc if new variable appears. |
864ddef7 JJ |
17576 | (vt_emit_notes): Initialize and destroy emitted_notes. |
17577 | ||
c4137918 BS |
17578 | 2010-03-07 Bernd Schmidt <bernd.schmidt@analog.com> |
17579 | ||
17580 | PR rtl-optimization/42220 | |
17581 | * regrename.c (scan_rtx) <case STRICT_LOW_PART, ZERO_EXTRACT>: | |
17582 | Use verify_reg_tracked to determine if we should use OP_OUT rather | |
17583 | than OP_INOUT. | |
17584 | (build_def_use): If we see an in-out operand for a register that we | |
17585 | know nothing about, treat is an output if possible, fail the block if | |
17586 | not. | |
17587 | ||
cd6549e8 AO |
17588 | 2010-03-06 Alexandre Oliva <aoliva@redhat.com> |
17589 | ||
17590 | PR debug/42897 | |
17591 | * gimple-iterator.c (gsi_remove): Propagate only PHI DEFs removed | |
17592 | permanently. | |
17593 | ||
aba09491 AO |
17594 | 2010-03-06 Alexandre Oliva <aoliva@redhat.com> |
17595 | ||
17596 | PR debug/42897 | |
17597 | * tree-vect-loop.c (vect_transform_loop): Kill out-of-loop debug | |
17598 | uses of relevant DEFs that are dead outside the loop too. | |
17599 | ||
f4a4b582 | 17600 | 2010-03-06 Alexandre Oliva <aoliva@redhat.com> |
60d7a09b AO |
17601 | |
17602 | * var-tracking.c (dataflow_set_merge): Swap src and src2. | |
17603 | Reverted: | |
17604 | 2010-01-13 Jakub Jelinek <jakub@redhat.com> | |
17605 | PR debug/41371 | |
17606 | * var-tracking.c (values_to_unmark): New variable. | |
17607 | (find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in | |
17608 | values_to_unmark vector. Moved body to... | |
17609 | (find_loc_in_1pdv_1): ... this. Don't clear VALUE_RECURSED_INTO, | |
17610 | instead queue it into values_to_unmark vector. | |
17611 | (vt_find_locations): Free values_to_unmark vector. | |
17612 | ||
eeb971c9 EB |
17613 | 2010-03-05 Eric Botcazou <ebotcazou@adacore.com> |
17614 | ||
17615 | * Makefile.in (PLUGINCC, PLUGINCFLAGS): New variables. | |
17616 | (site.exp): Export them when plugins are enabled. | |
17617 | ||
ccc5b640 SP |
17618 | 2010-03-05 Sebastian Pop <sebastian.pop@amd.com> |
17619 | ||
17620 | PR middle-end/42326 | |
17621 | * tree-chrec.c (chrec_fold_plus_1): Do not handle convert expressions | |
17622 | that contain scevs. | |
17623 | (chrec_fold_multiply): Same. | |
17624 | ||
3e23fb2e AP |
17625 | 2010-03-04 Andrew Pinski <andrew_pinski@caviumnetworks.com> |
17626 | ||
17627 | PR c/43248 | |
17628 | * c-decl.c (build_compound_literal): Return early if init is | |
17629 | an error_mark_node. | |
17630 | ||
76f76cd0 MJ |
17631 | 2010-03-04 Martin Jambor <mjambor@suse.cz> |
17632 | ||
17633 | PR tree-optimization/43164 | |
17634 | PR tree-optimization/43191 | |
17635 | * tree-sra.c (type_consists_of_records_p): Reject records with | |
17636 | zero-size bit-fields at the end. | |
17637 | ||
b2d244d1 MS |
17638 | 2010-03-04 Mike Stump <mikestump@comcast.net> |
17639 | ||
17640 | * Makefile.in (TAGS): Remove *.y. | |
17641 | ||
9ca87236 RB |
17642 | 2010-03-04 Richard Guenther <rguenther@suse.de> |
17643 | ||
17644 | PR tree-optimization/40761 | |
17645 | * tree-ssa-pre.c (compute_antic): Walk reverse postorder | |
17646 | in reverse order. | |
17647 | (my_rev_post_order_compute): New function. | |
17648 | (init_pre): Call it. | |
17649 | ||
572ae476 CF |
17650 | 2010-03-04 Changpeng Fang <changpeng.fang@amd.com> |
17651 | ||
8c0386a4 | 17652 | PR middle-end/43209 |
9ca87236 RB |
17653 | * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Do not |
17654 | decrease the cost of an IV candidate when the cost is infinite. | |
572ae476 | 17655 | |
f8723eb6 RW |
17656 | 2010-03-04 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
17657 | ||
17658 | * doc/extend.texi (Vector Extensions, X86 Built-in Functions): | |
17659 | Use '3DNow!' for the extension of that name, ensure normal space | |
17660 | after the string. | |
17661 | * doc/invoke.texi (i386 and x86-64 Options): Likewise. | |
17662 | ||
d8a60d24 JL |
17663 | 2010-03-03 Jeff Law <law@redhat.com> |
17664 | ||
17665 | * PR middle-end/32693 | |
17666 | * expmed.c (store_bit_field_1): Use gen_lowpart_SUBREG rather | |
17667 | than gen_rtx_SUBREG. | |
17668 | (extract_bit_field_1): Likewise. | |
17669 | ||
8ec49cff JJ |
17670 | 2010-03-03 Janis Johnson <janis187@us.ibm.com> |
17671 | ||
17672 | * doc/sourcebuild.texi (Test directives): Document that arguments | |
17673 | include-opts and exclude-opts are now optional for dg-skip-if, | |
17674 | dg-xfail-if, dg-xfail-run-if, and dg-shouldfail. | |
17675 | ||
2c71ac78 JM |
17676 | 2010-03-03 Jason Merrill <jason@redhat.com> |
17677 | ||
17678 | PR c++/12909 | |
17679 | * cgraph.h (varpool_node): Add extra_name field. | |
17680 | * varpool.c (varpool_extra_name_alias): New. | |
17681 | (varpool_assemble_decl): Emit extra name aliases. | |
17682 | (varpool_mark_needed_node): Look past an extra name alias. | |
1d5053d6 JM |
17683 | * lto-streamer.h (LTO_tags): Add LTO_var_decl_alias. |
17684 | * lto-streamer-in.c (lto_input_tree): Read it. | |
17685 | * lto-streamer-out.c (output_unreferenced_globals): Write it. | |
2c71ac78 | 17686 | |
2587aa3b EB |
17687 | 2010-03-03 Eric Botcazou <ebotcazou@adacore.com> |
17688 | ||
17689 | * config.gcc (sparc64-*-solaris2*, sparc-*-solaris2*): Merge into... | |
17690 | (sparc*-*-solaris2*): ...this. | |
17691 | ||
db51bb34 JJ |
17692 | 2010-03-03 Jakub Jelinek <jakub@redhat.com> |
17693 | ||
7ece48b1 JJ |
17694 | PR debug/43229 |
17695 | * cfgexpand.c (expand_debug_expr): Handle DOT_PROD_EXPR, | |
17696 | WIDEN_MULT_EXPR and WIDEN_SUM_EXPR. Return NULL without | |
17697 | ICE for vector expressions, ADDR_SPACE_CONVERT_EXPR, | |
17698 | FIXED_CONVERT_EXPR, OBJ_TYPE_REF and WITH_SIZE_EXPR. | |
17699 | ||
0508bed7 JJ |
17700 | PR debug/43237 |
17701 | * dwarf2out.c (add_bound_info): If a decl bound doesn't have decl_die, | |
17702 | fallthrough to default handling, just with want_address 0 instead of 2. | |
17703 | For single element lists, add_AT_loc directly, otherwise create an | |
17704 | artificial variable DIE and stick location list to it. | |
17705 | ||
db51bb34 JJ |
17706 | PR debug/43177 |
17707 | * var-tracking.c (loc_cmp): Don't assert VALUEs have the same mode. | |
17708 | (VAL_EXPR_HAS_REVERSE): Define. | |
17709 | (reverse_op): New function. | |
17710 | (add_stores): For reversible operations add an extra MO_VAL_USE. | |
17711 | ||
7428bc26 JM |
17712 | 2010-03-02 Jason Merrill <jason@redhat.com> |
17713 | ||
17714 | * c-pretty-print.c (pp_c_specifier_qualifier_list): Print vector size. | |
17715 | ||
d1ced155 EB |
17716 | 2010-03-02 Eric Botcazou <ebotcazou@adacore.com> |
17717 | ||
17718 | * config.gcc (sparc-*-linux*): Do not include sparc/gas.h. | |
17719 | (sparc64-*-linux*): Likewise. | |
17720 | (sparc64-*-solaris2*): Include assembler files before linker ones. | |
17721 | (sparc-*-solaris2*): Simplify and reorder to match previous case. | |
17722 | * config/sparc/gas.h: Delete. | |
17723 | * config/sparc/sol2-64.h: Add copyright notice. | |
17724 | * config/sparc/sol2-gas-bi.h: Likewise. | |
17725 | * config/sparc/sol2-gld.h: Likewise. | |
17726 | * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Delete. | |
17727 | * config/sparc/sol2.h (TARGET_ASM_NAMED_SECTION): Redefine. | |
17728 | * config/sparc/sol2-gas.h (TARGET_ASM_NAMED_SECTION): Likewise. | |
17729 | * config/sparc/sparc.c (TARGET_ASM_ALIGNED_SI_OP): Never redefine. | |
17730 | (sparc_elf_asm_named_section): Rename into... | |
17731 | (sparc_solaris_elf_asm_named_section): ...this. Always define. | |
17732 | ||
02d43000 UB |
17733 | 2010-03-02 Uros Bizjak <ubizjak@gmail.com> |
17734 | ||
17735 | * config/alpha/alpha.c (override_options): Fix -mtune error message. | |
17736 | ||
f6c86fab JL |
17737 | 2010-03-02 Jeff Law <law@redhat.com> |
17738 | ||
4e222e63 | 17739 | PR middle-end/42431 |
f6c86fab JL |
17740 | * reload1.c (rtx_p, substitute_stack): Declare. |
17741 | (substitute): Record addresses of changed rtxs. | |
17742 | (gen_reload_chain_without_interm_reg_p): Don't use copy_rtx anymore. | |
17743 | Restore the original rtx when complete. | |
17744 | (reload): Free subsitute_stack when complete. | |
17745 | ||
500cdcb0 JJ |
17746 | 2010-03-02 Janis Johnson <janis187@us.ibm.com> |
17747 | ||
17748 | * doc/gccint.texi (menu): Add Testsuites as a chapter. | |
17749 | * doc/sourcebuild.texi (Testsuites): Move up a level to be a | |
17750 | new chapter. | |
17751 | (Test Idioms, Test Directives, Ada Tests, C Tests, libgcj Tests, | |
17752 | LTO Testing, gcov Testing, profopt Testing, compat Testing, | |
17753 | Torture Tests): Change from subsection to section. | |
17754 | ||
d9a6979d JJ |
17755 | 2010-03-02 Jakub Jelinek <jakub@redhat.com> |
17756 | Steven Bosscher <steven@gcc.gnu.org> | |
17757 | ||
02d43000 UB |
17758 | * var-tracking.c (vt_initialize): Scan insns in ebb chunks |
17759 | instead of bb. | |
d9a6979d | 17760 | |
61226dc8 SP |
17761 | 2010-03-02 Reza Yazdani <reza.yazdani@amd.com> |
17762 | ||
17763 | PR middle-end/42640 | |
17764 | * tree-loop-distribution.c (update_phis_for_loop_copy): Replaced | |
17765 | the assignment from the new induction variable to the assignment | |
17766 | of the value from the original loop PHI function. | |
17767 | ||
15e7a617 JJ |
17768 | 2010-03-01 Janis Johnson <janis187@us.ibm.com> |
17769 | Daniel Jacobowitz <dan@codesourcery.com> | |
17770 | ||
17771 | * doc/sourcebuild.texi (Test directives): Clarify options to | |
17772 | dg-skip-if. | |
17773 | ||
eb2573ee RO |
17774 | 2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17775 | ||
17776 | * configure.ac (gcc_cv_as_cfi_directive) [i?86-*-solaris*]: | |
17777 | Disable cfi directives unless GCC and gas agree on using read-only | |
17778 | .eh_frame sections for 64-bit. | |
17779 | * configure: Regenerate. | |
17780 | ||
12f9ddbc RG |
17781 | 2010-03-01 Richard Guenther <rguenther@suse.de> |
17782 | ||
17783 | PR tree-optimization/43220 | |
17784 | * tree-ssa-ccp.c (optimize_stack_restore): Do not optimize | |
17785 | BUILT_IN_STACK_{SAVE,RESTORE} around alloca. | |
17786 | ||
f0c10f0f | 17787 | 2010-03-01 Richard Guenther <rguenther@suse.de> |
02d43000 | 17788 | Martin Jambor <mjambor@suse.cz> |
f0c10f0f RG |
17789 | |
17790 | PR middle-end/41250 | |
17791 | * gimplify.c (gimplify_body): Unset DECL_HAS_VALUE_EXPR_P on | |
17792 | gimplified parameters. | |
17793 | ||
c40b5400 CB |
17794 | 2010-03-01 Christian Bruel <christian.bruel@st.com> |
17795 | ||
17796 | * except.c (dw2_build_landing_pads): set LABEL_PRESERVE_P. | |
61226dc8 | 17797 | |
3c775d2d L |
17798 | 2010-03-01 H.J. Lu <hongjiu.lu@intel.com> |
17799 | ||
17800 | * config/i386/linux64.h (ASM_SPEC): Use SPEC_32 and SPEC_64. | |
17801 | ||
434c8f4b RG |
17802 | 2010-03-01 Richard Guenther <rguenther@suse.de> |
17803 | ||
17804 | PR middle-end/43213 | |
17805 | * expr.c (expand_assignment): Use the alias-oracle to tell | |
17806 | if the rhs aliases the result decl. | |
17807 | ||
291c0a12 RO |
17808 | 2010-03-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
17809 | ||
17810 | PR pch/14940 | |
17811 | * config/host-solaris.c (HOST_HOOKS_GT_PCH_GET_ADDRESS): Redefine | |
17812 | to sol_gt_pch_get_address. | |
17813 | (TRY_EMPTY_VM_SPACE): Define for all combinations of 32 and | |
17814 | 64-bit, SPARC and x86. | |
17815 | (sol_gt_pch_get_address): New function. | |
17816 | ||
61226dc8 | 17817 | 2010-03-01 Marco Poletti <poletti.marco@gmail.com> |
894e2652 SZ |
17818 | |
17819 | * toplev.h (inform_n, error_n): Declare. | |
17820 | * diagnostic.c (inform_n, error_n): New function. | |
17821 | ||
6c6366f6 JJ |
17822 | 2010-03-01 Jakub Jelinek <jakub@redhat.com> |
17823 | ||
17824 | * cfgexpand.c (expand_used_vars): If an artificial non-ignored var | |
17825 | has no rtl yet when processing local_decls, queue it and recheck | |
17826 | if deferred stack allocation hasn't assigned it rtl. | |
17827 | ||
826159e5 KK |
17828 | 2010-02-28 Kaz Kojima <kkojima@gcc.gnu.org> |
17829 | ||
17830 | * config/sh/sh.c (unspec_bbr_uid): New. | |
17831 | (gen_block_redirect): Use it instead of INSN_UID. | |
17832 | (gen_far_branch): Likewise. | |
17833 | ||
746ecbcd L |
17834 | 2010-02-28 H.J. Lu <hongjiu.lu@intel.com> |
17835 | ||
17836 | * config/i386/darwin.h (TARGET_SUBTARGET32_ISA_DEFAULT): Make | |
17837 | it the same as TARGET_SUBTARGET64_ISA_DEFAULT. | |
17838 | ||
02a9370c RW |
17839 | 2010-02-28 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
17840 | ||
17841 | * doc/invoke.texi (Warning Options, RX Options): Fix typos. | |
17842 | (Warning Options): -Wno-conversion-null is valid for | |
17843 | Objective-C++ as well. | |
17844 | * doc/tm.texi (Named Address Spaces): Likewise. | |
17845 | * doc/plugins.texi (Plugins): Replace TABs with spaces. | |
17846 | * doc/tree-ssa.texi (Tree SSA): Likewise. | |
17847 | ||
91ad7e13 L |
17848 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
17849 | ||
17850 | PR bootstrap/43202 | |
17851 | * config.gcc: Don't enable SSE math for i[34567]86-*-darwin* | |
17852 | by default. Don't set the default arch for | |
17853 | i[34567]86-*-darwin*|x86_64-*-darwin*. | |
17854 | ||
55c4eeaa L |
17855 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
17856 | ||
17857 | PR bootstrap/43202 | |
17858 | * config.gcc: Enable SSE math for i[34567]86-*-darwin* by | |
17859 | default. Set the default 32bit/64bit archs with $with_arch | |
17860 | instead of $arch for i[34567]86-*-*|x86_64-*-* targets. | |
17861 | ||
30bc1dca RG |
17862 | 2010-02-27 Richard Guenther <rguenther@suse.de> |
17863 | ||
17864 | PR tree-optimization/43186 | |
17865 | * params.def (PARAM_MAX_UNROLL_ITERATIONS): New param. | |
17866 | * doc/invoke.texi (max-completely-peel-loop-nest-depth): Document. | |
17867 | * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely): Limit | |
17868 | unroller iterations. | |
17869 | ||
c6b9174f L |
17870 | 2010-02-27 H.J. Lu <hongjiu.lu@intel.com> |
17871 | ||
17872 | * config.gcc: Set the default 32bit/64bit archs if 64bit ISA is | |
17873 | required and i[34567]86-*-* targets don't support 64bit ISA. | |
17874 | ||
2743db69 EB |
17875 | 2010-02-26 Eric Botcazou <ebotcazou@adacore.com> |
17876 | ||
17877 | PR ada/43096 | |
17878 | * tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have | |
17879 | the same alias set. | |
17880 | ||
4d16c0dc L |
17881 | 2010-02-26 H.J. Lu <hongjiu.lu@intel.com> |
17882 | ||
17883 | * config.gcc: Set the default arch at least to Prescott for | |
17884 | i[34567]86-*-darwin* and Pentium 4 for i[34567]86-*-* targets | |
17885 | if SSE math is enabled. | |
17886 | ||
0e94b750 MLI |
17887 | 2010-02-26 Manuel López-Ibáñez <manu@gcc.gnu.org> |
17888 | ||
17889 | * diagnostic.c (diagnostic_initialize): Update. | |
17890 | (diagnostic_report_diagnostic): Test inhibit_notes_p for | |
17891 | informative notes. | |
17892 | * diagnostic.h (diagnostic_context): New bool inhibit_notes_p. | |
17893 | (diagnostic_inhibit_notes): New. | |
17894 | * toplev.c (process_options): inhibit notes with -fcompare-debug. | |
17895 | ||
7e1542b9 MLI |
17896 | 2010-02-26 Manuel López-Ibáñez <manu@gcc.gnu.org> |
17897 | ||
17898 | PR c/20631 | |
17899 | * doc/cpp.texi: Use c90 instead of c89 and gnu90 instead of gnu89. | |
17900 | * doc/standards.texi: Likewise. | |
17901 | * doc/extend.texi: Likewise. | |
17902 | * doc/trouble.texi: Likewise. | |
61226dc8 | 17903 | * doc/cppopts.texi: Likewise. |
7e1542b9 MLI |
17904 | * doc/install.texi: Likewise. |
17905 | * c.opt (std=c90,std=gnu90): New options. | |
17906 | * c-opts.c (c_common_handle_option): Handle them. | |
17907 | ||
0b901e4c MLI |
17908 | 2010-02-26 Manuel López-Ibáñez <manu@gcc.gnu.org> |
17909 | ||
17910 | PR c/24577 | |
17911 | * c-decl.c (undeclared_variable): Use an informative note. | |
17912 | ||
37530014 RG |
17913 | 2010-02-26 Richard Guenther <rguenther@suse.de> |
17914 | ||
17915 | PR tree-optimization/43186 | |
17916 | * gimple.h (gimple_fold): Remove. | |
17917 | * gimple.c (gimple_fold): Remove. Inline into single user ... | |
17918 | * tree-cfgcleanup.c (cleanup_control_expr_graph): ... here. | |
17919 | Try harder for conditions. | |
17920 | ||
095c7b3c JJ |
17921 | 2010-02-26 Jakub Jelinek <jakub@redhat.com> |
17922 | ||
17923 | PR debug/43190 | |
17924 | * function.c (used_types_insert): Don't skip through named pointer | |
17925 | types. Don't use TYPE_MAIN_VARIANT if the original type has a name | |
17926 | and it is different from the main variant's type. | |
17927 | ||
a1e205cf NC |
17928 | 2010-02-26 Nick Clifton <nickc@redhat.com> |
17929 | ||
17930 | * config/rx/rx.md (sminsi3): Remove bogus alternative. | |
17931 | ||
a3af5e26 L |
17932 | 2010-02-26 H.J. Lu <hongjiu.lu@intel.com> |
17933 | ||
17934 | * config.gcc: Support --with-fpmath=sse for x86. | |
17935 | ||
17936 | * config/i386/ssemath.h: New. | |
17937 | ||
17938 | * doc/install.texi (--with-fpmath=sse): Documented. | |
17939 | ||
2f816591 RG |
17940 | 2010-02-26 Richard Guenther <rguenther@suse.de> |
17941 | ||
17942 | PR tree-optimization/43188 | |
17943 | * tree-vect-stmts.c (get_vectype_for_scalar_type): Do not build | |
17944 | vector types of over-aligned element type. | |
17945 | ||
7ce321b3 L |
17946 | 2010-02-26 Uros Bizjak <ubizjak@gmail.com> |
17947 | ||
17948 | PR target/43175 | |
17949 | * config/i386/i386.c (expand_vec_perm_blend): Use correct | |
02d43000 | 17950 | operands in V8HImode subregs. Fix operand order in VEC_MERGE rtx. |
7ce321b3 | 17951 | |
b55b184a JK |
17952 | 2010-02-26 Jan Kratochvil <jan.kratochvil@redhat.com> |
17953 | ||
17954 | * doc/invoke.texi (-fvar-tracking-assignments): Fix typo. | |
17955 | ||
e7140c8d JJ |
17956 | 2010-02-26 Jakub Jelinek <jakub@redhat.com> |
17957 | ||
6764d92c JJ |
17958 | * Makefile.in (var-tracking.o): Depend on $(DIAGNOSTIC_H). |
17959 | * var-tracking.c: Include diagnostic.h. | |
17960 | (debug_dv): New function. | |
17961 | (dump_var): Print DEBUG_EXPR_DECLs as D#N instead of D.-N. | |
17962 | ||
5a309965 JJ |
17963 | PR debug/43160 |
17964 | * var-tracking.c (dv_onepart_p): Return true for DEBUG_EXPR_DECLs. | |
17965 | (add_value_chain, add_value_chains, remove_value_chain, | |
17966 | remove_value_chains): Handle DEBUG_EXPRs. | |
17967 | (check_changed_vars_1, check_changed_vars_2): Handle DEBUG_EXPR_DECLs. | |
17968 | ||
e7140c8d JJ |
17969 | PR debug/43161 |
17970 | * regcprop.c (struct queued_debug_insn_change): New type. | |
17971 | (struct value_data_entry): Add debug_insn_changes field. | |
17972 | (struct value_data): Add n_debug_insn_changes field. | |
17973 | (debug_insn_changes_pool): New variable. | |
17974 | (free_debug_insn_changes, apply_debug_insn_changes, | |
17975 | cprop_find_used_regs_1, cprop_find_used_regs): New functions. | |
17976 | (kill_value_one_regno): Call free_debug_insn_changes if needed. | |
17977 | (init_value_data): Clear debug_insn_changes and n_debug_insn_changes | |
17978 | fields. | |
17979 | (replace_oldest_value_reg): Don't change DEBUG_INSNs, instead queue | |
17980 | changes for them. | |
17981 | (copyprop_hardreg_forward_1): Don't call apply_change_group for | |
17982 | DEBUG_INSNs. For a real insn, if there are queued DEBUG_INSN | |
17983 | changes, call cprop_find_used_regs via note_stores. | |
17984 | (copyprop_hardreg_forward): When copying vd from predecessor | |
17985 | which has any queued DEBUG_INSN changes, make sure the pointers are | |
17986 | cleared. At the end call df_analyze and then if there are any | |
17987 | DEBUG_INSN changes queued at the end of some basic block for still | |
17988 | live registers, apply them. | |
17989 | (pass_cprop_hardreg): Set TODO_df_finish in todo_flags_finish. | |
17990 | ||
894b386f UB |
17991 | 2010-02-25 Uros Bizjak <ubizjak@gmail.com> |
17992 | ||
17993 | * config.gcc (i[34567]86-*-* | x86_64-*-*): Split long line. | |
17994 | (arm*-*-*): Ditto. | |
17995 | ||
3fd77630 L |
17996 | 2010-02-25 H.J. Lu <hongjiu.lu@intel.com> |
17997 | ||
17998 | * config.gcc: Set arch/cpu for i[34567]86-*-*|x86_64-*-* | |
17999 | targets. Set the default with_cpu/with_arch from arch/cpu. | |
18000 | Allow x86-64 and native for with_cpu/with_arch. | |
18001 | ||
4b9c6075 NB |
18002 | 2010-02-25 Nicolas Benoit <nbenoit@tuxfamily.org> |
18003 | ||
18004 | * ebitmap.c: Change calls to verify_popcount with calls to | |
18005 | sbitmap_verify_popcount. | |
18006 | (ebitmap_clear_bit): Fixed map->cacheindex test and | |
18007 | map>cache update when bit clearing results in an empty | |
18008 | element. | |
18009 | ||
2fcd8e02 MM |
18010 | 2010-02-25 Michael Meissner <meissner@linux.vnet.ibm.com> |
18011 | ||
18012 | PR target/43154 | |
18013 | * config/rs6000/vector.md (VEC_64): New iterator for V2DF, V2DI. | |
18014 | (vec_interleave_high<mode>): Rename from vec_interleave_highv2df | |
18015 | and support both V2DF and V2DI modes. | |
18016 | (vec_interleave_low<mode>): Rename from vec_interleave_lowv2df and | |
18017 | support both V2DF and V2DI modes. | |
18018 | (general): Delete trailing whitespace from a few patterns. | |
18019 | ||
18020 | * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add | |
18021 | V2DF/V2DI interleave high/low builtins. | |
18022 | ||
18023 | * config/rs6000/rs6000-builtin.def (VSX_BUILTIN_VEC_MERGE*): Add | |
18024 | new VSX builtins. | |
18025 | ||
18026 | * config/rs6000/rs6000.c (bdesc_2arg): Add support for V2DF/V2DI | |
18027 | interleave high/low functions. | |
18028 | ||
f61ae065 GP |
18029 | 2010-02-25 Gerald Pfeifer <gerald@pfeifer.com> |
18030 | ||
18031 | * doc/extend.texi (Symbol-Renaming Pragmas): Fix spelling of | |
18032 | #pragma extern_prefix. | |
18033 | ||
7d5d39bb JJ |
18034 | 2010-02-25 Jakub Jelinek <jakub@redhat.com> |
18035 | ||
06796564 JJ |
18036 | PR debug/43166 |
18037 | * cfgexpand.c (expand_debug_expr) <case VAR_DECL>: If mode is | |
18038 | BLKmode, assert op0 is a MEM and just adjust its mode. | |
18039 | ||
7d5d39bb JJ |
18040 | PR debug/43165 |
18041 | * cfgexpand.c (expand_debug_expr): Don't call simplify_gen_subreg | |
18042 | if bitpos isn't multiple of mode's bitsize. | |
18043 | ||
124e0d27 MLI |
18044 | 2010-02-24 Manuel López-Ibáñez <manu@gcc.gnu.org> |
18045 | ||
18046 | * c.opt (-ftemplate-depth=): New. | |
18047 | (-ftemplate-depth-): Deprecate. | |
18048 | * optc-gen.awk: Handle -ftemplate-depth=. | |
18049 | * opth-gen.awk: Likewise. | |
18050 | * c-opts.c (c_common_handle_option): Likewise. | |
02d43000 | 18051 | * doc/invoke.texi (-ftemplate-depth-): Replace with -ftemplate-depth=. |
124e0d27 | 18052 | |
0e7750a0 JM |
18053 | 2010-02-24 Jason Merrill <jason@redhat.com> |
18054 | ||
18055 | * doc/invoke.texi: Improve -Wabi and -fabi-version docs. | |
18056 | ||
c26238f4 RO |
18057 | 2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18058 | ||
18059 | * cfg.c (alloc_aux_for_block): Remove inline. | |
18060 | (alloc_aux_for_edge): Likewise. | |
18061 | ||
bef64e0f RO |
18062 | 2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18063 | ||
18064 | * config.gcc: Fix typo in mips-sgi-irix6.[0-4]* obsoletion. | |
18065 | ||
68ba2afe RO |
18066 | 2010-02-24 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18067 | ||
18068 | * config/i386/sol2.h (NO_DBX_BNSYM_ENSYM): Define. | |
18069 | * config/i386/sol2-gas.h: New file. | |
18070 | * config.gcc (i[34567]86-*-solaris2*): Use it. | |
18071 | ||
2d2e923f MLI |
18072 | 2010-02-24 Manuel López-Ibáñez <manu@gcc.gnu.org> |
18073 | ||
18074 | PR c/43128 | |
18075 | * c-typeck.c (ep_convert_and_check): New. | |
18076 | (build_conditional_expr): Use it. | |
18077 | (build_binary_op): Likewise. | |
18078 | ||
2e957792 JJ |
18079 | 2010-02-24 Jakub Jelinek <jakub@redhat.com> |
18080 | ||
a46368b2 JJ |
18081 | * regcprop.c (copyprop_hardreg_forward_1): Don't call df_insn_rescan. |
18082 | ||
2e957792 JJ |
18083 | PR debug/43150 |
18084 | * gimplify.c (gimplify_type_sizes): Clear DECL_IGNORED_P for VLA | |
18085 | bounds even for -O+. | |
18086 | * var-tracking.c (track_expr_p): If !need_rtl, don't mandate | |
18087 | expr needs to have DECL_NAME set. | |
18088 | ||
12a54f54 NC |
18089 | 2010-02-24 Nick Clifton <nickc@redhat.com> |
18090 | ||
18091 | * config/mep/mep.c: Include gimple.h. | |
18092 | (mep_function_uses_sp): Delete unused function. | |
18093 | (mep_gimplify_va_arg_expr): Change types of pre_p and post_p | |
18094 | parameters. Use unsigned integers to count args. Return a | |
18095 | NULL_RTX instead of an error_mark_node. Toidy up formatting. | |
18096 | ||
8f40ad50 JJ |
18097 | 2010-02-23 Jakub Jelinek <jakub@redhat.com> |
18098 | ||
18099 | PR target/43107 | |
18100 | * config/i386/i386.c (avx_vpermilp_parallel): Reject indexes | |
18101 | greater or equal to nelt instead of 2 * nelt. | |
18102 | (expand_vec_perm_1): When op0 and op1 are equal, mask indexes | |
18103 | with nelt - 1. | |
18104 | ||
a3b20e90 JM |
18105 | 2010-02-23 Jason Merrill <jason@redhat.com> |
18106 | ||
3adcf52c JM |
18107 | PR debug/42800 |
18108 | * cfgexpand.c (expand_used_vars): Keep artificial non-ignored vars | |
18109 | in cfun->local_decls even if they have register types. | |
18110 | ||
a3b20e90 JM |
18111 | PR c++/42837 |
18112 | * stor-layout.c (place_field): Don't warn about unnecessary | |
18113 | DECL_PACKED if the type is packed. | |
18114 | ||
5ead99fa JJ |
18115 | 2010-02-23 Jakub Jelinek <jakub@redhat.com> |
18116 | ||
18117 | PR target/43139 | |
18118 | * config/i386/i386.c (ix86_delegitimize_address): Delegitimize all | |
18119 | GOTOFF relocs, even when the base reg isn't pic pointer. | |
18120 | ||
2a8e30fb MM |
18121 | 2010-02-23 Michael Matz <matz@suse.de> |
18122 | ||
18123 | PR debug/43077 | |
18124 | * cfgexpand (expand_debug_expr): Expand TERed ssa names in place. | |
18125 | (expand_gimple_basic_block): Generate and use debug temps if there | |
18126 | are debug uses left after the last real use of TERed ssa names. | |
18127 | Unlink debug immediate uses when they are expanded. | |
18128 | ||
38170f34 MLI |
18129 | 2010-02-23 Manuel López-Ibáñez <manu@gcc.gnu.org> |
18130 | ||
18131 | PR 43123 | |
18132 | * config/i386/i386.c (override_options): Reorganise to provide | |
18133 | better error messages. | |
18134 | ||
0f9c8f56 SP |
18135 | 2010-02-22 Sebastian Pop <sebastian.pop@amd.com> |
18136 | ||
18137 | PR middle-end/43083 | |
18138 | * graphite-scop-detection.c (create_single_exit_edge): Move | |
18139 | the call to find_single_exit_edge to.... | |
18140 | (create_sese_edges): ...here. Don't handle multiple edges | |
18141 | exiting the function. | |
18142 | (build_graphite_scops): Don't handle multiple edges | |
18143 | exiting the function. | |
18144 | ||
18145 | 2010-02-22 Sebastian Pop <sebastian.pop@amd.com> | |
18146 | ||
18147 | PR middle-end/43097 | |
18148 | * sese.c (get_rename): Assert that old_name is an SSA_NAME. | |
18149 | (rename_variables_in_stmt): Continue when the use is not an SSA_NAME. | |
18150 | ||
18151 | 2010-02-22 Sebastian Pop <sebastian.pop@amd.com> | |
18152 | ||
18153 | PR middle-end/43026 | |
18154 | * sese.c (expand_scalar_variables_expr): Handle COMPONENT_REF. | |
18155 | ||
a98c2819 MLI |
18156 | 2010-02-22 Manuel López-Ibáñez <manu@gcc.gnu.org> |
18157 | ||
18158 | PR c++/43126 | |
18159 | * c-typeck.c (convert_arguments): Print declaration location. | |
18160 | * c-common.c (validate_nargs): Rename as | |
18161 | builtin_function_validate_nargs. | |
18162 | (check_builtin_function_arguments): Update. | |
18163 | ||
ea2edf88 RG |
18164 | 2010-02-22 Richard Guenther <rguenther@suse.de> |
18165 | ||
18166 | PR lto/43045 | |
18167 | * tree-inline.c (declare_return_variable): Use the type of | |
18168 | the call stmt lhs if available. | |
18169 | ||
669887fc DS |
18170 | 2010-02-22 Duncan Sands <baldrick@free.fr> |
18171 | ||
18172 | * passes.c (register_pass): Always consider all pass lists when | |
18173 | ref_pass_instance_number is zero. | |
18174 | ||
9efc83f4 RG |
18175 | 2010-02-22 Richard Guenther <rguenther@suse.de> |
18176 | ||
18177 | PR tree-optimization/42749 | |
18178 | * tree-tailcall.c (adjust_return_value_with_ops): Drop update | |
18179 | parameter. Do arithmetic in the original type. | |
18180 | (update_accumulator_with_ops): Likewise. | |
18181 | (adjust_accumulator_values): Adjust. | |
18182 | ||
0a88561f AK |
18183 | 2010-02-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
18184 | ||
18185 | * config/s390/s390.md ("movqi"): Re-add the mem->mem alternative. | |
18186 | (QI to BLKmode splitter): New splitter. | |
18187 | ||
5c91eb02 L |
18188 | 2010-02-22 H.J. Lu <hongjiu.lu@intel.com> |
18189 | ||
18190 | * config/i386/i386.c (initial_ix86_tune_features): Turn on | |
18191 | X86_TUNE_INTER_UNIT_MOVES for m_ATOM. | |
18192 | ||
69e3b47f RG |
18193 | 2010-02-22 Richard Guenther <rguenther@suse.de> |
18194 | ||
18195 | * tree-vect-slp.c (vect_slp_analyze_bb): Fix typo. | |
5c91eb02 | 18196 | |
45df0e43 HPN |
18197 | 2010-02-22 Hans-Peter Nilsson <hp@bitrange.com> |
18198 | ||
18199 | Migrate crti, crtn, crtbegin, crtend build rules to libgcc. | |
18200 | * config/mmix/t-mmix (EXTRA_MULTILIB_PARTS): Don't set. | |
18201 | ($(T)crti.o, $(T)crtn.o): Remove rules. | |
18202 | ||
72bd130e TB |
18203 | 2010-02-21 Tobias Burnus <burnus@net-b.de> |
18204 | ||
18205 | PR fortran/35259 | |
18206 | * doc/invoke.texi (-fassociative-math): Document that this | |
18207 | option is automatically enabled for Fortran. | |
18208 | ||
878ee0ab DM |
18209 | 2010-02-20 David S. Miller <davem@davemloft.net> |
18210 | ||
18211 | * configure.ac: Test if linker and assembler properly support | |
18212 | GOTDATA_OP relocations. | |
18213 | * configure: Rebuild. | |
18214 | * config.in: Likewise. | |
18215 | * config/sparc/sparc.md (UNSPEC_MOVE_GOTDATA): New. | |
18216 | (movsi_lo_sum_pic): Use %gdop_*() relocs if available. | |
18217 | (movsi_high_pic): Likewise. | |
18218 | (movdi_lo_sum_pic): Likewise. | |
18219 | (movdi_high_pic): Likewise. | |
18220 | (movsi_pic_gotdata_op): New pattern. | |
18221 | (movdi_pic_gotdata_op): Likewise. | |
18222 | * config/sparc/sparc.c (legitimize_pic_address): If flag_pic is 2, | |
18223 | emit gen_mov{si,di}_pic_gotdata_op for the GOT slot load. | |
02d43000 | 18224 | |
78c201a4 UB |
18225 | 2010-02-20 Uros Bizjak <ubizjak@gmail.com> |
18226 | ||
18227 | PR target/43067 | |
18228 | * config/i386/sse.md (xop_mulv2div2di3_low): Change type | |
18229 | attribute to ssemul. | |
18230 | (xop_mulv2div2di3_high): Ditto. | |
18231 | ||
17251338 MLI |
18232 | 2010-02-20 Manuel López-Ibáñez <manu@gcc.gnu.org> |
18233 | ||
18234 | PR c++/35669 | |
18235 | * c.opt (Wconversion-null): New option. | |
18236 | * doc/invoke.texi (Wconversion-null): Document. | |
18237 | ||
e7a84854 MLI |
18238 | 2010-02-20 Manuel López-Ibáñez <manu@gcc.gnu.org> |
18239 | ||
18240 | * common.opt (Wlarger-than-): Add Undocumented. | |
78c201a4 | 18241 | |
f233f7ed MS |
18242 | 2010-02-19 Mike Stump <mikestump@comcast.net> |
18243 | ||
18244 | * config/t-darwin (gt-darwin.h): Remove as Makefile now handles it. | |
18245 | ||
d88900d7 JM |
18246 | 2010-02-19 Jason Merrill <jason@redhat.com> |
18247 | ||
18248 | PR target/40332 | |
18249 | * configure.ac (gcc_cv_as_cfi_advance_working): Check 32-bit advance. | |
18250 | * configure: Likewise. | |
18251 | ||
715a4e08 AM |
18252 | 2010-02-20 Alan Modra <amodra@gmail.com> |
18253 | ||
18254 | PR middle-end/42344 | |
18255 | * cgraph.h (cgraph_make_decl_local): Declare. | |
18256 | * cgraph.c (cgraph_make_decl_local): New function. | |
18257 | (cgraph_make_node_local): Use it. | |
18258 | * cgraphunit.c (cgraph_function_versioning): Likewise. | |
18259 | * ipa.c (function_and_variable_visibility): Likewise. | |
18260 | ||
ad3b056c JJ |
18261 | 2010-02-19 Jakub Jelinek <jakub@redhat.com> |
18262 | ||
18263 | PR bootstrap/43121 | |
18264 | * except.c (sjlj_emit_function_enter): Don't call | |
18265 | add_reg_br_prob_note, instead add REG_BR_PROB note to the last insn | |
18266 | directly. | |
18267 | * rtl.h (add_reg_br_prob_note): Remove prototype. | |
18268 | ||
58076e21 MLI |
18269 | 2010-02-19 Manuel López-Ibáñez <manu@gcc.gnu.org> |
18270 | ||
18271 | PR 41779 | |
18272 | * c-common.c (conversion_warning): Remove widening conversions | |
18273 | before checking the conversion of integers to reals. | |
18274 | ||
b42186f1 MS |
18275 | 2010-02-19 Mike Stump <mikestump@comcast.net> |
18276 | ||
c387e067 MS |
18277 | PR middle-end/43125 |
18278 | * c-decl.c (merge_decls): Merge DECL_PRESERVE_P. | |
18279 | ||
b42186f1 MS |
18280 | PR objc/43061 |
18281 | * cgraphunit.c (process_function_and_variable_attributes): Check | |
18282 | DECL_PRESERVE_P instead of looking up attribute "used". | |
18283 | * ipa-pure-const.c (check_decl): Likewise. | |
18284 | * ipa-reference.c (has_proper_scope_for_analysis): Likewise. | |
18285 | * ipa-type-escape.c (has_proper_scope_for_analysis): Likewise. | |
18286 | * config/sol2.c (solaris_insert_attributes): Set DECL_PRESERVE_P | |
18287 | instead of attribute "used". | |
18288 | * config/sol2-c.c (solaris_pragma_init): Likewise. | |
18289 | (solaris_pragma_fini): Likewise. | |
18290 | ||
8ac074e8 JJ |
18291 | 2010-02-19 Jakub Jelinek <jakub@redhat.com> |
18292 | ||
25c0cad4 JJ |
18293 | * ipa-struct-reorg.c (make_field_acc_node, gen_cluster, peel_field): |
18294 | Use XCNEW instead of xcalloc. | |
18295 | (add_access_to_acc_sites, create_new_var_node, add_alloc_site): Use | |
18296 | XNEW instead of xmalloc. | |
18297 | (get_fields): Use XNEWVEC instead of xmalloc. | |
18298 | ||
e19bcb67 JJ |
18299 | PR debug/43084 |
18300 | * ipa-struct-reorg.c (add_access_to_acc_sites): For debug stmts don't | |
18301 | populate vars array. | |
18302 | (create_new_general_access): For debug stmts just reset value. | |
18303 | (get_stmt_accesses): For accesses within debug stmts just record them | |
18304 | using add_access_to_acc_sites instead of preventing the peeling or | |
18305 | counting them as accesses. | |
18306 | ||
8ac074e8 JJ |
18307 | PR middle-end/42233 |
18308 | * dojump.c (do_jump) <case TRUTH_NOT_EXPR>: Invert priority. | |
18309 | ||
c7da0354 RG |
18310 | 2010-02-19 Richard Guenther <rguenther@suse.de> |
18311 | ||
18312 | PR tree-optimization/42916 | |
18313 | * tree-vect-slp.c (vect_slp_analyze_bb): Count only real | |
18314 | instructions. | |
18315 | ||
e5dfb95f AS |
18316 | 2010-02-19 Andreas Schwab <schwab@linux-m68k.org> |
18317 | ||
18318 | * configure.ac: Replace all uses of changequote in macro arguments | |
18319 | with proper quoting. | |
18320 | ||
2bdd49f4 JJ |
18321 | 2010-02-19 Jakub Jelinek <jakub@redhat.com> |
18322 | ||
18323 | PR middle-end/42233 | |
18324 | * loop-doloop.c (add_test): Adjust do_compare_rtx_and_jump caller. | |
18325 | ||
604d0dbc RG |
18326 | 2010-02-19 Richard Guenther <rguenther@suse.de> |
18327 | ||
18328 | PR tree-optimization/42944 | |
18329 | * tree-ssa-alias.c (call_may_clobber_ref_p_1): Massage | |
18330 | test for aliasing with errno. | |
18331 | ||
554cf330 JJ |
18332 | 2010-02-19 Jakub Jelinek <jakub@redhat.com> |
18333 | ||
40e90eac JJ |
18334 | PR middle-end/42233 |
18335 | * expr.h (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump, | |
18336 | do_jump_1, do_compare_rtx_and_jump): Add PROB argument. | |
18337 | * dojump.c: Include output.h. | |
18338 | (inv): New inline function. | |
18339 | (jumpifnot, jumpifnot_1, jumpif, jumpif_1, do_jump_1, do_jump, | |
18340 | do_jump_by_parts_greater_rtx, do_jump_by_parts_greater, | |
18341 | do_jump_by_parts_zero_rtx, do_jump_by_parts_equality_rtx, | |
18342 | do_jump_by_parts_equality, do_compare_and_jump): Add PROB | |
18343 | argument, pass it down to other calls. | |
18344 | (do_compare_rtx_and_jump): Likewise. If PROB is not -1, | |
18345 | add REG_BR_PROB note to the conditional jump. | |
18346 | * cfgexpand.c (add_reg_br_prob_note): Removed. | |
18347 | (expand_gimple_cond): Don't call it, add the probability | |
18348 | as last argument to jumpif_1/jumpifnot_1. | |
18349 | * Makefile.in (dojump.o): Depend on output.h. | |
18350 | * builtins.c (expand_errno_check): Adjust do_compare_rtx_and_jump | |
18351 | callers. | |
18352 | * expmed.c (emit_store_flag_force, do_cmp_and_jump): Likewise. | |
18353 | * stmt.c (do_jump_if_equal): Likewise. | |
18354 | * cfgrtl.c (rtl_lv_add_condition_to_bb): Likewise. | |
18355 | * loop-unswitch.c (compare_and_jump_seq): Likewise. | |
18356 | * config/rs6000/rs6000.c (rs6000_aix_emit_builtin_unwind_init): | |
18357 | Likewise. | |
18358 | * optabs.c (expand_doubleword_shift, expand_abs): Likewise. | |
18359 | * expr.c (expand_expr_real_1): Adjust do_jump, jumpifnot and | |
18360 | jumpifnot_1 callers. | |
18361 | (expand_expr_real_2): Adjust jumpifnot_1 and do_compare_rtx_and_jump | |
18362 | callers. | |
18363 | (store_expr): Adjust jumpifnot caller. | |
18364 | (store_constructor): Adjust jumpif caller. | |
18365 | ||
554cf330 JJ |
18366 | PR middle-end/42233 |
18367 | * gimplify.c (gimple_boolify): For __builtin_expect call | |
18368 | gimple_boolify also on its first argument. | |
18369 | ||
1a242e3c UB |
18370 | 2010-02-18 Uros Bizjak <ubizjak@gmail.com> |
18371 | ||
18372 | * configure.ac (gnu-unique-object): Wrap regexps using [] in | |
18373 | changequote block. | |
18374 | (__stack_chk_fail): Ditto. Remove quadrigraphs. | |
18375 | * configure: Regenerated. | |
18376 | ||
86866b28 UW |
18377 | 2010-02-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com> |
18378 | ||
18379 | * config/spu/spu-c.c (spu_resolve_overloaded_builtin): Call | |
18380 | lang_hooks.types_compatible_p instead of comptypes. | |
18381 | ||
f4a4b582 | 18382 | 2010-02-18 Sebastian Huber <sebastian.huber@embedded-brains.de> |
8168ccc0 SH |
18383 | |
18384 | * config/arm/lib1funcs.asm (__prefer_thumb__): New define. | |
18385 | (udivsi3, aeabi_uidivmod, divsi3, aeabi_idivmod): Use Thumb-1 variant | |
18386 | if __prefer_thumb__ is defined. | |
18387 | ||
746e119f MJ |
18388 | 2010-02-18 Martin Jambor <mjambor@suse.cz> |
18389 | ||
18390 | PR tree-optimization/43066 | |
18391 | * tree-sra.c (build_ref_for_offset_1): Return false on encountering an | |
18392 | array with zero-sized element type. | |
18393 | ||
82cf0c8c JJ |
18394 | 2010-02-18 Jakub Jelinek <jakub@redhat.com> |
18395 | ||
18396 | * dwarf2out.c (add_var_loc_to_decl): Change last argument to | |
18397 | rtx, allocate struct var_loc_node here and return it to the | |
18398 | caller, and only if it is actually needed. | |
18399 | (dwarf2out_var_location): Adjust add_var_loc_to_decl caller, | |
18400 | move it earlier and return immediately if it returns NULL. | |
18401 | ||
ccb265d6 MP |
18402 | 2010-02-17 Mikael Pettersson <mikpe@it.uu.se> |
18403 | ||
18404 | * config/sparc/gas.h: New file. Restore | |
18405 | TARGET_ASM_NAMED_SECTION to its ELF default. | |
18406 | * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Do not | |
18407 | check !HAVE_GNU_AS. | |
18408 | * config/sparc/sparc.c (sparc_elf_asm_named_section): | |
18409 | Likewise. Add ATTRIBUTE_UNUSED to prototype. | |
18410 | * config.gcc (sparc*-*-linux*): Include sparc/gas.h | |
18411 | after sparc/sysv4.h. | |
18412 | ||
a30f3def DK |
18413 | 2010-02-17 Dave Korn <dave.korn.cygwin@gmail.com> |
18414 | ||
18415 | * config/i386/mingw32.h (LIBGCJ_SONAME): Fix cut'n'pasto in DLL name. | |
18416 | ||
2f6c5b27 SB |
18417 | 2010-02-17 Steven Bosscher <steven@gcc.gnu.org> |
18418 | ||
18419 | * gensupport.c (process_one_cond_exec): Derive name for COND_EXEC | |
18420 | patterns from predicated pattern. | |
18421 | ||
b5e33e04 UB |
18422 | 2010-02-17 Uros Bizjak <ubizjak@gmail.com> |
18423 | ||
18424 | PR target/43103 | |
18425 | * config/i386/sse.md (xop_vpermil2<mode>3): Use avxmodesuffixf2c | |
18426 | for insn mnemonic suffix. | |
18427 | ||
a95740b3 RG |
18428 | 2010-02-17 Richard Guenther <rguenther@suse.de> |
18429 | ||
18430 | * tree-vrp.c (vrp_visit_phi_node): Restrict SCEV analysis | |
18431 | to loop PHI nodes. | |
18432 | ||
169e464e JJ |
18433 | 2010-02-17 Jakub Jelinek <jakub@redhat.com> |
18434 | ||
18435 | PR debug/42918 | |
18436 | * caller-save.c (save_call_clobbered_regs): If BB ends with | |
18437 | a DEBUG_INSN, move any notes in between last real insn and the last | |
18438 | DEBUG_INSN after the last DEBUG_INSN. | |
18439 | ||
5498b6d2 JR |
18440 | 2010-02-16 Joern Rennecke <joern.rennecke@embecosm.com> |
18441 | ||
18442 | * tm.texi (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD_SPEC): | |
18443 | Fix return type. Fix argument type. Explain meaning of return value. | |
18444 | ||
b09bae68 RG |
18445 | 2010-02-16 Richard Guenther <rguenther@suse.de> |
18446 | ||
18447 | PR tree-optimization/41043 | |
b5e33e04 | 18448 | * tree-vrp.c (vrp_var_may_overflow): Only ask SCEV for real loops. |
b09bae68 RG |
18449 | (vrp_visit_assignment_or_call): Do not ask SCEV for regular |
18450 | statements ... | |
18451 | (vrp_visit_phi_node): ... but only for loop PHI nodes. | |
18452 | ||
d5dceab8 | 18453 | 2010-02-16 Ira Rosen <irar@il.ibm.com> |
99f51320 IR |
18454 | |
18455 | PR tree-optimization/43074 | |
18456 | * tree-vectorizer.h (VECTORIZABLE_CYCLE_DEF): New. | |
18457 | * tree-vect-loop.c (vect_analyze_loop_operations): Add | |
18458 | vectorizable cycles in hybrid SLP check. | |
18459 | * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Likewise. | |
18460 | ||
f47e08d9 RG |
18461 | 2010-02-16 Richard Guenther <rguenther@suse.de> |
18462 | ||
b5e33e04 | 18463 | * alias.c (memrefs_conflict_p): Distinguish must-alias from don't know. |
f47e08d9 RG |
18464 | (true_dependence): If memrefs_conflict_p computes must-alias |
18465 | trust it. Move TBAA check after offset-based disambiguation. | |
18466 | (canon_true_dependence): Likewise. | |
18467 | ||
ec8c3978 JJ |
18468 | 2010-02-16 Alexandre Oliva <aoliva@redhat.com> |
18469 | ||
18470 | * params.def (PARAM_MAX_VARTRACK_SIZE): New. | |
18471 | * doc/invoke.texi: Document it. | |
18472 | * var-tracking.c: Include toplev.h and params.h. | |
18473 | (vt_find_locations): Return bool indicating success. Compute | |
18474 | hash sizes unconditionally. Check new parameter, report. | |
18475 | (variable_tracking_main_1): Check vt_find_locations results and | |
18476 | retry. Renamed from... | |
18477 | (variable_tracking_main): ... this. New wrapper to preserve | |
18478 | flag_var_tracking_assignments. | |
18479 | * Makefile.in (var-tracking.o): Adjust dependencies. | |
18480 | ||
f4a4b582 EB |
18481 | 2010-02-16 Jack Howarth <howarth@bromo.med.uc.edu> |
18482 | Jakub Jelinek <jakub@redhat.com> | |
3bf6b403 JH |
18483 | |
18484 | PR target/42854 | |
18485 | * config/darwin.h (ASM_WEAKEN_DECL): Don't check weak attribute | |
18486 | if weak_import attribute is present. | |
18487 | * config/darwin.c (machopic_select_section): Likewise. | |
18488 | ||
a934eb2d JR |
18489 | 2010-02-15 Joern Rennecke <joern.rennecke@embecosm.com> |
18490 | ||
18491 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST): Document. | |
18492 | (TARGET_VECTORIZE_VECTOR_ALIGNMENT_REACHABLE): Likewise. | |
18493 | (TARGET_VECTORIZE_BUILTIN_VEC_PERM): Likewise. | |
18494 | (TARGET_VECTORIZE_BUILTIN_VEC_PERM_OK): Likewise. | |
18495 | ||
74ca3393 EB |
18496 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_CONVERSION): Fix argument |
18497 | types. | |
a934eb2d JR |
18498 | |
18499 | * doc/tm.texi (TARGET_VECTORIZE_BUILTIN_VECTORIZED_FUNCTION): | |
18500 | Fix argument types. | |
18501 | ||
18502 | * doc/tm.texi (TARGET_SCHED_DFA_NEW_CYCLE): Add argument names. | |
18503 | Rewrite text to refer to the names. | |
18504 | ||
02edd2f6 SP |
18505 | 2010-02-15 Sebastian Pop <sebastian.pop@amd.com> |
18506 | ||
18507 | * config/i386/i386-builtin-types.def | |
18508 | (V2DF_FTYPE_V2DF_V2DF_V2DI_INT): Declared. | |
18509 | (V4DF_FTYPE_V4DF_V4DF_V4DI_INT): Declared. | |
18510 | (V4SF_FTYPE_V4SF_V4SF_V4SI_INT): Declared. | |
18511 | (V8SF_FTYPE_V8SF_V8SF_V8SI_INT): Declared. | |
18512 | * config/i386/i386.c (enum ix86_builtins): Add IX86_BUILTIN_VPERMIL2PD, | |
18513 | IX86_BUILTIN_VPERMIL2PS, IX86_BUILTIN_VPERMIL2PD256, and | |
18514 | IX86_BUILTIN_VPERMIL2PS256. | |
18515 | (MULTI_ARG_4_DF2_DI_I): Defined. | |
18516 | (MULTI_ARG_4_DF2_DI_I1): Defined. | |
18517 | (MULTI_ARG_4_SF2_SI_I): Defined. | |
18518 | (MULTI_ARG_4_SF2_SI_I1): Defined. | |
18519 | (bdesc_multi_arg): Add __builtin_ia32_vpermil2pd, | |
18520 | __builtin_ia32_vpermil2ps, __builtin_ia32_vpermil2pd256, and | |
18521 | __builtin_ia32_vpermil2ps256. | |
18522 | (ix86_expand_multi_arg_builtin): Handle MULTI_ARG_4_DF2_DI_I, | |
18523 | MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and | |
18524 | MULTI_ARG_4_SF2_SI_I1. Handle builtins with 4 arguments. | |
18525 | (ix86_expand_args_builtin): Handle MULTI_ARG_4_DF2_DI_I, | |
18526 | MULTI_ARG_4_DF2_DI_I1, MULTI_ARG_4_SF2_SI_I, and | |
18527 | MULTI_ARG_4_SF2_SI_I1. Handle CODE_FOR_xop_vpermil2v2df3, | |
18528 | CODE_FOR_xop_vpermil2v4sf3, CODE_FOR_xop_vpermil2v4df3, and | |
18529 | CODE_FOR_xop_vpermil2v8sf3. | |
18530 | * config/i386/i386.md (UNSPEC_VPERMIL2): Declared. | |
18531 | * config/i386/sse.md (xop_vpermil2<mode>3): New insn pattern. | |
18532 | * config/i386/xopintrin.h (_mm_permute2_pd): New. | |
18533 | (_mm256_permute2_pd): New. | |
18534 | (_mm_permute2_ps): New. | |
18535 | (_mm256_permute2_ps): New. | |
18536 | ||
ac447f25 NC |
18537 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
18538 | ||
d079b87f | 18539 | * config/h8300/h8300.c (h8300_push_pop): Use bool type for |
ac447f25 NC |
18540 | boolean parameters. Use emit_jump_insn when emitting a pop |
18541 | instruction containing a return insn. | |
b5e33e04 UB |
18542 | (push): Use 'true' rather than '1' as second parameter to F. |
18543 | (h8300_expand_prologue): Likewise. | |
18544 | Use 'true' and 'false' for boolean parameters to h8300_push_pop. | |
18545 | (h8300_expand_epilogue): Likewise. | |
ac447f25 | 18546 | |
313333a6 RG |
18547 | 2010-02-15 Richard Guenther <rguenther@suse.de> |
18548 | ||
18549 | PR middle-end/43068 | |
18550 | * cgraphunit.c (thunk_adjust): Skip adjusting by fixed_offset | |
18551 | if that is zero. | |
18552 | ||
653958e8 NC |
18553 | 2010-02-15 Nick Clifton <nickc@redhat.com> |
18554 | ||
18555 | * config/mn10300/mn10300.h (FUNCTION_ARG_REGNO_P): Revert previous | |
18556 | delta. | |
18557 | ||
0f667308 MP |
18558 | 2010-02-14 Marco Poletti <poletti.marco@gmail.com> |
18559 | ||
18560 | * intl.c (fake_ngettext): New function. | |
18561 | * intl.h (fake_ngettext): Declare. | |
18562 | (ngettext): Define macro. | |
18563 | * collect2.c (notice_translated): New function. | |
18564 | (main): Use notice_translated and ngettext. | |
18565 | * collect2.h (notice_translated): Declare. | |
18566 | ||
912eb5a4 SB |
18567 | 2010-02-14 Steven Bosscher <steven@gcc.gnu.org> |
18568 | ||
18569 | * reorg.c (delete_computation): Comment fixes. | |
18570 | * caller-save.c (setup_save_areas): Idem. | |
18571 | * sel-sched-dump.c (dump_lv_set): Idem. | |
18572 | * rtl.def: Idem. | |
18573 | ||
244e6c5c AK |
18574 | 2010-02-14 Andreas Krebbel <Andreas.Krebbel@de.ibm.com> |
18575 | ||
18576 | * config/s390/s390.c (s390_sched_init): New function. | |
18577 | (TARGET_SCHED_INIT): Target hook defined. | |
18578 | ||
9ab99933 DK |
18579 | 2010-02-12 Dave Korn <dave.korn.cygwin@gmail.com> |
18580 | Jack Howarth <howarth@bromo.med.uc.edu> | |
f4a4b582 | 18581 | Iain Sandoe <iain.sandoe@sandoe-acoustics.co.uk> |
9ab99933 DK |
18582 | |
18583 | PR target/42982 | |
18584 | Partial revert of unintended change in fix for PR41605. | |
18585 | * config/darwin.h: Fix typo. | |
18586 | * config/darwin9.h: Same. | |
18587 | ||
ed5bdeb6 JJ |
18588 | 2010-02-11 Jakub Jelinek <jakub@redhat.com> |
18589 | ||
18590 | * c-pch.c (pch_init): Clear v. | |
18591 | ||
f432760f SP |
18592 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> |
18593 | ||
18594 | PR middle-end/42930 | |
18595 | * graphite-scop-detection.c (graphite_can_represent_scev): Call | |
18596 | graphite_can_represent_init for MULT_EXPR. | |
18597 | ||
18598 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> | |
18599 | ||
18600 | PR middle-end/42914 | |
18601 | PR middle-end/42530 | |
18602 | * graphite-sese-to-poly.c (remove_phi): New. | |
18603 | (translate_scalar_reduction_to_array): Call remove_phi. | |
18604 | ||
18605 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> | |
18606 | ||
18607 | PR middle-end/42771 | |
18608 | * graphite-clast-to-gimple.c (gloog): Call rename_sese_parameters. | |
18609 | * graphite-clast-to-gimple.h (gloog): Update declaration. | |
18610 | * graphite-poly.c (new_scop): Clear POLY_SCOP_P. | |
18611 | * graphite-poly.h (struct poly_bb): Add missing comments. | |
18612 | (struct scop): Add poly_scop_p field. | |
18613 | (POLY_SCOP_P): New. | |
18614 | * graphite-sese-to-poly.c (build_poly_scop): Set POLY_SCOP_P. | |
18615 | * graphite.c (graphite_transform_loops): Build the polyhedral | |
18616 | representation for each scop before code generation. | |
18617 | * sese.c (rename_variables_in_operand): Removed. | |
18618 | (rename_variables_in_expr): Return the renamed expression. | |
18619 | (rename_sese_parameters): New. | |
18620 | * sese.h (rename_sese_parameters): Declared. | |
18621 | ||
6d892147 RG |
18622 | 2010-02-11 Richard Guenther <rguenther@suse.de> |
18623 | ||
18624 | PR tree-optimization/42998 | |
18625 | * tree-ssa-pre.c (create_expression_by_pieces): Treat | |
18626 | POINTER_PLUS_EXPR properly. | |
18627 | ||
04eadb13 SP |
18628 | 2010-02-11 Sebastian Pop <sebastian.pop@amd.com> |
18629 | Changpeng Fang <changpeng.fang@amd.com> | |
18630 | ||
18631 | PR middle-end/40886 | |
18632 | * tree-ssa-loop-ivopts.c (determine_use_iv_cost_condition): Decrement | |
18633 | the cost of an IV candidate when the IV is used in a test against zero. | |
18634 | ||
18635 | * gcc.dg/tree-ssa/ivopts-3.c: New. | |
18636 | ||
91753e21 RG |
18637 | 2010-02-11 Richard Guenther <rguenther@suse.de> |
18638 | ||
18639 | PR lto/41664 | |
18640 | * tree-ssa-alias.c (refs_may_alias_p_1): Canonicalize | |
18641 | pointer-vs-decl case by swapping refs. Handle some cases | |
18642 | of pointer-vs-decl disambiguations more conservatively. | |
18643 | * cfgexpand.c (gimple_expand_cfg): Set gimple_df->in_ssa_p | |
18644 | to false after expanding. | |
18645 | ||
f68df07c RG |
18646 | 2010-02-11 Richard Guenther <rguenther@suse.de> |
18647 | ||
18648 | PR driver/43021 | |
18649 | * gcc.c (process_command): Handle LTO file@offset case more | |
18650 | appropriately. | |
18651 | ||
d2d36740 JJ |
18652 | 2010-02-11 Jakub Jelinek <jakub@redhat.com> |
18653 | ||
8f6aedba JJ |
18654 | * reload1.c (eliminate_regs_1): If insn is DEBUG_INSN, avoid any |
18655 | modifications outside of the DEBUG_INSN. Accept CLOBBERs inside | |
18656 | of DEBUG_INSNs. | |
18657 | (eliminate_regs_in_insn): Eliminate regs even in DEBUG_INSNs. | |
18658 | ||
d2d36740 JJ |
18659 | * dwarf2out.c (mem_loc_descriptor) <case MEM>: Use DW_OP_deref_size |
18660 | if MEM's mode size isn't DWARF2_ADDR_SIZE. | |
18661 | (mem_loc_descriptor) <do_scompare>: Allow also VOIDmode arguments. | |
18662 | Optimize eq/ne comparisons when both arguments are known to be | |
18663 | zero-extended. | |
18664 | (mem_loc_descriptor) <do_ucompare>: Allow also VOIDmode arguments. | |
18665 | Don't mask operands unnecessarily if they are known to be already | |
18666 | zero-extended. | |
18667 | ||
56592e03 VM |
18668 | 2010-02-10 Vladimir Makarov <vmakarov@redhat.com> |
18669 | ||
18670 | * ira-conflicts.c (add_insn_allocno_copies): Use find_reg_note | |
18671 | instead of loop. | |
18672 | ||
5418fe84 RG |
18673 | 2010-02-10 Richard Guenther <rguenther@suse.de> |
18674 | ||
18675 | PR tree-optimization/43017 | |
18676 | * tree-vrp.c (vrp_int_const_binop): Trust int_const_binop | |
18677 | for wrapping signed arithmetic. | |
18678 | ||
92e8e53a JJ |
18679 | 2010-02-10 Jakub Jelinek <jakub@redhat.com> |
18680 | ||
18681 | PR debug/43010 | |
18682 | * dwarf2out.c (retry_incomplete_types): Don't call gen_type_die | |
18683 | if no debug info should be emitted for it. | |
18684 | ||
bd55b817 KK |
18685 | 2010-02-10 Kaz Kojima <kkojima@gcc.gnu.org> |
18686 | ||
18687 | * config/sh/sh.c (find_barrier): Skip call insn with a REG_EH_REGION | |
18688 | note when flag_exceptions is set. | |
18689 | ||
2ab43a52 DS |
18690 | 2010-02-10 Duncan Sands <baldrick@free.fr> |
18691 | ||
18692 | * Makefile.in (PLUGIN_HEADERS): Add debug.h. | |
18693 | ||
d977cb9c RG |
18694 | 2010-02-10 Richard Guenther <rguenther@suse.de> |
18695 | ||
18696 | PR c/43007 | |
18697 | * tree.c (get_unwidened): Handle constants. | |
18698 | * convert.c (convert_to_integer): Handle TRUNC_DIV_EXPR. | |
18699 | ||
563cb662 MJ |
18700 | 2010-02-10 Martin Jambor <mjambor@suse.cz> |
18701 | ||
18702 | PR lto/42985 | |
18703 | * ipa-prop.c (ipa_update_after_lto_read): Count parameters and | |
18704 | check for variable argument counts independently. | |
18705 | ||
9e3c399e CB |
18706 | 2010-02-10 Christian Bruel <christian.bruel@st.com> |
18707 | ||
18708 | PR target/42841 | |
18709 | * config/sh/sh.c (find_barrier): Increase length for non delayed | |
18710 | conditional branches. | |
01305d24 | 18711 | |
e938feb4 CB |
18712 | 2010-02-10 Christian Bruel <christian.bruel@st.com> |
18713 | ||
18714 | * config/sh/sh.c (find_barrier): Don't emit a CP inside the GP setting. | |
01305d24 | 18715 | |
cbb1ab10 JJ |
18716 | 2010-02-10 Jakub Jelinek <jakub@redhat.com> |
18717 | ||
18718 | * builtins.c (set_builtin_user_assembler_name): Also handle | |
18719 | ffs if int is smaller than word. | |
18720 | ||
b09495c1 VM |
18721 | 2010-02-09 Vladimir Makarov <vmakarov@redhat.com> |
18722 | ||
18723 | PR middle-end/42973 | |
18724 | * ira-conflicts.c (get_dup): Remove. | |
18725 | (process_reg_shuffles): Add new parameter. Use it as an | |
18726 | additional guard for copy generation. | |
18727 | (add_insn_allocno_copies): Rewrite. | |
18728 | ||
57257f0d AM |
18729 | 2010-02-09 Alexander Monakov <amonakov@ispras.ru> |
18730 | ||
18731 | * common.opt (fsched2-use-traces): Preserved for backward | |
18732 | compatibility. | |
18733 | * doc/invoke.texi: Remove the documentation about option | |
18734 | -fsched2-use-traces. | |
18735 | * sched-rgn.c (rest_of_handle_sched2): Remove usage of | |
18736 | flag_sched2_use_traces. | |
18737 | * opts.c (common_handle_option): Add OPT_fsched2_use_traces to | |
18738 | the backward compatibility flag section. | |
18739 | ||
72d182d3 RG |
18740 | 2010-02-09 Richard Guenther <rguenther@suse.de> |
18741 | ||
18742 | PR tree-optimization/43008 | |
18743 | * tree-ssa-structalias.c (handle_lhs_call): Pass in the fndecl, | |
18744 | make HEAP variables initialized from global memory if they | |
18745 | are not known builtin functions. | |
18746 | (find_func_aliases): Adjust. | |
18747 | ||
9605a606 RG |
18748 | 2010-02-09 Richard Guenther <rguenther@suse.de> |
18749 | ||
18750 | PR tree-optimization/43000 | |
18751 | * tree-vrp.c (vrp_int_const_binop): Only handle unsigned | |
18752 | arithmetic manually. | |
18753 | ||
8d9eca14 JJ |
18754 | 2010-02-08 Jakub Jelinek <jakub@redhat.com> |
18755 | ||
18756 | PR tree-optimization/42931 | |
18757 | * tree-loop-linear.c (try_interchange_loops): Don't call | |
18758 | double_int_mul if estimated_loop_iterations failed. | |
18759 | ||
d3545524 MJ |
18760 | 2010-02-08 Martin Jambor <mjambor@suse.cz> |
18761 | ||
18762 | PR middle-end/42898 | |
18763 | * tree-sra.c (build_accesses_from_assign): Do not mark in | |
18764 | should_scalarize_away_bitmap if stmt has volatile ops. | |
18765 | (sra_modify_assign): Do not process assigns piecemeal if if stmt | |
18766 | has volatile ops. | |
18767 | ||
8a9a2486 JR |
18768 | 2010-02-08 Joern Rennecke <joern.rennecke@embecosm.com> |
18769 | ||
18770 | * doc/tm.texi (TARGET_UNWIND_WORD_MODE): Document. | |
18771 | ||
7bf25dd6 AN |
18772 | 2010-02-07 Adam Nemet <adambnmet@gmail.com> |
18773 | ||
18774 | * config/mips/mips.md (*<optab>_trunc<mode>_exts): Fix comment | |
18775 | before the pattern. | |
18776 | ||
a46edbff AP |
18777 | 2010-02-07 Andrew Pinski <pinskia@gmail.com> |
18778 | ||
18779 | PR middle-end/42946 | |
18780 | * df-core.c (df_finish_pass): Change type of saved_flags to int. | |
18781 | ||
86da963e SP |
18782 | 2010-02-07 Sebastian Pop <sebastian.pop@amd.com> |
18783 | ||
18784 | PR middle-end/42988 | |
18785 | * graphite-dependences.c (dependence_polyhedron): Set PDDR_KIND | |
18786 | to unknown_dependence. | |
18787 | (graphite_legal_transform_dr): Handle the unknown_dependence. | |
18788 | (graphite_carried_dependence_level_k): Same. | |
18789 | ||
18790 | 2010-02-07 Sebastian Pop <sebastian.pop@amd.com> | |
18791 | ||
18792 | * ChangeLog.graphite: Remove testsuite/ or gcc/testsuite/. | |
18793 | ||
997ac87b RG |
18794 | 2010-02-07 Richard Guenther <rguenther@suse.de> |
18795 | ||
18796 | PR middle-end/42991 | |
18797 | * expr.c (get_inner_reference): Always initialize *pbitsize. | |
18798 | ||
cb6b911a RG |
18799 | 2010-02-07 Richard Guenther <rguenther@suse.de> |
18800 | ||
18801 | PR middle-end/42956 | |
18802 | * gimplify.c (gimple_fold_indirect_ref): Avoid generating | |
18803 | new ARRAY_REFs on variable size element or minimal index arrays. | |
18804 | Complete. | |
18805 | * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Use | |
18806 | gimple_fold_indirect_ref. | |
18807 | ||
b761dbe6 RE |
18808 | 2010-02-06 Richard Earnshaw <rearnsha@arm.com> |
18809 | ||
18810 | PR target/42957 | |
18811 | * arm.c (arm_override_options): Just return if the user has specified | |
18812 | an invalid fpu name. | |
18813 | ||
b2469a9b JM |
18814 | 2010-02-03 Jason Merrill <jason@redhat.com> |
18815 | ||
18816 | PR c++/42870 | |
18817 | * config/i386/cygming.h (ASM_OUTPUT_DEF_FROM_DECLS): Call | |
18818 | i386_pe_maybe_record_exported_symbol. | |
18819 | ||
1f65437d SE |
18820 | 2010-02-05 Steve Ellcey <sje@cup.hp.com> |
18821 | ||
18822 | PR target/42924 | |
18823 | * config/pa/pa.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine. | |
18824 | (pa_delegitimize_address): New function. | |
18825 | ||
126edba2 OS |
18826 | 2010-02-05 Ozkan Sezer <sezeroz@gmail.com> |
18827 | ||
18828 | * config/i386/msformat-c.c (ms_printf_length_specs): Set the | |
18829 | scalar_identity_flag for the size_t/ptrdiff_t %Id and %Iu specs. | |
18830 | ||
532df904 RG |
18831 | 2010-02-05 Richard Guenther <rguenther@suse.de> |
18832 | ||
18833 | PR lto/42762 | |
18834 | * lto-streamer-in.c (get_resolution): Deal with references | |
18835 | to undefined functions. | |
18836 | ||
5c95f07b RG |
18837 | 2010-02-05 Richard Guenther <rguenther@suse.de> |
18838 | ||
b5e33e04 | 18839 | * tree-ssa-ccp.c (get_symbol_constant_value): Strip all conversions. |
5c95f07b RG |
18840 | (fold_const_aggregate_ref): Likewise. |
18841 | (ccp_fold_stmt): Substitute loads. | |
18842 | (maybe_fold_reference): Verify types before substituting. | |
18843 | Unshare properly. | |
18844 | (fold_gimple_assign): Unshare properly. | |
b5e33e04 | 18845 | (fold_stmt_1): Insert conversion if necessary before replacing the RHS. |
5c95f07b | 18846 | |
64aa00b1 NF |
18847 | 2010-02-05 Nathan Froyd <froydnj@codesourcery.com> |
18848 | ||
18849 | * config/rs6000/rs6000.c (rs6000_override_options): Invert check | |
18850 | for rs6000_gen_cell_microcode. | |
18851 | ||
b0f19292 RG |
18852 | 2010-02-04 Richard Guenther <rguenther@suse.de> |
18853 | ||
18854 | PR rtl-optimization/42952 | |
18855 | * dse.c (const_or_frame_p): Remove MEM handling. | |
18856 | ||
f7eb48b5 NC |
18857 | 2010-02-04 Nick Clifton <nickc@redhat.com> |
18858 | ||
18859 | * config/mn10300/mn10300.c (TARGET_ASM_OUTPUT_MI_THUNK): Define. | |
18860 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Define. | |
18861 | (function_arg): Use NULL_RTX and FIRST_ARGUMENT_REGNUM. | |
18862 | (mn10300_asm_output_mi_thunk): New function. | |
18863 | (mn10300_can_output_mu_thunk): New function. | |
18864 | * config/mn10300/mn10300.h (FIRST_ARGUMENT_REGNUM): Define. | |
18865 | (FUNCTION_ARG_REGNO_P): Fix comment. Accept d0 and d1. | |
18866 | (FUNCTION_ARG): Delete incorrect comment. | |
18867 | ||
2aac1924 JM |
18868 | 2010-02-03 Jason Merrill <jason@redhat.com> |
18869 | ||
18870 | PR c++/40138 | |
18871 | * fold-const.c (operand_equal_p): Handle erroneous types. | |
18872 | ||
3e5f930f | 18873 | 2010-02-03 Kaushik Phatak <kaushik.phatak@kpitcummins.com> |
07738b87 KP |
18874 | |
18875 | * config/h8300/h8300.md (can_delay): Fix attibute condition. | |
18876 | ||
a7f3e500 VM |
18877 | 2010-02-03 Vladimir Makarov <vmakarov@redhat.com> |
18878 | ||
3e5f930f | 18879 | PR rtl-optimization/42941 |
a7f3e500 VM |
18880 | * sched-deps.c (setup_insn_reg_pressure_info): Use xcalloc instead |
18881 | of xmalloc. | |
18882 | ||
59d49708 JM |
18883 | 2010-02-03 Jason Merrill <jason@redhat.com> |
18884 | ||
18885 | PR c++/35652 | |
18886 | * builtins.c (c_strlen): Use EXPR_LOCATION in diagnostics. | |
18887 | ||
5440c0e7 AO |
18888 | 2010-02-03 Alexandre Oliva <aoliva@redhat.com> |
18889 | ||
18890 | PR debug/42896 | |
02d43000 | 18891 | * cselib.h (struct cselib_val_struct): Add uid. Rename value to hash. |
5440c0e7 AO |
18892 | (cselib_reset_table): Renamed from... |
18893 | (cselib_reset_table_with_next_value): ... this. | |
18894 | (cselib_get_next_uid): Renamed from... | |
18895 | (cselib_get_next_unknown_value): ... this. | |
18896 | * cselib.c (next_uid): Renamed from... | |
18897 | (next_unknown_value): ... this. | |
18898 | (cselib_clear_table): Adjust. | |
18899 | (cselib_reset_table): Adjust. Renamed from... | |
18900 | (cselib_reset_table_with_next_value): ... this. | |
18901 | (cselib_get_next_uid): Adjust. Renamed from... | |
18902 | (cselib_get_next_unknown_value): ... this. | |
18903 | (get_value_hash): Use hash. | |
18904 | (cselib_hash_rtx): Likewise. | |
18905 | (new_cselib_val): Adjust. Set and dump uid. | |
18906 | (cselib_lookup_mem): Pass next_uid as hash. | |
18907 | (cselib_subst_to_values): Likewise. | |
18908 | (cselib_log_lookup): Dump uid. | |
18909 | (cselib_lookup): Pass next_uid as hash. Adjust. | |
18910 | (cselib_process_insn): Adjust. | |
18911 | (cselib_init): Initialize next_uid. | |
18912 | (cselib_finish): Adjust. | |
18913 | (dump_cselib_table): Likewise. | |
18914 | * dse.c (canon_address): Dump value uid. | |
18915 | * print-rtl.c (print_rtx): Print value uid. | |
18916 | * var-tracking.c (VARIABLE_HASH_VAL): Dropped. | |
18917 | (dvuid): New type. | |
18918 | (dv_uid): New function, sort of renamed from... | |
18919 | (dv_htab_hash): ... this, reimplemented in terms of it and... | |
18920 | (dv_uid2hash): ... this. New. | |
18921 | (variable_htab_eq): Drop excess assertions. | |
18922 | (tie_break_pointers): Removed. | |
18923 | (canon_value_cmp): Compare uids. | |
18924 | (variable_post_merge_New_vals): Print uids. | |
18925 | (vt_add_function_parameters): Adjust. | |
18926 | (vt_initialize): Reset table. Adjust. | |
18927 | ||
e3c70387 RG |
18928 | 2010-02-03 Richard Guenther <rguenther@suse.de> |
18929 | ||
18930 | PR tree-optimization/42944 | |
b5e33e04 | 18931 | * tree-ssa-alias.c (ref_maybe_used_by_call_p_1): Handle calloc. |
e3c70387 RG |
18932 | (call_may_clobber_ref_p_1): Likewise. Properly handle |
18933 | malloc and calloc clobbering errno. | |
18934 | ||
4cad6dba SB |
18935 | 2010-02-03 Steven Bosscher <steven@gcc.gnu.org> |
18936 | ||
18937 | * doc/invoke.texi: Fix name of sched1 dump. | |
18938 | ||
18939 | * opts.c (decode_options): Set flag_tree_switch_conversion | |
18940 | only conditionally on optimize >= 2. | |
18941 | ||
18942 | * gcse.c: Assorted comment fixes in pass description. | |
18943 | ||
693ee8cf AG |
18944 | 2010-02-03 Anthony Green <green@moxielogic.com> |
18945 | ||
18946 | * config/moxie/moxie.c (moxie_asm_trampoline_template): Introduce | |
18947 | nop padding in order to maintain alignment of storage location of | |
18948 | target function address. | |
18949 | (moxie_trampoline_init): Store target function address at newly | |
18950 | aligned location. | |
18951 | * config/moxie/moxie.h (TRAMPOLINE_ALIGNMENT): Increase alignment | |
18952 | to 32. | |
18953 | (TRAMPOLINE_SIZE): Increase size by 2 bytes for alignment padding. | |
18954 | ||
bf8e3b77 RG |
18955 | 2010-02-03 Richard Guenther <rguenther@suse.de> |
18956 | ||
18957 | PR middle-end/42927 | |
18958 | * tree-cfg.c (verify_gimple_assign_binary): Fix shift verification. | |
18959 | ||
bde17fdc RO |
18960 | 2010-02-03 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
18961 | ||
18962 | * config.gcc: Reenable check for obsolete targets. | |
18963 | Obsolete alpha*-dec-osf4*, alpha*-dec-osf5.0*, mips-sgi-irix5*, | |
18964 | mips-sgi-irix6.[0-4]*. | |
18965 | ||
c9c27b72 NC |
18966 | 2010-02-02 Nick Clifton <nickc@redhat.com> |
18967 | ||
18968 | * config/rx/rx.c (rx_is_legitimate_constant): Treat a maximum | |
18969 | constant size of 4 as being the same as 0. | |
18970 | * doc/invoke.texi (RX Options): Document that -mmax-constant-size | |
18971 | can take values in the range 0..4. | |
18972 | ||
fc15bd03 JH |
18973 | 2010-02-02 Jack Howarth <howarth@bromo.med.uc.edu> |
18974 | ||
18975 | PR java/41991 | |
18976 | * unwind-dw2-fde-darwin.c: Re-export _Unwind_FindEnclosingFunction() | |
18977 | as _darwin10_Unwind_FindEnclosingFunction(). | |
18978 | * libgcc-libsystem.ver: New. | |
18979 | ||
6eeea7a7 VM |
18980 | 2010-02-01 Vladimir Makarov <vmakarov@redhat.com> |
18981 | ||
18982 | PR target/41399 | |
18983 | * sched-deps.c (sched_analyze_insn): Ignore fixed registers for | |
18984 | implicitly set registers. | |
18985 | ||
87d05b44 RE |
18986 | 2010-02-01 Richard Earnshaw <rearnsha@arm.com> |
18987 | ||
18988 | * arm.c (FL_FOR_ARCH_7A): is also a superset of ARMv6K. | |
18989 | (arm_override_options): Allow automatic selection of the thread | |
18990 | pointer register if thumb2. | |
18991 | (legitimize_pic_address): Improve code sequences for Thumb2. | |
18992 | (arm_call_tls_get_addr): Likewise. | |
18993 | (legitimize_tls_address): Likewise. | |
18994 | * arm.md (pic_load_addr_arm): Delete. Replace with ... | |
18995 | (pic_load_addr_32bit): ... this. New named pattern. | |
18996 | * thumb2.md (pic_load_addr_thumb2): Delete. | |
18997 | (pic_load_dot_plus_four): Delete. | |
18998 | (tls_load_dot_plus_four): New named pattern. | |
18999 | ||
cb717ac4 RO |
19000 | 2010-02-01 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19001 | ||
19002 | PR libgomp/29986 | |
19003 | * doc/install.texi (Specific): Add sparc-sun-solaris2.10 entry. | |
19004 | Document fix for TLS bug. | |
19005 | ||
44f89620 RG |
19006 | 2010-01-31 Richard Guenther <rguenther@suse.de> |
19007 | ||
19008 | * tree-sra.c (ptr_parm_has_direct_uses): Rewrite to be | |
19009 | conservatively correct. | |
19010 | ||
747b0aed JDA |
19011 | 2010-01-31 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
19012 | ||
19013 | PR target/42850 | |
19014 | Revert: | |
19015 | 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> | |
19016 | ||
19017 | * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two. | |
19018 | ||
362c6d2f KG |
19019 | 2010-01-31 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> |
19020 | ||
19021 | * doc/install.texi: Update recommended GMP/MPFR/MPC versions. | |
19022 | ||
8370a62a KT |
19023 | 2010-01-31 Kai Tietz <kai.tietz@onevision.com> |
19024 | ||
19025 | * config.gcc: Adjust order of makefile fragments for mingw targets. | |
19026 | ||
61c7cbf8 RG |
19027 | 2010-01-31 Richard Guenther <rguenther@suse.de> |
19028 | ||
19029 | PR middle-end/42898 | |
19030 | * gimplify.c (gimplify_init_constructor): For volatile LHS | |
19031 | initialize a temporary. | |
19032 | ||
b0a69d20 MK |
19033 | 2010-01-31 Matthias Klose <doko@ubuntu.com> |
19034 | ||
19035 | * configure.ac: Fix __stack_chk_fail check for cross builds configured | |
19036 | --with-headers | |
19037 | * configure: Regenerate. | |
19038 | ||
55eb4dab EB |
19039 | 2010-01-29 Eric Botcazou <ebotcazou@adacore.com> |
19040 | ||
19041 | * tree-ssa-alias.c (same_type_for_tbaa): Return -1 if the types have | |
19042 | the same alias set and their sizes different constantness. | |
19043 | (aliasing_component_refs_p): Revert 2009-10-24 change. | |
19044 | ||
f9e06dbc RO |
19045 | 2010-01-29 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19046 | ||
19047 | * config/sparc/sparc.c (sparc_elf_asm_named_section): Declare decl | |
19048 | unused. | |
19049 | ||
eb6b98c7 RG |
19050 | 2010-01-29 Richard Guenther <rguenther@suse.de> |
19051 | ||
19052 | * tree-ssa-ccp.c (ccp_fold_stmt): Unshare values we substitute. | |
19053 | Assert we successfully updated the call. | |
19054 | ||
c23cd1d6 JJ |
19055 | 2010-01-29 Jakub Jelinek <jakub@redhat.com> |
19056 | ||
19057 | PR rtl-optimization/42889 | |
19058 | * df.h (df_set_bb_dirty_nonlr): New prototype. | |
19059 | * df-core.c (df_set_bb_dirty_nonlr): New function. | |
19060 | * df-scan.c (df_insn_rescan): Call it instead of | |
19061 | df_set_bb_dirty for DEBUG_INSNs. | |
19062 | ||
38bc76da RG |
19063 | 2010-01-29 Richard Guenther <rguenther@suse.de> |
19064 | ||
19065 | PR middle-end/37448 | |
19066 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Avoid | |
19067 | quadratic behavior in most cases. | |
19068 | ||
d819472d UB |
19069 | 2010-01-28 Uros Bizjak <ubizjak@gmail.com> |
19070 | ||
19071 | PR target/42891 | |
19072 | * config/i386/i386.c (ix86_expand_int_movcc): Convert tmp to SImode | |
19073 | in the call to gen_x86_movsicc_0_m1. | |
19074 | ||
3ed7d068 RG |
19075 | 2010-01-28 Richard Guenther <rguenther@suse.de> |
19076 | ||
19077 | PR tree-optimization/42871 | |
01305d24 | 19078 | * tree-ssa-pre.c (phi_translate_set): Make sure to retain leaders. |
3ed7d068 | 19079 | |
830bc550 RG |
19080 | 2010-01-28 Richard Guenther <rguenther@suse.de> |
19081 | ||
19082 | * tree-ssa-ccp.c (ccp_fold_stmt): Fold calls and propagate | |
19083 | into call arguments. | |
19084 | ||
28e5ca15 RB |
19085 | 2010-01-28 Richard Guenther <rguenther@suse.de> |
19086 | ||
19087 | PR middle-end/42883 | |
19088 | * tree-cfgcleanup.c (remove_forwarder_block): Do not remove | |
19089 | the forwarder if the destination is an EH landing pad. | |
19090 | ||
19091 | 2010-01-28 Razya Ladelsky <razya@il.ibm.com> | |
8adfe01d | 19092 | |
d819472d | 19093 | * tree-parloops.c (transform_to_exit_first_loop): Update the basic |
8adfe01d RL |
19094 | block list passed to gimple_duplicate_sese_tail. |
19095 | (parallelize_loops): Avoid parallelization when the function | |
19096 | has_nonlocal_label. | |
19097 | Avoid parallelization when the preheader is IRREDUCIBLE. | |
19098 | Try to optimize when estimated_loop_iterations_int is unresolved. | |
19099 | Add the loop's location to the dump file. | |
28e5ca15 | 19100 | * tree-cfg.c (add_phi_args_after_redirect): Remove. |
8adfe01d RL |
19101 | (gimple_duplicate_sese_tail): Remove the check for the latch. |
19102 | Redirect nexits to the exit block. | |
19103 | Remove handling of the incoming edges to the latch. | |
19104 | Redirect the backedge from the copied latch to the exit bb. | |
19105 | ||
3d952fb7 MM |
19106 | 2010-01-28 Michael Matz <matz@suse.de> |
19107 | ||
19108 | PR target/42881 | |
19109 | * config/i386/i386.c (ix86_expand_vector_init_duplicate): | |
19110 | Wrap force_reg into a sequence, emit it before user. | |
19111 | ||
4fc2b1aa ST |
19112 | 2010-01-28 Stephen Thomas <stephen.thomas@arm.com> |
19113 | ||
19114 | * config/arm/arm.md (bswapsi2): Add support for bswapsi2. | |
19115 | (arm_rev): New. | |
19116 | (arm_legacy_rev): Likewise. | |
19117 | (thumb_legacy_rev): Likewise. | |
19118 | ||
0f277ad4 JJ |
19119 | 2010-01-27 Jakub Jelinek <jakub@redhat.com> |
19120 | ||
19121 | * dwarf2out.c (mem_loc_descriptor): Remove special casing of | |
19122 | CONSTANT_POOL_ADDRESS_P SYMBOL_REFs. If for MEM recursive call | |
19123 | on MEM's address failed, try avoid_constant_pool_reference and | |
19124 | recurse if it returned something different. | |
19125 | (loc_descriptor): If for MEM mem_loc_descriptor failed on the | |
19126 | address, try avoid_constant_pool_reference and recurse if it | |
19127 | returned something different. | |
19128 | (dw_loc_list_1): If for MEM mem_loc_descriptor failed on the | |
19129 | address and avoid_constant_pool_reference returned something | |
19130 | different, don't set have_address. | |
19131 | ||
fb4cbb9f AO |
19132 | 2010-01-27 Alexandre Oliva <aoliva@redhat.com> |
19133 | ||
19134 | PR debug/42861 | |
19135 | * var-tracking.c (val_store): Add modified argument, obey it. | |
19136 | Adjust callers. | |
19137 | (count_uses): Move down logging of main. | |
19138 | (compute_bb_dataflow): Use val_store for MO_VAL_USEs that | |
19139 | don't need resolution. | |
19140 | (emit_notes_in_bb): Likewise. | |
19141 | ||
e87da263 RG |
19142 | 2010-01-27 Richard Guenther <rguenther@suse.de> |
19143 | ||
19144 | PR middle-end/42878 | |
19145 | * tree-inline.c (remap_decl): Delay remapping of SSA name | |
19146 | default definitions until we need them. | |
19147 | ||
c6d99cad JJ |
19148 | 2010-01-27 Jakub Jelinek <jakub@redhat.com> |
19149 | ||
9a78eb71 JJ |
19150 | * config/rs6000/rs6000.c (TARGET_DELEGITIMIZE_ADDRESS): Redefine. |
19151 | (rs6000_delegitimize_address): New function. | |
19152 | ||
e8d8f497 JJ |
19153 | * config/s390/s390.c (s390_delegitimize_address): Call |
19154 | delegitimize_mem_from_attrs. | |
19155 | ||
c6d99cad JJ |
19156 | PR middle-end/42874 |
19157 | * tree-inline.c (cannot_copy_type_1): Removed. | |
19158 | (copy_forbidden): Don't forbid copying of functions containing | |
19159 | records/unions with variable length fields. | |
19160 | ||
4f6fee0f CB |
19161 | 2010-01-27 Christian Bruel <christian.bruel@st.com> |
19162 | ||
19163 | Revert: | |
19164 | PR target/42841 | |
19165 | * config/sh/sh.c (find_barrier): Increase length for non delayed | |
19166 | conditional branches. | |
d819472d | 19167 | |
cdf6bfb7 MK |
19168 | 2010-01-27 Matthias Klose <doko@ubuntu.com> |
19169 | ||
19170 | * configure.ac (gnu-unique-object): Fix ldd version check. | |
19171 | * configure: Regenerate. | |
19172 | ||
31b21739 RO |
19173 | 2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19174 | ||
19175 | * config/sparc/sparc.c (sparc_elf_asm_named_section): Test for | |
19176 | HAVE_GNU_AS value. | |
19177 | * config/sparc/sysv4.h [HAVE_GNU_AS] (TARGET_ASM_NAMED_SECTION): | |
19178 | Test for HAVE_GNU_AS value. | |
19179 | ||
dc4f0670 RO |
19180 | 2010-01-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
19181 | ||
19182 | * config.gcc (mips-sgi-irix[56]*): Set use_gcc_stdint. | |
19183 | * config/mips/iris.h (INT8_TYPE, INT16_TYPE, INT32_TYPE, | |
19184 | INT64_TYPE): Define. | |
19185 | (UINT8_TYPE, UINT16_TYPE, UINT32_TYPE, UINT64_TYPE): Define. | |
19186 | (INT_LEAST8_TYPE, INT_LEAST16_TYPE, INT_LEAST32_TYPE, | |
19187 | INT_LEAST64_TYPE): Define. | |
19188 | (UINT_LEAST8_TYPE, UINT_LEAST16_TYPE, UINT_LEAST32_TYPE, | |
19189 | UINT_LEAST64_TYPE): Define. | |
19190 | (INT_FAST8_TYPE, INT_FAST16_TYPE, INT_FAST32_TYPE) | |
19191 | INT_FAST64_TYPE): Define. | |
19192 | (UINT_FAST8_TYPE, UINT_FAST16_TYPE, UINT_FAST32_TYPE, | |
19193 | UINT_FAST64_TYPE): Define. | |
19194 | (INTMAX_TYPE, UINTMAX_TYPE): Define. | |
19195 | (INTPTR_TYPE, UINTPTR_TYPE): Define. | |
19196 | (SIG_ATOMIC_TYPE): Define. | |
19197 | ||
a099f7d4 RG |
19198 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
19199 | ||
19200 | * df-scan.c (df_scan_set_bb_info): Remove assert. | |
19201 | (df_insn_rescan_debug_internal): Merge asserts. | |
19202 | (df_install_ref): Likewise. | |
19203 | (df_mark_reg): Use bitmap_set_range. | |
19204 | (df_hard_reg_used_p): Remove assert. | |
19205 | (df_hard_reg_used_count): Likewise. | |
19206 | ||
0d9b0371 RG |
19207 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
19208 | ||
19209 | PR rtl-optimization/42685 | |
19210 | * web.c (web_main): Ignore DEBUG_INSNs. | |
19211 | ||
7a241624 JR |
19212 | 2010-01-26 Joern Rennecke <amylaar@spamcop.net> |
19213 | ||
19214 | * doc/tm.texi (TARGET_HANDLE_C_OPTION): Explain arguments. | |
19215 | ||
19216 | (TARGET_RESOLVE_OVERLOADED_BUILTIN): Add loc parameter. | |
19217 | Fix types of fndecl and arglist parameters. | |
19218 | ||
3333cd50 RG |
19219 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
19220 | ||
19221 | PR middle-end/42806 | |
19222 | * tree-eh.c (unsplit_eh): Skip debug insns. | |
19223 | ||
7f657dde RG |
19224 | 2010-01-26 Richard Guenther <rguenther@suse.de> |
19225 | ||
19226 | PR tree-optimization/42250 | |
19227 | * ipa-type-escape.c (type_escape_execute): Do not analyze clones. | |
19228 | ||
057dd91d JJ |
19229 | 2010-01-26 Jakub Jelinek <jakub@redhat.com> |
19230 | ||
19231 | PR fortran/42866 | |
19232 | * omp-low.c (expand_omp_sections): Only use single_pred if | |
19233 | l2_bb is single_pred_p. | |
19234 | ||
69b18163 CB |
19235 | 2010-01-25 Christian Bruel <christian.bruel@st.com> |
19236 | ||
19237 | PR target/42841 | |
19238 | * config/sh/sh.c (find_barrier): Increase length for non delayed | |
19239 | conditional branches. | |
19240 | (sh_insn_length_adjustment): Use JUMP_TABLE_DATA_P. | |
19241 | ||
00f88f07 DM |
19242 | 2010-01-24 David S. Miller <davem@davemloft.net> |
19243 | ||
31b21739 | 19244 | * config/sparc/sysv4.h (TARGET_ASM_NAMED_SECTION): Only |
00f88f07 | 19245 | define if not using GAS. |
31b21739 | 19246 | * config/sparc/sparc.c (sparc_elf_asm_named_section): |
00f88f07 DM |
19247 | Likewise. Delete SECTION_MERGE code, which is only applicable |
19248 | when using GAS. | |
19249 | ||
d147cbd9 MM |
19250 | 2010-01-24 Mark Mitchell <mark@codesourcery.com> |
19251 | ||
19252 | PR c++/42748 | |
19253 | * config/arm/arm.c (arm_mangle_type): Do not warn about changes to | |
19254 | mangling of va_list in system headers. | |
19255 | ||
a90352a0 TM |
19256 | 2010-01-23 Toon Moene <toon@moene.org> |
19257 | ||
19258 | * tree-predcom.c (combine_chains): Return NULL, not false. | |
19259 | ||
e96d7dd7 JR |
19260 | 2010-01-23 Joern Rennecke <amylaar@spamcop.net> |
19261 | ||
19262 | * tree-loop-distribution.c (distribute_loop): Fix declaration and | |
19263 | initialization of variable res to agree with return type. | |
19264 | ||
65c0a517 SE |
19265 | 2010-01-22 Steve Ellcey <sje@cup.hp.com> |
19266 | ||
19267 | * Makefile.in (tree-sra.o): Add $(EXPR_H) dependency. | |
19268 | * tree-sra.c: Add include of expr.h. | |
19269 | ||
c47987fa JJ |
19270 | 2010-01-22 Jakub Jelinek <jakub@redhat.com> |
19271 | ||
19272 | * tree-into-ssa.c (maybe_register_def): If stmt ends the bb, | |
19273 | insert the debug stmt on the single non-EH edge from the stmt. | |
19274 | ||
002cda0a RH |
19275 | 2010-01-22 Richard Henderson <rth@redhat.com> |
19276 | ||
19277 | PR tree-opt/42833 | |
19278 | * tree-sra.c (sra_modify_assign): Delay re-gimplification of | |
19279 | the RHS until after generate_subtree_copies has insertted its | |
19280 | code before the current statement. | |
19281 | ||
728d406c JR |
19282 | 2010-01-22 Joern Rennecke <amylaar@spamcop.net> |
19283 | ||
19284 | * doc/tm.texi (TARGET_MIN_DIVISIONS_FOR_RECIP_MUL): Fix return type. | |
19285 | ||
45bbb86d JR |
19286 | * gcc-plugin.h (plugin_init): Use "C" likage for c++. |
19287 | ||
7744b697 MJ |
19288 | 2010-01-21 Martin Jambor <mjambor@suse.cz> |
19289 | ||
19290 | PR tree-optimization/42585 | |
19291 | * tree-sra.c (struct access): New field grp_total_scalarization. | |
19292 | (dump_access): Dump the new field. | |
19293 | (should_scalarize_away_bitmap): New variable. | |
19294 | (cannot_scalarize_away_bitmap): Likewise. | |
19295 | (sra_initialize): Allocate new bitmaps. | |
19296 | (sra_deinitialize): Free new bitmaps. | |
19297 | (create_access_1): New function. | |
19298 | (create_access): Parts moved to create_access_1. | |
19299 | (type_consists_of_records_p): New function. | |
19300 | (completely_scalarize_record): Likewise. | |
19301 | (build_access_from_expr): Set bit in cannot_scalarize_away_bitmap. | |
19302 | (build_accesses_from_assign): Set bits in should_scalarize_away_bitmap. | |
19303 | (sort_and_splice_var_accesses): Hint groups with a total_scalarization | |
19304 | access. | |
19305 | (analyze_all_variable_accesses): Completely scalarize small eligible | |
19306 | records. | |
19307 | ||
fff08961 MJ |
19308 | 2010-01-21 Martin Jambor <mjambor@suse.cz> |
19309 | ||
19310 | * tree-sra.c (build_ref_for_offset_1): Allow for zero size fields. | |
19311 | ||
a288b143 AH |
19312 | 2010-01-21 Andrew Haley <aph@redhat.com> |
19313 | ||
d819472d UB |
19314 | * gcc.c (process_command): Move lang_specific_driver before |
19315 | setting cc_libexec_prefix. | |
a288b143 | 19316 | |
4e62a017 RG |
19317 | 2010-01-21 Richard Guenther <rguenther@suse.de> |
19318 | ||
19319 | PR middle-end/19988 | |
19320 | * fold-const.c (negate_expr_p): Pretend only negative | |
19321 | real constants are easily negatable. | |
19322 | ||
ebf0bf7f JJ |
19323 | 2010-01-20 Janis Johnson <janis187@us.ibm.com> |
19324 | Jason Merrill <jason@redhat.com> | |
19325 | ||
19326 | * tree.h (TYPE_TRANSPARENT_UNION): Replace with ... | |
19327 | (TYPE_TRANSPARENT_AGGR): this, for union and record. | |
19328 | * calls.c (initialize argument_information): Handle it. | |
19329 | * c-common.c (handle_transparent_union_attribute): Use new name. | |
19330 | * c-decl.c (finish_struct): Ditto. | |
19331 | * c-typeck.c (type_lists_compatible_p): Ditto. | |
19332 | (convert_for_assignment): Use new name and also handle record. | |
19333 | * function.c (aggregate_value_p): Handle it. | |
19334 | (pass_by_reference): Ditto. | |
19335 | (assign_parm_data_types): Ditto. | |
19336 | * print-tree.c (print_node): Ditto. | |
19337 | * lto-streamer-in.c (unpack_ts_type_value_fields): Ditto. | |
19338 | * lto-streamer-out.c (pack_ts_type_value_fields): Ditto. | |
19339 | * tree.c (first_field): New fn. | |
19340 | ||
907c6efd DK |
19341 | 2010-01-21 Dave Korn <dave.korn.cygwin@gmail.com> |
19342 | ||
19343 | PR target/42818 | |
19344 | * config/i386/cygwin.h (CXX_WRAP_SPEC_LIST): Always apply wrappers, | |
19345 | even when linking statically, for now. | |
19346 | ||
f827f659 AO |
19347 | 2010-01-20 Alexandre Oliva <aoliva@redhat.com> |
19348 | ||
19349 | PR debug/42715 | |
19350 | * var-tracking.c (use_type): Choose MO_VAL_SET for REGs set | |
19351 | without a cselib val. | |
19352 | (count_uses): Accept MO_VAL_SET with no val on stores. | |
19353 | (add_stores): Likewise. | |
19354 | ||
a85caf9e JJ |
19355 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
19356 | ||
19357 | * var-tracking.c (check_value_val): Add a compile time assertion. | |
19358 | (dv_is_decl_p): Simplify. | |
19359 | (dv_as_decl, dv_as_value, dv_from_decl, dv_from_value): Only use | |
19360 | gcc_assert if ENABLE_CHECKING. | |
19361 | ||
4a4d4c08 AO |
19362 | 2010-01-20 Alexandre Oliva <aoliva@redhat.com> |
19363 | ||
19364 | PR debug/42782 | |
19365 | * var-tracking.c: Include tree-flow.h. | |
19366 | (mem_dies_at_call): New. | |
19367 | (dataflow_set_preserve_mem_locs): Use it. | |
19368 | (dataflow_set_remove_mem_locs): Likewise. | |
19369 | (dump_var): Renamed from dump_variable. Adjust all callers. | |
19370 | (dump_var_slot): Renamed from dump_variable_slot. Likewise. | |
19371 | * Makefile.in (var-tracking.o): Adjust deps. | |
19372 | ||
50e87e30 JR |
19373 | 2010-01-20 Joern Rennecke <amylaar@spamcop.net> |
19374 | ||
19375 | * doc/tm.texi (TARGET_SCHED_SET_SCHED_FLAGS): Fix argument list. | |
19376 | ||
e9a8afaa RG |
19377 | 2010-01-20 Richard Guenther <rguenther@suse.de> |
19378 | ||
19379 | PR tree-optimization/42717 | |
19380 | * tree-ssa-dce.c (get_live_post_dom): Remove. | |
19381 | (forward_edge_to_pdom): Take an arbitrary edge to copy | |
19382 | degenerate PHI args from. | |
19383 | (remove_dead_stmt): Use the first post-dominator even if it | |
19384 | does not contain live statements as redirection destination. | |
19385 | ||
be2fd187 RG |
19386 | 2010-01-20 Richard Guenther <rguenther@suse.de> |
19387 | ||
19388 | * tree-inline.c (estimate_num_insns): Handle EH builtins. | |
19389 | ||
1124098b JJ |
19390 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
19391 | ||
19392 | * sel-sched.c (create_speculation_check): Remove set but not used | |
19393 | variable twin. | |
19394 | (try_transformation_cache): Remove set but not used variable ds. | |
19395 | (calculate_privileged_insns): Remove set but not used variables | |
19396 | cur_insn and min_spec_insn. | |
19397 | (find_best_expr): Remove set but not used variable avail_n. | |
19398 | * tree-predcom.c (base_names_in_chain_on): Remove set but not used | |
19399 | variable e. | |
19400 | * cgraphunit.c (assemble_thunk): Remove set but not used variable | |
19401 | false_label. | |
19402 | * haifa-sched.c (remove_notes): Remove set but not used variable prev. | |
19403 | * graphite-clast-to-gimple.c (gloog): Remove set but not used variable | |
19404 | new_scop_exit_edge. | |
19405 | ||
83a5ef25 FW |
19406 | 2010-01-20 Felyza Wishbringer <fwishbringer@gmail.com> |
19407 | ||
19408 | PR bootstrap/42786 | |
19409 | * config.gcc (i[34567]86-*-*): Fix handling of athlon64 and athlon-fx | |
19410 | cpu types. Add support for *-sse3 cpu types. | |
19411 | (x86_64-*-*): Ditto. | |
19412 | ||
b5c0899b JJ |
19413 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
19414 | ||
19415 | PR middle-end/42803 | |
19416 | * varasm.c (narrowing_initializer_constant_valid_p): Add CACHE | |
19417 | argument, call initializer_constant_valid_p_1 instead of | |
19418 | initializer_constant_valid_p, pass CACHE to it, return NULL | |
19419 | immediately if first call returns NULL. | |
19420 | (initializer_constant_valid_p_1): New function. | |
19421 | (initializer_constant_valid_p): Use it. | |
19422 | ||
5f8f3f94 TQ |
19423 | 2010-01-20 Thomas Quinot <quinot@adacore.com> |
19424 | ||
19425 | * tree.def (PLACEHOLDER_EXPR): Fix comment. | |
19426 | ||
80c35b40 JJ |
19427 | 2010-01-20 Jakub Jelinek <jakub@redhat.com> |
19428 | ||
19429 | * dwarf2out.c (mem_loc_descriptor): Use DW_OP_mod for UMOD instead | |
19430 | of MOD, handle MOD using DW_OP_{over,over,div,mul,minus}. | |
19431 | (loc_list_from_tree): Don't handle unsigned division. Handle | |
19432 | signed modulo using DW_OP_{over,over,div,mul,minus}. | |
19433 | * unwind-dw2.c (execute_stack_op): Handle DW_OP_mod using unsigned | |
19434 | modulo instead of signed. | |
19435 | ||
c72ea086 DD |
19436 | 2010-01-20 DJ Delorie <dj@redhat.com> |
19437 | ||
19438 | * config/h8300/h8300.c (F): Add "in_epilogue" flag. | |
19439 | (Fpa): Pass it | |
19440 | (h8300_emit_stack_adjustment): Propogate it. | |
19441 | (push): Pass it. | |
19442 | (h8300_expand_prologue): Likewise. | |
19443 | (h8300_expand_epilogue): Likewise. | |
19444 | ||
b61b1f17 MM |
19445 | 2010-01-19 Michael Matz <matz@suse.de> |
19446 | ||
19447 | PR tree-optimization/41783 | |
19448 | * tree-data-ref.c (toplevel): Include flags.h. | |
19449 | (dump_data_dependence_relation): Also dump the inputs if the | |
19450 | result will be unknown. | |
19451 | (split_constant_offset_1): Look through some conversions. | |
19452 | * tree-predcom.c (determine_roots_comp): Restart a new chain if | |
19453 | the offset from last element is too large. | |
19454 | (ref_at_iteration): Deal also with MISALIGNED_INDIRECT_REF. | |
19455 | (reassociate_to_the_same_stmt): Handle vector registers. | |
19456 | * tree-vect-data-refs.c (vect_equal_offsets): Handle unary operations | |
19457 | (e.g. conversions). | |
31b21739 | 19458 | * tree-vect-loop-manip.c (vect_gen_niters_for_prolog_loop): Add |
b61b1f17 MM |
19459 | wide_prolog_niters argument, emit widening instructions. |
19460 | (vect_do_peeling_for_alignment): Adjust caller, use widened | |
19461 | variant of the iteration cound. | |
19462 | * Makefile.in (tree-data-ref.o): Add $(FLAGS_H). | |
19463 | ||
b3d7e191 RR |
19464 | 2010-01-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com> |
19465 | ||
b61b1f17 MM |
19466 | PR target/38697 |
19467 | * config/arm/neon-testgen.m (emit_automatics): New parameter | |
b3d7e191 RR |
19468 | features. Adjust for Fixed_return_reg feature. |
19469 | (test_intrinsic): Call emit_automatics with new feature. | |
b61b1f17 | 19470 | * config/arm/neon.ml: Update copyright years. |
b3d7e191 RR |
19471 | (features): New Fixed_return_reg feature. |
19472 | (ops): Update feature for Vget_low. | |
19473 | ||
2178b0f9 JJ |
19474 | 2010-01-19 Jakub Jelinek <jakub@redhat.com> |
19475 | ||
d6600130 JJ |
19476 | PR tree-optimization/42719 |
19477 | * tree-outof-ssa.c (trivially_conflicts_p): Don't consider debug | |
19478 | stmt uses. | |
19479 | ||
2178b0f9 JJ |
19480 | PR debug/42728 |
19481 | * fwprop.c (all_uses_available_at): Return false if def_set dest | |
19482 | is a REG that is used in def_insn. | |
19483 | ||
ab7e224a JR |
19484 | 2010-01-19 Joern Rennecke <amylaar@spamcop.net> |
19485 | ||
19486 | * doc/tm.texi (TARGET_FIXED_CONDITION_CODE_REGS): Add argument names. | |
19487 | ||
19488 | (TARGET_CC_MODES_COMPATIBLE): Put return value in braces. | |
19489 | Add argument names. | |
19490 | ||
19491 | (TARGET_SCHED_INIT_SCHED_CONTEXT): Clarify language. | |
19492 | ||
f7154d49 JR |
19493 | * target.h (struct gcc_target) <secondary_reload>: Change type |
19494 | of last argument to secondary_reload_info *. | |
19495 | ||
f249b405 UB |
19496 | 2010-01-18 Uros Bizjak <ubizjak@gmail.com> |
19497 | ||
19498 | PR target/42774 | |
19499 | * config/alpha/predicates.md (aligned_memory_operand): Return 0 for | |
19500 | memory references with unaligned offsets. Remove CQImode handling. | |
19501 | (unaligned_memory_operand): Return 1 for memory references with | |
19502 | unaligned offsets. Remove CQImode handling. | |
19503 | ||
e23817b3 RG |
19504 | 2010-01-18 Richard Guenther <rguenther@suse.de> |
19505 | ||
19506 | PR middle-end/39954 | |
19507 | * cfgexpand.c (expand_call_stmt): TER pointer arguments in | |
19508 | builtin calls. | |
19509 | ||
1cfd38be RG |
19510 | 2010-01-18 Richard Guenther <rguenther@suse.de> |
19511 | ||
19512 | PR tree-optimization/42781 | |
19513 | * tree-ssa-structalias.c (find_what_var_points_to): Skip | |
b5e33e04 | 19514 | restrict processing only if the original variable was artificial. |
1cfd38be | 19515 | |
72392b81 JR |
19516 | 2010-01-18 Joern Rennecke <amylaar@spamcop.net> |
19517 | ||
19518 | * doc/tm.texi (TARGET_ASM_FUNCTION_EPILOGUE): Update text on where to | |
19519 | find number of popped argument bytes. | |
19520 | ||
19521 | (TARGET_INVALID_WITHIN_DOLOOP): Put return value in braces. | |
19522 | Fix the text that describes the return value for invalid insns. | |
19523 | ||
19524 | (TARGET_SCHED_NEEDS_BLOCK_P): Fix return type. Fix argument list. | |
19525 | ||
19526 | (TARGET_SCHED_IS_COSTLY_DEPENDENCE): Fix argument types. | |
19527 | Clarify what 'cost of the -dependence' is. Fix quoting. | |
19528 | ||
0678ade0 JR |
19529 | * toplev.c (default_get_pch_validity): Rename argument to "sz". |
19530 | * doc/tm.texi (TARGET_GET_PCH_VALIDITY): Likewise. | |
19531 | ||
e5165811 JJ |
19532 | 2010-01-17 Jakub Jelinek <jakub@redhat.com> |
19533 | ||
19534 | * dwarf2out.c (mem_loc_descriptor): Don't ICE on | |
19535 | {S,U}S_{PLUS,MINUS,NEG,ABS,ASHIFT}. | |
19536 | ||
3b3f318a RG |
19537 | 2010-01-17 Richard Guenther <rguenther@suse.de> |
19538 | ||
19539 | PR middle-end/42248 | |
19540 | * function.c (split_complex_args): Take a VEC to modify. | |
19541 | (assign_parms_augmented_arg_list): Build a VEC instead of | |
19542 | a chain of PARM_DECLs. | |
19543 | (assign_parms_unsplit_complex): Take a VEC of arguments. | |
19544 | Do not fixup unmodified parms. | |
19545 | (assign_parms): Deal with the VEC. | |
19546 | (gimplify_parameters): Likewise. | |
19547 | ||
8eacd016 RG |
19548 | 2010-01-17 Richard Guenther <rguenther@suse.de> |
19549 | ||
19550 | * tree-ssa-uncprop.c (uncprop_into_successor_phis): Fix PHI | |
19551 | node existence check. | |
19552 | * tree-vect-loop.c (vect_analyze_loop_form): Likewise. | |
19553 | * tree-cfgcleanup.c (merge_phi_nodes): Likewise. | |
19554 | * tree-ssa-dce.c (forward_edge_to_pdom): Likewise. | |
19555 | * tree-cfg.c (gimple_execute_on_growing_pred): Likewise. | |
19556 | (gimple_execute_on_growing_pred): Likewise. | |
19557 | ||
9adf0570 RG |
19558 | 2010-01-17 Richard Guenther <rguenther@suse.de> |
19559 | ||
19560 | PR tree-optimization/42773 | |
19561 | * tree-ssa-pre.c (phi_translate_set): Fix check for PHI node existence. | |
19562 | (compute_antic_aux): Likewise. | |
19563 | (compute_partial_antic_aux): Likewise. | |
19564 | ||
a90110c3 JZ |
19565 | 2010-01-17 Jie Zhang <jie.zhang@analog.com> |
19566 | ||
19567 | PR debug/42767 | |
19568 | * dwarf2out.c (mem_loc_descriptor): Handle SS_TRUNCATE | |
19569 | and US_TRUNCATE. | |
19570 | ||
914d25dc JR |
19571 | 2010-01-17 Joern Rennecke <amylaar@spamcop.net> |
19572 | ||
19573 | * doc/tm.texi (TARGET_INIT_LIBFUNCS): Put @findex entries in order of | |
19574 | appearance. | |
19575 | ||
19576 | (TARGET_LEGITIMATE_ADDRESS_P): Add return type. | |
19577 | Fix markup for strict argument. | |
19578 | ||
19579 | (TARGET_SCHED_REORDER2): Fix argument types. | |
19580 | ||
19581 | (TARGET_SCHED_DFA_PRE_CYCLE_INSN): Fix return type. | |
19582 | (TARGET_SCHED_DFA_POST_CYCLE_INSN): Likewise. | |
19583 | ||
19584 | (TARGET_SCHED_DFA_PRE_ADVANCE_CYCLE): Fix name. | |
19585 | (TARGET_SCHED_DFA_POST_ADVANCE_CYCLE): Likewise. | |
19586 | ||
19587 | (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): | |
19588 | Add argument name. | |
19589 | ||
19590 | (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Remove duplicate documentation. | |
19591 | (TARGET_SCHED_INIT_SCHED_CONTEXT): Likewise. | |
19592 | (TARGET_SCHED_SET_SCHED_CONTEXT): Likewise. | |
19593 | (TARGET_SCHED_CLEAR_SCHED_CONTEXT): Likewise. | |
19594 | (TARGET_SCHED_FREE_SCHED_CONTEXT): Likewise. | |
19595 | ||
19596 | (TARGET_SCHED_SET_SCHED_CONTEXT): Fix typo. | |
19597 | ||
19598 | (TARGET_SCHED_GEN_SPEC_CHECK): Fix name. | |
19599 | ||
19600 | (TARGET_ASM_RELOC_RW_MASK): Add return type. | |
19601 | (TARGET_MANGLE_DECL_ASSEMBLER_NAME): Fix return type. | |
19602 | ||
19603 | (TARGET_STRIP_NAME_ENCODING): Fix markup of return type and parameter. | |
19604 | ||
19605 | (TARGET_ASM_FILE_START): Put @findex before paragraph start. | |
19606 | Use prototype. | |
19607 | ||
19608 | (TARGET_ASM_NAMED_SECTION): Fix argument list. | |
19609 | ||
19610 | (TARGET_HAVE_NAMED_SECTIONS): Use @deftypevr. | |
19611 | (TARGET_HAVE_SWITCHABLE_BSS_SECTIONS): Likewise. | |
19612 | ||
19613 | (TARGET_ASM_RECORD_GCC_SWITCHES_SECTION): Use @deftypevr. | |
19614 | ||
19615 | (TARGET_ASM_ASSEMBLE_VISIBILITY): Fix argument types. | |
19616 | ||
19617 | (TARGET_ASM_MARK_DECL_PRESERVED): Fix argument and markup | |
19618 | referring to it. Fix language. | |
19619 | ||
19620 | (TARGET_HAVE_CTORS_DTORS): Use @deftypevr. | |
19621 | ||
19622 | (TARGET_ASM_FINAL_POSTSCAN_INSN): Adjust name of first argument. | |
19623 | ||
19624 | (TARGET_ASM_EMIT_UNWIND_LABEL): Add argument types. | |
19625 | ||
19626 | (TARGET_ASM_EMIT_EXCEPT_TABLE_LABEL): Add type to argument. | |
19627 | ||
19628 | (TARGET_UNWIND_EMIT): Remove space between 'FILE *' and | |
19629 | '@var{stream}. Remove stray 'and'. | |
19630 | ||
19631 | (TARGET_ARM_EABI_UNWINDER): Use @deftypevr. | |
19632 | ||
19633 | (TARGET_ASM_OUTPUT_DWARF_DTPREL): Adjust name of first argument. | |
19634 | ||
19635 | (TARGET_SET_DEFAULT_TYPE_ATTRIBUTES): Add missing article. | |
19636 | ||
31b21739 | 19637 | (TARGET_OPTION_VALID_ATTRIBUTE_P): Fix name, it was |
914d25dc JR |
19638 | misspelled as TARGET_VALID_OPTION_ATTRIBUTE_P. |
19639 | ||
19640 | (TARGET_GET_PCH_VALIDITY): Put 'void *' in braces. | |
19641 | Fix description of return value. | |
19642 | Rename argument "sz" to "len." | |
19643 | ||
19644 | (TARGET_CXX_GUARD_MASK_BIT): Add missing article. | |
19645 | Clarify meaning of 'true' return value. | |
19646 | ||
19647 | (TARGET_SHIFT_TRUNCATION_MASK): Fix return type. | |
19648 | ||
19649 | (TARGET_MODE_REP_EXTENDED): Fix two inconsisent uses of | |
19650 | rep_mode versus mode_rep. | |
19651 | ||
19652 | (TARGET_HANDLE_PRAGMA_EXTERN_PREFIX): Document. | |
19653 | ||
19654 | (TARGET_BUILTIN_DECL): Fix name. | |
19655 | ||
19656 | (TARGET_COMMUTATIVE_P): Fix type of first argument. | |
19657 | ||
19658 | (TARGET_SET_CURRENT_FUNCTION): Mention possibility of cfun being NULL. | |
19659 | ||
19660 | (TARGET_BRANCH_TARGET_REGISTER_CLASS): Fix return type. | |
19661 | ||
19662 | (TARGET_USE_LOCAL_THUNK_ALIAS_P): Document as macro instead of hook. | |
19663 | ||
19664 | (TARGET_RELAXED_ORDERING): Use @deftypevr. | |
19665 | ||
19666 | (TARGET_GET_DRAP_RTX): Note that this is a hook. | |
19667 | Clarify language. | |
19668 | ||
5eb7ce91 JR |
19669 | (TARGET_BUILTIN_RECIPROCAL): Fix argument types. |
19670 | Rename argument tm_fn to md_fn. | |
19671 | ||
d2143a2f JR |
19672 | (TARGET_OPTION_PRINT): Fix argument list. |
19673 | ||
8f7fd2da HJ |
19674 | 2010-01-16 Harsha Jagasia <harsha.jagasia@amd.com> |
19675 | ||
19676 | PR target/42664 | |
19677 | * config/i386/i386.c (ix86_fixup_binary_operands): | |
19678 | Revert FMA4 fixup of operands. | |
19679 | ||
2fdb618d RW |
19680 | 2010-01-16 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
19681 | ||
19682 | PR gcc/42525 | |
19683 | * Makefile.in (write_entries_to_file, install-plugin): | |
19684 | Use \012 instead of \n with tr. | |
19685 | ||
636cf8b1 RS |
19686 | 2010-01-16 Richard Sandiford <r.sandiford@uk.ibm.com> |
19687 | ||
19688 | * configure.ac (HAVE_AS_REF): New C macro. | |
19689 | * configure: Regenerate. | |
19690 | * config.in: Likewise. | |
19691 | * collect2.c (main): Only postpone SCAN_DWEH to the second pass | |
19692 | if HAVE_AS_REF. | |
19693 | * config/rs6000/aix.h (ASM_OUTPUT_DWARF_TABLE_REF): Only define | |
19694 | if HAVE_AS_REF. | |
19695 | ||
b6fd8800 JR |
19696 | 2010-01-16 Joern Rennecke <amylaar@spamcop.net> |
19697 | ||
19698 | * doc/tm.texi (TARGET_USE_BLOCKS_FOR_CONSTANT_P): Fix argument types. | |
19699 | ||
19700 | (TARGET_SUPPORT_VECTOR_MISALIGNMENT): Fix argument types. | |
19701 | ||
19702 | (TARGET_USE_ANCHORS_FOR_SYMBOL_P): Fix argument types. | |
19703 | ||
19704 | (TARGET_SCHED_ALLOC_SCHED_CONTEXT): Put 'void *' in braces. | |
19705 | ||
19706 | (TARGET_IN_SMALL_DATA_P): Fix argument type. | |
19707 | ||
19708 | (TARGET_BINDS_LOCAL_P): Fix argument type. | |
19709 | ||
19710 | (TARGET_ASM_FILE_END): Use prototype. | |
19711 | ||
19712 | (TARGET_ASM_RECORD_GCC_SWITCHES): Don't put 'int' in braces. | |
19713 | ||
19714 | (TARGET_DWARF_CALLING_CONVENTION): Fix argument type. | |
19715 | ||
19716 | (TARGET_COMP_TYPE_ATTRIBUTES): Fix argument types. | |
19717 | ||
19718 | (TARGET_VALID_DLLIMPORT_ATTRIBUTE_P): Fix argument type. | |
19719 | ||
19720 | (TARGET_EMUTLS_VAR_ALIGN_FIXED): Don't put 'bool' in braces. | |
19721 | (TARGET_EMUTLS_DEBUG_FORM_TLS_ADDRESS): Likewise. | |
19722 | ||
19723 | (TARGET_PCH_VALID_P): Put 'const char *' in braces. | |
19724 | (TARGET_CHECK_PCH_TARGET_FLAGS): Likewise. | |
19725 | ||
19726 | (TARGET_ADDR_SPACE_LEGITIMATE_ADDRESS_P): Don't put 'bool' in braces. | |
19727 | (TARGET_ADDR_SPACE_SUBSET_P): Likewise. | |
19728 | (TARGET_ADDR_SPACE_LEGITIMIZE_ADDRESS): Don't put 'rtx' in braces. | |
19729 | (TARGET_ADDR_SPACE_CONVERT): Likewise. | |
19730 | ||
19731 | (TARGET_CASE_VALUES_THRESHOLD): Put 'unsigned int' in braces. | |
19732 | ||
19733 | (TARGET_MACHINE_DEPENDENT_REORG: Use prototype. | |
19734 | ||
19735 | (TARGET_INIT_BUILTINS): Use prototype. | |
19736 | ||
19737 | (TARGET_INVALID_ARG_FOR_UNPROTOTYPED_FN): | |
19738 | Put 'const char *' in braces. Fix parameter types. | |
19739 | (TARGET_INVALID_CONVERSION): Fix parameter types. | |
19740 | (TARGET_INVALID_UNARY_OP, TARGET_INVALID_BINARY_OP): Likewise. | |
19741 | (TARGET_INVALID_PARAMETER_TYPE, TARGET_INVALID_RETURN_TYPE): Likewise. | |
19742 | ||
19743 | (TARGET_PROMOTED_TYPE): Remove braces around 'tree'. | |
19744 | Fix argument type. | |
19745 | ||
19746 | (TARGET_CONVERT_TO_TYPE): Remove braces around 'tree'. | |
19747 | ||
19748 | (TARGET_ALLOCATE_STACK_SLOTS_FOR_ARGS): Remove braces around 'bool'. | |
19749 | ||
9ddb66ef JR |
19750 | 2010-01-15 Joern Rennecke <amylaar@spamcop.net> |
19751 | ||
19752 | * doc/tm.texi (TARGET_HELP): Fix return type. | |
19753 | ||
19754 | (TARGET_PROMOTE_FUNCTION_MODE): Put 'enum machine_mode' | |
19755 | in braces. Fix argument types. | |
19756 | ||
19757 | (TARGET_LIBGCC_CMP_RETURN_MODE): Use prototype. | |
19758 | ||
19759 | (TARGET_LIBGCC_SHIFT_COUNT_MODE): Use prototype. | |
19760 | ||
19761 | (TARGET_MS_BITFIELD_LAYOUT_P): Fix argument type. | |
19762 | ||
19763 | (TARGET_DECIMAL_FLOAT_SUPPORTED_P): Don't put 'bool' in braces. | |
19764 | (TARGET_FIXED_POINT_SUPPORTED_P): Likewise. | |
19765 | ||
19766 | (TARGET_MANGLE_TYPE): Fix argument types. | |
19767 | ||
19768 | (TARGET_IRA_COVER_CLASSES): Use prototype. | |
19769 | ||
19770 | (TARGET_BUILTIN_SETJMP_FRAME_VALUE): Fix return type. Use prototype. | |
19771 | ||
19772 | (TARGET_CAN_ELIMINATE): Use identifiers for argument names. | |
19773 | ||
19774 | (TARGET_PROMOTE_PROTOTYPES): Fix argument type. | |
19775 | ||
19776 | (TARGET_MUST_PASS_IN_STACK): Fix argument type. | |
19777 | ||
19778 | (TARGET_CALLEE_COPIES): Fix argument types. | |
19779 | ||
19780 | (TARGET_SPLIT_COMPLEX_ARG): Fix argument type. | |
19781 | ||
19782 | (TARGET_GIMPLIFY_VA_ARG_EXPR): Fix argument types. | |
19783 | ||
19784 | (TARGET_FUNCTION_VALUE): Fix argument types. | |
19785 | ||
19786 | (TARGET_RETURN_IN_MSB): Fix argument type. | |
19787 | ||
19788 | (TARGET_RETURN_IN_MEMORY): Fix argument types. | |
19789 | ||
19790 | (TARGET_ASM_CAN_OUTPUT_MI_THUNK): Fix argument types. | |
19791 | ||
19792 | (TARGET_EXTRA_LIVE_ON_ENTRY): Fix argument type. | |
19793 | ||
19794 | (TARGET_STRICT_ARGUMENT_NAMING): Make literal in text | |
19795 | agree with return type. | |
19796 | ||
19797 | (TARGET_PRETEND_OUTGOING_VARARGS_NAMED): Add Prototype. | |
19798 | ||
4a62494d JY |
19799 | 2010-01-15 Jing Yu <jingyu@google.com> |
19800 | ||
19801 | PR rtl-optimization/42691 | |
19802 | * combine.c (try_combine): Set changed_i3_dest to 1 when I2 and I3 set | |
19803 | a pseudo to a constant and are merged, and adjust comments. | |
19804 | ||
a1b5171b EB |
19805 | 2010-01-15 Eric Botcazou <ebotcazou@adacore.com> |
19806 | ||
19807 | * config/i386/sse.md (avx_vperm2f128<mode>3): Fix typo. | |
19808 | ||
1197e789 RG |
19809 | 2010-01-15 Richard Guenther <rguenther@suse.de> |
19810 | ||
19811 | PR middle-end/42739 | |
19812 | * tree-cfgcleanup.c (remove_forwarder_block): Move destination | |
19813 | labels of computed or non-local gotos to the destination. | |
19814 | * tree-cfg.c (gimple_verify_flow_info): Verify that a EH | |
19815 | landing pad label is the first label. | |
19816 | ||
cbe80ff8 RG |
19817 | 2010-01-15 Richard Guenther <rguenther@suse.de> |
19818 | ||
19819 | * tree-ssa-loop-im.c (gen_lsm_tmp_name): Fix bogus fallthru. | |
19820 | ||
c919858d MM |
19821 | 2010-01-14 Michael Meissner <meissner@linux.vnet.ibm.com> |
19822 | ||
19823 | PR target/42747 | |
19824 | * config/rs6000/rs6000.md (sqrtdf2): Split into expander and insn | |
19825 | to allow generation of the xssqrtdp instruction on power7. | |
19826 | (sqrtdf2_fpr): Ditto. | |
19827 | ||
5b1cbe14 JJ |
19828 | 2010-01-14 Jakub Jelinek <jakub@redhat.com> |
19829 | ||
ef5d1181 JJ |
19830 | PR middle-end/42674 |
19831 | * c-decl.c (finish_function): Don't emit -Wreturn-type warnings in | |
19832 | functions with noreturn attribute. | |
19833 | ||
5b1cbe14 JJ |
19834 | PR c++/42608 |
19835 | * varasm.c (declare_weak): Add weak attribute to decl if it | |
19836 | doesn't have one already. | |
19837 | (assemble_external): Only add decls to weak_decls if they also | |
19838 | have weak attribute. | |
19839 | ||
7d2a8452 AO |
19840 | 2010-01-14 Alexandre Oliva <aoliva@redhat.com> |
19841 | ||
19842 | * var-tracking.c (var_reg_delete): Don't delete the association | |
19843 | between REGs and values or one-part variables if the register | |
19844 | isn't clobbered. | |
19845 | ||
d17af147 JJ |
19846 | 2010-01-14 Jakub Jelinek <jakub@redhat.com> |
19847 | ||
19848 | PR debug/42657 | |
19849 | * tree-inline.c (copy_debug_stmt): Don't reset debug stmt just | |
19850 | because its first operand is a non-localized variable. | |
19851 | ||
2f3cdcf5 MJ |
19852 | 2010-01-14 Martin Jambor <mjambor@suse.cz> |
19853 | ||
19854 | PR tree-optimization/42706 | |
19855 | * tree-sra.c (encountered_recursive_call): New variable. | |
19856 | (encountered_unchangable_recursive_call): Likewise. | |
19857 | (sra_initialize): Initialize both new variables. | |
19858 | (callsite_has_enough_arguments_p): New function. | |
19859 | (scan_function): Call decl and flags check only for IPA-SRA, check | |
19860 | whether there is a recursive call and whether it has enough arguments. | |
19861 | (all_callers_have_enough_arguments_p): New function. | |
19862 | (convert_callers): Look for recursive calls only when | |
19863 | encountered_recursive_call is set. | |
19864 | (ipa_early_sra): Bail out either if | |
19865 | !all_callers_have_enough_arguments_p or | |
19866 | encountered_unchangable_recursive_call. | |
19867 | ||
c02e2d5c AM |
19868 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
19869 | ||
19870 | * sel-sched.c: Add 2010 to copyright years. | |
19871 | * sel-sched-ir.c: Likewise. | |
19872 | * sel-sched-ir.h: Likewise. | |
19873 | ||
92e97cdd MJ |
19874 | 2010-01-14 Martin Jambor <mjambor@suse.cz> |
19875 | ||
19876 | PR tree-optimization/42714 | |
19877 | * tree-sra.c (sra_ipa_modify_assign): Handle incompatible-type | |
19878 | constructors specially. | |
19879 | ||
a0463099 AK |
19880 | 2010-01-14 Andi Kleen <ak@linux.intel.com> |
19881 | ||
19882 | * config/i386/drivers-i386.c (detect_caches_intel): | |
19883 | Add l2sizekb parameter and fill in. | |
19884 | (host_detect_local_cpu): Add l2sizekb, fill in. | |
19885 | Add Atom small cache heuristic. | |
19886 | ||
19887 | 2010-01-14 Andi Kleen <ak@linux.intel.com> | |
19888 | ||
19889 | * config/i386/drivers-i386.c (detect_caches_cpuid4): | |
19890 | Add level3 parameter and fill in. | |
19891 | (detect_caches_intel): Handle level3 cache. | |
19892 | ||
19893 | 2010-01-14 Andi Kleen <ak@linux.intel.com> | |
19894 | ||
19895 | * config/i386/drivers-i386.c (host_detect_local_cpu): | |
19896 | Fix core duo detection. | |
19897 | ||
19898 | 2010-01-14 Andi Kleen <ak@linux.intel.com> | |
19899 | ||
19900 | * config/i386/drivers-i386.c (host_detect_local_cpu): | |
19901 | Fix Atom detection. | |
19902 | ||
dd6739e3 AM |
19903 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
19904 | ||
19905 | * config/rs6000/rs6000.c (rs6000_variable_issue): Rename to... | |
19906 | (rs6000_variable_issue_1): this. Use... | |
19907 | (rs6000_variable_issue): here. Reimplement. Print debug info. | |
19908 | ||
7898b93b AM |
19909 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
19910 | ||
a0463099 AK |
19911 | * sel-sched-ir.c (sel_restore_other_notes): Rename to |
19912 | sel_restore_notes. Update all callers. Call reemit_notes | |
19913 | for all insns. | |
7898b93b | 19914 | |
65b659ff AB |
19915 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
19916 | ||
19917 | PR rtl-optimization/42246 | |
19918 | * sel-sched-ir.h (get_all_loop_exits): Include exits from inner | |
19919 | loops. | |
19920 | ||
c6486552 AB |
19921 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
19922 | ||
19923 | * sel-sched.c (compute_av_set_at_bb_end): Do not test that number of | |
19924 | all successors is the same as number of successors in current region. | |
19925 | ||
f07013eb AM |
19926 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
19927 | ||
19928 | * sel-sched.c (maybe_emit_renaming_copy): Exit early when expression | |
19929 | to rename is not separable. Otherwise check that its LHS is not NULL. | |
19930 | ||
a9ced68b AM |
19931 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
19932 | ||
19933 | * sel-sched.c (choose_best_reg_1): Loop over all regs for mode. | |
19934 | ||
0c94f956 AM |
19935 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
19936 | ||
19937 | * sel-sched.c (mark_unavailable_hard_regs): Do not try to search | |
19938 | available registers when failed to discover LHS register class. | |
19939 | Fix indentation. Update comment. | |
19940 | ||
136e01a3 AB |
19941 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
19942 | Alexander Monakov <amonakov@ispras.ru> | |
19943 | ||
19944 | PR rtl-optimization/42389 | |
19945 | * sel-sched.c (advance_one_cycle): Set FENCE_ISSUE_MORE | |
19946 | to can_issue_more. | |
19947 | (advance_state_on_fence): Likewise. | |
19948 | (sel_target_adjust_priority): Print debug output only when | |
19949 | sched_verbose >= 4, not 2. | |
19950 | (get_expr_cost): Do not issue all unique insns on the next cycle. | |
19951 | (fill_insns): Initialize can_issue_more from the value saved | |
19952 | with the fence. | |
19953 | * sel-sched-ir.c (flist_add): New parameter issue_more. | |
19954 | Init FENCE_ISSUE_MORE with it. | |
19955 | (merge_fences): Likewise. | |
19956 | (init_fences): Update call to flist_add. | |
19957 | (add_to_fences, add_clean_fence_to_fences) | |
19958 | (add_dirty_fence_to_fences): Likewise. | |
19959 | (move_fence_to_fences): Update call to merge_fences. | |
19960 | (invoke_reorder_hooks): Do not reset can_issue_more on insns from | |
19961 | sched groups. | |
19962 | * sel-sched-ir.h (struct _fence): New field issue_more. | |
19963 | (FENCE_ISSUE_MORE): New accessor macro. | |
19964 | ||
762bffba AB |
19965 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
19966 | ||
19967 | PR rtl-optimization/42388 | |
19968 | * sel-sched-ir.c (maybe_tidy_empty_bb): Do not delete empty blocks | |
19969 | that have no predecessors nor successors. Do not call move_bb_info | |
19970 | for empty blocks outside of current region. | |
19971 | ||
14f30b87 AM |
19972 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
19973 | ||
19974 | PR rtl-optimization/42294 | |
19975 | * sel-sched-ir.h (struct _sel_insn_data): Update comment. | |
19976 | * sel-sched.c (move_exprs_to_boundary): Transitively add all | |
19977 | originators' originators. | |
19978 | ||
8ec4d0ad AM |
19979 | 2010-01-14 Alexander Monakov <amonakov@ispras.ru> |
19980 | ||
19981 | PR rtl-optimization/39453 | |
19982 | PR rtl-optimization/42246 | |
19983 | * sel-sched-ir.c (considered_for_pipelining_p): Do not test | |
19984 | for pipelining_p. | |
19985 | (sel_add_loop_preheaders): Add preheader to last_added_blocks. | |
19986 | ||
b59ab570 AM |
19987 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
19988 | Alexander Monakov <amonakov@ispras.ru> | |
19989 | ||
19990 | PR middle-end/42245 | |
19991 | * sel-sched-ir.c (sel_recompute_toporder): New. Use it... | |
19992 | (maybe_tidy_empty_bb): ... here. Make static. Add new | |
19993 | argument. Update all callers. | |
19994 | (tidy_control_flow): ... and here. Recompute topological order | |
19995 | of basic blocks in region if necessary. | |
19996 | (sel_redirect_edge_and_branch): Change return type. Return true | |
19997 | if topological order might have been invalidated. | |
19998 | (purge_empty_blocks): Export and move from... | |
19999 | * sel-sched.c (purge_empty_blocks): ... here. | |
20000 | * sel-sched-ir.h (sel_redirect_edge_and_branch): Update prototype. | |
c02e2d5c | 20001 | (maybe_tidy_empty_bb): Delete prototype. |
b59ab570 AM |
20002 | (purge_empty_blocks): Declare. |
20003 | ||
f4a4b582 | 20004 | 2010-01-14 Andrey Belevantsev <abel@ispras.ru> |
0666ff4e | 20005 | |
b59ab570 | 20006 | PR rtl-optimization/42249 |
0666ff4e AB |
20007 | * sel-sched.c (try_replace_dest_reg): When chosen register |
20008 | and original register is the same, do not bail out early, but | |
20009 | still check all original insns for validity of replacing destination | |
20010 | register. Set EXPR_TARGET_AVAILABLE to 1 before leaving function | |
20011 | in this case. | |
20012 | ||
5f8d5023 JJ |
20013 | 2010-01-14 Jakub Jelinek <jakub@redhat.com> |
20014 | ||
20015 | PR c/42721 | |
a0463099 | 20016 | Port from no-undefined-overflow branch: |
5f8d5023 JJ |
20017 | 2009-03-09 Richard Guenther <rguenther@suse.de> |
20018 | ||
a0463099 | 20019 | * fold-const.c (add_double_with_sign): Fix unsigned overflow detection. |
5f8d5023 | 20020 | |
429c98c9 RG |
20021 | 2010-01-14 Richard Guenther <rguenther@suse.de> |
20022 | ||
20023 | PR lto/42665 | |
b5e33e04 | 20024 | * gimple.c (iterative_hash_gimple_type): Avoid hashing error_mark_node. |
429c98c9 | 20025 | |
cd481d83 IR |
20026 | 2010-01-14 Ira Rosen <irar@il.ibm.com> |
20027 | ||
20028 | PR tree-optimization/42709 | |
20029 | * tree-vect-slp.c (vect_get_constant_vectors): Use constant's type | |
20030 | as scalar type in creation of constant vector operand. | |
20031 | ||
453897b4 RW |
20032 | 2010-01-14 Ralf Wildenhues <Ralf.Wildenhues@gmx.de> |
20033 | ||
20034 | PR testsuite/42414 | |
20035 | * Makefile.in ($(TESTSUITEDIR)/site.exp, check-%) | |
20036 | (check-parallel-%): Match `testsuite' directory component only | |
20037 | at the end. | |
20038 | ||
5bc69b92 SZ |
20039 | 2010-01-14 Shujing Zhao <pearly.zhao@oracle.com> |
20040 | ||
20041 | PR translation/39521 | |
20042 | * gcc.c (do_spec_1): Wrapped the error and notice messages of specs | |
20043 | strings with _(). | |
20044 | ||
5db959b6 RG |
20045 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
20046 | ||
20047 | PR tree-optimization/42730 | |
20048 | * tree-ssa-ccp.c (maybe_fold_stmt_indirect): Add shortcut for | |
20049 | offset zero. | |
20050 | ||
9540f5ef SE |
20051 | 2010-01-13 Steve Ellcey <sje@cup.hp.com> |
20052 | ||
20053 | PR target/pr42542 | |
20054 | * config/ia64/ia64.c (ia64_expand_vecint_compare): Convert GTU to GT | |
20055 | for V2SI by subtracting (-(INT MAX) - 1) from both operands to make | |
20056 | them signed. | |
20057 | ||
84fb8ff5 BS |
20058 | 2010-01-13 Bernd Schmidt <bernd.schmidt@analog.com> |
20059 | ||
20060 | * config/bfin/libgcc-bfin.ver: Regenerate based on current | |
20061 | libgcc-std.ver. Add entries for ___smulsi3_highpart and | |
20062 | ___umulsi3_highpart. | |
20063 | ||
6cca15ea BS |
20064 | * config/bfin/bfin.c (bfin_reorg): Call run_selective_scheduling |
20065 | rather than schedule_insns if the pass is enabled. | |
20066 | ||
19656178 MJ |
20067 | 2010-01-13 Martin Jambor <mjambor@suse.cz> |
20068 | ||
20069 | PR tree-optimization/42704 | |
20070 | * tree-sra.c (sra_modify_assign): Do not delete assignments to | |
20071 | SSA_NAMEs. | |
20072 | ||
6dc93b16 MJ |
20073 | 2010-01-13 Martin Jambor <mjambor@suse.cz> |
20074 | ||
20075 | PR tree-optimization/42703 | |
20076 | * tree-sra.c (analyze_access_subtree): Check that we can build a | |
20077 | reference to the original data within the aggregate. | |
20078 | ||
1d21a8e5 RG |
20079 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
20080 | ||
20081 | PR tree-optimization/42705 | |
b5e33e04 | 20082 | * tree-ssa-reassoc.c (build_and_add_sum): Insert stmts after labels. |
1d21a8e5 | 20083 | |
48f30f62 RG |
20084 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
20085 | ||
20086 | PR middle-end/42716 | |
20087 | * fold-const.c (fold_unary_loc): Fold INDIRECT_REFs. | |
20088 | ||
9e73c690 JJ |
20089 | 2010-01-13 Jakub Jelinek <jakub@redhat.com> |
20090 | ||
20091 | PR debug/41371 | |
20092 | * var-tracking.c (values_to_unmark): New variable. | |
20093 | (find_loc_in_1pdv): Clear VALUE_RECURSED_INTO of values in | |
20094 | values_to_unmark vector. Moved body to... | |
20095 | (find_loc_in_1pdv_1): ... this. Don't clear VALUE_RECURSED_INTO, | |
20096 | instead queue it into values_to_unmark vector. | |
20097 | (vt_find_locations): Free values_to_unmark vector. | |
20098 | ||
dc2f28c5 WG |
20099 | 2010-01-13 Wolfgang Gellerich <gellerich@de.ibm.com> |
20100 | ||
20101 | * config/s390/s390.c (override_options): Set | |
20102 | default of max-pending-list-length to 256 | |
20103 | ||
688a482d RG |
20104 | 2010-01-13 Richard Guenther <rguenther@suse.de> |
20105 | ||
20106 | PR lto/42678 | |
20107 | * tree-pass.h (PROP_gimple_lcx): New. | |
20108 | * cfgexpand.c (pass_expand): Require PROP_gimple_lcx. | |
20109 | * passes.c (init_optimization_passes): Move pass_lower_complex_O0 | |
20110 | before the final cleanup_eh. | |
20111 | (dump_properties): Dump PROP_gimple_lcx. | |
20112 | * tree-complex.c (pass_lower_complex): Provide PROP_gimple_lcx. | |
20113 | (tree_lower_complex_O0): Remove. | |
20114 | (gate_no_optimization): Run if PROP_gimple_lcx is not set. | |
20115 | (pass_lower_complex_O0): Provide PROP_gimple_lcx. Run | |
20116 | tree_lower_complex, schedule TODO_update_ssa. | |
20117 | * lto-streamer-out.c (output_function): Stream the functions | |
20118 | properties. | |
20119 | * lto-streamer-in.c (input_function): Likewise. | |
20120 | (lto_read_body): Do not override them here. | |
20121 | ||
e616f54d JM |
20122 | 2010-01-12 Joseph Myers <joseph@codesourcery.com> |
20123 | ||
20124 | PR c/42708 | |
20125 | * c-typeck.c (build_c_cast): Fold value cast to union type before | |
20126 | wrapping it in a CONSTRUCTOR. | |
20127 | ||
b4ab701f JJ |
20128 | 2010-01-12 Jakub Jelinek <jakub@redhat.com> |
20129 | ||
20130 | PR rtl-optimization/42699 | |
20131 | * cse.c (cse_insn): Optimize lhs ZERO_EXTRACT if only CONST_INTs are | |
20132 | involved. | |
20133 | ||
4dde664f RO |
20134 | 2010-01-12 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
20135 | ||
20136 | * config/mips/iris6.h (SUBTARGET_DONT_WARN_UNUSED_SPEC, | |
20137 | SUBTARGET_WARN_UNUSED_SPEC): Move ... | |
20138 | config/mips/iris.h (SUBTARGET_DONT_WARN_UNUSED_SPEC, | |
20139 | SUBTARGET_WARN_UNUSED_SPEC): ... here | |
20140 | * config/mips/iris5.h (LIBGCC_SPEC): Define. | |
20141 | ||
24fe19c3 JB |
20142 | 2010-01-12 Julian Brown <julian@codesourcery.com> |
20143 | ||
a0463099 | 20144 | * config/arm/neon-schedgen.ml (Utils): Don't try to |
24fe19c3 | 20145 | open missing module. |
a0463099 | 20146 | (find_with_result): New. |
24fe19c3 | 20147 | |
082ab5ff JJ |
20148 | 2010-01-12 Jakub Jelinek <jakub@redhat.com> |
20149 | ||
4942b76b JJ |
20150 | PR debug/42662 |
20151 | * simplify-rtx.c (simplify_relational_operation_1): Avoid invalid rtx | |
20152 | sharing when canonicalizing ({lt,ge}u (plus a b) b). | |
20153 | ||
082ab5ff JJ |
20154 | PR tree-optimization/42645 |
20155 | * tree-inline.c (processing_debug_stmt): Move earlier. Make static. | |
20156 | (remap_ssa_name): If processing_debug_stmt and name wasn't found in | |
20157 | decl_map, set processing_debug_stmt to -1 and return name without | |
20158 | any remapping. | |
20159 | ||
977f7997 DK |
20160 | 2010-01-11 Dave Korn <dave.korn.cygwin@gmail.com> |
20161 | ||
20162 | * doc/install.texi (Specific#x-x-cygwin): Document minimum required | |
20163 | binutils version, and reword target configuration description. | |
20164 | ||
2685baa1 AH |
20165 | 2010-01-11 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> |
20166 | ||
a0463099 | 20167 | * config/avr/avr.h (LINKER_NAME): Remove. |
2685baa1 | 20168 | |
3767f512 JJ |
20169 | 2010-01-11 Janis Johnson <janis187@us.ibm.com> |
20170 | ||
20171 | PR target/42416 | |
20172 | * config/rs6000/rs6000.c (rs6000_override_options): On targets | |
20173 | that support VSX, warn for -mno-altivec if vsx is not disabled, | |
20174 | and disable vsx. | |
20175 | ||
f94e1d66 JM |
20176 | 2010-01-11 Joseph Myers <joseph@codesourcery.com> |
20177 | Shujing Zhao <pearly.zhao@oracle.com> | |
a0463099 | 20178 | |
f94e1d66 JM |
20179 | PR translation/42469 |
20180 | * common.opt (Wframe-larger-than=, fcompare-debug=, fdbg-cnt=, | |
20181 | fira-verbose=, flto-compression-level=, fplugin-arg-): Use tab | |
20182 | character between option name and help text. | |
20183 | * c.opt (imultilib): Likewise. | |
20184 | ||
06bfe1d0 RAE |
20185 | 2010-01-10 Rafael Avila de Espindola <espindola@google.com> |
20186 | ||
20187 | * lto-streamer-out.c (output_unreferenced_globals): Output static | |
20188 | variables. | |
20189 | ||
c21f33b6 SB |
20190 | 2010-01-10 Steven Bosscher <steven@gcc.gnu.org> |
20191 | ||
20192 | PR rtl-optimization/42621 | |
20193 | * bb-reorder.c (gate_duplicated_computed_gotos): Only run if not | |
20194 | optimizing for size. | |
20195 | (duplicate_computed_gotos): Remove now-redundant check. | |
20196 | ||
30ce157e SE |
20197 | 2010-01-10 Steve Ellcey <sje@cup.hp.com> |
20198 | ||
20199 | PR target/37454 | |
20200 | * configure.ac: Save and restore LDFLAGS and LIBS | |
20201 | * configure: Regenerate. | |
20202 | ||
ab996409 RG |
20203 | 2010-01-10 Richard Guenther <rguenther@suse.de> |
20204 | ||
20205 | PR middle-end/42667 | |
20206 | * builtins.c (fold_builtin_strlen): Add type argument and | |
20207 | convert the resulting length to it. | |
20208 | (fold_builtin_1): Adjust. | |
20209 | ||
7234a615 JJ |
20210 | 2010-01-09 Jakub Jelinek <jakub@redhat.com> |
20211 | ||
20212 | * config/rs6000/rs6000.c (rs6000_emit_set_long_const): Shorten | |
20213 | sequence for DImode constants >= 0x80000000UL <= 0xFFFFFFFFUL by | |
20214 | 1 insn. | |
20215 | (num_insns_constant_wide): Adjust for that change. | |
20216 | ||
994ae26c AO |
20217 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
20218 | ||
20219 | PR debug/42631 | |
20220 | * web.c (union_defs): Add used argument, to combine uses of | |
20221 | uninitialized regs. | |
20222 | (entry_register): Adjust type and tests of used argument. | |
20223 | (web_main): Widen used for new use. Pass it to union_defs. | |
20224 | * df.h (union_defs): Adjust prototype. | |
20225 | ||
60c48e4c AO |
20226 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
20227 | ||
20228 | PR debug/42630 | |
20229 | * loop-unroll.c (referenced_in_one_insn_in_loop_p): Count debug | |
20230 | uses in new incoming argument. Free body. | |
20231 | (reset_debug_uses_in_loop): New. | |
20232 | (analyze_insn_to_expand_var): Call the latter if the former found | |
20233 | anything. Fix whitespace. Reject invalid dest overlaps before | |
20234 | going through all insns in the loop. | |
20235 | ||
bb956f3e AO |
20236 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
20237 | ||
20238 | PR debug/42629 | |
20239 | * haifa-sched.c (dying_use_p): Debug insns don't count. | |
20240 | ||
5de8da9b AO |
20241 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
20242 | ||
20243 | PR middle-end/42363 | |
20244 | * gimplify.c (gimplify_modify_expr): Drop lhs on noreturn calls. | |
20245 | * tree-cfg.c (is_ctrl_altering_stmt): Don't compute flags twice. | |
20246 | (verify_gimple_call): Reject LHS in noreturn calls. | |
20247 | ||
684f25f4 AO |
20248 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
20249 | ||
20250 | PR debug/42604 | |
20251 | PR debug/42395 | |
20252 | * tree-vect-loop-manip.c (adjust_info): New type. | |
20253 | (adjust_vec): New pointer to vector. | |
20254 | (adjust_debug_stmts_now, adjust_vec_debug_stmts): New. | |
20255 | (adjust_debug_stmts, adjust_phi_and_debug_stmts): New. | |
20256 | (slpeel_update_phis_for_duplicate_loop): Use them. | |
20257 | (slpeel_update_phi_nodes_for_guard1): Likewise. | |
20258 | (slpeel_update_phi_nodes_for_guard2): Likewise. | |
20259 | (slpeel_tree_peel_loop_to_edge): Likewise. | |
20260 | (vect_update_ivs_after_vectorizer): Likewise. | |
20261 | ||
0e00563c AO |
20262 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
20263 | ||
20264 | * vec.h (DEF_VEC_ALLOC_FUNC_O_STACK): Drop excess paren. | |
20265 | (DEF_VEC_ALLOC_FUNC_I_STACK): Likewise. | |
20266 | ||
0ce659eb AO |
20267 | 2010-01-09 Alexandre Oliva <aoliva@redhat.com> |
20268 | ||
20269 | * config/i386/i386.c (ix86_vectorize_builtin_vec_perm): Silence | |
20270 | bogus uninitialized warning. | |
20271 | ||
73c865fa RG |
20272 | 2010-01-09 Richard Guenther <rguenther@suse.de> |
20273 | ||
20274 | PR middle-end/42512 | |
20275 | * tree-scalar-evolution.c (interpret_loop_phi): Make sure | |
20276 | the evolution is compatible with the initial condition. | |
20277 | ||
bd5c3aa5 JJ |
20278 | 2010-01-09 Jakub Jelinek <jakub@redhat.com> |
20279 | ||
20280 | * gcc.c (process_command): Update copyright notice dates. | |
20281 | * gcov.c (print_version): Likewise. | |
20282 | * gcov-dump.c (print_version): Likewise. | |
20283 | * mips-tfile.c (main): Likewise. | |
20284 | * mips-tdump.c (main): Likewise. | |
20285 | ||
58f0ea2f AH |
20286 | 2010-01-08 Andy Hutchinson <hutchinsonandy@gcc.gnu.org> |
20287 | ||
20288 | PR target/41885 | |
2685baa1 | 20289 | * config/avr/avr.md (rotlqi3): Add CONST_INT_P check. |
58f0ea2f AH |
20290 | (rotlhi3): Delete. |
20291 | (rotlhi3_8): Delete. | |
20292 | (rotlsi3): Delete. | |
20293 | (rotlsi3_8): Delete. | |
20294 | (rotlsi3_16): Delete. | |
20295 | (rotlsi3_24): Delete. | |
20296 | (rotl<mode>3): New. | |
20297 | (*rotw<mode>3): New. | |
20298 | (*rotb<mode>3): New. | |
2685baa1 | 20299 | * config/avr/avr.c (avr_rotate_bytes): New function. |
a0463099 | 20300 | * config/avr/avr-proto.h (avr_rotate_bytes): New function. |
58f0ea2f | 20301 | |
601fc26e SE |
20302 | 2010-01-08 Steve Ellcey <sje@cup.hp.com> |
20303 | ||
20304 | PR target/37454 | |
20305 | * configure.ac: Modify -rdynamic check. | |
20306 | * configure: Regenerate. | |
20307 | ||
6a62ca52 DD |
20308 | 2010-01-08 DJ Delorie <dj@redhat.com> |
20309 | ||
20310 | * config/sh/sh.c (sh_expand_epilogue): Fix interrupt handler | |
20311 | register popping order. | |
20312 | ||
c59449fa RG |
20313 | 2010-01-08 Richard Guenther <rguenther@suse.de> |
20314 | ||
20315 | PR lto/42528 | |
20316 | * c.opt (fsigned-char): Also let LTO handle this option. | |
20317 | (funsigned-char): Likewise. | |
20318 | ||
f68a75df RG |
20319 | 2010-01-07 Richard Guenther <rguenther@suse.de> |
20320 | ||
20321 | * gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING. | |
20322 | (gimple_op): Likewise. | |
20323 | (gimple_op_ptr): Likewise. | |
20324 | (gimple_assign_set_lhs): Remove gcc_assert. | |
20325 | (gimple_assign_set_rhs1): Likewise. | |
20326 | (gimple_assign_set_rhs2): Likewise. | |
20327 | (gimple_call_set_lhs): Likewise. | |
20328 | (gimple_call_set_fn): Likewise. | |
20329 | (gimple_call_set_fndecl): Likewise. | |
20330 | (gimple_call_fndecl): Likewise. | |
20331 | (gimple_call_return_type): Likewise. | |
20332 | (gimple_call_set_chain): Likewise. | |
20333 | (gimple_call_num_args): Likewise. | |
20334 | (gimple_call_set_arg): Likewise. | |
20335 | (gimple_cond_set_code): Likewise. | |
20336 | (gimple_cond_set_lhs): Likewise. | |
20337 | (gimple_cond_set_rhs): Likewise. | |
20338 | (gimple_cond_set_true_label): Likewise. | |
20339 | (gimple_cond_set_false_label): Likewise. | |
20340 | (gimple_label_set_label): Likewise. | |
20341 | (gimple_goto_set_dest): Likewise. | |
20342 | (gimple_debug_bind_get_var): Wrap gcc_assert in ENABLE_CHECKING. | |
20343 | (gimple_debug_bind_get_value): Likewise. | |
20344 | (gimple_debug_bind_get_value_ptr): Likewise. | |
20345 | (gimple_debug_bind_set_var): Likewise. | |
20346 | (gimple_debug_bind_set_value): Likewise. | |
20347 | (gimple_debug_bind_reset_value): Likewise. | |
20348 | (gimple_debug_bind_has_value_p): Likewise. | |
20349 | (gimple_return_retval_ptr): Remove gcc_assert. | |
20350 | (gimple_return_retval): Likewise. | |
20351 | (gimple_return_set_retval): Likewise. | |
20352 | * tree-flow.h (struct gimple_df): Remove nonlocal_all member. | |
20353 | (safe_referenced_var_iterator): Remove. | |
20354 | (FOR_EACH_REFERENCED_VAR_SAFE): Likewise. | |
20355 | * tree-flow-inline.h (gimple_nonlocal_all): Remove. | |
20356 | (fill_referenced_var_vec): Remove. | |
20357 | (first_readonly_imm_use): Remove redundant gcc_assert. | |
20358 | (phi_arg_index_from_use): Combine gcc_asserts. | |
20359 | (move_use_after_head): Wrap gcc_assert in ENABLE_CHECKING. | |
20360 | (first_imm_use_stmt): Remove redundant gcc_assert. | |
20361 | * tree-cfg.c (verify_gimple_call): Verify function and chain | |
20362 | operands. Verify arguments. | |
20363 | (verify_types_in_gimple_stmt): Verify condition code and labels. | |
20364 | ||
617531d9 RG |
20365 | 2010-01-07 Richard Guenther <rguenther@suse.de> |
20366 | ||
20367 | PR tree-optimization/42641 | |
20368 | * sese.c (rename_map_elt_info): Use the SSA name version, do | |
20369 | not hash pointers. | |
20370 | ||
4139c7ef JJ |
20371 | 2010-01-07 Jakub Jelinek <jakub@redhat.com> |
20372 | ||
20373 | PR tree-optimization/42625 | |
20374 | * cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*, | |
b5e33e04 | 20375 | TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body aliases. |
4139c7ef | 20376 | |
01094033 DS |
20377 | 2010-01-07 Duncan Sands <baldrick@free.fr> |
20378 | ||
20379 | * Makefile.in (PLUGIN_HEADERS): Add version.h. | |
20380 | ||
4b9ed9aa UB |
20381 | 2010-01-07 Uros Bizjak <ubizjak@gmail.com> |
20382 | ||
20383 | PR target/42511 | |
20384 | * ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when | |
20385 | note itself is not function_invariant_p. | |
20386 | ||
f50f5566 SB |
20387 | 2009-01-07 Steven Bosscher <steven@gcc.gnu.org> |
20388 | ||
20389 | * gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist): | |
20390 | Do not add the DF_NOTE problem. | |
20391 | * store-motion.c (execute_rtl_store_motion): Likewise. | |
20392 | ||
d05fe940 MJ |
20393 | 2010-01-07 Martin Jambor <mjambor@suse.cz> |
20394 | ||
20395 | PR tree-optimization/42157 | |
20396 | * tree-sra.c (compare_access_positions): Stabilize sort if both | |
20397 | accesses have integer types, return zero immediately if they are the | |
20398 | same. | |
20399 | ||
e67271bd RH |
20400 | 2010-01-06 Richard Henderson <rth@redhat.com> |
20401 | ||
20402 | PR middle-end/41883 | |
20403 | * haifa-sched.c (add_to_note_list): Merge into ... | |
20404 | (concat_note_lists): ... here, and ... | |
20405 | (unlink_other_notes, rm_other_notes): Merge into... | |
20406 | (remove_notes): ... here. Create REG_SAVE_NOTEs for | |
a0463099 | 20407 | NOTE_INSN_EPILOGUE_BEG. |
e67271bd | 20408 | |
6209a13e RG |
20409 | 2010-01-06 Richard Guenther <rguenther@suse.de> |
20410 | ||
20411 | * ipa-inline.c (cgraph_decide_inlining_incrementally): Do | |
20412 | not inline regular functions into always-inline functions. | |
20413 | ||
5f75e477 NC |
20414 | 2010-01-06 Nick Clifton <nickc@redhat.com> |
20415 | ||
20416 | * config/rx/rx.h (enum rx_cpu_type): Add RX200. | |
20417 | (CC1_SPEC): Issue an error message if -mcpu=rx200 and -fpu are | |
20418 | used together. | |
20419 | (OVERRIDE_OPTIONS): Delete. | |
20420 | (OPTIMIZATION_OPTIONS): Define. | |
20421 | (ALLOW_RX_FPU_INSNS): Define only in terms of -fpu option. | |
20422 | * config/rx/rx.c (rx_handle_option): Issue an error message if | |
20423 | -mcpu=rx200 and -fpu are used together. | |
20424 | (rx_set_optimization_options): New function. Issue an error | |
20425 | message if an optimization attribute attempts to reset the FPU/ | |
20426 | math optimization pairing. | |
20427 | * config/rx/rx-protos.h (rx_set_optimization_options): Prototype. | |
20428 | * config/rx/rx.opt: Set the default to 32-bit doubles. | |
20429 | * config/rx/t-rx: Add multilibs for -nofpu option. | |
20430 | * doc/invoke.texi: Update documentation of RX options. | |
20431 | ||
13de9095 RG |
20432 | 2010-01-06 Richard Guenther <rguenther@suse.de> |
20433 | ||
20434 | * tree-ssa-pre.c (name_to_id): New global. | |
20435 | (alloc_expression_id): Simplify SSA name handling. | |
20436 | (lookup_expression_id): Likewise. | |
20437 | (init_pre): Zero name_to_id. | |
20438 | (fini_pre): Free it. | |
20439 | ||
786c3fbc UB |
20440 | 2010-01-06 Uros Bizjak <ubizjak@gmail.com> |
20441 | ||
20442 | * ifcvt.c (if_convert): Output slim multiple dumps with TDF_SLIM. | |
20443 | ||
fa1a4144 L |
20444 | 2010-01-05 H.J. Lu <hongjiu.lu@intel.com> |
20445 | ||
20446 | PR target/42542 | |
20447 | * config/i386/sse.md (smaxv2di3): New. | |
20448 | (umaxv2di3): Likewise. | |
20449 | (sminv2di3): Likewise. | |
20450 | (uminv2di3): Likewise. | |
20451 | ||
208384fd EB |
20452 | 2010-01-05 Eric Botcazou <ebotcazou@adacore.com> |
20453 | ||
20454 | PR target/42564 | |
20455 | * config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete. | |
20456 | * config/sparc/sparc-protos.h (legitimize_pic_address): Likewise. | |
20457 | (legitimize_tls_address): Likewise. | |
20458 | (sparc_tls_referenced_p): Likewise. | |
20459 | * config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address | |
20460 | and adjust calls to legitimize_pic_address. | |
20461 | (legitimate_constant_p) Use sparc_tls_referenced_p. | |
20462 | (legitimate_pic_operand_p): Likewise. | |
20463 | (sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P. | |
20464 | (sparc_tls_symbol_ref_1): Delete. | |
20465 | (sparc_tls_referenced_p): Make static, recognize specific patterns. | |
20466 | (legitimize_tls_address): Make static, handle CONST patterns. | |
20467 | (legitimize_pic_address): Make static, remove unused parameter and | |
20468 | adjust recursive calls. | |
20469 | (sparc_legitimize_address): Make static, use sparc_tls_referenced_p | |
20470 | and adjust call to legitimize_pic_address. | |
20471 | (sparc_output_mi_thunk): Likewise. | |
20472 | ||
4b9ed9aa | 20473 | 2010-01-05 Paolo Bonzini <bonzini@gnu.rg> |
43d4b97d L |
20474 | H.J. Lu <hongjiu.lu@intel.com> |
20475 | ||
20476 | PR target/42542 | |
20477 | * config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT | |
20478 | for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both | |
20479 | operands to make them signed. | |
20480 | ||
931c6b3e UB |
20481 | Revert: |
20482 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> | |
20483 | ||
20484 | PR target/42542 | |
20485 | * config/i386/i386.c (ix86_expand_int_vcond): Don't convert | |
20486 | GTU to GT for V4SI and V2DI. | |
20487 | ||
20488 | * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP. | |
20489 | (umin<mode>3): Removed. | |
20490 | (uminv8hi3): New. | |
43d4b97d L |
20491 | (uminv4si3): Likewise. |
20492 | ||
9bf4cdf5 MJ |
20493 | 2010-01-05 Martin Jambor <mjambor@suse.cz> |
20494 | ||
20495 | PR tree-optimization/42462 | |
20496 | * ipa-inline.c (compute_inline_parameters): Pass node->decl instead of | |
20497 | current_function_decl to helper functions and macros. | |
20498 | ||
6a4d4e8a RO |
20499 | 2010-01-05 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE> |
20500 | ||
20501 | PR bootstrap/41771 | |
20502 | * flags.h: Don't include real.h. | |
20503 | (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, HONOR_SIGNED_ZEROS, | |
20504 | HONOR_SIGN_DEPENDENT_ROUNDING): Move ... | |
20505 | * real.h (HONOR_NANS, HONOR_SNANS, HONOR_INFINITIES, | |
20506 | HONOR_SIGNED_ZEROS, HONOR_SIGN_DEPENDENT_ROUNDING): ... here. | |
20507 | * dominance.c: Update copyright. | |
20508 | * gimple.c (walk_gimple_op): Remove inline. | |
20509 | * tree-ssa-reassoc.c: Include real.h. | |
20510 | * Makefile.in (FLAGS_H): Remove $(REAL_H). | |
20511 | (tree-ssa-reassoc.o): Depend on $(REAL_H). | |
20512 | ||
105249d1 NC |
20513 | 2010-01-05 Nick Clifton <nickc@redhat.com> |
20514 | ||
20515 | * config/rx/rx.c (rx_get_stack_layout): Fix allocation of second | |
20516 | register to push into the stack frame when the accumulator has to | |
20517 | be saved during interrupts. | |
20518 | ||
bc3c12a2 EF |
20519 | 2010-01-05 Eric Fisher <joefoxreal@gmail.com> |
20520 | ||
20521 | * doc/invoke.texi: Remove the documentation about option | |
20522 | -Wunreachable-code. | |
20523 | * common.opt (Wunreachable-code): Preserved for backward | |
20524 | compatibility. | |
20525 | * tree-cfg.c: Remove the implementation of -Wunreachable-code. | |
20526 | * opts.c (common_handle_option): Add OPT_Wunreachable_code to | |
20527 | the backward compatibility flag section. | |
20528 | ||
1befacc8 RG |
20529 | 2010-01-05 Richard Guenther <rguenther@suse.de> |
20530 | ||
20531 | * tree-ssa-pre.c (bitmap_value_insert_into_set): Optimize. | |
20532 | ||
566f27e4 JJ |
20533 | 2010-01-05 Jakub Jelinek <jakub@redhat.com> |
20534 | ||
7604eb4e JJ |
20535 | PR other/42611 |
20536 | * cfgexpand.c (expand_one_var): Diagnose too large variables. | |
20537 | ||
566f27e4 JJ |
20538 | PR tree-optimization/42508 |
20539 | * tree-sra.c (convert_callers): Check for recursive call | |
20540 | by comparing cgraph nodes instead of decls. | |
20541 | (modify_function): Call ipa_modify_formal_parameters also | |
20542 | on all same_body aliases. | |
20543 | ||
20544 | * cgraphunit.c (cgraph_materialize_all_clones): Compare | |
20545 | cgraph nodes when checking for same_body aliases. | |
20546 | ||
5f5126d6 RG |
20547 | 2010-01-05 Richard Guenther <rguenther@suse.de> |
20548 | ||
20549 | * tree-ssa-pre.c (get_or_alloc_expr_for_name): Avoid redundant | |
20550 | allocation and lookup. | |
20551 | (get_or_alloc_expr_for_constant): Likewise. | |
20552 | (phi_translate): Sink allocation. | |
20553 | ||
a7d04a53 RG |
20554 | 2010-01-04 Richard Guenther <rguenther@suse.de> |
20555 | ||
20556 | * tree-ssa-sccvn.c (get_or_alloc_constant_value_id): Allocate | |
20557 | a new entry only if needed. | |
20558 | * tree-ssa-dom.c (lookup_avail_expr): Likewise. | |
20559 | * tree-ssa-coalesce.c (find_coalesce_pair): Avoid one | |
20560 | hashtable lookup. | |
20561 | * tree-ssa-pre.c (sorted_array_from_bitmap_set): Pre-allocate | |
20562 | the result array. | |
20563 | (phi_translate): Handle CONSTANTs early. | |
20564 | ||
caee6ca1 MJ |
20565 | 2010-01-04 Martin Jambor <mjambor@suse.cz> |
20566 | ||
20567 | PR tree-optimization/42398 | |
20568 | * tree-sra.c (struct access): Removed flag grp_different_types. | |
20569 | (dump_access): Do not dump the removed flag. | |
20570 | (sort_and_splice_var_accesses): Do not set the removed flag. | |
20571 | (sra_modify_expr): Check for type compatibility directly. | |
20572 | ||
438789ff MJ |
20573 | 2010-01-04 Martin Jambor <mjambor@suse.cz> |
20574 | ||
20575 | PR tree-optimization/42366 | |
20576 | * ipa-cp.c (ipcp_init_stage): Always call ipa_compute_jump_functions on | |
20577 | edges with variable number of parameters. | |
20578 | * ipa-prop.c (ipa_write_node_info): Stream out uses_analysis_done | |
20579 | flag instead of asserting it. | |
20580 | (ipa_read_node_info): Read uses_analysis_done flag. | |
20581 | ||
9708c51d RG |
20582 | 2010-01-04 Richard Guenther <rguenther@suse.de> |
20583 | ||
20584 | * tree-ssa-sccvn.c (vn_reference_op_compute_hash): Use | |
20585 | iterative_hash_* as intended. | |
20586 | (vn_reference_compute_hash): Likewise. Simplify hashing | |
20587 | SSA names. | |
20588 | (vn_reference_lookup_2): Likewise. | |
20589 | (vn_nary_op_compute_hash): Likewise. | |
20590 | (vn_phi_compute_hash): Likewise. | |
20591 | (expressions_equal_p): Remove strange code. | |
20592 | * tree-ssa-pre.c (pre_expr_eq): Use gcc_unreachable (). | |
20593 | (pre_expr_hash): Likewise. Simplify hashing SSA names. | |
20594 | (bitmap_insert_into_set_1): Take value-id as parameter. | |
20595 | (add_to_value): Pass it. | |
20596 | (bitmap_insert_into_set): Likewise. | |
20597 | (bitmap_value_insert_into_set): Likewise. Remove redundant check. | |
20598 | ||
94b90527 JJ |
20599 | 2010-01-04 Jakub Jelinek <jakub@redhat.com> |
20600 | ||
20601 | PR driver/42442 | |
20602 | * gcc.c (SWITCH_IGNORE_PERMANENTLY): Define. | |
20603 | (do_self_spec): For switches with SWITCH_IGNORE set set also | |
20604 | SWITCH_IGNORE_PERMANENTLY. | |
20605 | (check_live_switch): Check SWITCH_IGNORE_PERMANENTLY instead | |
20606 | of SWITCH_IGNORE. | |
20607 | ||
785ca514 RAE |
20608 | 2010-01-04 Rafael Avila de Espindola <espindola@google.com> |
20609 | ||
20610 | * lto-streamer-out.c (output_unreferenced_globals): Output the full | |
20611 | tree of an unreferenced global var. | |
20612 | ||
22554cf9 L |
20613 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> |
20614 | ||
20615 | PR target/42542 | |
20616 | * config/i386/i386.c (ix86_expand_int_vcond): Don't convert | |
20617 | GTU to GT for V4SI and V2DI. | |
20618 | ||
20619 | * config/i386/sse.md (umaxv4si3): Enabled for SSE4.1 and XOP. | |
20620 | (umin<mode>3): Removed. | |
20621 | (uminv8hi3): New. | |
20622 | (uminv4si3): Likewise. | |
20623 | ||
7152f51e L |
20624 | 2010-01-04 H.J. Lu <hongjiu.lu@intel.com> |
20625 | ||
20626 | PR lto/42581 | |
20627 | * collect2.c (main): Turn on trace in collect2 if -v is passed | |
20628 | to gcc with LTO. | |
20629 | ||
f4262155 JQ |
20630 | 2010-01-03 Jerry Quinn <jlquinn@optonline.net> |
20631 | ||
20632 | * doc/c-tree.texi (RETURN_STMT): Change to RETURN_EXPR. Update | |
20633 | description of expression operand. | |
20634 | ||
55bcd32b AJ |
20635 | 2010-01-03 Andrew Jenner <andrew@codesourcery.com> |
20636 | ||
20637 | * configure.ac: Add install-html to target_list for Make-hooks. | |
20638 | * configure: Regenerate. | |
20639 | * fortran/Make-lang.in (F95_HTMLFILES): New. | |
20640 | (fortran.html): Use it. | |
20641 | (fortran.install-html): New. | |
20642 | * Makefile.in (install-html): Add lang.install-html. | |
20643 | * java/Make-lang.in (JAVA_HTMLFILES): New. | |
20644 | (java.html): Use it. | |
20645 | (java.install-html): New. | |
20646 | * objc/Make-lang.in (objc.install-html): New. | |
20647 | * objcp/Make-lang.in (obj-c++.install-html): New. | |
20648 | * cp/Make-lang.in (c++.install-html): New. | |
20649 | * ada/gcc-interface/Make-lang.in (ada.install-html): New. | |
20650 | * lto/Make-lang.in (lto.install-html): New. | |
20651 | ||
f0d61983 L |
20652 | 2010-01-03 H.J. Lu <hongjiu.lu@intel.com> |
20653 | ||
20654 | PR lto/42520 | |
20655 | * gcc.c (LINK_COMMAND_SPEC): Pass -m* and -v to -plugin-opt. | |
20656 | ||
2ad1dda0 SB |
20657 | 2009-01-03 Steven Bosscher <steven@gcc.gnu.org> |
20658 | ||
20659 | PR rtl-optimization/41862 | |
20660 | * store-motion.c (store_killed_in_insn, compute_store_table, | |
20661 | remove_reachable_equiv_notes, replace_store_insn, | |
20662 | build_store_vectors): Ignore all DEBUG_INSNs. | |
20663 | ||
d7fb0a6d L |
20664 | 2010-01-03 H.J. Lu <hongjiu.lu@intel.com> |
20665 | ||
20666 | PR lto/41564 | |
20667 | * common.opt: Add dumpdir. | |
20668 | ||
20669 | * gcc.c (cc1_options): Add "-dumpbase %B" only if -dumpbase | |
20670 | isn't specified. | |
20671 | (option_map): Add --dumpdir. | |
20672 | ||
20673 | * gcc.h (DEFAULT_WORD_SWITCH_TAKES_ARG): Add dumpdir. | |
20674 | ||
20675 | * lto-wrapper.c (run_gcc): Add -dumpbase and -dumpdir for -o. | |
20676 | ||
20677 | * opts.c (decode_options): Try dump_dir_name first if | |
20678 | dump_base_name isn't an absolute path. | |
20679 | (common_handle_option): Handle OPT_dumpdir. | |
20680 | ||
20681 | * toplev.c (dump_dir_name): New. | |
20682 | (print_switch_values): Also ignore -dumpdir. | |
20683 | ||
20684 | * toplev.h (dump_dir_name): New. | |
20685 | ||
ba1ee228 RG |
20686 | 2010-01-03 Richard Guenther <rguenther@suse.de> |
20687 | ||
20688 | PR tree-optimization/42589 | |
20689 | * tree-ssa-math-opts.c (execute_optimize_bswap): Allow | |
20690 | double-word expansion of bswap32. | |
20691 | ||
b0de17ef SB |
20692 | 2010-01-03 Steven Bosscher <steven@gcc.gnu.org> |
20693 | ||
20694 | * postreload-gcse.c (insert_expr_in_table): Replace BLOCK_NUM | |
20695 | with BLOCK_FOR_INSN. | |
20696 | * auto-inc-dec.c (attempt_change, get_next_ref, find_inc): Likewise. | |
20697 | * ifcvt.c (noce_get_alt_condition, noce_try_abs, | |
20698 | noce_process_if_block): Likewise. | |
20699 | * gcse.c (compute_local_properties, insert_expr_in_table, | |
20700 | insert_set_in_table, canon_list_insert, find_avail_set, | |
20701 | pre_insert_copy_insn): Likewise. | |
20702 | ||
20703 | * basic-block.h (BLOCK_NUM): Move from here... | |
20704 | * sched-int.h (BLOCK_NUM): ... to here to localize it in the scheduler. | |
20705 | ||
a19eb9d2 RG |
20706 | 2010-01-03 Richard Guenther <rguenther@suse.de> |
20707 | ||
20708 | PR tree-optimization/42438 | |
20709 | * tree-ssa-pre.c (struct bb_bitmap_sets): Add | |
20710 | contains_may_not_return_call flag. | |
20711 | (BB_MAY_NOTRETURN): New. | |
20712 | (valid_in_sets): Trapping nary operations are not valid | |
20713 | in blocks that may not return. | |
b5e33e04 | 20714 | (insert_into_preds_of_block): Remove check for trapping expressions. |
a19eb9d2 RG |
20715 | (compute_avail): Compute also BB_MAY_NOTRETURN. |
20716 | ||
c41b7b13 GP |
20717 | 2010-01-03 Gerald Pfeifer <gerald@pfeifer.com> |
20718 | ||
20719 | * doc/invoke.texi: Add 2010 to copyright years. | |
20720 | ||
4900aa61 EB |
20721 | 2010-01-03 Eric Botcazou <ebotcazou@adacore.com> |
20722 | ||
20723 | * config/sparc/sparc.c: Fix formatting nits. | |
20724 | ||
711a778c | 20725 | 2010-01-02 Gerald Pfeifer <gerald@pfeifer.com> |
77102854 | 20726 | Alexander Monakov <amonakov@ispras.ru> |
711a778c GP |
20727 | |
20728 | * doc/invoke.texi (Optimize Options): Reword introduction a bit. | |
20729 | ||
1d86f5e9 RG |
20730 | 2010-01-02 Richard Guenther <rguenther@suse.de> |
20731 | ||
20732 | PR middle-end/42577 | |
20733 | * tree-vrp.c (check_all_array_refs): Skip non-excutable blocks. | |
20734 | (simplify_switch_using_ranges): Mark to be removed edges | |
20735 | as non-executable. | |
20736 | ||
91e1a80a JDA |
20737 | 2010-01-02 John David Anglin <dave.anglin@nrc-cnrc.gc.ca> |
20738 | ||
b86799ba JDA |
20739 | * config/pa/t-slibgcc-dwarf-ver (SHLIB_SOVERSION): Bump by two. |
20740 | ||
91e1a80a JDA |
20741 | * collect2.c (scan_libraries): Add missing argument in call to |
20742 | scan_prog_file. | |
20743 | ||
20744 | 2010-01-02 Uros Bizjak <ubizjak@gmail.com> | |
20745 | ||
20746 | PR target/42448 | |
20747 | * config/alpha/predicates.md (aligned_memory_operand): Return false | |
20748 | for CQImode. | |
20749 | (unaligned_memory_operand): Return true for CQImode. | |
20750 | * config/alpha/alpha.c (get_aligned_mem): Assert that location | |
20751 | doesn not cross aligned SImode word boundary. | |
20752 | ||
20753 | 2010-01-02 Anatoly Sokolov <aesok@post.ru> | |
20754 | ||
20755 | * config/avr/avr.h (REG_OK_FOR_BASE_P, REG_OK_FOR_INDEX_P, XEXP_): | |
20756 | Remove. | |
20757 | * config/avr/avr-protos.h (avr_init_once, avr_optimization_options, | |
20758 | avr_change_section, avr_reg_class_from_letter) : Remove declaration. | |
20759 | ||
20760 | 2010-01-02 Richard Guenther <rguenther@suse.de> | |
20761 | ||
20762 | PR lto/41597 | |
20763 | * toplev.c (compile_file): Emit LTO marker properly. Change | |
20764 | it to __gnu_lto_v1. | |
20765 | * collect2.c (scan_prog_file): Adjust for changed LTO marker. | |
5a013dc4 | 20766 | |
aecd4d81 RG |
20767 | 2010-01-01 Richard Guenther <rguenther@suse.de> |
20768 | ||
20769 | PR debug/42455 | |
02143d0b | 20770 | * tree-sra.c (analyze_all_variable_accesses): Work in DECL_UID order. |
aecd4d81 | 20771 | |
e4a95933 RG |
20772 | 2010-01-01 Richard Guenther <rguenther@suse.de> |
20773 | ||
20774 | PR c/42570 | |
20775 | * c-decl.c (grokdeclarator): For zero-size arrays force | |
20776 | structural equality checks as layout_type does. | |
20777 | ||
0bdf1263 L |
20778 | 2010-01-01 H.J. Lu <hongjiu.lu@intel.com> |
20779 | ||
20780 | * builtins.c: Update copyright to 2010. | |
20781 | ||
91539475 | 20782 | 2010-01-01 H.J. Lu <hongjiu.lu@intel.com> |
8589115b DK |
20783 | |
20784 | PR lto/42531 | |
91539475 | 20785 | * lto-streamer-out.c (produce_asm): Revert the last change. |
8589115b DK |
20786 | (copy_function): Likewise. |
20787 | ||
91539475 L |
20788 | * lto-streamer.c (lto_get_section_name): Skip any leading |
20789 | asterisk in name. | |
20cdc2be | 20790 | |
91539475 | 20791 | 2010-01-01 Richard Guenther <rguenther@suse.de> |
cf9eb565 | 20792 | |
91539475 L |
20793 | PR middle-end/42559 |
20794 | * builtins.c (get_object_alignment): Do not use DECL_ALIGN | |
20795 | for LABEL_DECLs. | |
ad41bd84 JM |
20796 | |
20797 | \f | |
91539475 | 20798 | Copyright (C) 2010 Free Software Foundation, Inc. |
ad41bd84 JM |
20799 | |
20800 | Copying and distribution of this file, with or without modification, | |
20801 | are permitted in any medium without royalty provided the copyright | |
20802 | notice and this notice are preserved. |