1 2015-01-29 Kaz Kojima <kkojima@gcc.gnu.org>
4 * reorg.c (switch_text_sections_between_p): New function.
5 (relax_delay_slots): Call it when testing if the jump insn
6 is removable. Use targetm.can_follow_jump when testing if
7 the conditional branch can follow an unconditional jump.
9 2015-01-27 Caroline Tice <cmtice@google.com>
11 Committing VTV Cywin/Ming patch for Patrick Wollgast
12 * config/i386/cygwin.h (STARTFILE_SPEC): Add vtv_start.o,
13 if -fvtable-verify=preinit/std is used.
14 * config/i386/mingw-w64.h (STARTFILE_SPEC): Likewise.
15 * config/i386/mingw32.h (STARTFILE_SPEC): Likewise.
16 * config/i386/cygwin.h (ENDFILE_SPEC): Add vtv_end.o,
17 if -fvtable-verify=preinit/std is used.
18 * config/i386/mingw32.h (ENDFILE_SPEC): Likewise.
19 * config/i386/cygwin.h (LIB_SPEC): Pass -lvtv and -lpsapi,
20 if -fvtable-verify=preinit/std is used.
21 * config/i386/mingw-w64.h (LIB_SPEC): Likewise.
22 * config/i386/mingw32.h (LIB_SPEC): Likewise.
23 * varasm.c (assemble_variable): Add code to properly set the comdat
24 section and name for the .vtable_map_vars section in case the
27 2015-01-29 Jan Hubicka <hubicka@ucw.cz>
30 * cgraphunit.c (init_lowered_empty_function): Add CoUNT parameter;
32 (cgraph_node::expand_thunk): Make sane BB profile.
33 (cgraph_node::create_wrapper): Do not set call_stmt_cannot_inline_p.
34 * cgraph.h (init_lowered_empty_function): Update prototype.
35 * config/i386/i386.c (make_resolver_func): Update call.
36 * predict.c (gate): Disable branch prediction pass if
37 profile is already there.
39 2015-01-29 Jan Hubicka <hubicka@ucw.cz>
41 * optc-save-gen.awk: flag_fp_contract_mode is no longer speical.
42 * opth-gen.awk: Likewise.
43 * common.opt: Mark flag_fp_contract_mode as Optimization.
45 2015-01-29 Bernd Edlinger <bernd.edlinger@hotmail.de>
47 * config/i386/cygwin.h (LIBGCJ_SONAME): Set libgcj version to -16.
48 * config/i386/mingw32.h (LIBGCJ_SONAME): Set libgcj version to -16.
50 2015-01-28 Oleg Endo <olegendo@gcc.gnu.org>
53 * config/sh/predicates.md (atomic_arith_operand,
54 atomic_logical_operand): Remove.
55 * config/sh/sync.md (fetchop_predicate, fetchop_constraint): Remove.
56 (atomic_arith_operand_0): New predicate.
57 (atomic_compare_and_swap<mode>): Use arith_reg_dest for output values.
58 Use atomic_arith_operand_0 for input values.
59 (atomic_compare_and_swapsi_hard, atomic_compare_and_swap<mode>_hard,
60 atomic_compare_and_swap<mode>_soft_gusa,
61 atomic_compare_and_swap<mode>_soft_tcb,
62 atomic_compare_and_swap<mode>_soft_imask): Use arith_reg_dest and
63 arith_reg_operand instead of register_operand.
64 (atomic_exchange<mode>): Use arith_reg_dest for output value. Use
65 atomic_arith_operand_0 for newval input.
66 (atomic_exchangesi_hard, atomic_exchange<mode>_hard,
67 atomic_exchange<mode>_soft_gusa, atomic_exchange<mode>_soft_tcb,
68 atomic_exchange<mode>_soft_imask): Use arith_reg_dest and
69 arith_reg_operand instead of register_operand.
70 (atomic_arith_operand_1, atomic_logical_operand_1): New predicates.
71 fetchop_predicate_1, fetchop_constraint_1_llcs,
72 fetchop_constraint_1_gusa, fetchop_constraint_1_tcb,
73 fetchop_constraint_1_imask): New code iterator attributes.
74 (atomic_fetch_<fetchop_name><mode>): Use arith_reg_dest instead of
75 register_operand. Use fetchop_predicate_1.
76 (atomic_fetch_<fetchop_name>si_hard,
77 atomic_fetch_<fetchop_name><mode>_hard): Use arith_reg_dest instead of
78 register_operand. Use fetchop_predicate_1, fetchop_constraint_1_llcs.
79 (atomic_fetch_<fetchop_name><mode>_soft_gusa): Use arith_reg_dest
80 and arith_reg_operand instead of register_operand. Use
81 fetchop_predicate_1, fetchop_constraint_1_gusa.
82 (atomic_fetch_<fetchop_name><mode>_soft_tcb): Use arith_reg_dest
83 and arith_reg_operand instead of register_operand. Use
84 fetchop_predicate_1, fetchop_constraint_1_tcb. Adjust asm sequence
86 (atomic_fetch_<fetchop_name><mode>_soft_imask): Use arith_reg_dest
87 and arith_reg_operand instead of register_operand. Use
88 fetchop_predicate_1, fetchop_constraint_1_imask. Adjust asm sequence
90 (atomic_fetch_nand<mode>): Use arith_reg_dest instead of
91 register_operand. Use atomic_logical_operand_1.
92 (atomic_fetch_nandsi_hard, atomic_fetch_nand<mode>_hard,
93 atomic_fetch_nand<mode>_soft_gusa): Use arith_reg_dest and
94 arith_reg_operand instead of register_operand.
95 (atomic_fetch_nand<mode>_soft_tcb, atomic_fetch_nand<mode>_soft_imask):
96 Use arith_reg_dest and arith_reg_operand instead of register_operand.
97 Use logical_operand and rK08. Adjust asm sequence to allow R0 usage.
98 (atomic_<fetchop_name>_fetch<mode>): Use arith_reg_dest instead of
99 register_operand. Use fetchop_predicate_1.
100 (atomic_<fetchop_name>_fetchsi_hard,
101 atomic_<fetchop_name>_fetch<mode>_hard): Use arith_reg_dest and
102 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
103 fetchop_constraint_1_llcs.
104 (atomic_<fetchop_name>_fetch<mode>_soft_gusa): Use arith_reg_dest and
105 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
106 fetchop_constraint_1_gusa.
107 (atomic_<fetchop_name>_fetch<mode>_soft_tcb): Use arith_reg_dest and
108 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
109 fetchop_constraint_1_tcb. Adjust asm sequence to allow R0 usage.
110 (atomic_<fetchop_name>_fetch<mode>_soft_imask): Use arith_reg_dest and
111 arith_reg_operand instead of register_operand. Use fetchop_predicate_1,
112 fetchop_constraint_1_imask. Adjust asm sequence to allow R0 usage.
113 (atomic_nand_fetch<mode>): Use arith_reg_dest instead of
114 register_operand. Use atomic_logical_operand_1.
115 (atomic_nand_fetchsi_hard, atomic_nand_fetch<mode>_hard,
116 atomic_nand_fetch<mode>_soft_gusa): Use arith_reg_dest and
117 arith_reg_operand instead of register_operand.
118 (atomic_nand_fetch<mode>_soft_tcb): Use arith_reg_dest and
119 arith_reg_operand instead of register_operand. Use logical_operand
120 and K08. Adjust asm sequence to allow R0 usage.
121 (atomic_nand_fetch<mode>_soft_imask): Use arith_reg_dest and
122 arith_reg_operand instead of register_operand. Use logical_operand
125 2015-01-28 Jakub Jelinek <jakub@redhat.com>
128 * dwarf2out.c (add_AT_wide, mem_loc_descriptor, loc_descriptor):
129 Use ggc_alloc<wide_int> instead of ggc_cleared_alloc<wide_int>.
130 (attr_checksum, attr_checksum_ordered, hash_loc_operands): Checksum
131 only get_full_len HOST_WIDE_INTs from get_val () array rather than
132 all bits in *val_wide.
134 2015-01-28 Jan Hubicka <hubicka@ucw.cz>
136 * varpool.c (tls_model_names): Fix names.
137 (varpool_node::dump): Dump tls- prefix for tls models.
139 2015-01-28 Thomas Schwinge <thomas@codesourcery.com>
140 Bernd Schmidt <bernds@codesourcery.com>
141 Nathan Sidwell <nathan@codesourcery.com>
143 * config/nvptx/mkoffload.c: New file.
144 * config/nvptx/t-nvptx: Add build rules for it.
145 * config.gcc <nvptx-*> [$enable_as_accelerator = yes]
146 (extra_programs): Add mkoffload.
147 * config/nvptx/nvptx.c (nvptx_record_offload_symbol): New
149 (TARGET_RECORD_OFFLOAD_SYMBOL): Define macro to use it.
151 2015-01-28 Yuri Rumyantsev <ysrumyan@gmail.com>
154 * cfgexpand.c (reorder_operands): Skip debug gimples.
156 2015-01-28 Ilya Enkovich <ilya.enkovich@intel.com>
158 PR tree-optimization/64277
159 * tree-ssa-loop-niter.c (record_nonwrapping_iv): Use base
160 range info when possible to refine estimation.
162 2015-01-28 Thomas Preud'homme <thomas.preudhomme@arm.com>
164 PR tree-optimization/64718
165 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Make bswap_type
166 be a 16bit unsigned integer when n->range is 16.
167 (bswap_replace): Convert src to that type if necessary for all bswap
168 sizes. Fix rotation right notation in nearby comment. Use bswap_type
169 set in pass_optimize_bswap::execute ().
171 2015-01-28 James Greenhalgh <james.greenhalgh@arm.com>
173 * config/aarch64/aarch64-simd.md (aarch64_abs<mode>): New.
174 * config/aarch64/aarch64-simd-builtins.def (abs): Split by
175 integer and floating point variants.
176 * config/aarch64/iterators.md (unspec): Add UNSPEC_ABS.
178 2015-01-28 Robert Suchanek <robert.suchanek@imgtec.com>
180 * config/mips/mips.c (mips_hard_regno_mode_ok_p): Prohibit accumulators
181 for all vector modes.
183 2015-01-28 Jakub Jelinek <jakub@redhat.com>
186 * doc/sourcebuild.texi (comdat_group): Document.
188 2015-01-28 Terry Guo <terry.guo@arm.com>
190 * config/arm/thumb1.md (*thumb1_movpc_insn): New insn pattern.
192 2015-01-27 David Malcolm <dmalcolm@redhat.com>
194 * toplev.c (print_version): Add param "show_global_state", and
195 only print GGC and plugin information if it is true.
196 (init_asm_output): Pass in "true" for the new param when calling
198 (process_options): Likewise.
199 (toplev::main): Likewise.
200 * toplev.h (print_version): Add new param to decl.
202 2015-01-27 Jan Hubicka <hubicka@ucw.cz>
206 * tree.c (lookup_binfo_at_offset): New function.
207 (get_binfo_at_offset): Use it.
209 2015-01-27 Jan Hubicka <hubicka@ucw.cz>
212 * gimple-fold.c (gimple_get_virt_method_for_vtable): Remove assert
213 on vtable being vtable.
215 2015-01-27 Dominik Vogt <vogt@linux.vnet.ibm.com>
217 * doc/extend.texi: s/390: Update documentation of hotpatch attribute.
218 * doc/invoke.texi (-mhotpatch): s/390: Update documentation of
220 * config/s390/s390.opt (mhotpatch): s/390: Remove -mhotpatch and
221 -mno-hotpatch options. Change syntax of -mhotpatch= option.
222 * config/s390/s390.c (s390_hotpatch_trampoline_halfwords_default):
224 (s390_hotpatch_trampoline_halfwords_max): Renamed.
225 (s390_hotpatch_hw_max): New name.
226 (s390_hotpatch_trampoline_halfwords): Renamed.
227 (s390_hotpatch_hw_before_label): New name.
228 (get_hotpatch_attribute): Removed.
229 (s390_hotpatch_hw_after_label): New name.
230 (s390_handle_hotpatch_attribute): Add second parameter to hotpatch
232 (s390_attribute_table): Ditto.
233 (s390_function_num_hotpatch_trampoline_halfwords): Renamed.
234 (s390_function_num_hotpatch_hw): New name.
235 Remove special handling of inline functions and hotpatching.
236 Return number of nops before and after the function label.
237 (s390_can_inline_p): Removed.
238 (s390_asm_output_function_label): Emit a configurable number of nops
239 after the function label.
240 (s390_option_override): Update -mhotpatch= syntax and remove -mhotpatch.
241 (TARGET_CAN_INLINE_P) Removed.
242 (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): New.
244 2015-01-27 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
245 Jiong Wang <jiong.wang@arm.com>
247 * config/aarch64/aarch64.md (tb<optab><mode>1): Clobber CC reg instead
249 (cb<optab><mode>1): Likewise.
250 * config/aarch64/iterators.md (bcond): New define_code_attr.
252 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
254 * config/s390/s390.c (s390_memory_move_cost): Increase costs for
257 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
259 * config/s390/s390.c (s390_register_move_cost): Increase costs for
262 2015-01-27 Richard Biener <rguenther@suse.de>
264 * tree-vrp.c (update_value_range): Intersect the range with
265 old recorded SSA name range information.
267 2015-01-27 Nick Clifton <nickc@redhat.com>
269 * config/rl78/rl78.c (rl78_expand_prologue): In G10 mode push the
270 BC, DE and HL registers directly, not via AX.
271 When decrementing the stack pointer by a large amount, transfer SP
272 into AX and perform the subtraction there.
273 (rl78_expand_epilogue): Perform the inverse of the above
276 2015-01-27 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
278 * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Remove.
280 2015-01-27 Jakub Jelinek <jakub@redhat.com>
281 Yury Gribov <y.gribov@samsung.com>
284 * ubsan.c (ubsan_source_location): Refactor code.
285 (ubsan_type_descriptor): Update type size. Refactor code.
287 2015-01-27 Richard Biener <rguenther@suse.de>
289 PR tree-optimization/56273
290 PR tree-optimization/59124
291 PR tree-optimization/64277
292 * tree-vrp.c (vrp_finalize): Emit array-bound warnings only
293 from the first VRP pass.
295 2015-01-27 Jakub Jelinek <jakub@redhat.com>
298 * cgraphunit.c (cgraph_node::expand_thunk): If not this_adjusting,
299 handle the first argument in the same loop as all the other arguments.
301 PR rtl-optimization/61058
302 * jump.c (cleanup_barriers): Update basic block boundaries
303 if BLOCK_FOR_INSN is non-NULL on PREV.
305 2015-01-27 Ilya Enkovich <ilya.enkovich@intel.com>
307 * tree-chkp.c (chkp_call_returns_bounds_p): Fix handling of
308 bounds narrowing, already instrumented calls and calls to
309 not instrumentable functions.
311 2015-01-27 Jakub Jelinek <jakub@redhat.com>
313 PR tree-optimization/64807
314 * wide-int.cc (wi::divmod_internal): Clear
315 b_dividend[dividend_blocks_needed].
317 2015-01-26 DJ Delorie <dj@redhat.com>
319 * config/rl78/rl78.c (move_elim_pass): Don't optimize away
320 volatile memory references.
322 2015-01-26 Oleg Endo <olegendo@gcc.gnu.org>
325 * config/sh/sh.c (sh_split_treg_set_expr): Invoke emit_insn before
327 * config/sh/sh.md (tstsi_t): Don't try to optimize constant with right
328 shifts if it already fits into K08.
330 2015-01-26 Jakub Jelinek <jakub@redhat.com>
333 * ipa-inline.c (inline_small_functions): Print "unknown" even
334 if edge->call_stmt is non-NULL, but has builtins or unknown
338 * omp-low.c (simd_clone_mangle): If DECL_ASSEMBLER_NAME starts
339 with asterisk, skip the first character.
341 2015-01-26 H.J. Lu <hongjiu.lu@intel.com>
344 * config/i386/i386 (feature_priority): Revert the last P_POPCNT
347 2015-01-26 Uros Bizjak <ubizjak@gmail.com>
350 * config/i386/i386.md (*movdi_internal): Also check operand 0
351 to determine TYPE_LEA operand.
352 (*movsi_internal): Ditto.
354 2015-01-26 Jakub Jelinek <jakub@redhat.com>
356 * config/rs6000/rs6000-cpus.def (POWERPC_MASKS): Add
357 OPTION_MASK_QUAD_MEMORY_ATOMIC.
359 2015-01-26 Renlin Li <renlin.li@arm.com>
361 * config/aarch64/aarch64.c (aarch64_load_symref_appropriately): Correct
363 * config/aarch64/aarch64.md (tlsle_small_<mode>): Add left shift 12-bit
366 2015-01-26 Richard Biener <rguenther@suse.de>
369 * tree-ssa-uninit.c (is_pred_expr_subset_of): Handle
370 combining two BIT_AND_EXPR predicates.
372 2015-01-26 H.J. Lu <hongjiu.lu@intel.com>
375 * tree-ssa-structalias.c (new_var_info): Initialize ruid.
377 2015-01-26 Terry Guo <terry.guo@arm.com>
379 * config/arm/arm.c (arm_file_start): Update the assignment of
382 2014-01-25 James Greenhalgh <james.greenhalgh@arm.com>
384 * config/arm/arm-cores.def (cortex-a57): Use the new Cortex-A57
386 config/arm/arm.md: Include the new Cortex-A57 model.
387 (generic_sched): Don't use generic_sched when tuning for
390 2015-01-25 Allan Sandfeld Jensen <sandfeld@kde.org>
391 Uros Bizjak <ubizjak@gmail.com>
393 * config/i386/i386.c (get_builtin_code_for_version): Add
394 support for BMI and BMI2 multiversion functions.
396 2015-01-25 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
398 * emit-rtl.h (store_bit_field): Move prototype to expmed.h.
399 (extract_bit_field): Likewise.
400 (extract_low_bits): Likewise.
401 (expand_mult): Likewise.
402 (expand_mult_highpart_adjust): Likewise.
404 2015-01-24 H.J. Lu <hongjiu.lu@intel.com>
406 * config/i386/driver-i386.c (host_detect_local_cpu): Check new
407 Silvermont, Haswell, Broadwell and Knights Landing model numbers.
408 * config/i386/i386.c (processor_model): Add
409 M_INTEL_COREI7_BROADWELL.
410 (arch_names_table): Add "broadwell".
412 2015-01-24 Oleg Endo <olegendo@gcc.gnu.org>
421 * config/sh/sh-protos.h
422 (sh_extending_set_of_reg::can_use_as_unextended_reg,
423 sh_extending_set_of_reg::use_as_unextended_reg,
424 sh_is_nott_insn, sh_movt_set_dest, sh_movrt_set_dest, sh_is_movt_insn,
425 sh_is_movrt_insn, sh_insn_operands_modified_between_p,
426 sh_reg_dead_or_unused_after_insn, sh_in_recog_treg_set_expr,
427 sh_recog_treg_set_expr, sh_split_treg_set_expr): New functions.
428 (sh_treg_insns): New class.
429 * config/sh/sh.c (TARGET_LEGITIMATE_COMBINED_INSN): Define target hook.
430 (scope_counter): New class.
431 (sh_legitimate_combined_insn, sh_is_nott_insn, sh_movt_set_dest,
432 sh_movrt_set_dest, sh_reg_dead_or_unused_after_insn,
433 sh_extending_set_of_reg::can_use_as_unextended_reg,
434 sh_extending_set_of_reg::use_as_unextended_reg, sh_recog_treg_set_expr,
435 sh_in_recog_treg_set_expr, sh_try_split_insn_simple,
436 sh_split_treg_set_expr): New functions.
437 (addsubcosts): Handle treg_set_expr.
438 (sh_rtx_costs): Handle IF_THEN_ELSE and ZERO_EXTRACT.
439 (sh_rtx_costs): Use arith_reg_operand in SIGN_EXTEND and ZERO_EXTEND.
440 (sh_rtx_costs): Handle additional bit test patterns in EQ and AND cases.
441 (sh_insn_operands_modified_between_p): Make non-static.
442 * config/sh/predicates.md (zero_extend_movu_operand): Allow
443 simple_mem_operand in addition to displacement_mem_operand.
444 (zero_extend_operand): Don't allow zero_extend_movu_operand.
445 (treg_set_expr, treg_set_expr_not_const01,
446 arith_reg_or_treg_set_expr): New predicates.
447 * config/sh/sh.md (tstsi_t): Use arith_reg_operand and
448 arith_or_int_operand instead of logical_operand. Convert to
449 insn_and_split. Try to optimize constant operand in splitter.
450 (tsthi_t, tstqi_t): Fold into *tst<mode>_t. Convert to insn_and_split.
451 (*tstqi_t_zero): Delete.
452 (*tst<mode>_t_subregs): Add !sh_in_recog_treg_set_expr split condition.
453 (tstsi_t_and_not): Delete.
454 (tst<mode>_t_zero_extract_eq): Rename to *tst<mode>_t_zero_extract.
455 Convert to insn_and_split.
456 (unnamed split, tstsi_t_zero_extract_xor,
457 tstsi_t_zero_extract_subreg_xor_little,
458 tstsi_t_zero_extract_subreg_xor_big): Delete.
459 (*tstsi_t_shift_mask): New insn_and_split.
460 (cmpeqsi_t, cmpgesi_t): Add new split for const_int 0 operands and try
461 to recombine with surrounding insns when splitting.
462 (*negtstsi): Add !sh_in_recog_treg_set_expr condition.
463 (cmp_div0s_0, cmp_div0s_1, *cmp_div0s_0, *cmp_div0s_1): Rewrite as ...
464 (cmp_div0s, *cmp_div0s_1, *cmp_div0s_2, *cmp_div0s_3, *cmp_div0s_4,
465 *cmp_div0s_5, *cmp_div0s_6): ... these new insn_and_split patterns.
466 (*cbranch_div0s: Delete.
467 (*addc): Convert to insn_and_split. Use treg_set_expr as 3rd operand.
468 Try to recombine with surrounding insns when splitting. Add operand
470 (*addc_t_r, *addc_r_t): Use treg_set_expr_not_const01.
471 (*addc_r_r_1, *addc_r_lsb, *addc_r_r_lsb, *addc_r_lsb_r, *addc_r_msb,
472 *addc_r_r_msb, *addc_2r_msb): Delete.
473 (*addc_2r_lsb): Rename to *addc_2r_t. Use treg_set_expr. Add operand
475 (*addc_negreg_t): New insn_and_split.
476 (*subc): Convert to insn_and_split. Use treg_set_expr as 3rd operand.
477 Try to recombine with surrounding insns when splitting.
478 Add operand order variants.
479 (*subc_negt_reg, *subc_negreg_t, *reg_lsb_t, *reg_msb_t): New
480 insn_and_split patterns.
481 (*rotcr): Use arith_reg_or_treg_set_expr. Try to recombine with
482 surrounding insns when splitting.
483 (unnamed rotcr split): Use arith_reg_or_treg_set_expr.
484 (*rotcl): Likewise. Add zero_extract variant.
485 (*ashrsi2_31): New insn_and_split.
486 (*negc): Convert to insn_and_split. Use treg_set_expr.
487 (*zero_extend<mode>si2_disp_mem): Update comment.
488 (movrt_negc, *movrt_negc, nott): Add !sh_in_recog_treg_set_expr split
490 (*mov_t_msb_neg, mov_neg_si_t): Use treg_set_expr. Try to recombine
491 with surrounding insns when splitting.
492 (any_treg_expr_to_reg): New insn_and_split.
493 (*neg_zero_extract_0, *neg_zero_extract_1, *neg_zero_extract_2,
494 *neg_zero_extract_3, *neg_zero_extract_4, *neg_zero_extract_5,
495 *neg_zero_extract_6, *zero_extract_0, *zero_extract_1,
496 *zero_extract_2): New single bit zero extract patterns.
497 (bld_reg, *bld_regqi): Fold into bld<mode>_reg.
498 (*get_thread_pointersi, store_gbr, *mov<mode>_gbr_load,
499 *mov<mode>_gbr_load, *mov<mode>_gbr_load, *mov<mode>_gbr_load,
500 *movdi_gbr_load): Use arith_reg_dest instead of register_operand for
502 (set_thread_pointersi, load_gbr): Use arith_reg_operand instead of
503 register_operand for set source.
505 2015-01-23 Jan Hubicka <hubicka@ucw.cz>
507 * i386.opt (prefetch_sse): New targetsave.
508 * i386.c (ix86_function_specific_save): Save prefetch_sse.
509 (ix86_function_specific_restore): Restore prefetch_sse and initialize
510 ix86_cost/ix86_tune_cost.
512 2015-01-23 David Malcolm <dmalcolm@redhat.com>
514 * config/rs6000/rs6000.c (rs6000_output_function_epilogue):
515 Support the JIT by using 0 as the language type.
517 2015-01-23 Vladimir Makarov <vmakarov@redhat.com>
520 * lra-lives.c (make_hard_regno_born): Add parameter. Don't make
521 REAL_PIC_OFFSET_TABLE_REGNUM conflicting with pic offset pseudo.
522 (mark_regno_live, process_bb_lives): Pass new parameter value to
523 make_hard_regno_born.
525 2015-01-23 Jakub Jelinek <jakub@redhat.com>
527 PR rtl-optimization/63637
528 PR rtl-optimization/60663
529 * cse.c (merge_equiv_classes): Set new_elt->cost to MAX_COST
530 if elt->cost is MAX_COST for ASM_OPERANDS.
531 (find_sets_in_insn): Fix up comment typo.
532 (cse_insn): Don't set src_volatile for all non-volatile
533 ASM_OPERANDS in PARALLELs, but just those with multiple outputs
534 or with "memory" clobber. Set elt->cost to MAX_COST
535 for ASM_OPERANDS in PARALLEL. Set src_elt->cost to MAX_COST
536 if new_src is ASM_OPERANDS and elt->cost is MAX_COST.
538 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
540 * config/i386/sse.md (sse2_loadld): Set attribute isa to sse2 for
543 2015-01-23 Uros Bizjak <ubizjak@gmail.com>
545 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Move definition to
546 libgcc/config/i386/elf-lib.h.
548 2015-01-23 Jakub Jelinek <jakub@redhat.com>
551 * gcc.c (print_configuration): Don't print a blank line at the end
553 (run_attempt): ... but here unstead.
556 * omp-low.c (scan_sharing_clauses): Don't ignore
557 OMP_CLAUSE_MAP_ZERO_BIAS_ARRAY_SECTION GOMP_MAP_POINTER clauses
558 on target data/update constructs.
560 2015-01-23 Bernd Edlinger <bernd.edlinger@hotmail.de>
563 * config/m32c/m32c.c (encode_pattern_1): Removed gcc_unreachable here.
564 (DEBUG_RELOAD): Removed define.
565 (m32c_limit_reload_class): Enable traces with if DEBUG0.
566 (m32c_function_arg): Added a type cast.
567 (m32c_legitimize_reload_address): Push A_REGS reload with PSImode.
568 * config/m32c/addsub.md (addsi3_1): Specify the mode of all arguments.
569 * config/m32c/bitops.md (andqi3_16): Likewise.
570 * config/m32c/mov.md (m32c_immd_dbl_mov): Likewise.
571 (push_a01_l): Likewise.
573 2015-01-23 David Malcolm <dmalcolm@redhat.com>
576 * main.c (main): Construct toplev instances with init_signals=true.
577 * toplev.c (general_init): Add param "init_signals", and use it to
578 conditionalize the calls to signal and host_hooks.extra_signals.
579 (toplev::toplev): Add param "init_signals".
580 (toplev::main): When invoking general_init, pass m_init_signals
581 to control whether signal-handlers are installed.
582 * toplev.h (toplev::toplev): Add param "init_signals".
583 (toplev::m_init_signals): New field.
585 2015-01-23 David Malcolm <dmalcolm@redhat.com>
588 * emit-rtl.c (init_emit_regs): Set pic_offset_table_rtx to
589 NULL_RTX before testing PIC_OFFSET_TABLE_REGNUM, since the
590 latter may be affected by the former (e.g. on i686).
592 2015-01-23 Martin Liska <mliska@suse.cz>
594 * tree.h (tree_vec_elt_check): Workaround -Wstrict-overflow
595 false positive during profiledbootstrap.
597 2015-01-23 Tom de Vries <tom@codesourcery.com>
600 * lto-opts.c (lto_write_options): Output non-explicit conservative
602 * lto-wrapper.c (merge_and_complain): Handle merging -fopenacc.
603 (append_compiler_options): Pass -fopenacc through.
605 2015-01-23 Tom de Vries <tom@codesourcery.com>
608 * lto-opts.c (lto_write_options): Output non-explicit conservative
610 * lto-wrapper.c (merge_and_complain): Handle merging -fopenmp.
611 (append_compiler_options): Pass -fopenmp through.
613 2015-01-23 Jakub Jelinek <jakub@redhat.com>
616 * dwarf2out.c (struct dw_loc_descr_node): Add chain_next
619 * diagnostic-core.h (internal_error_no_backtrace): New prototype.
620 * diagnostic.def (DK_ICE_NOBT): New kind.
621 * diagnostic.c (diagnostic_action_after_output): Handle DK_ICE_NOBT
622 like DK_ICE, but never print backtrace.
623 (diagnostic_report_diagnostic): Handle DK_ICE_NOBT like DK_ICE.
624 (internal_error_no_backtrace): New function.
625 * gcc.c (execute): Use internal_error_no_backtrace instead of
628 2015-01-22 Jeff Law <law@redhat.com>
631 * config/m68k/m68k.md (xorsi3_internal): Twiddle constraints to
632 improve code density for small immediate to memory case.
633 (insv): Better handle bitfield assignments when the field is
634 being set to all ones.
635 * config/m68k/predicates.md (reg_or_pow2_m1_operand): New
638 2015-01-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
639 Jakub Jelinek <jakub@redhat.com>
641 * gcc.c (LINK_SSP_SPEC): Handle -fstack-protector-explicit
642 for !TARGET_LIBC_PROVIDES_SSP version and
643 -fstack-protector-{all,strong,explicit} otherwise.
644 * config/freebsd.h (LINK_SSP_SPEC): Handle
645 -fstack-protector-{strong,explicit}.
647 2015-01-22 Jan Hubicka <hubicka@ucw.cz>
648 H.J. Lu <hongjiu.lu@intel.com>
651 * ipa-inline.c (inline_small_functions): Fix thinko in maintenance of
654 2015-01-22 Wei Mi <wmi@google.com>
656 PR rtl-optimization/64557
657 * dse.c (record_store): Call get_addr for mem_addr.
658 (check_mem_read_rtx): Likewise.
660 2015-01-22 Eric Botcazou <ebotcazou@adacore.com>
662 * fold-const.c (const_binop): Add early return for non-tcc_binary.
664 2015-01-22 Chen Gang <gang.chen.5i5j@gmail.com>
666 * toplev.c (init_local_tick): Process the failure when read
667 fails for random_seed.
669 * ubsan.c (ubsan_type_descriptor): Use 'pretty_print' for
670 'pretty_name' to avoid memory overflow.
672 2015-01-22 Richard Biener <rguenther@suse.de>
675 * tree-ssa-coalesce.c (coalesce_partitions): Do not perform
676 abnormal coalescing on undefined SSA names.
678 2015-22-01 Uros Bizjak <ubizjak@gmail.com>
682 * config/i386/sse.md (vec_set<mode>_0): Use (Yi/r/C) constraints
684 (*vec_dup<mode>): Use (Yi/$r) constraints for alternative 1.
686 2015-01-22 Trevor Saunders <tsaunders@mozilla.com>
689 * fold-const.c (fold_checksum_tree): Don't include value of
690 expr->decl_with_vis.symtab_node in the checksum.
692 2015-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
694 * config/s390/s390.md (atomic code attribute): Fix typo "ior" ->
697 2015-01-22 Max Ostapenko <m.ostapenko@partner.samsung.com>
700 * gcc.c (insert_comments): New function.
701 (try_generate_repro): Call it.
702 (append_text): Removed.
704 2015-01-22 Richard Biener <rguenther@suse.de>
706 * ipa-inline.c (can_inline_edge_p): Disable inlining of edges
707 with IL incompatible options. Properly honor user optimize
710 2015-01-21 Segher Boessenkool <segher@kernel.crashing.org>
712 PR rtl-optimization/64682
713 * combine.c (distribute_notes): When moving a death note for
714 a register that is set in the new I2, make sure to put it
717 2015-01-21 David Edelsohn <dje.gcc@gmail.com>
719 * config/rs6000/rs6000.c (rs6000_file_start): Use rs6000_isa_flags
722 2015-01-21 Jakub Jelinek <jakub@redhat.com>
725 * simplify-rtx.c (simplify_relational_operation_1): Don't try to
726 optimize (eq/ne (and (side_effects) (const_int 0)) (const_int 0))
727 into (eq/ne (and (not (side_effects)) (const_int 0)) (const_int 0)).
730 * doc/invoke.texi (-fsanitize=vptr): Document.
732 PR rtl-optimization/62078
733 * dse.c: Include cfgcleanup.h.
734 (rest_of_handle_dse): For -fnon-call-exceptions, if DSE removed
735 anything call purge_all_dead_edges and cleanup_cfg at the end
738 2015-01-21 Jan Hubicka <hubicka@ucw.cz>
740 * ipa-utils.c (ipa_merge_profiles): Avoid ICE on mismatch in indirect
743 2015-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
745 * gimplify.c (gimplify_function_tree): Check the no_sanitize_thread
748 2015-01-21 David Sherwood <david.sherwood@arm.com>
749 Tejas Belagod <Tejas.Belagod@arm.com>
751 * config/aarch64/aarch64.h (CANNOT_CHANGE_MODE_CLASS): Removed.
752 * config/aarch64/aarch64.c (aarch64_cannot_change_mode_class): Removed.
753 * config/aarch64/aarch64-protos.h (aarch64_cannot_change_mode_class):
756 2015-01-21 David Sherwood <david.sherwood@arm.com>
757 Tejas Belagod <Tejas.Belagod@arm.com>
759 * config/aarch64/aarch64-protos.h (aarch64_simd_attr_length_rglist)
760 (aarch64_reverse_mask): New decls.
761 * config/aarch64/iterators.md (UNSPEC_REV_REGLIST): New enum.
762 (insn_count): New mode_attr.
763 * config/aarch64/aarch64-simd.md (vec_store_lanesoi, vec_store_lanesci)
764 (vec_store_lanesxi, vec_load_lanesoi, vec_load_lanesci)
765 (vec_load_lanesxi): Made ABI compliant for Big Endian targets.
766 (aarch64_rev_reglist, aarch64_simd_ld2, aarch64_simd_ld3)
767 (aarch64_simd_ld4, aarch64_simd_st2, aarch64_simd_st3)
768 (aarch64_simd_st4): New patterns.
769 * config/aarch64/aarch64.c (aarch64_simd_attr_length_rglist)
770 (aarch64_reverse_mask): New functions.
772 2015-01-21 Richard Sandiford <richard.sandiford@arm.com>
774 * config/aarch64/aarch64-protos.h (aarch64_simd_disambiguate_copy):
776 * config/aarch64/aarch64.c (aarch64_classify_address): Allow extra
777 addressing modes for BE.
778 (aarch64_print_operand): Add 'R' specifier.
779 (aarch64_simd_disambiguate_copy): Delete.
780 (aarch64_simd_emit_reg_reg_move): New function.
781 * config/aarch64/aarch64-simd.md: Use aarch64_simd_emit_reg_reg_move
782 in define_splits for structural moves.
783 (mov<mode>): Use less restrictive predicates.
784 (*aarch64_mov<mode>): Simplify and only allow for LE.
785 (*aarch64_be_movoi, *aarch64_be_movci, *aarch64_be_movxi): New.
787 2015-01-21 Alan Hayward <alan.hayward@arm.com>
789 * rtlanal.c (subreg_get_info): Exit early for simple and common
792 2015-01-21 Richard Henderson <rth@redhat.com>
795 * ccmp.c (used_in_cond_stmt_p): Remove.
796 (expand_ccmp_expr): Don't use it.
798 2015-01-21 Nick Clifton <nickc@redhat.com>
800 * config/rl78/rl78.c (rl78_calculate_death_notes): Look inside
803 2015-01-21 Richard Biener <rguenther@suse.de>
806 * tree-core.h (builtin_info, builtin_info_type): Turn from
807 an object with two arrays into an array of an object with
808 decl and two flags, implicit_p and declared_p.
809 * tree.h (builtin_decl_explicit, builtin_decl_implicit,
810 set_builtin_decl, set_builtin_decl_implicit_p,
811 builtin_decl_explicit_p, builtin_decl_implicit_p): Adjust.
812 (set_builtin_decl_declared_p, builtin_decl_declared_p): New functions.
813 * builtins.c (builtin_info): Adjust.
814 * gimplify.c (gimplify_addr_expr): References to builtins
815 that have been declared by the user makes them eligible for
816 use by the compiler. Call set_builtin_decl_implicit_p on them.
818 2015-01-20 Jeff Law <law@redhat.com>
821 * config/m68k/m68k.md (Comparison expanders and patterns): Do not
822 allow pc-relative addresses in operand predicates or constraints.
824 2015-01-21 Bin Cheng <bin.cheng@arm.com>
826 * config/arm/arm.c (arm_cortex_a53_tune, arm_cortex_a57_tune): Prefer
827 neon on aarch32 processors for stringops.
829 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
832 * ipa-utils.c (ipa_merge_profiles): Merge speculative edges.
834 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
837 * ipa-inline.c: Include lto-streamer.h
838 (report_inline_failed_reason): Output source file differences and
839 flags on optimization/target node mismatch.
840 (can_inline_edge_p): Consider caller to be the outer inline function;
841 be less restrictive about matching opimize and optimize_size attributes.
842 (inline_account_function_p): Break out from ...
843 (inline_small_functions): ... here.
844 * ipa-inline-transform.c (clone_inlined_nodes): Use
845 inline_account_function_p.
846 (inline_call): Use optimize attribution; use inline_account_function_p.
847 (inline_transform): Use opt_for_fn.
848 * ipa-inline.h (inline_account_function_p): Declare.
850 2015-01-20 Jakub Jelinek <jakub@redhat.com>
853 * dwarf2out.c (decl_piece_node): Don't put bitsize into
854 mode if bitsize <= 0.
855 (decl_piece_bitsize, adjust_piece_list, add_var_loc_to_decl,
856 dw_sra_loc_expr): Use HOST_WIDE_INT instead of int for bit
859 2015-01-20 Chung-Lin Tang <cltang@codesourcery.com>
861 * config/nios2/nios2.c (nios2_asm_file_end): Implement
862 TARGET_ASM_FILE_END hook for adding .note.GNU-stack section when
864 (TARGET_ASM_FILE_END): Define.
866 2015-01-20 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
868 * config/arm/arm-protos.h (enum arm_sched_autopref): New constants.
869 (struct tune_params): Use the enum.
870 * arm.c (arm_*_tune): Update.
871 (arm_option_override): Update.
873 2015-01-20 Richard Biener <rguenther@suse.de>
876 * ipa-reference.c (add_static_var): Inline ...
877 (analyze_function): ... here after splitting out from ...
878 (is_proper_for_analysis): ... this.
880 2015-01-20 Matthew Wahab <matthew.wahab@arm.com>
883 * config/arm/arm.opt: Remove lra option and arm_lra_flag variablesle.
884 * config/arm/arm.h (MODE_BASE_REG_CLASS): Remove use of arm_lra_flagag,
885 replace the conditional with it's true branch.
886 * config/arm/arm.config (TARGET_LRA_P): Set to hook_bool_void_true.
889 2015-01-20 Eric Botcazou <ebotcazou@adacore.com>
891 * config/visium/visium.h (LIB_SPEC): Adjust in default case.
893 2015-01-20 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
895 * config/tilegx/mul-tables.c: Move symtab.h include after coretypes.h include.
896 * config/tilepro/mul-tables.c: Add includes hashtab.h, hash-set.h, vec.h,
897 machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
898 double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
899 insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
901 2015-01-20 Igor Zamyatin <igor.zamyatin@intel.com>
905 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
907 PR rtl-optimization/64081
908 * loop-iv.c (def_pred_latch_p): New function.
909 (latch_dominating_def): Allow specific cases with non-single
911 (iv_get_reaching_def): Likewise.
912 (check_complex_exit_p): New function.
913 (check_simple_exit): Use check_complex_exit_p to allow certain cases
914 with exits not executing on any iteration.
916 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
919 * i386.c (ix86_option_override_internal): Use ix86_tune_cost
922 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
925 * i386.c (gate): Check flag_expensive_optimizations and
927 (ix86_option_override_internal): Drop optimize_size condition
928 on MASK_ACCUMULATE_OUTGOING_ARGS, MASK_VZEROUPPER,
929 MASK_AVX256_SPLIT_UNALIGNED_LOAD, MASK_AVX256_SPLIT_UNALIGNED_STORE,
931 (ix86_avx256_split_vector_move_misalign,
932 ix86_avx256_split_vector_move_misalign): Check optimize_insn_for_speed.
933 * sse.md (all uses of TARGET_PREFER_AVX128): Add
934 optimize_insn_for_speed_p check.
936 2015-01-19 Matthew Fortune <matthew.fortune@imgtec.com>
938 * config/mips/mips.h (FP_ASM_SPEC): New define.
939 (ASM_SPEC): Remove floating-point options and use FP_ASM_SPEC
942 2015-01-19 Oleg Endo <olegendo@gcc.gnu.org>
945 * config/sh/sh-protos.h (sh_find_set_of_reg): Make sure not to return
946 nullptr for insn when reaching the first insn.
947 * config/sh/sh.c (sh_unspec_insn_p): Rewrite using subrtx_iterator.
948 (sh_insn_operands_modified_between_p): Add nullptr check.
949 (sh_find_extending_set_of_reg): Fix log message. Don't accept
950 sign extending mem load if the insn contains any UNSPEC or
953 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
955 * params.def (inline-unit-growth): Drop to 15%.
956 * invoke.texi (inline-unit-growth): Document change.
958 2015-01-19 Martin Liska <mliska@suse.cz>
961 * ipa-icf-gimple.c (func_checker::compare_operand): Call proper
962 function for second argument of OBJ_TYPE_REF.
964 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
967 * ipa-inline.c (want_inline_function_to_all_callers_p): Fix check
968 whether function is an alias.
970 2015-01-19 Jan Hubicka <hubicka@ucw.cz>
972 * ipa-devirt.c (ipa_devirt): Drop polymorphic call info in hopeless
975 2015-01-19 Vladimir Makarov <vmakarov@redhat.com>
977 PR rtl-optimization/64671
978 * lra-remat.c (operand_to_remat): Don't consider jump and call
981 2015-01-19 David Edelsohn <dje.gcc@gmail.com>
983 * config/rs6000/default64.h: Include rs6000-cpus.def.
984 (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use ISA 2.7 (POWER8).
985 (TARGET_DEFAULT) [BIG_ENDIAN]: Use POWER4.
986 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add POWER7
988 * config/rs6000/linux64.h (PROCESSOR_DEFAULT64): Always default to
990 * config/rs6000/rs6000.c (rs6000_file_start): Emit .machine
991 pseudo-op to specify assembler dialect.
993 2015-01-19 Martin Liska <mliska@suse.cz>
996 * ipa-icf.c (sem_item_optimizer::filter_removed_items):
997 Handle safe potentially removed nodes during filtering.
999 2015-01-19 Martin Liska <mliska@suse.cz>
1001 * doc/extend.texi (no_icf): Add new attribute description.
1002 * ipa-icf.c (sem_item_optimizer::merge_classes): Handle cases
1003 where the pass attempts to merge a function with no_icf attribute.
1005 2015-01-19 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1008 * doc/md.texi (ARM Options): Document register constraints.
1010 2015-01-19 Jiong Wang <jiong.wang@arm.com>
1011 Andrew Pinski <apinski@cavium.com>
1014 * config/aarch64/aarch64.md (define_insn "*ashl<mode>3_insn"): Deleted.
1015 (ashl<mode>3): Don't expand if operands[2] is not constant.
1017 2015-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1020 * config/aarch64/aarch64-simd.md (aarch64_simd_bsl<mode>_internal):
1021 Match xor-and-xor RTL pattern.
1023 2015-01-19 Igor Zamyatin <igor.zamyatin@intel.com>
1025 PR rtl-optimization/64081
1026 * loop-iv.c (def_pred_latch_p): New function.
1027 (latch_dominating_def): Allow specific cases with non-single
1029 (iv_get_reaching_def): Likewise.
1030 (check_complex_exit_p): New function.
1031 (check_simple_exit): Use check_complex_exit_p to allow certain cases
1032 with exits not executing on any iteration.
1034 2015-01-19 Jakub Jelinek <jakub@redhat.com>
1036 * common.opt (fgraphite): Fix a typo.
1038 2015-01-19 Felix Yang <felix.yang@huawei.com>
1040 * config/aarch64/aarch64-simd.md (aarch64_<maxmin_uns>p<mode>): New
1042 * config/aarch64/aarch64-simd-builtins.def (smaxp, sminp, umaxp,
1043 uminp, smax_nanp, smin_nanp): New builtins.
1044 * config/aarch64/arm_neon.h (vpmax_s8, vpmax_s16, vpmax_s32,
1045 vpmax_u8, vpmax_u16, vpmax_u32, vpmaxq_s8, vpmaxq_s16, vpmaxq_s32,
1046 vpmaxq_u8, vpmaxq_u16, vpmaxq_u32, vpmax_f32, vpmaxq_f32, vpmaxq_f64,
1047 vpmaxqd_f64, vpmaxs_f32, vpmaxnm_f32, vpmaxnmq_f32, vpmaxnmq_f64,
1048 vpmaxnmqd_f64, vpmaxnms_f32, vpmin_s8, vpmin_s16, vpmin_s32, vpmin_u8,
1049 vpmin_u16, vpmin_u32, vpminq_s8, vpminq_s16, vpminq_s32, vpminq_u8,
1050 vpminq_u16, vpminq_u32, vpmin_f32, vpminq_f32, vpminq_f64, vpminqd_f64,
1051 vpmins_f32, vpminnm_f32, vpminnmq_f32, vpminnmq_f64, vpminnmqd_f64,
1052 vpminnms_f32): Rewrite using builtin functions.
1054 2015-01-19 Thomas Schwinge <thomas@codesourcery.com>
1057 * omp-low.c (offload_symbol_decl): Remove variable.
1058 (get_offload_symbol_decl): Remove function.
1059 (expand_omp_target): For BUILT_IN_GOMP_TARGET,
1060 BUILT_IN_GOMP_TARGET_DATA, BUILT_IN_GOMP_TARGET_UPDATE pass NULL
1061 instead of &__OFFLOAD_TABLE__, for BUILT_IN_GOACC_DATA_START,
1062 BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL,
1063 BUILT_IN_GOACC_UPDATE don't pass it at all.
1065 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
1067 * tree-sra.c (some_callers_have_mismatched_arguments_p): Allow thunk
1070 2015-01-19 Ilya Enkovich <ilya.enkovich@intel.com>
1072 * ipa-chkp.c (chkp_produce_thunks): Add early param
1073 to split thunks production into two passes. Keep
1074 'always_inline' function bodies after the first pass.
1075 (pass_data_ipa_chkp_early_produce_thunks): New.
1076 (pass_ipa_chkp_early_produce_thunks): New.
1077 (pass_ipa_chkp_produce_thunks::execute): Adjust to new
1078 chkp_produce_thunks signature.
1079 (make_pass_ipa_chkp_early_produce_thunks): New.
1080 * passes.def (pass_ipa_chkp_early_produce_thunks): New.
1081 (pass_ipa_chkp_produce_thunks): Move after local optimizations.
1082 * tree-pass.h (make_pass_ipa_chkp_early_produce_thunks): New.
1084 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
1086 * cgraph.c (cgraph_node::dump): Dump profile flags.
1088 2015-01-18 Oleg Endo <olegendo@gcc.gnu.org>
1091 * config/sh/sh.md (udivsi3_i4, divsi3_i4): Make use of sfunc address
1092 reg appear first in the parallel.
1094 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
1096 * ipa-reference.c (set_reference_optimization_summary,
1097 ipa_reference_get_not_written_global): Do nothing if ipa-reference is
1099 (ignore_module_statics): New static var.
1100 (propagate_bits): If ipa-reference is disabled, do not look into local
1102 (analyze_function): Disable analysis when ipa_reference is disabled.
1103 (generate_summary): Do not dump when reference is disabled;
1104 collect vars accessed from functions with ipa-reference disabled.
1105 (get_read_write_all_from_node): When ipa-reference is disabled, use the
1107 (gate): Enable for LTO.
1108 (ignore_edge_p): New function.
1109 (propagate): Skip functions w/o ipa-reference analysis.
1110 * optc-save-gen.awk: Handle optimize_debug correctly.
1111 * opth-gen.awk: Likewise.
1112 * common.opt (fauto-inc-dec, fdelete-dead-exceptions, ffunction-cse,
1113 fgraphite, fstrict-volatile-bitfields, fira-algorithm, fira-region,
1114 fira-share-save-slots, fira-share-spill-slots,
1115 fmodulo-sched-allow-regmoves, fpartial-inlining,
1116 sched-stalled-insns, fsched-stalled-insns-dep, fstrict-overflow,
1117 ftracer, ftree-parallelize-loops, fassociative-math,
1118 freciprocal-math, fvect-cost-model, fsimd-cost-model): Mark as
1120 (fauto-profile, fcommon, fdata-sections, fipa-icf-variables,
1121 ftoplevel-reorder, funit-at-a-time, fwhole-program): Do not mark as
1123 * ipa-icf.c (gate, sem_item_optimizer::filter_removed_items):
1126 2015-01-18 Jan Hubicka <hubicka@ucw.cz>
1129 * ipa-prop.c (try_make_edge_direct_virtual_call): Clear speculative
1131 * ipa-cp.c (ipa_get_indirect_edge_target_1): Handle speculation.
1133 2015-01-18 Sandra Loosemore <sandra@codesourcery.com>
1135 * doc/invoke.texi ([-funroll-loops], [-funroll-all-loops]):
1136 Remove duplicate option listings.
1138 2015-01-18 Felix Yang <felix.yang@huawei.com>
1140 * auto-profile.c (afdo_find_equiv_class): Remove unnecessary test.
1141 (autofdo_source_profile::get_callsite_total_count,
1142 function_instance::get_function_instance_by_decl,
1143 string_table::get_index, string_table::get_index_by_decl,
1144 afdo_vpt_for_early_inline, afdo_callsite_hot_enough_for_early_inline):
1145 Fix comment typos. Reformatting and minor code rearrangement.
1147 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
1149 * config/rs6000/rs6000.md (probe_stack): Delete.
1150 (probe_stack_address): New.
1152 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
1154 * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Use TARGET_32BIT
1155 to test for 32-bit ABIs, not !TARGET_POWERPC64.
1157 2015-01-17 Segher Boessenkool <segher@kernel.crashing.org>
1159 * config/rs6000/rs6000.c (rs6000_parallel_return): New function.
1160 (rs6000_function_value): Use it. Handle SCmode and TCmode as well,
1161 for TARGET_32BIT && TARGET_POWERPC64. Fix another BITS_PER_WORD
1163 (rs6000_libcall_value): Use the new function.
1165 2015-01-17 Sandra Loosemore <sandra@codesourcery.com>
1167 * doc/invoke.texi ([-ftracer]): Remove duplicate option listing.
1169 2015-01-17 Eric Botcazou <ebotcazou@adacore.com>
1171 * reorg.c (fill_simple_delay_slots): If TARGET_FLAGS_REGNUM is valid,
1172 implement a more precise life analysis for it during backward scan.
1174 2015-01-17 Jan Kratochvil <jan.kratochvil@redhat.com>
1176 * dwarf2out.c (gen_producer_string): Ignore also OPT_fpreprocessed.
1178 2015-01-17 Bernd Schmidt <bernds@codesourcery.com>
1180 PR rtl-optimization/52773
1181 * calls.c (emit_library_call_value): When pushing arguments use
1182 stack_pointer_rtx rather than virtual_outgoing_args_rtx in
1183 CALL_INSN_FUNCTION_USAGE. Only emit one of use of the magic
1184 stack pointer reference into CALL_INSN_FUNCTION_USAGE.
1186 2015-01-17 Jeff Law <law@redhat.com>
1188 PR rtl-optimization/32790
1189 * reginfo.c (reg_scan_mark_refs): Look for ZERO_EXTRACT,
1190 not ZERO_EXTEND in SET_DESTs.
1192 2015-01-17 Alan Modra <amodra@gmail.com>
1194 * cprop.c (do_local_cprop): Revert last change.
1196 2015-01-16 DJ Delorie <dj@redhat.com>
1197 Nick Clifton <nickc@redhat.com>
1199 * config/rl78/rl78-real.md (addqi3_real): Allow volatiles.
1200 (addhi3_real): Likewise. Fix [HL+0] syntax.
1201 (subqi3_real): Likewise.
1202 (subhi3_real): Likewise.
1203 (cbranchqi4_real): Likewise. Allow saddr,#imm.
1204 (cbranchhi4_real): Likewise.
1205 (cbranchhi4_real_inverted): Likewise.
1206 (cbranchsi4_real_lt): Likewise.
1207 (cbranchsi4_real_ge): Likewise.
1208 (cbranchsi4_real_ge): Likewise.
1209 * config/rl78/rl78-virt.md (add<mode>3_virt): Likewise.
1210 (sub<mode>3_virt): Likewise.
1211 (cbranchqi4_virt): Likewise.
1212 (cbranchhi4_virt): Likewise.
1213 * config/rl78/rl78.c (rl78_print_operand_1): 'p' modifier means
1214 always use '[reg+imm]' even when imm is zero.
1215 * config/rl78/predicates.md (rl78_volatile_memory_operand): New.
1216 (rl78_general_operand): New.
1217 (rl78_nonimmediate_operand): New.
1218 (rl78_nonfar_operand): Use them.
1219 (rl78_nonfar_nonimm_operand): Likewise.
1220 (rl78_stack_based_mem): Fix.
1221 * config/rl78/constraints.md (Ibqi): New.
1226 * config/rl78/rl78-expand.md (andqi3): Accept volatiles.
1229 * config/rl78/rl78-protos.h (rl78_sfr_p): New.
1231 * config/rl78/constrains (Qs8): New constraint.
1232 * config/rl78/rl78.c (rl78_flags_already_set): New function.
1233 * config/rl78/rl78-protos.h (rl78_flags_already_set): New prototype.
1234 * config/rl78/rl78-real.md (update_Z): New attribute.
1235 Update patterns to set it.
1236 (cbranchqi4_real): Call rl78_flags_already_set() to determine if a
1237 shorter compare and branch sequence can be used.
1238 (cbranchhi4_real): Likewise.
1239 (cbranchhi4_real_inverted): Likewise.
1241 * config/rl78/predicates.md (uword_operand): Allow symbol_refs.
1242 * config/rl78/rl78-c.c (rl78_register_pragmas): Register __near
1244 * config/rl78/rl78.c (rl78_get_name_encoding): New.
1245 (rl78_option_override): Allow -mes0 only if C.
1246 (characterize_address): Support subregs of symbol_refs.
1247 (rl78_addr_space_address_mode): Move. Add __near.
1248 (rl78_far_p): Likewise.
1249 (rl78_addr_space_pointer_mode): Likewise.
1250 (rl78_as_legitimate_address): Likewise.
1251 (rl78_addr_space_subset_p): Likewise.
1252 (rl78_addr_space_convert): Likewise.
1253 (rl78_print_operand_1): Support 16-bit addressing of 32-bit
1255 (transcode_memory_rtx): Don't copy ES if -mes0. Allow symbol[BC]
1257 (rl78_alloc_physical_registers_op1): Change logic to prefer
1258 symbol[BC] addressing.
1259 (frodata_section): New.
1260 (rl78_asm_init_sections): Initialize it.
1261 (rl78_select_section): Put __far readonly symbols in .frodata.
1262 (rl78_make_type_far): New.
1263 (rl78_insert_attributes): Force all readonly symbols to be __far when -mes0.
1264 (rl78_asm_out_integer): New.
1265 * config/rl78/rl78.h (ADDR_SPACE_NEAR): New.
1266 * config/rl78/rl78.opt (-mes0): New.
1268 * config/rl78/rl78.h (ASM_OUTPUT_LABELREF): New.
1269 (ASM_OUTPUT_ALIGNED_DECL_COMMON): New.
1270 (ASM_OUTPUT_ALIGNED_DECL_LOCAL): New.
1271 * config/rl78/rl78-protos.h (rl78_output_labelref): New.
1272 (rl78_saddr_p): New.
1273 (rl78_output_aligned_common): New.
1274 * config/rl78/rl78.c (rl78_output_symbol_ref): Strip encodings.
1275 (rl78_handle_saddr_attribute): New.
1276 (rl78_handle_naked_attribute): New.
1277 (rl78_attribute_table): Add saddr.
1278 (rl78_print_operand_1): Don't print '!' on saddr operands.
1279 (rl78_print_operand_1): Strip encodings.
1281 (rl78_strip_name_encoding): New.
1282 (rl78_attrlist_to_encoding): New.
1283 (rl78_encode_section_info): New.
1284 (rl78_asm_init_sections): New.
1285 (rl78_select_section): New.
1286 (rl78_output_labelref): New.
1287 (rl78_output_aligned_common): New.
1288 (rl78_asm_out_integer): New.
1289 (rl78_asm_ctor_dtor): New.
1290 (rl78_asm_constructor): New.
1291 (rl78_asm_destructor): New.
1293 * config/rl78/rl78-real.md (movqi_es): Rename to movqi_to_es.
1294 * config/rl78/rl78.c (rl78_expand_epilogue): Update.
1295 (transcode_memory_rtx): Update.
1296 (rl78_expand_epilogue): Use A_REG instead of 0.
1298 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
1300 * config/arm/arm-protos.h (struct tune_params): New field
1301 sched_autopref_queue_depth.
1302 * config/arm/arm.c (sched-int.h): Include header.
1303 (arm_first_cycle_multipass_dfa_lookahead_guard,)
1304 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD): Define hook.
1305 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,)
1306 (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,)
1307 (arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,)
1308 (arm_cortex_a53_tune, arm_cortex_a57_tune, arm_xgene1_tune,)
1309 (arm_cortex_a5_tune, arm_cortex_a9_tune, arm_cortex_a12_tune,)
1310 (arm_v7m_tune, arm_cortex_m7_tune, arm_v6m_tune, arm_fa726te_tune):
1311 Specify sched_autopref_queue_depth value. Enabled for A15 and A57.
1312 * config/arm/t-arm (arm.o): Update.
1313 * haifa-sched.c (update_insn_after_change): Update.
1314 (rank_for_schedule): Use auto-prefetcher model, if requested.
1315 (autopref_multipass_init): New static function.
1316 (autopref_rank_for_schedule): New rank_for_schedule heuristic.
1317 (autopref_multipass_dfa_lookahead_guard_started_dump_p): New static
1318 variable for debug dumps.
1319 (autopref_multipass_dfa_lookahead_guard_1): New static helper function.
1320 (autopref_multipass_dfa_lookahead_guard): New global function that
1321 implements TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD_GUARD hook.
1322 (init_h_i_d): Update.
1323 * params.def (PARAM_SCHED_AUTOPREF_QUEUE_DEPTH): New tuning knob.
1324 * sched-int.h (enum autopref_multipass_data_status): New const enum.
1325 (autopref_multipass_data_): Structure for auto-prefetcher data.
1326 (autopref_multipass_data_def, autopref_multipass_data_t): New typedefs.
1327 (struct _haifa_insn_data:autopref_multipass_data): New field.
1328 (INSN_AUTOPREF_MULTIPASS_DATA): New access macro.
1329 (autopref_multipass_dfa_lookahead_guard): Declare.
1331 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
1333 * rtlanal.c (get_base_term): Handle SCRATCH.
1335 2015-01-17 Maxim Kuvyrkov <maxim.kuvyrkov@linaro.org>
1337 * config/aarch64/aarch64.c
1338 (aarch64_sched_first_cycle_multipass_dfa_lookahead): Implement hook.
1339 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
1341 (arm_first_cycle_multipass_dfa_lookahead): Implement hook.
1342 (TARGET_SCHED_FIRST_CYCLE_MULTIPASS_DFA_LOOKAHEAD): Define.
1344 2015-01-17 Alan Modra <amodra@gmail.com>
1346 * cprop.c (do_local_cprop): Disallow replacement of fixed
1349 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1352 * config/arm/arm-builtins.c (arm_expand_neon_args): Call va_end before
1355 2015-01-16 Bernd Edlinger <bernd.edlinger@hotmail.de>
1357 * sanitizer.def (BUILT_IN_TSAN_VPTR_UPDATE): Fixed parameters.
1358 * tsan.c (instrument_expr): Fixed parameters of __tsan_vptr_update.
1360 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1362 * config/arm/arm.md: Move comment about splitting Thumb1 patterns to...
1363 * config/arm/thumb1.md: ... Here.
1365 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
1367 * config/rs6000/rs6000.c (rs6000_scalar_mode_supported_p): Disallow
1368 TImode for TARGET_32BIT.
1370 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
1372 * config/rs6000/rs6000.c (TARGET_LIBGCC_CMP_RETURN_MODE,
1373 TARGET_LIBGCC_SHIFT_COUNT_MODE, TARGET_UNWIND_WORD_MODE): Implement
1375 (rs6000_abi_word_mode): New function.
1377 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
1379 * config/rs6000/rs6000.c (rs6000_va_start): Use MIN_UNITS_PER_WORD
1380 instead of UNITS_PER_WORD to describe the size of stack slots.
1382 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
1384 * config/rs6000/rs6000.c (TARGET_PROMOTE_FUNCTION_MODE): Implement
1385 as rs6000_promote_function_mode. Move comment to there.
1386 (rs6000_promote_function_mode): New function.
1388 2015-01-16 Segher Boessenkool <segher@kernel.crashing.org>
1390 * config/rs6000/rs6000.h (PROMOTE_MODE): Correct test for when -m32
1391 -mpowerpc64 is active.
1393 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
1396 * tree-cfg.c (pass_data_fixup_cfg): Update SSA for
1399 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
1401 * config/arm/cortex-a57.md: Remove duplicate of file accidentally
1402 introduced in revision 219724.
1404 2015-01-16 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1405 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
1408 * config/aarch64/aarch64.md (*movsi_aarch64): Don't split if the
1409 destination is not a GP reg.
1410 (*movdi_aarch64): Likewise.
1412 2015-01-16 David Edelsohn <dje.gcc@gmail.com>
1415 * config/rs6000/default64.h: Revert ISA change.
1417 2015-01-16 Richard Biener <rguenther@suse.de>
1420 * tree-ssa-uninit.c: Include tree-cfg.h.
1421 (MAX_SWITCH_CASES): New define.
1422 (convert_control_dep_chain_into_preds): Handle switch statements.
1423 (is_pred_expr_subset_of): Handle x == CST vs. (x & CST) != 0.
1424 (normalize_one_pred_1): Do not split bit-manipulations.
1427 2015-01-16 Richard Biener <rguenther@suse.de>
1429 PR tree-optimization/64568
1430 * tree-ssa-forwprop.c (pass_forwprop::execute): Guard
1431 complex load rewriting for TARGET_MEM_REFs.
1433 2015-01-16 Uros Bizjak <ubizjak@gmail.com>
1435 * builtins.c (expand_builtin_acc_on_device): Check target for NULL.
1437 2015-01-16 Matthew Wahab <matthew.wahab@arm.com>
1440 * config/aarch64/aarch64.opt: Remove lra option and aarch64_lra_flag
1442 * config/aarch64/aarch64.c (TARGET_LRA_P): Set to hook_bool_void_true.
1443 (aarch64_lra_p): Remove.
1445 2015-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
1448 * ipa-chkp.h (chkp_instrumentable_p): New.
1449 * ipa-chkp.c: Include tree-inline.h.
1450 (chkp_instrumentable_p): New.
1451 (chkp_maybe_create_clone): Use chkp_instrumentable_p.
1452 Fix processing of not instrumentable functions.
1453 (chkp_versioning): Use chkp_instrumentable_p. Warn about
1454 not instrumentable functions.
1455 * tree-chkp.c (chkp_add_bounds_to_call_stmt): Use
1456 chkp_instrumentable_p.
1457 * tree-inline.h (copy_forbidden): New.
1458 * tree-inline.c (copy_forbidden): Not static anymore.
1460 2015-01-16 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1462 * optc-save-gen.awk (cl_target_option_print_diff): Mark indent,
1465 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
1467 * lra-constraints.c (curr_insn_transform): Change a reload pseudo of
1468 type OP_OUT to OP_INOUT.
1470 2015-01-16 Robert Suchanek <robert.suchanek@imgtec.com>
1472 * simplify-rtx.c (simplify_replace_fn_rtx): Simplify (lo_sum
1473 (high x) y) to y if x and y have the same base.
1475 2015-01-16 James Greenhalgh <james.greenhalgh@arm.com>
1477 * config/arm/cortex-a57.md: New.
1478 * config/aarch64/aarch64.md: Include it.
1479 * config/aarch64/aarch64-cores.def (cortex-a57): Tune for it.
1480 * config/aarch64/aarch64-tune.md: Regenerate.
1482 2015-01-16 Zhenqiang Chen <zhenqiang.chen@arm.com>
1485 * ccmp.c (expand_ccmp_next): New function.
1486 (expand_ccmp_expr_1, expand_ccmp_expr): Handle operand insn sequence
1487 and compare insn sequence.
1488 * config/aarch64/aarch64.c (aarch64_code_to_ccmode,
1489 aarch64_gen_ccmp_first, aarch64_gen_ccmp_next): New functions.
1490 (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): New MICRO.
1491 * config/aarch64/aarch64.md (*ccmp_and): Changed to ccmp_and<mode>.
1492 (*ccmp_ior): Changed to ccmp_ior<mode>.
1493 (cmp<mode>): New pattern.
1494 * doc/tm.texi (TARGET_GEN_CCMP_FIRST, TARGET_GEN_CCMP_NEXT): Update
1496 * target.def (gen_ccmp_first, gen_ccmp_next): Update parameters.
1498 2015-01-16 Ilya Tocar <ilya.tocar@intel.com>
1500 * config/i386/avx2intrin.h (_mm256_bslli_epi128,
1501 _mm256_bsrli_epi128): New.
1502 * config/i386/emmintrin.h (_mm_bsrli_si128, _mm_bslli_si128): Ditto.
1504 2015-01-15 Jiong Wang <jiong.wang@arm.com>
1506 * expmed.c (store_bit_field_using_insv): Improve warning message.
1507 Use %wu instead of HOST_WIDE_INT_PRINT_UNSIGNED.
1509 2015-01-15 Jiong Wang <jiong.wang@arm.com>
1511 PR rtl-optimization/64011
1512 * expmed.c (store_bit_field_using_insv): Warn and truncate bitsize when
1513 there is partial overflow.
1515 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1517 * config/nds32/nds32-protos.h (nds32_expand_epilogue): Change
1519 (nds32_expand_epilogue_v3pop): Likewise.
1520 * config/nds32/nds32.md (sibcall): Define this for sibling call
1522 (sibcall_register): Likewise.
1523 (sibcall_immediate): Likewise.
1524 (sibcall_value): Likewise.
1525 (sibcall_value_register): Likewise.
1526 (sibcall_value_immediate): Likewise.
1527 (sibcall_epilogue): Likewise.
1528 (epilogue): Pass false to indicate this is not a sibcall epilogue.
1529 * config/nds32/nds32.c (nds32_expand_epilogue): Consider sibcall case.
1530 (nds32_expand_epilogue_v3pop): Likewise.
1532 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1534 * config/nds32/nds32-protos.h (nds32_can_use_return_insn): New.
1535 * config/nds32/nds32.md (unspec_volatile_func_return): Remove.
1536 (return_internal): New.
1537 (return): Define this named pattern.
1538 (simple_return): Define this named pattern.
1539 * config/nds32/nds32.c (nds32_expand_epilogue): Emit return_internal
1540 pattern instead of unspec_volatile_func_return.
1541 (nds32_expand_epilogue_v3pop): Likewise.
1542 (nds32_can_use_return_insn): New function.
1544 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1546 * config/nds32/constants.md (UNSPEC_VOLATILE_POP25_RETURN): New.
1547 * config/nds32/nds32.md (pop25return): New.
1548 * config/nds32/nds32.c (nds32_expand_epilogue_v3pop): Emit
1549 pop25return pattern.
1551 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1553 * doc/invoke.texi (NDS32 Options): Remove -mforce-fp-as-gp,
1554 -mforbid-fp-as-gp, and -mex9 options.
1556 2015-01-16 Chung-Ju Wu <jasonwucj@gmail.com>
1558 * doc/invoke.texi (NDS32 Options): Add -mcmodel= option and
1559 remove -mgp-direct option.
1561 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1563 * doc/invoke.texi (--param early-inlining-insns): Update default value.
1564 * params.def (PARAM_EARLY_INLINING_INSNS): Set to 14.
1566 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1568 * ipa-inline.c (inline_small_functions): Work around hints
1571 2015-01-15 Sandra Loosemore <sandra@codesourcery.com>
1574 * doc/invoke.texi (Option Summary): Document new Nios II
1576 (Nios II Options): Likewise.
1577 * config/nios2/nios2.opt: Add -mgpopt= option support.
1578 Modify existing -mgpopt and -mno-gpopt options to be aliases.
1579 * config/nios2/nios2-opts.h (enum nios2_gpopt_type): New.
1580 * config/nios2/nios2.c (nios2_option_override): Adjust
1582 (nios2_in_small_data_p): Return true for explicit small data
1583 sections even with -G0.
1584 (nios2_symbol_ref_in_small_data_p): Adjust to handle new -mgpopt=
1587 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1590 * ipa-inline-transform.c (can_remove_node_now_p): Fix handling
1592 (inline_call): Fix removal of aliases.
1594 2015-01-15 Jakub Jelinek <jakub@redhat.com>
1596 * flag-types.h (enum sanitize_code): Add SANITIZE_VPTR,
1597 include SANITIZE_VPTR in SANITIZE_UNDEFINED.
1598 * opts.c (common_handle_option): Add -fsanitize=vptr.
1599 * sanitizer.def (BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS,
1600 BUILT_IN_UBSAN_HANDLE_DYNAMIC_TYPE_CACHE_MISS_ABORT): New.
1601 * ubsan.h (enum ubsan_null_ckind): Add UBSAN_DOWNCAST_POINTER,
1602 UBSAN_DOWNCAST_REFERENCE, UBSAN_UPCAST and UBSAN_CAST_TO_VBASE.
1603 (ubsan_expand_vptr_ifn): New prototype.
1604 * internal-fn.c (expand_ANNOTATE, expand_GOMP_SIMD_LANE,
1605 expand_GOMP_SIMD_VF, expand_GOMP_SIMD_LAST_LANE, expand_UBSAN_NULL,
1606 expand_UBSAN_BOUNDS, expand_UBSAN_OBJECT_SIZE, expand_ASAN_CHECK,
1607 expand_LOOP_VECTORIZED): Make argument nameless, remove
1609 (expand_UBSAN_VPTR): New function.
1610 * internal-fn.def (UBSAN_NULL, ASAN_CHECK): Use R instead of W
1612 (UBSAN_VPTR): New internal function.
1613 * sanopt.c (tree_map_traits): Renamed to ...
1614 (sanopt_tree_map_traits): ... this.
1615 (sanopt_tree_triplet, sanopt_tree_triplet_map_traits): New classes.
1616 (sanopt_ctx): Adjust asan_check_map type for tree_map_traits
1617 to sanopt_tree_map_traits renaming. Add vptr_check_map field.
1618 (maybe_optimize_ubsan_vptr_ifn): New function.
1619 (sanopt_optimize_walker): Handle IFN_UBSAN_VPTR.
1620 (pass_sanopt::execute): Likewise. Call sanopt_optimize even for
1622 * tree-ssa-alias.c (call_may_clobber_ref_p_1): Handle certain
1623 internal calls like pure functions for aliasing, even when they
1624 have other side-effects that prevent making them ECF_PURE.
1625 * ubsan.c (ubsan_vptr_type_cache_decl): New variable.
1626 (ubsan_expand_vptr_ifn): New function.
1628 2015-01-15 Vladimir Makarov <vmakarov@redhat.com>
1630 PR rtl-optimization/64110
1631 * stmt.c (parse_output_constraint): Process '^' and '$'.
1632 (parse_input_constraint): Ditto.
1633 * lra-constraints.c (process_alt_operands): Process the new
1635 * ira-costs.c (record_reg_classes): Process the new constraint
1637 * genoutput.c (indep_constraints): Add '^' and '$'.
1638 * config/i386/sse.md (*vec_dup<mode>): Use '$' instead of '!'.
1639 * doc/md.texi: Add description of the new constraints.
1641 2015-01-15 Thomas Schwinge <thomas@codesourcery.com>
1642 Bernd Schmidt <bernds@codesourcery.com>
1643 Cesar Philippidis <cesar@codesourcery.com>
1644 James Norris <jnorris@codesourcery.com>
1645 Tom de Vries <tom@codesourcery.com>
1646 Ilmir Usmanov <i.usmanov@samsung.com>
1647 Dmitry Bocharnikov <dmitry.b@samsung.com>
1648 Evgeny Gavrin <e.gavrin@samsung.com>
1649 Jakub Jelinek <jakub@redhat.com>
1651 * builtin-types.def (BT_FN_VOID_INT_INT_VAR)
1652 (BT_FN_VOID_INT_PTR_SIZE_PTR_PTR_PTR_INT_INT_VAR)
1653 (BT_FN_VOID_INT_OMPFN_PTR_SIZE_PTR_PTR_PTR_INT_INT_INT_INT_INT_VAR):
1655 * builtins.c: Include "gomp-constants.h".
1656 (expand_builtin_acc_on_device): New function.
1657 (expand_builtin, is_inexpensive_builtin): Handle
1658 BUILT_IN_ACC_ON_DEVICE.
1659 * builtins.def (DEF_GOACC_BUILTIN, DEF_GOACC_BUILTIN_COMPILER):
1661 * cgraph.c (cgraph_node::create): Consider flag_openacc next to
1663 * config.gcc <nvptx-*> (tm_file): Add nvptx/offload.h.
1664 <*-intelmic-* | *-intelmicemul-*> (tm_file): Add
1665 i386/intelmic-offload.h.
1666 * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): For -fopenacc, link
1667 to libgomp and its dependencies.
1668 * config/arc/arc.h (LINK_COMMAND_SPEC): Likewise.
1669 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
1670 * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
1671 * config/ia64/hpux.h (LIB_SPEC): Likewise.
1672 * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
1673 * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
1674 * doc/generic.texi: Update for OpenACC changes.
1675 * doc/gimple.texi: Likewise.
1676 * doc/invoke.texi: Likewise.
1677 * doc/sourcebuild.texi: Likewise.
1678 * gimple-pretty-print.c (dump_gimple_omp_for): Handle
1679 GF_OMP_FOR_KIND_OACC_LOOP.
1680 (dump_gimple_omp_target): Handle GF_OMP_TARGET_KIND_OACC_KERNELS,
1681 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_DATA,
1682 GF_OMP_TARGET_KIND_OACC_UPDATE,
1683 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
1685 * gimple.c: Update comments for OpenACC changes.
1686 * gimple.def: Likewise.
1687 * gimple.h: Likewise.
1688 (enum gf_mask): Add GF_OMP_FOR_KIND_OACC_LOOP,
1689 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
1690 GF_OMP_TARGET_KIND_OACC_DATA, GF_OMP_TARGET_KIND_OACC_UPDATE,
1691 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA.
1692 (gimple_omp_for_cond, gimple_omp_for_set_cond): Sort in the
1694 (is_gimple_omp_oacc, is_gimple_omp_offloaded): New functions.
1695 * gimplify.c: Include "gomp-constants.h".
1696 Update comments for OpenACC changes.
1697 (is_gimple_stmt): Handle OACC_PARALLEL, OACC_KERNELS, OACC_DATA,
1698 OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE, OACC_ENTER_DATA,
1699 OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
1700 (gimplify_scan_omp_clauses, gimplify_adjust_omp_clauses): Handle
1701 OMP_CLAUSE__CACHE_, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
1702 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
1703 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_GANG, OMP_CLAUSE_WORKER,
1704 OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
1705 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE_INDEPENDENT, OMP_CLAUSE_AUTO,
1707 (gimplify_adjust_omp_clauses_1, gimplify_adjust_omp_clauses): Use
1708 GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
1709 OMP_CLAUSE_SET_MAP_KIND.
1710 (gimplify_oacc_cache): New function.
1711 (gimplify_omp_for): Handle OACC_LOOP.
1712 (gimplify_omp_workshare): Handle OACC_KERNELS, OACC_PARALLEL,
1714 (gimplify_omp_target_update): Handle OACC_ENTER_DATA,
1715 OACC_EXIT_DATA, OACC_UPDATE.
1716 (gimplify_expr): Handle OACC_LOOP, OACC_CACHE, OACC_HOST_DATA,
1717 OACC_DECLARE, OACC_KERNELS, OACC_PARALLEL, OACC_DATA,
1718 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE.
1719 (gimplify_body): Consider flag_openacc next to flag_openmp.
1720 * lto-streamer-out.c: Include "gomp-constants.h".
1721 * omp-builtins.def (BUILT_IN_ACC_GET_DEVICE_TYPE)
1722 (BUILT_IN_GOACC_DATA_START, BUILT_IN_GOACC_DATA_END)
1723 (BUILT_IN_GOACC_ENTER_EXIT_DATA, BUILT_IN_GOACC_PARALLEL)
1724 (BUILT_IN_GOACC_UPDATE, BUILT_IN_GOACC_WAIT)
1725 (BUILT_IN_GOACC_GET_THREAD_NUM, BUILT_IN_GOACC_GET_NUM_THREADS)
1726 (BUILT_IN_ACC_ON_DEVICE): New builtins.
1727 * omp-low.c: Include "gomp-constants.h".
1728 Update comments for OpenACC changes.
1729 (struct omp_context): Add reduction_map, gwv_below, gwv_this
1731 (extract_omp_for_data, use_pointer_for_field, install_var_field)
1732 (new_omp_context, delete_omp_context, scan_sharing_clauses)
1733 (create_omp_child_function, scan_omp_for, scan_omp_target)
1734 (check_omp_nesting_restrictions, lower_reduction_clauses)
1735 (build_omp_regions_1, diagnose_sb_0, make_gimple_omp_edges):
1736 Update for OpenACC changes.
1737 (scan_sharing_clauses): Handle OMP_CLAUSE_NUM_GANGS:
1738 OMP_CLAUSE_NUM_WORKERS: OMP_CLAUSE_VECTOR_LENGTH,
1739 OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT, OMP_CLAUSE_GANG,
1740 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_DEVICE_RESIDENT,
1741 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_INDEPENDENT,
1742 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ. Use GOMP_MAP_* instead of
1744 (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
1745 Handle GF_OMP_FOR_KIND_OACC_LOOP.
1746 (expand_omp_target, lower_omp_target): Handle
1747 GF_OMP_TARGET_KIND_OACC_PARALLEL, GF_OMP_TARGET_KIND_OACC_KERNELS,
1748 GF_OMP_TARGET_KIND_OACC_UPDATE,
1749 GF_OMP_TARGET_KIND_OACC_ENTER_EXIT_DATA,
1750 GF_OMP_TARGET_KIND_OACC_DATA.
1751 (pass_expand_omp::execute, execute_lower_omp)
1752 (pass_diagnose_omp_blocks::gate): Consider flag_openacc next to
1754 (offload_symbol_decl): New variable.
1755 (oacc_get_reduction_array_id, oacc_max_threads)
1756 (get_offload_symbol_decl, get_base_type, lookup_oacc_reduction)
1757 (maybe_lookup_oacc_reduction, enclosing_target_ctx)
1758 (oacc_loop_or_target_p, oacc_lower_reduction_var_helper)
1759 (oacc_gimple_assign, oacc_initialize_reduction_data)
1760 (oacc_finalize_reduction_data, oacc_process_reduction_data): New
1762 (is_targetreg_ctx): Remove function.
1763 * tree-core.h (enum omp_clause_code): Add OMP_CLAUSE__CACHE_,
1764 OMP_CLAUSE_DEVICE_RESIDENT, OMP_CLAUSE_USE_DEVICE,
1765 OMP_CLAUSE_GANG, OMP_CLAUSE_ASYNC, OMP_CLAUSE_WAIT,
1766 OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ, OMP_CLAUSE_INDEPENDENT,
1767 OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR, OMP_CLAUSE_NUM_GANGS,
1768 OMP_CLAUSE_NUM_WORKERS, OMP_CLAUSE_VECTOR_LENGTH.
1769 * tree.c (omp_clause_code_name, walk_tree_1): Update accordingly.
1770 * tree.h (OMP_CLAUSE_GANG_EXPR, OMP_CLAUSE_GANG_STATIC_EXPR)
1771 (OMP_CLAUSE_ASYNC_EXPR, OMP_CLAUSE_WAIT_EXPR)
1772 (OMP_CLAUSE_VECTOR_EXPR, OMP_CLAUSE_WORKER_EXPR)
1773 (OMP_CLAUSE_NUM_GANGS_EXPR, OMP_CLAUSE_NUM_WORKERS_EXPR)
1774 (OMP_CLAUSE_VECTOR_LENGTH_EXPR): New macros.
1775 * tree-core.h: Update comments for OpenACC changes.
1776 (enum omp_clause_map_kind): Remove.
1777 (struct tree_omp_clause): Change type of map_kind member from enum
1778 omp_clause_map_kind to unsigned char.
1779 * tree-inline.c: Update comments for OpenACC changes.
1780 * tree-nested.c: Likewise. Include "gomp-constants.h".
1781 (convert_nonlocal_reference_stmt, convert_local_reference_stmt)
1782 (convert_tramp_reference_stmt, convert_gimple_call): Update for
1783 OpenACC changes. Use GOMP_MAP_* instead of OMP_CLAUSE_MAP_*. Use
1784 OMP_CLAUSE_SET_MAP_KIND.
1785 * tree-pretty-print.c: Include "gomp-constants.h".
1786 (dump_omp_clause): Handle OMP_CLAUSE_DEVICE_RESIDENT,
1787 OMP_CLAUSE_USE_DEVICE, OMP_CLAUSE__CACHE_, OMP_CLAUSE_GANG,
1788 OMP_CLAUSE_ASYNC, OMP_CLAUSE_AUTO, OMP_CLAUSE_SEQ,
1789 OMP_CLAUSE_WAIT, OMP_CLAUSE_WORKER, OMP_CLAUSE_VECTOR,
1790 OMP_CLAUSE_NUM_GANGS, OMP_CLAUSE_NUM_WORKERS,
1791 OMP_CLAUSE_VECTOR_LENGTH, OMP_CLAUSE_INDEPENDENT. Use GOMP_MAP_*
1792 instead of OMP_CLAUSE_MAP_*.
1793 (dump_generic_node): Handle OACC_PARALLEL, OACC_KERNELS,
1794 OACC_DATA, OACC_HOST_DATA, OACC_DECLARE, OACC_UPDATE,
1795 OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_CACHE, OACC_LOOP.
1796 * tree-streamer-in.c: Include "gomp-constants.h".
1797 (unpack_ts_omp_clause_value_fields) Use GOMP_MAP_* instead of
1798 OMP_CLAUSE_MAP_*. Use OMP_CLAUSE_SET_MAP_KIND.
1799 * tree-streamer-out.c: Include "gomp-constants.h".
1800 (pack_ts_omp_clause_value_fields): Use GOMP_MAP_* instead of
1802 * tree.def (OACC_PARALLEL, OACC_KERNELS, OACC_DATA)
1803 (OACC_HOST_DATA, OACC_LOOP, OACC_CACHE, OACC_DECLARE)
1804 (OACC_ENTER_DATA, OACC_EXIT_DATA, OACC_UPDATE): New tree codes.
1805 * tree.c (omp_clause_num_ops): Update accordingly.
1806 * tree.h (OMP_BODY, OMP_CLAUSES, OMP_LOOP_CHECK, OMP_CLAUSE_SIZE):
1808 (OACC_PARALLEL_BODY, OACC_PARALLEL_CLAUSES, OACC_KERNELS_BODY)
1809 (OACC_KERNELS_CLAUSES, OACC_DATA_BODY, OACC_DATA_CLAUSES)
1810 (OACC_HOST_DATA_BODY, OACC_HOST_DATA_CLAUSES, OACC_CACHE_CLAUSES)
1811 (OACC_DECLARE_CLAUSES, OACC_ENTER_DATA_CLAUSES)
1812 (OACC_EXIT_DATA_CLAUSES, OACC_UPDATE_CLAUSES)
1813 (OACC_KERNELS_COMBINED, OACC_PARALLEL_COMBINED): New macros.
1814 * tree.h (OMP_CLAUSE_MAP_KIND): Cast it to enum gomp_map_kind.
1815 (OMP_CLAUSE_SET_MAP_KIND): New macro.
1816 * varpool.c (varpool_node::get_create): Consider flag_openacc next
1818 * config/i386/intelmic-offload.h: New file.
1819 * config/nvptx/offload.h: Likewise.
1821 2015-01-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
1823 * explow.h: Remove duplicate contents.
1824 * dojump.h: Likewise.
1826 2015-01-15 Richard Earnshaw <rearnsha@arm.com>
1828 * arm.c (arm_xgene_tune): Add default initializer for instruction
1831 2015-01-15 Jan Hubicka <hubicka@ucw.cz>
1835 * ipa.c (symbol_table::remove_unreachable_nodes):
1836 Do not put abstract origins into boundary.
1838 2015-01-15 Evgeny Stupachenko <evstupac@gmail.com>
1840 * config/i386/gnu-user.h (CRT_GET_RFIB_DATA): Remove EBX register usage.
1841 * config/i386/sysv4.h (CRT_GET_RFIB_DATA): Ditto.
1843 2015-01-15 Steve Ellcey <sellcey@mips.com>
1845 * Makefile.in (PLUGIN_HEADERS): Add dominance.h, cfg.h, cfgrtl.h,
1846 cfganal.h, cfgbuild.h, cfgcleanup.h, lcm.h, cfgloopmanip.h,
1847 builtins.def, and chkp-builtins.def.
1849 2015-01-15 David Edelsohn <dje.gcc@gmail.com>
1851 * config/rs6000/default64.h (TARGET_DEFAULT) [LITTLE_ENDIAN]: Use
1854 2015-01-15 Richard Biener <rguenther@suse.de>
1856 PR tree-optimization/61743
1857 * tree-ssa-pre.c (insert_into_preds_of_block): Preserve range
1858 information on PHIs for some simple cases.
1860 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1862 * config/arm/arm.md (generic_sched): Specify xgene1 in 'no' list.
1864 * config/arm/arm.c (arm_issue_rate): Specify 4 for xgene1.
1865 * config/arm/arm-cores.def (xgene1): New entry.
1866 * config/arm/arm-tables.opt: Regenerate.
1867 * config/arm/arm-tune.md: Regenerate.
1868 * config/arm/bpabi.h (BE8_LINK_SPEC): Specify mcpu=xgene1.
1870 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
1872 * tree-if-conv.c: Include hash-map.h.
1873 (aggressive_if_conv): New variable.
1874 (fold_build_cond_expr): Add simplification of non-zero condition.
1875 (add_to_dst_predicate_list): Invoke add_to_predicate_list if edge
1876 destination block is not always executed.
1877 (if_convertible_phi_p): Fix commentary, allow phi nodes have more
1878 than two predecessors if AGGRESSIVE_IF_CONV is true.
1879 (if_convertible_stmt_p): Fix commentary.
1880 (all_preds_critical_p): New function.
1881 (has_pred_critical_p): New function.
1882 (if_convertible_bb_p): Fix commentary, if AGGRESSIVE_IF_CONV is true
1883 BB can have more than two predecessors and all incoming edges can be
1885 (predicate_bbs): Skip predication for loop exit block, use build2_loc
1886 to compute predicate for true edge.
1887 (find_phi_replacement_condition): Delete this function.
1888 (is_cond_scalar_reduction): Add arguments ARG_0, ARG_1 and EXTENDED.
1889 Allow interchange PHI arguments if EXTENDED is false.
1890 Change check that block containing reduction statement candidate
1891 is predecessor of phi-block since phi may have more than two arguments.
1892 (phi_args_hash_traits): New helper structure.
1893 (struct phi_args_hash_traits): New type.
1894 (phi_args_hash_traits::hash): New function.
1895 (phi_args_hash_traits::equal_keys): New function.
1896 (gen_phi_arg_condition): New function.
1897 (predicate_scalar_phi): Add handling of phi nodes with more than two
1898 arguments, delete COND and TRUE_BB arguments, insert body of
1899 find_phi_replacement_condition to predicate ordinary phi nodes.
1900 (predicate_all_scalar_phis): Skip blocks with the only predecessor,
1901 delete call of find_phi_replacement_condition and invoke
1902 predicate_scalar_phi with two arguments.
1903 (insert_gimplified_predicates): Add assert that non-predicated block
1904 don't have statements to insert.
1905 (ifcvt_split_critical_edges): New function.
1906 (ifcvt_split_def_stmt): Likewise.
1907 (ifcvt_walk_pattern_tree): Likewise.
1908 (stmt_is_root_of_bool_pattern): Likewise.
1909 (ifcvt_repair_bool_pattern): Likewise.
1910 (ifcvt_local_dce): Likewise.
1911 (tree_if_conversion): Add initialization of AGGRESSIVE_IF_CONV which
1912 is copy of inner or outer loop force_vectorize field, invoke
1913 ifcvt_split_critical_edges, ifcvt_local_dce and
1914 ifcvt_repair_bool_pattern for aggressive if-conversion.
1916 2015-01-15 Philipp Tomsich <ptomsich@theobroma-systems.com>
1918 * config/aarch64/aarch64.md: Include xgene1.md.
1919 * config/aarch64/xgene1.md: New file.
1921 2015-01-15 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
1923 * config/aarch64/aarch64-cores.def (xgene1): Update/add the
1924 xgene1 (APM XGene-1) core definition.
1925 * gcc/config/aarch64/aarch64.c: Add cost tables for APM XGene-1
1926 * config/arm/aarch-cost-tables.h: Add cost tables for APM XGene-1
1927 * doc/invoke.texi: Document -mcpu=xgene1.
1929 2015-10-15 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
1931 * dojump.h: New header file.
1932 * explow.h: Likewise.
1933 * expr.h: Remove includes.
1934 Move expmed.c prototypes to expmed.h.
1935 Move dojump.c prototypes to dojump.h.
1936 Move alias.c prototypes to alias.h.
1937 Move explow.c prototypes to explow.h.
1938 Move calls.c prototypes to calls.h.
1939 Move emit-rtl.c prototypes to emit-rtl.h.
1940 Move varasm.c prototypes to varasm.h.
1941 Move stmt.c prototypes to stmt.h.
1942 (saved_pending_stack_adjust): Move to dojump.h.
1943 (adjust_address): Move to explow.h.
1944 (adjust_address_nv): Move to emit-rtl.h.
1945 (adjust_bitfield_address): Likewise.
1946 (adjust_bitfield_address_size): Likewise.
1947 (adjust_bitfield_address_nv): Likewise.
1948 (adjust_automodify_address_nv): Likewise.
1949 * explow.c (expr_size): Move to expr.c.
1950 (int_expr_size): Likewise.
1951 (tree_expr_size): Likewise.
1952 Include calls.h dojump.h emit-rtl.h explow.h expmed.h
1953 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
1954 * genemit.c (main): Generate includes statistics.h, real.h, fixed-value.h,
1955 insn-config.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
1956 * genopinit.c (main): Generate includes hashtab.h, hard-reg-set.h, function.h,
1957 statistics.h, real.h, fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h,
1959 * genoutput.c (main): Generate includes hashtab.h, statistics.h, real.h,
1960 fixed-value.h, expmed.h, dojump.h, explow.h, emit-rtl.h, stmt.h.
1961 * genemit.c (open_base_files): Generate includes flags.h, statistics.h, real.h,
1962 fixed-value.h, tree.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h,
1964 * config/tilepro/gen-mul-tables.cc: Generate includes hashtab.h, hash-set.h, vec.h,
1965 machmode.h, tm.h, hard-reg-set.h, input.h, function.h, rtl.h, flags.h, statistics.h,
1966 double-int.h, real.h, fixed-value.h, alias.h, wide-int.h, inchash.h, tree.h,
1967 insn-config.h, expmed.h, dojump.h, explow.h, calls.h, emit-rtl.h, varasm.h, stmt.h.
1968 * config/tilegx/mul-tables.c: Include alias.h calls.h dojump.h
1969 double-int.h emit-rtl.h explow.h expmed.h fixed-value.h flags.h
1970 function.h hard-reg-set.h hash-set.h hashtab.h inchash.h input.h
1971 insn-config.h machmode.h real.h rtl.h statistics.h stmt.h symtab.h
1972 tm.h tree.h varasm.h vec.h wide-int.h.
1973 * rtlhooks.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1974 explow.h expmed.h fixed-value.h flags.h function.h hard-reg-set.h
1975 hash-set.h hashtab.h inchash.h input.h insn-config.h machmode.h
1976 real.h statistics.h stmt.h tree.h varasm.h vec.h wide-int.h.
1977 * cfgloopanal.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1978 explow.h expmed.h fixed-value.h flags.h inchash.h insn-config.h
1979 real.h statistics.h stmt.h tree.h varasm.h wide-int.h.
1980 * loop-iv.c: Likewise.
1981 * lra-assigns.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1982 explow.h expmed.h fixed-value.h flags.h inchash.h real.h
1983 statistics.h stmt.h tree.h varasm.h wide-int.h.
1984 * lra-constraints.c: Likewise.
1985 * lra-eliminations.c: Likewise.
1986 * lra-lives.c: Likewise.
1987 * lra-remat.c: Likewise.
1988 * bt-load.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1989 explow.h expmed.h fixed-value.h inchash.h insn-config.h real.h
1990 statistics.h stmt.h tree.h varasm.h wide-int.h.
1991 * hw-doloop.c: Likewise.
1992 * ira-color.c: Likewise.
1993 * ira-emit.c: Likewise.
1994 * loop-doloop.c: Likewise.
1995 * loop-invariant.c: Likewise.
1996 * reload.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
1997 explow.h expmed.h fixed-value.h inchash.h real.h rtl.h
1998 statistics.h stmt.h tree.h varasm.h wide-int.h.
1999 * caller-save.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2000 explow.h expmed.h fixed-value.h inchash.h real.h statistics.h
2001 stmt.h tree.h varasm.h wide-int.h.
2002 * combine-stack-adj.c: Likewise.
2005 * ifcvt.c: Likewise.
2006 * ira-costs.c: Likewise.
2008 * lra-coalesce.c: Likewise.
2009 * lra-spills.c: Likewise.
2010 * profile.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2011 explow.h expmed.h fixed-value.h insn-config.h real.h statistics.h
2012 stmt.h varasm.h wide-int.h.
2013 * lra.c: Include alias.h calls.h dojump.h double-int.h emit-rtl.h
2014 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
2016 * config/sh/sh_treg_combine.cc: Include alias.h calls.h dojump.h
2017 double-int.h explow.h expmed.h fixed-value.h flags.h real.h
2018 statistics.h stmt.h varasm.h wide-int.h.
2019 * reorg.c: Include alias.h calls.h dojump.h double-int.h explow.h
2020 expmed.h fixed-value.h inchash.h real.h statistics.h stmt.h tree.h
2021 varasm.h wide-int.h.
2022 * reload1.c: Include alias.h calls.h dojump.h double-int.h explow.h
2023 expmed.h fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2024 * config/tilegx/tilegx.c: Include alias.h dojump.h double-int.h
2025 emit-rtl.h explow.h expmed.h fixed-value.h flags.h real.h
2026 statistics.h stmt.h.
2027 * config/tilepro/tilepro.c: Likewise.
2028 * config/mmix/mmix.c: Include alias.h dojump.h double-int.h emit-rtl.h
2029 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h.
2030 * config/pdp11/pdp11.c: Likewise.
2031 * config/xtensa/xtensa.c: Likewise.
2032 * config/lm32/lm32.c: Include alias.h dojump.h double-int.h emit-rtl.h
2033 explow.h expmed.h fixed-value.h real.h statistics.h stmt.h
2035 * tree-chkp.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2036 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
2037 insn-config.h real.h rtl.h statistics.h stmt.h tm.h.
2038 * cilk-common.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2039 fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
2040 insn-config.h real.h rtl.h statistics.h stmt.h tm.h varasm.h.
2041 * rtl-chkp.c: Likewise.
2042 * tree-chkp-opt.c: Likewise.
2043 * config/arm/arm-builtins.c: Include calls.h dojump.h emit-rtl.h explow.h
2044 expmed.h fixed-value.h flags.h function.h hard-reg-set.h hashtab.h
2045 insn-config.h real.h statistics.h stmt.h varasm.h.
2046 * ipa-icf.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2047 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
2048 statistics.h stmt.h.
2049 * tree-vect-data-refs.c: Likewise.
2050 * graphite-sese-to-poly.c: Include calls.h dojump.h emit-rtl.h explow.h
2051 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2052 rtl.h statistics.h stmt.h varasm.h.
2053 * internal-fn.c: Likewise.
2054 * ipa-icf-gimple.c: Likewise.
2055 * lto-section-out.c: Likewise.
2056 * tree-data-ref.c: Likewise.
2057 * tree-nested.c: Likewise.
2058 * tree-outof-ssa.c: Likewise.
2059 * tree-predcom.c: Likewise.
2060 * tree-pretty-print.c: Likewise.
2061 * tree-scalar-evolution.c: Likewise.
2062 * tree-ssa-strlen.c: Likewise.
2063 * tree-vect-loop.c: Likewise.
2064 * tree-vect-patterns.c: Likewise.
2065 * tree-vect-slp.c: Likewise.
2066 * tree-vect-stmts.c: Likewise.
2068 * targhooks.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2069 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
2071 * config/sh/sh-mem.cc: Include calls.h dojump.h emit-rtl.h explow.h
2072 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2073 statistics.h stmt.h varasm.h.
2074 * loop-unroll.c: Likewise.
2075 * ubsan.c: Likewise.
2076 * tree-ssa-loop-prefetch.c: Include calls.h dojump.h emit-rtl.h explow.h
2077 expmed.h fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h
2079 * dse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2080 fixed-value.h function.h hashtab.h statistics.h stmt.h varasm.h.
2081 * tree-switch-conversion.c: Include calls.h dojump.h emit-rtl.h explow.h
2082 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
2083 statistics.h stmt.h.
2084 * generic-match-head.c: Include calls.h dojump.h emit-rtl.h explow.h
2085 expmed.h fixed-value.h hashtab.h insn-config.h real.h rtl.h
2086 statistics.h stmt.h varasm.h.
2087 * gimple-match-head.c: Likewise.
2088 * lto-cgraph.c: Likewise.
2089 * lto-section-in.c: Likewise.
2090 * lto-streamer-in.c: Likewise.
2091 * lto-streamer-out.c: Likewise.
2092 * tree-affine.c: Likewise.
2093 * tree-cfg.c: Likewise.
2094 * tree-cfgcleanup.c: Likewise.
2095 * tree-if-conv.c: Likewise.
2096 * tree-into-ssa.c: Likewise.
2097 * tree-ssa-alias.c: Likewise.
2098 * tree-ssa-copyrename.c: Likewise.
2099 * tree-ssa-dse.c: Likewise.
2100 * tree-ssa-forwprop.c: Likewise.
2101 * tree-ssa-live.c: Likewise.
2102 * tree-ssa-math-opts.c: Likewise.
2103 * tree-ssa-pre.c: Likewise.
2104 * tree-ssa-sccvn.c: Likewise.
2105 * tree-tailcall.c: Likewise.
2106 * tree-vect-generic.c: Likewise.
2107 * tree-sra.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2108 fixed-value.h hashtab.h insn-config.h real.h rtl.h stmt.h varasm.h.
2109 * stor-layout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2110 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h.
2111 * varasm.c: Likewise.
2112 * coverage.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2113 fixed-value.h hashtab.h insn-config.h real.h statistics.h stmt.h
2115 * init-regs.c: Likewise.
2117 * omp-low.c: Likewise.
2118 * stack-ptr-mod.c: Likewise.
2119 * tree-ssa-reassoc.c: Likewise.
2120 * tree-complex.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2121 fixed-value.h hashtab.h insn-config.h rtl.h statistics.h stmt.h
2123 * dwarf2cfi.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2124 fixed-value.h hashtab.h insn-config.h statistics.h stmt.h varasm.h.
2125 * shrink-wrap.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2126 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h.
2127 * recog.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2128 fixed-value.h hashtab.h real.h rtl.h statistics.h stmt.h varasm.h.
2129 * tree-ssa-phiopt.c: Likewise.
2130 * config/darwin.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2131 fixed-value.h hashtab.h real.h statistics.h stmt.h.
2132 * config/fr30/fr30.c: Likewise.
2133 * config/frv/frv.c: Likewise.
2135 * final.c: Likewise.
2136 * optabs.c: Likewise.
2137 * passes.c: Likewise.
2138 * simplify-rtx.c: Likewise.
2140 * toplev.c: Likewise.
2141 * var-tracking.c: Likewise.
2142 * gcse.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2143 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2144 * lower-subreg.c: Likewise.
2145 * postreload-gcse.c: Likewise.
2147 * reginfo.c: Likewise.
2148 * store-motion.c: Likewise.
2149 * combine.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2150 fixed-value.h hashtab.h real.h stmt.h varasm.h.
2151 * emit-rtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2152 fixed-value.h hashtab.h statistics.h stmt.h.
2153 * dojump.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2154 fixed-value.h hashtab.h statistics.h stmt.h varasm.h.
2155 * except.c: Likewise.
2156 * explow.c: Likewise.
2157 * tree-dfa.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2158 fixed-value.h insn-config.h real.h rtl.h statistics.h stmt.h
2160 * gimple-fold.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2161 fixed-value.h insn-config.h real.h rtl.h statistics.h varasm.h.
2162 * tree-ssa-structalias.c: Likewise.
2163 * cfgexpand.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2164 fixed-value.h insn-config.h real.h statistics.h.
2165 * calls.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2166 fixed-value.h insn-config.h real.h statistics.h stmt.h.
2167 * bb-reorder.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2168 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
2169 * cfgbuild.c: Likewise.
2170 * function.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2171 fixed-value.h real.h rtl.h statistics.h stmt.h.
2172 * cfgrtl.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2173 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2174 * dbxout.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2175 fixed-value.h real.h statistics.h stmt.h.
2176 * auto-inc-dec.c: Include calls.h dojump.h emit-rtl.h explow.h expmed.h
2177 fixed-value.h real.h statistics.h stmt.h varasm.h.
2178 * cprop.c: Likewise.
2179 * modulo-sched.c: Likewise.
2180 * postreload.c: Likewise.
2181 * ccmp.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
2182 flags.h function.h hard-reg-set.h hashtab.h insn-config.h real.h
2183 statistics.h stmt.h varasm.h.
2184 * gimple-ssa-strength-reduction.c: Include calls.h dojump.h emit-rtl.h
2185 explow.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2186 rtl.h statistics.h stmt.h varasm.h.
2187 * tree-ssa-loop-ivopts.c: Include calls.h dojump.h emit-rtl.h explow.h
2188 fixed-value.h flags.h hashtab.h real.h rtl.h statistics.h stmt.h
2190 * expmed.c: Include calls.h dojump.h emit-rtl.h explow.h fixed-value.h
2191 function.h hard-reg-set.h hashtab.h real.h statistics.h stmt.h
2193 * target-globals.c: Include calls.h dojump.h emit-rtl.h explow.h
2194 fixed-value.h function.h hashtab.h real.h statistics.h stmt.h
2196 * tree-ssa-address.c: Include calls.h dojump.h emit-rtl.h explow.h
2197 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2198 * cfgcleanup.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2199 function.h real.h statistics.h stmt.h varasm.h.
2200 * alias.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2201 insn-config.h real.h statistics.h stmt.h.
2202 * dwarf2out.c: Include calls.h dojump.h explow.h expmed.h fixed-value.h
2203 statistics.h stmt.h.
2204 * config/nvptx/nvptx.c: Include dojump.h emit-rtl.h explow.h expmed.h
2205 fixed-value.h flags.h hard-reg-set.h insn-config.h real.h
2206 statistics.h stmt.h varasm.h.
2207 * gimplify.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2208 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h.
2209 * asan.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2210 flags.h hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h.
2211 * ipa-devirt.c: Include dojump.h emit-rtl.h explow.h expmed.h
2212 fixed-value.h flags.h hashtab.h insn-config.h real.h rtl.h
2213 statistics.h stmt.h varasm.h.
2214 * ipa-polymorphic-call.c: Likewise.
2215 * config/aarch64/aarch64.c: Include dojump.h emit-rtl.h explow.h expmed.h
2216 fixed-value.h flags.h hashtab.h insn-config.h real.h statistics.h
2218 * config/c6x/c6x.c: Likewise.
2219 * config/aarch64/aarch64-builtins.c: Include dojump.h emit-rtl.h explow.h
2220 expmed.h fixed-value.h flags.h hashtab.h insn-config.h real.h
2221 statistics.h stmt.h varasm.h.
2222 * ipa-prop.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2223 hashtab.h insn-config.h real.h rtl.h statistics.h stmt.h varasm.h.
2224 * ipa-split.c: Likewise.
2225 * tree-eh.c: Likewise.
2226 * tree-ssa-dce.c: Likewise.
2227 * tree-ssa-loop-niter.c: Likewise.
2228 * tree-vrp.c: Likewise.
2229 * config/nds32/nds32-cost.c: Include dojump.h emit-rtl.h explow.h
2230 expmed.h fixed-value.h hashtab.h insn-config.h real.h statistics.h
2232 * config/nds32/nds32-fp-as-gp.c: Likewise.
2233 * config/nds32/nds32-intrinsic.c: Likewise.
2234 * config/nds32/nds32-isr.c: Likewise.
2235 * config/nds32/nds32-md-auxiliary.c: Likewise.
2236 * config/nds32/nds32-memory-manipulation.c: Likewise.
2237 * config/nds32/nds32-pipelines-auxiliary.c: Likewise.
2238 * config/nds32/nds32-predicates.c: Likewise.
2239 * config/nds32/nds32.c: Likewise.
2240 * config/cris/cris.c: Include dojump.h emit-rtl.h explow.h expmed.h
2241 fixed-value.h hashtab.h real.h statistics.h.
2242 * config/alpha/alpha.c: Include dojump.h emit-rtl.h explow.h expmed.h
2243 fixed-value.h hashtab.h real.h statistics.h stmt.h.
2244 * config/arm/arm.c: Likewise.
2245 * config/avr/avr.c: Likewise.
2246 * config/bfin/bfin.c: Likewise.
2247 * config/h8300/h8300.c: Likewise.
2248 * config/i386/i386.c: Likewise.
2249 * config/ia64/ia64.c: Likewise.
2250 * config/iq2000/iq2000.c: Likewise.
2251 * config/m32c/m32c.c: Likewise.
2252 * config/m32r/m32r.c: Likewise.
2253 * config/m68k/m68k.c: Likewise.
2254 * config/mcore/mcore.c: Likewise.
2255 * config/mep/mep.c: Likewise.
2256 * config/mips/mips.c: Likewise.
2257 * config/mn10300/mn10300.c: Likewise.
2258 * config/moxie/moxie.c: Likewise.
2259 * config/pa/pa.c: Likewise.
2260 * config/rl78/rl78.c: Likewise.
2261 * config/rx/rx.c: Likewise.
2262 * config/s390/s390.c: Likewise.
2263 * config/sh/sh.c: Likewise.
2264 * config/sparc/sparc.c: Likewise.
2265 * config/spu/spu.c: Likewise.
2266 * config/stormy16/stormy16.c: Likewise.
2267 * config/v850/v850.c: Likewise.
2268 * config/vax/vax.c: Likewise.
2269 * config/cr16/cr16.c: Include dojump.h emit-rtl.h explow.h expmed.h
2270 fixed-value.h hashtab.h real.h statistics.h stmt.h varasm.h.
2271 * config/msp430/msp430.c: Likewise.
2272 * predict.c: Likewise.
2273 * value-prof.c: Likewise.
2274 * config/epiphany/epiphany.c: Include dojump.h emit-rtl.h explow.h
2275 expmed.h fixed-value.h hashtab.h statistics.h stmt.h.
2276 * config/microblaze/microblaze.c: Likewise.
2277 * config/nios2/nios2.c: Likewise.
2278 * config/rs6000/rs6000.c: Likewise.
2279 * tree.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2280 insn-config.h real.h rtl.h statistics.h stmt.h.
2281 * cgraph.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2282 insn-config.h real.h statistics.h stmt.h.
2283 * fold-const.c: Include dojump.h emit-rtl.h explow.h expmed.h
2284 fixed-value.h insn-config.h real.h statistics.h stmt.h varasm.h.
2285 * tree-inline.c: Include dojump.h emit-rtl.h explow.h expmed.h
2286 fixed-value.h real.h rtl.h statistics.h stmt.h varasm.h.
2287 * builtins.c: Include dojump.h emit-rtl.h explow.h expmed.h fixed-value.h
2288 real.h statistics.h stmt.h.
2289 * config/arc/arc.c: Include dojump.h emit-rtl.h explow.h expmed.h
2290 fixed-value.h statistics.h stmt.h.
2291 * config/visium/visium.c: Include dojump.h emit-rtl.h explow.h expmed.h
2294 2015-01-15 Jakub Jelinek <jakub@redhat.com>
2296 * gengtype.c (create_user_defined_type): Workaround
2297 -Wmaybe-uninitialized false positives.
2298 * cse.c (fold_rtx): Likewise.
2299 * loop-invariant.c (gain_for_invariant): Likewise.
2301 2015-01-15 Eric Botcazou <ebotcazou@adacore.com>
2303 * expr.c (expand_expr_real_1) <normal_inner_ref>: Use the expression to
2304 set the memory attributes in all cases but clear MEM_EXPR if need be.
2306 2015-01-15 Yuri Rumyantsev <ysrumyan@gmail.com>
2308 PR tree-optimization/64434
2309 * cfgexpand.c (reorder_operands): New function.
2310 (expand_gimple_basic_block): Insert call of reorder_operands if
2313 2015-01-15 Matthew Fortune <matthew.fortune@imgtec.com>
2315 * config/mips/micromips.md (*swp): Remove explicit parallel.
2316 (jraddiusp, *movep<MOVEP1:mode><MOVEP2:mode>): Likewise.
2317 * config/mips/mips-dsp.md (add<DSPV:mode>3): Likewise.
2318 (mips_add<DSP:dspfmt1>_s_<DSP:dspfmt2>, sub<DSPV:mode>3): Likewise.
2319 (mips_sub<DSP:dspfmt1>_s_<DSP:dspfmt2>, mips_addsc): Likewise.
2320 (mips_addwc, mips_absq_s_<DSPQ:dspfmt2>): Likewise.
2321 (mips_precrq_rs_ph_w, mips_precrqu_s_qb_ph): Likewise.
2322 (mips_shll_<DSPV:dspfmt2>, mips_shll_s_<DSPQ:dspfmt2>): Likewise.
2323 (mips_muleu_s_ph_qbl, mips_muleu_s_ph_qbr): Likewise.
2324 (mips_mulq_rs_ph, mips_muleq_s_w_phl, mips_muleq_s_w_phr): Likewise.
2325 (mips_dpaq_s_w_ph, mips_dpsq_s_w_ph, mips_mulsaq_s_w_ph): Likewise.
2326 (mips_dpaq_sa_l_w, mips_dpsq_sa_l_w, mips_maq_s_w_phl): Likewise.
2327 (mips_maq_s_w_phr, mips_maq_sa_w_phl, mips_maq_sa_w_phr): Likewise.
2328 (mips_extr_w, mips_extr_r_w, mips_extr_rs_w): Likewise.
2329 (mips_extr_s_h, mips_extp, mips_extpdp, mips_mthlip): Likewise.
2330 (mips_wrdsp): Likewise.
2331 * config/mips/mips-dspr2.md (mips_absq_s_qb): Remove explicit
2333 (mips_addu_ph, mips_addu_s_ph, mips_cmpgdu_eq_qb): Likewise.
2334 (mips_cmpgdu_lt_qb, mips_cmpgdu_le_qb, mulv2hi3): Likewise.
2335 (mips_mul_s_ph, mips_mulq_rs_w, mips_mulq_s_ph): Likewise.
2336 (mips_mulq_s_w, mips_subu_ph, mips_subu_s_ph): Likewise.
2337 (mips_dpaqx_s_w_ph, mips_dpaqx_sa_w_ph): Likewise.
2338 (mips_dpsqx_s_w_ph, mips_dpsqx_sa_w_ph): Likewise.
2339 * config/mips/mips-fixed.md (usadd<mode>3): Remove explicit parallel.
2340 (ssadd<mode>3, ussub<mode>3, sssub<mode>3, ssmul<mode>3): Likewise.
2341 (ssmaddsqdq4, ssmsubsqdq4): Likewise.
2343 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
2345 * config/mips/mips.c (mips_rtx_costs): Set costs for LSA/DLSA.
2346 (mips_print_operand): Support 'y' to print exact log2 in decimal
2348 * config/mips/mips.h (ISA_HAS_LSA): New define.
2349 (ISA_HAS_DLSA): Likewise.
2350 * config/mips/mips.md (<GPR:d>lsa): New define_insn.
2351 * config/mips/predicates.md (const_immlsa_operand): New predicate.
2353 2015-01-15 Martin Liska <mliska@suse.cz>
2356 * optc-save-gen.awk: Add support for array types.
2358 2015-01-15 Richard Biener <rguenther@suse.de>
2361 * tree-data-ref.c (dr_analyze_indices): Make sure that accesses
2362 for MEM_REF access functions with the same base can never partially
2365 2015-01-14 Marcos Diaz <marcos.diaz@tallertechnologies.com>
2367 * common.opt: New option -fstack-protector-explicit.
2368 * cfgexpand.c (SPCT_FLAG_EXPLICIT): New enum.
2369 (stack_protect_decl_phase): Handle stack_protect attribute for
2370 explicit stack protection requests.
2371 (expand_used_vars): Similarly.
2372 * doc/cpp.texi (__SSP_EXPLICIT__): Document predefined macro.
2373 * doc/extend.texi: Add documentation for "stack_protect" attribute.
2374 * doc/invoke.texi: Add documentation for -fstack-protector-explicit.
2376 2015-01-14 Oleg Endo <olegendo@gcc.gnu.org>
2379 * config/sh/sh-protos.h (sh_find_set_of_reg): Add option to ignore
2381 (sh_extending_set_of_reg): New struct.
2382 (sh_find_extending_set_of_reg, sh_split_tst_subregs,
2383 sh_remove_reg_dead_or_unused_notes): New Declarations.
2384 * config/sh/sh.c (sh_remove_reg_dead_or_unused_notes,
2385 sh_find_extending_set_of_reg, sh_split_tst_subregs,
2386 sh_extending_set_of_reg::use_as_extended_reg): New functions.
2387 * config/sh/sh.md (*tst<mode>_t_zero): Rename to *tst<mode>_t_subregs,
2388 convert to insn_and_split and use new function sh_split_tst_subregs.
2390 2015-01-14 Sandra Loosemore <sandra@codesourcery.com>
2392 * doc/invoke.texi (Option Summary): Reclassify -fuse-ld as a linker
2394 (Optimization Options): Move -fuse-ld documentation to...
2395 (Link Options): ...here.
2397 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
2399 * config/mips/constraints.md (ZC): Add support for R6 LL/SC
2401 (ZD): Update to use ISA_HAS_9BIT_DISPLACEMENT.
2402 * config/mips/mips.h (ISA_HAS_PREFETCH_9BIT): Rename to...
2403 (ISA_HAS_9BIT_DISPLACEMENT): ... this. New macro.
2404 * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZC
2405 instead of ZR for the memory operand of LL/SC.
2406 (compare_and_swap_12, sync_add<mode>): Likewise.
2407 (sync_<optab>_12, sync_old_<optab>_12): Likewise.
2408 (sync_new_<optab>_12, sync_nand_12): Likewise.
2409 (sync_old_nand_12, sync_new_nand_12): Likewise.
2410 (sync_sub<mode>, sync_old_add<mode>): Likewise.
2411 (sync_old_sub<mode>, sync_new_add<mode>): Likewise.
2412 (sync_new_sub<mode>, sync_<optab><mode>): Likewise.
2413 (sync_old_<optab><mode>, sync_new_<optab><mode>"): Likewise.
2414 (sync_nand<mode>, sync_old_nand<mode>): Likewise.
2415 (sync_new_nand<mode>, sync_lock_test_and_set<mode>): Likewise.
2416 (test_and_set_12, atomic_compare_and_swap<mode>): Likewise.
2417 (atomic_exchange<mode>_llsc, atomic_fetch_add<mode>_llsc): Likewise.
2418 * doc/md.texi (ZC): Update description.
2420 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
2422 * builtins.c (expand_builtin_atomic_exchange): Remove error when
2423 memory model is CONSUME.
2424 (expand_builtin_atomic_compare_exchange, expand_builtin_atomic_load,
2425 expand_builtin_atomic_store): Change invalid memory model errors to
2427 (expand_builtin_atomic_clear): Change invalid model errors to warnings
2428 and issue warning for CONSUME.
2430 2015-01-14 Aldy Hernandez <aldyh@redhat.com>
2432 * lto-cgraph: Update function comments for
2433 lto_symtab_encoder_encode_*.
2435 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
2437 * Makefile.in (site.exp): Do not set ENABLE_LTO.
2439 2015-01-14 Ilya Verbin <ilya.verbin@intel.com>
2441 * cgraphunit.c (ipa_passes): Remove argument from ipa_write_summaries.
2442 * lto-cgraph.c (select_what_to_stream): Remove argument, use
2443 lto_stream_offload_p instead.
2444 * lto-streamer.h (select_what_to_stream): Remove argument.
2445 * passes.c (ipa_write_summaries): Likewise.
2446 * tree-pass.h (ipa_write_summaries): Likewise.
2448 2015-01-14 Richard Biener <rguenther@suse.de>
2450 PR tree-optimization/59354
2451 * tree-vect-slp.c (vect_build_slp_tree_1): Treat loads from
2452 groups larger than the slp group size as having gaps.
2454 2015-01-14 Andrew MacLeod <amacleod@redhat.com>
2457 * builtins.c (get_memmodel): Promote consume to acquire always.
2459 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
2462 * config/i386/i386.c (ix86_expand_sse_cmp): Handle V64QImode,
2465 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
2468 * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VBMI_SET):
2470 (OPTION_MASK_ISA_AVX512BW_UNSET): Disable AVX512VBMI.
2471 * config/i386/i386.c (ix86_hard_regno_mode_ok): Don't check
2472 AVX512VBMI, as it implies AVX512BW.
2474 2015-01-14 Ilya Tocar <ilya.tocar@intel.com>
2477 * config/i386/sse.md (vec_unpacks_hi_v8sf): Fix predicate.
2478 (vec_unpacks_hi_v16sf): Ditto.
2480 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2482 * config/aarch64/arm_neon.h: Error out if AdvancedSIMD
2485 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2487 * doc/invoke.texi (mapcs): Mention deprecation.
2488 (mapcs-frame): Likewise.
2490 2015-01-14 Thomas Preud'homme <thomas.preudhomme@arm.com>
2493 * config/arm/arm.c (callee_saved_reg_p): Define.
2494 (arm_compute_save_reg0_reg12_mask): Use callee_saved_reg_p to check if
2495 register is callee saved instead of !call_used_regs[reg].
2496 (thumb1_compute_save_reg_mask): Likewise.
2498 2015-01-14 Hale Wang <hale.wang@arm.com>
2500 * config/arm/arm.c: Tune the max_cond_insns/branch_cost for
2503 2015-01-14 Richard Biener <rguenther@suse.de>
2506 * tree-inline.c (insert_debug_decl_map): Check destination
2507 function MAY_HAVE_DEBUG_STMTS.
2508 (insert_init_debug_bind): Likewise.
2509 (insert_init_stmt): Remove redundant check.
2510 (remap_gimple_stmt): Drop debug stmts if the destination
2511 function has var-tracking assignments disabled.
2513 2015-01-14 Martin Liska <mliska@suse.cz>
2515 * ipa-icf-gimple.c (func_checker::compare_operand): Add support for
2516 IMAGPART_EXPR and REALPART_EXPR and fix BIT_FIELD_REF comparison.
2518 2015-01-14 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2521 * config/arm/arm.md (*<arith_shift_insn>_multsi): Set 'shift' to 2.
2522 (*<arith_shift_insn>_shiftsi): Set 'shift' attr to 3.
2524 2015-01-14 Matthew Fortune <matthew.fortune@imgtec.com>
2526 * config/mips/mips.h (MIPS_ISA_LEVEL_SPEC): Only infer an ISA
2527 level from an ARCH; do not inject the default.
2528 (MIPS_DEFAULT_ISA_LEVEL_SPEC): New macro split out from
2529 MIPS_ISA_LEVEL_SPEC.
2530 (MIPS_ISA_NAN2008_SPEC): Update comment.
2531 (BASE_DRIVER_SELF_SPECS): Likewise.
2532 * config/mips/elfoabi.h (DRIVER_SELF_SPECS): Add
2533 MIPS_DEFAULT_ISA_LEVEL_SPEC.
2534 * config/mips/mti-elf.h (DRIVER_SELF_SPECS): Likewise.
2535 * config/mips/mti-linux.h (DRIVER_SELF_SPECS): Likewise.
2536 * config/mips/sde.h (DRIVER_SELF_SPECS): Likewise.
2538 2015-01-14 Richard Biener <rguenther@suse.de>
2540 PR tree-optimization/64493
2541 PR tree-optimization/64495
2542 * tree-vect-loop.c (vect_finalize_reduction): For double-reductions
2543 assign the proper vectorized PHI to the inner loop exit PHIs.
2545 2015-01-14 Joey Ye <joey.ye@arm.com>
2547 * config/arm/arm.c (arm_compute_save_reg_mask):
2548 Do not save lr in case of tail call.
2549 * config/arm/thumb2.md (*thumb2_pop_single): New pattern.
2551 2015-01-14 Martin Uecker <uecker@eecs.berkeley.edu>
2553 * tree-vrp.c (check_array_ref): Emit more warnings
2554 for warn_array_bounds >= 2.
2555 * common.opt: New option -Warray-bounds=.
2556 * doc/invoke.texi: Document -Warray-bounds=.
2558 2015-01-14 Chung-Ju Wu <jasonwucj@gmail.com>
2560 * config/nds32/nds32.opt (mforce-fp-as-gp): Remove.
2561 (mforbid-fp-as-gp): Remove.
2563 * config/nds32/nds32-fp-as-gp.c (nds32_have_prologue_p): Remove.
2564 (nds32_symbol_load_store_p): Remove.
2565 (nds32_fp_as_gp_check_available): Clean up implementation.
2566 * config/nds32/nds32.h (LINK_SPEC): Remove -mforce-as-gp and -mex9
2568 * config/nds32/nds32.c (nds32_asm_file_start): No need to consider
2569 fp-as-gp and ex9 cases.
2571 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
2573 * tree-profile.c (init_ic_make_global_vars): Drop workaround
2574 for bintuils bug 14342.
2575 (init_ic_make_global_vars): Likewise.
2576 (gimple_init_edge_profiler): Likewise.
2577 (gimple_gen_ic_func_profiler): Likewise.
2579 2015-01-13 Naveen H.S <Naveen.Hurugalawadi@caviumnetworks.com>
2581 * ipa-inline.c (inline_small_functions): Swap the operands in
2584 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
2587 * ipa-inline-analysis.c (node_growth_cache): Remove.
2588 (initialize_growth_caches): Do not initialize it.
2589 (free_growth_caches): Do not free it.
2590 (do_estimate_growth): Rename to ...
2591 (estimate_growth): ... this one; drop growth cache code.
2592 (growth_likely_positive): Always go the heuristics way.
2593 * ipa-inline.c (can_inline_edge_p): Walk through aliases.
2594 (reset_edge_caches): Do not reset node growth.
2595 (heap_edge_removal_hook): Do not maintain cache.
2596 (inline_small_functions): Likewise; strenghten sanity check.
2597 (ipa_inline): Do not maintain caches.
2598 * ipa-inline.h (node_growth_cache): Remove.
2599 (do_estimate_growth): Remove to ...
2600 (estimate_growth): this one; remove inline version.
2601 (reset_node_growth_cache): Remove.
2603 2015-01-13 Jan Hubicka <hubicka@ucw.cz>
2606 * ipa-inline.c (inline_small_functions): Update callee keys after
2607 resolving speculation
2608 (inline_small_functions): Always check monotonicity of the queue.
2610 2015-01-13 Marek Polacek <polacek@redhat.com>
2613 * trans-mem.c (get_attrs_for): Return NULL_TREE if X is NULL_TREE.
2615 2015-01-13 Jakub Jelinek <jakub@redhat.com>
2617 PR rtl-optimization/64286
2618 * ree.c (combine_reaching_defs): Move part of comment earlier,
2619 remove !SCALAR_INT_MODE_P check.
2620 (add_removable_extension): Don't add vector mode
2621 extensions if all uses of the source register aren't the same
2624 2015-01-13 Renlin Li <renlin.li@arm.com>
2626 * config/arm/arm.h (CLZ_DEFINED_VALUE_AT_ZERO): Return 2.
2627 (CTZ_DEFINED_VALUE_AT_ZERO): Ditto.
2629 2015-01-13 Martin Liska <mliska@suse.cz>
2631 * ipa-icf.c (sem_function::equals_private): Call new functions
2632 cl_target_option_print_diff and cl_optimization_print_diff.
2633 * optc-save-gen.awk (cl_target_option_print_diff): New function.
2634 (cl_optimization_print_diff): Likewise.
2635 * opth-gen.awk: Likewise.
2637 2015-01-13 Richard Sandiford <richard.sandiford@arm.com>
2639 * config/aarch64/aarch64.md (subsi3, *subsi3_uxtw, subdi3)
2640 (*sub_<optab><ALLX:mode>_<GPI:mode>, *sub_<optab><SHORT:mode>_si_uxtw)
2641 (*sub_<optab><ALLX:mode>_shft_<GPI:mode>)
2642 (*sub_<optab><SHORT:mode>_shft_si_uxtw, *sub_<optab><mode>_multp2)
2643 (*sub_<optab>si_multp2_uxtw, *sub_uxt<mode>_multp2)
2644 (*sub_uxtsi_multp2_uxtw): Add stack pointer sources.
2646 2015-01-13 Andrew Pinski <apinski@cavium.com>
2648 * config/aarch64/aarch64.c (fusion_load_store): Check dest mode
2649 instead of src mode.
2651 2015-01-13 Richard Biener <rguenther@suse.de>
2654 * lto-streamer-out.c (tree_is_indexable): Guard for NULL
2657 2015-01-13 Andrew Pinski <apinski@cavium.com>
2659 * config/aarch64/aarch64.c (aarch64_operands_ok_for_ldpstp): Reject
2661 (aarch64_operands_adjust_ok_for_ldpstp): Likewise.
2663 2015-01-13 Jakub Jelinek <jakub@redhat.com>
2666 * cfgexpand.c (expand_computed_goto): Don't call
2667 convert_memory_address here.
2669 2015-01-13 Richard Biener <rguenther@suse.de>
2671 PR tree-optimization/64406
2672 * tree-loop-distibution.c (pass_loop_distribution::execute):
2673 Reset the SCEV hashtable if we distributed anything.
2675 2015-01-13 Richard Biener <rguenther@suse.de>
2677 PR tree-optimization/64404
2678 * tree-vect-stmts.c (vectorizable_load): Reject conflicting
2679 SLP types for CSEd loads.
2681 2015-01-13 Thomas Preud'homme <thomas.preudhomme@arm.com>
2683 PR tree-optimization/64436
2684 * tree-ssa-math-opts.c (find_bswap_or_nop_1): Move code performing the
2685 merge of two symbolic numbers for a bitwise OR to ...
2686 (perform_symbolic_merge): This. Also fix computation of the range and
2687 end of the symbolic number corresponding to the result of a bitwise OR.
2689 2015-01-13 Richard Biener <rguenther@suse.de>
2691 PR tree-optimization/64568
2692 * tree-ssa-forwprop.c (pass_forwprop::execute): Properly
2693 release defs of removed stmts, avoid splitting TARGET_MEM_REFs.
2695 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2697 * config/nds32/nds32.c (nds32_legitimate_address_p): Consider
2698 TARGET_CMODEL_LARGE and TARGET_CMODEL_MEDIUM cases.
2700 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2702 * config/nds32/nds32.h (NDS32_SYMBOL_FLAG_RODATA): Define our own
2703 target-specific symbol_ref flag.
2704 (NDS32_SYMBOL_REF_RODATA_P): Define it to check if the symbol_ref
2705 resides in rodata section.
2706 * config/nds32/nds32.c (TARGET_ENCODE_SECTION_INFO): Define.
2707 (nds32_encode_section_info): New function.
2709 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2711 * config/nds32/nds32.md (call): Use pseudo instruction bal which
2712 clobbers TA_REGNUM if large code model is specified.
2713 (call_register): Likewise.
2714 (call_immediate): Likewise.
2715 (call_value): Likewise.
2716 (call_value_register): Likewise.
2717 (call_value_immediate): Likewise.
2719 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2721 * config/nds32/nds32.h (TARGET_CMODEL_SMALL): New macro.
2722 (TARGET_CMODEL_MEDIUM): New macro.
2723 (TARGET_CMODEL_LARGE): New macro.
2724 * config/nds32/nds32.c (nds32_asm_file_start): Display corresponding
2725 code model setting in assembly code.
2727 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2729 * common/config/nds32/nds32-common.c (TARGET_DEFAULT_TARGET_FLAGS):
2730 Remove MASK_GP_DIRECT flag.
2731 * config/nds32/nds32.h (MULTILIB_DEFAULTS): Have -mcmodel=medium as
2732 one of the multilib default options.
2733 * config/nds32/nds32.opt (mgp-direct): Remove.
2734 * config/nds32/t-mlibs (MULTILIB_OPTIONS): Use -mcmodel instead of
2735 -mgp-direct. We also remove unnecessary -mlittle-endian/-mbig-endian.
2737 2015-01-13 Chung-Ju Wu <jasonwucj@gmail.com>
2739 * config/nds32/nds32.opt (mcmodel): Add new option.
2740 * config/nds32/nds32-opts.h (nds32_cmodel_type): Add new enum type
2741 to describe code model.
2743 2015-01-13 Oleg Endo <olegendo@gcc.gnu.org>
2746 * rtlanal.c (set_reg_p): Handle SEQUENCE constructs.
2748 2015-01-12 Kaz Kojima <kkojima@gcc.gnu.org>
2750 * config/sh/sh.c (sh_atomic_assign_expand_fenv): New function.
2751 (TARGET_ATOMIC_ASSIGN_EXPAND_FENV): Define.
2752 (sh_builtin_get_fpscr, sh_builtin_set_fpscr): New variables.
2753 (sh_init_builtins): Record decls for __builtin_sh_get_fpscr and
2754 __builtin_sh_set_fpscr.
2756 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
2758 * doc/invoke.texi ([-Wsuggest-attribute=]): Don't use parentheses
2759 after a funtion name just to indicate it is a function.
2760 ([-fsanitize-undefined-trap-on-error]): Likewise.
2761 ([-fdbg-cnt=]): Likewise.
2762 ([-mmemcpy]): Likewise.
2763 ([-mflush-func]): Likewise.
2764 ([-msynci]): Likewise.
2766 2015-01-12 Sandra Loosemore <sandra@codesourcery.com>
2768 * doc/invoke.texi ([-Wbad-function-cast]): Rewrite to avoid confusing
2771 2015-01-12 Jakub Jelinek <jakub@redhat.com>
2773 PR tree-optimization/64563
2774 * tree-vrp.c (vrp_evaluate_conditional): Check for VR_RANGE
2775 instead of != VR_VARYING.
2778 * config/i386/i386.c (ix86_expand_prologue): Add
2779 REG_FRAME_RELATED_EXPR to %rax and %r10 pushes.
2781 PR tree-optimization/64454
2782 * tree-vrp.c (simplify_div_or_mod_using_ranges): Optimize
2783 op0 % op1 into op0 if op0 is in range [-op1 + 1, op1 - 1]
2784 for signed or [0, op1 - 1] for unsigned modulo.
2785 (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
2786 even if op1 does not satisfy integer_pow2p.
2789 * sreal.c (sreal::to_double): Use ldexp instead of scalbnl.
2791 2015-01-12 Jeff Law <law@redhat.com>
2794 * config/m68k/m68k.md (truncsiqi2): Disable for TARGET_COLDFIRE.
2795 (trunchiqi2, truncsihi2): Similarly.
2797 * config/h8300/h8300.c (Fpa): Use RTX_FRAME_RELATED_P directly
2798 rather than calling F.
2800 2015-01-12 Bernd Edlinger <bernd.edlinger@hotmail.de>
2802 * tsan.c (instrument_expr): Use force_gimple_operand.
2803 Use may_be_nonaddressable_p instead of is_gimple_addressable.
2805 2015-01-12 Richard Biener <rguenther@suse.de>
2807 PR tree-optimization/64530
2808 * tree-loop-distribution.c (pg_add_dependence_edges): Shuffle
2811 2015-01-12 Richard Biener <rguenther@suse.de>
2814 * tree-cfg.c (gimple_can_merge_blocks_p): Protect simple
2817 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2819 * config/arm/arm.c (arm_cortex_a12_tune): Update entries to match
2820 Cortex-A17 tuning parameters.
2821 * config/arm/arm-cores.def (cortex-a12): Schedule for cortex-a17.
2823 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2825 * config/arm/arm-protos.h (tune_params): Add fuseable_ops field.
2826 * config/arm/arm.c (arm_macro_fusion_p): New function.
2827 (arm_macro_fusion_pair_p): Likewise.
2828 (TARGET_SCHED_MACRO_FUSION_P): Define.
2829 (TARGET_SCHED_MACRO_FUSION_PAIR_P): Likewise.
2830 (ARM_FUSE_NOTHING): Likewise.
2831 (ARM_FUSE_MOVW_MOVT): Likewise.
2832 (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune,
2833 arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune,
2834 arm_cortex_a8_tune, arm_cortex_a7_tune, arm_cortex_a15_tune,
2835 arm_cortex_a53_tune, arm_cortex_a57_tune, arm_cortex_a9_tune,
2836 arm_cortex_a12_tune, arm_v7m_tune, arm_v6m_tune, arm_fa726te_tune
2837 arm_cortex_a5_tune): Specify fuseable_ops value.
2839 2015-01-12 H.J. Lu <hongjiu.lu@intel.com>
2842 * configure.ac (HAVE_LD_PIE_COPYRELOC): Update Linux/x86-64 linker
2843 test for PIE with copy reloc.
2844 * configure: Regenerated.
2846 2015-01-12 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2848 * config/arm/arm.c (arm_load_tp): Use R0_REGNUM instead of constant 0
2850 (arm_tls_descseq_addr): Likewise.
2851 (arm_gen_movmemqi): Likewise.
2852 (arm_expand_epilogue_apcs_frame): Likewise.
2853 (arm_expand_epilogue): Likewise.
2854 (arm_expand_prologue): Likewise. Use R1_REGNUM instead of constant 1
2857 2015-01-12 Martin Liska <mliska@suse.cz>
2860 * ipa-icf-gimple.c (func_checker::compare_memory_operand): Compare
2861 volatility for correct operands.
2863 2015-01-12 Martin Liska <mliska@suse.cz>
2865 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
2866 that a function is not leaf.
2867 (sem_function::compare_polymorphic_p): Likewise.
2869 2015-01-12 Martin Liska <mliska@suse.cz>
2871 * ipa-icf.c (sem_function::equals_wpa): Add indirect_calls as indication
2872 that a function is not leaf.
2873 (sem_function::compare_polymorphic_p): Likewise.
2875 2015-01-12 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
2877 * config/visium/visium.c: Add includes hashtab.h, hash-set.h,
2878 machmode.h, input.h, statistics.h, vec.h, double-int.h, real.h,
2879 fixed-value.h, alias.h, symtab.h, tree-core.h, wide-int.h, inchash.h,
2880 fold-const.h, tree-check.h.
2882 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
2886 * ipa-inline.c (compute_uninlined_call_time,
2887 compute_inlined_call_time): Use counts for extra precision when
2889 (big_speedup_p): Fix formating.
2890 (RELATIVE_TIME_BENEFIT_RANGE): Remove.
2891 (relative_time_benefit): Remove.
2892 (edge_badness): Turn DECL_DISREGARD_INLINE_LIMITS into hint;
2893 merge guessed and read profile paths.
2894 (inline_small_functions): Count only !optimize_size functions into
2895 initial size; be more lax about sanity check when profile is used;
2896 be sure to update inlined function profile when profile is read.
2898 2015-01-12 Jan Hubicka <hubicka@ucw.cz>
2901 * ipa-inline-analysis.c (inline_edge_duplication_hook): Adjust
2902 cost when edge becomes direct.
2903 * ipa-prop.c (make_edge_direct): Do not adjust when speculation
2904 is resolved or when introducing new speculation.
2906 2015-01-12 Chen Gang <gang.chen.5i5j@gmail.com>
2910 * ipa-icf.c (sem_function::equals_private): Use '&&' instead of
2911 '||' to fix typo issue.
2913 * gcc/tree.h (target_opts_for_fn): Check NULL_TREE since it can
2914 accept and return NULL.
2916 2015-01-12 Martin Liska <mliska@suse.cz>
2918 * cgraph.c (cgraph_edge::remove_callee): Move function to header
2919 file for being inlined.
2920 (cgraph_set_edge_callee): Delete.
2921 (cgraph_edge::redirect_callee): Move function to header file
2923 (cgraph_edge::make_direct): Use new function.
2924 (cgraph_edge::dump_edge_flags): New function created from
2925 static dump_edge_flags function.
2926 (cgraph_node::dump): Use new function.
2927 (cgraph_edge::verify_count_and_frequency): New function created
2928 from verify_edge_count_and_frequency.
2929 (cgraph_edge::verify_corresponds_to_fndecl): New function created
2930 from verify_edge_corresponds_to_fndecl.
2931 (verify_edge_corresponds_to_fndecl): Delete.
2932 (cgraph_node::verify_node): Use new function.
2933 * cgraph.h (cgraph_edge::set_callee): New function.
2934 (cgraph_edge::dump_edge_flags): Likewise.
2935 (cgraph_edge::verify_corresponds_to_fndecl): Likewise.
2937 2015-01-11 Jan Hubicka <hubicka@ucw.cz>
2939 * ipa-utils.c (estimate_function_body_sizes): Do not
2940 free node params when called late with early=true.
2942 2015-01-11 James Greenhalgh <james.greenhalgh@arm.com>
2944 * doc/md.texi (Instruction Patterns): Rewrite text for
2946 (Example): Likewise.
2948 2015-01-10 Sandra Loosemore <sandra@codesourcery.com>
2950 * doc/invoke.texi (Option Summary): Break long lines.
2951 [(-fdiagnostics-color)]: Put long literal in @smallexample
2953 [(-fsanitize-recover)]: Likewise.
2954 [(-fdump-rtl-split*)]: Rewrite to fix over-full hbox.
2955 [(-ffast-math)]: Likewise.
2956 [(--param max-inline-insns-recursive)]: Likewise.
2957 [(--param max-inline-recursive-depth)]: Likewise.
2958 [(-mno-text-section-literals)]: Likewise.
2960 2015-01-10 Thomas Schwinge <thomas@codesourcery.com>
2962 * doc/install.texi: Update for libgomp being renamed from "GNU
2963 OpenMP Runtime Library" to "GNU Offloading and Multi Processing
2965 * doc/sourcebuild.texi: Likewise.
2967 2015-01-10 Anthony Green <green@moxielogic.com>
2969 * config/moxie/moxie.c (moxie_option_override): Fix forcing of
2970 mul.x availability for moxiebox configuration.
2972 2015-01-09 Anthony Green <green@moxielogic.com>
2974 * config/moxie/moxie.md: Tabify assembly output.
2976 2015-01-09 Anthony Green <green@moxielogic.com>
2978 * config/moxie/moxie.md (CC_REG): Correct register definition.
2980 2015-01-09 Sandra Loosemore <sandra@codesourcery.com>
2982 * doc/invoke.texi ([-fvtable-verify]): Copy-edit and fix markup.
2983 ([-fvtv-debug], [-fvtv-counts]): Likewise. Correct location
2986 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
2988 * config/arm/arm.h (MAX_SYNC_LIBFUNC_SIZE): Delete semicolon.
2990 2015-01-09 Bernd Schmidt <bernds@codesourcery.com>
2991 Jakub Jelinek <jakub@redhat.com>
2994 * lto-streamer.h (lto_stream_offload_p): New declaration.
2995 * lto-streamer.c (lto_stream_offload_p): New variable.
2996 * cgraphunit.c (ipa_passes): Set lto_stream_offload_p
2997 at the same time as section_name_prefix.
2998 * lto-streamer-out.c (hash_tree): Don't hash TREE_TARGET_OPTION
2999 if lto_stream_offload_p.
3000 * tree-streamer-out.c (streamer_pack_tree_bitfields): Don't
3001 stream TREE_TARGET_OPTION if lto_stream_offload_p.
3002 (write_ts_function_decl_tree_pointers): Don't
3003 stream DECL_FUNCTION_SPECIFIC_TARGET if lto_stream_offload_p.
3004 * tree-streamer-in.c (unpack_value_fields): Don't stream
3005 TREE_TARGET_OPTION in if ACCEL_COMPILER.
3006 (lto_input_ts_function_decl_tree_pointers): Don't stream
3007 DECL_FUNCTION_SPECIFIC_TARGET in if ACCEL_COMPILER.
3008 * lto-opts.c (lto_write_options): Use lto_stream_offload_p
3009 instead of section_name_prefix string comparisons.
3011 2015-01-09 Jakub Jelinek <jakub@redhat.com>
3013 PR rtl-optimization/64536
3014 * cfgrtl.c (rtl_tidy_fallthru_edge): Handle removal of degenerate
3017 2015-01-09 Michael Collison <michael.collison@linaro.org>
3019 PR tree-optimization/64322
3020 * tree-vrp.c (extract_range_from_binary_expr_1): Attempt to derive
3021 range for RSHIFT_EXPR even if vr0 range is not VR_RANGE or is symbolic.
3023 2015-01-09 Tom de Vries <tom@codesourcery.com>
3025 PR rtl-optimization/64539
3026 * regcprop.c (kill_clobbered_values): Factor out of ...
3027 (copyprop_hardreg_forward_1): ... here. Use kill_clobbered_values
3028 instead of note_stores with kill_clobbered_value.
3030 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3032 * ginclude/unwind-arm-common.h: Revert previous commit.
3034 2015-01-09 Andreas Tobler <andreast@gcc.gnu.org>
3036 * config.gcc (arm*-*-freebsd*): New configuration.
3037 * config/arm/freebsd.h: New file.
3038 * config.host: Add extra components for arm*-*-freebsd*.
3039 * config/arm/arm.h: Introduce MAX_SYNC_LIBFUNC_SIZE.
3040 * config/arm/arm.c (arm_init_libfuncs): Use MAX_SYNC_LIBFUNC_SIZE.
3042 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3044 * config/rs6000/rtems.h (CPP_OS_RTEMS_SPEC): Define __PPC_CPU_E6500__
3046 * config/rs6000/t-rtems: Add e6500 multilibs.
3048 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3050 * config/rs6000/t-rtems: Add -mno-spe to soft-float multilib for
3053 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3055 * config/rs6000/t-rtems: Use MULTILIB_REQUIRED instead of
3056 MULTILIB_EXCEPTIONS.
3058 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3060 * config/arm/t-rtems: Use MULTILIB_REQUIRED instead of
3061 MULTILIB_EXCEPTIONS.
3063 2015-01-09 Sebastian Huber <sebastian.huber@embedded-brains.de>
3065 * config/arm/t-rtems-eabi: Rename to...
3066 * config/arm/t-rtems: ...this.
3067 * config/arm/rtems-eabi.h: Rename to...
3068 * config/arm/rtems.h: ...this.
3069 * config.gcc (arm*-*-rtems*): Reflect changes above.
3071 2015-01-09 Richard Biener <rguenther@suse.de>
3073 PR tree-optimization/64410
3074 * tree-ssa.c (non_rewritable_lvalue_p): Allow REALPART/IMAGPART_EXPR
3076 (execute_update_addresses_taken): Deal with that.
3077 * tree-ssa-forwprop.c (pass_forwprop::execute): Use component-wise
3078 loads/stores for complex variables.
3080 2015-01-09 Martin Liska <mliska@suse.cz>
3082 * ipa-icf-gimple.c (func_checker::compare_ssa_name): Enhance SSA
3084 (func_checker::compare_memory_operand): New function.
3085 (func_checker::compare_operand): Split case to newly
3087 (func_checker::compare_cst_or_decl): New function.
3088 (func_checker::compare_gimple_call): Identify
3090 (func_checker::compare_gimple_assign): Likewise.
3091 * ipa-icf-gimple.h: New function.
3093 2015-01-09 Martin Liska <mliska@suse.cz>
3096 * sreal.c (sreal::dump): Change unsigned format to signed for
3098 (sreal::to_double): Replace exp2 with scalbln.
3100 2015-01-09 Martin Liska <mliska@suse.cz>
3102 * cgraphunit.c (cgraph_node::create_wrapper): Fix level of indentation.
3103 * ipa-icf.c (sem_function::equals_private): Add support for target and
3104 (sem_item_optimizer::merge_classes): Remove redundant function
3105 optimization flags comparison.
3106 * tree.h (target_opts_for_fn): New function.
3108 2015-01-09 Tom de Vries <tom@codesourcery.com>
3110 * omp-low.c (expand_omp_for_static_chunk): Fix assert.
3112 2015-01-09 Kito Cheng <kito@0xlab.org>
3114 PR rtl-optimization/64348
3115 * lra-constraints.c (split_reg): Fix caller-save store/restore
3116 instruction generation.
3118 2015-01-08 John David Anglin <danglin@gcc.gnu.org>
3120 PR gcov-profile/61790
3121 * gcov-tool.c (do_rewrite): Use strtoll instead of atoll if host has
3122 long long. Fallback to int64_t if host doesn't have long long and
3123 use strtol if int64_t is long. Otherwise, use sscanf for conversion.
3125 2015-01-08 Jakub Jelinek <jakub@redhat.com>
3127 PR tree-optimization/63989
3128 * params.def (PARAM_MAX_TRACKED_STRLENS): Increment default
3130 * tree-ssa-strlen.c (get_strinfo): Moved earlier.
3131 (get_stridx): If we don't have a record for certain SSA_NAME,
3132 but it is POINTER_PLUS_EXPR of some SSA_NAME we do with
3133 constant offset, call get_stridx_plus_constant.
3134 (get_stridx_plus_constant): New function.
3135 (zero_length_string): Don't use get_stridx here.
3139 * dse.c (struct insn_info): Mention frame_read set also
3140 before reload for tail calls on some targets.
3141 (scan_insn): Revert 2014-12-22 change. Set frame_read
3142 also before reload for tail calls if
3143 HARD_FRAME_POINTER_IS_ARG_POINTER. Call add_wild_read
3144 instead of add_non_frame_wild_read for non-const/memset
3145 tail calls after reload.
3147 2015-01-08 Jason Merrill <jason@redhat.com>
3149 * ubsan.c (do_ubsan_in_current_function): New.
3150 (pass_ubsan::gate): Use it.
3151 * ubsan.h: Declare it.
3152 * convert.c (convert_to_integer): Use it.
3154 2015-01-08 Jakub Jelinek <jakub@redhat.com>
3157 * config/i386/i386.c (ix86_expand_int_movcc): Don't reverse
3158 compare_code when it is unconditionally overwritten afterwards.
3159 Use ix86_reverse_condition instead of reverse_condition. Don't
3160 change code if *reverse_condition* returned UNKNOWN and don't
3161 swap ct/cf and negate diff in that case.
3163 2015-01-08 Mike Stump <mikestump@comcast.net>
3165 * tsan.c (pass_tsan::gate): Add no_sanitize_thread support.
3166 (pass_tsan_O0::gate): Likewise.
3167 * extend.texi (Function Attributes): Add no_sanitize_thread
3170 2015-01-08 Thomas Schwinge <thomas@codesourcery.com>
3172 * builtins.def (DEF_GOMP_BUILTIN): Also consider flag_offload_abi
3173 for registering builtins.
3174 * config/i386/intelmic-mkoffload.c (prepare_target_image): Don't
3175 add -fopenmp to the argv_obstack used when invoking
3178 * config/i386/intelmic-mkoffload.c (compile_for_target): Always
3179 add "-m32" or "-m64" to argv_obstack.
3180 (generate_host_descr_file): Likewise, when invoking host_compiler.
3181 (main): Always add "-m elf_i386" or "-m elf_x86_64" when invoking
3184 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
3186 * config/sh/sh-mem.cc: Use constant as second operand when emitting
3189 2015-01-08 Oleg Endo <olegendo@gcc.gnu.org>
3192 * config/sh/sh.md (*addsi3_compact): Emit reg-reg copy instead of
3193 constant load if constant operand fits into I08.
3195 2015-01-08 Jakub Jelinek <jakub@redhat.com>
3198 * tree.c (build2_stat): Fix up initialization of TREE_READONLY
3199 and TREE_THIS_VOLATILE for MEM_REFs.
3200 (build5_stat): Fix up initialization of TREE_READONLY and
3201 TREE_THIS_VOLATILE for TARGET_MEM_REFs.
3203 2015-01-08 Kaz Kojima <kkojima@gcc.gnu.org>
3206 * config/sh/sh.md (*addsi3_compact): Use u constraint instead
3207 of r for the second alternative of the destination operand.
3209 2015-01-07 Segher Boessenkool <segher@kernel.crashing.org>
3212 * config/rs6000/rs6000.md (*eqsi3_ext<mode>, *nesi3_ext<mode>): New.
3214 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
3216 * doc/invoke.texi ([-fvtable-verify]): Fix markup on option
3218 ([-fivar-visibility], [-fvisibility]): Likewise.
3220 2015-01-07 Sandra Loosemore <sandra@codesourcery.com>
3222 * doc/invoke.texi: Fix incorrect uses of @samp markup throughout
3223 the file where @code, @command, etc is more appropriate.
3225 2015-01-06 Sandra Loosemore <sandra@codesourcery.com>
3227 * doc/invoke.texi (RS/6000 and PowerPC Options): Tidy formatting
3228 of -mrecip= documentation.
3230 2015-01-06 Michael Meissner <meissner@linux.vnet.ibm.com>
3233 * config/rs6000/rs6000.c (rs6000_secondary_reload): Return the
3234 correct reload handler if -m32 -mpowerpc64 is used.
3236 2015-01-06 Tom de Vries <tom@codesourcery.com>
3238 * tree-ssa-tail-merge.c: Fix typo in struct same_succ_def comment.
3240 2015-01-08 Christian Bruel <christian.bruel@st.com>
3243 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Check 0 length.
3245 2015-01-06 Thomas Preud'homme <thomas.preudhomme@arm.com>
3247 PR tree-optimization/63259
3248 * tree-ssa-math-opts.c (pass_optimize_bswap::execute): Stop checking
3249 if optab exists for 16bit byteswap.
3251 2015-01-06 Jakub Jelinek <jakub@redhat.com>
3253 * opts.c (common_handle_option): Add support for
3254 -fno-sanitize=all and -f{,no-}sanitize-recover=all.
3255 * doc/invoke.texi: Document -fno-sanitize=all,
3256 -f{,no-}sanitize-recover=all. Document that
3257 -fsanitize=float-cast-overflow is not enabled
3258 by -fsanitize=undefined. Fix up documentation
3259 of -f{,no-}sanitize-recover.
3261 2015-01-06 Eric Botcazou <ebotcazou@adacore.com>
3263 * config.gcc: Add Visium support.
3264 * configure.ac: Likewise.
3265 * configure: Regenerate.
3266 * doc/extend.texi (interrupt attribute): Add Visium.
3267 * doc/invoke.texi: Document Visium options.
3268 * doc/install.texi: Document Visium target.
3269 * doc/md.texi: Document Visium constraints.
3270 * common/config/visium: New directory.
3271 * config/visium: Likewise.
3273 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
3275 * simplify-rtx.c (simplify_binary_operation_1): Handle more cases
3276 for the "(and X (ior (not X) Y) -> (and X Y)" transform.
3278 2015-01-05 Segher Boessenkool <segher@kernel.crashing.org>
3280 * combine.c (combine_validate_cost): Do not count the cost of a
3281 split I2 twice. Do not display it twice in the dump, either.
3283 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
3285 Revert parts of r219199.
3286 * doc/invoke.texi ([-Wliteral-suffix]): Restore markup on
3288 ([-Wtraditional]): Restore markup on <limits.h>.
3290 2015-01-05 Trevor Saunders <tsaunders@mozilla.com>
3293 * doc/invoke.texi: Document -Wsuggest-override.
3295 2015-01-05 Radovan Obradovic <radovan.obradovic@imgtec.com>
3297 PR rtl-optimization/64287
3298 * toplev.c (HAVE_epilogue, HAVE_prologue): Provide default.
3299 (process_options): Disable flag_ipa_ra if profiling.
3301 2015-01-05 Eric Botcazou <ebotcazou@adacore.com>
3303 * config/nds32/nds32-peephole2.md: Do not mention define_peephole.
3305 2015-01-05 Max Filippov <jcmvbkbc@gmail.com>
3307 * config/xtensa/xtensa.c (hwloop_optimize, hwloop_fail,
3308 hwloop_pattern_reg, xtensa_doloop_hooks, xtensa_reorg_loops):
3309 put under #if TARGET_LOOPS guard.
3311 2015-01-05 Uros Bizjak <ubizjak@gmail.com>
3313 * config/i386/i386.c (output_387_binary_op): Use std::swap.
3315 2015-01-05 Oleg Endo <olegendo@gcc.gnu.org>
3317 * rtlanal.c (refers_to_regno_p): Change return value from int to bool.
3318 * rtl.h (refers_to_regno_p): Add overload.
3320 * bt-load.c: Likewise.
3321 * combine.c: Likewise.
3322 * df-scan.c: Likewise.
3323 * sched-deps.c: Likewise.
3324 * config/s390/s390.c: Likewise.
3325 * config/m32r/m32r.c: Likewise.
3326 * config/rs6000/spe.md: Likewise.
3327 * config/rs6000/rs6000.c: Likewise.
3328 * config/pa/pa.c: Likewise.
3329 * config/stormy16/stormy16.c: Likewise.
3330 * config/cris/cris.c: Likewise.
3331 * config/arc/arc.md: Likewise.
3332 * config/arc/arc.c: Likewise.
3333 * config/sh/sh.md: Likewise.
3334 * config/sh/sh.c: Likewise.
3335 * config/frv/frv.c: Likewise.
3337 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3340 * gimplify.c (gimplify_function_tree): Add TSAN_FUNC_EXIT internal
3341 call as cleanup of the whole body.
3342 * internal-fn.def (TSAN_FUNC_EXIT): New internal call.
3343 * tsan.c (replace_func_exit): New function.
3344 (instrument_func_exit): Moved earlier.
3345 (instrument_memory_accesses): Adjust TSAN_FUNC_EXIT internal calls.
3346 Call instrument_func_exit if no TSAN_FUNC_EXIT internal calls have
3348 (tsan_pass): Don't call instrument_func_exit.
3349 * internal-fn.c (expand_TSAN_FUNC_EXIT): New function.
3350 * tree-inline.c (copy_bb): Drop TSAN_FUNC_EXIT internal calls during
3354 * ubsan.h (ubsan_instrument_float_cast): Add ARG argument.
3355 * ubsan.c (ubsan_instrument_float_cast): Add ARG argument, pass
3356 it to libubsan handler instead of EXPR. Fold comparisons earlier,
3357 if the result is integer_zerop, return NULL_TREE.
3358 * convert.c (convert_to_integer): Pass expr as ARG.
3360 PR tree-optimization/64465
3361 * tree-inline.c (redirect_all_calls): During inlining
3362 clean up EH stmts and EH edges if redirect_call_stmt_to_callee
3363 changed the stmt to a non-throwing call.
3365 2015-01-05 Sandra Loosemore <sandra@codesourcery.com>
3367 * doc/invoke.texi: Fix incorrect uses of @code, @option, @samp,
3368 etc markup throughout the file.
3370 2015-01-05 Bernd Edlinger <bernd.edlinger@hotmail.de>
3372 Enable experimental TSAN support for Ada.
3373 * tsan.c (instrument_expr): Handle VIEW_CONVERT_EXPR.
3375 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3377 PR tree-optimization/64494
3378 * tree-ssa-loop-im.c (move_computations_dom_walker::before_dom): Also
3379 clear SSA_NAME_ANTI_RANGE_P flag.
3381 2015-01-05 Marek Polacek <polacek@redhat.com>
3383 * doc/extend.texi (Arrays of Length Zero): Add missing comma.
3385 2015-01-05 Jakub Jelinek <jakub@redhat.com>
3387 Update copyright years.
3389 * gcc.c (process_command): Update copyright notice dates.
3390 * gcov-dump.c: Ditto.
3392 * doc/cpp.texi: Bump @copying's copyright year.
3393 * doc/cppinternals.texi: Ditto.
3394 * doc/gcc.texi: Ditto.
3395 * doc/gccint.texi: Ditto.
3396 * doc/gcov.texi: Ditto.
3397 * doc/install.texi: Ditto.
3398 * doc/invoke.texi: Ditto.
3400 * auto-profile.c, auto-profile.h: Fix up Copyright line.
3402 2015-01-04 Sandra Loosemore <sandra@codesourcery.com>
3404 * doc/invoke.texi ([-fsized-deallocation]): Copy-edit to fix
3406 ([-fvtable-verify], [-fvtv-debug]): Likewise.
3407 ([-Wabi]): Likewise.
3408 ([-fmessage-length]): Likewise.
3409 ([-Wsuggest-final-types], [-Wsuggest-final-methods]): Likewise.
3410 ([-Wno-discarded-qualifiers]): Likewise.
3411 ([-Wnodiscarded-array-qualifiers]): Likewise.
3412 ([-Wno-virtual-move-assign]): Likewise.
3413 ([-fsanitize=address], [-fsanitize=thread]): Likewise.
3414 ([-fsanitize=leak], [-fsanitize=undefined]): Likewise.
3415 ([-fsanitize=unreachable], [-fsanitize-recover]): Likewise.
3416 ([-fsanitize-undefined-trap-on-error]): Likewise.
3417 ([-floop-interchange]): Likewise.
3418 ([-ftree-coalesce-inlined-vars]): Likewise.
3419 ([-fvect-cost-model]): Likewise.
3420 ([-flto]): Likewise.
3421 ([--param]): Likewise.
3422 (Spec Files): Likewise.
3423 ([-mstrict-align]): Likewise.
3424 ([-mfix-cortex-a53-835769]): Likewise.
3425 ([-march], [-mtune]): Likewise.
3426 ([-mpic-register]): Likewise.
3427 ([-munaligned-access]): Likewise.
3428 ([-msp8]): Likewise.
3429 (EIND and Devices with more than 128 Ki Bytes of Flash): Likewise.
3430 (AVR Built-in Macros): Likewise.
3431 ([-mpreferred-stack-boundary]): Likewise.
3432 ([-mtune-crtl]): Likewise.
3433 ([-mashf]): Likewise.
3434 ([-mmcu=]): Likewise.
3435 ([-minrt]): Likewise.
3436 ([-maltivec], [-maltivec=be], [-maltivec=le]): Likewise.
3437 ([-mupper-regs]): Likewise.
3438 ([-matomic-model]): Likewise.
3439 ([-mdiv]): Likewise.
3440 ([-mzdcbranch]): Likewise.
3441 ([-mdisable-callt]): Likewise.
3442 ([-msoft-float]): Likewise.
3443 ([-m8byte-align]): Likewise.
3444 ([-fstack-reuse]): Likewise.
3446 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
3448 * doc/invoke.texi ([-fprofile-generate], [-fprofile-use]):
3449 Fix markup, light copy-editing.
3450 ([-fauto-profile]): Rewrite to fix formatting and content
3453 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
3455 * doc/invoke.texi ([-fisolate-erroneous-paths-dereference]):
3456 Copy-edit description.
3457 ([-fisolate-erroneous-paths-attribute]): Likewise.
3458 * common.opt (fisolate-erroneous-paths-dereference):
3459 Copy-edit description.
3460 (fisolate-erroneous-paths-attribute): Likewise.
3462 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
3464 * doc/invoke.texi ([-fsemantic-interposition]): Fix typos and
3467 2015-01-03 Sandra Loosemore <sandra@codesourcery.com>
3469 * doc/invoke.texi ([-fplan9-extensions]): Add/fix @opindex.
3470 ([-fvtv-debug]): Likewise.
3471 ([-Wc++-compat]): Likewise.
3472 ([-Wc++11-compat]): Likewise.
3473 ([-Wc++14-compat]): Likewise.
3474 ([-Wno-sized-deallocation]): Likewise.
3475 ([-femit-class-debug-always]): Likewise.
3476 ([-femit-struct-debug-detailed]): Likewise.
3477 ([-fno-keep-inline-dllexport]): Likewise.
3478 ([-fira-algorithm]): Likewise.
3479 ([-fira-region]): Likewise.
3480 ([-flra-remat]): Likewise.
3481 ([-fipa-ra]): Likewise.
3482 ([-fhoist-adjacent-loads]): Likewise.
3483 ([-fisolate-erroneous-paths-dereference]): Likewise.
3484 ([-fisolate-erroneous-paths-attribute]): Likewise.
3485 ([-ftree-switch-conversion]): Likewise.
3486 ([-ftree-tail-merge]): Likewise.
3487 ([-ftree-loop-if-convert]): Likewise.
3488 ([-ftree-loop-if-convert-stores]): Likewise.
3489 ([-ftree-loop-distribution]): Likewise.
3490 ([-ftree-loop-distribute-patterns]): Likewise.
3491 ([-flto-compression-level]): Likewise.
3492 ([-flto-report]): Likewise.
3493 ([-flto-report-wpa]): Likewise.
3494 ([-fuse-linker-plugin]): Likewise.
3495 ([-mfix-cortex-a53-835769]): Likewise.
3496 ([-mno-fix-cortex-a53-835769]): Likewise.
3497 ([-mmmx]...[-mno-3dnow]): Remove the -mno- forms from the
3498 explicit listing; add a note to the discussion indicating they
3499 exist. Reorder table to group similar options. Add missing
3500 @opindex entries. Add @need commands throughout the table to
3501 allow it to be split across multiple pages.
3502 ([-m8bit-idiv]): Fix @opindex.
3503 ([-mavx256-split-unaligned-load]): Likewise.
3504 ([-mavx256-split-unaligned-store]): Likewise.
3505 ([-mstack-protector-guard]): Likewise.
3506 ([-mcpu=]): Likewise.
3507 ([-mcpu]): Likewise.
3508 ([-mpointer-size=]): Likewise.
3510 2015-01-03 John David Anglin <danglin@gcc.gnu.org>
3512 * config/pa/pa.md (decrement_and_branch_until_zero): Use `Q' constraint
3513 instead of `m' constraint. Likewise for unnamed movb comparison
3514 patterns using reg_before_reload_operand predicate.
3515 * config/pa/predicates.md (reg_before_reload_operand): Tighten
3516 predicate to reject register index and LO_SUM DLT memory forms
3519 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
3521 * doc/invoke.texi (Option Summary): Fix spelling of
3522 -fdevirtualize-at-ltrans.
3523 ([-fdevirtualize]): Fix markup.
3524 ([-fdevirtualize-speculatively]): Fix typo.
3525 ([-fdevirtualize-at-ltrans]): Likewise. Make description less
3527 * common.opt (fdevirtualize-at-ltrans): Likewise.
3528 * ipa-devirt.c: Fix typos in comments throughout the file.
3529 (ipa_devirt): Fix typos in format strings for dump output.
3531 2015-01-02 Sandra Loosemore <sandra@codesourcery.com>
3533 * doc/invoke.texi ([-fopt-info]): Fix markup, consolidate
3534 discussion of defaults, light copy-editing.
3536 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
3538 * tsan.c (instrument_expr): corrected previous checkin.
3540 2015-01-02 Bernd Edlinger <bernd.edlinger@hotmail.de>
3542 Instrument bit field and unaligned accesses for TSAN.
3543 * sanitizer.def (BUILT_IN_TSAN_READ_RANGE): New built-in function.
3544 (BUILT_IN_TSAN_WRITE_RANGE): New built-in function.
3545 * tsan.c (instrument_expr): Handle COMPONENT_REF and BIT_FIELD_REF.
3546 Use BUILT_IN_TSAN_READ_RANGE and BUILT_IN_TSAN_WRITE_RANGE for
3547 unaligned memory regions.
3549 2015-01-01 Anthony Green <green@moxielogic.com>
3551 * config/moxie/predicates.md (moxie_general_movsrc_operand):
3552 Restrict move source register offsets to 16 bits.
3554 Copyright (C) 2015 Free Software Foundation, Inc.
3556 Copying and distribution of this file, with or without modification,
3557 are permitted in any medium without royalty provided the copyright
3558 notice and this notice are preserved.