1 2015-01-20 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
3 * config/tilegx/mul-tables.c: Move symtab.h include after coretypes.h include.
4 * config/tilepro/mul-tables.c: Add includes hashtab.h, hash-set.h, vec.h,
5 machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
6 double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
7 insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
9 2015-01-20 Igor Zamyatin <igor.zamyatin@intel.com>
13 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
15 PR rtl-optimization/64081
16 * loop-iv.c (def_pred_latch_p): New function.
17 (latch_dominating_def): Allow specific cases with non-single
19 (iv_get_reaching_def): Likewise.
20 (check_complex_exit_p): New function.
21 (check_simple_exit): Use check_complex_exit_p to allow certain cases
22 with exits not executing on any iteration.
24 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
27 * i386.c (ix86_option_override_internal): Use ix86_tune_cost
30 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
33 * i386.c (gate): Check flag_expensive_optimizations and
35 (ix86_option_override_internal): Drop optimize_size condition
36 on MASK_ACCUMULATE_OUTGOING_ARGS, MASK_VZEROUPPER,
37 MASK_AVX256_SPLIT_UNALIGNED_LOAD, MASK_AVX256_SPLIT_UNALIGNED_STORE,
39 (ix86_avx256_split_vector_move_misalign,
40 ix86_avx256_split_vector_move_misalign): Check optimize_insn_for_speed.
41 * sse.md (all uses of TARGET_PREFER_AVX128): Add
42 optimize_insn_for_speed_p check.
44 2015-01-19 Matthew Fortune <matthew.fortune@imgtec.com>
46 * config/mips/mips.h (FP_ASM_SPEC): New define.
47 (ASM_SPEC): Remove floating-point options and use FP_ASM_SPEC
50 2015-01-19 Oleg Endo <olegendo@gcc.gnu.org>
53 * config/sh/sh-protos.h (sh_find_set_of_reg): Make sure not to return
54 nullptr for insn when reaching the first insn.
55 * config/sh/sh.c (sh_unspec_insn_p): Rewrite using subrtx_iterator.
56 (sh_insn_operands_modified_between_p): Add nullptr check.
57 (sh_find_extending_set_of_reg): Fix log message. Don't accept
58 sign extending mem load if the insn contains any UNSPEC or
61 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
63 * params.def (inline-unit-growth): Drop to 15%.
64 * invoke.texi (inline-unit-growth): Document change.
66 2015-01-19 Martin Liska <mliska@suse.cz>
69 * ipa-icf-gimple.c (func_checker::compare_operand): Call proper
70 function for second argument of OBJ_TYPE_REF.
72 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
75 * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
76 whether function is an alias.
78 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
80 * ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
83 2015-01-19 Vladimir Makarov <vmakarov@redhat.com>
85 PR rtl-optimization/64671
86 * lra-remat.c (operand_to_remat): Don't consider jump and call
89 2015-01-19 David Edelsohn <dje.gcc@gmail.com>
91 * config/rs6000/default64.h: Include rs6000-cpus.def.
92 (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
93 (TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
94 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
96 * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
98 * config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
99 pseudo-op to specify assembler dialect.
101 2015-01-19 Martin Liska <mliska@suse.cz>
104 * ipa-icf.c (sem_item_optimizer::filter_removed_items):
105 Handle safe potentially removed nodes during filtering.
107 2015-01-19 Martin Liska <mliska@suse.cz>
109 * doc/extend.texi (no_icf): Add new attribute description.
110 * ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
111 where the pass attempts to merge a function with no_icf attribute.
113 2015-01-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
116 * doc/md.texi (ARM Options): Document register constraints.
118 2015-01-19 Jiong Wang <jiong.wang@arm.com>
119 Andrew Pinski <apinski@cavium.com>
122 * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
123 (ashl<mode>3): Don't expand if operands[2] is not constant.
125 2015-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
128 * config/aarch64/aarch64-simd.md (aarch64_simd_bsl<mode>_internal):
129 Match xor-and-xor RTL pattern.
131 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
133 PR rtl-optimization/64081
134 * loop-iv.c (def_pred_latch_p): New function.
135 (latch_dominating_def): Allow specific cases with non-single
137 (iv_get_reaching_def): Likewise.
138 (check_complex_exit_p): New function.
139 (check_simple_exit): Use check_complex_exit_p to allow certain cases
140 with exits not executing on any iteration.
142 2015-01-19 Jakub Jelinek <jakub@redhat.com>
144 * common.opt (fgraphite): Fix a typo.
146 2015-01-19 Felix Yang <felix.yang@huawei.com>
148 * config/aarch64/aarch64-simd.md (aarch64_<maxmin_uns>p<mode>): New
150 * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp,
151 uminp, smax_nanp, smin_nanp): New builtins.
152 * config/aarch64/arm_neon.h (vpmax_s8, vpmax_s16, vpmax_s32,
153 vpmax_u8, vpmax_u16, vpmax_u32, vpmaxq_s8, vpmaxq_s16, vpmaxq_s32,
154 vpmaxq_u8, vpmaxq_u16, vpmaxq_u32, vpmax_f32, vpmaxq_f32, vpmaxq_f64,
155 vpmaxqd_f64, vpmaxs_f32, vpmaxnm_f32, vpmaxnmq_f32, vpmaxnmq_f64,
156 vpmaxnmqd_f64, vpmaxnms_f32, vpmin_s8, vpmin_s16, vpmin_s32, vpmin_u8,
157 vpmin_u16, vpmin_u32, vpminq_s8, vpminq_s16, vpminq_s32, vpminq_u8,
158 vpminq_u16, vpminq_u32, vpmin_f32, vpminq_f32, vpminq_f64, vpminqd_f64,
159 vpmins_f32, vpminnm_f32, vpminnmq_f32, vpminnmq_f64, vpminnmqd_f64,
160 vpminnms_f32): Rewrite using builtin functions.
162 2015-01-19 Thomas Schwinge <thomas@codesourcery.com>
165 * omp-low.c (offload_symbol_decl): Remove variable.
166 (get_offload_symbol_decl): Remove function.
167 (expand_omp_target): For BUILT_IN_GOMP_TARGET,
168 BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
169 instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
170 BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
171 BUILT_IN_GOACC_UPDATE don't pass it at all.
173 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
175 * tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
178 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
180 * ipa-chkp.c (chkp_produce_thunks): Add early param
181 to split thunks production into two passes. Keep
182 'always_inline' function bodies after the first pass.
183 (pass_data_ipa_chkp_early_produce_thunks): New.
184 (pass_ipa_chkp_early_produce_thunks): New.
185 (pass_ipa_chkp_produce_thunks::execute): Adjust to new
186 chkp_produce_thunks signature.
187 (make_pass_ipa_chkp_early_produce_thunks): New.
188 * passes.def (pass_ipa_chkp_early_produce_thunks): New.
189 (pass_ipa_chkp_produce_thunks): Move after local optimizations.
190 * tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
192 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
194 * cgraph.c (cgraph_node::dump): Dump profile flags.
196 2015-01-18 Oleg Endo <olegendo@gcc.gnu.org>
199 * config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
200 reg appear first in the parallel.
202 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
204 * ipa-reference.c (set_reference_optimization_summary,
205 ipa_reference_get_not_written_global): Do nothing if ipa-reference is
207 (ignore_module_statics): New static var.
208 (propagate_bits): If ipa-reference is disabled, do not look into local
210 (analyze_function): Disable analysis when ipa_reference is disabled.
211 (generate_summary): Do not dump when reference is disabled;
212 collect vars accessed from functions with ipa-reference disabled.
213 (get_read_write_all_from_node): When ipa-reference is disabled, use the
215 (gate): Enable for LTO.
216 (ignore_edge_p): New function.
217 (propagate): Skip functions w/o ipa-reference analysis.
218 * optc-save-gen.awk: Handle optimize_debug correctly.
219 * opth-gen.awk: Likewise.
220 * common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
221 fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
222 fira-share-save-slots, fira-share-spill-slots,
223 fmodulo-sched-allow-regmoves, fpartial-inlining,
224 sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
225 ftracer, ftree-parallelize-loops, fassociative-math,
226 freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
228 (fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
229 ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
231 * ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
234 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
237 * ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
239 * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
241 2015-01-18 Sandra Loosemore <sandra@codesourcery.com>
243 * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
244 Remove duplicate option listings.
246 2015-01-18 Felix Yang <felix.yang@huawei.com>
248 * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
249 (autofdo_source_profile::get_callsite_total_count,
250 function_instance::get_function_instance_by_decl,
251 string_table::get_index, string_table::get_index_by_decl,
252 afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
253 Fix comment typos. Reformatting and minor code rearrangement.
255 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
257 * config/rs6000/rs6000.md (probe_stack): Delete.
258 (probe_stack_address): New.
260 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
262 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
263 to test for 32-bit ABIs, not !TARGET_POWERPC64.
265 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
267 * config/rs6000/rs6000.c (rs6000_parallel_return): New function.
268 (rs6000_function_value): Use it. Handle SCmode and TCmode as well,
269 for TARGET_32BIT && TARGET_POWERPC64. Fix another BITS_PER_WORD
271 (rs6000_libcall_value): Use the new function.
273 2015-01-17 Sandra Loosemore <sandra@codesourcery.com>
275 * doc/invoke.texi ([-ftracer]): Remove duplicate option listing.
277 2015-01-17 Eric Botcazou <ebotcazou@adacore.com>
279 * reorg.c (fill_simple_delay_slots): If TARGET_FLAGS_REGNUM is valid,
280 implement a more precise life analysis for it during backward scan.
282 2015-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
284 * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.
286 2015-01-17 Bernd Schmidt <bernds@codesourcery.com>
288 PR rtl-optimization/52773
289 * calls.c (emit_library_call_value): When pushing arguments use
290 stack_pointer_rtx rather than virtual_outgoing_args_rtx in
291 CALL_INSN_FUNCTION_USAGE. Only emit one of use of the magic
292 stack pointer reference into CALL_INSN_FUNCTION_USAGE.
294 2015-01-17 Jeff Law <law@redhat.com>
296 PR rtl-optimization/32790
297 * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
298 not ZERO_EXTEND in SET_DESTs.
300 2015-01-17 Alan Modra <amodra@gmail.com>
302 * cprop.c (do_local_cprop): Revert last change.
304 2015-01-16 DJ Delorie <dj@redhat.com>
305 Nick Clifton <nickc@redhat.com>
307 * config/rl78/rl78-real.md (addqi3_real): Allow volatiles.
308 (addhi3_real): Likewise. Fix [HL+0] syntax.
309 (subqi3_real): Likewise.
310 (subhi3_real): Likewise.
311 (cbranchqi4_real): Likewise. Allow saddr,#imm.
312 (cbranchhi4_real): Likewise.
313 (cbranchhi4_real_inverted): Likewise.
314 (cbranchsi4_real_lt): Likewise.
315 (cbranchsi4_real_ge): Likewise.
316 (cbranchsi4_real_ge): Likewise.
317 * config/rl78/rl78-virt.md (add<mode>3_virt): Likewise.
318 (sub<mode>3_virt): Likewise.
319 (cbranchqi4_virt): Likewise.
320 (cbranchhi4_virt): Likewise.
321 * config/rl78/rl78.c (rl78_print_operand_1): 'p' modifier means
322 always use '[reg+imm]' even when imm is zero.
323 * config/rl78/predicates.md (rl78_volatile_memory_operand): New.
324 (rl78_general_operand): New.
325 (rl78_nonimmediate_operand): New.
326 (rl78_nonfar_operand): Use them.
327 (rl78_nonfar_nonimm_operand): Likewise.
328 (rl78_stack_based_mem): Fix.
329 * config/rl78/constraints.md (Ibqi): New.
334 * config/rl78/rl78-expand.md (andqi3): Accept volatiles.
337 * config/rl78/rl78-protos.h (rl78_sfr_p): New.
339 * config/rl78/constrains (Qs8): New constraint.
340 * config/rl78/rl78.c (rl78_flags_already_set): New function.
341 * config/rl78/rl78-protos.h (rl78_flags_already_set): New prototype.
342 * config/rl78/rl78-real.md (update_Z): New attribute.
343 Update patterns to set it.
344 (cbranchqi4_real): Call rl78_flags_already_set() to determine if a
345 shorter compare and branch sequence can be used.
346 (cbranchhi4_real): Likewise.
347 (cbranchhi4_real_inverted): Likewise.
349 * config/rl78/predicates.md (uword_operand): Allow symbol_refs.
350 * config/rl78/rl78-c.c (rl78_register_pragmas): Register __near
352 * config/rl78/rl78.c (rl78_get_name_encoding): New.
353 (rl78_option_override): Allow -mes0 only if C.
354 (characterize_address): Support subregs of symbol_refs.
355 (rl78_addr_space_address_mode): Move. Add __near.
356 (rl78_far_p): Likewise.
357 (rl78_addr_space_pointer_mode): Likewise.
358 (rl78_as_legitimate_address): Likewise.
359 (rl78_addr_space_subset_p): Likewise.
360 (rl78_addr_space_convert): Likewise.
361 (rl78_print_operand_1): Support 16-bit addressing of 32-bit
363 (transcode_memory_rtx): Don't copy ES if -mes0. Allow symbol[BC]
365 (rl78_alloc_physical_registers_op1): Change logic to prefer
366 symbol[BC] addressing.
367 (frodata_section): New.
368 (rl78_asm_init_sections): Initialize it.
369 (rl78_select_section): Put __far readonly symbols in .frodata.
370 (rl78_make_type_far): New.
371 (rl78_insert_attributes): Force all readonly symbols to be __far when -mes0.
372 (rl78_asm_out_integer): New.
373 * config/rl78/rl78.h (ADDR_SPACE_NEAR): New.
374 * config/rl78/rl78.opt (-mes0): New.
376 * config/rl78/rl78.h (ASM_OUTPUT_LABELREF): New.
377 (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
378 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
379 * config/rl78/rl78-protos.h (rl78_output_labelref): New.
381 (rl78_output_aligned_common): New.
382 * config/rl78/rl78.c (rl78_output_symbol_ref): Strip encodings.
383 (rl78_handle_saddr_attribute): New.
384 (rl78_handle_naked_attribute): New.
385 (rl78_attribute_table): Add saddr.
386 (rl78_print_operand_1): Don't print '!' on saddr operands.
387 (rl78_print_operand_1): Strip encodings.
389 (rl78_strip_name_encoding): New.
390 (rl78_attrlist_to_encoding): New.
391 (rl78_encode_section_info): New.
392 (rl78_asm_init_sections): New.
393 (rl78_select_section): New.
394 (rl78_output_labelref): New.
395 (rl78_output_aligned_common): New.
396 (rl78_asm_out_integer): New.
397 (rl78_asm_ctor_dtor): New.
398 (rl78_asm_constructor): New.
399 (rl78_asm_destructor): New.
401 * config/rl78/rl78-real.md (movqi_es): Rename to movqi_to_es.
402 * config/rl78/rl78.c (rl78_expand_epilogue): Update.
403 (transcode_memory_rtx): Update.
404 (rl78_expand_epilogue): Use A_REG instead of 0.
406 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
408 * config/arm/arm-protos.h (struct tune_params): New field
409 sched_autopref_queue_depth.
410 * config/arm/arm.c (sched-int.h): Include header.
411 (arm_first_cycle_multipass_dfa_lookahead_guard,)
412 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define hook.
413 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,)
414 (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,)
415 (arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,)
416 (arm_cortex_a53_tune, arm_cortex_a57_tune, arm_xgene1_tune,)
417 (arm_cortex_a5_tune, arm_cortex_a9_tune, arm_cortex_a12_tune,)
418 (arm_v7m_tune, arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune):
419 Specify sched_autopref_queue_depth value. Enabled for A15 and A57.
420 * config/arm/t-arm (arm.o): Update.
421 * haifa-sched.c (update_insn_after_change): Update.
422 (rank_for_schedule): Use auto-prefetcher model, if requested.
423 (autopref_multipass_init): New static function.
424 (autopref_rank_for_schedule): New rank_for_schedule heuristic.
425 (autopref_multipass_dfa_lookahead_guard_started_dump_p): New static
426 variable for debug dumps.
427 (autopref_multipass_dfa_lookahead_guard_1): New static helper function.
428 (autopref_multipass_dfa_lookahead_guard): New global function that
429 implements TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD hook.
430 (init_h_i_d): Update.
431 * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): New tuning knob.
432 * sched-int.h (enum autopref_multipass_data_status): New const enum.
433 (autopref_multipass_data_): Structure for auto-prefetcher data.
434 (autopref_multipass_data_def, autopref_multipass_data_t): New typedefs.
435 (struct _haifa_insn_data:autopref_multipass_data): New field.
436 (INSN_AUTOPREF_MULTIPASS_DATA): New access macro.
437 (autopref_multipass_dfa_lookahead_guard): Declare.
439 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
441 * rtlanal.c (get_base_term): Handle SCRATCH.
443 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
445 * config/aarch64/aarch64.c
446 (aarch64_sched_first_cycle_multipass_dfa_lookahead): Implement hook.
447 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
449 (arm_first_cycle_multipass_dfa_lookahead): Implement hook.
450 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
452 2015-01-17 Alan Modra <amodra@gmail.com>
454 * cprop.c (do_local_cprop): Disallow replacement of fixed
457 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
460 * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
463 2015-01-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
465 * sanitizer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
466 * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.
468 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
470 * config/arm/arm.md: Move comment about splitting Thumb1 patterns to...
471 * config/arm/thumb1.md: ... Here.
473 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
475 * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
476 TImode for TARGET_32BIT.
478 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
480 * config/rs6000/rs6000.c (TARGET_LIBGCC_CMP_RETURN_MODE,
481 TARGET_LIBGCC_SHIFT_COUNT_MODE, TARGET_UNWIND_WORD_MODE): Implement
483 (rs6000_abi_word_mode): New function.
485 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
487 * config/rs6000/rs6000.c (rs6000_va_start): Use MIN_UNITS_PER_WORD
488 instead of UNITS_PER_WORD to describe the size of stack slots.
490 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
492 * config/rs6000/rs6000.c (TARGET_PROMOTE_FUNCTION_MODE): Implement
493 as rs6000_promote_function_mode. Move comment to there.
494 (rs6000_promote_function_mode): New function.
496 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
498 * config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
499 -mpowerpc64 is active.
501 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
504 * tree-cfg.c (pass_data_fixup_cfg): Update SSA for
507 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
509 * config/arm/cortex-a57.md: Remove duplicate of file accidentally
510 introduced in revision 219724.
512 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
513 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
516 * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
517 destination is not a GP reg.
518 (*movdi_aarch64): Likewise.
520 2015-01-16 David Edelsohn <dje.gcc@gmail.com>
523 * config/rs6000/default64.h: Revert ISA change.
525 2015-01-16 Richard Biener <rguenther@suse.de>
528 * tree-ssa-uninit.c: Include tree-cfg.h.
529 (MAX_SWITCH_CASES): New define.
530 (convert_control_dep_chain_into_preds): Handle switch statements.
531 (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
532 (normalize_one_pred_1): Do not split bit-manipulations.
535 2015-01-16 Richard Biener <rguenther@suse.de>
537 PR tree-optimization/64568
538 * tree-ssa-forwprop.c (pass_forwprop::execute): Guard
539 complex load rewriting for TARGET_MEM_REFs.
541 2015-01-16 Uros Bizjak <ubizjak@gmail.com>
543 * builtins.c (expand_builtin_acc_on_device): Check target for NULL.
545 2015-01-16 Matthew Wahab <matthew.wahab@arm.com>
548 * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
550 * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
551 (aarch64_lra_p): Remove.
553 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
556 * ipa-chkp.h (chkp_instrumentable_p): New.
557 * ipa-chkp.c: Include tree-inline.h.
558 (chkp_instrumentable_p): New.
559 (chkp_maybe_create_clone): Use chkp_instrumentable_p.
560 Fix processing of not instrumentable functions.
561 (chkp_versioning): Use chkp_instrumentable_p. Warn about
562 not instrumentable functions.
563 * tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
564 chkp_instrumentable_p.
565 * tree-inline.h (copy_forbidden): New.
566 * tree-inline.c (copy_forbidden): Not static anymore.
568 2015-01-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
570 * optc-save-gen.awk (cl_target_option_print_diff): Mark indent,
573 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
575 * lra-constraints.c (curr_insn_transform): Change a reload pseudo of
576 type OP_OUT to OP_INOUT.
578 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
580 * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
581 (high x) y) to y if x and y have the same base.
583 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
585 * config/arm/cortex-a57.md: New.
586 * config/aarch64/aarch64.md: Include it.
587 * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.
588 * config/aarch64/aarch64-tune.md: Regenerate.
590 2015-01-16 Zhenqiang Chen <zhenqiang.chen@arm.com>
593 * ccmp.c (expand_ccmp_next): New function.
594 (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
595 and compare insn sequence.
596 * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
597 aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
598 (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
599 * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
600 (*ccmp_ior): Changed to ccmp_ior<mode>.
601 (cmp<mode>): New pattern.
602 * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
604 * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.
606 2015-01-16 Ilya Tocar <ilya.tocar@intel.com>
608 * config/i386/avx2intrin.h (_mm256_bslli_epi128,
609 _mm256_bsrli_epi128): New.
610 * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.
612 2015-01-15 Jiong Wang <jiong.wang@arm.com>
614 * expmed.c (store_bit_field_using_insv): Improve warning message.
615 Use %wu instead of HOST_WIDE_INT_PRINT_UNSIGNED.
617 2015-01-15 Jiong Wang <jiong.wang@arm.com>
619 PR rtl-optimization/64011
620 * expmed.c (store_bit_field_using_insv): Warn and truncate bitsize when
621 there is partial overflow.
623 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
625 * config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
627 (nds32_expand_epilogue_v3pop): Likewise.
628 * config/nds32/nds32.md (sibcall): Define this for sibling call
630 (sibcall_register): Likewise.
631 (sibcall_immediate): Likewise.
632 (sibcall_value): Likewise.
633 (sibcall_value_register): Likewise.
634 (sibcall_value_immediate): Likewise.
635 (sibcall_epilogue): Likewise.
636 (epilogue): Pass false to indicate this is not a sibcall epilogue.
637 * config/nds32/nds32.c (nds32_expand_epilogue): Consider sibcall case.
638 (nds32_expand_epilogue_v3pop): Likewise.
640 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
642 * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
643 * config/nds32/nds32.md (unspec_volatile_func_return): Remove.
644 (return_internal): New.
645 (return): Define this named pattern.
646 (simple_return): Define this named pattern.
647 * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal
648 pattern instead of unspec_volatile_func_return.
649 (nds32_expand_epilogue_v3pop): Likewise.
650 (nds32_can_use_return_insn): New function.
652 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
654 * config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
655 * config/nds32/nds32.md (pop25return): New.
656 * config/nds32/nds32.c (nds32_expand_epilogue_v3pop): Emit
659 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
661 * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
662 -mforbid-fp-as-gp, and -mex9 options.
664 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
666 * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
667 remove -mgp-direct option.
669 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
671 * doc/invoke.texi (--param early-inlining-insns): Update default value.
672 * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
674 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
676 * ipa-inline.c (inline_small_functions): Work around hints
679 2015-01-15 Sandra Loosemore <sandra@codesourcery.com>
682 * doc/invoke.texi (Option Summary): Document new Nios II
684 (Nios II Options): Likewise.
685 * config/nios2/nios2.opt: Add -mgpopt= option support.
686 Modify existing -mgpopt and -mno-gpopt options to be aliases.
687 * config/nios2/nios2-opts.h (enum nios2_gpopt_type): New.
688 * config/nios2/nios2.c (nios2_option_override): Adjust
690 (nios2_in_small_data_p): Return true for explicit small data
691 sections even with -G0.
692 (nios2_symbol_ref_in_small_data_p): Adjust to handle new -mgpopt=
695 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
698 * ipa-inline-transform.c (can_remove_node_now_p): Fix handling
700 (inline_call): Fix removal of aliases.
702 2015-01-15 Jakub Jelinek <jakub@redhat.com>
704 * flag-types.h (enum sanitize_code): Add SANITIZE_VPTR,
705 include SANITIZE_VPTR in SANITIZE_UNDEFINED.
706 * opts.c (common_handle_option): Add -fsanitize=vptr.
707 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS,
708 BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS_ABORT): New.
709 * ubsan.h (enum ubsan_null_ckind): Add UBSAN_DOWNCAST_POINTER,
710 UBSAN_DOWNCAST_REFERENCE, UBSAN_UPCAST and UBSAN_CAST_TO_VBASE.
711 (ubsan_expand_vptr_ifn): New prototype.
712 * internal-fn.c (expand_ANNOTATE, expand_GOMP_SIMD_LANE,
713 expand_GOMP_SIMD_VF, expand_GOMP_SIMD_LAST_LANE, expand_UBSAN_NULL,
714 expand_UBSAN_BOUNDS, expand_UBSAN_OBJECT_SIZE, expand_ASAN_CHECK,
715 expand_LOOP_VECTORIZED): Make argument nameless, remove
717 (expand_UBSAN_VPTR): New function.
718 * internal-fn.def (UBSAN_NULL, ASAN_CHECK): Use R instead of W
720 (UBSAN_VPTR): New internal function.
721 * sanopt.c (tree_map_traits): Renamed to ...
722 (sanopt_tree_map_traits): ... this.
723 (sanopt_tree_triplet, sanopt_tree_triplet_map_traits): New classes.
724 (sanopt_ctx): Adjust asan_check_map type for tree_map_traits
725 to sanopt_tree_map_traits renaming. Add vptr_check_map field.
726 (maybe_optimize_ubsan_vptr_ifn): New function.
727 (sanopt_optimize_walker): Handle IFN_UBSAN_VPTR.
728 (pass_sanopt::execute): Likewise. Call sanopt_optimize even for
730 * tree-ssa-alias.c (call_may_clobber_ref_p_1): Handle certain
731 internal calls like pure functions for aliasing, even when they
732 have other side-effects that prevent making them ECF_PURE.
733 * ubsan.c (ubsan_vptr_type_cache_decl): New variable.
734 (ubsan_expand_vptr_ifn): New function.
736 2015-01-15 Vladimir Makarov <vmakarov@redhat.com>
738 PR rtl-optimization/64110
739 * stmt.c (parse_output_constraint): Process '^' and '$'.
740 (parse_input_constraint): Ditto.
741 * lra-constraints.c (process_alt_operands): Process the new
743 * ira-costs.c (record_reg_classes): Process the new constraint
745 * genoutput.c (indep_constraints): Add '^' and '$'.
746 * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
747 * doc/md.texi: Add description of the new constraints.
749 2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
750 Bernd Schmidt <bernds@codesourcery.com>
751 Cesar Philippidis <cesar@codesourcery.com>
752 James Norris <jnorris@codesourcery.com>
753 Tom de Vries <tom@codesourcery.com>
754 Ilmir Usmanov <i.usmanov@samsung.com>
755 Dmitry Bocharnikov <dmitry.b@samsung.com>
756 Evgeny Gavrin <e.gavrin@samsung.com>
757 Jakub Jelinek <jakub@redhat.com>
759 * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
760 (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
761 (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
763 * builtins.c: Include "gomp-constants.h".
764 (expand_builtin_acc_on_device): New function.
765 (expand_builtin, is_inexpensive_builtin): Handle
766 BUILT_IN_ACC_ON_DEVICE.
767 * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
769 * cgraph.c (cgraph_node::create): Consider flag_openacc next to
771 * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
772 <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
773 i386/intelmic-offload.h.
774 * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
775 to libgomp and its dependencies.
776 * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
777 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
778 * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
779 * config/ia64/hpux.h (LIB_SPEC): Likewise.
780 * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
781 * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
782 * doc/generic.texi: Update for OpenACC changes.
783 * doc/gimple.texi: Likewise.
784 * doc/invoke.texi: Likewise.
785 * doc/sourcebuild.texi: Likewise.
786 * gimple-pretty-print.c (dump_gimple_omp_for): Handle
787 GF_OMP_FOR_KIND_OACC_LOOP.
788 (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
789 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
790 GF_OMP_TARGET_KIND_OACC_UPDATE,
791 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
793 * gimple.c: Update comments for OpenACC changes.
794 * gimple.def: Likewise.
795 * gimple.h: Likewise.
796 (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
797 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
798 GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
799 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
800 (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
802 (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
803 * gimplify.c: Include "gomp-constants.h".
804 Update comments for OpenACC changes.
805 (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
806 OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
807 OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
808 (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
809 OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
810 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
811 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
812 OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
813 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
815 (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
816 GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
817 OMP_CLAUSE_SET_MAP_KIND.
818 (gimplify_oacc_cache): New function.
819 (gimplify_omp_for): Handle OACC_LOOP.
820 (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
822 (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
823 OACC_EXIT_DATA, OACC_UPDATE.
824 (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
825 OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
826 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
827 (gimplify_body): Consider flag_openacc next to flag_openmp.
828 * lto-streamer-out.c: Include "gomp-constants.h".
829 * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
830 (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
831 (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
832 (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
833 (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
834 (BUILT_IN_ACC_ON_DEVICE): New builtins.
835 * omp-low.c: Include "gomp-constants.h".
836 Update comments for OpenACC changes.
837 (struct omp_context): Add reduction_map, gwv_below, gwv_this
839 (extract_omp_for_data, use_pointer_for_field, install_var_field)
840 (new_omp_context, delete_omp_context, scan_sharing_clauses)
841 (create_omp_child_function, scan_omp_for, scan_omp_target)
842 (check_omp_nesting_restrictions, lower_reduction_clauses)
843 (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
844 Update for OpenACC changes.
845 (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
846 OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
847 OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
848 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
849 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
850 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ. Use GOMP_MAP_* instead of
852 (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
853 Handle GF_OMP_FOR_KIND_OACC_LOOP.
854 (expand_omp_target, lower_omp_target): Handle
855 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
856 GF_OMP_TARGET_KIND_OACC_UPDATE,
857 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
858 GF_OMP_TARGET_KIND_OACC_DATA.
859 (pass_expand_omp::execute, execute_lower_omp)
860 (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
862 (offload_symbol_decl): New variable.
863 (oacc_get_reduction_array_id, oacc_max_threads)
864 (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
865 (maybe_lookup_oacc_reduction, enclosing_target_ctx)
866 (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
867 (oacc_gimple_assign, oacc_initialize_reduction_data)
868 (oacc_finalize_reduction_data, oacc_process_reduction_data): New
870 (is_targetreg_ctx): Remove function.
871 * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
872 OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
873 OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
874 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
875 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
876 OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
877 * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
878 * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
879 (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
880 (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
881 (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
882 (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
883 * tree-core.h: Update comments for OpenACC changes.
884 (enum omp_clause_map_kind): Remove.
885 (struct tree_omp_clause): Change type of map_kind member from enum
886 omp_clause_map_kind to unsigned char.
887 * tree-inline.c: Update comments for OpenACC changes.
888 * tree-nested.c: Likewise. Include "gomp-constants.h".
889 (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
890 (convert_tramp_reference_stmt, convert_gimple_call): Update for
891 OpenACC changes. Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
892 OMP_CLAUSE_SET_MAP_KIND.
893 * tree-pretty-print.c: Include "gomp-constants.h".
894 (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
895 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
896 OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
897 OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
898 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
899 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT. Use GOMP_MAP_*
900 instead of OMP_CLAUSE_MAP_*.
901 (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
902 OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
903 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
904 * tree-streamer-in.c: Include "gomp-constants.h".
905 (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
906 OMP_CLAUSE_MAP_*. Use OMP_CLAUSE_SET_MAP_KIND.
907 * tree-streamer-out.c: Include "gomp-constants.h".
908 (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
910 * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
911 (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
912 (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
913 * tree.c (omp_clause_num_ops): Update accordingly.
914 * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
916 (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
917 (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
918 (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
919 (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
920 (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
921 (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
922 * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
923 (OMP_CLAUSE_SET_MAP_KIND): New macro.
924 * varpool.c (varpool_node::get_create): Consider flag_openacc next
926 * config/i386/intelmic-offload.h: New file.
927 * config/nvptx/offload.h: Likewise.
929 2015-01-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
931 * explow.h: Remove duplicate contents.
932 * dojump.h: Likewise.
934 2015-01-15 Richard Earnshaw <rearnsha@arm.com>
936 * arm.c (arm_xgene_tune): Add default initializer for instruction
939 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
943 * ipa.c (symbol_table::remove_unreachable_nodes):
944 Do not put abstract origins into boundary.
946 2015-01-15 Evgeny Stupachenko <evstupac@gmail.com>
948 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
949 * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
951 2015-01-15 Steve Ellcey <sellcey@mips.com>
953 * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
954 cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
955 builtins.def, and chkp-builtins.def.
957 2015-01-15 David Edelsohn <dje.gcc@gmail.com>
959 * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
962 2015-01-15 Richard Biener <rguenther@suse.de>
964 PR tree-optimization/61743
965 * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
966 information on PHIs for some simple cases.
968 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
970 * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
972 * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
973 * config/arm/arm-cores.def (xgene1): New entry.
974 * config/arm/arm-tables.opt: Regenerate.
975 * config/arm/arm-tune.md: Regenerate.
976 * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
978 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
980 * tree-if-conv.c: Include hash-map.h.
981 (aggressive_if_conv): New variable.
982 (fold_build_cond_expr): Add simplification of non-zero condition.
983 (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
984 destination block is not always executed.
985 (if_convertible_phi_p): Fix commentary, allow phi nodes have more
986 than two predecessors if AGGRESSIVE_IF_CONV is true.
987 (if_convertible_stmt_p): Fix commentary.
988 (all_preds_critical_p): New function.
989 (has_pred_critical_p): New function.
990 (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
991 BB can have more than two predecessors and all incoming edges can be
993 (predicate_bbs): Skip predication for loop exit block, use build2_loc
994 to compute predicate for true edge.
995 (find_phi_replacement_condition): Delete this function.
996 (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
997 Allow interchange PHI arguments if EXTENDED is false.
998 Change check that block containing reduction statement candidate
999 is predecessor of phi-block since phi may have more than two arguments.
1000 (phi_args_hash_traits): New helper structure.
1001 (struct phi_args_hash_traits): New type.
1002 (phi_args_hash_traits::hash): New function.
1003 (phi_args_hash_traits::equal_keys): New function.
1004 (gen_phi_arg_condition): New function.
1005 (predicate_scalar_phi): Add handling of phi nodes with more than two
1006 arguments, delete COND and TRUE_BB arguments, insert body of
1007 find_phi_replacement_condition to predicate ordinary phi nodes.
1008 (predicate_all_scalar_phis): Skip blocks with the only predecessor,
1009 delete call of find_phi_replacement_condition and invoke
1010 predicate_scalar_phi with two arguments.
1011 (insert_gimplified_predicates): Add assert that non-predicated block
1012 don't have statements to insert.
1013 (ifcvt_split_critical_edges): New function.
1014 (ifcvt_split_def_stmt): Likewise.
1015 (ifcvt_walk_pattern_tree): Likewise.
1016 (stmt_is_root_of_bool_pattern): Likewise.
1017 (ifcvt_repair_bool_pattern): Likewise.
1018 (ifcvt_local_dce): Likewise.
1019 (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
1020 is copy of inner or outer loop force_vectorize field, invoke
1021 ifcvt_split_critical_edges, ifcvt_local_dce and
1022 ifcvt_repair_bool_pattern for aggressive if-conversion.
1024 2015-01-15 Philipp Tomsich <ptomsich@theobroma-systems.com>
1026 * config/aarch64/aarch64.md: Include xgene1.md.
1027 * config/aarch64/xgene1.md: New file.
1029 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1031 * config/aarch64/aarch64-cores.def (xgene1): Update/add the
1032 xgene1 (APM XGene-1) core definition.
1033 * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
1034 * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
1035 * doc/invoke.texi: Document -mcpu=xgene1.
1037 2015-10-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
1039 * dojump.h: New header file.
1040 * explow.h: Likewise.
1041 * expr.h: Remove includes.
1042 Move expmed.c prototypes to expmed.h.
1043 Move dojump.c prototypes to dojump.h.
1044 Move alias.c prototypes to alias.h.
1045 Move explow.c prototypes to explow.h.
1046 Move calls.c prototypes to calls.h.
1047 Move emit-rtl.c prototypes to emit-rtl.h.
1048 Move varasm.c prototypes to varasm.h.
1049 Move stmt.c prototypes to stmt.h.
1050 (saved_pending_stack_adjust): Move to dojump.h.
1051 (adjust_address): Move to explow.h.
1052 (adjust_address_nv): Move to emit-rtl.h.
1053 (adjust_bitfield_address): Likewise.
1054 (adjust_bitfield_address_size): Likewise.
1055 (adjust_bitfield_address_nv): Likewise.
1056 (adjust_automodify_address_nv): Likewise.
1057 * explow.c (expr_size): Move to expr.c.
1058 (int_expr_size): Likewise.
1059 (tree_expr_size): Likewise.
1060 Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1061 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
1062 * genemit.c (main): Generate includes statistics.h, real.h, fixed-value.h,
1063 insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
1064 * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h, function.h,
1065 statistics.h, real.h, fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
1067 * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
1068 fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
1069 * genemit.c (open_base_files): Generate includes flags.h, statistics.h, real.h,
1070 fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h,
1072 * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h, hash-set.h, vec.h,
1073 machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
1074 double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
1075 insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
1076 * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
1077 double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
1078 function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
1079 insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
1080 tm.h tree.h varasm.h vec.h wide-int.h.
1081 * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1082 explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
1083 hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
1084 real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
1085 * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1086 explow.h expmed.h fixed-value.h flags.h inchash.h insn-config.h
1087 real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
1088 * loop-iv.c: Likewise.
1089 * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1090 explow.h expmed.h fixed-value.h flags.h inchash.h real.h
1091 statistics.h stmt.h tree.h varasm.h wide-int.h.
1092 * lra-constraints.c: Likewise.
1093 * lra-eliminations.c: Likewise.
1094 * lra-lives.c: Likewise.
1095 * lra-remat.c: Likewise.
1096 * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1097 explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
1098 statistics.h stmt.h tree.h varasm.h wide-int.h.
1099 * hw-doloop.c: Likewise.
1100 * ira-color.c: Likewise.
1101 * ira-emit.c: Likewise.
1102 * loop-doloop.c: Likewise.
1103 * loop-invariant.c: Likewise.
1104 * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1105 explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
1106 statistics.h stmt.h tree.h varasm.h wide-int.h.
1107 * caller-save.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1108 explow.h expmed.h fixed-value.h inchash.h real.h statistics.h
1109 stmt.h tree.h varasm.h wide-int.h.
1110 * combine-stack-adj.c: Likewise.
1113 * ifcvt.c: Likewise.
1114 * ira-costs.c: Likewise.
1116 * lra-coalesce.c: Likewise.
1117 * lra-spills.c: Likewise.
1118 * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1119 explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
1120 stmt.h varasm.h wide-int.h.
1121 * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1122 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
1124 * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
1125 double-int.h explow.h expmed.h fixed-value.h flags.h real.h
1126 statistics.h stmt.h varasm.h wide-int.h.
1127 * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
1128 expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
1129 varasm.h wide-int.h.
1130 * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
1131 expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1132 * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
1133 emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
1134 statistics.h stmt.h.
1135 * config/tilepro/tilepro.c: Likewise.
1136 * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
1137 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
1138 * config/pdp11/pdp11.c: Likewise.
1139 * config/xtensa/xtensa.c: Likewise.
1140 * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
1141 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
1143 * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1144 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1145 insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
1146 * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1147 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1148 insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
1149 * rtl-chkp.c: Likewise.
1150 * tree-chkp-opt.c: Likewise.
1151 * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h explow.h
1152 expmed.h fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1153 insn-config.h real.h statistics.h stmt.h varasm.h.
1154 * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1155 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
1156 statistics.h stmt.h.
1157 * tree-vect-data-refs.c: Likewise.
1158 * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
1159 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1160 rtl.h statistics.h stmt.h varasm.h.
1161 * internal-fn.c: Likewise.
1162 * ipa-icf-gimple.c: Likewise.
1163 * lto-section-out.c: Likewise.
1164 * tree-data-ref.c: Likewise.
1165 * tree-nested.c: Likewise.
1166 * tree-outof-ssa.c: Likewise.
1167 * tree-predcom.c: Likewise.
1168 * tree-pretty-print.c: Likewise.
1169 * tree-scalar-evolution.c: Likewise.
1170 * tree-ssa-strlen.c: Likewise.
1171 * tree-vect-loop.c: Likewise.
1172 * tree-vect-patterns.c: Likewise.
1173 * tree-vect-slp.c: Likewise.
1174 * tree-vect-stmts.c: Likewise.
1176 * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1177 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
1179 * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
1180 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1181 statistics.h stmt.h varasm.h.
1182 * loop-unroll.c: Likewise.
1183 * ubsan.c: Likewise.
1184 * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
1185 expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
1187 * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1188 fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
1189 * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
1190 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
1191 statistics.h stmt.h.
1192 * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
1193 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
1194 statistics.h stmt.h varasm.h.
1195 * gimple-match-head.c: Likewise.
1196 * lto-cgraph.c: Likewise.
1197 * lto-section-in.c: Likewise.
1198 * lto-streamer-in.c: Likewise.
1199 * lto-streamer-out.c: Likewise.
1200 * tree-affine.c: Likewise.
1201 * tree-cfg.c: Likewise.
1202 * tree-cfgcleanup.c: Likewise.
1203 * tree-if-conv.c: Likewise.
1204 * tree-into-ssa.c: Likewise.
1205 * tree-ssa-alias.c: Likewise.
1206 * tree-ssa-copyrename.c: Likewise.
1207 * tree-ssa-dse.c: Likewise.
1208 * tree-ssa-forwprop.c: Likewise.
1209 * tree-ssa-live.c: Likewise.
1210 * tree-ssa-math-opts.c: Likewise.
1211 * tree-ssa-pre.c: Likewise.
1212 * tree-ssa-sccvn.c: Likewise.
1213 * tree-tailcall.c: Likewise.
1214 * tree-vect-generic.c: Likewise.
1215 * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1216 fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
1217 * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1218 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
1219 * varasm.c: Likewise.
1220 * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1221 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
1223 * init-regs.c: Likewise.
1225 * omp-low.c: Likewise.
1226 * stack-ptr-mod.c: Likewise.
1227 * tree-ssa-reassoc.c: Likewise.
1228 * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1229 fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
1231 * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1232 fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
1233 * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1234 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
1235 * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1236 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
1237 * tree-ssa-phiopt.c: Likewise.
1238 * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1239 fixed-value.h hashtab.h real.h statistics.h stmt.h.
1240 * config/fr30/fr30.c: Likewise.
1241 * config/frv/frv.c: Likewise.
1243 * final.c: Likewise.
1244 * optabs.c: Likewise.
1245 * passes.c: Likewise.
1246 * simplify-rtx.c: Likewise.
1248 * toplev.c: Likewise.
1249 * var-tracking.c: Likewise.
1250 * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1251 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1252 * lower-subreg.c: Likewise.
1253 * postreload-gcse.c: Likewise.
1255 * reginfo.c: Likewise.
1256 * store-motion.c: Likewise.
1257 * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1258 fixed-value.h hashtab.h real.h stmt.h varasm.h.
1259 * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1260 fixed-value.h hashtab.h statistics.h stmt.h.
1261 * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1262 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
1263 * except.c: Likewise.
1264 * explow.c: Likewise.
1265 * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1266 fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
1268 * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1269 fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
1270 * tree-ssa-structalias.c: Likewise.
1271 * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1272 fixed-value.h insn-config.h real.h statistics.h.
1273 * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1274 fixed-value.h insn-config.h real.h statistics.h stmt.h.
1275 * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1276 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
1277 * cfgbuild.c: Likewise.
1278 * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1279 fixed-value.h real.h rtl.h statistics.h stmt.h.
1280 * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1281 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1282 * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1283 fixed-value.h real.h statistics.h stmt.h.
1284 * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1285 fixed-value.h real.h statistics.h stmt.h varasm.h.
1286 * cprop.c: Likewise.
1287 * modulo-sched.c: Likewise.
1288 * postreload.c: Likewise.
1289 * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
1290 flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
1291 statistics.h stmt.h varasm.h.
1292 * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
1293 explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1294 rtl.h statistics.h stmt.h varasm.h.
1295 * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
1296 fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
1298 * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
1299 function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
1301 * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
1302 fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
1304 * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
1305 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1306 * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1307 function.h real.h statistics.h stmt.h varasm.h.
1308 * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1309 insn-config.h real.h statistics.h stmt.h.
1310 * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1311 statistics.h stmt.h.
1312 * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
1313 fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
1314 statistics.h stmt.h varasm.h.
1315 * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1316 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
1317 * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1318 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
1319 * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
1320 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
1321 statistics.h stmt.h varasm.h.
1322 * ipa-polymorphic-call.c: Likewise.
1323 * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h expmed.h
1324 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
1326 * config/c6x/c6x.c: Likewise.
1327 * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h explow.h
1328 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1329 statistics.h stmt.h varasm.h.
1330 * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1331 hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h varasm.h.
1332 * ipa-split.c: Likewise.
1333 * tree-eh.c: Likewise.
1334 * tree-ssa-dce.c: Likewise.
1335 * tree-ssa-loop-niter.c: Likewise.
1336 * tree-vrp.c: Likewise.
1337 * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
1338 expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
1340 * config/nds32/nds32-fp-as-gp.c: Likewise.
1341 * config/nds32/nds32-intrinsic.c: Likewise.
1342 * config/nds32/nds32-isr.c: Likewise.
1343 * config/nds32/nds32-md-auxiliary.c: Likewise.
1344 * config/nds32/nds32-memory-manipulation.c: Likewise.
1345 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
1346 * config/nds32/nds32-predicates.c: Likewise.
1347 * config/nds32/nds32.c: Likewise.
1348 * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
1349 fixed-value.h hashtab.h real.h statistics.h.
1350 * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
1351 fixed-value.h hashtab.h real.h statistics.h stmt.h.
1352 * config/arm/arm.c: Likewise.
1353 * config/avr/avr.c: Likewise.
1354 * config/bfin/bfin.c: Likewise.
1355 * config/h8300/h8300.c: Likewise.
1356 * config/i386/i386.c: Likewise.
1357 * config/ia64/ia64.c: Likewise.
1358 * config/iq2000/iq2000.c: Likewise.
1359 * config/m32c/m32c.c: Likewise.
1360 * config/m32r/m32r.c: Likewise.
1361 * config/m68k/m68k.c: Likewise.
1362 * config/mcore/mcore.c: Likewise.
1363 * config/mep/mep.c: Likewise.
1364 * config/mips/mips.c: Likewise.
1365 * config/mn10300/mn10300.c: Likewise.
1366 * config/moxie/moxie.c: Likewise.
1367 * config/pa/pa.c: Likewise.
1368 * config/rl78/rl78.c: Likewise.
1369 * config/rx/rx.c: Likewise.
1370 * config/s390/s390.c: Likewise.
1371 * config/sh/sh.c: Likewise.
1372 * config/sparc/sparc.c: Likewise.
1373 * config/spu/spu.c: Likewise.
1374 * config/stormy16/stormy16.c: Likewise.
1375 * config/v850/v850.c: Likewise.
1376 * config/vax/vax.c: Likewise.
1377 * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
1378 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1379 * config/msp430/msp430.c: Likewise.
1380 * predict.c: Likewise.
1381 * value-prof.c: Likewise.
1382 * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
1383 expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
1384 * config/microblaze/microblaze.c: Likewise.
1385 * config/nios2/nios2.c: Likewise.
1386 * config/rs6000/rs6000.c: Likewise.
1387 * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1388 insn-config.h real.h rtl.h statistics.h stmt.h.
1389 * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1390 insn-config.h real.h statistics.h stmt.h.
1391 * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
1392 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
1393 * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
1394 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1395 * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1396 real.h statistics.h stmt.h.
1397 * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
1398 fixed-value.h statistics.h stmt.h.
1399 * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
1402 2015-01-15 Jakub Jelinek <jakub@redhat.com>
1404 * gengtype.c (create_user_defined_type): Workaround
1405 -Wmaybe-uninitialized false positives.
1406 * cse.c (fold_rtx): Likewise.
1407 * loop-invariant.c (gain_for_invariant): Likewise.
1409 2015-01-15 Eric Botcazou <ebotcazou@adacore.com>
1411 * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
1412 set the memory attributes in all cases but clear MEM_EXPR if need be.
1414 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
1416 PR tree-optimization/64434
1417 * cfgexpand.c (reorder_operands): New function.
1418 (expand_gimple_basic_block): Insert call of reorder_operands if
1421 2015-01-15 Matthew Fortune <matthew.fortune@imgtec.com>
1423 * config/mips/micromips.md (*swp): Remove explicit parallel.
1424 (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
1425 * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
1426 (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
1427 (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
1428 (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
1429 (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
1430 (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
1431 (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
1432 (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
1433 (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
1434 (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
1435 (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
1436 (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
1437 (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
1438 (mips_wrdsp): Likewise.
1439 * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
1441 (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
1442 (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
1443 (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
1444 (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
1445 (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
1446 (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
1447 * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
1448 (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
1449 (ssmaddsqdq4, ssmsubsqdq4): Likewise.
1451 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
1453 * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
1454 (mips_print_operand): Support 'y' to print exact log2 in decimal
1456 * config/mips/mips.h (ISA_HAS_LSA): New define.
1457 (ISA_HAS_DLSA): Likewise.
1458 * config/mips/mips.md (<GPR:d>lsa): New define_insn.
1459 * config/mips/predicates.md (const_immlsa_operand): New predicate.
1461 2015-01-15 Martin Liska <mliska@suse.cz>
1464 * optc-save-gen.awk: Add support for array types.
1466 2015-01-15 Richard Biener <rguenther@suse.de>
1469 * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
1470 for MEM_REF access functions with the same base can never partially
1473 2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com>
1475 * common.opt: New option -fstack-protector-explicit.
1476 * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
1477 (stack_protect_decl_phase): Handle stack_protect attribute for
1478 explicit stack protection requests.
1479 (expand_used_vars): Similarly.
1480 * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
1481 * doc/extend.texi: Add documentation for "stack_protect" attribute.
1482 * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
1484 2015-01-14 Oleg Endo <olegendo@gcc.gnu.org>
1487 * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
1489 (sh_extending_set_of_reg): New struct.
1490 (sh_find_extending_set_of_reg, sh_split_tst_subregs,
1491 sh_remove_reg_dead_or_unused_notes): New Declarations.
1492 * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
1493 sh_find_extending_set_of_reg, sh_split_tst_subregs,
1494 sh_extending_set_of_reg::use_as_extended_reg): New functions.
1495 * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
1496 convert to insn_and_split and use new function sh_split_tst_subregs.
1498 2015-01-14 Sandra Loosemore <sandra@codesourcery.com>
1500 * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
1502 (Optimization Options): Move -fuse-ld documentation to...
1503 (Link Options): ...here.
1505 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
1507 * config/mips/constraints.md (ZC): Add support for R6 LL/SC
1509 (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
1510 * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
1511 (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
1512 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
1513 instead of ZR for the memory operand of LL/SC.
1514 (compare_and_swap_12, sync_add<mode>): Likewise.
1515 (sync_<optab>_12, sync_old_<optab>_12): Likewise.
1516 (sync_new_<optab>_12, sync_nand_12): Likewise.
1517 (sync_old_nand_12, sync_new_nand_12): Likewise.
1518 (sync_sub<mode>, sync_old_add<mode>): Likewise.
1519 (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
1520 (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
1521 (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
1522 (sync_nand<mode>, sync_old_nand<mode>): Likewise.
1523 (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
1524 (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
1525 (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
1526 * doc/md.texi (ZC): Update description.
1528 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
1530 * builtins.c (expand_builtin_atomic_exchange): Remove error when
1531 memory model is CONSUME.
1532 (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
1533 expand_builtin_atomic_store): Change invalid memory model errors to
1535 (expand_builtin_atomic_clear): Change invalid model errors to warnings
1536 and issue warning for CONSUME.
1538 2015-01-14 Aldy Hernandez <aldyh@redhat.com>
1540 * lto-cgraph: Update function comments for
1541 lto_symtab_encoder_encode_*.
1543 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
1545 * Makefile.in (site.exp): Do not set ENABLE_LTO.
1547 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
1549 * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
1550 * lto-cgraph.c (select_what_to_stream): Remove argument, use
1551 lto_stream_offload_p instead.
1552 * lto-streamer.h (select_what_to_stream): Remove argument.
1553 * passes.c (ipa_write_summaries): Likewise.
1554 * tree-pass.h (ipa_write_summaries): Likewise.
1556 2015-01-14 Richard Biener <rguenther@suse.de>
1558 PR tree-optimization/59354
1559 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
1560 groups larger than the slp group size as having gaps.
1562 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
1565 * builtins.c (get_memmodel): Promote consume to acquire always.
1567 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
1570 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
1573 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
1576 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
1578 (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
1579 * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
1580 AVX512VBMI, as it implies AVX512BW.
1582 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
1585 * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
1586 (vec_unpacks_hi_v16sf): Ditto.
1588 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1590 * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
1593 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1595 * doc/invoke.texi (mapcs): Mention deprecation.
1596 (mapcs-frame): Likewise.
1598 2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1601 * config/arm/arm.c (callee_saved_reg_p): Define.
1602 (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
1603 register is callee saved instead of !call_used_regs[reg].
1604 (thumb1_compute_save_reg_mask): Likewise.
1606 2015-01-14 Hale Wang <hale.wang@arm.com>
1608 * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
1611 2015-01-14 Richard Biener <rguenther@suse.de>
1614 * tree-inline.c (insert_debug_decl_map): Check destination
1615 function MAY_HAVE_DEBUG_STMTS.
1616 (insert_init_debug_bind): Likewise.
1617 (insert_init_stmt): Remove redundant check.
1618 (remap_gimple_stmt): Drop debug stmts if the destination
1619 function has var-tracking assignments disabled.
1621 2015-01-14 Martin Liska <mliska@suse.cz>
1623 * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
1624 IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
1626 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1629 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
1630 (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
1632 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
1634 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
1635 level from an ARCH; do not inject the default.
1636 (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
1637 MIPS_ISA_LEVEL_SPEC.
1638 (MIPS_ISA_NAN2008_SPEC): Update comment.
1639 (BASE_DRIVER_SELF_SPECS): Likewise.
1640 * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
1641 MIPS_DEFAULT_ISA_LEVEL_SPEC.
1642 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
1643 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
1644 * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
1646 2015-01-14 Richard Biener <rguenther@suse.de>
1648 PR tree-optimization/64493
1649 PR tree-optimization/64495
1650 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
1651 assign the proper vectorized PHI to the inner loop exit PHIs.
1653 2015-01-14 Joey Ye <joey.ye@arm.com>
1655 * config/arm/arm.c (arm_compute_save_reg_mask):
1656 Do not save lr in case of tail call.
1657 * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
1659 2015-01-14 Martin Uecker <uecker@eecs.berkeley.edu>
1661 * tree-vrp.c (check_array_ref): Emit more warnings
1662 for warn_array_bounds >= 2.
1663 * common.opt: New option -Warray-bounds=.
1664 * doc/invoke.texi: Document -Warray-bounds=.
1666 2015-01-14 Chung-Ju Wu <jasonwucj@gmail.com>
1668 * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
1669 (mforbid-fp-as-gp): Remove.
1671 * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
1672 (nds32_symbol_load_store_p): Remove.
1673 (nds32_fp_as_gp_check_available): Clean up implementation.
1674 * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
1676 * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
1677 fp-as-gp and ex9 cases.
1679 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
1681 * tree-profile.c (init_ic_make_global_vars): Drop workaround
1682 for bintuils bug 14342.
1683 (init_ic_make_global_vars): Likewise.
1684 (gimple_init_edge_profiler): Likewise.
1685 (gimple_gen_ic_func_profiler): Likewise.
1687 2015-01-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
1689 * ipa-inline.c (inline_small_functions): Swap the operands in
1692 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
1695 * ipa-inline-analysis.c (node_growth_cache): Remove.
1696 (initialize_growth_caches): Do not initialize it.
1697 (free_growth_caches): Do not free it.
1698 (do_estimate_growth): Rename to ...
1699 (estimate_growth): ... this one; drop growth cache code.
1700 (growth_likely_positive): Always go the heuristics way.
1701 * ipa-inline.c (can_inline_edge_p): Walk through aliases.
1702 (reset_edge_caches): Do not reset node growth.
1703 (heap_edge_removal_hook): Do not maintain cache.
1704 (inline_small_functions): Likewise; strenghten sanity check.
1705 (ipa_inline): Do not maintain caches.
1706 * ipa-inline.h (node_growth_cache): Remove.
1707 (do_estimate_growth): Remove to ...
1708 (estimate_growth): this one; remove inline version.
1709 (reset_node_growth_cache): Remove.
1711 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
1714 * ipa-inline.c (inline_small_functions): Update callee keys after
1715 resolving speculation
1716 (inline_small_functions): Always check monotonicity of the queue.
1718 2015-01-13 Marek Polacek <polacek@redhat.com>
1721 * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
1723 2015-01-13 Jakub Jelinek <jakub@redhat.com>
1725 PR rtl-optimization/64286
1726 * ree.c (combine_reaching_defs): Move part of comment earlier,
1727 remove !SCALAR_INT_MODE_P check.
1728 (add_removable_extension): Don't add vector mode
1729 extensions if all uses of the source register aren't the same
1732 2015-01-13 Renlin Li <renlin.li@arm.com>
1734 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
1735 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
1737 2015-01-13 Martin Liska <mliska@suse.cz>
1739 * ipa-icf.c (sem_function::equals_private): Call new functions
1740 cl_target_option_print_diff and cl_optimization_print_diff.
1741 * optc-save-gen.awk (cl_target_option_print_diff): New function.
1742 (cl_optimization_print_diff): Likewise.
1743 * opth-gen.awk: Likewise.
1745 2015-01-13 Richard Sandiford <richard.sandiford@arm.com>
1747 * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
1748 (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
1749 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
1750 (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
1751 (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
1752 (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
1754 2015-01-13 Andrew Pinski <apinski@cavium.com>
1756 * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
1757 instead of src mode.
1759 2015-01-13 Richard Biener <rguenther@suse.de>
1762 * lto-streamer-out.c (tree_is_indexable): Guard for NULL
1765 2015-01-13 Andrew Pinski <apinski@cavium.com>
1767 * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
1769 (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
1771 2015-01-13 Jakub Jelinek <jakub@redhat.com>
1774 * cfgexpand.c (expand_computed_goto): Don't call
1775 convert_memory_address here.
1777 2015-01-13 Richard Biener <rguenther@suse.de>
1779 PR tree-optimization/64406
1780 * tree-loop-distibution.c (pass_loop_distribution::execute):
1781 Reset the SCEV hashtable if we distributed anything.
1783 2015-01-13 Richard Biener <rguenther@suse.de>
1785 PR tree-optimization/64404
1786 * tree-vect-stmts.c (vectorizable_load): Reject conflicting
1787 SLP types for CSEd loads.
1789 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
1791 PR tree-optimization/64436
1792 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
1793 merge of two symbolic numbers for a bitwise OR to ...
1794 (perform_symbolic_merge): This. Also fix computation of the range and
1795 end of the symbolic number corresponding to the result of a bitwise OR.
1797 2015-01-13 Richard Biener <rguenther@suse.de>
1799 PR tree-optimization/64568
1800 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
1801 release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
1803 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1805 * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
1806 TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
1808 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1810 * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
1811 target-specific symbol_ref flag.
1812 (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
1813 resides in rodata section.
1814 * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
1815 (nds32_encode_section_info): New function.
1817 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1819 * config/nds32/nds32.md (call): Use pseudo instruction bal which
1820 clobbers TA_REGNUM if large code model is specified.
1821 (call_register): Likewise.
1822 (call_immediate): Likewise.
1823 (call_value): Likewise.
1824 (call_value_register): Likewise.
1825 (call_value_immediate): Likewise.
1827 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1829 * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
1830 (TARGET_CMODEL_MEDIUM): New macro.
1831 (TARGET_CMODEL_LARGE): New macro.
1832 * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
1833 code model setting in assembly code.
1835 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1837 * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
1838 Remove MASK_GP_DIRECT flag.
1839 * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
1840 one of the multilib default options.
1841 * config/nds32/nds32.opt (mgp-direct): Remove.
1842 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
1843 -mgp-direct. We also remove unnecessary -mlittle-endian/-mbig-endian.
1845 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
1847 * config/nds32/nds32.opt (mcmodel): Add new option.
1848 * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
1849 to describe code model.
1851 2015-01-13 Oleg Endo <olegendo@gcc.gnu.org>
1854 * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
1856 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
1858 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
1859 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
1860 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
1861 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
1862 __builtin_sh_set_fpscr.
1864 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
1866 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
1867 after a funtion name just to indicate it is a function.
1868 ([-fsanitize-undefined-trap-on-error]): Likewise.
1869 ([-fdbg-cnt=]): Likewise.
1870 ([-mmemcpy]): Likewise.
1871 ([-mflush-func]): Likewise.
1872 ([-msynci]): Likewise.
1874 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
1876 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
1879 2015-01-12 Jakub Jelinek <jakub@redhat.com>
1881 PR tree-optimization/64563
1882 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
1883 instead of != VR_VARYING.
1886 * config/i386/i386.c (ix86_expand_prologue): Add
1887 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
1889 PR tree-optimization/64454
1890 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
1891 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
1892 for signed or [0, op1 - 1] for unsigned modulo.
1893 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
1894 even if op1 does not satisfy integer_pow2p.
1897 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
1899 2015-01-12 Jeff Law <law@redhat.com>
1902 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
1903 (trunchiqi2, truncsihi2): Similarly.
1905 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
1906 rather than calling F.
1908 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
1910 * tsan.c (instrument_expr): Use force_gimple_operand.
1911 Use may_be_nonaddressable_p instead of is_gimple_addressable.
1913 2015-01-12 Richard Biener <rguenther@suse.de>
1915 PR tree-optimization/64530
1916 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
1919 2015-01-12 Richard Biener <rguenther@suse.de>
1922 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
1925 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1927 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
1928 Cortex-A17 tuning parameters.
1929 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
1931 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1933 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
1934 * config/arm/arm.c (arm_macro_fusion_p): New function.
1935 (arm_macro_fusion_pair_p): Likewise.
1936 (TARGET_SCHED_MACRO_FUSION_P): Define.
1937 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
1938 (ARM_FUSE_NOTHING): Likewise.
1939 (ARM_FUSE_MOVW_MOVT): Likewise.
1940 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
1941 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
1942 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
1943 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
1944 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
1945 arm_cortex_a5_tune): Specify fuseable_ops value.
1947 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
1950 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
1951 test for PIE with copy reloc.
1952 * configure: Regenerated.
1954 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1956 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
1958 (arm_tls_descseq_addr): Likewise.
1959 (arm_gen_movmemqi): Likewise.
1960 (arm_expand_epilogue_apcs_frame): Likewise.
1961 (arm_expand_epilogue): Likewise.
1962 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
1965 2015-01-12 Martin Liska <mliska@suse.cz>
1968 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
1969 volatility for correct operands.
1971 2015-01-12 Martin Liska <mliska@suse.cz>
1973 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
1974 that a function is not leaf.
1975 (sem_function::compare_polymorphic_p): Likewise.
1977 2015-01-12 Martin Liska <mliska@suse.cz>
1979 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
1980 that a function is not leaf.
1981 (sem_function::compare_polymorphic_p): Likewise.
1983 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
1985 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
1986 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
1987 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
1988 fold-const.h, tree-check.h.
1990 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
1994 * ipa-inline.c (compute_uninlined_call_time,
1995 compute_inlined_call_time): Use counts for extra precision when
1997 (big_speedup_p): Fix formating.
1998 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
1999 (relative_time_benefit): Remove.
2000 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
2001 merge guessed and read profile paths.
2002 (inline_small_functions): Count only !optimize_size functions into
2003 initial size; be more lax about sanity check when profile is used;
2004 be sure to update inlined function profile when profile is read.
2006 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
2009 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
2010 cost when edge becomes direct.
2011 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
2012 is resolved or when introducing new speculation.
2014 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
2018 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
2019 '||' to fix typo issue.
2021 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
2022 accept and return NULL.
2024 2015-01-12 Martin Liska <mliska@suse.cz>
2026 * cgraph.c (cgraph_edge::remove_callee): Move function to header
2027 file for being inlined.
2028 (cgraph_set_edge_callee): Delete.
2029 (cgraph_edge::redirect_callee): Move function to header file
2031 (cgraph_edge::make_direct): Use new function.
2032 (cgraph_edge::dump_edge_flags): New function created from
2033 static dump_edge_flags function.
2034 (cgraph_node::dump): Use new function.
2035 (cgraph_edge::verify_count_and_frequency): New function created
2036 from verify_edge_count_and_frequency.
2037 (cgraph_edge::verify_corresponds_to_fndecl): New function created
2038 from verify_edge_corresponds_to_fndecl.
2039 (verify_edge_corresponds_to_fndecl): Delete.
2040 (cgraph_node::verify_node): Use new function.
2041 * cgraph.h (cgraph_edge::set_callee): New function.
2042 (cgraph_edge::dump_edge_flags): Likewise.
2043 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
2045 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
2047 * ipa-utils.c (estimate_function_body_sizes): Do not
2048 free node params when called late with early=true.
2050 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
2052 * doc/md.texi (Instruction Patterns): Rewrite text for
2054 (Example): Likewise.
2056 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
2058 * doc/invoke.texi (Option Summary): Break long lines.
2059 [(-fdiagnostics-color)]: Put long literal in @smallexample
2061 [(-fsanitize-recover)]: Likewise.
2062 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
2063 [(-ffast-math)]: Likewise.
2064 [(--param max-inline-insns-recursive)]: Likewise.
2065 [(--param max-inline-recursive-depth)]: Likewise.
2066 [(-mno-text-section-literals)]: Likewise.
2068 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
2070 * doc/install.texi: Update for libgomp being renamed from "GNU
2071 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
2073 * doc/sourcebuild.texi: Likewise.
2075 2015-01-10 Anthony Green <green@moxielogic.com>
2077 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
2078 mul.x availability for moxiebox configuration.
2080 2015-01-09 Anthony Green <green@moxielogic.com>
2082 * config/moxie/moxie.md: Tabify assembly output.
2084 2015-01-09 Anthony Green <green@moxielogic.com>
2086 * config/moxie/moxie.md (CC_REG): Correct register definition.
2088 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
2090 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
2091 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
2094 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2096 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
2098 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
2099 Jakub Jelinek <jakub@redhat.com>
2102 * lto-streamer.h (lto_stream_offload_p): New declaration.
2103 * lto-streamer.c (lto_stream_offload_p): New variable.
2104 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
2105 at the same time as section_name_prefix.
2106 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
2107 if lto_stream_offload_p.
2108 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
2109 stream TREE_TARGET_OPTION if lto_stream_offload_p.
2110 (write_ts_function_decl_tree_pointers): Don't
2111 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
2112 * tree-streamer-in.c (unpack_value_fields): Don't stream
2113 TREE_TARGET_OPTION in if ACCEL_COMPILER.
2114 (lto_input_ts_function_decl_tree_pointers): Don't stream
2115 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
2116 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
2117 instead of section_name_prefix string comparisons.
2119 2015-01-09 Jakub Jelinek <jakub@redhat.com>
2121 PR rtl-optimization/64536
2122 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
2125 2015-01-09 Michael Collison <michael.collison@linaro.org>
2127 PR tree-optimization/64322
2128 * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
2129 range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
2131 2015-01-09 Tom de Vries <tom@codesourcery.com>
2133 PR rtl-optimization/64539
2134 * regcprop.c (kill_clobbered_values): Factor out of ...
2135 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
2136 instead of note_stores with kill_clobbered_value.
2138 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2140 * ginclude/unwind-arm-common.h: Revert previous commit.
2142 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2144 * config.gcc (arm*-*-freebsd*): New configuration.
2145 * config/arm/freebsd.h: New file.
2146 * config.host: Add extra components for arm*-*-freebsd*.
2147 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
2148 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
2150 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2152 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
2154 * config/rs6000/t-rtems: Add e6500 multilibs.
2156 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2158 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
2161 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2163 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
2164 MULTILIB_EXCEPTIONS.
2166 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2168 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
2169 MULTILIB_EXCEPTIONS.
2171 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2173 * config/arm/t-rtems-eabi: Rename to...
2174 * config/arm/t-rtems: ...this.
2175 * config/arm/rtems-eabi.h: Rename to...
2176 * config/arm/rtems.h: ...this.
2177 * config.gcc (arm*-*-rtems*): Reflect changes above.
2179 2015-01-09 Richard Biener <rguenther@suse.de>
2181 PR tree-optimization/64410
2182 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
2184 (execute_update_addresses_taken): Deal with that.
2185 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
2186 loads/stores for complex variables.
2188 2015-01-09 Martin Liska <mliska@suse.cz>
2190 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
2192 (func_checker::compare_memory_operand): New function.
2193 (func_checker::compare_operand): Split case to newly
2195 (func_checker::compare_cst_or_decl): New function.
2196 (func_checker::compare_gimple_call): Identify
2198 (func_checker::compare_gimple_assign): Likewise.
2199 * ipa-icf-gimple.h: New function.
2201 2015-01-09 Martin Liska <mliska@suse.cz>
2204 * sreal.c (sreal::dump): Change unsigned format to signed for
2206 (sreal::to_double): Replace exp2 with scalbln.
2208 2015-01-09 Martin Liska <mliska@suse.cz>
2210 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
2211 * ipa-icf.c (sem_function::equals_private): Add support for target and
2212 (sem_item_optimizer::merge_classes): Remove redundant function
2213 optimization flags comparison.
2214 * tree.h (target_opts_for_fn): New function.
2216 2015-01-09 Tom de Vries <tom@codesourcery.com>
2218 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
2220 2015-01-09 Kito Cheng <kito@0xlab.org>
2222 PR rtl-optimization/64348
2223 * lra-constraints.c (split_reg): Fix caller-save store/restore
2224 instruction generation.
2226 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
2228 PR gcov-profile/61790
2229 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
2230 long long. Fallback to int64_t if host doesn't have long long and
2231 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
2233 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2235 PR tree-optimization/63989
2236 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
2238 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
2239 (get_stridx): If we don't have a record for certain SSA_NAME,
2240 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
2241 constant offset, call get_stridx_plus_constant.
2242 (get_stridx_plus_constant): New function.
2243 (zero_length_string): Don't use get_stridx here.
2247 * dse.c (struct insn_info): Mention frame_read set also
2248 before reload for tail calls on some targets.
2249 (scan_insn): Revert 2014-12-22 change. Set frame_read
2250 also before reload for tail calls if
2251 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
2252 instead of add_non_frame_wild_read for non-const/memset
2253 tail calls after reload.
2255 2015-01-08 Jason Merrill <jason@redhat.com>
2257 * ubsan.c (do_ubsan_in_current_function): New.
2258 (pass_ubsan::gate): Use it.
2259 * ubsan.h: Declare it.
2260 * convert.c (convert_to_integer): Use it.
2262 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2265 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
2266 compare_code when it is unconditionally overwritten afterwards.
2267 Use ix86_reverse_condition instead of reverse_condition. Don't
2268 change code if *reverse_condition* returned UNKNOWN and don't
2269 swap ct/cf and negate diff in that case.
2271 2015-01-08 Mike Stump <mikestump@comcast.net>
2273 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
2274 (pass_tsan_O0::gate): Likewise.
2275 * extend.texi (Function Attributes): Add no_sanitize_thread
2278 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
2280 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
2281 for registering builtins.
2282 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
2283 add -fopenmp to the argv_obstack used when invoking
2286 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
2287 add "-m32" or "-m64" to argv_obstack.
2288 (generate_host_descr_file): Likewise, when invoking host_compiler.
2289 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
2292 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
2294 * config/sh/sh-mem.cc: Use constant as second operand when emitting
2297 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
2300 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
2301 constant load if constant operand fits into I08.
2303 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2306 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
2307 and TREE_THIS_VOLATILE for MEM_REFs.
2308 (build5_stat): Fix up initialization of TREE_READONLY and
2309 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
2311 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
2314 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
2315 of r for the second alternative of the destination operand.
2317 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
2320 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
2322 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
2324 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
2326 ([-fivar-visibility], [-fvisibility]): Likewise.
2328 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
2330 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
2331 the file where @code, @command, etc is more appropriate.
2333 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
2335 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
2336 of -mrecip= documentation.
2338 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
2341 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
2342 correct reload handler if -m32 -mpowerpc64 is used.
2344 2015-01-06 Tom de Vries <tom@codesourcery.com>
2346 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
2348 2015-01-08 Christian Bruel <christian.bruel@st.com>
2351 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
2353 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2355 PR tree-optimization/63259
2356 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
2357 if optab exists for 16bit byteswap.
2359 2015-01-06 Jakub Jelinek <jakub@redhat.com>
2361 * opts.c (common_handle_option): Add support for
2362 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
2363 * doc/invoke.texi: Document -fno-sanitize=all,
2364 -f{,no-}sanitize-recover=all. Document that
2365 -fsanitize=float-cast-overflow is not enabled
2366 by -fsanitize=undefined. Fix up documentation
2367 of -f{,no-}sanitize-recover.
2369 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2371 * config.gcc: Add Visium support.
2372 * configure.ac: Likewise.
2373 * configure: Regenerate.
2374 * doc/extend.texi (interrupt attribute): Add Visium.
2375 * doc/invoke.texi: Document Visium options.
2376 * doc/install.texi: Document Visium target.
2377 * doc/md.texi: Document Visium constraints.
2378 * common/config/visium: New directory.
2379 * config/visium: Likewise.
2381 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
2383 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
2384 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
2386 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
2388 * combine.c (combine_validate_cost): Do not count the cost of a
2389 split I2 twice. Do not display it twice in the dump, either.
2391 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
2393 Revert parts of r219199.
2394 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
2396 ([-Wtraditional]): Restore markup on <limits.h>.
2398 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
2401 * doc/invoke.texi: Document -Wsuggest-override.
2403 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
2405 PR rtl-optimization/64287
2406 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
2407 (process_options): Disable flag_ipa_ra if profiling.
2409 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
2411 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
2413 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
2415 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
2416 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
2417 put under #if TARGET_LOOPS guard.
2419 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
2421 * config/i386/i386.c (output_387_binary_op): Use std::swap.
2423 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
2425 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
2426 * rtl.h (refers_to_regno_p): Add overload.
2428 * bt-load.c: Likewise.
2429 * combine.c: Likewise.
2430 * df-scan.c: Likewise.
2431 * sched-deps.c: Likewise.
2432 * config/s390/s390.c: Likewise.
2433 * config/m32r/m32r.c: Likewise.
2434 * config/rs6000/spe.md: Likewise.
2435 * config/rs6000/rs6000.c: Likewise.
2436 * config/pa/pa.c: Likewise.
2437 * config/stormy16/stormy16.c: Likewise.
2438 * config/cris/cris.c: Likewise.
2439 * config/arc/arc.md: Likewise.
2440 * config/arc/arc.c: Likewise.
2441 * config/sh/sh.md: Likewise.
2442 * config/sh/sh.c: Likewise.
2443 * config/frv/frv.c: Likewise.
2445 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2448 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
2449 call as cleanup of the whole body.
2450 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
2451 * tsan.c (replace_func_exit): New function.
2452 (instrument_func_exit): Moved earlier.
2453 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
2454 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
2456 (tsan_pass): Don't call instrument_func_exit.
2457 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
2458 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
2462 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
2463 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
2464 it to libubsan handler instead of EXPR. Fold comparisons earlier,
2465 if the result is integer_zerop, return NULL_TREE.
2466 * convert.c (convert_to_integer): Pass expr as ARG.
2468 PR tree-optimization/64465
2469 * tree-inline.c (redirect_all_calls): During inlining
2470 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
2471 changed the stmt to a non-throwing call.
2473 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
2475 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
2476 etc markup throughout the file.
2478 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
2480 Enable experimental TSAN support for Ada.
2481 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
2483 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2485 PR tree-optimization/64494
2486 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
2487 clear SSA_NAME_ANTI_RANGE_P flag.
2489 2015-01-05 Marek Polacek <polacek@redhat.com>
2491 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
2493 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2495 Update copyright years.
2497 * gcc.c (process_command): Update copyright notice dates.
2498 * gcov-dump.c: Ditto.
2500 * doc/cpp.texi: Bump @copying's copyright year.
2501 * doc/cppinternals.texi: Ditto.
2502 * doc/gcc.texi: Ditto.
2503 * doc/gccint.texi: Ditto.
2504 * doc/gcov.texi: Ditto.
2505 * doc/install.texi: Ditto.
2506 * doc/invoke.texi: Ditto.
2508 * auto-profile.c, auto-profile.h: Fix up Copyright line.
2510 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
2512 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
2514 ([-fvtable-verify], [-fvtv-debug]): Likewise.
2515 ([-Wabi]): Likewise.
2516 ([-fmessage-length]): Likewise.
2517 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
2518 ([-Wno-discarded-qualifiers]): Likewise.
2519 ([-Wnodiscarded-array-qualifiers]): Likewise.
2520 ([-Wno-virtual-move-assign]): Likewise.
2521 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
2522 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
2523 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
2524 ([-fsanitize-undefined-trap-on-error]): Likewise.
2525 ([-floop-interchange]): Likewise.
2526 ([-ftree-coalesce-inlined-vars]): Likewise.
2527 ([-fvect-cost-model]): Likewise.
2528 ([-flto]): Likewise.
2529 ([--param]): Likewise.
2530 (Spec Files): Likewise.
2531 ([-mstrict-align]): Likewise.
2532 ([-mfix-cortex-a53-835769]): Likewise.
2533 ([-march], [-mtune]): Likewise.
2534 ([-mpic-register]): Likewise.
2535 ([-munaligned-access]): Likewise.
2536 ([-msp8]): Likewise.
2537 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
2538 (AVR Built-in Macros): Likewise.
2539 ([-mpreferred-stack-boundary]): Likewise.
2540 ([-mtune-crtl]): Likewise.
2541 ([-mashf]): Likewise.
2542 ([-mmcu=]): Likewise.
2543 ([-minrt]): Likewise.
2544 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
2545 ([-mupper-regs]): Likewise.
2546 ([-matomic-model]): Likewise.
2547 ([-mdiv]): Likewise.
2548 ([-mzdcbranch]): Likewise.
2549 ([-mdisable-callt]): Likewise.
2550 ([-msoft-float]): Likewise.
2551 ([-m8byte-align]): Likewise.
2552 ([-fstack-reuse]): Likewise.
2554 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2556 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
2557 Fix markup, light copy-editing.
2558 ([-fauto-profile]): Rewrite to fix formatting and content
2561 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2563 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
2564 Copy-edit description.
2565 ([-fisolate-erroneous-paths-attribute]): Likewise.
2566 * common.opt (fisolate-erroneous-paths-dereference):
2567 Copy-edit description.
2568 (fisolate-erroneous-paths-attribute): Likewise.
2570 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2572 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
2575 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2577 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
2578 ([-fvtv-debug]): Likewise.
2579 ([-Wc++-compat]): Likewise.
2580 ([-Wc++11-compat]): Likewise.
2581 ([-Wc++14-compat]): Likewise.
2582 ([-Wno-sized-deallocation]): Likewise.
2583 ([-femit-class-debug-always]): Likewise.
2584 ([-femit-struct-debug-detailed]): Likewise.
2585 ([-fno-keep-inline-dllexport]): Likewise.
2586 ([-fira-algorithm]): Likewise.
2587 ([-fira-region]): Likewise.
2588 ([-flra-remat]): Likewise.
2589 ([-fipa-ra]): Likewise.
2590 ([-fhoist-adjacent-loads]): Likewise.
2591 ([-fisolate-erroneous-paths-dereference]): Likewise.
2592 ([-fisolate-erroneous-paths-attribute]): Likewise.
2593 ([-ftree-switch-conversion]): Likewise.
2594 ([-ftree-tail-merge]): Likewise.
2595 ([-ftree-loop-if-convert]): Likewise.
2596 ([-ftree-loop-if-convert-stores]): Likewise.
2597 ([-ftree-loop-distribution]): Likewise.
2598 ([-ftree-loop-distribute-patterns]): Likewise.
2599 ([-flto-compression-level]): Likewise.
2600 ([-flto-report]): Likewise.
2601 ([-flto-report-wpa]): Likewise.
2602 ([-fuse-linker-plugin]): Likewise.
2603 ([-mfix-cortex-a53-835769]): Likewise.
2604 ([-mno-fix-cortex-a53-835769]): Likewise.
2605 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
2606 explicit listing; add a note to the discussion indicating they
2607 exist. Reorder table to group similar options. Add missing
2608 @opindex entries. Add @need commands throughout the table to
2609 allow it to be split across multiple pages.
2610 ([-m8bit-idiv]): Fix @opindex.
2611 ([-mavx256-split-unaligned-load]): Likewise.
2612 ([-mavx256-split-unaligned-store]): Likewise.
2613 ([-mstack-protector-guard]): Likewise.
2614 ([-mcpu=]): Likewise.
2615 ([-mcpu]): Likewise.
2616 ([-mpointer-size=]): Likewise.
2618 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
2620 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
2621 instead of `m' constraint. Likewise for unnamed movb comparison
2622 patterns using reg_before_reload_operand predicate.
2623 * config/pa/predicates.md (reg_before_reload_operand): Tighten
2624 predicate to reject register index and LO_SUM DLT memory forms
2627 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
2629 * doc/invoke.texi (Option Summary): Fix spelling of
2630 -fdevirtualize-at-ltrans.
2631 ([-fdevirtualize]): Fix markup.
2632 ([-fdevirtualize-speculatively]): Fix typo.
2633 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
2635 * common.opt (fdevirtualize-at-ltrans): Likewise.
2636 * ipa-devirt.c: Fix typos in comments throughout the file.
2637 (ipa_devirt): Fix typos in format strings for dump output.
2639 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
2641 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
2642 discussion of defaults, light copy-editing.
2644 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
2646 * tsan.c (instrument_expr): corrected previous checkin.
2648 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
2650 Instrument bit field and unaligned accesses for TSAN.
2651 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
2652 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
2653 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
2654 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
2655 unaligned memory regions.
2657 2015-01-01 Anthony Green <green@moxielogic.com>
2659 * config/moxie/predicates.md (moxie_general_movsrc_operand):
2660 Restrict move source register offsets to 16 bits.
2662 Copyright (C) 2015 Free Software Foundation, Inc.
2664 Copying and distribution of this file, with or without modification,
2665 are permitted in any medium without royalty provided the copyright
2666 notice and this notice are preserved.