1 2016-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4 * config/aarch64/predicates.md (aarch64_comparison_operator_mode):
6 (aarch64_comparison_operator): Break overly long line into two.
7 (aarch64_comparison_operation): Likewise.
8 * config/aarch64/aarch64.md (cstorecc4): Use
9 aarch64_comparison_operator_mode instead of
10 aarch64_comparison_operator.
11 (cstore<mode>4): Likewise.
12 (aarch64_cstore<mode>): Likewise.
13 (*cstoresi_insn_uxtw): Likewise.
14 (cstore<mode>_neg): Likewise.
15 (*cstoresi_neg_uxtw): Likewise.
17 2016-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
20 * config/arm/predicates.md (arm_comparison_operator_mode):
22 * config/arm/arm.md (*mov_scc): Use arm_comparison_operator_mode
23 instead of arm_comparison_operator.
24 (*mov_negscc): Likewise.
25 (*mov_notscc): Likewise.
26 * config/arm/thumb2.md (*thumb2_mov_scc): Likewise.
27 (*thumb2_mov_negscc): Likewise.
28 (*thumb2_mov_negscc_strict_it): Likewise.
29 (*thumb2_mov_notscc): Likewise.
30 (*thumb2_mov_notscc_strict_it): Likewise.
32 2016-02-17 Wilco Dijkstra <wdijkstr@arm.com>
34 * config/aarch64/aarch64.c (aarch64_internal_mov_immediate):
37 2016-02-17 Eric Botcazou <ebotcazou@adacore.com>
39 * config/visium/visium.c (machine_libfunc_index): New enum.
40 (machine_libfuncs): New structure.
41 (visium_libfuncs): New static variable.
42 (TARGET_INIT_LIBFUNCS): Define to...
43 (visium_init_libfuncs): ...this. New function.
44 (expand_block_move_4): Use the appropriate libfunc.
45 (expand_block_move_2): Likewise.
46 (expand_block_move_1): Likewise.
47 (expand_block_set_4): Likewise.
48 (expand_block_set_2): Likewise.
49 (expand_block_set_1): Likewise.
50 (visium_trampoline_init): Likewise.
52 2016-02-17 Nick Clifton <nickc@redhat.com>
54 * config/msp430/msp430.c (msp430_mcu_data): Sync with data from
55 TI's devices.csv file as of March 2016.
57 2016-02-16 Kelvin Nilsen <kelvin@gcc.gnu.org>
60 * opts-global.c (handle_common_deferred_options): Introduce and
61 initialize two global variables to remember command-line options
62 specifying a stack-limiting register.
63 * opts.h: Add extern declarations of the two new global variables.
64 * emit-rtl.c (init_emit_once): Initialize the stack_limit_rtx
65 variable based on the values of the two new global variables.
67 2016-02-16 Jakub Jelinek <jakub@redhat.com>
70 * common.opt (Wnonnull-compare): New warning.
71 * doc/invoke.texi (-Wnonnull): Remove text about comparison
72 of arguments against NULL.
73 (-Wnonnull-compare): Document.
74 * Makefile.in (OBJS): Add gimple-ssa-nonnull-compare.o.
75 * tree-pass.h (make_pass_warn_nonnull_compare): Declare.
76 * passes.def (pass_warn_nonnull_compare): Add.
77 * gimple-ssa-nonnull-compare.c: New file.
79 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
81 * config/aarch64/aarch64.c (cortexa57_tunings): Remove
82 AARCH64_EXTRA_TUNE_RECIP_SQRT.
84 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
86 * config/aarch64/aarch64.c (use_rsqrt_p): Always use software
87 reciprocal sqrt for -mlow-precision-recip-sqrt.
89 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
90 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
92 * config/aarch64/aarch64.c (aarch64_expand_vector_init): Refactor,
93 always use lane loads to construct non-constant vectors.
95 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
97 * config/aarch64/aarch64.md
98 (arch64_sqrdml<SQRDMLH_AS:rdma_as>h_lane<mode>): Fix register
99 constraints for operand 3.
100 (aarch64_sqrdml<SQRDMLH_AS:rdma_as>h_laneq<mode>): Likewise.
102 2016-02-16 Jakub Jelinek <jakub@redhat.com>
103 Richard Biener <rguenther@suse.de>
105 PR tree-optimization/69820
106 * tree-vect-patterns.c (type_conversion_p): Return false if
107 *orig_type is unsigned single precision or boolean.
108 (vect_recog_dot_prod_pattern, vect_recog_widen_mult_pattern):
111 2016-02-16 Jakub Jelinek <jakub@redhat.com>
113 PR rtl-optimization/69764
114 PR rtl-optimization/69771
115 * optabs.c (expand_binop): Ensure for shift optabs invalid CONST_INT
116 op1 is valid for GET_MODE_INNER (mode) and force it into a reg.
118 2016-02-16 Richard Biener <rguenther@suse.de>
120 PR tree-optimization/69776
121 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Get alias
123 (indirect_refs_may_alias_p): Likewise.
124 (refs_may_alias_p_1): Pass alias sets as from ao_ref.
125 * tree-ssa-sccvn.c (vn_reference_lookup): Also adjust vr alias-set
127 * tree-ssa-dom.c (lookup_avail_expr): Add tbaa_p flag.
128 (optimize_stmt): For redundant store discovery do not allow tbaa.
130 2016-02-16 Bernd Schmidt <bschmidt@redhat.com>
132 PR tree-optimization/69714
133 * tree-ssa-math-opts.c (find_bswap_or_nop): Revert previous change.
134 Return NULL if we have irrelevant high bytes on BIG_ENDIAN.
136 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
138 * config/arc/arc-modes.def (CC_FPU, CC_FPU_UNEQ): New modes.
139 * config/arc/arc-opts.h (FPU_SP, FPU_SF, FPU_SC, FPU_SD, FPU_DP)
140 (FPU_DF, FPU_DC, FPU_DD, FXP_DP): Define.
141 * config/arc/arc.c (arc_init): Check FPU options.
142 (get_arc_condition_code): Handle new CC_FPU* modes.
143 (arc_select_cc_mode): Likewise.
144 (arc_conditional_register_usage): Allow 64 bit datum into even-odd
145 register pair only. Allow access for ARCv2 accumulator.
146 (gen_compare_reg): Whenever we have FPU support use FPU compare
148 (arc_reorg): Don't generate brcc insns when FPU compare
149 instructions are involved.
150 * config/arc/arc.h (TARGET_DPFP): Add TARGET_FP_DPAX condition.
151 (TARGET_OPTFPE): Add condition when ARC EM can use optimized
152 floating point emulation.
153 (ACC_REG_FIRST, ACC_REG_LAST, ACCL_REGNO, ACCH_REGNO): Define.
154 (REVERSE_CONDITION): Add new CC_FPU* modes.
155 (TARGET_FP_SP_BASE): Define.
156 (TARGET_FP_DP_BASE): Likewise.
157 (TARGET_FP_SP_FUSED): Likewise.
158 (TARGET_FP_DP_FUSED): Likewise.
159 (TARGET_FP_SP_CONV): Likewise.
160 (TARGET_FP_DP_CONV): Likewise.
161 (TARGET_FP_SP_SQRT): Likewise.
162 (TARGET_FP_DP_SQRT): Likewise.
163 (TARGET_FP_DP_AX): Likewise.
164 * config/arc/arc.md (ARCV2_ACC): New constant.
165 (type): New fpu type attribute.
166 (SDF): Conditional iterator.
167 (cstore<mode>, cbranch<mode>): Change expand condition.
168 (addsf3, subsf3, mulsf3, adddf3, subdf3, muldf3): New expands,
169 handles FPU/FPX cases as well.
170 * config/arc/arc.opt (mfpu): New option.
171 * config/arc/fpx.md (addsf3_fpx, subsf3_fpx, mulsf3_fpx):
173 (adddf3, muldf3, subdf3): Removed.
174 * config/arc/predicates.md (proper_comparison_operator): Recognize
176 * config/arc/fpu.md: New file.
177 * doc/invoke.texi (ARC Options): Document mfpu option.
179 2016-02-16 Richard Biener <rguenther@suse.de>
181 PR rtl-optimization/69291
182 * ifcvt.c (noce_try_store_flag_constants): Re-instantiate
183 noce_operand_ok check.
185 2016-02-16 Tom de Vries <tom@codesourcery.com>
188 * omp-low.c (simd_clone_create): Remove call to
189 symtab->call_cgraph_insertion_hooks.
191 2016-02-16 Jakub Jelinek <jakub@redhat.com>
193 PR tree-optimization/69802
194 * tree-ssa-reassoc.c (update_range_test): If op is
195 SSA_NAME_IS_DEFAULT_DEF, give up unless tem is a positive
196 op == 1 test of precision 1 integral op, otherwise handle
197 that case as op itself. Fix up formatting.
198 (optimize_range_tests_to_bit_test, optimize_range_tests): Fix
201 2016-02-16 Richard Biener <rguenther@suse.de>
203 PR tree-optimization/69586
204 * tree-vrp.c (register_edge_assert_for_2): Handle all integral
205 types for conversion sources.
207 2016-02-16 Richard Biener <rguenther@suse.de>
210 * fold-const.c (operand_equal_p): For COND_EXPR zero operand
213 2016-02-16 Alan Modra <amodra@gmail.com>
216 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Rewrite splitter.
217 (p8_mtvsrd_df, p8_mtvsrd_sf): New.
218 (p8_mtvsrd_1, p8_mtvsrd_2): Delete.
220 (p8_mtvsrwz_1, p8_mtvsrwz_2): Delete.
221 (p8_xxpermdi_<mode>): Take two DF inputs rather than one TF.
222 (p8_fmrgow_<mode>): Likewise.
223 (reload_vsx_from_gpr<mode>): Make clobber IF. Adjust for above
225 (reload_fpr_from_gpr<mode>): Similarly. Use "d" for op0 constraint.
226 (reload_vsx_from_gprsf): Use p8_mtvsrd_sf rather than attempting
227 to use movdi_internal64. Remove op0_di.
228 * config/rs6000/vsx.md (vsx_xscvspdpn_directmove): Make op1 SFmode.
230 2016-02-15 Evandro Menezes <e.menezes@samsung.com>
232 Add support for the FCCMP insn types
234 * config/aarch64/aarch64.md (fccmp): Change insn type.
236 * config/aarch64/thunderx.md (thunderx_fcmp): Add "fccmp{s,d}" types.
237 * config/arm/cortex-a53.md (cortex_a53_fpalu): Likewise.
238 * config/arm/cortex-a57.md (cortex_a57_fp_cmp): Likewise.
239 * config/arm/xgene1.md (xgene1_fcmp): Likewise.
240 * config/arm/exynos-m1.md (exynos_m1_fp_ccmp): New insn reservation.
241 * config/arm/types.md (fccmps): Add new insn type.
244 2016-02-15 Bernd Edlinger <bernd.edlinger@hotmail.de>
246 * alias.c (get_alias_set): Fix a typo in comment.
248 2016-02-15 Richard Biener <rguenther@suse.de>
250 PR tree-optimization/69595
251 * match.pd: Complete range test simplification to true.
253 2016-02-15 Bernd Schmidt <bschmidt@redhat.com>
255 PR rtl-optimization/69648
256 * lra-constraints.c (update_ebb_live_info): Don't remove sets of
257 pic_offset_table_rtx.
259 PR rtl-optimization/69752
260 * ira.c (update_equiv_regs): When looking for more than a single SET,
261 also take other side effects into account.
263 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
265 * config/s390/s390.c (s390_function_profiler): Add a new sequence
266 for z900+ CPUs in 31-bit mode.
268 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
270 * common/config/s390/s390-common.c (s390_supports_split_stack):
272 (TARGET_SUPPORTS_SPLIT_STACK): New macro.
273 * config/s390/s390-protos.h: Add s390_expand_split_stack_prologue.
274 * config/s390/s390.c (struct machine_function): New field
275 split_stack_varargs_pointer.
276 (s390_register_info): Mark r12 as clobbered if it'll be used as temp
277 in s390_emit_prologue.
278 (s390_emit_prologue): Use r12 as temp if r1 is taken by split-stack
280 (morestack_ref): New global.
281 (SPLIT_STACK_AVAILABLE): New macro.
282 (s390_expand_split_stack_prologue): New function.
283 (s390_live_on_entry): New function.
284 (s390_va_start): Use split-stack vararg pointer if appropriate.
285 (s390_asm_file_end): Emit the split-stack note sections.
286 (TARGET_EXTRA_LIVE_ON_ENTRY): New macro.
287 * config/s390/s390.md (UNSPEC_STACK_CHECK): New unspec.
288 (UNSPECV_SPLIT_STACK_CALL): New unspec.
289 (UNSPECV_SPLIT_STACK_DATA): New unspec.
290 (split_stack_prologue): New expand.
291 (split_stack_space_check): New expand.
292 (split_stack_data): New insn.
293 (split_stack_call): New expand.
294 (split_stack_call_*): New insn.
295 (split_stack_cond_call): New expand.
296 (split_stack_cond_call_*): New insn.
298 2016-02-15 Richard Biener <rguenther@suse.de>
300 PR tree-optimization/69783
301 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
302 Add trivially correct cases.
304 2016-02-15 Tom de Vries <tom@codesourcery.com>
307 * lto-cgraph.c (input_offload_tables): Add and handle bool parameter
309 * lto-streamer.h (input_offload_tables): Add and handle bool parameter.
311 2016-02-15 Richard Biener <rguenther@suse.de>
313 PR tree-optimization/69776
314 * tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
315 * tree-ssa-sccvn.c (vn_reference_lookup): Add parameter to
316 indicate whether we can use TBAA to disambiguate against stores.
317 Use alias-set zero if not.
318 (visit_reference_op_store): Do not use TBAA when looking up
320 * tree-ssa-pre.c (compute_avail): Use TBAA here.
321 (eliminate_dom_walker::before_dom_children): But not when looking
324 2016-02-14 John David Anglin <danglin@gcc.gnu.org>
326 * config/pa/pa.md (absqi2, absghi2, bswaphi2, bswapsi2, bswapdi2): New.
328 2016-02-14 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
330 * config/i386/znver1.md
331 (znver1_pop, znver1_pop_mem,
332 znver1_load_imov_double_store,
333 znver1_load_imov_direct_store,
334 znver1_load_imov_direct_load,
335 znver1_load_imov_double_load): Add new.
336 (znver1_insn, znver1_insn_load): Add icmov type.
338 znver1_sseavx_fma_load,
340 znver1_avx256_fma_load): Fix pipe usage.
342 2016-02-14 Alan Modra <amodra@gmail.com>
345 * reloads.c (find_reloads_address_1): For pre/post-inc/dec
346 with an invalid hard reg, reload just the reg not the entire
347 pre/post-inc/dec address expression.
349 2016-02-13 Oleg Endo <olegendo@gcc.gnu.org>
352 * config/sh/sh.md (sibcall_value_pcrel): Replace =&k scratch reg with
353 fixed R1_REG scratch reg.
354 (sibcall_value_pcrel_fdpic): Likewise.
356 2016-02-13 Oleg Endo <olegendo@gcc.gnu.org>
360 * config/sh/sh.md (*zero_extract_3): New insn_and_split pattern.
362 2016-02-12 Walter Lee <walt@tilera.com>
364 * config/tilepro/t-tilepro: Replace CC_FOR_BUILD with CXX_FOR_BUILD.
365 * config/tilegx/t-tilegx: Likewise.
367 2016-02-12 David Malcolm <dmalcolm@redhat.com>
370 * diagnostic-show-locus.c (struct line_span): New struct.
371 (layout::get_first_line): Delete.
372 (layout::get_last_line): Delete.
373 (layout::get_num_line_spans): New member function.
374 (layout::get_line_span): Likewise.
375 (layout::print_heading_for_line_span_index_p): Likewise.
376 (layout::get_expanded_location): Likewise.
377 (layout::calculate_line_spans): Likewise.
378 (layout::m_first_line): Delete.
379 (layout::m_last_line): Delete.
380 (layout::m_line_spans): New field.
381 (layout::layout): Update comment. Replace m_first_line and
382 m_last_line with m_line_spans, replacing their initialization
383 with a call to calculate_line_spans.
384 (diagnostic_show_locus): When printing source lines and
385 annotations, rather than looping over a single span
386 of lines, instead loop over each line_span within
387 the layout, with an inner loop over the lines within them.
388 Call the context's start_span callback when changing line spans.
389 * diagnostic.c (diagnostic_initialize): Initialize start_span.
390 (diagnostic_build_prefix): Break out the building of the location
391 part of the string into...
392 (diagnostic_get_location_text): ...this new function, rewriting
393 it from nested ternary expressions to a sequence of "if"
395 (default_diagnostic_start_span_fn): New function.
396 * diagnostic.h (diagnostic_start_span_fn): New typedef.
397 (diagnostic_context::start_span): New field.
398 (default_diagnostic_start_span_fn): New prototype.
400 2016-02-12 David Malcolm <dmalcolm@redhat.com>
403 * gcc.c (driver::finalize): Fix cleanup of "specs".
405 2016-02-12 David Malcolm <dmalcolm@redhat.com>
409 * gcc.c (driver::driver): Initialize m_option_suggestions.
410 (driver::~driver): Clean up m_option_suggestions.
411 (suggest_option): Convert to...
412 (driver::suggest_option): ...this, and split out into
413 driver::build_option_suggestions and find_closest_string.
414 (driver::build_option_suggestions): New function, from
415 first half of suggest_option. Special-case
416 OPT_fsanitize_ and OPT_fsanitize_recover_, making use of
417 the sanitizer_opts array. For options of enum types, add the
418 various enum values to the candidate strings.
419 (driver::handle_unrecognized_options): Remove "const".
420 * gcc.h (driver::handle_unrecognized_options): Likewise.
421 (driver::build_option_suggestions): New decl.
422 (driver::suggest_option): New decl.
423 (driver::m_option_suggestions): New field.
424 * opts-common.c (add_misspelling_candidates): New function.
425 * opts.c (sanitizer_opts): Remove decl of struct sanitizer_opts_s
427 * opts.h (sanitizer_opts): New array decl.
428 (add_misspelling_candidates): New function decl.
429 * spellcheck.c (find_closest_string): New function.
430 * spellcheck.h (find_closest_string): New function decl.
432 2016-02-12 Jakub Jelinek <jakub@redhat.com>
434 PR rtl-optimization/69764
435 PR rtl-optimization/69771
436 * optabs.c (expand_binop_directly): For shift_optab_p, force
437 convert_modes with VOIDmode if xop1 has VOIDmode.
439 2016-02-12 Ilya Enkovich <enkovich.gnu@gmail.com>
442 * lto-streamer-out.c (lto_output): Use thunk.add_pointer_bounds_args
443 to correctly determine instrumentation thunks.
445 2016-02-12 Jakub Jelinek <jakub@redhat.com>
448 * ipa-split.c (split_function): If split part returns TREE_ADDRESSABLE
449 type by reference, force lhs on the call.
452 * ipa-split.c (split_function): Don't compute/use main_part_return_p.
453 Compute retval and retbnd early in all cases if split_part_return_p
454 and return_bb is not EXIT. Remove all clobber stmts and reset
455 all debug stmts that refer to SSA_NAMEs defined in split part,
456 except if it is retval, in that case replace the old retval with the
457 lhs of the call to the split part.
459 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
462 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
465 * tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
466 whose result is used in PHI.
467 (maybe_optimize_range_tests): Likewise.
468 (final_range_test_p): Likweise.
470 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
473 * tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
474 whose result is used in PHI.
475 (maybe_optimize_range_tests): Likewise.
476 (final_range_test_p): Likweise.
478 2016-02-12 Jakub Jelinek <jakub@redhat.com>
480 * cgraph.c: Spelling fixes - behaviour -> behavior and
481 neighbour -> neighbor.
482 * target.def: Likewise.
483 * sel-sched.c: Likewise.
484 * config/mips/mips.c: Likewise.
485 * config/arc/arc.md: Likewise.
486 * config/arm/cortex-a57.md: Likewise.
487 * config/arm/arm.c: Likewise.
488 * config/arm/neon.md: Likewise.
489 * config/arm/arm-c.c: Likewise.
490 * config/vms/vms-c.c: Likewise.
491 * config/s390/s390.c: Likewise.
492 * config/i386/znver1.md: Likewise.
493 * config/i386/i386.c: Likewise.
494 * config/ia64/hpux-unix2003.h: Likewise.
495 * config/msp430/msp430.md: Likewise.
496 * config/rx/rx.c: Likewise.
497 * config/rx/rx.md: Likewise.
498 * config/aarch64/aarch64-simd.md: Likewise.
499 * config/aarch64/aarch64.c: Likewise.
500 * config/nvptx/nvptx.c: Likewise.
501 * config/bfin/bfin.c: Likewise.
502 * config/cris/cris.opt: Likewise.
503 * config/rs6000/rs6000.c: Likewise.
504 * target.h: Likewise.
505 * spellcheck.c: Likewise.
506 * ira-build.c: Likewise.
507 * tree-inline.c: Likewise.
508 * builtins.c: Likewise.
509 * lra-constraints.c: Likewise.
510 * explow.c: Likewise.
512 * targhooks.c: Likewise.
513 * tree-vect-data-refs.c: Likewise.
515 * doc/tm.texi: Likewise.
516 * doc/extend.texi: Likewise.
517 * doc/install.texi: Likewise.
518 * doc/md.texi: Likewise.
519 * tree-ssa-tail-merge.c: Likewise.
520 * sched-int.h: Likewise.
521 * match.pd: Likewise.
522 * sched-ebb.c: Likewise.
523 * target.def (omit_struct_return_reg): Likewise.
524 * gimple-ssa-isolate-paths.c: Likewise.
525 (find_implicit_erroneous_behaviour): Renamed to...
526 (find_implicit_erroneous_behavior): ... this.
527 (find_explicit_erroneous_behaviour): Renamed to...
528 (find_explicit_erroneous_behavior): ... this.
529 (gimple_ssa_isolate_erroneous_paths): Adjust caller.
531 2016-02-11 Segher Boessenkool <segher@kernel.crashing.org>
533 PR rtl-optimization/64682
534 PR rtl-optimization/69567
535 PR rtl-optimization/69737
536 * combine.c (distribute_notes) <REG_DEAD>: If the register is set
537 in I2 as well, just lose it.
539 2016-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
541 * config/aarch64/aarch64.c (aarch64_last_printed_arch_string):
543 (aarch64_last_printed_tune_string): Likewise.
544 (aarch64_declare_function_name): Only output .arch assembler
545 directive if it will be different from the previously output
546 directive. Same for .tune comment but only if -dA is set.
547 (aarch64_start_file): New function.
548 (TARGET_ASM_FILE_START): Define.
550 2016-02-11 David Malcolm <dmalcolm@redhat.com>
553 * Makefile.in (PLUGIN_HEADERS): Add params.list.
555 2016-02-11 Jakub Jelinek <jakub@redhat.com>
558 * tree-vect-slp.c (vect_schedule_slp_instance): Avoid
559 -Wmaybe-uninitialized warning.
561 2016-02-11 Oleg Endo <olegendo@gcc.gnu.org>
564 * config/sh/sh.md (casesi_worker_0): Add T_REG use.
566 2016-02-11 Richard Biener <rguenther@suse.de>
568 PR rtl-optimization/69291
569 * ifcvt.c (noce_try_store_flag_constants): Do not allow
570 subexpressions affected by changing the result.
572 2016-02-10 Vladimir Makarov <vmakarov@redhat.com>
575 * lra-constraints.c (curr_insn_transform): Find in/out operands
576 for secondary memory moves. Update dups.
578 2016-02-10 Yuri Rumyantsev <ysrumyan@gmail.com>
580 PR tree-optimization/69652
581 * tree-vect-loop.c (optimize_mask_stores): Move declaration of STMT1
582 to nested loop, did source re-formatting, skip debug statements,
583 add check on statement with volatile operand, remove dead scalar
586 2016-02-10 Jakub Jelinek <jakub@redhat.com>
587 Patrick Palka <ppalka@gcc.gnu.org>
591 * gimplify.c (gimplify_modify_expr): Set lhs even for noreturn
592 calls if the return type is TREE_ADDRESSABLE.
593 * cgraphunit.c (cgraph_node::expand_thunk): Likewise.
594 * ipa-split.c (split_function): Fix doubled "we" in comment.
595 Use void return type for the split part even if
596 !split_point->split_part_set_retval.
598 2016-02-10 Bin Cheng <bin.cheng@arm.com>
600 PR tree-optimization/68021
601 * tree-ssa-loop-ivopts.c (get_computation_aff): Set ratio to 1 if
602 when computing the value of biv cand by itself.
604 2016-02-10 Wilco Dijkstra <wdijkstr@arm.com>
606 * config/aarch64/aarch64.c (cortexa53_tunings): Enable AES fusion.
607 (cortexa57_tunings): Likewise.
608 (cortexa72_tunings): Likewise.
609 (arch_macro_fusion_pair_p): Add support for AES fusion.
610 * config/aarch64/aarch64-fusion-pairs.def: Add AES_AESMC entry.
611 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
612 Allow virtual registers before reload so early scheduling works.
613 * config/arm/cortex-a57.md (cortex_a57_crypto_simple): Use
614 correct latency and pipeline.
615 (cortex_a57_crypto_complex): Likewise.
616 (cortex_a57_crypto_xor): Likewise.
617 (define_bypass): Add AES bypass.
619 2016-02-10 Richard Biener <rguenther@suse.de>
621 PR tree-optimization/69726
622 * passes.def: Add DCE pass before late uninit.
623 * match.pd: Add A ? B : (!A ? C : X) -> A ? B : C patterns to
624 really fixup if-conversions job.
626 2016-02-10 Wilco Dijkstra <wdijkstr@arm.com>
628 * config/arm/arm.c (arm_cortex_a53_tune): Enable AES fusion.
629 (arm_cortex_a57_tune): Likewise.
630 (aarch_macro_fusion_pair_p): Add support for AES fusion.
631 * config/arm/arm-protos.h (fuse_ops): Add FUSE_AES_AESMC.
633 2016-02-10 Eric Botcazou <ebotcazou@adacore.com>
635 * timevar.def (TV_PHASE_DBGINFO): Delete.
636 (TV_PHASE_CHECK_DBGINFO): Likewise.
637 * varpool.c (varpool_node::assemble_decl): Do not change timevar.
639 2016-02-10 Richard Biener <rguenther@suse.de>
641 PR tree-optimization/69719
642 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
643 Adjust previous fix by ensuring that dr_a1 is left of dr_a2.
645 2016-02-09 Andrew Pinski <apinski@cavium.com>
648 * optabs-tree.c (expand_vec_cond_expr_p): Don't early return if
649 get_vcond_mask_icode returns false.
651 2016-02-09 Michael Meissner <meissner@linux.vnet.ibm.com>
654 * config/rs6000/predicates.md (fusion_gpr_addis): Prevent fusing
655 an ADDIS that adds a pointer to a large constant that sets the
656 upper16 bits with a load operation.
658 2016-02-09 Charles Baylis <charles.baylis@linaro.org>
661 * config/arm/arm.c (arm_evpc_neon_vzip): Allow for big endian lane
663 * config/arm/arm_neon.h (vzipq_s8): Adjust shuffle patterns for big
665 (vzipq_s16): Likewise.
666 (vzipq_s32): Likewise.
667 (vzipq_f32): Likewise.
668 (vzipq_u8): Likewise.
669 (vzipq_u16): Likewise.
670 (vzipq_u32): Likewise.
671 (vzipq_p8): Likewise.
672 (vzipq_p16): Likewise.
674 2016-02-09 Charles Baylis <charles.baylis@linaro.org>
677 * config/arm/arm.c (neon_endian_lane_map): New function.
678 (neon_vector_pair_endian_lane_map): New function.
679 (arm_evpc_neon_vuzp): Allow for big endian lane order.
680 * config/arm/arm_neon.h (vuzpq_s8): Adjust shuffle patterns for big
682 (vuzpq_s16): Likewise.
683 (vuzpq_s32): Likewise.
684 (vuzpq_f32): Likewise.
685 (vuzpq_u8): Likewise.
686 (vuzpq_u16): Likewise.
687 (vuzpq_u32): Likewise.
688 (vuzpq_p8): Likewise.
689 (vuzpq_p16): Likewise.
691 2016-02-11 Alexandre Oliva <aoliva@redhat.com>
694 * regstat.c (regstat_bb_compute_calls_crossed): Disregard
697 2016-02-09 Uros Bizjak <ubizjak@gmail.com>
699 * config/i386/i386.md (insv<mode>_1): Use gen_int_mode to
700 truncate const_int operand 1 to QImode.
702 2016-02-09 Eric Botcazou <ebotcazou@adacore.com>
704 * gimple-ssa-backprop.c (optimize_phi): Do not replace an argument
705 corresponding to an abnormal edge.
707 2016-02-09 Tom de Vries <tom@codesourcery.com>
709 PR tree-optimization/69599
710 * tree-ssa-structalias.c (fndecl_maybe_in_other_partition): New
712 (find_func_aliases_for_builtin_call, find_func_clobbers)
713 (ipa_pta_execute): Handle case that foo and foo._0 are not in same lto
716 2016-02-09 Richard Biener <rguenther@suse.de>
718 PR tree-optimization/69715
719 * tree-ssa.c (execute_update_addresses_taken): Mark non-decl
720 LHS on calls as non-rewritable.
722 2016-02-09 Tom de Vries <tom@codesourcery.com>
725 * lto-wrapper.c (append_diag_options): New function.
726 (compile_offload_image): Call append_diag_options.
728 2016-02-08 Sandra Loosemore <sandra@codesourcery.com>
731 * doc/extend.texi (Flag Output Operands): Correct sectioning.
732 Minor copy-edit to fix verb tenses.
734 2016-02-08 Jakub Jelinek <jakub@redhat.com>
736 PR tree-optimization/69209
737 * ipa-split.c (split_function): If split part is not
738 returning retval, retval has gimple type but is not
739 gimple value, force it into a SSA_NAME first.
741 2016-02-08 Nicklas Bo Jensen <nbjensen@gmail.com>
743 * doc/tree-ssa.texi (Preserving the virtual SSA form): Remove
746 2016-02-08 Jason Merrill <jason@redhat.com>
749 * convert.c (convert_to_integer_1): Check dofold on truncation
751 (convert_to_pointer_maybe_fold, convert_to_real_maybe_fold)
752 (convert_to_integer_maybe_fold, convert_to_complex_maybe_fold):
753 Rename from *_nofold.
754 * convert.h (convert_to_pointer_nofold, convert_to_integer_nofold)
755 (convert_to_real_nofold, convert_to_complex_nofold): New inlines.
757 2016-02-08 Bernd Schmidt <bschmidt@redhat.com>
760 * tree.c (build_common_tree_nodes): Remove short_double argument.
762 * tree.h (build_common_tree_nodes): Adjust declaration.
763 * doc/invoke.texi (-fshort-double): Remove documentation.
764 * config/mips/t-img-elf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
765 MULTILIB_EXCEPTIONS): Remove -fshort-double variant.
766 * lto-wrapper.c (merge_and_complain, append_compiler_options)
767 (append_linker_options): Don't handle OPT_fshort_double.
769 PR rtl-optimization/68730
770 * lra-remat.c (insn_to_cand_activation): New static variable.
771 (lra_remat): Allocate and free it.
772 (create_cand): New arg activation. Initialize a field in
773 insn_to_cand_activation if it is nonnull.
774 (create_cands): Pass the activation insn to create_cand when making
775 a candidate involving an output reload. Reorganize code a little.
776 (do_remat): Keep track of active status of candidates in a separate
779 2016-02-08 Richard Biener <rguenther@suse.de>
781 PR tree-optimization/69719
782 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
783 Properly use absolute of the difference of the two offsets to
784 compare or adjust the segment length.
786 2016-02-08 Richard Biener <rguenther@suse.de>
787 Jeff Law <law@redhat.com>
790 * tree-ssanames.c (make_ssa_name_fn): Always use unqualified
791 types for anonymous SSA names.
793 2016-02-08 Richard Biener <rguenther@suse.de>
795 PR rtl-optimization/69274
796 * ira.c (ira_setup_alts): Do not change recog_data.operand order.
798 2016-02-08 Jeff Law <law@redhat.com>
800 PR tree-optimization/65917
801 * tree-ssa-dom.c (record_temporary_equivalences): Record both
802 equivalences from if (x == y) style conditionals.
803 (loop_depth_of_name): Remove.
804 (record_equality): Remove loop depth check.
805 * tree-ssa-scopedtables.h (const_and_copies): Refine comments.
806 (const_and_copies::record_const_or_copy_raw): New member function.
807 * tree-ssa-scopedtables.c
808 (const_and_copies::record_const_or_copy_raw): New, factored out of
809 (const_and_copies::record_const_or_copy): Call new member function.
811 2016-02-05 Jeff Law <law@redhat.com>
813 PR tree-optimization/68541
814 * gimple-ssa-split-paths.c: Include tree-cfg.h and params.h.
815 (count_stmts_in_block): New function.
816 (poor_ifcvt_candidate_code): Likewise.
817 (is_feasible_trace): Add some heuristics to determine when path
818 splitting is profitable.
819 (find_block_to_duplicate_for_splitting_paths): Make sure the graph
820 is a diamond with a single exit.
822 2016-02-05 Martin Sebor <msebor@redhat.com>
825 * doc/invoke.texi: Update -Wplacement-new to take an optional
828 2016-02-06 Richard Henderson <rth@redhat.com>
831 * tree.c (tree_nop_conversion_p): Do not strip casts into or
832 out of non-standard address spaces.
834 2016-02-05 Jakub Jelinek <jakub@redhat.com>
836 PR rtl-optimization/69691
837 * lra-eliminations.c (move_plus_up): Don't add the addend twice.
839 2016-02-05 Pat Haugen <pthaugen@us.ibm.com>
841 * config/rs6000/crypto.md (crypto_vpermxor_<mode>): Correct insn type.
842 * config/rs6000/rs6000.md (mov<mode>_hardfloat): Likewise.
843 (*ieee128_mfvsrd_64bit): Likewise.
844 (*ieee128_mfvsrd_32bit): Likewise.
846 2016-02-05 Ilya Enkovich <enkovich.gnu@gmail.com>
850 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
852 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
853 instrumented_version.
855 2016-01-05 Jeremy Bennett <jeremy.bennett@embecosm.com>
857 * doc/invoke.texi (Optimize Options): In table of --param options
858 rename second occurrence of tracer-min-branch-ratio to
859 tracer-min-branch-probability, rename
860 tracer-min-branch-ratio-feedback to
861 tracer-min-branch-probability-feedback and clarify description,
862 rename sched-spec-state-edge-prob-cutoff to
863 sched-state-edge-prob-cutoff, rename selsched-max-insns-to-rename
864 to selsched-insns-to-rename, rename lto-minpartition to
865 lto-min-partition, delete reorder-blocks-duplicate and
866 reorder-blocks-duplicate-feedback.
868 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
870 * config/s390/s390.c (s390_register_info_set_ranges): Remove
873 2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
875 * doc/extend.texi: S/390: Correct some typos.
877 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
879 * config/s390/s390.c (s390_emit_call): Add missing 64 bit check.
881 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
884 * config/s390/s390.c (SAVE_SLOT_NONE, SAVE_SLOT_STACK): New defines.
885 (s390_register_info_gprtofpr): Use new macros above.
886 (s390_register_info_stdarg_fpr): Adjust max_fpr to better match
888 (s390_register_info_stdarg_gpr): Adjust max_gpr to better match
889 its name. Adjust restore and save gpr ranges.
890 (s390_register_info_set_ranges): New function.
891 (s390_register_info): Use new macros above. Call
892 s390_register_info_set_ranges.
893 (s390_optimize_register_info): Likewise.
894 (s390_hard_regno_rename_ok): Use new macros.
895 (s390_hard_regno_scratch_ok): Likewise.
896 (s390_emit_epilogue): Likewise.
897 (s390_can_use_return_insn): Likewise.
898 (s390_optimize_prologue): Likewise.
899 * config/s390/s390.md (GPR2_REGNUM, GPR6_REGNUM): New constants.
901 2016-02-05 Jakub Jelinek <jakub@redhat.com>
904 * config/i386/i386.c (convert_scalars_to_vector): Readd stack
906 (ix86_option_override_internal): Disable TARGET_STV even for
907 -m{incoming,preferred}-stack-boundary=3.
909 2016-02-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
911 * config.gcc: Mark deprecated rtems targets as obsolete.
913 2016-02-04 Segher Boessenkool <segher@kernel.crashing.org>
915 PR rtl-optimization/64682
916 PR rtl-optimization/69567
917 * combine.c (distribute_notes) <REG_DEAD>: Place the death note
918 before I2 only if the register is both used and set in I2.
920 2016-02-04 DJ Delorie <dj@redhat.com>
922 * config/msp430/msp430.c (msp430_start_function): Add function type.
924 2016-02-04 Jakub Jelinek <jakub@redhat.com>
927 * tree-dfa.c (get_ref_base_and_extent): Remove unreachable code.
929 2016-02-04 Uros Bizjak <ubizjak@gmail.com>
931 PR rtl-optimization/69577
933 2015-10-29 Richard Henderson <rth@redhat.com>
937 * config/i386/i386.c (ix86_cannot_change_mode_class): Tighten
938 sse check to the exact conditions of PR 67609.
940 2016-02-04 Michael Meissner <meissner@linux.vnet.ibm.com>
943 * config/rs6000/rs6000.md (mov<mode>_64bit_dm): Use 'd' constraint
944 instead of 'ws', and 'wh' instead of 'wm' since TFmode/IFmode are
945 not allowed into the traditional Altivec registers.
946 (movtd_64bit_nodm): Likewise.
947 (mov<mode>_32bit, FMOVE128_FPR iterator): Likewise.
949 2016-02-04 David Malcolm <dmalcolm@redhat.com>
951 * config/aarch64/cortex-a57-fma-steering.c
952 (aarch64_register_fma_steering): Remove "static" from arguments
955 2016-02-04 Wilco Dijkstra <wdijkstr@arm.com>
958 * ccmp.c (expand_ccmp_expr_1): Avoid evaluating gs0/gs1
961 2016-02-04 Mike Frysinger <vapier@gentoo.org>
963 * doc/invoke.texi: Delete -mno-fma4.
965 2016-02-04 Richard Sandiford <richard.sandiford@arm.com>
967 PR rtl-optimization/69577
968 * reginfo.c (record_subregs_of_mode): Add a partial_def parameter.
969 (find_subregs_of_mode): Update accordingly. Iterate over partial
972 2016-02-04 Alan Lawrence <alan.lawrence@arm.com>
974 * config/arm/arm-protos.h (neon_reinterpret): Remove.
975 * config/arm/arm.c (neon_reinterpret): Remove.
976 * config/arm/arm_neon_builtins.def (vreinterpretv8qi, vreinterpretv4hi,
977 vreinterpretv2si, vreinterpretv2sf, vreinterpretdi, vreinterpretv16qi,
978 vreinterpretv8hi, vreinterpretv4si, vreinterpretv4sf, vreinterpretv2di,
979 vreinterpretti): Remove.
980 * config/arm/neon.md (neon_vreinterpretv8qi<mode>,
981 neon_vreinterpretv4hi<mode>, neon_vreinterpretv2si<mode>,
982 neon_vreinterpretv2sf<mode>, neon_vreinterpretdi<mode>,
983 neon_vreinterpretti<mode>, neon_vreinterpretv16qi<mode>,
984 neon_vreinterpretv8hi<mode>, neon_vreinterpretv4si<mode>,
985 neon_vreinterpretv4sf<mode>, neon_vreinterpretv2di<mode>): Remove.
986 * config/arm/arm_neon.h (vreinterpret_p8_p16, vreinterpret_p8_f32,
987 vreinterpret_p8_p64, vreinterpret_p8_s64, vreinterpret_p8_u64,
988 vreinterpret_p8_s8, vreinterpret_p8_s16, vreinterpret_p8_s32,
989 vreinterpret_p8_u8, vreinterpret_p8_u16, vreinterpret_p8_u32,
990 vreinterpret_p16_p8, vreinterpret_p16_f32, vreinterpret_p16_p64,
991 vreinterpret_p16_s64, vreinterpret_p16_u64, vreinterpret_p16_s8,
992 vreinterpret_p16_s16, vreinterpret_p16_s32, vreinterpret_p16_u8,
993 vreinterpret_p16_u16, vreinterpret_p16_u32, vreinterpret_f32_p8,
994 vreinterpret_f32_p16, vreinterpret_f32_p64, vreinterpret_f32_s64,
995 vreinterpret_f32_u64, vreinterpret_f32_s8, vreinterpret_f32_s16,
996 vreinterpret_f32_s32, vreinterpret_f32_u8, vreinterpret_f32_u16,
997 vreinterpret_f32_u32, vreinterpret_p64_p8, vreinterpret_p64_p16,
998 vreinterpret_p64_f32, vreinterpret_p64_s64, vreinterpret_p64_u64,
999 vreinterpret_p64_s8, vreinterpret_p64_s16, vreinterpret_p64_s32,
1000 vreinterpret_p64_u8, vreinterpret_p64_u16, vreinterpret_p64_u32,
1001 vreinterpret_s64_p8, vreinterpret_s64_p16, vreinterpret_s64_f32,
1002 vreinterpret_s64_p64, vreinterpret_s64_u64, vreinterpret_s64_s8,
1003 vreinterpret_s64_s16, vreinterpret_s64_s32, vreinterpret_s64_u8,
1004 vreinterpret_s64_u16, vreinterpret_s64_u32, vreinterpret_u64_p8,
1005 vreinterpret_u64_p16, vreinterpret_u64_f32, vreinterpret_u64_p64,
1006 vreinterpret_u64_s64, vreinterpret_u64_s8, vreinterpret_u64_s16,
1007 vreinterpret_u64_s32, vreinterpret_u64_u8, vreinterpret_u64_u16,
1008 vreinterpret_u64_u32, vreinterpret_s8_p8, vreinterpret_s8_p16,
1009 vreinterpret_s8_f32, vreinterpret_s8_p64, vreinterpret_s8_s64,
1010 vreinterpret_s8_u64, vreinterpret_s8_s16, vreinterpret_s8_s32,
1011 vreinterpret_s8_u8, vreinterpret_s8_u16, vreinterpret_s8_u32,
1012 vreinterpret_s16_p8, vreinterpret_s16_p16, vreinterpret_s16_f32,
1013 vreinterpret_s16_p64, vreinterpret_s16_s64, vreinterpret_s16_u64,
1014 vreinterpret_s16_s8, vreinterpret_s16_s32, vreinterpret_s16_u8,
1015 vreinterpret_s16_u16, vreinterpret_s16_u32, vreinterpret_s32_p8,
1016 vreinterpret_s32_p16, vreinterpret_s32_f32, vreinterpret_s32_p64,
1017 vreinterpret_s32_s64, vreinterpret_s32_u64, vreinterpret_s32_s8,
1018 vreinterpret_s32_s16, vreinterpret_s32_u8, vreinterpret_s32_u16,
1019 vreinterpret_s32_u32, vreinterpret_u8_p8, vreinterpret_u8_p16,
1020 vreinterpret_u8_f32, vreinterpret_u8_p64, vreinterpret_u8_s64,
1021 vreinterpret_u8_u64, vreinterpret_u8_s8, vreinterpret_u8_s16,
1022 vreinterpret_u8_s32, vreinterpret_u8_u16, vreinterpret_u8_u32,
1023 vreinterpret_u16_p8, vreinterpret_u16_p16, vreinterpret_u16_f32,
1024 vreinterpret_u16_p64, vreinterpret_u16_s64, vreinterpret_u16_u64,
1025 vreinterpret_u16_s8, vreinterpret_u16_s16, vreinterpret_u16_s32,
1026 vreinterpret_u16_u8, vreinterpret_u16_u32, vreinterpret_u32_p8,
1027 vreinterpret_u32_p16, vreinterpret_u32_f32, vreinterpret_u32_p64,
1028 vreinterpret_u32_s64, vreinterpret_u32_u64, vreinterpret_u32_s8,
1029 vreinterpret_u32_s16, vreinterpret_u32_s32, vreinterpret_u32_u8,
1030 vreinterpret_u32_u16, vreinterpretq_p8_p16, vreinterpretq_p8_f32,
1031 vreinterpretq_p8_p64, vreinterpretq_p8_p128, vreinterpretq_p8_s64,
1032 vreinterpretq_p8_u64, vreinterpretq_p8_s8, vreinterpretq_p8_s16,
1033 vreinterpretq_p8_s32, vreinterpretq_p8_u8, vreinterpretq_p8_u16,
1034 vreinterpretq_p8_u32, vreinterpretq_p16_p8, vreinterpretq_p16_f32,
1035 vreinterpretq_p16_p64, vreinterpretq_p16_p128, vreinterpretq_p16_s64,
1036 vreinterpretq_p16_u64, vreinterpretq_p16_s8, vreinterpretq_p16_s16,
1037 vreinterpretq_p16_s32, vreinterpretq_p16_u8, vreinterpretq_p16_u16,
1038 vreinterpretq_p16_u32, vreinterpretq_f32_p8, vreinterpretq_f32_p16,
1039 vreinterpretq_f32_p64, vreinterpretq_f32_p128, vreinterpretq_f32_s64,
1040 vreinterpretq_f32_u64, vreinterpretq_f32_s8, vreinterpretq_f32_s16,
1041 vreinterpretq_f32_s32, vreinterpretq_f32_u8, vreinterpretq_f32_u16,
1042 vreinterpretq_f32_u32, vreinterpretq_p64_p8, vreinterpretq_p64_p16,
1043 vreinterpretq_p64_f32, vreinterpretq_p64_p128, vreinterpretq_p64_s64,
1044 vreinterpretq_p64_u64, vreinterpretq_p64_s8, vreinterpretq_p64_s16,
1045 vreinterpretq_p64_s32, vreinterpretq_p64_u8, vreinterpretq_p64_u16,
1046 vreinterpretq_p64_u32, vreinterpretq_p128_p8, vreinterpretq_p128_p16,
1047 vreinterpretq_p128_f32, vreinterpretq_p128_p64, vreinterpretq_p128_s64,
1048 vreinterpretq_p128_u64, vreinterpretq_p128_s8, vreinterpretq_p128_s16,
1049 vreinterpretq_p128_s32, vreinterpretq_p128_u8, vreinterpretq_p128_u16,
1050 vreinterpretq_p128_u32, vreinterpretq_s64_p8, vreinterpretq_s64_p16,
1051 vreinterpretq_s64_f32, vreinterpretq_s64_p64, vreinterpretq_s64_p128,
1052 vreinterpretq_s64_u64, vreinterpretq_s64_s8, vreinterpretq_s64_s16,
1053 vreinterpretq_s64_s32, vreinterpretq_s64_u8, vreinterpretq_s64_u16,
1054 vreinterpretq_s64_u32, vreinterpretq_u64_p8, vreinterpretq_u64_p16,
1055 vreinterpretq_u64_f32, vreinterpretq_u64_p64, vreinterpretq_u64_p128,
1056 vreinterpretq_u64_s64, vreinterpretq_u64_s8, vreinterpretq_u64_s16,
1057 vreinterpretq_u64_s32, vreinterpretq_u64_u8, vreinterpretq_u64_u16,
1058 vreinterpretq_u64_u32, vreinterpretq_s8_p8, vreinterpretq_s8_p16,
1059 vreinterpretq_s8_f32, vreinterpretq_s8_p64, vreinterpretq_s8_p128,
1060 vreinterpretq_s8_s64, vreinterpretq_s8_u64, vreinterpretq_s8_s16,
1061 vreinterpretq_s8_s32, vreinterpretq_s8_u8, vreinterpretq_s8_u16,
1062 vreinterpretq_s8_u32, vreinterpretq_s16_p8, vreinterpretq_s16_p16,
1063 vreinterpretq_s16_f32, vreinterpretq_s16_p64, vreinterpretq_s16_p128,
1064 vreinterpretq_s16_s64, vreinterpretq_s16_u64, vreinterpretq_s16_s8,
1065 vreinterpretq_s16_s32, vreinterpretq_s16_u8, vreinterpretq_s16_u16,
1066 vreinterpretq_s16_u32, vreinterpretq_s32_p8, vreinterpretq_s32_p16,
1067 vreinterpretq_s32_f16, vreinterpretq_s32_f32, vreinterpretq_s32_p64,
1068 vreinterpretq_s32_p128, vreinterpretq_s32_s64, vreinterpretq_s32_u64,
1069 vreinterpretq_s32_s8, vreinterpretq_s32_s16, vreinterpretq_s32_u8,
1070 vreinterpretq_s32_u16, vreinterpretq_s32_u32, vreinterpretq_u8_p8,
1071 vreinterpretq_u8_p16, vreinterpretq_u8_f32, vreinterpretq_u8_p64,
1072 vreinterpretq_u8_p128, vreinterpretq_u8_s64, vreinterpretq_u8_u64,
1073 vreinterpretq_u8_s8, vreinterpretq_u8_s16, vreinterpretq_u8_s32,
1074 vreinterpretq_u8_u16, vreinterpretq_u8_u32, vreinterpretq_u16_p8,
1075 vreinterpretq_u16_p16, vreinterpretq_u16_f32, vreinterpretq_u16_p64,
1076 vreinterpretq_u16_p128, vreinterpretq_u16_s64, vreinterpretq_u16_u64,
1077 vreinterpretq_u16_s8, vreinterpretq_u16_s16, vreinterpretq_u16_s32,
1078 vreinterpretq_u16_u8, vreinterpretq_u16_u32, vreinterpretq_u32_p8,
1079 vreinterpretq_u32_p16, vreinterpretq_u32_f32, vreinterpretq_u32_p64,
1080 vreinterpretq_u32_p128, vreinterpretq_u32_s64, vreinterpretq_u32_u64,
1081 vreinterpretq_u32_s8, vreinterpretq_u32_s16, vreinterpretq_u32_s32,
1082 vreinterpretq_u32_u8, vreinterpretq_u32_u16): Rewrite using casts.
1084 2016-02-04 Martin Liska <mliska@suse.cz>
1087 * asan.c (has_stmt_been_instrumented_p): Instrument gimple calls
1088 that are gimple_store_p.
1089 (maybe_instrument_call): Likewise.
1091 2016-02-04 Bin Cheng <bin.cheng@arm.com>
1093 * config/aarch64/aarch64.c (aarch64_legitimize_address): Force
1094 register scaling out of memory reference and comment why.
1096 2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1100 * cse.c (cse_insn): Pass NULL to fold_rtx when initially
1101 folding the source of a SET.
1103 2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1107 * config/arm/arm.c (arm_new_rtx_costs, MULT case): Properly extract
1108 the operands of the SIGN_EXTENDs from a SMUL[TB][TB] rtx.
1110 2016-02-04 Jim Wilson <jim.wilson@linaro.org>
1114 * config/arm/arm.h (PROMOTE_MODE): Don't set UNSIGNEDP for QImode and
1117 2016-02-04 Christian Bruel <christian.bruel@st.com>
1119 * config/arm/arm-c.c (arm_reset_previous_fndecl): Style fix and typo.
1120 * config/arm/arm.c (arm_set_current_function): Likewise.
1122 2016-02-04 Jakub Jelinek <jakub@redhat.com>
1123 Ilya Enkovich <enkovich.gnu@gmail.com>
1124 H.J. Lu <hongjiu.lu@intel.com>
1127 * config/i386/i386.c (convert_scalars_to_vector): Remove
1128 stack alignment fixes.
1129 (ix86_option_override_internal): Disable TARGET_STV if stack
1130 might not be aligned enough.
1131 (ix86_minimum_alignment): Assert that TARGET_STV is false.
1133 2016-02-04 Victoria Stepanyan <victoria.stepanyan@amd.com>
1135 * gcc/config/i386/x86-tune.def: Disable default prefetching
1138 2016-02-03 Michael Meissner <meissner@linux.vnet.ibm.com>
1139 Vladimir Makarov <vmakarov@redhat.com>
1142 * config/rs6000/rs6000.c (rs6000_legitimate_address_p): Fix thinko
1143 in validating fused toc addresses.
1145 2016-02-03 Jakub Jelinek <jakub@redhat.com>
1148 * diagnostic-show-locus.c (layout::get_state_at_point): Don't read
1149 range->m_caret fields if range->m_show_caret_p is false.
1152 * config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap):
1153 Force oldval into register if it does not satisfy reg_or_short_operand
1154 predicate. Fix up formatting.
1156 2016-02-03 Vladimir Makarov <vmakarov@redhat.com>
1157 Alexandre Oliva <aoliva@redhat.com>
1160 * lra-constraints.c (simplify_operand_subreg): Check additionally
1161 address validity after potential reloading.
1162 (process_address_1): Check insns validity. In case of failure do
1165 2016-02-03 Kirill Yukhin <kirill.yukhin@intel.com>
1168 * config/i386/sse.md (define_insn "avx512f_maskcmp<mode>3"):
1171 2016-02-02 Jakub Jelinek <jakub@redhat.com>
1173 * wide-int.cc (canonize_uhwi): New function.
1174 (wi::divmod_internal): Use it.
1176 2016-02-02 James Norris <jnorris@codesourcery.com
1178 * gimplify.c (omp_notice_variable): Add usage check.
1180 2016-02-02 Alexander Monakov <amonakov@ispras.ru>
1182 * config/nvptx/nvptx.c (nvptx_print_operand): Treat LEU, GEU, LTU, GTU
1183 like LE, GE, LT, GT when emitting relational operator.
1185 2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
1187 * ira-costs.c (find_costs_and_classes): Add extra argument.
1188 * target.def (ira_change_pseudo_allocno_class): Add parameter.
1189 * targhooks.h (ira_change_pseudo_allocno_class): Likewise.
1190 * targhooks.c (ira_change_pseudo_allocno_class): Likewise.
1191 * config/aarch64/aarch64.c (aarch64_ira_change_pseudo_allocno_class)
1192 Add best_class parameter, and return it if not ALL_REGS.
1193 * config/mips/mips.c (mips_ira_change_pseudo_allocno_class):
1195 * doc/tm.texi (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS):
1198 2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
1200 * config/aarch64/aarch64.c
1201 (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS): New define.
1202 (aarch64_ira_change_pseudo_allocno_class): New function.
1204 2016-02-02 Uros Bizjak <ubizjak@gmail.com>
1207 * config/i386/i386.c (geode_cost): Increase cost of MMX and SSE moves.
1209 2016-02-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1211 * config/avr/avr.c (avr_option_override): Set
1212 PARAM_ALLOW_STORE_DATA_RACES to 1.
1214 2016-02-02 Richard Biener <rguenther@suse.de>
1216 PR tree-optimization/69595
1217 * match.pd: Add range test simplifications to true/false.
1219 2016-02-02 Thomas Schwinge <thomas@codesourcery.com>
1221 * omp-builtins.def (BUILT_IN_GOACC_HOST_DATA): Remove.
1222 * omp-low.c (expand_omp_target): Use BUILT_IN_GOACC_DATA_START
1225 2016-02-02 Richard Biener <rguenther@suse.de>
1227 PR tree-optimization/69606
1228 * tree-ssa-math-opts.c (bswap_replace): Clear flow sensitive
1229 info on the result before moving a stmt.
1231 2016-02-02 Yuri Rumyantsev <ysrumyan@gmail.com>
1234 * config/i386/i386.c (ix86_expand_branch): Add support for conditional
1235 branch with vector comparison.
1236 * config/i386/sse.md (VI48_AVX): New mode iterator.
1237 (define_expand "cbranch<mode>4): Add support for conditional branch
1238 with vector comparison.
1239 * tree-vect-loop.c (optimize_mask_stores): New function.
1240 * tree-vect-stmts.c (vectorizable_mask_load_store): Initialize
1241 has_mask_store field of vect_info.
1242 * tree-vectorizer.c (vectorize_loops): Invoke optimaze_mask_stores for
1243 vectorized loops having masked stores after vec_info destroy.
1244 * tree-vectorizer.h (loop_vec_info): Add new has_mask_store field and
1245 correspondent macros.
1246 (optimize_mask_stores): Add prototype.
1248 2016-02-02 Alan Modra <amodra@gmail.com>
1251 * config/rs6000/predicates.md (quad_int_reg_operand): Don't
1254 2016-02-02 Alan Modra <amodra@gmail.com>
1257 * config/rs6000/rs6000.c (need_toc_init): New var, set it
1258 whenever toc_label_name used.
1259 (rs6000_file_start): Don't set up toc section here,
1260 (rs6000_output_function_epilogue): do so here instead,
1261 (rs6000_xcoff_file_start): and here.
1262 * config/rs6000/rs6000.md (load_toc_aix_si): Set need_toc_init.
1263 (load_toc_aix_di): Likewise.
1265 2016-02-01 Jakub Jelinek <jakub@redhat.com>
1267 PR rtl-optimization/69592
1268 * rtlanal.c (nonzero_bits_binary_arith_p): New inline function.
1269 (cached_nonzero_bits): Use it instead of ARITHMETIC_P.
1270 (num_sign_bit_copies_binary_arith_p): New inline function.
1271 (cached_num_sign_bit_copies): Use it instead of ARITHMETIC_P.
1273 2016-02-01 Jeff Law <law@redhat.com>
1275 PR tree-optimization/69580
1276 * params.def (FSM_MAXIMUM_PHI_ARGUMENTS): New param.
1277 * tree-ssa-threadbackward.c
1278 (fsm_find_control_statement_thread_paths): Do not try to walk
1279 through large PHI nodes.
1281 2016-02-01 Jakub Jelinek <jakub@redhat.com>
1283 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return false
1284 when count is incremented above limit, don't analyze further
1287 * omp-low.c (oacc_parse_default_dims): Avoid
1288 -Wsign-compare warning, make sure value fits into int
1289 rather than just unsigned int.
1291 2016-02-01 Bin Cheng <bin.cheng@arm.com>
1293 PR tree-optimization/67921
1294 * fold-const.c (split_tree): New parameters. Convert pointer
1295 type variable part to proper type before negating.
1296 (fold_binary_loc): Pass new arguments to split_tree.
1298 2016-02-01 Nathan Sidwell <nathan@codesourcery.com>
1300 * config/nvptx/nvptx.c (PTX_GANG_DEFAULT): New.
1301 (nvptx_goacc_validate_dims): Extend to handle global defaults.
1302 * target.def (OACC_VALIDATE_DIMS): Extend documentation.
1303 * doc/tm.texti: Rebuilt.
1304 * doc/invoke.texi (fopenacc-dim): Document.
1305 * lto-wrapper.c (merge_and_complain): Add OPT_fopenacc_dim_ case.
1306 (append_compiler_options): Likewise.
1307 * omp-low.c (oacc_default_dims, oacc_min_dims): New.
1308 (oacc_parse_default_dims): New.
1309 (oacc_validate_dims): Add USED arg. Select non-unity default when
1311 (oacc_loop_fixed_partitions): Return mask of used partitions.
1312 (oacc_loop_auto_partitions): Emit dump info.
1313 (oacc_loop_partition): Return mask of used partitions.
1314 (execute_oacc_device_lower): Parse default dimension arg. Adjust
1315 loop partitioning and validation calls.
1317 2016-02-01 Richard Biener <rguenther@suse.de>
1320 * match.pd: Guard (C1/X)*C2 -> (C1*C2)/X with single_use.
1322 2016-02-01 Richard Biener <rguenther@suse.de>
1324 PR tree-optimization/69574
1325 * tree-chrec.c (hide_evolution_in_other_loops_than_loop): Instead
1326 of asserting return chrec_dont_know.
1328 2016-02-01 Martin Liska <mliska@suse.cz>
1330 * mem-stats-traits.h: Add copyright header.
1331 * mem-stats.h: Likewise.
1333 2016-02-01 Richard Biener <rguenther@suse.de>
1335 PR tree-optimization/69579
1336 * tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling):
1337 Do not propagate through abnormal PHI results.
1339 2016-02-01 Eric Botcazou <ebotcazou@adacore.com>
1341 * postreload.c (reload_cse_simplify): Remove dead code.
1343 2016-02-01 Jakub Jelinek <jakub@redhat.com>
1345 PR rtl-optimization/69570
1346 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return true only
1347 if there is more than one set, not if there is a single set.
1349 2016-02-01 Richard Henderson <rth@redhat.com>
1352 * combine.c (make_compound_operation): When looking through a
1353 subreg, make sure to re-extend to the width of the outer mode.
1355 2016-01-30 Jakub Jelinek <jakub@redhat.com>
1357 PR tree-optimization/69546
1358 * wide-int.cc (wi::divmod_internal): For unsigned division
1359 where both operands fit into uhwi, if o1 is 1 and o0 has
1360 msb set, if divident_prec is larger than bits per hwi,
1361 clear another quotient word and return 2 instead of 1.
1362 Similarly for remainder with msb in HWI set, if dividend_prec
1363 is larger than bits per hwi.
1365 2016-01-29 Martin Jambor <mjambor@suse.cz>
1367 * hsa-gen.c (get_memory_order_name): Mask with MEMMODEL_BASE_MASK.
1368 Use short lowercase names.
1369 (get_memory_order): Mask with MEMMODEL_BASE_MASK. Support
1370 MEMMODEL_CONSUME with acquire semantics and MEMMODEL_SEQ_CST with
1371 acq_rel one. Protect warning agains segfaults if
1372 get_memory_order_name returns NULL.
1373 (gen_hsa_ternary_atomic_for_builtin): Support with MEMMODEL_SEQ_CST
1374 with release semantics. Do not warn if get_memory_order already did.
1375 (gen_hsa_insns_for_call): Support with MEMMODEL_SEQ_CST with acquire
1376 semantics. Fix check for relaxed or acquire semantics. Do not warn
1377 if get_memory_order already did.
1379 2016-01-29 Sebastian Pop <s.pop@samsung.com>
1381 * doc/install.texi: Document that isl-0.16 is supported.
1383 2016-01-29 Vladimir Makarov <vmakarov@redhat.com>
1386 * config/i386/constraints.md (Bm): Describe as special memory
1388 * doc/md.texi (DEFINE_SPECIAL_MEMORY_CONSTRAINT): Describe it.
1389 * genoutput.c (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT.
1390 * genpreds.c (struct constraint_data): Add is_special_memory.
1391 (have_special_memory_constraints, special_memory_start): New
1393 (special_memory_end): Ditto.
1394 (add_constraint): Add new arg is_special_memory. Add code to
1395 process its true value. Update have_special_memory_constraints.
1396 (process_define_constraint): Pass the new arg.
1397 (process_define_register_constraint): Ditto.
1398 (choose_enum_order): Process special memory.
1399 (write_tm_preds_h): Generate enum const CT_SPECIAL_MEMORY and
1400 function insn_extra_special_memory_constraint.
1401 (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT.
1402 * gensupport.c (process_rtx): Process
1403 DEFINE_SPECIAL_MEMORY_CONSTRAINT.
1404 * ira-costs.c (record_reg_classes): Process CT_SPECIAL_MEMORY.
1405 * ira-lives.c (single_reg_class): Use
1406 insn_extra_special_memory_constraint.
1407 * ira.c (ira_setup_alts): Process CT_SPECIAL_MEMORY.
1408 * lra-constraints.c (process_alt_operands): Ditto.
1409 (curr_insn_transform): Use insn_extra_special_memory_constraint.
1410 * recog.c (asm_operand_ok, preprocess_constraints): Process
1412 * reload.c (find_reloads): Ditto.
1413 * rtl.def (DEFINE_SPECIFAL_MEMORY_CONSTRAINT): New.
1414 * stmt.c (parse_input_constraint): Use
1415 insn_extra_special_memory_constraint.
1417 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1420 * lra-splill.c (lra_final_code_change): Revert r229087 by
1421 removing all sub-registers.
1423 2016-01-29 Steve Ellcey <sellcey@imgtec.com>
1426 * config/mips/mips.c (mips_output_division): Check flag_delayed_branch.
1428 2016-01-29 Jakub Jelinek <jakub@redhat.com>
1431 * config/i386/i386.c (ix86_expand_vector_set) <case V4SImode>: For
1432 SSE1, copy target into the temporary reg first before recursing
1435 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1437 * config/i386/sse.md (sse2_cvtps2pd<mask_name>): Replace vBm
1440 2016-01-29 Jonathan Wakely <jwakely@redhat.com>
1442 * ginclude/stdarg.h: Test __cplusplus instead of
1443 __GXX_EXPERIMENTAL_CXX0X__.
1445 2016-01-29 Richard Biener <rguenther@suse.de>
1447 PR tree-optimization/69547
1448 * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1):
1449 Do not mark clobbers necessary.
1450 (mark_all_reaching_defs_necessary_1): Likewise.
1452 2016-01-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
1454 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Format
1455 declaration name with %qs and print it in both error messages.
1456 Also fix indentation.
1458 2016-01-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
1461 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Remove
1462 trailing blank line from error message.
1464 2016-01-29 Jonathan Wakely <jwakely@redhat.com>
1467 * ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG
1470 2016-01-29 Richard Biener <rguenther@suse.de>
1473 * match.pd: Allow all integral types when simplifying a
1474 widening or sign-changing conversion.
1476 2016-01-28 Sebastian Pop <s.pop@samsung.com>
1478 * graphite-isl-ast-to-gimple.c (get_rename_from_scev): Revert assert
1479 back to setting codegen_error to fail codegen.
1481 2016-01-28 Uros Bizjak <ubizjak@gmail.com>
1484 * config/i386/constraints.md (C): Only accept constant zero operand.
1485 (BC): New constraint.
1486 * config/i386/sse.md (*mov<mode>_internal): Use BC constraint
1487 instead of C constraint.
1488 * doc/md.texi (Machine Constraints): Update description
1491 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
1494 * config/mips/mips.c (and_operands_ok): Add MIPS16 check.
1496 2016-01-28 Jakub Jelinek <jakub@redhat.com>
1499 * lra-remat.c (calculate_local_reg_remat_bb_data): Only consider
1502 2016-01-28 Pat Haugen <pthaugen@us.ibm.com>
1504 * config/rs6000/rs6000.c (output_cbranch): Don't statically predict
1505 branches if using guessed profile.
1507 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
1509 * graphite-optimize-isl.c (optimize_isl): Fix dump.
1511 2016-01-28 Richard Henderson <rth@redhat.com>
1514 * config/aarch64/aarch64-modes.def (CC_Cmode): New
1515 * config/aarch64/aarch64-protos.h: Update.
1516 * config/aarch64/aarch64.c (aarch64_zero_extend_const_eq): New.
1517 (aarch64_select_cc_mode): Add check for use of CC_Cmode.
1518 (aarch64_get_condition_code_1): Handle CC_Cmode.
1519 * config/aarch64/aarch64.md (addti3): Use adddi3_compareC.
1520 (*add<mode>3_compareC_cconly_imm): New.
1521 (*add<mode>3_compareC_cconly): New.
1522 (*add<mode>3_compareC_imm): New.
1523 (add<mode>3_compareC): New.
1524 (add<mode>3_carryin, *addsi3_carryin_uxtw): Sort compare operand
1525 to be first. Use aarch64_carry_operation.
1526 (*add<mode>3_carryin_alt1, *addsi3_carryin_alt1_uxtw): Remove.
1527 (*add<mode>3_carryin_alt2, *addsi3_carryin_alt2_uxtw): Remove.
1528 (*add<mode>3_carryin_alt3, *addsi3_carryin_alt3_uxtw): Remove.
1529 (subti3): Use subdi3_compare1.
1530 (*sub<mode>3_compare0): Rename from sub<mode>3_compare0.
1531 (sub<mode>3_compare1): New.
1532 (*sub<mode>3_carryin0, *subsi3_carryin_uxtw): New.
1533 (*sub<mode>3_carryin): Use aarch64_borrow_operation.
1534 (*subsi3_carryin_uxtw): Likewise.
1535 (*ngc<mode>, *ngcsi_uxtw): Likewise.
1536 (*sub<mode>3_carryin_alt, *subsi3_carryin_alt_uxtw): New.
1537 * config/aarch64/iterators.md (DWI): New.
1538 * config/aarch64/predicates.md (aarch64_carry_operation): New.
1539 (aarch64_borrow_operation): New.
1541 2016-01-28 Abderrazek Zaafrani <a.zaafrani@samsung.com>
1543 * graphite-optimize-isl.c (optimize_isl): Print a different debug
1544 message when isl does not return a valid schedule.
1546 2016-01-28 Sebastian Pop <s.pop@samsung.com>
1548 * graphite-isl-ast-to-gimple.c (class translate_isl_ast_to_gimple):
1549 Remove comments from class declarations: they are already in the code
1552 2016-01-28 Sebastian Pop <s.pop@samsung.com>
1554 * graphite-isl-ast-to-gimple.c (binary_op_to_tree): Call
1556 (ternary_op_to_tree): Same.
1557 (unary_op_to_tree): Same.
1558 (nary_op_to_tree): Same.
1559 (gcc_expression_from_isl_expr_op): Same.
1560 (gcc_expression_from_isl_expression): Same.
1561 (graphite_create_new_loop): Same.
1562 (graphite_create_new_loop_guard): Same.
1563 (build_iv_mapping): Same.
1564 (graphite_create_new_guard): Same.
1565 (translate_isl_ast_to_gimple::copy_loop_phi_nodes): Same.
1566 (translate_isl_ast_to_gimple::translate_pending_phi_nodes): Same.
1568 2016-01-28 Sebastian Pop <s.pop@samsung.com>
1570 * graphite-isl-ast-to-gimple.c (get_rename_from_scev): Assert
1571 instead of setting codegen_error to fail codegen.
1573 2016-01-28 Jason Merrill <jason@redhat.com>
1575 * tree.h (BINFO_FLAG_0): Rename from BINFO_MARKED.
1577 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
1579 * config/aarch64/aarch64.c (aarch64_if_then_else_costs):
1580 Remove CONST_INT_P check in CCMP cost calculation.
1582 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
1584 * config/aarch64/aarch64.c (generic_vector_cost):
1585 Set vec_permute_cost.
1586 (cortexa57_vector_cost): Likewise.
1587 (exynosm1_vector_cost): Likewise.
1588 (xgene1_vector_cost): Likewise.
1589 (aarch64_builtin_vectorization_cost): Use vec_permute_cost.
1590 * config/aarch64/aarch64-protos.h (cpu_vector_cost):
1591 Add vec_permute_cost entry.
1593 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
1595 * config/aarch64/aarch64.md (ccmp<mode>): Disassemble
1597 (add<mode>3_compare0): Likewise.
1598 (addsi3_compare0_uxtw): Likewise.
1599 (add<mode>3nr_compare0): Likewise.
1600 (compare_neg<mode>): Likewise.
1601 (<optab><mode>3): Likewise.
1603 2016-01-28 Ilya Enkovich <enkovich.gnu@gmail.com>
1605 * tree-vect-stmts.c (vectorizable_comparison): Add
1606 NULL check for vectype.
1608 2016-01-28 Richard Biener <rguenther@suse.de>
1610 PR tree-optimization/69466
1611 * tree-vect-loop-manip.c (slpeel_duplicate_current_defs_from_edges):
1612 Account for PHIs we couldn't duplicate.
1614 2016-01-28 Martin Liska <mliska@suse.cz>
1617 * ggc-common.c (gt_pch_save): Use ENABLE_VALGRIND_ANNOTATIONS macro
1618 instead of ENABLE_VALGRIND_CHECKING.
1620 2016-01-27 Richard Henderson <rth@redhat.com>
1623 * lra-remat.c (subreg_regs): New.
1624 (dump_candidates_and_remat_bb_data): Dump it.
1625 (operand_to_remat): Reject if operand in subreg_regs.
1626 (set_bb_regs): Collect subreg_regs.
1627 (lra_remat): Init and free subreg_regs. Compute
1628 calculate_local_reg_remat_bb_data before create_cands.
1630 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1633 * config/i386/i386.c (ix86_update_stack_boundary): Don't
1634 change stack_alignment_needed for __tls_get_addr call.
1636 2016-01-27 Segher Boessenkool <segher@kernel.crashing.org>
1638 * config/rs6000/rs6000.c (print_operand): Rollback 's' removal.
1640 2016-01-27 Jeff Law <law@redhat.com>
1642 PR tree-optimization/68398
1643 PR tree-optimization/69196
1644 * params.def (PARAM_FSM_SCALE_PATH_STMTS): New parameter.
1645 (PARAM_FSM_SCALE_PATH_BLOCKS): Likewise.
1646 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
1647 Only count PHIs in the last block in the path. The others will
1648 const/copy propagate away. Add heuristic to allow more irreducible
1649 subloops to be created when it is likely profitable to do so.
1651 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
1652 Fix typo in comment. Use gsi_after_labels and remove the GIMPLE_LABEL
1653 check from within the loop. Use gsi_next_nondebug rather than gsi_next.
1655 2016-01-27 Jakub Jelinek <jakub@redhat.com>
1658 * sanitizer.def: Add BEGIN_SANITIZER_BUILTINS and
1659 END_SANITIZER_BUILTINS markers using DEF_BUILTIN_STUB.
1660 * asan.c (DEF_BUILTIN_STUB): Temporarily define.
1661 * tree-streamer-in.c: Include asan.h.
1662 (streamer_get_builtin_tree): For builtins in sanitizer
1663 range call initialize_sanitizer_builtins and retry.
1665 2016-01-27 Ian Lance Taylor <iant@google.com>
1667 * common.opt (fkeep-gc-roots-live): New undocumented option.
1668 * tree-ssa-loop-ivopts.c (add_candidate_1): If
1669 -fkeep-gc-roots-live, skip pointers.
1670 (add_iv_candidate_for_biv): Handle add_candidate_1 returning
1673 2016-01-27 Uros Bizjak <ubizjak@gmail.com>
1676 * config/i386/i386.md (*zext<mode>_doubleword_and): New pattern.
1677 (*zext<mode>_doubleword): Disable for TARGET_ZERO_EXTEND_WITH_AND.
1679 2016-01-27 Thomas Klausner <wiz@NetBSD.org>
1682 * configure.ac: NetBSD provides SSP in its C library.
1683 * configure: Updated.
1685 2016-01-27 Richard Biener <rguenther@suse.de>
1687 PR tree-optimization/69166
1688 * tree-vect-loop.c (vect_is_simple_reduction): Always check
1689 reduction code for commutativity / associativity.
1691 2016-01-27 Martin Jambor <mjambor@suse.cz>
1693 PR tree-optimization/69355
1694 * tree-sra.c (analyze_access_subtree): Correct hole detection when
1695 total_scalarization fails.
1697 2016-01-27 David Edelsohn <dje.gcc@gmail.com>
1699 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add
1702 2016-01-27 Christian Bruel <christian.bruel@st.com>
1705 * config/arm/arm-c.c (arm_pragma_target_parse): Add comments.
1706 Move arm_reset_previous_fndecl and set_target_option_current_node in
1707 the conditional part. Call save_restore_target_globals.
1708 * config/arm/arm.c (arm_set_current_function):
1709 Refactor to better support #pragma target and attribute mix.
1710 Call save_restore_target_globals.
1711 * config/arm/arm-protos.h (save_restore_target_globals): New function.
1713 2016-01-27 Martin Liska <mliska@suse.cz>
1715 * hsa.c (hsa_summary_t::link_functions): Create IPA_REF_ADDR
1716 reference for an HSA kernel and its host function.
1718 2016-01-27 Jakub Jelinek <jakub@redhat.com>
1720 PR tree-optimization/69399
1721 * wide-int.h (wi::lrshift): For larger precisions, only
1722 use fast path if shift is known to be < HOST_BITS_PER_WIDE_INT.
1724 2016-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1726 * config/arc/predicates.md (proper_comparison_operator): Reject
1727 constant-constant comparison.
1729 2016-01-26 Tom de Vries <tom@codesourcery.com>
1731 PR tree-optimization/69110
1732 * tree-data-ref.c (initialize_data_dependence_relation): Handle
1733 DR_NUM_DIMENSIONS == 0.
1735 2016-01-26 Abderrazek Zaafrani <a.zaafrani@samsung.com>
1736 Sebastian Pop <s.pop@samsung.com>
1738 * graphite-isl-ast-to-gimple.c (ternary_op_to_tree): Handle
1739 isl_ast_op_cond and isl_ast_op_select.
1740 (gcc_expression_from_isl_expr_op): Same.
1742 2016-01-26 Jason Merrill <jason@redhat.com>
1745 * tree.c (recompute_constructor_flags): Split out from
1747 (verify_constructor_flags): New.
1748 * tree.h: Declare them.
1750 2016-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
1752 PR rtl-optimization/69217
1753 * var-tracking.c (tracked_record_parameter_p): Don't segfault if there
1754 are no TYPE_FIELDS set for the record type.
1756 2016-01-26 Jakub Jelinek <jakub@redhat.com>
1759 * config/rs6000/rs6000.c (rs6000_option_override_internal): Initialize
1760 toc_label_name unconditionally.
1761 (rs6000_emit_load_toc_table): Call ggc_strdup on toc_label_name for
1762 SYMBOL_REF string. Use toc_label_name instead of constructing
1764 (rs6000_elf_declare_function_name): Use toc_label_name instead of
1765 constructing LCTOC1.
1767 2016-01-26 Martin Sebor <msebor@redhat.com>
1770 * doc/extend.texi (Common Type Attributes): Move text that talks about
1771 attribute packed from attribute aligned to the section discussing
1772 the former attribute for clarity.
1774 2016-01-26 Richard Henderson <rth@redhat.com>
1777 * trans-mem.c (tm_region_init): Mark entry block as visited.
1779 2016-01-26 David Malcolm <dmalcolm@redhat.com>
1782 * diagnostic-show-locus.c (layout::print_source_line): Replace
1783 call to pp_newline with call to layout::print_newline.
1784 (layout::print_annotation_line): Likewise.
1785 (layout::move_to_column): Likewise.
1786 (layout::print_any_fixits): After printing any fixits, print a
1787 trailing newline, if necessary.
1788 (layout::print_newline): New method, resetting any colorization
1790 (diagnostic_show_locus): Move the pp_newline to before the
1791 early bailout. Remove dummy block enclosing the layout instance.
1792 * diagnostic.c (default_diagnostic_finalizer): Replace invocation
1793 of pp_newline_and_flush with pp_flush.
1794 (diagnostic_append_note): Delete use of pp_newline.
1795 (diagnostic_append_note_at_rich_loc): Delete.
1796 * diagnostic.h (diagnostic_append_note_at_rich_loc): Delete.
1797 * pretty-print.h (output_buffer_append_r): Reset buff->line_length
1798 when newline characters are added to the buffer.
1800 2016-01-26 Michael Matz <matz@suse.de>
1802 * configure.ac (ac_cv_std_swap_in_utility): New test.
1803 * system.h (<algorithm>): Check HAVE_SWAP_IN_UTILITY as well.
1804 * configure: Regenerate.
1805 * config.in: Regenerate.
1807 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1809 * config/arc/arc.md (cstoresi4): Force operand into register.
1810 (arcset<code>): Fix predicate.
1811 (arcsetltu): Likewise.
1812 (arcsetgeu): Likewise.
1813 (arcsethi): Likewise.
1814 (arcsetls): Likewise.
1816 2016-01-26 Jakub Jelinek <jakub@redhat.com>
1818 PR tree-optimization/69483
1819 * gimple-fold.c (canonicalize_constructor_val): Return NULL
1820 if base has error_mark_node type.
1822 2016-01-26 Christophe Lyon <christophe.lyon@linaro.org>
1825 * config/arm/arm.c (neon_valid_immediate): Handle FP16 vectors.
1826 * config/arm/arm_neon.h (__ARM_NUM_LANES, __arm_lane, arm_lanq):
1828 (vget_lane_f16): Handle big-endian.
1829 (vgetq_lane_f16): Likewise.
1830 (vset_lane_f16): Likewise.
1831 (vsetq_lane_f16): Likewise.
1832 * config/arm/iterators.md (VQXMOV): Add V8HF.
1833 (VDQ): Add V4HF and V8HF.
1834 (V_reg): Handle V4HF and V8HF.
1835 (Is_float_mode): Likewise.
1836 * config/arm/neon.md (movv4hf, movv8hf, neon_vdup_nv4hf,
1837 neon_vdup_nv8hf): New patterns.
1838 (vec_set<mode>_internal, vec_extract<mode>, neon_vld1_dup<mode>):
1839 Use VD_LANE iterator.
1840 (neon_vld1_dup<mode>): Use VQ2 iterator.
1842 2016-01-26 Nathan Sidwell <nathan@acm.org>
1844 * omp-low.h (oacc_fn_attrib_kernels_p): Declare.
1845 (set_oacc_fn_attrib): Add IS_KERNEL arg.
1846 * omp-low.c (set_oacc_fn_attrib): Add IS_KERNEL arg.
1847 (oacc_fn_attrib_kernels_p, oacc_fn_attrib_level): New.
1848 (expand_omp_target): Pass is_kernel to set_oacc_fn_attrib.
1849 (oacc_validate_dims): Add LEVEL arg, don't return level.
1850 (new_oacc_loop_routine): Use oacc_fn_attrib_level, not
1852 (execute_oacc_device_lower): Adjust, add more dump output.
1853 * tree-ssa-loop.c (gate_oacc_kernels): Use
1854 oacc_fn_attrib_kernels_p.
1855 * tree-parloops.c (create_parallel_loop): Adjust
1856 set_oacc_fn_attrib call.
1858 2016-01-26 Jakub Jelinek <jakub@redhat.com>
1861 * lto-wrapper.c (merge_and_complain): Handle -fcilkplus.
1862 (append_compiler_options): Handle -fcilkplus.
1863 (append_linker_options): Ignore -fno-{openmp,openacc,cilkplus}.
1865 2016-01-26 Nick Clifton <nickc@redhat.com>
1868 * config/i386/winnt.c (i386_pe_binds_local_p): If a function has
1869 been marked as DECL_ONE_ONLY but we do not the means to make it
1870 so, then do not allow it to bind locally.
1872 2016-01-26 Jakub Jelinek <jakub@redhat.com>
1875 * opts.h (parse_sanitizer_options): New prototype.
1876 * opts.c (sanitizer_opts): New array.
1877 (parse_sanitizer_options): New function.
1878 (common_handle_option): Use parse_sanitizer_options.
1880 2016-01-26 H.J. Lu <hongjiu.lu@intel.com>
1883 * config/i386/i386.c (ix86_compute_frame_layout): Move stack
1884 alignment adjustment to ...
1885 (ix86_update_stack_boundary): Here. Don't over-align stack for
1887 (ix86_finalize_stack_realign_flags): Use stack_alignment_needed
1888 if __tls_get_addr is called.
1890 2016-01-26 Christian Bruel <christian.bruel@st.com>
1892 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Remove.
1894 2016-01-26 Eric Botcazou <ebotcazou@adacore.com>
1896 * config/ia64/ia64.c (ia64_expand_vecint_compare): Use gen_int_mode.
1898 2016-01-26 Richard Biener <rguenther@suse.de>
1901 * match.pd: Guard X * CST CMP 0 pattern with single_use.
1903 2016-01-26 Richard Biener <rguenther@suse.de>
1905 PR tree-optimization/69452
1906 * tree-ssa-loop-im.c (move_computations_dom_walker): Remove.
1907 (move_computations_dom_walker::before_dom_children): Rename
1909 (move_computations_worker): This.
1910 (move_computations): Perform an RPO rather than a DOM walk.
1912 2016-01-26 Jakub Jelinek <jakub@redhat.com>
1915 * combine.c (combine_instructions): For REG_EQUAL note with
1916 SET_DEST being ZERO_EXTRACT, also temporarily set SET_DEST
1917 to the underlying register.
1918 * doc/rtl.texi (REG_EQUAL): Document the behavior of
1919 REG_EQUAL/REG_EQUIV notes if SET_DEST is ZERO_EXTRACT.
1921 2016-01-26 Roger Ferrer Ibáñez <rofirrim@gmail.com>
1924 * config/aarch64/aarch64-builtins.c
1925 (aarch64_init_simd_builtin_types): Do not set structural
1926 equality to __Poly{8,16,64,128}_t types.
1928 2016-01-26 Richard Sandiford <richard.sandiford@arm.com>
1930 PR tree-optimization/69400
1931 * wide-int.cc (wi_pack): Take the precision as argument and
1932 perform canonicalization here rather than in the callers.
1933 Use the main loop to handle all full-width HWIs. Add a
1934 zero HWI if in_len isn't a full result.
1935 (wi::divmod_internal): Update accordingly.
1936 (wi::mul_internal): Likewise. Simplify.
1938 2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
1939 Sebastian Pop <s.pop@samsung.com>
1941 * graphite-poly.c (apply_poly_transforms): Simplify.
1942 (print_isl_set): Use more readable format: ISL_YAML_STYLE_BLOCK.
1943 (print_isl_map): Same.
1944 (print_isl_union_map): Same.
1945 (print_isl_schedule): New.
1946 (debug_isl_schedule): New.
1947 * graphite-dependences.c (scop_get_reads): Do not call
1948 isl_union_map_add_map that is undocumented isl functionality.
1949 (scop_get_must_writes): Same.
1950 (scop_get_may_writes): Same.
1951 (scop_get_original_schedule): Remove.
1952 (scop_get_dependences): Do not call isl_union_map_compute_flow that
1953 is deprecated in isl 0.15. Instead, use isl_union_access_* interface.
1954 (compute_deps): Remove.
1955 * graphite-isl-ast-to-gimple.c (print_schedule_ast): New.
1956 (debug_schedule_ast): New.
1957 (translate_isl_ast_to_gimple::scop_to_isl_ast): Call
1958 set_separate_option.
1959 (graphite_regenerate_ast_isl): Add dump.
1960 (translate_isl_ast_to_gimple::scop_to_isl_ast): Generate code
1961 from scop->transformed_schedule.
1962 (graphite_regenerate_ast_isl): Add more dump.
1963 * graphite-optimize-isl.c (optimize_isl): Set
1964 scop->transformed_schedule. Check whether schedules are equal.
1965 (apply_poly_transforms): Move here.
1966 * graphite-poly.c (apply_poly_transforms): ... from here.
1967 (free_poly_bb): Static.
1968 (free_scop): Static.
1969 (pbb_number_of_iterations_at_time): Remove.
1970 (print_isl_ast): New.
1971 (debug_isl_ast): New.
1972 (debug_scop_pbb): New.
1973 * graphite-scop-detection.c (print_edge): Move.
1975 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Remove.
1976 (build_scop_scattering): Remove.
1977 (create_pw_aff_from_tree): Assert instead of bailing out.
1978 (add_condition_to_pbb): Remove unused code, do not fail.
1979 (add_conditions_to_domain): Same.
1980 (add_conditions_to_constraints): Remove.
1981 (build_scop_context): New.
1982 (add_iter_domain_dimension): New.
1983 (build_iteration_domains): Initialize pbb->iterators.
1984 Call add_conditions_to_domain.
1987 (index_outermost_in_loop): New.
1988 (index_pbb_in_loop): New.
1989 (outermost_pbb_in): New.
1990 (add_in_sequence): New.
1991 (add_outer_projection): New.
1992 (outer_projection_mupa): New.
1993 (add_loop_schedule): New.
1994 (build_schedule_pbb): New.
1995 (build_schedule_loop): New.
1996 (embed_in_surrounding_loops): New.
1997 (build_schedule_loop_nest): New.
1998 (build_original_schedule): New.
1999 (build_poly_scop): Call build_original_schedule.
2000 * graphite.h: Declare print_isl_schedule and debug_isl_schedule.
2001 (free_poly_dr): Remove.
2002 (struct poly_bb): Add iterators. Remove schedule, transformed, saved.
2003 (free_poly_bb): Remove.
2004 (debug_loop_vec): Remove.
2005 (print_isl_ast): Declare.
2006 (debug_isl_ast): Declare.
2007 (scop_do_interchange): Remove.
2008 (scop_do_strip_mine): Remove.
2009 (scop_do_block): Remove.
2010 (flatten_all_loops): Remove.
2011 (optimize_isl): Remove.
2012 (pbb_number_of_iterations_at_time): Remove.
2013 (debug_scop_pbb): Declare.
2014 (print_schedule_ast): Declare.
2015 (debug_schedule_ast): Declare.
2016 (struct scop): Remove schedule. Add original_schedule,
2017 transformed_schedule.
2018 (free_gimple_poly_bb): Remove.
2019 (print_generated_program): Remove.
2020 (debug_generated_program): Remove.
2021 (unify_scattering_dimensions): Remove.
2022 * sese.c (print_edge): ... here.
2023 (print_sese): ... here.
2024 (debug_edge): ... here.
2025 (debug_sese): ... here.
2026 * sese.h (print_edge): Declare.
2027 (print_sese): Declare.
2028 (dump_edge): Declare.
2029 (dump_sese): Declare.
2031 2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
2032 Sebastian Pop <s.pop@samsung.com>
2034 * Makefile.in: Set ISLVER in site.exp.
2036 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2038 * omp-low.c (lower_omp_target) <case USE_DEVICE_PTR>: Set
2039 DECL_VALUE_EXPR of new_var even for the non-array case. Look
2040 through DECL_VALUE_EXPR for expansion.
2042 2016-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
2044 * config/mips/mips.c (mips_compute_frame_info): Skip re-computing
2045 the frame info after reload completed.
2047 2016-01-25 Jeff Law <law@redhat.com>
2049 PR tree-optimization/69196
2050 PR tree-optimization/68398
2051 * tree-ssa-threadupdate.h (enum bb_dom_status): Moved here from
2052 tree-ssa-threadupdate.c.
2053 (determine_bb_domination_status): Prototype
2054 * tree-ssa-threadupdate.c (enum bb_dom_status): Remove
2055 (determine_bb_domination_status): No longer static.
2056 (valid_jump_thread_path): Remove code to detect characteristics
2057 of the jump thread path not associated with correctness.
2058 * tree-ssa-threadbackward.c (fsm_find_control_statment_thread_paths):
2059 Correct test for thread path length. Count PHIs for real operands as
2060 statements that need to be copied. Do not count ASSERT_EXPRs.
2061 Look at all the blocks in the thread path. Compute and selectively
2062 filter thread paths based on threading through the latch, threading
2063 a multiway branch or crossing a multiway branch.
2065 2016-01-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2067 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): Add
2068 decl with __attribute__ ((unused)) annotation.
2070 2016-01-25 Ilya Enkovich <enkovich.gnu@gmail.com>
2073 * tree-vect-stmts.c (vectorizable_condition): Check vectype
2074 of operands is compatible with a statement vectype.
2076 2016-01-25 Eric Botcazou <ebotcazou@adacore.com>
2078 * doc/extend.texi (scalar_storage_order type attribute): Fix typo and
2079 improve wording for mixed storage order support.
2081 2016-01-25 Bilyan Borisov <bilyan.borisov@arm.com>
2083 * config/aarch64/arm_neon.h (vcvt_s64_f64): New intrinsic.
2084 (vcvt_u64_f64): Likewise.
2085 (vcvta_s64_f64): Likewise.
2086 (vcvta_u64_f64): Likewise.
2087 (vcvtm_s64_f64): Likewise.
2088 (vcvtm_u64_f64): Likewise.
2089 (vcvtn_s64_f64): Likewise.
2090 (vcvtn_u64_f64): Likewise.
2091 (vcvtp_s64_f64): Likewise.
2092 (vcvtp_u64_f64): Likewise.
2094 2016-01-25 Claudiu Zissulescu <claziss@synopsys.com>
2096 * config/arc/arc.c (TARGET_DWARF_REGISTER_SPAN): Define.
2097 (arc_init): Check validity mll64 option.
2098 (arc_save_restore): Use double load/store instruction.
2099 (arc_expand_movmem): Likewise.
2100 (arc_split_move): Don't split if we have double load/store
2101 instructions. Returns a boolean.
2102 (arc_process_double_reg_moves): Change function to return boolean
2103 instead of a sequence of instructions.
2104 (arc_dwarf_register_span): New function.
2105 * config/arc/arc-protos.h (arc_split_move): Change prototype.
2106 * config/arc/arc.h (TARGET_CPU_CPP_BUILTINS): Define __ARC_LL64__.
2107 * config/arc/arc.md (*movdi_insn): Emit ldd/std instructions.
2108 (*movdf_insn): Likewise.
2109 * config/arc/arc.opt (mll64): New option.
2110 * config/arc/predicates.md (even_register_operand): New predicate.
2111 * doc/invoke.texi (ARC Options): Add mll64 documentation.
2113 2016-01-25 Richard Biener <rguenther@suse.de>
2116 * dwarf2out.c (is_naming_typedef_decl): Not when DECL_NAMELESS.
2117 * tree-streamer-out.c (pack_ts_base_value_fields): Stream
2119 * tree-streamer-in.c (unpack_ts_base_value_fields): Likewise.
2121 2016-01-25 Richard Biener <rguenther@suse.de>
2123 PR tree-optimization/69376
2124 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add range_info_anti_range_p
2126 (VN_INFO_ANTI_RANGE_P): New inline.
2127 (VN_INFO_RANGE_TYPE): Likewise.
2128 * tree-ssa-sccvn.c (set_ssa_val_to): Also record and copy
2129 SSA_NAME_ANTI_RANGE_P.
2130 (free_scc_vn): Restore SSA_NAME_ANTI_RANGE_P.
2131 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
2132 Properly query VN_INFO_RANGE_TYPE.
2134 2016-01-25 Nick Clifton <nickc@redhat.com>
2137 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Remove definition.
2139 2016-01-23 Tom de Vries <tom@codesourcery.com>
2141 PR tree-optimization/69426
2142 * tree-parloops.c (eliminate_local_variables_stmt): Handle vdef of
2145 2016-01-23 Jakub Jelinek <jakub@redhat.com>
2147 * tree-ssanames.c (release_free_names_and_compact_live_names): Replace
2148 "the the" with "the" in the comments.
2149 * ipa-devirt.c (build_type_inheritance_graph,
2150 update_type_inheritance_graph): Likewise.
2151 * tree.c (build_function_type_list_1): Likewise.
2152 * cfgloopmanip.c (scale_loop_profile): Likewise.
2153 * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Likewise.
2154 * gimple-ssa-split-paths.c
2155 (find_block_to_duplicate_for_splitting_paths): Likewise.
2156 * tree-sra.c (init_subtree_with_zero, clobber_subtree): Likewise.
2157 * expr.c (convert_move): Likewise.
2158 * var-tracking.c (vt_stack_adjustments): Likewise.
2159 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Likewise.
2160 * tree-vrp.c (test_for_singularity): Likewise.
2162 * tree-vect-stmts.c (vectorizable_condition): Build a VEC_COND_EXPR
2163 directly instead of building a temporary tree.
2166 * genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
2167 remove <algorithm> include.
2169 2016-01-22 Jakub Jelinek <jakub@redhat.com>
2172 * config/i386/i386.c: Include dojump.h.
2173 (expand_small_movmem_or_setmem,
2174 expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Spelling
2176 (ix86_expand_set_or_movmem): Call do_pending_stack_adjust () early
2177 if dynamic_check != -1.
2179 2016-01-21 Jeff Law <law@redhat.com>
2182 * tree-ssa-dom.c (back_propagate_equivalences): Factored out of
2183 record_temporary_equivalences. Rewritten to avoid unnecessary calls
2184 into dominated_by_p.
2185 (cprop_into_successor_phis): Avoid unnecessary tests.
2187 2016-01-22 Richard Henderson <rth@redhat.com>
2190 * config/aarch64/aarch64.md (UNSPEC_NZCV): New.
2191 (ccmp<mode>, fccmp<mode>, fccmpe<mode>): Use it.
2193 2016-01-22 Michael Matz <matz@suse.de>
2195 * system.h (string, algorithm): Include only conditionally.
2196 (new): Include always under C++.
2197 * bb-reorder.c (toplevel): Define INCLUDE_ALGORITHM.
2198 * final.c (toplevel): Ditto.
2199 * ipa-chkp.c (toplevel): Define INCLUDE_STRING.
2200 * genconditions.c (write_header): Make gencondmd.c define
2202 * mem-stats.h (mem_usage::print_dash_line): Don't use std::string.
2204 * config/aarch64/aarch64.c (toplevel): Define INCLUDE_STRING.
2205 * common/config/aarch64/aarch64-common.c (toplevel): Ditto.
2207 2016-01-22 Christian Bruel <christian.bruel@st.com>
2210 * expr.c (expand_expr_real_1): Reset DECL_MODE if VECTOR_TYPE_P changed.
2212 2016-01-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2215 * config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
2216 define_insn_and_split. Ensure operands[1] and operands[0] do not
2217 get assigned the same register.
2219 2016-01-22 Kugan Vivekanandarajah <kuganv@linaro.org>
2221 * ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.
2223 2016-01-22 Christian Bruel <christian.bruel@st.com>
2225 * config/arm/arm-c.c (arm_pragma_target_parse):
2226 Remove warn_builtin_macro_redefined overwrite.
2228 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
2230 * ipa-inline.c (can_inline_edge_p): Back out overzealous check on
2231 flag_non_call_exceptions compatibility.
2233 2016-01-22 Jakub Jelinek <jakub@redhat.com>
2236 * dwarf2out.c (add_child_die_after): New function.
2237 (dwarf_qual_info_t): New type.
2238 (dwarf_qual_info): New variable.
2239 (qualified_die_p): New function.
2240 (modified_type_die): For -fdebug-types-section, ensure
2241 canonical order of qualifiers. Put qualified DIEs adjacent
2242 to the corresponding non-qualified type DIE and search there
2243 for existing qualified DIEs.
2245 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
2247 * doc/extend.texi (scalar_storage_order type attribute): Document
2248 restriction on type punning and aliasing, and remove future tense.
2250 2016-01-21 Roman Zhuykov <zhroma@ispras.ru>
2253 * modulo-sched.c (optimize_sc): Allow branch-scheduling to add a new
2256 2016-01-21 Jeff Law <law@redhat.com>
2259 * tree-ssa-dom.c (dom_opt_dom_walker::thread_across_edge): Avoid
2260 useless call to record_temporary_equivalences.
2261 * tree-ssa-threadbackward.c (find_jump_threads_backwards): Just
2262 allocate 10 slots in the bb_path vector and let it grow as needed.
2263 (fsm_find_control_statement_thread_paths): Similarly for the next_path
2266 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
2268 * configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
2270 * configure: Regenerate.
2272 2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
2274 * config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
2275 * config/rs6000/driver-rs6000.c (struct asm_names): Likewise.
2277 2016-01-21 Bernd Schmidt <bschmidt@redhat.com>
2280 * expr.c (expand_expr_real_2) [PLUS_EXPR, MINUS_EXPR]: Don't
2281 drop EXPAND_INITIALIZER.
2282 * rtl.h (contains_symbolic_reference_p): Declare.
2283 * rtlanal.c (contains_symbolic_reference_p): New function.
2284 * simplify-rtx.c (simplify_binary_operation_1): Don't turn
2285 a subtraction into a NOT if symbolic constants are involved.
2287 2016-01-21 Anton Blanchard <anton@samba.org>
2288 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2291 * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): New
2293 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New
2296 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
2298 * config/microblaze/microblaze.c
2299 (get_branch_target): New.
2300 (insert_wic_for_ilb_runout): New.
2302 (microblaze_machine_dependent_reorg): New.
2303 (TARGET_MACHINE_DEPENDENT_REORG): Define macro.
2304 * config/microblaze/microblaze.md
2305 (UNSPEC_IPREFETCH): Define.
2306 (iprefetch): New pattern
2307 * config/microblaze/microblaze.opt
2308 (mxl-prefetch): New flag.
2310 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
2312 * config/microblaze/microblaze.h
2313 (FIXED_REGISTERS): Update in macro.
2314 (CALL_USED_REGISTERS): Update in macro.
2316 2016-01-21 Yuri Rumyantsev <ysrumyan@gmail.com>
2318 PR rtl-optimization/68920
2319 * ifcvt.c (cond_move_process_if_block): Limit number of conditional
2322 2016-01-21 Vladimir Makarov <vmakarov@redhat.com>
2324 PR rtl-optimization/68990
2325 * lra-coalesce.c (lra_coalesce): Invalidate value for the result
2326 pseudo instead of inheritance ones.
2328 2016-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
2329 Nick Clifton <nickc@redhat.com>
2333 * config/mips/mips.c (mips_compute_frame_info): Initialise
2334 args_size and hard_frame_pointer_offset fields of the frame
2335 structure before calling mips_global_pointer.
2337 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
2339 * configure.ac (gcc_cv_as_dwloc): Test support for debug frame section
2341 * configure: Regenerate.
2343 2016-01-21 Richard Biener <rguenther@suse.de>
2345 * graphite-optimize-isl.c (get_schedule_map): Fix typo.
2347 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
2349 * config/s390/s390.c (s390_asm_declare_function_size): Add code
2350 to actually emit the .size directive.
2352 2016-01-21 Stefan Sørensen <stefan.sorensen@spectralink.com>
2353 Jakub Jelinek <jakub@redhat.com>
2357 * config/arm/arm-builtins.c (arm_expand_neon_builtin): Increase
2358 args array size by one to avoid buffer overflow.
2360 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
2362 * config/s390/s390.md (pool_section_start): Use switch_to_section
2363 to select proper read-only data section instead of hardcoding
2365 (pool_section_end): Use switch_to_section to match the above.
2367 2016-01-21 Richard Biener <rguenther@suse.de>
2369 PR tree-optimization/69378
2370 * tree-ssa-sccvn.c (dominated_by_p_w_unex): New function.
2371 (set_ssa_val_to): Use it for dominance checks taking into
2372 account not executable edges.
2374 2016-01-21 Jakub Jelinek <jakub@redhat.com>
2377 * tree-dfa.c (get_ref_base_and_extent): Use GET_MODE_BITSIZE (mode)
2378 for bitsize instead of GET_MODE_PRECISION (mode).
2380 2016-01-20 Martin Sebor <msebor@redhat.com>
2383 * extend.texi (__sync Builtins): Clarify the semantics of
2384 __sync_fetch_and_OP built-ins on pointers.
2385 (__atomic Builtins): Same.
2387 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2388 Sebastian Pop <s.pop@samsung.com>
2390 * graphite-isl-ast-to-gimple.c (enum phi_node_kind): New.
2391 (class translate_isl_ast_to_gimple): Use phi_node_kind instead of bool.
2392 (is_valid_rename): Same.
2393 (translate_isl_ast_to_gimple::get_rename): Same.
2394 (translate_isl_ast_to_gimple::rename_all_uses): Same.
2395 (translate_isl_ast_to_gimple::rename_uses): Same.
2396 (get_new_name): Check for close_phi nodes.
2397 (copy_loop_phi_args): Use phi_node_kind.
2398 (translate_isl_ast_to_gimple::copy_loop_close_phi_args): Same.
2399 (translate_isl_ast_to_gimple::copy_cond_phi_args): Same.
2401 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2402 Sebastian Pop <s.pop@samsung.com>
2404 Revert commit r229783.
2405 * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
2406 Remove use of parameter_rename_map.
2408 (copy_internal_parameters): Remove.
2409 (graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
2410 * sese.c (new_sese_info): Do not initialize parameter_rename_map.
2411 (free_sese_info): Do not free parameter_rename_map.
2412 (set_rename): Do not use parameter_rename_map.
2413 (rename_uses): Update call to set_rename.
2414 (graphite_copy_stmts_from_block): Do not use parameter_rename_map.
2415 * sese.h (parameter_rename_map_t): Remove.
2416 (struct sese_info_t): Remove field parameter_rename_map.
2418 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2419 Sebastian Pop <s.pop@samsung.com>
2421 * graphite-isl-ast-to-gimple.c: Fix comment.
2422 * graphite-scop-detection.c (defined_in_loop_p): New.
2423 (canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
2424 names defined in loop.
2426 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2427 Sebastian Pop <s.pop@samsung.com>
2429 * graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
2430 Discard unstructured if-then-else regions.
2432 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2433 Sebastian Pop <s.pop@samsung.com>
2435 * graphite-sese-to-poly.c (set_scop_parameter_dim): Remove.
2436 (cleanup_loop_iter_dom): Remove.
2437 (build_loop_iteration_domains): Remove.
2438 (build_scop_context): Remove.
2439 (build_scop_iteration_domain): Remove.
2440 (add_loop_constraints): New.
2441 (build_iteration_domains): New.
2442 (build_poly_scop): Call build_iteration_domains.
2444 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2445 Sebastian Pop <s.pop@samsung.com>
2447 * graphite-scop-detection.c
2448 (scop_detection::harmful_loop_in_region): Free dom and loops.
2449 (scop_detection::loop_body_is_valid_scop): Free bbs.
2451 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2452 Sebastian Pop <s.pop@samsung.com>
2454 * graphite-scop-detection.c (record_loop_in_sese): New.
2455 (gather_bbs::before_dom_children): Call record_loop_in_sese.
2456 (build_scops): Remove call to build_sese_loop_nests.
2457 * sese.c (sese_record_loop): Remove.
2458 (build_sese_loop_nests): Remove.
2459 (new_sese_info): Remove region->loops.
2460 (free_sese_info): Same.
2461 * sese.h (sese_contains_loop): Same.
2462 (build_sese_loop_nests): Remove.
2463 (sese_contains_loop): Remove.
2465 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2466 Sebastian Pop <s.pop@samsung.com>
2468 * graphite-scop-detection.c (loop_is_valid_scop): Renamed
2469 loop_is_valid_in_scop.
2470 (scop_detection::harmful_stmt_in_region): Renamed
2471 harmful_loop_in_region.
2472 Call loop_is_valid_in_scop.
2474 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2475 Sebastian Pop <s.pop@samsung.com>
2477 * graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
2480 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2481 Sebastian Pop <s.pop@samsung.com>
2483 * graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
2484 * graphite.h (struct poly_bb): Remove field is_reduction.
2485 (PBB_IS_REDUCTION): Remove.
2487 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2488 Sebastian Pop <s.pop@samsung.com>
2490 * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
2491 (add_pdr_constraints): Same.
2492 (scop_get_reads): Same.
2493 (scop_get_must_writes): Same.
2494 (scop_get_may_writes): Same.
2495 (scop_get_original_schedule): Same.
2496 (extend_schedule): Same.
2497 (apply_schedule_on_deps): Same.
2498 (carries_deps): Same.
2499 (compute_deps): Same.
2500 (scop_get_dependences): Same.
2501 * graphite-isl-ast-to-gimple.c
2502 (translate_isl_ast_to_gimple::generate_isl_schedule): Same.
2503 * graphite-optimize-isl.c (get_schedule_for_band): Same.
2504 (get_schedule_for_band_list): Same.
2505 (get_schedule_map): Same.
2506 (apply_schedule_map_to_scop): Same.
2507 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same.
2508 (build_loop_iteration_domains): Same.
2509 (add_condition_to_pbb): Same.
2510 (add_param_constraints): Same.
2511 (pdr_add_memory_accesses): Same.
2512 (pdr_add_data_dimensions): Same.
2514 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
2516 * doc/invoke.texi (Instrumentation Options): Clarify -mmpx linking
2519 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
2521 * common.opt (feliminate-dwarf2-dups): Replace references to
2522 "DWARF 2" with just "DWARF".
2523 * config/ia64/ia64.opt (mdwarf2-asm): Likewise.
2524 * doc/extend.texi: Likewise.
2525 * doc/cpp.texi: Likewise.
2526 * doc/invoke.texi: Likewise.
2527 (Option Summary): Add -gdwarf to list of Debugging Options.
2528 (Debugging Options): Document -gdwarf.
2529 * doc/contrib.texi: Spell "DWARF" like that.
2531 2016-01-21 Jakub Jelinek <jakub@redhat.com>
2533 * omp-low.c (expand_omp_target): Avoid -Wmaybe-uninitialized
2534 warning. Fix up formatting.
2537 * gimplify.c (gimplify_asm_expr): Warn if it is too late to
2538 attempt to mark memory input operand addressable and
2539 call prepare_gimple_addressable in that case. Don't adjust
2540 input_location for diagnostics, use error_at instead.
2542 2016-01-20 Peter Bergner <bergner@vnet.ibm.com>
2544 * config/rs6000/ppc-auxv.h: New file.
2545 * config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
2547 (cpu_supports): Likewise.
2548 * config/rs6000/rs6000.c: include "ppc-auxv.h".
2549 (cpu_is_info): New variable.
2550 (cpu_supports_info): Likewise.
2551 (tcb_verification_symbol): Likewise.
2552 (cpu_builtin_p): Likewise.
2553 (cpu_expand_builtin): New function.
2554 (rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
2555 (rs6000_init_builtins): Likewise.
2556 (rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
2557 * config/rs6000/rs6000.h (TLS_REGNUM): New define.
2558 * configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
2559 * configure: Regenerate.
2560 * config.in: Likewise.
2561 * doc/extend.texi (PowerPC Built-in Functions): Document
2562 __builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.
2564 2016-01-20 David Edelsohn <dje.gcc@gmail.com>
2567 * config/rs6000/rs6000.c (rs6000_emit_swsqrt): Add vector sqrt
2569 * config/rs6000/vector.md (sqrt<mode>2): Call rs6000_emit_swsqrt
2572 2016-01-20 Richard Henderson <rth@redhat.com>
2578 * tree.c (tm_define_builtin): New.
2579 (find_tm_vector_type): New.
2580 (build_tm_vector_builtins): New.
2581 (build_common_builtin_nodes): Call it.
2583 2016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
2585 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
2586 (arm_fp_ok): Likewise.
2588 (arm_crypto): Likewise.
2590 2016-01-20 Ilya Enkovich <enkovich.gnu@gmail.com>
2591 Richard Biener <rguenther@suse.de>
2593 PR tree-optimization/69328
2594 * tree-vect-stmts.c (vect_is_simple_cond): Check compared
2595 vectors have same number of elements.
2596 (vectorizable_condition): Fix masked version recognition.
2598 2016-01-20 Richard Biener <rguenther@suse.de>
2600 PR tree-optimization/69345
2601 * tree-ssa-sccvn.h (VN_INFO_RANGE_INFO): New inline function.
2602 (VN_INFO_PTR_INFO): Likewise.
2603 * tree-ssa-sccvn.c (set_ssa_val_to): Avoid clearing points-to
2604 info when it is equal between non-dominating SSA names.
2605 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
2606 Make sure to look at original SSA infos.
2608 2016-01-20 Jeff Law <law@redhat.com>
2611 * config/m68k/predicates.md (pow2_m1_operand): New predicate
2613 (reg_or_pow2_m1_operand): Call pow2_m1_operand.
2614 (pc_or_label_operand): New predicate.
2615 * config/m68k/m68k.md: Add new peephole2 patterns for GTU/LEU
2616 tests for small integers that are 2^n - 1.
2618 2016-01-20 Jonathan Wakely <jwakely@redhat.com>
2620 * doc/invoke.texi (Options Summary): Add '.' after @xref.
2622 2016-01-19 Jeff Law <law@redhat.com>
2625 * tree-ssa-threadbackwards.c
2626 (fsm_find_control_statement_thread_paths): Do not try to lookup
2627 FSM paths for SSA_NAMEs appearing in abnormal PHIs.
2629 2016-01-20 Kugan Vivekanandarajah <kuganv@linaro.org>
2631 * doc/lto.texi: Remove text that says only Gold has linker plugin
2634 2016-01-19 Eric Botcazou <ebotcazou@adacore.com>
2636 * dwarf2out.c (need_endianity_attribute_p): New inline predicate.
2637 (base_type_die): Add REVERSE parameter and attach DW_AT_endianity to
2638 the DIE accordingly.
2639 (modified_type_die): Add REVERSE parameter and pass it recursively,
2640 as well as to base_type_die. Adjust presence check accordingly.
2641 (base_type_for_mode): Adjust call to modified_type_die.
2642 (add_type_attribute): Add REVERSE parameter and pass it to
2644 (generic_parameter_die): Adjust call to add_type_attribute.
2645 (add_scalar_info): Likewise.
2646 (add_subscript_info): Likewise.
2647 (gen_array_type_die): Likewise.
2648 (gen_descr_array_type_die): Likewise.
2649 (gen_entry_point_die): Likewise.
2650 (gen_enumeration_type_die): Likewise.
2651 (gen_formal_parameter_die): Likewise.
2652 (gen_subprogram_die): Likewise.
2653 (gen_variable_die ): Likewise.
2654 (gen_const_die): Likewise.
2655 (gen_field_die): Likewise.
2656 (gen_pointer_type_die): Likewise.
2657 (gen_reference_type_die): Likewise.
2658 (gen_ptr_to_mbr_type_die): Likewise.
2659 (gen_inheritance_die): Likewise.
2660 (gen_subroutine_type_die): Likewise.
2661 (gen_typedef_die): Likewise.
2662 (force_type_die): Adjust call to modified_type_die.
2664 2016-01-19 Sandra Loosemore <sandra@codesourcery.com>
2666 * doc/standards.texi: Copy-editing for grammar, markup, and sentence
2667 flow throughout the file. Fix broken link to Objective-C 2.0
2669 * doc/invoke.texi: More copy-editing; fix numerous typos and spelling
2672 2016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
2674 * ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
2676 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
2679 * ipa-devirt.c (is_cxa_pure_virtual_p): New function.
2680 (maybe_record_node): Record cxa_pure_virtual as the only possible
2681 target if there are not ohter candidates.
2682 (possible_polymorphic_call_target_p): Accept cxa_pure_virtual.
2684 2016-01-19 Richard Biener <rguenther@suse.de>
2686 * hsa-gen.c (get_memory_order_name): Use MEMMODEL_ constants.
2687 (get_memory_order): Likewise.
2689 2016-01-19 Kirill Yukhin <kirill.yukhin@intel.com>
2691 * tree-vect-stmts.c (vectorizable_store): Check
2694 2016-01-19 David Malcolm <dmalcolm@redhat.com>
2697 * gcc.c (driver::decode_argv): Add call to
2698 init_opts_obstack before init_options_struct.
2699 * opts.c (init_opts_obstack): Remove idempotency.
2700 (init_options_struct): Replace call to init_opts_obstack
2701 with a gcc_assert to verify that it has already been called.
2702 * toplev.c (toplev::main): Add call to init_opts_obstack before
2703 calls to init_options_struct.
2704 (toplev::finalize): Move cleanup of opts_obstack next to
2705 cleanup of save_decoded_options, clearing the latter, and
2706 save_decoded_options_count.
2708 2016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2711 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): Set "conds"
2712 attribute to unconditional. Remove %? from output template.
2714 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
2715 Jiong Wang <jiong.wang@arm.com>
2717 * ccmp.c (expand_ccmp_expr_1): Cost the instruction sequences
2718 generated from different expand order.
2720 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
2722 * /config/aarch64/aarch64.c (aarch64_if_then_else_costs):
2723 Add support for CCMP costing.
2725 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
2727 * ccmp.c (ccmp_candidate_p): Remove integer-only restriction.
2728 * config/aarch64/aarch64.md (fccmp<mode>): New pattern.
2729 (fccmpe<mode>): Likewise.
2730 (fcmp): Rename to fcmp and globalize pattern.
2732 * config/aarch64/aarch64.c (aarch64_gen_ccmp_first): Add FP support.
2733 (aarch64_gen_ccmp_next): Add FP support.
2735 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
2737 * target.def (gen_ccmp_first): Update documentation.
2738 (gen_ccmp_next): Likewise.
2739 * doc/tm.texi (gen_ccmp_first): Update documentation.
2740 (gen_ccmp_next): Likewise.
2741 * ccmp.c (expand_ccmp_expr): Extract cmp_code from return value of
2742 expand_ccmp_expr_1. Improve comments.
2743 * config/aarch64/aarch64.md (ccmp_and): Use if_then_else for ccmp.
2744 (ccmp_ior<mode>): Remove pattern.
2745 (cmp<mode>): Remove expand.
2746 (cmp): Globalize pattern.
2747 (cstorecc4): Use cc_register.
2748 (mov<mode>cc): Remove ccmp_cc_register check.
2749 * config/aarch64/aarch64.c (aarch64_get_condition_code_1):
2750 Simplify after removal of CC_DNE/* modes.
2751 (aarch64_ccmp_mode_to_code): Remove.
2752 (aarch64_print_operand): Remove 'K' case. Merge 'm' and 'M' cases.
2753 In 'k' case use integer as condition.
2754 (aarch64_nzcv_codes): Remove inverted cases.
2755 (aarch64_code_to_ccmode): Remove.
2756 (aarch64_gen_ccmp_first): Use cmp pattern directly. Return the correct
2757 comparison with CC register to be used in folowing CCMP/branch/CSEL.
2758 (aarch64_gen_ccmp_next): Use previous comparison and mode in CCMP
2759 pattern. Return the comparison with CC register. Invert conditions
2761 * config/aarch64/aarch64-modes.def: Remove CC_DNE/* modes.
2762 * config/aarch64/predicates.md (ccmp_cc_register): Remove.
2764 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
2766 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
2767 instrumented_version.
2769 2016-01-19 Richard Biener <rguenther@suse.de>
2771 PR tree-optimization/69336
2772 * tree-ssa-scopedtables.c (avail_expr_hash): Handle all
2773 handled components with get_ref_base_and_extent.
2774 (equal_mem_array_ref_p): Adjust.
2776 2016-01-19 Jakub Jelinek <jakub@redhat.com>
2779 * shrink-wrap.c: Include valtrack.h.
2780 (move_insn_for_shrink_wrap): Add DEBUG argument. If
2781 MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
2782 in between insn and where it will be moved to. Call
2783 dead_debug_insert_temp.
2784 (prepare_shrink_wrap): Adjust caller. Call dead_debug_local_init
2785 first and dead_debug_local_finish at the end.
2786 For uses and defs bitmap, handle all regs in between REGNO and
2787 END_REGNO, not just the first one.
2789 2016-01-19 Richard Biener <rguenther@suse.de>
2791 PR tree-optimization/69352
2792 * tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1.
2793 (equal_mem_array_ref_p): Constrain size and max size properly.
2794 Compare the reverse flag.
2796 2016-01-19 Bernd Schmidt <bschmidt@redhat.com>
2798 * ira.c (ira): Update regstat data if we deleted insns.
2800 2016-01-19 Jakub Jelinek <jakub@redhat.com>
2802 PR rtl-optimization/68955
2803 PR rtl-optimization/64557
2804 * dse.c (record_store, check_mem_read_rtx): Don't call get_addr
2805 here. Fix up formatting.
2806 * alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.
2808 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
2811 * cgraphunit.c (cgraph_node::expand_thunk): When forcing gimple
2812 assume that the node has body.
2813 * cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
2816 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
2818 * lto-streamer-out.c (lto_output): Do not stream instrumentation
2821 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
2823 * symtab.c (symtab_node::asm_name): Do not call printable name directly.
2824 (symtab_node::name): Report name as unnamed if DECL_NAME is not set.
2826 2016-01-19 Martin Jambor <mjambor@suse.cz>
2827 Martin Liska <mliska@suse.cz>
2828 Michael Matz <matz@suse.de>
2830 * Makefile.in (OBJS): Add new source files.
2831 (GTFILES): Add hsa.c.
2832 * common.opt (disable_hsa): New variable.
2833 (-Whsa): New warning.
2834 * config.in (ENABLE_HSA): New.
2835 * configure.ac: Treat hsa differently from other accelerators.
2836 (OFFLOAD_TARGETS): Define ENABLE_OFFLOADING according to
2838 (ENABLE_HSA): Define ENABLE_HSA according to $enable_hsa.
2839 * doc/install.texi (Configuration): Document --with-hsa-runtime,
2840 --with-hsa-runtime-include, --with-hsa-runtime-lib and
2842 * doc/invoke.texi (-Whsa): Document.
2843 (hsa-gen-debug-stores): Likewise.
2844 * lto-wrapper.c (compile_images_for_offload_targets): Do not attempt
2845 to invoke offload compiler for hsa acclerator.
2846 * opts.c (common_handle_option): Determine whether HSA offloading
2847 should be performed.
2848 * params.def (PARAM_HSA_GEN_DEBUG_STORES): New parameter.
2849 * builtin-types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
2850 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
2851 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
2852 * gimple-low.c (lower_stmt): Also handle GIMPLE_OMP_GRID_BODY.
2853 * gimple-pretty-print.c (dump_gimple_omp_for): Also handle
2854 GF_OMP_FOR_KIND_GRID_LOOP.
2855 (dump_gimple_omp_block): Also handle GIMPLE_OMP_GRID_BODY.
2856 (pp_gimple_stmt_1): Likewise.
2857 * gimple-walk.c (walk_gimple_stmt): Likewise.
2858 * gimple.c (gimple_build_omp_grid_body): New function.
2859 (gimple_copy): Also handle GIMPLE_OMP_GRID_BODY.
2860 * gimple.def (GIMPLE_OMP_GRID_BODY): New.
2861 * gimple.h (enum gf_mask): Added GF_OMP_PARALLEL_GRID_PHONY,
2862 GF_OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY and
2863 GF_OMP_TEAMS_GRID_PHONY.
2864 (gimple_statement_omp_single_layout): Updated comments.
2865 (gimple_build_omp_grid_body): New function.
2866 (gimple_has_substatements): Also handle GIMPLE_OMP_GRID_BODY.
2867 (gimple_omp_for_grid_phony): New function.
2868 (gimple_omp_for_set_grid_phony): Likewise.
2869 (gimple_omp_parallel_grid_phony): Likewise.
2870 (gimple_omp_parallel_set_grid_phony): Likewise.
2871 (gimple_omp_teams_grid_phony): Likewise.
2872 (gimple_omp_teams_set_grid_phony): Likewise.
2873 (gimple_return_set_retbnd): Also handle GIMPLE_OMP_GRID_BODY.
2874 * omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): New.
2875 (BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
2876 (BUILT_IN_GOMP_TARGET): Updated type.
2877 * omp-low.c: Include symbol-summary.h, hsa.h and params.h.
2878 (adjust_for_condition): New function.
2879 (get_omp_for_step_from_incr): Likewise.
2880 (extract_omp_for_data): Moved parts to adjust_for_condition and
2881 get_omp_for_step_from_incr.
2882 (build_outer_var_ref): Handle GIMPLE_OMP_GRID_BODY.
2883 (fixup_child_record_type): Bail out if receiver_decl is NULL.
2884 (scan_sharing_clauses): Handle OMP_CLAUSE__GRIDDIM_.
2885 (scan_omp_parallel): Do not create child functions for phony
2887 (check_omp_nesting_restrictions): Handle GIMPLE_OMP_GRID_BODY.
2888 (scan_omp_1_op): Checking assert we are not remapping to
2889 ERROR_MARK. Also also handle GIMPLE_OMP_GRID_BODY.
2890 (parallel_needs_hsa_kernel_p): New function.
2891 (expand_parallel_call): Register apprpriate parallel child
2892 functions as HSA kernels.
2893 (grid_launch_attributes_trees): New type.
2894 (grid_attr_trees): New variable.
2895 (grid_create_kernel_launch_attr_types): New function.
2896 (grid_insert_store_range_dim): Likewise.
2897 (grid_get_kernel_launch_attributes): Likewise.
2898 (get_target_argument_identifier_1): Likewise.
2899 (get_target_argument_identifier): Likewise.
2900 (get_target_argument_value): Likewise.
2901 (push_target_argument_according_to_value): Likewise.
2902 (get_target_arguments): Likewise.
2903 (expand_omp_target): Call get_target_arguments instead of looking
2904 up for teams and thread limit.
2905 (grid_expand_omp_for_loop): New function.
2906 (grid_arg_decl_map): New type.
2907 (grid_remap_kernel_arg_accesses): New function.
2908 (grid_expand_target_kernel_body): New function.
2909 (expand_omp): Call it.
2910 (lower_omp_for): Do not emit phony constructs.
2911 (lower_omp_taskreg): Do not emit phony constructs but create for them
2912 a temporary variable receiver_decl.
2913 (lower_omp_taskreg): Do not emit phony constructs.
2914 (lower_omp_teams): Likewise.
2915 (lower_omp_grid_body): New function.
2916 (lower_omp_1): Call it.
2917 (grid_reg_assignment_to_local_var_p): New function.
2918 (grid_seq_only_contains_local_assignments): Likewise.
2919 (grid_find_single_omp_among_assignments_1): Likewise.
2920 (grid_find_single_omp_among_assignments): Likewise.
2921 (grid_find_ungridifiable_statement): Likewise.
2922 (grid_target_follows_gridifiable_pattern): Likewise.
2923 (grid_remap_prebody_decls): Likewise.
2924 (grid_copy_leading_local_assignments): Likewise.
2925 (grid_process_kernel_body_copy): Likewise.
2926 (grid_attempt_target_gridification): Likewise.
2927 (grid_gridify_all_targets_stmt): Likewise.
2928 (grid_gridify_all_targets): Likewise.
2929 (execute_lower_omp): Call grid_gridify_all_targets.
2930 (make_gimple_omp_edges): Handle GIMPLE_OMP_GRID_BODY.
2931 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__GRIDDIM_.
2932 (tree_omp_clause): Added union field dimension.
2933 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE__GRIDDIM_.
2934 * tree.c (omp_clause_num_ops): Added number of arguments of
2935 OMP_CLAUSE__GRIDDIM_.
2936 (omp_clause_code_name): Added name of OMP_CLAUSE__GRIDDIM_.
2937 (walk_tree_1): Handle OMP_CLAUSE__GRIDDIM_.
2938 * tree.h (OMP_CLAUSE_GRIDDIM_DIMENSION): New.
2939 (OMP_CLAUSE_SET_GRIDDIM_DIMENSION): Likewise.
2940 (OMP_CLAUSE_GRIDDIM_SIZE): Likewise.
2941 (OMP_CLAUSE_GRIDDIM_GROUP): Likewise.
2942 * passes.def: Schedule pass_ipa_hsa and pass_gen_hsail.
2943 * tree-pass.h (make_pass_gen_hsail): Declare.
2944 (make_pass_ipa_hsa): Likewise.
2945 * ipa-hsa.c: New file.
2946 * lto-section-in.c (lto_section_name): Add hsa section name.
2947 * lto-streamer.h (lto_section_type): Add hsa section.
2948 * timevar.def (TV_IPA_HSA): New.
2949 * hsa-brig-format.h: New file.
2950 * hsa-brig.c: New file.
2951 * hsa-dump.c: Likewise.
2952 * hsa-gen.c: Likewise.
2955 * toplev.c (compile_file): Call hsa_output_brig.
2956 * hsa-regalloc.c: New file.
2958 2016-01-18 Jeff Law <law@redhat.com>
2960 PR tree-optimization/69320
2961 * tree-ssa-dom.c (record_edge_info): For comparisons against a boolean
2962 ranged object, do nothing if the RHS constant is not [0..1].
2963 (optimize_stmt): Comparing a boolean ranged object against a
2964 constant outside [0..1] results in a compile-time constant.
2966 * tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary
2969 2016-01-18 Sandra Loosemore <sandra@codesourcery.com>
2971 * doc/invoke.texi (Invoking GCC): Add new section to menu.
2972 (Option Summary): Update to reflect new section and moved options.
2973 (C++ Dialect Options): Move -fstats to new section.
2974 (Debugging Options): Move all dump, statistics, and other GCC
2975 developer options to new section. Rewrite section introduction
2976 and re-order remaining options to put the more basic ones first.
2977 (Optimization Options): Move -fira-verbose and -flto-report* to
2979 (Developer Options): New section incorporating moved options.
2980 * doc/cppopts.texi (-dM): Update cross-reference.
2982 2016-01-18 Richard Henderson <rth@redhat.com>
2985 * config/aarch64/aarch64.md (add<GPI>3): Move long immediate
2986 operands to pseudo only if CSE is expected. Split long immediate
2987 operands only after reload, and for the stack pointer.
2988 (*add<GPI>3_pluslong): Remove.
2989 (*addsi3_aarch64, *adddi3_aarch64): Merge into...
2990 (*add<GPI>3_aarch64): ... here. Add r/rk/Upl alternative.
2991 (*addsi3_aarch64_uxtw): Add r/rk/Upl alternative.
2992 (*add<GPI>3 peepholes): New.
2993 (*add<GPI>3 splitters): New.
2994 * config/aarch64/constraints.md (Upl): New.
2995 * config/aarch64/predicates.md (aarch64_pluslong_strict_immedate): New.
2997 2016-01-18 Richard Biener <rguenther@suse.de>
2999 PR tree-optimization/69297
3000 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Count each scalar
3002 (vect_bb_vectorization_profitable_p): Clear visited flag again.
3004 2016-01-18 Yuri Rumyantsev <ysrumyan@gmail.com>
3007 * fold-const.c (fold_binary_op_with_conditional_arg): Bail out for case
3008 of mixind vector and scalar types.
3009 (fold_relational_const): Add handling of vector
3010 comparison with boolean result.
3011 * tree-cfg.c (verify_gimple_comparison): Add argument CODE, allow
3012 comparison of vector operands with boolean result for EQ/NE only.
3013 (verify_gimple_assign_binary): Adjust call for verify_gimple_comparison.
3014 (verify_gimple_cond): Likewise.
3015 * tree-vrp.c (extract_code_and_val_from_cond_with_ops): Modify check on
3018 2016-01-18 Joseph Myers <joseph@codesourcery.com>
3020 * config/mips/mips.h (ISA_HAS_PAIRED_SINGLE): Require
3023 2016-01-18 Richard Biener <rguenther@suse.de>
3026 * gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
3028 2016-01-18 Tom de Vries <tom@codesourcery.com>
3030 * passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
3032 2016-01-18 Tom de Vries <tom@codesourcery.com>
3034 * omp-low.c (set_oacc_fn_attrib): Make extern.
3035 * omp-low.h (set_oacc_fn_attrib): Declare.
3036 * tree-parloops.c (struct reduction_info): Add reduc_addr field.
3037 (create_call_for_reduction_1): Handle case that reduc_addr is non-NULL.
3038 (create_parallel_loop, gen_parallel_loop, try_create_reduction_list):
3039 Add and handle function parameter oacc_kernels_p.
3040 (find_reduc_addr, get_omp_data_i_param): New function.
3041 (ref_conflicts_with_region, oacc_entry_exit_ok_1)
3042 (oacc_entry_exit_single_gang, oacc_entry_exit_ok): New function.
3043 (parallelize_loops): Add and handle function parameter oacc_kernels_p.
3044 Calculate dominance info. Skip loops that are not in a kernels region
3045 in oacc_kernels_p mode. Skip inner loops of parallelized loops.
3046 (pass_parallelize_loops::execute): Call parallelize_loops with
3047 oacc_kernels_p argument.
3048 (pass_parallelize_loops::clone, pass_parallelize_loops::set_pass_param):
3049 New member function.
3050 (pass_parallelize_loops::bool oacc_kernels_p): New member var.
3051 * passes.def: Add argument to pass_parallelize_loops instantation.
3053 2016-01-18 Tom de Vries <tom@codesourcery.com>
3055 * tree-parloops.c (pass_parallelize_loops::execute): Allow
3056 pass_parallelize_loops to be run outside the loop pipeline.
3058 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
3060 * tree-scalar-evolution.c (follow_copies_to_constant): New.
3061 (analyze_initial_condition, analyze_scalar_evolution_1): Call previous.
3063 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
3066 * tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
3067 using get_ref_base_and_extent.
3068 (equal_mem_array_ref_p): New.
3069 (hashable_expr_equal_p): Add call to previous.
3071 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
3074 * tree-sra.c (disqualified_constants, constant_decl_p): New.
3075 (sra_initialize): Allocate disqualified_constants.
3076 (sra_deinitialize): Free disqualified_constants.
3077 (disqualify_candidate): Update disqualified_constants when appropriate.
3078 (create_access): Scan for constant-pool entries as we go along.
3079 (scalarizable_type_p): Add check against type_contains_placeholder_p.
3080 (maybe_add_sra_candidate): Allow constant-pool entries.
3081 (load_assign_lhs_subreplacements): Bind debug for constant pool vars.
3082 (initialize_constant_pool_replacements): New.
3083 (sra_modify_assign): Avoid mangling assignments created by previous,
3084 and don't generate writes into constant pool.
3085 (sra_modify_function_body): Call initialize_constant_pool_replacements.
3087 2016-01-18 Ilya Enkovich <enkovich.gnu@gmail.com>
3089 * config/i386/i386.c (scalar_to_vector_candidate_p): Support
3091 (scalar_chain::convert_op): Likewise.
3092 * config/i386/i386.md (*andndi3_doubleword): New.
3094 2016-01-18 Richard Biener <rguenther@suse.de>
3096 PR tree-optimization/69170
3097 * tree-vect-slp.c (vect_build_slp_tree): Verify we are not
3098 building a vector from scalar results of a pattern stmt.
3100 2016-01-18 Jakub Jelinek <jakub@redhat.com>
3102 * haifa-sched.c (autopref_multipass_init): Work around
3103 -Wmaybe-uninitialized warning.
3105 2016-01-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3107 * config/arm/arm.c (thumb1_reorg): Check that the comparison is
3108 against the constant 0.
3110 2016-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3112 PR tree-optimization/68799
3113 * gimple-ssa-strength-reduction.c (create_phi_basis): Directly
3114 look up phi candidates in the statement-candidate map.
3115 (phi_add_costs): Likewise.
3116 (record_phi_increments): Likewise.
3117 (phi_incr_cost): Likewise.
3118 (ncd_with_phi): Likewise.
3119 (all_phi_incrs_profitable): Likewise.
3121 2016-01-17 Jakub Jelinek <jakub@redhat.com>
3123 * omp-low.c (mark_loops_in_oacc_kernels_region): Work around
3124 -Wmaybe-uninitialized warning.
3126 2016-01-16 Sandra Loosemore <sandra@codesourcery.com>
3128 * doc/invoke.texi (Invoking GCC): Add new section to menu.
3129 (Option Summary): Update to reflect new section and moved options.
3130 (C++ Dialect Options): Move -fvtable-verify and related options.
3131 (Debugging Options): Move Sanitizer, Pointer Bounds Checker,
3132 and profiling-related options.
3133 (Optimization Options): Move profile generation options and
3134 -fstack-protector and related options.
3135 (Instrumentation Options): New section incorporating moved options.
3136 (Code Generation Options): Move -finstrument-functions and
3137 related options, -fstack-check, -fstack-limit*, and -fbounds-check.
3139 2016-01-16 Tom de Vries <tom@codesourcery.com>
3141 * passes.def: Move pass_expand_omp_ssa out of pass_parallelize_loops.
3143 2016-01-16 Tom de Vries <tom@codesourcery.com>
3145 * omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
3147 2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
3149 * hash-table.h (hash_table::empty): Turn into an inline wrapper
3150 that checks whether the table is already empty. Rename the
3151 original implementation to...
3152 (hash_table::empty_slot): ...this new private function.
3154 2016-01-15 David Malcolm <dmalcolm@redhat.com>
3157 * diagnostic-show-locus.c (layout::print_source_line): Move x
3158 offset of line until after call to
3159 get_line_width_without_trailing_whitespace.
3161 2016-01-15 Jeff Law <law@redhat.com>
3163 PR tree-optimization/69270
3164 * tree-ssanames.c (ssa_name_has_boolean_range): Moved here from
3165 tree-ssa-dom.c. Improve test for [0..1] ranve from VRP.
3166 * tree-ssa-dom.c (ssa_name_has_boolean_range): Remove.
3167 * tree-ssanames.h (ssa_name_has_boolean_range): Prototype.
3168 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
3169 ssa_name_has_boolean_range and constant_boolean_node.
3171 2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
3173 PR rtl-optimization/69030
3174 * lra-spills.c (remove_pseudos): Check nrefs and make the function
3176 (spill_pseudos): Delete debug insn for dead pseudo.
3177 (lra_spill): Initiate spill_hard_reg and slots memory separately.
3179 2016-01-15 Jiong Wang <jiong.wang@arm.com>
3181 * config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
3183 (TYPES_UNOPUS): Likewise.
3184 * config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
3185 builtin type, from UNOP to UNOPUS.
3186 (lbtruncuv4sf): Likewise.
3187 (lbtruncuv2df): Likewise.
3188 (lrounduv2sf): Likewise.
3189 (lrounduv4sf): Likewise.
3190 (lrounduv2df): Likewise.
3191 (lroundusf): Likewise.
3192 (lroundusf): Likewise.
3193 (lceiluv2sf): Likewise.
3194 (lceiluv4sf): Likewise.
3195 (lceiluv2df): Likewise.
3196 (lceilusf): Likewise.
3197 (lceiludf): Likewise.
3198 (lflooruv2sf): Likewise.
3199 (lflooruv4sf): Likewise.
3200 (lflooruv2df): Likewise.
3201 (lfloorusf): Likewise.
3202 (lfloorudf): Likewise.
3203 (lfrintnuv2sf): Likewise.
3204 (lfrintnuv4sf): Likewise.
3205 (lfrintnuv2df): Likewise.
3206 (lfrintnusf): Likewise.
3207 (lfrintnudf): Likewise.
3208 * config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
3210 (vcvtq_u32_f32): Likewise.
3211 (vcvtq_u64_f64): Likewise.
3212 (vcvta_u32_f32): Likewise.
3213 (vcvtaq_u32_f32): Likewise.
3214 (vcvtaq_u64_f64): Likewise.
3215 (vcvtm_u32_f32): Likewise.
3216 (vcvtmq_u32_f32): Likewise.
3217 (vcvtmq_u64_f64): Likewise.
3218 (vcvtn_u32_f32): Likwise.
3219 (vcvtnq_u32_f32): Likewise.
3220 (vcvtnq_u64_f64): Likewise.
3221 (vcvtp_u32_f32): Likewise.
3222 (vcvtpq_u32_f32): Likewise.
3223 (vcvtpq_u64_f64): Likewise.
3224 (vcvtmd_u64_f64): Likewise.
3225 (vcvtms_u32_f32): Likewise.
3226 (vcvtad_u64_f64): Likewise.
3227 (vcvtas_u32_f32): Likewise.
3228 (vcvtnd_u64_f64): Likewise.
3229 (vcvtns_u32_f32): Likewise.
3230 (vcvtpd_u64_f64): Likewise.
3231 (vcvtps_u32_f32): Likewise.
3233 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3235 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
3236 CSEL of zero_extended registers.
3238 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3240 * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
3241 Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
3243 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3245 * config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
3246 false when argument string is not found in the attributes table
3249 2016-01-15 David Edelsohn <dje.gcc@gmail.com>
3252 * config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
3253 (rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
3254 * config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
3257 2016-01-15 Richard Biener <rguenther@suse.de>
3259 PR tree-optimization/66856
3260 * tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
3261 * tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
3262 (vect_create_new_slp_node): Increment stmt reference count.
3263 (vect_get_and_check_slp_defs): Make sure stmts are nor already in
3264 an SLP tree before swapping operands.
3265 (vect_build_slp_tree): Likewise.
3266 (destroy_bb_vec_info): Free stmt info after SLP instances.
3267 * tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
3268 * tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
3269 (STMT_VINFO_NUM_SLP_USES): New macro.
3271 2016-01-15 Richard Biener <rguenther@suse.de>
3274 * dwarf2out.c (add_linkage_name_raw): New function split out from ...
3275 (add_linkage_name): ... here.
3276 (gen_typedef_die): Use add_linkage_name_raw instead of
3277 add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
3280 2016-01-15 Cesar Philippidis <cesar@codesourcery.com>
3282 * gimplify.c (oacc_default_clause): Decode reference and pointer
3283 types for both kernels and parallel regions.
3285 2016-01-15 Richard Sandiford <richard.sandiford@arm.com>
3288 * calls.c (emit_call_1): Force n_popped to zero for sibcalls.
3290 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
3292 * config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
3293 (convert_scalars_to_vector): Likewise.
3295 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
3297 * doc/extend.texi (Type Traits): Fix grammar.
3299 2016-01-15 Martin Jambor <mjambor@suse.cz>
3301 * tree-inline.c (remap_decl): Use existing dclarations if
3302 remapping a type and prevent_decl_creation_for_types.
3303 (replace_locals_stmt): Do an initial remapping of non-VLA typed
3304 decls first. Do real remapping with
3305 prevent_decl_creation_for_types set.
3306 * tree-inline.h (copy_body_data): New field
3307 prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
3310 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
3312 * config/s390/s390.opt (mmvcle): More verbose help text.
3314 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
3316 * config/s390/s390.opt: Add period to -mzvector option text.
3318 2016-01-15 Richard Biener <rguenther@suse.de>
3320 PR tree-optimization/68961
3321 * tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
3322 of invariants in stores again.
3324 2016-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
3326 * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
3328 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
3330 * config/i386/i386.c (ix86_expand_branch): Don't split
3331 DI mode xor instruction to SI mode.
3333 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
3336 * ipa-icf.c (sem_function::merge): Virtual functions may become
3337 reachable even if they address is not taken and there are no
3340 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
3342 * lto-streamer-out.c (subtract_estimated_size): New function.
3343 (get_symbol_initial_value): Use it.
3345 2016-01-15 Christian Bruel <christian.bruel@st.com>
3348 * config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
3349 (arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
3350 (arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
3351 use add_builtin_function_ext_scope instead of add_builtin_function.
3352 (neon_set_p, neon_crypto_set_p): Remove.
3353 (arm_init_builtins): Always call arm_init_neon_builtins and
3354 arm_init_crypto_builtins.
3355 (arm_expand_builtin): Check that builtins are allowed for the arch.
3356 * config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
3357 * config/arm/arm.c (arm_valid_target_attribute_tree): Remove
3358 arm_init_neon_builtins call.
3360 2016-01-15 Richard Biener <rguenther@suse.de>
3362 PR tree-optimization/69117
3363 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
3364 * tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
3365 of the leader conservatively.
3366 (free_scc_vn): Restore original SSA name infos.
3368 2016-01-14 Jeff Law <law@redhat.com>
3370 PR tree-optimization/69270
3371 * tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
3372 single bit of precision, verify it's also unsigned.
3373 (record_edge_info): Use constant_boolean_node rather than fold_convert
3374 to convert boolean_true/boolean_false to the right type.
3376 2016-01-14 Richard Henderson <rth@redhat.com>
3379 * loop-doloop.c (record_reg_sets): New.
3380 (doloop_optimize): Reject the transform if the sequence
3381 clobbers registers live at the end of the loop block.
3382 (doloop_optimize_loops): Enable df_live if needed.
3384 2016-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
3386 * config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
3387 * gcc/config/rs6000/rs6000.c: Likewise.
3388 * gcc/config/rs6000/rs6000.h: Likewise.
3389 * gcc/config/rs6000/rs6000.md: Likewise.
3390 * gcc/doc/extend.texi: Likewsie.
3392 2016-01-14 Jeff Law <law@redhat.com>
3394 * tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
3397 2016-01-14 Richard Henderson <rth@redhat.com>
3401 * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
3402 * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
3403 instead of builtin_decl_declared_p to test for declaration.
3405 2016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
3407 * doc/loop.texi (Loop Analysis and Representation): Document
3408 loop_depth function.
3410 2016-01-14 Tom de Vries <tom@codesourcery.com>
3412 PR tree-optimization/68773
3413 * omp-low.c (expand_omp_target): Don't set force_output.
3414 * varpool.c (varpool_node::get_create): Same.
3415 * lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
3416 offload_funcs with force_output.
3418 2016-01-14 Jakub Jelinek <jakub@redhat.com>
3421 * lra-eliminations.c (move_plus_up): Don't change anything if either
3422 the outer or inner subreg mode is not MODE_INT.
3423 * dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
3424 integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
3426 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
3428 * doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
3429 reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
3430 reduc_uplus_@var{m}): Remove.
3431 * expr.c (expand_expr_real_2): Remove expansion path for
3432 reduc_[us](min|max|plus) optabs.
3433 * optabs-tree.c (scalar_reduc_to_vector): Remove.
3434 * optabs-tree.h (scalar_reduc_to_vector): Remove.
3435 * optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
3436 reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
3437 * tree-vect-loop.c (vectorizable_reduction): Remove test for
3438 reduc_[us](min|max|plus) optabs.
3440 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
3442 * config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
3443 (reduc_plus_scal_v2sf): New.
3444 (reduc_smax_v2sf): Rename to...
3445 (reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
3446 (reduc_smin_v2sf): Rename to...
3447 (reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
3449 2016-01-14 Jan Hubicka <hubicka@ucw.cz>
3451 * alias.c (compare_base_symbol_refs): New function.
3452 (rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
3455 2016-01-14 Jakub Jelinek <jakub@redhat.com>
3458 PR tree-optimization/69155
3459 * tree-complex.c: Include cfganal.h.
3460 (phis_to_revisit): New variable.
3461 (extract_component): Add phiarg_p argument. Assert that returned
3462 SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
3463 (update_phi_components): Partly rewrite to use loop over real/imag
3464 components instead of code duplication. If extract_component returns
3465 SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
3466 create_tmp_reg into the PHI node instead, and mention the phi triplet
3468 (tree_lower_complex): Walk bbs in rpo order. Adjust phis recorded
3469 in phis_to_revisit at the end.
3471 2016-01-14 Richard Biener <rguenther@suse.de>
3473 PR tree-optimization/68060
3474 * tree-vect-loop.c (vect_is_simple_reduction): Check the
3475 outer loop reduction is only used in the inner loop before
3476 detecting a double reduction.
3478 2016-01-14 Jakub Jelinek <jakub@redhat.com>
3481 * combine.c (expand_field_assignment): Punt if compute_mode is
3482 unsupported scalar mode.
3484 2016-01-14 Richard Biener <rguenther@suse.de>
3486 PR tree-optimization/66856
3487 * tree-vect-slp.c (vect_build_slp_tree): Refactor to build
3488 SLP node only if it built successfully.
3489 (vect_analyze_slp_instance): Adjust.
3491 2016-01-14 Jeff Law <law@redhat.com>
3493 PR tree-optimization/69270
3494 * tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
3495 (record_edge_info): Use it. Convert boolean_{true,false}_node
3498 2016-01-13 Jan Hubicka <hubicka@ucw.cz>
3501 * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
3502 use block_ultimate_origin
3503 (noncall-stmt_may_be_vtbl_ptr_store): Likewise.
3505 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
3507 * doc/invoke.texi (Submodel Options): Rename section to
3508 "Machine-Dependent Options" to better reflect its content.
3509 Rewrite introductory text to remove archaic CPU names.
3512 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
3514 * doc/invoke.texi (Code Gen Options): Move section up in file,
3515 before target-specific options. Update menu and option summary
3516 to reflect the new section ordering.
3518 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
3520 * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
3521 (C++ Dialect Options): Add cross-reference to -std option.
3522 * doc/standards.texi (C++ Language): Document C++14 support.
3524 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3526 * config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
3527 for pack/unpack functions for __ibm128.
3528 (PACK_IF): Likewise.
3529 (UNPACK_IF): Likewise.
3531 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
3532 support for __ibm128 pack/unpack functions.
3533 (rs6000_invalid_builtin): Likewise.
3534 (rs6000_init_builtins): Likewise.
3535 (rs6000_opt_masks): Likewise.
3537 * config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
3538 (RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
3540 (RS6000_BTM_COMMON): Likewise.
3542 * config/rs6000/rs6000.md (f128_vsx): New mode attribute.
3543 (unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
3544 disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
3545 128-bit floating point. Add support for the double values to be
3546 in Altivec registers for TF/IF packing and unpacking, but restrict
3547 TD packing sub-fields to be FPR registers. Don't allow overlapped
3548 register support for packing. Allow pack inputs to be memory
3549 locations. Don't build generator functions for unpack<mode>_dm
3550 and unpack<mode>_nodm.
3551 (unpack<mode>_dm): Likewise.
3552 (unpack<mode>_nodm): Likewise.
3553 (pack<mode>): Likewise.
3555 * config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
3556 built-in functions to pack/unpack explicit __ibm128 values.
3557 (__builtin_unpack_ibm128): Likewise.
3559 * doc/extend.texi (PowerPC Built-in Functions): Document
3560 __builtin_pack_ibm128 and __builtin_unpack_ibm128.
3562 2016-01-13 Bernd Schmidt <bschmidt@redhat.com>
3565 * c-common.c (check_function_nonnull): Remove unnecessary declaration.
3566 Add new arg loc and pass it down as context.
3567 (check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
3568 to the location to use for the warning.
3569 (check_function_arguments): New arg loc. All callers changed. Pass
3570 it to check_function_nonnull.
3571 * c-common.h (check_function_arguments): Adjust declaration.
3573 2016-01-13 Jakub Jelinek <jakub@redhat.com>
3575 PR tree-optimization/69156
3576 * gimple.c (validate_type): Removed.
3577 (gimple_builtin_call_types_compatible_p): Use
3578 useless_type_conversion_p instead of validate_type.
3579 * value-prof.c (gimple_stringop_fixed_value): Fold
3580 icall_size to correct type.
3582 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
3584 * doc/extend.texi (__atomic Builtins): Clarify compare_exchange
3587 2016-01-13 Richard Henderson <rth@redhat.com>
3590 * target.def (builtin_tm_load, builtin_tm_store): Remove.
3591 * config/i386/i386.c (ix86_builtin_tm_load): Remove.
3592 (ix86_builtin_tm_store): Remove.
3593 (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
3594 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
3595 * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
3596 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
3597 * doc/tm.texi: Rebuild.
3599 * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
3600 (BUILT_IN_TM_MEMCPY_RTWN): New.
3601 * trans-mem.c (tm_log_emit_stmt): Rearrange code for better
3602 fallback from vector to integer helpers.
3603 (build_tm_load): Handle vector types directly, instead of
3605 (build_tm_store): Likewise.
3606 (expand_assign_tm): Prepare for register types not handled by
3607 the above. Copy them to memory and use memcpy.
3608 * tree.c (tm_define_builtin): New.
3609 (find_tm_vector_type): New.
3610 (build_tm_vector_builtins): New.
3611 (build_common_builtin_nodes): Call it.
3613 2016-01-13 Uros Bizjak <ubizjak@gmail.com>
3615 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
3616 TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
3618 2016-01-13 Tom de Vries <tom@codesourcery.com>
3620 PR tree-optimization/69169
3621 * tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
3622 handled_struct_type param.
3623 (create_variable_info_for, intra_create_variable_infos): Call
3624 create_variable_info_for_1 with extra arg.
3626 2016-01-13 Yvan Roux <yvan.roux@linaro.org>
3628 * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
3629 and "armv8.1-a+crc" entries.
3631 2016-01-13 Alexander Fomin <alexander.fomin@intel.com>
3634 * config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
3635 Change first operand predicate from register_or_constm1_operand
3636 to register_operand.
3637 (define_expand "avx512pf_gatherpf<mode>df"): Likewise.
3638 (define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
3639 (define_expand "avx512pf_scatterpf<mode>df"): Likewise.
3640 (define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
3641 (define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
3642 (define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
3643 (define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
3644 * config/i386/i386.c (ix86_expand_builtin): Remove first operand
3645 comparison with constm1_rtx from vec_prefetch_gen part.
3647 2016-01-13 Richard Biener <rguenther@suse.de>
3649 PR tree-optimization/69013
3650 * tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
3651 Exchange assert for a test.
3653 2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
3656 * config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
3658 2016-01-13 Richard Biener <rguenther@suse.de>
3660 PR tree-optimization/69242
3661 * tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
3662 assert with a check.
3664 2016-01-13 Richard Biener <rguenther@suse.de>
3666 PR tree-optimization/69186
3667 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
3668 Properly guard vect_update_misalignment_for_peel call.
3670 2016-01-12 Jeff Law <law@redhat.com>
3672 PR tree-optimization/pr67755
3673 * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
3674 "need_profile_correction".
3675 (thread_block_1): Initialize new field to false by default. If we
3676 have multiple thread paths through a common joiner to different
3677 final targets, then set new field to true.
3678 (compute_path_counts): Only do count adjustment when it's really
3681 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
3683 * doc/invoke.texi (Spec Files): Move section down in file, past
3684 all command-line option descriptions.
3686 2016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3689 * doc/gty.texi: Remove documentation of mark_hook.
3690 * gengtype.c (struct write_types_data): Remove code to support
3691 mark_hook attribute.
3692 (walk_type): Likewise.
3693 (write_func_for_structure): Likewise.
3695 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
3697 * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
3698 Directory Options, and -specs= to Overall Options.
3699 (Overall Options): Adjust similarly. Reorder to group related
3700 options together. Make -specs= cross-reference the spec file details.
3701 (Directory Options): Adjust similarly.
3703 2016-01-12 Jeff Law <law@redhat.com>
3705 * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
3707 2016-01-12 Olivier Hainque <hainque@adacore.com>
3709 * gcc.c (spec_undefvar_allowed): New global.
3710 (process_command): Set to true when running for --version or --help,
3712 (getenv_spec_function): When the variable is not defined, use the
3713 variable name as the variable value if we're allowed not to issue
3716 2016-01-12 Bin Cheng <bin.cheng@arm.com>
3718 PR tree-optimization/68911
3719 * tree-vrp.c (adjust_range_with_scev): Check overflow in range
3720 information computed for expression "init + nit * step".
3722 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
3724 * doc/invoke.texi (Invoking GCC): Copy-edit. Incorporate information
3725 about name of GCC executable. Remove deleted node from menu.
3726 (Directory Options) <-B>: Remove cross-reference to deleted node.
3727 (Target Options): Delete section.
3729 2016-01-12 Christian Bruel <christian.bruel@st.com>
3732 * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
3733 for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
3735 2016-01-12 Jakub Jelinek <jakub@redhat.com>
3738 * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
3739 aligned_mem is properly set for AVX512-VL floating point masked
3743 * ifcvt.c (cond_exec_process_if_block): When removing the last
3744 insn from then_bb, remove also any possible barriers that follow it.
3746 2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
3750 * config/i386/iamcu.h (SIZE_TYPE): New macro.
3751 (PTRDIFF_TYPE): Likewise.
3752 (WCHAR_TYPE): Likewise.
3753 (WCHAR_TYPE_SIZE): Likewise.
3754 (STDINT_LONG32): Likewise.
3756 2016-01-12 Richard Biener <rguenther@suse.de>
3758 PR tree-optimization/69053
3759 * tree-vect-loop.c (get_initial_def_for_reduction): Properly
3760 convert initial value for cond reductions.
3762 2016-01-12 Richard Biener <rguenther@suse.de>
3764 PR tree-optimization/69007
3765 * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
3766 widen_sum after dot_prod and sad.
3768 2016-01-12 Richard Biener <rguenther@suse.de>
3770 PR tree-optimization/69168
3771 * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
3772 pattern stmt SLP type.
3773 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
3774 end up unused so cope with that case.
3776 2016-01-12 Richard Biener <rguenther@suse.de>
3778 PR tree-optimization/69157
3779 * tree-vect-stmts.c (vectorizable_mask_load_store): Check
3780 stmts def type only during analyze phase.
3781 (vectorizable_call): Likewise.
3782 (vectorizable_simd_clone_call): Likewise.
3783 (vectorizable_conversion): Likewise.
3784 (vectorizable_assignment): Likewise.
3785 (vectorizable_shift): Likewise.
3786 (vectorizable_operation): Likewise.
3787 (vectorizable_store): Likewise.
3788 (vectorizable_load): Likewise.
3790 2016-01-12 Richard Biener <rguenther@suse.de>
3792 PR tree-optimization/69174
3793 * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
3795 (vectorizable_load): Properly compute the number of loads needed
3796 for permuted strided SLP loads and do not spuriously assign
3797 to SLP_TREE_VEC_STMTS.
3799 2016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
3801 * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
3802 (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
3803 (MD_EXEC_PREFIX): Remove.
3804 (MD_STARTFILE_PREFIX) Removee.
3805 (FILE_NAME_ABSOLUTE_P): Remove.
3806 (CPP_SPEC): Do not read macros from sys/version.h.
3807 (LINK_COMMAND_SPEC): Remove.
3808 (LOCAL_INCLUDE_DIR): Remove.
3809 (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
3810 (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
3811 (POST_LINK_SPEC): Define to invoke stubify after linker
3812 (LIBSTDCXX): Remove define
3813 (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
3814 (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
3815 (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
3816 (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
3817 (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
3818 (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
3819 (i386_djgpp_asm_named_section): Add propotype of new procedure
3821 * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
3822 (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
3823 (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX
3824 in config/i386/djgpp.h).
3825 (STANDARD_STARTFILE_PREFIX_2): Define identical to
3826 STANDARD_STARTFILE_PREFIX_1.
3827 (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
3828 (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal
3829 installation errors.
3830 (MAX_OFILE_ALIGNMENT): Define to 128.
3831 (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
3833 * config/i386/djgpp.c: New file. Add implementation of
3834 i386_djgpp_asm_named_section.
3836 * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
3838 * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
3839 Add rule for building djgpp.o.
3841 2016-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3843 * config/rs6000/rs6000.c (v2df_reduction_p): New function.
3844 (rtx_is_swappable_p): Reductions are swappable.
3845 (insn_is_swappable_p): V2DF reductions are swappable.
3847 2016-01-11 John David Anglin <danglin@gcc.gnu.org>
3849 * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
3850 reloads for other unsupported memory operands.
3852 2016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
3853 Jim Wilson <jim.wilson@linaro.org>
3856 * config/arm/arm-builtins.c (arm_expand_neon_args): Call
3857 copy_to_mode_reg instead of force_reg.
3859 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
3862 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
3863 TARGET_80387 is true.
3865 2016-01-11 Jakub Jelinek <jakub@redhat.com>
3868 * lra-eliminations.c (move_plus_up): Only move plus up
3869 if subreg of the constant can be simplified into constant
3870 and use the simplified subreg of the constant instead of
3871 the original constant.
3873 * fold-const.c (fold_convertible_p): Don't return true
3874 for conversion of VECTOR_TYPE to same sized integral type.
3875 (fold_convert_loc): Fix up formatting. Fold conversion of
3876 VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
3877 instead of NOP_EXPR.
3879 PR tree-optimization/69214
3880 * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
3881 innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
3884 PR tree-optimization/69207
3885 * tree-vect-slp.c (vect_get_constant_vectors): For
3886 VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
3887 fold_convertible_p to vector_type's element type, and always
3888 use VCE for non-VECTOR_BOOLEAN_TYPE_P.
3890 2016-01-11 Richard Biener <rguenther@suse.de>
3892 PR tree-optimization/69173
3893 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
3894 fixup the cycle if all stmts are in a pattern.
3896 2016-01-11 Uros Bizjak <ubizjak@gmail.com>
3899 * alias.c (base_alias_check): Move check for addresses with
3900 alignment ANDs before the call for compare_base_decls.
3901 (memrefs_conflict_p): Return -1 for different decls
3902 that went through alignment adjustments.
3904 2016-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3906 PR rtl-optimization/68796
3907 * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
3908 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
3909 and QImode comparisons against zero with CC_NZmode.
3910 * config/aarch64/iterators.md (short_mask): New mode_attr.
3912 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
3914 * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
3915 (<avx512>_store<mode>_mask): Likewise.
3917 2016-01-11 Bernd Schmidt <bschmidt@redhat.com>
3918 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3920 PR rtl-optimization/68841
3921 * ifcvt.c (struct noce_if_info): Add orig_x field.
3922 (bbs_ok_for_cmove_arith): Add to_rename parameter.
3923 Don't record conflicts on to_rename if it's present.
3924 Allow memory destinations in sets.
3925 (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
3926 blocks, passing orig_x to the checks.
3927 (noce_process_if_block): Set if_info->orig_x appropriately.
3929 2016-01-11 Tom de Vries <tom@codesourcery.com>
3931 PR tree-optimization/69069
3932 * tree-parloops.c (create_parallel_loop): Add missing phi args.
3934 2016-01-11 Yuri Rumyantsev <ysrumyan@gmail.com>
3936 PR rtl-optimization/68920
3937 * config/i386/i386.c (ix86_option_override_internal): Restrict number
3938 of conditional moves for RTL if-conversion to 1 for
3939 TARGET_ONE_IF_CONV_INSN.
3940 * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
3941 * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
3942 * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
3943 parameter to restirct number of conditional moves for
3945 * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
3946 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
3949 2016-01-11 Alexandre Oliva <aoliva@redhat.com>
3952 * var-tracking.c (drop_overlapping_mem_locs): Operate on all
3953 onepart vars. Fix typo in comment. Fix reversed condition in
3955 (dataflow_set_remove_mem_locs): Operate on all onepart vars.
3958 * var-tracking.c (dump_onepart_variable_differences): New.
3959 (dataflow_set_different): If a detailed dump is requested,
3960 delay early returns and dump differences between onepart
3961 variables present before and after, and added variables.
3963 2016-01-11 Ilya Enkovich <enkovich.gnu@gmail.com>
3966 * expr.c (expand_expr_real_1): For boolean vector constants
3967 with a scalar mode use const_scalar_mask_from_tree.
3968 (const_scalar_mask_from_tree): New.
3969 * optabs.c (expand_vec_cond_mask_expr): Use mask mode
3970 assigned to a mask type to handle constants.
3972 2016-01-11 Martin Jambor <mjambor@suse.cz>
3975 * ipa-cp.c (estimate_local_effects): Do not clone for removal of
3976 useless parameters if we cannot change function signature.
3978 2016-01-11 Martin Jambor <mjambor@suse.cz>
3981 * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
3984 2016-01-11 Tom de Vries <tom@codesourcery.com>
3986 PR tree-optimization/69109
3987 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
3990 2016-01-11 Tom de Vries <tom@codesourcery.com>
3992 PR tree-optimization/69108
3993 * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
3994 res is not used in a phi.
3996 2016-01-11 Yury Gribov <y.gribov@samsung.com>
3999 * common.opt (frandom-seed): Fix parameter name.
4000 * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
4002 2016-01-11 Tom de Vries <tom@codesourcery.com>
4004 PR tree-optimization/69058
4005 * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
4008 2016-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
4010 * config/arc/arc.opt (mdiv-rem): Add period to the end.
4011 (mcode-density): Likewise.
4013 2016-01-10 Tom de Vries <tom@codesourcery.com>
4015 PR tree-optimization/69062
4016 * tree-parloops.c (loop_has_phi_with_address_arg): New function.
4017 (parallelize_loops): Don't paralelize loop that has phi with address
4020 2016-01-10 Tom de Vries <tom@codesourcery.com>
4022 PR tree-optimization/69039
4023 * tree-parloops.c (try_create_reduction_list): Only allow single exit
4026 2016-01-09 John David Anglin <danglin@gcc.gnu.org>
4029 * match.pd: Require target has function_c99_misc before doing
4030 truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
4032 2016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
4034 * configure.ac (isl_options_set_schedule_serialize_sccs): Also
4036 * configure: Regenerate.
4038 2016-01-09 Jakub Jelinek <jakub@redhat.com>
4041 PR tree-optimization/69097
4042 * fold-const.h (expr_not_equal_to): New prototype.
4043 * fold-const.c: Include stringpool.h and tree-ssanames.h.
4044 (expr_not_equal_to): New function.
4045 * match.pd (X % -Y is the same as X % Y): Don't optimize
4046 unless X is known not to be equal to minimum or Y is known
4047 not to be equal to -1.
4048 * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
4049 fold TRUNC_MOD_EXPR if the second argument is not a power of two.
4050 (simplify_stmt_using_ranges): Adjust caller.
4051 (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
4052 substitute_and_fold.
4054 2016-01-09 Jan Hubicka <hubicka@ucw.cz>
4056 * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
4059 2016-01-08 Jakub Jelinek <jakub@redhat.com>
4061 PR tree-optimization/69167
4062 * gimple-fold.c (replace_stmt_with_simplification): Also punt if
4063 new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
4065 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
4067 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
4068 Richard Biener <rguenther@suse.de>
4070 PR tree-optimization/68707
4071 * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
4072 instances that can be handled via vect_load_lanes.
4074 2016-01-08 Uros Bizjak <ubizjak@gmail.com>
4076 * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
4077 if we can't determine address equivalence.
4078 * alias.c (compare_base_decl): Update for changed return value of
4079 symtab_node::equal_address_to.
4081 2016-01-08 Jason Merrill <jason@redhat.com>
4085 * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
4086 * expr.c (store_field): Not here.
4087 * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
4088 call with TREE_ADDRESSABLE type.
4089 * tree-cfg.c (verify_gimple_call): Adjust.
4091 2016-01-08 Olivier Hainque <hainque@adacore.com>
4093 * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
4096 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
4098 * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
4099 (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
4100 (reduc_smin_v2sf): Rename to...
4101 (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
4102 (reduc_splus_v2sf): Rename to...
4103 (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
4105 2016-01-08 Jakub Jelinek <jakub@redhat.com>
4107 PR tree-optimization/69162
4108 * gimplify.c (gimplify_va_arg_expr): Encode original type of
4109 valist argument in another argument.
4110 (gimplify_modify_expr): Adjust for the above change. Cleanup.
4111 * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
4112 to determine the va_list type, build a MEM_REF instead of
4113 build_fold_indirect_ref.
4115 PR tree-optimization/69172
4116 * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
4119 2016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
4121 PR tree-optimization/67781
4122 * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
4123 and cmpnop in two steps: first the ones not accessed in original
4124 gimple expression in a endian independent way and then the ones not
4125 accessed in the final result in an endian-specific way.
4127 2016-01-08 Jakub Jelinek <jakub@redhat.com>
4129 PR tree-optimization/69083
4130 * tree-vect-slp.c (vect_get_constant_vectors): For
4131 VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
4132 element type. If op is fold_convertible_p to vector_type's element
4133 type, use NOP_EXPR instead of VCE.
4135 2016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
4137 PR rtl-optimization/67778
4138 PR rtl-optimization/68634
4139 PR rtl-optimization/68909
4140 * shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
4141 block from the stack until done with it. Remove a superfluous
4142 bitmap set. Remove a superfluous bitmap test.
4144 2016-01-07 Martin Sebor <msebor@redhat.com>
4147 * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
4148 constraint on the type of arguments.
4150 2016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
4152 * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
4153 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
4154 unaligned_access on the gcc_options set.
4155 * config/arm/arm.c (arm_option_override_internal): Use
4156 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
4158 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
4161 * config/i386/i386.c (ix86_frame_pointer_required): Enable
4162 frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
4164 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
4167 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
4170 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
4171 depending on frame_pointer_needed before remaining integer and SSE
4172 registers are saved.
4174 2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
4177 * doc/extend.texi (Nvidia PDX Function Attributes): New section.
4179 2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
4182 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
4183 Use the "xBm" constraint.
4184 (float<sseintvecmodelower><mode>2<mask_name><round_name):
4186 (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
4187 (sse_cvtsi2ssq<round_name>): Likewise.
4188 (sse_cvtss2si<round_name>): Likewise.
4189 (sse_cvtss2siq<round_name>): Likewise.
4190 (sse2_cvtsi2sdq<round_name>): Likewise.
4191 (sse2_cvtsd2si<round_name>): Likewise.
4192 (sse2_cvtsd2siq<round_name>): Likewise.
4193 * config/i386/subst.md (round_nimm_scalar_predicate): New
4196 2015-12-15 Bernd Schmidt <bschmidt@redhat.com>
4199 * varasm.c (make_decl_rtl): Mark invalid register vars as
4202 PR rtl-optimization/66206
4203 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
4204 All callers changed.
4206 2016-01-07 Jakub Jelinek <jakub@redhat.com>
4208 PR tree-optimization/69141
4209 * tree-ssa-pre.c: Include langhooks.h.
4210 (eliminate_dom_walker::before_dom_children): Use
4211 lang_hooks.decl_printable_name instead of
4212 cgraph_node::get ()->name ().
4215 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
4216 it and DECL_ALIGN too.
4218 2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
4220 * config/mips/mips-ftypes.def: Sort to lexicographical order.
4222 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
4225 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
4226 depending on frame_pointer_needed before remaining integer and SSE
4227 registers are saved.
4229 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4231 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
4232 mode iterator with VSX_M2.
4233 (*p9_vecstore_<mode>): Likewise.
4234 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
4235 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
4236 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
4237 (define_split for VSX_LE128 stores): Likewise.
4238 (define_peephole2 for TImode LE swaps): Likewise.
4239 (define_split for VSX_LE128 post-reload stores): Likewise.
4241 2016-01-06 Marek Polacek <polacek@redhat.com>
4244 * convert.c (convert_to_integer_1): Adjust call to
4245 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
4246 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
4247 EXPR instead of ARG.
4248 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
4250 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
4253 * doc/extend.texi (RL78 Variable Attributes): New section.
4255 2016-01-05 Marek Polacek <polacek@redhat.com>
4258 * builtins.c (get_memmodel): Use expansion point location rather than
4259 the input location. Call warning_at rather than warning.
4260 (expand_builtin_atomic_compare_exchange): Likewise.
4261 (expand_builtin_atomic_load): Likewise.
4262 (expand_builtin_atomic_store): Likewise.
4263 (expand_builtin_atomic_clear): Likewise.
4265 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
4268 * config/i386/i386.c (ix86_expand_vector_logical_operator):
4269 Replace nonimmediate_operand with vector_operand.
4270 * config/i386/predicates.md (vector_operand): New predicate.
4271 (general_vector_operand): Replace nonimmediate_operand with
4273 * config/i386/sse.md: Replace nonimmediate_operand with
4274 vector_operand and m constraint with Bm constraint on SSE
4275 patterns with 16-byte memory operand.
4276 * config/i386/subst.md (round_nimm_predicate): Replace
4277 nonimmediate_operand with vector_operand.
4278 (round_saeonly_nimm_predicate): Likewise.
4279 (round_saeonly_nimm_scalar_predicate): New.
4281 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
4284 * config/i386/constraints.md (Bm): New constraint.
4285 * config/i386/predicates.md (vector_memory_operand): New
4287 * config/i386/sse.md: Replace xm with xBm in plusminus and
4290 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
4293 * doc/extend.texi (V850 Function Attributes): New section.
4294 (V850 Variable Attributes): New section.
4296 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
4299 * doc/extend.texi (MicroBlaze Function Attributes): Document
4300 interrupt_handler and fast_interrupt attributes.
4302 2016-01-05 Sergei Trofimovich <siarheit@google.com>
4305 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
4306 for local symbolic operands.
4307 * config/ia64/predicates.md (local_symbolic_operand64): New
4310 2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4312 PR rtl-optimization/68651
4313 * combine.c (combine_simplify_rtx): Canonicalize x + x into
4316 2016-01-05 Nathan Sidwell <nathan@acm.org>
4318 * alias.c (compare_base_decls): Use symtab_node::get.
4320 2016-01-05 Nick Clifton <nickc@redhat.com>
4323 * ira-costs.c (copy_cost): Initialise the t_icode field of the
4324 secondary_reload_info structure.
4327 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
4328 decls if weak support is available.
4330 2016-01-04 Martin Sebor <msebor@redhat.com>
4332 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
4334 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
4336 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
4337 OPTION_MASK_P9_DFORM.
4339 * config/rs6000/constraints.md (wo constraint): New constraint for
4342 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
4344 (rs6000_init_hard_regno_mode_ok): Likewise.
4346 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
4349 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
4350 expanders not to have constraints. Add support for ISA 3.0 xxperm
4351 instruction. Add support for fusing xxlor with xxperm.
4352 (altivec_vperm_<mode>_internal): Likewise.
4353 (altivec_vperm_v8hiv16qi): Likewise.
4354 (altivec_vperm_<mode>v16q): Likewise.
4355 (altivec_vperm_<mode>_uns): Likewise.
4356 (vperm_v8hiv4si): Likewise.
4357 (vperm_v16qiv8hi): Likewise.
4359 * doc/md.texi (RS/6000 constraints): Document wo constraint.
4361 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4363 Update copyright years.
4365 * gcc.c (process_command): Update copyright notice dates.
4366 * gcov-dump.c (print_version): Ditto.
4367 * gcov.c (print_version): Ditto.
4368 * gcov-tool.c (print_version): Ditto.
4369 * gengtype.c (create_file): Ditto.
4370 * doc/cpp.texi: Bump @copying's copyright year.
4371 * doc/cppinternals.texi: Ditto.
4372 * doc/gcc.texi: Ditto.
4373 * doc/gccint.texi: Ditto.
4374 * doc/gcov.texi: Ditto.
4375 * doc/install.texi: Ditto.
4376 * doc/invoke.texi: Ditto.
4378 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
4380 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
4381 modes larger than TImode as TImode if NEON is not enabled.
4383 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
4386 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
4387 mode for %f0-%f31 only if TARGET_FPU.
4389 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
4392 * config/sparc/sparc.c (scan_record_type): Take into account subfields
4393 to compute the PACKED_P predicate.
4394 (function_arg_record_value): Minor tweaks.
4396 2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
4398 * doc/install.texi (--with-multilib-list): Describe the meaning of the
4399 option for arm*-*-* targets.
4401 2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
4403 * doc/extend.texi (Common Function Attributes): Move docs for
4404 MSP430-specific attributes to....
4405 (MSP430 Function Attributes): ...here. Delete the redundant
4406 entries and copy-edit the remaining text.
4407 (MSP430 Variable Attributes): Use uniform format for index
4408 entries and add a cross-reference to the corresponding function
4411 2016-01-03 Vladimír Čunát <vcunat@gmail.com>
4413 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
4415 (x86 Options): Likewise.
4417 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
4421 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
4422 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
4423 to corresponding attribute.
4425 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
4427 * doc/extend.texi (Common Function Attributes) <noplt>: Move
4428 to correct alphabetization of table. Copy-edit and correct
4430 <stack_protect>: Likewise.
4431 <target_clones>: Likewise.
4433 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
4434 Correct punctuation.
4435 (Code Gen Options) <-fno-plt>: Copy-edit.
4437 2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
4440 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
4441 SI values. Explicitly convert SI to DI and vice-versa.
4443 2016-01-01 Jakub Jelinek <jakub@redhat.com>
4445 PR tree-optimization/69070
4446 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
4447 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
4450 * ubsan.c (ubsan_instrument_float_cast): Call
4451 initialize_sanitizer_builtins.
4454 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
4456 Copyright (C) 2016 Free Software Foundation, Inc.
4458 Copying and distribution of this file, with or without modification,
4459 are permitted in any medium without royalty provided the copyright
4460 notice and this notice are preserved.