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