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