1 2016-01-25 Eric Botcazou <ebotcazou@adacore.com>
3 * doc/extend.texi (scalar_storage_order type attribute): Fix typo and
4 improve wording for mixed storage order support.
6 2016-01-25 Bilyan Borisov <bilyan.borisov@arm.com>
8 * config/aarch64/arm_neon.h (vcvt_s64_f64): New intrinsic.
9 (vcvt_u64_f64): Likewise.
10 (vcvta_s64_f64): Likewise.
11 (vcvta_u64_f64): Likewise.
12 (vcvtm_s64_f64): Likewise.
13 (vcvtm_u64_f64): Likewise.
14 (vcvtn_s64_f64): Likewise.
15 (vcvtn_u64_f64): Likewise.
16 (vcvtp_s64_f64): Likewise.
17 (vcvtp_u64_f64): Likewise.
19 2016-01-25 Claudiu Zissulescu <claziss@synopsys.com>
21 * config/arc/arc.c (TARGET_DWARF_REGISTER_SPAN): Define.
22 (arc_init): Check validity mll64 option.
23 (arc_save_restore): Use double load/store instruction.
24 (arc_expand_movmem): Likewise.
25 (arc_split_move): Don't split if we have double load/store
26 instructions. Returns a boolean.
27 (arc_process_double_reg_moves): Change function to return boolean
28 instead of a sequence of instructions.
29 (arc_dwarf_register_span): New function.
30 * config/arc/arc-protos.h (arc_split_move): Change prototype.
31 * config/arc/arc.h (TARGET_CPU_CPP_BUILTINS): Define __ARC_LL64__.
32 * config/arc/arc.md (*movdi_insn): Emit ldd/std instructions.
33 (*movdf_insn): Likewise.
34 * config/arc/arc.opt (mll64): New option.
35 * config/arc/predicates.md (even_register_operand): New predicate.
36 * doc/invoke.texi (ARC Options): Add mll64 documentation.
38 2016-01-25 Richard Biener <rguenther@suse.de>
41 * dwarf2out.c (is_naming_typedef_decl): Not when DECL_NAMELESS.
42 * tree-streamer-out.c (pack_ts_base_value_fields): Stream
44 * tree-streamer-in.c (unpack_ts_base_value_fields): Likewise.
46 2016-01-25 Richard Biener <rguenther@suse.de>
48 PR tree-optimization/69376
49 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add range_info_anti_range_p
51 (VN_INFO_ANTI_RANGE_P): New inline.
52 (VN_INFO_RANGE_TYPE): Likewise.
53 * tree-ssa-sccvn.c (set_ssa_val_to): Also record and copy
54 SSA_NAME_ANTI_RANGE_P.
55 (free_scc_vn): Restore SSA_NAME_ANTI_RANGE_P.
56 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
57 Properly query VN_INFO_RANGE_TYPE.
59 2016-01-25 Nick Clifton <nickc@redhat.com>
62 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Remove definition.
64 2016-01-23 Tom de Vries <tom@codesourcery.com>
66 PR tree-optimization/69426
67 * tree-parloops.c (eliminate_local_variables_stmt): Handle vdef of
70 2016-01-23 Jakub Jelinek <jakub@redhat.com>
72 * tree-ssanames.c (release_free_names_and_compact_live_names): Replace
73 "the the" with "the" in the comments.
74 * ipa-devirt.c (build_type_inheritance_graph,
75 update_type_inheritance_graph): Likewise.
76 * tree.c (build_function_type_list_1): Likewise.
77 * cfgloopmanip.c (scale_loop_profile): Likewise.
78 * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Likewise.
79 * gimple-ssa-split-paths.c
80 (find_block_to_duplicate_for_splitting_paths): Likewise.
81 * tree-sra.c (init_subtree_with_zero, clobber_subtree): Likewise.
82 * expr.c (convert_move): Likewise.
83 * var-tracking.c (vt_stack_adjustments): Likewise.
84 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Likewise.
85 * tree-vrp.c (test_for_singularity): Likewise.
87 * tree-vect-stmts.c (vectorizable_condition): Build a VEC_COND_EXPR
88 directly instead of building a temporary tree.
91 * genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
92 remove <algorithm> include.
94 2016-01-22 Jakub Jelinek <jakub@redhat.com>
97 * config/i386/i386.c: Include dojump.h.
98 (expand_small_movmem_or_setmem,
99 expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Spelling
101 (ix86_expand_set_or_movmem): Call do_pending_stack_adjust () early
102 if dynamic_check != -1.
104 2016-01-21 Jeff Law <law@redhat.com>
107 * tree-ssa-dom.c (back_propagate_equivalences): Factored out of
108 record_temporary_equivalences. Rewritten to avoid unnecessary calls
110 (cprop_into_successor_phis): Avoid unnecessary tests.
112 2016-01-22 Richard Henderson <rth@redhat.com>
115 * config/aarch64/aarch64.md (UNSPEC_NZCV): New.
116 (ccmp<mode>, fccmp<mode>, fccmpe<mode>): Use it.
118 2016-01-22 Michael Matz <matz@suse.de>
120 * system.h (string, algorithm): Include only conditionally.
121 (new): Include always under C++.
122 * bb-reorder.c (toplevel): Define INCLUDE_ALGORITHM.
123 * final.c (toplevel): Ditto.
124 * ipa-chkp.c (toplevel): Define INCLUDE_STRING.
125 * genconditions.c (write_header): Make gencondmd.c define
127 * mem-stats.h (mem_usage::print_dash_line): Don't use std::string.
129 * config/aarch64/aarch64.c (toplevel): Define INCLUDE_STRING.
130 * common/config/aarch64/aarch64-common.c (toplevel): Ditto.
132 2016-01-22 Christian Bruel <christian.bruel@st.com>
135 * expr.c (expand_expr_real_1): Reset DECL_MODE if VECTOR_TYPE_P changed.
137 2016-01-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
140 * config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
141 define_insn_and_split. Ensure operands[1] and operands[0] do not
142 get assigned the same register.
144 2016-01-22 Kugan Vivekanandarajah <kuganv@linaro.org>
146 * ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.
148 2016-01-22 Christian Bruel <christian.bruel@st.com>
150 * config/arm/arm-c.c (arm_pragma_target_parse):
151 Remove warn_builtin_macro_redefined overwrite.
153 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
155 * ipa-inline.c (can_inline_edge_p): Back out overzealous check on
156 flag_non_call_exceptions compatibility.
158 2016-01-22 Jakub Jelinek <jakub@redhat.com>
161 * dwarf2out.c (add_child_die_after): New function.
162 (dwarf_qual_info_t): New type.
163 (dwarf_qual_info): New variable.
164 (qualified_die_p): New function.
165 (modified_type_die): For -fdebug-types-section, ensure
166 canonical order of qualifiers. Put qualified DIEs adjacent
167 to the corresponding non-qualified type DIE and search there
168 for existing qualified DIEs.
170 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
172 * doc/extend.texi (scalar_storage_order type attribute): Document
173 restriction on type punning and aliasing, and remove future tense.
175 2016-01-21 Roman Zhuykov <zhroma@ispras.ru>
178 * modulo-sched.c (optimize_sc): Allow branch-scheduling to add a new
181 2016-01-21 Jeff Law <law@redhat.com>
184 * tree-ssa-dom.c (dom_opt_dom_walker::thread_across_edge): Avoid
185 useless call to record_temporary_equivalences.
186 * tree-ssa-threadbackward.c (find_jump_threads_backwards): Just
187 allocate 10 slots in the bb_path vector and let it grow as needed.
188 (fsm_find_control_statement_thread_paths): Similarly for the next_path
191 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
193 * configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
195 * configure: Regenerate.
197 2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
199 * config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
200 * config/rs6000/driver-rs6000.c (struct asm_names): Likewise.
202 2016-01-21 Bernd Schmidt <bschmidt@redhat.com>
205 * expr.c (expand_expr_real_2) [PLUS_EXPR, MINUS_EXPR]: Don't
206 drop EXPAND_INITIALIZER.
207 * rtl.h (contains_symbolic_reference_p): Declare.
208 * rtlanal.c (contains_symbolic_reference_p): New function.
209 * simplify-rtx.c (simplify_binary_operation_1): Don't turn
210 a subtraction into a NOT if symbolic constants are involved.
212 2016-01-21 Anton Blanchard <anton@samba.org>
213 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
216 * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): New
218 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New
221 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
223 * config/microblaze/microblaze.c
224 (get_branch_target): New.
225 (insert_wic_for_ilb_runout): New.
227 (microblaze_machine_dependent_reorg): New.
228 (TARGET_MACHINE_DEPENDENT_REORG): Define macro.
229 * config/microblaze/microblaze.md
230 (UNSPEC_IPREFETCH): Define.
231 (iprefetch): New pattern
232 * config/microblaze/microblaze.opt
233 (mxl-prefetch): New flag.
235 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
237 * config/microblaze/microblaze.h
238 (FIXED_REGISTERS): Update in macro.
239 (CALL_USED_REGISTERS): Update in macro.
241 2016-01-21 Yuri Rumyantsev <ysrumyan@gmail.com>
243 PR rtl-optimization/68920
244 * ifcvt.c (cond_move_process_if_block): Limit number of conditional
247 2016-01-21 Vladimir Makarov <vmakarov@redhat.com>
249 PR rtl-optimization/68990
250 * lra-coalesce.c (lra_coalesce): Invalidate value for the result
251 pseudo instead of inheritance ones.
253 2016-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
254 Nick Clifton <nickc@redhat.com>
258 * config/mips/mips.c (mips_compute_frame_info): Initialise
259 args_size and hard_frame_pointer_offset fields of the frame
260 structure before calling mips_global_pointer.
262 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
264 * configure.ac (gcc_cv_as_dwloc): Test support for debug frame section
266 * configure: Regenerate.
268 2016-01-21 Richard Biener <rguenther@suse.de>
270 * graphite-optimize-isl.c (get_schedule_map): Fix typo.
272 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
274 * config/s390/s390.c (s390_asm_declare_function_size): Add code
275 to actually emit the .size directive.
277 2016-01-21 Stefan Sørensen <stefan.sorensen@spectralink.com>
278 Jakub Jelinek <jakub@redhat.com>
282 * config/arm/arm-builtins.c (arm_expand_neon_builtin): Increase
283 args array size by one to avoid buffer overflow.
285 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
287 * config/s390/s390.md (pool_section_start): Use switch_to_section
288 to select proper read-only data section instead of hardcoding
290 (pool_section_end): Use switch_to_section to match the above.
292 2016-01-21 Richard Biener <rguenther@suse.de>
294 PR tree-optimization/69378
295 * tree-ssa-sccvn.c (dominated_by_p_w_unex): New function.
296 (set_ssa_val_to): Use it for dominance checks taking into
297 account not executable edges.
299 2016-01-21 Jakub Jelinek <jakub@redhat.com>
302 * tree-dfa.c (get_ref_base_and_extent): Use GET_MODE_BITSIZE (mode)
303 for bitsize instead of GET_MODE_PRECISION (mode).
305 2016-01-20 Martin Sebor <msebor@redhat.com>
308 * extend.texi (__sync Builtins): Clarify the semantics of
309 __sync_fetch_and_OP built-ins on pointers.
310 (__atomic Builtins): Same.
312 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
313 Sebastian Pop <s.pop@samsung.com>
315 * graphite-isl-ast-to-gimple.c (enum phi_node_kind): New.
316 (class translate_isl_ast_to_gimple): Use phi_node_kind instead of bool.
317 (is_valid_rename): Same.
318 (translate_isl_ast_to_gimple::get_rename): Same.
319 (translate_isl_ast_to_gimple::rename_all_uses): Same.
320 (translate_isl_ast_to_gimple::rename_uses): Same.
321 (get_new_name): Check for close_phi nodes.
322 (copy_loop_phi_args): Use phi_node_kind.
323 (translate_isl_ast_to_gimple::copy_loop_close_phi_args): Same.
324 (translate_isl_ast_to_gimple::copy_cond_phi_args): Same.
326 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
327 Sebastian Pop <s.pop@samsung.com>
329 Revert commit r229783.
330 * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
331 Remove use of parameter_rename_map.
333 (copy_internal_parameters): Remove.
334 (graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
335 * sese.c (new_sese_info): Do not initialize parameter_rename_map.
336 (free_sese_info): Do not free parameter_rename_map.
337 (set_rename): Do not use parameter_rename_map.
338 (rename_uses): Update call to set_rename.
339 (graphite_copy_stmts_from_block): Do not use parameter_rename_map.
340 * sese.h (parameter_rename_map_t): Remove.
341 (struct sese_info_t): Remove field parameter_rename_map.
343 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
344 Sebastian Pop <s.pop@samsung.com>
346 * graphite-isl-ast-to-gimple.c: Fix comment.
347 * graphite-scop-detection.c (defined_in_loop_p): New.
348 (canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
349 names defined in loop.
351 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
352 Sebastian Pop <s.pop@samsung.com>
354 * graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
355 Discard unstructured if-then-else regions.
357 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
358 Sebastian Pop <s.pop@samsung.com>
360 * graphite-sese-to-poly.c (set_scop_parameter_dim): Remove.
361 (cleanup_loop_iter_dom): Remove.
362 (build_loop_iteration_domains): Remove.
363 (build_scop_context): Remove.
364 (build_scop_iteration_domain): Remove.
365 (add_loop_constraints): New.
366 (build_iteration_domains): New.
367 (build_poly_scop): Call build_iteration_domains.
369 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
370 Sebastian Pop <s.pop@samsung.com>
372 * graphite-scop-detection.c
373 (scop_detection::harmful_loop_in_region): Free dom and loops.
374 (scop_detection::loop_body_is_valid_scop): Free bbs.
376 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
377 Sebastian Pop <s.pop@samsung.com>
379 * graphite-scop-detection.c (record_loop_in_sese): New.
380 (gather_bbs::before_dom_children): Call record_loop_in_sese.
381 (build_scops): Remove call to build_sese_loop_nests.
382 * sese.c (sese_record_loop): Remove.
383 (build_sese_loop_nests): Remove.
384 (new_sese_info): Remove region->loops.
385 (free_sese_info): Same.
386 * sese.h (sese_contains_loop): Same.
387 (build_sese_loop_nests): Remove.
388 (sese_contains_loop): Remove.
390 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
391 Sebastian Pop <s.pop@samsung.com>
393 * graphite-scop-detection.c (loop_is_valid_scop): Renamed loop_is_valid_in_scop.
394 (scop_detection::harmful_stmt_in_region): Renamed harmful_loop_in_region.
395 Call loop_is_valid_in_scop.
397 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
398 Sebastian Pop <s.pop@samsung.com>
400 * graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
403 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
404 Sebastian Pop <s.pop@samsung.com>
406 * graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
407 * graphite.h (struct poly_bb): Remove field is_reduction.
408 (PBB_IS_REDUCTION): Remove.
410 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
411 Sebastian Pop <s.pop@samsung.com>
413 * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
414 (add_pdr_constraints): Same.
415 (scop_get_reads): Same.
416 (scop_get_must_writes): Same.
417 (scop_get_may_writes): Same.
418 (scop_get_original_schedule): Same.
419 (extend_schedule): Same.
420 (apply_schedule_on_deps): Same.
421 (carries_deps): Same.
422 (compute_deps): Same.
423 (scop_get_dependences): Same.
424 * graphite-isl-ast-to-gimple.c
425 (translate_isl_ast_to_gimple::generate_isl_schedule): Same.
426 * graphite-optimize-isl.c (get_schedule_for_band): Same.
427 (get_schedule_for_band_list): Same.
428 (get_schedule_map): Same.
429 (apply_schedule_map_to_scop): Same.
430 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same.
431 (build_loop_iteration_domains): Same.
432 (add_condition_to_pbb): Same.
433 (add_param_constraints): Same.
434 (pdr_add_memory_accesses): Same.
435 (pdr_add_data_dimensions): Same.
437 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
439 * doc/invoke.texi (Instrumentation Options): Clarify -mmpx linking
442 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
444 * common.opt (feliminate-dwarf2-dups): Replace references to
445 "DWARF 2" with just "DWARF".
446 * config/ia64/ia64.opt (mdwarf2-asm): Likewise.
447 * doc/extend.texi: Likewise.
448 * doc/cpp.texi: Likewise.
449 * doc/invoke.texi: Likewise.
450 (Option Summary): Add -gdwarf to list of Debugging Options.
451 (Debugging Options): Document -gdwarf.
452 * doc/contrib.texi: Spell "DWARF" like that.
454 2016-01-21 Jakub Jelinek <jakub@redhat.com>
456 * omp-low.c (expand_omp_target): Avoid -Wmaybe-uninitialized
457 warning. Fix up formatting.
460 * gimplify.c (gimplify_asm_expr): Warn if it is too late to
461 attempt to mark memory input operand addressable and
462 call prepare_gimple_addressable in that case. Don't adjust
463 input_location for diagnostics, use error_at instead.
465 2016-01-20 Peter Bergner <bergner@vnet.ibm.com>
467 * config/rs6000/ppc-auxv.h: New file.
468 * config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
470 (cpu_supports): Likewise.
471 * config/rs6000/rs6000.c: include "ppc-auxv.h".
472 (cpu_is_info): New variable.
473 (cpu_supports_info): Likewise.
474 (tcb_verification_symbol): Likewise.
475 (cpu_builtin_p): Likewise.
476 (cpu_expand_builtin): New function.
477 (rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
478 (rs6000_init_builtins): Likewise.
479 (rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
480 * config/rs6000/rs6000.h (TLS_REGNUM): New define.
481 * configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
482 * configure: Regenerate.
483 * config.in: Likewise.
484 * doc/extend.texi (PowerPC Built-in Functions): Document
485 __builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.
487 2016-01-20 David Edelsohn <dje.gcc@gmail.com>
490 * config/rs6000/rs6000.c (rs6000_emit_swsqrt): Add vector sqrt
492 * config/rs6000/vector.md (sqrt<mode>2): Call rs6000_emit_swsqrt
495 2016-01-20 Richard Henderson <rth@redhat.com>
501 * tree.c (tm_define_builtin): New.
502 (find_tm_vector_type): New.
503 (build_tm_vector_builtins): New.
504 (build_common_builtin_nodes): Call it.
506 2016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
508 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
509 (arm_fp_ok): Likewise.
511 (arm_crypto): Likewise.
513 2016-01-20 Ilya Enkovich <enkovich.gnu@gmail.com>
514 Richard Biener <rguenther@suse.de>
516 PR tree-optimization/69328
517 * tree-vect-stmts.c (vect_is_simple_cond): Check compared
518 vectors have same number of elements.
519 (vectorizable_condition): Fix masked version recognition.
521 2016-01-20 Richard Biener <rguenther@suse.de>
523 PR tree-optimization/69345
524 * tree-ssa-sccvn.h (VN_INFO_RANGE_INFO): New inline function.
525 (VN_INFO_PTR_INFO): Likewise.
526 * tree-ssa-sccvn.c (set_ssa_val_to): Avoid clearing points-to
527 info when it is equal between non-dominating SSA names.
528 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
529 Make sure to look at original SSA infos.
531 2016-01-20 Jeff Law <law@redhat.com>
534 * config/m68k/predicates.md (pow2_m1_operand): New predicate
536 (reg_or_pow2_m1_operand): Call pow2_m1_operand.
537 (pc_or_label_operand): New predicate.
538 * config/m68k/m68k.md: Add new peephole2 patterns for GTU/LEU
539 tests for small integers that are 2^n - 1.
541 2016-01-20 Jonathan Wakely <jwakely@redhat.com>
543 * doc/invoke.texi (Options Summary): Add '.' after @xref.
545 2016-01-19 Jeff Law <law@redhat.com>
548 * tree-ssa-threadbackwards.c
549 (fsm_find_control_statement_thread_paths): Do not try to lookup
550 FSM paths for SSA_NAMEs appearing in abnormal PHIs.
552 2016-01-20 Kugan Vivekanandarajah <kuganv@linaro.org>
554 * doc/lto.texi: Remove text that says only Gold has linker plugin
557 2016-01-19 Eric Botcazou <ebotcazou@adacore.com>
559 * dwarf2out.c (need_endianity_attribute_p): New inline predicate.
560 (base_type_die): Add REVERSE parameter and attach DW_AT_endianity to
562 (modified_type_die): Add REVERSE parameter and pass it recursively,
563 as well as to base_type_die. Adjust presence check accordingly.
564 (base_type_for_mode): Adjust call to modified_type_die.
565 (add_type_attribute): Add REVERSE parameter and pass it to
567 (generic_parameter_die): Adjust call to add_type_attribute.
568 (add_scalar_info): Likewise.
569 (add_subscript_info): Likewise.
570 (gen_array_type_die): Likewise.
571 (gen_descr_array_type_die): Likewise.
572 (gen_entry_point_die): Likewise.
573 (gen_enumeration_type_die): Likewise.
574 (gen_formal_parameter_die): Likewise.
575 (gen_subprogram_die): Likewise.
576 (gen_variable_die ): Likewise.
577 (gen_const_die): Likewise.
578 (gen_field_die): Likewise.
579 (gen_pointer_type_die): Likewise.
580 (gen_reference_type_die): Likewise.
581 (gen_ptr_to_mbr_type_die): Likewise.
582 (gen_inheritance_die): Likewise.
583 (gen_subroutine_type_die): Likewise.
584 (gen_typedef_die): Likewise.
585 (force_type_die): Adjust call to modified_type_die.
587 2016-01-19 Sandra Loosemore <sandra@codesourcery.com>
589 * doc/standards.texi: Copy-editing for grammar, markup, and sentence
590 flow throughout the file. Fix broken link to Objective-C 2.0
592 * doc/invoke.texi: More copy-editing; fix numerous typos and spelling
595 2016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
597 * ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
599 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
602 * ipa-devirt.c (is_cxa_pure_virtual_p): New function.
603 (maybe_record_node): Record cxa_pure_virtual as the only possible
604 target if there are not ohter candidates.
605 (possible_polymorphic_call_target_p): Accept cxa_pure_virtual.
607 2016-01-19 Richard Biener <rguenther@suse.de>
609 * hsa-gen.c (get_memory_order_name): Use MEMMODEL_ constants.
610 (get_memory_order): Likewise.
612 2016-01-19 Kirill Yukhin <kirill.yukhin@intel.com>
614 * tree-vect-stmts.c (vectorizable_store): Check
617 2016-01-19 David Malcolm <dmalcolm@redhat.com>
620 * gcc.c (driver::decode_argv): Add call to
621 init_opts_obstack before init_options_struct.
622 * opts.c (init_opts_obstack): Remove idempotency.
623 (init_options_struct): Replace call to init_opts_obstack
624 with a gcc_assert to verify that it has already been called.
625 * toplev.c (toplev::main): Add call to init_opts_obstack before
626 calls to init_options_struct.
627 (toplev::finalize): Move cleanup of opts_obstack next to
628 cleanup of save_decoded_options, clearing the latter, and
629 save_decoded_options_count.
631 2016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
634 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): Set "conds"
635 attribute to unconditional. Remove %? from output template.
637 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
638 Jiong Wang <jiong.wang@arm.com>
640 * ccmp.c (expand_ccmp_expr_1): Cost the instruction sequences
641 generated from different expand order.
643 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
645 * /config/aarch64/aarch64.c (aarch64_if_then_else_costs):
646 Add support for CCMP costing.
648 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
650 * ccmp.c (ccmp_candidate_p): Remove integer-only restriction.
651 * config/aarch64/aarch64.md (fccmp<mode>): New pattern.
652 (fccmpe<mode>): Likewise.
653 (fcmp): Rename to fcmp and globalize pattern.
655 * config/aarch64/aarch64.c (aarch64_gen_ccmp_first): Add FP support.
656 (aarch64_gen_ccmp_next): Add FP support.
658 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
660 * target.def (gen_ccmp_first): Update documentation.
661 (gen_ccmp_next): Likewise.
662 * doc/tm.texi (gen_ccmp_first): Update documentation.
663 (gen_ccmp_next): Likewise.
664 * ccmp.c (expand_ccmp_expr): Extract cmp_code from return value of
665 expand_ccmp_expr_1. Improve comments.
666 * config/aarch64/aarch64.md (ccmp_and): Use if_then_else for ccmp.
667 (ccmp_ior<mode>): Remove pattern.
668 (cmp<mode>): Remove expand.
669 (cmp): Globalize pattern.
670 (cstorecc4): Use cc_register.
671 (mov<mode>cc): Remove ccmp_cc_register check.
672 * config/aarch64/aarch64.c (aarch64_get_condition_code_1):
673 Simplify after removal of CC_DNE/* modes.
674 (aarch64_ccmp_mode_to_code): Remove.
675 (aarch64_print_operand): Remove 'K' case. Merge 'm' and 'M' cases.
676 In 'k' case use integer as condition.
677 (aarch64_nzcv_codes): Remove inverted cases.
678 (aarch64_code_to_ccmode): Remove.
679 (aarch64_gen_ccmp_first): Use cmp pattern directly. Return the correct
680 comparison with CC register to be used in folowing CCMP/branch/CSEL.
681 (aarch64_gen_ccmp_next): Use previous comparison and mode in CCMP
682 pattern. Return the comparison with CC register. Invert conditions
684 * config/aarch64/aarch64-modes.def: Remove CC_DNE/* modes.
685 * config/aarch64/predicates.md (ccmp_cc_register): Remove.
687 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
689 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
690 instrumented_version.
692 2016-01-19 Richard Biener <rguenther@suse.de>
694 PR tree-optimization/69336
695 * tree-ssa-scopedtables.c (avail_expr_hash): Handle all
696 handled components with get_ref_base_and_extent.
697 (equal_mem_array_ref_p): Adjust.
699 2016-01-19 Jakub Jelinek <jakub@redhat.com>
702 * shrink-wrap.c: Include valtrack.h.
703 (move_insn_for_shrink_wrap): Add DEBUG argument. If
704 MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
705 in between insn and where it will be moved to. Call
706 dead_debug_insert_temp.
707 (prepare_shrink_wrap): Adjust caller. Call dead_debug_local_init
708 first and dead_debug_local_finish at the end.
709 For uses and defs bitmap, handle all regs in between REGNO and
710 END_REGNO, not just the first one.
712 2016-01-19 Richard Biener <rguenther@suse.de>
714 PR tree-optimization/69352
715 * tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1.
716 (equal_mem_array_ref_p): Constrain size and max size properly.
717 Compare the reverse flag.
719 2016-01-19 Bernd Schmidt <bschmidt@redhat.com>
721 * ira.c (ira): Update regstat data if we deleted insns.
723 2016-01-19 Jakub Jelinek <jakub@redhat.com>
725 PR rtl-optimization/68955
726 PR rtl-optimization/64557
727 * dse.c (record_store, check_mem_read_rtx): Don't call get_addr
728 here. Fix up formatting.
729 * alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.
731 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
734 * cgraphunit.c (cgraph_node::expand_thunk): When forcing gimple
735 assume that the node has body.
736 * cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
739 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
741 * lto-streamer-out.c (lto_output): Do not stream instrumentation
744 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
746 * symtab.c (symtab_node::asm_name): Do not call printable name directly.
747 (symtab_node::name): Report name as unnamed if DECL_NAME is not set.
749 2016-01-19 Martin Jambor <mjambor@suse.cz>
750 Martin Liska <mliska@suse.cz>
751 Michael Matz <matz@suse.de>
753 * Makefile.in (OBJS): Add new source files.
754 (GTFILES): Add hsa.c.
755 * common.opt (disable_hsa): New variable.
756 (-Whsa): New warning.
757 * config.in (ENABLE_HSA): New.
758 * configure.ac: Treat hsa differently from other accelerators.
759 (OFFLOAD_TARGETS): Define ENABLE_OFFLOADING according to
761 (ENABLE_HSA): Define ENABLE_HSA according to $enable_hsa.
762 * doc/install.texi (Configuration): Document --with-hsa-runtime,
763 --with-hsa-runtime-include, --with-hsa-runtime-lib and
765 * doc/invoke.texi (-Whsa): Document.
766 (hsa-gen-debug-stores): Likewise.
767 * lto-wrapper.c (compile_images_for_offload_targets): Do not attempt
768 to invoke offload compiler for hsa acclerator.
769 * opts.c (common_handle_option): Determine whether HSA offloading
771 * params.def (PARAM_HSA_GEN_DEBUG_STORES): New parameter.
772 * builtin-types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
773 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
774 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
775 * gimple-low.c (lower_stmt): Also handle GIMPLE_OMP_GRID_BODY.
776 * gimple-pretty-print.c (dump_gimple_omp_for): Also handle
777 GF_OMP_FOR_KIND_GRID_LOOP.
778 (dump_gimple_omp_block): Also handle GIMPLE_OMP_GRID_BODY.
779 (pp_gimple_stmt_1): Likewise.
780 * gimple-walk.c (walk_gimple_stmt): Likewise.
781 * gimple.c (gimple_build_omp_grid_body): New function.
782 (gimple_copy): Also handle GIMPLE_OMP_GRID_BODY.
783 * gimple.def (GIMPLE_OMP_GRID_BODY): New.
784 * gimple.h (enum gf_mask): Added GF_OMP_PARALLEL_GRID_PHONY,
785 GF_OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY and
786 GF_OMP_TEAMS_GRID_PHONY.
787 (gimple_statement_omp_single_layout): Updated comments.
788 (gimple_build_omp_grid_body): New function.
789 (gimple_has_substatements): Also handle GIMPLE_OMP_GRID_BODY.
790 (gimple_omp_for_grid_phony): New function.
791 (gimple_omp_for_set_grid_phony): Likewise.
792 (gimple_omp_parallel_grid_phony): Likewise.
793 (gimple_omp_parallel_set_grid_phony): Likewise.
794 (gimple_omp_teams_grid_phony): Likewise.
795 (gimple_omp_teams_set_grid_phony): Likewise.
796 (gimple_return_set_retbnd): Also handle GIMPLE_OMP_GRID_BODY.
797 * omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): New.
798 (BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
799 (BUILT_IN_GOMP_TARGET): Updated type.
800 * omp-low.c: Include symbol-summary.h, hsa.h and params.h.
801 (adjust_for_condition): New function.
802 (get_omp_for_step_from_incr): Likewise.
803 (extract_omp_for_data): Moved parts to adjust_for_condition and
804 get_omp_for_step_from_incr.
805 (build_outer_var_ref): Handle GIMPLE_OMP_GRID_BODY.
806 (fixup_child_record_type): Bail out if receiver_decl is NULL.
807 (scan_sharing_clauses): Handle OMP_CLAUSE__GRIDDIM_.
808 (scan_omp_parallel): Do not create child functions for phony
810 (check_omp_nesting_restrictions): Handle GIMPLE_OMP_GRID_BODY.
811 (scan_omp_1_op): Checking assert we are not remapping to
812 ERROR_MARK. Also also handle GIMPLE_OMP_GRID_BODY.
813 (parallel_needs_hsa_kernel_p): New function.
814 (expand_parallel_call): Register apprpriate parallel child
815 functions as HSA kernels.
816 (grid_launch_attributes_trees): New type.
817 (grid_attr_trees): New variable.
818 (grid_create_kernel_launch_attr_types): New function.
819 (grid_insert_store_range_dim): Likewise.
820 (grid_get_kernel_launch_attributes): Likewise.
821 (get_target_argument_identifier_1): Likewise.
822 (get_target_argument_identifier): Likewise.
823 (get_target_argument_value): Likewise.
824 (push_target_argument_according_to_value): Likewise.
825 (get_target_arguments): Likewise.
826 (expand_omp_target): Call get_target_arguments instead of looking
827 up for teams and thread limit.
828 (grid_expand_omp_for_loop): New function.
829 (grid_arg_decl_map): New type.
830 (grid_remap_kernel_arg_accesses): New function.
831 (grid_expand_target_kernel_body): New function.
832 (expand_omp): Call it.
833 (lower_omp_for): Do not emit phony constructs.
834 (lower_omp_taskreg): Do not emit phony constructs but create for them
835 a temporary variable receiver_decl.
836 (lower_omp_taskreg): Do not emit phony constructs.
837 (lower_omp_teams): Likewise.
838 (lower_omp_grid_body): New function.
839 (lower_omp_1): Call it.
840 (grid_reg_assignment_to_local_var_p): New function.
841 (grid_seq_only_contains_local_assignments): Likewise.
842 (grid_find_single_omp_among_assignments_1): Likewise.
843 (grid_find_single_omp_among_assignments): Likewise.
844 (grid_find_ungridifiable_statement): Likewise.
845 (grid_target_follows_gridifiable_pattern): Likewise.
846 (grid_remap_prebody_decls): Likewise.
847 (grid_copy_leading_local_assignments): Likewise.
848 (grid_process_kernel_body_copy): Likewise.
849 (grid_attempt_target_gridification): Likewise.
850 (grid_gridify_all_targets_stmt): Likewise.
851 (grid_gridify_all_targets): Likewise.
852 (execute_lower_omp): Call grid_gridify_all_targets.
853 (make_gimple_omp_edges): Handle GIMPLE_OMP_GRID_BODY.
854 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__GRIDDIM_.
855 (tree_omp_clause): Added union field dimension.
856 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE__GRIDDIM_.
857 * tree.c (omp_clause_num_ops): Added number of arguments of
858 OMP_CLAUSE__GRIDDIM_.
859 (omp_clause_code_name): Added name of OMP_CLAUSE__GRIDDIM_.
860 (walk_tree_1): Handle OMP_CLAUSE__GRIDDIM_.
861 * tree.h (OMP_CLAUSE_GRIDDIM_DIMENSION): New.
862 (OMP_CLAUSE_SET_GRIDDIM_DIMENSION): Likewise.
863 (OMP_CLAUSE_GRIDDIM_SIZE): Likewise.
864 (OMP_CLAUSE_GRIDDIM_GROUP): Likewise.
865 * passes.def: Schedule pass_ipa_hsa and pass_gen_hsail.
866 * tree-pass.h (make_pass_gen_hsail): Declare.
867 (make_pass_ipa_hsa): Likewise.
868 * ipa-hsa.c: New file.
869 * lto-section-in.c (lto_section_name): Add hsa section name.
870 * lto-streamer.h (lto_section_type): Add hsa section.
871 * timevar.def (TV_IPA_HSA): New.
872 * hsa-brig-format.h: New file.
873 * hsa-brig.c: New file.
874 * hsa-dump.c: Likewise.
875 * hsa-gen.c: Likewise.
878 * toplev.c (compile_file): Call hsa_output_brig.
879 * hsa-regalloc.c: New file.
881 2016-01-18 Jeff Law <law@redhat.com>
883 PR tree-optimization/69320
884 * tree-ssa-dom.c (record_edge_info): For comparisons against a boolean
885 ranged object, do nothing if the RHS constant is not [0..1].
886 (optimize_stmt): Comparing a boolean ranged object against a
887 constant outside [0..1] results in a compile-time constant.
889 * tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary
892 2016-01-18 Sandra Loosemore <sandra@codesourcery.com>
894 * doc/invoke.texi (Invoking GCC): Add new section to menu.
895 (Option Summary): Update to reflect new section and moved options.
896 (C++ Dialect Options): Move -fstats to new section.
897 (Debugging Options): Move all dump, statistics, and other GCC
898 developer options to new section. Rewrite section introduction
899 and re-order remaining options to put the more basic ones first.
900 (Optimization Options): Move -fira-verbose and -flto-report* to
902 (Developer Options): New section incorporating moved options.
903 * doc/cppopts.texi (-dM): Update cross-reference.
905 2016-01-18 Richard Henderson <rth@redhat.com>
908 * config/aarch64/aarch64.md (add<GPI>3): Move long immediate
909 operands to pseudo only if CSE is expected. Split long immediate
910 operands only after reload, and for the stack pointer.
911 (*add<GPI>3_pluslong): Remove.
912 (*addsi3_aarch64, *adddi3_aarch64): Merge into...
913 (*add<GPI>3_aarch64): ... here. Add r/rk/Upl alternative.
914 (*addsi3_aarch64_uxtw): Add r/rk/Upl alternative.
915 (*add<GPI>3 peepholes): New.
916 (*add<GPI>3 splitters): New.
917 * config/aarch64/constraints.md (Upl): New.
918 * config/aarch64/predicates.md (aarch64_pluslong_strict_immedate): New.
920 2016-01-18 Richard Biener <rguenther@suse.de>
922 PR tree-optimization/69297
923 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Count each scalar
925 (vect_bb_vectorization_profitable_p): Clear visited flag again.
927 2016-01-18 Yuri Rumyantsev <ysrumyan@gmail.com>
930 * fold-const.c (fold_binary_op_with_conditional_arg): Bail out for case
931 of mixind vector and scalar types.
932 (fold_relational_const): Add handling of vector
933 comparison with boolean result.
934 * tree-cfg.c (verify_gimple_comparison): Add argument CODE, allow
935 comparison of vector operands with boolean result for EQ/NE only.
936 (verify_gimple_assign_binary): Adjust call for verify_gimple_comparison.
937 (verify_gimple_cond): Likewise.
938 * tree-vrp.c (extract_code_and_val_from_cond_with_ops): Modify check on
941 2016-01-18 Joseph Myers <joseph@codesourcery.com>
943 * config/mips/mips.h (ISA_HAS_PAIRED_SINGLE): Require
946 2016-01-18 Richard Biener <rguenther@suse.de>
949 * gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
951 2016-01-18 Tom de Vries <tom@codesourcery.com>
953 * passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
955 2016-01-18 Tom de Vries <tom@codesourcery.com>
957 * omp-low.c (set_oacc_fn_attrib): Make extern.
958 * omp-low.h (set_oacc_fn_attrib): Declare.
959 * tree-parloops.c (struct reduction_info): Add reduc_addr field.
960 (create_call_for_reduction_1): Handle case that reduc_addr is non-NULL.
961 (create_parallel_loop, gen_parallel_loop, try_create_reduction_list):
962 Add and handle function parameter oacc_kernels_p.
963 (find_reduc_addr, get_omp_data_i_param): New function.
964 (ref_conflicts_with_region, oacc_entry_exit_ok_1)
965 (oacc_entry_exit_single_gang, oacc_entry_exit_ok): New function.
966 (parallelize_loops): Add and handle function parameter oacc_kernels_p.
967 Calculate dominance info. Skip loops that are not in a kernels region
968 in oacc_kernels_p mode. Skip inner loops of parallelized loops.
969 (pass_parallelize_loops::execute): Call parallelize_loops with
970 oacc_kernels_p argument.
971 (pass_parallelize_loops::clone, pass_parallelize_loops::set_pass_param):
973 (pass_parallelize_loops::bool oacc_kernels_p): New member var.
974 * passes.def: Add argument to pass_parallelize_loops instantation.
976 2016-01-18 Tom de Vries <tom@codesourcery.com>
978 * tree-parloops.c (pass_parallelize_loops::execute): Allow
979 pass_parallelize_loops to be run outside the loop pipeline.
981 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
983 * tree-scalar-evolution.c (follow_copies_to_constant): New.
984 (analyze_initial_condition, analyze_scalar_evolution_1): Call previous.
986 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
989 * tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
990 using get_ref_base_and_extent.
991 (equal_mem_array_ref_p): New.
992 (hashable_expr_equal_p): Add call to previous.
994 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
997 * tree-sra.c (disqualified_constants, constant_decl_p): New.
998 (sra_initialize): Allocate disqualified_constants.
999 (sra_deinitialize): Free disqualified_constants.
1000 (disqualify_candidate): Update disqualified_constants when appropriate.
1001 (create_access): Scan for constant-pool entries as we go along.
1002 (scalarizable_type_p): Add check against type_contains_placeholder_p.
1003 (maybe_add_sra_candidate): Allow constant-pool entries.
1004 (load_assign_lhs_subreplacements): Bind debug for constant pool vars.
1005 (initialize_constant_pool_replacements): New.
1006 (sra_modify_assign): Avoid mangling assignments created by previous,
1007 and don't generate writes into constant pool.
1008 (sra_modify_function_body): Call initialize_constant_pool_replacements.
1010 2016-01-18 Ilya Enkovich <enkovich.gnu@gmail.com>
1012 * config/i386/i386.c (scalar_to_vector_candidate_p): Support
1014 (scalar_chain::convert_op): Likewise.
1015 * config/i386/i386.md (*andndi3_doubleword): New.
1017 2016-01-18 Richard Biener <rguenther@suse.de>
1019 PR tree-optimization/69170
1020 * tree-vect-slp.c (vect_build_slp_tree): Verify we are not
1021 building a vector from scalar results of a pattern stmt.
1023 2016-01-18 Jakub Jelinek <jakub@redhat.com>
1025 * haifa-sched.c (autopref_multipass_init): Work around
1026 -Wmaybe-uninitialized warning.
1028 2016-01-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1030 * config/arm/arm.c (thumb1_reorg): Check that the comparison is
1031 against the constant 0.
1033 2016-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1035 PR tree-optimization/68799
1036 * gimple-ssa-strength-reduction.c (create_phi_basis): Directly
1037 look up phi candidates in the statement-candidate map.
1038 (phi_add_costs): Likewise.
1039 (record_phi_increments): Likewise.
1040 (phi_incr_cost): Likewise.
1041 (ncd_with_phi): Likewise.
1042 (all_phi_incrs_profitable): Likewise.
1044 2016-01-17 Jakub Jelinek <jakub@redhat.com>
1046 * omp-low.c (mark_loops_in_oacc_kernels_region): Work around
1047 -Wmaybe-uninitialized warning.
1049 2016-01-16 Sandra Loosemore <sandra@codesourcery.com>
1051 * doc/invoke.texi (Invoking GCC): Add new section to menu.
1052 (Option Summary): Update to reflect new section and moved options.
1053 (C++ Dialect Options): Move -fvtable-verify and related options.
1054 (Debugging Options): Move Sanitizer, Pointer Bounds Checker,
1055 and profiling-related options.
1056 (Optimization Options): Move profile generation options and
1057 -fstack-protector and related options.
1058 (Instrumentation Options): New section incorporating moved options.
1059 (Code Generation Options): Move -finstrument-functions and
1060 related options, -fstack-check, -fstack-limit*, and -fbounds-check.
1062 2016-01-16 Tom de Vries <tom@codesourcery.com>
1064 * passes.def: Move pass_expand_omp_ssa out of pass_parallelize_loops.
1066 2016-01-16 Tom de Vries <tom@codesourcery.com>
1068 * omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
1070 2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
1072 * hash-table.h (hash_table::empty): Turn into an inline wrapper
1073 that checks whether the table is already empty. Rename the
1074 original implementation to...
1075 (hash_table::empty_slot): ...this new private function.
1077 2016-01-15 David Malcolm <dmalcolm@redhat.com>
1080 * diagnostic-show-locus.c (layout::print_source_line): Move x
1081 offset of line until after call to
1082 get_line_width_without_trailing_whitespace.
1084 2016-01-15 Jeff Law <law@redhat.com>
1086 PR tree-optimization/69270
1087 * tree-ssanames.c (ssa_name_has_boolean_range): Moved here from
1088 tree-ssa-dom.c. Improve test for [0..1] ranve from VRP.
1089 * tree-ssa-dom.c (ssa_name_has_boolean_range): Remove.
1090 * tree-ssanames.h (ssa_name_has_boolean_range): Prototype.
1091 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
1092 ssa_name_has_boolean_range and constant_boolean_node.
1094 2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
1096 PR rtl-optimization/69030
1097 * lra-spills.c (remove_pseudos): Check nrefs and make the function
1099 (spill_pseudos): Delete debug insn for dead pseudo.
1100 (lra_spill): Initiate spill_hard_reg and slots memory separately.
1102 2016-01-15 Jiong Wang <jiong.wang@arm.com>
1104 * config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
1106 (TYPES_UNOPUS): Likewise.
1107 * config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
1108 builtin type, from UNOP to UNOPUS.
1109 (lbtruncuv4sf): Likewise.
1110 (lbtruncuv2df): Likewise.
1111 (lrounduv2sf): Likewise.
1112 (lrounduv4sf): Likewise.
1113 (lrounduv2df): Likewise.
1114 (lroundusf): Likewise.
1115 (lroundusf): Likewise.
1116 (lceiluv2sf): Likewise.
1117 (lceiluv4sf): Likewise.
1118 (lceiluv2df): Likewise.
1119 (lceilusf): Likewise.
1120 (lceiludf): Likewise.
1121 (lflooruv2sf): Likewise.
1122 (lflooruv4sf): Likewise.
1123 (lflooruv2df): Likewise.
1124 (lfloorusf): Likewise.
1125 (lfloorudf): Likewise.
1126 (lfrintnuv2sf): Likewise.
1127 (lfrintnuv4sf): Likewise.
1128 (lfrintnuv2df): Likewise.
1129 (lfrintnusf): Likewise.
1130 (lfrintnudf): Likewise.
1131 * config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
1133 (vcvtq_u32_f32): Likewise.
1134 (vcvtq_u64_f64): Likewise.
1135 (vcvta_u32_f32): Likewise.
1136 (vcvtaq_u32_f32): Likewise.
1137 (vcvtaq_u64_f64): Likewise.
1138 (vcvtm_u32_f32): Likewise.
1139 (vcvtmq_u32_f32): Likewise.
1140 (vcvtmq_u64_f64): Likewise.
1141 (vcvtn_u32_f32): Likwise.
1142 (vcvtnq_u32_f32): Likewise.
1143 (vcvtnq_u64_f64): Likewise.
1144 (vcvtp_u32_f32): Likewise.
1145 (vcvtpq_u32_f32): Likewise.
1146 (vcvtpq_u64_f64): Likewise.
1147 (vcvtmd_u64_f64): Likewise.
1148 (vcvtms_u32_f32): Likewise.
1149 (vcvtad_u64_f64): Likewise.
1150 (vcvtas_u32_f32): Likewise.
1151 (vcvtnd_u64_f64): Likewise.
1152 (vcvtns_u32_f32): Likewise.
1153 (vcvtpd_u64_f64): Likewise.
1154 (vcvtps_u32_f32): Likewise.
1156 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1158 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
1159 CSEL of zero_extended registers.
1161 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1163 * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
1164 Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
1166 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1168 * config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
1169 false when argument string is not found in the attributes table
1172 2016-01-15 David Edelsohn <dje.gcc@gmail.com>
1175 * config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
1176 (rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
1177 * config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
1180 2016-01-15 Richard Biener <rguenther@suse.de>
1182 PR tree-optimization/66856
1183 * tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
1184 * tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
1185 (vect_create_new_slp_node): Increment stmt reference count.
1186 (vect_get_and_check_slp_defs): Make sure stmts are nor already in
1187 an SLP tree before swapping operands.
1188 (vect_build_slp_tree): Likewise.
1189 (destroy_bb_vec_info): Free stmt info after SLP instances.
1190 * tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
1191 * tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
1192 (STMT_VINFO_NUM_SLP_USES): New macro.
1194 2016-01-15 Richard Biener <rguenther@suse.de>
1197 * dwarf2out.c (add_linkage_name_raw): New function split out from ...
1198 (add_linkage_name): ... here.
1199 (gen_typedef_die): Use add_linkage_name_raw instead of
1200 add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
1203 2016-01-15 Cesar Philippidis <cesar@codesourcery.com>
1205 * gimplify.c (oacc_default_clause): Decode reference and pointer
1206 types for both kernels and parallel regions.
1208 2016-01-15 Richard Sandiford <richard.sandiford@arm.com>
1211 * calls.c (emit_call_1): Force n_popped to zero for sibcalls.
1213 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
1215 * config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
1216 (convert_scalars_to_vector): Likewise.
1218 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
1220 * doc/extend.texi (Type Traits): Fix grammar.
1222 2016-01-15 Martin Jambor <mjambor@suse.cz>
1224 * tree-inline.c (remap_decl): Use existing dclarations if
1225 remapping a type and prevent_decl_creation_for_types.
1226 (replace_locals_stmt): Do an initial remapping of non-VLA typed
1227 decls first. Do real remapping with
1228 prevent_decl_creation_for_types set.
1229 * tree-inline.h (copy_body_data): New field
1230 prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
1233 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
1235 * config/s390/s390.opt (mmvcle): More verbose help text.
1237 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
1239 * config/s390/s390.opt: Add period to -mzvector option text.
1241 2016-01-15 Richard Biener <rguenther@suse.de>
1243 PR tree-optimization/68961
1244 * tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
1245 of invariants in stores again.
1247 2016-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
1249 * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
1251 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
1253 * config/i386/i386.c (ix86_expand_branch): Don't split
1254 DI mode xor instruction to SI mode.
1256 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
1259 * ipa-icf.c (sem_function::merge): Virtual functions may become
1260 reachable even if they address is not taken and there are no
1263 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
1265 * lto-streamer-out.c (subtract_estimated_size): New function.
1266 (get_symbol_initial_value): Use it.
1268 2016-01-15 Christian Bruel <christian.bruel@st.com>
1271 * config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
1272 (arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
1273 (arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
1274 use add_builtin_function_ext_scope instead of add_builtin_function.
1275 (neon_set_p, neon_crypto_set_p): Remove.
1276 (arm_init_builtins): Always call arm_init_neon_builtins and
1277 arm_init_crypto_builtins.
1278 (arm_expand_builtin): Check that builtins are allowed for the arch.
1279 * config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
1280 * config/arm/arm.c (arm_valid_target_attribute_tree): Remove
1281 arm_init_neon_builtins call.
1283 2016-01-15 Richard Biener <rguenther@suse.de>
1285 PR tree-optimization/69117
1286 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
1287 * tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
1288 of the leader conservatively.
1289 (free_scc_vn): Restore original SSA name infos.
1291 2016-01-14 Jeff Law <law@redhat.com>
1293 PR tree-optimization/69270
1294 * tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
1295 single bit of precision, verify it's also unsigned.
1296 (record_edge_info): Use constant_boolean_node rather than fold_convert
1297 to convert boolean_true/boolean_false to the right type.
1299 2016-01-14 Richard Henderson <rth@redhat.com>
1302 * loop-doloop.c (record_reg_sets): New.
1303 (doloop_optimize): Reject the transform if the sequence
1304 clobbers registers live at the end of the loop block.
1305 (doloop_optimize_loops): Enable df_live if needed.
1307 2016-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
1309 * config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
1310 * gcc/config/rs6000/rs6000.c: Likewise.
1311 * gcc/config/rs6000/rs6000.h: Likewise.
1312 * gcc/config/rs6000/rs6000.md: Likewise.
1313 * gcc/doc/extend.texi: Likewsie.
1315 2016-01-14 Jeff Law <law@redhat.com>
1317 * tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
1320 2016-01-14 Richard Henderson <rth@redhat.com>
1324 * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
1325 * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
1326 instead of builtin_decl_declared_p to test for declaration.
1328 2016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
1330 * doc/loop.texi (Loop Analysis and Representation): Document
1331 loop_depth function.
1333 2016-01-14 Tom de Vries <tom@codesourcery.com>
1335 PR tree-optimization/68773
1336 * omp-low.c (expand_omp_target): Don't set force_output.
1337 * varpool.c (varpool_node::get_create): Same.
1338 * lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
1339 offload_funcs with force_output.
1341 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1344 * lra-eliminations.c (move_plus_up): Don't change anything if either
1345 the outer or inner subreg mode is not MODE_INT.
1346 * dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
1347 integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
1349 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
1351 * doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
1352 reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
1353 reduc_uplus_@var{m}): Remove.
1354 * expr.c (expand_expr_real_2): Remove expansion path for
1355 reduc_[us](min|max|plus) optabs.
1356 * optabs-tree.c (scalar_reduc_to_vector): Remove.
1357 * optabs-tree.h (scalar_reduc_to_vector): Remove.
1358 * optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
1359 reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
1360 * tree-vect-loop.c (vectorizable_reduction): Remove test for
1361 reduc_[us](min|max|plus) optabs.
1363 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
1365 * config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
1366 (reduc_plus_scal_v2sf): New.
1367 (reduc_smax_v2sf): Rename to...
1368 (reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
1369 (reduc_smin_v2sf): Rename to...
1370 (reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
1372 2016-01-14 Jan Hubicka <hubicka@ucw.cz>
1374 * alias.c (compare_base_symbol_refs): New function.
1375 (rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
1378 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1381 PR tree-optimization/69155
1382 * tree-complex.c: Include cfganal.h.
1383 (phis_to_revisit): New variable.
1384 (extract_component): Add phiarg_p argument. Assert that returned
1385 SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
1386 (update_phi_components): Partly rewrite to use loop over real/imag
1387 components instead of code duplication. If extract_component returns
1388 SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
1389 create_tmp_reg into the PHI node instead, and mention the phi triplet
1391 (tree_lower_complex): Walk bbs in rpo order. Adjust phis recorded
1392 in phis_to_revisit at the end.
1394 2016-01-14 Richard Biener <rguenther@suse.de>
1396 PR tree-optimization/68060
1397 * tree-vect-loop.c (vect_is_simple_reduction): Check the
1398 outer loop reduction is only used in the inner loop before
1399 detecting a double reduction.
1401 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1404 * combine.c (expand_field_assignment): Punt if compute_mode is
1405 unsupported scalar mode.
1407 2016-01-14 Richard Biener <rguenther@suse.de>
1409 PR tree-optimization/66856
1410 * tree-vect-slp.c (vect_build_slp_tree): Refactor to build
1411 SLP node only if it built successfully.
1412 (vect_analyze_slp_instance): Adjust.
1414 2016-01-14 Jeff Law <law@redhat.com>
1416 PR tree-optimization/69270
1417 * tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
1418 (record_edge_info): Use it. Convert boolean_{true,false}_node
1421 2016-01-13 Jan Hubicka <hubicka@ucw.cz>
1424 * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
1425 use block_ultimate_origin
1426 (noncall-stmt_may_be_vtbl_ptr_store): Likewise.
1428 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
1430 * doc/invoke.texi (Submodel Options): Rename section to
1431 "Machine-Dependent Options" to better reflect its content.
1432 Rewrite introductory text to remove archaic CPU names.
1435 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
1437 * doc/invoke.texi (Code Gen Options): Move section up in file,
1438 before target-specific options. Update menu and option summary
1439 to reflect the new section ordering.
1441 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
1443 * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
1444 (C++ Dialect Options): Add cross-reference to -std option.
1445 * doc/standards.texi (C++ Language): Document C++14 support.
1447 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1449 * config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
1450 for pack/unpack functions for __ibm128.
1451 (PACK_IF): Likewise.
1452 (UNPACK_IF): Likewise.
1454 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
1455 support for __ibm128 pack/unpack functions.
1456 (rs6000_invalid_builtin): Likewise.
1457 (rs6000_init_builtins): Likewise.
1458 (rs6000_opt_masks): Likewise.
1460 * config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
1461 (RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
1463 (RS6000_BTM_COMMON): Likewise.
1465 * config/rs6000/rs6000.md (f128_vsx): New mode attribute.
1466 (unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
1467 disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
1468 128-bit floating point. Add support for the double values to be
1469 in Altivec registers for TF/IF packing and unpacking, but restrict
1470 TD packing sub-fields to be FPR registers. Don't allow overlapped
1471 register support for packing. Allow pack inputs to be memory
1472 locations. Don't build generator functions for unpack<mode>_dm
1473 and unpack<mode>_nodm.
1474 (unpack<mode>_dm): Likewise.
1475 (unpack<mode>_nodm): Likewise.
1476 (pack<mode>): Likewise.
1478 * config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
1479 built-in functions to pack/unpack explicit __ibm128 values.
1480 (__builtin_unpack_ibm128): Likewise.
1482 * doc/extend.texi (PowerPC Built-in Functions): Document
1483 __builtin_pack_ibm128 and __builtin_unpack_ibm128.
1485 2016-01-13 Bernd Schmidt <bschmidt@redhat.com>
1488 * c-common.c (check_function_nonnull): Remove unnecessary declaration.
1489 Add new arg loc and pass it down as context.
1490 (check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
1491 to the location to use for the warning.
1492 (check_function_arguments): New arg loc. All callers changed. Pass
1493 it to check_function_nonnull.
1494 * c-common.h (check_function_arguments): Adjust declaration.
1496 2016-01-13 Jakub Jelinek <jakub@redhat.com>
1498 PR tree-optimization/69156
1499 * gimple.c (validate_type): Removed.
1500 (gimple_builtin_call_types_compatible_p): Use
1501 useless_type_conversion_p instead of validate_type.
1502 * value-prof.c (gimple_stringop_fixed_value): Fold
1503 icall_size to correct type.
1505 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
1507 * doc/extend.texi (__atomic Builtins): Clarify compare_exchange
1510 2016-01-13 Richard Henderson <rth@redhat.com>
1513 * target.def (builtin_tm_load, builtin_tm_store): Remove.
1514 * config/i386/i386.c (ix86_builtin_tm_load): Remove.
1515 (ix86_builtin_tm_store): Remove.
1516 (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
1517 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
1518 * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
1519 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
1520 * doc/tm.texi: Rebuild.
1522 * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
1523 (BUILT_IN_TM_MEMCPY_RTWN): New.
1524 * trans-mem.c (tm_log_emit_stmt): Rearrange code for better
1525 fallback from vector to integer helpers.
1526 (build_tm_load): Handle vector types directly, instead of
1528 (build_tm_store): Likewise.
1529 (expand_assign_tm): Prepare for register types not handled by
1530 the above. Copy them to memory and use memcpy.
1531 * tree.c (tm_define_builtin): New.
1532 (find_tm_vector_type): New.
1533 (build_tm_vector_builtins): New.
1534 (build_common_builtin_nodes): Call it.
1536 2016-01-13 Uros Bizjak <ubizjak@gmail.com>
1538 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
1539 TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
1541 2016-01-13 Tom de Vries <tom@codesourcery.com>
1543 PR tree-optimization/69169
1544 * tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
1545 handled_struct_type param.
1546 (create_variable_info_for, intra_create_variable_infos): Call
1547 create_variable_info_for_1 with extra arg.
1549 2016-01-13 Yvan Roux <yvan.roux@linaro.org>
1551 * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
1552 and "armv8.1-a+crc" entries.
1554 2016-01-13 Alexander Fomin <alexander.fomin@intel.com>
1557 * config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
1558 Change first operand predicate from register_or_constm1_operand
1559 to register_operand.
1560 (define_expand "avx512pf_gatherpf<mode>df"): Likewise.
1561 (define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
1562 (define_expand "avx512pf_scatterpf<mode>df"): Likewise.
1563 (define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
1564 (define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
1565 (define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
1566 (define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
1567 * config/i386/i386.c (ix86_expand_builtin): Remove first operand
1568 comparison with constm1_rtx from vec_prefetch_gen part.
1570 2016-01-13 Richard Biener <rguenther@suse.de>
1572 PR tree-optimization/69013
1573 * tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
1574 Exchange assert for a test.
1576 2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1579 * config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
1581 2016-01-13 Richard Biener <rguenther@suse.de>
1583 PR tree-optimization/69242
1584 * tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
1585 assert with a check.
1587 2016-01-13 Richard Biener <rguenther@suse.de>
1589 PR tree-optimization/69186
1590 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
1591 Properly guard vect_update_misalignment_for_peel call.
1593 2016-01-12 Jeff Law <law@redhat.com>
1595 PR tree-optimization/pr67755
1596 * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
1597 "need_profile_correction".
1598 (thread_block_1): Initialize new field to false by default. If we
1599 have multiple thread paths through a common joiner to different
1600 final targets, then set new field to true.
1601 (compute_path_counts): Only do count adjustment when it's really
1604 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
1606 * doc/invoke.texi (Spec Files): Move section down in file, past
1607 all command-line option descriptions.
1609 2016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1612 * doc/gty.texi: Remove documentation of mark_hook.
1613 * gengtype.c (struct write_types_data): Remove code to support
1614 mark_hook attribute.
1615 (walk_type): Likewise.
1616 (write_func_for_structure): Likewise.
1618 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
1620 * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
1621 Directory Options, and -specs= to Overall Options.
1622 (Overall Options): Adjust similarly. Reorder to group related
1623 options together. Make -specs= cross-reference the spec file details.
1624 (Directory Options): Adjust similarly.
1626 2016-01-12 Jeff Law <law@redhat.com>
1628 * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
1630 2016-01-12 Olivier Hainque <hainque@adacore.com>
1632 * gcc.c (spec_undefvar_allowed): New global.
1633 (process_command): Set to true when running for --version or --help,
1635 (getenv_spec_function): When the variable is not defined, use the
1636 variable name as the variable value if we're allowed not to issue
1639 2016-01-12 Bin Cheng <bin.cheng@arm.com>
1641 PR tree-optimization/68911
1642 * tree-vrp.c (adjust_range_with_scev): Check overflow in range
1643 information computed for expression "init + nit * step".
1645 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
1647 * doc/invoke.texi (Invoking GCC): Copy-edit. Incorporate information
1648 about name of GCC executable. Remove deleted node from menu.
1649 (Directory Options) <-B>: Remove cross-reference to deleted node.
1650 (Target Options): Delete section.
1652 2016-01-12 Christian Bruel <christian.bruel@st.com>
1655 * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
1656 for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
1658 2016-01-12 Jakub Jelinek <jakub@redhat.com>
1661 * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
1662 aligned_mem is properly set for AVX512-VL floating point masked
1666 * ifcvt.c (cond_exec_process_if_block): When removing the last
1667 insn from then_bb, remove also any possible barriers that follow it.
1669 2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
1673 * config/i386/iamcu.h (SIZE_TYPE): New macro.
1674 (PTRDIFF_TYPE): Likewise.
1675 (WCHAR_TYPE): Likewise.
1676 (WCHAR_TYPE_SIZE): Likewise.
1677 (STDINT_LONG32): Likewise.
1679 2016-01-12 Richard Biener <rguenther@suse.de>
1681 PR tree-optimization/69053
1682 * tree-vect-loop.c (get_initial_def_for_reduction): Properly
1683 convert initial value for cond reductions.
1685 2016-01-12 Richard Biener <rguenther@suse.de>
1687 PR tree-optimization/69007
1688 * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
1689 widen_sum after dot_prod and sad.
1691 2016-01-12 Richard Biener <rguenther@suse.de>
1693 PR tree-optimization/69168
1694 * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
1695 pattern stmt SLP type.
1696 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
1697 end up unused so cope with that case.
1699 2016-01-12 Richard Biener <rguenther@suse.de>
1701 PR tree-optimization/69157
1702 * tree-vect-stmts.c (vectorizable_mask_load_store): Check
1703 stmts def type only during analyze phase.
1704 (vectorizable_call): Likewise.
1705 (vectorizable_simd_clone_call): Likewise.
1706 (vectorizable_conversion): Likewise.
1707 (vectorizable_assignment): Likewise.
1708 (vectorizable_shift): Likewise.
1709 (vectorizable_operation): Likewise.
1710 (vectorizable_store): Likewise.
1711 (vectorizable_load): Likewise.
1713 2016-01-12 Richard Biener <rguenther@suse.de>
1715 PR tree-optimization/69174
1716 * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
1718 (vectorizable_load): Properly compute the number of loads needed
1719 for permuted strided SLP loads and do not spuriously assign
1720 to SLP_TREE_VEC_STMTS.
1722 2016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
1724 * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
1725 (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
1726 (MD_EXEC_PREFIX): Remove.
1727 (MD_STARTFILE_PREFIX) Removee.
1728 (FILE_NAME_ABSOLUTE_P): Remove.
1729 (CPP_SPEC): Do not read macros from sys/version.h.
1730 (LINK_COMMAND_SPEC): Remove.
1731 (LOCAL_INCLUDE_DIR): Remove.
1732 (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
1733 (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
1734 (POST_LINK_SPEC): Define to invoke stubify after linker
1735 (LIBSTDCXX): Remove define
1736 (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
1737 (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
1738 (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
1739 (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
1740 (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
1741 (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
1742 (i386_djgpp_asm_named_section): Add propotype of new procedure
1744 * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
1745 (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
1746 (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX in config/i386/djgpp.h).
1747 (STANDARD_STARTFILE_PREFIX_2): Define identical to STANDARD_STARTFILE_PREFIX_1.
1748 (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
1749 (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal installation errors.
1750 (MAX_OFILE_ALIGNMENT): Define to 128.
1751 (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
1753 * config/i386/djgpp.c: New file. Add implementation of i386_djgpp_asm_named_section.
1755 * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
1757 * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
1758 Add rule for building djgpp.o.
1760 2016-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1762 * config/rs6000/rs6000.c (v2df_reduction_p): New function.
1763 (rtx_is_swappable_p): Reductions are swappable.
1764 (insn_is_swappable_p): V2DF reductions are swappable.
1766 2016-01-11 John David Anglin <danglin@gcc.gnu.org>
1768 * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
1769 reloads for other unsupported memory operands.
1771 2016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
1772 Jim Wilson <jim.wilson@linaro.org>
1775 * config/arm/arm-builtins.c (arm_expand_neon_args): Call
1776 copy_to_mode_reg instead of force_reg.
1778 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
1781 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
1782 TARGET_80387 is true.
1784 2016-01-11 Jakub Jelinek <jakub@redhat.com>
1787 * lra-eliminations.c (move_plus_up): Only move plus up
1788 if subreg of the constant can be simplified into constant
1789 and use the simplified subreg of the constant instead of
1790 the original constant.
1792 * fold-const.c (fold_convertible_p): Don't return true
1793 for conversion of VECTOR_TYPE to same sized integral type.
1794 (fold_convert_loc): Fix up formatting. Fold conversion of
1795 VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
1796 instead of NOP_EXPR.
1798 PR tree-optimization/69214
1799 * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
1800 innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
1803 PR tree-optimization/69207
1804 * tree-vect-slp.c (vect_get_constant_vectors): For
1805 VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
1806 fold_convertible_p to vector_type's element type, and always
1807 use VCE for non-VECTOR_BOOLEAN_TYPE_P.
1809 2016-01-11 Richard Biener <rguenther@suse.de>
1811 PR tree-optimization/69173
1812 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
1813 fixup the cycle if all stmts are in a pattern.
1815 2016-01-11 Uros Bizjak <ubizjak@gmail.com>
1818 * alias.c (base_alias_check): Move check for addresses with
1819 alignment ANDs before the call for compare_base_decls.
1820 (memrefs_conflict_p): Return -1 for different decls
1821 that went through alignment adjustments.
1823 2016-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1825 PR rtl-optimization/68796
1826 * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
1827 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
1828 and QImode comparisons against zero with CC_NZmode.
1829 * config/aarch64/iterators.md (short_mask): New mode_attr.
1831 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
1833 * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
1834 (<avx512>_store<mode>_mask): Likewise.
1836 2016-01-11 Bernd Schmidt <bschmidt@redhat.com>
1837 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1839 PR rtl-optimization/68841
1840 * ifcvt.c (struct noce_if_info): Add orig_x field.
1841 (bbs_ok_for_cmove_arith): Add to_rename parameter.
1842 Don't record conflicts on to_rename if it's present.
1843 Allow memory destinations in sets.
1844 (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
1845 blocks, passing orig_x to the checks.
1846 (noce_process_if_block): Set if_info->orig_x appropriately.
1848 2016-01-11 Tom de Vries <tom@codesourcery.com>
1850 PR tree-optimization/69069
1851 * tree-parloops.c (create_parallel_loop): Add missing phi args.
1853 2016-01-11 Yuri Rumyantsev <ysrumyan@gmail.com>
1855 PR rtl-optimization/68920
1856 * config/i386/i386.c (ix86_option_override_internal): Restrict number
1857 of conditional moves for RTL if-conversion to 1 for
1858 TARGET_ONE_IF_CONV_INSN.
1859 * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
1860 * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
1861 * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
1862 parameter to restirct number of conditional moves for
1864 * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
1865 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
1868 2016-01-11 Alexandre Oliva <aoliva@redhat.com>
1871 * var-tracking.c (drop_overlapping_mem_locs): Operate on all
1872 onepart vars. Fix typo in comment. Fix reversed condition in
1874 (dataflow_set_remove_mem_locs): Operate on all onepart vars.
1877 * var-tracking.c (dump_onepart_variable_differences): New.
1878 (dataflow_set_different): If a detailed dump is requested,
1879 delay early returns and dump differences between onepart
1880 variables present before and after, and added variables.
1882 2016-01-11 Ilya Enkovich <enkovich.gnu@gmail.com>
1885 * expr.c (expand_expr_real_1): For boolean vector constants
1886 with a scalar mode use const_scalar_mask_from_tree.
1887 (const_scalar_mask_from_tree): New.
1888 * optabs.c (expand_vec_cond_mask_expr): Use mask mode
1889 assigned to a mask type to handle constants.
1891 2016-01-11 Martin Jambor <mjambor@suse.cz>
1894 * ipa-cp.c (estimate_local_effects): Do not clone for removal of
1895 useless parameters if we cannot change function signature.
1897 2016-01-11 Martin Jambor <mjambor@suse.cz>
1900 * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
1903 2016-01-11 Tom de Vries <tom@codesourcery.com>
1905 PR tree-optimization/69109
1906 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
1909 2016-01-11 Tom de Vries <tom@codesourcery.com>
1911 PR tree-optimization/69108
1912 * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
1913 res is not used in a phi.
1915 2016-01-11 Yury Gribov <y.gribov@samsung.com>
1918 * common.opt (frandom-seed): Fix parameter name.
1919 * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
1921 2016-01-11 Tom de Vries <tom@codesourcery.com>
1923 PR tree-optimization/69058
1924 * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
1927 2016-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1929 * config/arc/arc.opt (mdiv-rem): Add period to the end.
1930 (mcode-density): Likewise.
1932 2016-01-10 Tom de Vries <tom@codesourcery.com>
1934 PR tree-optimization/69062
1935 * tree-parloops.c (loop_has_phi_with_address_arg): New function.
1936 (parallelize_loops): Don't paralelize loop that has phi with address
1939 2016-01-10 Tom de Vries <tom@codesourcery.com>
1941 PR tree-optimization/69039
1942 * tree-parloops.c (try_create_reduction_list): Only allow single exit
1945 2016-01-09 John David Anglin <danglin@gcc.gnu.org>
1948 * match.pd: Require target has function_c99_misc before doing
1949 truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
1951 2016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
1953 * configure.ac (isl_options_set_schedule_serialize_sccs): Also
1955 * configure: Regenerate.
1957 2016-01-09 Jakub Jelinek <jakub@redhat.com>
1960 PR tree-optimization/69097
1961 * fold-const.h (expr_not_equal_to): New prototype.
1962 * fold-const.c: Include stringpool.h and tree-ssanames.h.
1963 (expr_not_equal_to): New function.
1964 * match.pd (X % -Y is the same as X % Y): Don't optimize
1965 unless X is known not to be equal to minimum or Y is known
1966 not to be equal to -1.
1967 * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
1968 fold TRUNC_MOD_EXPR if the second argument is not a power of two.
1969 (simplify_stmt_using_ranges): Adjust caller.
1970 (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
1971 substitute_and_fold.
1973 2016-01-09 Jan Hubicka <hubicka@ucw.cz>
1975 * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
1978 2016-01-08 Jakub Jelinek <jakub@redhat.com>
1980 PR tree-optimization/69167
1981 * gimple-fold.c (replace_stmt_with_simplification): Also punt if
1982 new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
1984 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
1986 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
1987 Richard Biener <rguenther@suse.de>
1989 PR tree-optimization/68707
1990 * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
1991 instances that can be handled via vect_load_lanes.
1993 2016-01-08 Uros Bizjak <ubizjak@gmail.com>
1995 * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
1996 if we can't determine address equivalence.
1997 * alias.c (compare_base_decl): Update for changed return value of
1998 symtab_node::equal_address_to.
2000 2016-01-08 Jason Merrill <jason@redhat.com>
2004 * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
2005 * expr.c (store_field): Not here.
2006 * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
2007 call with TREE_ADDRESSABLE type.
2008 * tree-cfg.c (verify_gimple_call): Adjust.
2010 2016-01-08 Olivier Hainque <hainque@adacore.com>
2012 * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
2015 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
2017 * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
2018 (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
2019 (reduc_smin_v2sf): Rename to...
2020 (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
2021 (reduc_splus_v2sf): Rename to...
2022 (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
2024 2016-01-08 Jakub Jelinek <jakub@redhat.com>
2026 PR tree-optimization/69162
2027 * gimplify.c (gimplify_va_arg_expr): Encode original type of
2028 valist argument in another argument.
2029 (gimplify_modify_expr): Adjust for the above change. Cleanup.
2030 * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
2031 to determine the va_list type, build a MEM_REF instead of
2032 build_fold_indirect_ref.
2034 PR tree-optimization/69172
2035 * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
2038 2016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
2040 PR tree-optimization/67781
2041 * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
2042 and cmpnop in two steps: first the ones not accessed in original
2043 gimple expression in a endian independent way and then the ones not
2044 accessed in the final result in an endian-specific way.
2046 2016-01-08 Jakub Jelinek <jakub@redhat.com>
2048 PR tree-optimization/69083
2049 * tree-vect-slp.c (vect_get_constant_vectors): For
2050 VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
2051 element type. If op is fold_convertible_p to vector_type's element
2052 type, use NOP_EXPR instead of VCE.
2054 2016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
2056 PR rtl-optimization/67778
2057 PR rtl-optimization/68634
2058 PR rtl-optimization/68909
2059 * shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
2060 block from the stack until done with it. Remove a superfluous
2061 bitmap set. Remove a superfluous bitmap test.
2063 2016-01-07 Martin Sebor <msebor@redhat.com>
2066 * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
2067 constraint on the type of arguments.
2069 2016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
2071 * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
2072 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
2073 unaligned_access on the gcc_options set.
2074 * config/arm/arm.c (arm_option_override_internal): Use
2075 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
2077 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
2080 * config/i386/i386.c (ix86_frame_pointer_required): Enable
2081 frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
2083 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
2086 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
2089 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
2090 depending on frame_pointer_needed before remaining integer and SSE
2091 registers are saved.
2093 2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
2096 * doc/extend.texi (Nvidia PDX Function Attributes): New section.
2098 2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
2101 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
2102 Use the "xBm" constraint.
2103 (float<sseintvecmodelower><mode>2<mask_name><round_name):
2105 (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
2106 (sse_cvtsi2ssq<round_name>): Likewise.
2107 (sse_cvtss2si<round_name>): Likewise.
2108 (sse_cvtss2siq<round_name>): Likewise.
2109 (sse2_cvtsi2sdq<round_name>): Likewise.
2110 (sse2_cvtsd2si<round_name>): Likewise.
2111 (sse2_cvtsd2siq<round_name>): Likewise.
2112 * config/i386/subst.md (round_nimm_scalar_predicate): New
2115 2015-12-15 Bernd Schmidt <bschmidt@redhat.com>
2118 * varasm.c (make_decl_rtl): Mark invalid register vars as
2121 PR rtl-optimization/66206
2122 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
2123 All callers changed.
2125 2016-01-07 Jakub Jelinek <jakub@redhat.com>
2127 PR tree-optimization/69141
2128 * tree-ssa-pre.c: Include langhooks.h.
2129 (eliminate_dom_walker::before_dom_children): Use
2130 lang_hooks.decl_printable_name instead of
2131 cgraph_node::get ()->name ().
2134 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
2135 it and DECL_ALIGN too.
2137 2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
2139 * config/mips/mips-ftypes.def: Sort to lexicographical order.
2141 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
2144 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
2145 depending on frame_pointer_needed before remaining integer and SSE
2146 registers are saved.
2148 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2150 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
2151 mode iterator with VSX_M2.
2152 (*p9_vecstore_<mode>): Likewise.
2153 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
2154 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
2155 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
2156 (define_split for VSX_LE128 stores): Likewise.
2157 (define_peephole2 for TImode LE swaps): Likewise.
2158 (define_split for VSX_LE128 post-reload stores): Likewise.
2160 2016-01-06 Marek Polacek <polacek@redhat.com>
2163 * convert.c (convert_to_integer_1): Adjust call to
2164 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
2165 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
2166 EXPR instead of ARG.
2167 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
2169 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2172 * doc/extend.texi (RL78 Variable Attributes): New section.
2174 2016-01-05 Marek Polacek <polacek@redhat.com>
2177 * builtins.c (get_memmodel): Use expansion point location rather than
2178 the input location. Call warning_at rather than warning.
2179 (expand_builtin_atomic_compare_exchange): Likewise.
2180 (expand_builtin_atomic_load): Likewise.
2181 (expand_builtin_atomic_store): Likewise.
2182 (expand_builtin_atomic_clear): Likewise.
2184 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2187 * config/i386/i386.c (ix86_expand_vector_logical_operator):
2188 Replace nonimmediate_operand with vector_operand.
2189 * config/i386/predicates.md (vector_operand): New predicate.
2190 (general_vector_operand): Replace nonimmediate_operand with
2192 * config/i386/sse.md: Replace nonimmediate_operand with
2193 vector_operand and m constraint with Bm constraint on SSE
2194 patterns with 16-byte memory operand.
2195 * config/i386/subst.md (round_nimm_predicate): Replace
2196 nonimmediate_operand with vector_operand.
2197 (round_saeonly_nimm_predicate): Likewise.
2198 (round_saeonly_nimm_scalar_predicate): New.
2200 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2203 * config/i386/constraints.md (Bm): New constraint.
2204 * config/i386/predicates.md (vector_memory_operand): New
2206 * config/i386/sse.md: Replace xm with xBm in plusminus and
2209 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2212 * doc/extend.texi (V850 Function Attributes): New section.
2213 (V850 Variable Attributes): New section.
2215 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2218 * doc/extend.texi (MicroBlaze Function Attributes): Document
2219 interrupt_handler and fast_interrupt attributes.
2221 2016-01-05 Sergei Trofimovich <siarheit@google.com>
2224 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
2225 for local symbolic operands.
2226 * config/ia64/predicates.md (local_symbolic_operand64): New
2229 2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2231 PR rtl-optimization/68651
2232 * combine.c (combine_simplify_rtx): Canonicalize x + x into
2235 2016-01-05 Nathan Sidwell <nathan@acm.org>
2237 * alias.c (compare_base_decls): Use symtab_node::get.
2239 2016-01-05 Nick Clifton <nickc@redhat.com>
2242 * ira-costs.c (copy_cost): Initialise the t_icode field of the
2243 secondary_reload_info structure.
2246 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
2247 decls if weak support is available.
2249 2016-01-04 Martin Sebor <msebor@redhat.com>
2251 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
2253 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
2255 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
2256 OPTION_MASK_P9_DFORM.
2258 * config/rs6000/constraints.md (wo constraint): New constraint for
2261 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
2263 (rs6000_init_hard_regno_mode_ok): Likewise.
2265 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
2268 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
2269 expanders not to have constraints. Add support for ISA 3.0 xxperm
2270 instruction. Add support for fusing xxlor with xxperm.
2271 (altivec_vperm_<mode>_internal): Likewise.
2272 (altivec_vperm_v8hiv16qi): Likewise.
2273 (altivec_vperm_<mode>v16q): Likewise.
2274 (altivec_vperm_<mode>_uns): Likewise.
2275 (vperm_v8hiv4si): Likewise.
2276 (vperm_v16qiv8hi): Likewise.
2278 * doc/md.texi (RS/6000 constraints): Document wo constraint.
2280 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2282 Update copyright years.
2284 * gcc.c (process_command): Update copyright notice dates.
2285 * gcov-dump.c (print_version): Ditto.
2286 * gcov.c (print_version): Ditto.
2287 * gcov-tool.c (print_version): Ditto.
2288 * gengtype.c (create_file): Ditto.
2289 * doc/cpp.texi: Bump @copying's copyright year.
2290 * doc/cppinternals.texi: Ditto.
2291 * doc/gcc.texi: Ditto.
2292 * doc/gccint.texi: Ditto.
2293 * doc/gcov.texi: Ditto.
2294 * doc/install.texi: Ditto.
2295 * doc/invoke.texi: Ditto.
2297 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2299 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
2300 modes larger than TImode as TImode if NEON is not enabled.
2302 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2305 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
2306 mode for %f0-%f31 only if TARGET_FPU.
2308 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2311 * config/sparc/sparc.c (scan_record_type): Take into account subfields
2312 to compute the PACKED_P predicate.
2313 (function_arg_record_value): Minor tweaks.
2315 2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
2317 * doc/install.texi (--with-multilib-list): Describe the meaning of the
2318 option for arm*-*-* targets.
2320 2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
2322 * doc/extend.texi (Common Function Attributes): Move docs for
2323 MSP430-specific attributes to....
2324 (MSP430 Function Attributes): ...here. Delete the redundant
2325 entries and copy-edit the remaining text.
2326 (MSP430 Variable Attributes): Use uniform format for index
2327 entries and add a cross-reference to the corresponding function
2330 2016-01-03 Vladimír Čunát <vcunat@gmail.com>
2332 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
2334 (x86 Options): Likewise.
2336 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
2340 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
2341 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
2342 to corresponding attribute.
2344 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
2346 * doc/extend.texi (Common Function Attributes) <noplt>: Move
2347 to correct alphabetization of table. Copy-edit and correct
2349 <stack_protect>: Likewise.
2350 <target_clones>: Likewise.
2352 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
2353 Correct punctuation.
2354 (Code Gen Options) <-fno-plt>: Copy-edit.
2356 2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
2359 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
2360 SI values. Explicitly convert SI to DI and vice-versa.
2362 2016-01-01 Jakub Jelinek <jakub@redhat.com>
2364 PR tree-optimization/69070
2365 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
2366 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
2369 * ubsan.c (ubsan_instrument_float_cast): Call
2370 initialize_sanitizer_builtins.
2373 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
2375 Copyright (C) 2016 Free Software Foundation, Inc.
2377 Copying and distribution of this file, with or without modification,
2378 are permitted in any medium without royalty provided the copyright
2379 notice and this notice are preserved.