PR target/52076
[official-gcc.git] / gcc / ChangeLog
blobae5e9a5c332e18f201d47aa0301252eded46538e
1 2015-01-22  Jeff Law  <law@redhat.com>
3         PR target/52076
4         * config/m68k/m68k.md (xorsi3_internal): Twiddle constraints to
5         improve code density for small immediate to memory case.
6         (insv): Better handle bitfield assignments when the field is
7         being set to all ones.
8         * config/m68k/predicates.md (reg_or_pow2_m1_operand): New
9         operand predicate.
11 2015-01-22  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
12             Jakub Jelinek  <jakub@redhat.com>
14         * gcc.c (LINK_SSP_SPEC): Handle -fstack-protector-explicit
15         for !TARGET_LIBC_PROVIDES_SSP version and
16         -fstack-protector-{all,strong,explicit} otherwise.
17         * config/freebsd.h (LINK_SSP_SPEC): Handle
18         -fstack-protector-{strong,explicit}.
20 2015-01-22  Jan Hubicka  <hubicka@ucw.cz>
21             H.J. Lu  <hongjiu.lu@intel.com>
23         PR ipa/64694
24         * ipa-inline.c (inline_small_functions): Fix thinko in maintenance of
25         heap.
27 2015-01-22  Wei Mi  <wmi@google.com>
29         PR rtl-optimization/64557
30         * dse.c (record_store): Call get_addr for mem_addr.
31         (check_mem_read_rtx): Likewise.
33 2015-01-22  Eric Botcazou  <ebotcazou@adacore.com>
35         * fold-const.c (const_binop): Add early return for non-tcc_binary.
37 2015-01-22  Chen Gang  <gang.chen.5i5j@gmail.com>
39         * toplev.c (init_local_tick): Process the failure when read
40         fails for random_seed.
42         * ubsan.c (ubsan_type_descriptor): Use 'pretty_print' for
43         'pretty_name' to avoid memory overflow.
45 2015-01-22  Richard Biener  <rguenther@suse.de>
47         PR middle-end/64728
48         * tree-ssa-coalesce.c (coalesce_partitions): Do not perform
49         abnormal coalescing on undefined SSA names.
51 2015-22-01  Uros Bizjak  <ubizjak@gmail.com>
53         PR target/64688
54         PR target/64477
55         * config/i386/sse.md (vec_set<mode>_0): Use (Yi/r/C) constraints
56         for alternative 3.
57         (*vec_dup<mode>): Use (Yi/$r) constraints for alternative 1.
59 2015-01-22  Trevor Saunders  <tsaunders@mozilla.com>
61         PR middle-end/63325
62         * fold-const.c (fold_checksum_tree): Don't include value of
63         expr->decl_with_vis.symtab_node in the checksum.
65 2015-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67         * config/s390/s390.md (atomic code attribute): Fix typo "ior" ->
68         "or".
70 2015-01-22  Max Ostapenko  <m.ostapenko@partner.samsung.com>
72         PR driver/64690
73         * gcc.c (insert_comments): New function.
74         (try_generate_repro): Call it.
75         (append_text): Removed.
77 2015-01-22  Richard Biener  <rguenther@suse.de>
79         * ipa-inline.c (can_inline_edge_p): Disable inlining of edges
80         with IL incompatible options.  Properly honor user optimize
81         attributes.
83 2015-01-21  Segher Boessenkool  <segher@kernel.crashing.org>
85         PR rtl-optimization/64682
86         * combine.c (distribute_notes): When moving a death note for
87         a register that is set in the new I2, make sure to put it
88         before that new I2.
90 2015-01-21  David Edelsohn  <dje.gcc@gmail.com>
92         * config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags
93         not TARGET_DEFAULT.
95 2015-01-21  Jakub Jelinek  <jakub@redhat.com>
97         PR debug/64511
98         * simplify-rtx.c (simplify_relational_operation_1): Don't try to
99         optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
100         into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
102         PR sanitizer/64706
103         * doc/invoke.texi (-fsanitize=vptr): Document.
105         PR rtl-optimization/62078
106         * dse.c: Include cfgcleanup.h.
107         (rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed
108         anything call purge_all_dead_edges and cleanup_cfg at the end
109         of the pass.
111 2015-01-21  Jan Hubicka  <hubicka@ucw.cz>
113         * ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
114         edges.
116 2015-01-21  Bernd Edlinger  <bernd.edlinger@hotmail.de>
118         * gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
119         decl attribute.
121 2015-01-21  David Sherwood  <david.sherwood@arm.com>
122             Tejas Belagod <Tejas.Belagod@arm.com>
124         * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
125         * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed.
126         * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class):
127         Removed.
129 2015-01-21  David Sherwood  <david.sherwood@arm.com>
130             Tejas Belagod <Tejas.Belagod@arm.com>
132         * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_rglist)
133         (aarch64_reverse_mask): New decls.
134         * config/aarch64/iterators.md (UNSPEC_REV_REGLIST): New enum.
135         (insn_count): New mode_attr.
136         * config/aarch64/aarch64-simd.md (vec_store_lanesoi, vec_store_lanesci)
137         (vec_store_lanesxi, vec_load_lanesoi, vec_load_lanesci)
138         (vec_load_lanesxi): Made ABI compliant for Big Endian targets.
139         (aarch64_rev_reglist, aarch64_simd_ld2, aarch64_simd_ld3)
140         (aarch64_simd_ld4, aarch64_simd_st2, aarch64_simd_st3)
141         (aarch64_simd_st4): New patterns.
142         * config/aarch64/aarch64.c (aarch64_simd_attr_length_rglist)
143         (aarch64_reverse_mask): New functions.
145 2015-01-21  Richard Sandiford  <richard.sandiford@arm.com>
147         * config/aarch64/aarch64-protos.h (aarch64_simd_disambiguate_copy):
148         Declare.
149         * config/aarch64/aarch64.c (aarch64_classify_address): Allow extra
150         addressing modes for BE.
151         (aarch64_print_operand): Add 'R' specifier.
152         (aarch64_simd_disambiguate_copy): Delete.
153         (aarch64_simd_emit_reg_reg_move): New function.
154         * config/aarch64/aarch64-simd.md: Use aarch64_simd_emit_reg_reg_move
155         in define_splits for structural moves.
156         (mov<mode>): Use less restrictive predicates.
157         (*aarch64_mov<mode>): Simplify and only allow for LE.
158         (*aarch64_be_movoi, *aarch64_be_movci, *aarch64_be_movxi): New.
160 2015-01-21  Alan Hayward  <alan.hayward@arm.com>
162         * rtlanal.c (subreg_get_info): Exit early for simple and common
163         cases.
165 2015-01-21  Richard Henderson  <rth@redhat.com>
167         PR target/64669
168         * ccmp.c (used_in_cond_stmt_p): Remove.
169         (expand_ccmp_expr): Don't use it.
171 2015-01-21  Nick Clifton  <nickc@redhat.com>
173         * config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
174         PARALLELs.
176 2015-01-21  Richard Biener  <rguenther@suse.de>
178         PR middle-end/64313
179         * tree-core.h (builtin_info, builtin_info_type): Turn from
180         an object with two arrays into an array of an object with
181         decl and two flags, implicit_p and declared_p.
182         * tree.h (builtin_decl_explicit, builtin_decl_implicit,
183         set_builtin_decl, set_builtin_decl_implicit_p,
184         builtin_decl_explicit_p, builtin_decl_implicit_p): Adjust.
185         (set_builtin_decl_declared_p, builtin_decl_declared_p): New functions.
186         * builtins.c (builtin_info): Adjust.
187         * gimplify.c (gimplify_addr_expr): References to builtins
188         that have been declared by the user makes them eligible for
189         use by the compiler.  Call set_builtin_decl_implicit_p on them.
191 2015-01-20  Jeff Law  <law@redhat.com>
193         PR target/59946
194         * config/m68k/m68k.md (Comparison expanders and patterns): Do not
195         allow pc-relative addresses in operand predicates or constraints.
197 2015-01-21  Bin Cheng  <bin.cheng@arm.com>
199         * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer
200         neon on aarch32 processors for stringops.
202 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
204         PR ipa/63576
205         * ipa-utils.c (ipa_merge_profiles): Merge speculative edges.
207 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
209         PR lto/45375
210         * ipa-inline.c: Include lto-streamer.h
211         (report_inline_failed_reason): Output source file differences and
212         flags on optimization/target node mismatch.
213         (can_inline_edge_p): Consider caller to be the outer inline function;
214         be less restrictive about matching opimize and optimize_size attributes.
215         (inline_account_function_p): Break out from ...
216         (inline_small_functions): ... here.
217         * ipa-inline-transform.c (clone_inlined_nodes): Use
218         inline_account_function_p.
219         (inline_call): Use optimize attribution; use inline_account_function_p.
220         (inline_transform): Use opt_for_fn.
221         * ipa-inline.h (inline_account_function_p): Declare.
223 2015-01-20  Jakub Jelinek  <jakub@redhat.com>
225         PR debug/64663
226         * dwarf2out.c (decl_piece_node): Don't put bitsize into
227         mode if bitsize <= 0.
228         (decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
229         dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
230         sizes and positions.
232 2015-01-20  Chung-Lin Tang  <cltang@codesourcery.com>
234         * config/nios2/nios2.c (nios2_asm_file_end): Implement
235         TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when
236         needed.
237         (TARGET_ASM_FILE_END): Define.
239 2015-01-20  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
241         * config/arm/arm-protos.h (enum arm_sched_autopref): New constants.
242         (struct tune_params): Use the enum.
243         * arm.c (arm_*_tune): Update.
244         (arm_option_override): Update.
246 2015-01-20  Richard Biener  <rguenther@suse.de>
248         PR ipa/64684
249         * ipa-reference.c (add_static_var): Inline ...
250         (analyze_function): ... here after splitting out from ...
251         (is_proper_for_analysis): ... this.
253 2015-01-20  Matthew Wahab  <matthew.wahab@arm.com>
255         PR target/64149
256         * config/arm/arm.opt: Remove lra option and arm_lra_flag variablesle.
257         * config/arm/arm.h (MODE_BASE_REG_CLASS): Remove use of arm_lra_flagag,
258         replace the conditional with it's true branch.
259         * config/arm/arm.config (TARGET_LRA_P): Set to hook_bool_void_true.
260         (arm_lra_p): Remove.
262 2015-01-20  Eric Botcazou  <ebotcazou@adacore.com>
264         * config/visium/visium.h (LIB_SPEC): Adjust in default case.
266 2015-01-20  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
268         * config/tilegx/mul-tables.c: Move symtab.h include after coretypes.h include.
269         * config/tilepro/mul-tables.c: Add includes hashtab.h, hash-set.h, vec.h,
270         machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
271         double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
272         insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
274 2015-01-20  Igor Zamyatin  <igor.zamyatin@intel.com>
276         PR bootstrap/64676
277         Revert:
278         2015-01-19  Igor Zamyatin  <igor.zamyatin@intel.com>
280         PR rtl-optimization/64081
281         * loop-iv.c (def_pred_latch_p): New function.
282         (latch_dominating_def): Allow specific cases with non-single
283         definitions.
284         (iv_get_reaching_def): Likewise.
285         (check_complex_exit_p): New function.
286         (check_simple_exit): Use check_complex_exit_p to allow certain cases
287         with exits not executing on any iteration.
289 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
291         PR lto/45375
292         * i386.c (ix86_option_override_internal): Use ix86_tune_cost
293         to set branch cost.
295 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
297         PR lto/45375
298         * i386.c (gate): Check flag_expensive_optimizations and
299         optimize_size.
300         (ix86_option_override_internal): Drop optimize_size condition
301         on MASK_ACCUMULATE_OUTGOING_ARGS, MASK_VZEROUPPER,
302         MASK_AVX256_SPLIT_UNALIGNED_LOAD, MASK_AVX256_SPLIT_UNALIGNED_STORE,
303         MASK_PREFER_AVX128.
304         (ix86_avx256_split_vector_move_misalign,
305         ix86_avx256_split_vector_move_misalign): Check optimize_insn_for_speed.
306         * sse.md (all uses of TARGET_PREFER_AVX128): Add
307         optimize_insn_for_speed_p check.
309 2015-01-19  Matthew Fortune  <matthew.fortune@imgtec.com>
311         * config/mips/mips.h (FP_ASM_SPEC): New define.
312         (ASM_SPEC): Remove floating-point options and use FP_ASM_SPEC
313         instead.
315 2015-01-19  Oleg Endo  <olegendo@gcc.gnu.org>
317         PR target/53988
318         * config/sh/sh-protos.h (sh_find_set_of_reg): Make sure not to return
319         nullptr for insn when reaching the first insn.
320         * config/sh/sh.c (sh_unspec_insn_p): Rewrite using subrtx_iterator.
321         (sh_insn_operands_modified_between_p): Add nullptr check.
322         (sh_find_extending_set_of_reg): Fix log message.  Don't accept
323         sign extending mem load if the insn contains any UNSPEC or
324         UNSPEC_VOLATILE.
326 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
328         * params.def (inline-unit-growth): Drop to 15%.
329         * invoke.texi (inline-unit-growth): Document change.
331 2015-01-19  Martin Liska  <mliska@suse.cz>
333         PR ipa/64668
334         * ipa-icf-gimple.c (func_checker::compare_operand): Call proper
335         function for second argument of OBJ_TYPE_REF.
337 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
339         PR ipa/64218
340         * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
341         whether function is an alias.
343 2015-01-19  Jan Hubicka  <hubicka@ucw.cz>
345         * ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
346         cases.
348 2015-01-19  Vladimir Makarov  <vmakarov@redhat.com>
350         PR rtl-optimization/64671
351         * lra-remat.c (operand_to_remat): Don't consider jump and call
352         insns.
354 2015-01-19  David Edelsohn  <dje.gcc@gmail.com>
356         * config/rs6000/default64.h: Include rs6000-cpus.def.
357         (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
358         (TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
359         * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
360         and POWER8.
361         * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
362         POWER8.
363         * config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
364         pseudo-op to specify assembler dialect.
366 2015-01-19  Martin Liska  <mliska@suse.cz>
368         PR ipa/64664
369         * ipa-icf.c (sem_item_optimizer::filter_removed_items):
370         Handle safe potentially removed nodes during filtering.
372 2015-01-19  Martin Liska  <mliska@suse.cz>
374         * doc/extend.texi (no_icf): Add new attribute description.
375         * ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
376         where the pass attempts to merge a function with no_icf attribute.
378 2015-01-19  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
380         PR target/64532
381         * doc/md.texi (ARM Options): Document register constraints.
383 2015-01-19  Jiong Wang  <jiong.wang@arm.com>
384             Andrew Pinski  <apinski@cavium.com>
386         PR target/64304
387         * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
388         (ashl<mode>3): Don't expand if operands[2] is not constant.
390 2015-01-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
392         PR target/64448
393         * config/aarch64/aarch64-simd.md (aarch64_simd_bsl<mode>_internal):
394         Match xor-and-xor RTL pattern.
396 2015-01-19  Igor Zamyatin  <igor.zamyatin@intel.com>
398         PR rtl-optimization/64081
399         * loop-iv.c (def_pred_latch_p): New function.
400         (latch_dominating_def): Allow specific cases with non-single
401         definitions.
402         (iv_get_reaching_def): Likewise.
403         (check_complex_exit_p): New function.
404         (check_simple_exit): Use check_complex_exit_p to allow certain cases
405         with exits not executing on any iteration.
407 2015-01-19  Jakub Jelinek  <jakub@redhat.com>
409         * common.opt (fgraphite): Fix a typo.
411 2015-01-19  Felix Yang  <felix.yang@huawei.com>
413         * config/aarch64/aarch64-simd.md (aarch64_<maxmin_uns>p<mode>): New
414         pattern.
415         * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp,
416         uminp, smax_nanp, smin_nanp): New builtins.
417         * config/aarch64/arm_neon.h (vpmax_s8, vpmax_s16, vpmax_s32,
418         vpmax_u8, vpmax_u16, vpmax_u32, vpmaxq_s8, vpmaxq_s16, vpmaxq_s32,
419         vpmaxq_u8, vpmaxq_u16, vpmaxq_u32, vpmax_f32, vpmaxq_f32, vpmaxq_f64,
420         vpmaxqd_f64, vpmaxs_f32, vpmaxnm_f32, vpmaxnmq_f32, vpmaxnmq_f64,
421         vpmaxnmqd_f64, vpmaxnms_f32, vpmin_s8, vpmin_s16, vpmin_s32, vpmin_u8,
422         vpmin_u16, vpmin_u32, vpminq_s8, vpminq_s16, vpminq_s32, vpminq_u8,
423         vpminq_u16, vpminq_u32, vpmin_f32, vpminq_f32, vpminq_f64, vpminqd_f64,
424         vpmins_f32, vpminnm_f32, vpminnmq_f32, vpminnmq_f64, vpminnmqd_f64,
425         vpminnms_f32): Rewrite using builtin functions.
427 2015-01-19  Thomas Schwinge  <thomas@codesourcery.com>
429         PR libgomp/64625
430         * omp-low.c (offload_symbol_decl): Remove variable.
431         (get_offload_symbol_decl): Remove function.
432         (expand_omp_target): For BUILT_IN_GOMP_TARGET,
433         BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
434         instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
435         BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
436         BUILT_IN_GOACC_UPDATE don't pass it at all.
438 2015-01-19  Ilya Enkovich  <ilya.enkovich@intel.com>
440         * tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
441         callers.
443 2015-01-19  Ilya Enkovich  <ilya.enkovich@intel.com>
445         * ipa-chkp.c (chkp_produce_thunks): Add early param
446         to split thunks production into two passes.  Keep
447         'always_inline' function bodies after the first pass.
448         (pass_data_ipa_chkp_early_produce_thunks): New.
449         (pass_ipa_chkp_early_produce_thunks): New.
450         (pass_ipa_chkp_produce_thunks::execute): Adjust to new
451         chkp_produce_thunks signature.
452         (make_pass_ipa_chkp_early_produce_thunks): New.
453         * passes.def (pass_ipa_chkp_early_produce_thunks): New.
454         (pass_ipa_chkp_produce_thunks): Move after local optimizations.
455         * tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
457 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
459         * cgraph.c (cgraph_node::dump): Dump profile flags.
461 2015-01-18  Oleg Endo  <olegendo@gcc.gnu.org>
463         PR target/64652
464         * config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
465         reg appear first in the parallel.
467 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
469         * ipa-reference.c (set_reference_optimization_summary,
470         ipa_reference_get_not_written_global): Do nothing if ipa-reference is
471         disabled.
472         (ignore_module_statics): New static var.
473         (propagate_bits): If ipa-reference is disabled, do not look into local
474         properties.
475         (analyze_function): Disable analysis when ipa_reference is disabled.
476         (generate_summary): Do not dump when reference is disabled;
477         collect vars accessed from functions with ipa-reference disabled.
478         (get_read_write_all_from_node): When ipa-reference is disabled, use the
479         node flags.
480         (gate): Enable for LTO.
481         (ignore_edge_p): New function.
482         (propagate): Skip functions w/o ipa-reference analysis.
483         * optc-save-gen.awk: Handle optimize_debug correctly.
484         * opth-gen.awk: Likewise.
485         * common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
486         fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
487         fira-share-save-slots, fira-share-spill-slots,
488         fmodulo-sched-allow-regmoves, fpartial-inlining,
489         sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
490         ftracer, ftree-parallelize-loops, fassociative-math,
491         freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
492         Optimization
493         (fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
494         ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
495         Optimization.
496         * ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
497         Fix for IPA.
499 2015-01-18  Jan Hubicka  <hubicka@ucw.cz>
501         PR ipa/64378
502         * ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
503         flag correctly.
504         * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
506 2015-01-18  Sandra Loosemore  <sandra@codesourcery.com>
508         * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
509         Remove duplicate option listings.
511 2015-01-18  Felix Yang  <felix.yang@huawei.com>
513         * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
514         (autofdo_source_profile::get_callsite_total_count,
515         function_instance::get_function_instance_by_decl,
516         string_table::get_index, string_table::get_index_by_decl,
517         afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
518         Fix comment typos. Reformatting and minor code rearrangement.
520 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
522         * config/rs6000/rs6000.md (probe_stack): Delete.
523         (probe_stack_address): New.
525 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
527         * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
528         to test for 32-bit ABIs, not !TARGET_POWERPC64.
530 2015-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
532         * config/rs6000/rs6000.c (rs6000_parallel_return): New function.
533         (rs6000_function_value): Use it.  Handle SCmode and TCmode as well,
534         for TARGET_32BIT && TARGET_POWERPC64.  Fix another BITS_PER_WORD
535         snafu.
536         (rs6000_libcall_value): Use the new function.
538 2015-01-17  Sandra Loosemore  <sandra@codesourcery.com>
540         * doc/invoke.texi ([-ftracer]): Remove duplicate option listing.
542 2015-01-17  Eric Botcazou  <ebotcazou@adacore.com>
544         * reorg.c (fill_simple_delay_slots): If TARGET_FLAGS_REGNUM is valid,
545         implement a more precise life analysis for it during backward scan.
547 2015-01-17  Jan Kratochvil  <jan.kratochvil@redhat.com>
549         * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.
551 2015-01-17  Bernd Schmidt  <bernds@codesourcery.com>
553         PR rtl-optimization/52773
554         * calls.c (emit_library_call_value): When pushing arguments use
555         stack_pointer_rtx rather than virtual_outgoing_args_rtx in
556         CALL_INSN_FUNCTION_USAGE.  Only emit one of use of the magic
557         stack pointer reference into CALL_INSN_FUNCTION_USAGE.
559 2015-01-17  Jeff Law  <law@redhat.com>
561         PR rtl-optimization/32790
562         * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
563         not ZERO_EXTEND in SET_DESTs.
565 2015-01-17  Alan Modra  <amodra@gmail.com>
567         * cprop.c (do_local_cprop): Revert last change.
569 2015-01-16  DJ Delorie  <dj@redhat.com>
570             Nick Clifton  <nickc@redhat.com>
572         * config/rl78/rl78-real.md (addqi3_real): Allow volatiles.
573         (addhi3_real): Likewise.  Fix [HL+0] syntax.
574         (subqi3_real): Likewise.
575         (subhi3_real): Likewise.
576         (cbranchqi4_real): Likewise.  Allow saddr,#imm.
577         (cbranchhi4_real): Likewise.
578         (cbranchhi4_real_inverted): Likewise.
579         (cbranchsi4_real_lt): Likewise.
580         (cbranchsi4_real_ge): Likewise.
581         (cbranchsi4_real_ge): Likewise.
582         * config/rl78/rl78-virt.md (add<mode>3_virt): Likewise.
583         (sub<mode>3_virt): Likewise.
584         (cbranchqi4_virt): Likewise.
585         (cbranchhi4_virt): Likewise.
586         * config/rl78/rl78.c (rl78_print_operand_1): 'p' modifier means
587         always use '[reg+imm]' even when imm is zero.
588         * config/rl78/predicates.md (rl78_volatile_memory_operand): New.
589         (rl78_general_operand): New.
590         (rl78_nonimmediate_operand): New.
591         (rl78_nonfar_operand): Use them.
592         (rl78_nonfar_nonimm_operand): Likewise.
593         (rl78_stack_based_mem): Fix.
594         * config/rl78/constraints.md (Ibqi): New.
595         (IBqi): New.
596         (Wsa): New.
597         (Wsf): New.
598         (Cs1): Fix.
599         * config/rl78/rl78-expand.md (andqi3): Accept volatiles.
600         (iorqi3): Likewise.
601         (xorqi3): Likewise.
602         * config/rl78/rl78-protos.h (rl78_sfr_p): New.
604         * config/rl78/constrains (Qs8): New constraint.
605         * config/rl78/rl78.c (rl78_flags_already_set): New function.
606         * config/rl78/rl78-protos.h (rl78_flags_already_set): New prototype.
607         * config/rl78/rl78-real.md (update_Z): New attribute.
608         Update patterns to set it.
609         (cbranchqi4_real): Call rl78_flags_already_set() to determine if a
610         shorter compare and branch sequence can be used.
611         (cbranchhi4_real): Likewise.
612         (cbranchhi4_real_inverted): Likewise.
614         * config/rl78/predicates.md (uword_operand): Allow symbol_refs.
615         * config/rl78/rl78-c.c (rl78_register_pragmas): Register __near
616         address space.
617         * config/rl78/rl78.c (rl78_get_name_encoding): New.
618         (rl78_option_override): Allow -mes0 only if C.
619         (characterize_address): Support subregs of symbol_refs.
620         (rl78_addr_space_address_mode): Move.  Add __near.
621         (rl78_far_p): Likewise.
622         (rl78_addr_space_pointer_mode): Likewise.
623         (rl78_as_legitimate_address): Likewise.
624         (rl78_addr_space_subset_p): Likewise.
625         (rl78_addr_space_convert): Likewise.
626         (rl78_print_operand_1): Support 16-bit addressing of 32-bit
627         symbols with -mes0.
628         (transcode_memory_rtx): Don't copy ES if -mes0.  Allow symbol[BC]
629         addressing.
630         (rl78_alloc_physical_registers_op1): Change logic to prefer
631         symbol[BC] addressing.
632         (frodata_section): New.
633         (rl78_asm_init_sections): Initialize it.
634         (rl78_select_section): Put __far readonly symbols in .frodata.
635         (rl78_make_type_far): New.
636         (rl78_insert_attributes): Force all readonly symbols to be __far when -mes0.
637         (rl78_asm_out_integer): New.
638         * config/rl78/rl78.h (ADDR_SPACE_NEAR): New.
639         * config/rl78/rl78.opt (-mes0): New.
641         * config/rl78/rl78.h (ASM_OUTPUT_LABELREF): New.
642         (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
643         (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
644         * config/rl78/rl78-protos.h (rl78_output_labelref): New.
645         (rl78_saddr_p): New.
646         (rl78_output_aligned_common): New.
647         * config/rl78/rl78.c (rl78_output_symbol_ref): Strip encodings.
648         (rl78_handle_saddr_attribute): New.
649         (rl78_handle_naked_attribute): New.
650         (rl78_attribute_table): Add saddr.
651         (rl78_print_operand_1): Don't print '!' on saddr operands.
652         (rl78_print_operand_1): Strip encodings.
653         (rl78_sfr_p): New.
654         (rl78_strip_name_encoding): New.
655         (rl78_attrlist_to_encoding): New.
656         (rl78_encode_section_info): New.
657         (rl78_asm_init_sections): New.
658         (rl78_select_section): New.
659         (rl78_output_labelref): New.
660         (rl78_output_aligned_common): New.
661         (rl78_asm_out_integer): New.
662         (rl78_asm_ctor_dtor): New.
663         (rl78_asm_constructor): New.
664         (rl78_asm_destructor): New.
666         * config/rl78/rl78-real.md (movqi_es): Rename to movqi_to_es.
667         * config/rl78/rl78.c (rl78_expand_epilogue): Update.
668         (transcode_memory_rtx): Update.
669         (rl78_expand_epilogue): Use A_REG instead of 0.
671 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
673         * config/arm/arm-protos.h (struct tune_params): New field
674         sched_autopref_queue_depth.
675         * config/arm/arm.c (sched-int.h): Include header.
676         (arm_first_cycle_multipass_dfa_lookahead_guard,)
677         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define hook.
678         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,)
679         (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,)
680         (arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,)
681         (arm_cortex_a53_tune, arm_cortex_a57_tune, arm_xgene1_tune,)
682         (arm_cortex_a5_tune, arm_cortex_a9_tune, arm_cortex_a12_tune,)
683         (arm_v7m_tune, arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune):
684         Specify sched_autopref_queue_depth value.  Enabled for A15 and A57.
685         * config/arm/t-arm (arm.o): Update.
686         * haifa-sched.c (update_insn_after_change): Update.
687         (rank_for_schedule): Use auto-prefetcher model, if requested.
688         (autopref_multipass_init): New static function.
689         (autopref_rank_for_schedule): New rank_for_schedule heuristic.
690         (autopref_multipass_dfa_lookahead_guard_started_dump_p): New static
691         variable for debug dumps.
692         (autopref_multipass_dfa_lookahead_guard_1): New static helper function.
693         (autopref_multipass_dfa_lookahead_guard): New global function that
694         implements TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD hook.
695         (init_h_i_d): Update.
696         * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): New tuning knob.
697         * sched-int.h (enum autopref_multipass_data_status): New const enum.
698         (autopref_multipass_data_): Structure for auto-prefetcher data.
699         (autopref_multipass_data_def, autopref_multipass_data_t): New typedefs.
700         (struct _haifa_insn_data:autopref_multipass_data): New field.
701         (INSN_AUTOPREF_MULTIPASS_DATA): New access macro.
702         (autopref_multipass_dfa_lookahead_guard): Declare.
704 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
706         * rtlanal.c (get_base_term): Handle SCRATCH.
708 2015-01-17  Maxim Kuvyrkov  <maxim.kuvyrkov@linaro.org>
710         * config/aarch64/aarch64.c
711         (aarch64_sched_first_cycle_multipass_dfa_lookahead): Implement hook.
712         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
713         * config/arm/arm.c
714         (arm_first_cycle_multipass_dfa_lookahead): Implement hook.
715         (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
717 2015-01-17  Alan Modra  <amodra@gmail.com>
719         * cprop.c (do_local_cprop): Disallow replacement of fixed
720         hard registers.
722 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
724         PR target/62066
725         * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
726         early return 0.
728 2015-01-16  Bernd Edlinger  <bernd.edlinger@hotmail.de>
730         * sanitizer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
731         * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.
733 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
735         * config/arm/arm.md: Move comment about splitting Thumb1 patterns to...
736         * config/arm/thumb1.md: ... Here.
738 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
740         * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
741         TImode for TARGET_32BIT.
743 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
745         * config/rs6000/rs6000.c (TARGET_LIBGCC_CMP_RETURN_MODE,
746         TARGET_LIBGCC_SHIFT_COUNT_MODE, TARGET_UNWIND_WORD_MODE): Implement
747         as ...
748         (rs6000_abi_word_mode): New function.
750 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
752         * config/rs6000/rs6000.c (rs6000_va_start): Use MIN_UNITS_PER_WORD
753         instead of UNITS_PER_WORD to describe the size of stack slots.
755 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
757         * config/rs6000/rs6000.c (TARGET_PROMOTE_FUNCTION_MODE): Implement
758         as rs6000_promote_function_mode.  Move comment to there.
759         (rs6000_promote_function_mode): New function.
761 2015-01-16  Segher Boessenkool  <segher@kernel.crashing.org>
763         * config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
764         -mpowerpc64 is active.
766 2015-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
768         PR middle-end/64353
769         * tree-cfg.c (pass_data_fixup_cfg): Update SSA for
770         virtuals on start.
772 2015-01-16  James Greenhalgh  <james.greenhalgh@arm.com>
774         * config/arm/cortex-a57.md: Remove duplicate of file accidentally
775         introduced in revision 219724.
777 2015-01-16  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
778             Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
780         PR target/64263
781         * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
782         destination is not a GP reg.
783         (*movdi_aarch64): Likewise.
785 2015-01-16  David Edelsohn  <dje.gcc@gmail.com>
787         PR target/64623
788         * config/rs6000/default64.h: Revert ISA change.
790 2015-01-16  Richard Biener  <rguenther@suse.de>
792         PR middle-end/64614
793         * tree-ssa-uninit.c: Include tree-cfg.h.
794         (MAX_SWITCH_CASES): New define.
795         (convert_control_dep_chain_into_preds): Handle switch statements.
796         (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
797         (normalize_one_pred_1): Do not split bit-manipulations.
798         Record (x & CST).
800 2015-01-16  Richard Biener  <rguenther@suse.de>
802         PR tree-optimization/64568
803         * tree-ssa-forwprop.c (pass_forwprop::execute): Guard
804         complex load rewriting for TARGET_MEM_REFs.
806 2015-01-16  Uros Bizjak  <ubizjak@gmail.com>
808         * builtins.c (expand_builtin_acc_on_device): Check target for NULL.
810 2015-01-16  Matthew Wahab  <matthew.wahab@arm.com>
812         PR target/64149
813         * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
814         variable.
815         * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
816         (aarch64_lra_p): Remove.
818 2015-01-16  Ilya Enkovich  <ilya.enkovich@intel.com>
820         PR target/64363
821         * ipa-chkp.h (chkp_instrumentable_p): New.
822         * ipa-chkp.c: Include tree-inline.h.
823         (chkp_instrumentable_p): New.
824         (chkp_maybe_create_clone): Use chkp_instrumentable_p.
825         Fix processing of not instrumentable functions.
826         (chkp_versioning): Use chkp_instrumentable_p. Warn about
827         not instrumentable functions.
828         * tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
829         chkp_instrumentable_p.
830         * tree-inline.h (copy_forbidden): New.
831         * tree-inline.c (copy_forbidden): Not static anymore.
833 2015-01-16  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
835         * optc-save-gen.awk (cl_target_option_print_diff): Mark indent,
836         ptr1, ptr2 unused.
838 2015-01-16  Robert Suchanek  <robert.suchanek@imgtec.com>
840         * lra-constraints.c (curr_insn_transform): Change a reload pseudo of
841         type OP_OUT to OP_INOUT.
843 2015-01-16  Robert Suchanek  <robert.suchanek@imgtec.com>
845         * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
846         (high x) y) to y if x and y have the same base.
848 2015-01-16  James Greenhalgh  <james.greenhalgh@arm.com>
850         * config/arm/cortex-a57.md: New.
851         * config/aarch64/aarch64.md: Include it.
852         * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.
853         * config/aarch64/aarch64-tune.md: Regenerate.
855 2015-01-16  Zhenqiang Chen  <zhenqiang.chen@arm.com>
857         PR target/64015
858         * ccmp.c (expand_ccmp_next): New function.
859         (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
860         and compare insn sequence.
861         * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
862         aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
863         (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
864         * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
865         (*ccmp_ior): Changed to ccmp_ior<mode>.
866         (cmp<mode>): New pattern.
867         * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
868         parameters.
869         * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.
871 2015-01-16  Ilya Tocar  <ilya.tocar@intel.com>
873         * config/i386/avx2intrin.h (_mm256_bslli_epi128,
874         _mm256_bsrli_epi128): New.
875         * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.
877 2015-01-15  Jiong Wang  <jiong.wang@arm.com>
879         * expmed.c (store_bit_field_using_insv): Improve warning message.
880         Use %wu instead of HOST_WIDE_INT_PRINT_UNSIGNED.
882 2015-01-15  Jiong Wang  <jiong.wang@arm.com>
884         PR rtl-optimization/64011
885         * expmed.c (store_bit_field_using_insv): Warn and truncate bitsize when
886         there is partial overflow.
888 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
890         * config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
891         prototype.
892         (nds32_expand_epilogue_v3pop): Likewise.
893         * config/nds32/nds32.md (sibcall): Define this for sibling call
894         optimization.
895         (sibcall_register): Likewise.
896         (sibcall_immediate): Likewise.
897         (sibcall_value): Likewise.
898         (sibcall_value_register): Likewise.
899         (sibcall_value_immediate): Likewise.
900         (sibcall_epilogue): Likewise.
901         (epilogue): Pass false to indicate this is not a sibcall epilogue.
902         * config/nds32/nds32.c (nds32_expand_epilogue): Consider sibcall case.
903         (nds32_expand_epilogue_v3pop): Likewise.
905 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
907         * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
908         * config/nds32/nds32.md (unspec_volatile_func_return): Remove.
909         (return_internal): New.
910         (return): Define this named pattern.
911         (simple_return): Define this named pattern.
912         * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal
913         pattern instead of unspec_volatile_func_return.
914         (nds32_expand_epilogue_v3pop): Likewise.
915         (nds32_can_use_return_insn): New function.
917 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
919         * config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
920         * config/nds32/nds32.md (pop25return): New.
921         * config/nds32/nds32.c (nds32_expand_epilogue_v3pop): Emit
922         pop25return pattern.
924 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
926         * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
927         -mforbid-fp-as-gp, and -mex9 options.
929 2015-01-16  Chung-Ju Wu  <jasonwucj@gmail.com>
931         * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
932         remove -mgp-direct option.
934 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
935         
936         * doc/invoke.texi (--param early-inlining-insns): Update default value.
937         * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
939 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
941         * ipa-inline.c (inline_small_functions): Work around hints
942         cache issue.
944 2015-01-15  Sandra Loosemore  <sandra@codesourcery.com>
946         PR target/59710
947         * doc/invoke.texi (Option Summary): Document new Nios II
948         -mgpopt= syntax.
949         (Nios II Options): Likewise.
950         * config/nios2/nios2.opt: Add -mgpopt= option support.
951         Modify existing -mgpopt and -mno-gpopt options to be aliases.
952         * config/nios2/nios2-opts.h (enum nios2_gpopt_type): New.
953         * config/nios2/nios2.c (nios2_option_override): Adjust
954         -mgpopt defaulting.
955         (nios2_in_small_data_p): Return true for explicit small data
956         sections even with -G0.
957         (nios2_symbol_ref_in_small_data_p): Adjust to handle new -mgpopt=
958         option choices.
960 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
962         PR ipa/64612
963         * ipa-inline-transform.c (can_remove_node_now_p): Fix handling
964         of comdat locals.
965         (inline_call): Fix removal of aliases.
967 2015-01-15  Jakub Jelinek  <jakub@redhat.com>
969         * flag-types.h (enum sanitize_code): Add SANITIZE_VPTR,
970         include SANITIZE_VPTR in SANITIZE_UNDEFINED.
971         * opts.c (common_handle_option): Add -fsanitize=vptr.
972         * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS,
973         BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS_ABORT): New.
974         * ubsan.h (enum ubsan_null_ckind): Add UBSAN_DOWNCAST_POINTER,
975         UBSAN_DOWNCAST_REFERENCE, UBSAN_UPCAST and UBSAN_CAST_TO_VBASE.
976         (ubsan_expand_vptr_ifn): New prototype.
977         * internal-fn.c (expand_ANNOTATE, expand_GOMP_SIMD_LANE,
978         expand_GOMP_SIMD_VF, expand_GOMP_SIMD_LAST_LANE, expand_UBSAN_NULL,
979         expand_UBSAN_BOUNDS, expand_UBSAN_OBJECT_SIZE, expand_ASAN_CHECK,
980         expand_LOOP_VECTORIZED): Make argument nameless, remove
981         ATTRIBUTE_UNUSED.
982         (expand_UBSAN_VPTR): New function.
983         * internal-fn.def (UBSAN_NULL, ASAN_CHECK): Use R instead of W
984         in fn spec.
985         (UBSAN_VPTR): New internal function.
986         * sanopt.c (tree_map_traits): Renamed to ...
987         (sanopt_tree_map_traits): ... this.
988         (sanopt_tree_triplet, sanopt_tree_triplet_map_traits): New classes.
989         (sanopt_ctx): Adjust asan_check_map type for tree_map_traits
990         to sanopt_tree_map_traits renaming.  Add vptr_check_map field.
991         (maybe_optimize_ubsan_vptr_ifn): New function.
992         (sanopt_optimize_walker): Handle IFN_UBSAN_VPTR.
993         (pass_sanopt::execute): Likewise.  Call sanopt_optimize even for
994         -fsanitize=vptr.
995         * tree-ssa-alias.c (call_may_clobber_ref_p_1): Handle certain
996         internal calls like pure functions for aliasing, even when they
997         have other side-effects that prevent making them ECF_PURE.
998         * ubsan.c (ubsan_vptr_type_cache_decl): New variable.
999         (ubsan_expand_vptr_ifn): New function.
1001 2015-01-15  Vladimir Makarov  <vmakarov@redhat.com>
1003         PR rtl-optimization/64110
1004         * stmt.c (parse_output_constraint): Process '^' and '$'.
1005         (parse_input_constraint): Ditto.
1006         * lra-constraints.c (process_alt_operands): Process the new
1007         constraints.
1008         * ira-costs.c (record_reg_classes): Process the new constraint
1009         '^'.
1010         * genoutput.c (indep_constraints): Add '^' and '$'.
1011         * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
1012         * doc/md.texi: Add description of the new constraints.
1014 2015-01-15  Thomas Schwinge  <thomas@codesourcery.com>
1015             Bernd Schmidt  <bernds@codesourcery.com>
1016             Cesar Philippidis  <cesar@codesourcery.com>
1017             James Norris  <jnorris@codesourcery.com>
1018             Tom de Vries  <tom@codesourcery.com>
1019             Ilmir Usmanov  <i.usmanov@samsung.com>
1020             Dmitry Bocharnikov  <dmitry.b@samsung.com>
1021             Evgeny Gavrin  <e.gavrin@samsung.com>
1022             Jakub Jelinek  <jakub@redhat.com>
1024         * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
1025         (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
1026         (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
1027         New function types.
1028         * builtins.c: Include "gomp-constants.h".
1029         (expand_builtin_acc_on_device): New function.
1030         (expand_builtin, is_inexpensive_builtin): Handle
1031         BUILT_IN_ACC_ON_DEVICE.
1032         * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
1033         New macros.
1034         * cgraph.c (cgraph_node::create): Consider flag_openacc next to
1035         flag_openmp.
1036         * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
1037         <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
1038         i386/intelmic-offload.h.
1039         * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
1040         to libgomp and its dependencies.
1041         * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
1042         * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
1043         * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
1044         * config/ia64/hpux.h (LIB_SPEC): Likewise.
1045         * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
1046         * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
1047         * doc/generic.texi: Update for OpenACC changes.
1048         * doc/gimple.texi: Likewise.
1049         * doc/invoke.texi: Likewise.
1050         * doc/sourcebuild.texi: Likewise.
1051         * gimple-pretty-print.c (dump_gimple_omp_for): Handle
1052         GF_OMP_FOR_KIND_OACC_LOOP.
1053         (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
1054         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
1055         GF_OMP_TARGET_KIND_OACC_UPDATE,
1056         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
1057         Dump more data.
1058         * gimple.c: Update comments for OpenACC changes.
1059         * gimple.def: Likewise.
1060         * gimple.h: Likewise.
1061         (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
1062         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
1063         GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
1064         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
1065         (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
1066         appropriate place.
1067         (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
1068         * gimplify.c: Include "gomp-constants.h".
1069         Update comments for OpenACC changes.
1070         (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
1071         OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
1072         OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
1073         (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
1074         OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
1075         OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
1076         OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
1077         OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
1078         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
1079         OMP_CLAUSE_SEQ.
1080         (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
1081         GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.  Use
1082         OMP_CLAUSE_SET_MAP_KIND.
1083         (gimplify_oacc_cache): New function.
1084         (gimplify_omp_for): Handle OACC_LOOP.
1085         (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
1086         OACC_DATA.
1087         (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
1088         OACC_EXIT_DATA, OACC_UPDATE.
1089         (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
1090         OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
1091         OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
1092         (gimplify_body): Consider flag_openacc next to flag_openmp.
1093         * lto-streamer-out.c: Include "gomp-constants.h".
1094         * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
1095         (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
1096         (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
1097         (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
1098         (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
1099         (BUILT_IN_ACC_ON_DEVICE): New builtins.
1100         * omp-low.c: Include "gomp-constants.h".
1101         Update comments for OpenACC changes.
1102         (struct omp_context): Add reduction_map, gwv_below, gwv_this
1103         members.
1104         (extract_omp_for_data, use_pointer_for_field, install_var_field)
1105         (new_omp_context, delete_omp_context, scan_sharing_clauses)
1106         (create_omp_child_function, scan_omp_for, scan_omp_target)
1107         (check_omp_nesting_restrictions, lower_reduction_clauses)
1108         (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
1109         Update for OpenACC changes.
1110         (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
1111         OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
1112         OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
1113         OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
1114         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
1115         OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ.  Use GOMP_MAP_* instead of
1116         OMP_CLAUSE_MAP_*.
1117         (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
1118         Handle GF_OMP_FOR_KIND_OACC_LOOP.
1119         (expand_omp_target, lower_omp_target): Handle
1120         GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
1121         GF_OMP_TARGET_KIND_OACC_UPDATE,
1122         GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
1123         GF_OMP_TARGET_KIND_OACC_DATA.
1124         (pass_expand_omp::execute, execute_lower_omp)
1125         (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
1126         flag_openmp.
1127         (offload_symbol_decl): New variable.
1128         (oacc_get_reduction_array_id, oacc_max_threads)
1129         (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
1130         (maybe_lookup_oacc_reduction, enclosing_target_ctx)
1131         (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
1132         (oacc_gimple_assign, oacc_initialize_reduction_data)
1133         (oacc_finalize_reduction_data, oacc_process_reduction_data): New
1134         functions.
1135         (is_targetreg_ctx): Remove function.
1136         * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
1137         OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
1138         OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
1139         OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
1140         OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
1141         OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
1142         * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
1143         * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
1144         (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
1145         (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
1146         (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
1147         (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
1148         * tree-core.h: Update comments for OpenACC changes.
1149         (enum omp_clause_map_kind): Remove.
1150         (struct tree_omp_clause): Change type of map_kind member from enum
1151         omp_clause_map_kind to unsigned char.
1152         * tree-inline.c: Update comments for OpenACC changes.
1153         * tree-nested.c: Likewise.  Include "gomp-constants.h".
1154         (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
1155         (convert_tramp_reference_stmt, convert_gimple_call): Update for
1156         OpenACC changes.  Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*.  Use
1157         OMP_CLAUSE_SET_MAP_KIND.
1158         * tree-pretty-print.c: Include "gomp-constants.h".
1159         (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
1160         OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
1161         OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
1162         OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
1163         OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
1164         OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT.  Use GOMP_MAP_*
1165         instead of OMP_CLAUSE_MAP_*.
1166         (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
1167         OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
1168         OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
1169         * tree-streamer-in.c: Include "gomp-constants.h".
1170         (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
1171         OMP_CLAUSE_MAP_*.  Use OMP_CLAUSE_SET_MAP_KIND.
1172         * tree-streamer-out.c: Include "gomp-constants.h".
1173         (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
1174         OMP_CLAUSE_MAP_*.
1175         * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
1176         (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
1177         (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
1178         * tree.c (omp_clause_num_ops): Update accordingly.
1179         * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
1180         Likewise.
1181         (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
1182         (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
1183         (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
1184         (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
1185         (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
1186         (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
1187         * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
1188         (OMP_CLAUSE_SET_MAP_KIND): New macro.
1189         * varpool.c (varpool_node::get_create): Consider flag_openacc next
1190         to flag_openmp.
1191         * config/i386/intelmic-offload.h: New file.
1192         * config/nvptx/offload.h: Likewise.
1194 2015-01-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
1196         * explow.h: Remove duplicate contents.
1197         * dojump.h: Likewise.
1199 2015-01-15  Richard Earnshaw  <rearnsha@arm.com>
1201         * arm.c (arm_xgene_tune): Add default initializer for instruction
1202         fusion.
1204 2015-01-15  Jan Hubicka  <hubicka@ucw.cz>
1206         PR ipa/64068
1207         PR ipa/64559
1208         * ipa.c (symbol_table::remove_unreachable_nodes):
1209         Do not put abstract origins into boundary.
1211 2015-01-15  Evgeny Stupachenko  <evstupac@gmail.com>
1213         * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
1214         * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
1216 2015-01-15  Steve Ellcey  <sellcey@mips.com>
1218         * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
1219         cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
1220         builtins.def, and chkp-builtins.def.
1222 2015-01-15  David Edelsohn  <dje.gcc@gmail.com>
1224         * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
1225         ISA 2.7 (POWER8).
1227 2015-01-15  Richard Biener  <rguenther@suse.de>
1229         PR tree-optimization/61743
1230         * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
1231         information on PHIs for some simple cases.
1233 2015-01-15  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
1235         * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
1236         Include xgene1.md.
1237         * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
1238         * config/arm/arm-cores.def (xgene1): New entry.
1239         * config/arm/arm-tables.opt: Regenerate.
1240         * config/arm/arm-tune.md: Regenerate.
1241         * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
1243 2015-01-15  Yuri Rumyantsev  <ysrumyan@gmail.com>
1245         * tree-if-conv.c: Include hash-map.h.
1246         (aggressive_if_conv): New variable.
1247         (fold_build_cond_expr): Add simplification of non-zero condition.
1248         (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
1249         destination block is not always executed.
1250         (if_convertible_phi_p): Fix commentary, allow phi nodes have more
1251         than two predecessors if AGGRESSIVE_IF_CONV is true.
1252         (if_convertible_stmt_p): Fix commentary.
1253         (all_preds_critical_p): New function.
1254         (has_pred_critical_p): New function.
1255         (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
1256         BB can have more than two predecessors and all incoming edges can be
1257         critical.
1258         (predicate_bbs): Skip predication for loop exit block, use build2_loc
1259         to compute predicate for true edge.
1260         (find_phi_replacement_condition): Delete this function.
1261         (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
1262         Allow interchange PHI arguments if EXTENDED is false.
1263         Change check that block containing reduction statement candidate
1264         is predecessor of phi-block since phi may have more than two arguments.
1265         (phi_args_hash_traits): New helper structure.
1266         (struct phi_args_hash_traits): New type.
1267         (phi_args_hash_traits::hash): New function.
1268         (phi_args_hash_traits::equal_keys): New function.
1269         (gen_phi_arg_condition): New function.
1270         (predicate_scalar_phi): Add handling of phi nodes with more than two
1271         arguments, delete COND and TRUE_BB arguments, insert body of
1272         find_phi_replacement_condition to predicate ordinary phi nodes.
1273         (predicate_all_scalar_phis): Skip blocks with the only predecessor,
1274         delete call of find_phi_replacement_condition and invoke
1275         predicate_scalar_phi with two arguments.
1276         (insert_gimplified_predicates): Add assert that non-predicated block
1277         don't have statements to insert.
1278         (ifcvt_split_critical_edges): New function.
1279         (ifcvt_split_def_stmt): Likewise.
1280         (ifcvt_walk_pattern_tree): Likewise.
1281         (stmt_is_root_of_bool_pattern): Likewise.
1282         (ifcvt_repair_bool_pattern): Likewise.
1283         (ifcvt_local_dce): Likewise.
1284         (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
1285         is copy of inner or outer loop force_vectorize field, invoke
1286         ifcvt_split_critical_edges, ifcvt_local_dce and
1287         ifcvt_repair_bool_pattern for aggressive if-conversion.
1289 2015-01-15  Philipp Tomsich  <ptomsich@theobroma-systems.com>
1291         * config/aarch64/aarch64.md: Include xgene1.md.
1292         * config/aarch64/xgene1.md: New file.
1294 2015-01-15  Philipp Tomsich  <philipp.tomsich@theobroma-systems.com>
1296         * config/aarch64/aarch64-cores.def (xgene1): Update/add the
1297         xgene1 (APM XGene-1) core definition.
1298         * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
1299         * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
1300         * doc/invoke.texi: Document -mcpu=xgene1.
1302 2015-10-15  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
1304         * dojump.h: New header file.
1305         * explow.h: Likewise.
1306         * expr.h: Remove includes.
1307         Move expmed.c prototypes to expmed.h.
1308         Move dojump.c prototypes to dojump.h.
1309         Move alias.c prototypes to alias.h.
1310         Move explow.c prototypes to explow.h.
1311         Move calls.c prototypes to calls.h.
1312         Move emit-rtl.c prototypes to emit-rtl.h.
1313         Move varasm.c prototypes to varasm.h.
1314         Move stmt.c prototypes to stmt.h.
1315         (saved_pending_stack_adjust): Move to dojump.h.
1316         (adjust_address): Move to explow.h.
1317         (adjust_address_nv): Move to emit-rtl.h.
1318         (adjust_bitfield_address): Likewise.
1319         (adjust_bitfield_address_size): Likewise.
1320         (adjust_bitfield_address_nv): Likewise.
1321         (adjust_automodify_address_nv): Likewise.
1322         * explow.c (expr_size): Move to expr.c.
1323         (int_expr_size): Likewise.
1324         (tree_expr_size): Likewise.
1325         Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1326         fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
1327         * genemit.c (main): Generate includes statistics.h, real.h, fixed-value.h,
1328         insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
1329         * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h, function.h,
1330         statistics.h, real.h, fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
1331         stmt.h.
1332         * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
1333         fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
1334         * genemit.c (open_base_files): Generate includes flags.h, statistics.h, real.h,
1335         fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h,
1336         stmt.h.
1337         * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h, hash-set.h, vec.h,
1338         machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
1339         double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
1340         insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
1341         * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
1342         double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
1343         function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
1344         insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
1345         tm.h tree.h varasm.h vec.h wide-int.h.
1346         * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1347         explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
1348         hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
1349         real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
1350         * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1351         explow.h expmed.h fixed-value.h flags.h inchash.h insn-config.h
1352         real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
1353         * loop-iv.c: Likewise.
1354         * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1355         explow.h expmed.h fixed-value.h flags.h inchash.h real.h
1356         statistics.h stmt.h tree.h varasm.h wide-int.h.
1357         * lra-constraints.c: Likewise.
1358         * lra-eliminations.c: Likewise.
1359         * lra-lives.c: Likewise.
1360         * lra-remat.c: Likewise.
1361         * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1362         explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
1363         statistics.h stmt.h tree.h varasm.h wide-int.h.
1364         * hw-doloop.c: Likewise.
1365         * ira-color.c: Likewise.
1366         * ira-emit.c: Likewise.
1367         * loop-doloop.c: Likewise.
1368         * loop-invariant.c: Likewise.
1369         * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1370         explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
1371         statistics.h stmt.h tree.h varasm.h wide-int.h.
1372         * caller-save.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1373         explow.h expmed.h fixed-value.h inchash.h real.h statistics.h
1374         stmt.h tree.h varasm.h wide-int.h.
1375         * combine-stack-adj.c: Likewise.
1376         * cse.c: Likewise.
1377         * ddg.c: Likewise.
1378         * ifcvt.c: Likewise.
1379         * ira-costs.c: Likewise.
1380         * jump.c: Likewise.
1381         * lra-coalesce.c: Likewise.
1382         * lra-spills.c: Likewise.
1383         * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1384         explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
1385         stmt.h varasm.h wide-int.h.
1386         * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1387         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
1388         varasm.h.
1389         * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
1390         double-int.h explow.h expmed.h fixed-value.h flags.h real.h
1391         statistics.h stmt.h varasm.h wide-int.h.
1392         * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
1393         expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
1394         varasm.h wide-int.h.
1395         * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
1396         expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1397         * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
1398         emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
1399         statistics.h stmt.h.
1400         * config/tilepro/tilepro.c: Likewise.
1401         * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
1402         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
1403         * config/pdp11/pdp11.c: Likewise.
1404         * config/xtensa/xtensa.c: Likewise.
1405         * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
1406         explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
1407         varasm.h.
1408         * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1409         fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1410         insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
1411         * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1412         fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1413         insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
1414         * rtl-chkp.c: Likewise.
1415         * tree-chkp-opt.c: Likewise.
1416         * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h explow.h
1417         expmed.h fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1418         insn-config.h real.h statistics.h stmt.h varasm.h.
1419         * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1420         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
1421         statistics.h stmt.h.
1422         * tree-vect-data-refs.c: Likewise.
1423         * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
1424         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1425         rtl.h statistics.h stmt.h varasm.h.
1426         * internal-fn.c: Likewise.
1427         * ipa-icf-gimple.c: Likewise.
1428         * lto-section-out.c: Likewise.
1429         * tree-data-ref.c: Likewise.
1430         * tree-nested.c: Likewise.
1431         * tree-outof-ssa.c: Likewise.
1432         * tree-predcom.c: Likewise.
1433         * tree-pretty-print.c: Likewise.
1434         * tree-scalar-evolution.c: Likewise.
1435         * tree-ssa-strlen.c: Likewise.
1436         * tree-vect-loop.c: Likewise.
1437         * tree-vect-patterns.c: Likewise.
1438         * tree-vect-slp.c: Likewise.
1439         * tree-vect-stmts.c: Likewise.
1440         * tsan.c: Likewise.
1441         * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1442         fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
1443         stmt.h.
1444         * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
1445         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1446         statistics.h stmt.h varasm.h.
1447         * loop-unroll.c: Likewise.
1448         * ubsan.c: Likewise.
1449         * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
1450         expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
1451         stmt.h varasm.h.
1452         * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1453         fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
1454         * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
1455         expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
1456         statistics.h stmt.h.
1457         * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
1458         expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
1459         statistics.h stmt.h varasm.h.
1460         * gimple-match-head.c: Likewise.
1461         * lto-cgraph.c: Likewise.
1462         * lto-section-in.c: Likewise.
1463         * lto-streamer-in.c: Likewise.
1464         * lto-streamer-out.c: Likewise.
1465         * tree-affine.c: Likewise.
1466         * tree-cfg.c: Likewise.
1467         * tree-cfgcleanup.c: Likewise.
1468         * tree-if-conv.c: Likewise.
1469         * tree-into-ssa.c: Likewise.
1470         * tree-ssa-alias.c: Likewise.
1471         * tree-ssa-copyrename.c: Likewise.
1472         * tree-ssa-dse.c: Likewise.
1473         * tree-ssa-forwprop.c: Likewise.
1474         * tree-ssa-live.c: Likewise.
1475         * tree-ssa-math-opts.c: Likewise.
1476         * tree-ssa-pre.c: Likewise.
1477         * tree-ssa-sccvn.c: Likewise.
1478         * tree-tailcall.c: Likewise.
1479         * tree-vect-generic.c: Likewise.
1480         * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1481         fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
1482         * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1483         fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
1484         * varasm.c: Likewise.
1485         * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1486         fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
1487         varasm.h.
1488         * init-regs.c: Likewise.
1489         * ira.c: Likewise.
1490         * omp-low.c: Likewise.
1491         * stack-ptr-mod.c: Likewise.
1492         * tree-ssa-reassoc.c: Likewise.
1493         * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1494         fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
1495         varasm.h.
1496         * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1497         fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
1498         * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1499         fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
1500         * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1501         fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
1502         * tree-ssa-phiopt.c: Likewise.
1503         * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1504         fixed-value.h hashtab.h real.h statistics.h stmt.h.
1505         * config/fr30/fr30.c: Likewise.
1506         * config/frv/frv.c: Likewise.
1507         * expr.c: Likewise.
1508         * final.c: Likewise.
1509         * optabs.c: Likewise.
1510         * passes.c: Likewise.
1511         * simplify-rtx.c: Likewise.
1512         * stmt.c: Likewise.
1513         * toplev.c: Likewise.
1514         * var-tracking.c: Likewise.
1515         * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1516         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1517         * lower-subreg.c: Likewise.
1518         * postreload-gcse.c: Likewise.
1519         * ree.c: Likewise.
1520         * reginfo.c: Likewise.
1521         * store-motion.c: Likewise.
1522         * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1523         fixed-value.h hashtab.h real.h stmt.h varasm.h.
1524         * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1525         fixed-value.h hashtab.h statistics.h stmt.h.
1526         * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1527         fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
1528         * except.c: Likewise.
1529         * explow.c: Likewise.
1530         * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1531         fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
1532         varasm.h.
1533         * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1534         fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
1535         * tree-ssa-structalias.c: Likewise.
1536         * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1537         fixed-value.h insn-config.h real.h statistics.h.
1538         * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1539         fixed-value.h insn-config.h real.h statistics.h stmt.h.
1540         * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1541         fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
1542         * cfgbuild.c: Likewise.
1543         * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1544         fixed-value.h real.h rtl.h statistics.h stmt.h.
1545         * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1546         fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1547         * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1548         fixed-value.h real.h statistics.h stmt.h.
1549         * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1550         fixed-value.h real.h statistics.h stmt.h varasm.h.
1551         * cprop.c: Likewise.
1552         * modulo-sched.c: Likewise.
1553         * postreload.c: Likewise.
1554         * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
1555         flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
1556         statistics.h stmt.h varasm.h.
1557         * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
1558         explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1559         rtl.h statistics.h stmt.h varasm.h.
1560         * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
1561         fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
1562         varasm.h.
1563         * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
1564         function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
1565         varasm.h.
1566         * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
1567         fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
1568         varasm.h.
1569         * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
1570         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1571         * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1572         function.h real.h statistics.h stmt.h varasm.h.
1573         * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1574         insn-config.h real.h statistics.h stmt.h.
1575         * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1576         statistics.h stmt.h.
1577         * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
1578         fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
1579         statistics.h stmt.h varasm.h.
1580         * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1581         flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
1582         * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1583         flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
1584         * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
1585         fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
1586         statistics.h stmt.h varasm.h.
1587         * ipa-polymorphic-call.c: Likewise.
1588         * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h expmed.h
1589         fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
1590         stmt.h.
1591         * config/c6x/c6x.c: Likewise.
1592         * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h explow.h
1593         expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1594         statistics.h stmt.h varasm.h.
1595         * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1596         hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h varasm.h.
1597         * ipa-split.c: Likewise.
1598         * tree-eh.c: Likewise.
1599         * tree-ssa-dce.c: Likewise.
1600         * tree-ssa-loop-niter.c: Likewise.
1601         * tree-vrp.c: Likewise.
1602         * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
1603         expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
1604         stmt.h.
1605         * config/nds32/nds32-fp-as-gp.c: Likewise.
1606         * config/nds32/nds32-intrinsic.c: Likewise.
1607         * config/nds32/nds32-isr.c: Likewise.
1608         * config/nds32/nds32-md-auxiliary.c: Likewise.
1609         * config/nds32/nds32-memory-manipulation.c: Likewise.
1610         * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
1611         * config/nds32/nds32-predicates.c: Likewise.
1612         * config/nds32/nds32.c: Likewise.
1613         * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
1614         fixed-value.h hashtab.h real.h statistics.h.
1615         * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
1616         fixed-value.h hashtab.h real.h statistics.h stmt.h.
1617         * config/arm/arm.c: Likewise.
1618         * config/avr/avr.c: Likewise.
1619         * config/bfin/bfin.c: Likewise.
1620         * config/h8300/h8300.c: Likewise.
1621         * config/i386/i386.c: Likewise.
1622         * config/ia64/ia64.c: Likewise.
1623         * config/iq2000/iq2000.c: Likewise.
1624         * config/m32c/m32c.c: Likewise.
1625         * config/m32r/m32r.c: Likewise.
1626         * config/m68k/m68k.c: Likewise.
1627         * config/mcore/mcore.c: Likewise.
1628         * config/mep/mep.c: Likewise.
1629         * config/mips/mips.c: Likewise.
1630         * config/mn10300/mn10300.c: Likewise.
1631         * config/moxie/moxie.c: Likewise.
1632         * config/pa/pa.c: Likewise.
1633         * config/rl78/rl78.c: Likewise.
1634         * config/rx/rx.c: Likewise.
1635         * config/s390/s390.c: Likewise.
1636         * config/sh/sh.c: Likewise.
1637         * config/sparc/sparc.c: Likewise.
1638         * config/spu/spu.c: Likewise.
1639         * config/stormy16/stormy16.c: Likewise.
1640         * config/v850/v850.c: Likewise.
1641         * config/vax/vax.c: Likewise.
1642         * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
1643         fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1644         * config/msp430/msp430.c: Likewise.
1645         * predict.c: Likewise.
1646         * value-prof.c: Likewise.
1647         * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
1648         expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
1649         * config/microblaze/microblaze.c: Likewise.
1650         * config/nios2/nios2.c: Likewise.
1651         * config/rs6000/rs6000.c: Likewise.
1652         * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1653         insn-config.h real.h rtl.h statistics.h stmt.h.
1654         * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1655         insn-config.h real.h statistics.h stmt.h.
1656         * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
1657         fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
1658         * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
1659         fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1660         * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1661         real.h statistics.h stmt.h.
1662         * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
1663         fixed-value.h statistics.h stmt.h.
1664         * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
1665         stmt.h.
1667 2015-01-15  Jakub Jelinek  <jakub@redhat.com>
1669         * gengtype.c (create_user_defined_type): Workaround
1670         -Wmaybe-uninitialized false positives.
1671         * cse.c (fold_rtx): Likewise.
1672         * loop-invariant.c (gain_for_invariant): Likewise.
1674 2015-01-15  Eric Botcazou  <ebotcazou@adacore.com>
1676         * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
1677         set the memory attributes in all cases but clear MEM_EXPR if need be.
1679 2015-01-15  Yuri Rumyantsev  <ysrumyan@gmail.com>
1681         PR tree-optimization/64434
1682         * cfgexpand.c (reorder_operands): New function.
1683         (expand_gimple_basic_block): Insert call of reorder_operands if
1684         optimized is true.
1686 2015-01-15  Matthew Fortune  <matthew.fortune@imgtec.com>
1688         * config/mips/micromips.md (*swp): Remove explicit parallel.
1689         (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
1690         * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
1691         (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
1692         (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
1693         (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
1694         (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
1695         (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
1696         (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
1697         (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
1698         (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
1699         (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
1700         (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
1701         (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
1702         (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
1703         (mips_wrdsp): Likewise.
1704         * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
1705         parallel.
1706         (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
1707         (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
1708         (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
1709         (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
1710         (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
1711         (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
1712         * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
1713         (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
1714         (ssmaddsqdq4, ssmsubsqdq4): Likewise.
1716 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
1718         * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
1719         (mips_print_operand): Support 'y' to print exact log2 in decimal
1720         of a const_int.
1721         * config/mips/mips.h (ISA_HAS_LSA): New define.
1722         (ISA_HAS_DLSA): Likewise.
1723         * config/mips/mips.md (<GPR:d>lsa): New define_insn.
1724         * config/mips/predicates.md (const_immlsa_operand): New predicate.
1726 2015-01-15  Martin Liska  <mliska@suse.cz>
1728         PR target/64377
1729         * optc-save-gen.awk: Add support for array types.
1731 2015-01-15  Richard Biener  <rguenther@suse.de>
1733         PR middle-end/64365
1734         * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
1735         for MEM_REF access functions with the same base can never partially
1736         overlap.
1738 2015-01-14  Marcos Diaz <marcos.diaz@tallertechnologies.com>
1740         * common.opt: New option -fstack-protector-explicit.
1741         * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
1742         (stack_protect_decl_phase): Handle stack_protect attribute for
1743         explicit stack protection requests.
1744         (expand_used_vars): Similarly.
1745         * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
1746         * doc/extend.texi: Add documentation for "stack_protect" attribute.
1747         * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
1749 2015-01-14  Oleg Endo  <olegendo@gcc.gnu.org>
1751         PR target/53988
1752         * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
1753         reg-reg copies.
1754         (sh_extending_set_of_reg): New struct.
1755         (sh_find_extending_set_of_reg, sh_split_tst_subregs,
1756         sh_remove_reg_dead_or_unused_notes): New Declarations.
1757         * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
1758         sh_find_extending_set_of_reg, sh_split_tst_subregs,
1759         sh_extending_set_of_reg::use_as_extended_reg): New functions.
1760         * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
1761         convert to insn_and_split and use new function sh_split_tst_subregs.
1763 2015-01-14  Sandra Loosemore  <sandra@codesourcery.com>
1765         * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
1766         option.
1767         (Optimization Options): Move -fuse-ld documentation to...
1768         (Link Options): ...here.
1770 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
1772         * config/mips/constraints.md (ZC): Add support for R6 LL/SC
1773         offsets.
1774         (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
1775         * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
1776         (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
1777         * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
1778         instead of ZR for the memory operand of LL/SC.
1779         (compare_and_swap_12, sync_add<mode>): Likewise.
1780         (sync_<optab>_12, sync_old_<optab>_12): Likewise.
1781         (sync_new_<optab>_12, sync_nand_12): Likewise.
1782         (sync_old_nand_12, sync_new_nand_12): Likewise.
1783         (sync_sub<mode>, sync_old_add<mode>): Likewise.
1784         (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
1785         (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
1786         (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
1787         (sync_nand<mode>, sync_old_nand<mode>): Likewise.
1788         (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
1789         (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
1790         (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
1791         * doc/md.texi (ZC): Update description.
1793 2015-01-14  Andrew MacLeod  <amacleod@redhat.com>
1795         * builtins.c (expand_builtin_atomic_exchange): Remove error when
1796         memory model is CONSUME.
1797         (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
1798         expand_builtin_atomic_store): Change invalid memory model errors to
1799         warnings.
1800         (expand_builtin_atomic_clear): Change invalid model errors to warnings
1801         and issue warning for CONSUME.
1803 2015-01-14  Aldy Hernandez  <aldyh@redhat.com>
1805         * lto-cgraph: Update function comments for
1806         lto_symtab_encoder_encode_*.
1808 2015-01-14  Ilya Verbin  <ilya.verbin@intel.com>
1810         * Makefile.in (site.exp): Do not set ENABLE_LTO.
1812 2015-01-14  Ilya Verbin  <ilya.verbin@intel.com>
1814         * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
1815         * lto-cgraph.c (select_what_to_stream): Remove argument, use
1816         lto_stream_offload_p instead.
1817         * lto-streamer.h (select_what_to_stream): Remove argument.
1818         * passes.c (ipa_write_summaries): Likewise.
1819         * tree-pass.h (ipa_write_summaries): Likewise.
1821 2015-01-14  Richard Biener  <rguenther@suse.de>
1823         PR tree-optimization/59354
1824         * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
1825         groups larger than the slp group size as having gaps.
1827 2015-01-14  Andrew MacLeod  <amacleod@redhat.com>
1829         PR middle-end/59448
1830         * builtins.c (get_memmodel): Promote consume to acquire always.
1832 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
1834         PR target/64386
1835         * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
1836         V32HImode. 
1838 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
1840         PR target/64393
1841         * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
1842         Enable AVX512BW.
1843         (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
1844         * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
1845         AVX512VBMI, as it implies AVX512BW.
1847 2015-01-14  Ilya Tocar  <ilya.tocar@intel.com>
1849         PR target/64387
1850         * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
1851         (vec_unpacks_hi_v16sf): Ditto.
1853 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1855         * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
1856         is not available.
1858 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1860         * doc/invoke.texi (mapcs): Mention deprecation.
1861         (mapcs-frame): Likewise.
1863 2015-01-14  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1865         PR target/64453
1866         * config/arm/arm.c (callee_saved_reg_p): Define.
1867         (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
1868         register is callee saved instead of !call_used_regs[reg].
1869         (thumb1_compute_save_reg_mask): Likewise.
1871 2015-01-14  Hale Wang  <hale.wang@arm.com>
1873         * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
1874         Cortex-M7.
1876 2015-01-14  Richard Biener  <rguenther@suse.de>
1878         PR lto/64415
1879         * tree-inline.c (insert_debug_decl_map): Check destination
1880         function MAY_HAVE_DEBUG_STMTS.
1881         (insert_init_debug_bind): Likewise.
1882         (insert_init_stmt): Remove redundant check.
1883         (remap_gimple_stmt): Drop debug stmts if the destination
1884         function has var-tracking assignments disabled.
1886 2015-01-14  Martin Liska  <mliska@suse.cz>
1888         * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
1889         IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
1891 2015-01-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1893         PR target/64460
1894         * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
1895         (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
1897 2015-01-14  Matthew Fortune  <matthew.fortune@imgtec.com>
1899         * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
1900         level from an ARCH; do not inject the default.
1901         (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
1902         MIPS_ISA_LEVEL_SPEC.
1903         (MIPS_ISA_NAN2008_SPEC): Update comment.
1904         (BASE_DRIVER_SELF_SPECS): Likewise.
1905         * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
1906         MIPS_DEFAULT_ISA_LEVEL_SPEC.
1907         * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
1908         * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
1909         * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
1911 2015-01-14  Richard Biener  <rguenther@suse.de>
1913         PR tree-optimization/64493
1914         PR tree-optimization/64495
1915         * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
1916         assign the proper vectorized PHI to the inner loop exit PHIs.
1918 2015-01-14  Joey Ye  <joey.ye@arm.com>
1920         * config/arm/arm.c (arm_compute_save_reg_mask):
1921         Do not save lr in case of tail call.
1922         * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
1924 2015-01-14  Martin Uecker <uecker@eecs.berkeley.edu>
1926         * tree-vrp.c (check_array_ref): Emit more warnings
1927         for warn_array_bounds >= 2.
1928         * common.opt: New option -Warray-bounds=.
1929         * doc/invoke.texi: Document -Warray-bounds=.
1931 2015-01-14  Chung-Ju Wu  <jasonwucj@gmail.com>
1933         * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
1934         (mforbid-fp-as-gp): Remove.
1935         (mex9): Remove.
1936         * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
1937         (nds32_symbol_load_store_p): Remove.
1938         (nds32_fp_as_gp_check_available): Clean up implementation.
1939         * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
1940         cases.
1941         * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
1942         fp-as-gp and ex9 cases.
1944 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
1946         * tree-profile.c (init_ic_make_global_vars): Drop workaround
1947         for bintuils bug 14342.
1948         (init_ic_make_global_vars): Likewise.
1949         (gimple_init_edge_profiler): Likewise.
1950         (gimple_gen_ic_func_profiler): Likewise.
1952 2015-01-13  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
1954         * ipa-inline.c (inline_small_functions): Swap the operands in
1955         enum.
1957 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
1959         PR ipa/64481
1960         * ipa-inline-analysis.c (node_growth_cache): Remove.
1961         (initialize_growth_caches): Do not initialize it.
1962         (free_growth_caches): Do not free it.
1963         (do_estimate_growth): Rename to ...
1964         (estimate_growth): ... this one; drop growth cache code.
1965         (growth_likely_positive): Always go the heuristics way.
1966         * ipa-inline.c (can_inline_edge_p): Walk through aliases.
1967         (reset_edge_caches): Do not reset node growth.
1968         (heap_edge_removal_hook): Do not maintain cache.
1969         (inline_small_functions): Likewise; strenghten sanity check.
1970         (ipa_inline): Do not maintain caches.
1971         * ipa-inline.h (node_growth_cache): Remove.
1972         (do_estimate_growth): Remove to ...
1973         (estimate_growth): this one; remove inline version.
1974         (reset_node_growth_cache): Remove.
1976 2015-01-13  Jan Hubicka  <hubicka@ucw.cz>
1978         PR ipa/64565
1979         * ipa-inline.c (inline_small_functions): Update callee keys after
1980         resolving speculation
1981         (inline_small_functions): Always check monotonicity of the queue.
1983 2015-01-13  Marek Polacek  <polacek@redhat.com>
1985         PR middle-end/64391
1986         * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
1988 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
1990         PR rtl-optimization/64286
1991         * ree.c (combine_reaching_defs): Move part of comment earlier,
1992         remove !SCALAR_INT_MODE_P check.
1993         (add_removable_extension): Don't add vector mode
1994         extensions if all uses of the source register aren't the same
1995         vector extensions.
1997 2015-01-13  Renlin Li  <renlin.li@arm.com>
1999         * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
2000         (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
2002 2015-01-13  Martin Liska  <mliska@suse.cz>
2004         * ipa-icf.c (sem_function::equals_private): Call new functions
2005         cl_target_option_print_diff and cl_optimization_print_diff.
2006         * optc-save-gen.awk (cl_target_option_print_diff): New function.
2007         (cl_optimization_print_diff): Likewise.
2008         * opth-gen.awk: Likewise.
2010 2015-01-13  Richard Sandiford  <richard.sandiford@arm.com>
2012         * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
2013         (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
2014         (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
2015         (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
2016         (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
2017         (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
2019 2015-01-13  Andrew Pinski   <apinski@cavium.com>
2021         * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
2022         instead of src mode.    
2024 2015-01-13  Richard Biener  <rguenther@suse.de>
2026         PR lto/64373
2027         * lto-streamer-out.c (tree_is_indexable): Guard for NULL
2028         DECL_CONTEXT.
2030 2015-01-13  Andrew Pinski   <apinski@cavium.com>
2032         * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
2033         volatile mems.
2034         (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
2036 2015-01-13  Jakub Jelinek  <jakub@redhat.com>
2038         PR middle-end/63974
2039         * cfgexpand.c (expand_computed_goto): Don't call
2040         convert_memory_address here.
2042 2015-01-13  Richard Biener  <rguenther@suse.de>
2044         PR tree-optimization/64406
2045         * tree-loop-distibution.c (pass_loop_distribution::execute):
2046         Reset the SCEV hashtable if we distributed anything.
2048 2015-01-13  Richard Biener  <rguenther@suse.de>
2050         PR tree-optimization/64404
2051         * tree-vect-stmts.c (vectorizable_load): Reject conflicting
2052         SLP types for CSEd loads.
2054 2015-01-13  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2056         PR tree-optimization/64436
2057         * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
2058         merge of two symbolic numbers for a bitwise OR to ...
2059         (perform_symbolic_merge): This. Also fix computation of the range and
2060         end of the symbolic number corresponding to the result of a bitwise OR.
2062 2015-01-13  Richard Biener  <rguenther@suse.de>
2064         PR tree-optimization/64568
2065         * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
2066         release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
2068 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
2070         * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
2071         TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
2073 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
2075         * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
2076         target-specific symbol_ref flag.
2077         (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
2078         resides in rodata section.
2079         * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
2080         (nds32_encode_section_info): New function.
2082 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
2084         * config/nds32/nds32.md (call): Use pseudo instruction bal which
2085         clobbers TA_REGNUM if large code model is specified.
2086         (call_register): Likewise.
2087         (call_immediate): Likewise.
2088         (call_value): Likewise.
2089         (call_value_register): Likewise.
2090         (call_value_immediate): Likewise.
2092 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
2094         * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
2095         (TARGET_CMODEL_MEDIUM): New macro.
2096         (TARGET_CMODEL_LARGE): New macro.
2097         * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
2098         code model setting in assembly code.
2100 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
2102         * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
2103         Remove MASK_GP_DIRECT flag.
2104         * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
2105         one of the multilib default options.
2106         * config/nds32/nds32.opt (mgp-direct): Remove.
2107         * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
2108         -mgp-direct.  We also remove unnecessary -mlittle-endian/-mbig-endian.
2110 2015-01-13  Chung-Ju Wu  <jasonwucj@gmail.com>
2112         * config/nds32/nds32.opt (mcmodel): Add new option.
2113         * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
2114         to describe code model.
2116 2015-01-13  Oleg Endo  <olegendo@gcc.gnu.org>
2118         PR target/64479
2119         * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
2121 2015-01-12  Kaz Kojima  <kkojima@gcc.gnu.org>
2123         * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
2124         (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
2125         (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
2126         (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
2127         __builtin_sh_set_fpscr.
2129 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
2131         * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
2132         after a funtion name just to indicate it is a function.
2133         ([-fsanitize-undefined-trap-on-error]): Likewise.
2134         ([-fdbg-cnt=]): Likewise.
2135         ([-mmemcpy]): Likewise.
2136         ([-mflush-func]): Likewise.
2137         ([-msynci]): Likewise.
2139 2015-01-12  Sandra Loosemore  <sandra@codesourcery.com>
2141         * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
2142         example.
2143         
2144 2015-01-12  Jakub Jelinek  <jakub@redhat.com>
2146         PR tree-optimization/64563
2147         * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
2148         instead of != VR_VARYING.
2150         PR target/64513
2151         * config/i386/i386.c (ix86_expand_prologue): Add
2152         REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
2154         PR tree-optimization/64454
2155         * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
2156         op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
2157         for signed or [0, op1 - 1] for unsigned modulo.
2158         (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
2159         even if op1 does not satisfy integer_pow2p.
2161         PR other/64370
2162         * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
2164 2015-01-12  Jeff Law  <law@redhat.com>
2166         PR target/64461
2167         * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
2168         (trunchiqi2, truncsihi2): Similarly.
2170         * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
2171         rather than calling F.
2173 2015-01-12  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2175         * tsan.c (instrument_expr): Use force_gimple_operand.
2176         Use may_be_nonaddressable_p instead of is_gimple_addressable.
2178 2015-01-12  Richard Biener  <rguenther@suse.de>
2180         PR tree-optimization/64530
2181         * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
2182         back dr1.
2184 2015-01-12  Richard Biener  <rguenther@suse.de>
2186         PR middle-end/64357
2187         * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
2188         latches properly.
2190 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2192         * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
2193         Cortex-A17 tuning parameters.
2194         * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
2196 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2198         * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
2199         * config/arm/arm.c (arm_macro_fusion_p): New function.
2200         (arm_macro_fusion_pair_p): Likewise.
2201         (TARGET_SCHED_MACRO_FUSION_P): Define.
2202         (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
2203         (ARM_FUSE_NOTHING): Likewise.
2204         (ARM_FUSE_MOVW_MOVT): Likewise.
2205         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
2206         arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
2207         arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
2208         arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
2209         arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
2210         arm_cortex_a5_tune): Specify fuseable_ops value.
2212 2015-01-12  H.J. Lu  <hongjiu.lu@intel.com>
2214         PR bootstrap/64561
2215         * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
2216         test for PIE with copy reloc.
2217         * configure: Regenerated.
2219 2015-01-12  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2221         * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
2222         in gen_rtx_REG.
2223         (arm_tls_descseq_addr): Likewise.
2224         (arm_gen_movmemqi): Likewise.
2225         (arm_expand_epilogue_apcs_frame): Likewise.
2226         (arm_expand_epilogue): Likewise.
2227         (arm_expand_prologue): Likewise.  Use R1_REGNUM instead of constant 1
2228         in gen_rtx_REG.
2230 2015-01-12  Martin Liska  <mliska@suse.cz>
2232         PR ipa/64550
2233         * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
2234         volatility for correct operands.
2236 2015-01-12  Martin Liska  <mliska@suse.cz>
2238         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
2239         that a function is not leaf.
2240         (sem_function::compare_polymorphic_p): Likewise.
2242 2015-01-12  Martin Liska  <mliska@suse.cz>
2244         * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
2245         that a function is not leaf.
2246         (sem_function::compare_polymorphic_p): Likewise.
2248 2015-01-12  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
2250         * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
2251         machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
2252         fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
2253         fold-const.h, tree-check.h.
2255 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
2257         PR ipa/63967
2258         PR ipa/64425
2259         * ipa-inline.c (compute_uninlined_call_time,
2260         compute_inlined_call_time): Use counts for extra precision when
2261         needed possible.
2262         (big_speedup_p): Fix formating.
2263         (RELATIVE_TIME_BENEFIT_RANGE): Remove.
2264         (relative_time_benefit): Remove.
2265         (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
2266         merge guessed and read profile paths.
2267         (inline_small_functions): Count only !optimize_size functions into
2268         initial size; be more lax about sanity check when profile is used;
2269         be sure to update inlined function profile when profile is read.
2271 2015-01-12  Jan Hubicka  <hubicka@ucw.cz>
2273         PR ipa/63470
2274         * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
2275         cost when edge becomes direct.
2276         * ipa-prop.c (make_edge_direct): Do not adjust when speculation
2277         is resolved or when introducing new speculation.
2279 2015-01-12  Chen Gang  <gang.chen.5i5j@gmail.com>
2281         PR ipa/64551
2282         PR ipa/64552
2283         * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
2284         '||' to fix typo issue.
2286         * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
2287         accept and return NULL.
2289 2015-01-12  Martin Liska  <mliska@suse.cz>
2291         * cgraph.c (cgraph_edge::remove_callee): Move function to header
2292         file for being inlined.
2293         (cgraph_set_edge_callee): Delete.
2294         (cgraph_edge::redirect_callee): Move function to header file
2295         for being inlined.
2296         (cgraph_edge::make_direct): Use new function.
2297         (cgraph_edge::dump_edge_flags): New function created from
2298         static dump_edge_flags function.
2299         (cgraph_node::dump): Use new function.
2300         (cgraph_edge::verify_count_and_frequency): New function created
2301         from verify_edge_count_and_frequency.
2302         (cgraph_edge::verify_corresponds_to_fndecl): New function created
2303         from verify_edge_corresponds_to_fndecl.
2304         (verify_edge_corresponds_to_fndecl): Delete.
2305         (cgraph_node::verify_node): Use new function.
2306         * cgraph.h (cgraph_edge::set_callee): New function.
2307         (cgraph_edge::dump_edge_flags): Likewise.
2308         (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
2310 2015-01-11  Jan Hubicka  <hubicka@ucw.cz>
2312         * ipa-utils.c (estimate_function_body_sizes): Do not
2313         free node params when called late with early=true.
2315 2015-01-11  James Greenhalgh  <james.greenhalgh@arm.com>
2317         * doc/md.texi (Instruction Patterns): Rewrite text for
2318         clarity.
2319         (Example): Likewise.
2321 2015-01-10  Sandra Loosemore  <sandra@codesourcery.com>
2323         * doc/invoke.texi (Option Summary): Break long lines.
2324         [(-fdiagnostics-color)]: Put long literal in @smallexample
2325         instead of inline.
2326         [(-fsanitize-recover)]: Likewise.
2327         [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
2328         [(-ffast-math)]: Likewise.
2329         [(--param max-inline-insns-recursive)]: Likewise.
2330         [(--param max-inline-recursive-depth)]: Likewise.
2331         [(-mno-text-section-literals)]: Likewise.
2332         
2333 2015-01-10  Thomas Schwinge  <thomas@codesourcery.com>
2335         * doc/install.texi: Update for libgomp being renamed from "GNU
2336         OpenMP Runtime Library" to "GNU Offloading and Multi Processing
2337         Runtime Library".
2338         * doc/sourcebuild.texi: Likewise.
2340 2015-01-10  Anthony Green  <green@moxielogic.com>
2342         * config/moxie/moxie.c (moxie_option_override): Fix forcing of
2343         mul.x availability for moxiebox configuration.
2345 2015-01-09  Anthony Green  <green@moxielogic.com>
2347         * config/moxie/moxie.md: Tabify assembly output.
2349 2015-01-09  Anthony Green  <green@moxielogic.com>
2351         * config/moxie/moxie.md (CC_REG): Correct register definition.
2353 2015-01-09  Sandra Loosemore  <sandra@codesourcery.com>
2355         * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
2356         ([-fvtv-debug], [-fvtv-counts]): Likewise.  Correct location
2357         of log files.
2359 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2361         * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
2363 2015-01-09  Bernd Schmidt  <bernds@codesourcery.com>
2364             Jakub Jelinek  <jakub@redhat.com>
2366         PR middle-end/64412
2367         * lto-streamer.h (lto_stream_offload_p): New declaration.
2368         * lto-streamer.c (lto_stream_offload_p): New variable.
2369         * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
2370         at the same time as section_name_prefix.
2371         * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
2372         if lto_stream_offload_p.
2373         * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
2374         stream TREE_TARGET_OPTION if lto_stream_offload_p.
2375         (write_ts_function_decl_tree_pointers): Don't
2376         stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
2377         * tree-streamer-in.c (unpack_value_fields): Don't stream
2378         TREE_TARGET_OPTION in if ACCEL_COMPILER.
2379         (lto_input_ts_function_decl_tree_pointers): Don't stream
2380         DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
2381         * lto-opts.c (lto_write_options): Use lto_stream_offload_p
2382         instead of section_name_prefix string comparisons.
2384 2015-01-09  Jakub Jelinek  <jakub@redhat.com>
2386         PR rtl-optimization/64536
2387         * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
2388         tablejumps.
2390 2015-01-09  Michael Collison  <michael.collison@linaro.org>
2392         PR tree-optimization/64322
2393         * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
2394         range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
2396 2015-01-09  Tom de Vries  <tom@codesourcery.com>
2398         PR rtl-optimization/64539
2399         * regcprop.c (kill_clobbered_values): Factor out of ...
2400         (copyprop_hardreg_forward_1): ... here.  Use kill_clobbered_values
2401         instead of note_stores with kill_clobbered_value.
2403 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2405          * ginclude/unwind-arm-common.h: Revert previous commit.
2407 2015-01-09  Andreas Tobler  <andreast@gcc.gnu.org>
2409         * config.gcc (arm*-*-freebsd*): New configuration.
2410         * config/arm/freebsd.h: New file.
2411         * config.host: Add extra components for arm*-*-freebsd*.
2412         * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
2413         * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
2415 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2417         * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
2418         for -mcpu=e6500.
2419         * config/rs6000/t-rtems: Add e6500 multilibs.
2421 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2423         * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
2424         MPC8540.
2426 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2428         * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
2429         MULTILIB_EXCEPTIONS.
2431 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2433         * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
2434         MULTILIB_EXCEPTIONS.
2436 2015-01-09  Sebastian Huber  <sebastian.huber@embedded-brains.de>
2438         * config/arm/t-rtems-eabi: Rename to...
2439         * config/arm/t-rtems: ...this.
2440         * config/arm/rtems-eabi.h: Rename to...
2441         * config/arm/rtems.h: ...this.
2442         * config.gcc (arm*-*-rtems*): Reflect changes above.
2444 2015-01-09  Richard Biener  <rguenther@suse.de>
2446         PR tree-optimization/64410
2447         * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
2448         on the LHS.
2449         (execute_update_addresses_taken): Deal with that.
2450         * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
2451         loads/stores for complex variables.
2453 2015-01-09  Martin Liska  <mliska@suse.cz>
2455         * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
2456         name comparison.
2457         (func_checker::compare_memory_operand): New function.
2458         (func_checker::compare_operand): Split case to newly
2459         added functions.
2460         (func_checker::compare_cst_or_decl): New function.
2461         (func_checker::compare_gimple_call): Identify
2462         memory operands.
2463         (func_checker::compare_gimple_assign): Likewise.
2464         * ipa-icf-gimple.h: New function.
2466 2015-01-09  Martin Liska  <mliska@suse.cz>
2468         PR ipa/64503
2469         * sreal.c (sreal::dump): Change unsigned format to signed for
2470         m_exp value.
2471         (sreal::to_double): Replace exp2 with scalbln.
2473 2015-01-09  Martin Liska  <mliska@suse.cz>
2475         * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
2476         * ipa-icf.c (sem_function::equals_private): Add support for target and
2477         (sem_item_optimizer::merge_classes): Remove redundant function
2478         optimization flags comparison.
2479         * tree.h (target_opts_for_fn): New function.
2481 2015-01-09  Tom de Vries  <tom@codesourcery.com>
2483         * omp-low.c (expand_omp_for_static_chunk): Fix assert.
2485 2015-01-09  Kito Cheng  <kito@0xlab.org>
2487         PR rtl-optimization/64348
2488         * lra-constraints.c (split_reg): Fix caller-save store/restore
2489         instruction generation.
2491 2015-01-08  John David Anglin  <danglin@gcc.gnu.org>
2493         PR gcov-profile/61790
2494         * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
2495         long long.  Fallback to int64_t if host doesn't have long long and
2496         use strtol if int64_t is long.  Otherwise, use sscanf for conversion.
2498 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
2500         PR tree-optimization/63989
2501         * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
2502         from 1000 to 10000.
2503         * tree-ssa-strlen.c (get_strinfo): Moved earlier.
2504         (get_stridx): If we don't have a record for certain SSA_NAME,
2505         but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
2506         constant offset, call get_stridx_plus_constant.
2507         (get_stridx_plus_constant): New function.
2508         (zero_length_string): Don't use get_stridx here.
2510         PR target/55023
2511         PR middle-end/64388
2512         * dse.c (struct insn_info): Mention frame_read set also
2513         before reload for tail calls on some targets.
2514         (scan_insn): Revert 2014-12-22 change.  Set frame_read
2515         also before reload for tail calls if
2516         HARD_FRAME_POINTER_IS_ARG_POINTER.  Call add_wild_read
2517         instead of add_non_frame_wild_read for non-const/memset
2518         tail calls after reload.
2520 2015-01-08  Jason Merrill  <jason@redhat.com>
2522         * ubsan.c (do_ubsan_in_current_function): New.
2523         (pass_ubsan::gate): Use it.
2524         * ubsan.h: Declare it.
2525         * convert.c (convert_to_integer): Use it.
2527 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
2529         PR target/64338
2530         * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
2531         compare_code when it is unconditionally overwritten afterwards.
2532         Use ix86_reverse_condition instead of reverse_condition.  Don't
2533         change code if *reverse_condition* returned UNKNOWN and don't
2534         swap ct/cf and negate diff in that case.
2536 2015-01-08  Mike Stump  <mikestump@comcast.net>
2538         * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
2539         (pass_tsan_O0::gate): Likewise.
2540         * extend.texi (Function Attributes): Add no_sanitize_thread
2541         documentation.
2543 2015-01-08  Thomas Schwinge  <thomas@codesourcery.com>
2545         * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
2546         for registering builtins.
2547         * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
2548         add -fopenmp to the argv_obstack used when invoking
2549         compile_for_target.
2551         * config/i386/intelmic-mkoffload.c (compile_for_target): Always
2552         add "-m32" or "-m64" to argv_obstack.
2553         (generate_host_descr_file): Likewise, when invoking host_compiler.
2554         (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
2555         ld.
2557 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
2559         * config/sh/sh-mem.cc: Use constant as second operand when emitting
2560         tstsi_t insns.
2562 2015-01-08  Oleg Endo  <olegendo@gcc.gnu.org>
2564         PR target/55212
2565         * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
2566         constant load if constant operand fits into I08.
2568 2015-01-08  Jakub Jelinek  <jakub@redhat.com>
2570         PR sanitizer/64336
2571         * tree.c (build2_stat): Fix up initialization of TREE_READONLY
2572         and TREE_THIS_VOLATILE for MEM_REFs.
2573         (build5_stat): Fix up initialization of TREE_READONLY and
2574         TREE_THIS_VOLATILE for TARGET_MEM_REFs.
2576 2015-01-08  Kaz Kojima  <kkojima@gcc.gnu.org>
2578         PR target/64533
2579         * config/sh/sh.md (*addsi3_compact): Use u constraint instead
2580         of r for the second alternative of the destination operand.
2582 2015-01-07  Segher Boessenkool  <segher@kernel.crashing.org>
2584         PR target/36557
2585         * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
2587 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
2589         * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
2590         keywords.
2591         ([-fivar-visibility], [-fvisibility]): Likewise.
2593 2015-01-07  Sandra Loosemore  <sandra@codesourcery.com>
2595         * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
2596         the file where @code, @command, etc is more appropriate.
2598 2015-01-06  Sandra Loosemore  <sandra@codesourcery.com>
2600         * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
2601         of -mrecip= documentation.
2603 2015-01-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
2605         PR target/64505
2606         * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
2607         correct reload handler if -m32 -mpowerpc64 is used.
2609 2015-01-06  Tom de Vries  <tom@codesourcery.com>
2611         * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
2613 2015-01-08  Christian Bruel  <christian.bruel@st.com>
2615         PR target/64507
2616         * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
2618 2015-01-06  Thomas Preud'homme  <thomas.preudhomme@arm.com>
2620         PR tree-optimization/63259
2621         * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
2622         if optab exists for 16bit byteswap.
2624 2015-01-06  Jakub Jelinek  <jakub@redhat.com>
2626         * opts.c (common_handle_option): Add support for
2627         -fno-sanitize=all and -f{,no-}sanitize-recover=all.
2628         * doc/invoke.texi: Document -fno-sanitize=all,
2629         -f{,no-}sanitize-recover=all.  Document that
2630         -fsanitize=float-cast-overflow is not enabled
2631         by -fsanitize=undefined.  Fix up documentation
2632         of -f{,no-}sanitize-recover.
2634 2015-01-06  Eric Botcazou  <ebotcazou@adacore.com>
2636         * config.gcc: Add Visium support.
2637         * configure.ac: Likewise.
2638         * configure: Regenerate.
2639         * doc/extend.texi (interrupt attribute): Add Visium.
2640         * doc/invoke.texi: Document Visium options.
2641         * doc/install.texi: Document Visium target.
2642         * doc/md.texi: Document Visium constraints.
2643         * common/config/visium: New directory.
2644         * config/visium: Likewise.
2646 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
2648         * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
2649         for the "(and X (ior (not X) Y) -> (and X Y)" transform.
2651 2015-01-05  Segher Boessenkool  <segher@kernel.crashing.org>
2653         * combine.c (combine_validate_cost): Do not count the cost of a
2654         split I2 twice.  Do not display it twice in the dump, either.
2656 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
2658         Revert parts of r219199.
2659         * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
2660         <inttypes.h>.
2661         ([-Wtraditional]): Restore markup on <limits.h>.
2663 2015-01-05  Trevor Saunders  <tsaunders@mozilla.com>
2665         PR c++/31397
2666         * doc/invoke.texi: Document -Wsuggest-override.
2668 2015-01-05  Radovan Obradovic  <radovan.obradovic@imgtec.com>
2670         PR rtl-optimization/64287
2671         * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
2672         (process_options): Disable flag_ipa_ra if profiling.
2674 2015-01-05  Eric Botcazou  <ebotcazou@adacore.com>
2676         * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
2678 2015-01-05  Max Filippov  <jcmvbkbc@gmail.com>
2680         * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
2681         hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
2682         put under #if TARGET_LOOPS guard.
2684 2015-01-05  Uros Bizjak  <ubizjak@gmail.com>
2686         * config/i386/i386.c (output_387_binary_op): Use std::swap.
2688 2015-01-05  Oleg Endo  <olegendo@gcc.gnu.org>
2690         * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
2691         * rtl.h (refers_to_regno_p): Add overload.
2692         * cse.c: Use it.
2693         * bt-load.c: Likewise.
2694         * combine.c: Likewise.
2695         * df-scan.c: Likewise.
2696         * sched-deps.c: Likewise.
2697         * config/s390/s390.c: Likewise.
2698         * config/m32r/m32r.c: Likewise.
2699         * config/rs6000/spe.md: Likewise.
2700         * config/rs6000/rs6000.c: Likewise.
2701         * config/pa/pa.c: Likewise.
2702         * config/stormy16/stormy16.c: Likewise.
2703         * config/cris/cris.c: Likewise.
2704         * config/arc/arc.md: Likewise.
2705         * config/arc/arc.c: Likewise.
2706         * config/sh/sh.md: Likewise.
2707         * config/sh/sh.c: Likewise.
2708         * config/frv/frv.c: Likewise.
2710 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2712         PR sanitizer/64265
2713         * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
2714         call as cleanup of the whole body.
2715         * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
2716         * tsan.c (replace_func_exit): New function.
2717         (instrument_func_exit): Moved earlier.
2718         (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
2719         Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
2720         been found.
2721         (tsan_pass): Don't call instrument_func_exit.
2722         * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
2723         * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
2724         inlining.
2726         PR sanitizer/64344
2727         * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
2728         * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
2729         it to libubsan handler instead of EXPR.  Fold comparisons earlier,
2730         if the result is integer_zerop, return NULL_TREE.
2731         * convert.c (convert_to_integer): Pass expr as ARG.
2733         PR tree-optimization/64465
2734         * tree-inline.c (redirect_all_calls): During inlining
2735         clean up EH stmts and EH edges if redirect_call_stmt_to_callee
2736         changed the stmt to a non-throwing call.
2738 2015-01-05  Sandra Loosemore  <sandra@codesourcery.com>
2740         * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
2741         etc markup throughout the file.
2743 2015-01-05  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2745         Enable experimental TSAN support for Ada.
2746         * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
2748 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2750         PR tree-optimization/64494
2751         * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
2752         clear SSA_NAME_ANTI_RANGE_P flag.
2754 2015-01-05  Marek Polacek  <polacek@redhat.com>
2756         * doc/extend.texi (Arrays of Length Zero): Add missing comma.
2758 2015-01-05  Jakub Jelinek  <jakub@redhat.com>
2760         Update copyright years.
2762         * gcc.c (process_command): Update copyright notice dates.
2763         * gcov-dump.c: Ditto.
2764         * gcov.c: Ditto.
2765         * doc/cpp.texi: Bump @copying's copyright year.
2766         * doc/cppinternals.texi: Ditto.
2767         * doc/gcc.texi: Ditto.
2768         * doc/gccint.texi: Ditto.
2769         * doc/gcov.texi: Ditto.
2770         * doc/install.texi: Ditto.
2771         * doc/invoke.texi: Ditto.
2773         * auto-profile.c, auto-profile.h: Fix up Copyright line.
2775 2015-01-04  Sandra Loosemore  <sandra@codesourcery.com>
2777         * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
2778         verb tense, etc.
2779         ([-fvtable-verify], [-fvtv-debug]): Likewise.
2780         ([-Wabi]): Likewise.
2781         ([-fmessage-length]): Likewise.
2782         ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
2783         ([-Wno-discarded-qualifiers]): Likewise.
2784         ([-Wnodiscarded-array-qualifiers]): Likewise.
2785         ([-Wno-virtual-move-assign]): Likewise.
2786         ([-fsanitize=address], [-fsanitize=thread]): Likewise.
2787         ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
2788         ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
2789         ([-fsanitize-undefined-trap-on-error]): Likewise.
2790         ([-floop-interchange]): Likewise.
2791         ([-ftree-coalesce-inlined-vars]): Likewise.
2792         ([-fvect-cost-model]): Likewise.
2793         ([-flto]): Likewise.
2794         ([--param]): Likewise.
2795         (Spec Files): Likewise.
2796         ([-mstrict-align]): Likewise.
2797         ([-mfix-cortex-a53-835769]): Likewise.
2798         ([-march], [-mtune]): Likewise.
2799         ([-mpic-register]): Likewise.
2800         ([-munaligned-access]): Likewise.
2801         ([-msp8]): Likewise.
2802         (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
2803         (AVR Built-in Macros): Likewise.
2804         ([-mpreferred-stack-boundary]): Likewise.
2805         ([-mtune-crtl]): Likewise.
2806         ([-mashf]): Likewise.
2807         ([-mmcu=]): Likewise.
2808         ([-minrt]): Likewise.
2809         ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
2810         ([-mupper-regs]): Likewise.
2811         ([-matomic-model]): Likewise.
2812         ([-mdiv]): Likewise.
2813         ([-mzdcbranch]): Likewise.
2814         ([-mdisable-callt]): Likewise.
2815         ([-msoft-float]): Likewise.
2816         ([-m8byte-align]): Likewise.
2817         ([-fstack-reuse]): Likewise.
2819 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
2821         * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
2822         Fix markup, light copy-editing.
2823         ([-fauto-profile]): Rewrite to fix formatting and content
2824         problems.
2826 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
2828         * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
2829         Copy-edit description.
2830         ([-fisolate-erroneous-paths-attribute]): Likewise.
2831         * common.opt (fisolate-erroneous-paths-dereference):
2832         Copy-edit description.
2833         (fisolate-erroneous-paths-attribute): Likewise.
2835 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
2837         * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
2838         tidy grammar.
2840 2015-01-03  Sandra Loosemore  <sandra@codesourcery.com>
2842         * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
2843         ([-fvtv-debug]): Likewise.
2844         ([-Wc++-compat]): Likewise.
2845         ([-Wc++11-compat]): Likewise.
2846         ([-Wc++14-compat]): Likewise.
2847         ([-Wno-sized-deallocation]): Likewise.
2848         ([-femit-class-debug-always]): Likewise.
2849         ([-femit-struct-debug-detailed]): Likewise.
2850         ([-fno-keep-inline-dllexport]): Likewise.
2851         ([-fira-algorithm]): Likewise.
2852         ([-fira-region]): Likewise.
2853         ([-flra-remat]): Likewise.
2854         ([-fipa-ra]): Likewise.
2855         ([-fhoist-adjacent-loads]): Likewise.
2856         ([-fisolate-erroneous-paths-dereference]): Likewise.
2857         ([-fisolate-erroneous-paths-attribute]): Likewise.
2858         ([-ftree-switch-conversion]): Likewise.
2859         ([-ftree-tail-merge]): Likewise.
2860         ([-ftree-loop-if-convert]): Likewise.
2861         ([-ftree-loop-if-convert-stores]): Likewise.
2862         ([-ftree-loop-distribution]): Likewise.
2863         ([-ftree-loop-distribute-patterns]): Likewise.
2864         ([-flto-compression-level]): Likewise.
2865         ([-flto-report]): Likewise.
2866         ([-flto-report-wpa]): Likewise.
2867         ([-fuse-linker-plugin]): Likewise.
2868         ([-mfix-cortex-a53-835769]): Likewise.
2869         ([-mno-fix-cortex-a53-835769]): Likewise.
2870         ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
2871         explicit listing; add a note to the discussion indicating they
2872         exist.  Reorder table to group similar options.  Add missing
2873         @opindex entries.  Add @need commands throughout the table to
2874         allow it to be split across multiple pages.
2875         ([-m8bit-idiv]): Fix @opindex.
2876         ([-mavx256-split-unaligned-load]): Likewise.
2877         ([-mavx256-split-unaligned-store]): Likewise.
2878         ([-mstack-protector-guard]): Likewise.
2879         ([-mcpu=]): Likewise.
2880         ([-mcpu]): Likewise.
2881         ([-mpointer-size=]): Likewise.
2883 2015-01-03  John David Anglin  <danglin@gcc.gnu.org>
2885         * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
2886         instead of `m' constraint.  Likewise for unnamed movb comparison
2887         patterns using reg_before_reload_operand predicate.
2888         * config/pa/predicates.md (reg_before_reload_operand): Tighten
2889         predicate to reject register index and LO_SUM DLT memory forms
2890         after reload.
2892 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
2894         * doc/invoke.texi (Option Summary): Fix spelling of
2895         -fdevirtualize-at-ltrans.
2896         ([-fdevirtualize]): Fix markup.
2897         ([-fdevirtualize-speculatively]): Fix typo.
2898         ([-fdevirtualize-at-ltrans]): Likewise.  Make description less
2899         implementor-speaky.
2900         * common.opt (fdevirtualize-at-ltrans): Likewise.
2901         * ipa-devirt.c: Fix typos in comments throughout the file.
2902         (ipa_devirt): Fix typos in format strings for dump output.
2904 2015-01-02  Sandra Loosemore  <sandra@codesourcery.com>
2906         * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
2907         discussion of defaults, light copy-editing.
2909 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2911         * tsan.c (instrument_expr): corrected previous checkin.
2913 2015-01-02  Bernd Edlinger  <bernd.edlinger@hotmail.de>
2915         Instrument bit field and unaligned accesses for TSAN.
2916         * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
2917         (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
2918         * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
2919         Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
2920         unaligned memory regions.
2922 2015-01-01  Anthony Green  <green@moxielogic.com>
2924         * config/moxie/predicates.md (moxie_general_movsrc_operand):
2925         Restrict move source register offsets to 16 bits.
2927 Copyright (C) 2015 Free Software Foundation, Inc.
2929 Copying and distribution of this file, with or without modification,
2930 are permitted in any medium without royalty provided the copyright
2931 notice and this notice are preserved.