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