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