1 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com>
3 * doc/invoke.texi (Warning Options): Add missing hyphen.
4 (-fprofile-dir): Minor grammatical fixes.
5 (-fbranch-probabilities): Likewise.
7 2011-01-25 Alexandre Oliva <aoliva@redhat.com>
11 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
13 (no_real_insns_p, schedule_block, set_priorities): Drop special
14 treatment of boundary debug insns.
15 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
17 * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
18 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
19 (BOUNDARY_DEBUG_INSN_P): Likewise.
20 (SCHEDULE_DEBUG_INSN_P): Likewise.
21 * sched-rgn.c (init_ready_list): Drop special treatment of
23 * final.c (rest_of_clean-state): Clear notes' BB.
25 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
27 * Makefile.in (LAMBDA_H): Removed.
28 (TREE_DATA_REF_H): Remove dependence on LAMBDA_H.
29 (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o,
30 lambda-trans.o, and tree-loop-linear.o.
31 (lto-symtab.o): Remove dependence on LAMBDA_H.
32 (tree-loop-linear.o): Remove rule.
34 (lambda-trans.o): Same.
35 (lambda-code.o): Same.
36 (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H.
37 (tree-vect-slp.o): Same.
38 * hwint.h (gcd): Moved here.
39 (least_common_multiple): Same.
40 * lambda-code.c: Removed.
41 * lambda-mat.c: Removed.
42 * lambda-trans.c: Removed.
44 * tree-loop-linear.c: Removed.
45 * lto-symtab.c: Do not include lambda.h.
46 * omega.c (gcd): Removed.
47 * passes.c (init_optimization_passes): Remove pass_linear_transform.
48 * tree-data-ref.c (print_lambda_vector): Moved here.
49 (lambda_vector_copy): Same.
50 (lambda_matrix_copy): Same.
51 (lambda_matrix_id): Same.
52 (lambda_vector_first_nz): Same.
53 (lambda_matrix_row_add): Same.
54 (lambda_matrix_row_exchange): Same.
55 (lambda_vector_mult_const): Same.
56 (lambda_vector_negate): Same.
57 (lambda_matrix_row_negate): Same.
58 (lambda_vector_equal): Same.
59 (lambda_matrix_right_hermite): Same.
60 * tree-data-ref.h: Do not include lambda.h.
61 (lambda_vector): Moved here.
62 (lambda_matrix): Same.
63 (dependence_level): Same.
64 (lambda_transform_legal_p): Removed declaration.
65 (lambda_collect_parameters): Same.
66 (lambda_compute_access_matrices): Same.
67 (lambda_vector_gcd): Same.
68 (lambda_vector_new): Same.
69 (lambda_vector_clear): Same.
70 (lambda_vector_lexico_pos): Same.
71 (lambda_vector_zerop): Same.
72 (lambda_matrix_new): Same.
73 * tree-flow.h (least_common_multiple): Removed declaration.
74 * tree-parloops.c (lambda_trans_matrix): Moved here.
78 (LTM_DENOMINATOR): Same.
79 (lambda_trans_matrix_new): Same.
80 (lambda_matrix_vector_mult): Same.
81 (lambda_transform_legal_p): Same.
82 * tree-pass.h (pass_linear_transform): Removed declaration.
83 * tree-ssa-loop.c (tree_linear_transform): Removed.
84 (gate_tree_linear_transform): Removed.
85 (pass_linear_transform): Removed.
86 (gate_graphite_transforms): Make flag_tree_loop_linear an alias of
87 flag_loop_interchange.
89 2011-01-25 Jakub Jelinek <jakub@redhat.com>
91 PR tree-optimization/47265
92 PR tree-optimization/47443
93 * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
94 if name still has some uses.
96 2011-01-25 Martin Jambor <mjambor@suse.cz>
98 PR tree-optimization/47382
99 * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed.
100 (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call.
102 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com>
104 * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to
105 sjlj_except_unwind_info.
107 2011-01-25 Richard Guenther <rguenther@suse.de>
109 PR tree-optimization/47426
110 * tree-ssa-structalias.c (ipa_pta_execute): Make externally
111 visible functions results escape.
113 2011-01-25 Jakub Jelinek <jakub@redhat.com>
116 * config/arm/arm.c (any_sibcall_uses_r3): New function.
117 (arm_get_frame_offsets): Use it.
119 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
120 Jakub Jelinek <jakub@redhat.com>
122 PR tree-optimization/47271
123 * tree-if-conv.c (bb_postdominates_preds): New.
124 (if_convertible_bb_p): Call bb_postdominates_preds.
125 (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS.
126 (predicate_scalar_phi): Call bb_postdominates_preds.
128 2011-01-25 Nick Clifton <nickc@redhat.com>
130 * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types.
131 * config/rx/rx.c (rx_function_value): Likewise.
132 (rx_promote_function_mode): Likewise.
133 (gen_safe_add): Place an outsized immediate value inside an UNSPEC
134 in order to make it legitimate.
135 * config/rx/rx.md (adddi3_internal): If the second operand is a
136 MEM make sure that the first operand is the same as the result
138 (addsi3_unspec): Delete.
139 (subdi3): Do not accept immediate operands.
140 (subdi3_internal): Likewise.
142 2011-01-25 Jeff Law <law@redhat.com>
144 PR rtl-optimization/37273
145 * ira-costs.c (scan_one_insn): Detect constants living in memory and
146 handle them like argument loads from stack slots. Do not double
147 count memory for memory constants and argument loads from stack slots.
149 2011-01-25 Jakub Jelinek <jakub@redhat.com>
151 PR tree-optimization/47427
152 PR tree-optimization/47428
153 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
154 coalesce if the new root var would be TREE_READONLY.
156 2011-01-25 Richard Guenther <rguenther@suse.de>
159 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the
160 correct type for TBAA.
162 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
164 * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New.
165 (close_phi_written_to_memory): Call for_each_index with
166 dr_indices_valid_in_loop.
168 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
170 * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN
171 when it is initialized.
173 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
175 * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update
176 call to graphite_find_data_references_in_stmt.
177 * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New.
178 (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update
179 call to graphite_find_data_references_in_stmt.
180 (analyze_drs_in_stmts): Same.
181 * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop
182 in which the scalar analysis of indices is performed.
183 (create_data_ref): Same. Update call to dr_analyze_indices.
184 (find_data_references_in_stmt): Update call to create_data_ref.
185 (graphite_find_data_references_in_stmt): Same.
186 * tree-data-ref.h (graphite_find_data_references_in_stmt): Update
188 (create_data_ref): Same.
189 * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update
190 call to create_data_ref.
192 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
194 * graphite-sese-to-poly.c (build_poly_scop): Move
195 rewrite_commutative_reductions_out_of_ssa before
196 find_scop_parameters.
198 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
200 * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow
201 VAR_DECL, PARM_DECL, and RESULT_DECL.
203 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
205 * graphite-dependences.c (reduction_dr_1): Allow several reductions
207 * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs
208 that have already been marked as PBB_IS_REDUCTION.
210 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
212 * graphite-scop-detection.c (same_close_phi_node): New.
213 (remove_duplicate_close_phi): New.
214 (make_close_phi_nodes_unique): New.
215 (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique.
217 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
219 * graphite-dependences.c (new_poly_ddr): Call same_pdr_p.
220 * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE
221 of both data references to be the same.
223 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
225 * graphite-dependences.c (build_lexicographical_constraint): Remove the
227 (build_lexicographical_constraint): Adjust call to ppl_powerset_is_empty.
228 (dependence_polyhedron): Same.
229 (graphite_legal_transform_dr): Same.
230 (graphite_carried_dependence_level_k): Same.
231 * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params parameter.
232 * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration.
234 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
236 * graphite-sese-to-poly.c
237 (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr.
238 (close_phi_written_to_memory): New.
239 (translate_scalar_reduction_to_array): Call close_phi_written_to_memory
242 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
244 * doc/install.texi: Update the expected version number of PPL to 0.11.
245 * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under
246 #if PPL_VERSION_MINOR < 11.
248 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
250 * graphite-dependences.c: Include graphite-cloog-util.h.
251 (new_poly_ddr): Inlined into dependence_polyhedron.
252 (free_poly_ddr): Moved close by new_poly_ddr.
253 (dependence_polyhedron_1): Renamed dependence_polyhedron.
254 Early return NULL when ppl_powerset_is_empty returns true.
255 (dependence_polyhedron): Renamed new_poly_ddr. Call only once
256 poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty.
257 (graphite_legal_transform_dr): Call new_poly_ddr.
258 (graphite_carried_dependence_level_k): Same.
259 (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr.
260 (dot_transformed_deps_stmt_1): Removed.
261 (dot_deps_stmt_1): Call dot_deps_stmt_2.
262 (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr.
263 (dot_deps_1): Call dot_deps_2.
264 * Makefile.in (graphite-dependences.o): Add missing dependence on
265 graphite-cloog-util.h.
267 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
269 * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty.
270 (build_lexicographical_constraint): Same.
271 (dependence_polyhedron_1): Same.
272 (graphite_legal_transform_dr): Same.
273 (graphite_carried_dependence_level_k): Same.
274 * graphite-ppl.c (ppl_powerset_is_empty): New.
275 * graphite-ppl.h (ppl_powerset_is_empty): Declared.
276 * tree-data-ref.c (dump_data_reference): Print the basic block index.
278 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
280 * graphite-dependences.c (build_pairwise_scheduling): Correctly compute
281 the "a followed by b" relation and document it.
283 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
285 * graphite-dependences.c (build_lexicographical_constraint): Stop the
286 iteration when the bag of constraints is empty.
288 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
290 * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work.
292 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
294 * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop
295 nest and two loop depths as parameters.
296 (lst_try_interchange_loops): Call lst_interchange_profitable_p after
299 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
301 * graphite-dependences.c (print_pddr): Call
302 ppl_io_fprint_Pointset_Powerset_C_Polyhedron.
304 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
306 * graphite-ppl.c (debug_gmp_value): New.
307 * graphite-ppl.h (debug_gmp_value): Declared.
309 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de>
311 * doc/install.texi: Document availability of cloog-0.16.
313 2011-01-25 Vladimir Kargov <kargov@gmail.com>
315 * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free
316 invalid postdominance info.
318 2011-01-24 Jan Hubicka <jh@suse.cz>
321 * doc/extend.texi (weak pragma): Drop claim that it must
322 appear before definition.
323 * varasm.c (merge_weak, declare_weak): Only sanity check
324 that DECL is not output at a time it is declared weak.
326 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com>
328 * machmode.def: Fixed comments.
330 2011-01-24 Kai Tietz <kai.tietz@onevision.com>
332 * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
334 2011-01-24 Paul Koning <ni1d@arrl.net>
336 * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
339 2011-01-24 H.J. Lu <hongjiu.lu@intel.com>
342 * config/i386/i386.c: Include sbitmap.h and fibheap.h.
343 (block_info): Add scanned and prev.
344 (move_or_delete_vzeroupper_2): Return if the basic block
345 has been scanned and the upper 128bit state is unchanged
347 (move_or_delete_vzeroupper_1): Return true if the exit
349 (move_or_delete_vzeroupper): Visit basic blocks using the
350 work-list based algorithm based on vt_find_locations in
353 * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H).
355 2011-01-24 Nick Clifton <nickc@redhat.com>
357 * config/v850/v850.opt (mv850es): New option - alias for -mv850e1.
358 * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass
359 -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified
360 then define __v850e1__.
361 * doc/invoke.texi: Document -mv850es.
363 2011-01-24 Richard Henderson <rth@redhat.com>
365 * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept
366 compound unordered comparisons.
367 * config/rx/rx.c (rx_split_fp_compare): Remove.
368 * config/rx/rx-protos.h: Update.
369 * config/rx/rx.md (gcc_conds, rx_conds): Remove.
370 (cbranchsf4): Don't call rx_split_fp_compare.
371 (*cbranchsf4): Use rx_split_cbranch.
372 (*cmpsf): Don't accept "i" constraint.
373 (*conditional_branch): Only valid after reload.
374 (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare.
376 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com>
379 * config/rs6000/altivec.md (vector constant splitters): Add
380 support for creating vector single precision constants if -mvsx is
381 used and we would create the constant using Altivec primitives.
383 2011-01-23 Bernd Schmidt <bernds@codesourcery.com>
384 Richard Sandiford <rdsandiford@googlemail.com>
386 PR rtl-optimization/47166
387 * reload1.c (emit_reload_insns): Disable the spill_reg_store
388 mechanism for PRE_MODIFY and POST_MODIFY.
389 (inc_for_reload): For PRE_MODIFY, return the insn that sets the
392 2011-01-23 Andreas Schwab <schwab@linux-m68k.org>
394 * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers.
396 2011-01-22 Jan Hubicka <jh@suse.cz>
399 * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto.
401 2011-01-22 Jan Hubicka <jh@suse.cz>
403 PR tree-optimization/43884
405 * predict.c (maybe_hot_frequency_p): Use entry block frequency as base.
406 * doc/invoke.texi (hot-bb-frequency-fraction): Update docs.
408 2011-01-22 Anatoly Sokolov <aesok@post.ru>
410 * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
411 * config/s390/s390.c (s390_register_move_cost,
412 s390_memory_move_cost): New.
413 (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.
415 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
418 * except.c (sjlj_assign_call_site_values): Move setting the
419 crtl->uses_eh_lsda flag to ...
420 (sjlj_mark_call_sites): ... here.
421 (sjlj_emit_function_enter): Support NULL dispatch label.
422 (sjlj_build_landing_pads): In a function with no landing pads
423 that still has must-not-throw regions, generate code to register
424 a personality function with empty LSDA.
426 2011-01-21 Richard Henderson <rth@redhat.com>
428 * config/rx/rx.c (TARGET_FLAGS_REGNUM): New.
430 * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
432 * compare-elim.c: New file.
433 * Makefile.in (OBJS-common): Add it.
434 (compare-elim.o): New.
435 * common.opt (fcompare-elim): New.
436 * opts.c (default_options_table): Add OPT_fcompare_elim.
437 * tree-pass.h (pass_compare_elim_after_reload): New.
438 * passes.c (init_optimization_passes): Add it.
439 * recog.h: Protect against re-inclusion.
440 * target.def (TARGET_FLAGS_REGNUM): New POD hook.
441 * doc/invoke.texi (-fcompare-elim): Document it.
442 * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it.
443 * doc/tm.texi: Rebuild.
445 2011-01-22 Nick Clifton <nickc@redhat.com>
447 * config/rx/rx.md (cstoresf4): Pass comparison operator to
450 2011-01-22 Nick Clifton <nickc@redhat.com>
452 * config/rx/rx.md (UNSPEC_CONST): New.
453 (deallocate_and_return): Wrap the amount popped off the stack in
454 an UNSPEC_CONST in order to stop it being rejected by
456 (pop_and_return): Add a "(return)" rtx.
457 (call): Drop the immediate operand.
458 (call_internal): Likewise.
459 (call_value): Likewise.
460 (call_value_internal): Likewise.
461 (sibcall_internal): Likewise.
462 (sibcall_value_internal): Likewise.
463 (sibcall): Likewise. Generate an explicit call using
465 (sibcall_value): Likewise.
466 (mov<>): FAIL if a constant operand is not legitimate.
467 (addsi3_unpsec): New pattern.
469 * config/rx/rx.c (rx_print_operand_address): Handle UNPSEC
471 (ok_for_max_constant): New function.
472 (gen_safe_add): New function.
473 (rx_expand_prologue): Use gen_safe_add.
474 (rx_expand_epilogue): Likewise.
475 (rx_is_legitimate_constant): Use ok_for_max_constant. Handle
478 2011-01-21 Jeff Law <law@redhat.com>
480 PR tree-optimization/47053
481 * tree-ssa-dse.c (need_eh_cleanup): New bitmap.
482 (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when
483 statements are deleted.
484 (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP
485 is nonempty, then purge dead edges and cleanup the CFG.
487 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
491 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
493 * tree-dfa.c (create_var_ann): Mark variable as used.
495 2011-01-21 Jakub Jelinek <jakub@redhat.com>
498 * except.c (convert_to_eh_region_ranges): Emit queued no-region
499 notes from other section in hot/cold partitioning even if
500 last_action is -3. Increment call_site_base.
502 PR rtl-optimization/47366
503 * fwprop.c (forward_propagate_into): Return bool. If
504 any changes are made, -fnon-call-exceptions is used and
505 REG_EH_REGION note is present, call purge_dead_edges
506 and return true if it purged anything.
507 (fwprop_addr): Adjust callers, call cleanup_cfg (0) if
508 any EH edges were purged.
510 2011-01-21 Jeff Law <law@redhat.com>
512 PR rtl-optimization/41619
513 * caller-save.c (setup_save_areas): Break out code to determine
514 which hard regs are live across calls by examining the reload chains
515 so that it is always used.
516 Eliminate code which checked REG_N_CALLS_CROSSED.
518 2011-01-21 Jakub Jelinek <jakub@redhat.com>
520 PR tree-optimization/47355
521 * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if
522 NOP has non-debug uses beyond PHIs in new_bb.
524 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
527 * cfgexpand.c (account_used_vars_for_block): Only account vars
528 that are annotated as used.
529 (estimated_stack_frame_size): Don't set TREE_USED.
530 * tree-dfa.c (create_var_ann): Mark variable as used.
532 2011-01-21 Richard Guenther <rguenther@suse.de>
535 * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name.
537 2011-01-21 Richard Guenther <rguenther@suse.de>
539 PR tree-optimization/47365
540 * tree-ssa-sccvn.h (vn_lookup_kind): Declare.
541 (vn_reference_lookup_pieces): Adjust.
542 (vn_reference_lookup): Likewise.
543 * tree-ssa-sccvn.c (vn_walk_kind): New static global.
544 (vn_reference_lookup_3): Only look through kills if in
546 (vn_reference_lookup_pieces): Adjust.
547 (vn_reference_lookup): Likewise.
548 (visit_reference_op_load): Likewise.
549 (visit_reference_op_store): Likewise.
550 * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode.
551 (compute_avail): Likewise.
552 (eliminate): Likewise.
554 2011-01-21 Jakub Jelinek <jakub@redhat.com>
556 * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove
557 DECL_IGNORED_P non-reg vars if they are used.
559 PR tree-optimization/47391
560 * varpool.c (const_value_known_p): Return false if
563 2011-01-21 Kai Tietz <kai.tietz@onevision.com>
566 * config/i386/i386.c (ix86_local_alignment): Handle
567 case for va_list_type_node is nil.
568 (ix86_canonical_va_list_type): Likewise.
570 2011-01-21 Alan Modra <amodra@gmail.com>
572 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add
573 builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__.
575 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
577 * config/arm/arm.md (define_attr type): Rename f_load
578 and f_store to f_fpa_load and f_fpa_store. Update.
579 (write_conflict): Deal with rename fallout.
580 (*push_fp_multi): Likewise.
581 * config/arm/fpa.md (f_load): Use f_fpa_load.
582 (f_store): Use f_fpa_store.
583 (*movsf_fpa): Likewise.
584 (*movdf_fpa): Likewise.
585 (*movxf_fpa): Likewise.
586 (*thumb2_movsf_fpa): Likewise.
587 (*thumb2_movdf_fpa): Likewise.
588 (*thumb2_movxf_fpa): Likewise.
589 * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to
590 f_loadd and f_stored.
591 (*thumb2_movdi_vfp): Likewise.
592 (*thumb2_movsf_vfp): Fix attribute to f_loads.
593 (*thumb2_movsi_vfp): Likewise.
594 * config/arm/cortex-m4-fpu.md (cortex_m4_f_load):
595 Use f_loads instead of f_load.
596 * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load.
598 2011-01-20 Anatoly Sokolov <aesok@post.ru>
600 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
601 * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove.
602 * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
603 (xtensa_mode_dependent_address_p): New function.
604 (constantpool_address_p): Make static. Change return type to bool.
605 Change argument type to const_rtx. Use CONST_INT_P predicate.
607 2011-01-20 Alexandre Oliva <aoliva@redhat.com>
610 * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls.
612 2011-01-20 Jakub Jelinek <jakub@redhat.com>
615 * cfgexpand.c (expand_debug_expr): Instead of generating
616 (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF
619 2011-01-20 Richard Guenther <rguenther@suse.de>
622 * tree-inline.c (remap_gimple_op_r): Recurse manually for
623 the pointer operand of MEM_REFs.
625 2011-01-20 Jakub Jelinek <jakub@redhat.com>
627 PR tree-optimization/46130
628 * ipa-split.c (consider_split): If return_bb contains non-virtual
629 PHIs other than for retval or if split_function would not adjust it,
632 2011-01-20 Richard Guenther <rguenther@suse.de>
634 PR tree-optimization/47167
635 * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
636 Revert previous change, only avoid enumeral type changes.
638 2011-01-19 Dodji Seketeli <dodji@redhat.com>
641 * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen)
642 (gen_scheduled_generic_parms_dies): New functions.
643 (gen_struct_or_union_type_die): Schedule template parameters DIEs
644 generation for the end of CU compilation.
645 (dwarf2out_finish): Generate template parameters DIEs here.
647 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
650 * tree-into-ssa.c (maybe_register_def): Do not attempt to add
651 debug bind stmt on merge edges.
653 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
657 * function.c (instantiate_expr): Instantiate incoming rtl of
658 implicit arguments, and recurse on VALUE_EXPRs.
659 (instantiate_decls): Instantiate rtl and VALUE_EXPR of result.
660 * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx.
662 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
664 * c-parser.c (c_parser_for_statement): Initialize
665 collection_expression.
667 2011-01-19 Joseph Myers <joseph@codesourcery.com>
669 * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.
671 2011-01-19 Joseph Myers <joseph@codesourcery.com>
673 * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove.
674 (LINK_SHLIB_SPEC): Don't use %(link_path).
675 (SUBTARGET_EXTRA_SPECS): Remove link_path.
677 2011-01-19 Joseph Myers <joseph@codesourcery.com>
679 * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
680 (NO_SHARED_LIB_SUPPORT): Remove.
681 (LINK_SHLIB_SPEC): Remove one conditional definition.
683 2011-01-19 Joseph Myers <joseph@codesourcery.com>
685 * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
687 * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
688 * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}.
689 * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared}
690 %{call_shared} and conditionals on these options not being passed.
691 * config/mips/sde.h (LINK_SPEC): Remove %{non_shared}
694 2011-01-19 Jakub Jelinek <jakub@redhat.com>
696 * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge,
699 * ipa-split.c: Spelling fixes.
701 2011-01-19 Richard Henderson <rth@redhat.com>
703 * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand.
706 * longlong.h [__mn10300__] (count_leading_zeros): New.
707 [__mn10300__] (umul_ppmm, smul_ppmm): New.
708 [__mn10300__] (add_ssaaaa, subddmmss): New.
709 [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New.
710 [__mn10300__] (UMUL_TIME, UDIV_TIME): New.
712 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
714 * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
716 2011-01-19 Richard Henderson <rth@redhat.com>
718 * config/mn10300/mn10300.md (addsi3_flags): New.
719 (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New.
720 (subsi3_flags, subc_internal, subdi3): New.
721 (subdi3_internal, *subdi3_degenerate): New.
722 * config/mn10300/predicates.md (reg_or_am33_const_operand): New.
724 * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New.
725 (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn.
726 (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once.
727 * config/mn10300/mn10300-protos.h: Update.
728 * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn.
729 (return_ret): Likewise. Rename from return_internal_regs.
730 (return_internal): Remove.
732 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove.
733 (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL.
734 (mn10300_legitimate_constant_p): Likewise.
735 (mn10300_can_use_return_insn): Use mn10300_initial_offset.
736 (mn10300_frame_size): New.
737 (mn10300_expand_prologue): Use it.
738 (mn10300_expand_epilogue): Likewise.
739 (mn10300_initial_offset): Likewise.
740 * config/mn10300/mn10300-protos.h: Update.
741 * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove.
742 * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove.
743 (prologue, epilogue, return_internal): Tidy output code.
744 (mn10300_store_multiple_operation, return): Likewise.
745 (int_label, pop_pic_reg, GOTaddr2picreg): Remove.
746 (am33_loadPC, mn10300_loadPC, call_next_insn): Remove.
747 (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove.
748 (load_pic, am33_load_pic): New.
749 (mn10300_load_pic0, mn10300_load_pic1): New.
751 * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes.
752 * config/mn10300/mn10300.c (CC_FLAG_Z): New.
753 (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New.
754 (cc_flags_for_mode, cc_flags_for_code): New.
755 (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the
756 overflow flag is not valid. Validate that the flags we need
757 for the comparison are valid.
758 (mn10300_output_cmp): Remove.
759 (mn10300_output_add): New.
760 (mn10300_select_cc_mode): Use cc_flags_for_code.
761 (mn10300_split_cbranch): New.
762 (mn10300_match_ccmode): New.
763 (mn10300_split_and_operand_count): New.
764 * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments
766 * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge...
767 (addsi3): ... here. Use mn10300_output_add.
768 (*addsi3_flags): New.
769 (*am33_subsi3, *mn10300_subsi3): Merge...
770 (subsi3): ... here. Use attribute isa.
771 (*subsi3_flags): New.
772 (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC
774 (*am33_andsi3, *mn10300_andsi3): Merge...
776 (*andsi3_flags): New.
777 (andsi3 splitters): New.
778 (*am33_iorsi3, *mn10300_iorsi3): Merge...
780 (*iorsi3_flags): New.
781 (*am33_xorsi3, *mn10300_xorsi3): Merge...
783 (*xorsi3_flags): New.
784 (*am33_cmpsi2, *mn10300_cmplsi2): Merge...
785 (one_cmplsi2): ... here.
786 (*one_cmplsi2_flags): New.
787 (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r"
788 instead of "dax" in constraints. Use mn10300_split_cbranch.
789 (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not
790 use matching constraints to eliminate a self-comparison.
791 (*integer_conditional_branch): Rename from integer_conditional_branch.
792 Use int_mode_flags to match CC_REG.
793 (*cbranchsi4_btst, *btstsi): New.
794 (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use
795 mn10300_split_cbranch.
796 (*am33_cmpsf): Rename from am33_cmpsf.
797 (*float_conditional_branch): Rename from float_conditional_branch.
798 (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge...
799 (zero_extendqisi2): ... here.
800 (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge...
801 (zero_extendhisi2): ... here.
802 (*extendqisi2_am33, *extendqisi2_mn10300): Merge...
803 (extendqisi2): ... here.
804 (*extendhisi2_am33, *extendhisi2_mn10300): Merge...
805 (extendhisi2): ... here.
806 (*am33_ashlsi3, *mn10300_ashlsi3): Merge...
808 (*am33_lshrsi3, *mn10300_lshrsi3): Merge...
810 (*am33_ashrisi3, *mn10300_ashrsi3): Merge...
812 (consecutive add peephole): Remove.
813 * config/mn10300/predicates.md (label_ref_operand): New.
814 (int_mode_flags): New.
815 (CCZN_comparison_operator): New.
817 * config/mn10300/mn10300.md (UNSPEC_EXT): New.
818 (throughput_42_latency_43): New reservation.
819 (mulsidi3, umulsidi3): New expanders.
820 (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose
821 the MDR register to allocation; separately allocate the low and
822 high parts of the DImode result.
823 (umulsidi3_internal): Similarly.
824 (*am33_mulsi3, *mn10300_mulsi3): Merge into ...
825 (*mulsi3): ... here. Clobber MDR as a scratch as necessary.
826 (udivsi3, umodsi3): Remove.
827 (udivmodsi4, divmodsi4): New expanders.
828 (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly.
829 (*divmodsi4): Simiarly.
832 * config/mn10300/constraints.md ("z"): New constraint.
833 * config/mn10300/mn10300.h (MDR_REGNUM): Remove.
834 (FIXED_REGISTERS): Don't fix MDR.
835 (CALL_USED_REGSITERS): Reformat nicely.
836 (REG_ALLOC_ORDER): Add MDR.
837 (enum regclass): Add MDR_REGS.
838 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match.
839 (IRA_COVER_CLASSES): Add MDR_REGS.
840 (REGNO_REG_CLASS): Handle MDR_REG.
841 * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS.
842 (mn10300_register_move_cost): Likewise.
843 * config/mn10300/mn10300.md (MDR_REG): New.
844 (*movsi_internal): Handle moves to/from MDR_REGS.
846 * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle
848 (mn10300_secondary_reload): Tidy combination reload classes.
849 (mn10300_legitimate_address_p): Allow post-modify and reg+reg
850 addresses for AM33. Allow symbolic offsets for reg+imm.
851 (mn10300_regno_in_class_p): New.
852 (mn10300_legitimize_reload_address): New.
853 * config/mn10300/mn10300.h (enum reg_class): Remove
854 DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS,
855 SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add
857 (REG_CLASS_NAMES): Update to match.
858 (REG_CLASS_CONTENTS): Likewise.
859 (INDEX_REG_CLASS): Use GENERAL_REGS for AM33.
860 (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33.
861 (REGNO_IN_RANGE_P): Remove.
862 (REGNO_DATA_P): Use mn10300_regno_in_class_p.
863 (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise.
864 (REGNO_STRICT_OK_FOR_BASE_P): Likewise.
865 (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise.
866 (REGNO_STRICT_OK_FOR_INDEX_P): Likewise.
867 (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove.
868 (REGNO_GENERAL_P): New.
869 (HAVE_POST_MODIFY_DISP): New.
870 (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New.
871 (LEGITIMIZE_RELOAD_ADDRESS): New.
872 * config/mn10300/mn10300-protos.h: Update.
874 * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow
875 DATA_REGS for AM33 stack-pointer destination.
876 (mn10300_preferred_output_reload_class): Likewise.
877 (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class
878 into a form appropriate for ...
879 (TARGET_SECONDARY_RELOAD): New.
880 * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove.
881 * config/mn10300/mn10300-protos.h: Update.
882 * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from
883 reload_insi; use the "A" constraint for the scratch; handle AM33
884 moves of sp to non-address registers.
886 * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into
887 (*movqi_internal): ... here.
888 (*am33_movhi, *mn10300_movhi): Merge into...
889 (*movhi_internal): ... here.
890 (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A"
891 as the source/destination of moves from/to SP.
892 (movsf): Only allow for AM33-2.
893 (*movsf_internal): Use "r" instead of "dax"; use "F" instead of
894 any integer constant constraint. Only allow for AM33-2. Tidy
895 all of the alternative outputs.
896 (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove.
897 (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow
899 (udivsi3, umodsi3): New patterns for MN103 only.
901 2011-01-19 Joern Rennecke <amylaar@spamcop.net>
903 * doc/tm.texi.in: Spell out that a lack of register class unions
905 * doc/tm.texi: Regenerate.
907 2011-01-19 Jakub Jelinek <jakub@redhat.com>
909 PR rtl-optimization/47337
910 * dce.c (check_argument_store): New function.
911 (find_call_stack_args): Ignore debug insns. Use check_argument_store.
913 PR tree-optimization/47290
914 * tree-eh.c (infinite_empty_loop_p): New function.
915 (cleanup_empty_eh): Use it.
917 2011-01-18 Steve Ellcey <sje@cup.hp.com>
920 * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN.
921 (a64_expand_widen_sum): Ditto.
922 * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN.
923 (vec_extract_evenodd_help): Ditto.
924 (vec_extract_evenv4hi): Ditto.
925 (vec_extract_oddv4hi): Ditto.
926 (vec_extract_evenv2si): Ditto.
927 (vec_extract_oddv2si): Ditto.
928 (vec_extract_evenv2sf): Ditto.
929 (vec_extract_oddv2sf): Ditto.
930 (vec_pack_trunc_v4hi: Ditto.
931 (vec_pack_trunc_v2si): Ditto.
932 (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN.
933 (vec_interleave_highv8qi): Ditto.
935 (vec_extract_oddv8qi): Ditto.
936 (vec_interleave_lowv4hi): Ditto.
937 (vec_interleave_highv4hi): Ditto.
938 (vec_interleave_lowv2si): Ditto.
939 (vec_interleave_highv2si): Ditto.
941 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
943 * doc/extend.texi: Mention __float128 support on hppa HP-UX.
944 * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1.
945 * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h".
946 (pa_c_mode_for_suffix): New.
947 (TARGET_EXPAND_BUILTIN): Define.
948 (TARGET_C_MODE_FOR_SUFFIX): Define.
949 (pa_builtins): Define.
950 (pa_init_builtins): Register __float128 type and init new support
952 * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined.
953 * config/pa/quadlib.c (_U_Qfcopysign): New.
955 2011-01-18 Eric Botcazou <ebotcazou@adacore.com>
958 * explow.c (allocate_dynamic_stack_space): Do not assume more than
959 BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET
962 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
964 PR tree-optimization/47179
965 * config/spu/spu.c (spu_ref_may_alias_errno): New function.
966 (TARGET_REF_MAY_ALIAS_ERRNO): Define.
968 2011-01-18 Richard Guenther <rguenther@suse.de>
970 PR rtl-optimization/47216
971 * emit-rtl.c: Include tree-flow.h.
972 (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead
973 of replicating it with different semantics.
974 * Makefile.in (emit-rtl.o): Adjust.
976 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
978 * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually
980 (cortex_a9_dp): Handle neon types correctly.
982 2011-01-18 Jakub Jelinek <jakub@redhat.com>
984 PR rtl-optimization/47299
985 * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
986 subtarget. Use normal multiplication if both operands are
988 * expmed.c (expand_widening_mult): Don't try to optimize constant
989 multiplication if op0 has VOIDmode. Convert op1 constant to mode
992 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
994 * doc/lto.texi (LTO): Ensure two spaces after period. Fix
995 spacing after 'e.g.', typos, comma, hyphenation.
997 2011-01-17 Richard Henderson <rth@redhat.com>
999 * config/rx/predicates.md (rx_constshift_operand): Use match_test.
1000 (rx_restricted_mem_operand): New.
1001 (rx_shift_operand): Use register_operand.
1002 (rx_source_operand, rx_compare_operand): Likewise.
1003 * config/rx/rx.md (addsi3_flags): New expander.
1004 (adddi3): Rewrite as expander.
1005 (adc_internal, *adc_flags, adddi3_internal): New patterns.
1006 (subsi3_flags): New expander.
1007 (subdi3): Rewrite as expander.
1008 (sbb_internal, *sbb_flags, subdi3_internal): New patterns.
1010 * config/rx/rx.c (RX_BUILTIN_SAT): Remove.
1011 (rx_init_builtins): Remove sat builtin.
1012 (rx_expand_builtin): Likewise.
1013 * config/rx/rx.md (ssaddsi3): New.
1014 (*sat): Rename from sat. Represent the CC_REG input.
1016 * config/rx/predicates.md (rshift_operator): New.
1017 * config/rx/rx.c (rx_expand_insv): Remove.
1018 * config/rx/rx-protos.h: Update.
1019 * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift
1020 operand to the canonical position.
1021 (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly.
1022 (*bitclr, *bitclr_in_memory): Similarly.
1023 (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New.
1024 (insv): Retain the zero_extract in the expansion.
1026 * config/rx/rx.md (bswapsi2): Use = not + for output reload.
1027 (bswaphi2, bitinvert, revw): Likewise.
1029 * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET.
1030 (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise.
1031 * config/rx/rx.md (pop_and_return): Use VOIDmode for SET.
1032 (stack_push, stack_pushm, stack_pop, stack_popm): Likewise.
1033 (bitset, bitset_in_memory): Likewise.
1034 (bitinvert, bitinvert_in_memory): Likewise.
1035 (bitclr, bitclr_in_memory): Likewise.
1036 (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise.
1037 (rx_strend, rx_cmpstrn): Likewise.
1038 (rx_setmem): Likewise. Make the source BLKmode to match the dest.
1039 (bitop peep2 patterns): Remove.
1041 * config/rx/rx.c (rx_match_ccmode): New.
1042 * config/rx/rx-protos.h: Update.
1043 * config/rx/rx.md (abssi2): Clobber, don't set flags.
1044 (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise.
1045 (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise.
1046 (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise.
1047 (fix_truncsfsi2, floatsisf2): Likewise.
1048 (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New.
1049 (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New.
1050 (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New.
1051 (*subsi3_flags, *xorsi3_flags): New.
1053 * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns.
1055 * config/rx/rx.c (rx_print_operand): Remove workaround for
1056 unsplit comparison operations.
1058 * config/rx/rx.md (movsicc): Split after reload.
1059 (*movsicc): Merge *movsieq and *movsine via match_operator.
1060 (*stcc): New pattern.
1062 * config/rx/rx.c (rx_float_compare_mode): Remove.
1063 * config/rx/rx.h (rx_float_compare_mode): Remove.
1064 * config/rx/rx.md (cstoresi4): Split after reload.
1065 (*sccc): New pattern.
1067 * config/rx/predicates.md (label_ref_operand): New.
1068 (rx_z_comparison_operator): New.
1069 (rx_zs_comparison_operator): New.
1070 (rx_fp_comparison_operator): New.
1071 * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes.
1072 Validate that the flags are set properly for the comparison.
1073 (rx_gen_cond_branch_template): Remove.
1074 (rx_cc_modes_compatible): Remove.
1075 (mode_from_flags): New.
1076 (flags_from_code): Rename from flags_needed_for_conditional.
1077 (rx_cc_modes_compatible): Re-write in terms of flags_from_mode.
1078 (rx_select_cc_mode): Likewise.
1079 (rx_split_fp_compare): New.
1080 (rx_split_cbranch): New.
1081 * config/rx/rx.md (most_cond, zs_cond): Remove iterators.
1082 (*cbranchsi4): Use match_operator and rx_split_cbranch.
1083 (*cbranchsf4): Similarly.
1084 (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use
1085 match_operator and rx_split_cbranch.
1086 (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and
1087 tstbranchsi4m_ne. Use match_operator and rx_split_cbranch.
1088 (*cmpsi): Rename from cmpsi.
1089 (*tstsi): Rename from tstsi.
1090 (*cmpsf): Rename from cmpsf; use CC_Fmode.
1091 (*conditional_branch): Rename from conditional_branch.
1092 (*reveresed_conditional_branch): Remove.
1093 (b<code>): Remove expander.
1094 * config/rx/rx-protos.h: Update.
1096 * config/rx/rx.c (rx_compare_redundant): Remove.
1097 * config/rx/rx.md (cmpsi): Don't use it.
1098 * config/rx/rx-protos.h: Update.
1100 * config/rx/rx-modes.def (CC_F): New mode.
1101 * config/rx/rx.c (rx_select_cc_mode): New.
1102 * config/rx/rx.h (SELECT_CC_MODE): Use it.
1103 * config/rx/rx-protos.h: Update.
1105 2011-01-17 Richard Henderson <rth@redhat.com>
1107 * except.c (dump_eh_tree): Fix stray ; after for statement.
1109 2011-01-17 Richard Guenther <rguenther@suse.de>
1111 PR tree-optimization/47313
1112 * tree-inline.c (tree_function_versioning): Move DECL_RESULT
1113 handling before copying the body. Properly deal with
1114 by-reference result in SSA form.
1116 2011-01-17 Ian Lance Taylor <iant@google.com>
1119 * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
1120 (struct_value_alias_set): Don't define.
1121 (sparc_option_override): Don't set sparc_sr_alias_set and
1122 struct_value_alias_set.
1123 (save_or_restore_regs): Use gen_frame_mem rather than calling
1125 (sparc_struct_value_rtx): Likewise.
1127 2011-01-17 H.J. Lu <hongjiu.lu@intel.com>
1130 * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
1132 (_mm_maskstore_pd): Likewise.
1133 (_mm_maskload_ps): Likewise.
1134 (_mm_maskstore_ps): Likewise.
1135 (_mm256_maskload_pd): Change mask to __m256i.
1136 (_mm256_maskstore_pd): Likewise.
1137 (_mm256_maskload_ps): Likewise.
1138 (_mm256_maskstore_ps): Likewise.
1140 * config/i386/i386-builtin-types.def: Updated.
1141 (ix86_expand_special_args_builtin): Likewise.
1143 * config/i386/i386.c (bdesc_special_args): Update
1144 __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
1145 __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
1146 __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
1147 __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
1149 * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
1150 Use <avxpermvecmode> on mask register.
1151 (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
1153 2011-01-17 Olivier Hainque <hainque@adacore.com>
1154 Michael Haubenwallner <michael.haubenwallner@salomon.at>
1155 Eric Botcazou <ebotcazou@adacore.com>
1158 * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
1159 if <= USHRT_MAX in 32-bit mode.
1161 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1163 * doc/install.texi (Configuration, Specific): Wrap long
1164 lines in examples. Allow line wrapping in long options
1165 and URLs where beneficial for PDF output.
1167 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com>
1169 * config/mips/mips.c (mips_classify_symbol): Don't return
1170 SYMBOL_PC_RELATIVE for nonlocal labels.
1172 2011-01-15 Eric Botcazou <ebotcazou@adacore.com>
1174 * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
1176 2011-01-15 Jan Hubicka <jh@suse.cz>
1178 PR tree-optimization/47276
1179 * ipa.c (function_and_variable_visibility): Do not try to mark alias
1180 declarations as needed.
1182 2011-01-15 Martin Jambor <mjambor@suse.cz>
1184 * common.opt (fdevirtualize): New flag.
1185 * doc/invoke.texi (Option Summary): Document it.
1186 * opts.c (default_options_table): Add devirtualize flag.
1187 * ipa-prop.c (detect_type_change): Return immediately if
1188 devirtualize flag is not set.
1189 (detect_type_change_ssa): Likewise.
1190 (compute_known_type_jump_func): Likewise.
1191 (ipa_analyze_virtual_call_uses): Likewise.
1193 2011-01-14 Martin Jambor <mjambor@suse.cz>
1195 PR tree-optimization/45934
1196 PR tree-optimization/46302
1197 * ipa-prop.c (type_change_info): New type.
1198 (stmt_may_be_vtbl_ptr_store): New function.
1199 (check_stmt_for_type_change): Likewise.
1200 (detect_type_change): Likewise.
1201 (detect_type_change_ssa): Likewise.
1202 (compute_complex_assign_jump_func): Check for dynamic type change.
1203 (compute_complex_ancestor_jump_func): Likewise.
1204 (compute_known_type_jump_func): Likewise.
1205 (compute_scalar_jump_functions): Likewise.
1206 (ipa_analyze_virtual_call_uses): Likewise.
1207 (ipa_analyze_node): Push and pop cfun, set current_function_decl.
1209 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1211 * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
1212 * config/i386/i386.opt (msse5): New Alias.
1214 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1216 * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
1217 * config/sparc/linux64.h (CC1_SPEC): Likewise.
1218 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1219 * config/sparc/sparc.h (CC1_SPEC): Likewise.
1221 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1223 * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
1225 * config/sparc/linux64.h (CC1_SPEC): Likewise.
1226 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1227 * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
1228 * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
1230 * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
1232 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1234 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
1237 2011-01-14 Mike Stump <mikestump@comcast.net>
1239 * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
1240 * config/fr30/fr30.md: Likweise
1241 (movsi_push): Likewise.
1242 (movsi_pop): Likewise.
1243 (enter_func): Likewise.
1244 * config/moxie/moxie.md (movsi_push): Likewise.
1245 (movsi_pop): Likewise.
1247 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1249 * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
1250 %{no_archive} %{exact_version}.
1251 * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
1252 * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
1253 %{no_archive} %{exact_version}.
1254 * config/mips/openbsd.h (LINK_SPEC): Likewise.
1255 * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
1256 * config/mips/vxworks.h: Likewise.
1258 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1260 * config/microblaze/microblaze.h (ASM_SPEC): Remove
1263 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1265 * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
1266 ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
1268 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1270 * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
1273 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1275 * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
1277 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
1278 CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
1280 (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
1281 Don't handle -shlib.
1283 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1285 * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
1286 (CC1_SPEC): Don't handle -profile.
1288 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1290 * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
1291 * config/mips/mips.h (CC1_SPEC): Likewise.
1293 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1295 * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
1296 * config/mips/mips.h (CC1_SPEC): Likewise.
1298 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1300 * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
1301 * config/m32r/linux.h (LINK_SPEC): Likewise.
1302 * config/mips/linux.h (LINK_SPEC): Likewise.
1303 * config/mips/linux64.h (LINK_SPEC): Likewise.
1304 * config/sparc/linux.h (LINK_SPEC): Likewise.
1305 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
1306 LINK_SPEC): Likewise.
1307 * config/xtensa/linux.h (LINK_SPEC): Likewise.
1309 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1311 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
1313 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
1315 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1317 * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
1318 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
1320 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1322 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
1324 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1326 * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
1327 supports -Bstatic/-Bdynamic.
1328 * configure: Regenerate.
1330 2011-01-14 Jan Hubicka <jh@suse.cz>
1331 Jack Howarth <howarth@bromo.med.uc.edu>
1334 * config/darwin.c (darwin_override_options): Honor flag_gtoggle
1335 when checking debug_info_level. Test write_symbols instead of
1336 debug_hooks->var_location when setting flag_var_tracking_uninit.
1338 2011-01-14 Richard Guenther <rguenther@suse.de>
1340 PR tree-optimization/47179
1341 * target.def (ref_may_alias_errno): New target hook.
1342 * targhooks.h (default_ref_may_alias_errno): Declare.
1343 * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
1344 (default_ref_may_alias_errno): New function.
1345 * target.h (struct ao_ref_s): Declare.
1346 * tree-ssa-alias.c: Include target.h.
1347 (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
1348 * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
1349 (targhooks.o): Likewise.
1350 * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
1351 * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
1353 2011-01-14 Richard Guenther <rguenther@suse.de>
1355 * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
1357 2011-01-14 Richard Guenther <rguenther@suse.de>
1359 PR tree-optimization/47280
1360 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
1362 (tree_ssa_forward_propagate_single_use_vars): Deal with
1363 CFG changes from associate_plusminus.
1365 2011-01-14 Richard Guenther <rguenther@suse.de>
1369 2011-01-11 Richard Guenther <rguenther@suse.de>
1371 PR tree-optimization/46076
1372 * tree-ssa.c (useless_type_conversion_p): Conversions from
1373 unprototyped to empty argument list function types are useless.
1375 2011-01-14 Richard Guenther <rguenther@suse.de>
1377 PR tree-optimization/47286
1378 * tree-ssa-structalias.c (new_var_info): Register variables are global.
1380 2011-01-14 Martin Jambor <mjambor@suse.cz>
1383 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
1385 2011-01-13 Anatoly Sokolov <aesok@post.ru>
1387 * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
1388 LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
1389 * config/xtensa/xtensa.c (xtensa_libcall_value,
1390 xtensa_function_value_regno_p): New functions.
1391 (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
1393 2011-01-13 Kai Tietz <kai.tietz@onevision.com>
1396 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
1398 * config/i386/i386-protos.h (i386_pe_assemble_visibility):
1399 New function prototype.
1400 * config/i386/winnt.c (i386_pe_assemble_visibility):
1401 Warn only if attribute was specified by user.
1403 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1406 * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
1408 (floatunsdidf2_fcfidu): Ditto.
1410 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1412 * config/s390/s390.c (print_operand_address): Replace 'error' with
1413 'output_operand_lossage'.
1414 (print_operand): Likewise.
1416 2011-01-13 Jeff Law <law@redhat.com>
1418 PR rtl-optimization/39077
1419 * doc/invoke.texi (max-gcse-insertion-ratio): Document.
1420 * params.h (MAX_GCSE_INSERTION_RATIO): Define.
1421 * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
1422 * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
1423 * gcse.c (prune_insertions_deletions): New function.
1424 (compute_pre_data): Use it.
1426 2011-01-13 Dodji Seketeli <dodji@redhat.com>
1429 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
1431 (prune_unused_types_mark): Use it.
1433 2011-01-13 Andrey Belevantsev <abel@ispras.ru>
1435 PR rtl-optimization/45352
1436 * sel-sched.c: Update copyright years.
1437 (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
1438 in the advancing loop when we have issued issue_rate insns.
1440 2011-01-12 Richard Henderson <rth@redhat.com>
1442 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
1443 (TARGET_MD_ASM_CLOBBERS): New.
1445 * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
1446 (TARGET_DELEGITIMIZE_ADDRESS): New.
1448 * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
1449 (clzsi2, *bsch): New patterns.
1451 * config/mn10300/mn10300.md (INT): New mode iterator.
1452 (*mov<INT>_clr): New pattern, and peep2 to generate it.
1454 * config/mn10300/mn10300.c (mn10300_option_override): Force enable
1455 flag_split_wide_types.
1457 * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
1458 (mn10300_trampoline_init): Rewrite without a template, an immediate
1459 load and a direct branch.
1460 * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
1462 2011-01-12 Anatoly Sokolov <aesok@post.ru>
1464 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
1465 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
1466 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
1467 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
1469 2011-01-12 Kai Tietz <kai.tietz@onevision.com>
1472 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
1475 2011-01-12 Jan Hubicka <jh@suse.cz>
1478 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
1479 (PLUGIN_COND_CLOSE): New macro.
1480 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
1482 2011-01-12 Richard Guenther <rguenther@suse.de>
1485 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
1486 register variables in a MEM_REF.
1488 2011-01-12 Joseph Myers <joseph@codesourcery.com>
1490 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
1491 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
1492 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
1493 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
1494 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
1495 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
1496 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
1497 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
1498 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
1499 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
1500 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
1501 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
1502 * config/gnu-user.h: New. Copied from linux.h.
1503 (LINUX_TARGET_STARTFILE_SPEC): Rename to
1504 GNU_USER_TARGET_STARTFILE_SPEC.
1505 (LINUX_TARGET_ENDFILE_SPEC): Rename to
1506 GNU_USER_TARGET_ENDFILE_SPEC.
1507 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
1508 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
1509 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
1510 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
1511 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
1512 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
1513 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
1514 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
1515 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
1516 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
1517 * config/arm/linux-eabi.h (CC1_SPEC): Use
1518 GNU_USER_TARGET_CC1_SPEC.
1519 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
1520 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
1521 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
1522 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
1523 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
1524 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
1525 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
1526 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
1528 2011-01-12 Richard Guenther <rguenther@suse.de>
1531 * doc/invoke.texi (ffast-math): Document it is turned on
1534 2011-01-12 Jan Hubicka <jh@suse.cz>
1536 PR tree-optimization/47233
1537 * opts.c (common_handle_option): Disable ipa-reference with profile
1540 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
1542 * c-parser.c (c_parser_objc_at_property_declaration): Improved
1545 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
1547 * c-parser.c (c_lex_one_token): Updated and reindented some
1548 comments. No changes in code.
1550 2011-01-11 Ian Lance Taylor <iant@google.com>
1552 * godump.c (go_output_var): Don't output the variable if there is
1553 already a type with the same name.
1555 2011-01-11 Ian Lance Taylor <iant@google.com>
1557 * godump.c (go_format_type): Don't generate float80.
1559 2011-01-11 Richard Henderson <rth@redhat.com>
1561 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
1562 declaration. Rewrite for both speed and size.
1563 (mn10300_address_cost_1): Remove.
1564 (mn10300_register_move_cost): New.
1565 (mn10300_memory_move_cost): New.
1566 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
1567 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
1568 extensions, shifts, BSWAP, CLZ.
1569 (mn10300_wide_const_load_uses_clr): Remove.
1570 (TARGET_REGISTER_MOVE_COST): New.
1571 (TARGET_MEMORY_MOVE_COST): New.
1572 * config/mn10300/mn10300-protos.h: Update.
1573 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
1575 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
1576 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
1577 * config/mn10300/mn10300-protos.h: Update.
1578 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
1579 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
1580 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
1581 (*test_int_bitfield, *test_byte_bitfield): Remove.
1582 (*bit_test, *subreg_bit_test): Remove.
1583 * config/mn10300/predicates.md (const_8bit_operand): Remove.
1585 * config/mn10300/constraints.md ("c"): Rename from "A".
1586 ("A", "D"): New constraint letters.
1587 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
1588 (fmssf4, fnmasf4, fnmssf4): Likewise.
1590 * config/mn10300/mn10300.md (isa): New attribute.
1591 (enabled): New attribute.
1593 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
1594 (abssf2, negsf2): Define only for hardware fp.
1595 (sqrtsf2): Reformat.
1596 (addsf3, subsf3, mulsf3): Merge expander and insn.
1598 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
1599 (DEBUGGER_AUTO_OFFSET): Remove.
1600 (DEBUGGER_ARG_OFFSET): Remove.
1602 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
1603 Emit register stores with the same offsets as the hardware.
1604 (mn10300_store_multiple_operation): Don't check that the register
1605 save offsets are monotonic.
1606 * config/mn10300/mn10300-protos.h: Update.
1608 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
1610 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
1611 in terms of the value on the stack, not the MDR register.
1613 2011-01-11 Jan Hubicka <jh@suse.cz>
1617 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
1618 (symbol_alias_set_destroy, symbol_alias_set_contains,
1619 propagate_aliases_backward): Declare.
1620 * lto-streamer-out.c (struct sets): New sturcture.
1621 (trivally_defined_alias): New function.
1622 (output_alias_pair_p): Rewrite.
1623 (output_unreferenced_globals): Fix output of alias pairs.
1624 (produce_symtab): Likewise.
1625 * ipa.c (function_and_variable_visibility): Set weak alias destination
1627 * varasm.c (symbol_alias_set_t): Remove.
1628 (symbol_alias_set_destroy): Export.
1629 (propagate_aliases_forward, propagate_aliases_backward): New functions
1631 (compute_visible_aliases): ... this one; remove.
1632 (trivially_visible_alias): New
1633 (trivially_defined_alias): New.
1634 (remove_unreachable_alias_pairs): Rewrite.
1635 (finish_aliases_1): Reorganize code checking if alias is defined.
1636 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
1639 2011-01-11 Richard Guenther <rguenther@suse.de>
1641 PR tree-optimization/46076
1642 * tree-ssa.c (useless_type_conversion_p): Conversions from
1643 unprototyped to empty argument list function types are useless.
1645 2011-01-11 Richard Guenther <rguenther@suse.de>
1648 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
1649 volatile MEMs as MEM_READONLY_P.
1651 2011-01-11 Richard Guenther <rguenther@suse.de>
1653 PR tree-optimization/47239
1654 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
1656 2011-01-11 Jeff Law <law@redhat.com>
1658 PR tree-optimization/47086
1659 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
1660 IVs from statements that might throw.
1662 2011-01-10 Jan Hubicka <jh@suse.cz>
1665 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
1667 2011-01-10 Jan Hubicka <jh@suse.cz>
1670 * profile.c (read_profile_edge_counts): Ignore profile inconistency
1671 when correcting profile.
1673 2011-01-10 Jan Hubicka <jh@suse.cz>
1676 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
1678 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
1679 Restore DECL_FINI_PRIORITY.
1681 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1683 * doc/gimple.texi: Fix quoting of multi-word return values in
1684 @deftypefn statements. Ensure presence of return value. Wrap
1685 overlong @deftypefn lines.
1686 (is_gimple_operand, is_gimple_min_invariant_address): Remove
1687 descriptions of removed functions.
1688 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
1689 of multi-word return value in @deftypefn statement.
1691 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1693 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
1694 (Conditional Expressions, Logical Operators)
1695 (Statement and operand traversals): Do not indent smallexample
1696 code. Fix duplicate function argument in example.
1698 2011-01-10 Jeff Law <law@redhat.com>
1700 PR tree-optimization/47141
1701 * ipa-split.c (split_function): Handle case where we are
1702 returning a value and the return block has a virtual operand phi.
1704 2011-01-10 Jan Hubicka <jh@suse.cz>
1706 PR tree-optimization/47234
1707 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
1708 (pass_feedback_split_functions): Declare.
1709 * passes.c (init_optimization_passes): Add ipa-split as subpass of
1711 * ipa-split.c (gate_split_functions): Update comments; disable
1712 split-functions for profile_arc_flag and branch_probabilities.
1713 (gate_feedback_split_functions): New function.
1714 (execute_feedback_split_functions): New function.
1715 (pass_feedback_split_functions): New global var.
1717 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
1720 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
1721 calling gimple_call_set_cannot_inline.
1723 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
1725 * config/darwin-sections.def: Remove unused section.
1727 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
1730 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
1732 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
1735 * c-parser.c (c_parser_declaration_or_fndef): Improved
1738 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
1740 * config/i386/winnt.c (i386_pe_start_function): Make sure
1741 to switch back to function's section.
1743 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
1747 * plugin.c: Move include of dlfcn.h from here...
1748 * system.h: ... to here.
1750 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1752 * doc/cpp.texi (C++ Named Operators): Fix markup for header
1754 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
1755 two extra empty pages in PDF output.
1757 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
1760 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
1761 for error recovery purposes behave as if it was not specified so
1762 that the default type is usd.
1764 2011-01-07 Jan Hubicka <jh@suse.cz>
1766 PR tree-optmization/46469
1767 * ipa.c (function_and_variable_visibility): Clear needed flags on
1768 nodes with external decls; handle weakrefs merging correctly.
1770 2011-01-07 Joseph Myers <joseph@codesourcery.com>
1772 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
1775 2011-01-07 Jan Hubicka <jh@suse.cz>
1777 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
1778 and no longer claim that gold is required for linker plugin.
1779 * configure: Regenerate.
1780 * gcc.c (PLUGIN_COND): New macro.
1781 (LINK_COMMAND_SPEC): Use it.
1782 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
1783 * config.in (HAVE_LTO_PLUGIN): New.
1784 * configure.ac (--with-lto-plugin): New parameter; autodetect
1787 2011-01-07 Jan Hubicka <jh@suse.cz>
1789 PR tree-optimization/46367
1790 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
1791 when we can update original.
1792 (cgraph_mark_inline_edge): Sanity check.
1793 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
1795 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1797 * config/spu/spu.h (ASM_COMMENT_START): Define.
1799 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
1803 (SWITCH_KEEP_FOR_GCC): Likewise.
1804 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
1805 (do_spec_1): Handle "%>".
1807 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
1809 2011-01-07 Jakub Jelinek <jakub@redhat.com>
1812 * config/i386/i386.c (ix86_delegitimize_address): If
1813 simplify_gen_subreg fails, return orig_x.
1816 * value-prof.c (gimple_stringop_fixed_value): Handle
1817 lhs of the call properly.
1819 2011-01-07 Jan Hubicka <jh@suse.cz>
1822 * lto-opt.c (lto_reissue_options): Set flag_shlib.
1824 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
1826 * target.def (function_switched_text_sections): New hook.
1827 * doc/tm.texi: Regenerated.
1828 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
1829 * final.c (default_function_switched_text_sections): New.
1830 (final_scan_insn): Call function_switched_text_sections when a
1831 mid-function section change occurs.
1832 * output.h (default_function_switched_text_sections): Declare.
1833 * config/darwin-protos.h (darwin_function_switched_text_sections):
1835 * config/darwin.c (darwin_function_switched_text_sections): New.
1836 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
1838 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
1840 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
1841 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
1842 the secondary code fragment when outputting for DWARF == 2.
1844 2011-01-07 Anatoly Sokolov <aesok@post.ru>
1846 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
1847 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
1849 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
1850 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
1852 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
1855 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
1856 when it is not empty.
1858 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
1861 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
1862 (case ${target}): Add btver1.
1863 * config/i386/driver-i386.c (host_detect_local_cpu): Let
1864 -march=native recognize btver1 processors.
1865 * config/i386/i386-c.c (ix86_target_macros_internal): Add
1866 btver1 def_and_undef
1867 * config/i386/i386.c (struct processor_costs btver1_cost): New
1869 (m_BTVER1): New definition.
1870 (m_AMD_MULTIPLE): Includes m_BTVER1.
1871 (initial_ix86_tune_features): Add btver1 tune.
1872 (processor_target_table): Add btver1 entry.
1873 (static const char *const cpu_names): Add btver1 entry.
1874 (software_prefetching_beneficial_p): Add btver1.
1875 (ix86_option_override_internal): Add btver1 instruction sets.
1876 (ix86_issue_rate): Add btver1.
1877 (ix86_adjust_cost): Add btver1.
1878 * config/i386/i386.h (TARGET_BTVER1): New definition.
1879 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
1880 (enum processor_type): Add PROCESSOR_BTVER1.
1881 * config/i386/i386.md (define_attr "cpu"): Add btver1.
1883 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1886 * config/i386/i386.c (legitimize_tls_address)
1887 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
1888 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
1889 (tls_initial_exec_64_sun): New pattern.
1891 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
1893 * doc/invoke.texi (Overall Options): Improve wording and markup
1894 of the description of -wrapper.
1896 2011-01-06 Joseph Myers <joseph@codesourcery.com>
1898 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
1899 rdynamic, threads): New Driver options.
1901 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1904 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
1905 if coming from .tdata.
1906 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
1908 2011-01-06 Jan Hubicka <jh@suse.cz>
1911 * collect2.c (main): Do not enable LTOmode when plugin is active.
1913 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1916 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
1917 --version output if supported.
1918 * configure: Regenerate.
1920 2011-01-06 Joseph Myers <joseph@codesourcery.com>
1922 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
1925 2011-01-06 Jakub Jelinek <jakub@redhat.com>
1928 * c-convert.c (convert): When converting a complex expression
1929 other than COMPLEX_EXPR to a different complex type, ensure
1930 c_save_expr is called instead of save_expr, unless in_late_binary_op.
1931 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
1932 when converting COMPLEX_TYPE.
1934 2011-01-06 Ira Rosen <irar@il.ibm.com>
1936 PR tree-optimization/47139
1937 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
1938 only the last reduction value is used outside the loop. Update
1941 2011-01-05 Joseph Myers <joseph@codesourcery.com>
1943 * config/rtems.opt: New.
1944 * config.gcc (*-*-rtems*): Use rtems.opt.
1946 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
1948 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
1949 processors do not support 3DNow instructions.
1951 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1953 * config/spu/spu.c (spu_option_override): Set parameter
1954 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
1956 2011-01-05 Jan Hubicka <jh@suse.cz>
1958 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
1959 at the command line.
1961 2011-01-05 Martin Jambor <mjambor@suse.cz>
1964 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
1965 deltas on streamed outgoing edges.
1966 (output_node_opt_summary): Output info for outgoing edges only when
1967 the node is in new parameter set.
1968 (output_cgraph_opt_summary): New parameter set, passed to the two
1969 aforementioned functions. Update its forward declaration and its
1972 2011-01-05 Tom Tromey <tromey@redhat.com>
1974 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
1975 operator to c_finish_omp_atomic.
1976 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
1977 (build_unary_op): Update.
1978 (build_modify_expr): Update.
1979 (build_asm_expr): Update.
1981 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1983 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
1984 newly inserted insns.
1986 (spu_emit_branch_hint): Likewise.
1987 (insert_hbrp_for_ilb_runout): Likewise.
1988 (spu_machine_dependent_reorg): Call df_finish_pass after
1989 schedule_insns returns.
1991 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1993 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
1995 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
1997 PR tree-optimization/47005
1998 * tree-sra.c (struct access): Add 'non_addressable' bit.
1999 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
2000 (decide_one_param_reduction): Return 0 if the parameter is passed by
2001 reference and one of the accesses in the group is non_addressable.
2003 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
2005 PR tree-optimization/47056
2006 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
2007 (mark_load): Likewise. Handle FUNCTION_DECL specially.
2008 (mark_store): Likewise. Pass STMT to ipa_record_reference.
2010 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
2012 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
2013 initializer. Skip view conversions from aggregate types.
2015 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
2018 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
2020 2011-01-04 Philipp Thomas <pth@suse.de>
2022 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
2025 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2027 * function.c (thread_prologue_and_epilogue_insns): Do not crash
2028 on empty epilogue sequences.
2030 2011-01-04 Joseph Myers <joseph@codesourcery.com>
2032 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
2033 non-static): New Driver options.
2035 2011-01-04 Jie Zhang <jie@codesourcery.com>
2038 * gcc.c (default_compilers[]): Set combinable field to 0
2039 for all assembly languages.
2041 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
2043 * config/mips/loongson3a.md: New file.
2044 * config/mips/mips.md: Include loongson3a.md.
2045 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
2048 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
2051 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
2052 instead of convert_memory_address_addr_space on the base expression.
2054 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2056 * config/spu/spu.c (spu_option_override): Update error text
2057 for bad -march= / -mtune= values.
2059 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2061 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
2062 if branch-hint optimization will be performed.
2064 2011-01-03 Jakub Jelinek <jakub@redhat.com>
2066 PR tree-optimization/47148
2067 * ipa-split.c (split_function): Convert arguments to
2068 DECL_ARG_TYPE if possible.
2070 PR tree-optimization/47155
2071 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
2074 PR rtl-optimization/47157
2075 * combine.c (try_combine): If undobuf.other_insn becomes
2076 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
2077 and set *new_direct_jump_p too.
2079 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
2081 PR tree-optimization/47021
2082 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
2084 2011-01-03 Jakub Jelinek <jakub@redhat.com>
2086 * gcc.c (process_command): Update copyright notice dates.
2087 * gcov.c (print_version): Likewise.
2088 * gcov-dump.c (print_version): Likewise.
2089 * mips-tfile.c (main): Likewise.
2090 * mips-tdump.c (main): Likewise.
2092 2011-01-03 Martin Jambor <mjambor@suse.cz>
2094 PR tree-optimization/46801
2095 * tree-sra.c (type_internals_preclude_sra_p): Check whether
2096 aggregate fields start at byte boundary instead of the bit-field flag.
2098 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
2101 * gcc.c (main): Revert revision 168407.
2103 2011-01-03 Martin Jambor <mjambor@suse.cz>
2105 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
2107 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2109 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
2110 vector optab to expand vector/scalar shift, update gimple to vector.
2112 2011-01-03 Martin Jambor <mjambor@suse.cz>
2114 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
2117 2011-01-03 Martin Jambor <mjambor@suse.cz>
2119 PR tree-optimization/46984
2120 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
2122 (cgraph_create_indirect_edge): Fixed line length.
2123 (cgraph_indirect_call_info): Declare.
2124 (cgraph_make_edge_direct) Update declaration.
2125 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
2126 (cgraph_create_indirect_edge): Use it.
2127 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
2129 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
2130 the new thunk_delta representation.
2131 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
2133 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
2134 (ipa_read_indirect_edge_info): Likewise.
2135 * lto-cgraph.c (output_edge_opt_summary): New function.
2136 (output_node_opt_summary): Call it on all outgoing edges.
2137 (input_edge_opt_summary): New function.
2138 (input_node_opt_summary): Call it on all outgoing edges.
2140 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
2143 * gcc.c (main): Don't check have_o when settting combine_inputs.
2145 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
2147 * regrename.c: Add general comment describing the pass.
2148 (struct du_head): Remove 'length' field.
2149 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
2150 (regrename_optimize): Do not sort chains. Rework comments, add others.
2151 Force renaming to the preferred class (if any) in the first pass and do
2152 not consider registers that belong to it in the second pass.
2153 (create_new_chain): Do not set 'length' field.
2154 (scan_rtx_reg): Likewise.
2156 2011-01-02 Jakub Jelinek <jakub@redhat.com>
2158 PR tree-optimization/47140
2159 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
2160 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
2163 PR rtl-optimization/47028
2164 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
2165 parm_birth_insn instead of at the beginning of first bb.
2167 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
2169 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
2170 Remove the word "see" before "@pxref".
2171 * doc/rtl.texi: Remove the word "see" before "@pxref".
2173 2011-01-01 Jan Hubicka <jh@suse.cz>
2175 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
2178 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
2181 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
2184 Copyright (C) 2011 Free Software Foundation, Inc.
2186 Copying and distribution of this file, with or without modification,
2187 are permitted in any medium without royalty provided the copyright
2188 notice and this notice are preserved.