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