Fix indentation in an earlier gcc/ChangeLog update
[official-gcc.git] / gcc / ChangeLog
blob50713d15e82a9b19dbb3f594130832f24a034055
1 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
3         * config/mips/constraints.md (ZC): Add support for R6 LL/SC
4         offsets.
5         (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
6         * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
7         (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
8         * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
9         instead of ZR for the memory operand of LL/SC.
10         (compare_and_swap_12, sync_add<mode>): Likewise.
11         (sync_<optab>_12, sync_old_<optab>_12): Likewise.
12         (sync_new_<optab>_12, sync_nand_12): Likewise.
13         (sync_old_nand_12, sync_new_nand_12): Likewise.
14         (sync_sub<mode>, sync_old_add<mode>): Likewise.
15         (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
16         (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
17         (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
18         (sync_nand<mode>, sync_old_nand<mode>): Likewise.
19         (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
20         (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
21         (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
22         * doc/md.texi (ZC): Update description.
24 2015-01-14  Andrew MacLeod  <amacleod@redhat.com>
26         * builtins.c (expand_builtin_atomic_exchange): Remove error when
27         memory model is CONSUME.
28         (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
29         expand_builtin_atomic_store): Change invalid memory model errors to
30         warnings.
31         (expand_builtin_atomic_clear): Change invalid model errors to warnings
32         and issue warning for CONSUME.
34 2015-01-14  Aldy Hernandez  <aldyh@redhat.com>
36         * lto-cgraph: Update function comments for
37         lto_symtab_encoder_encode_*.
39 2015-01-14  Ilya Verbin  <ilya.verbin@intel.com>
41         * Makefile.in (site.exp): Do not set ENABLE_LTO.
43 2015-01-14  Ilya Verbin  <ilya.verbin@intel.com>
45         * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
46         * lto-cgraph.c (select_what_to_stream): Remove argument, use
47         lto_stream_offload_p instead.
48         * lto-streamer.h (select_what_to_stream): Remove argument.
49         * passes.c (ipa_write_summaries): Likewise.
50         * tree-pass.h (ipa_write_summaries): Likewise.
52 2015-01-14  Richard Biener  <rguenther@suse.de>
54         PR tree-optimization/59354
55         * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
56         groups larger than the slp group size as having gaps.
58 2015-01-14  Andrew MacLeod  <amacleod@redhat.com>
60         PR middle-end/59448
61         * builtins.c (get_memmodel): Promote consume to acquire always.
63 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
65         PR target/64386
66         * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
67         V32HImode. 
69 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
71         PR target/64393
72         * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
73         Enable AVX512BW.
74         (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
75         * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
76         AVX512VBMI, as it implies AVX512BW.
78 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
80         PR target/64387
81         * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
82         (vec_unpacks_hi_v16sf): Ditto.
84 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
86         * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
87         is not available.
89 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
91         * doc/invoke.texi (mapcs): Mention deprecation.
92         (mapcs-frame): Likewise.
94 2015-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
96         PR target/64453
97         * config/arm/arm.c (callee_saved_reg_p): Define.
98         (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
99         register is callee saved instead of !call_used_regs[reg].
100         (thumb1_compute_save_reg_mask): Likewise.
102 2015-01-14  Hale Wang  <hale.wang@arm.com>
104         * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
105         Cortex-M7.
107 2015-01-14  Richard Biener  <rguenther@suse.de>
109         PR lto/64415
110         * tree-inline.c (insert_debug_decl_map): Check destination
111         function MAY_HAVE_DEBUG_STMTS.
112         (insert_init_debug_bind): Likewise.
113         (insert_init_stmt): Remove redundant check.
114         (remap_gimple_stmt): Drop debug stmts if the destination
115         function has var-tracking assignments disabled.
117 2015-01-14  Martin Liska  <mliska@suse.cz>
119         * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
120         IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
122 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
124         PR target/64460
125         * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
126         (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
128 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
130         * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
131         level from an ARCH; do not inject the default.
132         (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
133         MIPS_ISA_LEVEL_SPEC.
134         (MIPS_ISA_NAN2008_SPEC): Update comment.
135         (BASE_DRIVER_SELF_SPECS): Likewise.
136         * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
137         MIPS_DEFAULT_ISA_LEVEL_SPEC.
138         * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
139         * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
140         * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
142 2015-01-14  Richard Biener  <rguenther@suse.de>
144         PR tree-optimization/64493
145         PR tree-optimization/64495
146         * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
147         assign the proper vectorized PHI to the inner loop exit PHIs.
149 2015-01-14  Joey Ye  <joey.ye@arm.com>
151         * config/arm/arm.c (arm_compute_save_reg_mask):
152         Do not save lr in case of tail call.
153         * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
155 2015-01-13  Martin Uecker <uecker@eecs.berkeley.edu>
157         * tree-vrp.c (check_array_ref): Emit more warnings
158         for warn_array_bounds >= 2.
159         * common.opt: New option -Warray-bounds=.
160         * doc/invoke.texi: Document -Warray-bounds=.
162 2015-01-14  Chung-Ju Wu  <jasonwucj@gmail.com>
164         * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
165         (mforbid-fp-as-gp): Remove.
166         (mex9): Remove.
167         * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
168         (nds32_symbol_load_store_p): Remove.
169         (nds32_fp_as_gp_check_available): Clean up implementation.
170         * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
171         cases.
172         * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
173         fp-as-gp and ex9 cases.
175 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
177         * tree-profile.c (init_ic_make_global_vars): Drop workaround
178         for bintuils bug 14342.
179         (init_ic_make_global_vars): Likewise.
180         (gimple_init_edge_profiler): Likewise.
181         (gimple_gen_ic_func_profiler): Likewise.
183 2015-01-13  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
185         * ipa-inline.c (inline_small_functions): Swap the operands in
186         enum.
188 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
190         PR ipa/64481
191         * ipa-inline-analysis.c (node_growth_cache): Remove.
192         (initialize_growth_caches): Do not initialize it.
193         (free_growth_caches): Do not free it.
194         (do_estimate_growth): Rename to ...
195         (estimate_growth): ... this one; drop growth cache code.
196         (growth_likely_positive): Always go the heuristics way.
197         * ipa-inline.c (can_inline_edge_p): Walk through aliases.
198         (reset_edge_caches): Do not reset node growth.
199         (heap_edge_removal_hook): Do not maintain cache.
200         (inline_small_functions): Likewise; strenghten sanity check.
201         (ipa_inline): Do not maintain caches.
202         * ipa-inline.h (node_growth_cache): Remove.
203         (do_estimate_growth): Remove to ...
204         (estimate_growth): this one; remove inline version.
205         (reset_node_growth_cache): Remove.
207 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
209         PR ipa/64565
210         * ipa-inline.c (inline_small_functions): Update callee keys after
211         resolving speculation
212         (inline_small_functions): Always check monotonicity of the queue.
214 2015-01-13  Marek Polacek  <polacek@redhat.com>
216         PR middle-end/64391
217         * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
219 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
221         PR rtl-optimization/64286
222         * ree.c (combine_reaching_defs): Move part of comment earlier,
223         remove !SCALAR_INT_MODE_P check.
224         (add_removable_extension): Don't add vector mode
225         extensions if all uses of the source register aren't the same
226         vector extensions.
228 2015-01-13  Renlin Li  <renlin.li@arm.com>
230         * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
231         (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
233 2015-01-13  Martin Liska  <mliska@suse.cz>
235         * ipa-icf.c (sem_function::equals_private): Call new functions
236         cl_target_option_print_diff and cl_optimization_print_diff.
237         * optc-save-gen.awk (cl_target_option_print_diff): New function.
238         (cl_optimization_print_diff): Likewise.
239         * opth-gen.awk: Likewise.
241 2015-01-13  Richard Sandiford  <richard.sandiford@arm.com>
243         * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
244         (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
245         (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
246         (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
247         (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
248         (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
250 2015-01-13  Andrew Pinski   <apinski@cavium.com>
252         * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
253         instead of src mode.    
255 2015-01-13  Richard Biener  <rguenther@suse.de>
257         PR lto/64373
258         * lto-streamer-out.c (tree_is_indexable): Guard for NULL
259         DECL_CONTEXT.
261 2015-01-13  Andrew Pinski   <apinski@cavium.com>
263         * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
264         volatile mems.
265         (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
267 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
269         PR middle-end/63974
270         * cfgexpand.c (expand_computed_goto): Don't call
271         convert_memory_address here.
273 2015-01-13  Richard Biener  <rguenther@suse.de>
275         PR tree-optimization/64406
276         * tree-loop-distibution.c (pass_loop_distribution::execute):
277         Reset the SCEV hashtable if we distributed anything.
279 2015-01-13  Richard Biener  <rguenther@suse.de>
281         PR tree-optimization/64404
282         * tree-vect-stmts.c (vectorizable_load): Reject conflicting
283         SLP types for CSEd loads.
285 2015-01-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
287         PR tree-optimization/64436
288         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
289         merge of two symbolic numbers for a bitwise OR to ...
290         (perform_symbolic_merge): This. Also fix computation of the range and
291         end of the symbolic number corresponding to the result of a bitwise OR.
293 2014-01-13  Richard Biener  <rguenther@suse.de>
295         PR tree-optimization/64568
296         * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
297         release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
299 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
301         * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
302         TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
304 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
306         * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
307         target-specific symbol_ref flag.
308         (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
309         resides in rodata section.
310         * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
311         (nds32_encode_section_info): New function.
313 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
315         * config/nds32/nds32.md (call): Use pseudo instruction bal which
316         clobbers TA_REGNUM if large code model is specified.
317         (call_register): Likewise.
318         (call_immediate): Likewise.
319         (call_value): Likewise.
320         (call_value_register): Likewise.
321         (call_value_immediate): Likewise.
323 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
325         * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
326         (TARGET_CMODEL_MEDIUM): New macro.
327         (TARGET_CMODEL_LARGE): New macro.
328         * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
329         code model setting in assembly code.
331 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
333         * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
334         Remove MASK_GP_DIRECT flag.
335         * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
336         one of the multilib default options.
337         * config/nds32/nds32.opt (mgp-direct): Remove.
338         * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
339         -mgp-direct.  We also remove unnecessary -mlittle-endian/-mbig-endian.
341 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
343         * config/nds32/nds32.opt (mcmodel): Add new option.
344         * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
345         to describe code model.
347 2015-01-13  Oleg Endo  <olegendo@gcc.gnu.org>
349         PR target/64479
350         * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
352 2015-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
354         * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
355         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
356         (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
357         (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
358         __builtin_sh_set_fpscr.
360 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
362         * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
363         after a funtion name just to indicate it is a function.
364         ([-fsanitize-undefined-trap-on-error]): Likewise.
365         ([-fdbg-cnt=]): Likewise.
366         ([-mmemcpy]): Likewise.
367         ([-mflush-func]): Likewise.
368         ([-msynci]): Likewise.
370 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
372         * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
373         example.
374         
375 2015-01-12  Jakub Jelinek  <jakub@redhat.com>
377         PR tree-optimization/64563
378         * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
379         instead of != VR_VARYING.
381         PR target/64513
382         * config/i386/i386.c (ix86_expand_prologue): Add
383         REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
385         PR tree-optimization/64454
386         * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
387         op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
388         for signed or [0, op1 - 1] for unsigned modulo.
389         (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
390         even if op1 does not satisfy integer_pow2p.
392         PR other/64370
393         * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
395 2015-01-12  Jeff Law  <law@redhat.com>
397         PR target/64461
398         * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
399         (trunchiqi2, truncsihi2): Similarly.
401         * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
402         rather than calling F.
404 2015-01-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>
406         * tsan.c (instrument_expr): Use force_gimple_operand.
407         Use may_be_nonaddressable_p instead of is_gimple_addressable.
409 2015-01-12  Richard Biener  <rguenther@suse.de>
411         PR tree-optimization/64530
412         * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
413         back dr1.
415 2015-01-12  Richard Biener  <rguenther@suse.de>
417         PR middle-end/64357
418         * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
419         latches properly.
421 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
423         * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
424         Cortex-A17 tuning parameters.
425         * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
427 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
429         * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
430         * config/arm/arm.c (arm_macro_fusion_p): New function.
431         (arm_macro_fusion_pair_p): Likewise.
432         (TARGET_SCHED_MACRO_FUSION_P): Define.
433         (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
434         (ARM_FUSE_NOTHING): Likewise.
435         (ARM_FUSE_MOVW_MOVT): Likewise.
436         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
437         arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
438         arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
439         arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
440         arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
441         arm_cortex_a5_tune): Specify fuseable_ops value.
443 2015-01-12  H.J. Lu  <hongjiu.lu@intel.com>
445         PR bootstrap/64561
446         * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
447         test for PIE with copy reloc.
448         * configure: Regenerated.
450 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
452         * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
453         in gen_rtx_REG.
454         (arm_tls_descseq_addr): Likewise.
455         (arm_gen_movmemqi): Likewise.
456         (arm_expand_epilogue_apcs_frame): Likewise.
457         (arm_expand_epilogue): Likewise.
458         (arm_expand_prologue): Likewise.  Use R1_REGNUM instead of constant 1
459         in gen_rtx_REG.
461 2015-01-12  Martin Liska  <mliska@suse.cz>
463         PR ipa/64550
464         * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
465         volatility for correct operands.
467 2015-01-12  Martin Liska  <mliska@suse.cz>
469         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
470         that a function is not leaf.
471         (sem_function::compare_polymorphic_p): Likewise.
473 2015-01-12  Martin Liska  <mliska@suse.cz>
475         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
476         that a function is not leaf.
477         (sem_function::compare_polymorphic_p): Likewise.
479 2015-01-12  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
481         * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
482         machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
483         fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
484         fold-const.h, tree-check.h.
486 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
488         PR ipa/63967
489         PR ipa/64425
490         * ipa-inline.c (compute_uninlined_call_time,
491         compute_inlined_call_time): Use counts for extra precision when
492         needed possible.
493         (big_speedup_p): Fix formating.
494         (RELATIVE_TIME_BENEFIT_RANGE): Remove.
495         (relative_time_benefit): Remove.
496         (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
497         merge guessed and read profile paths.
498         (inline_small_functions): Count only !optimize_size functions into
499         initial size; be more lax about sanity check when profile is used;
500         be sure to update inlined function profile when profile is read.
502 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
504         PR ipa/63470
505         * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
506         cost when edge becomes direct.
507         * ipa-prop.c (make_edge_direct): Do not adjust when speculation
508         is resolved or when introducing new speculation.
510 2015-01-12  Chen Gang  <gang.chen.5i5j@gmail.com>
512         PR ipa/64551
513         PR ipa/64552
514         * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
515         '||' to fix typo issue.
517         * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
518         accept and return NULL.
520 2015-01-12  Martin Liska  <mliska@suse.cz>
522         * cgraph.c (cgraph_edge::remove_callee): Move function to header
523         file for being inlined.
524         (cgraph_set_edge_callee): Delete.
525         (cgraph_edge::redirect_callee): Move function to header file
526         for being inlined.
527         (cgraph_edge::make_direct): Use new function.
528         (cgraph_edge::dump_edge_flags): New function created from
529         static dump_edge_flags function.
530         (cgraph_node::dump): Use new function.
531         (cgraph_edge::verify_count_and_frequency): New function created
532         from verify_edge_count_and_frequency.
533         (cgraph_edge::verify_corresponds_to_fndecl): New function created
534         from verify_edge_corresponds_to_fndecl.
535         (verify_edge_corresponds_to_fndecl): Delete.
536         (cgraph_node::verify_node): Use new function.
537         * cgraph.h (cgraph_edge::set_callee): New function.
538         (cgraph_edge::dump_edge_flags): Likewise.
539         (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
541 2015-01-11  Jan Hubicka  <hubicka@ucw.cz>
543         * ipa-utils.c (estimate_function_body_sizes): Do not
544         free node params when called late with early=true.
546 2015-01-11  James Greenhalgh  <james.greenhalgh@arm.com>
548         * doc/md.texi (Instruction Patterns): Rewrite text for
549         clarity.
550         (Example): Likewise.
552 2015-01-10  Sandra Loosemore  <sandra@codesourcery.com>
554         * doc/invoke.texi (Option Summary): Break long lines.
555         [(-fdiagnostics-color)]: Put long literal in @smallexample
556         instead of inline.
557         [(-fsanitize-recover)]: Likewise.
558         [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
559         [(-ffast-math)]: Likewise.
560         [(--param max-inline-insns-recursive)]: Likewise.
561         [(--param max-inline-recursive-depth)]: Likewise.
562         [(-mno-text-section-literals)]: Likewise.
563         
564 2015-01-10  Thomas Schwinge  <thomas@codesourcery.com>
566         * doc/install.texi: Update for libgomp being renamed from "GNU
567         OpenMP Runtime Library" to "GNU Offloading and Multi Processing
568         Runtime Library".
569         * doc/sourcebuild.texi: Likewise.
571 2015-01-10  Anthony Green  <green@moxielogic.com>
573         * config/moxie/moxie.c (moxie_option_override): Fix forcing of
574         mul.x availability for moxiebox configuration.
576 2015-01-09  Anthony Green  <green@moxielogic.com>
578         * config/moxie/moxie.md: Tabify assembly output.
580 2015-01-09  Anthony Green  <green@moxielogic.com>
582         * config/moxie/moxie.md (CC_REG): Correct register definition.
584 2015-01-09  Sandra Loosemore  <sandra@codesourcery.com>
586         * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
587         ([-fvtv-debug], [-fvtv-counts]): Likewise.  Correct location
588         of log files.
590 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
592         * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
594 2015-01-09  Bernd Schmidt  <bernds@codesourcery.com>
595             Jakub Jelinek  <jakub@redhat.com>
597         PR middle-end/64412
598         * lto-streamer.h (lto_stream_offload_p): New declaration.
599         * lto-streamer.c (lto_stream_offload_p): New variable.
600         * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
601         at the same time as section_name_prefix.
602         * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
603         if lto_stream_offload_p.
604         * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
605         stream TREE_TARGET_OPTION if lto_stream_offload_p.
606         (write_ts_function_decl_tree_pointers): Don't
607         stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
608         * tree-streamer-in.c (unpack_value_fields): Don't stream
609         TREE_TARGET_OPTION in if ACCEL_COMPILER.
610         (lto_input_ts_function_decl_tree_pointers): Don't stream
611         DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
612         * lto-opts.c (lto_write_options): Use lto_stream_offload_p
613         instead of section_name_prefix string comparisons.
615 2015-01-09  Jakub Jelinek  <jakub@redhat.com>
617         PR rtl-optimization/64536
618         * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
619         tablejumps.
621 2015-01-09  Michael Collison  <michael.collison@linaro.org>
623         * genattrtab.c (write_header): Include hash-set.h, machmode.h,
624         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
625         fold-const.h, wide-int.h, and inchash.h when generating
626         insn-attrtab.c.
627         * genautomata.c (main) : Include hash-set.h, macInclude hash-set.h, machmode.h,
628         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
629         fold-const.h, wide-int.h, and inchash.h when generating
630         insn-automata.c.
631         * genemit.c (main): Include hash-set.h, machmode.h,
632         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
633         fold-const.h, wide-int.h, and inchash.h when generating
634         insn-emit.c.
635         * gengtype.c (open_base_files): Include hash-set.h, machmode.h,
636         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
637         fold-const.h, wide-int.h, and inchash.h when generating
638         gtype-desc.c.
639         * genopinit.c (main): Include hash-set.h, machmode.h,
640         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
641         fold-const.h, wide-int.h, and inchash.h when generating
642         insn-opinit.c.
643         * genoutput.c (output_prologue): Include hash-set.h, machmode.h,
644         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
645         fold-const.h, wide-int.h, and inchash.h when generating
646         insn-output.c.
647         * genpeep.c (main): Include hash-set.h, machmode.h,
648         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
649         fold-const.h, wide-int.h, and inchash.h when generating
650         insn-peep.c.
651         * genpreds.c (write_insn_preds_c): Include hash-set.h, machmode.h,
652         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
653         fold-const.h, wide-int.h, and inchash.h when generating
654         insn-preds.c.
655         * optc-save-gen-awk: Include hash-set.h, machmode.h,
656         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
657         fold-const.h, wide-int.h, and inchash.h when generating
658         options-save.c.
659         * opth-gen.awk: Change include guard from GCC_C_COMMON_H to GCC_C_COMMON_C
660         when generating options.h.
661         * alias.c: Include hash-set.h, machmode.h,
662         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
663         fold-const.h, wide-int.h, and inchash.h due to
664         flattening of tree.h.
665         * asan.c: Ditto.
666         * attribs.c: Ditto.
667         * auto-inc-dec.c: Ditto.
668         * auto-profile.c: Ditto
669         * bb-reorder.c: Ditto.
670         * bt-load.c: Include symtab.h due to flattening of tree.h.
671         * builtins.c: Include hash-set.h, machmode.h,
672         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
673         fold-const.h, wide-int.h, and inchash.h due to
674         flattening of tree.h.
675         * calls.c: Include hash-set.h, machmode.h,
676         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
677         fold-const.h, wide-int.h, and inchash.h due to
678         flattening of tree.h.
679         * ccmp.c: Ditto.
680         * cfgbuild.c: Include hash-set.h, machmode.h,
681         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
682         fold-const.h, wide-int.h, and inchash.h due to flattening of tree.h.
683         * cfg.c: Ditto.
684         * cfgcleanup.c: Ditto.
685         * cfgexpand.c: Ditto.
686         * cfghooks.c: Ditto.
687         * cfgloop.c: Include symtab.h, fold-const.h, and
688         inchash.h due to flattening of tree.h.
689         * cfgloopmanip.c: Ditto.
690         * cfgrtl.c: Include hash-set.h, machmode.h,
691         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
692         fold-const.h, wide-int.h, and inchash.h due to
693         flattening of tree.h.
694         * cgraphbuild.c: Ditto.
695         * cgraph.c: Ditto.
696         * cgraphclones.c: Ditto.
697         * cgraphunit.c: Ditto.
698         * cilk-common.c: Ditto.
699         * combine.c: Ditto.
700         * combine-stack-adj.c: Include symbol.h due to flattening of tree.h.
701         * config/aarch64/aarch64-builtins.c: Include hash-set.h, machmode.h,
702         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
703         fold-const.h, wide-int.h, and inchash.h due to
704         flattening of tree.h.
705         * config/aarch64/aarch64.c: Ditto.
706         * config/alpha/alpha.c: Ditto.
707         * config/arc/arc.c: Ditto.
708         * config/arm/aarch-common.c: Ditto.
709         * config/arm/arm-builtins.c: Ditto.
710         * config/arm/arm.c: Ditto.
711         * config/arm/arm-c.c: Ditto.
712         * config/avr/avr.c: Ditto.
713         * config/avr/avr-c.c: Ditto.
714         * config/avr/avr-log.c: Ditto.
715         * config/bfin/bfin.c: Ditto.
716         * config/c6x/c6x.c: Ditto.
717         * config/cr16/cr16.c: Ditto.
718         * config/cris/cris.c: Ditto.
719         * config/darwin.c: Ditto.
720         * config/darwin-c.c: Ditto.
721         * config/default-c.c: Ditto.
722         * config/epiphany/epiphany.c: Ditto.
723         * config/fr30/fr30.c: Ditto.
724         * config/frv/frv.c: Ditto.
725         * config/glibc-c.c: Ditto.
726         * config/h8300/h8300.c: Ditto.
727         * config/i386/i386.c: Ditto.
728         * config/i386/i386-c.c: Ditto.
729         * config/i386/msformat.c: Ditto.
730         * config/i386/winnt.c: Ditto.
731         * config/i386/winnt-cxx.c: Ditto.
732         * config/i386/winnt-stubs.c: Ditto.
733         * config/ia64/ia64.c: Ditto.
734         * config/ia64/ia64-c.c: Ditto.
735         * config/iq2000/iq2000.c: Ditto.
736         * config/lm32/lm32.c: Include symtab.h, fold-const.h,
737         wide-int.h, and inchash.h due to flattening of tree.h.
738         * config/m32c/m32c.c: Include hash-set.h, machmode.h,
739         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
740         fold-const.h, wide-int.h, and inchash.h due to
741         flattening of tree.h.
742         * config/m32c/m32c-pragma.c: Ditto.
743         * config/m32c/m32cr.c: Ditto.
744         * config/m68/m68k.c: Ditto.
745         * config/mcore/mcore.c: Ditto.
746         * config/mep/mep.c: Ditto.
747         * config/mep/mep-pragma.c: Ditto.
748         * config/microblaze/microblaze.c: Ditto.
749         * config/microblaze/microblaze-c.c: Ditto.
750         * config/mips/mips.c: Ditto.
751         * config/mmix/mmix.c: Include symtab.h, fold-const.h,
752         wide-int.h, and inchash.h due to flattening of tree.h.
753         * config/mn10300/mn10300.c: Include hash-set.h, machmode.h,
754         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
755         fold-const.h, wide-int.h, and inchash.h due to
756         flattening of tree.h.
757         * config/moxie/moxie.c: Ditto.
758         * config/msp430/msp430.c: Ditto.
759         * config/msp430/msp430-c.c: Ditto.
760         * config/nds32/nds32.c: Ditto.
761         * config/nds32/nds32-cost.c: Ditto.
762         * config/nds32/nds32-fp-as-gp.c: Ditto.
763         * config/nds32/nds32-intrinsic.c: Ditto.
764         * config/nds32/nds32-isr.c: Ditto.
765         * config/nds32/nds32-md-auxillary.c: Ditto.
766         * config/nds32/nds32-memory-manipulationx.c: Ditto.
767         * config/nds32/nds32-pipelines-auxillary.c: Ditto.
768         * config/nds32/nds32-predicates.c: Ditto.
769         * config/nios2/nios2.c: Ditto.
770         * config/nvptx/nvptx.c: Ditto.
771         * config/pa/pa.c: Ditto.
772         * config/pdp11/pdp11x.c: Include symtab.h, fold-const.h,
773         wide-int.h, and inchash.h due to flattening of tree.h.
774         * config/rl78/rl78.c: Include hash-set.h, machmode.h,
775         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
776         fold-const.h, wide-int.h, and inchash.h due to
777         flattening of tree.h.
778         * config/rl78/rl78-cx.c: Ditto.
779         * config/rs6000/rs6000.c: Ditto.
780         * config/rs6000/rs6000-c.c: Ditto.
781         * config/rx/rx.c: Ditto.
782         * config/s390/s390.c: Ditto.
783         * config/sh/sh.c: Ditto.
784         * config/sh/sc.c: Ditto.
785         * config/sh/sh-mem.cc: Ditto.
786         * config/sh/sh_treg_combine.cc: Include symtab.h, inchash.h and tree.h
787         due to flattening of tree.h.
788         Remove include of tree-core.h.
789         * config/sol2.c: Include hash-set.h, machmode.h,
790         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
791         fold-const.h, wide-int.h, and inchash.h due to
792         flattening of tree.h.
793         * config/sol2-c.c: Ditto.
794         * config/sol2-cxx.c: Ditto.
795         * config/sol2-stubs.c: Ditto.
796         * config/sparc/sparc.c: Ditto.
797         * config/sparc/sparc-cx.c: Ditto.
798         * config/spu/spu.c: Ditto.
799         * config/spu/spu-c.c: Ditto
800         * config/storym16/stormy16.c: Ditto.
801         * config/tilegx/tilegx.c: Include symtab.h, fold-const.h,
802         wide-int.h, and inchash.h due to flattening of tree.h.
803         * config/tilepro/gen-mul-tables.cc: Include symtab.h in generated file.
804         * config/tilegx/tilegx-c.c: Include hash-set.h, machmode.h,
805         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
806         fold-const.h, wide-int.h, and inchash.h due to
807         flattening of tree.h.
808         * config/tilepro/tilepro.c: Include symtab.h, fold-const.h,
809         wide-int.h, and inchash.h due to flattening of tree.h.
810         * config/tilepro/tilepro-c.c: Include hash-set.h, machmode.h,
811         vec.h, double-int.h, input.h, alias.h, symtab.h, options.h
812         fold-const.h, wide-int.h, and inchash.h due to
813         flattening of tree.h.
814         * config/v850/v850.c: Ditto.
815         * config/v850/v850-c.c: Ditto.
816         * config/vax/vax.c: Ditto.
817         * config/vms/vms.c: Ditto.
818         * config/vms/vms-c.c: Ditto.
819         * config/vxworks.c: Ditto.
820         * config/winnt-c.c: Ditto.
821         * config/xtensa/xtensa.c: Include symtab.h, fold-const.h,
822         wide-int.h, and inchash.h due to flattening of tree.h.
823         * convert.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
824         input.h, alias.h, symtab.h, options.h, fold-const.h,
825         wide-int.h, and inchash.h due to flattening of tree.h.
826         * coverage.c: Ditto.
827         * cppbuiltin.c: Ditto.
828         * cprop.c: Ditto.
829         * cse.c: Add include of symtab.h due to flattening of tree.h.
830         * cselib.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
831         input.h, alias.h, symtab.h, options.h, fold-const.h,
832         wide-int.h, and inchash.h due to flattening of tree.h.
833         * data-streamer.c: Ditto.
834         * data-streamer-in.c: Ditto.
835         * data-streamer-out.c: Ditto.
836         * dbxout.c: Ditto.
837         * dce.c: Ditto.
838         * ddg.c: Add include of symtab.h due to flattening of tree.h.
839         * debug.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
840         input.h, alias.h, symtab.h, options.h, fold-const.h,
841         wide-int.h, and inchash.h due to flattening of tree.h.
842         * dfp.c: Ditto.
843         * df-scan.c: Ditto.
844         * dojump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
845         input.h, alias.h, symtab.h, options.h, fold-const.h,
846         wide-int.h, inchash.h and real.h due to flattening of tree.h.
847         * double-int.c: Ditto.
848         * dse.c: Ditto.
849         * dumpfile.c: Ditto.
850         * dwarf2asm.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
851         input.h, alias.h, symtab.h, fold-const.h,
852         wide-int.h, inchash.h and real.h due to flattening of tree.h.
853         * dwarf2cfi.c: Ditto.
854         * dwarf2out.c: Ditto.
855         * emit-rtl.c: Ditto.
856         * except.c: Ditto.
857         * explow.c: Ditto.
858         * expmed.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
859         input.h, alias.h, symtab.h, fold-const.h,
860         wide-int.h, and inchash.h due to flattening of tree.h.
861         * expr.c: Ditto.
862         * final.c: Ditto.
863         * fixed-value.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
864         input.h, alias.h, symtab.h, fold-const.h,
865         wide-int.h, inchash.h and fixed-value.h due to flattening of tree.h.
866         * fold-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
867         input.h, alias.h, symtab.h, fold-const.h,
868         wide-int.h, and inchash.h due to flattening of tree.h.
869         Relocate inline function convert_to_ptrofftype_loc from tree.h.
870         Relocate inline function fold_build_pointer_plus_loc from tree.h.
871         Relocate inline function fold_build_pointer_plus_hwi_loc from tree.h.
872         * fold-const.h: Relocate macro convert_to_ptrofftype from tree.h.
873         Relocate macro fold_build_pointer_plus to relocate from tree.h.h.
874         Relocate macro fold_build_pointer_plus_hwi from tree.h.
875         Add prototype for convert_to_ptrofftype_loc relocated from tree.h.
876         Add prototype for fold_build_pointer_plus_loc relocated from tree.h.
877         Add prototype for fold_build_pointer_plus_hwi_loc relocated from tree.h.
878         * function.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
879         input.h, alias.h, symtab.h, fold-const.h,
880         wide-int.h, and inchash.h due to flattening of tree.h.
881         * gcc-plugin.h: Include statistics.h, double-int.h, real.h, fixed-value.h,
882         alias.h, flags.h, and symtab.h due to flattening of tree.h
883         * gcse.c: Ditto.
884         * generic-match-head.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
885         input.h, alias.h, symtab.h, options.h, fold-const.h,
886         wide-int.h, and inchash.h due to flattening of tree.h.
887         * ggc-page.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
888         input.h, alias.h, symtab.h, fold-const.h,
889         wide-int.h, and inchash.h due to flattening of tree.h.
890         * gimple-builder.c: Ditto.
891         * gimple.c: Ditto.
892         * gimple-expr.c: Ditto.
893         * gimple-fold.c: Ditto.
894         * gimple-iterator.c: Ditto.
895         * gimple-low.c: Ditto.
896         * gimple-match-head.c: Ditto.
897         * gimple-pretty-print.c: Ditto.
898         * generic-ssa-isolate-paths.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
899         input.h, alias.h, symtab.h, options.h, fold-const.h,
900         wide-int.h, and inchash.h due to flattening of tree.h.
901         * gimple-ssa-strength-reduction.c: Ditto.
902         * gimple-streamer-in.c: Ditto.
903         * gimple-streamer-out.c: Ditto.
904         * gimple-walk.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
905         input.h, alias.h, symtab.h, fold-const.h,
906         wide-int.h, and inchash.h due to flattening of tree.h.
907         * gimplify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
908         input.h, alias.h, symtab.h, options.h, fold-const.h,
909         wide-int.h, and inchash.h due to flattening of tree.h.
910         * gimplify-me.c: Ditto.
911         * graphite-blocking.c: Ditto.
912         * graphite.c: Ditto.
913         * graphite-dependencies.c: Ditto.
914         * graphite-interchange.c: Ditto.
915         * graphite-isl-ast-to-gimple.c: Ditto.
916         * graphite-optimize-isl.c: Ditto.
917         * graphite-poly.c: Ditto.
918         * graphite-scop-detection.c: Ditto.
919         * graphite-sese-to-poly.c: Ditto.
920         * hw-doloop.c: Include symtab.h due to flattening of tree.h.
921         * ifcvt.c: Ditto.
922         * init-regs.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
923         input.h, alias.h, symtab.h, fold-const.h,
924         wide-int.h, and inchash.h due to flattening of tree.h.
925         * internal-fc.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
926         input.h, alias.h, symtab.h,options.h, fold-const.h,
927         wide-int.h, and inchash.h due to flattening of tree.h.
928         * ipa.c: Ditto.
929         * ipa-chkp.c: Ditto.
930         * ipa-comdats.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
931         input.h, alias.h, symtab.h, fold-const.h,
932         wide-int.h, and inchash.h due to flattening of tree.h.
933         * ipa-cp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
934         input.h, alias.h, symtab.h,options.h, fold-const.h,
935         wide-int.h, and inchash.h due to flattening of tree.h.
936         * ipa-devirt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
937         input.h, alias.h, symtab.h, fold-const.h,
938         wide-int.h, and inchash.h due to flattening of tree.h.
939         * ipa-icf.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
940         input.h, alias.h, symtab.h,options.h, fold-const.h,
941         wide-int.h, and inchash.h due to flattening of tree.h.
942         * ipa-icf-gimple.c: Ditto.
943         * ipa-inline-analysis.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
944         input.h, alias.h, symtab.h, fold-const.h,
945         wide-int.h, and inchash.h due to flattening of tree.h.
946         * ipa-inline.c: Ditto.
947         * ipa-inline-transform.c: Ditto.
948         * ipa-polymorhpic-call.c: Ditto.
949         * ipa-profile.c: Ditto.
950         * ipa-prop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
951         input.h, alias.h, symtab.h, options.h, fold-const.h,
952         wide-int.h, and inchash.h due to flattening of tree.h.
953         * ipa-pure-const.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
954         input.h, alias.h, symtab.h, fold-const.h,
955         wide-int.h, and inchash.h due to flattening of tree.h.
956         * ipa-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
957         input.h, alias.h, symtab.h, options.h, fold-const.h,
958         wide-int.h, and inchash.h due to flattening of tree.h.
959         * ipa-reference.c: Ditto.
960         * ipa-split.c: Ditto.
961         * ipa-utils.c: Ditto.
962         * ipa-visbility.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         * ira.c: Ditto.
966         * ira-color.c: Include hash-set.h due to flattening of tree.h.
967         * ira-costs.c: Ditto.
968         * ira-emit.c: Ditto.
969         * jump.c: Include symtab.h due to flattening of tree.h.
970         * langhooks.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
971         input.h, alias.h, symtab.h, fold-const.h,
972         wide-int.h, and inchash.h due to flattening of tree.h.
973         * loop-doloop.c: Include symtab.h due to flattening of tree.h.
974         * loop-init.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         * loop-invariant.c: Include symtab.h due to flattening of tree.h.
978         * loop-iv.c: Ditto.
979         * loop-unroll.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
980         input.h, alias.h, symtab.h, fold-const.h,
981         wide-int.h, and inchash.h due to flattening of tree.h.
982         * lower-subreg.c: Ditto.
983         * lra-assigns.c: Include symtab.h due to flattening of tree.h.
984         * lra.c: Include symtab.h, fold-const.h, wide-int.h and inchash.h
985         due to flattening of tree.h.
986         * lra-coalesce.c: Include symtab.h due to flattening of tree.h.
987         * lra-constraints.c: Ditto.
988         * lra-eliminations.c: Ditto.
989         * lra-livesc: Ditto.
990         * lra-remat.c: Ditto.
991         * lra-spills.c: Ditto.
992         * lto-cgraph.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
993         input.h, alias.h, symtab.h, fold-const.h,
994         wide-int.h, and inchash.h due to flattening of tree.h.
995         * lto-compress.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
996         input.h, alias.h, symtab.h, options, fold-const.h,
997         wide-int.h, and inchash.h due to flattening of tree.h.
998         * lto-opts.c: Ditto.
999         * lto-section-in.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1000         input.h, alias.h, symtab.h, fold-const.h,
1001         wide-int.h, and inchash.h due to flattening of tree.h.
1002         * lto-section-out.c: Ditto.
1003         * lto-streamer.c: Ditto.
1004         * lto-streamer-in.c: Ditto.
1005         * lto-streamer-out.c: Ditto.
1006         * modulo-sched.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1007         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1008         inchash.h due to flattening of tree.h.
1009         * omega.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1010         input.h, alias.h, symtab.h, options, fold-const.h,
1011         wide-int.h, and inchash.h due to flattening of tree.h.
1012         * omega-low.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1013         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1014         inchash.h due to flattening of tree.h.
1015         * optabs.c: Ditto.
1016         * opts-global.c: Ditto.
1017         * passes.c: Ditto.
1018         * plugin.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1019         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1020         inchash.h due to flattening of tree.h.
1021         * postreload.c: Include symtab.h due to flattening of tree.h.
1022         * postreload-gcse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1023         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1024         inchash.h due to flattening of tree.h.
1025         * predict.c: Ditto.
1026         * print-rtl.c: Ditto.
1027         * print-tree.c: Ditto.
1028         * profile.c: Include symtab.h, fold-const.h
1029         and inchash.h due to flattening of tree.h.
1030         * real.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1031         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1032         inchash.h due to flattening of tree.h.
1033         * realmpfr.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1034         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1035         inchash.h due to flattening of tree.h.
1036         * recog.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1037         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1038         inchash.h due to flattening of tree.h.
1039         * ree.c: Ditto.
1040         * reginfo.c: Ditto.
1041         * reg-stack.c: Ditto.
1042         * reload1.c: Include symtab.h, fold-const.h, wide-int.h
1043         and inchash.h due to flattening of tree.h.
1044         * reload.c: Include symtab.h due to flattening of tree.h.
1045         * reorg.c: Ditto.
1046         * rtlanal.c: Include symtab.h, fold-const.h, wide-int.h
1047         and inchash.h due to flattening of tree.h.
1048         * rtl-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1049         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1050         inchash.h due to flattening of tree.h.
1051         * rtlhooks.c: Include symtab.h due to flattening of tree.h.
1052         * sanopt.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1053         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1054         inchash.h due to flattening of tree.h.
1055         * sched-deps.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1056         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1057         inchash.h due to flattening of tree.h.
1058         * sched-vis.c: Ditto.
1059         * sdbout.c: Ditto.
1060         * sel-sched.c: Include symtab.h, fold-const.h, wide-int.h
1061         and inchash.h due to flattening of tree.h.
1062         * sel-sched-ir.c: Ditto.
1063         * sese.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1064         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1065         inchash.h due to flattening of tree.h.
1066         * shrink-wrap.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1067         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1068         inchash.h due to flattening of tree.h.
1069         * simplify-rtx.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1070         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1071         inchash.h due to flattening of tree.h.
1072         * stack-ptr-mod.c: Ditto.
1073         * stmt.c: Ditto.
1074         * store-motion.c: Ditto.
1075         * store-layout.c: Ditto.
1076         * stringpool.c: Ditto.
1077         * symtab.c: Ditto.
1078         * target-globals.c: Ditto.
1079         * targhooks.c: Ditto.
1080         * toplev.c: Ditto.
1081         * tracer.c: Ditto.
1082         * trans-mem.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1083         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1084         inchash.h due to flattening of tree.h.
1085         * tree-affine.c: Ditto.
1086         * tree-browser.c: Ditto.
1087         * tree.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1088         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1089         inchash.h due to flattening of tree.h.
1090         * tree-call-cdce.c: Include symtab.h, alias.h, double-int.h,
1091         fold-const.h, wide-int.h, inchash.h and real.h due to
1092         flattening of tree.h.
1093         * tree-cfg.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1094         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1095         inchash.h due to flattening of tree.h.
1096         * tree-cfgcleanup.c: Ditto.
1097         * tree-chkp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1098         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1099         inchash.h due to flattening of tree.h.
1100         * tree-chkp-opt.c: Ditto.
1101         * tree-chrec.c: Ditto.
1102         * tree-chkp-opt.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, inchash.h and
1104         real.h due to flattening of tree.h.
1105         * tree-core.h: Flatten header file by removing all #include statements.
1106         * tree-data-ref.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1107         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1108         inchash.h due to flattening of tree.h.
1109         * tree-dfa.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1110         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1111         real.h due to flattening of tree.h.
1112         * tree-diagnostic.c: Ditto.
1113         * tree-dump.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1114         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
1115         fixed-value.h due to flattening of tree.h.
1116         * tree-dfa.c: Ditto.
1117         * tree-eh.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1118         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h and
1119         real.h due to flattening of tree.h.
1120         * tree-emutls.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1121         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1122         inchash.h due to flattening of tree.h.
1123         * tree.h: Flatten header files by removing all includes except tree-core.h.
1124         Remove inline function convert_to_ptrofftype_loc to relocate to fold-const.c.
1125         Remove macro convert_to_ptrofftype to relocate to fold-const.h.
1126         Remove inline function fold_build_pointer_plus_loc to relocate to fold-const.c.
1127         Remove macro fold_build_pointer_plus to relocate to fold-const.h.
1128         Remove inline function fold_build_pointer_plus_hwi_loc to relocate to fold-const.c.
1129         Remove macro fold_build_pointer_plus_hwi to relocate to fold-const.h.
1130         * tree-if-conv.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1131         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h, real.h and
1132         fixed-value.h due to flattening of tree.h.
1133         * tree-inline.c: Ditto.
1134         * tree-into-ssa.c: Ditto.
1135         * tree-iterator.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1136         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1137         inchash.h due to flattening of tree.h.
1138         * tree-loop-distribution.c: Ditto.
1139         * tree-nested.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1140         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1141         due to flattening of tree.h.
1142         * tree-nrv.c: Ditto.
1143         * tree-object-size.c: Ditto.
1144         * tree-outof-ssa.c: Ditto.
1145         * tree-parloops.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1146         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h, and
1147         inchash.h due to flattening of tree.h.
1148         * tree-phinodes.c: Ditto.
1149         * tree-predcom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1150         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1151         due to flattening of tree.h.
1152         * tree-pretty-print.c: Ditto.
1153         * tree-profile.c: double-int.h, input.h, alias.h, symtab.h,
1154         fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
1155         * tree-scalar-evolution.c: Include hash-set.h, machmode.h, vec.h,
1156         double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1157         wide-int.h and inchash.h due to flattening of tree.h.
1158         * tree-sra.c: Include  vec.h, double-int.h,
1159         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, and
1160         inchash.h due to flattening of tree.h.
1161         * tree-ssa-alias.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1162         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1163         due to flattening of tree.h.
1164         * tree-ssa.c: Ditto.
1165         * tree-ssa-ccp.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1166         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
1167         and real.h due to flattening of tree.h.
1168         * tree-ssa-coalesce.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1169         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1170         due to flattening of tree.h.
1171         * tree-ssa-copy.c: Ditto.
1172         * tree-ssa-copyrename.c: Ditto.
1173         * tree-ssa-dce.c: Ditto.
1174         * tree-ssa-dom.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1175         input.h, alias.h, symtab.h, fold-const.h, wide-int.h, inchash.h
1176         and real.h due to flattening of tree.h.
1177         * tree-ssa-dse.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1178         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1179         due to flattening of tree.h.
1180         * tree-ssa-forwprop.c: Ditto.
1181         * tree-ssa-ifcombine.c: Ditto.
1182         * tree-ssa-live.c: Ditto.
1183         * tree-ssa-loop.c: Ditto.
1184         * tree-ssa-loop-ch.c: Ditto.
1185         * tree-ssa-loop-im.c: Ditto.
1186         * tree-ssa-loop-ivcanon.c: Ditto.
1187         * tree-ssa-loop-ivopts.c: Ditto.
1188         * tree-ssa-loop-manip.c: Ditto.
1189         * tree-ssa-loop-niter.c: Ditto.
1190         * tree-ssa-loop-prefetch.c: Ditto.
1191         * tree-ssa-loop-unswitch.c: Ditto.
1192         * tree-ssa-loop-math-opts.c: Ditto.
1193         * tree-ssanames.c: Ditto.
1194         * tree-ssa-operands.c: Ditto.
1195         * tree-ssa-phiopt.c: Ditto.
1196         * tree-ssa-phiprop.c: Ditto.
1197         * tree-ssa-pre.c: Ditto.
1198         * tree-ssa-propagate.c: Ditto.
1199         * tree-ssa-reassoc.c: Ditto.
1200         * tree-ssa-sccvn.c: Ditto.
1201         * tree-ssa-sink.c: Ditto.
1202         * tree-ssa-strlen.c: Include hash-set.h, machmode.h, vec.h,
1203         double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1204         wide-int.h and inchash.h due to flattening of tree.h.
1205         * tree-ssa-structalias.c: double-int.h, input.h, alias.h, symtab.h,
1206         fold-const.h, wide-int.h and inchash.h due to flattening of tree.h.
1207         * tree-ssa-tail-merge.c: Include hash-set.h, machmode.h, vec.h,
1208         double-int.h, input.h, alias.h, symtab.h, fold-const.h,
1209         wide-int.h and inchash.h due to flattening of tree.h.
1210         * tree-ssa-ter.c: Ditto.
1211         * tree-ssa-threadedge.c: Ditto.
1212         * tree-ssa-threadupdate.c: Include hash-set.h, machmode.h, vec.h,
1213         double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1214         wide-int.h and inchash.h due to flattening of tree.h.
1215         * tree-ssa-uncprop.c: Include hash-set.h, machmode.h, vec.h,
1216         double-int.h, input.h, alias.h, symtab.h, fold-const.h,
1217         wide-int.h and inchash.h due to flattening of tree.h.
1218         * tree-ssa-uninit.c: Ditto.
1219         * tree-stdarg.c: Include vec.h, double-int.h, input.h, alias.h,
1220         symtab.h, fold-const.h, wide-int.h and inchash.h due to flattening
1221         of tree.h.
1222         * tree-streamer.c: Include vec.h, double-int.h, input.h, alias.h,
1223         symtab.h, options.h, fold-const.h, wide-int.h and
1224         inchash.h due to flattening of tree.h.
1225         * tree-streamer-in.c: Include hash-set.h, machmode.h, vec.h,
1226         double-int.h, input.h, alias.h, symtab.h, options.h, fold-const.h,
1227         wide-int.h, inchash.h, real.h and fixed-value.h due to flattening
1228         of tree.h.
1229         * tree-streamer-out.c: Dittoo.
1230         * tree-switch-conversion.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1231         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1232         due to flattening of tree.h.
1233         * tree-tailcall.c: Ditto.
1234         * tree-vect-data-refs.c: Ditto.
1235         * tree-vect-generic.c: Include hash-set.h, machmode.h, vec.h, double-int.h, input.h,
1236         alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1237         due to flattening of tree.h.
1238         * tree-vect-loop.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1239         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1240         due to flattening of tree.h.
1241         * tree-vect-loop-manip.c: Ditto.
1242         * tree-vectorizer.c: Ditto.
1243         * tree-vect-patterns.c: Ditto.
1244         * tree-vect-slp.c: Ditto.
1245         * tree-vect-stmts.c: Ditto.
1246         * tree-vrp.c: Ditto.
1247         * tsan.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1248         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1249         due to flattening of tree.h.
1250         * ubsan.c: Ditto.
1251         * value-prof.c.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1252         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1253         due to flattening of tree.h.
1254         * varasm.c: Ditto.
1255         * varpool.c: Ditto.
1256         * var-tracking.c: Ditto.
1257         * vmsdbgout.c: Ditto.
1258         * vtable-verify.c: Include hash-set.h, machmode.h, vec.h, double-int.h,
1259         input.h, alias.h, symtab.h, options.h, fold-const.h, wide-int.h and inchash.h
1260         due to flattening of tree.h.
1261         * wide-int.cc: Include hash-set.h, machmode.h, vec.h, double-int.h,
1262         input.h, alias.h, symtab.h, fold-const.h, wide-int.h and inchash.h
1263         due to flattening of tree.h.
1264         * xcoffout.c: Ditto.
1266 2015-01-09  Tom de Vries  <tom@codesourcery.com>
1268         PR rtl-optimization/64539
1269         * regcprop.c (kill_clobbered_values): Factor out of ...
1270         (copyprop_hardreg_forward_1): ... here.  Use kill_clobbered_values
1271         instead of note_stores with kill_clobbered_value.
1273 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1275          * ginclude/unwind-arm-common.h: Revert previous commit.
1277 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
1279         * config.gcc (arm*-*-freebsd*): New configuration.
1280         * config/arm/freebsd.h: New file.
1281         * config.host: Add extra components for arm*-*-freebsd*.
1282         * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
1283         * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
1285 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1287         * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
1288         for -mcpu=e6500.
1289         * config/rs6000/t-rtems: Add e6500 multilibs.
1291 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1293         * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
1294         MPC8540.
1296 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1298         * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
1299         MULTILIB_EXCEPTIONS.
1301 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1303         * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
1304         MULTILIB_EXCEPTIONS.
1306 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1308         * config/arm/t-rtems-eabi: Rename to...
1309         * config/arm/t-rtems: ...this.
1310         * config/arm/rtems-eabi.h: Rename to...
1311         * config/arm/rtems.h: ...this.
1312         * config.gcc (arm*-*-rtems*): Reflect changes above.
1314 2015-01-09  Richard Biener  <rguenther@suse.de>
1316         PR tree-optimization/64410
1317         * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
1318         on the LHS.
1319         (execute_update_addresses_taken): Deal with that.
1320         * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
1321         loads/stores for complex variables.
1323 2015-01-09  Martin Liska  <mliska@suse.cz>
1325         * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
1326         name comparison.
1327         (func_checker::compare_memory_operand): New function.
1328         (func_checker::compare_operand): Split case to newly
1329         added functions.
1330         (func_checker::compare_cst_or_decl): New function.
1331         (func_checker::compare_gimple_call): Identify
1332         memory operands.
1333         (func_checker::compare_gimple_assign): Likewise.
1334         * ipa-icf-gimple.h: New function.
1336 2015-01-09  Martin Liska  <mliska@suse.cz>
1338         PR ipa/64503
1339         * sreal.c (sreal::dump): Change unsigned format to signed for
1340         m_exp value.
1341         (sreal::to_double): Replace exp2 with scalbln.
1343 2015-01-09  Martin Liska  <mliska@suse.cz>
1345         * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
1346         * ipa-icf.c (sem_function::equals_private): Add support for target and
1347         (sem_item_optimizer::merge_classes): Remove redundant function
1348         optimization flags comparison.
1349         * tree.h (target_opts_for_fn): New function.
1351 2015-01-09  Tom de Vries  <tom@codesourcery.com>
1353         * omp-low.c (expand_omp_for_static_chunk): Fix assert.
1355 2015-01-09  Kito Cheng  <kito@0xlab.org>
1357         PR rtl-optimization/64348
1358         * lra-constraints.c (split_reg): Fix caller-save store/restore
1359         instruction generation.
1361 2015-01-08  John David Anglin  <danglin@gcc.gnu.org>
1363         PR gcov-profile/61790
1364         * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
1365         long long.  Fallback to int64_t if host doesn't have long long and
1366         use strtol if int64_t is long.  Otherwise, use sscanf for conversion.
1368 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
1370         PR tree-optimization/63989
1371         * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
1372         from 1000 to 10000.
1373         * tree-ssa-strlen.c (get_strinfo): Moved earlier.
1374         (get_stridx): If we don't have a record for certain SSA_NAME,
1375         but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
1376         constant offset, call get_stridx_plus_constant.
1377         (get_stridx_plus_constant): New function.
1378         (zero_length_string): Don't use get_stridx here.
1380         PR target/55023
1381         PR middle-end/64388
1382         * dse.c (struct insn_info): Mention frame_read set also
1383         before reload for tail calls on some targets.
1384         (scan_insn): Revert 2014-12-22 change.  Set frame_read
1385         also before reload for tail calls if
1386         HARD_FRAME_POINTER_IS_ARG_POINTER.  Call add_wild_read
1387         instead of add_non_frame_wild_read for non-const/memset
1388         tail calls after reload.
1390 2015-01-08  Jason Merrill  <jason@redhat.com>
1392         * ubsan.c (do_ubsan_in_current_function): New.
1393         (pass_ubsan::gate): Use it.
1394         * ubsan.h: Declare it.
1395         * convert.c (convert_to_integer): Use it.
1397 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
1399         PR target/64338
1400         * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
1401         compare_code when it is unconditionally overwritten afterwards.
1402         Use ix86_reverse_condition instead of reverse_condition.  Don't
1403         change code if *reverse_condition* returned UNKNOWN and don't
1404         swap ct/cf and negate diff in that case.
1406 2015-01-08  Mike Stump  <mikestump@comcast.net>
1408         * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
1409         (pass_tsan_O0::gate): Likewise.
1410         * extend.texi (Function Attributes): Add no_sanitize_thread
1411         documentation.
1413 2015-01-08  Thomas Schwinge  <thomas@codesourcery.com>
1415         * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
1416         for registering builtins.
1417         * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
1418         add -fopenmp to the argv_obstack used when invoking
1419         compile_for_target.
1421         * config/i386/intelmic-mkoffload.c (compile_for_target): Always
1422         add "-m32" or "-m64" to argv_obstack.
1423         (generate_host_descr_file): Likewise, when invoking host_compiler.
1424         (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
1425         ld.
1427 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
1429         * config/sh/sh-mem.cc: Use constant as second operand when emitting
1430         tstsi_t insns.
1432 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
1434         PR target/55212
1435         * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
1436         constant load if constant operand fits into I08.
1438 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
1440         PR sanitizer/64336
1441         * tree.c (build2_stat): Fix up initialization of TREE_READONLY
1442         and TREE_THIS_VOLATILE for MEM_REFs.
1443         (build5_stat): Fix up initialization of TREE_READONLY and
1444         TREE_THIS_VOLATILE for TARGET_MEM_REFs.
1446 2015-01-08  Kaz Kojima  <kkojima@gcc.gnu.org>
1448         PR target/64533
1449         * config/sh/sh.md (*addsi3_compact): Use u constraint instead
1450         of r for the second alternative of the destination operand.
1452 2015-01-07  Segher Boessenkool  <segher@kernel.crashing.org>
1454         PR target/36557
1455         * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
1457 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
1459         * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
1460         keywords.
1461         ([-fivar-visibility], [-fvisibility]): Likewise.
1463 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
1465         * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
1466         the file where @code, @command, etc is more appropriate.
1468 2015-01-06  Sandra Loosemore  <sandra@codesourcery.com>
1470         * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
1471         of -mrecip= documentation.
1473 2015-01-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
1475         PR target/64505
1476         * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
1477         correct reload handler if -m32 -mpowerpc64 is used.
1479 2015-01-06  Tom de Vries  <tom@codesourcery.com>
1481         * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
1483 2015-01-08  Christian Bruel  <christian.bruel@st.com>
1485         PR target/64507
1486         * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
1488 2015-01-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1490         PR tree-optimization/63259
1491         * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
1492         if optab exists for 16bit byteswap.
1494 2015-01-06  Jakub Jelinek  <jakub@redhat.com>
1496         * opts.c (common_handle_option): Add support for
1497         -fno-sanitize=all and -f{,no-}sanitize-recover=all.
1498         * doc/invoke.texi: Document -fno-sanitize=all,
1499         -f{,no-}sanitize-recover=all.  Document that
1500         -fsanitize=float-cast-overflow is not enabled
1501         by -fsanitize=undefined.  Fix up documentation
1502         of -f{,no-}sanitize-recover.
1504 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
1506         * config.gcc: Add Visium support.
1507         * configure.ac: Likewise.
1508         * configure: Regenerate.
1509         * doc/extend.texi (interrupt attribute): Add Visium.
1510         * doc/invoke.texi: Document Visium options.
1511         * doc/install.texi: Document Visium target.
1512         * doc/md.texi: Document Visium constraints.
1513         * common/config/visium: New directory.
1514         * config/visium: Likewise.
1516 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
1518         * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
1519         for the "(and X (ior (not X) Y) -> (and X Y)" transform.
1521 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
1523         * combine.c (combine_validate_cost): Do not count the cost of a
1524         split I2 twice.  Do not display it twice in the dump, either.
1526 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
1528         Revert parts of r219199.
1529         * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
1530         <inttypes.h>.
1531         ([-Wtraditional]): Restore markup on <limits.h>.
1533 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
1535         PR c++/31397
1536         * doc/invoke.texi: Document -Wsuggest-override.
1538 2015-01-05  Radovan Obradovic  <radovan.obradovic@imgtec.com>
1540         PR rtl-optimization/64287
1541         * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
1542         (process_options): Disable flag_ipa_ra if profiling.
1544 2015-01-05  Eric Botcazou  <ebotcazou@adacore.com>
1546         * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
1548 2015-01-05  Max Filippov  <jcmvbkbc@gmail.com>
1550         * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
1551         hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
1552         put under #if TARGET_LOOPS guard.
1554 2015-01-05  Uros Bizjak  <ubizjak@gmail.com>
1556         * config/i386/i386.c (output_387_binary_op): Use std::swap.
1558 2015-01-05  Oleg Endo  <olegendo@gcc.gnu.org>
1560         * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
1561         * rtl.h (refers_to_regno_p): Add overload.
1562         * cse.c: Use it.
1563         * bt-load.c: Likewise.
1564         * combine.c: Likewise.
1565         * df-scan.c: Likewise.
1566         * sched-deps.c: Likewise.
1567         * config/s390/s390.c: Likewise.
1568         * config/m32r/m32r.c: Likewise.
1569         * config/rs6000/spe.md: Likewise.
1570         * config/rs6000/rs6000.c: Likewise.
1571         * config/pa/pa.c: Likewise.
1572         * config/stormy16/stormy16.c: Likewise.
1573         * config/cris/cris.c: Likewise.
1574         * config/arc/arc.md: Likewise.
1575         * config/arc/arc.c: Likewise.
1576         * config/sh/sh.md: Likewise.
1577         * config/sh/sh.c: Likewise.
1578         * config/frv/frv.c: Likewise.
1580 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1582         PR sanitizer/64265
1583         * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
1584         call as cleanup of the whole body.
1585         * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
1586         * tsan.c (replace_func_exit): New function.
1587         (instrument_func_exit): Moved earlier.
1588         (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
1589         Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
1590         been found.
1591         (tsan_pass): Don't call instrument_func_exit.
1592         * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
1593         * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
1594         inlining.
1596         PR sanitizer/64344
1597         * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
1598         * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
1599         it to libubsan handler instead of EXPR.  Fold comparisons earlier,
1600         if the result is integer_zerop, return NULL_TREE.
1601         * convert.c (convert_to_integer): Pass expr as ARG.
1603         PR tree-optimization/64465
1604         * tree-inline.c (redirect_all_calls): During inlining
1605         clean up EH stmts and EH edges if redirect_call_stmt_to_callee
1606         changed the stmt to a non-throwing call.
1608 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
1610         * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
1611         etc markup throughout the file.
1613 2015-01-05  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1615         Enable experimental TSAN support for Ada.
1616         * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
1618 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1620         PR tree-optimization/64494
1621         * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
1622         clear SSA_NAME_ANTI_RANGE_P flag.
1624 2015-01-05  Marek Polacek  <polacek@redhat.com>
1626         * doc/extend.texi (Arrays of Length Zero): Add missing comma.
1628 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
1630         Update copyright years.
1632         * gcc.c (process_command): Update copyright notice dates.
1633         * gcov-dump.c: Ditto.
1634         * gcov.c: Ditto.
1635         * doc/cpp.texi: Bump @copying's copyright year.
1636         * doc/cppinternals.texi: Ditto.
1637         * doc/gcc.texi: Ditto.
1638         * doc/gccint.texi: Ditto.
1639         * doc/gcov.texi: Ditto.
1640         * doc/install.texi: Ditto.
1641         * doc/invoke.texi: Ditto.
1643         * auto-profile.c, auto-profile.h: Fix up Copyright line.
1645 2015-01-04  Sandra Loosemore  <sandra@codesourcery.com>
1647         * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
1648         verb tense, etc.
1649         ([-fvtable-verify], [-fvtv-debug]): Likewise.
1650         ([-Wabi]): Likewise.
1651         ([-fmessage-length]): Likewise.
1652         ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
1653         ([-Wno-discarded-qualifiers]): Likewise.
1654         ([-Wnodiscarded-array-qualifiers]): Likewise.
1655         ([-Wno-virtual-move-assign]): Likewise.
1656         ([-fsanitize=address], [-fsanitize=thread]): Likewise.
1657         ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
1658         ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
1659         ([-fsanitize-undefined-trap-on-error]): Likewise.
1660         ([-floop-interchange]): Likewise.
1661         ([-ftree-coalesce-inlined-vars]): Likewise.
1662         ([-fvect-cost-model]): Likewise.
1663         ([-flto]): Likewise.
1664         ([--param]): Likewise.
1665         (Spec Files): Likewise.
1666         ([-mstrict-align]): Likewise.
1667         ([-mfix-cortex-a53-835769]): Likewise.
1668         ([-march], [-mtune]): Likewise.
1669         ([-mpic-register]): Likewise.
1670         ([-munaligned-access]): Likewise.
1671         ([-msp8]): Likewise.
1672         (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
1673         (AVR Built-in Macros): Likewise.
1674         ([-mpreferred-stack-boundary]): Likewise.
1675         ([-mtune-crtl]): Likewise.
1676         ([-mashf]): Likewise.
1677         ([-mmcu=]): Likewise.
1678         ([-minrt]): Likewise.
1679         ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
1680         ([-mupper-regs]): Likewise.
1681         ([-matomic-model]): Likewise.
1682         ([-mdiv]): Likewise.
1683         ([-mzdcbranch]): Likewise.
1684         ([-mdisable-callt]): Likewise.
1685         ([-msoft-float]): Likewise.
1686         ([-m8byte-align]): Likewise.
1687         ([-fstack-reuse]): Likewise.
1689 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
1691         * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
1692         Fix markup, light copy-editing.
1693         ([-fauto-profile]): Rewrite to fix formatting and content
1694         problems.
1696 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
1698         * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
1699         Copy-edit description.
1700         ([-fisolate-erroneous-paths-attribute]): Likewise.
1701         * common.opt (fisolate-erroneous-paths-dereference):
1702         Copy-edit description.
1703         (fisolate-erroneous-paths-attribute): Likewise.
1705 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
1707         * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
1708         tidy grammar.
1710 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
1712         * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
1713         ([-fvtv-debug]): Likewise.
1714         ([-Wc++-compat]): Likewise.
1715         ([-Wc++11-compat]): Likewise.
1716         ([-Wc++14-compat]): Likewise.
1717         ([-Wno-sized-deallocation]): Likewise.
1718         ([-femit-class-debug-always]): Likewise.
1719         ([-femit-struct-debug-detailed]): Likewise.
1720         ([-fno-keep-inline-dllexport]): Likewise.
1721         ([-fira-algorithm]): Likewise.
1722         ([-fira-region]): Likewise.
1723         ([-flra-remat]): Likewise.
1724         ([-fipa-ra]): Likewise.
1725         ([-fhoist-adjacent-loads]): Likewise.
1726         ([-fisolate-erroneous-paths-dereference]): Likewise.
1727         ([-fisolate-erroneous-paths-attribute]): Likewise.
1728         ([-ftree-switch-conversion]): Likewise.
1729         ([-ftree-tail-merge]): Likewise.
1730         ([-ftree-loop-if-convert]): Likewise.
1731         ([-ftree-loop-if-convert-stores]): Likewise.
1732         ([-ftree-loop-distribution]): Likewise.
1733         ([-ftree-loop-distribute-patterns]): Likewise.
1734         ([-flto-compression-level]): Likewise.
1735         ([-flto-report]): Likewise.
1736         ([-flto-report-wpa]): Likewise.
1737         ([-fuse-linker-plugin]): Likewise.
1738         ([-mfix-cortex-a53-835769]): Likewise.
1739         ([-mno-fix-cortex-a53-835769]): Likewise.
1740         ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
1741         explicit listing; add a note to the discussion indicating they
1742         exist.  Reorder table to group similar options.  Add missing
1743         @opindex entries.  Add @need commands throughout the table to
1744         allow it to be split across multiple pages.
1745         ([-m8bit-idiv]): Fix @opindex.
1746         ([-mavx256-split-unaligned-load]): Likewise.
1747         ([-mavx256-split-unaligned-store]): Likewise.
1748         ([-mstack-protector-guard]): Likewise.
1749         ([-mcpu=]): Likewise.
1750         ([-mcpu]): Likewise.
1751         ([-mpointer-size=]): Likewise.
1753 2015-01-03  John David Anglin  <danglin@gcc.gnu.org>
1755         * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
1756         instead of `m' constraint.  Likewise for unnamed movb comparison
1757         patterns using reg_before_reload_operand predicate.
1758         * config/pa/predicates.md (reg_before_reload_operand): Tighten
1759         predicate to reject register index and LO_SUM DLT memory forms
1760         after reload.
1762 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
1764         * doc/invoke.texi (Option Summary): Fix spelling of
1765         -fdevirtualize-at-ltrans.
1766         ([-fdevirtualize]): Fix markup.
1767         ([-fdevirtualize-speculatively]): Fix typo.
1768         ([-fdevirtualize-at-ltrans]): Likewise.  Make description less
1769         implementor-speaky.
1770         * common.opt (fdevirtualize-at-ltrans): Likewise.
1771         * ipa-devirt.c: Fix typos in comments throughout the file.
1772         (ipa_devirt): Fix typos in format strings for dump output.
1774 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
1776         * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
1777         discussion of defaults, light copy-editing.
1779 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1781         * tsan.c (instrument_expr): corrected previous checkin.
1783 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1785         Instrument bit field and unaligned accesses for TSAN.
1786         * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
1787         (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
1788         * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
1789         Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
1790         unaligned memory regions.
1792 2015-01-01  Anthony Green  <green@moxielogic.com>
1794         * config/moxie/predicates.md (moxie_general_movsrc_operand):
1795         Restrict move source register offsets to 16 bits.
1797 Copyright (C) 2015 Free Software Foundation, Inc.
1799 Copying and distribution of this file, with or without modification,
1800 are permitted in any medium without royalty provided the copyright
1801 notice and this notice are preserved.