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