1 2016-01-27 Segher Boessenkool <segher@kernel.crashing.org>
3 * config/rs6000/rs6000.c (print_operand): Rollback 's' removal.
5 2016-01-27 Jeff Law <law@redhat.com>
7 PR tree-optimization/68398
8 PR tree-optimization/69196
9 * params.def (PARAM_FSM_SCALE_PATH_STMTS): New parameter.
10 (PARAM_FSM_SCALE_PATH_BLOCKS): Likewise.
11 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
12 Only count PHIs in the last block in the path. The others will
13 const/copy propagate away. Add heuristic to allow more irreducible
14 subloops to be created when it is likely profitable to do so.
16 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
17 Fix typo in comment. Use gsi_after_labels and remove the GIMPLE_LABEL
18 check from within the loop. Use gsi_next_nondebug rather than gsi_next.
20 2016-01-27 Jakub Jelinek <jakub@redhat.com>
23 * sanitizer.def: Add BEGIN_SANITIZER_BUILTINS and
24 END_SANITIZER_BUILTINS markers using DEF_BUILTIN_STUB.
25 * asan.c (DEF_BUILTIN_STUB): Temporarily define.
26 * tree-streamer-in.c: Include asan.h.
27 (streamer_get_builtin_tree): For builtins in sanitizer
28 range call initialize_sanitizer_builtins and retry.
30 2016-01-27 Ian Lance Taylor <iant@google.com>
32 * common.opt (fkeep-gc-roots-live): New undocumented option.
33 * tree-ssa-loop-ivopts.c (add_candidate_1): If
34 -fkeep-gc-roots-live, skip pointers.
35 (add_iv_candidate_for_biv): Handle add_candidate_1 returning
38 2016-01-27 Uros Bizjak <ubizjak@gmail.com>
41 * config/i386/i386.md (*zext<mode>_doubleword_and): New pattern.
42 (*zext<mode>_doubleword): Disable for TARGET_ZERO_EXTEND_WITH_AND.
44 2016-01-27 Thomas Klausner <wiz@NetBSD.org>
47 * configure.ac: NetBSD provides SSP in its C library.
50 2016-01-27 Richard Biener <rguenther@suse.de>
52 PR tree-optimization/69166
53 * tree-vect-loop.c (vect_is_simple_reduction): Always check
54 reduction code for commutativity / associativity.
56 2016-01-27 Martin Jambor <mjambor@suse.cz>
58 PR tree-optimization/69355
59 * tree-sra.c (analyze_access_subtree): Correct hole detection when
60 total_scalarization fails.
62 2016-01-27 David Edelsohn <dje.gcc@gmail.com>
64 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add
67 2016-01-27 Christian Bruel <christian.bruel@st.com>
70 * config/arm/arm-c.c (arm_pragma_target_parse): Add comments.
71 Move arm_reset_previous_fndecl and set_target_option_current_node in
72 the conditional part. Call save_restore_target_globals.
73 * config/arm/arm.c (arm_set_current_function):
74 Refactor to better support #pragma target and attribute mix.
75 Call save_restore_target_globals.
76 * config/arm/arm-protos.h (save_restore_target_globals): New function.
78 2016-01-27 Martin Liska <mliska@suse.cz>
80 * hsa.c (hsa_summary_t::link_functions): Create IPA_REF_ADDR
81 reference for an HSA kernel and its host function.
83 2016-01-27 Jakub Jelinek <jakub@redhat.com>
85 PR tree-optimization/69399
86 * wide-int.h (wi::lrshift): For larger precisions, only
87 use fast path if shift is known to be < HOST_BITS_PER_WIDE_INT.
89 2016-01-27 Claudiu Zissulescu <claziss@synopsys.com>
91 * config/arc/predicates.md (proper_comparison_operator): Reject
92 constant-constant comparison.
94 2016-01-26 Tom de Vries <tom@codesourcery.com>
96 PR tree-optimization/69110
97 * tree-data-ref.c (initialize_data_dependence_relation): Handle
98 DR_NUM_DIMENSIONS == 0.
100 2016-01-26 Abderrazek Zaafrani <a.zaafrani@samsung.com>
101 Sebastian Pop <s.pop@samsung.com>
103 * graphite-isl-ast-to-gimple.c (ternary_op_to_tree): Handle
104 isl_ast_op_cond and isl_ast_op_select.
105 (gcc_expression_from_isl_expr_op): Same.
107 2016-01-26 Jason Merrill <jason@redhat.com>
110 * tree.c (recompute_constructor_flags): Split out from
112 (verify_constructor_flags): New.
113 * tree.h: Declare them.
115 2016-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
117 PR rtl-optimization/69217
118 * var-tracking.c (tracked_record_parameter_p): Don't segfault if there
119 are no TYPE_FIELDS set for the record type.
121 2016-01-26 Jakub Jelinek <jakub@redhat.com>
124 * config/rs6000/rs6000.c (rs6000_option_override_internal): Initialize
125 toc_label_name unconditionally.
126 (rs6000_emit_load_toc_table): Call ggc_strdup on toc_label_name for
127 SYMBOL_REF string. Use toc_label_name instead of constructing
129 (rs6000_elf_declare_function_name): Use toc_label_name instead of
132 2016-01-26 Martin Sebor <msebor@redhat.com>
135 * doc/extend.texi (Common Type Attributes): Move text that talks about
136 attribute packed from attribute aligned to the section discussing
137 the former attribute for clarity.
139 2016-01-26 Richard Henderson <rth@redhat.com>
142 * trans-mem.c (tm_region_init): Mark entry block as visited.
144 2016-01-26 David Malcolm <dmalcolm@redhat.com>
147 * diagnostic-show-locus.c (layout::print_source_line): Replace
148 call to pp_newline with call to layout::print_newline.
149 (layout::print_annotation_line): Likewise.
150 (layout::move_to_column): Likewise.
151 (layout::print_any_fixits): After printing any fixits, print a
152 trailing newline, if necessary.
153 (layout::print_newline): New method, resetting any colorization
155 (diagnostic_show_locus): Move the pp_newline to before the
156 early bailout. Remove dummy block enclosing the layout instance.
157 * diagnostic.c (default_diagnostic_finalizer): Replace invocation
158 of pp_newline_and_flush with pp_flush.
159 (diagnostic_append_note): Delete use of pp_newline.
160 (diagnostic_append_note_at_rich_loc): Delete.
161 * diagnostic.h (diagnostic_append_note_at_rich_loc): Delete.
162 * pretty-print.h (output_buffer_append_r): Reset buff->line_length
163 when newline characters are added to the buffer.
165 2016-01-26 Michael Matz <matz@suse.de>
167 * configure.ac (ac_cv_std_swap_in_utility): New test.
168 * system.h (<algorithm>): Check HAVE_SWAP_IN_UTILITY as well.
169 * configure: Regenerate.
170 * config.in: Regenerate.
172 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
174 * config/arc/arc.md (cstoresi4): Force operand into register.
175 (arcset<code>): Fix predicate.
176 (arcsetltu): Likewise.
177 (arcsetgeu): Likewise.
178 (arcsethi): Likewise.
179 (arcsetls): Likewise.
181 2016-01-26 Jakub Jelinek <jakub@redhat.com>
183 PR tree-optimization/69483
184 * gimple-fold.c (canonicalize_constructor_val): Return NULL
185 if base has error_mark_node type.
187 2016-01-26 Christophe Lyon <christophe.lyon@linaro.org>
190 * config/arm/arm.c (neon_valid_immediate): Handle FP16 vectors.
191 * config/arm/arm_neon.h (__ARM_NUM_LANES, __arm_lane, arm_lanq):
193 (vget_lane_f16): Handle big-endian.
194 (vgetq_lane_f16): Likewise.
195 (vset_lane_f16): Likewise.
196 (vsetq_lane_f16): Likewise.
197 * config/arm/iterators.md (VQXMOV): Add V8HF.
198 (VDQ): Add V4HF and V8HF.
199 (V_reg): Handle V4HF and V8HF.
200 (Is_float_mode): Likewise.
201 * config/arm/neon.md (movv4hf, movv8hf, neon_vdup_nv4hf,
202 neon_vdup_nv8hf): New patterns.
203 (vec_set<mode>_internal, vec_extract<mode>, neon_vld1_dup<mode>):
204 Use VD_LANE iterator.
205 (neon_vld1_dup<mode>): Use VQ2 iterator.
207 2016-01-26 Nathan Sidwell <nathan@acm.org>
209 * omp-low.h (oacc_fn_attrib_kernels_p): Declare.
210 (set_oacc_fn_attrib): Add IS_KERNEL arg.
211 * omp-low.c (set_oacc_fn_attrib): Add IS_KERNEL arg.
212 (oacc_fn_attrib_kernels_p, oacc_fn_attrib_level): New.
213 (expand_omp_target): Pass is_kernel to set_oacc_fn_attrib.
214 (oacc_validate_dims): Add LEVEL arg, don't return level.
215 (new_oacc_loop_routine): Use oacc_fn_attrib_level, not
217 (execute_oacc_device_lower): Adjust, add more dump output.
218 * tree-ssa-loop.c (gate_oacc_kernels): Use
219 oacc_fn_attrib_kernels_p.
220 * tree-parloops.c (create_parallel_loop): Adjust
221 set_oacc_fn_attrib call.
223 2016-01-26 Jakub Jelinek <jakub@redhat.com>
226 * lto-wrapper.c (merge_and_complain): Handle -fcilkplus.
227 (append_compiler_options): Handle -fcilkplus.
228 (append_linker_options): Ignore -fno-{openmp,openacc,cilkplus}.
230 2016-01-26 Nick Clifton <nickc@redhat.com>
233 * config/i386/winnt.c (i386_pe_binds_local_p): If a function has
234 been marked as DECL_ONE_ONLY but we do not the means to make it
235 so, then do not allow it to bind locally.
237 2016-01-26 Jakub Jelinek <jakub@redhat.com>
240 * opts.h (parse_sanitizer_options): New prototype.
241 * opts.c (sanitizer_opts): New array.
242 (parse_sanitizer_options): New function.
243 (common_handle_option): Use parse_sanitizer_options.
245 2016-01-26 H.J. Lu <hongjiu.lu@intel.com>
248 * config/i386/i386.c (ix86_compute_frame_layout): Move stack
249 alignment adjustment to ...
250 (ix86_update_stack_boundary): Here. Don't over-align stack for
252 (ix86_finalize_stack_realign_flags): Use stack_alignment_needed
253 if __tls_get_addr is called.
255 2016-01-26 Christian Bruel <christian.bruel@st.com>
257 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Remove.
259 2016-01-26 Eric Botcazou <ebotcazou@adacore.com>
261 * config/ia64/ia64.c (ia64_expand_vecint_compare): Use gen_int_mode.
263 2016-01-26 Richard Biener <rguenther@suse.de>
266 * match.pd: Guard X * CST CMP 0 pattern with single_use.
268 2016-01-26 Richard Biener <rguenther@suse.de>
270 PR tree-optimization/69452
271 * tree-ssa-loop-im.c (move_computations_dom_walker): Remove.
272 (move_computations_dom_walker::before_dom_children): Rename
274 (move_computations_worker): This.
275 (move_computations): Perform an RPO rather than a DOM walk.
277 2016-01-26 Jakub Jelinek <jakub@redhat.com>
280 * combine.c (combine_instructions): For REG_EQUAL note with
281 SET_DEST being ZERO_EXTRACT, also temporarily set SET_DEST
282 to the underlying register.
283 * doc/rtl.texi (REG_EQUAL): Document the behavior of
284 REG_EQUAL/REG_EQUIV notes if SET_DEST is ZERO_EXTRACT.
286 2016-01-26 Roger Ferrer Ibáñez <rofirrim@gmail.com>
289 * config/aarch64/aarch64-builtins.c
290 (aarch64_init_simd_builtin_types): Do not set structural
291 equality to __Poly{8,16,64,128}_t types.
293 2016-01-26 Richard Sandiford <richard.sandiford@arm.com>
295 PR tree-optimization/69400
296 * wide-int.cc (wi_pack): Take the precision as argument and
297 perform canonicalization here rather than in the callers.
298 Use the main loop to handle all full-width HWIs. Add a
299 zero HWI if in_len isn't a full result.
300 (wi::divmod_internal): Update accordingly.
301 (wi::mul_internal): Likewise. Simplify.
303 2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
304 Sebastian Pop <s.pop@samsung.com>
306 * graphite-poly.c (apply_poly_transforms): Simplify.
307 (print_isl_set): Use more readable format: ISL_YAML_STYLE_BLOCK.
308 (print_isl_map): Same.
309 (print_isl_union_map): Same.
310 (print_isl_schedule): New.
311 (debug_isl_schedule): New.
312 * graphite-dependences.c (scop_get_reads): Do not call
313 isl_union_map_add_map that is undocumented isl functionality.
314 (scop_get_must_writes): Same.
315 (scop_get_may_writes): Same.
316 (scop_get_original_schedule): Remove.
317 (scop_get_dependences): Do not call isl_union_map_compute_flow that
318 is deprecated in isl 0.15. Instead, use isl_union_access_* interface.
319 (compute_deps): Remove.
320 * graphite-isl-ast-to-gimple.c (print_schedule_ast): New.
321 (debug_schedule_ast): New.
322 (translate_isl_ast_to_gimple::scop_to_isl_ast): Call set_separate_option.
323 (graphite_regenerate_ast_isl): Add dump.
324 (translate_isl_ast_to_gimple::scop_to_isl_ast): Generate code
325 from scop->transformed_schedule.
326 (graphite_regenerate_ast_isl): Add more dump.
327 * graphite-optimize-isl.c (optimize_isl): Set
328 scop->transformed_schedule. Check whether schedules are equal.
329 (apply_poly_transforms): Move here.
330 * graphite-poly.c (apply_poly_transforms): ... from here.
331 (free_poly_bb): Static.
333 (pbb_number_of_iterations_at_time): Remove.
334 (print_isl_ast): New.
335 (debug_isl_ast): New.
336 (debug_scop_pbb): New.
337 * graphite-scop-detection.c (print_edge): Move.
339 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Remove.
340 (build_scop_scattering): Remove.
341 (create_pw_aff_from_tree): Assert instead of bailing out.
342 (add_condition_to_pbb): Remove unused code, do not fail.
343 (add_conditions_to_domain): Same.
344 (add_conditions_to_constraints): Remove.
345 (build_scop_context): New.
346 (add_iter_domain_dimension): New.
347 (build_iteration_domains): Initialize pbb->iterators.
348 Call add_conditions_to_domain.
351 (index_outermost_in_loop): New.
352 (index_pbb_in_loop): New.
353 (outermost_pbb_in): New.
354 (add_in_sequence): New.
355 (add_outer_projection): New.
356 (outer_projection_mupa): New.
357 (add_loop_schedule): New.
358 (build_schedule_pbb): New.
359 (build_schedule_loop): New.
360 (embed_in_surrounding_loops): New.
361 (build_schedule_loop_nest): New.
362 (build_original_schedule): New.
363 (build_poly_scop): Call build_original_schedule.
364 * graphite.h: Declare print_isl_schedule and debug_isl_schedule.
365 (free_poly_dr): Remove.
366 (struct poly_bb): Add iterators. Remove schedule, transformed, saved.
367 (free_poly_bb): Remove.
368 (debug_loop_vec): Remove.
369 (print_isl_ast): Declare.
370 (debug_isl_ast): Declare.
371 (scop_do_interchange): Remove.
372 (scop_do_strip_mine): Remove.
373 (scop_do_block): Remove.
374 (flatten_all_loops): Remove.
375 (optimize_isl): Remove.
376 (pbb_number_of_iterations_at_time): Remove.
377 (debug_scop_pbb): Declare.
378 (print_schedule_ast): Declare.
379 (debug_schedule_ast): Declare.
380 (struct scop): Remove schedule. Add original_schedule,
381 transformed_schedule.
382 (free_gimple_poly_bb): Remove.
383 (print_generated_program): Remove.
384 (debug_generated_program): Remove.
385 (unify_scattering_dimensions): Remove.
386 * sese.c (print_edge): ... here.
387 (print_sese): ... here.
388 (debug_edge): ... here.
389 (debug_sese): ... here.
390 * sese.h (print_edge): Declare.
391 (print_sese): Declare.
392 (dump_edge): Declare.
393 (dump_sese): Declare.
395 2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
396 Sebastian Pop <s.pop@samsung.com>
398 * Makefile.in: Set ISLVER in site.exp.
400 2016-01-25 Jakub Jelinek <jakub@redhat.com>
402 * omp-low.c (lower_omp_target) <case USE_DEVICE_PTR>: Set
403 DECL_VALUE_EXPR of new_var even for the non-array case. Look
404 through DECL_VALUE_EXPR for expansion.
406 2016-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
408 * config/mips/mips.c (mips_compute_frame_info): Skip re-computing
409 the frame info after reload completed.
411 2016-01-25 Jeff Law <law@redhat.com>
413 PR tree-optimization/69196
414 PR tree-optimization/68398
415 * tree-ssa-threadupdate.h (enum bb_dom_status): Moved here from
416 tree-ssa-threadupdate.c.
417 (determine_bb_domination_status): Prototype
418 * tree-ssa-threadupdate.c (enum bb_dom_status): Remove
419 (determine_bb_domination_status): No longer static.
420 (valid_jump_thread_path): Remove code to detect characteristics
421 of the jump thread path not associated with correctness.
422 * tree-ssa-threadbackward.c (fsm_find_control_statment_thread_paths):
423 Correct test for thread path length. Count PHIs for real operands as
424 statements that need to be copied. Do not count ASSERT_EXPRs.
425 Look at all the blocks in the thread path. Compute and selectively
426 filter thread paths based on threading through the latch, threading
427 a multiway branch or crossing a multiway branch.
429 2016-01-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
431 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): Add
432 decl with __attribute__ ((unused)) annotation.
434 2016-01-25 Ilya Enkovich <enkovich.gnu@gmail.com>
437 * tree-vect-stmts.c (vectorizable_condition): Check vectype
438 of operands is compatible with a statement vectype.
440 2016-01-25 Eric Botcazou <ebotcazou@adacore.com>
442 * doc/extend.texi (scalar_storage_order type attribute): Fix typo and
443 improve wording for mixed storage order support.
445 2016-01-25 Bilyan Borisov <bilyan.borisov@arm.com>
447 * config/aarch64/arm_neon.h (vcvt_s64_f64): New intrinsic.
448 (vcvt_u64_f64): Likewise.
449 (vcvta_s64_f64): Likewise.
450 (vcvta_u64_f64): Likewise.
451 (vcvtm_s64_f64): Likewise.
452 (vcvtm_u64_f64): Likewise.
453 (vcvtn_s64_f64): Likewise.
454 (vcvtn_u64_f64): Likewise.
455 (vcvtp_s64_f64): Likewise.
456 (vcvtp_u64_f64): Likewise.
458 2016-01-25 Claudiu Zissulescu <claziss@synopsys.com>
460 * config/arc/arc.c (TARGET_DWARF_REGISTER_SPAN): Define.
461 (arc_init): Check validity mll64 option.
462 (arc_save_restore): Use double load/store instruction.
463 (arc_expand_movmem): Likewise.
464 (arc_split_move): Don't split if we have double load/store
465 instructions. Returns a boolean.
466 (arc_process_double_reg_moves): Change function to return boolean
467 instead of a sequence of instructions.
468 (arc_dwarf_register_span): New function.
469 * config/arc/arc-protos.h (arc_split_move): Change prototype.
470 * config/arc/arc.h (TARGET_CPU_CPP_BUILTINS): Define __ARC_LL64__.
471 * config/arc/arc.md (*movdi_insn): Emit ldd/std instructions.
472 (*movdf_insn): Likewise.
473 * config/arc/arc.opt (mll64): New option.
474 * config/arc/predicates.md (even_register_operand): New predicate.
475 * doc/invoke.texi (ARC Options): Add mll64 documentation.
477 2016-01-25 Richard Biener <rguenther@suse.de>
480 * dwarf2out.c (is_naming_typedef_decl): Not when DECL_NAMELESS.
481 * tree-streamer-out.c (pack_ts_base_value_fields): Stream
483 * tree-streamer-in.c (unpack_ts_base_value_fields): Likewise.
485 2016-01-25 Richard Biener <rguenther@suse.de>
487 PR tree-optimization/69376
488 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add range_info_anti_range_p
490 (VN_INFO_ANTI_RANGE_P): New inline.
491 (VN_INFO_RANGE_TYPE): Likewise.
492 * tree-ssa-sccvn.c (set_ssa_val_to): Also record and copy
493 SSA_NAME_ANTI_RANGE_P.
494 (free_scc_vn): Restore SSA_NAME_ANTI_RANGE_P.
495 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
496 Properly query VN_INFO_RANGE_TYPE.
498 2016-01-25 Nick Clifton <nickc@redhat.com>
501 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Remove definition.
503 2016-01-23 Tom de Vries <tom@codesourcery.com>
505 PR tree-optimization/69426
506 * tree-parloops.c (eliminate_local_variables_stmt): Handle vdef of
509 2016-01-23 Jakub Jelinek <jakub@redhat.com>
511 * tree-ssanames.c (release_free_names_and_compact_live_names): Replace
512 "the the" with "the" in the comments.
513 * ipa-devirt.c (build_type_inheritance_graph,
514 update_type_inheritance_graph): Likewise.
515 * tree.c (build_function_type_list_1): Likewise.
516 * cfgloopmanip.c (scale_loop_profile): Likewise.
517 * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Likewise.
518 * gimple-ssa-split-paths.c
519 (find_block_to_duplicate_for_splitting_paths): Likewise.
520 * tree-sra.c (init_subtree_with_zero, clobber_subtree): Likewise.
521 * expr.c (convert_move): Likewise.
522 * var-tracking.c (vt_stack_adjustments): Likewise.
523 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Likewise.
524 * tree-vrp.c (test_for_singularity): Likewise.
526 * tree-vect-stmts.c (vectorizable_condition): Build a VEC_COND_EXPR
527 directly instead of building a temporary tree.
530 * genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
531 remove <algorithm> include.
533 2016-01-22 Jakub Jelinek <jakub@redhat.com>
536 * config/i386/i386.c: Include dojump.h.
537 (expand_small_movmem_or_setmem,
538 expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Spelling
540 (ix86_expand_set_or_movmem): Call do_pending_stack_adjust () early
541 if dynamic_check != -1.
543 2016-01-21 Jeff Law <law@redhat.com>
546 * tree-ssa-dom.c (back_propagate_equivalences): Factored out of
547 record_temporary_equivalences. Rewritten to avoid unnecessary calls
549 (cprop_into_successor_phis): Avoid unnecessary tests.
551 2016-01-22 Richard Henderson <rth@redhat.com>
554 * config/aarch64/aarch64.md (UNSPEC_NZCV): New.
555 (ccmp<mode>, fccmp<mode>, fccmpe<mode>): Use it.
557 2016-01-22 Michael Matz <matz@suse.de>
559 * system.h (string, algorithm): Include only conditionally.
560 (new): Include always under C++.
561 * bb-reorder.c (toplevel): Define INCLUDE_ALGORITHM.
562 * final.c (toplevel): Ditto.
563 * ipa-chkp.c (toplevel): Define INCLUDE_STRING.
564 * genconditions.c (write_header): Make gencondmd.c define
566 * mem-stats.h (mem_usage::print_dash_line): Don't use std::string.
568 * config/aarch64/aarch64.c (toplevel): Define INCLUDE_STRING.
569 * common/config/aarch64/aarch64-common.c (toplevel): Ditto.
571 2016-01-22 Christian Bruel <christian.bruel@st.com>
574 * expr.c (expand_expr_real_1): Reset DECL_MODE if VECTOR_TYPE_P changed.
576 2016-01-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
579 * config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
580 define_insn_and_split. Ensure operands[1] and operands[0] do not
581 get assigned the same register.
583 2016-01-22 Kugan Vivekanandarajah <kuganv@linaro.org>
585 * ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.
587 2016-01-22 Christian Bruel <christian.bruel@st.com>
589 * config/arm/arm-c.c (arm_pragma_target_parse):
590 Remove warn_builtin_macro_redefined overwrite.
592 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
594 * ipa-inline.c (can_inline_edge_p): Back out overzealous check on
595 flag_non_call_exceptions compatibility.
597 2016-01-22 Jakub Jelinek <jakub@redhat.com>
600 * dwarf2out.c (add_child_die_after): New function.
601 (dwarf_qual_info_t): New type.
602 (dwarf_qual_info): New variable.
603 (qualified_die_p): New function.
604 (modified_type_die): For -fdebug-types-section, ensure
605 canonical order of qualifiers. Put qualified DIEs adjacent
606 to the corresponding non-qualified type DIE and search there
607 for existing qualified DIEs.
609 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
611 * doc/extend.texi (scalar_storage_order type attribute): Document
612 restriction on type punning and aliasing, and remove future tense.
614 2016-01-21 Roman Zhuykov <zhroma@ispras.ru>
617 * modulo-sched.c (optimize_sc): Allow branch-scheduling to add a new
620 2016-01-21 Jeff Law <law@redhat.com>
623 * tree-ssa-dom.c (dom_opt_dom_walker::thread_across_edge): Avoid
624 useless call to record_temporary_equivalences.
625 * tree-ssa-threadbackward.c (find_jump_threads_backwards): Just
626 allocate 10 slots in the bb_path vector and let it grow as needed.
627 (fsm_find_control_statement_thread_paths): Similarly for the next_path
630 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
632 * configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
634 * configure: Regenerate.
636 2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
638 * config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
639 * config/rs6000/driver-rs6000.c (struct asm_names): Likewise.
641 2016-01-21 Bernd Schmidt <bschmidt@redhat.com>
644 * expr.c (expand_expr_real_2) [PLUS_EXPR, MINUS_EXPR]: Don't
645 drop EXPAND_INITIALIZER.
646 * rtl.h (contains_symbolic_reference_p): Declare.
647 * rtlanal.c (contains_symbolic_reference_p): New function.
648 * simplify-rtx.c (simplify_binary_operation_1): Don't turn
649 a subtraction into a NOT if symbolic constants are involved.
651 2016-01-21 Anton Blanchard <anton@samba.org>
652 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
655 * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): New
657 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New
660 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
662 * config/microblaze/microblaze.c
663 (get_branch_target): New.
664 (insert_wic_for_ilb_runout): New.
666 (microblaze_machine_dependent_reorg): New.
667 (TARGET_MACHINE_DEPENDENT_REORG): Define macro.
668 * config/microblaze/microblaze.md
669 (UNSPEC_IPREFETCH): Define.
670 (iprefetch): New pattern
671 * config/microblaze/microblaze.opt
672 (mxl-prefetch): New flag.
674 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
676 * config/microblaze/microblaze.h
677 (FIXED_REGISTERS): Update in macro.
678 (CALL_USED_REGISTERS): Update in macro.
680 2016-01-21 Yuri Rumyantsev <ysrumyan@gmail.com>
682 PR rtl-optimization/68920
683 * ifcvt.c (cond_move_process_if_block): Limit number of conditional
686 2016-01-21 Vladimir Makarov <vmakarov@redhat.com>
688 PR rtl-optimization/68990
689 * lra-coalesce.c (lra_coalesce): Invalidate value for the result
690 pseudo instead of inheritance ones.
692 2016-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
693 Nick Clifton <nickc@redhat.com>
697 * config/mips/mips.c (mips_compute_frame_info): Initialise
698 args_size and hard_frame_pointer_offset fields of the frame
699 structure before calling mips_global_pointer.
701 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
703 * configure.ac (gcc_cv_as_dwloc): Test support for debug frame section
705 * configure: Regenerate.
707 2016-01-21 Richard Biener <rguenther@suse.de>
709 * graphite-optimize-isl.c (get_schedule_map): Fix typo.
711 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
713 * config/s390/s390.c (s390_asm_declare_function_size): Add code
714 to actually emit the .size directive.
716 2016-01-21 Stefan Sørensen <stefan.sorensen@spectralink.com>
717 Jakub Jelinek <jakub@redhat.com>
721 * config/arm/arm-builtins.c (arm_expand_neon_builtin): Increase
722 args array size by one to avoid buffer overflow.
724 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
726 * config/s390/s390.md (pool_section_start): Use switch_to_section
727 to select proper read-only data section instead of hardcoding
729 (pool_section_end): Use switch_to_section to match the above.
731 2016-01-21 Richard Biener <rguenther@suse.de>
733 PR tree-optimization/69378
734 * tree-ssa-sccvn.c (dominated_by_p_w_unex): New function.
735 (set_ssa_val_to): Use it for dominance checks taking into
736 account not executable edges.
738 2016-01-21 Jakub Jelinek <jakub@redhat.com>
741 * tree-dfa.c (get_ref_base_and_extent): Use GET_MODE_BITSIZE (mode)
742 for bitsize instead of GET_MODE_PRECISION (mode).
744 2016-01-20 Martin Sebor <msebor@redhat.com>
747 * extend.texi (__sync Builtins): Clarify the semantics of
748 __sync_fetch_and_OP built-ins on pointers.
749 (__atomic Builtins): Same.
751 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
752 Sebastian Pop <s.pop@samsung.com>
754 * graphite-isl-ast-to-gimple.c (enum phi_node_kind): New.
755 (class translate_isl_ast_to_gimple): Use phi_node_kind instead of bool.
756 (is_valid_rename): Same.
757 (translate_isl_ast_to_gimple::get_rename): Same.
758 (translate_isl_ast_to_gimple::rename_all_uses): Same.
759 (translate_isl_ast_to_gimple::rename_uses): Same.
760 (get_new_name): Check for close_phi nodes.
761 (copy_loop_phi_args): Use phi_node_kind.
762 (translate_isl_ast_to_gimple::copy_loop_close_phi_args): Same.
763 (translate_isl_ast_to_gimple::copy_cond_phi_args): Same.
765 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
766 Sebastian Pop <s.pop@samsung.com>
768 Revert commit r229783.
769 * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
770 Remove use of parameter_rename_map.
772 (copy_internal_parameters): Remove.
773 (graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
774 * sese.c (new_sese_info): Do not initialize parameter_rename_map.
775 (free_sese_info): Do not free parameter_rename_map.
776 (set_rename): Do not use parameter_rename_map.
777 (rename_uses): Update call to set_rename.
778 (graphite_copy_stmts_from_block): Do not use parameter_rename_map.
779 * sese.h (parameter_rename_map_t): Remove.
780 (struct sese_info_t): Remove field parameter_rename_map.
782 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
783 Sebastian Pop <s.pop@samsung.com>
785 * graphite-isl-ast-to-gimple.c: Fix comment.
786 * graphite-scop-detection.c (defined_in_loop_p): New.
787 (canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
788 names defined in loop.
790 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
791 Sebastian Pop <s.pop@samsung.com>
793 * graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
794 Discard unstructured if-then-else regions.
796 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
797 Sebastian Pop <s.pop@samsung.com>
799 * graphite-sese-to-poly.c (set_scop_parameter_dim): Remove.
800 (cleanup_loop_iter_dom): Remove.
801 (build_loop_iteration_domains): Remove.
802 (build_scop_context): Remove.
803 (build_scop_iteration_domain): Remove.
804 (add_loop_constraints): New.
805 (build_iteration_domains): New.
806 (build_poly_scop): Call build_iteration_domains.
808 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
809 Sebastian Pop <s.pop@samsung.com>
811 * graphite-scop-detection.c
812 (scop_detection::harmful_loop_in_region): Free dom and loops.
813 (scop_detection::loop_body_is_valid_scop): Free bbs.
815 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
816 Sebastian Pop <s.pop@samsung.com>
818 * graphite-scop-detection.c (record_loop_in_sese): New.
819 (gather_bbs::before_dom_children): Call record_loop_in_sese.
820 (build_scops): Remove call to build_sese_loop_nests.
821 * sese.c (sese_record_loop): Remove.
822 (build_sese_loop_nests): Remove.
823 (new_sese_info): Remove region->loops.
824 (free_sese_info): Same.
825 * sese.h (sese_contains_loop): Same.
826 (build_sese_loop_nests): Remove.
827 (sese_contains_loop): Remove.
829 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
830 Sebastian Pop <s.pop@samsung.com>
832 * graphite-scop-detection.c (loop_is_valid_scop): Renamed loop_is_valid_in_scop.
833 (scop_detection::harmful_stmt_in_region): Renamed harmful_loop_in_region.
834 Call loop_is_valid_in_scop.
836 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
837 Sebastian Pop <s.pop@samsung.com>
839 * graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
842 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
843 Sebastian Pop <s.pop@samsung.com>
845 * graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
846 * graphite.h (struct poly_bb): Remove field is_reduction.
847 (PBB_IS_REDUCTION): Remove.
849 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
850 Sebastian Pop <s.pop@samsung.com>
852 * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
853 (add_pdr_constraints): Same.
854 (scop_get_reads): Same.
855 (scop_get_must_writes): Same.
856 (scop_get_may_writes): Same.
857 (scop_get_original_schedule): Same.
858 (extend_schedule): Same.
859 (apply_schedule_on_deps): Same.
860 (carries_deps): Same.
861 (compute_deps): Same.
862 (scop_get_dependences): Same.
863 * graphite-isl-ast-to-gimple.c
864 (translate_isl_ast_to_gimple::generate_isl_schedule): Same.
865 * graphite-optimize-isl.c (get_schedule_for_band): Same.
866 (get_schedule_for_band_list): Same.
867 (get_schedule_map): Same.
868 (apply_schedule_map_to_scop): Same.
869 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same.
870 (build_loop_iteration_domains): Same.
871 (add_condition_to_pbb): Same.
872 (add_param_constraints): Same.
873 (pdr_add_memory_accesses): Same.
874 (pdr_add_data_dimensions): Same.
876 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
878 * doc/invoke.texi (Instrumentation Options): Clarify -mmpx linking
881 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
883 * common.opt (feliminate-dwarf2-dups): Replace references to
884 "DWARF 2" with just "DWARF".
885 * config/ia64/ia64.opt (mdwarf2-asm): Likewise.
886 * doc/extend.texi: Likewise.
887 * doc/cpp.texi: Likewise.
888 * doc/invoke.texi: Likewise.
889 (Option Summary): Add -gdwarf to list of Debugging Options.
890 (Debugging Options): Document -gdwarf.
891 * doc/contrib.texi: Spell "DWARF" like that.
893 2016-01-21 Jakub Jelinek <jakub@redhat.com>
895 * omp-low.c (expand_omp_target): Avoid -Wmaybe-uninitialized
896 warning. Fix up formatting.
899 * gimplify.c (gimplify_asm_expr): Warn if it is too late to
900 attempt to mark memory input operand addressable and
901 call prepare_gimple_addressable in that case. Don't adjust
902 input_location for diagnostics, use error_at instead.
904 2016-01-20 Peter Bergner <bergner@vnet.ibm.com>
906 * config/rs6000/ppc-auxv.h: New file.
907 * config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
909 (cpu_supports): Likewise.
910 * config/rs6000/rs6000.c: include "ppc-auxv.h".
911 (cpu_is_info): New variable.
912 (cpu_supports_info): Likewise.
913 (tcb_verification_symbol): Likewise.
914 (cpu_builtin_p): Likewise.
915 (cpu_expand_builtin): New function.
916 (rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
917 (rs6000_init_builtins): Likewise.
918 (rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
919 * config/rs6000/rs6000.h (TLS_REGNUM): New define.
920 * configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
921 * configure: Regenerate.
922 * config.in: Likewise.
923 * doc/extend.texi (PowerPC Built-in Functions): Document
924 __builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.
926 2016-01-20 David Edelsohn <dje.gcc@gmail.com>
929 * config/rs6000/rs6000.c (rs6000_emit_swsqrt): Add vector sqrt
931 * config/rs6000/vector.md (sqrt<mode>2): Call rs6000_emit_swsqrt
934 2016-01-20 Richard Henderson <rth@redhat.com>
940 * tree.c (tm_define_builtin): New.
941 (find_tm_vector_type): New.
942 (build_tm_vector_builtins): New.
943 (build_common_builtin_nodes): Call it.
945 2016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
947 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
948 (arm_fp_ok): Likewise.
950 (arm_crypto): Likewise.
952 2016-01-20 Ilya Enkovich <enkovich.gnu@gmail.com>
953 Richard Biener <rguenther@suse.de>
955 PR tree-optimization/69328
956 * tree-vect-stmts.c (vect_is_simple_cond): Check compared
957 vectors have same number of elements.
958 (vectorizable_condition): Fix masked version recognition.
960 2016-01-20 Richard Biener <rguenther@suse.de>
962 PR tree-optimization/69345
963 * tree-ssa-sccvn.h (VN_INFO_RANGE_INFO): New inline function.
964 (VN_INFO_PTR_INFO): Likewise.
965 * tree-ssa-sccvn.c (set_ssa_val_to): Avoid clearing points-to
966 info when it is equal between non-dominating SSA names.
967 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
968 Make sure to look at original SSA infos.
970 2016-01-20 Jeff Law <law@redhat.com>
973 * config/m68k/predicates.md (pow2_m1_operand): New predicate
975 (reg_or_pow2_m1_operand): Call pow2_m1_operand.
976 (pc_or_label_operand): New predicate.
977 * config/m68k/m68k.md: Add new peephole2 patterns for GTU/LEU
978 tests for small integers that are 2^n - 1.
980 2016-01-20 Jonathan Wakely <jwakely@redhat.com>
982 * doc/invoke.texi (Options Summary): Add '.' after @xref.
984 2016-01-19 Jeff Law <law@redhat.com>
987 * tree-ssa-threadbackwards.c
988 (fsm_find_control_statement_thread_paths): Do not try to lookup
989 FSM paths for SSA_NAMEs appearing in abnormal PHIs.
991 2016-01-20 Kugan Vivekanandarajah <kuganv@linaro.org>
993 * doc/lto.texi: Remove text that says only Gold has linker plugin
996 2016-01-19 Eric Botcazou <ebotcazou@adacore.com>
998 * dwarf2out.c (need_endianity_attribute_p): New inline predicate.
999 (base_type_die): Add REVERSE parameter and attach DW_AT_endianity to
1000 the DIE accordingly.
1001 (modified_type_die): Add REVERSE parameter and pass it recursively,
1002 as well as to base_type_die. Adjust presence check accordingly.
1003 (base_type_for_mode): Adjust call to modified_type_die.
1004 (add_type_attribute): Add REVERSE parameter and pass it to
1006 (generic_parameter_die): Adjust call to add_type_attribute.
1007 (add_scalar_info): Likewise.
1008 (add_subscript_info): Likewise.
1009 (gen_array_type_die): Likewise.
1010 (gen_descr_array_type_die): Likewise.
1011 (gen_entry_point_die): Likewise.
1012 (gen_enumeration_type_die): Likewise.
1013 (gen_formal_parameter_die): Likewise.
1014 (gen_subprogram_die): Likewise.
1015 (gen_variable_die ): Likewise.
1016 (gen_const_die): Likewise.
1017 (gen_field_die): Likewise.
1018 (gen_pointer_type_die): Likewise.
1019 (gen_reference_type_die): Likewise.
1020 (gen_ptr_to_mbr_type_die): Likewise.
1021 (gen_inheritance_die): Likewise.
1022 (gen_subroutine_type_die): Likewise.
1023 (gen_typedef_die): Likewise.
1024 (force_type_die): Adjust call to modified_type_die.
1026 2016-01-19 Sandra Loosemore <sandra@codesourcery.com>
1028 * doc/standards.texi: Copy-editing for grammar, markup, and sentence
1029 flow throughout the file. Fix broken link to Objective-C 2.0
1031 * doc/invoke.texi: More copy-editing; fix numerous typos and spelling
1034 2016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
1036 * ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
1038 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
1041 * ipa-devirt.c (is_cxa_pure_virtual_p): New function.
1042 (maybe_record_node): Record cxa_pure_virtual as the only possible
1043 target if there are not ohter candidates.
1044 (possible_polymorphic_call_target_p): Accept cxa_pure_virtual.
1046 2016-01-19 Richard Biener <rguenther@suse.de>
1048 * hsa-gen.c (get_memory_order_name): Use MEMMODEL_ constants.
1049 (get_memory_order): Likewise.
1051 2016-01-19 Kirill Yukhin <kirill.yukhin@intel.com>
1053 * tree-vect-stmts.c (vectorizable_store): Check
1056 2016-01-19 David Malcolm <dmalcolm@redhat.com>
1059 * gcc.c (driver::decode_argv): Add call to
1060 init_opts_obstack before init_options_struct.
1061 * opts.c (init_opts_obstack): Remove idempotency.
1062 (init_options_struct): Replace call to init_opts_obstack
1063 with a gcc_assert to verify that it has already been called.
1064 * toplev.c (toplev::main): Add call to init_opts_obstack before
1065 calls to init_options_struct.
1066 (toplev::finalize): Move cleanup of opts_obstack next to
1067 cleanup of save_decoded_options, clearing the latter, and
1068 save_decoded_options_count.
1070 2016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1073 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): Set "conds"
1074 attribute to unconditional. Remove %? from output template.
1076 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
1077 Jiong Wang <jiong.wang@arm.com>
1079 * ccmp.c (expand_ccmp_expr_1): Cost the instruction sequences
1080 generated from different expand order.
1082 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
1084 * /config/aarch64/aarch64.c (aarch64_if_then_else_costs):
1085 Add support for CCMP costing.
1087 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
1089 * ccmp.c (ccmp_candidate_p): Remove integer-only restriction.
1090 * config/aarch64/aarch64.md (fccmp<mode>): New pattern.
1091 (fccmpe<mode>): Likewise.
1092 (fcmp): Rename to fcmp and globalize pattern.
1094 * config/aarch64/aarch64.c (aarch64_gen_ccmp_first): Add FP support.
1095 (aarch64_gen_ccmp_next): Add FP support.
1097 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
1099 * target.def (gen_ccmp_first): Update documentation.
1100 (gen_ccmp_next): Likewise.
1101 * doc/tm.texi (gen_ccmp_first): Update documentation.
1102 (gen_ccmp_next): Likewise.
1103 * ccmp.c (expand_ccmp_expr): Extract cmp_code from return value of
1104 expand_ccmp_expr_1. Improve comments.
1105 * config/aarch64/aarch64.md (ccmp_and): Use if_then_else for ccmp.
1106 (ccmp_ior<mode>): Remove pattern.
1107 (cmp<mode>): Remove expand.
1108 (cmp): Globalize pattern.
1109 (cstorecc4): Use cc_register.
1110 (mov<mode>cc): Remove ccmp_cc_register check.
1111 * config/aarch64/aarch64.c (aarch64_get_condition_code_1):
1112 Simplify after removal of CC_DNE/* modes.
1113 (aarch64_ccmp_mode_to_code): Remove.
1114 (aarch64_print_operand): Remove 'K' case. Merge 'm' and 'M' cases.
1115 In 'k' case use integer as condition.
1116 (aarch64_nzcv_codes): Remove inverted cases.
1117 (aarch64_code_to_ccmode): Remove.
1118 (aarch64_gen_ccmp_first): Use cmp pattern directly. Return the correct
1119 comparison with CC register to be used in folowing CCMP/branch/CSEL.
1120 (aarch64_gen_ccmp_next): Use previous comparison and mode in CCMP
1121 pattern. Return the comparison with CC register. Invert conditions
1123 * config/aarch64/aarch64-modes.def: Remove CC_DNE/* modes.
1124 * config/aarch64/predicates.md (ccmp_cc_register): Remove.
1126 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
1128 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
1129 instrumented_version.
1131 2016-01-19 Richard Biener <rguenther@suse.de>
1133 PR tree-optimization/69336
1134 * tree-ssa-scopedtables.c (avail_expr_hash): Handle all
1135 handled components with get_ref_base_and_extent.
1136 (equal_mem_array_ref_p): Adjust.
1138 2016-01-19 Jakub Jelinek <jakub@redhat.com>
1141 * shrink-wrap.c: Include valtrack.h.
1142 (move_insn_for_shrink_wrap): Add DEBUG argument. If
1143 MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
1144 in between insn and where it will be moved to. Call
1145 dead_debug_insert_temp.
1146 (prepare_shrink_wrap): Adjust caller. Call dead_debug_local_init
1147 first and dead_debug_local_finish at the end.
1148 For uses and defs bitmap, handle all regs in between REGNO and
1149 END_REGNO, not just the first one.
1151 2016-01-19 Richard Biener <rguenther@suse.de>
1153 PR tree-optimization/69352
1154 * tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1.
1155 (equal_mem_array_ref_p): Constrain size and max size properly.
1156 Compare the reverse flag.
1158 2016-01-19 Bernd Schmidt <bschmidt@redhat.com>
1160 * ira.c (ira): Update regstat data if we deleted insns.
1162 2016-01-19 Jakub Jelinek <jakub@redhat.com>
1164 PR rtl-optimization/68955
1165 PR rtl-optimization/64557
1166 * dse.c (record_store, check_mem_read_rtx): Don't call get_addr
1167 here. Fix up formatting.
1168 * alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.
1170 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
1173 * cgraphunit.c (cgraph_node::expand_thunk): When forcing gimple
1174 assume that the node has body.
1175 * cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
1178 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
1180 * lto-streamer-out.c (lto_output): Do not stream instrumentation
1183 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
1185 * symtab.c (symtab_node::asm_name): Do not call printable name directly.
1186 (symtab_node::name): Report name as unnamed if DECL_NAME is not set.
1188 2016-01-19 Martin Jambor <mjambor@suse.cz>
1189 Martin Liska <mliska@suse.cz>
1190 Michael Matz <matz@suse.de>
1192 * Makefile.in (OBJS): Add new source files.
1193 (GTFILES): Add hsa.c.
1194 * common.opt (disable_hsa): New variable.
1195 (-Whsa): New warning.
1196 * config.in (ENABLE_HSA): New.
1197 * configure.ac: Treat hsa differently from other accelerators.
1198 (OFFLOAD_TARGETS): Define ENABLE_OFFLOADING according to
1200 (ENABLE_HSA): Define ENABLE_HSA according to $enable_hsa.
1201 * doc/install.texi (Configuration): Document --with-hsa-runtime,
1202 --with-hsa-runtime-include, --with-hsa-runtime-lib and
1204 * doc/invoke.texi (-Whsa): Document.
1205 (hsa-gen-debug-stores): Likewise.
1206 * lto-wrapper.c (compile_images_for_offload_targets): Do not attempt
1207 to invoke offload compiler for hsa acclerator.
1208 * opts.c (common_handle_option): Determine whether HSA offloading
1209 should be performed.
1210 * params.def (PARAM_HSA_GEN_DEBUG_STORES): New parameter.
1211 * builtin-types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
1212 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
1213 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
1214 * gimple-low.c (lower_stmt): Also handle GIMPLE_OMP_GRID_BODY.
1215 * gimple-pretty-print.c (dump_gimple_omp_for): Also handle
1216 GF_OMP_FOR_KIND_GRID_LOOP.
1217 (dump_gimple_omp_block): Also handle GIMPLE_OMP_GRID_BODY.
1218 (pp_gimple_stmt_1): Likewise.
1219 * gimple-walk.c (walk_gimple_stmt): Likewise.
1220 * gimple.c (gimple_build_omp_grid_body): New function.
1221 (gimple_copy): Also handle GIMPLE_OMP_GRID_BODY.
1222 * gimple.def (GIMPLE_OMP_GRID_BODY): New.
1223 * gimple.h (enum gf_mask): Added GF_OMP_PARALLEL_GRID_PHONY,
1224 GF_OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY and
1225 GF_OMP_TEAMS_GRID_PHONY.
1226 (gimple_statement_omp_single_layout): Updated comments.
1227 (gimple_build_omp_grid_body): New function.
1228 (gimple_has_substatements): Also handle GIMPLE_OMP_GRID_BODY.
1229 (gimple_omp_for_grid_phony): New function.
1230 (gimple_omp_for_set_grid_phony): Likewise.
1231 (gimple_omp_parallel_grid_phony): Likewise.
1232 (gimple_omp_parallel_set_grid_phony): Likewise.
1233 (gimple_omp_teams_grid_phony): Likewise.
1234 (gimple_omp_teams_set_grid_phony): Likewise.
1235 (gimple_return_set_retbnd): Also handle GIMPLE_OMP_GRID_BODY.
1236 * omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): New.
1237 (BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
1238 (BUILT_IN_GOMP_TARGET): Updated type.
1239 * omp-low.c: Include symbol-summary.h, hsa.h and params.h.
1240 (adjust_for_condition): New function.
1241 (get_omp_for_step_from_incr): Likewise.
1242 (extract_omp_for_data): Moved parts to adjust_for_condition and
1243 get_omp_for_step_from_incr.
1244 (build_outer_var_ref): Handle GIMPLE_OMP_GRID_BODY.
1245 (fixup_child_record_type): Bail out if receiver_decl is NULL.
1246 (scan_sharing_clauses): Handle OMP_CLAUSE__GRIDDIM_.
1247 (scan_omp_parallel): Do not create child functions for phony
1249 (check_omp_nesting_restrictions): Handle GIMPLE_OMP_GRID_BODY.
1250 (scan_omp_1_op): Checking assert we are not remapping to
1251 ERROR_MARK. Also also handle GIMPLE_OMP_GRID_BODY.
1252 (parallel_needs_hsa_kernel_p): New function.
1253 (expand_parallel_call): Register apprpriate parallel child
1254 functions as HSA kernels.
1255 (grid_launch_attributes_trees): New type.
1256 (grid_attr_trees): New variable.
1257 (grid_create_kernel_launch_attr_types): New function.
1258 (grid_insert_store_range_dim): Likewise.
1259 (grid_get_kernel_launch_attributes): Likewise.
1260 (get_target_argument_identifier_1): Likewise.
1261 (get_target_argument_identifier): Likewise.
1262 (get_target_argument_value): Likewise.
1263 (push_target_argument_according_to_value): Likewise.
1264 (get_target_arguments): Likewise.
1265 (expand_omp_target): Call get_target_arguments instead of looking
1266 up for teams and thread limit.
1267 (grid_expand_omp_for_loop): New function.
1268 (grid_arg_decl_map): New type.
1269 (grid_remap_kernel_arg_accesses): New function.
1270 (grid_expand_target_kernel_body): New function.
1271 (expand_omp): Call it.
1272 (lower_omp_for): Do not emit phony constructs.
1273 (lower_omp_taskreg): Do not emit phony constructs but create for them
1274 a temporary variable receiver_decl.
1275 (lower_omp_taskreg): Do not emit phony constructs.
1276 (lower_omp_teams): Likewise.
1277 (lower_omp_grid_body): New function.
1278 (lower_omp_1): Call it.
1279 (grid_reg_assignment_to_local_var_p): New function.
1280 (grid_seq_only_contains_local_assignments): Likewise.
1281 (grid_find_single_omp_among_assignments_1): Likewise.
1282 (grid_find_single_omp_among_assignments): Likewise.
1283 (grid_find_ungridifiable_statement): Likewise.
1284 (grid_target_follows_gridifiable_pattern): Likewise.
1285 (grid_remap_prebody_decls): Likewise.
1286 (grid_copy_leading_local_assignments): Likewise.
1287 (grid_process_kernel_body_copy): Likewise.
1288 (grid_attempt_target_gridification): Likewise.
1289 (grid_gridify_all_targets_stmt): Likewise.
1290 (grid_gridify_all_targets): Likewise.
1291 (execute_lower_omp): Call grid_gridify_all_targets.
1292 (make_gimple_omp_edges): Handle GIMPLE_OMP_GRID_BODY.
1293 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__GRIDDIM_.
1294 (tree_omp_clause): Added union field dimension.
1295 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE__GRIDDIM_.
1296 * tree.c (omp_clause_num_ops): Added number of arguments of
1297 OMP_CLAUSE__GRIDDIM_.
1298 (omp_clause_code_name): Added name of OMP_CLAUSE__GRIDDIM_.
1299 (walk_tree_1): Handle OMP_CLAUSE__GRIDDIM_.
1300 * tree.h (OMP_CLAUSE_GRIDDIM_DIMENSION): New.
1301 (OMP_CLAUSE_SET_GRIDDIM_DIMENSION): Likewise.
1302 (OMP_CLAUSE_GRIDDIM_SIZE): Likewise.
1303 (OMP_CLAUSE_GRIDDIM_GROUP): Likewise.
1304 * passes.def: Schedule pass_ipa_hsa and pass_gen_hsail.
1305 * tree-pass.h (make_pass_gen_hsail): Declare.
1306 (make_pass_ipa_hsa): Likewise.
1307 * ipa-hsa.c: New file.
1308 * lto-section-in.c (lto_section_name): Add hsa section name.
1309 * lto-streamer.h (lto_section_type): Add hsa section.
1310 * timevar.def (TV_IPA_HSA): New.
1311 * hsa-brig-format.h: New file.
1312 * hsa-brig.c: New file.
1313 * hsa-dump.c: Likewise.
1314 * hsa-gen.c: Likewise.
1317 * toplev.c (compile_file): Call hsa_output_brig.
1318 * hsa-regalloc.c: New file.
1320 2016-01-18 Jeff Law <law@redhat.com>
1322 PR tree-optimization/69320
1323 * tree-ssa-dom.c (record_edge_info): For comparisons against a boolean
1324 ranged object, do nothing if the RHS constant is not [0..1].
1325 (optimize_stmt): Comparing a boolean ranged object against a
1326 constant outside [0..1] results in a compile-time constant.
1328 * tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary
1331 2016-01-18 Sandra Loosemore <sandra@codesourcery.com>
1333 * doc/invoke.texi (Invoking GCC): Add new section to menu.
1334 (Option Summary): Update to reflect new section and moved options.
1335 (C++ Dialect Options): Move -fstats to new section.
1336 (Debugging Options): Move all dump, statistics, and other GCC
1337 developer options to new section. Rewrite section introduction
1338 and re-order remaining options to put the more basic ones first.
1339 (Optimization Options): Move -fira-verbose and -flto-report* to
1341 (Developer Options): New section incorporating moved options.
1342 * doc/cppopts.texi (-dM): Update cross-reference.
1344 2016-01-18 Richard Henderson <rth@redhat.com>
1347 * config/aarch64/aarch64.md (add<GPI>3): Move long immediate
1348 operands to pseudo only if CSE is expected. Split long immediate
1349 operands only after reload, and for the stack pointer.
1350 (*add<GPI>3_pluslong): Remove.
1351 (*addsi3_aarch64, *adddi3_aarch64): Merge into...
1352 (*add<GPI>3_aarch64): ... here. Add r/rk/Upl alternative.
1353 (*addsi3_aarch64_uxtw): Add r/rk/Upl alternative.
1354 (*add<GPI>3 peepholes): New.
1355 (*add<GPI>3 splitters): New.
1356 * config/aarch64/constraints.md (Upl): New.
1357 * config/aarch64/predicates.md (aarch64_pluslong_strict_immedate): New.
1359 2016-01-18 Richard Biener <rguenther@suse.de>
1361 PR tree-optimization/69297
1362 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Count each scalar
1364 (vect_bb_vectorization_profitable_p): Clear visited flag again.
1366 2016-01-18 Yuri Rumyantsev <ysrumyan@gmail.com>
1369 * fold-const.c (fold_binary_op_with_conditional_arg): Bail out for case
1370 of mixind vector and scalar types.
1371 (fold_relational_const): Add handling of vector
1372 comparison with boolean result.
1373 * tree-cfg.c (verify_gimple_comparison): Add argument CODE, allow
1374 comparison of vector operands with boolean result for EQ/NE only.
1375 (verify_gimple_assign_binary): Adjust call for verify_gimple_comparison.
1376 (verify_gimple_cond): Likewise.
1377 * tree-vrp.c (extract_code_and_val_from_cond_with_ops): Modify check on
1380 2016-01-18 Joseph Myers <joseph@codesourcery.com>
1382 * config/mips/mips.h (ISA_HAS_PAIRED_SINGLE): Require
1385 2016-01-18 Richard Biener <rguenther@suse.de>
1388 * gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
1390 2016-01-18 Tom de Vries <tom@codesourcery.com>
1392 * passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
1394 2016-01-18 Tom de Vries <tom@codesourcery.com>
1396 * omp-low.c (set_oacc_fn_attrib): Make extern.
1397 * omp-low.h (set_oacc_fn_attrib): Declare.
1398 * tree-parloops.c (struct reduction_info): Add reduc_addr field.
1399 (create_call_for_reduction_1): Handle case that reduc_addr is non-NULL.
1400 (create_parallel_loop, gen_parallel_loop, try_create_reduction_list):
1401 Add and handle function parameter oacc_kernels_p.
1402 (find_reduc_addr, get_omp_data_i_param): New function.
1403 (ref_conflicts_with_region, oacc_entry_exit_ok_1)
1404 (oacc_entry_exit_single_gang, oacc_entry_exit_ok): New function.
1405 (parallelize_loops): Add and handle function parameter oacc_kernels_p.
1406 Calculate dominance info. Skip loops that are not in a kernels region
1407 in oacc_kernels_p mode. Skip inner loops of parallelized loops.
1408 (pass_parallelize_loops::execute): Call parallelize_loops with
1409 oacc_kernels_p argument.
1410 (pass_parallelize_loops::clone, pass_parallelize_loops::set_pass_param):
1411 New member function.
1412 (pass_parallelize_loops::bool oacc_kernels_p): New member var.
1413 * passes.def: Add argument to pass_parallelize_loops instantation.
1415 2016-01-18 Tom de Vries <tom@codesourcery.com>
1417 * tree-parloops.c (pass_parallelize_loops::execute): Allow
1418 pass_parallelize_loops to be run outside the loop pipeline.
1420 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
1422 * tree-scalar-evolution.c (follow_copies_to_constant): New.
1423 (analyze_initial_condition, analyze_scalar_evolution_1): Call previous.
1425 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
1428 * tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
1429 using get_ref_base_and_extent.
1430 (equal_mem_array_ref_p): New.
1431 (hashable_expr_equal_p): Add call to previous.
1433 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
1436 * tree-sra.c (disqualified_constants, constant_decl_p): New.
1437 (sra_initialize): Allocate disqualified_constants.
1438 (sra_deinitialize): Free disqualified_constants.
1439 (disqualify_candidate): Update disqualified_constants when appropriate.
1440 (create_access): Scan for constant-pool entries as we go along.
1441 (scalarizable_type_p): Add check against type_contains_placeholder_p.
1442 (maybe_add_sra_candidate): Allow constant-pool entries.
1443 (load_assign_lhs_subreplacements): Bind debug for constant pool vars.
1444 (initialize_constant_pool_replacements): New.
1445 (sra_modify_assign): Avoid mangling assignments created by previous,
1446 and don't generate writes into constant pool.
1447 (sra_modify_function_body): Call initialize_constant_pool_replacements.
1449 2016-01-18 Ilya Enkovich <enkovich.gnu@gmail.com>
1451 * config/i386/i386.c (scalar_to_vector_candidate_p): Support
1453 (scalar_chain::convert_op): Likewise.
1454 * config/i386/i386.md (*andndi3_doubleword): New.
1456 2016-01-18 Richard Biener <rguenther@suse.de>
1458 PR tree-optimization/69170
1459 * tree-vect-slp.c (vect_build_slp_tree): Verify we are not
1460 building a vector from scalar results of a pattern stmt.
1462 2016-01-18 Jakub Jelinek <jakub@redhat.com>
1464 * haifa-sched.c (autopref_multipass_init): Work around
1465 -Wmaybe-uninitialized warning.
1467 2016-01-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
1469 * config/arm/arm.c (thumb1_reorg): Check that the comparison is
1470 against the constant 0.
1472 2016-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1474 PR tree-optimization/68799
1475 * gimple-ssa-strength-reduction.c (create_phi_basis): Directly
1476 look up phi candidates in the statement-candidate map.
1477 (phi_add_costs): Likewise.
1478 (record_phi_increments): Likewise.
1479 (phi_incr_cost): Likewise.
1480 (ncd_with_phi): Likewise.
1481 (all_phi_incrs_profitable): Likewise.
1483 2016-01-17 Jakub Jelinek <jakub@redhat.com>
1485 * omp-low.c (mark_loops_in_oacc_kernels_region): Work around
1486 -Wmaybe-uninitialized warning.
1488 2016-01-16 Sandra Loosemore <sandra@codesourcery.com>
1490 * doc/invoke.texi (Invoking GCC): Add new section to menu.
1491 (Option Summary): Update to reflect new section and moved options.
1492 (C++ Dialect Options): Move -fvtable-verify and related options.
1493 (Debugging Options): Move Sanitizer, Pointer Bounds Checker,
1494 and profiling-related options.
1495 (Optimization Options): Move profile generation options and
1496 -fstack-protector and related options.
1497 (Instrumentation Options): New section incorporating moved options.
1498 (Code Generation Options): Move -finstrument-functions and
1499 related options, -fstack-check, -fstack-limit*, and -fbounds-check.
1501 2016-01-16 Tom de Vries <tom@codesourcery.com>
1503 * passes.def: Move pass_expand_omp_ssa out of pass_parallelize_loops.
1505 2016-01-16 Tom de Vries <tom@codesourcery.com>
1507 * omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
1509 2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
1511 * hash-table.h (hash_table::empty): Turn into an inline wrapper
1512 that checks whether the table is already empty. Rename the
1513 original implementation to...
1514 (hash_table::empty_slot): ...this new private function.
1516 2016-01-15 David Malcolm <dmalcolm@redhat.com>
1519 * diagnostic-show-locus.c (layout::print_source_line): Move x
1520 offset of line until after call to
1521 get_line_width_without_trailing_whitespace.
1523 2016-01-15 Jeff Law <law@redhat.com>
1525 PR tree-optimization/69270
1526 * tree-ssanames.c (ssa_name_has_boolean_range): Moved here from
1527 tree-ssa-dom.c. Improve test for [0..1] ranve from VRP.
1528 * tree-ssa-dom.c (ssa_name_has_boolean_range): Remove.
1529 * tree-ssanames.h (ssa_name_has_boolean_range): Prototype.
1530 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
1531 ssa_name_has_boolean_range and constant_boolean_node.
1533 2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
1535 PR rtl-optimization/69030
1536 * lra-spills.c (remove_pseudos): Check nrefs and make the function
1538 (spill_pseudos): Delete debug insn for dead pseudo.
1539 (lra_spill): Initiate spill_hard_reg and slots memory separately.
1541 2016-01-15 Jiong Wang <jiong.wang@arm.com>
1543 * config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
1545 (TYPES_UNOPUS): Likewise.
1546 * config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
1547 builtin type, from UNOP to UNOPUS.
1548 (lbtruncuv4sf): Likewise.
1549 (lbtruncuv2df): Likewise.
1550 (lrounduv2sf): Likewise.
1551 (lrounduv4sf): Likewise.
1552 (lrounduv2df): Likewise.
1553 (lroundusf): Likewise.
1554 (lroundusf): Likewise.
1555 (lceiluv2sf): Likewise.
1556 (lceiluv4sf): Likewise.
1557 (lceiluv2df): Likewise.
1558 (lceilusf): Likewise.
1559 (lceiludf): Likewise.
1560 (lflooruv2sf): Likewise.
1561 (lflooruv4sf): Likewise.
1562 (lflooruv2df): Likewise.
1563 (lfloorusf): Likewise.
1564 (lfloorudf): Likewise.
1565 (lfrintnuv2sf): Likewise.
1566 (lfrintnuv4sf): Likewise.
1567 (lfrintnuv2df): Likewise.
1568 (lfrintnusf): Likewise.
1569 (lfrintnudf): Likewise.
1570 * config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
1572 (vcvtq_u32_f32): Likewise.
1573 (vcvtq_u64_f64): Likewise.
1574 (vcvta_u32_f32): Likewise.
1575 (vcvtaq_u32_f32): Likewise.
1576 (vcvtaq_u64_f64): Likewise.
1577 (vcvtm_u32_f32): Likewise.
1578 (vcvtmq_u32_f32): Likewise.
1579 (vcvtmq_u64_f64): Likewise.
1580 (vcvtn_u32_f32): Likwise.
1581 (vcvtnq_u32_f32): Likewise.
1582 (vcvtnq_u64_f64): Likewise.
1583 (vcvtp_u32_f32): Likewise.
1584 (vcvtpq_u32_f32): Likewise.
1585 (vcvtpq_u64_f64): Likewise.
1586 (vcvtmd_u64_f64): Likewise.
1587 (vcvtms_u32_f32): Likewise.
1588 (vcvtad_u64_f64): Likewise.
1589 (vcvtas_u32_f32): Likewise.
1590 (vcvtnd_u64_f64): Likewise.
1591 (vcvtns_u32_f32): Likewise.
1592 (vcvtpd_u64_f64): Likewise.
1593 (vcvtps_u32_f32): Likewise.
1595 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1597 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
1598 CSEL of zero_extended registers.
1600 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1602 * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
1603 Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
1605 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1607 * config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
1608 false when argument string is not found in the attributes table
1611 2016-01-15 David Edelsohn <dje.gcc@gmail.com>
1614 * config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
1615 (rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
1616 * config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
1619 2016-01-15 Richard Biener <rguenther@suse.de>
1621 PR tree-optimization/66856
1622 * tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
1623 * tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
1624 (vect_create_new_slp_node): Increment stmt reference count.
1625 (vect_get_and_check_slp_defs): Make sure stmts are nor already in
1626 an SLP tree before swapping operands.
1627 (vect_build_slp_tree): Likewise.
1628 (destroy_bb_vec_info): Free stmt info after SLP instances.
1629 * tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
1630 * tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
1631 (STMT_VINFO_NUM_SLP_USES): New macro.
1633 2016-01-15 Richard Biener <rguenther@suse.de>
1636 * dwarf2out.c (add_linkage_name_raw): New function split out from ...
1637 (add_linkage_name): ... here.
1638 (gen_typedef_die): Use add_linkage_name_raw instead of
1639 add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
1642 2016-01-15 Cesar Philippidis <cesar@codesourcery.com>
1644 * gimplify.c (oacc_default_clause): Decode reference and pointer
1645 types for both kernels and parallel regions.
1647 2016-01-15 Richard Sandiford <richard.sandiford@arm.com>
1650 * calls.c (emit_call_1): Force n_popped to zero for sibcalls.
1652 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
1654 * config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
1655 (convert_scalars_to_vector): Likewise.
1657 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
1659 * doc/extend.texi (Type Traits): Fix grammar.
1661 2016-01-15 Martin Jambor <mjambor@suse.cz>
1663 * tree-inline.c (remap_decl): Use existing dclarations if
1664 remapping a type and prevent_decl_creation_for_types.
1665 (replace_locals_stmt): Do an initial remapping of non-VLA typed
1666 decls first. Do real remapping with
1667 prevent_decl_creation_for_types set.
1668 * tree-inline.h (copy_body_data): New field
1669 prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
1672 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
1674 * config/s390/s390.opt (mmvcle): More verbose help text.
1676 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
1678 * config/s390/s390.opt: Add period to -mzvector option text.
1680 2016-01-15 Richard Biener <rguenther@suse.de>
1682 PR tree-optimization/68961
1683 * tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
1684 of invariants in stores again.
1686 2016-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
1688 * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
1690 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
1692 * config/i386/i386.c (ix86_expand_branch): Don't split
1693 DI mode xor instruction to SI mode.
1695 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
1698 * ipa-icf.c (sem_function::merge): Virtual functions may become
1699 reachable even if they address is not taken and there are no
1702 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
1704 * lto-streamer-out.c (subtract_estimated_size): New function.
1705 (get_symbol_initial_value): Use it.
1707 2016-01-15 Christian Bruel <christian.bruel@st.com>
1710 * config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
1711 (arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
1712 (arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
1713 use add_builtin_function_ext_scope instead of add_builtin_function.
1714 (neon_set_p, neon_crypto_set_p): Remove.
1715 (arm_init_builtins): Always call arm_init_neon_builtins and
1716 arm_init_crypto_builtins.
1717 (arm_expand_builtin): Check that builtins are allowed for the arch.
1718 * config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
1719 * config/arm/arm.c (arm_valid_target_attribute_tree): Remove
1720 arm_init_neon_builtins call.
1722 2016-01-15 Richard Biener <rguenther@suse.de>
1724 PR tree-optimization/69117
1725 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
1726 * tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
1727 of the leader conservatively.
1728 (free_scc_vn): Restore original SSA name infos.
1730 2016-01-14 Jeff Law <law@redhat.com>
1732 PR tree-optimization/69270
1733 * tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
1734 single bit of precision, verify it's also unsigned.
1735 (record_edge_info): Use constant_boolean_node rather than fold_convert
1736 to convert boolean_true/boolean_false to the right type.
1738 2016-01-14 Richard Henderson <rth@redhat.com>
1741 * loop-doloop.c (record_reg_sets): New.
1742 (doloop_optimize): Reject the transform if the sequence
1743 clobbers registers live at the end of the loop block.
1744 (doloop_optimize_loops): Enable df_live if needed.
1746 2016-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
1748 * config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
1749 * gcc/config/rs6000/rs6000.c: Likewise.
1750 * gcc/config/rs6000/rs6000.h: Likewise.
1751 * gcc/config/rs6000/rs6000.md: Likewise.
1752 * gcc/doc/extend.texi: Likewsie.
1754 2016-01-14 Jeff Law <law@redhat.com>
1756 * tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
1759 2016-01-14 Richard Henderson <rth@redhat.com>
1763 * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
1764 * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
1765 instead of builtin_decl_declared_p to test for declaration.
1767 2016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
1769 * doc/loop.texi (Loop Analysis and Representation): Document
1770 loop_depth function.
1772 2016-01-14 Tom de Vries <tom@codesourcery.com>
1774 PR tree-optimization/68773
1775 * omp-low.c (expand_omp_target): Don't set force_output.
1776 * varpool.c (varpool_node::get_create): Same.
1777 * lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
1778 offload_funcs with force_output.
1780 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1783 * lra-eliminations.c (move_plus_up): Don't change anything if either
1784 the outer or inner subreg mode is not MODE_INT.
1785 * dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
1786 integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
1788 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
1790 * doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
1791 reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
1792 reduc_uplus_@var{m}): Remove.
1793 * expr.c (expand_expr_real_2): Remove expansion path for
1794 reduc_[us](min|max|plus) optabs.
1795 * optabs-tree.c (scalar_reduc_to_vector): Remove.
1796 * optabs-tree.h (scalar_reduc_to_vector): Remove.
1797 * optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
1798 reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
1799 * tree-vect-loop.c (vectorizable_reduction): Remove test for
1800 reduc_[us](min|max|plus) optabs.
1802 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
1804 * config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
1805 (reduc_plus_scal_v2sf): New.
1806 (reduc_smax_v2sf): Rename to...
1807 (reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
1808 (reduc_smin_v2sf): Rename to...
1809 (reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
1811 2016-01-14 Jan Hubicka <hubicka@ucw.cz>
1813 * alias.c (compare_base_symbol_refs): New function.
1814 (rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
1817 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1820 PR tree-optimization/69155
1821 * tree-complex.c: Include cfganal.h.
1822 (phis_to_revisit): New variable.
1823 (extract_component): Add phiarg_p argument. Assert that returned
1824 SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
1825 (update_phi_components): Partly rewrite to use loop over real/imag
1826 components instead of code duplication. If extract_component returns
1827 SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
1828 create_tmp_reg into the PHI node instead, and mention the phi triplet
1830 (tree_lower_complex): Walk bbs in rpo order. Adjust phis recorded
1831 in phis_to_revisit at the end.
1833 2016-01-14 Richard Biener <rguenther@suse.de>
1835 PR tree-optimization/68060
1836 * tree-vect-loop.c (vect_is_simple_reduction): Check the
1837 outer loop reduction is only used in the inner loop before
1838 detecting a double reduction.
1840 2016-01-14 Jakub Jelinek <jakub@redhat.com>
1843 * combine.c (expand_field_assignment): Punt if compute_mode is
1844 unsupported scalar mode.
1846 2016-01-14 Richard Biener <rguenther@suse.de>
1848 PR tree-optimization/66856
1849 * tree-vect-slp.c (vect_build_slp_tree): Refactor to build
1850 SLP node only if it built successfully.
1851 (vect_analyze_slp_instance): Adjust.
1853 2016-01-14 Jeff Law <law@redhat.com>
1855 PR tree-optimization/69270
1856 * tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
1857 (record_edge_info): Use it. Convert boolean_{true,false}_node
1860 2016-01-13 Jan Hubicka <hubicka@ucw.cz>
1863 * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
1864 use block_ultimate_origin
1865 (noncall-stmt_may_be_vtbl_ptr_store): Likewise.
1867 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
1869 * doc/invoke.texi (Submodel Options): Rename section to
1870 "Machine-Dependent Options" to better reflect its content.
1871 Rewrite introductory text to remove archaic CPU names.
1874 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
1876 * doc/invoke.texi (Code Gen Options): Move section up in file,
1877 before target-specific options. Update menu and option summary
1878 to reflect the new section ordering.
1880 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
1882 * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
1883 (C++ Dialect Options): Add cross-reference to -std option.
1884 * doc/standards.texi (C++ Language): Document C++14 support.
1886 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1888 * config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
1889 for pack/unpack functions for __ibm128.
1890 (PACK_IF): Likewise.
1891 (UNPACK_IF): Likewise.
1893 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
1894 support for __ibm128 pack/unpack functions.
1895 (rs6000_invalid_builtin): Likewise.
1896 (rs6000_init_builtins): Likewise.
1897 (rs6000_opt_masks): Likewise.
1899 * config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
1900 (RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
1902 (RS6000_BTM_COMMON): Likewise.
1904 * config/rs6000/rs6000.md (f128_vsx): New mode attribute.
1905 (unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
1906 disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
1907 128-bit floating point. Add support for the double values to be
1908 in Altivec registers for TF/IF packing and unpacking, but restrict
1909 TD packing sub-fields to be FPR registers. Don't allow overlapped
1910 register support for packing. Allow pack inputs to be memory
1911 locations. Don't build generator functions for unpack<mode>_dm
1912 and unpack<mode>_nodm.
1913 (unpack<mode>_dm): Likewise.
1914 (unpack<mode>_nodm): Likewise.
1915 (pack<mode>): Likewise.
1917 * config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
1918 built-in functions to pack/unpack explicit __ibm128 values.
1919 (__builtin_unpack_ibm128): Likewise.
1921 * doc/extend.texi (PowerPC Built-in Functions): Document
1922 __builtin_pack_ibm128 and __builtin_unpack_ibm128.
1924 2016-01-13 Bernd Schmidt <bschmidt@redhat.com>
1927 * c-common.c (check_function_nonnull): Remove unnecessary declaration.
1928 Add new arg loc and pass it down as context.
1929 (check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
1930 to the location to use for the warning.
1931 (check_function_arguments): New arg loc. All callers changed. Pass
1932 it to check_function_nonnull.
1933 * c-common.h (check_function_arguments): Adjust declaration.
1935 2016-01-13 Jakub Jelinek <jakub@redhat.com>
1937 PR tree-optimization/69156
1938 * gimple.c (validate_type): Removed.
1939 (gimple_builtin_call_types_compatible_p): Use
1940 useless_type_conversion_p instead of validate_type.
1941 * value-prof.c (gimple_stringop_fixed_value): Fold
1942 icall_size to correct type.
1944 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
1946 * doc/extend.texi (__atomic Builtins): Clarify compare_exchange
1949 2016-01-13 Richard Henderson <rth@redhat.com>
1952 * target.def (builtin_tm_load, builtin_tm_store): Remove.
1953 * config/i386/i386.c (ix86_builtin_tm_load): Remove.
1954 (ix86_builtin_tm_store): Remove.
1955 (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
1956 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
1957 * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
1958 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
1959 * doc/tm.texi: Rebuild.
1961 * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
1962 (BUILT_IN_TM_MEMCPY_RTWN): New.
1963 * trans-mem.c (tm_log_emit_stmt): Rearrange code for better
1964 fallback from vector to integer helpers.
1965 (build_tm_load): Handle vector types directly, instead of
1967 (build_tm_store): Likewise.
1968 (expand_assign_tm): Prepare for register types not handled by
1969 the above. Copy them to memory and use memcpy.
1970 * tree.c (tm_define_builtin): New.
1971 (find_tm_vector_type): New.
1972 (build_tm_vector_builtins): New.
1973 (build_common_builtin_nodes): Call it.
1975 2016-01-13 Uros Bizjak <ubizjak@gmail.com>
1977 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
1978 TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
1980 2016-01-13 Tom de Vries <tom@codesourcery.com>
1982 PR tree-optimization/69169
1983 * tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
1984 handled_struct_type param.
1985 (create_variable_info_for, intra_create_variable_infos): Call
1986 create_variable_info_for_1 with extra arg.
1988 2016-01-13 Yvan Roux <yvan.roux@linaro.org>
1990 * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
1991 and "armv8.1-a+crc" entries.
1993 2016-01-13 Alexander Fomin <alexander.fomin@intel.com>
1996 * config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
1997 Change first operand predicate from register_or_constm1_operand
1998 to register_operand.
1999 (define_expand "avx512pf_gatherpf<mode>df"): Likewise.
2000 (define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
2001 (define_expand "avx512pf_scatterpf<mode>df"): Likewise.
2002 (define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
2003 (define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
2004 (define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
2005 (define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
2006 * config/i386/i386.c (ix86_expand_builtin): Remove first operand
2007 comparison with constm1_rtx from vec_prefetch_gen part.
2009 2016-01-13 Richard Biener <rguenther@suse.de>
2011 PR tree-optimization/69013
2012 * tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
2013 Exchange assert for a test.
2015 2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2018 * config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
2020 2016-01-13 Richard Biener <rguenther@suse.de>
2022 PR tree-optimization/69242
2023 * tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
2024 assert with a check.
2026 2016-01-13 Richard Biener <rguenther@suse.de>
2028 PR tree-optimization/69186
2029 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
2030 Properly guard vect_update_misalignment_for_peel call.
2032 2016-01-12 Jeff Law <law@redhat.com>
2034 PR tree-optimization/pr67755
2035 * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
2036 "need_profile_correction".
2037 (thread_block_1): Initialize new field to false by default. If we
2038 have multiple thread paths through a common joiner to different
2039 final targets, then set new field to true.
2040 (compute_path_counts): Only do count adjustment when it's really
2043 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
2045 * doc/invoke.texi (Spec Files): Move section down in file, past
2046 all command-line option descriptions.
2048 2016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
2051 * doc/gty.texi: Remove documentation of mark_hook.
2052 * gengtype.c (struct write_types_data): Remove code to support
2053 mark_hook attribute.
2054 (walk_type): Likewise.
2055 (write_func_for_structure): Likewise.
2057 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
2059 * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
2060 Directory Options, and -specs= to Overall Options.
2061 (Overall Options): Adjust similarly. Reorder to group related
2062 options together. Make -specs= cross-reference the spec file details.
2063 (Directory Options): Adjust similarly.
2065 2016-01-12 Jeff Law <law@redhat.com>
2067 * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
2069 2016-01-12 Olivier Hainque <hainque@adacore.com>
2071 * gcc.c (spec_undefvar_allowed): New global.
2072 (process_command): Set to true when running for --version or --help,
2074 (getenv_spec_function): When the variable is not defined, use the
2075 variable name as the variable value if we're allowed not to issue
2078 2016-01-12 Bin Cheng <bin.cheng@arm.com>
2080 PR tree-optimization/68911
2081 * tree-vrp.c (adjust_range_with_scev): Check overflow in range
2082 information computed for expression "init + nit * step".
2084 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
2086 * doc/invoke.texi (Invoking GCC): Copy-edit. Incorporate information
2087 about name of GCC executable. Remove deleted node from menu.
2088 (Directory Options) <-B>: Remove cross-reference to deleted node.
2089 (Target Options): Delete section.
2091 2016-01-12 Christian Bruel <christian.bruel@st.com>
2094 * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
2095 for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
2097 2016-01-12 Jakub Jelinek <jakub@redhat.com>
2100 * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
2101 aligned_mem is properly set for AVX512-VL floating point masked
2105 * ifcvt.c (cond_exec_process_if_block): When removing the last
2106 insn from then_bb, remove also any possible barriers that follow it.
2108 2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
2112 * config/i386/iamcu.h (SIZE_TYPE): New macro.
2113 (PTRDIFF_TYPE): Likewise.
2114 (WCHAR_TYPE): Likewise.
2115 (WCHAR_TYPE_SIZE): Likewise.
2116 (STDINT_LONG32): Likewise.
2118 2016-01-12 Richard Biener <rguenther@suse.de>
2120 PR tree-optimization/69053
2121 * tree-vect-loop.c (get_initial_def_for_reduction): Properly
2122 convert initial value for cond reductions.
2124 2016-01-12 Richard Biener <rguenther@suse.de>
2126 PR tree-optimization/69007
2127 * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
2128 widen_sum after dot_prod and sad.
2130 2016-01-12 Richard Biener <rguenther@suse.de>
2132 PR tree-optimization/69168
2133 * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
2134 pattern stmt SLP type.
2135 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
2136 end up unused so cope with that case.
2138 2016-01-12 Richard Biener <rguenther@suse.de>
2140 PR tree-optimization/69157
2141 * tree-vect-stmts.c (vectorizable_mask_load_store): Check
2142 stmts def type only during analyze phase.
2143 (vectorizable_call): Likewise.
2144 (vectorizable_simd_clone_call): Likewise.
2145 (vectorizable_conversion): Likewise.
2146 (vectorizable_assignment): Likewise.
2147 (vectorizable_shift): Likewise.
2148 (vectorizable_operation): Likewise.
2149 (vectorizable_store): Likewise.
2150 (vectorizable_load): Likewise.
2152 2016-01-12 Richard Biener <rguenther@suse.de>
2154 PR tree-optimization/69174
2155 * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
2157 (vectorizable_load): Properly compute the number of loads needed
2158 for permuted strided SLP loads and do not spuriously assign
2159 to SLP_TREE_VEC_STMTS.
2161 2016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
2163 * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
2164 (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
2165 (MD_EXEC_PREFIX): Remove.
2166 (MD_STARTFILE_PREFIX) Removee.
2167 (FILE_NAME_ABSOLUTE_P): Remove.
2168 (CPP_SPEC): Do not read macros from sys/version.h.
2169 (LINK_COMMAND_SPEC): Remove.
2170 (LOCAL_INCLUDE_DIR): Remove.
2171 (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
2172 (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
2173 (POST_LINK_SPEC): Define to invoke stubify after linker
2174 (LIBSTDCXX): Remove define
2175 (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
2176 (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
2177 (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
2178 (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
2179 (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
2180 (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
2181 (i386_djgpp_asm_named_section): Add propotype of new procedure
2183 * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
2184 (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
2185 (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX in config/i386/djgpp.h).
2186 (STANDARD_STARTFILE_PREFIX_2): Define identical to STANDARD_STARTFILE_PREFIX_1.
2187 (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
2188 (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal installation errors.
2189 (MAX_OFILE_ALIGNMENT): Define to 128.
2190 (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
2192 * config/i386/djgpp.c: New file. Add implementation of i386_djgpp_asm_named_section.
2194 * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
2196 * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
2197 Add rule for building djgpp.o.
2199 2016-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2201 * config/rs6000/rs6000.c (v2df_reduction_p): New function.
2202 (rtx_is_swappable_p): Reductions are swappable.
2203 (insn_is_swappable_p): V2DF reductions are swappable.
2205 2016-01-11 John David Anglin <danglin@gcc.gnu.org>
2207 * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
2208 reloads for other unsupported memory operands.
2210 2016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
2211 Jim Wilson <jim.wilson@linaro.org>
2214 * config/arm/arm-builtins.c (arm_expand_neon_args): Call
2215 copy_to_mode_reg instead of force_reg.
2217 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
2220 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
2221 TARGET_80387 is true.
2223 2016-01-11 Jakub Jelinek <jakub@redhat.com>
2226 * lra-eliminations.c (move_plus_up): Only move plus up
2227 if subreg of the constant can be simplified into constant
2228 and use the simplified subreg of the constant instead of
2229 the original constant.
2231 * fold-const.c (fold_convertible_p): Don't return true
2232 for conversion of VECTOR_TYPE to same sized integral type.
2233 (fold_convert_loc): Fix up formatting. Fold conversion of
2234 VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
2235 instead of NOP_EXPR.
2237 PR tree-optimization/69214
2238 * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
2239 innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
2242 PR tree-optimization/69207
2243 * tree-vect-slp.c (vect_get_constant_vectors): For
2244 VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
2245 fold_convertible_p to vector_type's element type, and always
2246 use VCE for non-VECTOR_BOOLEAN_TYPE_P.
2248 2016-01-11 Richard Biener <rguenther@suse.de>
2250 PR tree-optimization/69173
2251 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
2252 fixup the cycle if all stmts are in a pattern.
2254 2016-01-11 Uros Bizjak <ubizjak@gmail.com>
2257 * alias.c (base_alias_check): Move check for addresses with
2258 alignment ANDs before the call for compare_base_decls.
2259 (memrefs_conflict_p): Return -1 for different decls
2260 that went through alignment adjustments.
2262 2016-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2264 PR rtl-optimization/68796
2265 * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
2266 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
2267 and QImode comparisons against zero with CC_NZmode.
2268 * config/aarch64/iterators.md (short_mask): New mode_attr.
2270 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
2272 * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
2273 (<avx512>_store<mode>_mask): Likewise.
2275 2016-01-11 Bernd Schmidt <bschmidt@redhat.com>
2276 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2278 PR rtl-optimization/68841
2279 * ifcvt.c (struct noce_if_info): Add orig_x field.
2280 (bbs_ok_for_cmove_arith): Add to_rename parameter.
2281 Don't record conflicts on to_rename if it's present.
2282 Allow memory destinations in sets.
2283 (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
2284 blocks, passing orig_x to the checks.
2285 (noce_process_if_block): Set if_info->orig_x appropriately.
2287 2016-01-11 Tom de Vries <tom@codesourcery.com>
2289 PR tree-optimization/69069
2290 * tree-parloops.c (create_parallel_loop): Add missing phi args.
2292 2016-01-11 Yuri Rumyantsev <ysrumyan@gmail.com>
2294 PR rtl-optimization/68920
2295 * config/i386/i386.c (ix86_option_override_internal): Restrict number
2296 of conditional moves for RTL if-conversion to 1 for
2297 TARGET_ONE_IF_CONV_INSN.
2298 * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
2299 * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
2300 * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
2301 parameter to restirct number of conditional moves for
2303 * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
2304 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
2307 2016-01-11 Alexandre Oliva <aoliva@redhat.com>
2310 * var-tracking.c (drop_overlapping_mem_locs): Operate on all
2311 onepart vars. Fix typo in comment. Fix reversed condition in
2313 (dataflow_set_remove_mem_locs): Operate on all onepart vars.
2316 * var-tracking.c (dump_onepart_variable_differences): New.
2317 (dataflow_set_different): If a detailed dump is requested,
2318 delay early returns and dump differences between onepart
2319 variables present before and after, and added variables.
2321 2016-01-11 Ilya Enkovich <enkovich.gnu@gmail.com>
2324 * expr.c (expand_expr_real_1): For boolean vector constants
2325 with a scalar mode use const_scalar_mask_from_tree.
2326 (const_scalar_mask_from_tree): New.
2327 * optabs.c (expand_vec_cond_mask_expr): Use mask mode
2328 assigned to a mask type to handle constants.
2330 2016-01-11 Martin Jambor <mjambor@suse.cz>
2333 * ipa-cp.c (estimate_local_effects): Do not clone for removal of
2334 useless parameters if we cannot change function signature.
2336 2016-01-11 Martin Jambor <mjambor@suse.cz>
2339 * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
2342 2016-01-11 Tom de Vries <tom@codesourcery.com>
2344 PR tree-optimization/69109
2345 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
2348 2016-01-11 Tom de Vries <tom@codesourcery.com>
2350 PR tree-optimization/69108
2351 * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
2352 res is not used in a phi.
2354 2016-01-11 Yury Gribov <y.gribov@samsung.com>
2357 * common.opt (frandom-seed): Fix parameter name.
2358 * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
2360 2016-01-11 Tom de Vries <tom@codesourcery.com>
2362 PR tree-optimization/69058
2363 * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
2366 2016-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
2368 * config/arc/arc.opt (mdiv-rem): Add period to the end.
2369 (mcode-density): Likewise.
2371 2016-01-10 Tom de Vries <tom@codesourcery.com>
2373 PR tree-optimization/69062
2374 * tree-parloops.c (loop_has_phi_with_address_arg): New function.
2375 (parallelize_loops): Don't paralelize loop that has phi with address
2378 2016-01-10 Tom de Vries <tom@codesourcery.com>
2380 PR tree-optimization/69039
2381 * tree-parloops.c (try_create_reduction_list): Only allow single exit
2384 2016-01-09 John David Anglin <danglin@gcc.gnu.org>
2387 * match.pd: Require target has function_c99_misc before doing
2388 truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
2390 2016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
2392 * configure.ac (isl_options_set_schedule_serialize_sccs): Also
2394 * configure: Regenerate.
2396 2016-01-09 Jakub Jelinek <jakub@redhat.com>
2399 PR tree-optimization/69097
2400 * fold-const.h (expr_not_equal_to): New prototype.
2401 * fold-const.c: Include stringpool.h and tree-ssanames.h.
2402 (expr_not_equal_to): New function.
2403 * match.pd (X % -Y is the same as X % Y): Don't optimize
2404 unless X is known not to be equal to minimum or Y is known
2405 not to be equal to -1.
2406 * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
2407 fold TRUNC_MOD_EXPR if the second argument is not a power of two.
2408 (simplify_stmt_using_ranges): Adjust caller.
2409 (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
2410 substitute_and_fold.
2412 2016-01-09 Jan Hubicka <hubicka@ucw.cz>
2414 * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
2417 2016-01-08 Jakub Jelinek <jakub@redhat.com>
2419 PR tree-optimization/69167
2420 * gimple-fold.c (replace_stmt_with_simplification): Also punt if
2421 new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
2423 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
2425 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
2426 Richard Biener <rguenther@suse.de>
2428 PR tree-optimization/68707
2429 * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
2430 instances that can be handled via vect_load_lanes.
2432 2016-01-08 Uros Bizjak <ubizjak@gmail.com>
2434 * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
2435 if we can't determine address equivalence.
2436 * alias.c (compare_base_decl): Update for changed return value of
2437 symtab_node::equal_address_to.
2439 2016-01-08 Jason Merrill <jason@redhat.com>
2443 * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
2444 * expr.c (store_field): Not here.
2445 * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
2446 call with TREE_ADDRESSABLE type.
2447 * tree-cfg.c (verify_gimple_call): Adjust.
2449 2016-01-08 Olivier Hainque <hainque@adacore.com>
2451 * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
2454 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
2456 * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
2457 (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
2458 (reduc_smin_v2sf): Rename to...
2459 (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
2460 (reduc_splus_v2sf): Rename to...
2461 (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
2463 2016-01-08 Jakub Jelinek <jakub@redhat.com>
2465 PR tree-optimization/69162
2466 * gimplify.c (gimplify_va_arg_expr): Encode original type of
2467 valist argument in another argument.
2468 (gimplify_modify_expr): Adjust for the above change. Cleanup.
2469 * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
2470 to determine the va_list type, build a MEM_REF instead of
2471 build_fold_indirect_ref.
2473 PR tree-optimization/69172
2474 * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
2477 2016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
2479 PR tree-optimization/67781
2480 * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
2481 and cmpnop in two steps: first the ones not accessed in original
2482 gimple expression in a endian independent way and then the ones not
2483 accessed in the final result in an endian-specific way.
2485 2016-01-08 Jakub Jelinek <jakub@redhat.com>
2487 PR tree-optimization/69083
2488 * tree-vect-slp.c (vect_get_constant_vectors): For
2489 VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
2490 element type. If op is fold_convertible_p to vector_type's element
2491 type, use NOP_EXPR instead of VCE.
2493 2016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
2495 PR rtl-optimization/67778
2496 PR rtl-optimization/68634
2497 PR rtl-optimization/68909
2498 * shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
2499 block from the stack until done with it. Remove a superfluous
2500 bitmap set. Remove a superfluous bitmap test.
2502 2016-01-07 Martin Sebor <msebor@redhat.com>
2505 * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
2506 constraint on the type of arguments.
2508 2016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
2510 * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
2511 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
2512 unaligned_access on the gcc_options set.
2513 * config/arm/arm.c (arm_option_override_internal): Use
2514 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
2516 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
2519 * config/i386/i386.c (ix86_frame_pointer_required): Enable
2520 frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
2522 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
2525 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
2528 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
2529 depending on frame_pointer_needed before remaining integer and SSE
2530 registers are saved.
2532 2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
2535 * doc/extend.texi (Nvidia PDX Function Attributes): New section.
2537 2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
2540 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
2541 Use the "xBm" constraint.
2542 (float<sseintvecmodelower><mode>2<mask_name><round_name):
2544 (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
2545 (sse_cvtsi2ssq<round_name>): Likewise.
2546 (sse_cvtss2si<round_name>): Likewise.
2547 (sse_cvtss2siq<round_name>): Likewise.
2548 (sse2_cvtsi2sdq<round_name>): Likewise.
2549 (sse2_cvtsd2si<round_name>): Likewise.
2550 (sse2_cvtsd2siq<round_name>): Likewise.
2551 * config/i386/subst.md (round_nimm_scalar_predicate): New
2554 2015-12-15 Bernd Schmidt <bschmidt@redhat.com>
2557 * varasm.c (make_decl_rtl): Mark invalid register vars as
2560 PR rtl-optimization/66206
2561 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
2562 All callers changed.
2564 2016-01-07 Jakub Jelinek <jakub@redhat.com>
2566 PR tree-optimization/69141
2567 * tree-ssa-pre.c: Include langhooks.h.
2568 (eliminate_dom_walker::before_dom_children): Use
2569 lang_hooks.decl_printable_name instead of
2570 cgraph_node::get ()->name ().
2573 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
2574 it and DECL_ALIGN too.
2576 2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
2578 * config/mips/mips-ftypes.def: Sort to lexicographical order.
2580 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
2583 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
2584 depending on frame_pointer_needed before remaining integer and SSE
2585 registers are saved.
2587 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2589 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
2590 mode iterator with VSX_M2.
2591 (*p9_vecstore_<mode>): Likewise.
2592 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
2593 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
2594 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
2595 (define_split for VSX_LE128 stores): Likewise.
2596 (define_peephole2 for TImode LE swaps): Likewise.
2597 (define_split for VSX_LE128 post-reload stores): Likewise.
2599 2016-01-06 Marek Polacek <polacek@redhat.com>
2602 * convert.c (convert_to_integer_1): Adjust call to
2603 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
2604 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
2605 EXPR instead of ARG.
2606 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
2608 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2611 * doc/extend.texi (RL78 Variable Attributes): New section.
2613 2016-01-05 Marek Polacek <polacek@redhat.com>
2616 * builtins.c (get_memmodel): Use expansion point location rather than
2617 the input location. Call warning_at rather than warning.
2618 (expand_builtin_atomic_compare_exchange): Likewise.
2619 (expand_builtin_atomic_load): Likewise.
2620 (expand_builtin_atomic_store): Likewise.
2621 (expand_builtin_atomic_clear): Likewise.
2623 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2626 * config/i386/i386.c (ix86_expand_vector_logical_operator):
2627 Replace nonimmediate_operand with vector_operand.
2628 * config/i386/predicates.md (vector_operand): New predicate.
2629 (general_vector_operand): Replace nonimmediate_operand with
2631 * config/i386/sse.md: Replace nonimmediate_operand with
2632 vector_operand and m constraint with Bm constraint on SSE
2633 patterns with 16-byte memory operand.
2634 * config/i386/subst.md (round_nimm_predicate): Replace
2635 nonimmediate_operand with vector_operand.
2636 (round_saeonly_nimm_predicate): Likewise.
2637 (round_saeonly_nimm_scalar_predicate): New.
2639 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
2642 * config/i386/constraints.md (Bm): New constraint.
2643 * config/i386/predicates.md (vector_memory_operand): New
2645 * config/i386/sse.md: Replace xm with xBm in plusminus and
2648 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2651 * doc/extend.texi (V850 Function Attributes): New section.
2652 (V850 Variable Attributes): New section.
2654 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
2657 * doc/extend.texi (MicroBlaze Function Attributes): Document
2658 interrupt_handler and fast_interrupt attributes.
2660 2016-01-05 Sergei Trofimovich <siarheit@google.com>
2663 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
2664 for local symbolic operands.
2665 * config/ia64/predicates.md (local_symbolic_operand64): New
2668 2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2670 PR rtl-optimization/68651
2671 * combine.c (combine_simplify_rtx): Canonicalize x + x into
2674 2016-01-05 Nathan Sidwell <nathan@acm.org>
2676 * alias.c (compare_base_decls): Use symtab_node::get.
2678 2016-01-05 Nick Clifton <nickc@redhat.com>
2681 * ira-costs.c (copy_cost): Initialise the t_icode field of the
2682 secondary_reload_info structure.
2685 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
2686 decls if weak support is available.
2688 2016-01-04 Martin Sebor <msebor@redhat.com>
2690 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
2692 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
2694 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
2695 OPTION_MASK_P9_DFORM.
2697 * config/rs6000/constraints.md (wo constraint): New constraint for
2700 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
2702 (rs6000_init_hard_regno_mode_ok): Likewise.
2704 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
2707 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
2708 expanders not to have constraints. Add support for ISA 3.0 xxperm
2709 instruction. Add support for fusing xxlor with xxperm.
2710 (altivec_vperm_<mode>_internal): Likewise.
2711 (altivec_vperm_v8hiv16qi): Likewise.
2712 (altivec_vperm_<mode>v16q): Likewise.
2713 (altivec_vperm_<mode>_uns): Likewise.
2714 (vperm_v8hiv4si): Likewise.
2715 (vperm_v16qiv8hi): Likewise.
2717 * doc/md.texi (RS/6000 constraints): Document wo constraint.
2719 2016-01-04 Jakub Jelinek <jakub@redhat.com>
2721 Update copyright years.
2723 * gcc.c (process_command): Update copyright notice dates.
2724 * gcov-dump.c (print_version): Ditto.
2725 * gcov.c (print_version): Ditto.
2726 * gcov-tool.c (print_version): Ditto.
2727 * gengtype.c (create_file): Ditto.
2728 * doc/cpp.texi: Bump @copying's copyright year.
2729 * doc/cppinternals.texi: Ditto.
2730 * doc/gcc.texi: Ditto.
2731 * doc/gccint.texi: Ditto.
2732 * doc/gcov.texi: Ditto.
2733 * doc/install.texi: Ditto.
2734 * doc/invoke.texi: Ditto.
2736 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2738 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
2739 modes larger than TImode as TImode if NEON is not enabled.
2741 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2744 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
2745 mode for %f0-%f31 only if TARGET_FPU.
2747 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
2750 * config/sparc/sparc.c (scan_record_type): Take into account subfields
2751 to compute the PACKED_P predicate.
2752 (function_arg_record_value): Minor tweaks.
2754 2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
2756 * doc/install.texi (--with-multilib-list): Describe the meaning of the
2757 option for arm*-*-* targets.
2759 2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
2761 * doc/extend.texi (Common Function Attributes): Move docs for
2762 MSP430-specific attributes to....
2763 (MSP430 Function Attributes): ...here. Delete the redundant
2764 entries and copy-edit the remaining text.
2765 (MSP430 Variable Attributes): Use uniform format for index
2766 entries and add a cross-reference to the corresponding function
2769 2016-01-03 Vladimír Čunát <vcunat@gmail.com>
2771 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
2773 (x86 Options): Likewise.
2775 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
2779 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
2780 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
2781 to corresponding attribute.
2783 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
2785 * doc/extend.texi (Common Function Attributes) <noplt>: Move
2786 to correct alphabetization of table. Copy-edit and correct
2788 <stack_protect>: Likewise.
2789 <target_clones>: Likewise.
2791 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
2792 Correct punctuation.
2793 (Code Gen Options) <-fno-plt>: Copy-edit.
2795 2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
2798 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
2799 SI values. Explicitly convert SI to DI and vice-versa.
2801 2016-01-01 Jakub Jelinek <jakub@redhat.com>
2803 PR tree-optimization/69070
2804 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
2805 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
2808 * ubsan.c (ubsan_instrument_float_cast): Call
2809 initialize_sanitizer_builtins.
2812 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
2814 Copyright (C) 2016 Free Software Foundation, Inc.
2816 Copying and distribution of this file, with or without modification,
2817 are permitted in any medium without royalty provided the copyright
2818 notice and this notice are preserved.