1 2016-01-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): Add
4 decl with __attribute__ ((unused)) annotation.
6 2016-01-25 Ilya Enkovich <enkovich.gnu@gmail.com>
9 * tree-vect-stmts.c (vectorizable_condition): Check vectype
10 of operands is compatible with a statement vectype.
12 2016-01-25 Eric Botcazou <ebotcazou@adacore.com>
14 * doc/extend.texi (scalar_storage_order type attribute): Fix typo and
15 improve wording for mixed storage order support.
17 2016-01-25 Bilyan Borisov <bilyan.borisov@arm.com>
19 * config/aarch64/arm_neon.h (vcvt_s64_f64): New intrinsic.
20 (vcvt_u64_f64): Likewise.
21 (vcvta_s64_f64): Likewise.
22 (vcvta_u64_f64): Likewise.
23 (vcvtm_s64_f64): Likewise.
24 (vcvtm_u64_f64): Likewise.
25 (vcvtn_s64_f64): Likewise.
26 (vcvtn_u64_f64): Likewise.
27 (vcvtp_s64_f64): Likewise.
28 (vcvtp_u64_f64): Likewise.
30 2016-01-25 Claudiu Zissulescu <claziss@synopsys.com>
32 * config/arc/arc.c (TARGET_DWARF_REGISTER_SPAN): Define.
33 (arc_init): Check validity mll64 option.
34 (arc_save_restore): Use double load/store instruction.
35 (arc_expand_movmem): Likewise.
36 (arc_split_move): Don't split if we have double load/store
37 instructions. Returns a boolean.
38 (arc_process_double_reg_moves): Change function to return boolean
39 instead of a sequence of instructions.
40 (arc_dwarf_register_span): New function.
41 * config/arc/arc-protos.h (arc_split_move): Change prototype.
42 * config/arc/arc.h (TARGET_CPU_CPP_BUILTINS): Define __ARC_LL64__.
43 * config/arc/arc.md (*movdi_insn): Emit ldd/std instructions.
44 (*movdf_insn): Likewise.
45 * config/arc/arc.opt (mll64): New option.
46 * config/arc/predicates.md (even_register_operand): New predicate.
47 * doc/invoke.texi (ARC Options): Add mll64 documentation.
49 2016-01-25 Richard Biener <rguenther@suse.de>
52 * dwarf2out.c (is_naming_typedef_decl): Not when DECL_NAMELESS.
53 * tree-streamer-out.c (pack_ts_base_value_fields): Stream
55 * tree-streamer-in.c (unpack_ts_base_value_fields): Likewise.
57 2016-01-25 Richard Biener <rguenther@suse.de>
59 PR tree-optimization/69376
60 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add range_info_anti_range_p
62 (VN_INFO_ANTI_RANGE_P): New inline.
63 (VN_INFO_RANGE_TYPE): Likewise.
64 * tree-ssa-sccvn.c (set_ssa_val_to): Also record and copy
65 SSA_NAME_ANTI_RANGE_P.
66 (free_scc_vn): Restore SSA_NAME_ANTI_RANGE_P.
67 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
68 Properly query VN_INFO_RANGE_TYPE.
70 2016-01-25 Nick Clifton <nickc@redhat.com>
73 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Remove definition.
75 2016-01-23 Tom de Vries <tom@codesourcery.com>
77 PR tree-optimization/69426
78 * tree-parloops.c (eliminate_local_variables_stmt): Handle vdef of
81 2016-01-23 Jakub Jelinek <jakub@redhat.com>
83 * tree-ssanames.c (release_free_names_and_compact_live_names): Replace
84 "the the" with "the" in the comments.
85 * ipa-devirt.c (build_type_inheritance_graph,
86 update_type_inheritance_graph): Likewise.
87 * tree.c (build_function_type_list_1): Likewise.
88 * cfgloopmanip.c (scale_loop_profile): Likewise.
89 * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Likewise.
90 * gimple-ssa-split-paths.c
91 (find_block_to_duplicate_for_splitting_paths): Likewise.
92 * tree-sra.c (init_subtree_with_zero, clobber_subtree): Likewise.
93 * expr.c (convert_move): Likewise.
94 * var-tracking.c (vt_stack_adjustments): Likewise.
95 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Likewise.
96 * tree-vrp.c (test_for_singularity): Likewise.
98 * tree-vect-stmts.c (vectorizable_condition): Build a VEC_COND_EXPR
99 directly instead of building a temporary tree.
102 * genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
103 remove <algorithm> include.
105 2016-01-22 Jakub Jelinek <jakub@redhat.com>
108 * config/i386/i386.c: Include dojump.h.
109 (expand_small_movmem_or_setmem,
110 expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Spelling
112 (ix86_expand_set_or_movmem): Call do_pending_stack_adjust () early
113 if dynamic_check != -1.
115 2016-01-21 Jeff Law <law@redhat.com>
118 * tree-ssa-dom.c (back_propagate_equivalences): Factored out of
119 record_temporary_equivalences. Rewritten to avoid unnecessary calls
121 (cprop_into_successor_phis): Avoid unnecessary tests.
123 2016-01-22 Richard Henderson <rth@redhat.com>
126 * config/aarch64/aarch64.md (UNSPEC_NZCV): New.
127 (ccmp<mode>, fccmp<mode>, fccmpe<mode>): Use it.
129 2016-01-22 Michael Matz <matz@suse.de>
131 * system.h (string, algorithm): Include only conditionally.
132 (new): Include always under C++.
133 * bb-reorder.c (toplevel): Define INCLUDE_ALGORITHM.
134 * final.c (toplevel): Ditto.
135 * ipa-chkp.c (toplevel): Define INCLUDE_STRING.
136 * genconditions.c (write_header): Make gencondmd.c define
138 * mem-stats.h (mem_usage::print_dash_line): Don't use std::string.
140 * config/aarch64/aarch64.c (toplevel): Define INCLUDE_STRING.
141 * common/config/aarch64/aarch64-common.c (toplevel): Ditto.
143 2016-01-22 Christian Bruel <christian.bruel@st.com>
146 * expr.c (expand_expr_real_1): Reset DECL_MODE if VECTOR_TYPE_P changed.
148 2016-01-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
151 * config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
152 define_insn_and_split. Ensure operands[1] and operands[0] do not
153 get assigned the same register.
155 2016-01-22 Kugan Vivekanandarajah <kuganv@linaro.org>
157 * ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.
159 2016-01-22 Christian Bruel <christian.bruel@st.com>
161 * config/arm/arm-c.c (arm_pragma_target_parse):
162 Remove warn_builtin_macro_redefined overwrite.
164 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
166 * ipa-inline.c (can_inline_edge_p): Back out overzealous check on
167 flag_non_call_exceptions compatibility.
169 2016-01-22 Jakub Jelinek <jakub@redhat.com>
172 * dwarf2out.c (add_child_die_after): New function.
173 (dwarf_qual_info_t): New type.
174 (dwarf_qual_info): New variable.
175 (qualified_die_p): New function.
176 (modified_type_die): For -fdebug-types-section, ensure
177 canonical order of qualifiers. Put qualified DIEs adjacent
178 to the corresponding non-qualified type DIE and search there
179 for existing qualified DIEs.
181 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
183 * doc/extend.texi (scalar_storage_order type attribute): Document
184 restriction on type punning and aliasing, and remove future tense.
186 2016-01-21 Roman Zhuykov <zhroma@ispras.ru>
189 * modulo-sched.c (optimize_sc): Allow branch-scheduling to add a new
192 2016-01-21 Jeff Law <law@redhat.com>
195 * tree-ssa-dom.c (dom_opt_dom_walker::thread_across_edge): Avoid
196 useless call to record_temporary_equivalences.
197 * tree-ssa-threadbackward.c (find_jump_threads_backwards): Just
198 allocate 10 slots in the bb_path vector and let it grow as needed.
199 (fsm_find_control_statement_thread_paths): Similarly for the next_path
202 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
204 * configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
206 * configure: Regenerate.
208 2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
210 * config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
211 * config/rs6000/driver-rs6000.c (struct asm_names): Likewise.
213 2016-01-21 Bernd Schmidt <bschmidt@redhat.com>
216 * expr.c (expand_expr_real_2) [PLUS_EXPR, MINUS_EXPR]: Don't
217 drop EXPAND_INITIALIZER.
218 * rtl.h (contains_symbolic_reference_p): Declare.
219 * rtlanal.c (contains_symbolic_reference_p): New function.
220 * simplify-rtx.c (simplify_binary_operation_1): Don't turn
221 a subtraction into a NOT if symbolic constants are involved.
223 2016-01-21 Anton Blanchard <anton@samba.org>
224 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
227 * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): New
229 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New
232 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
234 * config/microblaze/microblaze.c
235 (get_branch_target): New.
236 (insert_wic_for_ilb_runout): New.
238 (microblaze_machine_dependent_reorg): New.
239 (TARGET_MACHINE_DEPENDENT_REORG): Define macro.
240 * config/microblaze/microblaze.md
241 (UNSPEC_IPREFETCH): Define.
242 (iprefetch): New pattern
243 * config/microblaze/microblaze.opt
244 (mxl-prefetch): New flag.
246 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
248 * config/microblaze/microblaze.h
249 (FIXED_REGISTERS): Update in macro.
250 (CALL_USED_REGISTERS): Update in macro.
252 2016-01-21 Yuri Rumyantsev <ysrumyan@gmail.com>
254 PR rtl-optimization/68920
255 * ifcvt.c (cond_move_process_if_block): Limit number of conditional
258 2016-01-21 Vladimir Makarov <vmakarov@redhat.com>
260 PR rtl-optimization/68990
261 * lra-coalesce.c (lra_coalesce): Invalidate value for the result
262 pseudo instead of inheritance ones.
264 2016-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
265 Nick Clifton <nickc@redhat.com>
269 * config/mips/mips.c (mips_compute_frame_info): Initialise
270 args_size and hard_frame_pointer_offset fields of the frame
271 structure before calling mips_global_pointer.
273 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
275 * configure.ac (gcc_cv_as_dwloc): Test support for debug frame section
277 * configure: Regenerate.
279 2016-01-21 Richard Biener <rguenther@suse.de>
281 * graphite-optimize-isl.c (get_schedule_map): Fix typo.
283 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
285 * config/s390/s390.c (s390_asm_declare_function_size): Add code
286 to actually emit the .size directive.
288 2016-01-21 Stefan Sørensen <stefan.sorensen@spectralink.com>
289 Jakub Jelinek <jakub@redhat.com>
293 * config/arm/arm-builtins.c (arm_expand_neon_builtin): Increase
294 args array size by one to avoid buffer overflow.
296 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
298 * config/s390/s390.md (pool_section_start): Use switch_to_section
299 to select proper read-only data section instead of hardcoding
301 (pool_section_end): Use switch_to_section to match the above.
303 2016-01-21 Richard Biener <rguenther@suse.de>
305 PR tree-optimization/69378
306 * tree-ssa-sccvn.c (dominated_by_p_w_unex): New function.
307 (set_ssa_val_to): Use it for dominance checks taking into
308 account not executable edges.
310 2016-01-21 Jakub Jelinek <jakub@redhat.com>
313 * tree-dfa.c (get_ref_base_and_extent): Use GET_MODE_BITSIZE (mode)
314 for bitsize instead of GET_MODE_PRECISION (mode).
316 2016-01-20 Martin Sebor <msebor@redhat.com>
319 * extend.texi (__sync Builtins): Clarify the semantics of
320 __sync_fetch_and_OP built-ins on pointers.
321 (__atomic Builtins): Same.
323 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
324 Sebastian Pop <s.pop@samsung.com>
326 * graphite-isl-ast-to-gimple.c (enum phi_node_kind): New.
327 (class translate_isl_ast_to_gimple): Use phi_node_kind instead of bool.
328 (is_valid_rename): Same.
329 (translate_isl_ast_to_gimple::get_rename): Same.
330 (translate_isl_ast_to_gimple::rename_all_uses): Same.
331 (translate_isl_ast_to_gimple::rename_uses): Same.
332 (get_new_name): Check for close_phi nodes.
333 (copy_loop_phi_args): Use phi_node_kind.
334 (translate_isl_ast_to_gimple::copy_loop_close_phi_args): Same.
335 (translate_isl_ast_to_gimple::copy_cond_phi_args): Same.
337 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
338 Sebastian Pop <s.pop@samsung.com>
340 Revert commit r229783.
341 * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
342 Remove use of parameter_rename_map.
344 (copy_internal_parameters): Remove.
345 (graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
346 * sese.c (new_sese_info): Do not initialize parameter_rename_map.
347 (free_sese_info): Do not free parameter_rename_map.
348 (set_rename): Do not use parameter_rename_map.
349 (rename_uses): Update call to set_rename.
350 (graphite_copy_stmts_from_block): Do not use parameter_rename_map.
351 * sese.h (parameter_rename_map_t): Remove.
352 (struct sese_info_t): Remove field parameter_rename_map.
354 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
355 Sebastian Pop <s.pop@samsung.com>
357 * graphite-isl-ast-to-gimple.c: Fix comment.
358 * graphite-scop-detection.c (defined_in_loop_p): New.
359 (canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
360 names defined in loop.
362 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
363 Sebastian Pop <s.pop@samsung.com>
365 * graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
366 Discard unstructured if-then-else regions.
368 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
369 Sebastian Pop <s.pop@samsung.com>
371 * graphite-sese-to-poly.c (set_scop_parameter_dim): Remove.
372 (cleanup_loop_iter_dom): Remove.
373 (build_loop_iteration_domains): Remove.
374 (build_scop_context): Remove.
375 (build_scop_iteration_domain): Remove.
376 (add_loop_constraints): New.
377 (build_iteration_domains): New.
378 (build_poly_scop): Call build_iteration_domains.
380 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
381 Sebastian Pop <s.pop@samsung.com>
383 * graphite-scop-detection.c
384 (scop_detection::harmful_loop_in_region): Free dom and loops.
385 (scop_detection::loop_body_is_valid_scop): Free bbs.
387 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
388 Sebastian Pop <s.pop@samsung.com>
390 * graphite-scop-detection.c (record_loop_in_sese): New.
391 (gather_bbs::before_dom_children): Call record_loop_in_sese.
392 (build_scops): Remove call to build_sese_loop_nests.
393 * sese.c (sese_record_loop): Remove.
394 (build_sese_loop_nests): Remove.
395 (new_sese_info): Remove region->loops.
396 (free_sese_info): Same.
397 * sese.h (sese_contains_loop): Same.
398 (build_sese_loop_nests): Remove.
399 (sese_contains_loop): Remove.
401 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
402 Sebastian Pop <s.pop@samsung.com>
404 * graphite-scop-detection.c (loop_is_valid_scop): Renamed loop_is_valid_in_scop.
405 (scop_detection::harmful_stmt_in_region): Renamed harmful_loop_in_region.
406 Call loop_is_valid_in_scop.
408 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
409 Sebastian Pop <s.pop@samsung.com>
411 * graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
414 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
415 Sebastian Pop <s.pop@samsung.com>
417 * graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
418 * graphite.h (struct poly_bb): Remove field is_reduction.
419 (PBB_IS_REDUCTION): Remove.
421 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
422 Sebastian Pop <s.pop@samsung.com>
424 * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
425 (add_pdr_constraints): Same.
426 (scop_get_reads): Same.
427 (scop_get_must_writes): Same.
428 (scop_get_may_writes): Same.
429 (scop_get_original_schedule): Same.
430 (extend_schedule): Same.
431 (apply_schedule_on_deps): Same.
432 (carries_deps): Same.
433 (compute_deps): Same.
434 (scop_get_dependences): Same.
435 * graphite-isl-ast-to-gimple.c
436 (translate_isl_ast_to_gimple::generate_isl_schedule): Same.
437 * graphite-optimize-isl.c (get_schedule_for_band): Same.
438 (get_schedule_for_band_list): Same.
439 (get_schedule_map): Same.
440 (apply_schedule_map_to_scop): Same.
441 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same.
442 (build_loop_iteration_domains): Same.
443 (add_condition_to_pbb): Same.
444 (add_param_constraints): Same.
445 (pdr_add_memory_accesses): Same.
446 (pdr_add_data_dimensions): Same.
448 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
450 * doc/invoke.texi (Instrumentation Options): Clarify -mmpx linking
453 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
455 * common.opt (feliminate-dwarf2-dups): Replace references to
456 "DWARF 2" with just "DWARF".
457 * config/ia64/ia64.opt (mdwarf2-asm): Likewise.
458 * doc/extend.texi: Likewise.
459 * doc/cpp.texi: Likewise.
460 * doc/invoke.texi: Likewise.
461 (Option Summary): Add -gdwarf to list of Debugging Options.
462 (Debugging Options): Document -gdwarf.
463 * doc/contrib.texi: Spell "DWARF" like that.
465 2016-01-21 Jakub Jelinek <jakub@redhat.com>
467 * omp-low.c (expand_omp_target): Avoid -Wmaybe-uninitialized
468 warning. Fix up formatting.
471 * gimplify.c (gimplify_asm_expr): Warn if it is too late to
472 attempt to mark memory input operand addressable and
473 call prepare_gimple_addressable in that case. Don't adjust
474 input_location for diagnostics, use error_at instead.
476 2016-01-20 Peter Bergner <bergner@vnet.ibm.com>
478 * config/rs6000/ppc-auxv.h: New file.
479 * config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
481 (cpu_supports): Likewise.
482 * config/rs6000/rs6000.c: include "ppc-auxv.h".
483 (cpu_is_info): New variable.
484 (cpu_supports_info): Likewise.
485 (tcb_verification_symbol): Likewise.
486 (cpu_builtin_p): Likewise.
487 (cpu_expand_builtin): New function.
488 (rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
489 (rs6000_init_builtins): Likewise.
490 (rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
491 * config/rs6000/rs6000.h (TLS_REGNUM): New define.
492 * configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
493 * configure: Regenerate.
494 * config.in: Likewise.
495 * doc/extend.texi (PowerPC Built-in Functions): Document
496 __builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.
498 2016-01-20 David Edelsohn <dje.gcc@gmail.com>
501 * config/rs6000/rs6000.c (rs6000_emit_swsqrt): Add vector sqrt
503 * config/rs6000/vector.md (sqrt<mode>2): Call rs6000_emit_swsqrt
506 2016-01-20 Richard Henderson <rth@redhat.com>
512 * tree.c (tm_define_builtin): New.
513 (find_tm_vector_type): New.
514 (build_tm_vector_builtins): New.
515 (build_common_builtin_nodes): Call it.
517 2016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
519 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
520 (arm_fp_ok): Likewise.
522 (arm_crypto): Likewise.
524 2016-01-20 Ilya Enkovich <enkovich.gnu@gmail.com>
525 Richard Biener <rguenther@suse.de>
527 PR tree-optimization/69328
528 * tree-vect-stmts.c (vect_is_simple_cond): Check compared
529 vectors have same number of elements.
530 (vectorizable_condition): Fix masked version recognition.
532 2016-01-20 Richard Biener <rguenther@suse.de>
534 PR tree-optimization/69345
535 * tree-ssa-sccvn.h (VN_INFO_RANGE_INFO): New inline function.
536 (VN_INFO_PTR_INFO): Likewise.
537 * tree-ssa-sccvn.c (set_ssa_val_to): Avoid clearing points-to
538 info when it is equal between non-dominating SSA names.
539 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
540 Make sure to look at original SSA infos.
542 2016-01-20 Jeff Law <law@redhat.com>
545 * config/m68k/predicates.md (pow2_m1_operand): New predicate
547 (reg_or_pow2_m1_operand): Call pow2_m1_operand.
548 (pc_or_label_operand): New predicate.
549 * config/m68k/m68k.md: Add new peephole2 patterns for GTU/LEU
550 tests for small integers that are 2^n - 1.
552 2016-01-20 Jonathan Wakely <jwakely@redhat.com>
554 * doc/invoke.texi (Options Summary): Add '.' after @xref.
556 2016-01-19 Jeff Law <law@redhat.com>
559 * tree-ssa-threadbackwards.c
560 (fsm_find_control_statement_thread_paths): Do not try to lookup
561 FSM paths for SSA_NAMEs appearing in abnormal PHIs.
563 2016-01-20 Kugan Vivekanandarajah <kuganv@linaro.org>
565 * doc/lto.texi: Remove text that says only Gold has linker plugin
568 2016-01-19 Eric Botcazou <ebotcazou@adacore.com>
570 * dwarf2out.c (need_endianity_attribute_p): New inline predicate.
571 (base_type_die): Add REVERSE parameter and attach DW_AT_endianity to
573 (modified_type_die): Add REVERSE parameter and pass it recursively,
574 as well as to base_type_die. Adjust presence check accordingly.
575 (base_type_for_mode): Adjust call to modified_type_die.
576 (add_type_attribute): Add REVERSE parameter and pass it to
578 (generic_parameter_die): Adjust call to add_type_attribute.
579 (add_scalar_info): Likewise.
580 (add_subscript_info): Likewise.
581 (gen_array_type_die): Likewise.
582 (gen_descr_array_type_die): Likewise.
583 (gen_entry_point_die): Likewise.
584 (gen_enumeration_type_die): Likewise.
585 (gen_formal_parameter_die): Likewise.
586 (gen_subprogram_die): Likewise.
587 (gen_variable_die ): Likewise.
588 (gen_const_die): Likewise.
589 (gen_field_die): Likewise.
590 (gen_pointer_type_die): Likewise.
591 (gen_reference_type_die): Likewise.
592 (gen_ptr_to_mbr_type_die): Likewise.
593 (gen_inheritance_die): Likewise.
594 (gen_subroutine_type_die): Likewise.
595 (gen_typedef_die): Likewise.
596 (force_type_die): Adjust call to modified_type_die.
598 2016-01-19 Sandra Loosemore <sandra@codesourcery.com>
600 * doc/standards.texi: Copy-editing for grammar, markup, and sentence
601 flow throughout the file. Fix broken link to Objective-C 2.0
603 * doc/invoke.texi: More copy-editing; fix numerous typos and spelling
606 2016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
608 * ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
610 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
613 * ipa-devirt.c (is_cxa_pure_virtual_p): New function.
614 (maybe_record_node): Record cxa_pure_virtual as the only possible
615 target if there are not ohter candidates.
616 (possible_polymorphic_call_target_p): Accept cxa_pure_virtual.
618 2016-01-19 Richard Biener <rguenther@suse.de>
620 * hsa-gen.c (get_memory_order_name): Use MEMMODEL_ constants.
621 (get_memory_order): Likewise.
623 2016-01-19 Kirill Yukhin <kirill.yukhin@intel.com>
625 * tree-vect-stmts.c (vectorizable_store): Check
628 2016-01-19 David Malcolm <dmalcolm@redhat.com>
631 * gcc.c (driver::decode_argv): Add call to
632 init_opts_obstack before init_options_struct.
633 * opts.c (init_opts_obstack): Remove idempotency.
634 (init_options_struct): Replace call to init_opts_obstack
635 with a gcc_assert to verify that it has already been called.
636 * toplev.c (toplev::main): Add call to init_opts_obstack before
637 calls to init_options_struct.
638 (toplev::finalize): Move cleanup of opts_obstack next to
639 cleanup of save_decoded_options, clearing the latter, and
640 save_decoded_options_count.
642 2016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
645 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): Set "conds"
646 attribute to unconditional. Remove %? from output template.
648 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
649 Jiong Wang <jiong.wang@arm.com>
651 * ccmp.c (expand_ccmp_expr_1): Cost the instruction sequences
652 generated from different expand order.
654 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
656 * /config/aarch64/aarch64.c (aarch64_if_then_else_costs):
657 Add support for CCMP costing.
659 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
661 * ccmp.c (ccmp_candidate_p): Remove integer-only restriction.
662 * config/aarch64/aarch64.md (fccmp<mode>): New pattern.
663 (fccmpe<mode>): Likewise.
664 (fcmp): Rename to fcmp and globalize pattern.
666 * config/aarch64/aarch64.c (aarch64_gen_ccmp_first): Add FP support.
667 (aarch64_gen_ccmp_next): Add FP support.
669 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
671 * target.def (gen_ccmp_first): Update documentation.
672 (gen_ccmp_next): Likewise.
673 * doc/tm.texi (gen_ccmp_first): Update documentation.
674 (gen_ccmp_next): Likewise.
675 * ccmp.c (expand_ccmp_expr): Extract cmp_code from return value of
676 expand_ccmp_expr_1. Improve comments.
677 * config/aarch64/aarch64.md (ccmp_and): Use if_then_else for ccmp.
678 (ccmp_ior<mode>): Remove pattern.
679 (cmp<mode>): Remove expand.
680 (cmp): Globalize pattern.
681 (cstorecc4): Use cc_register.
682 (mov<mode>cc): Remove ccmp_cc_register check.
683 * config/aarch64/aarch64.c (aarch64_get_condition_code_1):
684 Simplify after removal of CC_DNE/* modes.
685 (aarch64_ccmp_mode_to_code): Remove.
686 (aarch64_print_operand): Remove 'K' case. Merge 'm' and 'M' cases.
687 In 'k' case use integer as condition.
688 (aarch64_nzcv_codes): Remove inverted cases.
689 (aarch64_code_to_ccmode): Remove.
690 (aarch64_gen_ccmp_first): Use cmp pattern directly. Return the correct
691 comparison with CC register to be used in folowing CCMP/branch/CSEL.
692 (aarch64_gen_ccmp_next): Use previous comparison and mode in CCMP
693 pattern. Return the comparison with CC register. Invert conditions
695 * config/aarch64/aarch64-modes.def: Remove CC_DNE/* modes.
696 * config/aarch64/predicates.md (ccmp_cc_register): Remove.
698 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
700 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
701 instrumented_version.
703 2016-01-19 Richard Biener <rguenther@suse.de>
705 PR tree-optimization/69336
706 * tree-ssa-scopedtables.c (avail_expr_hash): Handle all
707 handled components with get_ref_base_and_extent.
708 (equal_mem_array_ref_p): Adjust.
710 2016-01-19 Jakub Jelinek <jakub@redhat.com>
713 * shrink-wrap.c: Include valtrack.h.
714 (move_insn_for_shrink_wrap): Add DEBUG argument. If
715 MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
716 in between insn and where it will be moved to. Call
717 dead_debug_insert_temp.
718 (prepare_shrink_wrap): Adjust caller. Call dead_debug_local_init
719 first and dead_debug_local_finish at the end.
720 For uses and defs bitmap, handle all regs in between REGNO and
721 END_REGNO, not just the first one.
723 2016-01-19 Richard Biener <rguenther@suse.de>
725 PR tree-optimization/69352
726 * tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1.
727 (equal_mem_array_ref_p): Constrain size and max size properly.
728 Compare the reverse flag.
730 2016-01-19 Bernd Schmidt <bschmidt@redhat.com>
732 * ira.c (ira): Update regstat data if we deleted insns.
734 2016-01-19 Jakub Jelinek <jakub@redhat.com>
736 PR rtl-optimization/68955
737 PR rtl-optimization/64557
738 * dse.c (record_store, check_mem_read_rtx): Don't call get_addr
739 here. Fix up formatting.
740 * alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.
742 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
745 * cgraphunit.c (cgraph_node::expand_thunk): When forcing gimple
746 assume that the node has body.
747 * cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
750 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
752 * lto-streamer-out.c (lto_output): Do not stream instrumentation
755 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
757 * symtab.c (symtab_node::asm_name): Do not call printable name directly.
758 (symtab_node::name): Report name as unnamed if DECL_NAME is not set.
760 2016-01-19 Martin Jambor <mjambor@suse.cz>
761 Martin Liska <mliska@suse.cz>
762 Michael Matz <matz@suse.de>
764 * Makefile.in (OBJS): Add new source files.
765 (GTFILES): Add hsa.c.
766 * common.opt (disable_hsa): New variable.
767 (-Whsa): New warning.
768 * config.in (ENABLE_HSA): New.
769 * configure.ac: Treat hsa differently from other accelerators.
770 (OFFLOAD_TARGETS): Define ENABLE_OFFLOADING according to
772 (ENABLE_HSA): Define ENABLE_HSA according to $enable_hsa.
773 * doc/install.texi (Configuration): Document --with-hsa-runtime,
774 --with-hsa-runtime-include, --with-hsa-runtime-lib and
776 * doc/invoke.texi (-Whsa): Document.
777 (hsa-gen-debug-stores): Likewise.
778 * lto-wrapper.c (compile_images_for_offload_targets): Do not attempt
779 to invoke offload compiler for hsa acclerator.
780 * opts.c (common_handle_option): Determine whether HSA offloading
782 * params.def (PARAM_HSA_GEN_DEBUG_STORES): New parameter.
783 * builtin-types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
784 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
785 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
786 * gimple-low.c (lower_stmt): Also handle GIMPLE_OMP_GRID_BODY.
787 * gimple-pretty-print.c (dump_gimple_omp_for): Also handle
788 GF_OMP_FOR_KIND_GRID_LOOP.
789 (dump_gimple_omp_block): Also handle GIMPLE_OMP_GRID_BODY.
790 (pp_gimple_stmt_1): Likewise.
791 * gimple-walk.c (walk_gimple_stmt): Likewise.
792 * gimple.c (gimple_build_omp_grid_body): New function.
793 (gimple_copy): Also handle GIMPLE_OMP_GRID_BODY.
794 * gimple.def (GIMPLE_OMP_GRID_BODY): New.
795 * gimple.h (enum gf_mask): Added GF_OMP_PARALLEL_GRID_PHONY,
796 GF_OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY and
797 GF_OMP_TEAMS_GRID_PHONY.
798 (gimple_statement_omp_single_layout): Updated comments.
799 (gimple_build_omp_grid_body): New function.
800 (gimple_has_substatements): Also handle GIMPLE_OMP_GRID_BODY.
801 (gimple_omp_for_grid_phony): New function.
802 (gimple_omp_for_set_grid_phony): Likewise.
803 (gimple_omp_parallel_grid_phony): Likewise.
804 (gimple_omp_parallel_set_grid_phony): Likewise.
805 (gimple_omp_teams_grid_phony): Likewise.
806 (gimple_omp_teams_set_grid_phony): Likewise.
807 (gimple_return_set_retbnd): Also handle GIMPLE_OMP_GRID_BODY.
808 * omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): New.
809 (BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
810 (BUILT_IN_GOMP_TARGET): Updated type.
811 * omp-low.c: Include symbol-summary.h, hsa.h and params.h.
812 (adjust_for_condition): New function.
813 (get_omp_for_step_from_incr): Likewise.
814 (extract_omp_for_data): Moved parts to adjust_for_condition and
815 get_omp_for_step_from_incr.
816 (build_outer_var_ref): Handle GIMPLE_OMP_GRID_BODY.
817 (fixup_child_record_type): Bail out if receiver_decl is NULL.
818 (scan_sharing_clauses): Handle OMP_CLAUSE__GRIDDIM_.
819 (scan_omp_parallel): Do not create child functions for phony
821 (check_omp_nesting_restrictions): Handle GIMPLE_OMP_GRID_BODY.
822 (scan_omp_1_op): Checking assert we are not remapping to
823 ERROR_MARK. Also also handle GIMPLE_OMP_GRID_BODY.
824 (parallel_needs_hsa_kernel_p): New function.
825 (expand_parallel_call): Register apprpriate parallel child
826 functions as HSA kernels.
827 (grid_launch_attributes_trees): New type.
828 (grid_attr_trees): New variable.
829 (grid_create_kernel_launch_attr_types): New function.
830 (grid_insert_store_range_dim): Likewise.
831 (grid_get_kernel_launch_attributes): Likewise.
832 (get_target_argument_identifier_1): Likewise.
833 (get_target_argument_identifier): Likewise.
834 (get_target_argument_value): Likewise.
835 (push_target_argument_according_to_value): Likewise.
836 (get_target_arguments): Likewise.
837 (expand_omp_target): Call get_target_arguments instead of looking
838 up for teams and thread limit.
839 (grid_expand_omp_for_loop): New function.
840 (grid_arg_decl_map): New type.
841 (grid_remap_kernel_arg_accesses): New function.
842 (grid_expand_target_kernel_body): New function.
843 (expand_omp): Call it.
844 (lower_omp_for): Do not emit phony constructs.
845 (lower_omp_taskreg): Do not emit phony constructs but create for them
846 a temporary variable receiver_decl.
847 (lower_omp_taskreg): Do not emit phony constructs.
848 (lower_omp_teams): Likewise.
849 (lower_omp_grid_body): New function.
850 (lower_omp_1): Call it.
851 (grid_reg_assignment_to_local_var_p): New function.
852 (grid_seq_only_contains_local_assignments): Likewise.
853 (grid_find_single_omp_among_assignments_1): Likewise.
854 (grid_find_single_omp_among_assignments): Likewise.
855 (grid_find_ungridifiable_statement): Likewise.
856 (grid_target_follows_gridifiable_pattern): Likewise.
857 (grid_remap_prebody_decls): Likewise.
858 (grid_copy_leading_local_assignments): Likewise.
859 (grid_process_kernel_body_copy): Likewise.
860 (grid_attempt_target_gridification): Likewise.
861 (grid_gridify_all_targets_stmt): Likewise.
862 (grid_gridify_all_targets): Likewise.
863 (execute_lower_omp): Call grid_gridify_all_targets.
864 (make_gimple_omp_edges): Handle GIMPLE_OMP_GRID_BODY.
865 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__GRIDDIM_.
866 (tree_omp_clause): Added union field dimension.
867 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE__GRIDDIM_.
868 * tree.c (omp_clause_num_ops): Added number of arguments of
869 OMP_CLAUSE__GRIDDIM_.
870 (omp_clause_code_name): Added name of OMP_CLAUSE__GRIDDIM_.
871 (walk_tree_1): Handle OMP_CLAUSE__GRIDDIM_.
872 * tree.h (OMP_CLAUSE_GRIDDIM_DIMENSION): New.
873 (OMP_CLAUSE_SET_GRIDDIM_DIMENSION): Likewise.
874 (OMP_CLAUSE_GRIDDIM_SIZE): Likewise.
875 (OMP_CLAUSE_GRIDDIM_GROUP): Likewise.
876 * passes.def: Schedule pass_ipa_hsa and pass_gen_hsail.
877 * tree-pass.h (make_pass_gen_hsail): Declare.
878 (make_pass_ipa_hsa): Likewise.
879 * ipa-hsa.c: New file.
880 * lto-section-in.c (lto_section_name): Add hsa section name.
881 * lto-streamer.h (lto_section_type): Add hsa section.
882 * timevar.def (TV_IPA_HSA): New.
883 * hsa-brig-format.h: New file.
884 * hsa-brig.c: New file.
885 * hsa-dump.c: Likewise.
886 * hsa-gen.c: Likewise.
889 * toplev.c (compile_file): Call hsa_output_brig.
890 * hsa-regalloc.c: New file.
892 2016-01-18 Jeff Law <law@redhat.com>
894 PR tree-optimization/69320
895 * tree-ssa-dom.c (record_edge_info): For comparisons against a boolean
896 ranged object, do nothing if the RHS constant is not [0..1].
897 (optimize_stmt): Comparing a boolean ranged object against a
898 constant outside [0..1] results in a compile-time constant.
900 * tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary
903 2016-01-18 Sandra Loosemore <sandra@codesourcery.com>
905 * doc/invoke.texi (Invoking GCC): Add new section to menu.
906 (Option Summary): Update to reflect new section and moved options.
907 (C++ Dialect Options): Move -fstats to new section.
908 (Debugging Options): Move all dump, statistics, and other GCC
909 developer options to new section. Rewrite section introduction
910 and re-order remaining options to put the more basic ones first.
911 (Optimization Options): Move -fira-verbose and -flto-report* to
913 (Developer Options): New section incorporating moved options.
914 * doc/cppopts.texi (-dM): Update cross-reference.
916 2016-01-18 Richard Henderson <rth@redhat.com>
919 * config/aarch64/aarch64.md (add<GPI>3): Move long immediate
920 operands to pseudo only if CSE is expected. Split long immediate
921 operands only after reload, and for the stack pointer.
922 (*add<GPI>3_pluslong): Remove.
923 (*addsi3_aarch64, *adddi3_aarch64): Merge into...
924 (*add<GPI>3_aarch64): ... here. Add r/rk/Upl alternative.
925 (*addsi3_aarch64_uxtw): Add r/rk/Upl alternative.
926 (*add<GPI>3 peepholes): New.
927 (*add<GPI>3 splitters): New.
928 * config/aarch64/constraints.md (Upl): New.
929 * config/aarch64/predicates.md (aarch64_pluslong_strict_immedate): New.
931 2016-01-18 Richard Biener <rguenther@suse.de>
933 PR tree-optimization/69297
934 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Count each scalar
936 (vect_bb_vectorization_profitable_p): Clear visited flag again.
938 2016-01-18 Yuri Rumyantsev <ysrumyan@gmail.com>
941 * fold-const.c (fold_binary_op_with_conditional_arg): Bail out for case
942 of mixind vector and scalar types.
943 (fold_relational_const): Add handling of vector
944 comparison with boolean result.
945 * tree-cfg.c (verify_gimple_comparison): Add argument CODE, allow
946 comparison of vector operands with boolean result for EQ/NE only.
947 (verify_gimple_assign_binary): Adjust call for verify_gimple_comparison.
948 (verify_gimple_cond): Likewise.
949 * tree-vrp.c (extract_code_and_val_from_cond_with_ops): Modify check on
952 2016-01-18 Joseph Myers <joseph@codesourcery.com>
954 * config/mips/mips.h (ISA_HAS_PAIRED_SINGLE): Require
957 2016-01-18 Richard Biener <rguenther@suse.de>
960 * gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
962 2016-01-18 Tom de Vries <tom@codesourcery.com>
964 * passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
966 2016-01-18 Tom de Vries <tom@codesourcery.com>
968 * omp-low.c (set_oacc_fn_attrib): Make extern.
969 * omp-low.h (set_oacc_fn_attrib): Declare.
970 * tree-parloops.c (struct reduction_info): Add reduc_addr field.
971 (create_call_for_reduction_1): Handle case that reduc_addr is non-NULL.
972 (create_parallel_loop, gen_parallel_loop, try_create_reduction_list):
973 Add and handle function parameter oacc_kernels_p.
974 (find_reduc_addr, get_omp_data_i_param): New function.
975 (ref_conflicts_with_region, oacc_entry_exit_ok_1)
976 (oacc_entry_exit_single_gang, oacc_entry_exit_ok): New function.
977 (parallelize_loops): Add and handle function parameter oacc_kernels_p.
978 Calculate dominance info. Skip loops that are not in a kernels region
979 in oacc_kernels_p mode. Skip inner loops of parallelized loops.
980 (pass_parallelize_loops::execute): Call parallelize_loops with
981 oacc_kernels_p argument.
982 (pass_parallelize_loops::clone, pass_parallelize_loops::set_pass_param):
984 (pass_parallelize_loops::bool oacc_kernels_p): New member var.
985 * passes.def: Add argument to pass_parallelize_loops instantation.
987 2016-01-18 Tom de Vries <tom@codesourcery.com>
989 * tree-parloops.c (pass_parallelize_loops::execute): Allow
990 pass_parallelize_loops to be run outside the loop pipeline.
992 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
994 * tree-scalar-evolution.c (follow_copies_to_constant): New.
995 (analyze_initial_condition, analyze_scalar_evolution_1): Call previous.
997 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
1000 * tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
1001 using get_ref_base_and_extent.
1002 (equal_mem_array_ref_p): New.
1003 (hashable_expr_equal_p): Add call to previous.
1005 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
1008 * tree-sra.c (disqualified_constants, constant_decl_p): New.
1009 (sra_initialize): Allocate disqualified_constants.
1010 (sra_deinitialize): Free disqualified_constants.
1011 (disqualify_candidate): Update disqualified_constants when appropriate.
1012 (create_access): Scan for constant-pool entries as we go along.
1013 (scalarizable_type_p): Add check against type_contains_placeholder_p.
1014 (maybe_add_sra_candidate): Allow constant-pool entries.
1015 (load_assign_lhs_subreplacements): Bind debug for constant pool vars.
1016 (initialize_constant_pool_replacements): New.
1017 (sra_modify_assign): Avoid mangling assignments created by previous,
1018 and don't generate writes into constant pool.
1019 (sra_modify_function_body): Call initialize_constant_pool_replacements.
1021 2016-01-18 Ilya Enkovich <enkovich.gnu@gmail.com>
1023 * config/i386/i386.c (scalar_to_vector_candidate_p): Support
1025 (scalar_chain::convert_op): Likewise.
1026 * config/i386/i386.md (*andndi3_doubleword): New.
1028 2016-01-18 Richard Biener <rguenther@suse.de>
1030 PR tree-optimization/69170
1031 * tree-vect-slp.c (vect_build_slp_tree): Verify we are not
1032 building a vector from scalar results of a pattern stmt.
1034 2016-01-18 Jakub Jelinek <jakub@redhat.com>
1036 * haifa-sched.c (autopref_multipass_init): Work around
1037 -Wmaybe-uninitialized warning.
1039 2016-01-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1041 * config/arm/arm.c (thumb1_reorg): Check that the comparison is
1042 against the constant 0.
1044 2016-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1046 PR tree-optimization/68799
1047 * gimple-ssa-strength-reduction.c (create_phi_basis): Directly
1048 look up phi candidates in the statement-candidate map.
1049 (phi_add_costs): Likewise.
1050 (record_phi_increments): Likewise.
1051 (phi_incr_cost): Likewise.
1052 (ncd_with_phi): Likewise.
1053 (all_phi_incrs_profitable): Likewise.
1055 2016-01-17 Jakub Jelinek <jakub@redhat.com>
1057 * omp-low.c (mark_loops_in_oacc_kernels_region): Work around
1058 -Wmaybe-uninitialized warning.
1060 2016-01-16 Sandra Loosemore <sandra@codesourcery.com>
1062 * doc/invoke.texi (Invoking GCC): Add new section to menu.
1063 (Option Summary): Update to reflect new section and moved options.
1064 (C++ Dialect Options): Move -fvtable-verify and related options.
1065 (Debugging Options): Move Sanitizer, Pointer Bounds Checker,
1066 and profiling-related options.
1067 (Optimization Options): Move profile generation options and
1068 -fstack-protector and related options.
1069 (Instrumentation Options): New section incorporating moved options.
1070 (Code Generation Options): Move -finstrument-functions and
1071 related options, -fstack-check, -fstack-limit*, and -fbounds-check.
1073 2016-01-16 Tom de Vries <tom@codesourcery.com>
1075 * passes.def: Move pass_expand_omp_ssa out of pass_parallelize_loops.
1077 2016-01-16 Tom de Vries <tom@codesourcery.com>
1079 * omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
1081 2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
1083 * hash-table.h (hash_table::empty): Turn into an inline wrapper
1084 that checks whether the table is already empty. Rename the
1085 original implementation to...
1086 (hash_table::empty_slot): ...this new private function.
1088 2016-01-15 David Malcolm <dmalcolm@redhat.com>
1091 * diagnostic-show-locus.c (layout::print_source_line): Move x
1092 offset of line until after call to
1093 get_line_width_without_trailing_whitespace.
1095 2016-01-15 Jeff Law <law@redhat.com>
1097 PR tree-optimization/69270
1098 * tree-ssanames.c (ssa_name_has_boolean_range): Moved here from
1099 tree-ssa-dom.c. Improve test for [0..1] ranve from VRP.
1100 * tree-ssa-dom.c (ssa_name_has_boolean_range): Remove.
1101 * tree-ssanames.h (ssa_name_has_boolean_range): Prototype.
1102 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
1103 ssa_name_has_boolean_range and constant_boolean_node.
1105 2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
1107 PR rtl-optimization/69030
1108 * lra-spills.c (remove_pseudos): Check nrefs and make the function
1110 (spill_pseudos): Delete debug insn for dead pseudo.
1111 (lra_spill): Initiate spill_hard_reg and slots memory separately.
1113 2016-01-15 Jiong Wang <jiong.wang@arm.com>
1115 * config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
1117 (TYPES_UNOPUS): Likewise.
1118 * config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
1119 builtin type, from UNOP to UNOPUS.
1120 (lbtruncuv4sf): Likewise.
1121 (lbtruncuv2df): Likewise.
1122 (lrounduv2sf): Likewise.
1123 (lrounduv4sf): Likewise.
1124 (lrounduv2df): Likewise.
1125 (lroundusf): Likewise.
1126 (lroundusf): Likewise.
1127 (lceiluv2sf): Likewise.
1128 (lceiluv4sf): Likewise.
1129 (lceiluv2df): Likewise.
1130 (lceilusf): Likewise.
1131 (lceiludf): Likewise.
1132 (lflooruv2sf): Likewise.
1133 (lflooruv4sf): Likewise.
1134 (lflooruv2df): Likewise.
1135 (lfloorusf): Likewise.
1136 (lfloorudf): Likewise.
1137 (lfrintnuv2sf): Likewise.
1138 (lfrintnuv4sf): Likewise.
1139 (lfrintnuv2df): Likewise.
1140 (lfrintnusf): Likewise.
1141 (lfrintnudf): Likewise.
1142 * config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
1144 (vcvtq_u32_f32): Likewise.
1145 (vcvtq_u64_f64): Likewise.
1146 (vcvta_u32_f32): Likewise.
1147 (vcvtaq_u32_f32): Likewise.
1148 (vcvtaq_u64_f64): Likewise.
1149 (vcvtm_u32_f32): Likewise.
1150 (vcvtmq_u32_f32): Likewise.
1151 (vcvtmq_u64_f64): Likewise.
1152 (vcvtn_u32_f32): Likwise.
1153 (vcvtnq_u32_f32): Likewise.
1154 (vcvtnq_u64_f64): Likewise.
1155 (vcvtp_u32_f32): Likewise.
1156 (vcvtpq_u32_f32): Likewise.
1157 (vcvtpq_u64_f64): Likewise.
1158 (vcvtmd_u64_f64): Likewise.
1159 (vcvtms_u32_f32): Likewise.
1160 (vcvtad_u64_f64): Likewise.
1161 (vcvtas_u32_f32): Likewise.
1162 (vcvtnd_u64_f64): Likewise.
1163 (vcvtns_u32_f32): Likewise.
1164 (vcvtpd_u64_f64): Likewise.
1165 (vcvtps_u32_f32): Likewise.
1167 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1169 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
1170 CSEL of zero_extended registers.
1172 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1174 * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
1175 Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
1177 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1179 * config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
1180 false when argument string is not found in the attributes table
1183 2016-01-15 David Edelsohn <dje.gcc@gmail.com>
1186 * config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
1187 (rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
1188 * config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
1191 2016-01-15 Richard Biener <rguenther@suse.de>
1193 PR tree-optimization/66856
1194 * tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
1195 * tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
1196 (vect_create_new_slp_node): Increment stmt reference count.
1197 (vect_get_and_check_slp_defs): Make sure stmts are nor already in
1198 an SLP tree before swapping operands.
1199 (vect_build_slp_tree): Likewise.
1200 (destroy_bb_vec_info): Free stmt info after SLP instances.
1201 * tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
1202 * tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
1203 (STMT_VINFO_NUM_SLP_USES): New macro.
1205 2016-01-15 Richard Biener <rguenther@suse.de>
1208 * dwarf2out.c (add_linkage_name_raw): New function split out from ...
1209 (add_linkage_name): ... here.
1210 (gen_typedef_die): Use add_linkage_name_raw instead of
1211 add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
1214 2016-01-15 Cesar Philippidis <cesar@codesourcery.com>
1216 * gimplify.c (oacc_default_clause): Decode reference and pointer
1217 types for both kernels and parallel regions.
1219 2016-01-15 Richard Sandiford <richard.sandiford@arm.com>
1222 * calls.c (emit_call_1): Force n_popped to zero for sibcalls.
1224 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
1226 * config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
1227 (convert_scalars_to_vector): Likewise.
1229 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
1231 * doc/extend.texi (Type Traits): Fix grammar.
1233 2016-01-15 Martin Jambor <mjambor@suse.cz>
1235 * tree-inline.c (remap_decl): Use existing dclarations if
1236 remapping a type and prevent_decl_creation_for_types.
1237 (replace_locals_stmt): Do an initial remapping of non-VLA typed
1238 decls first. Do real remapping with
1239 prevent_decl_creation_for_types set.
1240 * tree-inline.h (copy_body_data): New field
1241 prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
1244 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
1246 * config/s390/s390.opt (mmvcle): More verbose help text.
1248 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
1250 * config/s390/s390.opt: Add period to -mzvector option text.
1252 2016-01-15 Richard Biener <rguenther@suse.de>
1254 PR tree-optimization/68961
1255 * tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
1256 of invariants in stores again.
1258 2016-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
1260 * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
1262 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
1264 * config/i386/i386.c (ix86_expand_branch): Don't split
1265 DI mode xor instruction to SI mode.
1267 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
1270 * ipa-icf.c (sem_function::merge): Virtual functions may become
1271 reachable even if they address is not taken and there are no
1274 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
1276 * lto-streamer-out.c (subtract_estimated_size): New function.
1277 (get_symbol_initial_value): Use it.
1279 2016-01-15 Christian Bruel <christian.bruel@st.com>
1282 * config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
1283 (arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
1284 (arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
1285 use add_builtin_function_ext_scope instead of add_builtin_function.
1286 (neon_set_p, neon_crypto_set_p): Remove.
1287 (arm_init_builtins): Always call arm_init_neon_builtins and
1288 arm_init_crypto_builtins.
1289 (arm_expand_builtin): Check that builtins are allowed for the arch.
1290 * config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
1291 * config/arm/arm.c (arm_valid_target_attribute_tree): Remove
1292 arm_init_neon_builtins call.
1294 2016-01-15 Richard Biener <rguenther@suse.de>
1296 PR tree-optimization/69117
1297 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
1298 * tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
1299 of the leader conservatively.
1300 (free_scc_vn): Restore original SSA name infos.
1302 2016-01-14 Jeff Law <law@redhat.com>
1304 PR tree-optimization/69270
1305 * tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
1306 single bit of precision, verify it's also unsigned.
1307 (record_edge_info): Use constant_boolean_node rather than fold_convert
1308 to convert boolean_true/boolean_false to the right type.
1310 2016-01-14 Richard Henderson <rth@redhat.com>
1313 * loop-doloop.c (record_reg_sets): New.
1314 (doloop_optimize): Reject the transform if the sequence
1315 clobbers registers live at the end of the loop block.
1316 (doloop_optimize_loops): Enable df_live if needed.
1318 2016-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
1320 * config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
1321 * gcc/config/rs6000/rs6000.c: Likewise.
1322 * gcc/config/rs6000/rs6000.h: Likewise.
1323 * gcc/config/rs6000/rs6000.md: Likewise.
1324 * gcc/doc/extend.texi: Likewsie.
1326 2016-01-14 Jeff Law <law@redhat.com>
1328 * tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
1331 2016-01-14 Richard Henderson <rth@redhat.com>
1335 * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
1336 * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
1337 instead of builtin_decl_declared_p to test for declaration.
1339 2016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
1341 * doc/loop.texi (Loop Analysis and Representation): Document
1342 loop_depth function.
1344 2016-01-14 Tom de Vries <tom@codesourcery.com>
1346 PR tree-optimization/68773
1347 * omp-low.c (expand_omp_target): Don't set force_output.
1348 * varpool.c (varpool_node::get_create): Same.
1349 * lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
1350 offload_funcs with force_output.
1352 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1355 * lra-eliminations.c (move_plus_up): Don't change anything if either
1356 the outer or inner subreg mode is not MODE_INT.
1357 * dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
1358 integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
1360 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
1362 * doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
1363 reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
1364 reduc_uplus_@var{m}): Remove.
1365 * expr.c (expand_expr_real_2): Remove expansion path for
1366 reduc_[us](min|max|plus) optabs.
1367 * optabs-tree.c (scalar_reduc_to_vector): Remove.
1368 * optabs-tree.h (scalar_reduc_to_vector): Remove.
1369 * optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
1370 reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
1371 * tree-vect-loop.c (vectorizable_reduction): Remove test for
1372 reduc_[us](min|max|plus) optabs.
1374 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
1376 * config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
1377 (reduc_plus_scal_v2sf): New.
1378 (reduc_smax_v2sf): Rename to...
1379 (reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
1380 (reduc_smin_v2sf): Rename to...
1381 (reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
1383 2016-01-14 Jan Hubicka <hubicka@ucw.cz>
1385 * alias.c (compare_base_symbol_refs): New function.
1386 (rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
1389 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1392 PR tree-optimization/69155
1393 * tree-complex.c: Include cfganal.h.
1394 (phis_to_revisit): New variable.
1395 (extract_component): Add phiarg_p argument. Assert that returned
1396 SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
1397 (update_phi_components): Partly rewrite to use loop over real/imag
1398 components instead of code duplication. If extract_component returns
1399 SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
1400 create_tmp_reg into the PHI node instead, and mention the phi triplet
1402 (tree_lower_complex): Walk bbs in rpo order. Adjust phis recorded
1403 in phis_to_revisit at the end.
1405 2016-01-14 Richard Biener <rguenther@suse.de>
1407 PR tree-optimization/68060
1408 * tree-vect-loop.c (vect_is_simple_reduction): Check the
1409 outer loop reduction is only used in the inner loop before
1410 detecting a double reduction.
1412 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1415 * combine.c (expand_field_assignment): Punt if compute_mode is
1416 unsupported scalar mode.
1418 2016-01-14 Richard Biener <rguenther@suse.de>
1420 PR tree-optimization/66856
1421 * tree-vect-slp.c (vect_build_slp_tree): Refactor to build
1422 SLP node only if it built successfully.
1423 (vect_analyze_slp_instance): Adjust.
1425 2016-01-14 Jeff Law <law@redhat.com>
1427 PR tree-optimization/69270
1428 * tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
1429 (record_edge_info): Use it. Convert boolean_{true,false}_node
1432 2016-01-13 Jan Hubicka <hubicka@ucw.cz>
1435 * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
1436 use block_ultimate_origin
1437 (noncall-stmt_may_be_vtbl_ptr_store): Likewise.
1439 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
1441 * doc/invoke.texi (Submodel Options): Rename section to
1442 "Machine-Dependent Options" to better reflect its content.
1443 Rewrite introductory text to remove archaic CPU names.
1446 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
1448 * doc/invoke.texi (Code Gen Options): Move section up in file,
1449 before target-specific options. Update menu and option summary
1450 to reflect the new section ordering.
1452 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
1454 * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
1455 (C++ Dialect Options): Add cross-reference to -std option.
1456 * doc/standards.texi (C++ Language): Document C++14 support.
1458 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1460 * config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
1461 for pack/unpack functions for __ibm128.
1462 (PACK_IF): Likewise.
1463 (UNPACK_IF): Likewise.
1465 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
1466 support for __ibm128 pack/unpack functions.
1467 (rs6000_invalid_builtin): Likewise.
1468 (rs6000_init_builtins): Likewise.
1469 (rs6000_opt_masks): Likewise.
1471 * config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
1472 (RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
1474 (RS6000_BTM_COMMON): Likewise.
1476 * config/rs6000/rs6000.md (f128_vsx): New mode attribute.
1477 (unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
1478 disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
1479 128-bit floating point. Add support for the double values to be
1480 in Altivec registers for TF/IF packing and unpacking, but restrict
1481 TD packing sub-fields to be FPR registers. Don't allow overlapped
1482 register support for packing. Allow pack inputs to be memory
1483 locations. Don't build generator functions for unpack<mode>_dm
1484 and unpack<mode>_nodm.
1485 (unpack<mode>_dm): Likewise.
1486 (unpack<mode>_nodm): Likewise.
1487 (pack<mode>): Likewise.
1489 * config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
1490 built-in functions to pack/unpack explicit __ibm128 values.
1491 (__builtin_unpack_ibm128): Likewise.
1493 * doc/extend.texi (PowerPC Built-in Functions): Document
1494 __builtin_pack_ibm128 and __builtin_unpack_ibm128.
1496 2016-01-13 Bernd Schmidt <bschmidt@redhat.com>
1499 * c-common.c (check_function_nonnull): Remove unnecessary declaration.
1500 Add new arg loc and pass it down as context.
1501 (check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
1502 to the location to use for the warning.
1503 (check_function_arguments): New arg loc. All callers changed. Pass
1504 it to check_function_nonnull.
1505 * c-common.h (check_function_arguments): Adjust declaration.
1507 2016-01-13 Jakub Jelinek <jakub@redhat.com>
1509 PR tree-optimization/69156
1510 * gimple.c (validate_type): Removed.
1511 (gimple_builtin_call_types_compatible_p): Use
1512 useless_type_conversion_p instead of validate_type.
1513 * value-prof.c (gimple_stringop_fixed_value): Fold
1514 icall_size to correct type.
1516 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
1518 * doc/extend.texi (__atomic Builtins): Clarify compare_exchange
1521 2016-01-13 Richard Henderson <rth@redhat.com>
1524 * target.def (builtin_tm_load, builtin_tm_store): Remove.
1525 * config/i386/i386.c (ix86_builtin_tm_load): Remove.
1526 (ix86_builtin_tm_store): Remove.
1527 (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
1528 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
1529 * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
1530 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
1531 * doc/tm.texi: Rebuild.
1533 * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
1534 (BUILT_IN_TM_MEMCPY_RTWN): New.
1535 * trans-mem.c (tm_log_emit_stmt): Rearrange code for better
1536 fallback from vector to integer helpers.
1537 (build_tm_load): Handle vector types directly, instead of
1539 (build_tm_store): Likewise.
1540 (expand_assign_tm): Prepare for register types not handled by
1541 the above. Copy them to memory and use memcpy.
1542 * tree.c (tm_define_builtin): New.
1543 (find_tm_vector_type): New.
1544 (build_tm_vector_builtins): New.
1545 (build_common_builtin_nodes): Call it.
1547 2016-01-13 Uros Bizjak <ubizjak@gmail.com>
1549 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
1550 TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
1552 2016-01-13 Tom de Vries <tom@codesourcery.com>
1554 PR tree-optimization/69169
1555 * tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
1556 handled_struct_type param.
1557 (create_variable_info_for, intra_create_variable_infos): Call
1558 create_variable_info_for_1 with extra arg.
1560 2016-01-13 Yvan Roux <yvan.roux@linaro.org>
1562 * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
1563 and "armv8.1-a+crc" entries.
1565 2016-01-13 Alexander Fomin <alexander.fomin@intel.com>
1568 * config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
1569 Change first operand predicate from register_or_constm1_operand
1570 to register_operand.
1571 (define_expand "avx512pf_gatherpf<mode>df"): Likewise.
1572 (define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
1573 (define_expand "avx512pf_scatterpf<mode>df"): Likewise.
1574 (define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
1575 (define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
1576 (define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
1577 (define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
1578 * config/i386/i386.c (ix86_expand_builtin): Remove first operand
1579 comparison with constm1_rtx from vec_prefetch_gen part.
1581 2016-01-13 Richard Biener <rguenther@suse.de>
1583 PR tree-optimization/69013
1584 * tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
1585 Exchange assert for a test.
1587 2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1590 * config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
1592 2016-01-13 Richard Biener <rguenther@suse.de>
1594 PR tree-optimization/69242
1595 * tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
1596 assert with a check.
1598 2016-01-13 Richard Biener <rguenther@suse.de>
1600 PR tree-optimization/69186
1601 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
1602 Properly guard vect_update_misalignment_for_peel call.
1604 2016-01-12 Jeff Law <law@redhat.com>
1606 PR tree-optimization/pr67755
1607 * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
1608 "need_profile_correction".
1609 (thread_block_1): Initialize new field to false by default. If we
1610 have multiple thread paths through a common joiner to different
1611 final targets, then set new field to true.
1612 (compute_path_counts): Only do count adjustment when it's really
1615 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
1617 * doc/invoke.texi (Spec Files): Move section down in file, past
1618 all command-line option descriptions.
1620 2016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1623 * doc/gty.texi: Remove documentation of mark_hook.
1624 * gengtype.c (struct write_types_data): Remove code to support
1625 mark_hook attribute.
1626 (walk_type): Likewise.
1627 (write_func_for_structure): Likewise.
1629 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
1631 * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
1632 Directory Options, and -specs= to Overall Options.
1633 (Overall Options): Adjust similarly. Reorder to group related
1634 options together. Make -specs= cross-reference the spec file details.
1635 (Directory Options): Adjust similarly.
1637 2016-01-12 Jeff Law <law@redhat.com>
1639 * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
1641 2016-01-12 Olivier Hainque <hainque@adacore.com>
1643 * gcc.c (spec_undefvar_allowed): New global.
1644 (process_command): Set to true when running for --version or --help,
1646 (getenv_spec_function): When the variable is not defined, use the
1647 variable name as the variable value if we're allowed not to issue
1650 2016-01-12 Bin Cheng <bin.cheng@arm.com>
1652 PR tree-optimization/68911
1653 * tree-vrp.c (adjust_range_with_scev): Check overflow in range
1654 information computed for expression "init + nit * step".
1656 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
1658 * doc/invoke.texi (Invoking GCC): Copy-edit. Incorporate information
1659 about name of GCC executable. Remove deleted node from menu.
1660 (Directory Options) <-B>: Remove cross-reference to deleted node.
1661 (Target Options): Delete section.
1663 2016-01-12 Christian Bruel <christian.bruel@st.com>
1666 * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
1667 for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
1669 2016-01-12 Jakub Jelinek <jakub@redhat.com>
1672 * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
1673 aligned_mem is properly set for AVX512-VL floating point masked
1677 * ifcvt.c (cond_exec_process_if_block): When removing the last
1678 insn from then_bb, remove also any possible barriers that follow it.
1680 2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
1684 * config/i386/iamcu.h (SIZE_TYPE): New macro.
1685 (PTRDIFF_TYPE): Likewise.
1686 (WCHAR_TYPE): Likewise.
1687 (WCHAR_TYPE_SIZE): Likewise.
1688 (STDINT_LONG32): Likewise.
1690 2016-01-12 Richard Biener <rguenther@suse.de>
1692 PR tree-optimization/69053
1693 * tree-vect-loop.c (get_initial_def_for_reduction): Properly
1694 convert initial value for cond reductions.
1696 2016-01-12 Richard Biener <rguenther@suse.de>
1698 PR tree-optimization/69007
1699 * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
1700 widen_sum after dot_prod and sad.
1702 2016-01-12 Richard Biener <rguenther@suse.de>
1704 PR tree-optimization/69168
1705 * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
1706 pattern stmt SLP type.
1707 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
1708 end up unused so cope with that case.
1710 2016-01-12 Richard Biener <rguenther@suse.de>
1712 PR tree-optimization/69157
1713 * tree-vect-stmts.c (vectorizable_mask_load_store): Check
1714 stmts def type only during analyze phase.
1715 (vectorizable_call): Likewise.
1716 (vectorizable_simd_clone_call): Likewise.
1717 (vectorizable_conversion): Likewise.
1718 (vectorizable_assignment): Likewise.
1719 (vectorizable_shift): Likewise.
1720 (vectorizable_operation): Likewise.
1721 (vectorizable_store): Likewise.
1722 (vectorizable_load): Likewise.
1724 2016-01-12 Richard Biener <rguenther@suse.de>
1726 PR tree-optimization/69174
1727 * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
1729 (vectorizable_load): Properly compute the number of loads needed
1730 for permuted strided SLP loads and do not spuriously assign
1731 to SLP_TREE_VEC_STMTS.
1733 2016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
1735 * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
1736 (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
1737 (MD_EXEC_PREFIX): Remove.
1738 (MD_STARTFILE_PREFIX) Removee.
1739 (FILE_NAME_ABSOLUTE_P): Remove.
1740 (CPP_SPEC): Do not read macros from sys/version.h.
1741 (LINK_COMMAND_SPEC): Remove.
1742 (LOCAL_INCLUDE_DIR): Remove.
1743 (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
1744 (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
1745 (POST_LINK_SPEC): Define to invoke stubify after linker
1746 (LIBSTDCXX): Remove define
1747 (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
1748 (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
1749 (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
1750 (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
1751 (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
1752 (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
1753 (i386_djgpp_asm_named_section): Add propotype of new procedure
1755 * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
1756 (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
1757 (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX in config/i386/djgpp.h).
1758 (STANDARD_STARTFILE_PREFIX_2): Define identical to STANDARD_STARTFILE_PREFIX_1.
1759 (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
1760 (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal installation errors.
1761 (MAX_OFILE_ALIGNMENT): Define to 128.
1762 (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
1764 * config/i386/djgpp.c: New file. Add implementation of i386_djgpp_asm_named_section.
1766 * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
1768 * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
1769 Add rule for building djgpp.o.
1771 2016-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1773 * config/rs6000/rs6000.c (v2df_reduction_p): New function.
1774 (rtx_is_swappable_p): Reductions are swappable.
1775 (insn_is_swappable_p): V2DF reductions are swappable.
1777 2016-01-11 John David Anglin <danglin@gcc.gnu.org>
1779 * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
1780 reloads for other unsupported memory operands.
1782 2016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
1783 Jim Wilson <jim.wilson@linaro.org>
1786 * config/arm/arm-builtins.c (arm_expand_neon_args): Call
1787 copy_to_mode_reg instead of force_reg.
1789 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
1792 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
1793 TARGET_80387 is true.
1795 2016-01-11 Jakub Jelinek <jakub@redhat.com>
1798 * lra-eliminations.c (move_plus_up): Only move plus up
1799 if subreg of the constant can be simplified into constant
1800 and use the simplified subreg of the constant instead of
1801 the original constant.
1803 * fold-const.c (fold_convertible_p): Don't return true
1804 for conversion of VECTOR_TYPE to same sized integral type.
1805 (fold_convert_loc): Fix up formatting. Fold conversion of
1806 VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
1807 instead of NOP_EXPR.
1809 PR tree-optimization/69214
1810 * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
1811 innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
1814 PR tree-optimization/69207
1815 * tree-vect-slp.c (vect_get_constant_vectors): For
1816 VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
1817 fold_convertible_p to vector_type's element type, and always
1818 use VCE for non-VECTOR_BOOLEAN_TYPE_P.
1820 2016-01-11 Richard Biener <rguenther@suse.de>
1822 PR tree-optimization/69173
1823 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
1824 fixup the cycle if all stmts are in a pattern.
1826 2016-01-11 Uros Bizjak <ubizjak@gmail.com>
1829 * alias.c (base_alias_check): Move check for addresses with
1830 alignment ANDs before the call for compare_base_decls.
1831 (memrefs_conflict_p): Return -1 for different decls
1832 that went through alignment adjustments.
1834 2016-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1836 PR rtl-optimization/68796
1837 * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
1838 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
1839 and QImode comparisons against zero with CC_NZmode.
1840 * config/aarch64/iterators.md (short_mask): New mode_attr.
1842 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
1844 * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
1845 (<avx512>_store<mode>_mask): Likewise.
1847 2016-01-11 Bernd Schmidt <bschmidt@redhat.com>
1848 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1850 PR rtl-optimization/68841
1851 * ifcvt.c (struct noce_if_info): Add orig_x field.
1852 (bbs_ok_for_cmove_arith): Add to_rename parameter.
1853 Don't record conflicts on to_rename if it's present.
1854 Allow memory destinations in sets.
1855 (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
1856 blocks, passing orig_x to the checks.
1857 (noce_process_if_block): Set if_info->orig_x appropriately.
1859 2016-01-11 Tom de Vries <tom@codesourcery.com>
1861 PR tree-optimization/69069
1862 * tree-parloops.c (create_parallel_loop): Add missing phi args.
1864 2016-01-11 Yuri Rumyantsev <ysrumyan@gmail.com>
1866 PR rtl-optimization/68920
1867 * config/i386/i386.c (ix86_option_override_internal): Restrict number
1868 of conditional moves for RTL if-conversion to 1 for
1869 TARGET_ONE_IF_CONV_INSN.
1870 * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
1871 * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
1872 * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
1873 parameter to restirct number of conditional moves for
1875 * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
1876 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
1879 2016-01-11 Alexandre Oliva <aoliva@redhat.com>
1882 * var-tracking.c (drop_overlapping_mem_locs): Operate on all
1883 onepart vars. Fix typo in comment. Fix reversed condition in
1885 (dataflow_set_remove_mem_locs): Operate on all onepart vars.
1888 * var-tracking.c (dump_onepart_variable_differences): New.
1889 (dataflow_set_different): If a detailed dump is requested,
1890 delay early returns and dump differences between onepart
1891 variables present before and after, and added variables.
1893 2016-01-11 Ilya Enkovich <enkovich.gnu@gmail.com>
1896 * expr.c (expand_expr_real_1): For boolean vector constants
1897 with a scalar mode use const_scalar_mask_from_tree.
1898 (const_scalar_mask_from_tree): New.
1899 * optabs.c (expand_vec_cond_mask_expr): Use mask mode
1900 assigned to a mask type to handle constants.
1902 2016-01-11 Martin Jambor <mjambor@suse.cz>
1905 * ipa-cp.c (estimate_local_effects): Do not clone for removal of
1906 useless parameters if we cannot change function signature.
1908 2016-01-11 Martin Jambor <mjambor@suse.cz>
1911 * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
1914 2016-01-11 Tom de Vries <tom@codesourcery.com>
1916 PR tree-optimization/69109
1917 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
1920 2016-01-11 Tom de Vries <tom@codesourcery.com>
1922 PR tree-optimization/69108
1923 * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
1924 res is not used in a phi.
1926 2016-01-11 Yury Gribov <y.gribov@samsung.com>
1929 * common.opt (frandom-seed): Fix parameter name.
1930 * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
1932 2016-01-11 Tom de Vries <tom@codesourcery.com>
1934 PR tree-optimization/69058
1935 * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
1938 2016-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1940 * config/arc/arc.opt (mdiv-rem): Add period to the end.
1941 (mcode-density): Likewise.
1943 2016-01-10 Tom de Vries <tom@codesourcery.com>
1945 PR tree-optimization/69062
1946 * tree-parloops.c (loop_has_phi_with_address_arg): New function.
1947 (parallelize_loops): Don't paralelize loop that has phi with address
1950 2016-01-10 Tom de Vries <tom@codesourcery.com>
1952 PR tree-optimization/69039
1953 * tree-parloops.c (try_create_reduction_list): Only allow single exit
1956 2016-01-09 John David Anglin <danglin@gcc.gnu.org>
1959 * match.pd: Require target has function_c99_misc before doing
1960 truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
1962 2016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
1964 * configure.ac (isl_options_set_schedule_serialize_sccs): Also
1966 * configure: Regenerate.
1968 2016-01-09 Jakub Jelinek <jakub@redhat.com>
1971 PR tree-optimization/69097
1972 * fold-const.h (expr_not_equal_to): New prototype.
1973 * fold-const.c: Include stringpool.h and tree-ssanames.h.
1974 (expr_not_equal_to): New function.
1975 * match.pd (X % -Y is the same as X % Y): Don't optimize
1976 unless X is known not to be equal to minimum or Y is known
1977 not to be equal to -1.
1978 * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
1979 fold TRUNC_MOD_EXPR if the second argument is not a power of two.
1980 (simplify_stmt_using_ranges): Adjust caller.
1981 (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
1982 substitute_and_fold.
1984 2016-01-09 Jan Hubicka <hubicka@ucw.cz>
1986 * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
1989 2016-01-08 Jakub Jelinek <jakub@redhat.com>
1991 PR tree-optimization/69167
1992 * gimple-fold.c (replace_stmt_with_simplification): Also punt if
1993 new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
1995 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
1997 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
1998 Richard Biener <rguenther@suse.de>
2000 PR tree-optimization/68707
2001 * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
2002 instances that can be handled via vect_load_lanes.
2004 2016-01-08 Uros Bizjak <ubizjak@gmail.com>
2006 * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
2007 if we can't determine address equivalence.
2008 * alias.c (compare_base_decl): Update for changed return value of
2009 symtab_node::equal_address_to.
2011 2016-01-08 Jason Merrill <jason@redhat.com>
2015 * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
2016 * expr.c (store_field): Not here.
2017 * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
2018 call with TREE_ADDRESSABLE type.
2019 * tree-cfg.c (verify_gimple_call): Adjust.
2021 2016-01-08 Olivier Hainque <hainque@adacore.com>
2023 * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
2026 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
2028 * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
2029 (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
2030 (reduc_smin_v2sf): Rename to...
2031 (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
2032 (reduc_splus_v2sf): Rename to...
2033 (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
2035 2016-01-08 Jakub Jelinek <jakub@redhat.com>
2037 PR tree-optimization/69162
2038 * gimplify.c (gimplify_va_arg_expr): Encode original type of
2039 valist argument in another argument.
2040 (gimplify_modify_expr): Adjust for the above change. Cleanup.
2041 * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
2042 to determine the va_list type, build a MEM_REF instead of
2043 build_fold_indirect_ref.
2045 PR tree-optimization/69172
2046 * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
2049 2016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
2051 PR tree-optimization/67781
2052 * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
2053 and cmpnop in two steps: first the ones not accessed in original
2054 gimple expression in a endian independent way and then the ones not
2055 accessed in the final result in an endian-specific way.
2057 2016-01-08 Jakub Jelinek <jakub@redhat.com>
2059 PR tree-optimization/69083
2060 * tree-vect-slp.c (vect_get_constant_vectors): For
2061 VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
2062 element type. If op is fold_convertible_p to vector_type's element
2063 type, use NOP_EXPR instead of VCE.
2065 2016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
2067 PR rtl-optimization/67778
2068 PR rtl-optimization/68634
2069 PR rtl-optimization/68909
2070 * shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
2071 block from the stack until done with it. Remove a superfluous
2072 bitmap set. Remove a superfluous bitmap test.
2074 2016-01-07 Martin Sebor <msebor@redhat.com>
2077 * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
2078 constraint on the type of arguments.
2080 2016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
2082 * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
2083 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
2084 unaligned_access on the gcc_options set.
2085 * config/arm/arm.c (arm_option_override_internal): Use
2086 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
2088 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
2091 * config/i386/i386.c (ix86_frame_pointer_required): Enable
2092 frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
2094 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
2097 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
2100 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
2101 depending on frame_pointer_needed before remaining integer and SSE
2102 registers are saved.
2104 2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
2107 * doc/extend.texi (Nvidia PDX Function Attributes): New section.
2109 2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
2112 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
2113 Use the "xBm" constraint.
2114 (float<sseintvecmodelower><mode>2<mask_name><round_name):
2116 (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
2117 (sse_cvtsi2ssq<round_name>): Likewise.
2118 (sse_cvtss2si<round_name>): Likewise.
2119 (sse_cvtss2siq<round_name>): Likewise.
2120 (sse2_cvtsi2sdq<round_name>): Likewise.
2121 (sse2_cvtsd2si<round_name>): Likewise.
2122 (sse2_cvtsd2siq<round_name>): Likewise.
2123 * config/i386/subst.md (round_nimm_scalar_predicate): New
2126 2015-12-15 Bernd Schmidt <bschmidt@redhat.com>
2129 * varasm.c (make_decl_rtl): Mark invalid register vars as
2132 PR rtl-optimization/66206
2133 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
2134 All callers changed.
2136 2016-01-07 Jakub Jelinek <jakub@redhat.com>
2138 PR tree-optimization/69141
2139 * tree-ssa-pre.c: Include langhooks.h.
2140 (eliminate_dom_walker::before_dom_children): Use
2141 lang_hooks.decl_printable_name instead of
2142 cgraph_node::get ()->name ().
2145 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
2146 it and DECL_ALIGN too.
2148 2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
2150 * config/mips/mips-ftypes.def: Sort to lexicographical order.
2152 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
2155 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
2156 depending on frame_pointer_needed before remaining integer and SSE
2157 registers are saved.
2159 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2161 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
2162 mode iterator with VSX_M2.
2163 (*p9_vecstore_<mode>): Likewise.
2164 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
2165 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
2166 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
2167 (define_split for VSX_LE128 stores): Likewise.
2168 (define_peephole2 for TImode LE swaps): Likewise.
2169 (define_split for VSX_LE128 post-reload stores): Likewise.
2171 2016-01-06 Marek Polacek <polacek@redhat.com>
2174 * convert.c (convert_to_integer_1): Adjust call to
2175 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
2176 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
2177 EXPR instead of ARG.
2178 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
2180 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2183 * doc/extend.texi (RL78 Variable Attributes): New section.
2185 2016-01-05 Marek Polacek <polacek@redhat.com>
2188 * builtins.c (get_memmodel): Use expansion point location rather than
2189 the input location. Call warning_at rather than warning.
2190 (expand_builtin_atomic_compare_exchange): Likewise.
2191 (expand_builtin_atomic_load): Likewise.
2192 (expand_builtin_atomic_store): Likewise.
2193 (expand_builtin_atomic_clear): Likewise.
2195 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2198 * config/i386/i386.c (ix86_expand_vector_logical_operator):
2199 Replace nonimmediate_operand with vector_operand.
2200 * config/i386/predicates.md (vector_operand): New predicate.
2201 (general_vector_operand): Replace nonimmediate_operand with
2203 * config/i386/sse.md: Replace nonimmediate_operand with
2204 vector_operand and m constraint with Bm constraint on SSE
2205 patterns with 16-byte memory operand.
2206 * config/i386/subst.md (round_nimm_predicate): Replace
2207 nonimmediate_operand with vector_operand.
2208 (round_saeonly_nimm_predicate): Likewise.
2209 (round_saeonly_nimm_scalar_predicate): New.
2211 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2214 * config/i386/constraints.md (Bm): New constraint.
2215 * config/i386/predicates.md (vector_memory_operand): New
2217 * config/i386/sse.md: Replace xm with xBm in plusminus and
2220 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2223 * doc/extend.texi (V850 Function Attributes): New section.
2224 (V850 Variable Attributes): New section.
2226 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2229 * doc/extend.texi (MicroBlaze Function Attributes): Document
2230 interrupt_handler and fast_interrupt attributes.
2232 2016-01-05 Sergei Trofimovich <siarheit@google.com>
2235 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
2236 for local symbolic operands.
2237 * config/ia64/predicates.md (local_symbolic_operand64): New
2240 2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2242 PR rtl-optimization/68651
2243 * combine.c (combine_simplify_rtx): Canonicalize x + x into
2246 2016-01-05 Nathan Sidwell <nathan@acm.org>
2248 * alias.c (compare_base_decls): Use symtab_node::get.
2250 2016-01-05 Nick Clifton <nickc@redhat.com>
2253 * ira-costs.c (copy_cost): Initialise the t_icode field of the
2254 secondary_reload_info structure.
2257 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
2258 decls if weak support is available.
2260 2016-01-04 Martin Sebor <msebor@redhat.com>
2262 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
2264 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
2266 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
2267 OPTION_MASK_P9_DFORM.
2269 * config/rs6000/constraints.md (wo constraint): New constraint for
2272 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
2274 (rs6000_init_hard_regno_mode_ok): Likewise.
2276 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
2279 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
2280 expanders not to have constraints. Add support for ISA 3.0 xxperm
2281 instruction. Add support for fusing xxlor with xxperm.
2282 (altivec_vperm_<mode>_internal): Likewise.
2283 (altivec_vperm_v8hiv16qi): Likewise.
2284 (altivec_vperm_<mode>v16q): Likewise.
2285 (altivec_vperm_<mode>_uns): Likewise.
2286 (vperm_v8hiv4si): Likewise.
2287 (vperm_v16qiv8hi): Likewise.
2289 * doc/md.texi (RS/6000 constraints): Document wo constraint.
2291 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2293 Update copyright years.
2295 * gcc.c (process_command): Update copyright notice dates.
2296 * gcov-dump.c (print_version): Ditto.
2297 * gcov.c (print_version): Ditto.
2298 * gcov-tool.c (print_version): Ditto.
2299 * gengtype.c (create_file): Ditto.
2300 * doc/cpp.texi: Bump @copying's copyright year.
2301 * doc/cppinternals.texi: Ditto.
2302 * doc/gcc.texi: Ditto.
2303 * doc/gccint.texi: Ditto.
2304 * doc/gcov.texi: Ditto.
2305 * doc/install.texi: Ditto.
2306 * doc/invoke.texi: Ditto.
2308 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2310 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
2311 modes larger than TImode as TImode if NEON is not enabled.
2313 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2316 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
2317 mode for %f0-%f31 only if TARGET_FPU.
2319 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2322 * config/sparc/sparc.c (scan_record_type): Take into account subfields
2323 to compute the PACKED_P predicate.
2324 (function_arg_record_value): Minor tweaks.
2326 2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
2328 * doc/install.texi (--with-multilib-list): Describe the meaning of the
2329 option for arm*-*-* targets.
2331 2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
2333 * doc/extend.texi (Common Function Attributes): Move docs for
2334 MSP430-specific attributes to....
2335 (MSP430 Function Attributes): ...here. Delete the redundant
2336 entries and copy-edit the remaining text.
2337 (MSP430 Variable Attributes): Use uniform format for index
2338 entries and add a cross-reference to the corresponding function
2341 2016-01-03 Vladimír Čunát <vcunat@gmail.com>
2343 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
2345 (x86 Options): Likewise.
2347 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
2351 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
2352 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
2353 to corresponding attribute.
2355 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
2357 * doc/extend.texi (Common Function Attributes) <noplt>: Move
2358 to correct alphabetization of table. Copy-edit and correct
2360 <stack_protect>: Likewise.
2361 <target_clones>: Likewise.
2363 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
2364 Correct punctuation.
2365 (Code Gen Options) <-fno-plt>: Copy-edit.
2367 2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
2370 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
2371 SI values. Explicitly convert SI to DI and vice-versa.
2373 2016-01-01 Jakub Jelinek <jakub@redhat.com>
2375 PR tree-optimization/69070
2376 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
2377 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
2380 * ubsan.c (ubsan_instrument_float_cast): Call
2381 initialize_sanitizer_builtins.
2384 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
2386 Copyright (C) 2016 Free Software Foundation, Inc.
2388 Copying and distribution of this file, with or without modification,
2389 are permitted in any medium without royalty provided the copyright
2390 notice and this notice are preserved.