1 2015-01-15 Eric Botcazou <ebotcazou@adacore.com>
3 * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
4 set the memory attributes in all cases but clear MEM_EXPR if need be.
6 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
8 PR tree-optimization/64434
9 * cfgexpand.c (reorder_operands): New function.
10 (expand_gimple_basic_block): Insert call of reorder_operands if
13 2015-01-15 Matthew Fortune <matthew.fortune@imgtec.com>
15 * config/mips/micromips.md (*swp): Remove explicit parallel.
16 (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
17 * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
18 (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
19 (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
20 (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
21 (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
22 (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
23 (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
24 (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
25 (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
26 (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
27 (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
28 (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
29 (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
30 (mips_wrdsp): Likewise.
31 * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
33 (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
34 (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
35 (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
36 (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
37 (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
38 (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
39 * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
40 (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
41 (ssmaddsqdq4, ssmsubsqdq4): Likewise.
43 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
45 * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
46 (mips_print_operand): Support 'y' to print exact log2 in decimal
48 * config/mips/mips.h (ISA_HAS_LSA): New define.
49 (ISA_HAS_DLSA): Likewise.
50 * config/mips/mips.md (<GPR:d>lsa): New define_insn.
51 * config/mips/predicates.md (const_immlsa_operand): New predicate.
53 2015-01-15 Martin Liska <mliska@suse.cz>
56 * optc-save-gen.awk: Add support for array types.
58 2015-01-15 Richard Biener <rguenther@suse.de>
61 * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
62 for MEM_REF access functions with the same base can never partially
65 2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com>
67 * common.opt: New option -fstack-protector-explicit.
68 * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
69 (stack_protect_decl_phase): Handle stack_protect attribute for
70 explicit stack protection requests.
71 (expand_used_vars): Similarly.
72 * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
73 * doc/extend.texi: Add documentation for "stack_protect" attribute.
74 * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
76 2015-01-14 Oleg Endo <olegendo@gcc.gnu.org>
79 * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
81 (sh_extending_set_of_reg): New struct.
82 (sh_find_extending_set_of_reg, sh_split_tst_subregs,
83 sh_remove_reg_dead_or_unused_notes): New Declarations.
84 * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
85 sh_find_extending_set_of_reg, sh_split_tst_subregs,
86 sh_extending_set_of_reg::use_as_extended_reg): New functions.
87 * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
88 convert to insn_and_split and use new function sh_split_tst_subregs.
90 2015-01-14 Sandra Loosemore <sandra@codesourcery.com>
92 * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
94 (Optimization Options): Move -fuse-ld documentation to...
95 (Link Options): ...here.
97 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
99 * config/mips/constraints.md (ZC): Add support for R6 LL/SC
101 (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
102 * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
103 (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
104 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
105 instead of ZR for the memory operand of LL/SC.
106 (compare_and_swap_12, sync_add<mode>): Likewise.
107 (sync_<optab>_12, sync_old_<optab>_12): Likewise.
108 (sync_new_<optab>_12, sync_nand_12): Likewise.
109 (sync_old_nand_12, sync_new_nand_12): Likewise.
110 (sync_sub<mode>, sync_old_add<mode>): Likewise.
111 (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
112 (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
113 (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
114 (sync_nand<mode>, sync_old_nand<mode>): Likewise.
115 (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
116 (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
117 (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
118 * doc/md.texi (ZC): Update description.
120 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
122 * builtins.c (expand_builtin_atomic_exchange): Remove error when
123 memory model is CONSUME.
124 (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
125 expand_builtin_atomic_store): Change invalid memory model errors to
127 (expand_builtin_atomic_clear): Change invalid model errors to warnings
128 and issue warning for CONSUME.
130 2015-01-14 Aldy Hernandez <aldyh@redhat.com>
132 * lto-cgraph: Update function comments for
133 lto_symtab_encoder_encode_*.
135 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
137 * Makefile.in (site.exp): Do not set ENABLE_LTO.
139 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
141 * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
142 * lto-cgraph.c (select_what_to_stream): Remove argument, use
143 lto_stream_offload_p instead.
144 * lto-streamer.h (select_what_to_stream): Remove argument.
145 * passes.c (ipa_write_summaries): Likewise.
146 * tree-pass.h (ipa_write_summaries): Likewise.
148 2015-01-14 Richard Biener <rguenther@suse.de>
150 PR tree-optimization/59354
151 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
152 groups larger than the slp group size as having gaps.
154 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
157 * builtins.c (get_memmodel): Promote consume to acquire always.
159 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
162 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
165 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
168 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
170 (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
171 * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
172 AVX512VBMI, as it implies AVX512BW.
174 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
177 * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
178 (vec_unpacks_hi_v16sf): Ditto.
180 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
182 * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
185 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
187 * doc/invoke.texi (mapcs): Mention deprecation.
188 (mapcs-frame): Likewise.
190 2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
193 * config/arm/arm.c (callee_saved_reg_p): Define.
194 (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
195 register is callee saved instead of !call_used_regs[reg].
196 (thumb1_compute_save_reg_mask): Likewise.
198 2015-01-14 Hale Wang <hale.wang@arm.com>
200 * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
203 2015-01-14 Richard Biener <rguenther@suse.de>
206 * tree-inline.c (insert_debug_decl_map): Check destination
207 function MAY_HAVE_DEBUG_STMTS.
208 (insert_init_debug_bind): Likewise.
209 (insert_init_stmt): Remove redundant check.
210 (remap_gimple_stmt): Drop debug stmts if the destination
211 function has var-tracking assignments disabled.
213 2015-01-14 Martin Liska <mliska@suse.cz>
215 * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
216 IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
218 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
221 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
222 (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
224 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
226 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
227 level from an ARCH; do not inject the default.
228 (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
230 (MIPS_ISA_NAN2008_SPEC): Update comment.
231 (BASE_DRIVER_SELF_SPECS): Likewise.
232 * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
233 MIPS_DEFAULT_ISA_LEVEL_SPEC.
234 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
235 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
236 * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
238 2015-01-14 Richard Biener <rguenther@suse.de>
240 PR tree-optimization/64493
241 PR tree-optimization/64495
242 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
243 assign the proper vectorized PHI to the inner loop exit PHIs.
245 2015-01-14 Joey Ye <joey.ye@arm.com>
247 * config/arm/arm.c (arm_compute_save_reg_mask):
248 Do not save lr in case of tail call.
249 * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
251 2015-01-13 Martin Uecker <uecker@eecs.berkeley.edu>
253 * tree-vrp.c (check_array_ref): Emit more warnings
254 for warn_array_bounds >= 2.
255 * common.opt: New option -Warray-bounds=.
256 * doc/invoke.texi: Document -Warray-bounds=.
258 2015-01-14 Chung-Ju Wu <jasonwucj@gmail.com>
260 * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
261 (mforbid-fp-as-gp): Remove.
263 * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
264 (nds32_symbol_load_store_p): Remove.
265 (nds32_fp_as_gp_check_available): Clean up implementation.
266 * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
268 * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
269 fp-as-gp and ex9 cases.
271 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
273 * tree-profile.c (init_ic_make_global_vars): Drop workaround
274 for bintuils bug 14342.
275 (init_ic_make_global_vars): Likewise.
276 (gimple_init_edge_profiler): Likewise.
277 (gimple_gen_ic_func_profiler): Likewise.
279 2015-01-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
281 * ipa-inline.c (inline_small_functions): Swap the operands in
284 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
287 * ipa-inline-analysis.c (node_growth_cache): Remove.
288 (initialize_growth_caches): Do not initialize it.
289 (free_growth_caches): Do not free it.
290 (do_estimate_growth): Rename to ...
291 (estimate_growth): ... this one; drop growth cache code.
292 (growth_likely_positive): Always go the heuristics way.
293 * ipa-inline.c (can_inline_edge_p): Walk through aliases.
294 (reset_edge_caches): Do not reset node growth.
295 (heap_edge_removal_hook): Do not maintain cache.
296 (inline_small_functions): Likewise; strenghten sanity check.
297 (ipa_inline): Do not maintain caches.
298 * ipa-inline.h (node_growth_cache): Remove.
299 (do_estimate_growth): Remove to ...
300 (estimate_growth): this one; remove inline version.
301 (reset_node_growth_cache): Remove.
303 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
306 * ipa-inline.c (inline_small_functions): Update callee keys after
307 resolving speculation
308 (inline_small_functions): Always check monotonicity of the queue.
310 2015-01-13 Marek Polacek <polacek@redhat.com>
313 * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
315 2015-01-13 Jakub Jelinek <jakub@redhat.com>
317 PR rtl-optimization/64286
318 * ree.c (combine_reaching_defs): Move part of comment earlier,
319 remove !SCALAR_INT_MODE_P check.
320 (add_removable_extension): Don't add vector mode
321 extensions if all uses of the source register aren't the same
324 2015-01-13 Renlin Li <renlin.li@arm.com>
326 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
327 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
329 2015-01-13 Martin Liska <mliska@suse.cz>
331 * ipa-icf.c (sem_function::equals_private): Call new functions
332 cl_target_option_print_diff and cl_optimization_print_diff.
333 * optc-save-gen.awk (cl_target_option_print_diff): New function.
334 (cl_optimization_print_diff): Likewise.
335 * opth-gen.awk: Likewise.
337 2015-01-13 Richard Sandiford <richard.sandiford@arm.com>
339 * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
340 (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
341 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
342 (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
343 (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
344 (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
346 2015-01-13 Andrew Pinski <apinski@cavium.com>
348 * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
351 2015-01-13 Richard Biener <rguenther@suse.de>
354 * lto-streamer-out.c (tree_is_indexable): Guard for NULL
357 2015-01-13 Andrew Pinski <apinski@cavium.com>
359 * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
361 (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
363 2015-01-13 Jakub Jelinek <jakub@redhat.com>
366 * cfgexpand.c (expand_computed_goto): Don't call
367 convert_memory_address here.
369 2015-01-13 Richard Biener <rguenther@suse.de>
371 PR tree-optimization/64406
372 * tree-loop-distibution.c (pass_loop_distribution::execute):
373 Reset the SCEV hashtable if we distributed anything.
375 2015-01-13 Richard Biener <rguenther@suse.de>
377 PR tree-optimization/64404
378 * tree-vect-stmts.c (vectorizable_load): Reject conflicting
379 SLP types for CSEd loads.
381 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
383 PR tree-optimization/64436
384 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
385 merge of two symbolic numbers for a bitwise OR to ...
386 (perform_symbolic_merge): This. Also fix computation of the range and
387 end of the symbolic number corresponding to the result of a bitwise OR.
389 2014-01-13 Richard Biener <rguenther@suse.de>
391 PR tree-optimization/64568
392 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
393 release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
395 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
397 * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
398 TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
400 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
402 * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
403 target-specific symbol_ref flag.
404 (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
405 resides in rodata section.
406 * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
407 (nds32_encode_section_info): New function.
409 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
411 * config/nds32/nds32.md (call): Use pseudo instruction bal which
412 clobbers TA_REGNUM if large code model is specified.
413 (call_register): Likewise.
414 (call_immediate): Likewise.
415 (call_value): Likewise.
416 (call_value_register): Likewise.
417 (call_value_immediate): Likewise.
419 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
421 * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
422 (TARGET_CMODEL_MEDIUM): New macro.
423 (TARGET_CMODEL_LARGE): New macro.
424 * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
425 code model setting in assembly code.
427 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
429 * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
430 Remove MASK_GP_DIRECT flag.
431 * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
432 one of the multilib default options.
433 * config/nds32/nds32.opt (mgp-direct): Remove.
434 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
435 -mgp-direct. We also remove unnecessary -mlittle-endian/-mbig-endian.
437 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
439 * config/nds32/nds32.opt (mcmodel): Add new option.
440 * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
441 to describe code model.
443 2015-01-13 Oleg Endo <olegendo@gcc.gnu.org>
446 * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
448 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
450 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
451 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
452 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
453 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
454 __builtin_sh_set_fpscr.
456 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
458 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
459 after a funtion name just to indicate it is a function.
460 ([-fsanitize-undefined-trap-on-error]): Likewise.
461 ([-fdbg-cnt=]): Likewise.
462 ([-mmemcpy]): Likewise.
463 ([-mflush-func]): Likewise.
464 ([-msynci]): Likewise.
466 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
468 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
471 2015-01-12 Jakub Jelinek <jakub@redhat.com>
473 PR tree-optimization/64563
474 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
475 instead of != VR_VARYING.
478 * config/i386/i386.c (ix86_expand_prologue): Add
479 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
481 PR tree-optimization/64454
482 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
483 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
484 for signed or [0, op1 - 1] for unsigned modulo.
485 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
486 even if op1 does not satisfy integer_pow2p.
489 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
491 2015-01-12 Jeff Law <law@redhat.com>
494 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
495 (trunchiqi2, truncsihi2): Similarly.
497 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
498 rather than calling F.
500 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
502 * tsan.c (instrument_expr): Use force_gimple_operand.
503 Use may_be_nonaddressable_p instead of is_gimple_addressable.
505 2015-01-12 Richard Biener <rguenther@suse.de>
507 PR tree-optimization/64530
508 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
511 2015-01-12 Richard Biener <rguenther@suse.de>
514 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
517 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
519 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
520 Cortex-A17 tuning parameters.
521 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
523 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
525 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
526 * config/arm/arm.c (arm_macro_fusion_p): New function.
527 (arm_macro_fusion_pair_p): Likewise.
528 (TARGET_SCHED_MACRO_FUSION_P): Define.
529 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
530 (ARM_FUSE_NOTHING): Likewise.
531 (ARM_FUSE_MOVW_MOVT): Likewise.
532 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
533 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
534 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
535 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
536 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
537 arm_cortex_a5_tune): Specify fuseable_ops value.
539 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
542 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
543 test for PIE with copy reloc.
544 * configure: Regenerated.
546 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
548 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
550 (arm_tls_descseq_addr): Likewise.
551 (arm_gen_movmemqi): Likewise.
552 (arm_expand_epilogue_apcs_frame): Likewise.
553 (arm_expand_epilogue): Likewise.
554 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
557 2015-01-12 Martin Liska <mliska@suse.cz>
560 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
561 volatility for correct operands.
563 2015-01-12 Martin Liska <mliska@suse.cz>
565 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
566 that a function is not leaf.
567 (sem_function::compare_polymorphic_p): Likewise.
569 2015-01-12 Martin Liska <mliska@suse.cz>
571 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
572 that a function is not leaf.
573 (sem_function::compare_polymorphic_p): Likewise.
575 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
577 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
578 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
579 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
580 fold-const.h, tree-check.h.
582 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
586 * ipa-inline.c (compute_uninlined_call_time,
587 compute_inlined_call_time): Use counts for extra precision when
589 (big_speedup_p): Fix formating.
590 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
591 (relative_time_benefit): Remove.
592 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
593 merge guessed and read profile paths.
594 (inline_small_functions): Count only !optimize_size functions into
595 initial size; be more lax about sanity check when profile is used;
596 be sure to update inlined function profile when profile is read.
598 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
601 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
602 cost when edge becomes direct.
603 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
604 is resolved or when introducing new speculation.
606 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
610 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
611 '||' to fix typo issue.
613 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
614 accept and return NULL.
616 2015-01-12 Martin Liska <mliska@suse.cz>
618 * cgraph.c (cgraph_edge::remove_callee): Move function to header
619 file for being inlined.
620 (cgraph_set_edge_callee): Delete.
621 (cgraph_edge::redirect_callee): Move function to header file
623 (cgraph_edge::make_direct): Use new function.
624 (cgraph_edge::dump_edge_flags): New function created from
625 static dump_edge_flags function.
626 (cgraph_node::dump): Use new function.
627 (cgraph_edge::verify_count_and_frequency): New function created
628 from verify_edge_count_and_frequency.
629 (cgraph_edge::verify_corresponds_to_fndecl): New function created
630 from verify_edge_corresponds_to_fndecl.
631 (verify_edge_corresponds_to_fndecl): Delete.
632 (cgraph_node::verify_node): Use new function.
633 * cgraph.h (cgraph_edge::set_callee): New function.
634 (cgraph_edge::dump_edge_flags): Likewise.
635 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
637 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
639 * ipa-utils.c (estimate_function_body_sizes): Do not
640 free node params when called late with early=true.
642 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
644 * doc/md.texi (Instruction Patterns): Rewrite text for
648 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
650 * doc/invoke.texi (Option Summary): Break long lines.
651 [(-fdiagnostics-color)]: Put long literal in @smallexample
653 [(-fsanitize-recover)]: Likewise.
654 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
655 [(-ffast-math)]: Likewise.
656 [(--param max-inline-insns-recursive)]: Likewise.
657 [(--param max-inline-recursive-depth)]: Likewise.
658 [(-mno-text-section-literals)]: Likewise.
660 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
662 * doc/install.texi: Update for libgomp being renamed from "GNU
663 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
665 * doc/sourcebuild.texi: Likewise.
667 2015-01-10 Anthony Green <green@moxielogic.com>
669 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
670 mul.x availability for moxiebox configuration.
672 2015-01-09 Anthony Green <green@moxielogic.com>
674 * config/moxie/moxie.md: Tabify assembly output.
676 2015-01-09 Anthony Green <green@moxielogic.com>
678 * config/moxie/moxie.md (CC_REG): Correct register definition.
680 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
682 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
683 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
686 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
688 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
690 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
691 Jakub Jelinek <jakub@redhat.com>
694 * lto-streamer.h (lto_stream_offload_p): New declaration.
695 * lto-streamer.c (lto_stream_offload_p): New variable.
696 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
697 at the same time as section_name_prefix.
698 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
699 if lto_stream_offload_p.
700 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
701 stream TREE_TARGET_OPTION if lto_stream_offload_p.
702 (write_ts_function_decl_tree_pointers): Don't
703 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
704 * tree-streamer-in.c (unpack_value_fields): Don't stream
705 TREE_TARGET_OPTION in if ACCEL_COMPILER.
706 (lto_input_ts_function_decl_tree_pointers): Don't stream
707 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
708 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
709 instead of section_name_prefix string comparisons.
711 2015-01-09 Jakub Jelinek <jakub@redhat.com>
713 PR rtl-optimization/64536
714 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
717 2015-01-09 Michael Collison <michael.collison@linaro.org>
719 * genattrtab.c (write_header): Include hash-set.h, machmode.h,
720 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
721 fold-const.h, wide-int.h, and inchash.h when generating
723 * genautomata.c (main) : Include hash-set.h, macInclude hash-set.h, machmode.h,
724 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
725 fold-const.h, wide-int.h, and inchash.h when generating
727 * genemit.c (main): Include hash-set.h, machmode.h,
728 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
729 fold-const.h, wide-int.h, and inchash.h when generating
731 * gengtype.c (open_base_files): Include hash-set.h, machmode.h,
732 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
733 fold-const.h, wide-int.h, and inchash.h when generating
735 * genopinit.c (main): Include hash-set.h, machmode.h,
736 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
737 fold-const.h, wide-int.h, and inchash.h when generating
739 * genoutput.c (output_prologue): Include hash-set.h, machmode.h,
740 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
741 fold-const.h, wide-int.h, and inchash.h when generating
743 * genpeep.c (main): Include hash-set.h, machmode.h,
744 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
745 fold-const.h, wide-int.h, and inchash.h when generating
747 * genpreds.c (write_insn_preds_c): Include hash-set.h, machmode.h,
748 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
749 fold-const.h, wide-int.h, and inchash.h when generating
751 * optc-save-gen-awk: Include hash-set.h, machmode.h,
752 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
753 fold-const.h, wide-int.h, and inchash.h when generating
755 * opth-gen.awk: Change include guard from GCC_C_COMMON_H to GCC_C_COMMON_C
756 when generating options.h.
757 * alias.c: Include hash-set.h, machmode.h,
758 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
759 fold-const.h, wide-int.h, and inchash.h due to
760 flattening of tree.h.
763 * auto-inc-dec.c: Ditto.
764 * auto-profile.c: Ditto
765 * bb-reorder.c: Ditto.
766 * bt-load.c: Include symtab.h due to flattening of tree.h.
767 * builtins.c: Include hash-set.h, machmode.h,
768 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
769 fold-const.h, wide-int.h, and inchash.h due to
770 flattening of tree.h.
771 * calls.c: Include hash-set.h, machmode.h,
772 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
773 fold-const.h, wide-int.h, and inchash.h due to
774 flattening of tree.h.
776 * cfgbuild.c: Include hash-set.h, machmode.h,
777 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
778 fold-const.h, wide-int.h, and inchash.h due to flattening of tree.h.
780 * cfgcleanup.c: Ditto.
781 * cfgexpand.c: Ditto.
783 * cfgloop.c: Include symtab.h, fold-const.h, and
784 inchash.h due to flattening of tree.h.
785 * cfgloopmanip.c: Ditto.
786 * cfgrtl.c: Include hash-set.h, machmode.h,
787 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
788 fold-const.h, wide-int.h, and inchash.h due to
789 flattening of tree.h.
790 * cgraphbuild.c: Ditto.
792 * cgraphclones.c: Ditto.
793 * cgraphunit.c: Ditto.
794 * cilk-common.c: Ditto.
796 * combine-stack-adj.c: Include symbol.h due to flattening of tree.h.
797 * config/aarch64/aarch64-builtins.c: Include hash-set.h, machmode.h,
798 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
799 fold-const.h, wide-int.h, and inchash.h due to
800 flattening of tree.h.
801 * config/aarch64/aarch64.c: Ditto.
802 * config/alpha/alpha.c: Ditto.
803 * config/arc/arc.c: Ditto.
804 * config/arm/aarch-common.c: Ditto.
805 * config/arm/arm-builtins.c: Ditto.
806 * config/arm/arm.c: Ditto.
807 * config/arm/arm-c.c: Ditto.
808 * config/avr/avr.c: Ditto.
809 * config/avr/avr-c.c: Ditto.
810 * config/avr/avr-log.c: Ditto.
811 * config/bfin/bfin.c: Ditto.
812 * config/c6x/c6x.c: Ditto.
813 * config/cr16/cr16.c: Ditto.
814 * config/cris/cris.c: Ditto.
815 * config/darwin.c: Ditto.
816 * config/darwin-c.c: Ditto.
817 * config/default-c.c: Ditto.
818 * config/epiphany/epiphany.c: Ditto.
819 * config/fr30/fr30.c: Ditto.
820 * config/frv/frv.c: Ditto.
821 * config/glibc-c.c: Ditto.
822 * config/h8300/h8300.c: Ditto.
823 * config/i386/i386.c: Ditto.
824 * config/i386/i386-c.c: Ditto.
825 * config/i386/msformat.c: Ditto.
826 * config/i386/winnt.c: Ditto.
827 * config/i386/winnt-cxx.c: Ditto.
828 * config/i386/winnt-stubs.c: Ditto.
829 * config/ia64/ia64.c: Ditto.
830 * config/ia64/ia64-c.c: Ditto.
831 * config/iq2000/iq2000.c: Ditto.
832 * config/lm32/lm32.c: Include symtab.h, fold-const.h,
833 wide-int.h, and inchash.h due to flattening of tree.h.
834 * config/m32c/m32c.c: Include hash-set.h, machmode.h,
835 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
836 fold-const.h, wide-int.h, and inchash.h due to
837 flattening of tree.h.
838 * config/m32c/m32c-pragma.c: Ditto.
839 * config/m32c/m32cr.c: Ditto.
840 * config/m68/m68k.c: Ditto.
841 * config/mcore/mcore.c: Ditto.
842 * config/mep/mep.c: Ditto.
843 * config/mep/mep-pragma.c: Ditto.
844 * config/microblaze/microblaze.c: Ditto.
845 * config/microblaze/microblaze-c.c: Ditto.
846 * config/mips/mips.c: Ditto.
847 * config/mmix/mmix.c: Include symtab.h, fold-const.h,
848 wide-int.h, and inchash.h due to flattening of tree.h.
849 * config/mn10300/mn10300.c: Include hash-set.h, machmode.h,
850 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
851 fold-const.h, wide-int.h, and inchash.h due to
852 flattening of tree.h.
853 * config/moxie/moxie.c: Ditto.
854 * config/msp430/msp430.c: Ditto.
855 * config/msp430/msp430-c.c: Ditto.
856 * config/nds32/nds32.c: Ditto.
857 * config/nds32/nds32-cost.c: Ditto.
858 * config/nds32/nds32-fp-as-gp.c: Ditto.
859 * config/nds32/nds32-intrinsic.c: Ditto.
860 * config/nds32/nds32-isr.c: Ditto.
861 * config/nds32/nds32-md-auxillary.c: Ditto.
862 * config/nds32/nds32-memory-manipulationx.c: Ditto.
863 * config/nds32/nds32-pipelines-auxillary.c: Ditto.
864 * config/nds32/nds32-predicates.c: Ditto.
865 * config/nios2/nios2.c: Ditto.
866 * config/nvptx/nvptx.c: Ditto.
867 * config/pa/pa.c: Ditto.
868 * config/pdp11/pdp11x.c: Include symtab.h, fold-const.h,
869 wide-int.h, and inchash.h due to flattening of tree.h.
870 * config/rl78/rl78.c: Include hash-set.h, machmode.h,
871 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
872 fold-const.h, wide-int.h, and inchash.h due to
873 flattening of tree.h.
874 * config/rl78/rl78-cx.c: Ditto.
875 * config/rs6000/rs6000.c: Ditto.
876 * config/rs6000/rs6000-c.c: Ditto.
877 * config/rx/rx.c: Ditto.
878 * config/s390/s390.c: Ditto.
879 * config/sh/sh.c: Ditto.
880 * config/sh/sc.c: Ditto.
881 * config/sh/sh-mem.cc: Ditto.
882 * config/sh/sh_treg_combine.cc: Include symtab.h, inchash.h and tree.h
883 due to flattening of tree.h.
884 Remove include of tree-core.h.
885 * config/sol2.c: Include hash-set.h, machmode.h,
886 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
887 fold-const.h, wide-int.h, and inchash.h due to
888 flattening of tree.h.
889 * config/sol2-c.c: Ditto.
890 * config/sol2-cxx.c: Ditto.
891 * config/sol2-stubs.c: Ditto.
892 * config/sparc/sparc.c: Ditto.
893 * config/sparc/sparc-cx.c: Ditto.
894 * config/spu/spu.c: Ditto.
895 * config/spu/spu-c.c: Ditto
896 * config/storym16/stormy16.c: Ditto.
897 * config/tilegx/tilegx.c: Include symtab.h, fold-const.h,
898 wide-int.h, and inchash.h due to flattening of tree.h.
899 * config/tilepro/gen-mul-tables.cc: Include symtab.h in generated file.
900 * config/tilegx/tilegx-c.c: Include hash-set.h, machmode.h,
901 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
902 fold-const.h, wide-int.h, and inchash.h due to
903 flattening of tree.h.
904 * config/tilepro/tilepro.c: Include symtab.h, fold-const.h,
905 wide-int.h, and inchash.h due to flattening of tree.h.
906 * config/tilepro/tilepro-c.c: Include hash-set.h, machmode.h,
907 vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
908 fold-const.h, wide-int.h, and inchash.h due to
909 flattening of tree.h.
910 * config/v850/v850.c: Ditto.
911 * config/v850/v850-c.c: Ditto.
912 * config/vax/vax.c: Ditto.
913 * config/vms/vms.c: Ditto.
914 * config/vms/vms-c.c: Ditto.
915 * config/vxworks.c: Ditto.
916 * config/winnt-c.c: Ditto.
917 * config/xtensa/xtensa.c: Include symtab.h, fold-const.h,
918 wide-int.h, and inchash.h due to flattening of tree.h.
919 * convert.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
920 input.h, alias.h, symtab.h, options.h, fold-const.h,
921 wide-int.h, and inchash.h due to flattening of tree.h.
923 * cppbuiltin.c: Ditto.
925 * cse.c: Add include of symtab.h due to flattening of tree.h.
926 * cselib.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
927 input.h, alias.h, symtab.h, options.h, fold-const.h,
928 wide-int.h, and inchash.h due to flattening of tree.h.
929 * data-streamer.c: Ditto.
930 * data-streamer-in.c: Ditto.
931 * data-streamer-out.c: Ditto.
934 * ddg.c: Add include of symtab.h due to flattening of tree.h.
935 * debug.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
936 input.h, alias.h, symtab.h, options.h, fold-const.h,
937 wide-int.h, and inchash.h due to flattening of tree.h.
940 * dojump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
941 input.h, alias.h, symtab.h, options.h, fold-const.h,
942 wide-int.h, inchash.h and real.h due to flattening of tree.h.
943 * double-int.c: Ditto.
946 * dwarf2asm.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
947 input.h, alias.h, symtab.h, fold-const.h,
948 wide-int.h, inchash.h and real.h due to flattening of tree.h.
949 * dwarf2cfi.c: Ditto.
950 * dwarf2out.c: Ditto.
954 * expmed.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
955 input.h, alias.h, symtab.h, fold-const.h,
956 wide-int.h, and inchash.h due to flattening of tree.h.
959 * fixed-value.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
960 input.h, alias.h, symtab.h, fold-const.h,
961 wide-int.h, inchash.h and fixed-value.h due to flattening of tree.h.
962 * fold-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
963 input.h, alias.h, symtab.h, fold-const.h,
964 wide-int.h, and inchash.h due to flattening of tree.h.
965 Relocate inline function convert_to_ptrofftype_loc from tree.h.
966 Relocate inline function fold_build_pointer_plus_loc from tree.h.
967 Relocate inline function fold_build_pointer_plus_hwi_loc from tree.h.
968 * fold-const.h: Relocate macro convert_to_ptrofftype from tree.h.
969 Relocate macro fold_build_pointer_plus to relocate from tree.h.h.
970 Relocate macro fold_build_pointer_plus_hwi from tree.h.
971 Add prototype for convert_to_ptrofftype_loc relocated from tree.h.
972 Add prototype for fold_build_pointer_plus_loc relocated from tree.h.
973 Add prototype for fold_build_pointer_plus_hwi_loc relocated from tree.h.
974 * function.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
975 input.h, alias.h, symtab.h, fold-const.h,
976 wide-int.h, and inchash.h due to flattening of tree.h.
977 * gcc-plugin.h: Include statistics.h, double-int.h, real.h, fixed-value.h,
978 alias.h, flags.h, and symtab.h due to flattening of tree.h
980 * generic-match-head.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
981 input.h, alias.h, symtab.h, options.h, fold-const.h,
982 wide-int.h, and inchash.h due to flattening of tree.h.
983 * ggc-page.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
984 input.h, alias.h, symtab.h, fold-const.h,
985 wide-int.h, and inchash.h due to flattening of tree.h.
986 * gimple-builder.c: Ditto.
988 * gimple-expr.c: Ditto.
989 * gimple-fold.c: Ditto.
990 * gimple-iterator.c: Ditto.
991 * gimple-low.c: Ditto.
992 * gimple-match-head.c: Ditto.
993 * gimple-pretty-print.c: Ditto.
994 * generic-ssa-isolate-paths.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
995 input.h, alias.h, symtab.h, options.h, fold-const.h,
996 wide-int.h, and inchash.h due to flattening of tree.h.
997 * gimple-ssa-strength-reduction.c: Ditto.
998 * gimple-streamer-in.c: Ditto.
999 * gimple-streamer-out.c: Ditto.
1000 * gimple-walk.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1001 input.h, alias.h, symtab.h, fold-const.h,
1002 wide-int.h, and inchash.h due to flattening of tree.h.
1003 * gimplify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1004 input.h, alias.h, symtab.h, options.h, fold-const.h,
1005 wide-int.h, and inchash.h due to flattening of tree.h.
1006 * gimplify-me.c: Ditto.
1007 * graphite-blocking.c: Ditto.
1008 * graphite.c: Ditto.
1009 * graphite-dependencies.c: Ditto.
1010 * graphite-interchange.c: Ditto.
1011 * graphite-isl-ast-to-gimple.c: Ditto.
1012 * graphite-optimize-isl.c: Ditto.
1013 * graphite-poly.c: Ditto.
1014 * graphite-scop-detection.c: Ditto.
1015 * graphite-sese-to-poly.c: Ditto.
1016 * hw-doloop.c: Include symtab.h due to flattening of tree.h.
1018 * init-regs.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1019 input.h, alias.h, symtab.h, fold-const.h,
1020 wide-int.h, and inchash.h due to flattening of tree.h.
1021 * internal-fc.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1022 input.h, alias.h, symtab.h,options.h, fold-const.h,
1023 wide-int.h, and inchash.h due to flattening of tree.h.
1025 * ipa-chkp.c: Ditto.
1026 * ipa-comdats.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1027 input.h, alias.h, symtab.h, fold-const.h,
1028 wide-int.h, and inchash.h due to flattening of tree.h.
1029 * ipa-cp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1030 input.h, alias.h, symtab.h,options.h, fold-const.h,
1031 wide-int.h, and inchash.h due to flattening of tree.h.
1032 * ipa-devirt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1033 input.h, alias.h, symtab.h, fold-const.h,
1034 wide-int.h, and inchash.h due to flattening of tree.h.
1035 * ipa-icf.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1036 input.h, alias.h, symtab.h,options.h, fold-const.h,
1037 wide-int.h, and inchash.h due to flattening of tree.h.
1038 * ipa-icf-gimple.c: Ditto.
1039 * ipa-inline-analysis.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1040 input.h, alias.h, symtab.h, fold-const.h,
1041 wide-int.h, and inchash.h due to flattening of tree.h.
1042 * ipa-inline.c: Ditto.
1043 * ipa-inline-transform.c: Ditto.
1044 * ipa-polymorhpic-call.c: Ditto.
1045 * ipa-profile.c: Ditto.
1046 * ipa-prop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1047 input.h, alias.h, symtab.h, options.h, fold-const.h,
1048 wide-int.h, and inchash.h due to flattening of tree.h.
1049 * ipa-pure-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1050 input.h, alias.h, symtab.h, fold-const.h,
1051 wide-int.h, and inchash.h due to flattening of tree.h.
1052 * ipa-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1053 input.h, alias.h, symtab.h, options.h, fold-const.h,
1054 wide-int.h, and inchash.h due to flattening of tree.h.
1055 * ipa-reference.c: Ditto.
1056 * ipa-split.c: Ditto.
1057 * ipa-utils.c: Ditto.
1058 * ipa-visbility.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1059 input.h, alias.h, symtab.h, fold-const.h,
1060 wide-int.h, and inchash.h due to flattening of tree.h.
1062 * ira-color.c: Include hash-set.h due to flattening of tree.h.
1063 * ira-costs.c: Ditto.
1064 * ira-emit.c: Ditto.
1065 * jump.c: Include symtab.h due to flattening of tree.h.
1066 * langhooks.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1067 input.h, alias.h, symtab.h, fold-const.h,
1068 wide-int.h, and inchash.h due to flattening of tree.h.
1069 * loop-doloop.c: Include symtab.h due to flattening of tree.h.
1070 * loop-init.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1071 input.h, alias.h, symtab.h, fold-const.h,
1072 wide-int.h, and inchash.h due to flattening of tree.h.
1073 * loop-invariant.c: Include symtab.h due to flattening of tree.h.
1075 * loop-unroll.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1076 input.h, alias.h, symtab.h, fold-const.h,
1077 wide-int.h, and inchash.h due to flattening of tree.h.
1078 * lower-subreg.c: Ditto.
1079 * lra-assigns.c: Include symtab.h due to flattening of tree.h.
1080 * lra.c: Include symtab.h, fold-const.h, wide-int.h and inchash.h
1081 due to flattening of tree.h.
1082 * lra-coalesce.c: Include symtab.h due to flattening of tree.h.
1083 * lra-constraints.c: Ditto.
1084 * lra-eliminations.c: Ditto.
1085 * lra-livesc: Ditto.
1086 * lra-remat.c: Ditto.
1087 * lra-spills.c: Ditto.
1088 * lto-cgraph.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1089 input.h, alias.h, symtab.h, fold-const.h,
1090 wide-int.h, and inchash.h due to flattening of tree.h.
1091 * lto-compress.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1092 input.h, alias.h, symtab.h, options, fold-const.h,
1093 wide-int.h, and inchash.h due to flattening of tree.h.
1094 * lto-opts.c: Ditto.
1095 * lto-section-in.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1096 input.h, alias.h, symtab.h, fold-const.h,
1097 wide-int.h, and inchash.h due to flattening of tree.h.
1098 * lto-section-out.c: Ditto.
1099 * lto-streamer.c: Ditto.
1100 * lto-streamer-in.c: Ditto.
1101 * lto-streamer-out.c: Ditto.
1102 * modulo-sched.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1103 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1104 inchash.h due to flattening of tree.h.
1105 * omega.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1106 input.h, alias.h, symtab.h, options, fold-const.h,
1107 wide-int.h, and inchash.h due to flattening of tree.h.
1108 * omega-low.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1109 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1110 inchash.h due to flattening of tree.h.
1112 * opts-global.c: Ditto.
1114 * plugin.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1115 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1116 inchash.h due to flattening of tree.h.
1117 * postreload.c: Include symtab.h due to flattening of tree.h.
1118 * postreload-gcse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1119 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1120 inchash.h due to flattening of tree.h.
1122 * print-rtl.c: Ditto.
1123 * print-tree.c: Ditto.
1124 * profile.c: Include symtab.h, fold-const.h
1125 and inchash.h due to flattening of tree.h.
1126 * real.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1127 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1128 inchash.h due to flattening of tree.h.
1129 * realmpfr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1130 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1131 inchash.h due to flattening of tree.h.
1132 * recog.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1133 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1134 inchash.h due to flattening of tree.h.
1137 * reg-stack.c: Ditto.
1138 * reload1.c: Include symtab.h, fold-const.h, wide-int.h
1139 and inchash.h due to flattening of tree.h.
1140 * reload.c: Include symtab.h due to flattening of tree.h.
1142 * rtlanal.c: Include symtab.h, fold-const.h, wide-int.h
1143 and inchash.h due to flattening of tree.h.
1144 * rtl-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1145 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1146 inchash.h due to flattening of tree.h.
1147 * rtlhooks.c: Include symtab.h due to flattening of tree.h.
1148 * sanopt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1149 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1150 inchash.h due to flattening of tree.h.
1151 * sched-deps.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1152 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1153 inchash.h due to flattening of tree.h.
1154 * sched-vis.c: Ditto.
1156 * sel-sched.c: Include symtab.h, fold-const.h, wide-int.h
1157 and inchash.h due to flattening of tree.h.
1158 * sel-sched-ir.c: Ditto.
1159 * sese.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1160 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1161 inchash.h due to flattening of tree.h.
1162 * shrink-wrap.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1163 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1164 inchash.h due to flattening of tree.h.
1165 * simplify-rtx.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1166 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1167 inchash.h due to flattening of tree.h.
1168 * stack-ptr-mod.c: Ditto.
1170 * store-motion.c: Ditto.
1171 * store-layout.c: Ditto.
1172 * stringpool.c: Ditto.
1174 * target-globals.c: Ditto.
1175 * targhooks.c: Ditto.
1178 * trans-mem.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1179 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1180 inchash.h due to flattening of tree.h.
1181 * tree-affine.c: Ditto.
1182 * tree-browser.c: Ditto.
1183 * tree.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1184 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1185 inchash.h due to flattening of tree.h.
1186 * tree-call-cdce.c: Include symtab.h, alias.h, double-int.h,
1187 fold-const.h, wide-int.h, inchash.h and real.h due to
1188 flattening of tree.h.
1189 * tree-cfg.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1190 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1191 inchash.h due to flattening of tree.h.
1192 * tree-cfgcleanup.c: Ditto.
1193 * tree-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1194 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1195 inchash.h due to flattening of tree.h.
1196 * tree-chkp-opt.c: Ditto.
1197 * tree-chrec.c: Ditto.
1198 * tree-chkp-opt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1199 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1200 real.h due to flattening of tree.h.
1201 * tree-core.h: Flatten header file by removing all #include statements.
1202 * tree-data-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1203 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1204 inchash.h due to flattening of tree.h.
1205 * tree-dfa.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1206 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1207 real.h due to flattening of tree.h.
1208 * tree-diagnostic.c: Ditto.
1209 * tree-dump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1210 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
1211 fixed-value.h due to flattening of tree.h.
1212 * tree-dfa.c: Ditto.
1213 * tree-eh.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1214 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1215 real.h due to flattening of tree.h.
1216 * tree-emutls.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1217 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1218 inchash.h due to flattening of tree.h.
1219 * tree.h: Flatten header files by removing all includes except tree-core.h.
1220 Remove inline function convert_to_ptrofftype_loc to relocate to fold-const.c.
1221 Remove macro convert_to_ptrofftype to relocate to fold-const.h.
1222 Remove inline function fold_build_pointer_plus_loc to relocate to fold-const.c.
1223 Remove macro fold_build_pointer_plus to relocate to fold-const.h.
1224 Remove inline function fold_build_pointer_plus_hwi_loc to relocate to fold-const.c.
1225 Remove macro fold_build_pointer_plus_hwi to relocate to fold-const.h.
1226 * tree-if-conv.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1227 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
1228 fixed-value.h due to flattening of tree.h.
1229 * tree-inline.c: Ditto.
1230 * tree-into-ssa.c: Ditto.
1231 * tree-iterator.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1232 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1233 inchash.h due to flattening of tree.h.
1234 * tree-loop-distribution.c: Ditto.
1235 * tree-nested.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1236 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1237 due to flattening of tree.h.
1238 * tree-nrv.c: Ditto.
1239 * tree-object-size.c: Ditto.
1240 * tree-outof-ssa.c: Ditto.
1241 * tree-parloops.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1242 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1243 inchash.h due to flattening of tree.h.
1244 * tree-phinodes.c: Ditto.
1245 * tree-predcom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1246 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1247 due to flattening of tree.h.
1248 * tree-pretty-print.c: Ditto.
1249 * tree-profile.c: double-int.h, input.h, alias.h, symtab.h,
1250 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
1251 * tree-scalar-evolution.c: Include hash-set.h, machmode.h, vec.h,
1252 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1253 wide-int.h and inchash.h due to flattening of tree.h.
1254 * tree-sra.c: Include vec.h, double-int.h,
1255 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1256 inchash.h due to flattening of tree.h.
1257 * tree-ssa-alias.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1258 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1259 due to flattening of tree.h.
1260 * tree-ssa.c: Ditto.
1261 * tree-ssa-ccp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1262 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
1263 and real.h due to flattening of tree.h.
1264 * tree-ssa-coalesce.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1265 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1266 due to flattening of tree.h.
1267 * tree-ssa-copy.c: Ditto.
1268 * tree-ssa-copyrename.c: Ditto.
1269 * tree-ssa-dce.c: Ditto.
1270 * tree-ssa-dom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1271 input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
1272 and real.h due to flattening of tree.h.
1273 * tree-ssa-dse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1274 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1275 due to flattening of tree.h.
1276 * tree-ssa-forwprop.c: Ditto.
1277 * tree-ssa-ifcombine.c: Ditto.
1278 * tree-ssa-live.c: Ditto.
1279 * tree-ssa-loop.c: Ditto.
1280 * tree-ssa-loop-ch.c: Ditto.
1281 * tree-ssa-loop-im.c: Ditto.
1282 * tree-ssa-loop-ivcanon.c: Ditto.
1283 * tree-ssa-loop-ivopts.c: Ditto.
1284 * tree-ssa-loop-manip.c: Ditto.
1285 * tree-ssa-loop-niter.c: Ditto.
1286 * tree-ssa-loop-prefetch.c: Ditto.
1287 * tree-ssa-loop-unswitch.c: Ditto.
1288 * tree-ssa-loop-math-opts.c: Ditto.
1289 * tree-ssanames.c: Ditto.
1290 * tree-ssa-operands.c: Ditto.
1291 * tree-ssa-phiopt.c: Ditto.
1292 * tree-ssa-phiprop.c: Ditto.
1293 * tree-ssa-pre.c: Ditto.
1294 * tree-ssa-propagate.c: Ditto.
1295 * tree-ssa-reassoc.c: Ditto.
1296 * tree-ssa-sccvn.c: Ditto.
1297 * tree-ssa-sink.c: Ditto.
1298 * tree-ssa-strlen.c: Include hash-set.h, machmode.h, vec.h,
1299 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1300 wide-int.h and inchash.h due to flattening of tree.h.
1301 * tree-ssa-structalias.c: double-int.h, input.h, alias.h, symtab.h,
1302 fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
1303 * tree-ssa-tail-merge.c: Include hash-set.h, machmode.h, vec.h,
1304 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
1305 wide-int.h and inchash.h due to flattening of tree.h.
1306 * tree-ssa-ter.c: Ditto.
1307 * tree-ssa-threadedge.c: Ditto.
1308 * tree-ssa-threadupdate.c: Include hash-set.h, machmode.h, vec.h,
1309 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1310 wide-int.h and inchash.h due to flattening of tree.h.
1311 * tree-ssa-uncprop.c: Include hash-set.h, machmode.h, vec.h,
1312 double-int.h, input.h, alias.h, symtab.h, fold-const.h,
1313 wide-int.h and inchash.h due to flattening of tree.h.
1314 * tree-ssa-uninit.c: Ditto.
1315 * tree-stdarg.c: Include vec.h, double-int.h, input.h, alias.h,
1316 symtab.h, fold-const.h, wide-int.h and inchash.h due to flattening
1318 * tree-streamer.c: Include vec.h, double-int.h, input.h, alias.h,
1319 symtab.h, options.h, fold-const.h, wide-int.h and
1320 inchash.h due to flattening of tree.h.
1321 * tree-streamer-in.c: Include hash-set.h, machmode.h, vec.h,
1322 double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1323 wide-int.h, inchash.h, real.h and fixed-value.h due to flattening
1325 * tree-streamer-out.c: Dittoo.
1326 * tree-switch-conversion.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1327 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1328 due to flattening of tree.h.
1329 * tree-tailcall.c: Ditto.
1330 * tree-vect-data-refs.c: Ditto.
1331 * tree-vect-generic.c: Include hash-set.h, machmode.h, vec.h, double-int.h, input.h,
1332 alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1333 due to flattening of tree.h.
1334 * tree-vect-loop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1335 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1336 due to flattening of tree.h.
1337 * tree-vect-loop-manip.c: Ditto.
1338 * tree-vectorizer.c: Ditto.
1339 * tree-vect-patterns.c: Ditto.
1340 * tree-vect-slp.c: Ditto.
1341 * tree-vect-stmts.c: Ditto.
1342 * tree-vrp.c: Ditto.
1343 * tsan.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1344 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1345 due to flattening of tree.h.
1347 * value-prof.c.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1348 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1349 due to flattening of tree.h.
1352 * var-tracking.c: Ditto.
1353 * vmsdbgout.c: Ditto.
1354 * vtable-verify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1355 input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1356 due to flattening of tree.h.
1357 * wide-int.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
1358 input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1359 due to flattening of tree.h.
1360 * xcoffout.c: Ditto.
1362 2015-01-09 Tom de Vries <tom@codesourcery.com>
1364 PR rtl-optimization/64539
1365 * regcprop.c (kill_clobbered_values): Factor out of ...
1366 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
1367 instead of note_stores with kill_clobbered_value.
1369 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1371 * ginclude/unwind-arm-common.h: Revert previous commit.
1373 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
1375 * config.gcc (arm*-*-freebsd*): New configuration.
1376 * config/arm/freebsd.h: New file.
1377 * config.host: Add extra components for arm*-*-freebsd*.
1378 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
1379 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
1381 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1383 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
1385 * config/rs6000/t-rtems: Add e6500 multilibs.
1387 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1389 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
1392 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1394 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
1395 MULTILIB_EXCEPTIONS.
1397 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1399 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
1400 MULTILIB_EXCEPTIONS.
1402 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
1404 * config/arm/t-rtems-eabi: Rename to...
1405 * config/arm/t-rtems: ...this.
1406 * config/arm/rtems-eabi.h: Rename to...
1407 * config/arm/rtems.h: ...this.
1408 * config.gcc (arm*-*-rtems*): Reflect changes above.
1410 2015-01-09 Richard Biener <rguenther@suse.de>
1412 PR tree-optimization/64410
1413 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
1415 (execute_update_addresses_taken): Deal with that.
1416 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
1417 loads/stores for complex variables.
1419 2015-01-09 Martin Liska <mliska@suse.cz>
1421 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
1423 (func_checker::compare_memory_operand): New function.
1424 (func_checker::compare_operand): Split case to newly
1426 (func_checker::compare_cst_or_decl): New function.
1427 (func_checker::compare_gimple_call): Identify
1429 (func_checker::compare_gimple_assign): Likewise.
1430 * ipa-icf-gimple.h: New function.
1432 2015-01-09 Martin Liska <mliska@suse.cz>
1435 * sreal.c (sreal::dump): Change unsigned format to signed for
1437 (sreal::to_double): Replace exp2 with scalbln.
1439 2015-01-09 Martin Liska <mliska@suse.cz>
1441 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
1442 * ipa-icf.c (sem_function::equals_private): Add support for target and
1443 (sem_item_optimizer::merge_classes): Remove redundant function
1444 optimization flags comparison.
1445 * tree.h (target_opts_for_fn): New function.
1447 2015-01-09 Tom de Vries <tom@codesourcery.com>
1449 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
1451 2015-01-09 Kito Cheng <kito@0xlab.org>
1453 PR rtl-optimization/64348
1454 * lra-constraints.c (split_reg): Fix caller-save store/restore
1455 instruction generation.
1457 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
1459 PR gcov-profile/61790
1460 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
1461 long long. Fallback to int64_t if host doesn't have long long and
1462 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
1464 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1466 PR tree-optimization/63989
1467 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
1469 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
1470 (get_stridx): If we don't have a record for certain SSA_NAME,
1471 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
1472 constant offset, call get_stridx_plus_constant.
1473 (get_stridx_plus_constant): New function.
1474 (zero_length_string): Don't use get_stridx here.
1478 * dse.c (struct insn_info): Mention frame_read set also
1479 before reload for tail calls on some targets.
1480 (scan_insn): Revert 2014-12-22 change. Set frame_read
1481 also before reload for tail calls if
1482 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
1483 instead of add_non_frame_wild_read for non-const/memset
1484 tail calls after reload.
1486 2015-01-08 Jason Merrill <jason@redhat.com>
1488 * ubsan.c (do_ubsan_in_current_function): New.
1489 (pass_ubsan::gate): Use it.
1490 * ubsan.h: Declare it.
1491 * convert.c (convert_to_integer): Use it.
1493 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1496 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
1497 compare_code when it is unconditionally overwritten afterwards.
1498 Use ix86_reverse_condition instead of reverse_condition. Don't
1499 change code if *reverse_condition* returned UNKNOWN and don't
1500 swap ct/cf and negate diff in that case.
1502 2015-01-08 Mike Stump <mikestump@comcast.net>
1504 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
1505 (pass_tsan_O0::gate): Likewise.
1506 * extend.texi (Function Attributes): Add no_sanitize_thread
1509 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
1511 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
1512 for registering builtins.
1513 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
1514 add -fopenmp to the argv_obstack used when invoking
1517 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
1518 add "-m32" or "-m64" to argv_obstack.
1519 (generate_host_descr_file): Likewise, when invoking host_compiler.
1520 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
1523 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
1525 * config/sh/sh-mem.cc: Use constant as second operand when emitting
1528 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
1531 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
1532 constant load if constant operand fits into I08.
1534 2015-01-08 Jakub Jelinek <jakub@redhat.com>
1537 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
1538 and TREE_THIS_VOLATILE for MEM_REFs.
1539 (build5_stat): Fix up initialization of TREE_READONLY and
1540 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
1542 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
1545 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
1546 of r for the second alternative of the destination operand.
1548 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
1551 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
1553 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
1555 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
1557 ([-fivar-visibility], [-fvisibility]): Likewise.
1559 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
1561 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
1562 the file where @code, @command, etc is more appropriate.
1564 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
1566 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
1567 of -mrecip= documentation.
1569 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
1572 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
1573 correct reload handler if -m32 -mpowerpc64 is used.
1575 2015-01-06 Tom de Vries <tom@codesourcery.com>
1577 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
1579 2015-01-08 Christian Bruel <christian.bruel@st.com>
1582 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
1584 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
1586 PR tree-optimization/63259
1587 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
1588 if optab exists for 16bit byteswap.
1590 2015-01-06 Jakub Jelinek <jakub@redhat.com>
1592 * opts.c (common_handle_option): Add support for
1593 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
1594 * doc/invoke.texi: Document -fno-sanitize=all,
1595 -f{,no-}sanitize-recover=all. Document that
1596 -fsanitize=float-cast-overflow is not enabled
1597 by -fsanitize=undefined. Fix up documentation
1598 of -f{,no-}sanitize-recover.
1600 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
1602 * config.gcc: Add Visium support.
1603 * configure.ac: Likewise.
1604 * configure: Regenerate.
1605 * doc/extend.texi (interrupt attribute): Add Visium.
1606 * doc/invoke.texi: Document Visium options.
1607 * doc/install.texi: Document Visium target.
1608 * doc/md.texi: Document Visium constraints.
1609 * common/config/visium: New directory.
1610 * config/visium: Likewise.
1612 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
1614 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
1615 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
1617 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
1619 * combine.c (combine_validate_cost): Do not count the cost of a
1620 split I2 twice. Do not display it twice in the dump, either.
1622 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
1624 Revert parts of r219199.
1625 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
1627 ([-Wtraditional]): Restore markup on <limits.h>.
1629 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
1632 * doc/invoke.texi: Document -Wsuggest-override.
1634 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
1636 PR rtl-optimization/64287
1637 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
1638 (process_options): Disable flag_ipa_ra if profiling.
1640 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
1642 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
1644 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
1646 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
1647 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
1648 put under #if TARGET_LOOPS guard.
1650 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
1652 * config/i386/i386.c (output_387_binary_op): Use std::swap.
1654 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
1656 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
1657 * rtl.h (refers_to_regno_p): Add overload.
1659 * bt-load.c: Likewise.
1660 * combine.c: Likewise.
1661 * df-scan.c: Likewise.
1662 * sched-deps.c: Likewise.
1663 * config/s390/s390.c: Likewise.
1664 * config/m32r/m32r.c: Likewise.
1665 * config/rs6000/spe.md: Likewise.
1666 * config/rs6000/rs6000.c: Likewise.
1667 * config/pa/pa.c: Likewise.
1668 * config/stormy16/stormy16.c: Likewise.
1669 * config/cris/cris.c: Likewise.
1670 * config/arc/arc.md: Likewise.
1671 * config/arc/arc.c: Likewise.
1672 * config/sh/sh.md: Likewise.
1673 * config/sh/sh.c: Likewise.
1674 * config/frv/frv.c: Likewise.
1676 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1679 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
1680 call as cleanup of the whole body.
1681 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
1682 * tsan.c (replace_func_exit): New function.
1683 (instrument_func_exit): Moved earlier.
1684 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
1685 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
1687 (tsan_pass): Don't call instrument_func_exit.
1688 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
1689 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
1693 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
1694 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
1695 it to libubsan handler instead of EXPR. Fold comparisons earlier,
1696 if the result is integer_zerop, return NULL_TREE.
1697 * convert.c (convert_to_integer): Pass expr as ARG.
1699 PR tree-optimization/64465
1700 * tree-inline.c (redirect_all_calls): During inlining
1701 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
1702 changed the stmt to a non-throwing call.
1704 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
1706 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
1707 etc markup throughout the file.
1709 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
1711 Enable experimental TSAN support for Ada.
1712 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
1714 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1716 PR tree-optimization/64494
1717 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
1718 clear SSA_NAME_ANTI_RANGE_P flag.
1720 2015-01-05 Marek Polacek <polacek@redhat.com>
1722 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
1724 2015-01-05 Jakub Jelinek <jakub@redhat.com>
1726 Update copyright years.
1728 * gcc.c (process_command): Update copyright notice dates.
1729 * gcov-dump.c: Ditto.
1731 * doc/cpp.texi: Bump @copying's copyright year.
1732 * doc/cppinternals.texi: Ditto.
1733 * doc/gcc.texi: Ditto.
1734 * doc/gccint.texi: Ditto.
1735 * doc/gcov.texi: Ditto.
1736 * doc/install.texi: Ditto.
1737 * doc/invoke.texi: Ditto.
1739 * auto-profile.c, auto-profile.h: Fix up Copyright line.
1741 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
1743 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
1745 ([-fvtable-verify], [-fvtv-debug]): Likewise.
1746 ([-Wabi]): Likewise.
1747 ([-fmessage-length]): Likewise.
1748 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
1749 ([-Wno-discarded-qualifiers]): Likewise.
1750 ([-Wnodiscarded-array-qualifiers]): Likewise.
1751 ([-Wno-virtual-move-assign]): Likewise.
1752 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
1753 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
1754 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
1755 ([-fsanitize-undefined-trap-on-error]): Likewise.
1756 ([-floop-interchange]): Likewise.
1757 ([-ftree-coalesce-inlined-vars]): Likewise.
1758 ([-fvect-cost-model]): Likewise.
1759 ([-flto]): Likewise.
1760 ([--param]): Likewise.
1761 (Spec Files): Likewise.
1762 ([-mstrict-align]): Likewise.
1763 ([-mfix-cortex-a53-835769]): Likewise.
1764 ([-march], [-mtune]): Likewise.
1765 ([-mpic-register]): Likewise.
1766 ([-munaligned-access]): Likewise.
1767 ([-msp8]): Likewise.
1768 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
1769 (AVR Built-in Macros): Likewise.
1770 ([-mpreferred-stack-boundary]): Likewise.
1771 ([-mtune-crtl]): Likewise.
1772 ([-mashf]): Likewise.
1773 ([-mmcu=]): Likewise.
1774 ([-minrt]): Likewise.
1775 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
1776 ([-mupper-regs]): Likewise.
1777 ([-matomic-model]): Likewise.
1778 ([-mdiv]): Likewise.
1779 ([-mzdcbranch]): Likewise.
1780 ([-mdisable-callt]): Likewise.
1781 ([-msoft-float]): Likewise.
1782 ([-m8byte-align]): Likewise.
1783 ([-fstack-reuse]): Likewise.
1785 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1787 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
1788 Fix markup, light copy-editing.
1789 ([-fauto-profile]): Rewrite to fix formatting and content
1792 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1794 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
1795 Copy-edit description.
1796 ([-fisolate-erroneous-paths-attribute]): Likewise.
1797 * common.opt (fisolate-erroneous-paths-dereference):
1798 Copy-edit description.
1799 (fisolate-erroneous-paths-attribute): Likewise.
1801 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1803 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
1806 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
1808 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
1809 ([-fvtv-debug]): Likewise.
1810 ([-Wc++-compat]): Likewise.
1811 ([-Wc++11-compat]): Likewise.
1812 ([-Wc++14-compat]): Likewise.
1813 ([-Wno-sized-deallocation]): Likewise.
1814 ([-femit-class-debug-always]): Likewise.
1815 ([-femit-struct-debug-detailed]): Likewise.
1816 ([-fno-keep-inline-dllexport]): Likewise.
1817 ([-fira-algorithm]): Likewise.
1818 ([-fira-region]): Likewise.
1819 ([-flra-remat]): Likewise.
1820 ([-fipa-ra]): Likewise.
1821 ([-fhoist-adjacent-loads]): Likewise.
1822 ([-fisolate-erroneous-paths-dereference]): Likewise.
1823 ([-fisolate-erroneous-paths-attribute]): Likewise.
1824 ([-ftree-switch-conversion]): Likewise.
1825 ([-ftree-tail-merge]): Likewise.
1826 ([-ftree-loop-if-convert]): Likewise.
1827 ([-ftree-loop-if-convert-stores]): Likewise.
1828 ([-ftree-loop-distribution]): Likewise.
1829 ([-ftree-loop-distribute-patterns]): Likewise.
1830 ([-flto-compression-level]): Likewise.
1831 ([-flto-report]): Likewise.
1832 ([-flto-report-wpa]): Likewise.
1833 ([-fuse-linker-plugin]): Likewise.
1834 ([-mfix-cortex-a53-835769]): Likewise.
1835 ([-mno-fix-cortex-a53-835769]): Likewise.
1836 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
1837 explicit listing; add a note to the discussion indicating they
1838 exist. Reorder table to group similar options. Add missing
1839 @opindex entries. Add @need commands throughout the table to
1840 allow it to be split across multiple pages.
1841 ([-m8bit-idiv]): Fix @opindex.
1842 ([-mavx256-split-unaligned-load]): Likewise.
1843 ([-mavx256-split-unaligned-store]): Likewise.
1844 ([-mstack-protector-guard]): Likewise.
1845 ([-mcpu=]): Likewise.
1846 ([-mcpu]): Likewise.
1847 ([-mpointer-size=]): Likewise.
1849 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
1851 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
1852 instead of `m' constraint. Likewise for unnamed movb comparison
1853 patterns using reg_before_reload_operand predicate.
1854 * config/pa/predicates.md (reg_before_reload_operand): Tighten
1855 predicate to reject register index and LO_SUM DLT memory forms
1858 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
1860 * doc/invoke.texi (Option Summary): Fix spelling of
1861 -fdevirtualize-at-ltrans.
1862 ([-fdevirtualize]): Fix markup.
1863 ([-fdevirtualize-speculatively]): Fix typo.
1864 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
1866 * common.opt (fdevirtualize-at-ltrans): Likewise.
1867 * ipa-devirt.c: Fix typos in comments throughout the file.
1868 (ipa_devirt): Fix typos in format strings for dump output.
1870 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
1872 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
1873 discussion of defaults, light copy-editing.
1875 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1877 * tsan.c (instrument_expr): corrected previous checkin.
1879 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
1881 Instrument bit field and unaligned accesses for TSAN.
1882 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
1883 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
1884 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
1885 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
1886 unaligned memory regions.
1888 2015-01-01 Anthony Green <green@moxielogic.com>
1890 * config/moxie/predicates.md (moxie_general_movsrc_operand):
1891 Restrict move source register offsets to 16 bits.
1893 Copyright (C) 2015 Free Software Foundation, Inc.
1895 Copying and distribution of this file, with or without modification,
1896 are permitted in any medium without royalty provided the copyright
1897 notice and this notice are preserved.