1 2015-01-23 Vladimir Makarov <vmakarov@redhat.com>
4 * lra-lives.c (make_hard_regno_born): Add parameter. Don't make
5 REAL_PIC_OFFSET_TABLE_REGNUM conflicting with pic offset pseudo.
6 (mark_regno_live, process_bb_lives): Pass new paramater value to
9 2015-01-23 Jakub Jelinek <jakub@redhat.com>
11 PR rtl-optimization/63637
12 PR rtl-optimization/60663
13 * cse.c (merge_equiv_classes): Set new_elt->cost to MAX_COST
14 if elt->cost is MAX_COST for ASM_OPERANDS.
15 (find_sets_in_insn): Fix up comment typo.
16 (cse_insn): Don't set src_volatile for all non-volatile
17 ASM_OPERANDS in PARALLELs, but just those with multiple outputs
18 or with "memory" clobber. Set elt->cost to MAX_COST
19 for ASM_OPERANDS in PARALLEL. Set src_elt->cost to MAX_COST
20 if new_src is ASM_OPERANDS and elt->cost is MAX_COST.
22 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
24 * config/i386/sse.md (sse2_loadld): Set attribute isa to sse2 for
27 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
29 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Move definition to
30 libgcc/config/i386/elf-lib.h.
32 2015-01-23 Jakub Jelinek <jakub@redhat.com>
35 * gcc.c (print_configuration): Don't print a blank line at the end
37 (run_attempt): ... but here unstead.
40 * omp-low.c (scan_sharing_clauses): Don't ignore
41 OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses
42 on target data/update constructs.
44 2015-01-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
47 * config/m32c/m32c.c (encode_pattern_1): Removed gcc_unreachable here.
48 (DEBUG_RELOAD): Removed define.
49 (m32c_limit_reload_class): Enable traces with if DEBUG0.
50 (m32c_function_arg): Added a type cast.
51 (m32c_legitimize_reload_address): Push A_REGS reload with PSImode.
52 * config/m32c/addsub.md (addsi3_1): Specify the mode of all arguments.
53 * config/m32c/bitops.md (andqi3_16): Likewise.
54 * config/m32c/mov.md (m32c_immd_dbl_mov): Likewise.
55 (push_a01_l): Likewise.
57 2015-01-23 David Malcolm <dmalcolm@redhat.com>
60 * main.c (main): Construct toplev instances with init_signals=true.
61 * toplev.c (general_init): Add param "init_signals", and use it to
62 conditionalize the calls to signal and host_hooks.extra_signals.
63 (toplev::toplev): Add param "init_signals".
64 (toplev::main): When invoking general_init, pass m_init_signals
65 to control whether signal-handlers are installed.
66 * toplev.h (toplev::toplev): Add param "init_signals".
67 (toplev::m_init_signals): New field.
69 2015-01-23 David Malcolm <dmalcolm@redhat.com>
72 * emit-rtl.c (init_emit_regs): Set pic_offset_table_rtx to
73 NULL_RTX before testing PIC_OFFSET_TABLE_REGNUM, since the
74 latter may be affected by the former (e.g. on i686).
76 2015-01-23 Martin Liska <mliska@suse.cz>
78 * tree.h (tree_vec_elt_check): Workaround -Wstrict-overflow
79 false positive during profiledbootstrap.
81 2015-01-23 Tom de Vries <tom@codesourcery.com>
84 * lto-opts.c (lto_write_options): Output non-explicit conservative
86 * lto-wrapper.c (merge_and_complain): Handle merging -fopenacc.
87 (append_compiler_options): Pass -fopenacc through.
89 2015-01-23 Tom de Vries <tom@codesourcery.com>
92 * lto-opts.c (lto_write_options): Output non-explicit conservative
94 * lto-wrapper.c (merge_and_complain): Handle merging -fopenmp.
95 (append_compiler_options): Pass -fopenmp through.
97 2015-01-23 Jakub Jelinek <jakub@redhat.com>
100 * dwarf2out.c (struct dw_loc_descr_node): Add chain_next
103 * diagnostic-core.h (internal_error_no_backtrace): New prototype.
104 * diagnostic.def (DK_ICE_NOBT): New kind.
105 * diagnostic.c (diagnostic_action_after_output): Handle DK_ICE_NOBT
106 like DK_ICE, but never print backtrace.
107 (diagnostic_report_diagnostic): Handle DK_ICE_NOBT like DK_ICE.
108 (internal_error_no_backtrace): New function.
109 * gcc.c (execute): Use internal_error_no_backtrace instead of
112 2015-01-22 Jeff Law <law@redhat.com>
115 * config/m68k/m68k.md (xorsi3_internal): Twiddle constraints to
116 improve code density for small immediate to memory case.
117 (insv): Better handle bitfield assignments when the field is
118 being set to all ones.
119 * config/m68k/predicates.md (reg_or_pow2_m1_operand): New
122 2015-01-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
123 Jakub Jelinek <jakub@redhat.com>
125 * gcc.c (LINK_SSP_SPEC): Handle -fstack-protector-explicit
126 for !TARGET_LIBC_PROVIDES_SSP version and
127 -fstack-protector-{all,strong,explicit} otherwise.
128 * config/freebsd.h (LINK_SSP_SPEC): Handle
129 -fstack-protector-{strong,explicit}.
131 2015-01-22 Jan Hubicka <hubicka@ucw.cz>
132 H.J. Lu <hongjiu.lu@intel.com>
135 * ipa-inline.c (inline_small_functions): Fix thinko in maintenance of
138 2015-01-22 Wei Mi <wmi@google.com>
140 PR rtl-optimization/64557
141 * dse.c (record_store): Call get_addr for mem_addr.
142 (check_mem_read_rtx): Likewise.
144 2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
146 * fold-const.c (const_binop): Add early return for non-tcc_binary.
148 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
150 * toplev.c (init_local_tick): Process the failure when read
151 fails for random_seed.
153 * ubsan.c (ubsan_type_descriptor): Use 'pretty_print' for
154 'pretty_name' to avoid memory overflow.
156 2015-01-22 Richard Biener <rguenther@suse.de>
159 * tree-ssa-coalesce.c (coalesce_partitions): Do not perform
160 abnormal coalescing on undefined SSA names.
162 2015-22-01 Uros Bizjak <ubizjak@gmail.com>
166 * config/i386/sse.md (vec_set<mode>_0): Use (Yi/r/C) constraints
168 (*vec_dup<mode>): Use (Yi/$r) constraints for alternative 1.
170 2015-01-22 Trevor Saunders <tsaunders@mozilla.com>
173 * fold-const.c (fold_checksum_tree): Don't include value of
174 expr->decl_with_vis.symtab_node in the checksum.
176 2015-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
178 * config/s390/s390.md (atomic code attribute): Fix typo "ior" ->
181 2015-01-22 Max Ostapenko <m.ostapenko@partner.samsung.com>
184 * gcc.c (insert_comments): New function.
185 (try_generate_repro): Call it.
186 (append_text): Removed.
188 2015-01-22 Richard Biener <rguenther@suse.de>
190 * ipa-inline.c (can_inline_edge_p): Disable inlining of edges
191 with IL incompatible options. Properly honor user optimize
194 2015-01-21 Segher Boessenkool <segher@kernel.crashing.org>
196 PR rtl-optimization/64682
197 * combine.c (distribute_notes): When moving a death note for
198 a register that is set in the new I2, make sure to put it
201 2015-01-21 David Edelsohn <dje.gcc@gmail.com>
203 * config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags
206 2015-01-21 Jakub Jelinek <jakub@redhat.com>
209 * simplify-rtx.c (simplify_relational_operation_1): Don't try to
210 optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
211 into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
214 * doc/invoke.texi (-fsanitize=vptr): Document.
216 PR rtl-optimization/62078
217 * dse.c: Include cfgcleanup.h.
218 (rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed
219 anything call purge_all_dead_edges and cleanup_cfg at the end
222 2015-01-21 Jan Hubicka <hubicka@ucw.cz>
224 * ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
227 2015-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
229 * gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
232 2015-01-21 David Sherwood <david.sherwood@arm.com>
233 Tejas Belagod <Tejas.Belagod@arm.com>
235 * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
236 * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed.
237 * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class):
240 2015-01-21 David Sherwood <david.sherwood@arm.com>
241 Tejas Belagod <Tejas.Belagod@arm.com>
243 * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_rglist)
244 (aarch64_reverse_mask): New decls.
245 * config/aarch64/iterators.md (UNSPEC_REV_REGLIST): New enum.
246 (insn_count): New mode_attr.
247 * config/aarch64/aarch64-simd.md (vec_store_lanesoi, vec_store_lanesci)
248 (vec_store_lanesxi, vec_load_lanesoi, vec_load_lanesci)
249 (vec_load_lanesxi): Made ABI compliant for Big Endian targets.
250 (aarch64_rev_reglist, aarch64_simd_ld2, aarch64_simd_ld3)
251 (aarch64_simd_ld4, aarch64_simd_st2, aarch64_simd_st3)
252 (aarch64_simd_st4): New patterns.
253 * config/aarch64/aarch64.c (aarch64_simd_attr_length_rglist)
254 (aarch64_reverse_mask): New functions.
256 2015-01-21 Richard Sandiford <richard.sandiford@arm.com>
258 * config/aarch64/aarch64-protos.h (aarch64_simd_disambiguate_copy):
260 * config/aarch64/aarch64.c (aarch64_classify_address): Allow extra
261 addressing modes for BE.
262 (aarch64_print_operand): Add 'R' specifier.
263 (aarch64_simd_disambiguate_copy): Delete.
264 (aarch64_simd_emit_reg_reg_move): New function.
265 * config/aarch64/aarch64-simd.md: Use aarch64_simd_emit_reg_reg_move
266 in define_splits for structural moves.
267 (mov<mode>): Use less restrictive predicates.
268 (*aarch64_mov<mode>): Simplify and only allow for LE.
269 (*aarch64_be_movoi, *aarch64_be_movci, *aarch64_be_movxi): New.
271 2015-01-21 Alan Hayward <alan.hayward@arm.com>
273 * rtlanal.c (subreg_get_info): Exit early for simple and common
276 2015-01-21 Richard Henderson <rth@redhat.com>
279 * ccmp.c (used_in_cond_stmt_p): Remove.
280 (expand_ccmp_expr): Don't use it.
282 2015-01-21 Nick Clifton <nickc@redhat.com>
284 * config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
287 2015-01-21 Richard Biener <rguenther@suse.de>
290 * tree-core.h (builtin_info, builtin_info_type): Turn from
291 an object with two arrays into an array of an object with
292 decl and two flags, implicit_p and declared_p.
293 * tree.h (builtin_decl_explicit, builtin_decl_implicit,
294 set_builtin_decl, set_builtin_decl_implicit_p,
295 builtin_decl_explicit_p, builtin_decl_implicit_p): Adjust.
296 (set_builtin_decl_declared_p, builtin_decl_declared_p): New functions.
297 * builtins.c (builtin_info): Adjust.
298 * gimplify.c (gimplify_addr_expr): References to builtins
299 that have been declared by the user makes them eligible for
300 use by the compiler. Call set_builtin_decl_implicit_p on them.
302 2015-01-20 Jeff Law <law@redhat.com>
305 * config/m68k/m68k.md (Comparison expanders and patterns): Do not
306 allow pc-relative addresses in operand predicates or constraints.
308 2015-01-21 Bin Cheng <bin.cheng@arm.com>
310 * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer
311 neon on aarch32 processors for stringops.
313 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
316 * ipa-utils.c (ipa_merge_profiles): Merge speculative edges.
318 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
321 * ipa-inline.c: Include lto-streamer.h
322 (report_inline_failed_reason): Output source file differences and
323 flags on optimization/target node mismatch.
324 (can_inline_edge_p): Consider caller to be the outer inline function;
325 be less restrictive about matching opimize and optimize_size attributes.
326 (inline_account_function_p): Break out from ...
327 (inline_small_functions): ... here.
328 * ipa-inline-transform.c (clone_inlined_nodes): Use
329 inline_account_function_p.
330 (inline_call): Use optimize attribution; use inline_account_function_p.
331 (inline_transform): Use opt_for_fn.
332 * ipa-inline.h (inline_account_function_p): Declare.
334 2015-01-20 Jakub Jelinek <jakub@redhat.com>
337 * dwarf2out.c (decl_piece_node): Don't put bitsize into
338 mode if bitsize <= 0.
339 (decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
340 dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
343 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
345 * config/nios2/nios2.c (nios2_asm_file_end): Implement
346 TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when
348 (TARGET_ASM_FILE_END): Define.
350 2015-01-20 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
352 * config/arm/arm-protos.h (enum arm_sched_autopref): New constants.
353 (struct tune_params): Use the enum.
354 * arm.c (arm_*_tune): Update.
355 (arm_option_override): Update.
357 2015-01-20 Richard Biener <rguenther@suse.de>
360 * ipa-reference.c (add_static_var): Inline ...
361 (analyze_function): ... here after splitting out from ...
362 (is_proper_for_analysis): ... this.
364 2015-01-20 Matthew Wahab <matthew.wahab@arm.com>
367 * config/arm/arm.opt: Remove lra option and arm_lra_flag variablesle.
368 * config/arm/arm.h (MODE_BASE_REG_CLASS): Remove use of arm_lra_flagag,
369 replace the conditional with it's true branch.
370 * config/arm/arm.config (TARGET_LRA_P): Set to hook_bool_void_true.
373 2015-01-20 Eric Botcazou <ebotcazou@adacore.com>
375 * config/visium/visium.h (LIB_SPEC): Adjust in default case.
377 2015-01-20 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
379 * config/tilegx/mul-tables.c: Move symtab.h include after coretypes.h include.
380 * config/tilepro/mul-tables.c: Add includes hashtab.h, hash-set.h, vec.h,
381 machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
382 double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
383 insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
385 2015-01-20 Igor Zamyatin <igor.zamyatin@intel.com>
389 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
391 PR rtl-optimization/64081
392 * loop-iv.c (def_pred_latch_p): New function.
393 (latch_dominating_def): Allow specific cases with non-single
395 (iv_get_reaching_def): Likewise.
396 (check_complex_exit_p): New function.
397 (check_simple_exit): Use check_complex_exit_p to allow certain cases
398 with exits not executing on any iteration.
400 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
403 * i386.c (ix86_option_override_internal): Use ix86_tune_cost
406 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
409 * i386.c (gate): Check flag_expensive_optimizations and
411 (ix86_option_override_internal): Drop optimize_size condition
412 on MASK_ACCUMULATE_OUTGOING_ARGS, MASK_VZEROUPPER,
413 MASK_AVX256_SPLIT_UNALIGNED_LOAD, MASK_AVX256_SPLIT_UNALIGNED_STORE,
415 (ix86_avx256_split_vector_move_misalign,
416 ix86_avx256_split_vector_move_misalign): Check optimize_insn_for_speed.
417 * sse.md (all uses of TARGET_PREFER_AVX128): Add
418 optimize_insn_for_speed_p check.
420 2015-01-19 Matthew Fortune <matthew.fortune@imgtec.com>
422 * config/mips/mips.h (FP_ASM_SPEC): New define.
423 (ASM_SPEC): Remove floating-point options and use FP_ASM_SPEC
426 2015-01-19 Oleg Endo <olegendo@gcc.gnu.org>
429 * config/sh/sh-protos.h (sh_find_set_of_reg): Make sure not to return
430 nullptr for insn when reaching the first insn.
431 * config/sh/sh.c (sh_unspec_insn_p): Rewrite using subrtx_iterator.
432 (sh_insn_operands_modified_between_p): Add nullptr check.
433 (sh_find_extending_set_of_reg): Fix log message. Don't accept
434 sign extending mem load if the insn contains any UNSPEC or
437 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
439 * params.def (inline-unit-growth): Drop to 15%.
440 * invoke.texi (inline-unit-growth): Document change.
442 2015-01-19 Martin Liska <mliska@suse.cz>
445 * ipa-icf-gimple.c (func_checker::compare_operand): Call proper
446 function for second argument of OBJ_TYPE_REF.
448 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
451 * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
452 whether function is an alias.
454 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
456 * ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
459 2015-01-19 Vladimir Makarov <vmakarov@redhat.com>
461 PR rtl-optimization/64671
462 * lra-remat.c (operand_to_remat): Don't consider jump and call
465 2015-01-19 David Edelsohn <dje.gcc@gmail.com>
467 * config/rs6000/default64.h: Include rs6000-cpus.def.
468 (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
469 (TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
470 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
472 * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
474 * config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
475 pseudo-op to specify assembler dialect.
477 2015-01-19 Martin Liska <mliska@suse.cz>
480 * ipa-icf.c (sem_item_optimizer::filter_removed_items):
481 Handle safe potentially removed nodes during filtering.
483 2015-01-19 Martin Liska <mliska@suse.cz>
485 * doc/extend.texi (no_icf): Add new attribute description.
486 * ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
487 where the pass attempts to merge a function with no_icf attribute.
489 2015-01-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
492 * doc/md.texi (ARM Options): Document register constraints.
494 2015-01-19 Jiong Wang <jiong.wang@arm.com>
495 Andrew Pinski <apinski@cavium.com>
498 * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
499 (ashl<mode>3): Don't expand if operands[2] is not constant.
501 2015-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
504 * config/aarch64/aarch64-simd.md (aarch64_simd_bsl<mode>_internal):
505 Match xor-and-xor RTL pattern.
507 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
509 PR rtl-optimization/64081
510 * loop-iv.c (def_pred_latch_p): New function.
511 (latch_dominating_def): Allow specific cases with non-single
513 (iv_get_reaching_def): Likewise.
514 (check_complex_exit_p): New function.
515 (check_simple_exit): Use check_complex_exit_p to allow certain cases
516 with exits not executing on any iteration.
518 2015-01-19 Jakub Jelinek <jakub@redhat.com>
520 * common.opt (fgraphite): Fix a typo.
522 2015-01-19 Felix Yang <felix.yang@huawei.com>
524 * config/aarch64/aarch64-simd.md (aarch64_<maxmin_uns>p<mode>): New
526 * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp,
527 uminp, smax_nanp, smin_nanp): New builtins.
528 * config/aarch64/arm_neon.h (vpmax_s8, vpmax_s16, vpmax_s32,
529 vpmax_u8, vpmax_u16, vpmax_u32, vpmaxq_s8, vpmaxq_s16, vpmaxq_s32,
530 vpmaxq_u8, vpmaxq_u16, vpmaxq_u32, vpmax_f32, vpmaxq_f32, vpmaxq_f64,
531 vpmaxqd_f64, vpmaxs_f32, vpmaxnm_f32, vpmaxnmq_f32, vpmaxnmq_f64,
532 vpmaxnmqd_f64, vpmaxnms_f32, vpmin_s8, vpmin_s16, vpmin_s32, vpmin_u8,
533 vpmin_u16, vpmin_u32, vpminq_s8, vpminq_s16, vpminq_s32, vpminq_u8,
534 vpminq_u16, vpminq_u32, vpmin_f32, vpminq_f32, vpminq_f64, vpminqd_f64,
535 vpmins_f32, vpminnm_f32, vpminnmq_f32, vpminnmq_f64, vpminnmqd_f64,
536 vpminnms_f32): Rewrite using builtin functions.
538 2015-01-19 Thomas Schwinge <thomas@codesourcery.com>
541 * omp-low.c (offload_symbol_decl): Remove variable.
542 (get_offload_symbol_decl): Remove function.
543 (expand_omp_target): For BUILT_IN_GOMP_TARGET,
544 BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
545 instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
546 BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
547 BUILT_IN_GOACC_UPDATE don't pass it at all.
549 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
551 * tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
554 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
556 * ipa-chkp.c (chkp_produce_thunks): Add early param
557 to split thunks production into two passes. Keep
558 'always_inline' function bodies after the first pass.
559 (pass_data_ipa_chkp_early_produce_thunks): New.
560 (pass_ipa_chkp_early_produce_thunks): New.
561 (pass_ipa_chkp_produce_thunks::execute): Adjust to new
562 chkp_produce_thunks signature.
563 (make_pass_ipa_chkp_early_produce_thunks): New.
564 * passes.def (pass_ipa_chkp_early_produce_thunks): New.
565 (pass_ipa_chkp_produce_thunks): Move after local optimizations.
566 * tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
568 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
570 * cgraph.c (cgraph_node::dump): Dump profile flags.
572 2015-01-18 Oleg Endo <olegendo@gcc.gnu.org>
575 * config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
576 reg appear first in the parallel.
578 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
580 * ipa-reference.c (set_reference_optimization_summary,
581 ipa_reference_get_not_written_global): Do nothing if ipa-reference is
583 (ignore_module_statics): New static var.
584 (propagate_bits): If ipa-reference is disabled, do not look into local
586 (analyze_function): Disable analysis when ipa_reference is disabled.
587 (generate_summary): Do not dump when reference is disabled;
588 collect vars accessed from functions with ipa-reference disabled.
589 (get_read_write_all_from_node): When ipa-reference is disabled, use the
591 (gate): Enable for LTO.
592 (ignore_edge_p): New function.
593 (propagate): Skip functions w/o ipa-reference analysis.
594 * optc-save-gen.awk: Handle optimize_debug correctly.
595 * opth-gen.awk: Likewise.
596 * common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
597 fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
598 fira-share-save-slots, fira-share-spill-slots,
599 fmodulo-sched-allow-regmoves, fpartial-inlining,
600 sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
601 ftracer, ftree-parallelize-loops, fassociative-math,
602 freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
604 (fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
605 ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
607 * ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
610 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
613 * ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
615 * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
617 2015-01-18 Sandra Loosemore <sandra@codesourcery.com>
619 * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
620 Remove duplicate option listings.
622 2015-01-18 Felix Yang <felix.yang@huawei.com>
624 * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
625 (autofdo_source_profile::get_callsite_total_count,
626 function_instance::get_function_instance_by_decl,
627 string_table::get_index, string_table::get_index_by_decl,
628 afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
629 Fix comment typos. Reformatting and minor code rearrangement.
631 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
633 * config/rs6000/rs6000.md (probe_stack): Delete.
634 (probe_stack_address): New.
636 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
638 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
639 to test for 32-bit ABIs, not !TARGET_POWERPC64.
641 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
643 * config/rs6000/rs6000.c (rs6000_parallel_return): New function.
644 (rs6000_function_value): Use it. Handle SCmode and TCmode as well,
645 for TARGET_32BIT && TARGET_POWERPC64. Fix another BITS_PER_WORD
647 (rs6000_libcall_value): Use the new function.
649 2015-01-17 Sandra Loosemore <sandra@codesourcery.com>
651 * doc/invoke.texi ([-ftracer]): Remove duplicate option listing.
653 2015-01-17 Eric Botcazou <ebotcazou@adacore.com>
655 * reorg.c (fill_simple_delay_slots): If TARGET_FLAGS_REGNUM is valid,
656 implement a more precise life analysis for it during backward scan.
658 2015-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
660 * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.
662 2015-01-17 Bernd Schmidt <bernds@codesourcery.com>
664 PR rtl-optimization/52773
665 * calls.c (emit_library_call_value): When pushing arguments use
666 stack_pointer_rtx rather than virtual_outgoing_args_rtx in
667 CALL_INSN_FUNCTION_USAGE. Only emit one of use of the magic
668 stack pointer reference into CALL_INSN_FUNCTION_USAGE.
670 2015-01-17 Jeff Law <law@redhat.com>
672 PR rtl-optimization/32790
673 * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
674 not ZERO_EXTEND in SET_DESTs.
676 2015-01-17 Alan Modra <amodra@gmail.com>
678 * cprop.c (do_local_cprop): Revert last change.
680 2015-01-16 DJ Delorie <dj@redhat.com>
681 Nick Clifton <nickc@redhat.com>
683 * config/rl78/rl78-real.md (addqi3_real): Allow volatiles.
684 (addhi3_real): Likewise. Fix [HL+0] syntax.
685 (subqi3_real): Likewise.
686 (subhi3_real): Likewise.
687 (cbranchqi4_real): Likewise. Allow saddr,#imm.
688 (cbranchhi4_real): Likewise.
689 (cbranchhi4_real_inverted): Likewise.
690 (cbranchsi4_real_lt): Likewise.
691 (cbranchsi4_real_ge): Likewise.
692 (cbranchsi4_real_ge): Likewise.
693 * config/rl78/rl78-virt.md (add<mode>3_virt): Likewise.
694 (sub<mode>3_virt): Likewise.
695 (cbranchqi4_virt): Likewise.
696 (cbranchhi4_virt): Likewise.
697 * config/rl78/rl78.c (rl78_print_operand_1): 'p' modifier means
698 always use '[reg+imm]' even when imm is zero.
699 * config/rl78/predicates.md (rl78_volatile_memory_operand): New.
700 (rl78_general_operand): New.
701 (rl78_nonimmediate_operand): New.
702 (rl78_nonfar_operand): Use them.
703 (rl78_nonfar_nonimm_operand): Likewise.
704 (rl78_stack_based_mem): Fix.
705 * config/rl78/constraints.md (Ibqi): New.
710 * config/rl78/rl78-expand.md (andqi3): Accept volatiles.
713 * config/rl78/rl78-protos.h (rl78_sfr_p): New.
715 * config/rl78/constrains (Qs8): New constraint.
716 * config/rl78/rl78.c (rl78_flags_already_set): New function.
717 * config/rl78/rl78-protos.h (rl78_flags_already_set): New prototype.
718 * config/rl78/rl78-real.md (update_Z): New attribute.
719 Update patterns to set it.
720 (cbranchqi4_real): Call rl78_flags_already_set() to determine if a
721 shorter compare and branch sequence can be used.
722 (cbranchhi4_real): Likewise.
723 (cbranchhi4_real_inverted): Likewise.
725 * config/rl78/predicates.md (uword_operand): Allow symbol_refs.
726 * config/rl78/rl78-c.c (rl78_register_pragmas): Register __near
728 * config/rl78/rl78.c (rl78_get_name_encoding): New.
729 (rl78_option_override): Allow -mes0 only if C.
730 (characterize_address): Support subregs of symbol_refs.
731 (rl78_addr_space_address_mode): Move. Add __near.
732 (rl78_far_p): Likewise.
733 (rl78_addr_space_pointer_mode): Likewise.
734 (rl78_as_legitimate_address): Likewise.
735 (rl78_addr_space_subset_p): Likewise.
736 (rl78_addr_space_convert): Likewise.
737 (rl78_print_operand_1): Support 16-bit addressing of 32-bit
739 (transcode_memory_rtx): Don't copy ES if -mes0. Allow symbol[BC]
741 (rl78_alloc_physical_registers_op1): Change logic to prefer
742 symbol[BC] addressing.
743 (frodata_section): New.
744 (rl78_asm_init_sections): Initialize it.
745 (rl78_select_section): Put __far readonly symbols in .frodata.
746 (rl78_make_type_far): New.
747 (rl78_insert_attributes): Force all readonly symbols to be __far when -mes0.
748 (rl78_asm_out_integer): New.
749 * config/rl78/rl78.h (ADDR_SPACE_NEAR): New.
750 * config/rl78/rl78.opt (-mes0): New.
752 * config/rl78/rl78.h (ASM_OUTPUT_LABELREF): New.
753 (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
754 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
755 * config/rl78/rl78-protos.h (rl78_output_labelref): New.
757 (rl78_output_aligned_common): New.
758 * config/rl78/rl78.c (rl78_output_symbol_ref): Strip encodings.
759 (rl78_handle_saddr_attribute): New.
760 (rl78_handle_naked_attribute): New.
761 (rl78_attribute_table): Add saddr.
762 (rl78_print_operand_1): Don't print '!' on saddr operands.
763 (rl78_print_operand_1): Strip encodings.
765 (rl78_strip_name_encoding): New.
766 (rl78_attrlist_to_encoding): New.
767 (rl78_encode_section_info): New.
768 (rl78_asm_init_sections): New.
769 (rl78_select_section): New.
770 (rl78_output_labelref): New.
771 (rl78_output_aligned_common): New.
772 (rl78_asm_out_integer): New.
773 (rl78_asm_ctor_dtor): New.
774 (rl78_asm_constructor): New.
775 (rl78_asm_destructor): New.
777 * config/rl78/rl78-real.md (movqi_es): Rename to movqi_to_es.
778 * config/rl78/rl78.c (rl78_expand_epilogue): Update.
779 (transcode_memory_rtx): Update.
780 (rl78_expand_epilogue): Use A_REG instead of 0.
782 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
784 * config/arm/arm-protos.h (struct tune_params): New field
785 sched_autopref_queue_depth.
786 * config/arm/arm.c (sched-int.h): Include header.
787 (arm_first_cycle_multipass_dfa_lookahead_guard,)
788 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define hook.
789 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,)
790 (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,)
791 (arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,)
792 (arm_cortex_a53_tune, arm_cortex_a57_tune, arm_xgene1_tune,)
793 (arm_cortex_a5_tune, arm_cortex_a9_tune, arm_cortex_a12_tune,)
794 (arm_v7m_tune, arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune):
795 Specify sched_autopref_queue_depth value. Enabled for A15 and A57.
796 * config/arm/t-arm (arm.o): Update.
797 * haifa-sched.c (update_insn_after_change): Update.
798 (rank_for_schedule): Use auto-prefetcher model, if requested.
799 (autopref_multipass_init): New static function.
800 (autopref_rank_for_schedule): New rank_for_schedule heuristic.
801 (autopref_multipass_dfa_lookahead_guard_started_dump_p): New static
802 variable for debug dumps.
803 (autopref_multipass_dfa_lookahead_guard_1): New static helper function.
804 (autopref_multipass_dfa_lookahead_guard): New global function that
805 implements TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD hook.
806 (init_h_i_d): Update.
807 * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): New tuning knob.
808 * sched-int.h (enum autopref_multipass_data_status): New const enum.
809 (autopref_multipass_data_): Structure for auto-prefetcher data.
810 (autopref_multipass_data_def, autopref_multipass_data_t): New typedefs.
811 (struct _haifa_insn_data:autopref_multipass_data): New field.
812 (INSN_AUTOPREF_MULTIPASS_DATA): New access macro.
813 (autopref_multipass_dfa_lookahead_guard): Declare.
815 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
817 * rtlanal.c (get_base_term): Handle SCRATCH.
819 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
821 * config/aarch64/aarch64.c
822 (aarch64_sched_first_cycle_multipass_dfa_lookahead): Implement hook.
823 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
825 (arm_first_cycle_multipass_dfa_lookahead): Implement hook.
826 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
828 2015-01-17 Alan Modra <amodra@gmail.com>
830 * cprop.c (do_local_cprop): Disallow replacement of fixed
833 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
836 * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
839 2015-01-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
841 * sanitizer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
842 * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.
844 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
846 * config/arm/arm.md: Move comment about splitting Thumb1 patterns to...
847 * config/arm/thumb1.md: ... Here.
849 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
851 * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
852 TImode for TARGET_32BIT.
854 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
856 * config/rs6000/rs6000.c (TARGET_LIBGCC_CMP_RETURN_MODE,
857 TARGET_LIBGCC_SHIFT_COUNT_MODE, TARGET_UNWIND_WORD_MODE): Implement
859 (rs6000_abi_word_mode): New function.
861 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
863 * config/rs6000/rs6000.c (rs6000_va_start): Use MIN_UNITS_PER_WORD
864 instead of UNITS_PER_WORD to describe the size of stack slots.
866 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
868 * config/rs6000/rs6000.c (TARGET_PROMOTE_FUNCTION_MODE): Implement
869 as rs6000_promote_function_mode. Move comment to there.
870 (rs6000_promote_function_mode): New function.
872 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
874 * config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
875 -mpowerpc64 is active.
877 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
880 * tree-cfg.c (pass_data_fixup_cfg): Update SSA for
883 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
885 * config/arm/cortex-a57.md: Remove duplicate of file accidentally
886 introduced in revision 219724.
888 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
889 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
892 * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
893 destination is not a GP reg.
894 (*movdi_aarch64): Likewise.
896 2015-01-16 David Edelsohn <dje.gcc@gmail.com>
899 * config/rs6000/default64.h: Revert ISA change.
901 2015-01-16 Richard Biener <rguenther@suse.de>
904 * tree-ssa-uninit.c: Include tree-cfg.h.
905 (MAX_SWITCH_CASES): New define.
906 (convert_control_dep_chain_into_preds): Handle switch statements.
907 (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
908 (normalize_one_pred_1): Do not split bit-manipulations.
911 2015-01-16 Richard Biener <rguenther@suse.de>
913 PR tree-optimization/64568
914 * tree-ssa-forwprop.c (pass_forwprop::execute): Guard
915 complex load rewriting for TARGET_MEM_REFs.
917 2015-01-16 Uros Bizjak <ubizjak@gmail.com>
919 * builtins.c (expand_builtin_acc_on_device): Check target for NULL.
921 2015-01-16 Matthew Wahab <matthew.wahab@arm.com>
924 * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
926 * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
927 (aarch64_lra_p): Remove.
929 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
932 * ipa-chkp.h (chkp_instrumentable_p): New.
933 * ipa-chkp.c: Include tree-inline.h.
934 (chkp_instrumentable_p): New.
935 (chkp_maybe_create_clone): Use chkp_instrumentable_p.
936 Fix processing of not instrumentable functions.
937 (chkp_versioning): Use chkp_instrumentable_p. Warn about
938 not instrumentable functions.
939 * tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
940 chkp_instrumentable_p.
941 * tree-inline.h (copy_forbidden): New.
942 * tree-inline.c (copy_forbidden): Not static anymore.
944 2015-01-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
946 * optc-save-gen.awk (cl_target_option_print_diff): Mark indent,
949 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
951 * lra-constraints.c (curr_insn_transform): Change a reload pseudo of
952 type OP_OUT to OP_INOUT.
954 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
956 * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
957 (high x) y) to y if x and y have the same base.
959 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
961 * config/arm/cortex-a57.md: New.
962 * config/aarch64/aarch64.md: Include it.
963 * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.
964 * config/aarch64/aarch64-tune.md: Regenerate.
966 2015-01-16 Zhenqiang Chen <zhenqiang.chen@arm.com>
969 * ccmp.c (expand_ccmp_next): New function.
970 (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
971 and compare insn sequence.
972 * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
973 aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
974 (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
975 * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
976 (*ccmp_ior): Changed to ccmp_ior<mode>.
977 (cmp<mode>): New pattern.
978 * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
980 * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.
982 2015-01-16 Ilya Tocar <ilya.tocar@intel.com>
984 * config/i386/avx2intrin.h (_mm256_bslli_epi128,
985 _mm256_bsrli_epi128): New.
986 * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.
988 2015-01-15 Jiong Wang <jiong.wang@arm.com>
990 * expmed.c (store_bit_field_using_insv): Improve warning message.
991 Use %wu instead of HOST_WIDE_INT_PRINT_UNSIGNED.
993 2015-01-15 Jiong Wang <jiong.wang@arm.com>
995 PR rtl-optimization/64011
996 * expmed.c (store_bit_field_using_insv): Warn and truncate bitsize when
997 there is partial overflow.
999 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1001 * config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
1003 (nds32_expand_epilogue_v3pop): Likewise.
1004 * config/nds32/nds32.md (sibcall): Define this for sibling call
1006 (sibcall_register): Likewise.
1007 (sibcall_immediate): Likewise.
1008 (sibcall_value): Likewise.
1009 (sibcall_value_register): Likewise.
1010 (sibcall_value_immediate): Likewise.
1011 (sibcall_epilogue): Likewise.
1012 (epilogue): Pass false to indicate this is not a sibcall epilogue.
1013 * config/nds32/nds32.c (nds32_expand_epilogue): Consider sibcall case.
1014 (nds32_expand_epilogue_v3pop): Likewise.
1016 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1018 * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
1019 * config/nds32/nds32.md (unspec_volatile_func_return): Remove.
1020 (return_internal): New.
1021 (return): Define this named pattern.
1022 (simple_return): Define this named pattern.
1023 * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal
1024 pattern instead of unspec_volatile_func_return.
1025 (nds32_expand_epilogue_v3pop): Likewise.
1026 (nds32_can_use_return_insn): New function.
1028 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1030 * config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
1031 * config/nds32/nds32.md (pop25return): New.
1032 * config/nds32/nds32.c (nds32_expand_epilogue_v3pop): Emit
1033 pop25return pattern.
1035 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1037 * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
1038 -mforbid-fp-as-gp, and -mex9 options.
1040 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1042 * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
1043 remove -mgp-direct option.
1045 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1047 * doc/invoke.texi (--param early-inlining-insns): Update default value.
1048 * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
1050 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1052 * ipa-inline.c (inline_small_functions): Work around hints
1055 2015-01-15 Sandra Loosemore <sandra@codesourcery.com>
1058 * doc/invoke.texi (Option Summary): Document new Nios II
1060 (Nios II Options): Likewise.
1061 * config/nios2/nios2.opt: Add -mgpopt= option support.
1062 Modify existing -mgpopt and -mno-gpopt options to be aliases.
1063 * config/nios2/nios2-opts.h (enum nios2_gpopt_type): New.
1064 * config/nios2/nios2.c (nios2_option_override): Adjust
1066 (nios2_in_small_data_p): Return true for explicit small data
1067 sections even with -G0.
1068 (nios2_symbol_ref_in_small_data_p): Adjust to handle new -mgpopt=
1071 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1074 * ipa-inline-transform.c (can_remove_node_now_p): Fix handling
1076 (inline_call): Fix removal of aliases.
1078 2015-01-15 Jakub Jelinek <jakub@redhat.com>
1080 * flag-types.h (enum sanitize_code): Add SANITIZE_VPTR,
1081 include SANITIZE_VPTR in SANITIZE_UNDEFINED.
1082 * opts.c (common_handle_option): Add -fsanitize=vptr.
1083 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS,
1084 BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS_ABORT): New.
1085 * ubsan.h (enum ubsan_null_ckind): Add UBSAN_DOWNCAST_POINTER,
1086 UBSAN_DOWNCAST_REFERENCE, UBSAN_UPCAST and UBSAN_CAST_TO_VBASE.
1087 (ubsan_expand_vptr_ifn): New prototype.
1088 * internal-fn.c (expand_ANNOTATE, expand_GOMP_SIMD_LANE,
1089 expand_GOMP_SIMD_VF, expand_GOMP_SIMD_LAST_LANE, expand_UBSAN_NULL,
1090 expand_UBSAN_BOUNDS, expand_UBSAN_OBJECT_SIZE, expand_ASAN_CHECK,
1091 expand_LOOP_VECTORIZED): Make argument nameless, remove
1093 (expand_UBSAN_VPTR): New function.
1094 * internal-fn.def (UBSAN_NULL, ASAN_CHECK): Use R instead of W
1096 (UBSAN_VPTR): New internal function.
1097 * sanopt.c (tree_map_traits): Renamed to ...
1098 (sanopt_tree_map_traits): ... this.
1099 (sanopt_tree_triplet, sanopt_tree_triplet_map_traits): New classes.
1100 (sanopt_ctx): Adjust asan_check_map type for tree_map_traits
1101 to sanopt_tree_map_traits renaming. Add vptr_check_map field.
1102 (maybe_optimize_ubsan_vptr_ifn): New function.
1103 (sanopt_optimize_walker): Handle IFN_UBSAN_VPTR.
1104 (pass_sanopt::execute): Likewise. Call sanopt_optimize even for
1106 * tree-ssa-alias.c (call_may_clobber_ref_p_1): Handle certain
1107 internal calls like pure functions for aliasing, even when they
1108 have other side-effects that prevent making them ECF_PURE.
1109 * ubsan.c (ubsan_vptr_type_cache_decl): New variable.
1110 (ubsan_expand_vptr_ifn): New function.
1112 2015-01-15 Vladimir Makarov <vmakarov@redhat.com>
1114 PR rtl-optimization/64110
1115 * stmt.c (parse_output_constraint): Process '^' and '$'.
1116 (parse_input_constraint): Ditto.
1117 * lra-constraints.c (process_alt_operands): Process the new
1119 * ira-costs.c (record_reg_classes): Process the new constraint
1121 * genoutput.c (indep_constraints): Add '^' and '$'.
1122 * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
1123 * doc/md.texi: Add description of the new constraints.
1125 2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
1126 Bernd Schmidt <bernds@codesourcery.com>
1127 Cesar Philippidis <cesar@codesourcery.com>
1128 James Norris <jnorris@codesourcery.com>
1129 Tom de Vries <tom@codesourcery.com>
1130 Ilmir Usmanov <i.usmanov@samsung.com>
1131 Dmitry Bocharnikov <dmitry.b@samsung.com>
1132 Evgeny Gavrin <e.gavrin@samsung.com>
1133 Jakub Jelinek <jakub@redhat.com>
1135 * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
1136 (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
1137 (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
1139 * builtins.c: Include "gomp-constants.h".
1140 (expand_builtin_acc_on_device): New function.
1141 (expand_builtin, is_inexpensive_builtin): Handle
1142 BUILT_IN_ACC_ON_DEVICE.
1143 * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
1145 * cgraph.c (cgraph_node::create): Consider flag_openacc next to
1147 * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
1148 <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
1149 i386/intelmic-offload.h.
1150 * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
1151 to libgomp and its dependencies.
1152 * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
1153 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
1154 * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
1155 * config/ia64/hpux.h (LIB_SPEC): Likewise.
1156 * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
1157 * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
1158 * doc/generic.texi: Update for OpenACC changes.
1159 * doc/gimple.texi: Likewise.
1160 * doc/invoke.texi: Likewise.
1161 * doc/sourcebuild.texi: Likewise.
1162 * gimple-pretty-print.c (dump_gimple_omp_for): Handle
1163 GF_OMP_FOR_KIND_OACC_LOOP.
1164 (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
1165 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
1166 GF_OMP_TARGET_KIND_OACC_UPDATE,
1167 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
1169 * gimple.c: Update comments for OpenACC changes.
1170 * gimple.def: Likewise.
1171 * gimple.h: Likewise.
1172 (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
1173 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
1174 GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
1175 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
1176 (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
1178 (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
1179 * gimplify.c: Include "gomp-constants.h".
1180 Update comments for OpenACC changes.
1181 (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
1182 OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
1183 OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
1184 (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
1185 OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
1186 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
1187 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
1188 OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
1189 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
1191 (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
1192 GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
1193 OMP_CLAUSE_SET_MAP_KIND.
1194 (gimplify_oacc_cache): New function.
1195 (gimplify_omp_for): Handle OACC_LOOP.
1196 (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
1198 (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
1199 OACC_EXIT_DATA, OACC_UPDATE.
1200 (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
1201 OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
1202 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
1203 (gimplify_body): Consider flag_openacc next to flag_openmp.
1204 * lto-streamer-out.c: Include "gomp-constants.h".
1205 * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
1206 (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
1207 (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
1208 (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
1209 (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
1210 (BUILT_IN_ACC_ON_DEVICE): New builtins.
1211 * omp-low.c: Include "gomp-constants.h".
1212 Update comments for OpenACC changes.
1213 (struct omp_context): Add reduction_map, gwv_below, gwv_this
1215 (extract_omp_for_data, use_pointer_for_field, install_var_field)
1216 (new_omp_context, delete_omp_context, scan_sharing_clauses)
1217 (create_omp_child_function, scan_omp_for, scan_omp_target)
1218 (check_omp_nesting_restrictions, lower_reduction_clauses)
1219 (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
1220 Update for OpenACC changes.
1221 (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
1222 OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
1223 OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
1224 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
1225 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
1226 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ. Use GOMP_MAP_* instead of
1228 (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
1229 Handle GF_OMP_FOR_KIND_OACC_LOOP.
1230 (expand_omp_target, lower_omp_target): Handle
1231 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
1232 GF_OMP_TARGET_KIND_OACC_UPDATE,
1233 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
1234 GF_OMP_TARGET_KIND_OACC_DATA.
1235 (pass_expand_omp::execute, execute_lower_omp)
1236 (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
1238 (offload_symbol_decl): New variable.
1239 (oacc_get_reduction_array_id, oacc_max_threads)
1240 (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
1241 (maybe_lookup_oacc_reduction, enclosing_target_ctx)
1242 (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
1243 (oacc_gimple_assign, oacc_initialize_reduction_data)
1244 (oacc_finalize_reduction_data, oacc_process_reduction_data): New
1246 (is_targetreg_ctx): Remove function.
1247 * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
1248 OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
1249 OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
1250 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
1251 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
1252 OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
1253 * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
1254 * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
1255 (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
1256 (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
1257 (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
1258 (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
1259 * tree-core.h: Update comments for OpenACC changes.
1260 (enum omp_clause_map_kind): Remove.
1261 (struct tree_omp_clause): Change type of map_kind member from enum
1262 omp_clause_map_kind to unsigned char.
1263 * tree-inline.c: Update comments for OpenACC changes.
1264 * tree-nested.c: Likewise. Include "gomp-constants.h".
1265 (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
1266 (convert_tramp_reference_stmt, convert_gimple_call): Update for
1267 OpenACC changes. Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
1268 OMP_CLAUSE_SET_MAP_KIND.
1269 * tree-pretty-print.c: Include "gomp-constants.h".
1270 (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
1271 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
1272 OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
1273 OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
1274 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
1275 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT. Use GOMP_MAP_*
1276 instead of OMP_CLAUSE_MAP_*.
1277 (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
1278 OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
1279 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
1280 * tree-streamer-in.c: Include "gomp-constants.h".
1281 (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
1282 OMP_CLAUSE_MAP_*. Use OMP_CLAUSE_SET_MAP_KIND.
1283 * tree-streamer-out.c: Include "gomp-constants.h".
1284 (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
1286 * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
1287 (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
1288 (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
1289 * tree.c (omp_clause_num_ops): Update accordingly.
1290 * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
1292 (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
1293 (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
1294 (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
1295 (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
1296 (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
1297 (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
1298 * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
1299 (OMP_CLAUSE_SET_MAP_KIND): New macro.
1300 * varpool.c (varpool_node::get_create): Consider flag_openacc next
1302 * config/i386/intelmic-offload.h: New file.
1303 * config/nvptx/offload.h: Likewise.
1305 2015-01-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
1307 * explow.h: Remove duplicate contents.
1308 * dojump.h: Likewise.
1310 2015-01-15 Richard Earnshaw <rearnsha@arm.com>
1312 * arm.c (arm_xgene_tune): Add default initializer for instruction
1315 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1319 * ipa.c (symbol_table::remove_unreachable_nodes):
1320 Do not put abstract origins into boundary.
1322 2015-01-15 Evgeny Stupachenko <evstupac@gmail.com>
1324 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
1325 * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
1327 2015-01-15 Steve Ellcey <sellcey@mips.com>
1329 * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
1330 cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
1331 builtins.def, and chkp-builtins.def.
1333 2015-01-15 David Edelsohn <dje.gcc@gmail.com>
1335 * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
1338 2015-01-15 Richard Biener <rguenther@suse.de>
1340 PR tree-optimization/61743
1341 * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
1342 information on PHIs for some simple cases.
1344 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1346 * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
1348 * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
1349 * config/arm/arm-cores.def (xgene1): New entry.
1350 * config/arm/arm-tables.opt: Regenerate.
1351 * config/arm/arm-tune.md: Regenerate.
1352 * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
1354 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
1356 * tree-if-conv.c: Include hash-map.h.
1357 (aggressive_if_conv): New variable.
1358 (fold_build_cond_expr): Add simplification of non-zero condition.
1359 (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
1360 destination block is not always executed.
1361 (if_convertible_phi_p): Fix commentary, allow phi nodes have more
1362 than two predecessors if AGGRESSIVE_IF_CONV is true.
1363 (if_convertible_stmt_p): Fix commentary.
1364 (all_preds_critical_p): New function.
1365 (has_pred_critical_p): New function.
1366 (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
1367 BB can have more than two predecessors and all incoming edges can be
1369 (predicate_bbs): Skip predication for loop exit block, use build2_loc
1370 to compute predicate for true edge.
1371 (find_phi_replacement_condition): Delete this function.
1372 (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
1373 Allow interchange PHI arguments if EXTENDED is false.
1374 Change check that block containing reduction statement candidate
1375 is predecessor of phi-block since phi may have more than two arguments.
1376 (phi_args_hash_traits): New helper structure.
1377 (struct phi_args_hash_traits): New type.
1378 (phi_args_hash_traits::hash): New function.
1379 (phi_args_hash_traits::equal_keys): New function.
1380 (gen_phi_arg_condition): New function.
1381 (predicate_scalar_phi): Add handling of phi nodes with more than two
1382 arguments, delete COND and TRUE_BB arguments, insert body of
1383 find_phi_replacement_condition to predicate ordinary phi nodes.
1384 (predicate_all_scalar_phis): Skip blocks with the only predecessor,
1385 delete call of find_phi_replacement_condition and invoke
1386 predicate_scalar_phi with two arguments.
1387 (insert_gimplified_predicates): Add assert that non-predicated block
1388 don't have statements to insert.
1389 (ifcvt_split_critical_edges): New function.
1390 (ifcvt_split_def_stmt): Likewise.
1391 (ifcvt_walk_pattern_tree): Likewise.
1392 (stmt_is_root_of_bool_pattern): Likewise.
1393 (ifcvt_repair_bool_pattern): Likewise.
1394 (ifcvt_local_dce): Likewise.
1395 (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
1396 is copy of inner or outer loop force_vectorize field, invoke
1397 ifcvt_split_critical_edges, ifcvt_local_dce and
1398 ifcvt_repair_bool_pattern for aggressive if-conversion.
1400 2015-01-15 Philipp Tomsich <ptomsich@theobroma-systems.com>
1402 * config/aarch64/aarch64.md: Include xgene1.md.
1403 * config/aarch64/xgene1.md: New file.
1405 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1407 * config/aarch64/aarch64-cores.def (xgene1): Update/add the
1408 xgene1 (APM XGene-1) core definition.
1409 * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
1410 * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
1411 * doc/invoke.texi: Document -mcpu=xgene1.
1413 2015-10-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
1415 * dojump.h: New header file.
1416 * explow.h: Likewise.
1417 * expr.h: Remove includes.
1418 Move expmed.c prototypes to expmed.h.
1419 Move dojump.c prototypes to dojump.h.
1420 Move alias.c prototypes to alias.h.
1421 Move explow.c prototypes to explow.h.
1422 Move calls.c prototypes to calls.h.
1423 Move emit-rtl.c prototypes to emit-rtl.h.
1424 Move varasm.c prototypes to varasm.h.
1425 Move stmt.c prototypes to stmt.h.
1426 (saved_pending_stack_adjust): Move to dojump.h.
1427 (adjust_address): Move to explow.h.
1428 (adjust_address_nv): Move to emit-rtl.h.
1429 (adjust_bitfield_address): Likewise.
1430 (adjust_bitfield_address_size): Likewise.
1431 (adjust_bitfield_address_nv): Likewise.
1432 (adjust_automodify_address_nv): Likewise.
1433 * explow.c (expr_size): Move to expr.c.
1434 (int_expr_size): Likewise.
1435 (tree_expr_size): Likewise.
1436 Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1437 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
1438 * genemit.c (main): Generate includes statistics.h, real.h, fixed-value.h,
1439 insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
1440 * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h, function.h,
1441 statistics.h, real.h, fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
1443 * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
1444 fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
1445 * genemit.c (open_base_files): Generate includes flags.h, statistics.h, real.h,
1446 fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h,
1448 * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h, hash-set.h, vec.h,
1449 machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
1450 double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
1451 insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
1452 * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
1453 double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
1454 function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
1455 insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
1456 tm.h tree.h varasm.h vec.h wide-int.h.
1457 * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1458 explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
1459 hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
1460 real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
1461 * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1462 explow.h expmed.h fixed-value.h flags.h inchash.h insn-config.h
1463 real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
1464 * loop-iv.c: Likewise.
1465 * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1466 explow.h expmed.h fixed-value.h flags.h inchash.h real.h
1467 statistics.h stmt.h tree.h varasm.h wide-int.h.
1468 * lra-constraints.c: Likewise.
1469 * lra-eliminations.c: Likewise.
1470 * lra-lives.c: Likewise.
1471 * lra-remat.c: Likewise.
1472 * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1473 explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
1474 statistics.h stmt.h tree.h varasm.h wide-int.h.
1475 * hw-doloop.c: Likewise.
1476 * ira-color.c: Likewise.
1477 * ira-emit.c: Likewise.
1478 * loop-doloop.c: Likewise.
1479 * loop-invariant.c: Likewise.
1480 * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1481 explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
1482 statistics.h stmt.h tree.h varasm.h wide-int.h.
1483 * caller-save.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1484 explow.h expmed.h fixed-value.h inchash.h real.h statistics.h
1485 stmt.h tree.h varasm.h wide-int.h.
1486 * combine-stack-adj.c: Likewise.
1489 * ifcvt.c: Likewise.
1490 * ira-costs.c: Likewise.
1492 * lra-coalesce.c: Likewise.
1493 * lra-spills.c: Likewise.
1494 * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1495 explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
1496 stmt.h varasm.h wide-int.h.
1497 * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1498 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
1500 * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
1501 double-int.h explow.h expmed.h fixed-value.h flags.h real.h
1502 statistics.h stmt.h varasm.h wide-int.h.
1503 * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
1504 expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
1505 varasm.h wide-int.h.
1506 * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
1507 expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1508 * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
1509 emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
1510 statistics.h stmt.h.
1511 * config/tilepro/tilepro.c: Likewise.
1512 * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
1513 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
1514 * config/pdp11/pdp11.c: Likewise.
1515 * config/xtensa/xtensa.c: Likewise.
1516 * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
1517 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
1519 * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1520 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1521 insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
1522 * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1523 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1524 insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
1525 * rtl-chkp.c: Likewise.
1526 * tree-chkp-opt.c: Likewise.
1527 * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h explow.h
1528 expmed.h fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
1529 insn-config.h real.h statistics.h stmt.h varasm.h.
1530 * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1531 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
1532 statistics.h stmt.h.
1533 * tree-vect-data-refs.c: Likewise.
1534 * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
1535 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1536 rtl.h statistics.h stmt.h varasm.h.
1537 * internal-fn.c: Likewise.
1538 * ipa-icf-gimple.c: Likewise.
1539 * lto-section-out.c: Likewise.
1540 * tree-data-ref.c: Likewise.
1541 * tree-nested.c: Likewise.
1542 * tree-outof-ssa.c: Likewise.
1543 * tree-predcom.c: Likewise.
1544 * tree-pretty-print.c: Likewise.
1545 * tree-scalar-evolution.c: Likewise.
1546 * tree-ssa-strlen.c: Likewise.
1547 * tree-vect-loop.c: Likewise.
1548 * tree-vect-patterns.c: Likewise.
1549 * tree-vect-slp.c: Likewise.
1550 * tree-vect-stmts.c: Likewise.
1552 * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1553 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
1555 * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
1556 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1557 statistics.h stmt.h varasm.h.
1558 * loop-unroll.c: Likewise.
1559 * ubsan.c: Likewise.
1560 * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
1561 expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
1563 * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1564 fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
1565 * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
1566 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
1567 statistics.h stmt.h.
1568 * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
1569 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
1570 statistics.h stmt.h varasm.h.
1571 * gimple-match-head.c: Likewise.
1572 * lto-cgraph.c: Likewise.
1573 * lto-section-in.c: Likewise.
1574 * lto-streamer-in.c: Likewise.
1575 * lto-streamer-out.c: Likewise.
1576 * tree-affine.c: Likewise.
1577 * tree-cfg.c: Likewise.
1578 * tree-cfgcleanup.c: Likewise.
1579 * tree-if-conv.c: Likewise.
1580 * tree-into-ssa.c: Likewise.
1581 * tree-ssa-alias.c: Likewise.
1582 * tree-ssa-copyrename.c: Likewise.
1583 * tree-ssa-dse.c: Likewise.
1584 * tree-ssa-forwprop.c: Likewise.
1585 * tree-ssa-live.c: Likewise.
1586 * tree-ssa-math-opts.c: Likewise.
1587 * tree-ssa-pre.c: Likewise.
1588 * tree-ssa-sccvn.c: Likewise.
1589 * tree-tailcall.c: Likewise.
1590 * tree-vect-generic.c: Likewise.
1591 * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1592 fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
1593 * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1594 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
1595 * varasm.c: Likewise.
1596 * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1597 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
1599 * init-regs.c: Likewise.
1601 * omp-low.c: Likewise.
1602 * stack-ptr-mod.c: Likewise.
1603 * tree-ssa-reassoc.c: Likewise.
1604 * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1605 fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
1607 * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1608 fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
1609 * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1610 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
1611 * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1612 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
1613 * tree-ssa-phiopt.c: Likewise.
1614 * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1615 fixed-value.h hashtab.h real.h statistics.h stmt.h.
1616 * config/fr30/fr30.c: Likewise.
1617 * config/frv/frv.c: Likewise.
1619 * final.c: Likewise.
1620 * optabs.c: Likewise.
1621 * passes.c: Likewise.
1622 * simplify-rtx.c: Likewise.
1624 * toplev.c: Likewise.
1625 * var-tracking.c: Likewise.
1626 * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1627 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1628 * lower-subreg.c: Likewise.
1629 * postreload-gcse.c: Likewise.
1631 * reginfo.c: Likewise.
1632 * store-motion.c: Likewise.
1633 * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1634 fixed-value.h hashtab.h real.h stmt.h varasm.h.
1635 * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1636 fixed-value.h hashtab.h statistics.h stmt.h.
1637 * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1638 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
1639 * except.c: Likewise.
1640 * explow.c: Likewise.
1641 * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1642 fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
1644 * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1645 fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
1646 * tree-ssa-structalias.c: Likewise.
1647 * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1648 fixed-value.h insn-config.h real.h statistics.h.
1649 * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1650 fixed-value.h insn-config.h real.h statistics.h stmt.h.
1651 * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1652 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
1653 * cfgbuild.c: Likewise.
1654 * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1655 fixed-value.h real.h rtl.h statistics.h stmt.h.
1656 * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1657 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1658 * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1659 fixed-value.h real.h statistics.h stmt.h.
1660 * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1661 fixed-value.h real.h statistics.h stmt.h varasm.h.
1662 * cprop.c: Likewise.
1663 * modulo-sched.c: Likewise.
1664 * postreload.c: Likewise.
1665 * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
1666 flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
1667 statistics.h stmt.h varasm.h.
1668 * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
1669 explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1670 rtl.h statistics.h stmt.h varasm.h.
1671 * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
1672 fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
1674 * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
1675 function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
1677 * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
1678 fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
1680 * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
1681 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1682 * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1683 function.h real.h statistics.h stmt.h varasm.h.
1684 * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1685 insn-config.h real.h statistics.h stmt.h.
1686 * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
1687 statistics.h stmt.h.
1688 * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
1689 fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
1690 statistics.h stmt.h varasm.h.
1691 * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1692 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
1693 * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1694 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
1695 * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
1696 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
1697 statistics.h stmt.h varasm.h.
1698 * ipa-polymorphic-call.c: Likewise.
1699 * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h expmed.h
1700 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
1702 * config/c6x/c6x.c: Likewise.
1703 * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h explow.h
1704 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
1705 statistics.h stmt.h varasm.h.
1706 * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1707 hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h varasm.h.
1708 * ipa-split.c: Likewise.
1709 * tree-eh.c: Likewise.
1710 * tree-ssa-dce.c: Likewise.
1711 * tree-ssa-loop-niter.c: Likewise.
1712 * tree-vrp.c: Likewise.
1713 * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
1714 expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
1716 * config/nds32/nds32-fp-as-gp.c: Likewise.
1717 * config/nds32/nds32-intrinsic.c: Likewise.
1718 * config/nds32/nds32-isr.c: Likewise.
1719 * config/nds32/nds32-md-auxiliary.c: Likewise.
1720 * config/nds32/nds32-memory-manipulation.c: Likewise.
1721 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
1722 * config/nds32/nds32-predicates.c: Likewise.
1723 * config/nds32/nds32.c: Likewise.
1724 * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
1725 fixed-value.h hashtab.h real.h statistics.h.
1726 * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
1727 fixed-value.h hashtab.h real.h statistics.h stmt.h.
1728 * config/arm/arm.c: Likewise.
1729 * config/avr/avr.c: Likewise.
1730 * config/bfin/bfin.c: Likewise.
1731 * config/h8300/h8300.c: Likewise.
1732 * config/i386/i386.c: Likewise.
1733 * config/ia64/ia64.c: Likewise.
1734 * config/iq2000/iq2000.c: Likewise.
1735 * config/m32c/m32c.c: Likewise.
1736 * config/m32r/m32r.c: Likewise.
1737 * config/m68k/m68k.c: Likewise.
1738 * config/mcore/mcore.c: Likewise.
1739 * config/mep/mep.c: Likewise.
1740 * config/mips/mips.c: Likewise.
1741 * config/mn10300/mn10300.c: Likewise.
1742 * config/moxie/moxie.c: Likewise.
1743 * config/pa/pa.c: Likewise.
1744 * config/rl78/rl78.c: Likewise.
1745 * config/rx/rx.c: Likewise.
1746 * config/s390/s390.c: Likewise.
1747 * config/sh/sh.c: Likewise.
1748 * config/sparc/sparc.c: Likewise.
1749 * config/spu/spu.c: Likewise.
1750 * config/stormy16/stormy16.c: Likewise.
1751 * config/v850/v850.c: Likewise.
1752 * config/vax/vax.c: Likewise.
1753 * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
1754 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
1755 * config/msp430/msp430.c: Likewise.
1756 * predict.c: Likewise.
1757 * value-prof.c: Likewise.
1758 * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
1759 expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
1760 * config/microblaze/microblaze.c: Likewise.
1761 * config/nios2/nios2.c: Likewise.
1762 * config/rs6000/rs6000.c: Likewise.
1763 * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1764 insn-config.h real.h rtl.h statistics.h stmt.h.
1765 * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1766 insn-config.h real.h statistics.h stmt.h.
1767 * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
1768 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
1769 * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
1770 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
1771 * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
1772 real.h statistics.h stmt.h.
1773 * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
1774 fixed-value.h statistics.h stmt.h.
1775 * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
1778 2015-01-15 Jakub Jelinek <jakub@redhat.com>
1780 * gengtype.c (create_user_defined_type): Workaround
1781 -Wmaybe-uninitialized false positives.
1782 * cse.c (fold_rtx): Likewise.
1783 * loop-invariant.c (gain_for_invariant): Likewise.
1785 2015-01-15 Eric Botcazou <ebotcazou@adacore.com>
1787 * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
1788 set the memory attributes in all cases but clear MEM_EXPR if need be.
1790 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
1792 PR tree-optimization/64434
1793 * cfgexpand.c (reorder_operands): New function.
1794 (expand_gimple_basic_block): Insert call of reorder_operands if
1797 2015-01-15 Matthew Fortune <matthew.fortune@imgtec.com>
1799 * config/mips/micromips.md (*swp): Remove explicit parallel.
1800 (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
1801 * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
1802 (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
1803 (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
1804 (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
1805 (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
1806 (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
1807 (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
1808 (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
1809 (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
1810 (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
1811 (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
1812 (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
1813 (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
1814 (mips_wrdsp): Likewise.
1815 * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
1817 (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
1818 (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
1819 (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
1820 (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
1821 (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
1822 (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
1823 * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
1824 (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
1825 (ssmaddsqdq4, ssmsubsqdq4): Likewise.
1827 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
1829 * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
1830 (mips_print_operand): Support 'y' to print exact log2 in decimal
1832 * config/mips/mips.h (ISA_HAS_LSA): New define.
1833 (ISA_HAS_DLSA): Likewise.
1834 * config/mips/mips.md (<GPR:d>lsa): New define_insn.
1835 * config/mips/predicates.md (const_immlsa_operand): New predicate.
1837 2015-01-15 Martin Liska <mliska@suse.cz>
1840 * optc-save-gen.awk: Add support for array types.
1842 2015-01-15 Richard Biener <rguenther@suse.de>
1845 * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
1846 for MEM_REF access functions with the same base can never partially
1849 2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com>
1851 * common.opt: New option -fstack-protector-explicit.
1852 * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
1853 (stack_protect_decl_phase): Handle stack_protect attribute for
1854 explicit stack protection requests.
1855 (expand_used_vars): Similarly.
1856 * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
1857 * doc/extend.texi: Add documentation for "stack_protect" attribute.
1858 * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
1860 2015-01-14 Oleg Endo <olegendo@gcc.gnu.org>
1863 * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
1865 (sh_extending_set_of_reg): New struct.
1866 (sh_find_extending_set_of_reg, sh_split_tst_subregs,
1867 sh_remove_reg_dead_or_unused_notes): New Declarations.
1868 * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
1869 sh_find_extending_set_of_reg, sh_split_tst_subregs,
1870 sh_extending_set_of_reg::use_as_extended_reg): New functions.
1871 * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
1872 convert to insn_and_split and use new function sh_split_tst_subregs.
1874 2015-01-14 Sandra Loosemore <sandra@codesourcery.com>
1876 * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
1878 (Optimization Options): Move -fuse-ld documentation to...
1879 (Link Options): ...here.
1881 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
1883 * config/mips/constraints.md (ZC): Add support for R6 LL/SC
1885 (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
1886 * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
1887 (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
1888 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
1889 instead of ZR for the memory operand of LL/SC.
1890 (compare_and_swap_12, sync_add<mode>): Likewise.
1891 (sync_<optab>_12, sync_old_<optab>_12): Likewise.
1892 (sync_new_<optab>_12, sync_nand_12): Likewise.
1893 (sync_old_nand_12, sync_new_nand_12): Likewise.
1894 (sync_sub<mode>, sync_old_add<mode>): Likewise.
1895 (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
1896 (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
1897 (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
1898 (sync_nand<mode>, sync_old_nand<mode>): Likewise.
1899 (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
1900 (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
1901 (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
1902 * doc/md.texi (ZC): Update description.
1904 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
1906 * builtins.c (expand_builtin_atomic_exchange): Remove error when
1907 memory model is CONSUME.
1908 (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
1909 expand_builtin_atomic_store): Change invalid memory model errors to
1911 (expand_builtin_atomic_clear): Change invalid model errors to warnings
1912 and issue warning for CONSUME.
1914 2015-01-14 Aldy Hernandez <aldyh@redhat.com>
1916 * lto-cgraph: Update function comments for
1917 lto_symtab_encoder_encode_*.
1919 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
1921 * Makefile.in (site.exp): Do not set ENABLE_LTO.
1923 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
1925 * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
1926 * lto-cgraph.c (select_what_to_stream): Remove argument, use
1927 lto_stream_offload_p instead.
1928 * lto-streamer.h (select_what_to_stream): Remove argument.
1929 * passes.c (ipa_write_summaries): Likewise.
1930 * tree-pass.h (ipa_write_summaries): Likewise.
1932 2015-01-14 Richard Biener <rguenther@suse.de>
1934 PR tree-optimization/59354
1935 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
1936 groups larger than the slp group size as having gaps.
1938 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
1941 * builtins.c (get_memmodel): Promote consume to acquire always.
1943 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
1946 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
1949 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
1952 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
1954 (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
1955 * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
1956 AVX512VBMI, as it implies AVX512BW.
1958 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
1961 * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
1962 (vec_unpacks_hi_v16sf): Ditto.
1964 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1966 * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
1969 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1971 * doc/invoke.texi (mapcs): Mention deprecation.
1972 (mapcs-frame): Likewise.
1974 2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
1977 * config/arm/arm.c (callee_saved_reg_p): Define.
1978 (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
1979 register is callee saved instead of !call_used_regs[reg].
1980 (thumb1_compute_save_reg_mask): Likewise.
1982 2015-01-14 Hale Wang <hale.wang@arm.com>
1984 * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
1987 2015-01-14 Richard Biener <rguenther@suse.de>
1990 * tree-inline.c (insert_debug_decl_map): Check destination
1991 function MAY_HAVE_DEBUG_STMTS.
1992 (insert_init_debug_bind): Likewise.
1993 (insert_init_stmt): Remove redundant check.
1994 (remap_gimple_stmt): Drop debug stmts if the destination
1995 function has var-tracking assignments disabled.
1997 2015-01-14 Martin Liska <mliska@suse.cz>
1999 * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
2000 IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
2002 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2005 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
2006 (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
2008 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
2010 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
2011 level from an ARCH; do not inject the default.
2012 (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
2013 MIPS_ISA_LEVEL_SPEC.
2014 (MIPS_ISA_NAN2008_SPEC): Update comment.
2015 (BASE_DRIVER_SELF_SPECS): Likewise.
2016 * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
2017 MIPS_DEFAULT_ISA_LEVEL_SPEC.
2018 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
2019 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
2020 * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
2022 2015-01-14 Richard Biener <rguenther@suse.de>
2024 PR tree-optimization/64493
2025 PR tree-optimization/64495
2026 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
2027 assign the proper vectorized PHI to the inner loop exit PHIs.
2029 2015-01-14 Joey Ye <joey.ye@arm.com>
2031 * config/arm/arm.c (arm_compute_save_reg_mask):
2032 Do not save lr in case of tail call.
2033 * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
2035 2015-01-14 Martin Uecker <uecker@eecs.berkeley.edu>
2037 * tree-vrp.c (check_array_ref): Emit more warnings
2038 for warn_array_bounds >= 2.
2039 * common.opt: New option -Warray-bounds=.
2040 * doc/invoke.texi: Document -Warray-bounds=.
2042 2015-01-14 Chung-Ju Wu <jasonwucj@gmail.com>
2044 * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
2045 (mforbid-fp-as-gp): Remove.
2047 * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
2048 (nds32_symbol_load_store_p): Remove.
2049 (nds32_fp_as_gp_check_available): Clean up implementation.
2050 * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
2052 * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
2053 fp-as-gp and ex9 cases.
2055 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
2057 * tree-profile.c (init_ic_make_global_vars): Drop workaround
2058 for bintuils bug 14342.
2059 (init_ic_make_global_vars): Likewise.
2060 (gimple_init_edge_profiler): Likewise.
2061 (gimple_gen_ic_func_profiler): Likewise.
2063 2015-01-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
2065 * ipa-inline.c (inline_small_functions): Swap the operands in
2068 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
2071 * ipa-inline-analysis.c (node_growth_cache): Remove.
2072 (initialize_growth_caches): Do not initialize it.
2073 (free_growth_caches): Do not free it.
2074 (do_estimate_growth): Rename to ...
2075 (estimate_growth): ... this one; drop growth cache code.
2076 (growth_likely_positive): Always go the heuristics way.
2077 * ipa-inline.c (can_inline_edge_p): Walk through aliases.
2078 (reset_edge_caches): Do not reset node growth.
2079 (heap_edge_removal_hook): Do not maintain cache.
2080 (inline_small_functions): Likewise; strenghten sanity check.
2081 (ipa_inline): Do not maintain caches.
2082 * ipa-inline.h (node_growth_cache): Remove.
2083 (do_estimate_growth): Remove to ...
2084 (estimate_growth): this one; remove inline version.
2085 (reset_node_growth_cache): Remove.
2087 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
2090 * ipa-inline.c (inline_small_functions): Update callee keys after
2091 resolving speculation
2092 (inline_small_functions): Always check monotonicity of the queue.
2094 2015-01-13 Marek Polacek <polacek@redhat.com>
2097 * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
2099 2015-01-13 Jakub Jelinek <jakub@redhat.com>
2101 PR rtl-optimization/64286
2102 * ree.c (combine_reaching_defs): Move part of comment earlier,
2103 remove !SCALAR_INT_MODE_P check.
2104 (add_removable_extension): Don't add vector mode
2105 extensions if all uses of the source register aren't the same
2108 2015-01-13 Renlin Li <renlin.li@arm.com>
2110 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
2111 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
2113 2015-01-13 Martin Liska <mliska@suse.cz>
2115 * ipa-icf.c (sem_function::equals_private): Call new functions
2116 cl_target_option_print_diff and cl_optimization_print_diff.
2117 * optc-save-gen.awk (cl_target_option_print_diff): New function.
2118 (cl_optimization_print_diff): Likewise.
2119 * opth-gen.awk: Likewise.
2121 2015-01-13 Richard Sandiford <richard.sandiford@arm.com>
2123 * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
2124 (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
2125 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
2126 (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
2127 (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
2128 (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
2130 2015-01-13 Andrew Pinski <apinski@cavium.com>
2132 * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
2133 instead of src mode.
2135 2015-01-13 Richard Biener <rguenther@suse.de>
2138 * lto-streamer-out.c (tree_is_indexable): Guard for NULL
2141 2015-01-13 Andrew Pinski <apinski@cavium.com>
2143 * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
2145 (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
2147 2015-01-13 Jakub Jelinek <jakub@redhat.com>
2150 * cfgexpand.c (expand_computed_goto): Don't call
2151 convert_memory_address here.
2153 2015-01-13 Richard Biener <rguenther@suse.de>
2155 PR tree-optimization/64406
2156 * tree-loop-distibution.c (pass_loop_distribution::execute):
2157 Reset the SCEV hashtable if we distributed anything.
2159 2015-01-13 Richard Biener <rguenther@suse.de>
2161 PR tree-optimization/64404
2162 * tree-vect-stmts.c (vectorizable_load): Reject conflicting
2163 SLP types for CSEd loads.
2165 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2167 PR tree-optimization/64436
2168 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
2169 merge of two symbolic numbers for a bitwise OR to ...
2170 (perform_symbolic_merge): This. Also fix computation of the range and
2171 end of the symbolic number corresponding to the result of a bitwise OR.
2173 2015-01-13 Richard Biener <rguenther@suse.de>
2175 PR tree-optimization/64568
2176 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
2177 release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
2179 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2181 * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
2182 TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
2184 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2186 * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
2187 target-specific symbol_ref flag.
2188 (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
2189 resides in rodata section.
2190 * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
2191 (nds32_encode_section_info): New function.
2193 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2195 * config/nds32/nds32.md (call): Use pseudo instruction bal which
2196 clobbers TA_REGNUM if large code model is specified.
2197 (call_register): Likewise.
2198 (call_immediate): Likewise.
2199 (call_value): Likewise.
2200 (call_value_register): Likewise.
2201 (call_value_immediate): Likewise.
2203 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2205 * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
2206 (TARGET_CMODEL_MEDIUM): New macro.
2207 (TARGET_CMODEL_LARGE): New macro.
2208 * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
2209 code model setting in assembly code.
2211 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2213 * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
2214 Remove MASK_GP_DIRECT flag.
2215 * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
2216 one of the multilib default options.
2217 * config/nds32/nds32.opt (mgp-direct): Remove.
2218 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
2219 -mgp-direct. We also remove unnecessary -mlittle-endian/-mbig-endian.
2221 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2223 * config/nds32/nds32.opt (mcmodel): Add new option.
2224 * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
2225 to describe code model.
2227 2015-01-13 Oleg Endo <olegendo@gcc.gnu.org>
2230 * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
2232 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
2234 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
2235 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
2236 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
2237 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
2238 __builtin_sh_set_fpscr.
2240 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
2242 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
2243 after a funtion name just to indicate it is a function.
2244 ([-fsanitize-undefined-trap-on-error]): Likewise.
2245 ([-fdbg-cnt=]): Likewise.
2246 ([-mmemcpy]): Likewise.
2247 ([-mflush-func]): Likewise.
2248 ([-msynci]): Likewise.
2250 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
2252 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
2255 2015-01-12 Jakub Jelinek <jakub@redhat.com>
2257 PR tree-optimization/64563
2258 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
2259 instead of != VR_VARYING.
2262 * config/i386/i386.c (ix86_expand_prologue): Add
2263 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
2265 PR tree-optimization/64454
2266 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
2267 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
2268 for signed or [0, op1 - 1] for unsigned modulo.
2269 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
2270 even if op1 does not satisfy integer_pow2p.
2273 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
2275 2015-01-12 Jeff Law <law@redhat.com>
2278 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
2279 (trunchiqi2, truncsihi2): Similarly.
2281 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
2282 rather than calling F.
2284 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
2286 * tsan.c (instrument_expr): Use force_gimple_operand.
2287 Use may_be_nonaddressable_p instead of is_gimple_addressable.
2289 2015-01-12 Richard Biener <rguenther@suse.de>
2291 PR tree-optimization/64530
2292 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
2295 2015-01-12 Richard Biener <rguenther@suse.de>
2298 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
2301 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2303 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
2304 Cortex-A17 tuning parameters.
2305 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
2307 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2309 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
2310 * config/arm/arm.c (arm_macro_fusion_p): New function.
2311 (arm_macro_fusion_pair_p): Likewise.
2312 (TARGET_SCHED_MACRO_FUSION_P): Define.
2313 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
2314 (ARM_FUSE_NOTHING): Likewise.
2315 (ARM_FUSE_MOVW_MOVT): Likewise.
2316 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
2317 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
2318 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
2319 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
2320 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
2321 arm_cortex_a5_tune): Specify fuseable_ops value.
2323 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
2326 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
2327 test for PIE with copy reloc.
2328 * configure: Regenerated.
2330 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2332 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
2334 (arm_tls_descseq_addr): Likewise.
2335 (arm_gen_movmemqi): Likewise.
2336 (arm_expand_epilogue_apcs_frame): Likewise.
2337 (arm_expand_epilogue): Likewise.
2338 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
2341 2015-01-12 Martin Liska <mliska@suse.cz>
2344 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
2345 volatility for correct operands.
2347 2015-01-12 Martin Liska <mliska@suse.cz>
2349 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
2350 that a function is not leaf.
2351 (sem_function::compare_polymorphic_p): Likewise.
2353 2015-01-12 Martin Liska <mliska@suse.cz>
2355 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
2356 that a function is not leaf.
2357 (sem_function::compare_polymorphic_p): Likewise.
2359 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
2361 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
2362 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
2363 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
2364 fold-const.h, tree-check.h.
2366 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
2370 * ipa-inline.c (compute_uninlined_call_time,
2371 compute_inlined_call_time): Use counts for extra precision when
2373 (big_speedup_p): Fix formating.
2374 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
2375 (relative_time_benefit): Remove.
2376 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
2377 merge guessed and read profile paths.
2378 (inline_small_functions): Count only !optimize_size functions into
2379 initial size; be more lax about sanity check when profile is used;
2380 be sure to update inlined function profile when profile is read.
2382 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
2385 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
2386 cost when edge becomes direct.
2387 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
2388 is resolved or when introducing new speculation.
2390 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
2394 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
2395 '||' to fix typo issue.
2397 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
2398 accept and return NULL.
2400 2015-01-12 Martin Liska <mliska@suse.cz>
2402 * cgraph.c (cgraph_edge::remove_callee): Move function to header
2403 file for being inlined.
2404 (cgraph_set_edge_callee): Delete.
2405 (cgraph_edge::redirect_callee): Move function to header file
2407 (cgraph_edge::make_direct): Use new function.
2408 (cgraph_edge::dump_edge_flags): New function created from
2409 static dump_edge_flags function.
2410 (cgraph_node::dump): Use new function.
2411 (cgraph_edge::verify_count_and_frequency): New function created
2412 from verify_edge_count_and_frequency.
2413 (cgraph_edge::verify_corresponds_to_fndecl): New function created
2414 from verify_edge_corresponds_to_fndecl.
2415 (verify_edge_corresponds_to_fndecl): Delete.
2416 (cgraph_node::verify_node): Use new function.
2417 * cgraph.h (cgraph_edge::set_callee): New function.
2418 (cgraph_edge::dump_edge_flags): Likewise.
2419 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
2421 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
2423 * ipa-utils.c (estimate_function_body_sizes): Do not
2424 free node params when called late with early=true.
2426 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
2428 * doc/md.texi (Instruction Patterns): Rewrite text for
2430 (Example): Likewise.
2432 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
2434 * doc/invoke.texi (Option Summary): Break long lines.
2435 [(-fdiagnostics-color)]: Put long literal in @smallexample
2437 [(-fsanitize-recover)]: Likewise.
2438 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
2439 [(-ffast-math)]: Likewise.
2440 [(--param max-inline-insns-recursive)]: Likewise.
2441 [(--param max-inline-recursive-depth)]: Likewise.
2442 [(-mno-text-section-literals)]: Likewise.
2444 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
2446 * doc/install.texi: Update for libgomp being renamed from "GNU
2447 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
2449 * doc/sourcebuild.texi: Likewise.
2451 2015-01-10 Anthony Green <green@moxielogic.com>
2453 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
2454 mul.x availability for moxiebox configuration.
2456 2015-01-09 Anthony Green <green@moxielogic.com>
2458 * config/moxie/moxie.md: Tabify assembly output.
2460 2015-01-09 Anthony Green <green@moxielogic.com>
2462 * config/moxie/moxie.md (CC_REG): Correct register definition.
2464 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
2466 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
2467 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
2470 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2472 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
2474 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
2475 Jakub Jelinek <jakub@redhat.com>
2478 * lto-streamer.h (lto_stream_offload_p): New declaration.
2479 * lto-streamer.c (lto_stream_offload_p): New variable.
2480 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
2481 at the same time as section_name_prefix.
2482 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
2483 if lto_stream_offload_p.
2484 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
2485 stream TREE_TARGET_OPTION if lto_stream_offload_p.
2486 (write_ts_function_decl_tree_pointers): Don't
2487 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
2488 * tree-streamer-in.c (unpack_value_fields): Don't stream
2489 TREE_TARGET_OPTION in if ACCEL_COMPILER.
2490 (lto_input_ts_function_decl_tree_pointers): Don't stream
2491 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
2492 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
2493 instead of section_name_prefix string comparisons.
2495 2015-01-09 Jakub Jelinek <jakub@redhat.com>
2497 PR rtl-optimization/64536
2498 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
2501 2015-01-09 Michael Collison <michael.collison@linaro.org>
2503 PR tree-optimization/64322
2504 * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
2505 range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
2507 2015-01-09 Tom de Vries <tom@codesourcery.com>
2509 PR rtl-optimization/64539
2510 * regcprop.c (kill_clobbered_values): Factor out of ...
2511 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
2512 instead of note_stores with kill_clobbered_value.
2514 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2516 * ginclude/unwind-arm-common.h: Revert previous commit.
2518 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2520 * config.gcc (arm*-*-freebsd*): New configuration.
2521 * config/arm/freebsd.h: New file.
2522 * config.host: Add extra components for arm*-*-freebsd*.
2523 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
2524 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
2526 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2528 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
2530 * config/rs6000/t-rtems: Add e6500 multilibs.
2532 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2534 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
2537 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2539 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
2540 MULTILIB_EXCEPTIONS.
2542 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2544 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
2545 MULTILIB_EXCEPTIONS.
2547 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
2549 * config/arm/t-rtems-eabi: Rename to...
2550 * config/arm/t-rtems: ...this.
2551 * config/arm/rtems-eabi.h: Rename to...
2552 * config/arm/rtems.h: ...this.
2553 * config.gcc (arm*-*-rtems*): Reflect changes above.
2555 2015-01-09 Richard Biener <rguenther@suse.de>
2557 PR tree-optimization/64410
2558 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
2560 (execute_update_addresses_taken): Deal with that.
2561 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
2562 loads/stores for complex variables.
2564 2015-01-09 Martin Liska <mliska@suse.cz>
2566 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
2568 (func_checker::compare_memory_operand): New function.
2569 (func_checker::compare_operand): Split case to newly
2571 (func_checker::compare_cst_or_decl): New function.
2572 (func_checker::compare_gimple_call): Identify
2574 (func_checker::compare_gimple_assign): Likewise.
2575 * ipa-icf-gimple.h: New function.
2577 2015-01-09 Martin Liska <mliska@suse.cz>
2580 * sreal.c (sreal::dump): Change unsigned format to signed for
2582 (sreal::to_double): Replace exp2 with scalbln.
2584 2015-01-09 Martin Liska <mliska@suse.cz>
2586 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
2587 * ipa-icf.c (sem_function::equals_private): Add support for target and
2588 (sem_item_optimizer::merge_classes): Remove redundant function
2589 optimization flags comparison.
2590 * tree.h (target_opts_for_fn): New function.
2592 2015-01-09 Tom de Vries <tom@codesourcery.com>
2594 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
2596 2015-01-09 Kito Cheng <kito@0xlab.org>
2598 PR rtl-optimization/64348
2599 * lra-constraints.c (split_reg): Fix caller-save store/restore
2600 instruction generation.
2602 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
2604 PR gcov-profile/61790
2605 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
2606 long long. Fallback to int64_t if host doesn't have long long and
2607 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
2609 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2611 PR tree-optimization/63989
2612 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
2614 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
2615 (get_stridx): If we don't have a record for certain SSA_NAME,
2616 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
2617 constant offset, call get_stridx_plus_constant.
2618 (get_stridx_plus_constant): New function.
2619 (zero_length_string): Don't use get_stridx here.
2623 * dse.c (struct insn_info): Mention frame_read set also
2624 before reload for tail calls on some targets.
2625 (scan_insn): Revert 2014-12-22 change. Set frame_read
2626 also before reload for tail calls if
2627 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
2628 instead of add_non_frame_wild_read for non-const/memset
2629 tail calls after reload.
2631 2015-01-08 Jason Merrill <jason@redhat.com>
2633 * ubsan.c (do_ubsan_in_current_function): New.
2634 (pass_ubsan::gate): Use it.
2635 * ubsan.h: Declare it.
2636 * convert.c (convert_to_integer): Use it.
2638 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2641 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
2642 compare_code when it is unconditionally overwritten afterwards.
2643 Use ix86_reverse_condition instead of reverse_condition. Don't
2644 change code if *reverse_condition* returned UNKNOWN and don't
2645 swap ct/cf and negate diff in that case.
2647 2015-01-08 Mike Stump <mikestump@comcast.net>
2649 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
2650 (pass_tsan_O0::gate): Likewise.
2651 * extend.texi (Function Attributes): Add no_sanitize_thread
2654 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
2656 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
2657 for registering builtins.
2658 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
2659 add -fopenmp to the argv_obstack used when invoking
2662 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
2663 add "-m32" or "-m64" to argv_obstack.
2664 (generate_host_descr_file): Likewise, when invoking host_compiler.
2665 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
2668 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
2670 * config/sh/sh-mem.cc: Use constant as second operand when emitting
2673 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
2676 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
2677 constant load if constant operand fits into I08.
2679 2015-01-08 Jakub Jelinek <jakub@redhat.com>
2682 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
2683 and TREE_THIS_VOLATILE for MEM_REFs.
2684 (build5_stat): Fix up initialization of TREE_READONLY and
2685 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
2687 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
2690 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
2691 of r for the second alternative of the destination operand.
2693 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
2696 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
2698 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
2700 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
2702 ([-fivar-visibility], [-fvisibility]): Likewise.
2704 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
2706 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
2707 the file where @code, @command, etc is more appropriate.
2709 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
2711 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
2712 of -mrecip= documentation.
2714 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
2717 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
2718 correct reload handler if -m32 -mpowerpc64 is used.
2720 2015-01-06 Tom de Vries <tom@codesourcery.com>
2722 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
2724 2015-01-08 Christian Bruel <christian.bruel@st.com>
2727 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
2729 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
2731 PR tree-optimization/63259
2732 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
2733 if optab exists for 16bit byteswap.
2735 2015-01-06 Jakub Jelinek <jakub@redhat.com>
2737 * opts.c (common_handle_option): Add support for
2738 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
2739 * doc/invoke.texi: Document -fno-sanitize=all,
2740 -f{,no-}sanitize-recover=all. Document that
2741 -fsanitize=float-cast-overflow is not enabled
2742 by -fsanitize=undefined. Fix up documentation
2743 of -f{,no-}sanitize-recover.
2745 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
2747 * config.gcc: Add Visium support.
2748 * configure.ac: Likewise.
2749 * configure: Regenerate.
2750 * doc/extend.texi (interrupt attribute): Add Visium.
2751 * doc/invoke.texi: Document Visium options.
2752 * doc/install.texi: Document Visium target.
2753 * doc/md.texi: Document Visium constraints.
2754 * common/config/visium: New directory.
2755 * config/visium: Likewise.
2757 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
2759 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
2760 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
2762 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
2764 * combine.c (combine_validate_cost): Do not count the cost of a
2765 split I2 twice. Do not display it twice in the dump, either.
2767 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
2769 Revert parts of r219199.
2770 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
2772 ([-Wtraditional]): Restore markup on <limits.h>.
2774 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
2777 * doc/invoke.texi: Document -Wsuggest-override.
2779 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
2781 PR rtl-optimization/64287
2782 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
2783 (process_options): Disable flag_ipa_ra if profiling.
2785 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
2787 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
2789 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
2791 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
2792 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
2793 put under #if TARGET_LOOPS guard.
2795 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
2797 * config/i386/i386.c (output_387_binary_op): Use std::swap.
2799 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
2801 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
2802 * rtl.h (refers_to_regno_p): Add overload.
2804 * bt-load.c: Likewise.
2805 * combine.c: Likewise.
2806 * df-scan.c: Likewise.
2807 * sched-deps.c: Likewise.
2808 * config/s390/s390.c: Likewise.
2809 * config/m32r/m32r.c: Likewise.
2810 * config/rs6000/spe.md: Likewise.
2811 * config/rs6000/rs6000.c: Likewise.
2812 * config/pa/pa.c: Likewise.
2813 * config/stormy16/stormy16.c: Likewise.
2814 * config/cris/cris.c: Likewise.
2815 * config/arc/arc.md: Likewise.
2816 * config/arc/arc.c: Likewise.
2817 * config/sh/sh.md: Likewise.
2818 * config/sh/sh.c: Likewise.
2819 * config/frv/frv.c: Likewise.
2821 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2824 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
2825 call as cleanup of the whole body.
2826 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
2827 * tsan.c (replace_func_exit): New function.
2828 (instrument_func_exit): Moved earlier.
2829 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
2830 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
2832 (tsan_pass): Don't call instrument_func_exit.
2833 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
2834 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
2838 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
2839 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
2840 it to libubsan handler instead of EXPR. Fold comparisons earlier,
2841 if the result is integer_zerop, return NULL_TREE.
2842 * convert.c (convert_to_integer): Pass expr as ARG.
2844 PR tree-optimization/64465
2845 * tree-inline.c (redirect_all_calls): During inlining
2846 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
2847 changed the stmt to a non-throwing call.
2849 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
2851 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
2852 etc markup throughout the file.
2854 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
2856 Enable experimental TSAN support for Ada.
2857 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
2859 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2861 PR tree-optimization/64494
2862 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
2863 clear SSA_NAME_ANTI_RANGE_P flag.
2865 2015-01-05 Marek Polacek <polacek@redhat.com>
2867 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
2869 2015-01-05 Jakub Jelinek <jakub@redhat.com>
2871 Update copyright years.
2873 * gcc.c (process_command): Update copyright notice dates.
2874 * gcov-dump.c: Ditto.
2876 * doc/cpp.texi: Bump @copying's copyright year.
2877 * doc/cppinternals.texi: Ditto.
2878 * doc/gcc.texi: Ditto.
2879 * doc/gccint.texi: Ditto.
2880 * doc/gcov.texi: Ditto.
2881 * doc/install.texi: Ditto.
2882 * doc/invoke.texi: Ditto.
2884 * auto-profile.c, auto-profile.h: Fix up Copyright line.
2886 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
2888 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
2890 ([-fvtable-verify], [-fvtv-debug]): Likewise.
2891 ([-Wabi]): Likewise.
2892 ([-fmessage-length]): Likewise.
2893 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
2894 ([-Wno-discarded-qualifiers]): Likewise.
2895 ([-Wnodiscarded-array-qualifiers]): Likewise.
2896 ([-Wno-virtual-move-assign]): Likewise.
2897 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
2898 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
2899 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
2900 ([-fsanitize-undefined-trap-on-error]): Likewise.
2901 ([-floop-interchange]): Likewise.
2902 ([-ftree-coalesce-inlined-vars]): Likewise.
2903 ([-fvect-cost-model]): Likewise.
2904 ([-flto]): Likewise.
2905 ([--param]): Likewise.
2906 (Spec Files): Likewise.
2907 ([-mstrict-align]): Likewise.
2908 ([-mfix-cortex-a53-835769]): Likewise.
2909 ([-march], [-mtune]): Likewise.
2910 ([-mpic-register]): Likewise.
2911 ([-munaligned-access]): Likewise.
2912 ([-msp8]): Likewise.
2913 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
2914 (AVR Built-in Macros): Likewise.
2915 ([-mpreferred-stack-boundary]): Likewise.
2916 ([-mtune-crtl]): Likewise.
2917 ([-mashf]): Likewise.
2918 ([-mmcu=]): Likewise.
2919 ([-minrt]): Likewise.
2920 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
2921 ([-mupper-regs]): Likewise.
2922 ([-matomic-model]): Likewise.
2923 ([-mdiv]): Likewise.
2924 ([-mzdcbranch]): Likewise.
2925 ([-mdisable-callt]): Likewise.
2926 ([-msoft-float]): Likewise.
2927 ([-m8byte-align]): Likewise.
2928 ([-fstack-reuse]): Likewise.
2930 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2932 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
2933 Fix markup, light copy-editing.
2934 ([-fauto-profile]): Rewrite to fix formatting and content
2937 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2939 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
2940 Copy-edit description.
2941 ([-fisolate-erroneous-paths-attribute]): Likewise.
2942 * common.opt (fisolate-erroneous-paths-dereference):
2943 Copy-edit description.
2944 (fisolate-erroneous-paths-attribute): Likewise.
2946 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2948 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
2951 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
2953 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
2954 ([-fvtv-debug]): Likewise.
2955 ([-Wc++-compat]): Likewise.
2956 ([-Wc++11-compat]): Likewise.
2957 ([-Wc++14-compat]): Likewise.
2958 ([-Wno-sized-deallocation]): Likewise.
2959 ([-femit-class-debug-always]): Likewise.
2960 ([-femit-struct-debug-detailed]): Likewise.
2961 ([-fno-keep-inline-dllexport]): Likewise.
2962 ([-fira-algorithm]): Likewise.
2963 ([-fira-region]): Likewise.
2964 ([-flra-remat]): Likewise.
2965 ([-fipa-ra]): Likewise.
2966 ([-fhoist-adjacent-loads]): Likewise.
2967 ([-fisolate-erroneous-paths-dereference]): Likewise.
2968 ([-fisolate-erroneous-paths-attribute]): Likewise.
2969 ([-ftree-switch-conversion]): Likewise.
2970 ([-ftree-tail-merge]): Likewise.
2971 ([-ftree-loop-if-convert]): Likewise.
2972 ([-ftree-loop-if-convert-stores]): Likewise.
2973 ([-ftree-loop-distribution]): Likewise.
2974 ([-ftree-loop-distribute-patterns]): Likewise.
2975 ([-flto-compression-level]): Likewise.
2976 ([-flto-report]): Likewise.
2977 ([-flto-report-wpa]): Likewise.
2978 ([-fuse-linker-plugin]): Likewise.
2979 ([-mfix-cortex-a53-835769]): Likewise.
2980 ([-mno-fix-cortex-a53-835769]): Likewise.
2981 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
2982 explicit listing; add a note to the discussion indicating they
2983 exist. Reorder table to group similar options. Add missing
2984 @opindex entries. Add @need commands throughout the table to
2985 allow it to be split across multiple pages.
2986 ([-m8bit-idiv]): Fix @opindex.
2987 ([-mavx256-split-unaligned-load]): Likewise.
2988 ([-mavx256-split-unaligned-store]): Likewise.
2989 ([-mstack-protector-guard]): Likewise.
2990 ([-mcpu=]): Likewise.
2991 ([-mcpu]): Likewise.
2992 ([-mpointer-size=]): Likewise.
2994 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
2996 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
2997 instead of `m' constraint. Likewise for unnamed movb comparison
2998 patterns using reg_before_reload_operand predicate.
2999 * config/pa/predicates.md (reg_before_reload_operand): Tighten
3000 predicate to reject register index and LO_SUM DLT memory forms
3003 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
3005 * doc/invoke.texi (Option Summary): Fix spelling of
3006 -fdevirtualize-at-ltrans.
3007 ([-fdevirtualize]): Fix markup.
3008 ([-fdevirtualize-speculatively]): Fix typo.
3009 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
3011 * common.opt (fdevirtualize-at-ltrans): Likewise.
3012 * ipa-devirt.c: Fix typos in comments throughout the file.
3013 (ipa_devirt): Fix typos in format strings for dump output.
3015 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
3017 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
3018 discussion of defaults, light copy-editing.
3020 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
3022 * tsan.c (instrument_expr): corrected previous checkin.
3024 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
3026 Instrument bit field and unaligned accesses for TSAN.
3027 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
3028 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
3029 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
3030 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
3031 unaligned memory regions.
3033 2015-01-01 Anthony Green <green@moxielogic.com>
3035 * config/moxie/predicates.md (moxie_general_movsrc_operand):
3036 Restrict move source register offsets to 16 bits.
3038 Copyright (C) 2015 Free Software Foundation, Inc.
3040 Copying and distribution of this file, with or without modification,
3041 are permitted in any medium without royalty provided the copyright
3042 notice and this notice are preserved.