S/390: z13 Change predicates of 128 bit add sub.
[gcc.git] / gcc / ChangeLog
1 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2
3 * config/s390/vector.md ("<ti*>add<mode>3", "<ti*>sub<mode>3"):
4 Change the predicate of op2 from nonimmediate to general and let
5 reload fix it if necessary.
6
7 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8
9 * config/s390/vecintrin.h (vec_sub_u128): Define missing macro.
10
11 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
12
13 * config/s390/s390.c (s390_expand_vcond): Use the compare operand
14 mode.
15
16 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
17
18 * config/s390/s390-protos.h: Add s390_expand_vec_movstr prototype.
19 * config/s390/s390.c (s390_expand_vec_movstr): New function.
20 * config/s390/s390.md ("movstr<P:mode>"): Call
21 s390_expand_vec_movstr.
22
23 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
24
25 * config/s390/s390.md: Add missing output modifier for operand 1
26 to print it as address properly.
27
28 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
29
30 * config/s390/2827.md: Rename ooo_* insn attributes to zEC12_*.
31 * config/s390/2964.md: New file.
32 * config/s390/s390.c (s390_get_sched_attrmask): Use the right set
33 of insn grouping attributes depending on the CPU level.
34 (s390_get_unit_mask): New function.
35 (s390_sched_score): Remove the OOO from the scheduling macros.
36 Add loop to calculate a score for the instruction mix.
37 (s390_sched_reorder): Likewise plus improve debug output.
38 (s390_sched_variable_issue): Rename macros as above. Calculate
39 the unit distances after actually scheduling an insn. Improve
40 debug output.
41 (s390_sched_init): Clear last_scheduled_unit_distance array.
42 * config/s390/s390.md: Include 2964.md.
43
44 2016-02-18 Jakub Jelinek <jakub@redhat.com>
45
46 PR target/69671
47 * config/i386/sse.md (*<floatsuffix>floatv2div2sf2_mask_1,
48 *avx512vl_<code>v2div2qi2_mask_1, *avx512vl_<code><mode>v4qi2_mask_1,
49 *avx512vl_<code><mode>v8qi2_mask_1, *avx512vl_<code><mode>v4hi2_mask_1,
50 *avx512vl_<code>v2div2hi2_mask_1, *avx512vl_<code>v2div2si2_mask_1,
51 *avx512f_<code>v8div16qi2_mask_1): New insns.
52
53 2016-02-18 Michael Meissner <meissner@linux.vnet.ibm.com>
54
55 PR target/68404
56 * config/rs6000/predicates.md (fusion_gpr_addis): Revert
57 2016-02-09 change.
58
59 * config/rs6000/rs6000.md (fusion_gpr_load_<mode>): Remove
60 earlyclobber from target. Use wF constraint for fused memory
61 address.
62 (fusion_gpr_<P:mode>_<GPR_FUSION:mode>_load): Likewise.
63
64 2016-02-18 Jakub Jelinek <jakub@redhat.com>
65 Martin Liska <mliska@suse.cz>
66
67 PR sanitizer/69863
68 * cfgexpand.c (asan_sanitize_stack_p): New function.
69 (partition_stack_vars): Use the function.
70 (expand_stack_vars): Likewise.
71 (defer_stack_allocation): Likewise.
72 (expand_used_vars): Likewise.
73
74 2016-02-18 Richard Biener <rguenther@suse.de>
75
76 PR middle-end/69553
77 * fold-const.c (operand_equal_p): Properly compare offsets for
78 IMAGPART_EXPR and ARRAY_REF.
79
80 2016-02-18 Nick Clifton <nickc@redhat.com>
81
82 PR target/62254
83 PR target/69610
84 * config/arm/arm.c (arm_option_override_internal): Disable
85 interworking if the target does not support thumb instructions.
86 (arm_reload_in_hi): Handle the case where a register to register
87 move needs reloading because there is no simple pattern to handle
88 it.
89 (arm_reload_out_hi): Likewise.
90
91 2016-02-18 Richard Biener <rguenther@suse.de>
92
93 PR middle-end/69854
94 * match.pd: Don't use fold_binary or fold_unary for folding
95 constants.
96
97 2016-02-17 Jakub Jelinek <jakub@redhat.com>
98
99 PR c++/69850
100 * gimplify.c (gimplify_cond_expr): Call gimple_set_no_warning
101 on the cond_stmt from TREE_NO_WARNING on COND_EXPR_COND.
102 * gimple-ssa-nonnull-compare.c (do_warn_nonnull_compare): Don't
103 warn on gimple_no_warning_p statements.
104
105 2016-02-17 Jonathan Wakely <jwakely@redhat.com>
106
107 * doc/extend.texi (C++ Attributes): Correct description of
108 warn_unused type attribute.
109
110 2016-02-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
111
112 * config/rs6000/altivec.md (*altivec_lvxl_<mode>_internal): Output
113 correct instruction.
114
115 2016-02-17 Richard Biener <rguenther@suse.de>
116
117 PR rtl-optimization/69609
118 * bb-reorder.c (struct bbro_basic_block_data): Add priority member.
119 (find_traces_1_round): When ending a trace update cached priority
120 of successors.
121 (bb_to_key): Use cached priority when available.
122 (copy_bb): Initialize cached priority.
123 (reorder_basic_blocks_software_trace_cache): Likewise.
124
125 2016-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
126
127 PR target/69161
128 * config/aarch64/predicates.md (aarch64_comparison_operator_mode):
129 New predicate.
130 (aarch64_comparison_operator): Break overly long line into two.
131 (aarch64_comparison_operation): Likewise.
132 * config/aarch64/aarch64.md (cstorecc4): Use
133 aarch64_comparison_operator_mode instead of
134 aarch64_comparison_operator.
135 (cstore<mode>4): Likewise.
136 (aarch64_cstore<mode>): Likewise.
137 (*cstoresi_insn_uxtw): Likewise.
138 (cstore<mode>_neg): Likewise.
139 (*cstoresi_neg_uxtw): Likewise.
140
141 2016-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
142
143 PR target/69161
144 * config/arm/predicates.md (arm_comparison_operator_mode):
145 New predicate.
146 * config/arm/arm.md (*mov_scc): Use arm_comparison_operator_mode
147 instead of arm_comparison_operator.
148 (*mov_negscc): Likewise.
149 (*mov_notscc): Likewise.
150 * config/arm/thumb2.md (*thumb2_mov_scc): Likewise.
151 (*thumb2_mov_negscc): Likewise.
152 (*thumb2_mov_negscc_strict_it): Likewise.
153 (*thumb2_mov_notscc): Likewise.
154 (*thumb2_mov_notscc_strict_it): Likewise.
155
156 2016-02-17 Wilco Dijkstra <wdijkstr@arm.com>
157
158 * config/aarch64/aarch64.c (aarch64_internal_mov_immediate):
159 Add missing return.
160
161 2016-02-17 Eric Botcazou <ebotcazou@adacore.com>
162
163 * config/visium/visium.c (machine_libfunc_index): New enum.
164 (machine_libfuncs): New structure.
165 (visium_libfuncs): New static variable.
166 (TARGET_INIT_LIBFUNCS): Define to...
167 (visium_init_libfuncs): ...this. New function.
168 (expand_block_move_4): Use the appropriate libfunc.
169 (expand_block_move_2): Likewise.
170 (expand_block_move_1): Likewise.
171 (expand_block_set_4): Likewise.
172 (expand_block_set_2): Likewise.
173 (expand_block_set_1): Likewise.
174 (visium_trampoline_init): Likewise.
175
176 2016-02-17 Nick Clifton <nickc@redhat.com>
177
178 * config/msp430/msp430.c (msp430_mcu_data): Sync with data from
179 TI's devices.csv file as of March 2016.
180
181 2016-02-16 Kelvin Nilsen <kelvin@gcc.gnu.org>
182
183 PR Target/48344
184 * opts-global.c (handle_common_deferred_options): Introduce and
185 initialize two global variables to remember command-line options
186 specifying a stack-limiting register.
187 * opts.h: Add extern declarations of the two new global variables.
188 * emit-rtl.c (init_emit_once): Initialize the stack_limit_rtx
189 variable based on the values of the two new global variables.
190
191 2016-02-16 Jakub Jelinek <jakub@redhat.com>
192
193 PR c/69835
194 * common.opt (Wnonnull-compare): New warning.
195 * doc/invoke.texi (-Wnonnull): Remove text about comparison
196 of arguments against NULL.
197 (-Wnonnull-compare): Document.
198 * Makefile.in (OBJS): Add gimple-ssa-nonnull-compare.o.
199 * tree-pass.h (make_pass_warn_nonnull_compare): Declare.
200 * passes.def (pass_warn_nonnull_compare): Add.
201 * gimple-ssa-nonnull-compare.c: New file.
202
203 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
204
205 * config/aarch64/aarch64.c (cortexa57_tunings): Remove
206 AARCH64_EXTRA_TUNE_RECIP_SQRT.
207
208 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
209
210 * config/aarch64/aarch64.c (use_rsqrt_p): Always use software
211 reciprocal sqrt for -mlow-precision-recip-sqrt.
212
213 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
214 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
215
216 * config/aarch64/aarch64.c (aarch64_expand_vector_init): Refactor,
217 always use lane loads to construct non-constant vectors.
218
219 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
220
221 * config/aarch64/aarch64.md
222 (arch64_sqrdml<SQRDMLH_AS:rdma_as>h_lane<mode>): Fix register
223 constraints for operand 3.
224 (aarch64_sqrdml<SQRDMLH_AS:rdma_as>h_laneq<mode>): Likewise.
225
226 2016-02-16 Jakub Jelinek <jakub@redhat.com>
227 Richard Biener <rguenther@suse.de>
228
229 PR tree-optimization/69820
230 * tree-vect-patterns.c (type_conversion_p): Return false if
231 *orig_type is unsigned single precision or boolean.
232 (vect_recog_dot_prod_pattern, vect_recog_widen_mult_pattern):
233 Formatting fix.
234
235 2016-02-16 Jakub Jelinek <jakub@redhat.com>
236
237 PR rtl-optimization/69764
238 PR rtl-optimization/69771
239 * optabs.c (expand_binop): Ensure for shift optabs invalid CONST_INT
240 op1 is valid for GET_MODE_INNER (mode) and force it into a reg.
241
242 2016-02-16 Richard Biener <rguenther@suse.de>
243
244 PR tree-optimization/69776
245 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Get alias
246 sets from caller.
247 (indirect_refs_may_alias_p): Likewise.
248 (refs_may_alias_p_1): Pass alias sets as from ao_ref.
249 * tree-ssa-sccvn.c (vn_reference_lookup): Also adjust vr alias-set
250 according to tbaa_p.
251 * tree-ssa-dom.c (lookup_avail_expr): Add tbaa_p flag.
252 (optimize_stmt): For redundant store discovery do not allow tbaa.
253
254 2016-02-16 Bernd Schmidt <bschmidt@redhat.com>
255
256 PR tree-optimization/69714
257 * tree-ssa-math-opts.c (find_bswap_or_nop): Revert previous change.
258 Return NULL if we have irrelevant high bytes on BIG_ENDIAN.
259
260 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
261
262 * config/arc/arc-modes.def (CC_FPU, CC_FPU_UNEQ): New modes.
263 * config/arc/arc-opts.h (FPU_SP, FPU_SF, FPU_SC, FPU_SD, FPU_DP)
264 (FPU_DF, FPU_DC, FPU_DD, FXP_DP): Define.
265 * config/arc/arc.c (arc_init): Check FPU options.
266 (get_arc_condition_code): Handle new CC_FPU* modes.
267 (arc_select_cc_mode): Likewise.
268 (arc_conditional_register_usage): Allow 64 bit datum into even-odd
269 register pair only. Allow access for ARCv2 accumulator.
270 (gen_compare_reg): Whenever we have FPU support use FPU compare
271 instructions.
272 (arc_reorg): Don't generate brcc insns when FPU compare
273 instructions are involved.
274 * config/arc/arc.h (TARGET_DPFP): Add TARGET_FP_DPAX condition.
275 (TARGET_OPTFPE): Add condition when ARC EM can use optimized
276 floating point emulation.
277 (ACC_REG_FIRST, ACC_REG_LAST, ACCL_REGNO, ACCH_REGNO): Define.
278 (REVERSE_CONDITION): Add new CC_FPU* modes.
279 (TARGET_FP_SP_BASE): Define.
280 (TARGET_FP_DP_BASE): Likewise.
281 (TARGET_FP_SP_FUSED): Likewise.
282 (TARGET_FP_DP_FUSED): Likewise.
283 (TARGET_FP_SP_CONV): Likewise.
284 (TARGET_FP_DP_CONV): Likewise.
285 (TARGET_FP_SP_SQRT): Likewise.
286 (TARGET_FP_DP_SQRT): Likewise.
287 (TARGET_FP_DP_AX): Likewise.
288 * config/arc/arc.md (ARCV2_ACC): New constant.
289 (type): New fpu type attribute.
290 (SDF): Conditional iterator.
291 (cstore<mode>, cbranch<mode>): Change expand condition.
292 (addsf3, subsf3, mulsf3, adddf3, subdf3, muldf3): New expands,
293 handles FPU/FPX cases as well.
294 * config/arc/arc.opt (mfpu): New option.
295 * config/arc/fpx.md (addsf3_fpx, subsf3_fpx, mulsf3_fpx):
296 Renamed.
297 (adddf3, muldf3, subdf3): Removed.
298 * config/arc/predicates.md (proper_comparison_operator): Recognize
299 CC_FPU* modes.
300 * config/arc/fpu.md: New file.
301 * doc/invoke.texi (ARC Options): Document mfpu option.
302
303 2016-02-16 Richard Biener <rguenther@suse.de>
304
305 PR rtl-optimization/69291
306 * ifcvt.c (noce_try_store_flag_constants): Re-instantiate
307 noce_operand_ok check.
308
309 2016-02-16 Tom de Vries <tom@codesourcery.com>
310
311 PR lto/67709
312 * omp-low.c (simd_clone_create): Remove call to
313 symtab->call_cgraph_insertion_hooks.
314
315 2016-02-16 Jakub Jelinek <jakub@redhat.com>
316
317 PR tree-optimization/69802
318 * tree-ssa-reassoc.c (update_range_test): If op is
319 SSA_NAME_IS_DEFAULT_DEF, give up unless tem is a positive
320 op == 1 test of precision 1 integral op, otherwise handle
321 that case as op itself. Fix up formatting.
322 (optimize_range_tests_to_bit_test, optimize_range_tests): Fix
323 up formatting.
324
325 2016-02-16 Richard Biener <rguenther@suse.de>
326
327 PR tree-optimization/69586
328 * tree-vrp.c (register_edge_assert_for_2): Handle all integral
329 types for conversion sources.
330
331 2016-02-16 Richard Biener <rguenther@suse.de>
332
333 PR middle-end/69801
334 * fold-const.c (operand_equal_p): For COND_EXPR zero operand
335 mask OEP_ADDRESS_OF.
336
337 2016-02-16 Alan Modra <amodra@gmail.com>
338
339 PR target/68973
340 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Rewrite splitter.
341 (p8_mtvsrd_df, p8_mtvsrd_sf): New.
342 (p8_mtvsrd_1, p8_mtvsrd_2): Delete.
343 (p8_mtvsrwz): New.
344 (p8_mtvsrwz_1, p8_mtvsrwz_2): Delete.
345 (p8_xxpermdi_<mode>): Take two DF inputs rather than one TF.
346 (p8_fmrgow_<mode>): Likewise.
347 (reload_vsx_from_gpr<mode>): Make clobber IF. Adjust for above
348 changes.
349 (reload_fpr_from_gpr<mode>): Similarly. Use "d" for op0 constraint.
350 (reload_vsx_from_gprsf): Use p8_mtvsrd_sf rather than attempting
351 to use movdi_internal64. Remove op0_di.
352 * config/rs6000/vsx.md (vsx_xscvspdpn_directmove): Make op1 SFmode.
353
354 2016-02-15 Evandro Menezes <e.menezes@samsung.com>
355
356 Add support for the FCCMP insn types
357
358 * config/aarch64/aarch64.md (fccmp): Change insn type.
359 (fccmpe): Likewise.
360 * config/aarch64/thunderx.md (thunderx_fcmp): Add "fccmp{s,d}" types.
361 * config/arm/cortex-a53.md (cortex_a53_fpalu): Likewise.
362 * config/arm/cortex-a57.md (cortex_a57_fp_cmp): Likewise.
363 * config/arm/xgene1.md (xgene1_fcmp): Likewise.
364 * config/arm/exynos-m1.md (exynos_m1_fp_ccmp): New insn reservation.
365 * config/arm/types.md (fccmps): Add new insn type.
366 (fccmpd): Likewise.
367
368 2016-02-15 Bernd Edlinger <bernd.edlinger@hotmail.de>
369
370 * alias.c (get_alias_set): Fix a typo in comment.
371
372 2016-02-15 Richard Biener <rguenther@suse.de>
373
374 PR tree-optimization/69595
375 * match.pd: Complete range test simplification to true.
376
377 2016-02-15 Bernd Schmidt <bschmidt@redhat.com>
378
379 PR rtl-optimization/69648
380 * lra-constraints.c (update_ebb_live_info): Don't remove sets of
381 pic_offset_table_rtx.
382
383 PR rtl-optimization/69752
384 * ira.c (update_equiv_regs): When looking for more than a single SET,
385 also take other side effects into account.
386
387 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
388
389 * config/s390/s390.c (s390_function_profiler): Add a new sequence
390 for z900+ CPUs in 31-bit mode.
391
392 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
393
394 * common/config/s390/s390-common.c (s390_supports_split_stack):
395 New function.
396 (TARGET_SUPPORTS_SPLIT_STACK): New macro.
397 * config/s390/s390-protos.h: Add s390_expand_split_stack_prologue.
398 * config/s390/s390.c (struct machine_function): New field
399 split_stack_varargs_pointer.
400 (s390_register_info): Mark r12 as clobbered if it'll be used as temp
401 in s390_emit_prologue.
402 (s390_emit_prologue): Use r12 as temp if r1 is taken by split-stack
403 vararg pointer.
404 (morestack_ref): New global.
405 (SPLIT_STACK_AVAILABLE): New macro.
406 (s390_expand_split_stack_prologue): New function.
407 (s390_live_on_entry): New function.
408 (s390_va_start): Use split-stack vararg pointer if appropriate.
409 (s390_asm_file_end): Emit the split-stack note sections.
410 (TARGET_EXTRA_LIVE_ON_ENTRY): New macro.
411 * config/s390/s390.md (UNSPEC_STACK_CHECK): New unspec.
412 (UNSPECV_SPLIT_STACK_CALL): New unspec.
413 (UNSPECV_SPLIT_STACK_DATA): New unspec.
414 (split_stack_prologue): New expand.
415 (split_stack_space_check): New expand.
416 (split_stack_data): New insn.
417 (split_stack_call): New expand.
418 (split_stack_call_*): New insn.
419 (split_stack_cond_call): New expand.
420 (split_stack_cond_call_*): New insn.
421
422 2016-02-15 Richard Biener <rguenther@suse.de>
423
424 PR tree-optimization/69783
425 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
426 Add trivially correct cases.
427
428 2016-02-15 Tom de Vries <tom@codesourcery.com>
429
430 PR lto/69655
431 * lto-cgraph.c (input_offload_tables): Add and handle bool parameter
432 do_force_output.
433 * lto-streamer.h (input_offload_tables): Add and handle bool parameter.
434
435 2016-02-15 Richard Biener <rguenther@suse.de>
436
437 PR tree-optimization/69776
438 * tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
439 * tree-ssa-sccvn.c (vn_reference_lookup): Add parameter to
440 indicate whether we can use TBAA to disambiguate against stores.
441 Use alias-set zero if not.
442 (visit_reference_op_store): Do not use TBAA when looking up
443 redundant stores.
444 * tree-ssa-pre.c (compute_avail): Use TBAA here.
445 (eliminate_dom_walker::before_dom_children): But not when looking
446 up redundant stores.
447
448 2016-02-14 John David Anglin <danglin@gcc.gnu.org>
449
450 * config/pa/pa.md (absqi2, absghi2, bswaphi2, bswapsi2, bswapdi2): New.
451
452 2016-02-14 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
453
454 * config/i386/znver1.md
455 (znver1_pop, znver1_pop_mem,
456 znver1_load_imov_double_store,
457 znver1_load_imov_direct_store,
458 znver1_load_imov_direct_load,
459 znver1_load_imov_double_load): Add new.
460 (znver1_insn, znver1_insn_load): Add icmov type.
461 (znver1_sseavx_fma,
462 znver1_sseavx_fma_load,
463 znver1_avx256_fma,
464 znver1_avx256_fma_load): Fix pipe usage.
465
466 2016-02-14 Alan Modra <amodra@gmail.com>
467
468 PR target/68973
469 * reloads.c (find_reloads_address_1): For pre/post-inc/dec
470 with an invalid hard reg, reload just the reg not the entire
471 pre/post-inc/dec address expression.
472
473 2016-02-13 Oleg Endo <olegendo@gcc.gnu.org>
474
475 PR target/67260
476 * config/sh/sh.md (sibcall_value_pcrel): Replace =&k scratch reg with
477 fixed R1_REG scratch reg.
478 (sibcall_value_pcrel_fdpic): Likewise.
479
480 2016-02-13 Oleg Endo <olegendo@gcc.gnu.org>
481
482 PR target/67636
483 PR target/64345
484 * config/sh/sh.md (*zero_extract_3): New insn_and_split pattern.
485
486 2016-02-12 Walter Lee <walt@tilera.com>
487
488 * config/tilepro/t-tilepro: Replace CC_FOR_BUILD with CXX_FOR_BUILD.
489 * config/tilegx/t-tilegx: Likewise.
490
491 2016-02-12 David Malcolm <dmalcolm@redhat.com>
492
493 PR other/69554
494 * diagnostic-show-locus.c (struct line_span): New struct.
495 (layout::get_first_line): Delete.
496 (layout::get_last_line): Delete.
497 (layout::get_num_line_spans): New member function.
498 (layout::get_line_span): Likewise.
499 (layout::print_heading_for_line_span_index_p): Likewise.
500 (layout::get_expanded_location): Likewise.
501 (layout::calculate_line_spans): Likewise.
502 (layout::m_first_line): Delete.
503 (layout::m_last_line): Delete.
504 (layout::m_line_spans): New field.
505 (layout::layout): Update comment. Replace m_first_line and
506 m_last_line with m_line_spans, replacing their initialization
507 with a call to calculate_line_spans.
508 (diagnostic_show_locus): When printing source lines and
509 annotations, rather than looping over a single span
510 of lines, instead loop over each line_span within
511 the layout, with an inner loop over the lines within them.
512 Call the context's start_span callback when changing line spans.
513 * diagnostic.c (diagnostic_initialize): Initialize start_span.
514 (diagnostic_build_prefix): Break out the building of the location
515 part of the string into...
516 (diagnostic_get_location_text): ...this new function, rewriting
517 it from nested ternary expressions to a sequence of "if"
518 statements.
519 (default_diagnostic_start_span_fn): New function.
520 * diagnostic.h (diagnostic_start_span_fn): New typedef.
521 (diagnostic_context::start_span): New field.
522 (default_diagnostic_start_span_fn): New prototype.
523
524 2016-02-12 David Malcolm <dmalcolm@redhat.com>
525
526 PR driver/69779
527 * gcc.c (driver::finalize): Fix cleanup of "specs".
528
529 2016-02-12 David Malcolm <dmalcolm@redhat.com>
530
531 PR driver/69265
532 PR driver/69453
533 * gcc.c (driver::driver): Initialize m_option_suggestions.
534 (driver::~driver): Clean up m_option_suggestions.
535 (suggest_option): Convert to...
536 (driver::suggest_option): ...this, and split out into
537 driver::build_option_suggestions and find_closest_string.
538 (driver::build_option_suggestions): New function, from
539 first half of suggest_option. Special-case
540 OPT_fsanitize_ and OPT_fsanitize_recover_, making use of
541 the sanitizer_opts array. For options of enum types, add the
542 various enum values to the candidate strings.
543 (driver::handle_unrecognized_options): Remove "const".
544 * gcc.h (driver::handle_unrecognized_options): Likewise.
545 (driver::build_option_suggestions): New decl.
546 (driver::suggest_option): New decl.
547 (driver::m_option_suggestions): New field.
548 * opts-common.c (add_misspelling_candidates): New function.
549 * opts.c (sanitizer_opts): Remove decl of struct sanitizer_opts_s
550 and make non-static.
551 * opts.h (sanitizer_opts): New array decl.
552 (add_misspelling_candidates): New function decl.
553 * spellcheck.c (find_closest_string): New function.
554 * spellcheck.h (find_closest_string): New function decl.
555
556 2016-02-12 Jakub Jelinek <jakub@redhat.com>
557
558 PR rtl-optimization/69764
559 PR rtl-optimization/69771
560 * optabs.c (expand_binop_directly): For shift_optab_p, force
561 convert_modes with VOIDmode if xop1 has VOIDmode.
562
563 2016-02-12 Ilya Enkovich <enkovich.gnu@gmail.com>
564
565 PR target/69729
566 * lto-streamer-out.c (lto_output): Use thunk.add_pointer_bounds_args
567 to correctly determine instrumentation thunks.
568
569 2016-02-12 Jakub Jelinek <jakub@redhat.com>
570
571 PR ipa/69241
572 * ipa-split.c (split_function): If split part returns TREE_ADDRESSABLE
573 type by reference, force lhs on the call.
574
575 PR ipa/68672
576 * ipa-split.c (split_function): Don't compute/use main_part_return_p.
577 Compute retval and retbnd early in all cases if split_part_return_p
578 and return_bb is not EXIT. Remove all clobber stmts and reset
579 all debug stmts that refer to SSA_NAMEs defined in split part,
580 except if it is retval, in that case replace the old retval with the
581 lhs of the call to the split part.
582
583 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
584
585 revert:
586 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
587
588 PR middle-end/66726
589 * tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
590 whose result is used in PHI.
591 (maybe_optimize_range_tests): Likewise.
592 (final_range_test_p): Likweise.
593
594 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
595
596 PR middle-end/66726
597 * tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
598 whose result is used in PHI.
599 (maybe_optimize_range_tests): Likewise.
600 (final_range_test_p): Likweise.
601
602 2016-02-12 Jakub Jelinek <jakub@redhat.com>
603
604 * cgraph.c: Spelling fixes - behaviour -> behavior and
605 neighbour -> neighbor.
606 * target.def: Likewise.
607 * sel-sched.c: Likewise.
608 * config/mips/mips.c: Likewise.
609 * config/arc/arc.md: Likewise.
610 * config/arm/cortex-a57.md: Likewise.
611 * config/arm/arm.c: Likewise.
612 * config/arm/neon.md: Likewise.
613 * config/arm/arm-c.c: Likewise.
614 * config/vms/vms-c.c: Likewise.
615 * config/s390/s390.c: Likewise.
616 * config/i386/znver1.md: Likewise.
617 * config/i386/i386.c: Likewise.
618 * config/ia64/hpux-unix2003.h: Likewise.
619 * config/msp430/msp430.md: Likewise.
620 * config/rx/rx.c: Likewise.
621 * config/rx/rx.md: Likewise.
622 * config/aarch64/aarch64-simd.md: Likewise.
623 * config/aarch64/aarch64.c: Likewise.
624 * config/nvptx/nvptx.c: Likewise.
625 * config/bfin/bfin.c: Likewise.
626 * config/cris/cris.opt: Likewise.
627 * config/rs6000/rs6000.c: Likewise.
628 * target.h: Likewise.
629 * spellcheck.c: Likewise.
630 * ira-build.c: Likewise.
631 * tree-inline.c: Likewise.
632 * builtins.c: Likewise.
633 * lra-constraints.c: Likewise.
634 * explow.c: Likewise.
635 * hwint.h: Likewise.
636 * targhooks.c: Likewise.
637 * tree-vect-data-refs.c: Likewise.
638 * expr.c: Likewise.
639 * doc/tm.texi: Likewise.
640 * doc/extend.texi: Likewise.
641 * doc/install.texi: Likewise.
642 * doc/md.texi: Likewise.
643 * tree-ssa-tail-merge.c: Likewise.
644 * sched-int.h: Likewise.
645 * match.pd: Likewise.
646 * sched-ebb.c: Likewise.
647 * target.def (omit_struct_return_reg): Likewise.
648 * gimple-ssa-isolate-paths.c: Likewise.
649 (find_implicit_erroneous_behaviour): Renamed to...
650 (find_implicit_erroneous_behavior): ... this.
651 (find_explicit_erroneous_behaviour): Renamed to...
652 (find_explicit_erroneous_behavior): ... this.
653 (gimple_ssa_isolate_erroneous_paths): Adjust caller.
654
655 2016-02-11 Segher Boessenkool <segher@kernel.crashing.org>
656
657 PR rtl-optimization/64682
658 PR rtl-optimization/69567
659 PR rtl-optimization/69737
660 * combine.c (distribute_notes) <REG_DEAD>: If the register is set
661 in I2 as well, just lose it.
662
663 2016-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
664
665 * config/aarch64/aarch64.c (aarch64_last_printed_arch_string):
666 New variable.
667 (aarch64_last_printed_tune_string): Likewise.
668 (aarch64_declare_function_name): Only output .arch assembler
669 directive if it will be different from the previously output
670 directive. Same for .tune comment but only if -dA is set.
671 (aarch64_start_file): New function.
672 (TARGET_ASM_FILE_START): Define.
673
674 2016-02-11 David Malcolm <dmalcolm@redhat.com>
675
676 PR plugins/69758
677 * Makefile.in (PLUGIN_HEADERS): Add params.list.
678
679 2016-02-11 Jakub Jelinek <jakub@redhat.com>
680
681 PR target/65313
682 * tree-vect-slp.c (vect_schedule_slp_instance): Avoid
683 -Wmaybe-uninitialized warning.
684
685 2016-02-11 Oleg Endo <olegendo@gcc.gnu.org>
686
687 PR target/69713
688 * config/sh/sh.md (casesi_worker_0): Add T_REG use.
689
690 2016-02-11 Richard Biener <rguenther@suse.de>
691
692 PR rtl-optimization/69291
693 * ifcvt.c (noce_try_store_flag_constants): Do not allow
694 subexpressions affected by changing the result.
695
696 2016-02-10 Vladimir Makarov <vmakarov@redhat.com>
697
698 PR target/69148
699 * lra-constraints.c (curr_insn_transform): Find in/out operands
700 for secondary memory moves. Update dups.
701
702 2016-02-10 Yuri Rumyantsev <ysrumyan@gmail.com>
703
704 PR tree-optimization/69652
705 * tree-vect-loop.c (optimize_mask_stores): Move declaration of STMT1
706 to nested loop, did source re-formatting, skip debug statements,
707 add check on statement with volatile operand, remove dead scalar
708 statements.
709
710 2016-02-10 Jakub Jelinek <jakub@redhat.com>
711 Patrick Palka <ppalka@gcc.gnu.org>
712
713 PR ipa/69241
714 PR c++/69649
715 * gimplify.c (gimplify_modify_expr): Set lhs even for noreturn
716 calls if the return type is TREE_ADDRESSABLE.
717 * cgraphunit.c (cgraph_node::expand_thunk): Likewise.
718 * ipa-split.c (split_function): Fix doubled "we" in comment.
719 Use void return type for the split part even if
720 !split_point->split_part_set_retval.
721
722 2016-02-10 Bin Cheng <bin.cheng@arm.com>
723
724 PR tree-optimization/68021
725 * tree-ssa-loop-ivopts.c (get_computation_aff): Set ratio to 1 if
726 when computing the value of biv cand by itself.
727
728 2016-02-10 Wilco Dijkstra <wdijkstr@arm.com>
729
730 * config/aarch64/aarch64.c (cortexa53_tunings): Enable AES fusion.
731 (cortexa57_tunings): Likewise.
732 (cortexa72_tunings): Likewise.
733 (arch_macro_fusion_pair_p): Add support for AES fusion.
734 * config/aarch64/aarch64-fusion-pairs.def: Add AES_AESMC entry.
735 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
736 Allow virtual registers before reload so early scheduling works.
737 * config/arm/cortex-a57.md (cortex_a57_crypto_simple): Use
738 correct latency and pipeline.
739 (cortex_a57_crypto_complex): Likewise.
740 (cortex_a57_crypto_xor): Likewise.
741 (define_bypass): Add AES bypass.
742
743 2016-02-10 Richard Biener <rguenther@suse.de>
744
745 PR tree-optimization/69726
746 * passes.def: Add DCE pass before late uninit.
747 * match.pd: Add A ? B : (!A ? C : X) -> A ? B : C patterns to
748 really fixup if-conversions job.
749
750 2016-02-10 Wilco Dijkstra <wdijkstr@arm.com>
751
752 * config/arm/arm.c (arm_cortex_a53_tune): Enable AES fusion.
753 (arm_cortex_a57_tune): Likewise.
754 (aarch_macro_fusion_pair_p): Add support for AES fusion.
755 * config/arm/arm-protos.h (fuse_ops): Add FUSE_AES_AESMC.
756
757 2016-02-10 Eric Botcazou <ebotcazou@adacore.com>
758
759 * timevar.def (TV_PHASE_DBGINFO): Delete.
760 (TV_PHASE_CHECK_DBGINFO): Likewise.
761 * varpool.c (varpool_node::assemble_decl): Do not change timevar.
762
763 2016-02-10 Richard Biener <rguenther@suse.de>
764
765 PR tree-optimization/69719
766 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
767 Adjust previous fix by ensuring that dr_a1 is left of dr_a2.
768
769 2016-02-09 Andrew Pinski <apinski@cavium.com>
770
771 PR tree-opt/69282
772 * optabs-tree.c (expand_vec_cond_expr_p): Don't early return if
773 get_vcond_mask_icode returns false.
774
775 2016-02-09 Michael Meissner <meissner@linux.vnet.ibm.com>
776
777 PR target/68404
778 * config/rs6000/predicates.md (fusion_gpr_addis): Prevent fusing
779 an ADDIS that adds a pointer to a large constant that sets the
780 upper16 bits with a load operation.
781
782 2016-02-09 Charles Baylis <charles.baylis@linaro.org>
783
784 PR target/68532
785 * config/arm/arm.c (arm_evpc_neon_vzip): Allow for big endian lane
786 order.
787 * config/arm/arm_neon.h (vzipq_s8): Adjust shuffle patterns for big
788 endian.
789 (vzipq_s16): Likewise.
790 (vzipq_s32): Likewise.
791 (vzipq_f32): Likewise.
792 (vzipq_u8): Likewise.
793 (vzipq_u16): Likewise.
794 (vzipq_u32): Likewise.
795 (vzipq_p8): Likewise.
796 (vzipq_p16): Likewise.
797
798 2016-02-09 Charles Baylis <charles.baylis@linaro.org>
799
800 PR target/68532
801 * config/arm/arm.c (neon_endian_lane_map): New function.
802 (neon_vector_pair_endian_lane_map): New function.
803 (arm_evpc_neon_vuzp): Allow for big endian lane order.
804 * config/arm/arm_neon.h (vuzpq_s8): Adjust shuffle patterns for big
805 endian.
806 (vuzpq_s16): Likewise.
807 (vuzpq_s32): Likewise.
808 (vuzpq_f32): Likewise.
809 (vuzpq_u8): Likewise.
810 (vuzpq_u16): Likewise.
811 (vuzpq_u32): Likewise.
812 (vuzpq_p8): Likewise.
813 (vuzpq_p16): Likewise.
814
815 2016-02-11 Alexandre Oliva <aoliva@redhat.com>
816
817 PR target/69634
818 * regstat.c (regstat_bb_compute_calls_crossed): Disregard
819 debug insns.
820
821 2016-02-09 Uros Bizjak <ubizjak@gmail.com>
822
823 * config/i386/i386.md (insv<mode>_1): Use gen_int_mode to
824 truncate const_int operand 1 to QImode.
825
826 2016-02-09 Eric Botcazou <ebotcazou@adacore.com>
827
828 * gimple-ssa-backprop.c (optimize_phi): Do not replace an argument
829 corresponding to an abnormal edge.
830
831 2016-02-09 Tom de Vries <tom@codesourcery.com>
832
833 PR tree-optimization/69599
834 * tree-ssa-structalias.c (fndecl_maybe_in_other_partition): New
835 function.
836 (find_func_aliases_for_builtin_call, find_func_clobbers)
837 (ipa_pta_execute): Handle case that foo and foo._0 are not in same lto
838 partition.
839
840 2016-02-09 Richard Biener <rguenther@suse.de>
841
842 PR tree-optimization/69715
843 * tree-ssa.c (execute_update_addresses_taken): Mark non-decl
844 LHS on calls as non-rewritable.
845
846 2016-02-09 Tom de Vries <tom@codesourcery.com>
847
848 PR lto/69707
849 * lto-wrapper.c (append_diag_options): New function.
850 (compile_offload_image): Call append_diag_options.
851
852 2016-02-08 Sandra Loosemore <sandra@codesourcery.com>
853
854 PR other/69722
855 * doc/extend.texi (Flag Output Operands): Correct sectioning.
856 Minor copy-edit to fix verb tenses.
857
858 2016-02-08 Jakub Jelinek <jakub@redhat.com>
859
860 PR tree-optimization/69209
861 * ipa-split.c (split_function): If split part is not
862 returning retval, retval has gimple type but is not
863 gimple value, force it into a SSA_NAME first.
864
865 2016-02-08 Nicklas Bo Jensen <nbjensen@gmail.com>
866
867 * doc/tree-ssa.texi (Preserving the virtual SSA form): Remove
868 outdated section.
869
870 2016-02-08 Jason Merrill <jason@redhat.com>
871
872 PR c++/69631
873 * convert.c (convert_to_integer_1): Check dofold on truncation
874 distribution.
875 (convert_to_pointer_maybe_fold, convert_to_real_maybe_fold)
876 (convert_to_integer_maybe_fold, convert_to_complex_maybe_fold):
877 Rename from *_nofold.
878 * convert.h (convert_to_pointer_nofold, convert_to_integer_nofold)
879 (convert_to_real_nofold, convert_to_complex_nofold): New inlines.
880
881 2016-02-08 Bernd Schmidt <bschmidt@redhat.com>
882
883 PR target/60410
884 * tree.c (build_common_tree_nodes): Remove short_double argument.
885 All callers changed.
886 * tree.h (build_common_tree_nodes): Adjust declaration.
887 * doc/invoke.texi (-fshort-double): Remove documentation.
888 * config/mips/t-img-elf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
889 MULTILIB_EXCEPTIONS): Remove -fshort-double variant.
890 * lto-wrapper.c (merge_and_complain, append_compiler_options)
891 (append_linker_options): Don't handle OPT_fshort_double.
892
893 PR rtl-optimization/68730
894 * lra-remat.c (insn_to_cand_activation): New static variable.
895 (lra_remat): Allocate and free it.
896 (create_cand): New arg activation. Initialize a field in
897 insn_to_cand_activation if it is nonnull.
898 (create_cands): Pass the activation insn to create_cand when making
899 a candidate involving an output reload. Reorganize code a little.
900 (do_remat): Keep track of active status of candidates in a separate
901 bitmap.
902
903 2016-02-08 Richard Biener <rguenther@suse.de>
904
905 PR tree-optimization/69719
906 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
907 Properly use absolute of the difference of the two offsets to
908 compare or adjust the segment length.
909
910 2016-02-08 Richard Biener <rguenther@suse.de>
911 Jeff Law <law@redhat.com>
912
913 PR target/68273
914 * tree-ssanames.c (make_ssa_name_fn): Always use unqualified
915 types for anonymous SSA names.
916
917 2016-02-08 Richard Biener <rguenther@suse.de>
918
919 PR rtl-optimization/69274
920 * ira.c (ira_setup_alts): Do not change recog_data.operand order.
921
922 2016-02-08 Jeff Law <law@redhat.com>
923
924 PR tree-optimization/65917
925 * tree-ssa-dom.c (record_temporary_equivalences): Record both
926 equivalences from if (x == y) style conditionals.
927 (loop_depth_of_name): Remove.
928 (record_equality): Remove loop depth check.
929 * tree-ssa-scopedtables.h (const_and_copies): Refine comments.
930 (const_and_copies::record_const_or_copy_raw): New member function.
931 * tree-ssa-scopedtables.c
932 (const_and_copies::record_const_or_copy_raw): New, factored out of
933 (const_and_copies::record_const_or_copy): Call new member function.
934
935 2016-02-05 Jeff Law <law@redhat.com>
936
937 PR tree-optimization/68541
938 * gimple-ssa-split-paths.c: Include tree-cfg.h and params.h.
939 (count_stmts_in_block): New function.
940 (poor_ifcvt_candidate_code): Likewise.
941 (is_feasible_trace): Add some heuristics to determine when path
942 splitting is profitable.
943 (find_block_to_duplicate_for_splitting_paths): Make sure the graph
944 is a diamond with a single exit.
945
946 2016-02-05 Martin Sebor <msebor@redhat.com>
947
948 PR c++/69662
949 * doc/invoke.texi: Update -Wplacement-new to take an optional
950 argument.
951
952 2016-02-06 Richard Henderson <rth@redhat.com>
953
954 PR c/69643
955 * tree.c (tree_nop_conversion_p): Do not strip casts into or
956 out of non-standard address spaces.
957
958 2016-02-05 Jakub Jelinek <jakub@redhat.com>
959
960 PR rtl-optimization/69691
961 * lra-eliminations.c (move_plus_up): Don't add the addend twice.
962
963 2016-02-05 Pat Haugen <pthaugen@us.ibm.com>
964
965 * config/rs6000/crypto.md (crypto_vpermxor_<mode>): Correct insn type.
966 * config/rs6000/rs6000.md (mov<mode>_hardfloat): Likewise.
967 (*ieee128_mfvsrd_64bit): Likewise.
968 (*ieee128_mfvsrd_32bit): Likewise.
969
970 2016-02-05 Ilya Enkovich <enkovich.gnu@gmail.com>
971
972 PR target/69369
973 Revert r232560:
974 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
975
976 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
977 instrumented_version.
978
979 2016-01-05 Jeremy Bennett <jeremy.bennett@embecosm.com>
980
981 * doc/invoke.texi (Optimize Options): In table of --param options
982 rename second occurrence of tracer-min-branch-ratio to
983 tracer-min-branch-probability, rename
984 tracer-min-branch-ratio-feedback to
985 tracer-min-branch-probability-feedback and clarify description,
986 rename sched-spec-state-edge-prob-cutoff to
987 sched-state-edge-prob-cutoff, rename selsched-max-insns-to-rename
988 to selsched-insns-to-rename, rename lto-minpartition to
989 lto-min-partition, delete reorder-blocks-duplicate and
990 reorder-blocks-duplicate-feedback.
991
992 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
993
994 * config/s390/s390.c (s390_register_info_set_ranges): Remove
995 superfluous loops.
996
997 2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
998
999 * doc/extend.texi: S/390: Correct some typos.
1000
1001 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1002
1003 * config/s390/s390.c (s390_emit_call): Add missing 64 bit check.
1004
1005 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1006
1007 PR target/69625
1008 * config/s390/s390.c (SAVE_SLOT_NONE, SAVE_SLOT_STACK): New defines.
1009 (s390_register_info_gprtofpr): Use new macros above.
1010 (s390_register_info_stdarg_fpr): Adjust max_fpr to better match
1011 its name.
1012 (s390_register_info_stdarg_gpr): Adjust max_gpr to better match
1013 its name. Adjust restore and save gpr ranges.
1014 (s390_register_info_set_ranges): New function.
1015 (s390_register_info): Use new macros above. Call
1016 s390_register_info_set_ranges.
1017 (s390_optimize_register_info): Likewise.
1018 (s390_hard_regno_rename_ok): Use new macros.
1019 (s390_hard_regno_scratch_ok): Likewise.
1020 (s390_emit_epilogue): Likewise.
1021 (s390_can_use_return_insn): Likewise.
1022 (s390_optimize_prologue): Likewise.
1023 * config/s390/s390.md (GPR2_REGNUM, GPR6_REGNUM): New constants.
1024
1025 2016-02-05 Jakub Jelinek <jakub@redhat.com>
1026
1027 PR bootstrap/69677
1028 * config/i386/i386.c (convert_scalars_to_vector): Readd stack
1029 alignment fixes.
1030 (ix86_option_override_internal): Disable TARGET_STV even for
1031 -m{incoming,preferred}-stack-boundary=3.
1032
1033 2016-02-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1034
1035 * config.gcc: Mark deprecated rtems targets as obsolete.
1036
1037 2016-02-04 Segher Boessenkool <segher@kernel.crashing.org>
1038
1039 PR rtl-optimization/64682
1040 PR rtl-optimization/69567
1041 * combine.c (distribute_notes) <REG_DEAD>: Place the death note
1042 before I2 only if the register is both used and set in I2.
1043
1044 2016-02-04 DJ Delorie <dj@redhat.com>
1045
1046 * config/msp430/msp430.c (msp430_start_function): Add function type.
1047
1048 2016-02-04 Jakub Jelinek <jakub@redhat.com>
1049
1050 PR fortran/69368
1051 * tree-dfa.c (get_ref_base_and_extent): Remove unreachable code.
1052
1053 2016-02-04 Uros Bizjak <ubizjak@gmail.com>
1054
1055 PR rtl-optimization/69577
1056 Revert:
1057 2015-10-29 Richard Henderson <rth@redhat.com>
1058
1059 PR target/68124
1060 PR rtl-opt/67609
1061 * config/i386/i386.c (ix86_cannot_change_mode_class): Tighten
1062 sse check to the exact conditions of PR 67609.
1063
1064 2016-02-04 Michael Meissner <meissner@linux.vnet.ibm.com>
1065
1066 PR target/69667
1067 * config/rs6000/rs6000.md (mov<mode>_64bit_dm): Use 'd' constraint
1068 instead of 'ws', and 'wh' instead of 'wm' since TFmode/IFmode are
1069 not allowed into the traditional Altivec registers.
1070 (movtd_64bit_nodm): Likewise.
1071 (mov<mode>_32bit, FMOVE128_FPR iterator): Likewise.
1072
1073 2016-02-04 David Malcolm <dmalcolm@redhat.com>
1074
1075 * config/aarch64/cortex-a57-fma-steering.c
1076 (aarch64_register_fma_steering): Remove "static" from arguments
1077 to register_pass.
1078
1079 2016-02-04 Wilco Dijkstra <wdijkstr@arm.com>
1080
1081 PR target/69619
1082 * ccmp.c (expand_ccmp_expr_1): Avoid evaluating gs0/gs1
1083 twice when complex.
1084
1085 2016-02-04 Mike Frysinger <vapier@gentoo.org>
1086
1087 * doc/invoke.texi: Delete -mno-fma4.
1088
1089 2016-02-04 Richard Sandiford <richard.sandiford@arm.com>
1090
1091 PR rtl-optimization/69577
1092 * reginfo.c (record_subregs_of_mode): Add a partial_def parameter.
1093 (find_subregs_of_mode): Update accordingly. Iterate over partial
1094 definitions.
1095
1096 2016-02-04 Alan Lawrence <alan.lawrence@arm.com>
1097
1098 * config/arm/arm-protos.h (neon_reinterpret): Remove.
1099 * config/arm/arm.c (neon_reinterpret): Remove.
1100 * config/arm/arm_neon_builtins.def (vreinterpretv8qi, vreinterpretv4hi,
1101 vreinterpretv2si, vreinterpretv2sf, vreinterpretdi, vreinterpretv16qi,
1102 vreinterpretv8hi, vreinterpretv4si, vreinterpretv4sf, vreinterpretv2di,
1103 vreinterpretti): Remove.
1104 * config/arm/neon.md (neon_vreinterpretv8qi<mode>,
1105 neon_vreinterpretv4hi<mode>, neon_vreinterpretv2si<mode>,
1106 neon_vreinterpretv2sf<mode>, neon_vreinterpretdi<mode>,
1107 neon_vreinterpretti<mode>, neon_vreinterpretv16qi<mode>,
1108 neon_vreinterpretv8hi<mode>, neon_vreinterpretv4si<mode>,
1109 neon_vreinterpretv4sf<mode>, neon_vreinterpretv2di<mode>): Remove.
1110 * config/arm/arm_neon.h (vreinterpret_p8_p16, vreinterpret_p8_f32,
1111 vreinterpret_p8_p64, vreinterpret_p8_s64, vreinterpret_p8_u64,
1112 vreinterpret_p8_s8, vreinterpret_p8_s16, vreinterpret_p8_s32,
1113 vreinterpret_p8_u8, vreinterpret_p8_u16, vreinterpret_p8_u32,
1114 vreinterpret_p16_p8, vreinterpret_p16_f32, vreinterpret_p16_p64,
1115 vreinterpret_p16_s64, vreinterpret_p16_u64, vreinterpret_p16_s8,
1116 vreinterpret_p16_s16, vreinterpret_p16_s32, vreinterpret_p16_u8,
1117 vreinterpret_p16_u16, vreinterpret_p16_u32, vreinterpret_f32_p8,
1118 vreinterpret_f32_p16, vreinterpret_f32_p64, vreinterpret_f32_s64,
1119 vreinterpret_f32_u64, vreinterpret_f32_s8, vreinterpret_f32_s16,
1120 vreinterpret_f32_s32, vreinterpret_f32_u8, vreinterpret_f32_u16,
1121 vreinterpret_f32_u32, vreinterpret_p64_p8, vreinterpret_p64_p16,
1122 vreinterpret_p64_f32, vreinterpret_p64_s64, vreinterpret_p64_u64,
1123 vreinterpret_p64_s8, vreinterpret_p64_s16, vreinterpret_p64_s32,
1124 vreinterpret_p64_u8, vreinterpret_p64_u16, vreinterpret_p64_u32,
1125 vreinterpret_s64_p8, vreinterpret_s64_p16, vreinterpret_s64_f32,
1126 vreinterpret_s64_p64, vreinterpret_s64_u64, vreinterpret_s64_s8,
1127 vreinterpret_s64_s16, vreinterpret_s64_s32, vreinterpret_s64_u8,
1128 vreinterpret_s64_u16, vreinterpret_s64_u32, vreinterpret_u64_p8,
1129 vreinterpret_u64_p16, vreinterpret_u64_f32, vreinterpret_u64_p64,
1130 vreinterpret_u64_s64, vreinterpret_u64_s8, vreinterpret_u64_s16,
1131 vreinterpret_u64_s32, vreinterpret_u64_u8, vreinterpret_u64_u16,
1132 vreinterpret_u64_u32, vreinterpret_s8_p8, vreinterpret_s8_p16,
1133 vreinterpret_s8_f32, vreinterpret_s8_p64, vreinterpret_s8_s64,
1134 vreinterpret_s8_u64, vreinterpret_s8_s16, vreinterpret_s8_s32,
1135 vreinterpret_s8_u8, vreinterpret_s8_u16, vreinterpret_s8_u32,
1136 vreinterpret_s16_p8, vreinterpret_s16_p16, vreinterpret_s16_f32,
1137 vreinterpret_s16_p64, vreinterpret_s16_s64, vreinterpret_s16_u64,
1138 vreinterpret_s16_s8, vreinterpret_s16_s32, vreinterpret_s16_u8,
1139 vreinterpret_s16_u16, vreinterpret_s16_u32, vreinterpret_s32_p8,
1140 vreinterpret_s32_p16, vreinterpret_s32_f32, vreinterpret_s32_p64,
1141 vreinterpret_s32_s64, vreinterpret_s32_u64, vreinterpret_s32_s8,
1142 vreinterpret_s32_s16, vreinterpret_s32_u8, vreinterpret_s32_u16,
1143 vreinterpret_s32_u32, vreinterpret_u8_p8, vreinterpret_u8_p16,
1144 vreinterpret_u8_f32, vreinterpret_u8_p64, vreinterpret_u8_s64,
1145 vreinterpret_u8_u64, vreinterpret_u8_s8, vreinterpret_u8_s16,
1146 vreinterpret_u8_s32, vreinterpret_u8_u16, vreinterpret_u8_u32,
1147 vreinterpret_u16_p8, vreinterpret_u16_p16, vreinterpret_u16_f32,
1148 vreinterpret_u16_p64, vreinterpret_u16_s64, vreinterpret_u16_u64,
1149 vreinterpret_u16_s8, vreinterpret_u16_s16, vreinterpret_u16_s32,
1150 vreinterpret_u16_u8, vreinterpret_u16_u32, vreinterpret_u32_p8,
1151 vreinterpret_u32_p16, vreinterpret_u32_f32, vreinterpret_u32_p64,
1152 vreinterpret_u32_s64, vreinterpret_u32_u64, vreinterpret_u32_s8,
1153 vreinterpret_u32_s16, vreinterpret_u32_s32, vreinterpret_u32_u8,
1154 vreinterpret_u32_u16, vreinterpretq_p8_p16, vreinterpretq_p8_f32,
1155 vreinterpretq_p8_p64, vreinterpretq_p8_p128, vreinterpretq_p8_s64,
1156 vreinterpretq_p8_u64, vreinterpretq_p8_s8, vreinterpretq_p8_s16,
1157 vreinterpretq_p8_s32, vreinterpretq_p8_u8, vreinterpretq_p8_u16,
1158 vreinterpretq_p8_u32, vreinterpretq_p16_p8, vreinterpretq_p16_f32,
1159 vreinterpretq_p16_p64, vreinterpretq_p16_p128, vreinterpretq_p16_s64,
1160 vreinterpretq_p16_u64, vreinterpretq_p16_s8, vreinterpretq_p16_s16,
1161 vreinterpretq_p16_s32, vreinterpretq_p16_u8, vreinterpretq_p16_u16,
1162 vreinterpretq_p16_u32, vreinterpretq_f32_p8, vreinterpretq_f32_p16,
1163 vreinterpretq_f32_p64, vreinterpretq_f32_p128, vreinterpretq_f32_s64,
1164 vreinterpretq_f32_u64, vreinterpretq_f32_s8, vreinterpretq_f32_s16,
1165 vreinterpretq_f32_s32, vreinterpretq_f32_u8, vreinterpretq_f32_u16,
1166 vreinterpretq_f32_u32, vreinterpretq_p64_p8, vreinterpretq_p64_p16,
1167 vreinterpretq_p64_f32, vreinterpretq_p64_p128, vreinterpretq_p64_s64,
1168 vreinterpretq_p64_u64, vreinterpretq_p64_s8, vreinterpretq_p64_s16,
1169 vreinterpretq_p64_s32, vreinterpretq_p64_u8, vreinterpretq_p64_u16,
1170 vreinterpretq_p64_u32, vreinterpretq_p128_p8, vreinterpretq_p128_p16,
1171 vreinterpretq_p128_f32, vreinterpretq_p128_p64, vreinterpretq_p128_s64,
1172 vreinterpretq_p128_u64, vreinterpretq_p128_s8, vreinterpretq_p128_s16,
1173 vreinterpretq_p128_s32, vreinterpretq_p128_u8, vreinterpretq_p128_u16,
1174 vreinterpretq_p128_u32, vreinterpretq_s64_p8, vreinterpretq_s64_p16,
1175 vreinterpretq_s64_f32, vreinterpretq_s64_p64, vreinterpretq_s64_p128,
1176 vreinterpretq_s64_u64, vreinterpretq_s64_s8, vreinterpretq_s64_s16,
1177 vreinterpretq_s64_s32, vreinterpretq_s64_u8, vreinterpretq_s64_u16,
1178 vreinterpretq_s64_u32, vreinterpretq_u64_p8, vreinterpretq_u64_p16,
1179 vreinterpretq_u64_f32, vreinterpretq_u64_p64, vreinterpretq_u64_p128,
1180 vreinterpretq_u64_s64, vreinterpretq_u64_s8, vreinterpretq_u64_s16,
1181 vreinterpretq_u64_s32, vreinterpretq_u64_u8, vreinterpretq_u64_u16,
1182 vreinterpretq_u64_u32, vreinterpretq_s8_p8, vreinterpretq_s8_p16,
1183 vreinterpretq_s8_f32, vreinterpretq_s8_p64, vreinterpretq_s8_p128,
1184 vreinterpretq_s8_s64, vreinterpretq_s8_u64, vreinterpretq_s8_s16,
1185 vreinterpretq_s8_s32, vreinterpretq_s8_u8, vreinterpretq_s8_u16,
1186 vreinterpretq_s8_u32, vreinterpretq_s16_p8, vreinterpretq_s16_p16,
1187 vreinterpretq_s16_f32, vreinterpretq_s16_p64, vreinterpretq_s16_p128,
1188 vreinterpretq_s16_s64, vreinterpretq_s16_u64, vreinterpretq_s16_s8,
1189 vreinterpretq_s16_s32, vreinterpretq_s16_u8, vreinterpretq_s16_u16,
1190 vreinterpretq_s16_u32, vreinterpretq_s32_p8, vreinterpretq_s32_p16,
1191 vreinterpretq_s32_f16, vreinterpretq_s32_f32, vreinterpretq_s32_p64,
1192 vreinterpretq_s32_p128, vreinterpretq_s32_s64, vreinterpretq_s32_u64,
1193 vreinterpretq_s32_s8, vreinterpretq_s32_s16, vreinterpretq_s32_u8,
1194 vreinterpretq_s32_u16, vreinterpretq_s32_u32, vreinterpretq_u8_p8,
1195 vreinterpretq_u8_p16, vreinterpretq_u8_f32, vreinterpretq_u8_p64,
1196 vreinterpretq_u8_p128, vreinterpretq_u8_s64, vreinterpretq_u8_u64,
1197 vreinterpretq_u8_s8, vreinterpretq_u8_s16, vreinterpretq_u8_s32,
1198 vreinterpretq_u8_u16, vreinterpretq_u8_u32, vreinterpretq_u16_p8,
1199 vreinterpretq_u16_p16, vreinterpretq_u16_f32, vreinterpretq_u16_p64,
1200 vreinterpretq_u16_p128, vreinterpretq_u16_s64, vreinterpretq_u16_u64,
1201 vreinterpretq_u16_s8, vreinterpretq_u16_s16, vreinterpretq_u16_s32,
1202 vreinterpretq_u16_u8, vreinterpretq_u16_u32, vreinterpretq_u32_p8,
1203 vreinterpretq_u32_p16, vreinterpretq_u32_f32, vreinterpretq_u32_p64,
1204 vreinterpretq_u32_p128, vreinterpretq_u32_s64, vreinterpretq_u32_u64,
1205 vreinterpretq_u32_s8, vreinterpretq_u32_s16, vreinterpretq_u32_s32,
1206 vreinterpretq_u32_u8, vreinterpretq_u32_u16): Rewrite using casts.
1207
1208 2016-02-04 Martin Liska <mliska@suse.cz>
1209
1210 PR sanitizer/69276
1211 * asan.c (has_stmt_been_instrumented_p): Instrument gimple calls
1212 that are gimple_store_p.
1213 (maybe_instrument_call): Likewise.
1214
1215 2016-02-04 Bin Cheng <bin.cheng@arm.com>
1216
1217 * config/aarch64/aarch64.c (aarch64_legitimize_address): Force
1218 register scaling out of memory reference and comment why.
1219
1220 2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1221
1222 PR target/65932
1223 PR target/67714
1224 * cse.c (cse_insn): Pass NULL to fold_rtx when initially
1225 folding the source of a SET.
1226
1227 2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1228
1229 PR target/65932
1230 PR target/67714
1231 * config/arm/arm.c (arm_new_rtx_costs, MULT case): Properly extract
1232 the operands of the SIGN_EXTENDs from a SMUL[TB][TB] rtx.
1233
1234 2016-02-04 Jim Wilson <jim.wilson@linaro.org>
1235
1236 PR target/65932
1237 PR target/67714
1238 * config/arm/arm.h (PROMOTE_MODE): Don't set UNSIGNEDP for QImode and
1239 HImode.
1240
1241 2016-02-04 Christian Bruel <christian.bruel@st.com>
1242
1243 * config/arm/arm-c.c (arm_reset_previous_fndecl): Style fix and typo.
1244 * config/arm/arm.c (arm_set_current_function): Likewise.
1245
1246 2016-02-04 Jakub Jelinek <jakub@redhat.com>
1247 Ilya Enkovich <enkovich.gnu@gmail.com>
1248 H.J. Lu <hongjiu.lu@intel.com>
1249
1250 PR target/69454
1251 * config/i386/i386.c (convert_scalars_to_vector): Remove
1252 stack alignment fixes.
1253 (ix86_option_override_internal): Disable TARGET_STV if stack
1254 might not be aligned enough.
1255 (ix86_minimum_alignment): Assert that TARGET_STV is false.
1256
1257 2016-02-04 Victoria Stepanyan <victoria.stepanyan@amd.com>
1258
1259 * gcc/config/i386/x86-tune.def: Disable default prefetching
1260 for -march=znver1.
1261
1262 2016-02-03 Michael Meissner <meissner@linux.vnet.ibm.com>
1263 Vladimir Makarov <vmakarov@redhat.com>
1264
1265 PR target/69461
1266 * config/rs6000/rs6000.c (rs6000_legitimate_address_p): Fix thinko
1267 in validating fused toc addresses.
1268
1269 2016-02-03 Jakub Jelinek <jakub@redhat.com>
1270
1271 PR c/69627
1272 * diagnostic-show-locus.c (layout::get_state_at_point): Don't read
1273 range->m_caret fields if range->m_show_caret_p is false.
1274
1275 PR target/69644
1276 * config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap):
1277 Force oldval into register if it does not satisfy reg_or_short_operand
1278 predicate. Fix up formatting.
1279
1280 2016-02-03 Vladimir Makarov <vmakarov@redhat.com>
1281 Alexandre Oliva <aoliva@redhat.com>
1282
1283 PR target/69461
1284 * lra-constraints.c (simplify_operand_subreg): Check additionally
1285 address validity after potential reloading.
1286 (process_address_1): Check insns validity. In case of failure do
1287 nothing.
1288
1289 2016-02-03 Kirill Yukhin <kirill.yukhin@intel.com>
1290
1291 PR target/69118
1292 * config/i386/sse.md (define_insn "avx512f_maskcmp<mode>3"):
1293 Fix target.
1294
1295 2016-02-02 Jakub Jelinek <jakub@redhat.com>
1296
1297 * wide-int.cc (canonize_uhwi): New function.
1298 (wi::divmod_internal): Use it.
1299
1300 2016-02-02 James Norris <jnorris@codesourcery.com
1301
1302 * gimplify.c (omp_notice_variable): Add usage check.
1303
1304 2016-02-02 Alexander Monakov <amonakov@ispras.ru>
1305
1306 * config/nvptx/nvptx.c (nvptx_print_operand): Treat LEU, GEU, LTU, GTU
1307 like LE, GE, LT, GT when emitting relational operator.
1308
1309 2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
1310
1311 * ira-costs.c (find_costs_and_classes): Add extra argument.
1312 * target.def (ira_change_pseudo_allocno_class): Add parameter.
1313 * targhooks.h (ira_change_pseudo_allocno_class): Likewise.
1314 * targhooks.c (ira_change_pseudo_allocno_class): Likewise.
1315 * config/aarch64/aarch64.c (aarch64_ira_change_pseudo_allocno_class)
1316 Add best_class parameter, and return it if not ALL_REGS.
1317 * config/mips/mips.c (mips_ira_change_pseudo_allocno_class):
1318 Add parameter.
1319 * doc/tm.texi (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS):
1320 Update target hook.
1321
1322 2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
1323
1324 * config/aarch64/aarch64.c
1325 (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS): New define.
1326 (aarch64_ira_change_pseudo_allocno_class): New function.
1327
1328 2016-02-02 Uros Bizjak <ubizjak@gmail.com>
1329
1330 PR target/67032
1331 * config/i386/i386.c (geode_cost): Increase cost of MMX and SSE moves.
1332
1333 2016-02-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1334
1335 * config/avr/avr.c (avr_option_override): Set
1336 PARAM_ALLOW_STORE_DATA_RACES to 1.
1337
1338 2016-02-02 Richard Biener <rguenther@suse.de>
1339
1340 PR tree-optimization/69595
1341 * match.pd: Add range test simplifications to true/false.
1342
1343 2016-02-02 Thomas Schwinge <thomas@codesourcery.com>
1344
1345 * omp-builtins.def (BUILT_IN_GOACC_HOST_DATA): Remove.
1346 * omp-low.c (expand_omp_target): Use BUILT_IN_GOACC_DATA_START
1347 instead.
1348
1349 2016-02-02 Richard Biener <rguenther@suse.de>
1350
1351 PR tree-optimization/69606
1352 * tree-ssa-math-opts.c (bswap_replace): Clear flow sensitive
1353 info on the result before moving a stmt.
1354
1355 2016-02-02 Yuri Rumyantsev <ysrumyan@gmail.com>
1356
1357 PR middle-end/68542
1358 * config/i386/i386.c (ix86_expand_branch): Add support for conditional
1359 branch with vector comparison.
1360 * config/i386/sse.md (VI48_AVX): New mode iterator.
1361 (define_expand "cbranch<mode>4): Add support for conditional branch
1362 with vector comparison.
1363 * tree-vect-loop.c (optimize_mask_stores): New function.
1364 * tree-vect-stmts.c (vectorizable_mask_load_store): Initialize
1365 has_mask_store field of vect_info.
1366 * tree-vectorizer.c (vectorize_loops): Invoke optimaze_mask_stores for
1367 vectorized loops having masked stores after vec_info destroy.
1368 * tree-vectorizer.h (loop_vec_info): Add new has_mask_store field and
1369 correspondent macros.
1370 (optimize_mask_stores): Add prototype.
1371
1372 2016-02-02 Alan Modra <amodra@gmail.com>
1373
1374 PR target/69548
1375 * config/rs6000/predicates.md (quad_int_reg_operand): Don't
1376 allow subregs.
1377
1378 2016-02-02 Alan Modra <amodra@gmail.com>
1379
1380 PR target/68662
1381 * config/rs6000/rs6000.c (need_toc_init): New var, set it
1382 whenever toc_label_name used.
1383 (rs6000_file_start): Don't set up toc section here,
1384 (rs6000_output_function_epilogue): do so here instead,
1385 (rs6000_xcoff_file_start): and here.
1386 * config/rs6000/rs6000.md (load_toc_aix_si): Set need_toc_init.
1387 (load_toc_aix_di): Likewise.
1388
1389 2016-02-01 Jakub Jelinek <jakub@redhat.com>
1390
1391 PR rtl-optimization/69592
1392 * rtlanal.c (nonzero_bits_binary_arith_p): New inline function.
1393 (cached_nonzero_bits): Use it instead of ARITHMETIC_P.
1394 (num_sign_bit_copies_binary_arith_p): New inline function.
1395 (cached_num_sign_bit_copies): Use it instead of ARITHMETIC_P.
1396
1397 2016-02-01 Jeff Law <law@redhat.com>
1398
1399 PR tree-optimization/69580
1400 * params.def (FSM_MAXIMUM_PHI_ARGUMENTS): New param.
1401 * tree-ssa-threadbackward.c
1402 (fsm_find_control_statement_thread_paths): Do not try to walk
1403 through large PHI nodes.
1404
1405 2016-02-01 Jakub Jelinek <jakub@redhat.com>
1406
1407 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return false
1408 when count is incremented above limit, don't analyze further
1409 insns afterwards.
1410
1411 * omp-low.c (oacc_parse_default_dims): Avoid
1412 -Wsign-compare warning, make sure value fits into int
1413 rather than just unsigned int.
1414
1415 2016-02-01 Bin Cheng <bin.cheng@arm.com>
1416
1417 PR tree-optimization/67921
1418 * fold-const.c (split_tree): New parameters. Convert pointer
1419 type variable part to proper type before negating.
1420 (fold_binary_loc): Pass new arguments to split_tree.
1421
1422 2016-02-01 Nathan Sidwell <nathan@codesourcery.com>
1423
1424 * config/nvptx/nvptx.c (PTX_GANG_DEFAULT): New.
1425 (nvptx_goacc_validate_dims): Extend to handle global defaults.
1426 * target.def (OACC_VALIDATE_DIMS): Extend documentation.
1427 * doc/tm.texti: Rebuilt.
1428 * doc/invoke.texi (fopenacc-dim): Document.
1429 * lto-wrapper.c (merge_and_complain): Add OPT_fopenacc_dim_ case.
1430 (append_compiler_options): Likewise.
1431 * omp-low.c (oacc_default_dims, oacc_min_dims): New.
1432 (oacc_parse_default_dims): New.
1433 (oacc_validate_dims): Add USED arg. Select non-unity default when
1434 possible.
1435 (oacc_loop_fixed_partitions): Return mask of used partitions.
1436 (oacc_loop_auto_partitions): Emit dump info.
1437 (oacc_loop_partition): Return mask of used partitions.
1438 (execute_oacc_device_lower): Parse default dimension arg. Adjust
1439 loop partitioning and validation calls.
1440
1441 2016-02-01 Richard Biener <rguenther@suse.de>
1442
1443 PR middle-end/69556
1444 * match.pd: Guard (C1/X)*C2 -> (C1*C2)/X with single_use.
1445
1446 2016-02-01 Richard Biener <rguenther@suse.de>
1447
1448 PR tree-optimization/69574
1449 * tree-chrec.c (hide_evolution_in_other_loops_than_loop): Instead
1450 of asserting return chrec_dont_know.
1451
1452 2016-02-01 Martin Liska <mliska@suse.cz>
1453
1454 * mem-stats-traits.h: Add copyright header.
1455 * mem-stats.h: Likewise.
1456
1457 2016-02-01 Richard Biener <rguenther@suse.de>
1458
1459 PR tree-optimization/69579
1460 * tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling):
1461 Do not propagate through abnormal PHI results.
1462
1463 2016-02-01 Eric Botcazou <ebotcazou@adacore.com>
1464
1465 * postreload.c (reload_cse_simplify): Remove dead code.
1466
1467 2016-02-01 Jakub Jelinek <jakub@redhat.com>
1468
1469 PR rtl-optimization/69570
1470 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return true only
1471 if there is more than one set, not if there is a single set.
1472
1473 2016-02-01 Richard Henderson <rth@redhat.com>
1474
1475 PR rtl-opt/69535
1476 * combine.c (make_compound_operation): When looking through a
1477 subreg, make sure to re-extend to the width of the outer mode.
1478
1479 2016-01-30 Jakub Jelinek <jakub@redhat.com>
1480
1481 PR tree-optimization/69546
1482 * wide-int.cc (wi::divmod_internal): For unsigned division
1483 where both operands fit into uhwi, if o1 is 1 and o0 has
1484 msb set, if divident_prec is larger than bits per hwi,
1485 clear another quotient word and return 2 instead of 1.
1486 Similarly for remainder with msb in HWI set, if dividend_prec
1487 is larger than bits per hwi.
1488
1489 2016-01-29 Martin Jambor <mjambor@suse.cz>
1490
1491 * hsa-gen.c (get_memory_order_name): Mask with MEMMODEL_BASE_MASK.
1492 Use short lowercase names.
1493 (get_memory_order): Mask with MEMMODEL_BASE_MASK. Support
1494 MEMMODEL_CONSUME with acquire semantics and MEMMODEL_SEQ_CST with
1495 acq_rel one. Protect warning agains segfaults if
1496 get_memory_order_name returns NULL.
1497 (gen_hsa_ternary_atomic_for_builtin): Support with MEMMODEL_SEQ_CST
1498 with release semantics. Do not warn if get_memory_order already did.
1499 (gen_hsa_insns_for_call): Support with MEMMODEL_SEQ_CST with acquire
1500 semantics. Fix check for relaxed or acquire semantics. Do not warn
1501 if get_memory_order already did.
1502
1503 2016-01-29 Sebastian Pop <s.pop@samsung.com>
1504
1505 * doc/install.texi: Document that isl-0.16 is supported.
1506
1507 2016-01-29 Vladimir Makarov <vmakarov@redhat.com>
1508
1509 PR target/69299
1510 * config/i386/constraints.md (Bm): Describe as special memory
1511 constraint.
1512 * doc/md.texi (DEFINE_SPECIAL_MEMORY_CONSTRAINT): Describe it.
1513 * genoutput.c (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT.
1514 * genpreds.c (struct constraint_data): Add is_special_memory.
1515 (have_special_memory_constraints, special_memory_start): New
1516 static vars.
1517 (special_memory_end): Ditto.
1518 (add_constraint): Add new arg is_special_memory. Add code to
1519 process its true value. Update have_special_memory_constraints.
1520 (process_define_constraint): Pass the new arg.
1521 (process_define_register_constraint): Ditto.
1522 (choose_enum_order): Process special memory.
1523 (write_tm_preds_h): Generate enum const CT_SPECIAL_MEMORY and
1524 function insn_extra_special_memory_constraint.
1525 (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT.
1526 * gensupport.c (process_rtx): Process
1527 DEFINE_SPECIAL_MEMORY_CONSTRAINT.
1528 * ira-costs.c (record_reg_classes): Process CT_SPECIAL_MEMORY.
1529 * ira-lives.c (single_reg_class): Use
1530 insn_extra_special_memory_constraint.
1531 * ira.c (ira_setup_alts): Process CT_SPECIAL_MEMORY.
1532 * lra-constraints.c (process_alt_operands): Ditto.
1533 (curr_insn_transform): Use insn_extra_special_memory_constraint.
1534 * recog.c (asm_operand_ok, preprocess_constraints): Process
1535 CT_SPECIAL_MEMORY.
1536 * reload.c (find_reloads): Ditto.
1537 * rtl.def (DEFINE_SPECIFAL_MEMORY_CONSTRAINT): New.
1538 * stmt.c (parse_input_constraint): Use
1539 insn_extra_special_memory_constraint.
1540
1541 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1542
1543 PR target/69530
1544 * lra-splill.c (lra_final_code_change): Revert r229087 by
1545 removing all sub-registers.
1546
1547 2016-01-29 Steve Ellcey <sellcey@imgtec.com>
1548
1549 PR target/65604
1550 * config/mips/mips.c (mips_output_division): Check flag_delayed_branch.
1551
1552 2016-01-29 Jakub Jelinek <jakub@redhat.com>
1553
1554 PR target/69551
1555 * config/i386/i386.c (ix86_expand_vector_set) <case V4SImode>: For
1556 SSE1, copy target into the temporary reg first before recursing
1557 on it.
1558
1559 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1560
1561 * config/i386/sse.md (sse2_cvtps2pd<mask_name>): Replace vBm
1562 with vm.
1563
1564 2016-01-29 Jonathan Wakely <jwakely@redhat.com>
1565
1566 * ginclude/stdarg.h: Test __cplusplus instead of
1567 __GXX_EXPERIMENTAL_CXX0X__.
1568
1569 2016-01-29 Richard Biener <rguenther@suse.de>
1570
1571 PR tree-optimization/69547
1572 * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1):
1573 Do not mark clobbers necessary.
1574 (mark_all_reaching_defs_necessary_1): Likewise.
1575
1576 2016-01-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
1577
1578 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Format
1579 declaration name with %qs and print it in both error messages.
1580 Also fix indentation.
1581
1582 2016-01-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
1583
1584 PR other/69006
1585 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Remove
1586 trailing blank line from error message.
1587
1588 2016-01-29 Jonathan Wakely <jwakely@redhat.com>
1589
1590 PR c++/69462
1591 * ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG
1592 for C++-11.
1593
1594 2016-01-29 Richard Biener <rguenther@suse.de>
1595
1596 PR middle-end/69537
1597 * match.pd: Allow all integral types when simplifying a
1598 widening or sign-changing conversion.
1599
1600 2016-01-28 Sebastian Pop <s.pop@samsung.com>
1601
1602 * graphite-isl-ast-to-gimple.c (get_rename_from_scev): Revert assert
1603 back to setting codegen_error to fail codegen.
1604
1605 2016-01-28 Uros Bizjak <ubizjak@gmail.com>
1606
1607 PR target/69459
1608 * config/i386/constraints.md (C): Only accept constant zero operand.
1609 (BC): New constraint.
1610 * config/i386/sse.md (*mov<mode>_internal): Use BC constraint
1611 instead of C constraint.
1612 * doc/md.texi (Machine Constraints): Update description
1613 of C constraint.
1614
1615 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
1616
1617 PR target/68400
1618 * config/mips/mips.c (and_operands_ok): Add MIPS16 check.
1619
1620 2016-01-28 Jakub Jelinek <jakub@redhat.com>
1621
1622 PR middle-end/69542
1623 * lra-remat.c (calculate_local_reg_remat_bb_data): Only consider
1624 non-debug insns.
1625
1626 2016-01-28 Pat Haugen <pthaugen@us.ibm.com>
1627
1628 * config/rs6000/rs6000.c (output_cbranch): Don't statically predict
1629 branches if using guessed profile.
1630
1631 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
1632
1633 * graphite-optimize-isl.c (optimize_isl): Fix dump.
1634
1635 2016-01-28 Richard Henderson <rth@redhat.com>
1636
1637 PR target/69305
1638 * config/aarch64/aarch64-modes.def (CC_Cmode): New
1639 * config/aarch64/aarch64-protos.h: Update.
1640 * config/aarch64/aarch64.c (aarch64_zero_extend_const_eq): New.
1641 (aarch64_select_cc_mode): Add check for use of CC_Cmode.
1642 (aarch64_get_condition_code_1): Handle CC_Cmode.
1643 * config/aarch64/aarch64.md (addti3): Use adddi3_compareC.
1644 (*add<mode>3_compareC_cconly_imm): New.
1645 (*add<mode>3_compareC_cconly): New.
1646 (*add<mode>3_compareC_imm): New.
1647 (add<mode>3_compareC): New.
1648 (add<mode>3_carryin, *addsi3_carryin_uxtw): Sort compare operand
1649 to be first. Use aarch64_carry_operation.
1650 (*add<mode>3_carryin_alt1, *addsi3_carryin_alt1_uxtw): Remove.
1651 (*add<mode>3_carryin_alt2, *addsi3_carryin_alt2_uxtw): Remove.
1652 (*add<mode>3_carryin_alt3, *addsi3_carryin_alt3_uxtw): Remove.
1653 (subti3): Use subdi3_compare1.
1654 (*sub<mode>3_compare0): Rename from sub<mode>3_compare0.
1655 (sub<mode>3_compare1): New.
1656 (*sub<mode>3_carryin0, *subsi3_carryin_uxtw): New.
1657 (*sub<mode>3_carryin): Use aarch64_borrow_operation.
1658 (*subsi3_carryin_uxtw): Likewise.
1659 (*ngc<mode>, *ngcsi_uxtw): Likewise.
1660 (*sub<mode>3_carryin_alt, *subsi3_carryin_alt_uxtw): New.
1661 * config/aarch64/iterators.md (DWI): New.
1662 * config/aarch64/predicates.md (aarch64_carry_operation): New.
1663 (aarch64_borrow_operation): New.
1664
1665 2016-01-28 Abderrazek Zaafrani <a.zaafrani@samsung.com>
1666
1667 * graphite-optimize-isl.c (optimize_isl): Print a different debug
1668 message when isl does not return a valid schedule.
1669
1670 2016-01-28 Sebastian Pop <s.pop@samsung.com>
1671
1672 * graphite-isl-ast-to-gimple.c (class translate_isl_ast_to_gimple):
1673 Remove comments from class declarations: they are already in the code
1674 close by the defs.
1675
1676 2016-01-28 Sebastian Pop <s.pop@samsung.com>
1677
1678 * graphite-isl-ast-to-gimple.c (binary_op_to_tree): Call
1679 codegen_error_p.
1680 (ternary_op_to_tree): Same.
1681 (unary_op_to_tree): Same.
1682 (nary_op_to_tree): Same.
1683 (gcc_expression_from_isl_expr_op): Same.
1684 (gcc_expression_from_isl_expression): Same.
1685 (graphite_create_new_loop): Same.
1686 (graphite_create_new_loop_guard): Same.
1687 (build_iv_mapping): Same.
1688 (graphite_create_new_guard): Same.
1689 (translate_isl_ast_to_gimple::copy_loop_phi_nodes): Same.
1690 (translate_isl_ast_to_gimple::translate_pending_phi_nodes): Same.
1691
1692 2016-01-28 Sebastian Pop <s.pop@samsung.com>
1693
1694 * graphite-isl-ast-to-gimple.c (get_rename_from_scev): Assert
1695 instead of setting codegen_error to fail codegen.
1696
1697 2016-01-28 Jason Merrill <jason@redhat.com>
1698
1699 * tree.h (BINFO_FLAG_0): Rename from BINFO_MARKED.
1700
1701 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
1702
1703 * config/aarch64/aarch64.c (aarch64_if_then_else_costs):
1704 Remove CONST_INT_P check in CCMP cost calculation.
1705
1706 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
1707
1708 * config/aarch64/aarch64.c (generic_vector_cost):
1709 Set vec_permute_cost.
1710 (cortexa57_vector_cost): Likewise.
1711 (exynosm1_vector_cost): Likewise.
1712 (xgene1_vector_cost): Likewise.
1713 (aarch64_builtin_vectorization_cost): Use vec_permute_cost.
1714 * config/aarch64/aarch64-protos.h (cpu_vector_cost):
1715 Add vec_permute_cost entry.
1716
1717 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
1718
1719 * config/aarch64/aarch64.md (ccmp<mode>): Disassemble
1720 immediate as %1.
1721 (add<mode>3_compare0): Likewise.
1722 (addsi3_compare0_uxtw): Likewise.
1723 (add<mode>3nr_compare0): Likewise.
1724 (compare_neg<mode>): Likewise.
1725 (<optab><mode>3): Likewise.
1726
1727 2016-01-28 Ilya Enkovich <enkovich.gnu@gmail.com>
1728
1729 * tree-vect-stmts.c (vectorizable_comparison): Add
1730 NULL check for vectype.
1731
1732 2016-01-28 Richard Biener <rguenther@suse.de>
1733
1734 PR tree-optimization/69466
1735 * tree-vect-loop-manip.c (slpeel_duplicate_current_defs_from_edges):
1736 Account for PHIs we couldn't duplicate.
1737
1738 2016-01-28 Martin Liska <mliska@suse.cz>
1739
1740 PR pch/68758
1741 * ggc-common.c (gt_pch_save): Use ENABLE_VALGRIND_ANNOTATIONS macro
1742 instead of ENABLE_VALGRIND_CHECKING.
1743
1744 2016-01-27 Richard Henderson <rth@redhat.com>
1745
1746 PR rtl-opt/69447
1747 * lra-remat.c (subreg_regs): New.
1748 (dump_candidates_and_remat_bb_data): Dump it.
1749 (operand_to_remat): Reject if operand in subreg_regs.
1750 (set_bb_regs): Collect subreg_regs.
1751 (lra_remat): Init and free subreg_regs. Compute
1752 calculate_local_reg_remat_bb_data before create_cands.
1753
1754 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
1755
1756 PR target/68986
1757 * config/i386/i386.c (ix86_update_stack_boundary): Don't
1758 change stack_alignment_needed for __tls_get_addr call.
1759
1760 2016-01-27 Segher Boessenkool <segher@kernel.crashing.org>
1761
1762 * config/rs6000/rs6000.c (print_operand): Rollback 's' removal.
1763
1764 2016-01-27 Jeff Law <law@redhat.com>
1765
1766 PR tree-optimization/68398
1767 PR tree-optimization/69196
1768 * params.def (PARAM_FSM_SCALE_PATH_STMTS): New parameter.
1769 (PARAM_FSM_SCALE_PATH_BLOCKS): Likewise.
1770 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
1771 Only count PHIs in the last block in the path. The others will
1772 const/copy propagate away. Add heuristic to allow more irreducible
1773 subloops to be created when it is likely profitable to do so.
1774
1775 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
1776 Fix typo in comment. Use gsi_after_labels and remove the GIMPLE_LABEL
1777 check from within the loop. Use gsi_next_nondebug rather than gsi_next.
1778
1779 2016-01-27 Jakub Jelinek <jakub@redhat.com>
1780
1781 PR lto/69254
1782 * sanitizer.def: Add BEGIN_SANITIZER_BUILTINS and
1783 END_SANITIZER_BUILTINS markers using DEF_BUILTIN_STUB.
1784 * asan.c (DEF_BUILTIN_STUB): Temporarily define.
1785 * tree-streamer-in.c: Include asan.h.
1786 (streamer_get_builtin_tree): For builtins in sanitizer
1787 range call initialize_sanitizer_builtins and retry.
1788
1789 2016-01-27 Ian Lance Taylor <iant@google.com>
1790
1791 * common.opt (fkeep-gc-roots-live): New undocumented option.
1792 * tree-ssa-loop-ivopts.c (add_candidate_1): If
1793 -fkeep-gc-roots-live, skip pointers.
1794 (add_iv_candidate_for_biv): Handle add_candidate_1 returning
1795 NULL.
1796
1797 2016-01-27 Uros Bizjak <ubizjak@gmail.com>
1798
1799 PR target/69512
1800 * config/i386/i386.md (*zext<mode>_doubleword_and): New pattern.
1801 (*zext<mode>_doubleword): Disable for TARGET_ZERO_EXTEND_WITH_AND.
1802
1803 2016-01-27 Thomas Klausner <wiz@NetBSD.org>
1804
1805 PR target/68380
1806 * configure.ac: NetBSD provides SSP in its C library.
1807 * configure: Updated.
1808
1809 2016-01-27 Richard Biener <rguenther@suse.de>
1810
1811 PR tree-optimization/69166
1812 * tree-vect-loop.c (vect_is_simple_reduction): Always check
1813 reduction code for commutativity / associativity.
1814
1815 2016-01-27 Martin Jambor <mjambor@suse.cz>
1816
1817 PR tree-optimization/69355
1818 * tree-sra.c (analyze_access_subtree): Correct hole detection when
1819 total_scalarization fails.
1820
1821 2016-01-27 David Edelsohn <dje.gcc@gmail.com>
1822
1823 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add
1824 power9.
1825
1826 2016-01-27 Christian Bruel <christian.bruel@st.com>
1827
1828 PR target/69245
1829 * config/arm/arm-c.c (arm_pragma_target_parse): Add comments.
1830 Move arm_reset_previous_fndecl and set_target_option_current_node in
1831 the conditional part. Call save_restore_target_globals.
1832 * config/arm/arm.c (arm_set_current_function):
1833 Refactor to better support #pragma target and attribute mix.
1834 Call save_restore_target_globals.
1835 * config/arm/arm-protos.h (save_restore_target_globals): New function.
1836
1837 2016-01-27 Martin Liska <mliska@suse.cz>
1838
1839 * hsa.c (hsa_summary_t::link_functions): Create IPA_REF_ADDR
1840 reference for an HSA kernel and its host function.
1841
1842 2016-01-27 Jakub Jelinek <jakub@redhat.com>
1843
1844 PR tree-optimization/69399
1845 * wide-int.h (wi::lrshift): For larger precisions, only
1846 use fast path if shift is known to be < HOST_BITS_PER_WIDE_INT.
1847
1848 2016-01-27 Claudiu Zissulescu <claziss@synopsys.com>
1849
1850 * config/arc/predicates.md (proper_comparison_operator): Reject
1851 constant-constant comparison.
1852
1853 2016-01-26 Tom de Vries <tom@codesourcery.com>
1854
1855 PR tree-optimization/69110
1856 * tree-data-ref.c (initialize_data_dependence_relation): Handle
1857 DR_NUM_DIMENSIONS == 0.
1858
1859 2016-01-26 Abderrazek Zaafrani <a.zaafrani@samsung.com>
1860 Sebastian Pop <s.pop@samsung.com>
1861
1862 * graphite-isl-ast-to-gimple.c (ternary_op_to_tree): Handle
1863 isl_ast_op_cond and isl_ast_op_select.
1864 (gcc_expression_from_isl_expr_op): Same.
1865
1866 2016-01-26 Jason Merrill <jason@redhat.com>
1867
1868 PR c++/68782
1869 * tree.c (recompute_constructor_flags): Split out from
1870 build_constructor.
1871 (verify_constructor_flags): New.
1872 * tree.h: Declare them.
1873
1874 2016-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
1875
1876 PR rtl-optimization/69217
1877 * var-tracking.c (tracked_record_parameter_p): Don't segfault if there
1878 are no TYPE_FIELDS set for the record type.
1879
1880 2016-01-26 Jakub Jelinek <jakub@redhat.com>
1881
1882 PR target/68662
1883 * config/rs6000/rs6000.c (rs6000_option_override_internal): Initialize
1884 toc_label_name unconditionally.
1885 (rs6000_emit_load_toc_table): Call ggc_strdup on toc_label_name for
1886 SYMBOL_REF string. Use toc_label_name instead of constructing
1887 LCTOC1.
1888 (rs6000_elf_declare_function_name): Use toc_label_name instead of
1889 constructing LCTOC1.
1890
1891 2016-01-26 Martin Sebor <msebor@redhat.com>
1892
1893 PR other/69477
1894 * doc/extend.texi (Common Type Attributes): Move text that talks about
1895 attribute packed from attribute aligned to the section discussing
1896 the former attribute for clarity.
1897
1898 2016-01-26 Richard Henderson <rth@redhat.com>
1899
1900 PR middle-end/60908
1901 * trans-mem.c (tm_region_init): Mark entry block as visited.
1902
1903 2016-01-26 David Malcolm <dmalcolm@redhat.com>
1904
1905 PR other/69006
1906 * diagnostic-show-locus.c (layout::print_source_line): Replace
1907 call to pp_newline with call to layout::print_newline.
1908 (layout::print_annotation_line): Likewise.
1909 (layout::move_to_column): Likewise.
1910 (layout::print_any_fixits): After printing any fixits, print a
1911 trailing newline, if necessary.
1912 (layout::print_newline): New method, resetting any colorization
1913 before a newline.
1914 (diagnostic_show_locus): Move the pp_newline to before the
1915 early bailout. Remove dummy block enclosing the layout instance.
1916 * diagnostic.c (default_diagnostic_finalizer): Replace invocation
1917 of pp_newline_and_flush with pp_flush.
1918 (diagnostic_append_note): Delete use of pp_newline.
1919 (diagnostic_append_note_at_rich_loc): Delete.
1920 * diagnostic.h (diagnostic_append_note_at_rich_loc): Delete.
1921 * pretty-print.h (output_buffer_append_r): Reset buff->line_length
1922 when newline characters are added to the buffer.
1923
1924 2016-01-26 Michael Matz <matz@suse.de>
1925
1926 * configure.ac (ac_cv_std_swap_in_utility): New test.
1927 * system.h (<algorithm>): Check HAVE_SWAP_IN_UTILITY as well.
1928 * configure: Regenerate.
1929 * config.in: Regenerate.
1930
1931 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
1932
1933 * config/arc/arc.md (cstoresi4): Force operand into register.
1934 (arcset<code>): Fix predicate.
1935 (arcsetltu): Likewise.
1936 (arcsetgeu): Likewise.
1937 (arcsethi): Likewise.
1938 (arcsetls): Likewise.
1939
1940 2016-01-26 Jakub Jelinek <jakub@redhat.com>
1941
1942 PR tree-optimization/69483
1943 * gimple-fold.c (canonicalize_constructor_val): Return NULL
1944 if base has error_mark_node type.
1945
1946 2016-01-26 Christophe Lyon <christophe.lyon@linaro.org>
1947
1948 PR target/68620
1949 * config/arm/arm.c (neon_valid_immediate): Handle FP16 vectors.
1950 * config/arm/arm_neon.h (__ARM_NUM_LANES, __arm_lane, arm_lanq):
1951 New helper macros.
1952 (vget_lane_f16): Handle big-endian.
1953 (vgetq_lane_f16): Likewise.
1954 (vset_lane_f16): Likewise.
1955 (vsetq_lane_f16): Likewise.
1956 * config/arm/iterators.md (VQXMOV): Add V8HF.
1957 (VDQ): Add V4HF and V8HF.
1958 (V_reg): Handle V4HF and V8HF.
1959 (Is_float_mode): Likewise.
1960 * config/arm/neon.md (movv4hf, movv8hf, neon_vdup_nv4hf,
1961 neon_vdup_nv8hf): New patterns.
1962 (vec_set<mode>_internal, vec_extract<mode>, neon_vld1_dup<mode>):
1963 Use VD_LANE iterator.
1964 (neon_vld1_dup<mode>): Use VQ2 iterator.
1965
1966 2016-01-26 Nathan Sidwell <nathan@acm.org>
1967
1968 * omp-low.h (oacc_fn_attrib_kernels_p): Declare.
1969 (set_oacc_fn_attrib): Add IS_KERNEL arg.
1970 * omp-low.c (set_oacc_fn_attrib): Add IS_KERNEL arg.
1971 (oacc_fn_attrib_kernels_p, oacc_fn_attrib_level): New.
1972 (expand_omp_target): Pass is_kernel to set_oacc_fn_attrib.
1973 (oacc_validate_dims): Add LEVEL arg, don't return level.
1974 (new_oacc_loop_routine): Use oacc_fn_attrib_level, not
1975 oacc_validate_dims.
1976 (execute_oacc_device_lower): Adjust, add more dump output.
1977 * tree-ssa-loop.c (gate_oacc_kernels): Use
1978 oacc_fn_attrib_kernels_p.
1979 * tree-parloops.c (create_parallel_loop): Adjust
1980 set_oacc_fn_attrib call.
1981
1982 2016-01-26 Jakub Jelinek <jakub@redhat.com>
1983
1984 PR lto/69254
1985 * lto-wrapper.c (merge_and_complain): Handle -fcilkplus.
1986 (append_compiler_options): Handle -fcilkplus.
1987 (append_linker_options): Ignore -fno-{openmp,openacc,cilkplus}.
1988
1989 2016-01-26 Nick Clifton <nickc@redhat.com>
1990
1991 PR target/66655
1992 * config/i386/winnt.c (i386_pe_binds_local_p): If a function has
1993 been marked as DECL_ONE_ONLY but we do not the means to make it
1994 so, then do not allow it to bind locally.
1995
1996 2016-01-26 Jakub Jelinek <jakub@redhat.com>
1997
1998 PR lto/69254
1999 * opts.h (parse_sanitizer_options): New prototype.
2000 * opts.c (sanitizer_opts): New array.
2001 (parse_sanitizer_options): New function.
2002 (common_handle_option): Use parse_sanitizer_options.
2003
2004 2016-01-26 H.J. Lu <hongjiu.lu@intel.com>
2005
2006 PR target/68986
2007 * config/i386/i386.c (ix86_compute_frame_layout): Move stack
2008 alignment adjustment to ...
2009 (ix86_update_stack_boundary): Here. Don't over-align stack for
2010 __tls_get_addr.
2011 (ix86_finalize_stack_realign_flags): Use stack_alignment_needed
2012 if __tls_get_addr is called.
2013
2014 2016-01-26 Christian Bruel <christian.bruel@st.com>
2015
2016 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Remove.
2017
2018 2016-01-26 Eric Botcazou <ebotcazou@adacore.com>
2019
2020 * config/ia64/ia64.c (ia64_expand_vecint_compare): Use gen_int_mode.
2021
2022 2016-01-26 Richard Biener <rguenther@suse.de>
2023
2024 PR middle-end/69467
2025 * match.pd: Guard X * CST CMP 0 pattern with single_use.
2026
2027 2016-01-26 Richard Biener <rguenther@suse.de>
2028
2029 PR tree-optimization/69452
2030 * tree-ssa-loop-im.c (move_computations_dom_walker): Remove.
2031 (move_computations_dom_walker::before_dom_children): Rename
2032 to ...
2033 (move_computations_worker): This.
2034 (move_computations): Perform an RPO rather than a DOM walk.
2035
2036 2016-01-26 Jakub Jelinek <jakub@redhat.com>
2037
2038 PR target/69442
2039 * combine.c (combine_instructions): For REG_EQUAL note with
2040 SET_DEST being ZERO_EXTRACT, also temporarily set SET_DEST
2041 to the underlying register.
2042 * doc/rtl.texi (REG_EQUAL): Document the behavior of
2043 REG_EQUAL/REG_EQUIV notes if SET_DEST is ZERO_EXTRACT.
2044
2045 2016-01-26 Roger Ferrer Ibáñez <rofirrim@gmail.com>
2046
2047 PR target/67896
2048 * config/aarch64/aarch64-builtins.c
2049 (aarch64_init_simd_builtin_types): Do not set structural
2050 equality to __Poly{8,16,64,128}_t types.
2051
2052 2016-01-26 Richard Sandiford <richard.sandiford@arm.com>
2053
2054 PR tree-optimization/69400
2055 * wide-int.cc (wi_pack): Take the precision as argument and
2056 perform canonicalization here rather than in the callers.
2057 Use the main loop to handle all full-width HWIs. Add a
2058 zero HWI if in_len isn't a full result.
2059 (wi::divmod_internal): Update accordingly.
2060 (wi::mul_internal): Likewise. Simplify.
2061
2062 2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
2063 Sebastian Pop <s.pop@samsung.com>
2064
2065 * graphite-poly.c (apply_poly_transforms): Simplify.
2066 (print_isl_set): Use more readable format: ISL_YAML_STYLE_BLOCK.
2067 (print_isl_map): Same.
2068 (print_isl_union_map): Same.
2069 (print_isl_schedule): New.
2070 (debug_isl_schedule): New.
2071 * graphite-dependences.c (scop_get_reads): Do not call
2072 isl_union_map_add_map that is undocumented isl functionality.
2073 (scop_get_must_writes): Same.
2074 (scop_get_may_writes): Same.
2075 (scop_get_original_schedule): Remove.
2076 (scop_get_dependences): Do not call isl_union_map_compute_flow that
2077 is deprecated in isl 0.15. Instead, use isl_union_access_* interface.
2078 (compute_deps): Remove.
2079 * graphite-isl-ast-to-gimple.c (print_schedule_ast): New.
2080 (debug_schedule_ast): New.
2081 (translate_isl_ast_to_gimple::scop_to_isl_ast): Call
2082 set_separate_option.
2083 (graphite_regenerate_ast_isl): Add dump.
2084 (translate_isl_ast_to_gimple::scop_to_isl_ast): Generate code
2085 from scop->transformed_schedule.
2086 (graphite_regenerate_ast_isl): Add more dump.
2087 * graphite-optimize-isl.c (optimize_isl): Set
2088 scop->transformed_schedule. Check whether schedules are equal.
2089 (apply_poly_transforms): Move here.
2090 * graphite-poly.c (apply_poly_transforms): ... from here.
2091 (free_poly_bb): Static.
2092 (free_scop): Static.
2093 (pbb_number_of_iterations_at_time): Remove.
2094 (print_isl_ast): New.
2095 (debug_isl_ast): New.
2096 (debug_scop_pbb): New.
2097 * graphite-scop-detection.c (print_edge): Move.
2098 (print_sese): Move.
2099 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Remove.
2100 (build_scop_scattering): Remove.
2101 (create_pw_aff_from_tree): Assert instead of bailing out.
2102 (add_condition_to_pbb): Remove unused code, do not fail.
2103 (add_conditions_to_domain): Same.
2104 (add_conditions_to_constraints): Remove.
2105 (build_scop_context): New.
2106 (add_iter_domain_dimension): New.
2107 (build_iteration_domains): Initialize pbb->iterators.
2108 Call add_conditions_to_domain.
2109 (nested_in): New.
2110 (loop_at): New.
2111 (index_outermost_in_loop): New.
2112 (index_pbb_in_loop): New.
2113 (outermost_pbb_in): New.
2114 (add_in_sequence): New.
2115 (add_outer_projection): New.
2116 (outer_projection_mupa): New.
2117 (add_loop_schedule): New.
2118 (build_schedule_pbb): New.
2119 (build_schedule_loop): New.
2120 (embed_in_surrounding_loops): New.
2121 (build_schedule_loop_nest): New.
2122 (build_original_schedule): New.
2123 (build_poly_scop): Call build_original_schedule.
2124 * graphite.h: Declare print_isl_schedule and debug_isl_schedule.
2125 (free_poly_dr): Remove.
2126 (struct poly_bb): Add iterators. Remove schedule, transformed, saved.
2127 (free_poly_bb): Remove.
2128 (debug_loop_vec): Remove.
2129 (print_isl_ast): Declare.
2130 (debug_isl_ast): Declare.
2131 (scop_do_interchange): Remove.
2132 (scop_do_strip_mine): Remove.
2133 (scop_do_block): Remove.
2134 (flatten_all_loops): Remove.
2135 (optimize_isl): Remove.
2136 (pbb_number_of_iterations_at_time): Remove.
2137 (debug_scop_pbb): Declare.
2138 (print_schedule_ast): Declare.
2139 (debug_schedule_ast): Declare.
2140 (struct scop): Remove schedule. Add original_schedule,
2141 transformed_schedule.
2142 (free_gimple_poly_bb): Remove.
2143 (print_generated_program): Remove.
2144 (debug_generated_program): Remove.
2145 (unify_scattering_dimensions): Remove.
2146 * sese.c (print_edge): ... here.
2147 (print_sese): ... here.
2148 (debug_edge): ... here.
2149 (debug_sese): ... here.
2150 * sese.h (print_edge): Declare.
2151 (print_sese): Declare.
2152 (dump_edge): Declare.
2153 (dump_sese): Declare.
2154
2155 2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
2156 Sebastian Pop <s.pop@samsung.com>
2157
2158 * Makefile.in: Set ISLVER in site.exp.
2159
2160 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2161
2162 * omp-low.c (lower_omp_target) <case USE_DEVICE_PTR>: Set
2163 DECL_VALUE_EXPR of new_var even for the non-array case. Look
2164 through DECL_VALUE_EXPR for expansion.
2165
2166 2016-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
2167
2168 * config/mips/mips.c (mips_compute_frame_info): Skip re-computing
2169 the frame info after reload completed.
2170
2171 2016-01-25 Jeff Law <law@redhat.com>
2172
2173 PR tree-optimization/69196
2174 PR tree-optimization/68398
2175 * tree-ssa-threadupdate.h (enum bb_dom_status): Moved here from
2176 tree-ssa-threadupdate.c.
2177 (determine_bb_domination_status): Prototype
2178 * tree-ssa-threadupdate.c (enum bb_dom_status): Remove
2179 (determine_bb_domination_status): No longer static.
2180 (valid_jump_thread_path): Remove code to detect characteristics
2181 of the jump thread path not associated with correctness.
2182 * tree-ssa-threadbackward.c (fsm_find_control_statment_thread_paths):
2183 Correct test for thread path length. Count PHIs for real operands as
2184 statements that need to be copied. Do not count ASSERT_EXPRs.
2185 Look at all the blocks in the thread path. Compute and selectively
2186 filter thread paths based on threading through the latch, threading
2187 a multiway branch or crossing a multiway branch.
2188
2189 2016-01-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2190
2191 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): Add
2192 decl with __attribute__ ((unused)) annotation.
2193
2194 2016-01-25 Ilya Enkovich <enkovich.gnu@gmail.com>
2195
2196 PR target/69421
2197 * tree-vect-stmts.c (vectorizable_condition): Check vectype
2198 of operands is compatible with a statement vectype.
2199
2200 2016-01-25 Eric Botcazou <ebotcazou@adacore.com>
2201
2202 * doc/extend.texi (scalar_storage_order type attribute): Fix typo and
2203 improve wording for mixed storage order support.
2204
2205 2016-01-25 Bilyan Borisov <bilyan.borisov@arm.com>
2206
2207 * config/aarch64/arm_neon.h (vcvt_s64_f64): New intrinsic.
2208 (vcvt_u64_f64): Likewise.
2209 (vcvta_s64_f64): Likewise.
2210 (vcvta_u64_f64): Likewise.
2211 (vcvtm_s64_f64): Likewise.
2212 (vcvtm_u64_f64): Likewise.
2213 (vcvtn_s64_f64): Likewise.
2214 (vcvtn_u64_f64): Likewise.
2215 (vcvtp_s64_f64): Likewise.
2216 (vcvtp_u64_f64): Likewise.
2217
2218 2016-01-25 Claudiu Zissulescu <claziss@synopsys.com>
2219
2220 * config/arc/arc.c (TARGET_DWARF_REGISTER_SPAN): Define.
2221 (arc_init): Check validity mll64 option.
2222 (arc_save_restore): Use double load/store instruction.
2223 (arc_expand_movmem): Likewise.
2224 (arc_split_move): Don't split if we have double load/store
2225 instructions. Returns a boolean.
2226 (arc_process_double_reg_moves): Change function to return boolean
2227 instead of a sequence of instructions.
2228 (arc_dwarf_register_span): New function.
2229 * config/arc/arc-protos.h (arc_split_move): Change prototype.
2230 * config/arc/arc.h (TARGET_CPU_CPP_BUILTINS): Define __ARC_LL64__.
2231 * config/arc/arc.md (*movdi_insn): Emit ldd/std instructions.
2232 (*movdf_insn): Likewise.
2233 * config/arc/arc.opt (mll64): New option.
2234 * config/arc/predicates.md (even_register_operand): New predicate.
2235 * doc/invoke.texi (ARC Options): Add mll64 documentation.
2236
2237 2016-01-25 Richard Biener <rguenther@suse.de>
2238
2239 PR lto/69393
2240 * dwarf2out.c (is_naming_typedef_decl): Not when DECL_NAMELESS.
2241 * tree-streamer-out.c (pack_ts_base_value_fields): Stream
2242 DECL_NAMELESS.
2243 * tree-streamer-in.c (unpack_ts_base_value_fields): Likewise.
2244
2245 2016-01-25 Richard Biener <rguenther@suse.de>
2246
2247 PR tree-optimization/69376
2248 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add range_info_anti_range_p
2249 flag.
2250 (VN_INFO_ANTI_RANGE_P): New inline.
2251 (VN_INFO_RANGE_TYPE): Likewise.
2252 * tree-ssa-sccvn.c (set_ssa_val_to): Also record and copy
2253 SSA_NAME_ANTI_RANGE_P.
2254 (free_scc_vn): Restore SSA_NAME_ANTI_RANGE_P.
2255 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
2256 Properly query VN_INFO_RANGE_TYPE.
2257
2258 2016-01-25 Nick Clifton <nickc@redhat.com>
2259
2260 PR target/66655
2261 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Remove definition.
2262
2263 2016-01-23 Tom de Vries <tom@codesourcery.com>
2264
2265 PR tree-optimization/69426
2266 * tree-parloops.c (eliminate_local_variables_stmt): Handle vdef of
2267 removed clobber.
2268
2269 2016-01-23 Jakub Jelinek <jakub@redhat.com>
2270
2271 * tree-ssanames.c (release_free_names_and_compact_live_names): Replace
2272 "the the" with "the" in the comments.
2273 * ipa-devirt.c (build_type_inheritance_graph,
2274 update_type_inheritance_graph): Likewise.
2275 * tree.c (build_function_type_list_1): Likewise.
2276 * cfgloopmanip.c (scale_loop_profile): Likewise.
2277 * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Likewise.
2278 * gimple-ssa-split-paths.c
2279 (find_block_to_duplicate_for_splitting_paths): Likewise.
2280 * tree-sra.c (init_subtree_with_zero, clobber_subtree): Likewise.
2281 * expr.c (convert_move): Likewise.
2282 * var-tracking.c (vt_stack_adjustments): Likewise.
2283 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Likewise.
2284 * tree-vrp.c (test_for_singularity): Likewise.
2285
2286 * tree-vect-stmts.c (vectorizable_condition): Build a VEC_COND_EXPR
2287 directly instead of building a temporary tree.
2288
2289 PR bootstrap/69434
2290 * genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
2291 remove <algorithm> include.
2292
2293 2016-01-22 Jakub Jelinek <jakub@redhat.com>
2294
2295 PR target/69432
2296 * config/i386/i386.c: Include dojump.h.
2297 (expand_small_movmem_or_setmem,
2298 expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Spelling
2299 fixes.
2300 (ix86_expand_set_or_movmem): Call do_pending_stack_adjust () early
2301 if dynamic_check != -1.
2302
2303 2016-01-21 Jeff Law <law@redhat.com>
2304
2305 PR middle-end/69347
2306 * tree-ssa-dom.c (back_propagate_equivalences): Factored out of
2307 record_temporary_equivalences. Rewritten to avoid unnecessary calls
2308 into dominated_by_p.
2309 (cprop_into_successor_phis): Avoid unnecessary tests.
2310
2311 2016-01-22 Richard Henderson <rth@redhat.com>
2312
2313 PR target/69416
2314 * config/aarch64/aarch64.md (UNSPEC_NZCV): New.
2315 (ccmp<mode>, fccmp<mode>, fccmpe<mode>): Use it.
2316
2317 2016-01-22 Michael Matz <matz@suse.de>
2318
2319 * system.h (string, algorithm): Include only conditionally.
2320 (new): Include always under C++.
2321 * bb-reorder.c (toplevel): Define INCLUDE_ALGORITHM.
2322 * final.c (toplevel): Ditto.
2323 * ipa-chkp.c (toplevel): Define INCLUDE_STRING.
2324 * genconditions.c (write_header): Make gencondmd.c define
2325 INCLUDE_STRING.
2326 * mem-stats.h (mem_usage::print_dash_line): Don't use std::string.
2327
2328 * config/aarch64/aarch64.c (toplevel): Define INCLUDE_STRING.
2329 * common/config/aarch64/aarch64-common.c (toplevel): Ditto.
2330
2331 2016-01-22 Christian Bruel <christian.bruel@st.com>
2332
2333 PR target/68674
2334 * expr.c (expand_expr_real_1): Reset DECL_MODE if VECTOR_TYPE_P changed.
2335
2336 2016-01-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2337
2338 PR target/69403
2339 * config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
2340 define_insn_and_split. Ensure operands[1] and operands[0] do not
2341 get assigned the same register.
2342
2343 2016-01-22 Kugan Vivekanandarajah <kuganv@linaro.org>
2344
2345 * ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.
2346
2347 2016-01-22 Christian Bruel <christian.bruel@st.com>
2348
2349 * config/arm/arm-c.c (arm_pragma_target_parse):
2350 Remove warn_builtin_macro_redefined overwrite.
2351
2352 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
2353
2354 * ipa-inline.c (can_inline_edge_p): Back out overzealous check on
2355 flag_non_call_exceptions compatibility.
2356
2357 2016-01-22 Jakub Jelinek <jakub@redhat.com>
2358
2359 PR debug/66668
2360 * dwarf2out.c (add_child_die_after): New function.
2361 (dwarf_qual_info_t): New type.
2362 (dwarf_qual_info): New variable.
2363 (qualified_die_p): New function.
2364 (modified_type_die): For -fdebug-types-section, ensure
2365 canonical order of qualifiers. Put qualified DIEs adjacent
2366 to the corresponding non-qualified type DIE and search there
2367 for existing qualified DIEs.
2368
2369 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
2370
2371 * doc/extend.texi (scalar_storage_order type attribute): Document
2372 restriction on type punning and aliasing, and remove future tense.
2373
2374 2016-01-21 Roman Zhuykov <zhroma@ispras.ru>
2375
2376 PR target/69252
2377 * modulo-sched.c (optimize_sc): Allow branch-scheduling to add a new
2378 first stage.
2379
2380 2016-01-21 Jeff Law <law@redhat.com>
2381
2382 PR middle-end/69347
2383 * tree-ssa-dom.c (dom_opt_dom_walker::thread_across_edge): Avoid
2384 useless call to record_temporary_equivalences.
2385 * tree-ssa-threadbackward.c (find_jump_threads_backwards): Just
2386 allocate 10 slots in the bb_path vector and let it grow as needed.
2387 (fsm_find_control_statement_thread_paths): Similarly for the next_path
2388 vector.
2389
2390 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
2391
2392 * configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
2393 Detangle.
2394 * configure: Regenerate.
2395
2396 2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
2397
2398 * config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
2399 * config/rs6000/driver-rs6000.c (struct asm_names): Likewise.
2400
2401 2016-01-21 Bernd Schmidt <bschmidt@redhat.com>
2402
2403 PR middle-end/66178
2404 * expr.c (expand_expr_real_2) [PLUS_EXPR, MINUS_EXPR]: Don't
2405 drop EXPAND_INITIALIZER.
2406 * rtl.h (contains_symbolic_reference_p): Declare.
2407 * rtlanal.c (contains_symbolic_reference_p): New function.
2408 * simplify-rtx.c (simplify_binary_operation_1): Don't turn
2409 a subtraction into a NOT if symbolic constants are involved.
2410
2411 2016-01-21 Anton Blanchard <anton@samba.org>
2412 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2413
2414 PR target/63354
2415 * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): New
2416 #define.
2417 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New
2418 function.
2419
2420 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
2421
2422 * config/microblaze/microblaze.c
2423 (get_branch_target): New.
2424 (insert_wic_for_ilb_runout): New.
2425 (insert_wic): New.
2426 (microblaze_machine_dependent_reorg): New.
2427 (TARGET_MACHINE_DEPENDENT_REORG): Define macro.
2428 * config/microblaze/microblaze.md
2429 (UNSPEC_IPREFETCH): Define.
2430 (iprefetch): New pattern
2431 * config/microblaze/microblaze.opt
2432 (mxl-prefetch): New flag.
2433
2434 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
2435
2436 * config/microblaze/microblaze.h
2437 (FIXED_REGISTERS): Update in macro.
2438 (CALL_USED_REGISTERS): Update in macro.
2439
2440 2016-01-21 Yuri Rumyantsev <ysrumyan@gmail.com>
2441
2442 PR rtl-optimization/68920
2443 * ifcvt.c (cond_move_process_if_block): Limit number of conditional
2444 moves.
2445
2446 2016-01-21 Vladimir Makarov <vmakarov@redhat.com>
2447
2448 PR rtl-optimization/68990
2449 * lra-coalesce.c (lra_coalesce): Invalidate value for the result
2450 pseudo instead of inheritance ones.
2451
2452 2016-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
2453 Nick Clifton <nickc@redhat.com>
2454
2455 PR target/69129
2456 PR target/69012
2457 * config/mips/mips.c (mips_compute_frame_info): Initialise
2458 args_size and hard_frame_pointer_offset fields of the frame
2459 structure before calling mips_global_pointer.
2460
2461 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
2462
2463 * configure.ac (gcc_cv_as_dwloc): Test support for debug frame section
2464 label reference.
2465 * configure: Regenerate.
2466
2467 2016-01-21 Richard Biener <rguenther@suse.de>
2468
2469 * graphite-optimize-isl.c (get_schedule_map): Fix typo.
2470
2471 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
2472
2473 * config/s390/s390.c (s390_asm_declare_function_size): Add code
2474 to actually emit the .size directive.
2475
2476 2016-01-21 Stefan Sørensen <stefan.sorensen@spectralink.com>
2477 Jakub Jelinek <jakub@redhat.com>
2478
2479 PR target/69187
2480 PR target/65624
2481 * config/arm/arm-builtins.c (arm_expand_neon_builtin): Increase
2482 args array size by one to avoid buffer overflow.
2483
2484 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
2485
2486 * config/s390/s390.md (pool_section_start): Use switch_to_section
2487 to select proper read-only data section instead of hardcoding
2488 .rodata.
2489 (pool_section_end): Use switch_to_section to match the above.
2490
2491 2016-01-21 Richard Biener <rguenther@suse.de>
2492
2493 PR tree-optimization/69378
2494 * tree-ssa-sccvn.c (dominated_by_p_w_unex): New function.
2495 (set_ssa_val_to): Use it for dominance checks taking into
2496 account not executable edges.
2497
2498 2016-01-21 Jakub Jelinek <jakub@redhat.com>
2499
2500 PR c++/69355
2501 * tree-dfa.c (get_ref_base_and_extent): Use GET_MODE_BITSIZE (mode)
2502 for bitsize instead of GET_MODE_PRECISION (mode).
2503
2504 2016-01-20 Martin Sebor <msebor@redhat.com>
2505
2506 PR c/52291
2507 * extend.texi (__sync Builtins): Clarify the semantics of
2508 __sync_fetch_and_OP built-ins on pointers.
2509 (__atomic Builtins): Same.
2510
2511 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2512 Sebastian Pop <s.pop@samsung.com>
2513
2514 * graphite-isl-ast-to-gimple.c (enum phi_node_kind): New.
2515 (class translate_isl_ast_to_gimple): Use phi_node_kind instead of bool.
2516 (is_valid_rename): Same.
2517 (translate_isl_ast_to_gimple::get_rename): Same.
2518 (translate_isl_ast_to_gimple::rename_all_uses): Same.
2519 (translate_isl_ast_to_gimple::rename_uses): Same.
2520 (get_new_name): Check for close_phi nodes.
2521 (copy_loop_phi_args): Use phi_node_kind.
2522 (translate_isl_ast_to_gimple::copy_loop_close_phi_args): Same.
2523 (translate_isl_ast_to_gimple::copy_cond_phi_args): Same.
2524
2525 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2526 Sebastian Pop <s.pop@samsung.com>
2527
2528 Revert commit r229783.
2529 * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
2530 Remove use of parameter_rename_map.
2531 (copy_def): Remove.
2532 (copy_internal_parameters): Remove.
2533 (graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
2534 * sese.c (new_sese_info): Do not initialize parameter_rename_map.
2535 (free_sese_info): Do not free parameter_rename_map.
2536 (set_rename): Do not use parameter_rename_map.
2537 (rename_uses): Update call to set_rename.
2538 (graphite_copy_stmts_from_block): Do not use parameter_rename_map.
2539 * sese.h (parameter_rename_map_t): Remove.
2540 (struct sese_info_t): Remove field parameter_rename_map.
2541
2542 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2543 Sebastian Pop <s.pop@samsung.com>
2544
2545 * graphite-isl-ast-to-gimple.c: Fix comment.
2546 * graphite-scop-detection.c (defined_in_loop_p): New.
2547 (canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
2548 names defined in loop.
2549
2550 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2551 Sebastian Pop <s.pop@samsung.com>
2552
2553 * graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
2554 Discard unstructured if-then-else regions.
2555
2556 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2557 Sebastian Pop <s.pop@samsung.com>
2558
2559 * graphite-sese-to-poly.c (set_scop_parameter_dim): Remove.
2560 (cleanup_loop_iter_dom): Remove.
2561 (build_loop_iteration_domains): Remove.
2562 (build_scop_context): Remove.
2563 (build_scop_iteration_domain): Remove.
2564 (add_loop_constraints): New.
2565 (build_iteration_domains): New.
2566 (build_poly_scop): Call build_iteration_domains.
2567
2568 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2569 Sebastian Pop <s.pop@samsung.com>
2570
2571 * graphite-scop-detection.c
2572 (scop_detection::harmful_loop_in_region): Free dom and loops.
2573 (scop_detection::loop_body_is_valid_scop): Free bbs.
2574
2575 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2576 Sebastian Pop <s.pop@samsung.com>
2577
2578 * graphite-scop-detection.c (record_loop_in_sese): New.
2579 (gather_bbs::before_dom_children): Call record_loop_in_sese.
2580 (build_scops): Remove call to build_sese_loop_nests.
2581 * sese.c (sese_record_loop): Remove.
2582 (build_sese_loop_nests): Remove.
2583 (new_sese_info): Remove region->loops.
2584 (free_sese_info): Same.
2585 * sese.h (sese_contains_loop): Same.
2586 (build_sese_loop_nests): Remove.
2587 (sese_contains_loop): Remove.
2588
2589 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2590 Sebastian Pop <s.pop@samsung.com>
2591
2592 * graphite-scop-detection.c (loop_is_valid_scop): Renamed
2593 loop_is_valid_in_scop.
2594 (scop_detection::harmful_stmt_in_region): Renamed
2595 harmful_loop_in_region.
2596 Call loop_is_valid_in_scop.
2597
2598 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2599 Sebastian Pop <s.pop@samsung.com>
2600
2601 * graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
2602 isl_ast_node_mark.
2603
2604 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2605 Sebastian Pop <s.pop@samsung.com>
2606
2607 * graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
2608 * graphite.h (struct poly_bb): Remove field is_reduction.
2609 (PBB_IS_REDUCTION): Remove.
2610
2611 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2612 Sebastian Pop <s.pop@samsung.com>
2613
2614 * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
2615 (add_pdr_constraints): Same.
2616 (scop_get_reads): Same.
2617 (scop_get_must_writes): Same.
2618 (scop_get_may_writes): Same.
2619 (scop_get_original_schedule): Same.
2620 (extend_schedule): Same.
2621 (apply_schedule_on_deps): Same.
2622 (carries_deps): Same.
2623 (compute_deps): Same.
2624 (scop_get_dependences): Same.
2625 * graphite-isl-ast-to-gimple.c
2626 (translate_isl_ast_to_gimple::generate_isl_schedule): Same.
2627 * graphite-optimize-isl.c (get_schedule_for_band): Same.
2628 (get_schedule_for_band_list): Same.
2629 (get_schedule_map): Same.
2630 (apply_schedule_map_to_scop): Same.
2631 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same.
2632 (build_loop_iteration_domains): Same.
2633 (add_condition_to_pbb): Same.
2634 (add_param_constraints): Same.
2635 (pdr_add_memory_accesses): Same.
2636 (pdr_add_data_dimensions): Same.
2637
2638 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
2639
2640 * doc/invoke.texi (Instrumentation Options): Clarify -mmpx linking
2641 requirements.
2642
2643 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
2644
2645 * common.opt (feliminate-dwarf2-dups): Replace references to
2646 "DWARF 2" with just "DWARF".
2647 * config/ia64/ia64.opt (mdwarf2-asm): Likewise.
2648 * doc/extend.texi: Likewise.
2649 * doc/cpp.texi: Likewise.
2650 * doc/invoke.texi: Likewise.
2651 (Option Summary): Add -gdwarf to list of Debugging Options.
2652 (Debugging Options): Document -gdwarf.
2653 * doc/contrib.texi: Spell "DWARF" like that.
2654
2655 2016-01-21 Jakub Jelinek <jakub@redhat.com>
2656
2657 * omp-low.c (expand_omp_target): Avoid -Wmaybe-uninitialized
2658 warning. Fix up formatting.
2659
2660 PR middle-end/67653
2661 * gimplify.c (gimplify_asm_expr): Warn if it is too late to
2662 attempt to mark memory input operand addressable and
2663 call prepare_gimple_addressable in that case. Don't adjust
2664 input_location for diagnostics, use error_at instead.
2665
2666 2016-01-20 Peter Bergner <bergner@vnet.ibm.com>
2667
2668 * config/rs6000/ppc-auxv.h: New file.
2669 * config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
2670 (cpu_is): Likewise.
2671 (cpu_supports): Likewise.
2672 * config/rs6000/rs6000.c: include "ppc-auxv.h".
2673 (cpu_is_info): New variable.
2674 (cpu_supports_info): Likewise.
2675 (tcb_verification_symbol): Likewise.
2676 (cpu_builtin_p): Likewise.
2677 (cpu_expand_builtin): New function.
2678 (rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
2679 (rs6000_init_builtins): Likewise.
2680 (rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
2681 * config/rs6000/rs6000.h (TLS_REGNUM): New define.
2682 * configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
2683 * configure: Regenerate.
2684 * config.in: Likewise.
2685 * doc/extend.texi (PowerPC Built-in Functions): Document
2686 __builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.
2687
2688 2016-01-20 David Edelsohn <dje.gcc@gmail.com>
2689
2690 PR target/68609
2691 * config/rs6000/rs6000.c (rs6000_emit_swsqrt): Add vector sqrt
2692 domain check.
2693 * config/rs6000/vector.md (sqrt<mode>2): Call rs6000_emit_swsqrt
2694 for V4SFmode.
2695
2696 2016-01-20 Richard Henderson <rth@redhat.com>
2697
2698 PR bootstrap/69343
2699 PR bootstrap/69339
2700 PR tree-opt/68964
2701 Revert:
2702 * tree.c (tm_define_builtin): New.
2703 (find_tm_vector_type): New.
2704 (build_tm_vector_builtins): New.
2705 (build_common_builtin_nodes): Call it.
2706
2707 2016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
2708
2709 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
2710 (arm_fp_ok): Likewise.
2711 (arm_fp): Likewise.
2712 (arm_crypto): Likewise.
2713
2714 2016-01-20 Ilya Enkovich <enkovich.gnu@gmail.com>
2715 Richard Biener <rguenther@suse.de>
2716
2717 PR tree-optimization/69328
2718 * tree-vect-stmts.c (vect_is_simple_cond): Check compared
2719 vectors have same number of elements.
2720 (vectorizable_condition): Fix masked version recognition.
2721
2722 2016-01-20 Richard Biener <rguenther@suse.de>
2723
2724 PR tree-optimization/69345
2725 * tree-ssa-sccvn.h (VN_INFO_RANGE_INFO): New inline function.
2726 (VN_INFO_PTR_INFO): Likewise.
2727 * tree-ssa-sccvn.c (set_ssa_val_to): Avoid clearing points-to
2728 info when it is equal between non-dominating SSA names.
2729 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
2730 Make sure to look at original SSA infos.
2731
2732 2016-01-20 Jeff Law <law@redhat.com>
2733
2734 PR target/25114
2735 * config/m68k/predicates.md (pow2_m1_operand): New predicate
2736 extracted from ...
2737 (reg_or_pow2_m1_operand): Call pow2_m1_operand.
2738 (pc_or_label_operand): New predicate.
2739 * config/m68k/m68k.md: Add new peephole2 patterns for GTU/LEU
2740 tests for small integers that are 2^n - 1.
2741
2742 2016-01-20 Jonathan Wakely <jwakely@redhat.com>
2743
2744 * doc/invoke.texi (Options Summary): Add '.' after @xref.
2745
2746 2016-01-19 Jeff Law <law@redhat.com>
2747
2748 PR middle-end/69347
2749 * tree-ssa-threadbackwards.c
2750 (fsm_find_control_statement_thread_paths): Do not try to lookup
2751 FSM paths for SSA_NAMEs appearing in abnormal PHIs.
2752
2753 2016-01-20 Kugan Vivekanandarajah <kuganv@linaro.org>
2754
2755 * doc/lto.texi: Remove text that says only Gold has linker plugin
2756 support.
2757
2758 2016-01-19 Eric Botcazou <ebotcazou@adacore.com>
2759
2760 * dwarf2out.c (need_endianity_attribute_p): New inline predicate.
2761 (base_type_die): Add REVERSE parameter and attach DW_AT_endianity to
2762 the DIE accordingly.
2763 (modified_type_die): Add REVERSE parameter and pass it recursively,
2764 as well as to base_type_die. Adjust presence check accordingly.
2765 (base_type_for_mode): Adjust call to modified_type_die.
2766 (add_type_attribute): Add REVERSE parameter and pass it to
2767 modified_type_die.
2768 (generic_parameter_die): Adjust call to add_type_attribute.
2769 (add_scalar_info): Likewise.
2770 (add_subscript_info): Likewise.
2771 (gen_array_type_die): Likewise.
2772 (gen_descr_array_type_die): Likewise.
2773 (gen_entry_point_die): Likewise.
2774 (gen_enumeration_type_die): Likewise.
2775 (gen_formal_parameter_die): Likewise.
2776 (gen_subprogram_die): Likewise.
2777 (gen_variable_die ): Likewise.
2778 (gen_const_die): Likewise.
2779 (gen_field_die): Likewise.
2780 (gen_pointer_type_die): Likewise.
2781 (gen_reference_type_die): Likewise.
2782 (gen_ptr_to_mbr_type_die): Likewise.
2783 (gen_inheritance_die): Likewise.
2784 (gen_subroutine_type_die): Likewise.
2785 (gen_typedef_die): Likewise.
2786 (force_type_die): Adjust call to modified_type_die.
2787
2788 2016-01-19 Sandra Loosemore <sandra@codesourcery.com>
2789
2790 * doc/standards.texi: Copy-editing for grammar, markup, and sentence
2791 flow throughout the file. Fix broken link to Objective-C 2.0
2792 documentation.
2793 * doc/invoke.texi: More copy-editing; fix numerous typos and spelling
2794 errors.
2795
2796 2016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
2797
2798 * ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
2799
2800 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
2801
2802 PR ipa/66223
2803 * ipa-devirt.c (is_cxa_pure_virtual_p): New function.
2804 (maybe_record_node): Record cxa_pure_virtual as the only possible
2805 target if there are not ohter candidates.
2806 (possible_polymorphic_call_target_p): Accept cxa_pure_virtual.
2807
2808 2016-01-19 Richard Biener <rguenther@suse.de>
2809
2810 * hsa-gen.c (get_memory_order_name): Use MEMMODEL_ constants.
2811 (get_memory_order): Likewise.
2812
2813 2016-01-19 Kirill Yukhin <kirill.yukhin@intel.com>
2814
2815 * tree-vect-stmts.c (vectorizable_store): Check
2816 rhs vectype.
2817
2818 2016-01-19 David Malcolm <dmalcolm@redhat.com>
2819
2820 PR jit/68446
2821 * gcc.c (driver::decode_argv): Add call to
2822 init_opts_obstack before init_options_struct.
2823 * opts.c (init_opts_obstack): Remove idempotency.
2824 (init_options_struct): Replace call to init_opts_obstack
2825 with a gcc_assert to verify that it has already been called.
2826 * toplev.c (toplev::main): Add call to init_opts_obstack before
2827 calls to init_options_struct.
2828 (toplev::finalize): Move cleanup of opts_obstack next to
2829 cleanup of save_decoded_options, clearing the latter, and
2830 save_decoded_options_count.
2831
2832 2016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2833
2834 PR target/69135
2835 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): Set "conds"
2836 attribute to unconditional. Remove %? from output template.
2837
2838 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
2839 Jiong Wang <jiong.wang@arm.com>
2840
2841 * ccmp.c (expand_ccmp_expr_1): Cost the instruction sequences
2842 generated from different expand order.
2843
2844 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
2845
2846 * /config/aarch64/aarch64.c (aarch64_if_then_else_costs):
2847 Add support for CCMP costing.
2848
2849 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
2850
2851 * ccmp.c (ccmp_candidate_p): Remove integer-only restriction.
2852 * config/aarch64/aarch64.md (fccmp<mode>): New pattern.
2853 (fccmpe<mode>): Likewise.
2854 (fcmp): Rename to fcmp and globalize pattern.
2855 (fcmpe): Likewise.
2856 * config/aarch64/aarch64.c (aarch64_gen_ccmp_first): Add FP support.
2857 (aarch64_gen_ccmp_next): Add FP support.
2858
2859 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
2860
2861 * target.def (gen_ccmp_first): Update documentation.
2862 (gen_ccmp_next): Likewise.
2863 * doc/tm.texi (gen_ccmp_first): Update documentation.
2864 (gen_ccmp_next): Likewise.
2865 * ccmp.c (expand_ccmp_expr): Extract cmp_code from return value of
2866 expand_ccmp_expr_1. Improve comments.
2867 * config/aarch64/aarch64.md (ccmp_and): Use if_then_else for ccmp.
2868 (ccmp_ior<mode>): Remove pattern.
2869 (cmp<mode>): Remove expand.
2870 (cmp): Globalize pattern.
2871 (cstorecc4): Use cc_register.
2872 (mov<mode>cc): Remove ccmp_cc_register check.
2873 * config/aarch64/aarch64.c (aarch64_get_condition_code_1):
2874 Simplify after removal of CC_DNE/* modes.
2875 (aarch64_ccmp_mode_to_code): Remove.
2876 (aarch64_print_operand): Remove 'K' case. Merge 'm' and 'M' cases.
2877 In 'k' case use integer as condition.
2878 (aarch64_nzcv_codes): Remove inverted cases.
2879 (aarch64_code_to_ccmode): Remove.
2880 (aarch64_gen_ccmp_first): Use cmp pattern directly. Return the correct
2881 comparison with CC register to be used in folowing CCMP/branch/CSEL.
2882 (aarch64_gen_ccmp_next): Use previous comparison and mode in CCMP
2883 pattern. Return the comparison with CC register. Invert conditions
2884 when bitcode is OR.
2885 * config/aarch64/aarch64-modes.def: Remove CC_DNE/* modes.
2886 * config/aarch64/predicates.md (ccmp_cc_register): Remove.
2887
2888 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
2889
2890 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
2891 instrumented_version.
2892
2893 2016-01-19 Richard Biener <rguenther@suse.de>
2894
2895 PR tree-optimization/69336
2896 * tree-ssa-scopedtables.c (avail_expr_hash): Handle all
2897 handled components with get_ref_base_and_extent.
2898 (equal_mem_array_ref_p): Adjust.
2899
2900 2016-01-19 Jakub Jelinek <jakub@redhat.com>
2901
2902 PR debug/65779
2903 * shrink-wrap.c: Include valtrack.h.
2904 (move_insn_for_shrink_wrap): Add DEBUG argument. If
2905 MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
2906 in between insn and where it will be moved to. Call
2907 dead_debug_insert_temp.
2908 (prepare_shrink_wrap): Adjust caller. Call dead_debug_local_init
2909 first and dead_debug_local_finish at the end.
2910 For uses and defs bitmap, handle all regs in between REGNO and
2911 END_REGNO, not just the first one.
2912
2913 2016-01-19 Richard Biener <rguenther@suse.de>
2914
2915 PR tree-optimization/69352
2916 * tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1.
2917 (equal_mem_array_ref_p): Constrain size and max size properly.
2918 Compare the reverse flag.
2919
2920 2016-01-19 Bernd Schmidt <bschmidt@redhat.com>
2921
2922 * ira.c (ira): Update regstat data if we deleted insns.
2923
2924 2016-01-19 Jakub Jelinek <jakub@redhat.com>
2925
2926 PR rtl-optimization/68955
2927 PR rtl-optimization/64557
2928 * dse.c (record_store, check_mem_read_rtx): Don't call get_addr
2929 here. Fix up formatting.
2930 * alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.
2931
2932 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
2933
2934 PR lto/69133
2935 * cgraphunit.c (cgraph_node::expand_thunk): When forcing gimple
2936 assume that the node has body.
2937 * cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
2938 check.
2939
2940 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
2941
2942 * lto-streamer-out.c (lto_output): Do not stream instrumentation
2943 thunks.
2944
2945 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
2946
2947 * symtab.c (symtab_node::asm_name): Do not call printable name directly.
2948 (symtab_node::name): Report name as unnamed if DECL_NAME is not set.
2949
2950 2016-01-19 Martin Jambor <mjambor@suse.cz>
2951 Martin Liska <mliska@suse.cz>
2952 Michael Matz <matz@suse.de>
2953
2954 * Makefile.in (OBJS): Add new source files.
2955 (GTFILES): Add hsa.c.
2956 * common.opt (disable_hsa): New variable.
2957 (-Whsa): New warning.
2958 * config.in (ENABLE_HSA): New.
2959 * configure.ac: Treat hsa differently from other accelerators.
2960 (OFFLOAD_TARGETS): Define ENABLE_OFFLOADING according to
2961 $enable_offloading.
2962 (ENABLE_HSA): Define ENABLE_HSA according to $enable_hsa.
2963 * doc/install.texi (Configuration): Document --with-hsa-runtime,
2964 --with-hsa-runtime-include, --with-hsa-runtime-lib and
2965 --with-hsa-kmt-lib.
2966 * doc/invoke.texi (-Whsa): Document.
2967 (hsa-gen-debug-stores): Likewise.
2968 * lto-wrapper.c (compile_images_for_offload_targets): Do not attempt
2969 to invoke offload compiler for hsa acclerator.
2970 * opts.c (common_handle_option): Determine whether HSA offloading
2971 should be performed.
2972 * params.def (PARAM_HSA_GEN_DEBUG_STORES): New parameter.
2973 * builtin-types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
2974 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
2975 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
2976 * gimple-low.c (lower_stmt): Also handle GIMPLE_OMP_GRID_BODY.
2977 * gimple-pretty-print.c (dump_gimple_omp_for): Also handle
2978 GF_OMP_FOR_KIND_GRID_LOOP.
2979 (dump_gimple_omp_block): Also handle GIMPLE_OMP_GRID_BODY.
2980 (pp_gimple_stmt_1): Likewise.
2981 * gimple-walk.c (walk_gimple_stmt): Likewise.
2982 * gimple.c (gimple_build_omp_grid_body): New function.
2983 (gimple_copy): Also handle GIMPLE_OMP_GRID_BODY.
2984 * gimple.def (GIMPLE_OMP_GRID_BODY): New.
2985 * gimple.h (enum gf_mask): Added GF_OMP_PARALLEL_GRID_PHONY,
2986 GF_OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY and
2987 GF_OMP_TEAMS_GRID_PHONY.
2988 (gimple_statement_omp_single_layout): Updated comments.
2989 (gimple_build_omp_grid_body): New function.
2990 (gimple_has_substatements): Also handle GIMPLE_OMP_GRID_BODY.
2991 (gimple_omp_for_grid_phony): New function.
2992 (gimple_omp_for_set_grid_phony): Likewise.
2993 (gimple_omp_parallel_grid_phony): Likewise.
2994 (gimple_omp_parallel_set_grid_phony): Likewise.
2995 (gimple_omp_teams_grid_phony): Likewise.
2996 (gimple_omp_teams_set_grid_phony): Likewise.
2997 (gimple_return_set_retbnd): Also handle GIMPLE_OMP_GRID_BODY.
2998 * omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): New.
2999 (BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
3000 (BUILT_IN_GOMP_TARGET): Updated type.
3001 * omp-low.c: Include symbol-summary.h, hsa.h and params.h.
3002 (adjust_for_condition): New function.
3003 (get_omp_for_step_from_incr): Likewise.
3004 (extract_omp_for_data): Moved parts to adjust_for_condition and
3005 get_omp_for_step_from_incr.
3006 (build_outer_var_ref): Handle GIMPLE_OMP_GRID_BODY.
3007 (fixup_child_record_type): Bail out if receiver_decl is NULL.
3008 (scan_sharing_clauses): Handle OMP_CLAUSE__GRIDDIM_.
3009 (scan_omp_parallel): Do not create child functions for phony
3010 constructs.
3011 (check_omp_nesting_restrictions): Handle GIMPLE_OMP_GRID_BODY.
3012 (scan_omp_1_op): Checking assert we are not remapping to
3013 ERROR_MARK. Also also handle GIMPLE_OMP_GRID_BODY.
3014 (parallel_needs_hsa_kernel_p): New function.
3015 (expand_parallel_call): Register apprpriate parallel child
3016 functions as HSA kernels.
3017 (grid_launch_attributes_trees): New type.
3018 (grid_attr_trees): New variable.
3019 (grid_create_kernel_launch_attr_types): New function.
3020 (grid_insert_store_range_dim): Likewise.
3021 (grid_get_kernel_launch_attributes): Likewise.
3022 (get_target_argument_identifier_1): Likewise.
3023 (get_target_argument_identifier): Likewise.
3024 (get_target_argument_value): Likewise.
3025 (push_target_argument_according_to_value): Likewise.
3026 (get_target_arguments): Likewise.
3027 (expand_omp_target): Call get_target_arguments instead of looking
3028 up for teams and thread limit.
3029 (grid_expand_omp_for_loop): New function.
3030 (grid_arg_decl_map): New type.
3031 (grid_remap_kernel_arg_accesses): New function.
3032 (grid_expand_target_kernel_body): New function.
3033 (expand_omp): Call it.
3034 (lower_omp_for): Do not emit phony constructs.
3035 (lower_omp_taskreg): Do not emit phony constructs but create for them
3036 a temporary variable receiver_decl.
3037 (lower_omp_taskreg): Do not emit phony constructs.
3038 (lower_omp_teams): Likewise.
3039 (lower_omp_grid_body): New function.
3040 (lower_omp_1): Call it.
3041 (grid_reg_assignment_to_local_var_p): New function.
3042 (grid_seq_only_contains_local_assignments): Likewise.
3043 (grid_find_single_omp_among_assignments_1): Likewise.
3044 (grid_find_single_omp_among_assignments): Likewise.
3045 (grid_find_ungridifiable_statement): Likewise.
3046 (grid_target_follows_gridifiable_pattern): Likewise.
3047 (grid_remap_prebody_decls): Likewise.
3048 (grid_copy_leading_local_assignments): Likewise.
3049 (grid_process_kernel_body_copy): Likewise.
3050 (grid_attempt_target_gridification): Likewise.
3051 (grid_gridify_all_targets_stmt): Likewise.
3052 (grid_gridify_all_targets): Likewise.
3053 (execute_lower_omp): Call grid_gridify_all_targets.
3054 (make_gimple_omp_edges): Handle GIMPLE_OMP_GRID_BODY.
3055 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__GRIDDIM_.
3056 (tree_omp_clause): Added union field dimension.
3057 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE__GRIDDIM_.
3058 * tree.c (omp_clause_num_ops): Added number of arguments of
3059 OMP_CLAUSE__GRIDDIM_.
3060 (omp_clause_code_name): Added name of OMP_CLAUSE__GRIDDIM_.
3061 (walk_tree_1): Handle OMP_CLAUSE__GRIDDIM_.
3062 * tree.h (OMP_CLAUSE_GRIDDIM_DIMENSION): New.
3063 (OMP_CLAUSE_SET_GRIDDIM_DIMENSION): Likewise.
3064 (OMP_CLAUSE_GRIDDIM_SIZE): Likewise.
3065 (OMP_CLAUSE_GRIDDIM_GROUP): Likewise.
3066 * passes.def: Schedule pass_ipa_hsa and pass_gen_hsail.
3067 * tree-pass.h (make_pass_gen_hsail): Declare.
3068 (make_pass_ipa_hsa): Likewise.
3069 * ipa-hsa.c: New file.
3070 * lto-section-in.c (lto_section_name): Add hsa section name.
3071 * lto-streamer.h (lto_section_type): Add hsa section.
3072 * timevar.def (TV_IPA_HSA): New.
3073 * hsa-brig-format.h: New file.
3074 * hsa-brig.c: New file.
3075 * hsa-dump.c: Likewise.
3076 * hsa-gen.c: Likewise.
3077 * hsa.c: Likewise.
3078 * hsa.h: Likewise.
3079 * toplev.c (compile_file): Call hsa_output_brig.
3080 * hsa-regalloc.c: New file.
3081
3082 2016-01-18 Jeff Law <law@redhat.com>
3083
3084 PR tree-optimization/69320
3085 * tree-ssa-dom.c (record_edge_info): For comparisons against a boolean
3086 ranged object, do nothing if the RHS constant is not [0..1].
3087 (optimize_stmt): Comparing a boolean ranged object against a
3088 constant outside [0..1] results in a compile-time constant.
3089
3090 * tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary
3091 test.
3092
3093 2016-01-18 Sandra Loosemore <sandra@codesourcery.com>
3094
3095 * doc/invoke.texi (Invoking GCC): Add new section to menu.
3096 (Option Summary): Update to reflect new section and moved options.
3097 (C++ Dialect Options): Move -fstats to new section.
3098 (Debugging Options): Move all dump, statistics, and other GCC
3099 developer options to new section. Rewrite section introduction
3100 and re-order remaining options to put the more basic ones first.
3101 (Optimization Options): Move -fira-verbose and -flto-report* to
3102 new section.
3103 (Developer Options): New section incorporating moved options.
3104 * doc/cppopts.texi (-dM): Update cross-reference.
3105
3106 2016-01-18 Richard Henderson <rth@redhat.com>
3107
3108 PR target/69176
3109 * config/aarch64/aarch64.md (add<GPI>3): Move long immediate
3110 operands to pseudo only if CSE is expected. Split long immediate
3111 operands only after reload, and for the stack pointer.
3112 (*add<GPI>3_pluslong): Remove.
3113 (*addsi3_aarch64, *adddi3_aarch64): Merge into...
3114 (*add<GPI>3_aarch64): ... here. Add r/rk/Upl alternative.
3115 (*addsi3_aarch64_uxtw): Add r/rk/Upl alternative.
3116 (*add<GPI>3 peepholes): New.
3117 (*add<GPI>3 splitters): New.
3118 * config/aarch64/constraints.md (Upl): New.
3119 * config/aarch64/predicates.md (aarch64_pluslong_strict_immedate): New.
3120
3121 2016-01-18 Richard Biener <rguenther@suse.de>
3122
3123 PR tree-optimization/69297
3124 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Count each scalar
3125 stmt at most once.
3126 (vect_bb_vectorization_profitable_p): Clear visited flag again.
3127
3128 2016-01-18 Yuri Rumyantsev <ysrumyan@gmail.com>
3129
3130 PR middle-end/68542
3131 * fold-const.c (fold_binary_op_with_conditional_arg): Bail out for case
3132 of mixind vector and scalar types.
3133 (fold_relational_const): Add handling of vector
3134 comparison with boolean result.
3135 * tree-cfg.c (verify_gimple_comparison): Add argument CODE, allow
3136 comparison of vector operands with boolean result for EQ/NE only.
3137 (verify_gimple_assign_binary): Adjust call for verify_gimple_comparison.
3138 (verify_gimple_cond): Likewise.
3139 * tree-vrp.c (extract_code_and_val_from_cond_with_ops): Modify check on
3140 valid type of VAL.
3141
3142 2016-01-18 Joseph Myers <joseph@codesourcery.com>
3143
3144 * config/mips/mips.h (ISA_HAS_PAIRED_SINGLE): Require
3145 !TARGET_OCTEON.
3146
3147 2016-01-18 Richard Biener <rguenther@suse.de>
3148
3149 PR middle-end/69308
3150 * gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
3151
3152 2016-01-18 Tom de Vries <tom@codesourcery.com>
3153
3154 * passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
3155
3156 2016-01-18 Tom de Vries <tom@codesourcery.com>
3157
3158 * omp-low.c (set_oacc_fn_attrib): Make extern.
3159 * omp-low.h (set_oacc_fn_attrib): Declare.
3160 * tree-parloops.c (struct reduction_info): Add reduc_addr field.
3161 (create_call_for_reduction_1): Handle case that reduc_addr is non-NULL.
3162 (create_parallel_loop, gen_parallel_loop, try_create_reduction_list):
3163 Add and handle function parameter oacc_kernels_p.
3164 (find_reduc_addr, get_omp_data_i_param): New function.
3165 (ref_conflicts_with_region, oacc_entry_exit_ok_1)
3166 (oacc_entry_exit_single_gang, oacc_entry_exit_ok): New function.
3167 (parallelize_loops): Add and handle function parameter oacc_kernels_p.
3168 Calculate dominance info. Skip loops that are not in a kernels region
3169 in oacc_kernels_p mode. Skip inner loops of parallelized loops.
3170 (pass_parallelize_loops::execute): Call parallelize_loops with
3171 oacc_kernels_p argument.
3172 (pass_parallelize_loops::clone, pass_parallelize_loops::set_pass_param):
3173 New member function.
3174 (pass_parallelize_loops::bool oacc_kernels_p): New member var.
3175 * passes.def: Add argument to pass_parallelize_loops instantation.
3176
3177 2016-01-18 Tom de Vries <tom@codesourcery.com>
3178
3179 * tree-parloops.c (pass_parallelize_loops::execute): Allow
3180 pass_parallelize_loops to be run outside the loop pipeline.
3181
3182 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
3183
3184 * tree-scalar-evolution.c (follow_copies_to_constant): New.
3185 (analyze_initial_condition, analyze_scalar_evolution_1): Call previous.
3186
3187 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
3188
3189 PR target/63679
3190 * tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
3191 using get_ref_base_and_extent.
3192 (equal_mem_array_ref_p): New.
3193 (hashable_expr_equal_p): Add call to previous.
3194
3195 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
3196
3197 PR target/63679
3198 * tree-sra.c (disqualified_constants, constant_decl_p): New.
3199 (sra_initialize): Allocate disqualified_constants.
3200 (sra_deinitialize): Free disqualified_constants.
3201 (disqualify_candidate): Update disqualified_constants when appropriate.
3202 (create_access): Scan for constant-pool entries as we go along.
3203 (scalarizable_type_p): Add check against type_contains_placeholder_p.
3204 (maybe_add_sra_candidate): Allow constant-pool entries.
3205 (load_assign_lhs_subreplacements): Bind debug for constant pool vars.
3206 (initialize_constant_pool_replacements): New.
3207 (sra_modify_assign): Avoid mangling assignments created by previous,
3208 and don't generate writes into constant pool.
3209 (sra_modify_function_body): Call initialize_constant_pool_replacements.
3210
3211 2016-01-18 Ilya Enkovich <enkovich.gnu@gmail.com>
3212
3213 * config/i386/i386.c (scalar_to_vector_candidate_p): Support
3214 andnot instruction.
3215 (scalar_chain::convert_op): Likewise.
3216 * config/i386/i386.md (*andndi3_doubleword): New.
3217
3218 2016-01-18 Richard Biener <rguenther@suse.de>
3219
3220 PR tree-optimization/69170
3221 * tree-vect-slp.c (vect_build_slp_tree): Verify we are not
3222 building a vector from scalar results of a pattern stmt.
3223
3224 2016-01-18 Jakub Jelinek <jakub@redhat.com>
3225
3226 * haifa-sched.c (autopref_multipass_init): Work around
3227 -Wmaybe-uninitialized warning.
3228
3229 2016-01-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3230
3231 * config/arm/arm.c (thumb1_reorg): Check that the comparison is
3232 against the constant 0.
3233
3234 2016-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3235
3236 PR tree-optimization/68799
3237 * gimple-ssa-strength-reduction.c (create_phi_basis): Directly
3238 look up phi candidates in the statement-candidate map.
3239 (phi_add_costs): Likewise.
3240 (record_phi_increments): Likewise.
3241 (phi_incr_cost): Likewise.
3242 (ncd_with_phi): Likewise.
3243 (all_phi_incrs_profitable): Likewise.
3244
3245 2016-01-17 Jakub Jelinek <jakub@redhat.com>
3246
3247 * omp-low.c (mark_loops_in_oacc_kernels_region): Work around
3248 -Wmaybe-uninitialized warning.
3249
3250 2016-01-16 Sandra Loosemore <sandra@codesourcery.com>
3251
3252 * doc/invoke.texi (Invoking GCC): Add new section to menu.
3253 (Option Summary): Update to reflect new section and moved options.
3254 (C++ Dialect Options): Move -fvtable-verify and related options.
3255 (Debugging Options): Move Sanitizer, Pointer Bounds Checker,
3256 and profiling-related options.
3257 (Optimization Options): Move profile generation options and
3258 -fstack-protector and related options.
3259 (Instrumentation Options): New section incorporating moved options.
3260 (Code Generation Options): Move -finstrument-functions and
3261 related options, -fstack-check, -fstack-limit*, and -fbounds-check.
3262
3263 2016-01-16 Tom de Vries <tom@codesourcery.com>
3264
3265 * passes.def: Move pass_expand_omp_ssa out of pass_parallelize_loops.
3266
3267 2016-01-16 Tom de Vries <tom@codesourcery.com>
3268
3269 * omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
3270
3271 2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
3272
3273 * hash-table.h (hash_table::empty): Turn into an inline wrapper
3274 that checks whether the table is already empty. Rename the
3275 original implementation to...
3276 (hash_table::empty_slot): ...this new private function.
3277
3278 2016-01-15 David Malcolm <dmalcolm@redhat.com>
3279
3280 PR diagnostic/68899
3281 * diagnostic-show-locus.c (layout::print_source_line): Move x
3282 offset of line until after call to
3283 get_line_width_without_trailing_whitespace.
3284
3285 2016-01-15 Jeff Law <law@redhat.com>
3286
3287 PR tree-optimization/69270
3288 * tree-ssanames.c (ssa_name_has_boolean_range): Moved here from
3289 tree-ssa-dom.c. Improve test for [0..1] ranve from VRP.
3290 * tree-ssa-dom.c (ssa_name_has_boolean_range): Remove.
3291 * tree-ssanames.h (ssa_name_has_boolean_range): Prototype.
3292 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
3293 ssa_name_has_boolean_range and constant_boolean_node.
3294
3295 2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
3296
3297 PR rtl-optimization/69030
3298 * lra-spills.c (remove_pseudos): Check nrefs and make the function
3299 returning bool.
3300 (spill_pseudos): Delete debug insn for dead pseudo.
3301 (lra_spill): Initiate spill_hard_reg and slots memory separately.
3302
3303 2016-01-15 Jiong Wang <jiong.wang@arm.com>
3304
3305 * config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
3306 New.
3307 (TYPES_UNOPUS): Likewise.
3308 * config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
3309 builtin type, from UNOP to UNOPUS.
3310 (lbtruncuv4sf): Likewise.
3311 (lbtruncuv2df): Likewise.
3312 (lrounduv2sf): Likewise.
3313 (lrounduv4sf): Likewise.
3314 (lrounduv2df): Likewise.
3315 (lroundusf): Likewise.
3316 (lroundusf): Likewise.
3317 (lceiluv2sf): Likewise.
3318 (lceiluv4sf): Likewise.
3319 (lceiluv2df): Likewise.
3320 (lceilusf): Likewise.
3321 (lceiludf): Likewise.
3322 (lflooruv2sf): Likewise.
3323 (lflooruv4sf): Likewise.
3324 (lflooruv2df): Likewise.
3325 (lfloorusf): Likewise.
3326 (lfloorudf): Likewise.
3327 (lfrintnuv2sf): Likewise.
3328 (lfrintnuv4sf): Likewise.
3329 (lfrintnuv2df): Likewise.
3330 (lfrintnusf): Likewise.
3331 (lfrintnudf): Likewise.
3332 * config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
3333 conversion.
3334 (vcvtq_u32_f32): Likewise.
3335 (vcvtq_u64_f64): Likewise.
3336 (vcvta_u32_f32): Likewise.
3337 (vcvtaq_u32_f32): Likewise.
3338 (vcvtaq_u64_f64): Likewise.
3339 (vcvtm_u32_f32): Likewise.
3340 (vcvtmq_u32_f32): Likewise.
3341 (vcvtmq_u64_f64): Likewise.
3342 (vcvtn_u32_f32): Likwise.
3343 (vcvtnq_u32_f32): Likewise.
3344 (vcvtnq_u64_f64): Likewise.
3345 (vcvtp_u32_f32): Likewise.
3346 (vcvtpq_u32_f32): Likewise.
3347 (vcvtpq_u64_f64): Likewise.
3348 (vcvtmd_u64_f64): Likewise.
3349 (vcvtms_u32_f32): Likewise.
3350 (vcvtad_u64_f64): Likewise.
3351 (vcvtas_u32_f32): Likewise.
3352 (vcvtnd_u64_f64): Likewise.
3353 (vcvtns_u32_f32): Likewise.
3354 (vcvtpd_u64_f64): Likewise.
3355 (vcvtps_u32_f32): Likewise.
3356
3357 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3358
3359 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
3360 CSEL of zero_extended registers.
3361
3362 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3363
3364 * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
3365 Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
3366
3367 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3368
3369 * config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
3370 false when argument string is not found in the attributes table
3371 at all.
3372
3373 2016-01-15 David Edelsohn <dje.gcc@gmail.com>
3374
3375 PR target/68609
3376 * config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
3377 (rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
3378 * config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
3379 precision estimate.
3380
3381 2016-01-15 Richard Biener <rguenther@suse.de>
3382
3383 PR tree-optimization/66856
3384 * tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
3385 * tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
3386 (vect_create_new_slp_node): Increment stmt reference count.
3387 (vect_get_and_check_slp_defs): Make sure stmts are nor already in
3388 an SLP tree before swapping operands.
3389 (vect_build_slp_tree): Likewise.
3390 (destroy_bb_vec_info): Free stmt info after SLP instances.
3391 * tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
3392 * tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
3393 (STMT_VINFO_NUM_SLP_USES): New macro.
3394
3395 2016-01-15 Richard Biener <rguenther@suse.de>
3396
3397 PR debug/69137
3398 * dwarf2out.c (add_linkage_name_raw): New function split out from ...
3399 (add_linkage_name): ... here.
3400 (gen_typedef_die): Use add_linkage_name_raw instead of
3401 add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
3402 if necessary.
3403
3404 2016-01-15 Cesar Philippidis <cesar@codesourcery.com>
3405
3406 * gimplify.c (oacc_default_clause): Decode reference and pointer
3407 types for both kernels and parallel regions.
3408
3409 2016-01-15 Richard Sandiford <richard.sandiford@arm.com>
3410
3411 PR middle-end/69246
3412 * calls.c (emit_call_1): Force n_popped to zero for sibcalls.
3413
3414 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
3415
3416 * config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
3417 (convert_scalars_to_vector): Likewise.
3418
3419 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
3420
3421 * doc/extend.texi (Type Traits): Fix grammar.
3422
3423 2016-01-15 Martin Jambor <mjambor@suse.cz>
3424
3425 * tree-inline.c (remap_decl): Use existing dclarations if
3426 remapping a type and prevent_decl_creation_for_types.
3427 (replace_locals_stmt): Do an initial remapping of non-VLA typed
3428 decls first. Do real remapping with
3429 prevent_decl_creation_for_types set.
3430 * tree-inline.h (copy_body_data): New field
3431 prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
3432 padding.
3433
3434 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
3435
3436 * config/s390/s390.opt (mmvcle): More verbose help text.
3437
3438 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
3439
3440 * config/s390/s390.opt: Add period to -mzvector option text.
3441
3442 2016-01-15 Richard Biener <rguenther@suse.de>
3443
3444 PR tree-optimization/68961
3445 * tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
3446 of invariants in stores again.
3447
3448 2016-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
3449
3450 * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
3451
3452 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
3453
3454 * config/i386/i386.c (ix86_expand_branch): Don't split
3455 DI mode xor instruction to SI mode.
3456
3457 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
3458
3459 PR ipa/68148
3460 * ipa-icf.c (sem_function::merge): Virtual functions may become
3461 reachable even if they address is not taken and there are no
3462 idrect calls.
3463
3464 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
3465
3466 * lto-streamer-out.c (subtract_estimated_size): New function.
3467 (get_symbol_initial_value): Use it.
3468
3469 2016-01-15 Christian Bruel <christian.bruel@st.com>
3470
3471 PR target/65837
3472 * config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
3473 (arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
3474 (arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
3475 use add_builtin_function_ext_scope instead of add_builtin_function.
3476 (neon_set_p, neon_crypto_set_p): Remove.
3477 (arm_init_builtins): Always call arm_init_neon_builtins and
3478 arm_init_crypto_builtins.
3479 (arm_expand_builtin): Check that builtins are allowed for the arch.
3480 * config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
3481 * config/arm/arm.c (arm_valid_target_attribute_tree): Remove
3482 arm_init_neon_builtins call.
3483
3484 2016-01-15 Richard Biener <rguenther@suse.de>
3485
3486 PR tree-optimization/69117
3487 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
3488 * tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
3489 of the leader conservatively.
3490 (free_scc_vn): Restore original SSA name infos.
3491
3492 2016-01-14 Jeff Law <law@redhat.com>
3493
3494 PR tree-optimization/69270
3495 * tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
3496 single bit of precision, verify it's also unsigned.
3497 (record_edge_info): Use constant_boolean_node rather than fold_convert
3498 to convert boolean_true/boolean_false to the right type.
3499
3500 2016-01-14 Richard Henderson <rth@redhat.com>
3501
3502 PR rtl-opt/69014
3503 * loop-doloop.c (record_reg_sets): New.
3504 (doloop_optimize): Reject the transform if the sequence
3505 clobbers registers live at the end of the loop block.
3506 (doloop_optimize_loops): Enable df_live if needed.
3507
3508 2016-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
3509
3510 * config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
3511 * gcc/config/rs6000/rs6000.c: Likewise.
3512 * gcc/config/rs6000/rs6000.h: Likewise.
3513 * gcc/config/rs6000/rs6000.md: Likewise.
3514 * gcc/doc/extend.texi: Likewsie.
3515
3516 2016-01-14 Jeff Law <law@redhat.com>
3517
3518 * tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
3519 typo.
3520
3521 2016-01-14 Richard Henderson <rth@redhat.com>
3522
3523 PR c/69272
3524 PR tree-opt/68964
3525 * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
3526 * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
3527 instead of builtin_decl_declared_p to test for declaration.
3528
3529 2016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
3530
3531 * doc/loop.texi (Loop Analysis and Representation): Document
3532 loop_depth function.
3533
3534 2016-01-14 Tom de Vries <tom@codesourcery.com>
3535
3536 PR tree-optimization/68773
3537 * omp-low.c (expand_omp_target): Don't set force_output.
3538 * varpool.c (varpool_node::get_create): Same.
3539 * lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
3540 offload_funcs with force_output.
3541
3542 2016-01-14 Jakub Jelinek <jakub@redhat.com>
3543
3544 PR debug/69244
3545 * lra-eliminations.c (move_plus_up): Don't change anything if either
3546 the outer or inner subreg mode is not MODE_INT.
3547 * dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
3548 integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
3549
3550 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
3551
3552 * doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
3553 reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
3554 reduc_uplus_@var{m}): Remove.
3555 * expr.c (expand_expr_real_2): Remove expansion path for
3556 reduc_[us](min|max|plus) optabs.
3557 * optabs-tree.c (scalar_reduc_to_vector): Remove.
3558 * optabs-tree.h (scalar_reduc_to_vector): Remove.
3559 * optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
3560 reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
3561 * tree-vect-loop.c (vectorizable_reduction): Remove test for
3562 reduc_[us](min|max|plus) optabs.
3563
3564 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
3565
3566 * config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
3567 (reduc_plus_scal_v2sf): New.
3568 (reduc_smax_v2sf): Rename to...
3569 (reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
3570 (reduc_smin_v2sf): Rename to...
3571 (reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
3572
3573 2016-01-14 Jan Hubicka <hubicka@ucw.cz>
3574
3575 * alias.c (compare_base_symbol_refs): New function.
3576 (rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
3577 it.
3578
3579 2016-01-14 Jakub Jelinek <jakub@redhat.com>
3580
3581 PR middle-end/68146
3582 PR tree-optimization/69155
3583 * tree-complex.c: Include cfganal.h.
3584 (phis_to_revisit): New variable.
3585 (extract_component): Add phiarg_p argument. Assert that returned
3586 SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
3587 (update_phi_components): Partly rewrite to use loop over real/imag
3588 components instead of code duplication. If extract_component returns
3589 SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
3590 create_tmp_reg into the PHI node instead, and mention the phi triplet
3591 in phis_to_revisit.
3592 (tree_lower_complex): Walk bbs in rpo order. Adjust phis recorded
3593 in phis_to_revisit at the end.
3594
3595 2016-01-14 Richard Biener <rguenther@suse.de>
3596
3597 PR tree-optimization/68060
3598 * tree-vect-loop.c (vect_is_simple_reduction): Check the
3599 outer loop reduction is only used in the inner loop before
3600 detecting a double reduction.
3601
3602 2016-01-14 Jakub Jelinek <jakub@redhat.com>
3603
3604 PR target/68269
3605 * combine.c (expand_field_assignment): Punt if compute_mode is
3606 unsupported scalar mode.
3607
3608 2016-01-14 Richard Biener <rguenther@suse.de>
3609
3610 PR tree-optimization/66856
3611 * tree-vect-slp.c (vect_build_slp_tree): Refactor to build
3612 SLP node only if it built successfully.
3613 (vect_analyze_slp_instance): Adjust.
3614
3615 2016-01-14 Jeff Law <law@redhat.com>
3616
3617 PR tree-optimization/69270
3618 * tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
3619 (record_edge_info): Use it. Convert boolean_{true,false}_node
3620 to the type of op0.
3621
3622 2016-01-13 Jan Hubicka <hubicka@ucw.cz>
3623
3624 PR ipa/66487
3625 * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
3626 use block_ultimate_origin
3627 (noncall-stmt_may_be_vtbl_ptr_store): Likewise.
3628
3629 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
3630
3631 * doc/invoke.texi (Submodel Options): Rename section to
3632 "Machine-Dependent Options" to better reflect its content.
3633 Rewrite introductory text to remove archaic CPU names.
3634 Update references.
3635
3636 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
3637
3638 * doc/invoke.texi (Code Gen Options): Move section up in file,
3639 before target-specific options. Update menu and option summary
3640 to reflect the new section ordering.
3641
3642 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
3643
3644 * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
3645 (C++ Dialect Options): Add cross-reference to -std option.
3646 * doc/standards.texi (C++ Language): Document C++14 support.
3647
3648 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
3649
3650 * config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
3651 for pack/unpack functions for __ibm128.
3652 (PACK_IF): Likewise.
3653 (UNPACK_IF): Likewise.
3654
3655 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
3656 support for __ibm128 pack/unpack functions.
3657 (rs6000_invalid_builtin): Likewise.
3658 (rs6000_init_builtins): Likewise.
3659 (rs6000_opt_masks): Likewise.
3660
3661 * config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
3662 (RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
3663 functions
3664 (RS6000_BTM_COMMON): Likewise.
3665
3666 * config/rs6000/rs6000.md (f128_vsx): New mode attribute.
3667 (unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
3668 disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
3669 128-bit floating point. Add support for the double values to be
3670 in Altivec registers for TF/IF packing and unpacking, but restrict
3671 TD packing sub-fields to be FPR registers. Don't allow overlapped
3672 register support for packing. Allow pack inputs to be memory
3673 locations. Don't build generator functions for unpack<mode>_dm
3674 and unpack<mode>_nodm.
3675 (unpack<mode>_dm): Likewise.
3676 (unpack<mode>_nodm): Likewise.
3677 (pack<mode>): Likewise.
3678
3679 * config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
3680 built-in functions to pack/unpack explicit __ibm128 values.
3681 (__builtin_unpack_ibm128): Likewise.
3682
3683 * doc/extend.texi (PowerPC Built-in Functions): Document
3684 __builtin_pack_ibm128 and __builtin_unpack_ibm128.
3685
3686 2016-01-13 Bernd Schmidt <bschmidt@redhat.com>
3687
3688 PR c/66208
3689 * c-common.c (check_function_nonnull): Remove unnecessary declaration.
3690 Add new arg loc and pass it down as context.
3691 (check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
3692 to the location to use for the warning.
3693 (check_function_arguments): New arg loc. All callers changed. Pass
3694 it to check_function_nonnull.
3695 * c-common.h (check_function_arguments): Adjust declaration.
3696
3697 2016-01-13 Jakub Jelinek <jakub@redhat.com>
3698
3699 PR tree-optimization/69156
3700 * gimple.c (validate_type): Removed.
3701 (gimple_builtin_call_types_compatible_p): Use
3702 useless_type_conversion_p instead of validate_type.
3703 * value-prof.c (gimple_stringop_fixed_value): Fold
3704 icall_size to correct type.
3705
3706 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
3707
3708 * doc/extend.texi (__atomic Builtins): Clarify compare_exchange
3709 effects.
3710
3711 2016-01-13 Richard Henderson <rth@redhat.com>
3712
3713 PR tree-opt/68964
3714 * target.def (builtin_tm_load, builtin_tm_store): Remove.
3715 * config/i386/i386.c (ix86_builtin_tm_load): Remove.
3716 (ix86_builtin_tm_store): Remove.
3717 (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
3718 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
3719 * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
3720 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
3721 * doc/tm.texi: Rebuild.
3722
3723 * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
3724 (BUILT_IN_TM_MEMCPY_RTWN): New.
3725 * trans-mem.c (tm_log_emit_stmt): Rearrange code for better
3726 fallback from vector to integer helpers.
3727 (build_tm_load): Handle vector types directly, instead of
3728 via target hook.
3729 (build_tm_store): Likewise.
3730 (expand_assign_tm): Prepare for register types not handled by
3731 the above. Copy them to memory and use memcpy.
3732 * tree.c (tm_define_builtin): New.
3733 (find_tm_vector_type): New.
3734 (build_tm_vector_builtins): New.
3735 (build_common_builtin_nodes): Call it.
3736
3737 2016-01-13 Uros Bizjak <ubizjak@gmail.com>
3738
3739 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
3740 TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
3741
3742 2016-01-13 Tom de Vries <tom@codesourcery.com>
3743
3744 PR tree-optimization/69169
3745 * tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
3746 handled_struct_type param.
3747 (create_variable_info_for, intra_create_variable_infos): Call
3748 create_variable_info_for_1 with extra arg.
3749
3750 2016-01-13 Yvan Roux <yvan.roux@linaro.org>
3751
3752 * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
3753 and "armv8.1-a+crc" entries.
3754
3755 2016-01-13 Alexander Fomin <alexander.fomin@intel.com>
3756
3757 PR target/69228
3758 * config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
3759 Change first operand predicate from register_or_constm1_operand
3760 to register_operand.
3761 (define_expand "avx512pf_gatherpf<mode>df"): Likewise.
3762 (define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
3763 (define_expand "avx512pf_scatterpf<mode>df"): Likewise.
3764 (define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
3765 (define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
3766 (define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
3767 (define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
3768 * config/i386/i386.c (ix86_expand_builtin): Remove first operand
3769 comparison with constm1_rtx from vec_prefetch_gen part.
3770
3771 2016-01-13 Richard Biener <rguenther@suse.de>
3772
3773 PR tree-optimization/69013
3774 * tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
3775 Exchange assert for a test.
3776
3777 2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
3778
3779 PR target/69247
3780 * config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
3781
3782 2016-01-13 Richard Biener <rguenther@suse.de>
3783
3784 PR tree-optimization/69242
3785 * tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
3786 assert with a check.
3787
3788 2016-01-13 Richard Biener <rguenther@suse.de>
3789
3790 PR tree-optimization/69186
3791 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
3792 Properly guard vect_update_misalignment_for_peel call.
3793
3794 2016-01-12 Jeff Law <law@redhat.com>
3795
3796 PR tree-optimization/pr67755
3797 * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
3798 "need_profile_correction".
3799 (thread_block_1): Initialize new field to false by default. If we
3800 have multiple thread paths through a common joiner to different
3801 final targets, then set new field to true.
3802 (compute_path_counts): Only do count adjustment when it's really
3803 needed.
3804
3805 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
3806
3807 * doc/invoke.texi (Spec Files): Move section down in file, past
3808 all command-line option descriptions.
3809
3810 2016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
3811
3812 PR middle-end/54809
3813 * doc/gty.texi: Remove documentation of mark_hook.
3814 * gengtype.c (struct write_types_data): Remove code to support
3815 mark_hook attribute.
3816 (walk_type): Likewise.
3817 (write_func_for_structure): Likewise.
3818
3819 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
3820
3821 * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
3822 Directory Options, and -specs= to Overall Options.
3823 (Overall Options): Adjust similarly. Reorder to group related
3824 options together. Make -specs= cross-reference the spec file details.
3825 (Directory Options): Adjust similarly.
3826
3827 2016-01-12 Jeff Law <law@redhat.com>
3828
3829 * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
3830
3831 2016-01-12 Olivier Hainque <hainque@adacore.com>
3832
3833 * gcc.c (spec_undefvar_allowed): New global.
3834 (process_command): Set to true when running for --version or --help,
3835 alone or together.
3836 (getenv_spec_function): When the variable is not defined, use the
3837 variable name as the variable value if we're allowed not to issue
3838 a fatal error.
3839
3840 2016-01-12 Bin Cheng <bin.cheng@arm.com>
3841
3842 PR tree-optimization/68911
3843 * tree-vrp.c (adjust_range_with_scev): Check overflow in range
3844 information computed for expression "init + nit * step".
3845
3846 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
3847
3848 * doc/invoke.texi (Invoking GCC): Copy-edit. Incorporate information
3849 about name of GCC executable. Remove deleted node from menu.
3850 (Directory Options) <-B>: Remove cross-reference to deleted node.
3851 (Target Options): Delete section.
3852
3853 2016-01-12 Christian Bruel <christian.bruel@st.com>
3854
3855 PR target/69180
3856 * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
3857 for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
3858
3859 2016-01-12 Jakub Jelinek <jakub@redhat.com>
3860
3861 PR target/69198
3862 * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
3863 aligned_mem is properly set for AVX512-VL floating point masked
3864 stores.
3865
3866 PR target/69175
3867 * ifcvt.c (cond_exec_process_if_block): When removing the last
3868 insn from then_bb, remove also any possible barriers that follow it.
3869
3870 2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
3871
3872 PR target/68456
3873 PR target/69226
3874 * config/i386/iamcu.h (SIZE_TYPE): New macro.
3875 (PTRDIFF_TYPE): Likewise.
3876 (WCHAR_TYPE): Likewise.
3877 (WCHAR_TYPE_SIZE): Likewise.
3878 (STDINT_LONG32): Likewise.
3879
3880 2016-01-12 Richard Biener <rguenther@suse.de>
3881
3882 PR tree-optimization/69053
3883 * tree-vect-loop.c (get_initial_def_for_reduction): Properly
3884 convert initial value for cond reductions.
3885
3886 2016-01-12 Richard Biener <rguenther@suse.de>
3887
3888 PR tree-optimization/69007
3889 * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
3890 widen_sum after dot_prod and sad.
3891
3892 2016-01-12 Richard Biener <rguenther@suse.de>
3893
3894 PR tree-optimization/69168
3895 * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
3896 pattern stmt SLP type.
3897 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
3898 end up unused so cope with that case.
3899
3900 2016-01-12 Richard Biener <rguenther@suse.de>
3901
3902 PR tree-optimization/69157
3903 * tree-vect-stmts.c (vectorizable_mask_load_store): Check
3904 stmts def type only during analyze phase.
3905 (vectorizable_call): Likewise.
3906 (vectorizable_simd_clone_call): Likewise.
3907 (vectorizable_conversion): Likewise.
3908 (vectorizable_assignment): Likewise.
3909 (vectorizable_shift): Likewise.
3910 (vectorizable_operation): Likewise.
3911 (vectorizable_store): Likewise.
3912 (vectorizable_load): Likewise.
3913
3914 2016-01-12 Richard Biener <rguenther@suse.de>
3915
3916 PR tree-optimization/69174
3917 * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
3918 space.
3919 (vectorizable_load): Properly compute the number of loads needed
3920 for permuted strided SLP loads and do not spuriously assign
3921 to SLP_TREE_VEC_STMTS.
3922
3923 2016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
3924
3925 * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
3926 (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
3927 (MD_EXEC_PREFIX): Remove.
3928 (MD_STARTFILE_PREFIX) Removee.
3929 (FILE_NAME_ABSOLUTE_P): Remove.
3930 (CPP_SPEC): Do not read macros from sys/version.h.
3931 (LINK_COMMAND_SPEC): Remove.
3932 (LOCAL_INCLUDE_DIR): Remove.
3933 (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
3934 (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
3935 (POST_LINK_SPEC): Define to invoke stubify after linker
3936 (LIBSTDCXX): Remove define
3937 (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
3938 (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
3939 (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
3940 (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
3941 (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
3942 (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
3943 (i386_djgpp_asm_named_section): Add propotype of new procedure
3944
3945 * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
3946 (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
3947 (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX
3948 in config/i386/djgpp.h).
3949 (STANDARD_STARTFILE_PREFIX_2): Define identical to
3950 STANDARD_STARTFILE_PREFIX_1.
3951 (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
3952 (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal
3953 installation errors.
3954 (MAX_OFILE_ALIGNMENT): Define to 128.
3955 (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
3956
3957 * config/i386/djgpp.c: New file. Add implementation of
3958 i386_djgpp_asm_named_section.
3959
3960 * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
3961
3962 * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
3963 Add rule for building djgpp.o.
3964
3965 2016-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3966
3967 * config/rs6000/rs6000.c (v2df_reduction_p): New function.
3968 (rtx_is_swappable_p): Reductions are swappable.
3969 (insn_is_swappable_p): V2DF reductions are swappable.
3970
3971 2016-01-11 John David Anglin <danglin@gcc.gnu.org>
3972
3973 * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
3974 reloads for other unsupported memory operands.
3975
3976 2016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
3977 Jim Wilson <jim.wilson@linaro.org>
3978
3979 PR target/69194
3980 * config/arm/arm-builtins.c (arm_expand_neon_args): Call
3981 copy_to_mode_reg instead of force_reg.
3982
3983 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
3984
3985 PR target/69225
3986 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
3987 TARGET_80387 is true.
3988
3989 2016-01-11 Jakub Jelinek <jakub@redhat.com>
3990
3991 PR target/69071
3992 * lra-eliminations.c (move_plus_up): Only move plus up
3993 if subreg of the constant can be simplified into constant
3994 and use the simplified subreg of the constant instead of
3995 the original constant.
3996
3997 * fold-const.c (fold_convertible_p): Don't return true
3998 for conversion of VECTOR_TYPE to same sized integral type.
3999 (fold_convert_loc): Fix up formatting. Fold conversion of
4000 VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
4001 instead of NOP_EXPR.
4002
4003 PR tree-optimization/69214
4004 * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
4005 innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
4006 Formatting fix.
4007
4008 PR tree-optimization/69207
4009 * tree-vect-slp.c (vect_get_constant_vectors): For
4010 VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
4011 fold_convertible_p to vector_type's element type, and always
4012 use VCE for non-VECTOR_BOOLEAN_TYPE_P.
4013
4014 2016-01-11 Richard Biener <rguenther@suse.de>
4015
4016 PR tree-optimization/69173
4017 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
4018 fixup the cycle if all stmts are in a pattern.
4019
4020 2016-01-11 Uros Bizjak <ubizjak@gmail.com>
4021
4022 PR middle-end/68999
4023 * alias.c (base_alias_check): Move check for addresses with
4024 alignment ANDs before the call for compare_base_decls.
4025 (memrefs_conflict_p): Return -1 for different decls
4026 that went through alignment adjustments.
4027
4028 2016-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4029
4030 PR rtl-optimization/68796
4031 * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
4032 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
4033 and QImode comparisons against zero with CC_NZmode.
4034 * config/aarch64/iterators.md (short_mask): New mode_attr.
4035
4036 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
4037
4038 * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
4039 (<avx512>_store<mode>_mask): Likewise.
4040
4041 2016-01-11 Bernd Schmidt <bschmidt@redhat.com>
4042 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4043
4044 PR rtl-optimization/68841
4045 * ifcvt.c (struct noce_if_info): Add orig_x field.
4046 (bbs_ok_for_cmove_arith): Add to_rename parameter.
4047 Don't record conflicts on to_rename if it's present.
4048 Allow memory destinations in sets.
4049 (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
4050 blocks, passing orig_x to the checks.
4051 (noce_process_if_block): Set if_info->orig_x appropriately.
4052
4053 2016-01-11 Tom de Vries <tom@codesourcery.com>
4054
4055 PR tree-optimization/69069
4056 * tree-parloops.c (create_parallel_loop): Add missing phi args.
4057
4058 2016-01-11 Yuri Rumyantsev <ysrumyan@gmail.com>
4059
4060 PR rtl-optimization/68920
4061 * config/i386/i386.c (ix86_option_override_internal): Restrict number
4062 of conditional moves for RTL if-conversion to 1 for
4063 TARGET_ONE_IF_CONV_INSN.
4064 * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
4065 * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
4066 * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
4067 parameter to restirct number of conditional moves for
4068 RTL if-conversion.
4069 * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
4070 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
4071 conditionl moves.
4072
4073 2016-01-11 Alexandre Oliva <aoliva@redhat.com>
4074
4075 PR bootstrap/69123
4076 * var-tracking.c (drop_overlapping_mem_locs): Operate on all
4077 onepart vars. Fix typo in comment. Fix reversed condition in
4078 unshare test.
4079 (dataflow_set_remove_mem_locs): Operate on all onepart vars.
4080
4081 PR bootstrap/69123
4082 * var-tracking.c (dump_onepart_variable_differences): New.
4083 (dataflow_set_different): If a detailed dump is requested,
4084 delay early returns and dump differences between onepart
4085 variables present before and after, and added variables.
4086
4087 2016-01-11 Ilya Enkovich <enkovich.gnu@gmail.com>
4088
4089 PR target/69010
4090 * expr.c (expand_expr_real_1): For boolean vector constants
4091 with a scalar mode use const_scalar_mask_from_tree.
4092 (const_scalar_mask_from_tree): New.
4093 * optabs.c (expand_vec_cond_mask_expr): Use mask mode
4094 assigned to a mask type to handle constants.
4095
4096 2016-01-11 Martin Jambor <mjambor@suse.cz>
4097
4098 PR ipa/69044
4099 * ipa-cp.c (estimate_local_effects): Do not clone for removal of
4100 useless parameters if we cannot change function signature.
4101
4102 2016-01-11 Martin Jambor <mjambor@suse.cz>
4103
4104 PR ipa/66616
4105 * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
4106 flag.
4107
4108 2016-01-11 Tom de Vries <tom@codesourcery.com>
4109
4110 PR tree-optimization/69109
4111 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
4112 latch with phi.
4113
4114 2016-01-11 Tom de Vries <tom@codesourcery.com>
4115
4116 PR tree-optimization/69108
4117 * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
4118 res is not used in a phi.
4119
4120 2016-01-11 Yury Gribov <y.gribov@samsung.com>
4121
4122 PR 67425
4123 * common.opt (frandom-seed): Fix parameter name.
4124 * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
4125
4126 2016-01-11 Tom de Vries <tom@codesourcery.com>
4127
4128 PR tree-optimization/69058
4129 * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
4130 not supported.
4131
4132 2016-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
4133
4134 * config/arc/arc.opt (mdiv-rem): Add period to the end.
4135 (mcode-density): Likewise.
4136
4137 2016-01-10 Tom de Vries <tom@codesourcery.com>
4138
4139 PR tree-optimization/69062
4140 * tree-parloops.c (loop_has_phi_with_address_arg): New function.
4141 (parallelize_loops): Don't paralelize loop that has phi with address
4142 arg.
4143
4144 2016-01-10 Tom de Vries <tom@codesourcery.com>
4145
4146 PR tree-optimization/69039
4147 * tree-parloops.c (try_create_reduction_list): Only allow single exit
4148 phi for reduction.
4149
4150 2016-01-09 John David Anglin <danglin@gcc.gnu.org>
4151
4152 PR middle-end/68743
4153 * match.pd: Require target has function_c99_misc before doing
4154 truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
4155
4156 2016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
4157
4158 * configure.ac (isl_options_set_schedule_serialize_sccs): Also
4159 use GMPINC.
4160 * configure: Regenerate.
4161
4162 2016-01-09 Jakub Jelinek <jakub@redhat.com>
4163
4164 PR middle-end/50865
4165 PR tree-optimization/69097
4166 * fold-const.h (expr_not_equal_to): New prototype.
4167 * fold-const.c: Include stringpool.h and tree-ssanames.h.
4168 (expr_not_equal_to): New function.
4169 * match.pd (X % -Y is the same as X % Y): Don't optimize
4170 unless X is known not to be equal to minimum or Y is known
4171 not to be equal to -1.
4172 * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
4173 fold TRUNC_MOD_EXPR if the second argument is not a power of two.
4174 (simplify_stmt_using_ranges): Adjust caller.
4175 (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
4176 substitute_and_fold.
4177
4178 2016-01-09 Jan Hubicka <hubicka@ucw.cz>
4179
4180 * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
4181 w/o DECL_NAME.
4182
4183 2016-01-08 Jakub Jelinek <jakub@redhat.com>
4184
4185 PR tree-optimization/69167
4186 * gimple-fold.c (replace_stmt_with_simplification): Also punt if
4187 new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
4188 ops[0] comparison.
4189 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
4190
4191 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
4192 Richard Biener <rguenther@suse.de>
4193
4194 PR tree-optimization/68707
4195 * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
4196 instances that can be handled via vect_load_lanes.
4197
4198 2016-01-08 Uros Bizjak <ubizjak@gmail.com>
4199
4200 * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
4201 if we can't determine address equivalence.
4202 * alias.c (compare_base_decl): Update for changed return value of
4203 symtab_node::equal_address_to.
4204
4205 2016-01-08 Jason Merrill <jason@redhat.com>
4206
4207 PR c++/68983
4208 PR c++/67557
4209 * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
4210 * expr.c (store_field): Not here.
4211 * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
4212 call with TREE_ADDRESSABLE type.
4213 * tree-cfg.c (verify_gimple_call): Adjust.
4214
4215 2016-01-08 Olivier Hainque <hainque@adacore.com>
4216
4217 * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
4218 libc_internal.
4219
4220 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
4221
4222 * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
4223 (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
4224 (reduc_smin_v2sf): Rename to...
4225 (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
4226 (reduc_splus_v2sf): Rename to...
4227 (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
4228
4229 2016-01-08 Jakub Jelinek <jakub@redhat.com>
4230
4231 PR tree-optimization/69162
4232 * gimplify.c (gimplify_va_arg_expr): Encode original type of
4233 valist argument in another argument.
4234 (gimplify_modify_expr): Adjust for the above change. Cleanup.
4235 * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
4236 to determine the va_list type, build a MEM_REF instead of
4237 build_fold_indirect_ref.
4238
4239 PR tree-optimization/69172
4240 * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
4241 gimple_build.
4242
4243 2016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
4244
4245 PR tree-optimization/67781
4246 * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
4247 and cmpnop in two steps: first the ones not accessed in original
4248 gimple expression in a endian independent way and then the ones not
4249 accessed in the final result in an endian-specific way.
4250
4251 2016-01-08 Jakub Jelinek <jakub@redhat.com>
4252
4253 PR tree-optimization/69083
4254 * tree-vect-slp.c (vect_get_constant_vectors): For
4255 VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
4256 element type. If op is fold_convertible_p to vector_type's element
4257 type, use NOP_EXPR instead of VCE.
4258
4259 2016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
4260
4261 PR rtl-optimization/67778
4262 PR rtl-optimization/68634
4263 PR rtl-optimization/68909
4264 * shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
4265 block from the stack until done with it. Remove a superfluous
4266 bitmap set. Remove a superfluous bitmap test.
4267
4268 2016-01-07 Martin Sebor <msebor@redhat.com>
4269
4270 PR c/68966
4271 * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
4272 constraint on the type of arguments.
4273
4274 2016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
4275
4276 * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
4277 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
4278 unaligned_access on the gcc_options set.
4279 * config/arm/arm.c (arm_option_override_internal): Use
4280 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
4281
4282 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
4283
4284 PR target/69140
4285 * config/i386/i386.c (ix86_frame_pointer_required): Enable
4286 frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
4287
4288 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
4289
4290 Revert
4291 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
4292
4293 PR target/69140
4294 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
4295 depending on frame_pointer_needed before remaining integer and SSE
4296 registers are saved.
4297
4298 2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
4299
4300 PR 1078
4301 * doc/extend.texi (Nvidia PDX Function Attributes): New section.
4302
4303 2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
4304
4305 PR target/69171
4306 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
4307 Use the "xBm" constraint.
4308 (float<sseintvecmodelower><mode>2<mask_name><round_name):
4309 Likewise.
4310 (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
4311 (sse_cvtsi2ssq<round_name>): Likewise.
4312 (sse_cvtss2si<round_name>): Likewise.
4313 (sse_cvtss2siq<round_name>): Likewise.
4314 (sse2_cvtsi2sdq<round_name>): Likewise.
4315 (sse2_cvtsd2si<round_name>): Likewise.
4316 (sse2_cvtsd2siq<round_name>): Likewise.
4317 * config/i386/subst.md (round_nimm_scalar_predicate): New
4318 predicate.
4319
4320 2015-12-15 Bernd Schmidt <bschmidt@redhat.com>
4321
4322 PR middle-end/67639
4323 * varasm.c (make_decl_rtl): Mark invalid register vars as
4324 DECL_EXTERNAL.
4325
4326 PR rtl-optimization/66206
4327 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
4328 All callers changed.
4329
4330 2016-01-07 Jakub Jelinek <jakub@redhat.com>
4331
4332 PR tree-optimization/69141
4333 * tree-ssa-pre.c: Include langhooks.h.
4334 (eliminate_dom_walker::before_dom_children): Use
4335 lang_hooks.decl_printable_name instead of
4336 cgraph_node::get ()->name ().
4337
4338 PR middle-end/68960
4339 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
4340 it and DECL_ALIGN too.
4341
4342 2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
4343
4344 * config/mips/mips-ftypes.def: Sort to lexicographical order.
4345
4346 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
4347
4348 PR target/69140
4349 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
4350 depending on frame_pointer_needed before remaining integer and SSE
4351 registers are saved.
4352
4353 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4354
4355 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
4356 mode iterator with VSX_M2.
4357 (*p9_vecstore_<mode>): Likewise.
4358 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
4359 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
4360 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
4361 (define_split for VSX_LE128 stores): Likewise.
4362 (define_peephole2 for TImode LE swaps): Likewise.
4363 (define_split for VSX_LE128 post-reload stores): Likewise.
4364
4365 2016-01-06 Marek Polacek <polacek@redhat.com>
4366
4367 PR sanitizer/69099
4368 * convert.c (convert_to_integer_1): Adjust call to
4369 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
4370 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
4371 EXPR instead of ARG.
4372 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
4373
4374 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
4375
4376 PR 1078
4377 * doc/extend.texi (RL78 Variable Attributes): New section.
4378
4379 2016-01-05 Marek Polacek <polacek@redhat.com>
4380
4381 PR c/69104
4382 * builtins.c (get_memmodel): Use expansion point location rather than
4383 the input location. Call warning_at rather than warning.
4384 (expand_builtin_atomic_compare_exchange): Likewise.
4385 (expand_builtin_atomic_load): Likewise.
4386 (expand_builtin_atomic_store): Likewise.
4387 (expand_builtin_atomic_clear): Likewise.
4388
4389 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
4390
4391 PR target/68991
4392 * config/i386/i386.c (ix86_expand_vector_logical_operator):
4393 Replace nonimmediate_operand with vector_operand.
4394 * config/i386/predicates.md (vector_operand): New predicate.
4395 (general_vector_operand): Replace nonimmediate_operand with
4396 vector_operand.
4397 * config/i386/sse.md: Replace nonimmediate_operand with
4398 vector_operand and m constraint with Bm constraint on SSE
4399 patterns with 16-byte memory operand.
4400 * config/i386/subst.md (round_nimm_predicate): Replace
4401 nonimmediate_operand with vector_operand.
4402 (round_saeonly_nimm_predicate): Likewise.
4403 (round_saeonly_nimm_scalar_predicate): New.
4404
4405 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
4406
4407 PR target/68991
4408 * config/i386/constraints.md (Bm): New constraint.
4409 * config/i386/predicates.md (vector_memory_operand): New
4410 predicate.
4411 * config/i386/sse.md: Replace xm with xBm in plusminus and
4412 any_logic patterns.
4413
4414 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
4415
4416 PR 1078
4417 * doc/extend.texi (V850 Function Attributes): New section.
4418 (V850 Variable Attributes): New section.
4419
4420 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
4421
4422 PR 1078
4423 * doc/extend.texi (MicroBlaze Function Attributes): Document
4424 interrupt_handler and fast_interrupt attributes.
4425
4426 2016-01-05 Sergei Trofimovich <siarheit@google.com>
4427
4428 PR other/60465
4429 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
4430 for local symbolic operands.
4431 * config/ia64/predicates.md (local_symbolic_operand64): New
4432 predicate.
4433
4434 2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4435
4436 PR rtl-optimization/68651
4437 * combine.c (combine_simplify_rtx): Canonicalize x + x into
4438 x << 1.
4439
4440 2016-01-05 Nathan Sidwell <nathan@acm.org>
4441
4442 * alias.c (compare_base_decls): Use symtab_node::get.
4443
4444 2016-01-05 Nick Clifton <nickc@redhat.com>
4445
4446 PR target/68770
4447 * ira-costs.c (copy_cost): Initialise the t_icode field of the
4448 secondary_reload_info structure.
4449
4450 PR target/66655
4451 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
4452 decls if weak support is available.
4453
4454 2016-01-04 Martin Sebor <msebor@redhat.com>
4455
4456 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
4457
4458 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
4459
4460 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
4461 OPTION_MASK_P9_DFORM.
4462
4463 * config/rs6000/constraints.md (wo constraint): New constraint for
4464 ISA 3.0 (power9).
4465
4466 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
4467 for wo constraint.
4468 (rs6000_init_hard_regno_mode_ok): Likewise.
4469
4470 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
4471 wo constraint.
4472
4473 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
4474 expanders not to have constraints. Add support for ISA 3.0 xxperm
4475 instruction. Add support for fusing xxlor with xxperm.
4476 (altivec_vperm_<mode>_internal): Likewise.
4477 (altivec_vperm_v8hiv16qi): Likewise.
4478 (altivec_vperm_<mode>v16q): Likewise.
4479 (altivec_vperm_<mode>_uns): Likewise.
4480 (vperm_v8hiv4si): Likewise.
4481 (vperm_v16qiv8hi): Likewise.
4482
4483 * doc/md.texi (RS/6000 constraints): Document wo constraint.
4484
4485 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4486
4487 Update copyright years.
4488
4489 * gcc.c (process_command): Update copyright notice dates.
4490 * gcov-dump.c (print_version): Ditto.
4491 * gcov.c (print_version): Ditto.
4492 * gcov-tool.c (print_version): Ditto.
4493 * gengtype.c (create_file): Ditto.
4494 * doc/cpp.texi: Bump @copying's copyright year.
4495 * doc/cppinternals.texi: Ditto.
4496 * doc/gcc.texi: Ditto.
4497 * doc/gccint.texi: Ditto.
4498 * doc/gcov.texi: Ditto.
4499 * doc/install.texi: Ditto.
4500 * doc/invoke.texi: Ditto.
4501
4502 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
4503
4504 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
4505 modes larger than TImode as TImode if NEON is not enabled.
4506
4507 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
4508
4509 PR target/69100
4510 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
4511 mode for %f0-%f31 only if TARGET_FPU.
4512
4513 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
4514
4515 PR target/69072
4516 * config/sparc/sparc.c (scan_record_type): Take into account subfields
4517 to compute the PACKED_P predicate.
4518 (function_arg_record_value): Minor tweaks.
4519
4520 2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
4521
4522 * doc/install.texi (--with-multilib-list): Describe the meaning of the
4523 option for arm*-*-* targets.
4524
4525 2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
4526
4527 * doc/extend.texi (Common Function Attributes): Move docs for
4528 MSP430-specific attributes to....
4529 (MSP430 Function Attributes): ...here. Delete the redundant
4530 entries and copy-edit the remaining text.
4531 (MSP430 Variable Attributes): Use uniform format for index
4532 entries and add a cross-reference to the corresponding function
4533 attribute docs.
4534
4535 2016-01-03 Vladimír Čunát <vcunat@gmail.com>
4536
4537 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
4538 -finite-math typo.
4539 (x86 Options): Likewise.
4540
4541 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
4542
4543 PR 1078
4544
4545 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
4546 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
4547 to corresponding attribute.
4548
4549 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
4550
4551 * doc/extend.texi (Common Function Attributes) <noplt>: Move
4552 to correct alphabetization of table. Copy-edit and correct
4553 markup.
4554 <stack_protect>: Likewise.
4555 <target_clones>: Likewise.
4556 <simd>: Likewise.
4557 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
4558 Correct punctuation.
4559 (Code Gen Options) <-fno-plt>: Copy-edit.
4560
4561 2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
4562
4563 PR target/68917
4564 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
4565 SI values. Explicitly convert SI to DI and vice-versa.
4566
4567 2016-01-01 Jakub Jelinek <jakub@redhat.com>
4568
4569 PR tree-optimization/69070
4570 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
4571 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
4572
4573 PR sanitizer/69055
4574 * ubsan.c (ubsan_instrument_float_cast): Call
4575 initialize_sanitizer_builtins.
4576
4577 PR target/69015
4578 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
4579 \f
4580 Copyright (C) 2016 Free Software Foundation, Inc.
4581
4582 Copying and distribution of this file, with or without modification,
4583 are permitted in any medium without royalty provided the copyright
4584 notice and this notice are preserved.