1 2016-01-25 Richard Biener <rguenther@suse.de>
4 * dwarf2out.c (is_naming_typedef_decl): Not when DECL_NAMELESS.
5 * tree-streamer-out.c (pack_ts_base_value_fields): Stream
7 * tree-streamer-in.c (unpack_ts_base_value_fields): Likewise.
9 2016-01-25 Richard Biener <rguenther@suse.de>
11 PR tree-optimization/69376
12 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add range_info_anti_range_p
14 (VN_INFO_ANTI_RANGE_P): New inline.
15 (VN_INFO_RANGE_TYPE): Likewise.
16 * tree-ssa-sccvn.c (set_ssa_val_to): Also record and copy
17 SSA_NAME_ANTI_RANGE_P.
18 (free_scc_vn): Restore SSA_NAME_ANTI_RANGE_P.
19 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
20 Properly query VN_INFO_RANGE_TYPE.
22 2016-01-25 Nick Clifton <nickc@redhat.com>
25 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Remove definition.
27 2016-01-23 Tom de Vries <tom@codesourcery.com>
29 PR tree-optimization/69426
30 * tree-parloops.c (eliminate_local_variables_stmt): Handle vdef of
33 2016-01-23 Jakub Jelinek <jakub@redhat.com>
35 * tree-ssanames.c (release_free_names_and_compact_live_names): Replace
36 "the the" with "the" in the comments.
37 * ipa-devirt.c (build_type_inheritance_graph,
38 update_type_inheritance_graph): Likewise.
39 * tree.c (build_function_type_list_1): Likewise.
40 * cfgloopmanip.c (scale_loop_profile): Likewise.
41 * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Likewise.
42 * gimple-ssa-split-paths.c
43 (find_block_to_duplicate_for_splitting_paths): Likewise.
44 * tree-sra.c (init_subtree_with_zero, clobber_subtree): Likewise.
45 * expr.c (convert_move): Likewise.
46 * var-tracking.c (vt_stack_adjustments): Likewise.
47 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Likewise.
48 * tree-vrp.c (test_for_singularity): Likewise.
50 * tree-vect-stmts.c (vectorizable_condition): Build a VEC_COND_EXPR
51 directly instead of building a temporary tree.
54 * genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
55 remove <algorithm> include.
57 2016-01-22 Jakub Jelinek <jakub@redhat.com>
60 * config/i386/i386.c: Include dojump.h.
61 (expand_small_movmem_or_setmem,
62 expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Spelling
64 (ix86_expand_set_or_movmem): Call do_pending_stack_adjust () early
65 if dynamic_check != -1.
67 2016-01-21 Jeff Law <law@redhat.com>
70 * tree-ssa-dom.c (back_propagate_equivalences): Factored out of
71 record_temporary_equivalences. Rewritten to avoid unnecessary calls
73 (cprop_into_successor_phis): Avoid unnecessary tests.
75 2016-01-22 Richard Henderson <rth@redhat.com>
78 * config/aarch64/aarch64.md (UNSPEC_NZCV): New.
79 (ccmp<mode>, fccmp<mode>, fccmpe<mode>): Use it.
81 2016-01-22 Michael Matz <matz@suse.de>
83 * system.h (string, algorithm): Include only conditionally.
84 (new): Include always under C++.
85 * bb-reorder.c (toplevel): Define INCLUDE_ALGORITHM.
86 * final.c (toplevel): Ditto.
87 * ipa-chkp.c (toplevel): Define INCLUDE_STRING.
88 * genconditions.c (write_header): Make gencondmd.c define
90 * mem-stats.h (mem_usage::print_dash_line): Don't use std::string.
92 * config/aarch64/aarch64.c (toplevel): Define INCLUDE_STRING.
93 * common/config/aarch64/aarch64-common.c (toplevel): Ditto.
95 2016-01-22 Christian Bruel <christian.bruel@st.com>
98 * expr.c (expand_expr_real_1): Reset DECL_MODE if VECTOR_TYPE_P changed.
100 2016-01-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
103 * config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
104 define_insn_and_split. Ensure operands[1] and operands[0] do not
105 get assigned the same register.
107 2016-01-22 Kugan Vivekanandarajah <kuganv@linaro.org>
109 * ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.
111 2016-01-22 Christian Bruel <christian.bruel@st.com>
113 * config/arm/arm-c.c (arm_pragma_target_parse):
114 Remove warn_builtin_macro_redefined overwrite.
116 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
118 * ipa-inline.c (can_inline_edge_p): Back out overzealous check on
119 flag_non_call_exceptions compatibility.
121 2016-01-22 Jakub Jelinek <jakub@redhat.com>
124 * dwarf2out.c (add_child_die_after): New function.
125 (dwarf_qual_info_t): New type.
126 (dwarf_qual_info): New variable.
127 (qualified_die_p): New function.
128 (modified_type_die): For -fdebug-types-section, ensure
129 canonical order of qualifiers. Put qualified DIEs adjacent
130 to the corresponding non-qualified type DIE and search there
131 for existing qualified DIEs.
133 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
135 * doc/extend.texi (scalar_storage_order type attribute): Document
136 restriction on type punning and aliasing, and remove future tense.
138 2016-01-21 Roman Zhuykov <zhroma@ispras.ru>
141 * modulo-sched.c (optimize_sc): Allow branch-scheduling to add a new
144 2016-01-21 Jeff Law <law@redhat.com>
147 * tree-ssa-dom.c (dom_opt_dom_walker::thread_across_edge): Avoid
148 useless call to record_temporary_equivalences.
149 * tree-ssa-threadbackward.c (find_jump_threads_backwards): Just
150 allocate 10 slots in the bb_path vector and let it grow as needed.
151 (fsm_find_control_statement_thread_paths): Similarly for the next_path
154 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
156 * configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
158 * configure: Regenerate.
160 2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
162 * config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
163 * config/rs6000/driver-rs6000.c (struct asm_names): Likewise.
165 2016-01-21 Bernd Schmidt <bschmidt@redhat.com>
168 * expr.c (expand_expr_real_2) [PLUS_EXPR, MINUS_EXPR]: Don't
169 drop EXPAND_INITIALIZER.
170 * rtl.h (contains_symbolic_reference_p): Declare.
171 * rtlanal.c (contains_symbolic_reference_p): New function.
172 * simplify-rtx.c (simplify_binary_operation_1): Don't turn
173 a subtraction into a NOT if symbolic constants are involved.
175 2016-01-21 Anton Blanchard <anton@samba.org>
176 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
179 * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): New
181 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New
184 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
186 * config/microblaze/microblaze.c
187 (get_branch_target): New.
188 (insert_wic_for_ilb_runout): New.
190 (microblaze_machine_dependent_reorg): New.
191 (TARGET_MACHINE_DEPENDENT_REORG): Define macro.
192 * config/microblaze/microblaze.md
193 (UNSPEC_IPREFETCH): Define.
194 (iprefetch): New pattern
195 * config/microblaze/microblaze.opt
196 (mxl-prefetch): New flag.
198 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
200 * config/microblaze/microblaze.h
201 (FIXED_REGISTERS): Update in macro.
202 (CALL_USED_REGISTERS): Update in macro.
204 2016-01-21 Yuri Rumyantsev <ysrumyan@gmail.com>
206 PR rtl-optimization/68920
207 * ifcvt.c (cond_move_process_if_block): Limit number of conditional
210 2016-01-21 Vladimir Makarov <vmakarov@redhat.com>
212 PR rtl-optimization/68990
213 * lra-coalesce.c (lra_coalesce): Invalidate value for the result
214 pseudo instead of inheritance ones.
216 2016-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
217 Nick Clifton <nickc@redhat.com>
221 * config/mips/mips.c (mips_compute_frame_info): Initialise
222 args_size and hard_frame_pointer_offset fields of the frame
223 structure before calling mips_global_pointer.
225 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
227 * configure.ac (gcc_cv_as_dwloc): Test support for debug frame section
229 * configure: Regenerate.
231 2016-01-21 Richard Biener <rguenther@suse.de>
233 * graphite-optimize-isl.c (get_schedule_map): Fix typo.
235 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
237 * config/s390/s390.c (s390_asm_declare_function_size): Add code
238 to actually emit the .size directive.
240 2016-01-21 Stefan Sørensen <stefan.sorensen@spectralink.com>
241 Jakub Jelinek <jakub@redhat.com>
245 * config/arm/arm-builtins.c (arm_expand_neon_builtin): Increase
246 args array size by one to avoid buffer overflow.
248 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
250 * config/s390/s390.md (pool_section_start): Use switch_to_section
251 to select proper read-only data section instead of hardcoding
253 (pool_section_end): Use switch_to_section to match the above.
255 2016-01-21 Richard Biener <rguenther@suse.de>
257 PR tree-optimization/69378
258 * tree-ssa-sccvn.c (dominated_by_p_w_unex): New function.
259 (set_ssa_val_to): Use it for dominance checks taking into
260 account not executable edges.
262 2016-01-21 Jakub Jelinek <jakub@redhat.com>
265 * tree-dfa.c (get_ref_base_and_extent): Use GET_MODE_BITSIZE (mode)
266 for bitsize instead of GET_MODE_PRECISION (mode).
268 2016-01-20 Martin Sebor <msebor@redhat.com>
271 * extend.texi (__sync Builtins): Clarify the semantics of
272 __sync_fetch_and_OP built-ins on pointers.
273 (__atomic Builtins): Same.
275 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
276 Sebastian Pop <s.pop@samsung.com>
278 * graphite-isl-ast-to-gimple.c (enum phi_node_kind): New.
279 (class translate_isl_ast_to_gimple): Use phi_node_kind instead of bool.
280 (is_valid_rename): Same.
281 (translate_isl_ast_to_gimple::get_rename): Same.
282 (translate_isl_ast_to_gimple::rename_all_uses): Same.
283 (translate_isl_ast_to_gimple::rename_uses): Same.
284 (get_new_name): Check for close_phi nodes.
285 (copy_loop_phi_args): Use phi_node_kind.
286 (translate_isl_ast_to_gimple::copy_loop_close_phi_args): Same.
287 (translate_isl_ast_to_gimple::copy_cond_phi_args): Same.
289 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
290 Sebastian Pop <s.pop@samsung.com>
292 Revert commit r229783.
293 * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
294 Remove use of parameter_rename_map.
296 (copy_internal_parameters): Remove.
297 (graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
298 * sese.c (new_sese_info): Do not initialize parameter_rename_map.
299 (free_sese_info): Do not free parameter_rename_map.
300 (set_rename): Do not use parameter_rename_map.
301 (rename_uses): Update call to set_rename.
302 (graphite_copy_stmts_from_block): Do not use parameter_rename_map.
303 * sese.h (parameter_rename_map_t): Remove.
304 (struct sese_info_t): Remove field parameter_rename_map.
306 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
307 Sebastian Pop <s.pop@samsung.com>
309 * graphite-isl-ast-to-gimple.c: Fix comment.
310 * graphite-scop-detection.c (defined_in_loop_p): New.
311 (canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
312 names defined in loop.
314 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
315 Sebastian Pop <s.pop@samsung.com>
317 * graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
318 Discard unstructured if-then-else regions.
320 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
321 Sebastian Pop <s.pop@samsung.com>
323 * graphite-sese-to-poly.c (set_scop_parameter_dim): Remove.
324 (cleanup_loop_iter_dom): Remove.
325 (build_loop_iteration_domains): Remove.
326 (build_scop_context): Remove.
327 (build_scop_iteration_domain): Remove.
328 (add_loop_constraints): New.
329 (build_iteration_domains): New.
330 (build_poly_scop): Call build_iteration_domains.
332 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
333 Sebastian Pop <s.pop@samsung.com>
335 * graphite-scop-detection.c
336 (scop_detection::harmful_loop_in_region): Free dom and loops.
337 (scop_detection::loop_body_is_valid_scop): Free bbs.
339 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
340 Sebastian Pop <s.pop@samsung.com>
342 * graphite-scop-detection.c (record_loop_in_sese): New.
343 (gather_bbs::before_dom_children): Call record_loop_in_sese.
344 (build_scops): Remove call to build_sese_loop_nests.
345 * sese.c (sese_record_loop): Remove.
346 (build_sese_loop_nests): Remove.
347 (new_sese_info): Remove region->loops.
348 (free_sese_info): Same.
349 * sese.h (sese_contains_loop): Same.
350 (build_sese_loop_nests): Remove.
351 (sese_contains_loop): Remove.
353 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
354 Sebastian Pop <s.pop@samsung.com>
356 * graphite-scop-detection.c (loop_is_valid_scop): Renamed loop_is_valid_in_scop.
357 (scop_detection::harmful_stmt_in_region): Renamed harmful_loop_in_region.
358 Call loop_is_valid_in_scop.
360 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
361 Sebastian Pop <s.pop@samsung.com>
363 * graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
366 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
367 Sebastian Pop <s.pop@samsung.com>
369 * graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
370 * graphite.h (struct poly_bb): Remove field is_reduction.
371 (PBB_IS_REDUCTION): Remove.
373 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
374 Sebastian Pop <s.pop@samsung.com>
376 * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
377 (add_pdr_constraints): Same.
378 (scop_get_reads): Same.
379 (scop_get_must_writes): Same.
380 (scop_get_may_writes): Same.
381 (scop_get_original_schedule): Same.
382 (extend_schedule): Same.
383 (apply_schedule_on_deps): Same.
384 (carries_deps): Same.
385 (compute_deps): Same.
386 (scop_get_dependences): Same.
387 * graphite-isl-ast-to-gimple.c
388 (translate_isl_ast_to_gimple::generate_isl_schedule): Same.
389 * graphite-optimize-isl.c (get_schedule_for_band): Same.
390 (get_schedule_for_band_list): Same.
391 (get_schedule_map): Same.
392 (apply_schedule_map_to_scop): Same.
393 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same.
394 (build_loop_iteration_domains): Same.
395 (add_condition_to_pbb): Same.
396 (add_param_constraints): Same.
397 (pdr_add_memory_accesses): Same.
398 (pdr_add_data_dimensions): Same.
400 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
402 * doc/invoke.texi (Instrumentation Options): Clarify -mmpx linking
405 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
407 * common.opt (feliminate-dwarf2-dups): Replace references to
408 "DWARF 2" with just "DWARF".
409 * config/ia64/ia64.opt (mdwarf2-asm): Likewise.
410 * doc/extend.texi: Likewise.
411 * doc/cpp.texi: Likewise.
412 * doc/invoke.texi: Likewise.
413 (Option Summary): Add -gdwarf to list of Debugging Options.
414 (Debugging Options): Document -gdwarf.
415 * doc/contrib.texi: Spell "DWARF" like that.
417 2016-01-21 Jakub Jelinek <jakub@redhat.com>
419 * omp-low.c (expand_omp_target): Avoid -Wmaybe-uninitialized
420 warning. Fix up formatting.
423 * gimplify.c (gimplify_asm_expr): Warn if it is too late to
424 attempt to mark memory input operand addressable and
425 call prepare_gimple_addressable in that case. Don't adjust
426 input_location for diagnostics, use error_at instead.
428 2016-01-20 Peter Bergner <bergner@vnet.ibm.com>
430 * config/rs6000/ppc-auxv.h: New file.
431 * config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
433 (cpu_supports): Likewise.
434 * config/rs6000/rs6000.c: include "ppc-auxv.h".
435 (cpu_is_info): New variable.
436 (cpu_supports_info): Likewise.
437 (tcb_verification_symbol): Likewise.
438 (cpu_builtin_p): Likewise.
439 (cpu_expand_builtin): New function.
440 (rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
441 (rs6000_init_builtins): Likewise.
442 (rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
443 * config/rs6000/rs6000.h (TLS_REGNUM): New define.
444 * configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
445 * configure: Regenerate.
446 * config.in: Likewise.
447 * doc/extend.texi (PowerPC Built-in Functions): Document
448 __builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.
450 2016-01-20 David Edelsohn <dje.gcc@gmail.com>
453 * config/rs6000/rs6000.c (rs6000_emit_swsqrt): Add vector sqrt
455 * config/rs6000/vector.md (sqrt<mode>2): Call rs6000_emit_swsqrt
458 2016-01-20 Richard Henderson <rth@redhat.com>
464 * tree.c (tm_define_builtin): New.
465 (find_tm_vector_type): New.
466 (build_tm_vector_builtins): New.
467 (build_common_builtin_nodes): Call it.
469 2016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
471 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
472 (arm_fp_ok): Likewise.
474 (arm_crypto): Likewise.
476 2016-01-20 Ilya Enkovich <enkovich.gnu@gmail.com>
477 Richard Biener <rguenther@suse.de>
479 PR tree-optimization/69328
480 * tree-vect-stmts.c (vect_is_simple_cond): Check compared
481 vectors have same number of elements.
482 (vectorizable_condition): Fix masked version recognition.
484 2016-01-20 Richard Biener <rguenther@suse.de>
486 PR tree-optimization/69345
487 * tree-ssa-sccvn.h (VN_INFO_RANGE_INFO): New inline function.
488 (VN_INFO_PTR_INFO): Likewise.
489 * tree-ssa-sccvn.c (set_ssa_val_to): Avoid clearing points-to
490 info when it is equal between non-dominating SSA names.
491 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
492 Make sure to look at original SSA infos.
494 2016-01-20 Jeff Law <law@redhat.com>
497 * config/m68k/predicates.md (pow2_m1_operand): New predicate
499 (reg_or_pow2_m1_operand): Call pow2_m1_operand.
500 (pc_or_label_operand): New predicate.
501 * config/m68k/m68k.md: Add new peephole2 patterns for GTU/LEU
502 tests for small integers that are 2^n - 1.
504 2016-01-20 Jonathan Wakely <jwakely@redhat.com>
506 * doc/invoke.texi (Options Summary): Add '.' after @xref.
508 2016-01-19 Jeff Law <law@redhat.com>
511 * tree-ssa-threadbackwards.c
512 (fsm_find_control_statement_thread_paths): Do not try to lookup
513 FSM paths for SSA_NAMEs appearing in abnormal PHIs.
515 2016-01-20 Kugan Vivekanandarajah <kuganv@linaro.org>
517 * doc/lto.texi: Remove text that says only Gold has linker plugin
520 2016-01-19 Eric Botcazou <ebotcazou@adacore.com>
522 * dwarf2out.c (need_endianity_attribute_p): New inline predicate.
523 (base_type_die): Add REVERSE parameter and attach DW_AT_endianity to
525 (modified_type_die): Add REVERSE parameter and pass it recursively,
526 as well as to base_type_die. Adjust presence check accordingly.
527 (base_type_for_mode): Adjust call to modified_type_die.
528 (add_type_attribute): Add REVERSE parameter and pass it to
530 (generic_parameter_die): Adjust call to add_type_attribute.
531 (add_scalar_info): Likewise.
532 (add_subscript_info): Likewise.
533 (gen_array_type_die): Likewise.
534 (gen_descr_array_type_die): Likewise.
535 (gen_entry_point_die): Likewise.
536 (gen_enumeration_type_die): Likewise.
537 (gen_formal_parameter_die): Likewise.
538 (gen_subprogram_die): Likewise.
539 (gen_variable_die ): Likewise.
540 (gen_const_die): Likewise.
541 (gen_field_die): Likewise.
542 (gen_pointer_type_die): Likewise.
543 (gen_reference_type_die): Likewise.
544 (gen_ptr_to_mbr_type_die): Likewise.
545 (gen_inheritance_die): Likewise.
546 (gen_subroutine_type_die): Likewise.
547 (gen_typedef_die): Likewise.
548 (force_type_die): Adjust call to modified_type_die.
550 2016-01-19 Sandra Loosemore <sandra@codesourcery.com>
552 * doc/standards.texi: Copy-editing for grammar, markup, and sentence
553 flow throughout the file. Fix broken link to Objective-C 2.0
555 * doc/invoke.texi: More copy-editing; fix numerous typos and spelling
558 2016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
560 * ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
562 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
565 * ipa-devirt.c (is_cxa_pure_virtual_p): New function.
566 (maybe_record_node): Record cxa_pure_virtual as the only possible
567 target if there are not ohter candidates.
568 (possible_polymorphic_call_target_p): Accept cxa_pure_virtual.
570 2016-01-19 Richard Biener <rguenther@suse.de>
572 * hsa-gen.c (get_memory_order_name): Use MEMMODEL_ constants.
573 (get_memory_order): Likewise.
575 2016-01-19 Kirill Yukhin <kirill.yukhin@intel.com>
577 * tree-vect-stmts.c (vectorizable_store): Check
580 2016-01-19 David Malcolm <dmalcolm@redhat.com>
583 * gcc.c (driver::decode_argv): Add call to
584 init_opts_obstack before init_options_struct.
585 * opts.c (init_opts_obstack): Remove idempotency.
586 (init_options_struct): Replace call to init_opts_obstack
587 with a gcc_assert to verify that it has already been called.
588 * toplev.c (toplev::main): Add call to init_opts_obstack before
589 calls to init_options_struct.
590 (toplev::finalize): Move cleanup of opts_obstack next to
591 cleanup of save_decoded_options, clearing the latter, and
592 save_decoded_options_count.
594 2016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
597 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): Set "conds"
598 attribute to unconditional. Remove %? from output template.
600 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
601 Jiong Wang <jiong.wang@arm.com>
603 * ccmp.c (expand_ccmp_expr_1): Cost the instruction sequences
604 generated from different expand order.
606 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
608 * /config/aarch64/aarch64.c (aarch64_if_then_else_costs):
609 Add support for CCMP costing.
611 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
613 * ccmp.c (ccmp_candidate_p): Remove integer-only restriction.
614 * config/aarch64/aarch64.md (fccmp<mode>): New pattern.
615 (fccmpe<mode>): Likewise.
616 (fcmp): Rename to fcmp and globalize pattern.
618 * config/aarch64/aarch64.c (aarch64_gen_ccmp_first): Add FP support.
619 (aarch64_gen_ccmp_next): Add FP support.
621 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
623 * target.def (gen_ccmp_first): Update documentation.
624 (gen_ccmp_next): Likewise.
625 * doc/tm.texi (gen_ccmp_first): Update documentation.
626 (gen_ccmp_next): Likewise.
627 * ccmp.c (expand_ccmp_expr): Extract cmp_code from return value of
628 expand_ccmp_expr_1. Improve comments.
629 * config/aarch64/aarch64.md (ccmp_and): Use if_then_else for ccmp.
630 (ccmp_ior<mode>): Remove pattern.
631 (cmp<mode>): Remove expand.
632 (cmp): Globalize pattern.
633 (cstorecc4): Use cc_register.
634 (mov<mode>cc): Remove ccmp_cc_register check.
635 * config/aarch64/aarch64.c (aarch64_get_condition_code_1):
636 Simplify after removal of CC_DNE/* modes.
637 (aarch64_ccmp_mode_to_code): Remove.
638 (aarch64_print_operand): Remove 'K' case. Merge 'm' and 'M' cases.
639 In 'k' case use integer as condition.
640 (aarch64_nzcv_codes): Remove inverted cases.
641 (aarch64_code_to_ccmode): Remove.
642 (aarch64_gen_ccmp_first): Use cmp pattern directly. Return the correct
643 comparison with CC register to be used in folowing CCMP/branch/CSEL.
644 (aarch64_gen_ccmp_next): Use previous comparison and mode in CCMP
645 pattern. Return the comparison with CC register. Invert conditions
647 * config/aarch64/aarch64-modes.def: Remove CC_DNE/* modes.
648 * config/aarch64/predicates.md (ccmp_cc_register): Remove.
650 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
652 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
653 instrumented_version.
655 2016-01-19 Richard Biener <rguenther@suse.de>
657 PR tree-optimization/69336
658 * tree-ssa-scopedtables.c (avail_expr_hash): Handle all
659 handled components with get_ref_base_and_extent.
660 (equal_mem_array_ref_p): Adjust.
662 2016-01-19 Jakub Jelinek <jakub@redhat.com>
665 * shrink-wrap.c: Include valtrack.h.
666 (move_insn_for_shrink_wrap): Add DEBUG argument. If
667 MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
668 in between insn and where it will be moved to. Call
669 dead_debug_insert_temp.
670 (prepare_shrink_wrap): Adjust caller. Call dead_debug_local_init
671 first and dead_debug_local_finish at the end.
672 For uses and defs bitmap, handle all regs in between REGNO and
673 END_REGNO, not just the first one.
675 2016-01-19 Richard Biener <rguenther@suse.de>
677 PR tree-optimization/69352
678 * tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1.
679 (equal_mem_array_ref_p): Constrain size and max size properly.
680 Compare the reverse flag.
682 2016-01-19 Bernd Schmidt <bschmidt@redhat.com>
684 * ira.c (ira): Update regstat data if we deleted insns.
686 2016-01-19 Jakub Jelinek <jakub@redhat.com>
688 PR rtl-optimization/68955
689 PR rtl-optimization/64557
690 * dse.c (record_store, check_mem_read_rtx): Don't call get_addr
691 here. Fix up formatting.
692 * alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.
694 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
697 * cgraphunit.c (cgraph_node::expand_thunk): When forcing gimple
698 assume that the node has body.
699 * cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
702 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
704 * lto-streamer-out.c (lto_output): Do not stream instrumentation
707 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
709 * symtab.c (symtab_node::asm_name): Do not call printable name directly.
710 (symtab_node::name): Report name as unnamed if DECL_NAME is not set.
712 2016-01-19 Martin Jambor <mjambor@suse.cz>
713 Martin Liska <mliska@suse.cz>
714 Michael Matz <matz@suse.de>
716 * Makefile.in (OBJS): Add new source files.
717 (GTFILES): Add hsa.c.
718 * common.opt (disable_hsa): New variable.
719 (-Whsa): New warning.
720 * config.in (ENABLE_HSA): New.
721 * configure.ac: Treat hsa differently from other accelerators.
722 (OFFLOAD_TARGETS): Define ENABLE_OFFLOADING according to
724 (ENABLE_HSA): Define ENABLE_HSA according to $enable_hsa.
725 * doc/install.texi (Configuration): Document --with-hsa-runtime,
726 --with-hsa-runtime-include, --with-hsa-runtime-lib and
728 * doc/invoke.texi (-Whsa): Document.
729 (hsa-gen-debug-stores): Likewise.
730 * lto-wrapper.c (compile_images_for_offload_targets): Do not attempt
731 to invoke offload compiler for hsa acclerator.
732 * opts.c (common_handle_option): Determine whether HSA offloading
734 * params.def (PARAM_HSA_GEN_DEBUG_STORES): New parameter.
735 * builtin-types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
736 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
737 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
738 * gimple-low.c (lower_stmt): Also handle GIMPLE_OMP_GRID_BODY.
739 * gimple-pretty-print.c (dump_gimple_omp_for): Also handle
740 GF_OMP_FOR_KIND_GRID_LOOP.
741 (dump_gimple_omp_block): Also handle GIMPLE_OMP_GRID_BODY.
742 (pp_gimple_stmt_1): Likewise.
743 * gimple-walk.c (walk_gimple_stmt): Likewise.
744 * gimple.c (gimple_build_omp_grid_body): New function.
745 (gimple_copy): Also handle GIMPLE_OMP_GRID_BODY.
746 * gimple.def (GIMPLE_OMP_GRID_BODY): New.
747 * gimple.h (enum gf_mask): Added GF_OMP_PARALLEL_GRID_PHONY,
748 GF_OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY and
749 GF_OMP_TEAMS_GRID_PHONY.
750 (gimple_statement_omp_single_layout): Updated comments.
751 (gimple_build_omp_grid_body): New function.
752 (gimple_has_substatements): Also handle GIMPLE_OMP_GRID_BODY.
753 (gimple_omp_for_grid_phony): New function.
754 (gimple_omp_for_set_grid_phony): Likewise.
755 (gimple_omp_parallel_grid_phony): Likewise.
756 (gimple_omp_parallel_set_grid_phony): Likewise.
757 (gimple_omp_teams_grid_phony): Likewise.
758 (gimple_omp_teams_set_grid_phony): Likewise.
759 (gimple_return_set_retbnd): Also handle GIMPLE_OMP_GRID_BODY.
760 * omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): New.
761 (BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
762 (BUILT_IN_GOMP_TARGET): Updated type.
763 * omp-low.c: Include symbol-summary.h, hsa.h and params.h.
764 (adjust_for_condition): New function.
765 (get_omp_for_step_from_incr): Likewise.
766 (extract_omp_for_data): Moved parts to adjust_for_condition and
767 get_omp_for_step_from_incr.
768 (build_outer_var_ref): Handle GIMPLE_OMP_GRID_BODY.
769 (fixup_child_record_type): Bail out if receiver_decl is NULL.
770 (scan_sharing_clauses): Handle OMP_CLAUSE__GRIDDIM_.
771 (scan_omp_parallel): Do not create child functions for phony
773 (check_omp_nesting_restrictions): Handle GIMPLE_OMP_GRID_BODY.
774 (scan_omp_1_op): Checking assert we are not remapping to
775 ERROR_MARK. Also also handle GIMPLE_OMP_GRID_BODY.
776 (parallel_needs_hsa_kernel_p): New function.
777 (expand_parallel_call): Register apprpriate parallel child
778 functions as HSA kernels.
779 (grid_launch_attributes_trees): New type.
780 (grid_attr_trees): New variable.
781 (grid_create_kernel_launch_attr_types): New function.
782 (grid_insert_store_range_dim): Likewise.
783 (grid_get_kernel_launch_attributes): Likewise.
784 (get_target_argument_identifier_1): Likewise.
785 (get_target_argument_identifier): Likewise.
786 (get_target_argument_value): Likewise.
787 (push_target_argument_according_to_value): Likewise.
788 (get_target_arguments): Likewise.
789 (expand_omp_target): Call get_target_arguments instead of looking
790 up for teams and thread limit.
791 (grid_expand_omp_for_loop): New function.
792 (grid_arg_decl_map): New type.
793 (grid_remap_kernel_arg_accesses): New function.
794 (grid_expand_target_kernel_body): New function.
795 (expand_omp): Call it.
796 (lower_omp_for): Do not emit phony constructs.
797 (lower_omp_taskreg): Do not emit phony constructs but create for them
798 a temporary variable receiver_decl.
799 (lower_omp_taskreg): Do not emit phony constructs.
800 (lower_omp_teams): Likewise.
801 (lower_omp_grid_body): New function.
802 (lower_omp_1): Call it.
803 (grid_reg_assignment_to_local_var_p): New function.
804 (grid_seq_only_contains_local_assignments): Likewise.
805 (grid_find_single_omp_among_assignments_1): Likewise.
806 (grid_find_single_omp_among_assignments): Likewise.
807 (grid_find_ungridifiable_statement): Likewise.
808 (grid_target_follows_gridifiable_pattern): Likewise.
809 (grid_remap_prebody_decls): Likewise.
810 (grid_copy_leading_local_assignments): Likewise.
811 (grid_process_kernel_body_copy): Likewise.
812 (grid_attempt_target_gridification): Likewise.
813 (grid_gridify_all_targets_stmt): Likewise.
814 (grid_gridify_all_targets): Likewise.
815 (execute_lower_omp): Call grid_gridify_all_targets.
816 (make_gimple_omp_edges): Handle GIMPLE_OMP_GRID_BODY.
817 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__GRIDDIM_.
818 (tree_omp_clause): Added union field dimension.
819 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE__GRIDDIM_.
820 * tree.c (omp_clause_num_ops): Added number of arguments of
821 OMP_CLAUSE__GRIDDIM_.
822 (omp_clause_code_name): Added name of OMP_CLAUSE__GRIDDIM_.
823 (walk_tree_1): Handle OMP_CLAUSE__GRIDDIM_.
824 * tree.h (OMP_CLAUSE_GRIDDIM_DIMENSION): New.
825 (OMP_CLAUSE_SET_GRIDDIM_DIMENSION): Likewise.
826 (OMP_CLAUSE_GRIDDIM_SIZE): Likewise.
827 (OMP_CLAUSE_GRIDDIM_GROUP): Likewise.
828 * passes.def: Schedule pass_ipa_hsa and pass_gen_hsail.
829 * tree-pass.h (make_pass_gen_hsail): Declare.
830 (make_pass_ipa_hsa): Likewise.
831 * ipa-hsa.c: New file.
832 * lto-section-in.c (lto_section_name): Add hsa section name.
833 * lto-streamer.h (lto_section_type): Add hsa section.
834 * timevar.def (TV_IPA_HSA): New.
835 * hsa-brig-format.h: New file.
836 * hsa-brig.c: New file.
837 * hsa-dump.c: Likewise.
838 * hsa-gen.c: Likewise.
841 * toplev.c (compile_file): Call hsa_output_brig.
842 * hsa-regalloc.c: New file.
844 2016-01-18 Jeff Law <law@redhat.com>
846 PR tree-optimization/69320
847 * tree-ssa-dom.c (record_edge_info): For comparisons against a boolean
848 ranged object, do nothing if the RHS constant is not [0..1].
849 (optimize_stmt): Comparing a boolean ranged object against a
850 constant outside [0..1] results in a compile-time constant.
852 * tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary
855 2016-01-18 Sandra Loosemore <sandra@codesourcery.com>
857 * doc/invoke.texi (Invoking GCC): Add new section to menu.
858 (Option Summary): Update to reflect new section and moved options.
859 (C++ Dialect Options): Move -fstats to new section.
860 (Debugging Options): Move all dump, statistics, and other GCC
861 developer options to new section. Rewrite section introduction
862 and re-order remaining options to put the more basic ones first.
863 (Optimization Options): Move -fira-verbose and -flto-report* to
865 (Developer Options): New section incorporating moved options.
866 * doc/cppopts.texi (-dM): Update cross-reference.
868 2016-01-18 Richard Henderson <rth@redhat.com>
871 * config/aarch64/aarch64.md (add<GPI>3): Move long immediate
872 operands to pseudo only if CSE is expected. Split long immediate
873 operands only after reload, and for the stack pointer.
874 (*add<GPI>3_pluslong): Remove.
875 (*addsi3_aarch64, *adddi3_aarch64): Merge into...
876 (*add<GPI>3_aarch64): ... here. Add r/rk/Upl alternative.
877 (*addsi3_aarch64_uxtw): Add r/rk/Upl alternative.
878 (*add<GPI>3 peepholes): New.
879 (*add<GPI>3 splitters): New.
880 * config/aarch64/constraints.md (Upl): New.
881 * config/aarch64/predicates.md (aarch64_pluslong_strict_immedate): New.
883 2016-01-18 Richard Biener <rguenther@suse.de>
885 PR tree-optimization/69297
886 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Count each scalar
888 (vect_bb_vectorization_profitable_p): Clear visited flag again.
890 2016-01-18 Yuri Rumyantsev <ysrumyan@gmail.com>
893 * fold-const.c (fold_binary_op_with_conditional_arg): Bail out for case
894 of mixind vector and scalar types.
895 (fold_relational_const): Add handling of vector
896 comparison with boolean result.
897 * tree-cfg.c (verify_gimple_comparison): Add argument CODE, allow
898 comparison of vector operands with boolean result for EQ/NE only.
899 (verify_gimple_assign_binary): Adjust call for verify_gimple_comparison.
900 (verify_gimple_cond): Likewise.
901 * tree-vrp.c (extract_code_and_val_from_cond_with_ops): Modify check on
904 2016-01-18 Joseph Myers <joseph@codesourcery.com>
906 * config/mips/mips.h (ISA_HAS_PAIRED_SINGLE): Require
909 2016-01-18 Richard Biener <rguenther@suse.de>
912 * gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
914 2016-01-18 Tom de Vries <tom@codesourcery.com>
916 * passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
918 2016-01-18 Tom de Vries <tom@codesourcery.com>
920 * omp-low.c (set_oacc_fn_attrib): Make extern.
921 * omp-low.h (set_oacc_fn_attrib): Declare.
922 * tree-parloops.c (struct reduction_info): Add reduc_addr field.
923 (create_call_for_reduction_1): Handle case that reduc_addr is non-NULL.
924 (create_parallel_loop, gen_parallel_loop, try_create_reduction_list):
925 Add and handle function parameter oacc_kernels_p.
926 (find_reduc_addr, get_omp_data_i_param): New function.
927 (ref_conflicts_with_region, oacc_entry_exit_ok_1)
928 (oacc_entry_exit_single_gang, oacc_entry_exit_ok): New function.
929 (parallelize_loops): Add and handle function parameter oacc_kernels_p.
930 Calculate dominance info. Skip loops that are not in a kernels region
931 in oacc_kernels_p mode. Skip inner loops of parallelized loops.
932 (pass_parallelize_loops::execute): Call parallelize_loops with
933 oacc_kernels_p argument.
934 (pass_parallelize_loops::clone, pass_parallelize_loops::set_pass_param):
936 (pass_parallelize_loops::bool oacc_kernels_p): New member var.
937 * passes.def: Add argument to pass_parallelize_loops instantation.
939 2016-01-18 Tom de Vries <tom@codesourcery.com>
941 * tree-parloops.c (pass_parallelize_loops::execute): Allow
942 pass_parallelize_loops to be run outside the loop pipeline.
944 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
946 * tree-scalar-evolution.c (follow_copies_to_constant): New.
947 (analyze_initial_condition, analyze_scalar_evolution_1): Call previous.
949 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
952 * tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
953 using get_ref_base_and_extent.
954 (equal_mem_array_ref_p): New.
955 (hashable_expr_equal_p): Add call to previous.
957 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
960 * tree-sra.c (disqualified_constants, constant_decl_p): New.
961 (sra_initialize): Allocate disqualified_constants.
962 (sra_deinitialize): Free disqualified_constants.
963 (disqualify_candidate): Update disqualified_constants when appropriate.
964 (create_access): Scan for constant-pool entries as we go along.
965 (scalarizable_type_p): Add check against type_contains_placeholder_p.
966 (maybe_add_sra_candidate): Allow constant-pool entries.
967 (load_assign_lhs_subreplacements): Bind debug for constant pool vars.
968 (initialize_constant_pool_replacements): New.
969 (sra_modify_assign): Avoid mangling assignments created by previous,
970 and don't generate writes into constant pool.
971 (sra_modify_function_body): Call initialize_constant_pool_replacements.
973 2016-01-18 Ilya Enkovich <enkovich.gnu@gmail.com>
975 * config/i386/i386.c (scalar_to_vector_candidate_p): Support
977 (scalar_chain::convert_op): Likewise.
978 * config/i386/i386.md (*andndi3_doubleword): New.
980 2016-01-18 Richard Biener <rguenther@suse.de>
982 PR tree-optimization/69170
983 * tree-vect-slp.c (vect_build_slp_tree): Verify we are not
984 building a vector from scalar results of a pattern stmt.
986 2016-01-18 Jakub Jelinek <jakub@redhat.com>
988 * haifa-sched.c (autopref_multipass_init): Work around
989 -Wmaybe-uninitialized warning.
991 2016-01-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
993 * config/arm/arm.c (thumb1_reorg): Check that the comparison is
994 against the constant 0.
996 2016-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
998 PR tree-optimization/68799
999 * gimple-ssa-strength-reduction.c (create_phi_basis): Directly
1000 look up phi candidates in the statement-candidate map.
1001 (phi_add_costs): Likewise.
1002 (record_phi_increments): Likewise.
1003 (phi_incr_cost): Likewise.
1004 (ncd_with_phi): Likewise.
1005 (all_phi_incrs_profitable): Likewise.
1007 2016-01-17 Jakub Jelinek <jakub@redhat.com>
1009 * omp-low.c (mark_loops_in_oacc_kernels_region): Work around
1010 -Wmaybe-uninitialized warning.
1012 2016-01-16 Sandra Loosemore <sandra@codesourcery.com>
1014 * doc/invoke.texi (Invoking GCC): Add new section to menu.
1015 (Option Summary): Update to reflect new section and moved options.
1016 (C++ Dialect Options): Move -fvtable-verify and related options.
1017 (Debugging Options): Move Sanitizer, Pointer Bounds Checker,
1018 and profiling-related options.
1019 (Optimization Options): Move profile generation options and
1020 -fstack-protector and related options.
1021 (Instrumentation Options): New section incorporating moved options.
1022 (Code Generation Options): Move -finstrument-functions and
1023 related options, -fstack-check, -fstack-limit*, and -fbounds-check.
1025 2016-01-16 Tom de Vries <tom@codesourcery.com>
1027 * passes.def: Move pass_expand_omp_ssa out of pass_parallelize_loops.
1029 2016-01-16 Tom de Vries <tom@codesourcery.com>
1031 * omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
1033 2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
1035 * hash-table.h (hash_table::empty): Turn into an inline wrapper
1036 that checks whether the table is already empty. Rename the
1037 original implementation to...
1038 (hash_table::empty_slot): ...this new private function.
1040 2016-01-15 David Malcolm <dmalcolm@redhat.com>
1043 * diagnostic-show-locus.c (layout::print_source_line): Move x
1044 offset of line until after call to
1045 get_line_width_without_trailing_whitespace.
1047 2016-01-15 Jeff Law <law@redhat.com>
1049 PR tree-optimization/69270
1050 * tree-ssanames.c (ssa_name_has_boolean_range): Moved here from
1051 tree-ssa-dom.c. Improve test for [0..1] ranve from VRP.
1052 * tree-ssa-dom.c (ssa_name_has_boolean_range): Remove.
1053 * tree-ssanames.h (ssa_name_has_boolean_range): Prototype.
1054 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
1055 ssa_name_has_boolean_range and constant_boolean_node.
1057 2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
1059 PR rtl-optimization/69030
1060 * lra-spills.c (remove_pseudos): Check nrefs and make the function
1062 (spill_pseudos): Delete debug insn for dead pseudo.
1063 (lra_spill): Initiate spill_hard_reg and slots memory separately.
1065 2016-01-15 Jiong Wang <jiong.wang@arm.com>
1067 * config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
1069 (TYPES_UNOPUS): Likewise.
1070 * config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
1071 builtin type, from UNOP to UNOPUS.
1072 (lbtruncuv4sf): Likewise.
1073 (lbtruncuv2df): Likewise.
1074 (lrounduv2sf): Likewise.
1075 (lrounduv4sf): Likewise.
1076 (lrounduv2df): Likewise.
1077 (lroundusf): Likewise.
1078 (lroundusf): Likewise.
1079 (lceiluv2sf): Likewise.
1080 (lceiluv4sf): Likewise.
1081 (lceiluv2df): Likewise.
1082 (lceilusf): Likewise.
1083 (lceiludf): Likewise.
1084 (lflooruv2sf): Likewise.
1085 (lflooruv4sf): Likewise.
1086 (lflooruv2df): Likewise.
1087 (lfloorusf): Likewise.
1088 (lfloorudf): Likewise.
1089 (lfrintnuv2sf): Likewise.
1090 (lfrintnuv4sf): Likewise.
1091 (lfrintnuv2df): Likewise.
1092 (lfrintnusf): Likewise.
1093 (lfrintnudf): Likewise.
1094 * config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
1096 (vcvtq_u32_f32): Likewise.
1097 (vcvtq_u64_f64): Likewise.
1098 (vcvta_u32_f32): Likewise.
1099 (vcvtaq_u32_f32): Likewise.
1100 (vcvtaq_u64_f64): Likewise.
1101 (vcvtm_u32_f32): Likewise.
1102 (vcvtmq_u32_f32): Likewise.
1103 (vcvtmq_u64_f64): Likewise.
1104 (vcvtn_u32_f32): Likwise.
1105 (vcvtnq_u32_f32): Likewise.
1106 (vcvtnq_u64_f64): Likewise.
1107 (vcvtp_u32_f32): Likewise.
1108 (vcvtpq_u32_f32): Likewise.
1109 (vcvtpq_u64_f64): Likewise.
1110 (vcvtmd_u64_f64): Likewise.
1111 (vcvtms_u32_f32): Likewise.
1112 (vcvtad_u64_f64): Likewise.
1113 (vcvtas_u32_f32): Likewise.
1114 (vcvtnd_u64_f64): Likewise.
1115 (vcvtns_u32_f32): Likewise.
1116 (vcvtpd_u64_f64): Likewise.
1117 (vcvtps_u32_f32): Likewise.
1119 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1121 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
1122 CSEL of zero_extended registers.
1124 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1126 * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
1127 Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
1129 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1131 * config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
1132 false when argument string is not found in the attributes table
1135 2016-01-15 David Edelsohn <dje.gcc@gmail.com>
1138 * config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
1139 (rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
1140 * config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
1143 2016-01-15 Richard Biener <rguenther@suse.de>
1145 PR tree-optimization/66856
1146 * tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
1147 * tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
1148 (vect_create_new_slp_node): Increment stmt reference count.
1149 (vect_get_and_check_slp_defs): Make sure stmts are nor already in
1150 an SLP tree before swapping operands.
1151 (vect_build_slp_tree): Likewise.
1152 (destroy_bb_vec_info): Free stmt info after SLP instances.
1153 * tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
1154 * tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
1155 (STMT_VINFO_NUM_SLP_USES): New macro.
1157 2016-01-15 Richard Biener <rguenther@suse.de>
1160 * dwarf2out.c (add_linkage_name_raw): New function split out from ...
1161 (add_linkage_name): ... here.
1162 (gen_typedef_die): Use add_linkage_name_raw instead of
1163 add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
1166 2016-01-15 Cesar Philippidis <cesar@codesourcery.com>
1168 * gimplify.c (oacc_default_clause): Decode reference and pointer
1169 types for both kernels and parallel regions.
1171 2016-01-15 Richard Sandiford <richard.sandiford@arm.com>
1174 * calls.c (emit_call_1): Force n_popped to zero for sibcalls.
1176 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
1178 * config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
1179 (convert_scalars_to_vector): Likewise.
1181 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
1183 * doc/extend.texi (Type Traits): Fix grammar.
1185 2016-01-15 Martin Jambor <mjambor@suse.cz>
1187 * tree-inline.c (remap_decl): Use existing dclarations if
1188 remapping a type and prevent_decl_creation_for_types.
1189 (replace_locals_stmt): Do an initial remapping of non-VLA typed
1190 decls first. Do real remapping with
1191 prevent_decl_creation_for_types set.
1192 * tree-inline.h (copy_body_data): New field
1193 prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
1196 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
1198 * config/s390/s390.opt (mmvcle): More verbose help text.
1200 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
1202 * config/s390/s390.opt: Add period to -mzvector option text.
1204 2016-01-15 Richard Biener <rguenther@suse.de>
1206 PR tree-optimization/68961
1207 * tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
1208 of invariants in stores again.
1210 2016-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
1212 * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
1214 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
1216 * config/i386/i386.c (ix86_expand_branch): Don't split
1217 DI mode xor instruction to SI mode.
1219 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
1222 * ipa-icf.c (sem_function::merge): Virtual functions may become
1223 reachable even if they address is not taken and there are no
1226 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
1228 * lto-streamer-out.c (subtract_estimated_size): New function.
1229 (get_symbol_initial_value): Use it.
1231 2016-01-15 Christian Bruel <christian.bruel@st.com>
1234 * config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
1235 (arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
1236 (arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
1237 use add_builtin_function_ext_scope instead of add_builtin_function.
1238 (neon_set_p, neon_crypto_set_p): Remove.
1239 (arm_init_builtins): Always call arm_init_neon_builtins and
1240 arm_init_crypto_builtins.
1241 (arm_expand_builtin): Check that builtins are allowed for the arch.
1242 * config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
1243 * config/arm/arm.c (arm_valid_target_attribute_tree): Remove
1244 arm_init_neon_builtins call.
1246 2016-01-15 Richard Biener <rguenther@suse.de>
1248 PR tree-optimization/69117
1249 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
1250 * tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
1251 of the leader conservatively.
1252 (free_scc_vn): Restore original SSA name infos.
1254 2016-01-14 Jeff Law <law@redhat.com>
1256 PR tree-optimization/69270
1257 * tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
1258 single bit of precision, verify it's also unsigned.
1259 (record_edge_info): Use constant_boolean_node rather than fold_convert
1260 to convert boolean_true/boolean_false to the right type.
1262 2016-01-14 Richard Henderson <rth@redhat.com>
1265 * loop-doloop.c (record_reg_sets): New.
1266 (doloop_optimize): Reject the transform if the sequence
1267 clobbers registers live at the end of the loop block.
1268 (doloop_optimize_loops): Enable df_live if needed.
1270 2016-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
1272 * config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
1273 * gcc/config/rs6000/rs6000.c: Likewise.
1274 * gcc/config/rs6000/rs6000.h: Likewise.
1275 * gcc/config/rs6000/rs6000.md: Likewise.
1276 * gcc/doc/extend.texi: Likewsie.
1278 2016-01-14 Jeff Law <law@redhat.com>
1280 * tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
1283 2016-01-14 Richard Henderson <rth@redhat.com>
1287 * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
1288 * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
1289 instead of builtin_decl_declared_p to test for declaration.
1291 2016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
1293 * doc/loop.texi (Loop Analysis and Representation): Document
1294 loop_depth function.
1296 2016-01-14 Tom de Vries <tom@codesourcery.com>
1298 PR tree-optimization/68773
1299 * omp-low.c (expand_omp_target): Don't set force_output.
1300 * varpool.c (varpool_node::get_create): Same.
1301 * lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
1302 offload_funcs with force_output.
1304 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1307 * lra-eliminations.c (move_plus_up): Don't change anything if either
1308 the outer or inner subreg mode is not MODE_INT.
1309 * dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
1310 integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
1312 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
1314 * doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
1315 reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
1316 reduc_uplus_@var{m}): Remove.
1317 * expr.c (expand_expr_real_2): Remove expansion path for
1318 reduc_[us](min|max|plus) optabs.
1319 * optabs-tree.c (scalar_reduc_to_vector): Remove.
1320 * optabs-tree.h (scalar_reduc_to_vector): Remove.
1321 * optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
1322 reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
1323 * tree-vect-loop.c (vectorizable_reduction): Remove test for
1324 reduc_[us](min|max|plus) optabs.
1326 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
1328 * config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
1329 (reduc_plus_scal_v2sf): New.
1330 (reduc_smax_v2sf): Rename to...
1331 (reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
1332 (reduc_smin_v2sf): Rename to...
1333 (reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
1335 2016-01-14 Jan Hubicka <hubicka@ucw.cz>
1337 * alias.c (compare_base_symbol_refs): New function.
1338 (rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
1341 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1344 PR tree-optimization/69155
1345 * tree-complex.c: Include cfganal.h.
1346 (phis_to_revisit): New variable.
1347 (extract_component): Add phiarg_p argument. Assert that returned
1348 SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
1349 (update_phi_components): Partly rewrite to use loop over real/imag
1350 components instead of code duplication. If extract_component returns
1351 SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
1352 create_tmp_reg into the PHI node instead, and mention the phi triplet
1354 (tree_lower_complex): Walk bbs in rpo order. Adjust phis recorded
1355 in phis_to_revisit at the end.
1357 2016-01-14 Richard Biener <rguenther@suse.de>
1359 PR tree-optimization/68060
1360 * tree-vect-loop.c (vect_is_simple_reduction): Check the
1361 outer loop reduction is only used in the inner loop before
1362 detecting a double reduction.
1364 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1367 * combine.c (expand_field_assignment): Punt if compute_mode is
1368 unsupported scalar mode.
1370 2016-01-14 Richard Biener <rguenther@suse.de>
1372 PR tree-optimization/66856
1373 * tree-vect-slp.c (vect_build_slp_tree): Refactor to build
1374 SLP node only if it built successfully.
1375 (vect_analyze_slp_instance): Adjust.
1377 2016-01-14 Jeff Law <law@redhat.com>
1379 PR tree-optimization/69270
1380 * tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
1381 (record_edge_info): Use it. Convert boolean_{true,false}_node
1384 2016-01-13 Jan Hubicka <hubicka@ucw.cz>
1387 * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
1388 use block_ultimate_origin
1389 (noncall-stmt_may_be_vtbl_ptr_store): Likewise.
1391 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
1393 * doc/invoke.texi (Submodel Options): Rename section to
1394 "Machine-Dependent Options" to better reflect its content.
1395 Rewrite introductory text to remove archaic CPU names.
1398 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
1400 * doc/invoke.texi (Code Gen Options): Move section up in file,
1401 before target-specific options. Update menu and option summary
1402 to reflect the new section ordering.
1404 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
1406 * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
1407 (C++ Dialect Options): Add cross-reference to -std option.
1408 * doc/standards.texi (C++ Language): Document C++14 support.
1410 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1412 * config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
1413 for pack/unpack functions for __ibm128.
1414 (PACK_IF): Likewise.
1415 (UNPACK_IF): Likewise.
1417 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
1418 support for __ibm128 pack/unpack functions.
1419 (rs6000_invalid_builtin): Likewise.
1420 (rs6000_init_builtins): Likewise.
1421 (rs6000_opt_masks): Likewise.
1423 * config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
1424 (RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
1426 (RS6000_BTM_COMMON): Likewise.
1428 * config/rs6000/rs6000.md (f128_vsx): New mode attribute.
1429 (unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
1430 disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
1431 128-bit floating point. Add support for the double values to be
1432 in Altivec registers for TF/IF packing and unpacking, but restrict
1433 TD packing sub-fields to be FPR registers. Don't allow overlapped
1434 register support for packing. Allow pack inputs to be memory
1435 locations. Don't build generator functions for unpack<mode>_dm
1436 and unpack<mode>_nodm.
1437 (unpack<mode>_dm): Likewise.
1438 (unpack<mode>_nodm): Likewise.
1439 (pack<mode>): Likewise.
1441 * config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
1442 built-in functions to pack/unpack explicit __ibm128 values.
1443 (__builtin_unpack_ibm128): Likewise.
1445 * doc/extend.texi (PowerPC Built-in Functions): Document
1446 __builtin_pack_ibm128 and __builtin_unpack_ibm128.
1448 2016-01-13 Bernd Schmidt <bschmidt@redhat.com>
1451 * c-common.c (check_function_nonnull): Remove unnecessary declaration.
1452 Add new arg loc and pass it down as context.
1453 (check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
1454 to the location to use for the warning.
1455 (check_function_arguments): New arg loc. All callers changed. Pass
1456 it to check_function_nonnull.
1457 * c-common.h (check_function_arguments): Adjust declaration.
1459 2016-01-13 Jakub Jelinek <jakub@redhat.com>
1461 PR tree-optimization/69156
1462 * gimple.c (validate_type): Removed.
1463 (gimple_builtin_call_types_compatible_p): Use
1464 useless_type_conversion_p instead of validate_type.
1465 * value-prof.c (gimple_stringop_fixed_value): Fold
1466 icall_size to correct type.
1468 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
1470 * doc/extend.texi (__atomic Builtins): Clarify compare_exchange
1473 2016-01-13 Richard Henderson <rth@redhat.com>
1476 * target.def (builtin_tm_load, builtin_tm_store): Remove.
1477 * config/i386/i386.c (ix86_builtin_tm_load): Remove.
1478 (ix86_builtin_tm_store): Remove.
1479 (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
1480 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
1481 * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
1482 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
1483 * doc/tm.texi: Rebuild.
1485 * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
1486 (BUILT_IN_TM_MEMCPY_RTWN): New.
1487 * trans-mem.c (tm_log_emit_stmt): Rearrange code for better
1488 fallback from vector to integer helpers.
1489 (build_tm_load): Handle vector types directly, instead of
1491 (build_tm_store): Likewise.
1492 (expand_assign_tm): Prepare for register types not handled by
1493 the above. Copy them to memory and use memcpy.
1494 * tree.c (tm_define_builtin): New.
1495 (find_tm_vector_type): New.
1496 (build_tm_vector_builtins): New.
1497 (build_common_builtin_nodes): Call it.
1499 2016-01-13 Uros Bizjak <ubizjak@gmail.com>
1501 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
1502 TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
1504 2016-01-13 Tom de Vries <tom@codesourcery.com>
1506 PR tree-optimization/69169
1507 * tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
1508 handled_struct_type param.
1509 (create_variable_info_for, intra_create_variable_infos): Call
1510 create_variable_info_for_1 with extra arg.
1512 2016-01-13 Yvan Roux <yvan.roux@linaro.org>
1514 * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
1515 and "armv8.1-a+crc" entries.
1517 2016-01-13 Alexander Fomin <alexander.fomin@intel.com>
1520 * config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
1521 Change first operand predicate from register_or_constm1_operand
1522 to register_operand.
1523 (define_expand "avx512pf_gatherpf<mode>df"): Likewise.
1524 (define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
1525 (define_expand "avx512pf_scatterpf<mode>df"): Likewise.
1526 (define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
1527 (define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
1528 (define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
1529 (define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
1530 * config/i386/i386.c (ix86_expand_builtin): Remove first operand
1531 comparison with constm1_rtx from vec_prefetch_gen part.
1533 2016-01-13 Richard Biener <rguenther@suse.de>
1535 PR tree-optimization/69013
1536 * tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
1537 Exchange assert for a test.
1539 2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1542 * config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
1544 2016-01-13 Richard Biener <rguenther@suse.de>
1546 PR tree-optimization/69242
1547 * tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
1548 assert with a check.
1550 2016-01-13 Richard Biener <rguenther@suse.de>
1552 PR tree-optimization/69186
1553 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
1554 Properly guard vect_update_misalignment_for_peel call.
1556 2016-01-12 Jeff Law <law@redhat.com>
1558 PR tree-optimization/pr67755
1559 * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
1560 "need_profile_correction".
1561 (thread_block_1): Initialize new field to false by default. If we
1562 have multiple thread paths through a common joiner to different
1563 final targets, then set new field to true.
1564 (compute_path_counts): Only do count adjustment when it's really
1567 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
1569 * doc/invoke.texi (Spec Files): Move section down in file, past
1570 all command-line option descriptions.
1572 2016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1575 * doc/gty.texi: Remove documentation of mark_hook.
1576 * gengtype.c (struct write_types_data): Remove code to support
1577 mark_hook attribute.
1578 (walk_type): Likewise.
1579 (write_func_for_structure): Likewise.
1581 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
1583 * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
1584 Directory Options, and -specs= to Overall Options.
1585 (Overall Options): Adjust similarly. Reorder to group related
1586 options together. Make -specs= cross-reference the spec file details.
1587 (Directory Options): Adjust similarly.
1589 2016-01-12 Jeff Law <law@redhat.com>
1591 * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
1593 2016-01-12 Olivier Hainque <hainque@adacore.com>
1595 * gcc.c (spec_undefvar_allowed): New global.
1596 (process_command): Set to true when running for --version or --help,
1598 (getenv_spec_function): When the variable is not defined, use the
1599 variable name as the variable value if we're allowed not to issue
1602 2016-01-12 Bin Cheng <bin.cheng@arm.com>
1604 PR tree-optimization/68911
1605 * tree-vrp.c (adjust_range_with_scev): Check overflow in range
1606 information computed for expression "init + nit * step".
1608 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
1610 * doc/invoke.texi (Invoking GCC): Copy-edit. Incorporate information
1611 about name of GCC executable. Remove deleted node from menu.
1612 (Directory Options) <-B>: Remove cross-reference to deleted node.
1613 (Target Options): Delete section.
1615 2016-01-12 Christian Bruel <christian.bruel@st.com>
1618 * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
1619 for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
1621 2016-01-12 Jakub Jelinek <jakub@redhat.com>
1624 * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
1625 aligned_mem is properly set for AVX512-VL floating point masked
1629 * ifcvt.c (cond_exec_process_if_block): When removing the last
1630 insn from then_bb, remove also any possible barriers that follow it.
1632 2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
1636 * config/i386/iamcu.h (SIZE_TYPE): New macro.
1637 (PTRDIFF_TYPE): Likewise.
1638 (WCHAR_TYPE): Likewise.
1639 (WCHAR_TYPE_SIZE): Likewise.
1640 (STDINT_LONG32): Likewise.
1642 2016-01-12 Richard Biener <rguenther@suse.de>
1644 PR tree-optimization/69053
1645 * tree-vect-loop.c (get_initial_def_for_reduction): Properly
1646 convert initial value for cond reductions.
1648 2016-01-12 Richard Biener <rguenther@suse.de>
1650 PR tree-optimization/69007
1651 * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
1652 widen_sum after dot_prod and sad.
1654 2016-01-12 Richard Biener <rguenther@suse.de>
1656 PR tree-optimization/69168
1657 * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
1658 pattern stmt SLP type.
1659 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
1660 end up unused so cope with that case.
1662 2016-01-12 Richard Biener <rguenther@suse.de>
1664 PR tree-optimization/69157
1665 * tree-vect-stmts.c (vectorizable_mask_load_store): Check
1666 stmts def type only during analyze phase.
1667 (vectorizable_call): Likewise.
1668 (vectorizable_simd_clone_call): Likewise.
1669 (vectorizable_conversion): Likewise.
1670 (vectorizable_assignment): Likewise.
1671 (vectorizable_shift): Likewise.
1672 (vectorizable_operation): Likewise.
1673 (vectorizable_store): Likewise.
1674 (vectorizable_load): Likewise.
1676 2016-01-12 Richard Biener <rguenther@suse.de>
1678 PR tree-optimization/69174
1679 * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
1681 (vectorizable_load): Properly compute the number of loads needed
1682 for permuted strided SLP loads and do not spuriously assign
1683 to SLP_TREE_VEC_STMTS.
1685 2016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
1687 * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
1688 (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
1689 (MD_EXEC_PREFIX): Remove.
1690 (MD_STARTFILE_PREFIX) Removee.
1691 (FILE_NAME_ABSOLUTE_P): Remove.
1692 (CPP_SPEC): Do not read macros from sys/version.h.
1693 (LINK_COMMAND_SPEC): Remove.
1694 (LOCAL_INCLUDE_DIR): Remove.
1695 (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
1696 (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
1697 (POST_LINK_SPEC): Define to invoke stubify after linker
1698 (LIBSTDCXX): Remove define
1699 (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
1700 (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
1701 (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
1702 (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
1703 (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
1704 (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
1705 (i386_djgpp_asm_named_section): Add propotype of new procedure
1707 * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
1708 (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
1709 (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX in config/i386/djgpp.h).
1710 (STANDARD_STARTFILE_PREFIX_2): Define identical to STANDARD_STARTFILE_PREFIX_1.
1711 (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
1712 (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal installation errors.
1713 (MAX_OFILE_ALIGNMENT): Define to 128.
1714 (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
1716 * config/i386/djgpp.c: New file. Add implementation of i386_djgpp_asm_named_section.
1718 * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
1720 * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
1721 Add rule for building djgpp.o.
1723 2016-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1725 * config/rs6000/rs6000.c (v2df_reduction_p): New function.
1726 (rtx_is_swappable_p): Reductions are swappable.
1727 (insn_is_swappable_p): V2DF reductions are swappable.
1729 2016-01-11 John David Anglin <danglin@gcc.gnu.org>
1731 * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
1732 reloads for other unsupported memory operands.
1734 2016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
1735 Jim Wilson <jim.wilson@linaro.org>
1738 * config/arm/arm-builtins.c (arm_expand_neon_args): Call
1739 copy_to_mode_reg instead of force_reg.
1741 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
1744 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
1745 TARGET_80387 is true.
1747 2016-01-11 Jakub Jelinek <jakub@redhat.com>
1750 * lra-eliminations.c (move_plus_up): Only move plus up
1751 if subreg of the constant can be simplified into constant
1752 and use the simplified subreg of the constant instead of
1753 the original constant.
1755 * fold-const.c (fold_convertible_p): Don't return true
1756 for conversion of VECTOR_TYPE to same sized integral type.
1757 (fold_convert_loc): Fix up formatting. Fold conversion of
1758 VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
1759 instead of NOP_EXPR.
1761 PR tree-optimization/69214
1762 * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
1763 innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
1766 PR tree-optimization/69207
1767 * tree-vect-slp.c (vect_get_constant_vectors): For
1768 VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
1769 fold_convertible_p to vector_type's element type, and always
1770 use VCE for non-VECTOR_BOOLEAN_TYPE_P.
1772 2016-01-11 Richard Biener <rguenther@suse.de>
1774 PR tree-optimization/69173
1775 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
1776 fixup the cycle if all stmts are in a pattern.
1778 2016-01-11 Uros Bizjak <ubizjak@gmail.com>
1781 * alias.c (base_alias_check): Move check for addresses with
1782 alignment ANDs before the call for compare_base_decls.
1783 (memrefs_conflict_p): Return -1 for different decls
1784 that went through alignment adjustments.
1786 2016-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1788 PR rtl-optimization/68796
1789 * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
1790 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
1791 and QImode comparisons against zero with CC_NZmode.
1792 * config/aarch64/iterators.md (short_mask): New mode_attr.
1794 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
1796 * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
1797 (<avx512>_store<mode>_mask): Likewise.
1799 2016-01-11 Bernd Schmidt <bschmidt@redhat.com>
1800 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1802 PR rtl-optimization/68841
1803 * ifcvt.c (struct noce_if_info): Add orig_x field.
1804 (bbs_ok_for_cmove_arith): Add to_rename parameter.
1805 Don't record conflicts on to_rename if it's present.
1806 Allow memory destinations in sets.
1807 (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
1808 blocks, passing orig_x to the checks.
1809 (noce_process_if_block): Set if_info->orig_x appropriately.
1811 2016-01-11 Tom de Vries <tom@codesourcery.com>
1813 PR tree-optimization/69069
1814 * tree-parloops.c (create_parallel_loop): Add missing phi args.
1816 2016-01-11 Yuri Rumyantsev <ysrumyan@gmail.com>
1818 PR rtl-optimization/68920
1819 * config/i386/i386.c (ix86_option_override_internal): Restrict number
1820 of conditional moves for RTL if-conversion to 1 for
1821 TARGET_ONE_IF_CONV_INSN.
1822 * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
1823 * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
1824 * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
1825 parameter to restirct number of conditional moves for
1827 * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
1828 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
1831 2016-01-11 Alexandre Oliva <aoliva@redhat.com>
1834 * var-tracking.c (drop_overlapping_mem_locs): Operate on all
1835 onepart vars. Fix typo in comment. Fix reversed condition in
1837 (dataflow_set_remove_mem_locs): Operate on all onepart vars.
1840 * var-tracking.c (dump_onepart_variable_differences): New.
1841 (dataflow_set_different): If a detailed dump is requested,
1842 delay early returns and dump differences between onepart
1843 variables present before and after, and added variables.
1845 2016-01-11 Ilya Enkovich <enkovich.gnu@gmail.com>
1848 * expr.c (expand_expr_real_1): For boolean vector constants
1849 with a scalar mode use const_scalar_mask_from_tree.
1850 (const_scalar_mask_from_tree): New.
1851 * optabs.c (expand_vec_cond_mask_expr): Use mask mode
1852 assigned to a mask type to handle constants.
1854 2016-01-11 Martin Jambor <mjambor@suse.cz>
1857 * ipa-cp.c (estimate_local_effects): Do not clone for removal of
1858 useless parameters if we cannot change function signature.
1860 2016-01-11 Martin Jambor <mjambor@suse.cz>
1863 * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
1866 2016-01-11 Tom de Vries <tom@codesourcery.com>
1868 PR tree-optimization/69109
1869 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
1872 2016-01-11 Tom de Vries <tom@codesourcery.com>
1874 PR tree-optimization/69108
1875 * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
1876 res is not used in a phi.
1878 2016-01-11 Yury Gribov <y.gribov@samsung.com>
1881 * common.opt (frandom-seed): Fix parameter name.
1882 * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
1884 2016-01-11 Tom de Vries <tom@codesourcery.com>
1886 PR tree-optimization/69058
1887 * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
1890 2016-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1892 * config/arc/arc.opt (mdiv-rem): Add period to the end.
1893 (mcode-density): Likewise.
1895 2016-01-10 Tom de Vries <tom@codesourcery.com>
1897 PR tree-optimization/69062
1898 * tree-parloops.c (loop_has_phi_with_address_arg): New function.
1899 (parallelize_loops): Don't paralelize loop that has phi with address
1902 2016-01-10 Tom de Vries <tom@codesourcery.com>
1904 PR tree-optimization/69039
1905 * tree-parloops.c (try_create_reduction_list): Only allow single exit
1908 2016-01-09 John David Anglin <danglin@gcc.gnu.org>
1911 * match.pd: Require target has function_c99_misc before doing
1912 truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
1914 2016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
1916 * configure.ac (isl_options_set_schedule_serialize_sccs): Also
1918 * configure: Regenerate.
1920 2016-01-09 Jakub Jelinek <jakub@redhat.com>
1923 PR tree-optimization/69097
1924 * fold-const.h (expr_not_equal_to): New prototype.
1925 * fold-const.c: Include stringpool.h and tree-ssanames.h.
1926 (expr_not_equal_to): New function.
1927 * match.pd (X % -Y is the same as X % Y): Don't optimize
1928 unless X is known not to be equal to minimum or Y is known
1929 not to be equal to -1.
1930 * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
1931 fold TRUNC_MOD_EXPR if the second argument is not a power of two.
1932 (simplify_stmt_using_ranges): Adjust caller.
1933 (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
1934 substitute_and_fold.
1936 2016-01-09 Jan Hubicka <hubicka@ucw.cz>
1938 * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
1941 2016-01-08 Jakub Jelinek <jakub@redhat.com>
1943 PR tree-optimization/69167
1944 * gimple-fold.c (replace_stmt_with_simplification): Also punt if
1945 new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
1947 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
1949 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
1950 Richard Biener <rguenther@suse.de>
1952 PR tree-optimization/68707
1953 * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
1954 instances that can be handled via vect_load_lanes.
1956 2016-01-08 Uros Bizjak <ubizjak@gmail.com>
1958 * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
1959 if we can't determine address equivalence.
1960 * alias.c (compare_base_decl): Update for changed return value of
1961 symtab_node::equal_address_to.
1963 2016-01-08 Jason Merrill <jason@redhat.com>
1967 * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
1968 * expr.c (store_field): Not here.
1969 * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
1970 call with TREE_ADDRESSABLE type.
1971 * tree-cfg.c (verify_gimple_call): Adjust.
1973 2016-01-08 Olivier Hainque <hainque@adacore.com>
1975 * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
1978 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
1980 * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
1981 (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
1982 (reduc_smin_v2sf): Rename to...
1983 (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
1984 (reduc_splus_v2sf): Rename to...
1985 (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
1987 2016-01-08 Jakub Jelinek <jakub@redhat.com>
1989 PR tree-optimization/69162
1990 * gimplify.c (gimplify_va_arg_expr): Encode original type of
1991 valist argument in another argument.
1992 (gimplify_modify_expr): Adjust for the above change. Cleanup.
1993 * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
1994 to determine the va_list type, build a MEM_REF instead of
1995 build_fold_indirect_ref.
1997 PR tree-optimization/69172
1998 * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
2001 2016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
2003 PR tree-optimization/67781
2004 * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
2005 and cmpnop in two steps: first the ones not accessed in original
2006 gimple expression in a endian independent way and then the ones not
2007 accessed in the final result in an endian-specific way.
2009 2016-01-08 Jakub Jelinek <jakub@redhat.com>
2011 PR tree-optimization/69083
2012 * tree-vect-slp.c (vect_get_constant_vectors): For
2013 VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
2014 element type. If op is fold_convertible_p to vector_type's element
2015 type, use NOP_EXPR instead of VCE.
2017 2016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
2019 PR rtl-optimization/67778
2020 PR rtl-optimization/68634
2021 PR rtl-optimization/68909
2022 * shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
2023 block from the stack until done with it. Remove a superfluous
2024 bitmap set. Remove a superfluous bitmap test.
2026 2016-01-07 Martin Sebor <msebor@redhat.com>
2029 * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
2030 constraint on the type of arguments.
2032 2016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
2034 * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
2035 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
2036 unaligned_access on the gcc_options set.
2037 * config/arm/arm.c (arm_option_override_internal): Use
2038 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
2040 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
2043 * config/i386/i386.c (ix86_frame_pointer_required): Enable
2044 frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
2046 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
2049 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
2052 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
2053 depending on frame_pointer_needed before remaining integer and SSE
2054 registers are saved.
2056 2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
2059 * doc/extend.texi (Nvidia PDX Function Attributes): New section.
2061 2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
2064 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
2065 Use the "xBm" constraint.
2066 (float<sseintvecmodelower><mode>2<mask_name><round_name):
2068 (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
2069 (sse_cvtsi2ssq<round_name>): Likewise.
2070 (sse_cvtss2si<round_name>): Likewise.
2071 (sse_cvtss2siq<round_name>): Likewise.
2072 (sse2_cvtsi2sdq<round_name>): Likewise.
2073 (sse2_cvtsd2si<round_name>): Likewise.
2074 (sse2_cvtsd2siq<round_name>): Likewise.
2075 * config/i386/subst.md (round_nimm_scalar_predicate): New
2078 2015-12-15 Bernd Schmidt <bschmidt@redhat.com>
2081 * varasm.c (make_decl_rtl): Mark invalid register vars as
2084 PR rtl-optimization/66206
2085 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
2086 All callers changed.
2088 2016-01-07 Jakub Jelinek <jakub@redhat.com>
2090 PR tree-optimization/69141
2091 * tree-ssa-pre.c: Include langhooks.h.
2092 (eliminate_dom_walker::before_dom_children): Use
2093 lang_hooks.decl_printable_name instead of
2094 cgraph_node::get ()->name ().
2097 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
2098 it and DECL_ALIGN too.
2100 2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
2102 * config/mips/mips-ftypes.def: Sort to lexicographical order.
2104 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
2107 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
2108 depending on frame_pointer_needed before remaining integer and SSE
2109 registers are saved.
2111 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2113 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
2114 mode iterator with VSX_M2.
2115 (*p9_vecstore_<mode>): Likewise.
2116 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
2117 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
2118 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
2119 (define_split for VSX_LE128 stores): Likewise.
2120 (define_peephole2 for TImode LE swaps): Likewise.
2121 (define_split for VSX_LE128 post-reload stores): Likewise.
2123 2016-01-06 Marek Polacek <polacek@redhat.com>
2126 * convert.c (convert_to_integer_1): Adjust call to
2127 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
2128 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
2129 EXPR instead of ARG.
2130 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
2132 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2135 * doc/extend.texi (RL78 Variable Attributes): New section.
2137 2016-01-05 Marek Polacek <polacek@redhat.com>
2140 * builtins.c (get_memmodel): Use expansion point location rather than
2141 the input location. Call warning_at rather than warning.
2142 (expand_builtin_atomic_compare_exchange): Likewise.
2143 (expand_builtin_atomic_load): Likewise.
2144 (expand_builtin_atomic_store): Likewise.
2145 (expand_builtin_atomic_clear): Likewise.
2147 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2150 * config/i386/i386.c (ix86_expand_vector_logical_operator):
2151 Replace nonimmediate_operand with vector_operand.
2152 * config/i386/predicates.md (vector_operand): New predicate.
2153 (general_vector_operand): Replace nonimmediate_operand with
2155 * config/i386/sse.md: Replace nonimmediate_operand with
2156 vector_operand and m constraint with Bm constraint on SSE
2157 patterns with 16-byte memory operand.
2158 * config/i386/subst.md (round_nimm_predicate): Replace
2159 nonimmediate_operand with vector_operand.
2160 (round_saeonly_nimm_predicate): Likewise.
2161 (round_saeonly_nimm_scalar_predicate): New.
2163 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2166 * config/i386/constraints.md (Bm): New constraint.
2167 * config/i386/predicates.md (vector_memory_operand): New
2169 * config/i386/sse.md: Replace xm with xBm in plusminus and
2172 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2175 * doc/extend.texi (V850 Function Attributes): New section.
2176 (V850 Variable Attributes): New section.
2178 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2181 * doc/extend.texi (MicroBlaze Function Attributes): Document
2182 interrupt_handler and fast_interrupt attributes.
2184 2016-01-05 Sergei Trofimovich <siarheit@google.com>
2187 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
2188 for local symbolic operands.
2189 * config/ia64/predicates.md (local_symbolic_operand64): New
2192 2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2194 PR rtl-optimization/68651
2195 * combine.c (combine_simplify_rtx): Canonicalize x + x into
2198 2016-01-05 Nathan Sidwell <nathan@acm.org>
2200 * alias.c (compare_base_decls): Use symtab_node::get.
2202 2016-01-05 Nick Clifton <nickc@redhat.com>
2205 * ira-costs.c (copy_cost): Initialise the t_icode field of the
2206 secondary_reload_info structure.
2209 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
2210 decls if weak support is available.
2212 2016-01-04 Martin Sebor <msebor@redhat.com>
2214 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
2216 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
2218 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
2219 OPTION_MASK_P9_DFORM.
2221 * config/rs6000/constraints.md (wo constraint): New constraint for
2224 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
2226 (rs6000_init_hard_regno_mode_ok): Likewise.
2228 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
2231 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
2232 expanders not to have constraints. Add support for ISA 3.0 xxperm
2233 instruction. Add support for fusing xxlor with xxperm.
2234 (altivec_vperm_<mode>_internal): Likewise.
2235 (altivec_vperm_v8hiv16qi): Likewise.
2236 (altivec_vperm_<mode>v16q): Likewise.
2237 (altivec_vperm_<mode>_uns): Likewise.
2238 (vperm_v8hiv4si): Likewise.
2239 (vperm_v16qiv8hi): Likewise.
2241 * doc/md.texi (RS/6000 constraints): Document wo constraint.
2243 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2245 Update copyright years.
2247 * gcc.c (process_command): Update copyright notice dates.
2248 * gcov-dump.c (print_version): Ditto.
2249 * gcov.c (print_version): Ditto.
2250 * gcov-tool.c (print_version): Ditto.
2251 * gengtype.c (create_file): Ditto.
2252 * doc/cpp.texi: Bump @copying's copyright year.
2253 * doc/cppinternals.texi: Ditto.
2254 * doc/gcc.texi: Ditto.
2255 * doc/gccint.texi: Ditto.
2256 * doc/gcov.texi: Ditto.
2257 * doc/install.texi: Ditto.
2258 * doc/invoke.texi: Ditto.
2260 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2262 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
2263 modes larger than TImode as TImode if NEON is not enabled.
2265 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2268 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
2269 mode for %f0-%f31 only if TARGET_FPU.
2271 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2274 * config/sparc/sparc.c (scan_record_type): Take into account subfields
2275 to compute the PACKED_P predicate.
2276 (function_arg_record_value): Minor tweaks.
2278 2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
2280 * doc/install.texi (--with-multilib-list): Describe the meaning of the
2281 option for arm*-*-* targets.
2283 2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
2285 * doc/extend.texi (Common Function Attributes): Move docs for
2286 MSP430-specific attributes to....
2287 (MSP430 Function Attributes): ...here. Delete the redundant
2288 entries and copy-edit the remaining text.
2289 (MSP430 Variable Attributes): Use uniform format for index
2290 entries and add a cross-reference to the corresponding function
2293 2016-01-03 Vladimír Čunát <vcunat@gmail.com>
2295 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
2297 (x86 Options): Likewise.
2299 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
2303 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
2304 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
2305 to corresponding attribute.
2307 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
2309 * doc/extend.texi (Common Function Attributes) <noplt>: Move
2310 to correct alphabetization of table. Copy-edit and correct
2312 <stack_protect>: Likewise.
2313 <target_clones>: Likewise.
2315 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
2316 Correct punctuation.
2317 (Code Gen Options) <-fno-plt>: Copy-edit.
2319 2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
2322 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
2323 SI values. Explicitly convert SI to DI and vice-versa.
2325 2016-01-01 Jakub Jelinek <jakub@redhat.com>
2327 PR tree-optimization/69070
2328 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
2329 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
2332 * ubsan.c (ubsan_instrument_float_cast): Call
2333 initialize_sanitizer_builtins.
2336 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
2338 Copyright (C) 2016 Free Software Foundation, Inc.
2340 Copying and distribution of this file, with or without modification,
2341 are permitted in any medium without royalty provided the copyright
2342 notice and this notice are preserved.