1 2011-01-22 Jan Hubicka <jh@suse.cz>
3 * doc/invoke.texi (hot-bb-frequency-fraction): Commit forgotten hunk.
5 2011-01-26 Richard Guenther <rguenther@suse.de>
7 PR tree-optimization/47190
8 * cgraphunit.c (process_common_attributes): New function.
9 (process_function_and_variable_attributes): Use it.
11 2011-01-26 Richard Guenther <rguenther@suse.de>
14 * cgraphbuild.c (record_eh_tables): Record reference to personality
17 2011-01-26 Alexandre Oliva <aoliva@redhat.com>
20 * sel-sched.c (moveup_expr): Don't let debug insns prevent
21 non-debug insns from moving up.
23 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
26 * config.gcc (i[34567]86-*-pe | i[34567]86-*-cygwin*): Select suitable
27 t-dlldir{,-x} fragment for build and add it to tmake_file.
28 (i[34567]86-*-mingw* | x86_64-*-mingw*): Likewise.
29 * Makefile.in (libgcc.mvars): Also export SHLIB_DLLDIR to libgcc.
30 * config/i386/t-dlldir: New file.
31 (SHLIB_DLLDIR): Define.
32 * config/i386/t-dlldir-x: New file.
33 (SHLIB_DLLDIR): Define.
34 * config/i386/t-cygming: Error out if SHLIB_DLLDIR is not set.
35 (SHLIB_INSTALL): Use it.
37 2011-01-26 Chung-Lin Tang <cltang@codesourcery.com>
40 * config/arm/arm.c (thumb2_legitimate_index_p): Change the
41 lower bound of the allowed Thumb-2 coprocessor load/store
42 index range to -256. Add explaining comment.
44 2011-01-25 Ian Lance Taylor <iant@google.com>
46 * godump.c (go_define): Improve lexing of macro expansion to only
47 accept expressions which match Go spec.
49 2011-01-26 Dave Korn <dave.korn.cygwin@gmail.com>
52 * tree.c (handle_dll_attribute): Handle it.
53 * doc/extend.texi (@item dllexport): Mention it.
54 * doc/invoke.texi (@item -fno-keep-inline-dllexport): Document it.
56 2011-01-25 Ian Lance Taylor <iant@google.com>
58 PR tree-optimization/26854
59 * c-decl.c (struct c_scope): Add field has_jump_unsafe_decl.
60 (decl_jump_unsafe): Move higher in file, with no other change.
61 (bind): Set has_jump_unsafe_decl if appropriate.
62 (update_label_decls): Test has_jump_unsafe_decl to avoid loop.
63 (check_earlier_gotos): Likewise.
64 (c_check_switch_jump_warnings): Likewise.
66 2011-01-25 Jonathan Wakely <jwakely.gcc@gmail.com>
68 * doc/invoke.texi (Warning Options): Add missing hyphen.
69 (-fprofile-dir): Minor grammatical fixes.
70 (-fbranch-probabilities): Likewise.
72 2011-01-25 Alexandre Oliva <aoliva@redhat.com>
76 * haifa-sched.c (get_ebb_head_tail): Move notes across boundary
78 (no_real_insns_p, schedule_block, set_priorities): Drop special
79 treatment of boundary debug insns.
80 * sched-deps.c (sd_init_insn, sd_finish_insn): Don't mark debug
82 * sched-ebb.c (schedule_ebbs): Don't skip debug insns.
83 * sched-int.h (DEBUG_INSN_SCHED_P): Remove.
84 (BOUNDARY_DEBUG_INSN_P): Likewise.
85 (SCHEDULE_DEBUG_INSN_P): Likewise.
86 * sched-rgn.c (init_ready_list): Drop special treatment of
88 * final.c (rest_of_clean-state): Clear notes' BB.
90 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
92 * Makefile.in (LAMBDA_H): Removed.
93 (TREE_DATA_REF_H): Remove dependence on LAMBDA_H.
94 (OBJS-common): Remove dependence on lambda-code.o, lambda-mat.o,
95 lambda-trans.o, and tree-loop-linear.o.
96 (lto-symtab.o): Remove dependence on LAMBDA_H.
97 (tree-loop-linear.o): Remove rule.
99 (lambda-trans.o): Same.
100 (lambda-code.o): Same.
101 (tree-vect-loop.o): Add missing dependence on TREE_DATA_REF_H.
102 (tree-vect-slp.o): Same.
103 * hwint.h (gcd): Moved here.
104 (least_common_multiple): Same.
105 * lambda-code.c: Removed.
106 * lambda-mat.c: Removed.
107 * lambda-trans.c: Removed.
109 * tree-loop-linear.c: Removed.
110 * lto-symtab.c: Do not include lambda.h.
111 * omega.c (gcd): Removed.
112 * passes.c (init_optimization_passes): Remove pass_linear_transform.
113 * tree-data-ref.c (print_lambda_vector): Moved here.
114 (lambda_vector_copy): Same.
115 (lambda_matrix_copy): Same.
116 (lambda_matrix_id): Same.
117 (lambda_vector_first_nz): Same.
118 (lambda_matrix_row_add): Same.
119 (lambda_matrix_row_exchange): Same.
120 (lambda_vector_mult_const): Same.
121 (lambda_vector_negate): Same.
122 (lambda_matrix_row_negate): Same.
123 (lambda_vector_equal): Same.
124 (lambda_matrix_right_hermite): Same.
125 * tree-data-ref.h: Do not include lambda.h.
126 (lambda_vector): Moved here.
127 (lambda_matrix): Same.
128 (dependence_level): Same.
129 (lambda_transform_legal_p): Removed declaration.
130 (lambda_collect_parameters): Same.
131 (lambda_compute_access_matrices): Same.
132 (lambda_vector_gcd): Same.
133 (lambda_vector_new): Same.
134 (lambda_vector_clear): Same.
135 (lambda_vector_lexico_pos): Same.
136 (lambda_vector_zerop): Same.
137 (lambda_matrix_new): Same.
138 * tree-flow.h (least_common_multiple): Removed declaration.
139 * tree-parloops.c (lambda_trans_matrix): Moved here.
143 (LTM_DENOMINATOR): Same.
144 (lambda_trans_matrix_new): Same.
145 (lambda_matrix_vector_mult): Same.
146 (lambda_transform_legal_p): Same.
147 * tree-pass.h (pass_linear_transform): Removed declaration.
148 * tree-ssa-loop.c (tree_linear_transform): Removed.
149 (gate_tree_linear_transform): Removed.
150 (pass_linear_transform): Removed.
151 (gate_graphite_transforms): Make flag_tree_loop_linear an alias of
152 flag_loop_interchange.
154 2011-01-25 Jakub Jelinek <jakub@redhat.com>
156 PR tree-optimization/47265
157 PR tree-optimization/47443
158 * tree-ssa-forwprop.c (forward_propagate_addr_expr): Return false
159 if name still has some uses.
161 2011-01-25 Martin Jambor <mjambor@suse.cz>
163 PR tree-optimization/47382
164 * gimple-fold.c (gimple_fold_obj_type_ref_call): Removed.
165 (gimple_fold_call): Do not call gimple_fold_obj_type_ref_call.
167 2011-01-25 Joel Sherrill <joel.sherrill@oarcorp.com>
169 * config/m32r/m32r.c: Define TARGET_EXCEPT_UNWIND_INFO to
170 sjlj_except_unwind_info.
172 2011-01-25 Richard Guenther <rguenther@suse.de>
174 PR tree-optimization/47426
175 * tree-ssa-structalias.c (ipa_pta_execute): Make externally
176 visible functions results escape.
178 2011-01-25 Jakub Jelinek <jakub@redhat.com>
181 * config/arm/arm.c (any_sibcall_uses_r3): New function.
182 (arm_get_frame_offsets): Use it.
184 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
185 Jakub Jelinek <jakub@redhat.com>
187 PR tree-optimization/47271
188 * tree-if-conv.c (bb_postdominates_preds): New.
189 (if_convertible_bb_p): Call bb_postdominates_preds.
190 (if_convertible_loop_p_1): Compute CDI_POST_DOMINATORS.
191 (predicate_scalar_phi): Call bb_postdominates_preds.
193 2011-01-25 Nick Clifton <nickc@redhat.com>
195 * config/rx/rx.h (LIBCALL_VALUE): Do not promote complex types.
196 * config/rx/rx.c (rx_function_value): Likewise.
197 (rx_promote_function_mode): Likewise.
198 (gen_safe_add): Place an outsized immediate value inside an UNSPEC
199 in order to make it legitimate.
200 * config/rx/rx.md (adddi3_internal): If the second operand is a
201 MEM make sure that the first operand is the same as the result
203 (addsi3_unspec): Delete.
204 (subdi3): Do not accept immediate operands.
205 (subdi3_internal): Likewise.
207 2011-01-25 Jeff Law <law@redhat.com>
209 PR rtl-optimization/37273
210 * ira-costs.c (scan_one_insn): Detect constants living in memory and
211 handle them like argument loads from stack slots. Do not double
212 count memory for memory constants and argument loads from stack slots.
214 2011-01-25 Jakub Jelinek <jakub@redhat.com>
216 PR tree-optimization/47427
217 PR tree-optimization/47428
218 * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Don't
219 coalesce if the new root var would be TREE_READONLY.
221 2011-01-25 Richard Guenther <rguenther@suse.de>
224 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Use the
225 correct type for TBAA.
227 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
229 * graphite-sese-to-poly.c (dr_indices_valid_in_loop): New.
230 (close_phi_written_to_memory): Call for_each_index with
231 dr_indices_valid_in_loop.
233 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
235 * graphite-sese-to-poly.c (new_pbb_from_pbb): Only copy PBB_DOMAIN
236 when it is initialized.
238 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
240 * graphite-scop-detection.c (stmt_has_simple_data_refs_p): Update
241 call to graphite_find_data_references_in_stmt.
242 * graphite-sese-to-poly.c (outermost_loop_in_sese_1): New.
243 (try_generate_gimple_bb): Call outermost_loop_in_sese_1. Update
244 call to graphite_find_data_references_in_stmt.
245 (analyze_drs_in_stmts): Same.
246 * tree-data-ref.c (dr_analyze_indices): Pass in parameter the loop
247 in which the scalar analysis of indices is performed.
248 (create_data_ref): Same. Update call to dr_analyze_indices.
249 (find_data_references_in_stmt): Update call to create_data_ref.
250 (graphite_find_data_references_in_stmt): Same.
251 * tree-data-ref.h (graphite_find_data_references_in_stmt): Update
253 (create_data_ref): Same.
254 * tree-ssa-loop-prefetch.c (determine_loop_nest_reuse): Update
255 call to create_data_ref.
257 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
259 * graphite-sese-to-poly.c (build_poly_scop): Move
260 rewrite_commutative_reductions_out_of_ssa before
261 find_scop_parameters.
263 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
265 * graphite-sese-to-poly.c (close_phi_written_to_memory): Also allow
266 VAR_DECL, PARM_DECL, and RESULT_DECL.
268 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
270 * graphite-dependences.c (reduction_dr_1): Allow several reductions
272 * graphite-sese-to-poly.c (split_reduction_stmt): Do not split PBBs
273 that have already been marked as PBB_IS_REDUCTION.
275 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
277 * graphite-scop-detection.c (same_close_phi_node): New.
278 (remove_duplicate_close_phi): New.
279 (make_close_phi_nodes_unique): New.
280 (canonicalize_loop_closed_ssa): Call make_close_phi_nodes_unique.
282 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
284 * graphite-dependences.c (new_poly_ddr): Call same_pdr_p.
285 * graphite-poly.h (same_pdr_p): Do not expect that the PDR_TYPE
286 of both data references to be the same.
288 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
290 * graphite-dependences.c (build_lexicographical_constraint): Remove the
292 (build_lexicographical_constraint): Adjust call to ppl_powerset_is_empty.
293 (dependence_polyhedron): Same.
294 (graphite_legal_transform_dr): Same.
295 (graphite_carried_dependence_level_k): Same.
296 * graphite-ppl.c (ppl_powerset_is_empty): Remove the nb_params parameter.
297 * graphite-ppl.h (ppl_powerset_is_empty): Adjust declaration.
299 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
301 * graphite-sese-to-poly.c
302 (translate_scalar_reduction_to_array_for_stmt): Call unshare_expr.
303 (close_phi_written_to_memory): New.
304 (translate_scalar_reduction_to_array): Call close_phi_written_to_memory
307 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
309 * doc/install.texi: Update the expected version number of PPL to 0.11.
310 * graphite-ppl.c (ppl_powerset_is_empty): Remove now dead code under
311 #if PPL_VERSION_MINOR < 11.
313 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
315 * graphite-dependences.c: Include graphite-cloog-util.h.
316 (new_poly_ddr): Inlined into dependence_polyhedron.
317 (free_poly_ddr): Moved close by new_poly_ddr.
318 (dependence_polyhedron_1): Renamed dependence_polyhedron.
319 Early return NULL when ppl_powerset_is_empty returns true.
320 (dependence_polyhedron): Renamed new_poly_ddr. Call only once
321 poly_drs_may_alias_p. Avoid one call to ppl_powerset_is_empty.
322 (graphite_legal_transform_dr): Call new_poly_ddr.
323 (graphite_carried_dependence_level_k): Same.
324 (dot_original_deps_stmt_1): Renamed dot_deps_stmt_2. Use new_poly_ddr.
325 (dot_transformed_deps_stmt_1): Removed.
326 (dot_deps_stmt_1): Call dot_deps_stmt_2.
327 (dot_original_deps): Renamed dot_deps_2. Call new_poly_ddr.
328 (dot_deps_1): Call dot_deps_2.
329 * Makefile.in (graphite-dependences.o): Add missing dependence on
330 graphite-cloog-util.h.
332 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
334 * graphite-dependences.c (new_poly_dr): Call ppl_powerset_is_empty.
335 (build_lexicographical_constraint): Same.
336 (dependence_polyhedron_1): Same.
337 (graphite_legal_transform_dr): Same.
338 (graphite_carried_dependence_level_k): Same.
339 * graphite-ppl.c (ppl_powerset_is_empty): New.
340 * graphite-ppl.h (ppl_powerset_is_empty): Declared.
341 * tree-data-ref.c (dump_data_reference): Print the basic block index.
343 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
345 * graphite-dependences.c (build_pairwise_scheduling): Correctly compute
346 the "a followed by b" relation and document it.
348 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
350 * graphite-dependences.c (build_lexicographical_constraint): Stop the
351 iteration when the bag of constraints is empty.
353 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
355 * graphite-poly.c (pbb_remove_duplicate_pdrs): Make it work.
357 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
359 * graphite-interchange.c (lst_interchange_profitable_p): Takes a loop
360 nest and two loop depths as parameters.
361 (lst_try_interchange_loops): Call lst_interchange_profitable_p after
364 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
366 * graphite-dependences.c (print_pddr): Call
367 ppl_io_fprint_Pointset_Powerset_C_Polyhedron.
369 2011-01-25 Sebastian Pop <sebastian.pop@amd.com>
371 * graphite-ppl.c (debug_gmp_value): New.
372 * graphite-ppl.h (debug_gmp_value): Declared.
374 2011-01-25 Tobias Grosser <grosser@fim.uni-passau.de>
376 * doc/install.texi: Document availability of cloog-0.16.
378 2011-01-25 Vladimir Kargov <kargov@gmail.com>
380 * graphite-scop-detection.c (canonicalize_loop_closed_ssa): Free
381 invalid postdominance info.
383 2011-01-24 Jan Hubicka <jh@suse.cz>
386 * doc/extend.texi (weak pragma): Drop claim that it must
387 appear before definition.
388 * varasm.c (merge_weak, declare_weak): Only sanity check
389 that DECL is not output at a time it is declared weak.
391 2011-01-24 Kenneth Zadeck <zadeck@naturalbridge.com>
393 * machmode.def: Fixed comments.
395 2011-01-24 Kai Tietz <kai.tietz@onevision.com>
397 * emit-rtl.c (reg_attrs_htab_hash): Replace long by intptr_t.
399 2011-01-24 Paul Koning <ni1d@arrl.net>
401 * builtins.c (c_readstr): Fix byte order if BYTES_BIG_ENDIAN !=
404 2011-01-24 H.J. Lu <hongjiu.lu@intel.com>
407 * config/i386/i386.c: Include sbitmap.h and fibheap.h.
408 (block_info): Add scanned and prev.
409 (move_or_delete_vzeroupper_2): Return if the basic block
410 has been scanned and the upper 128bit state is unchanged
412 (move_or_delete_vzeroupper_1): Return true if the exit
414 (move_or_delete_vzeroupper): Visit basic blocks using the
415 work-list based algorithm based on vt_find_locations in
418 * config/i386/t-i386: Also depend on sbitmap.h and $(FIBHEAP_H).
420 2011-01-24 Nick Clifton <nickc@redhat.com>
422 * config/v850/v850.opt (mv850es): New option - alias for -mv850e1.
423 * config/v850/v850.h (ASM_SPEC): If -mv850es is specified pass
424 -mv850e1 to the assembler. If -mv850e1 or -mv850es is specified
425 then define __v850e1__.
426 * doc/invoke.texi: Document -mv850es.
428 2011-01-24 Richard Henderson <rth@redhat.com>
430 * config/rx/predicates.md (rx_fp_comparison_operator): Don't accept
431 compound unordered comparisons.
432 * config/rx/rx.c (rx_split_fp_compare): Remove.
433 * config/rx/rx-protos.h: Update.
434 * config/rx/rx.md (gcc_conds, rx_conds): Remove.
435 (cbranchsf4): Don't call rx_split_fp_compare.
436 (*cbranchsf4): Use rx_split_cbranch.
437 (*cmpsf): Don't accept "i" constraint.
438 (*conditional_branch): Only valid after reload.
439 (cstoresf4): Merge expander with insn. Don't call rx_split_fp_compare.
441 2011-01-24 Michael Meissner <meissner@linux.vnet.ibm.com>
444 * config/rs6000/altivec.md (vector constant splitters): Add
445 support for creating vector single precision constants if -mvsx is
446 used and we would create the constant using Altivec primitives.
448 2011-01-23 Bernd Schmidt <bernds@codesourcery.com>
449 Richard Sandiford <rdsandiford@googlemail.com>
451 PR rtl-optimization/47166
452 * reload1.c (emit_reload_insns): Disable the spill_reg_store
453 mechanism for PRE_MODIFY and POST_MODIFY.
454 (inc_for_reload): For PRE_MODIFY, return the insn that sets the
457 2011-01-23 Andreas Schwab <schwab@linux-m68k.org>
459 * compare-elim.c (maybe_select_cc_mode): Add ATTRIBUTE_UNUSED markers.
461 2011-01-22 Jan Hubicka <jh@suse.cz>
464 * lto-cgraph.c (reachable_from_this_partition_p): Fix pasto.
466 2011-01-22 Jan Hubicka <jh@suse.cz>
468 PR tree-optimization/43884
470 * predict.c (maybe_hot_frequency_p): Use entry block frequency as base.
471 * doc/invoke.texi (hot-bb-frequency-fraction): Update docs.
473 2011-01-22 Anatoly Sokolov <aesok@post.ru>
475 * config/s390/s390.h (REGISTER_MOVE_COST, MEMORY_MOVE_COST): Remove.
476 * config/s390/s390.c (s390_register_move_cost,
477 s390_memory_move_cost): New.
478 (TARGET_REGISTER_MOVE_COST, TARGET_MEMORY_MOVE_COST): Define.
480 2011-01-22 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
483 * except.c (sjlj_assign_call_site_values): Move setting the
484 crtl->uses_eh_lsda flag to ...
485 (sjlj_mark_call_sites): ... here.
486 (sjlj_emit_function_enter): Support NULL dispatch label.
487 (sjlj_build_landing_pads): In a function with no landing pads
488 that still has must-not-throw regions, generate code to register
489 a personality function with empty LSDA.
491 2011-01-21 Richard Henderson <rth@redhat.com>
493 * config/rx/rx.c (TARGET_FLAGS_REGNUM): New.
495 * config/mn10300/mn10300.c (TARGET_FLAGS_REGNUM): New.
497 * compare-elim.c: New file.
498 * Makefile.in (OBJS-common): Add it.
499 (compare-elim.o): New.
500 * common.opt (fcompare-elim): New.
501 * opts.c (default_options_table): Add OPT_fcompare_elim.
502 * tree-pass.h (pass_compare_elim_after_reload): New.
503 * passes.c (init_optimization_passes): Add it.
504 * recog.h: Protect against re-inclusion.
505 * target.def (TARGET_FLAGS_REGNUM): New POD hook.
506 * doc/invoke.texi (-fcompare-elim): Document it.
507 * doc/tm.texi.in (TARGET_FLAGS_REGNUM): Document it.
508 * doc/tm.texi: Rebuild.
510 2011-01-22 Nick Clifton <nickc@redhat.com>
512 * config/rx/rx.md (cstoresf4): Pass comparison operator to
515 2011-01-22 Nick Clifton <nickc@redhat.com>
517 * config/rx/rx.md (UNSPEC_CONST): New.
518 (deallocate_and_return): Wrap the amount popped off the stack in
519 an UNSPEC_CONST in order to stop it being rejected by
521 (pop_and_return): Add a "(return)" rtx.
522 (call): Drop the immediate operand.
523 (call_internal): Likewise.
524 (call_value): Likewise.
525 (call_value_internal): Likewise.
526 (sibcall_internal): Likewise.
527 (sibcall_value_internal): Likewise.
528 (sibcall): Likewise. Generate an explicit call using
530 (sibcall_value): Likewise.
531 (mov<>): FAIL if a constant operand is not legitimate.
532 (addsi3_unpsec): New pattern.
534 * config/rx/rx.c (rx_print_operand_address): Handle UNPSEC
536 (ok_for_max_constant): New function.
537 (gen_safe_add): New function.
538 (rx_expand_prologue): Use gen_safe_add.
539 (rx_expand_epilogue): Likewise.
540 (rx_is_legitimate_constant): Use ok_for_max_constant. Handle
543 2011-01-21 Jeff Law <law@redhat.com>
545 PR tree-optimization/47053
546 * tree-ssa-dse.c (need_eh_cleanup): New bitmap.
547 (dse_optimize_stmt): Set the appropriate bit in NEED_EH_CLEANUP when
548 statements are deleted.
549 (tree_ssa_dse): Allocate & free NEED_EH_CLEANUP. If NEED_EH_CLEANUP
550 is nonempty, then purge dead edges and cleanup the CFG.
552 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
556 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
558 * tree-dfa.c (create_var_ann): Mark variable as used.
560 2011-01-21 Jakub Jelinek <jakub@redhat.com>
563 * except.c (convert_to_eh_region_ranges): Emit queued no-region
564 notes from other section in hot/cold partitioning even if
565 last_action is -3. Increment call_site_base.
567 PR rtl-optimization/47366
568 * fwprop.c (forward_propagate_into): Return bool. If
569 any changes are made, -fnon-call-exceptions is used and
570 REG_EH_REGION note is present, call purge_dead_edges
571 and return true if it purged anything.
572 (fwprop_addr): Adjust callers, call cleanup_cfg (0) if
573 any EH edges were purged.
575 2011-01-21 Jeff Law <law@redhat.com>
577 PR rtl-optimization/41619
578 * caller-save.c (setup_save_areas): Break out code to determine
579 which hard regs are live across calls by examining the reload chains
580 so that it is always used.
581 Eliminate code which checked REG_N_CALLS_CROSSED.
583 2011-01-21 Jakub Jelinek <jakub@redhat.com>
585 PR tree-optimization/47355
586 * tree-eh.c (cleanup_empty_eh_merge_phis): Give up if
587 NOP has non-debug uses beyond PHIs in new_bb.
589 2011-01-21 Alexandre Oliva <aoliva@redhat.com>
592 * cfgexpand.c (account_used_vars_for_block): Only account vars
593 that are annotated as used.
594 (estimated_stack_frame_size): Don't set TREE_USED.
595 * tree-dfa.c (create_var_ann): Mark variable as used.
597 2011-01-21 Richard Guenther <rguenther@suse.de>
600 * tree.def (WIDEN_MULT_MINUS_EXPR): Fix printed name.
602 2011-01-21 Richard Guenther <rguenther@suse.de>
604 PR tree-optimization/47365
605 * tree-ssa-sccvn.h (vn_lookup_kind): Declare.
606 (vn_reference_lookup_pieces): Adjust.
607 (vn_reference_lookup): Likewise.
608 * tree-ssa-sccvn.c (vn_walk_kind): New static global.
609 (vn_reference_lookup_3): Only look through kills if in
611 (vn_reference_lookup_pieces): Adjust.
612 (vn_reference_lookup): Likewise.
613 (visit_reference_op_load): Likewise.
614 (visit_reference_op_store): Likewise.
615 * tree-ssa-pre.c (phi_translate_1): Use VN_WALK mode.
616 (compute_avail): Likewise.
617 (eliminate): Likewise.
619 2011-01-21 Jakub Jelinek <jakub@redhat.com>
621 * tree-ssa-live.c (remove_unused_scope_block_p): Don't remove
622 DECL_IGNORED_P non-reg vars if they are used.
624 PR tree-optimization/47391
625 * varpool.c (const_value_known_p): Return false if
628 2011-01-21 Kai Tietz <kai.tietz@onevision.com>
631 * config/i386/i386.c (ix86_local_alignment): Handle
632 case for va_list_type_node is nil.
633 (ix86_canonical_va_list_type): Likewise.
635 2011-01-21 Alan Modra <amodra@gmail.com>
637 * config/rs6000/rs6000-c.c (rs6000_cpu_cpp_builtins): Add
638 builtin_define __CMODEL_MEDIUM__ and __CMODEL_LARGE__.
640 2011-01-20 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
642 * config/arm/arm.md (define_attr type): Rename f_load
643 and f_store to f_fpa_load and f_fpa_store. Update.
644 (write_conflict): Deal with rename fallout.
645 (*push_fp_multi): Likewise.
646 * config/arm/fpa.md (f_load): Use f_fpa_load.
647 (f_store): Use f_fpa_store.
648 (*movsf_fpa): Likewise.
649 (*movdf_fpa): Likewise.
650 (*movxf_fpa): Likewise.
651 (*thumb2_movsf_fpa): Likewise.
652 (*thumb2_movdf_fpa): Likewise.
653 (*thumb2_movxf_fpa): Likewise.
654 * config/arm/vfp.md (*thumb2_movdf_vfp): Fix attribute to
655 f_loadd and f_stored.
656 (*thumb2_movdi_vfp): Likewise.
657 (*thumb2_movsf_vfp): Fix attribute to f_loads.
658 (*thumb2_movsi_vfp): Likewise.
659 * config/arm/cortex-m4-fpu.md (cortex_m4_f_load):
660 Use f_loads instead of f_load.
661 * config/arm/cortex-a5.md (cortex_a5_f_loads): Remove f_load.
663 2011-01-20 Anatoly Sokolov <aesok@post.ru>
665 * config/xtensa/xtensa.h (GO_IF_MODE_DEPENDENT_ADDRESS): Remove.
666 * config/xtensa/xtensa-protos.h (constantpool_address_p): Remove.
667 * config/xtensa/xtensa.c (TARGET_MODE_DEPENDENT_ADDRESS_P): Define.
668 (xtensa_mode_dependent_address_p): New function.
669 (constantpool_address_p): Make static. Change return type to bool.
670 Change argument type to const_rtx. Use CONST_INT_P predicate.
672 2011-01-20 Alexandre Oliva <aoliva@redhat.com>
675 * tree-ssa-live.c (remove_unused_scope_block_p): Keep type decls.
677 2011-01-20 Jakub Jelinek <jakub@redhat.com>
680 * cfgexpand.c (expand_debug_expr): Instead of generating
681 (mem (debug_implicit_ptr)) for MEM_REFs use COMPONENT_REF
684 2011-01-20 Richard Guenther <rguenther@suse.de>
687 * tree-inline.c (remap_gimple_op_r): Recurse manually for
688 the pointer operand of MEM_REFs.
690 2011-01-20 Jakub Jelinek <jakub@redhat.com>
692 PR tree-optimization/46130
693 * ipa-split.c (consider_split): If return_bb contains non-virtual
694 PHIs other than for retval or if split_function would not adjust it,
697 2011-01-20 Richard Guenther <rguenther@suse.de>
699 PR tree-optimization/47167
700 * tree-ssa-copyrename.c (copy_rename_partition_coalesce):
701 Revert previous change, only avoid enumeral type changes.
703 2011-01-19 Dodji Seketeli <dodji@redhat.com>
706 * dwarf2out.c (generic_type_p, schedule_generic_params_dies_gen)
707 (gen_scheduled_generic_parms_dies): New functions.
708 (gen_struct_or_union_type_die): Schedule template parameters DIEs
709 generation for the end of CU compilation.
710 (dwarf2out_finish): Generate template parameters DIEs here.
712 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
715 * tree-into-ssa.c (maybe_register_def): Do not attempt to add
716 debug bind stmt on merge edges.
718 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
722 * function.c (instantiate_expr): Instantiate incoming rtl of
723 implicit arguments, and recurse on VALUE_EXPRs.
724 (instantiate_decls): Instantiate rtl and VALUE_EXPR of result.
725 * var-tracking.c (adjust_mems): Reject virtual_incoming_args_rtx.
727 2011-01-19 Alexandre Oliva <aoliva@redhat.com>
729 * c-parser.c (c_parser_for_statement): Initialize
730 collection_expression.
732 2011-01-19 Joseph Myers <joseph@codesourcery.com>
734 * config/spu/spu-elf.h (ASM_SPEC): Remove %{w:-W}.
736 2011-01-19 Joseph Myers <joseph@codesourcery.com>
738 * config/rs6000/sysv4.h (LINK_PATH_SPEC): Remove.
739 (LINK_SHLIB_SPEC): Don't use %(link_path).
740 (SUBTARGET_EXTRA_SPECS): Remove link_path.
742 2011-01-19 Joseph Myers <joseph@codesourcery.com>
744 * config/rs6000/sysv4.h (SHARED_LIB_SUPPORT): Remove conditional.
745 (NO_SHARED_LIB_SUPPORT): Remove.
746 (LINK_SHLIB_SPEC): Remove one conditional definition.
748 2011-01-19 Joseph Myers <joseph@codesourcery.com>
750 * config/mips/linux64.h (LINK_SPEC): Remove %{non_shared}
752 * config/mips/mips.h (LINK_SPEC): Remove %{non_shared}.
753 * config/mips/netbsd.h (LINK_SPEC): Remove %{call_shared}.
754 * config/mips/openbsd.h (LINK_SPEC): Remove %{non_shared}
755 %{call_shared} and conditionals on these options not being passed.
756 * config/mips/sde.h (LINK_SPEC): Remove %{non_shared}
759 2011-01-19 Jakub Jelinek <jakub@redhat.com>
761 * ipa-split.c (find_return_bb): Use single_pred_p/single_pred_edge,
764 * ipa-split.c: Spelling fixes.
766 2011-01-19 Richard Henderson <rth@redhat.com>
768 * config/mn10300/mn10300.md (mulsi3): Use reg_or_am33_const_operand.
771 * longlong.h [__mn10300__] (count_leading_zeros): New.
772 [__mn10300__] (umul_ppmm, smul_ppmm): New.
773 [__mn10300__] (add_ssaaaa, subddmmss): New.
774 [__mn10300__] (udiv_qrnnd, sdiv_qrnnd): New.
775 [__mn10300__] (UMUL_TIME, UDIV_TIME): New.
777 2011-01-19 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
779 * config/spu/spu.h (MOVE_RATIO): Return 4 in the !speed case.
781 2011-01-19 Richard Henderson <rth@redhat.com>
783 * config/mn10300/mn10300.md (addsi3_flags): New.
784 (addc_internal, adddi3, adddi3_internal, *adddi3_degenerate): New.
785 (subsi3_flags, subc_internal, subdi3): New.
786 (subdi3_internal, *subdi3_degenerate): New.
787 * config/mn10300/predicates.md (reg_or_am33_const_operand): New.
789 * config/mn10300/mn10300.c (mn10300_can_use_retf_insn): New.
790 (mn10300_can_use_rets_insn): Rename from mn10300_can_use_return_insn.
791 (mn10300_expand_epilogue): Use it. Compute REG_SAVE_BYTES once.
792 * config/mn10300/mn10300-protos.h: Update.
793 * config/mn10300/mn10300.md (return): Use mn10300_can_use_retf_insn.
794 (return_ret): Likewise. Rename from return_internal_regs.
795 (return_internal): Remove.
797 * config/mn10300/mn10300.c (mn10300_unspec_int_label_counter): Remove.
798 (mn10300_asm_output_addr_const_extra): Don't handle UNSPEC_INT_LABEL.
799 (mn10300_legitimate_constant_p): Likewise.
800 (mn10300_can_use_return_insn): Use mn10300_initial_offset.
801 (mn10300_frame_size): New.
802 (mn10300_expand_prologue): Use it.
803 (mn10300_expand_epilogue): Likewise.
804 (mn10300_initial_offset): Likewise.
805 * config/mn10300/mn10300-protos.h: Update.
806 * config/mn10300/mn10300.h (mn10300_unspec_int_label_counter): Remove.
807 * config/mn10300/mn10300.md (UNSPEC_INT_LABEL): Remove.
808 (prologue, epilogue, return_internal): Tidy output code.
809 (mn10300_store_multiple_operation, return): Likewise.
810 (int_label, pop_pic_reg, GOTaddr2picreg): Remove.
811 (am33_loadPC, mn10300_loadPC, call_next_insn): Remove.
812 (add_GOT_to_pic_reg, add_GOT_to_any_reg): Remove.
813 (load_pic, am33_load_pic): New.
814 (mn10300_load_pic0, mn10300_load_pic1): New.
816 * config/mn10300/mn10300-modes.def (CCZN, CCZNC): New modes.
817 * config/mn10300/mn10300.c (CC_FLAG_Z): New.
818 (CC_FLAG_N, CC_FLAG_C, CC_FLAG_V): New.
819 (cc_flags_for_mode, cc_flags_for_code): New.
820 (mn10300_print_operand) ['B']: Use nc/ns for GE/LT when the
821 overflow flag is not valid. Validate that the flags we need
822 for the comparison are valid.
823 (mn10300_output_cmp): Remove.
824 (mn10300_output_add): New.
825 (mn10300_select_cc_mode): Use cc_flags_for_code.
826 (mn10300_split_cbranch): New.
827 (mn10300_match_ccmode): New.
828 (mn10300_split_and_operand_count): New.
829 * config/mn10300/mn10300.h (SELECT_CC_MODE): Pass all of the arguments
831 * config/mn10300/mn10300.md (*am33_addsi3, *mn10300_addsi3): Merge...
832 (addsi3): ... here. Use mn10300_output_add.
833 (*addsi3_flags): New.
834 (*am33_subsi3, *mn10300_subsi3): Merge...
835 (subsi3): ... here. Use attribute isa.
836 (*subsi3_flags): New.
837 (negsi2): Rewrite from expander to insn_and_split. Use NOT+INC
839 (*am33_andsi3, *mn10300_andsi3): Merge...
841 (*andsi3_flags): New.
842 (andsi3 splitters): New.
843 (*am33_iorsi3, *mn10300_iorsi3): Merge...
845 (*iorsi3_flags): New.
846 (*am33_xorsi3, *mn10300_xorsi3): Merge...
848 (*xorsi3_flags): New.
849 (*am33_cmpsi2, *mn10300_cmplsi2): Merge...
850 (one_cmplsi2): ... here.
851 (*one_cmplsi2_flags): New.
852 (*cbranchsi4_cmp): Rename from cbranchsi4_post_reload. Use "r"
853 instead of "dax" in constraints. Use mn10300_split_cbranch.
854 (*cmpsi): Rename from cmpsi. Do not use mn10300_output_cmp. Do not
855 use matching constraints to eliminate a self-comparison.
856 (*integer_conditional_branch): Rename from integer_conditional_branch.
857 Use int_mode_flags to match CC_REG.
858 (*cbranchsi4_btst, *btstsi): New.
859 (*cbranchsf4_cmp): Rename from *cbranchsf4_post_reload. Use
860 mn10300_split_cbranch.
861 (*am33_cmpsf): Rename from am33_cmpsf.
862 (*float_conditional_branch): Rename from float_conditional_branch.
863 (*zero_extendqisi2_am33, *zero_extendqisi2_mn10300): Merge...
864 (zero_extendqisi2): ... here.
865 (*zero_extendhisi2_am33, *zero_extendhisi2_mn10300): Merge...
866 (zero_extendhisi2): ... here.
867 (*extendqisi2_am33, *extendqisi2_mn10300): Merge...
868 (extendqisi2): ... here.
869 (*extendhisi2_am33, *extendhisi2_mn10300): Merge...
870 (extendhisi2): ... here.
871 (*am33_ashlsi3, *mn10300_ashlsi3): Merge...
873 (*am33_lshrsi3, *mn10300_lshrsi3): Merge...
875 (*am33_ashrisi3, *mn10300_ashrsi3): Merge...
877 (consecutive add peephole): Remove.
878 * config/mn10300/predicates.md (label_ref_operand): New.
879 (int_mode_flags): New.
880 (CCZN_comparison_operator): New.
882 * config/mn10300/mn10300.md (UNSPEC_EXT): New.
883 (throughput_42_latency_43): New reservation.
884 (mulsidi3, umulsidi3): New expanders.
885 (mulsidi3_internal): Rewrite from old mulsidi3 pattern. Expose
886 the MDR register to allocation; separately allocate the low and
887 high parts of the DImode result.
888 (umulsidi3_internal): Similarly.
889 (*am33_mulsi3, *mn10300_mulsi3): Merge into ...
890 (*mulsi3): ... here. Clobber MDR as a scratch as necessary.
891 (udivsi3, umodsi3): Remove.
892 (udivmodsi4, divmodsi4): New expanders.
893 (*udivmodsi4): Rename from udivmodsi4. Expose MDR properly.
894 (*divmodsi4): Simiarly.
897 * config/mn10300/constraints.md ("z"): New constraint.
898 * config/mn10300/mn10300.h (MDR_REGNUM): Remove.
899 (FIXED_REGISTERS): Don't fix MDR.
900 (CALL_USED_REGSITERS): Reformat nicely.
901 (REG_ALLOC_ORDER): Add MDR.
902 (enum regclass): Add MDR_REGS.
903 (REG_CLASS_NAMES, REG_CLASS_CONTENTS): Update to match.
904 (IRA_COVER_CLASSES): Add MDR_REGS.
905 (REGNO_REG_CLASS): Handle MDR_REG.
906 * config/mn10300/mn10300.c (mn10300_secondary_reload): Handle MDR_REGS.
907 (mn10300_register_move_cost): Likewise.
908 * config/mn10300/mn10300.md (MDR_REG): New.
909 (*movsi_internal): Handle moves to/from MDR_REGS.
911 * config/mn10300/mn10300.c (mn10300_print_operand_address): Handle
913 (mn10300_secondary_reload): Tidy combination reload classes.
914 (mn10300_legitimate_address_p): Allow post-modify and reg+reg
915 addresses for AM33. Allow symbolic offsets for reg+imm.
916 (mn10300_regno_in_class_p): New.
917 (mn10300_legitimize_reload_address): New.
918 * config/mn10300/mn10300.h (enum reg_class): Remove
919 DATA_OR_ADDRESS_REGS, DATA_OR_EXTENDED_REGS, ADDRESS_OR_EXTENDED_REGS,
920 SP_OR_EXTENDED_REGS, SP_OR_ADDRESS_OR_EXTENDED_REGS. Add
922 (REG_CLASS_NAMES): Update to match.
923 (REG_CLASS_CONTENTS): Likewise.
924 (INDEX_REG_CLASS): Use GENERAL_REGS for AM33.
925 (BASE_REG_CLASS): Use SP_OR_GENERAL_REGS for AM33.
926 (REGNO_IN_RANGE_P): Remove.
927 (REGNO_DATA_P): Use mn10300_regno_in_class_p.
928 (REGNO_ADDRESS_P, REGNO_EXTENDED_P): Likewise.
929 (REGNO_STRICT_OK_FOR_BASE_P): Likewise.
930 (REGNO_STRICT_OK_FOR_BIT_BASE_P): Likewise.
931 (REGNO_STRICT_OK_FOR_INDEX_P): Likewise.
932 (REGNO_SP_P, REGNO_AM33_P, REGNO_FP_P): Remove.
933 (REGNO_GENERAL_P): New.
934 (HAVE_POST_MODIFY_DISP): New.
935 (USE_LOAD_POST_INCREMENT, USE_STORE_POST_INCREMENT): New.
936 (LEGITIMIZE_RELOAD_ADDRESS): New.
937 * config/mn10300/mn10300-protos.h: Update.
939 * config/mn10300/mn10300.c (mn10300_preferred_reload_class): Allow
940 DATA_REGS for AM33 stack-pointer destination.
941 (mn10300_preferred_output_reload_class): Likewise.
942 (mn10300_secondary_reload): Rearrange mn10300_secondary_reload_class
943 into a form appropriate for ...
944 (TARGET_SECONDARY_RELOAD): New.
945 * config/mn10300/mn10300.h (SECONDARY_RELOAD_CLASS): Remove.
946 * config/mn10300/mn10300-protos.h: Update.
947 * config/mn10300/mn10300.md (reload_plus_sp_const): Rename from
948 reload_insi; use the "A" constraint for the scratch; handle AM33
949 moves of sp to non-address registers.
951 * config/mn10300/mn10300.md (*am33_movqi, *mn10300_movqi): Merge into
952 (*movqi_internal): ... here.
953 (*am33_movhi, *mn10300_movhi): Merge into...
954 (*movhi_internal): ... here.
955 (*movsi_internal): Use "r" instead of "dax" in constraints. Use "A"
956 as the source/destination of moves from/to SP.
957 (movsf): Only allow for AM33-2.
958 (*movsf_internal): Use "r" instead of "dax"; use "F" instead of
959 any integer constant constraint. Only allow for AM33-2. Tidy
960 all of the alternative outputs.
961 (movdi, movdf, *am33_2_movdf, *mn10300_movdf): Remove.
962 (udivmodsi4): Delete expander and promote *udivmodsi4. Disallow
964 (udivsi3, umodsi3): New patterns for MN103 only.
966 2011-01-19 Joern Rennecke <amylaar@spamcop.net>
968 * doc/tm.texi.in: Spell out that a lack of register class unions
970 * doc/tm.texi: Regenerate.
972 2011-01-19 Jakub Jelinek <jakub@redhat.com>
974 PR rtl-optimization/47337
975 * dce.c (check_argument_store): New function.
976 (find_call_stack_args): Ignore debug insns. Use check_argument_store.
978 PR tree-optimization/47290
979 * tree-eh.c (infinite_empty_loop_p): New function.
980 (cleanup_empty_eh): Use it.
982 2011-01-18 Steve Ellcey <sje@cup.hp.com>
985 * ia64.c (ia64_expand_unpack): Fix code for TARGET_BIG_ENDIAN.
986 (a64_expand_widen_sum): Ditto.
987 * vect.md (mulv2si3): Disable for TARGET_BIG_ENDIAN.
988 (vec_extract_evenodd_help): Ditto.
989 (vec_extract_evenv4hi): Ditto.
990 (vec_extract_oddv4hi): Ditto.
991 (vec_extract_evenv2si): Ditto.
992 (vec_extract_oddv2si): Ditto.
993 (vec_extract_evenv2sf): Ditto.
994 (vec_extract_oddv2sf): Ditto.
995 (vec_pack_trunc_v4hi: Ditto.
996 (vec_pack_trunc_v2si): Ditto.
997 (vec_interleave_lowv8qi): Fix for TARGET_BIG_ENDIAN.
998 (vec_interleave_highv8qi): Ditto.
1000 (vec_extract_oddv8qi): Ditto.
1001 (vec_interleave_lowv4hi): Ditto.
1002 (vec_interleave_highv4hi): Ditto.
1003 (vec_interleave_lowv2si): Ditto.
1004 (vec_interleave_highv2si): Ditto.
1006 2011-01-18 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
1008 * doc/extend.texi: Mention __float128 support on hppa HP-UX.
1009 * config/pa/pa-hpux.h (HPUX_LONG_DOUBLE_LIBRARY): Define to 1.
1010 * config/pa/pa.c (pa_expand_builtin): New. Include "langhooks.h".
1011 (pa_c_mode_for_suffix): New.
1012 (TARGET_EXPAND_BUILTIN): Define.
1013 (TARGET_C_MODE_FOR_SUFFIX): Define.
1014 (pa_builtins): Define.
1015 (pa_init_builtins): Register __float128 type and init new support
1017 * config/pa/pa.h (HPUX_LONG_DOUBLE_LIBRARY): Define if not defined.
1018 * config/pa/quadlib.c (_U_Qfcopysign): New.
1020 2011-01-18 Eric Botcazou <ebotcazou@adacore.com>
1023 * explow.c (allocate_dynamic_stack_space): Do not assume more than
1024 BITS_PER_UNIT alignment if STACK_DYNAMIC_OFFSET or STACK_POINTER_OFFSET
1027 2011-01-18 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1029 PR tree-optimization/47179
1030 * config/spu/spu.c (spu_ref_may_alias_errno): New function.
1031 (TARGET_REF_MAY_ALIAS_ERRNO): Define.
1033 2011-01-18 Richard Guenther <rguenther@suse.de>
1035 PR rtl-optimization/47216
1036 * emit-rtl.c: Include tree-flow.h.
1037 (set_mem_attributes_minus_bitpos): Use tree_could_trap_p instead
1038 of replicating it with different semantics.
1039 * Makefile.in (emit-rtl.o): Adjust.
1041 2011-01-18 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1043 * config/arm/cortex-a9.md (cortex-a9-neon.md): Actually
1045 (cortex_a9_dp): Handle neon types correctly.
1047 2011-01-18 Jakub Jelinek <jakub@redhat.com>
1049 PR rtl-optimization/47299
1050 * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Don't use
1051 subtarget. Use normal multiplication if both operands are
1053 * expmed.c (expand_widening_mult): Don't try to optimize constant
1054 multiplication if op0 has VOIDmode. Convert op1 constant to mode
1057 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1059 * doc/lto.texi (LTO): Ensure two spaces after period. Fix
1060 spacing after 'e.g.', typos, comma, hyphenation.
1062 2011-01-17 Richard Henderson <rth@redhat.com>
1064 * config/rx/predicates.md (rx_constshift_operand): Use match_test.
1065 (rx_restricted_mem_operand): New.
1066 (rx_shift_operand): Use register_operand.
1067 (rx_source_operand, rx_compare_operand): Likewise.
1068 * config/rx/rx.md (addsi3_flags): New expander.
1069 (adddi3): Rewrite as expander.
1070 (adc_internal, *adc_flags, adddi3_internal): New patterns.
1071 (subsi3_flags): New expander.
1072 (subdi3): Rewrite as expander.
1073 (sbb_internal, *sbb_flags, subdi3_internal): New patterns.
1075 * config/rx/rx.c (RX_BUILTIN_SAT): Remove.
1076 (rx_init_builtins): Remove sat builtin.
1077 (rx_expand_builtin): Likewise.
1078 * config/rx/rx.md (ssaddsi3): New.
1079 (*sat): Rename from sat. Represent the CC_REG input.
1081 * config/rx/predicates.md (rshift_operator): New.
1082 * config/rx/rx.c (rx_expand_insv): Remove.
1083 * config/rx/rx-protos.h: Update.
1084 * config/rx/rx.md (*bitset): Rename from bitset. Swap the ashift
1085 operand to the canonical position.
1086 (*bitset_in_memory, *bitinvert, *bitinvert_in_memory): Similarly.
1087 (*bitclr, *bitclr_in_memory): Similarly.
1088 (*insv_imm, rx_insv_reg, *insv_cond, *bmcc, *insv_cond_lt): New.
1089 (insv): Retain the zero_extract in the expansion.
1091 * config/rx/rx.md (bswapsi2): Use = not + for output reload.
1092 (bswaphi2, bitinvert, revw): Likewise.
1094 * config/rx/rx.c (gen_rx_store_vector): Use VOIDmode for gen_rtx_SET.
1095 (gen_rx_rtsd_vector, gen_rx_popm_vector): Likewise.
1096 * config/rx/rx.md (pop_and_return): Use VOIDmode for SET.
1097 (stack_push, stack_pushm, stack_pop, stack_popm): Likewise.
1098 (bitset, bitset_in_memory): Likewise.
1099 (bitinvert, bitinvert_in_memory): Likewise.
1100 (bitclr, bitclr_in_memory): Likewise.
1101 (insv, sync_lock_test_and_setsi, movstr, rx_movstr): Likewise.
1102 (rx_strend, rx_cmpstrn): Likewise.
1103 (rx_setmem): Likewise. Make the source BLKmode to match the dest.
1104 (bitop peep2 patterns): Remove.
1106 * config/rx/rx.c (rx_match_ccmode): New.
1107 * config/rx/rx-protos.h: Update.
1108 * config/rx/rx.md (abssi2): Clobber, don't set flags.
1109 (addsi3, adddi3, andsi3, negsi2, one_cmplsi2, iorsi3): Likewise.
1110 (rotlsi3, rotrsi3, ashrsi3, lshrsi3, ashlsi3): Likewise.
1111 (subsi3, subdi3, xorsi3, addsf3, divsf3, mulsf3, subsf3): Likewise.
1112 (fix_truncsfsi2, floatsisf2): Likewise.
1113 (*abssi2_flags, *addsi3_flags, *andsi3_flags, *negsi2_flags): New.
1114 (*one_cmplsi2_flags, *iorsi3_flags, *rotlsi3_flags): New.
1115 (*rotrsi3_flags, *ashrsi3_flags, *lshrsi3_flags, *ashlsi3_flags): New.
1116 (*subsi3_flags, *xorsi3_flags): New.
1118 * config/rx/rx.md (cstoresf4, *cstoresf4): New patterns.
1120 * config/rx/rx.c (rx_print_operand): Remove workaround for
1121 unsplit comparison operations.
1123 * config/rx/rx.md (movsicc): Split after reload.
1124 (*movsicc): Merge *movsieq and *movsine via match_operator.
1125 (*stcc): New pattern.
1127 * config/rx/rx.c (rx_float_compare_mode): Remove.
1128 * config/rx/rx.h (rx_float_compare_mode): Remove.
1129 * config/rx/rx.md (cstoresi4): Split after reload.
1130 (*sccc): New pattern.
1132 * config/rx/predicates.md (label_ref_operand): New.
1133 (rx_z_comparison_operator): New.
1134 (rx_zs_comparison_operator): New.
1135 (rx_fp_comparison_operator): New.
1136 * config/rx/rx.c (rx_print_operand) [B]: Examine comparison modes.
1137 Validate that the flags are set properly for the comparison.
1138 (rx_gen_cond_branch_template): Remove.
1139 (rx_cc_modes_compatible): Remove.
1140 (mode_from_flags): New.
1141 (flags_from_code): Rename from flags_needed_for_conditional.
1142 (rx_cc_modes_compatible): Re-write in terms of flags_from_mode.
1143 (rx_select_cc_mode): Likewise.
1144 (rx_split_fp_compare): New.
1145 (rx_split_cbranch): New.
1146 * config/rx/rx.md (most_cond, zs_cond): Remove iterators.
1147 (*cbranchsi4): Use match_operator and rx_split_cbranch.
1148 (*cbranchsf4): Similarly.
1149 (*cbranchsi4_tst): Rename from *tstbranchsi4_<code>. Use
1150 match_operator and rx_split_cbranch.
1151 (*cbranchsi4_tst_ext): Combine *tstbranchsi4m_eq and
1152 tstbranchsi4m_ne. Use match_operator and rx_split_cbranch.
1153 (*cmpsi): Rename from cmpsi.
1154 (*tstsi): Rename from tstsi.
1155 (*cmpsf): Rename from cmpsf; use CC_Fmode.
1156 (*conditional_branch): Rename from conditional_branch.
1157 (*reveresed_conditional_branch): Remove.
1158 (b<code>): Remove expander.
1159 * config/rx/rx-protos.h: Update.
1161 * config/rx/rx.c (rx_compare_redundant): Remove.
1162 * config/rx/rx.md (cmpsi): Don't use it.
1163 * config/rx/rx-protos.h: Update.
1165 * config/rx/rx-modes.def (CC_F): New mode.
1166 * config/rx/rx.c (rx_select_cc_mode): New.
1167 * config/rx/rx.h (SELECT_CC_MODE): Use it.
1168 * config/rx/rx-protos.h: Update.
1170 2011-01-17 Richard Henderson <rth@redhat.com>
1172 * except.c (dump_eh_tree): Fix stray ; after for statement.
1174 2011-01-17 Richard Guenther <rguenther@suse.de>
1176 PR tree-optimization/47313
1177 * tree-inline.c (tree_function_versioning): Move DECL_RESULT
1178 handling before copying the body. Properly deal with
1179 by-reference result in SSA form.
1181 2011-01-17 Ian Lance Taylor <iant@google.com>
1184 * config/sparc/sparc.c (sparc_sr_alias_set): Don't define.
1185 (struct_value_alias_set): Don't define.
1186 (sparc_option_override): Don't set sparc_sr_alias_set and
1187 struct_value_alias_set.
1188 (save_or_restore_regs): Use gen_frame_mem rather than calling
1190 (sparc_struct_value_rtx): Likewise.
1192 2011-01-17 H.J. Lu <hongjiu.lu@intel.com>
1195 * config/i386/avxintrin.h (_mm_maskload_pd): Change mask to
1197 (_mm_maskstore_pd): Likewise.
1198 (_mm_maskload_ps): Likewise.
1199 (_mm_maskstore_ps): Likewise.
1200 (_mm256_maskload_pd): Change mask to __m256i.
1201 (_mm256_maskstore_pd): Likewise.
1202 (_mm256_maskload_ps): Likewise.
1203 (_mm256_maskstore_ps): Likewise.
1205 * config/i386/i386-builtin-types.def: Updated.
1206 (ix86_expand_special_args_builtin): Likewise.
1208 * config/i386/i386.c (bdesc_special_args): Update
1209 __builtin_ia32_maskloadpd, __builtin_ia32_maskloadps,
1210 __builtin_ia32_maskloadpd256, __builtin_ia32_maskloadps256,
1211 __builtin_ia32_maskstorepd, __builtin_ia32_maskstoreps,
1212 __builtin_ia32_maskstorepd256 and __builtin_ia32_maskstoreps256.
1214 * config/i386/sse.md (avx_maskload<ssemodesuffix><avxmodesuffix>):
1215 Use <avxpermvecmode> on mask register.
1216 (avx_maskstore<ssemodesuffix><avxmodesuffix>): Likewise.
1218 2011-01-17 Olivier Hainque <hainque@adacore.com>
1219 Michael Haubenwallner <michael.haubenwallner@salomon.at>
1220 Eric Botcazou <ebotcazou@adacore.com>
1223 * xcoffout.c (ASM_OUTPUT_LINE): Output line only if positive, and only
1224 if <= USHRT_MAX in 32-bit mode.
1226 2011-01-17 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1228 * doc/install.texi (Configuration, Specific): Wrap long
1229 lines in examples. Allow line wrapping in long options
1230 and URLs where beneficial for PDF output.
1232 2011-01-16 Richard Sandiford <rdsandiford@googlemail.com>
1234 * config/mips/mips.c (mips_classify_symbol): Don't return
1235 SYMBOL_PC_RELATIVE for nonlocal labels.
1237 2011-01-15 Eric Botcazou <ebotcazou@adacore.com>
1239 * config/sparc/sol2-bi.h (CC1_SPEC): Fix typo.
1241 2011-01-15 Jan Hubicka <jh@suse.cz>
1243 PR tree-optimization/47276
1244 * ipa.c (function_and_variable_visibility): Do not try to mark alias
1245 declarations as needed.
1247 2011-01-15 Martin Jambor <mjambor@suse.cz>
1249 * common.opt (fdevirtualize): New flag.
1250 * doc/invoke.texi (Option Summary): Document it.
1251 * opts.c (default_options_table): Add devirtualize flag.
1252 * ipa-prop.c (detect_type_change): Return immediately if
1253 devirtualize flag is not set.
1254 (detect_type_change_ssa): Likewise.
1255 (compute_known_type_jump_func): Likewise.
1256 (ipa_analyze_virtual_call_uses): Likewise.
1258 2011-01-14 Martin Jambor <mjambor@suse.cz>
1260 PR tree-optimization/45934
1261 PR tree-optimization/46302
1262 * ipa-prop.c (type_change_info): New type.
1263 (stmt_may_be_vtbl_ptr_store): New function.
1264 (check_stmt_for_type_change): Likewise.
1265 (detect_type_change): Likewise.
1266 (detect_type_change_ssa): Likewise.
1267 (compute_complex_assign_jump_func): Check for dynamic type change.
1268 (compute_complex_ancestor_jump_func): Likewise.
1269 (compute_known_type_jump_func): Likewise.
1270 (compute_scalar_jump_functions): Likewise.
1271 (ipa_analyze_virtual_call_uses): Likewise.
1272 (ipa_analyze_node): Push and pop cfun, set current_function_decl.
1274 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1276 * config/i386/i386.h (CC1_CPU_SPEC_1): Don't handle -msse5.
1277 * config/i386/i386.opt (msse5): New Alias.
1279 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1281 * config/sparc/linux.h (CC1_SPEC): Remove %{sun4:} %{target:}.
1282 * config/sparc/linux64.h (CC1_SPEC): Likewise.
1283 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1284 * config/sparc/sparc.h (CC1_SPEC): Likewise.
1286 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1288 * config/sparc/linux.h (CC1_SPEC): Don't handle old equivalents of
1290 * config/sparc/linux64.h (CC1_SPEC): Likewise.
1291 * config/sparc/netbsd-elf.h (CC1_SPEC32, CC1_SPEC64): Likewise.
1292 * config/sparc/sol2-bi.h (CPP_CPU_SPEC, CC1_SPEC): Likewise.
1293 * config/sparc/sparc.h (CPP_CPU_SPEC, CC1_SPEC, ASM_CPU_SPEC):
1295 * config/sparc/t-elf (MULTILIB_MATCHES): Don't handle -mv8.
1297 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1299 * config/rs6000/vxworks.h (CC1_SPEC): Don't handle -fvec or
1302 2011-01-14 Mike Stump <mikestump@comcast.net>
1304 * config/alpha/alpha.md (umk_mismatch_args): Don't put a mode on set.
1305 * config/fr30/fr30.md: Likweise
1306 (movsi_push): Likewise.
1307 (movsi_pop): Likewise.
1308 (enter_func): Likewise.
1309 * config/moxie/moxie.md (movsi_push): Likewise.
1310 (movsi_pop): Likewise.
1312 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1314 * config/mips/linux64.h (LINK_SPEC): Remove %{bestGnum}
1315 %{no_archive} %{exact_version}.
1316 * config/mips/mips.h (LINK_SPEC): Remove %{bestGnum}.
1317 * config/mips/netbsd.h (LINK_SPEC): Remove %{bestGnum}
1318 %{no_archive} %{exact_version}.
1319 * config/mips/openbsd.h (LINK_SPEC): Likewise.
1320 * config/mips/sde.h (LINK_SPEC): Remove %{bestGnum}.
1321 * config/mips/vxworks.h: Likewise.
1323 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1325 * config/microblaze/microblaze.h (ASM_SPEC): Remove
1328 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1330 * config/m32r/little.h (CPP_ENDIAN_SPEC, CC1_ENDIAN_SPEC,
1331 ASM_ENDIAN_SPEC, LINK_ENDIAN_SPEC): Remove.
1333 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1335 * config/i386/nwld.h (LINK_SPEC): Check -nodefaultlibs not
1338 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1340 * config/cris/cris.h (ASM_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check
1342 * config/cris/linux.h (CRIS_CPP_SUBTARGET_SPEC,
1343 CRIS_CC1_SUBTARGET_SPEC, CRIS_ASM_SUBTARGET_SPEC): Check for mcpu
1345 (CRIS_LINK_SUBTARGET_SPEC): Don't generate -rpath-link options.
1346 Don't handle -shlib.
1348 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1350 * config/avr/avr.h (CPP_SPEC): Don't handle -posix.
1351 (CC1_SPEC): Don't handle -profile.
1353 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1355 * config/microblaze/microblaze.h (CC1_SPEC): Remove -gline spec.
1356 * config/mips/mips.h (CC1_SPEC): Likewise.
1358 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1360 * config/microblaze/microblaze.h (CC1_SPEC): Remove %{save-temps: }.
1361 * config/mips/mips.h (CC1_SPEC): Likewise.
1363 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1365 * config/i386/linux.h (LINK_SPEC): Don't use %{!ibcs:} conditional.
1366 * config/m32r/linux.h (LINK_SPEC): Likewise.
1367 * config/mips/linux.h (LINK_SPEC): Likewise.
1368 * config/mips/linux64.h (LINK_SPEC): Likewise.
1369 * config/sparc/linux.h (LINK_SPEC): Likewise.
1370 * config/sparc/linux64.h (LINK_ARCH32_SPEC, LINK_ARCH64_SPEC,
1371 LINK_SPEC): Likewise.
1372 * config/xtensa/linux.h (LINK_SPEC): Likewise.
1374 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1376 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove
1378 * config/lm32/uclinux-elf.h (LINK_SPEC): Likewise.
1380 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1382 * config/sparc/sp-elf.h (ASM_SPEC): Remove %{v:-V}.
1383 * config/sparc/sp64-elf.h (ASM_SPEC): Likewise.
1385 2011-01-14 Joseph Myers <joseph@codesourcery.com>
1387 * config/arm/linux-elf.h (LINUX_TARGET_LINK_SPEC): Remove %{b}.
1389 2011-01-14 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1391 * configure.ac (gcc_cv_ld_static_dynamic): Solaris 2 ld always
1392 supports -Bstatic/-Bdynamic.
1393 * configure: Regenerate.
1395 2011-01-14 Jan Hubicka <jh@suse.cz>
1396 Jack Howarth <howarth@bromo.med.uc.edu>
1399 * config/darwin.c (darwin_override_options): Honor flag_gtoggle
1400 when checking debug_info_level. Test write_symbols instead of
1401 debug_hooks->var_location when setting flag_var_tracking_uninit.
1403 2011-01-14 Richard Guenther <rguenther@suse.de>
1405 PR tree-optimization/47179
1406 * target.def (ref_may_alias_errno): New target hook.
1407 * targhooks.h (default_ref_may_alias_errno): Declare.
1408 * targhooks.c: Include tree-ssa-alias.h and tree-flow.h.
1409 (default_ref_may_alias_errno): New function.
1410 * target.h (struct ao_ref_s): Declare.
1411 * tree-ssa-alias.c: Include target.h.
1412 (call_may_clobber_ref_p_1): Use the ref_may_alias_errno target hook.
1413 * Makefile.in (tree-ssa-alias.o): Adjust dependencies.
1414 (targhooks.o): Likewise.
1415 * doc/tm.texi.in (TARGET_REF_MAY_ALIAS_ERRNO): Document.
1416 * doc/tm.texi (TARGET_REF_MAY_ALIAS_ERRNO): Copy documentation.
1418 2011-01-14 Richard Guenther <rguenther@suse.de>
1420 * tree-ssa-structalias.c (new_var_info): Use DECL_HARD_REGISTER.
1422 2011-01-14 Richard Guenther <rguenther@suse.de>
1424 PR tree-optimization/47280
1425 * tree-ssa-forwprop.c (associate_plusminus): Cleanup EH and
1427 (tree_ssa_forward_propagate_single_use_vars): Deal with
1428 CFG changes from associate_plusminus.
1430 2011-01-14 Richard Guenther <rguenther@suse.de>
1434 2011-01-11 Richard Guenther <rguenther@suse.de>
1436 PR tree-optimization/46076
1437 * tree-ssa.c (useless_type_conversion_p): Conversions from
1438 unprototyped to empty argument list function types are useless.
1440 2011-01-14 Richard Guenther <rguenther@suse.de>
1442 PR tree-optimization/47286
1443 * tree-ssa-structalias.c (new_var_info): Register variables are global.
1445 2011-01-14 Martin Jambor <mjambor@suse.cz>
1448 * tree-inline.c (expand_call_inline): Get fndecl from call graph edge.
1450 2011-01-13 Anatoly Sokolov <aesok@post.ru>
1452 * config/xtensa/xtensa.h (XTENSA_LIBCALL_VALUE, LIBCALL_VALUE,
1453 LIBCALL_OUTGOING_VALUE, FUNCTION_VALUE_REGNO_P): Remove macros.
1454 * config/xtensa/xtensa.c (xtensa_libcall_value,
1455 xtensa_function_value_regno_p): New functions.
1456 (TARGET_LIBCALL_VALUE, TARGET_FUNCTION_VALUE_REGNO_P): Define.
1458 2011-01-13 Kai Tietz <kai.tietz@onevision.com>
1461 * config/i386/cygming.h (TARGET_ASM_ASSEMBLE_VISIBILITY):
1463 * config/i386/i386-protos.h (i386_pe_assemble_visibility):
1464 New function prototype.
1465 * config/i386/winnt.c (i386_pe_assemble_visibility):
1466 Warn only if attribute was specified by user.
1468 2011-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1471 * config/rs6000/rs6000.md (floatunsdidf2): Add check for hardware
1473 (floatunsdidf2_fcfidu): Ditto.
1475 2011-01-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
1477 * config/s390/s390.c (print_operand_address): Replace 'error' with
1478 'output_operand_lossage'.
1479 (print_operand): Likewise.
1481 2011-01-13 Jeff Law <law@redhat.com>
1483 PR rtl-optimization/39077
1484 * doc/invoke.texi (max-gcse-insertion-ratio): Document.
1485 * params.h (MAX_GCSE_INSERTION_RATIO): Define.
1486 * params.def (PARAM_MAX_GCSE_INSERTION_RATIO): Define.
1487 * lcm.c (pre_edge_lcm): Properly initialize output sbitmaps.
1488 * gcse.c (prune_insertions_deletions): New function.
1489 (compute_pre_data): Use it.
1491 2011-01-13 Dodji Seketeli <dodji@redhat.com>
1494 * dwarf2out.c (prune_unused_types_mark_generic_parms_dies): New
1496 (prune_unused_types_mark): Use it.
1498 2011-01-13 Andrey Belevantsev <abel@ispras.ru>
1500 PR rtl-optimization/45352
1501 * sel-sched.c: Update copyright years.
1502 (reset_sched_cycles_in_current_ebb): Also recheck the DFA state
1503 in the advancing loop when we have issued issue_rate insns.
1505 2011-01-12 Richard Henderson <rth@redhat.com>
1507 * config/mn10300/mn10300.c (mn10300_md_asm_clobbers): New.
1508 (TARGET_MD_ASM_CLOBBERS): New.
1510 * config/mn10300/mn10300.c (mn10300_delegitimize_address): New.
1511 (TARGET_DELEGITIMIZE_ADDRESS): New.
1513 * config/mn10300/mn10300.md (UNSPEC_BSCH): New.
1514 (clzsi2, *bsch): New patterns.
1516 * config/mn10300/mn10300.md (INT): New mode iterator.
1517 (*mov<INT>_clr): New pattern, and peep2 to generate it.
1519 * config/mn10300/mn10300.c (mn10300_option_override): Force enable
1520 flag_split_wide_types.
1522 * config/mn10300/mn10300.c (mn10300_asm_trampoline_template): Remove.
1523 (mn10300_trampoline_init): Rewrite without a template, an immediate
1524 load and a direct branch.
1525 * config/mn10300/mn10300.h (TRAMPOLINE_SIZE): Reduce to 16.
1527 2011-01-12 Anatoly Sokolov <aesok@post.ru>
1529 * config/s390/s390.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
1530 * config/s390/s390-protos.h (s390_output_addr_const_extra): Remove.
1531 * config/s390/s390.c (s390_output_addr_const_extra): Make static.
1532 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
1534 2011-01-12 Kai Tietz <kai.tietz@onevision.com>
1537 * dwarfout2.c (should_emit_struct_debug): Use TYPE_MAIN_VARIANT
1540 2011-01-12 Jan Hubicka <jh@suse.cz>
1543 * gcc.c (PLUGIN_COND): Update to disable plugin unless -flto is used.
1544 (PLUGIN_COND_CLOSE): New macro.
1545 (LINK_COMMAND_SPEC): Update to use PLUGIN_COND_CLOSE.
1547 2011-01-12 Richard Guenther <rguenther@suse.de>
1550 * lto-streamer-out.c (output_gimple_stmt): Do not wrap
1551 register variables in a MEM_REF.
1553 2011-01-12 Joseph Myers <joseph@codesourcery.com>
1555 * config.gcc (arm*-*-linux*, bfin*-uclinux*, bfin*-linux-uclibc*,
1556 crisv32-*-linux* | cris-*-linux*, frv-*-*linux*, moxie-*-uclinux*,
1557 hppa*64*-*-linux*, hppa*-*-linux*, i[34567]86-*-linux* |
1558 i[34567]86-*-kfreebsd*-gnu | i[34567]86-*-knetbsd*-gnu |
1559 i[34567]86-*-gnu* | i[34567]86-*-kopensolaris*-gnu,
1560 x86_64-*-linux* | x86_64-*-kfreebsd*-gnu | x86_64-*-knetbsd*-gnu,
1561 ia64*-*-linux*, lm32-*-uclinux*, m32r-*-linux*, m32rle-*-linux*,
1562 m68k-*-uclinux*, m68k-*-linux*, microblaze*-linux*,
1563 mips64*-*-linux* | mipsisa64*-*-linux*, mips*-*-linux*,
1564 s390-*-linux*, s390x-*-linux*, sh*-*-linux*, sparc-*-linux*,
1565 sparc64-*-linux*, vax-*-linux*, xtensa*-*-linux*,
1566 am33_2.0-*-linux*): Use gnu-user.h before linux.h.
1567 * config/gnu-user.h: New. Copied from linux.h.
1568 (LINUX_TARGET_STARTFILE_SPEC): Rename to
1569 GNU_USER_TARGET_STARTFILE_SPEC.
1570 (LINUX_TARGET_ENDFILE_SPEC): Rename to
1571 GNU_USER_TARGET_ENDFILE_SPEC.
1572 (LINUX_TARGET_CC1_SPEC): Rename to GNU_USER_TARGET_CC1_SPEC.
1573 (LINUX_TARGET_LIB_SPEC): Rename to GNU_USER_TARGET_LIB_SPEC.
1574 (OPTION_GLIBC, OPTION_UCLIBC, OPTION_BIONIC,
1575 LINUX_TARGET_OS_CPP_BUILTINS, CHOOSE_DYNAMIC_LINKER1,
1576 CHOOSE_DYNAMIC_LINKER, UCLIBC_DYNAMIC_LINKER,
1577 UCLIBC_DYNAMIC_LINKER32, UCLIBC_DYNAMIC_LINKER64,
1578 BIONIC_DYNAMIC_LINKER, BIONIC_DYNAMIC_LINKER32,
1579 BIONIC_DYNAMIC_LINKER64, LINUX_DYNAMIC_LINKER,
1580 LINUX_DYNAMIC_LINKER32, LINUX_DYNAMIC_LINKER64,
1581 TARGET_C99_FUNCTIONS, TARGET_HAS_SINCOS): Remove.
1582 * config/arm/linux-eabi.h (CC1_SPEC): Use
1583 GNU_USER_TARGET_CC1_SPEC.
1584 (LIB_SPEC): Use GNU_USER_TARGET_LIB_SPEC.
1585 (STARTFILE_SPEC): Use GNU_USER_TARGET_STARTFILE_SPEC.
1586 (ENDFILE_SPEC): Use GNU_USER_TARGET_ENDFILE_SPEC
1587 * config/linux.h (NO_IMPLICIT_EXTERN_C, ASM_APP_ON, ASM_APP_OFF,
1588 LINUX_TARGET_STARTFILE_SPEC, STARTFILE_SPEC,
1589 LINUX_TARGET_ENDFILE_SPEC, ENDFILE_SPEC, LINUX_TARGET_CC1_SPEC,
1590 CC1_SPEC, CPLUSPLUS_CPP_SPEC, LINUX_TARGET_LIB_SPEC, LIB_SPEC,
1591 LINK_EH_SPEC, LINK_GCC_C_SEQUENCE_SPEC, USE_LD_AS_NEEDED): Remove.
1593 2011-01-12 Richard Guenther <rguenther@suse.de>
1596 * doc/invoke.texi (ffast-math): Document it is turned on
1599 2011-01-12 Jan Hubicka <jh@suse.cz>
1601 PR tree-optimization/47233
1602 * opts.c (common_handle_option): Disable ipa-reference with profile
1605 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
1607 * c-parser.c (c_parser_objc_at_property_declaration): Improved
1610 2011-01-12 Nicola Pero <nicola.pero@meta-innovation.com>
1612 * c-parser.c (c_lex_one_token): Updated and reindented some
1613 comments. No changes in code.
1615 2011-01-11 Ian Lance Taylor <iant@google.com>
1617 * godump.c (go_output_var): Don't output the variable if there is
1618 already a type with the same name.
1620 2011-01-11 Ian Lance Taylor <iant@google.com>
1622 * godump.c (go_format_type): Don't generate float80.
1624 2011-01-11 Richard Henderson <rth@redhat.com>
1626 * config/mn10300/mn10300.c (mn10300_address_cost): Remove forward
1627 declaration. Rewrite for both speed and size.
1628 (mn10300_address_cost_1): Remove.
1629 (mn10300_register_move_cost): New.
1630 (mn10300_memory_move_cost): New.
1631 (mn10300_rtx_costs): Rewrite for both speed and size. Don't handle
1632 ZERO_EXTRACT. Do handle UNSPEC, arithmetic, logicals, compare,
1633 extensions, shifts, BSWAP, CLZ.
1634 (mn10300_wide_const_load_uses_clr): Remove.
1635 (TARGET_REGISTER_MOVE_COST): New.
1636 (TARGET_MEMORY_MOVE_COST): New.
1637 * config/mn10300/mn10300-protos.h: Update.
1638 * config/mn10300/mn10300.h (REGISTER_MOVE_COST): Remove.
1640 * config/mn10300/constraints.md ("R", "T"): Remove constraints.
1641 * config/mn10300/mn10300.c (mn10300_mask_ok_for_mem_btst): Remove.
1642 * config/mn10300/mn10300-protos.h: Update.
1643 * config/mn10300/mn10300.md (movsi_internal): Don't use "R".
1644 (*byte_clear, *byte_set, *bit_clear1, *bit_clear2, *bit_set): Remove.
1645 (iorqi3, *am33_iorqi3, *mn10300_iorqi3): Remove.
1646 (*test_int_bitfield, *test_byte_bitfield): Remove.
1647 (*bit_test, *subreg_bit_test): Remove.
1648 * config/mn10300/predicates.md (const_8bit_operand): Remove.
1650 * config/mn10300/constraints.md ("c"): Rename from "A".
1651 ("A", "D"): New constraint letters.
1652 * config/mn10300/mn10300.md (fmasf4): Use the "c" constraint.
1653 (fmssf4, fnmasf4, fnmssf4): Likewise.
1655 * config/mn10300/mn10300.md (isa): New attribute.
1656 (enabled): New attribute.
1658 * config/mn10300/mn10300.md (absdf2, negdf2): Remove.
1659 (abssf2, negsf2): Define only for hardware fp.
1660 (sqrtsf2): Reformat.
1661 (addsf3, subsf3, mulsf3): Merge expander and insn.
1663 * config/mn10300/mn10300.h (ARG_PIONTER_CFA_OFFSET): New.
1664 (DEBUGGER_AUTO_OFFSET): Remove.
1665 (DEBUGGER_ARG_OFFSET): Remove.
1667 * config/mn10300/mn10300.c (mn10300_gen_multiple_store): Make static.
1668 Emit register stores with the same offsets as the hardware.
1669 (mn10300_store_multiple_operation): Don't check that the register
1670 save offsets are monotonic.
1671 * config/mn10300/mn10300-protos.h: Update.
1673 * config/mn10300/mn10300.h (ASM_PN_FORMAT): Delete.
1675 * config/mn10300/mn10300.h (INCOMING_RETURN_ADDR_RTX): Define
1676 in terms of the value on the stack, not the MDR register.
1678 2011-01-11 Jan Hubicka <jh@suse.cz>
1682 * tree.h (symbol_alias_set_t): Move typedef here from varasm.c
1683 (symbol_alias_set_destroy, symbol_alias_set_contains,
1684 propagate_aliases_backward): Declare.
1685 * lto-streamer-out.c (struct sets): New sturcture.
1686 (trivally_defined_alias): New function.
1687 (output_alias_pair_p): Rewrite.
1688 (output_unreferenced_globals): Fix output of alias pairs.
1689 (produce_symtab): Likewise.
1690 * ipa.c (function_and_variable_visibility): Set weak alias destination
1692 * varasm.c (symbol_alias_set_t): Remove.
1693 (symbol_alias_set_destroy): Export.
1694 (propagate_aliases_forward, propagate_aliases_backward): New functions
1696 (compute_visible_aliases): ... this one; remove.
1697 (trivially_visible_alias): New
1698 (trivially_defined_alias): New.
1699 (remove_unreachable_alias_pairs): Rewrite.
1700 (finish_aliases_1): Reorganize code checking if alias is defined.
1701 * passes.c (rest_of_decl_compilation): Do not call assemble_alias when
1704 2011-01-11 Richard Guenther <rguenther@suse.de>
1706 PR tree-optimization/46076
1707 * tree-ssa.c (useless_type_conversion_p): Conversions from
1708 unprototyped to empty argument list function types are useless.
1710 2011-01-11 Richard Guenther <rguenther@suse.de>
1713 * emit-rtl.c (set_mem_attributes_minus_bitpos): Do not mark
1714 volatile MEMs as MEM_READONLY_P.
1716 2011-01-11 Richard Guenther <rguenther@suse.de>
1718 PR tree-optimization/47239
1719 * tree-ssa-ccp.c (get_value_from_alignment): Punt for FUNCTION_DECLs.
1721 2011-01-11 Jeff Law <law@redhat.com>
1723 PR tree-optimization/47086
1724 * tree-ssa-loop-ivopts.c (find_givs_in_stmt_scev): Do not record
1725 IVs from statements that might throw.
1727 2011-01-10 Jan Hubicka <jh@suse.cz>
1730 * lto-cgraph.c (input_profile_summary): Remove overactive sanity check.
1732 2011-01-10 Jan Hubicka <jh@suse.cz>
1735 * profile.c (read_profile_edge_counts): Ignore profile inconistency
1736 when correcting profile.
1738 2011-01-10 Jan Hubicka <jh@suse.cz>
1741 * lto-streamer-out.c (pack_ts_function_decl_value_fields): Store
1743 * lto-streamer-in.c (unpack_ts_function_decl_value_fields):
1744 Restore DECL_FINI_PRIORITY.
1746 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1748 * doc/gimple.texi: Fix quoting of multi-word return values in
1749 @deftypefn statements. Ensure presence of return value. Wrap
1750 overlong @deftypefn lines.
1751 (is_gimple_operand, is_gimple_min_invariant_address): Remove
1752 descriptions of removed functions.
1753 * doc/hostconfig.texi (Host Common): Wrap long line, fix quoting
1754 of multi-word return value in @deftypefn statement.
1756 2011-01-10 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1758 * doc/gimple.texi (Temporaries, Operands, Compound Lvalues)
1759 (Conditional Expressions, Logical Operators)
1760 (Statement and operand traversals): Do not indent smallexample
1761 code. Fix duplicate function argument in example.
1763 2011-01-10 Jeff Law <law@redhat.com>
1765 PR tree-optimization/47141
1766 * ipa-split.c (split_function): Handle case where we are
1767 returning a value and the return block has a virtual operand phi.
1769 2011-01-10 Jan Hubicka <jh@suse.cz>
1771 PR tree-optimization/47234
1772 * tree-pass.h (TODO_rebuild_cgraph_edges): New TODO.
1773 (pass_feedback_split_functions): Declare.
1774 * passes.c (init_optimization_passes): Add ipa-split as subpass of
1776 * ipa-split.c (gate_split_functions): Update comments; disable
1777 split-functions for profile_arc_flag and branch_probabilities.
1778 (gate_feedback_split_functions): New function.
1779 (execute_feedback_split_functions): New function.
1780 (pass_feedback_split_functions): New global var.
1782 2011-01-10 H.J. Lu <hongjiu.lu@intel.com>
1785 * tree-inline.c (tree_can_inline_p): Check e->call_stmt before
1786 calling gimple_call_set_cannot_inline.
1788 2011-01-10 Iain Sandoe <iains@gcc.gnu.org>
1790 * config/darwin-sections.def: Remove unused section.
1792 2011-01-10 Dave Korn <dave.korn.cygwin@gmail.com>
1795 * cgraphunit.c (assemble_thunk): Call resolve_unique_section.
1797 2011-01-09 Nicola Pero <nicola.pero@meta-innovation.com>
1800 * c-parser.c (c_parser_declaration_or_fndef): Improved
1803 2011-01-09 Kai Tietz <kai.tietz@onevision.com>
1805 * config/i386/winnt.c (i386_pe_start_function): Make sure
1806 to switch back to function's section.
1808 2011-01-09 Iain Sandoe <iains@gcc.gnu.org>
1812 * plugin.c: Move include of dlfcn.h from here...
1813 * system.h: ... to here.
1815 2011-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
1817 * doc/cpp.texi (C++ Named Operators): Fix markup for header
1819 * doc/cppinternals.texi (Top): Wrap node in @ifnottex to avoid
1820 two extra empty pages in PDF output.
1822 2011-01-08 Nicola Pero <nicola.pero@meta-innovation.com>
1825 * c-parser.c (c_parser_objc_type_name): If the type is unknown,
1826 for error recovery purposes behave as if it was not specified so
1827 that the default type is usd.
1829 2011-01-07 Jan Hubicka <jh@suse.cz>
1831 PR tree-optmization/46469
1832 * ipa.c (function_and_variable_visibility): Clear needed flags on
1833 nodes with external decls; handle weakrefs merging correctly.
1835 2011-01-07 Joseph Myers <joseph@codesourcery.com>
1837 * opts.c (finish_options): Set opts->x_flag_opts_finished to true,
1840 2011-01-07 Jan Hubicka <jh@suse.cz>
1842 * doc/invoke.texi: (-flto, -fuse-linker-plugin): Update defaults
1843 and no longer claim that gold is required for linker plugin.
1844 * configure: Regenerate.
1845 * gcc.c (PLUGIN_COND): New macro.
1846 (LINK_COMMAND_SPEC): Use it.
1847 (main): Default to plugin enabled with HAVE_LTO_PLUGIN is set.
1848 * config.in (HAVE_LTO_PLUGIN): New.
1849 * configure.ac (--with-lto-plugin): New parameter; autodetect
1852 2011-01-07 Jan Hubicka <jh@suse.cz>
1854 PR tree-optimization/46367
1855 * ipa-inline.c (cgraph_clone_inlined_nodes): Use original function only
1856 when we can update original.
1857 (cgraph_mark_inline_edge): Sanity check.
1858 * ipa-prop.c (ipa_make_edge_direct_to_target): Sanity check.
1860 2011-01-07 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
1862 * config/spu/spu.h (ASM_COMMENT_START): Define.
1864 2011-01-07 H.J. Lu <hongjiu.lu@intel.com>
1868 (SWITCH_KEEP_FOR_GCC): Likewise.
1869 (set_collect_gcc_options): Check SWITCH_KEEP_FOR_GCC.
1870 (do_spec_1): Handle "%>".
1872 * config/i386/i386.h (CC1_CPU_SPEC): Replace "%<" with "%>".
1874 2011-01-07 Jakub Jelinek <jakub@redhat.com>
1877 * config/i386/i386.c (ix86_delegitimize_address): If
1878 simplify_gen_subreg fails, return orig_x.
1881 * value-prof.c (gimple_stringop_fixed_value): Handle
1882 lhs of the call properly.
1884 2011-01-07 Jan Hubicka <jh@suse.cz>
1887 * lto-opt.c (lto_reissue_options): Set flag_shlib.
1889 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
1891 * target.def (function_switched_text_sections): New hook.
1892 * doc/tm.texi: Regenerated.
1893 * doc/tm.texi.in (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
1894 * final.c (default_function_switched_text_sections): New.
1895 (final_scan_insn): Call function_switched_text_sections when a
1896 mid-function section change occurs.
1897 * output.h (default_function_switched_text_sections): Declare.
1898 * config/darwin-protos.h (darwin_function_switched_text_sections):
1900 * config/darwin.c (darwin_function_switched_text_sections): New.
1901 * config/darwin.h (TARGET_ASM_FUNCTION_SWITCHED_TEXT_SECTIONS): New.
1903 2011-01-07 Iain Sandoe <iains@gcc.gnu.org>
1905 * dwarf2out.c (gen_subprogram_die): Add pubnames with code ranges for
1906 DWARF >= 3. Add pubnames for the primary section and a reduced DIE for
1907 the secondary code fragment when outputting for DWARF == 2.
1909 2011-01-07 Anatoly Sokolov <aesok@post.ru>
1911 * config/xtensa/xtensa.h (OUTPUT_ADDR_CONST_EXTRA): Remove.
1912 * config/xtensa/xtensa-protos.h (xtensa_output_addr_const_extra):
1914 * config/xtensa/xtensa.c (xtensa_output_addr_const_extra): Make static.
1915 (TARGET_ASM_OUTPUT_ADDR_CONST_EXTRA): Define.
1917 2011-01-06 Eric Botcazou <ebotcazou@adacore.com>
1920 * dwarf2out.c (dwarf2out_finish): Output the debug_aranges section only
1921 when it is not empty.
1923 2011-01-06 Changpeng Fang <changpeng.fang@amd.com>
1926 * config.gcc (i[34567]86-*-linux* | ...): Add btver1.
1927 (case ${target}): Add btver1.
1928 * config/i386/driver-i386.c (host_detect_local_cpu): Let
1929 -march=native recognize btver1 processors.
1930 * config/i386/i386-c.c (ix86_target_macros_internal): Add
1931 btver1 def_and_undef
1932 * config/i386/i386.c (struct processor_costs btver1_cost): New
1934 (m_BTVER1): New definition.
1935 (m_AMD_MULTIPLE): Includes m_BTVER1.
1936 (initial_ix86_tune_features): Add btver1 tune.
1937 (processor_target_table): Add btver1 entry.
1938 (static const char *const cpu_names): Add btver1 entry.
1939 (software_prefetching_beneficial_p): Add btver1.
1940 (ix86_option_override_internal): Add btver1 instruction sets.
1941 (ix86_issue_rate): Add btver1.
1942 (ix86_adjust_cost): Add btver1.
1943 * config/i386/i386.h (TARGET_BTVER1): New definition.
1944 (enum target_cpu_default): Add TARGET_CPU_DEFAULT_btver1.
1945 (enum processor_type): Add PROCESSOR_BTVER1.
1946 * config/i386/i386.md (define_attr "cpu"): Add btver1.
1948 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1951 * config/i386/i386.c (legitimize_tls_address)
1952 <TLS_MODEL_INITIAL_EXEC>: Handle TARGET_64BIT && TARGET_SUN_TLS.
1953 * config/i386/i386.md (UNSPEC_TLS_IE_SUN): Declare.
1954 (tls_initial_exec_64_sun): New pattern.
1956 2011-01-06 Gerald Pfeifer <gerald@pfeifer.com>
1958 * doc/invoke.texi (Overall Options): Improve wording and markup
1959 of the description of -wrapper.
1961 2011-01-06 Joseph Myers <joseph@codesourcery.com>
1963 * config/sol2.opt (G, YP,, Ym,, compat-bsd, pthread, pthreads,
1964 rdynamic, threads): New Driver options.
1966 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1969 * config/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Also switch to .bss
1970 if coming from .tdata.
1971 * config/i386/sol2-10.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
1973 2011-01-06 Jan Hubicka <jh@suse.cz>
1976 * collect2.c (main): Do not enable LTOmode when plugin is active.
1978 2011-01-06 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1981 * configure.ac (gcc_cv_as_gnu_unique_object): Only use ldd
1982 --version output if supported.
1983 * configure: Regenerate.
1985 2011-01-06 Joseph Myers <joseph@codesourcery.com>
1987 * config/linux-android.opt (tno-android-cc, tno-android-ld): New
1990 2011-01-06 Jakub Jelinek <jakub@redhat.com>
1993 * c-convert.c (convert): When converting a complex expression
1994 other than COMPLEX_EXPR to a different complex type, ensure
1995 c_save_expr is called instead of save_expr, unless in_late_binary_op.
1996 * c-typeck.c (convert_for_assignment): Set in_late_binary_op also
1997 when converting COMPLEX_TYPE.
1999 2011-01-06 Ira Rosen <irar@il.ibm.com>
2001 PR tree-optimization/47139
2002 * tree-vect-loop.c (vect_is_simple_reduction_1): Check that
2003 only the last reduction value is used outside the loop. Update
2006 2011-01-05 Joseph Myers <joseph@codesourcery.com>
2008 * config/rtems.opt: New.
2009 * config.gcc (*-*-rtems*): Use rtems.opt.
2011 2011-01-05 Changpeng Fang <changpeng.fang@amd.com>
2013 * config/i386/i386.c (ix86_option_override_internal): Bulldozer
2014 processors do not support 3DNow instructions.
2016 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2018 * config/spu/spu.c (spu_option_override): Set parameter
2019 PARAM_MAX_COMPLETELY_PEEL_TIMES to 4 instead of 1.
2021 2011-01-05 Jan Hubicka <jh@suse.cz>
2023 * lto-wrapper.c (run_gcc): Default to WHOPR mode when none is specified
2024 at the command line.
2026 2011-01-05 Martin Jambor <mjambor@suse.cz>
2029 * lto-cgraph.c (output_cgraph_opt_summary_p): Also check for thunk
2030 deltas on streamed outgoing edges.
2031 (output_node_opt_summary): Output info for outgoing edges only when
2032 the node is in new parameter set.
2033 (output_cgraph_opt_summary): New parameter set, passed to the two
2034 aforementioned functions. Update its forward declaration and its
2037 2011-01-05 Tom Tromey <tromey@redhat.com>
2039 * c-parser.c (c_parser_omp_atomic): Pass location of assignment
2040 operator to c_finish_omp_atomic.
2041 * c-typeck.c (lvalue_or_else): Add 'loc' argument.
2042 (build_unary_op): Update.
2043 (build_modify_expr): Update.
2044 (build_asm_expr): Update.
2046 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2048 * config/spu/spu.c (emit_nop_for_insn): Set INSN_LOCATOR for
2049 newly inserted insns.
2051 (spu_emit_branch_hint): Likewise.
2052 (insert_hbrp_for_ilb_runout): Likewise.
2053 (spu_machine_dependent_reorg): Call df_finish_pass after
2054 schedule_insns returns.
2056 2011-01-05 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2058 * config/spu/spu.c (spu_expand_prologue): Support -fstack-usage.
2060 2011-01-05 Eric Botcazou <ebotcazou@adacore.com>
2062 PR tree-optimization/47005
2063 * tree-sra.c (struct access): Add 'non_addressable' bit.
2064 (create_access): Set it for a DECL_NONADDRESSABLE_P field.
2065 (decide_one_param_reduction): Return 0 if the parameter is passed by
2066 reference and one of the accesses in the group is non_addressable.
2068 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
2070 PR tree-optimization/47056
2071 * cgraphbuild.c (mark_address): Remove ATTRIBUTE_UNUSED markers.
2072 (mark_load): Likewise. Handle FUNCTION_DECL specially.
2073 (mark_store): Likewise. Pass STMT to ipa_record_reference.
2075 2011-01-04 Eric Botcazou <ebotcazou@adacore.com>
2077 * dwarf2out.c (rtl_for_decl_init): Strip no-op conversions off the
2078 initializer. Skip view conversions from aggregate types.
2080 2011-01-04 Kai Tietz <kai.tietz@onevision.com>
2083 * libgcov.c (gcov_exit): Check for HAS_DRIVE_SPEC.
2085 2011-01-04 Philipp Thomas <pth@suse.de>
2087 * config/microblaze/microbalse.opt (mxl-float-convert): Fix
2090 2011-01-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2092 * function.c (thread_prologue_and_epilogue_insns): Do not crash
2093 on empty epilogue sequences.
2095 2011-01-04 Joseph Myers <joseph@codesourcery.com>
2097 * config/vxworks.opt (Bdynamic, Bstatic, Xbind-lazy, Xbind-now,
2098 non-static): New Driver options.
2100 2011-01-04 Jie Zhang <jie@codesourcery.com>
2103 * gcc.c (default_compilers[]): Set combinable field to 0
2104 for all assembly languages.
2106 2011-01-04 Mingjie Xing <mingjie.xing@gmail.com>
2108 * config/mips/loongson3a.md: New file.
2109 * config/mips/mips.md: Include loongson3a.md.
2110 * config/mips/mips.c (mips_multipass_dfa_lookahead): Return 4 when
2113 2011-01-03 Eric Botcazou <ebotcazou@adacore.com>
2116 * expr.c (expand_expr_real_1) <MEM_REF>: Call memory_address_addr_space
2117 instead of convert_memory_address_addr_space on the base expression.
2119 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2121 * config/spu/spu.c (spu_option_override): Update error text
2122 for bad -march= / -mtune= values.
2124 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2126 * config/spu/spu.c (asm_file_start): Only reset flag_var_tracking
2127 if branch-hint optimization will be performed.
2129 2011-01-03 Jakub Jelinek <jakub@redhat.com>
2131 PR tree-optimization/47148
2132 * ipa-split.c (split_function): Convert arguments to
2133 DECL_ARG_TYPE if possible.
2135 PR tree-optimization/47155
2136 * tree-ssa-ccp.c (bit_value_binop_1): Use r1type instead of type
2139 PR rtl-optimization/47157
2140 * combine.c (try_combine): If undobuf.other_insn becomes
2141 (set (pc) (pc)) jump, call update_cfg_for_uncondjump on it
2142 and set *new_direct_jump_p too.
2144 2011-01-03 Sebastian Pop <sebastian.pop@amd.com>
2146 PR tree-optimization/47021
2147 * graphite-sese-to-poly.c (scan_tree_for_params): Handle ADDR_EXPR.
2149 2011-01-03 Jakub Jelinek <jakub@redhat.com>
2151 * gcc.c (process_command): Update copyright notice dates.
2152 * gcov.c (print_version): Likewise.
2153 * gcov-dump.c (print_version): Likewise.
2154 * mips-tfile.c (main): Likewise.
2155 * mips-tdump.c (main): Likewise.
2157 2011-01-03 Martin Jambor <mjambor@suse.cz>
2159 PR tree-optimization/46801
2160 * tree-sra.c (type_internals_preclude_sra_p): Check whether
2161 aggregate fields start at byte boundary instead of the bit-field flag.
2163 2011-01-03 H.J. Lu <hongjiu.lu@intel.com>
2166 * gcc.c (main): Revert revision 168407.
2168 2011-01-03 Martin Jambor <mjambor@suse.cz>
2170 * lto-cgraph.c (input_cgraph_opt_section): Use the correct section type.
2172 2011-01-03 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
2174 * tree-vect-generic.c (expand_vector_operations_1): When using vector/
2175 vector optab to expand vector/scalar shift, update gimple to vector.
2177 2011-01-03 Martin Jambor <mjambor@suse.cz>
2179 * cgraphunit.c (verify_cgraph_node): Verify there is no direct call to
2182 2011-01-03 Martin Jambor <mjambor@suse.cz>
2184 PR tree-optimization/46984
2185 * cgraph.h (cgraph_indirect_call_info): make field thunk_delta
2187 (cgraph_create_indirect_edge): Fixed line length.
2188 (cgraph_indirect_call_info): Declare.
2189 (cgraph_make_edge_direct) Update declaration.
2190 * cgraph.c (cgraph_allocate_init_indirect_info): New function.
2191 (cgraph_create_indirect_edge): Use it.
2192 (cgraph_make_edge_direct): Made delta HOST_WIDE_INT. Updated all
2194 * cgraphunit.c (cgraph_redirect_edge_call_stmt_to_callee): Update for
2195 the new thunk_delta representation.
2196 * ipa-prop.c (ipa_make_edge_direct_to_target): Convert delta to
2198 (ipa_write_indirect_edge_info): Remove streaming of thunk_delta.
2199 (ipa_read_indirect_edge_info): Likewise.
2200 * lto-cgraph.c (output_edge_opt_summary): New function.
2201 (output_node_opt_summary): Call it on all outgoing edges.
2202 (input_edge_opt_summary): New function.
2203 (input_node_opt_summary): Call it on all outgoing edges.
2205 2011-01-02 H.J. Lu <hongjiu.lu@intel.com>
2208 * gcc.c (main): Don't check have_o when settting combine_inputs.
2210 2011-01-02 Eric Botcazou <ebotcazou@adacore.com>
2212 * regrename.c: Add general comment describing the pass.
2213 (struct du_head): Remove 'length' field.
2214 (get_element, merge_sort_comparison, merge, sort_du_head): Remove.
2215 (regrename_optimize): Do not sort chains. Rework comments, add others.
2216 Force renaming to the preferred class (if any) in the first pass and do
2217 not consider registers that belong to it in the second pass.
2218 (create_new_chain): Do not set 'length' field.
2219 (scan_rtx_reg): Likewise.
2221 2011-01-02 Jakub Jelinek <jakub@redhat.com>
2223 PR tree-optimization/47140
2224 * tree-ssa-ccp.c (evaluate_stmt): For binary assignments, use
2225 TREE_TYPE (lhs) instead of TREE_TYPE (rhs1) as second argument
2228 PR rtl-optimization/47028
2229 * cfgexpand.c (gimple_expand_cfg): Insert entry edge insertions after
2230 parm_birth_insn instead of at the beginning of first bb.
2232 2011-01-02 Mingjie Xing <mingjie.xing@gmail.com>
2234 * doc/generic.texi: Remove duplicated "@subsubsection Statements".
2235 Remove the word "see" before "@pxref".
2236 * doc/rtl.texi: Remove the word "see" before "@pxref".
2238 2011-01-01 Jan Hubicka <jh@suse.cz>
2240 * tree-loop-distribution.c (tree_loop_distribution): Do not use freed
2243 2011-01-01 Kai Tietz <kai.tietz@onevision.com>
2246 * tree.c (type_hash_eq): Call language hook for METHOD_TYPEs, too.
2249 Copyright (C) 2011 Free Software Foundation, Inc.
2251 Copying and distribution of this file, with or without modification,
2252 are permitted in any medium without royalty provided the copyright
2253 notice and this notice are preserved.