[RS6000] Split SAVRES_STRATEGY
[gcc.git] / gcc / ChangeLog
1 2016-04-30 Alan Modra <amodra@gmail.com>
2
3 * config/rs6000/rs6000.c (SAVRES_MULTIPLE): Replace with..
4 (SAVE_STRATEGY, REST_STRATEGY): ..this. Renumber and sort enum.
5 Update all uses.
6
7 2016-04-30 Alan Modra <amodra@gmail.com>
8
9 PR target/69645
10 * config/rs6000/rs6000.c (fixed_reg_p): New function.
11 (fixed_regs_p): Rename from global_regs_p. Call fixed_reg_p.
12 Update all uses.
13
14 2016-04-30 Alan Modra <amodra@gmail.com>
15
16 * config/rs6000/rs6000.c (rs6000_conditional_register_usage):
17 Remove redundant PIC_OFFSET_TABLE_REGNUM test. Replace with
18 flag_pic test for Darwin.
19
20 2016-04-30 Alan Modra <amodra@gmail.com>
21
22 * regs.h (struct reg_info_t): Delete freq_calls_crossed and
23 throw_calls_crossed.
24 (REG_FREQ_CALLS_CROSSED): Delete.
25 (REG_N_THROWING_CALLS_CROSSED): Delete.
26 * regstat.c (regstat_bb_compute_ri): Don't calculate
27 REG_FREQ_CALLS_CROSSED and REG_N_THROWING_CALLS_CROSSED.
28 (dump_reg_info): Don't print call cross frequency.
29 * ira.c (combine_and_move_insns): Don't set REG_FREQ_CALLS_CROSSED
30 and REG_N_THROWING_CALLS_CROSSED.
31
32 2016-04-30 Alan Modra <amodra@gmail.com>
33
34 * regs.h (struct reg_info_t): Delete live_length.
35 (REG_LIVE_LENGTH): Delete macro.
36 * regstat.c (regstat_bb_compute_ri): Delete artificial_uses,
37 local_live, local_processed and local_live_last_luid params.
38 Replace bb_index param with bb. Don't set REG_LIVE_LENGTH.
39 Formatting fixes.
40 (regstat_compute_ri): Adjust for above. Don't set
41 REG_LIVE_LENGTH.
42 (dump_reg_info): Don't print live length.
43 * ira.c (update_equiv_regs): Replace test of REG_LIVE_LENGTH
44 with test of setjmp_crosses. Don't set REG_LIVE_LENGTH.
45 Localize loop_depth var.
46
47 2016-04-30 Alan Modra <amodra@gmail.com>
48
49 * ira.c (enum valid_equiv): New.
50 (validate_equiv_mem): Return enum.
51 (update_equiv_mem): Create replacement in more cases.
52 (add_store_equivs): Update validate_equiv_mem call.
53
54 2016-04-30 Alan Modra <amodra@gmail.com>
55
56 * ira.c (combine_and_move_insns): Rather than scanning insns,
57 use DF infrastucture to find use and def insns.
58
59 2016-04-30 Alan Modra <amodra@gmail.com>
60
61 ira.c (combine_and_move_insns): Move invariant conditions..
62 (ira.c): ..to here. Call combine_and_move_insns before
63 add_store_equivs. Call grow_reg_equivs later. Allocate
64 req_equiv later using max_reg_num() rather than global max_regno.
65 (contains_replace_regs): Delete.
66 (add_store_equivs): Remove contains_replace_regs test.
67
68 2016-04-30 Alan Modra <amodra@gmail.com>
69
70 * ira.c (struct equiv_mem_data): New.
71 (equiv_mem, equiv_mem_modified): Delete static vars.
72 (validate_equiv_mem_from_store): Use "data" param to communicate..
73 (validate_equiv_mem): ..from here.
74
75 2016-04-30 Alan Modra <amodra@gmail.com>
76
77 * ira.c (add_store_equivs, combine_and_move_insns): New functions,
78 split out from..
79 (update_reg_equivs): ..here. Move allocation and freeing of
80 reg_equiv, and calls to grow_reg_equivs, init_alias_analysis,
81 end_alias_analysis to..
82 (ira): ..here.
83
84 2016-04-30 Alan Modra <amodra@gmail.com>
85
86 * ira.c (pdx_subregs): Delete.
87 (struct equivalence): Add pdx_subregs field.
88 (set_paradoxical_subreg): Remove pdx_subregs param. Update
89 pdx_subregs access.
90 (update_equiv_regs): Don't create or free pdx_subregs. Update
91 pdx_subregs access.
92
93 2016-04-29 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
94
95 * config/rs6000/altivec.h: Change definitions of vec_xl and
96 vec_xst.
97 * config/rs6000/rs6000-builtin.def (LD_ELEMREV_V2DF): New.
98 (LD_ELEMREV_V2DI): New.
99 (LD_ELEMREV_V4SF): New.
100 (LD_ELEMREV_V4SI): New.
101 (LD_ELEMREV_V8HI): New.
102 (LD_ELEMREV_V16QI): New.
103 (ST_ELEMREV_V2DF): New.
104 (ST_ELEMREV_V2DI): New.
105 (ST_ELEMREV_V4SF): New.
106 (ST_ELEMREV_V4SI): New.
107 (ST_ELEMREV_V8HI): New.
108 (ST_ELEMREV_V16QI): New.
109 (XL): New.
110 (XST): New.
111 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
112 descriptions for VSX_BUILTIN_VEC_XL and VSX_BUILTIN_VEC_XST.
113 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Map from
114 TARGET_P9_VECTOR to RS6000_BTM_P9_VECTOR.
115 (altivec_expand_builtin): Add handling for
116 VSX_BUILTIN_ST_ELEMREV_<MODE> and VSX_BUILTIN_LD_ELEMREV_<MODE>.
117 (rs6000_invalid_builtin): Add error-checking for
118 RS6000_BTM_P9_VECTOR.
119 (altivec_init_builtins): Define builtins used to implement vec_xl
120 and vec_xst.
121 (rs6000_builtin_mask_names): Define power9-vector.
122 * config/rs6000/rs6000.h (MASK_P9_VECTOR): Define.
123 (RS6000_BTM_P9_VECTOR): Define.
124 (RS6000_BTM_COMMON): Include RS6000_BTM_P9_VECTOR.
125 * config/rs6000/vsx.md (vsx_ld_elemrev_v2di): New define_insn.
126 (vsx_ld_elemrev_v2df): Likewise.
127 (vsx_ld_elemrev_v4sf): Likewise.
128 (vsx_ld_elemrev_v4si): Likewise.
129 (vsx_ld_elemrev_v8hi): Likewise.
130 (vsx_ld_elemrev_v16qi): Likewise.
131 (vsx_st_elemrev_v2df): Likewise.
132 (vsx_st_elemrev_v2di): Likewise.
133 (vsx_st_elemrev_v4sf): Likewise.
134 (vsx_st_elemrev_v4si): Likewise.
135 (vsx_st_elemrev_v8hi): Likewise.
136 (vsx_st_elemrev_v16qi): Likewise.
137 * doc/extend.texi: Add prototypes for vec_xl and vec_xst. Correct
138 grammar.
139
140 2016-04-29 Patrick Palka <ppalka@gcc.gnu.org>
141
142 * tree-ssa-threadedge.c (simplify_control_stmt_condition): Split
143 out into ...
144 (simplify_control_stmt_condition_1): ... here. Recurse into
145 BIT_AND_EXPRs and BIT_IOR_EXPRs.
146
147 2016-04-29 David Edelsohn <dje.gcc@gmail.com>
148
149 PR target/69810
150 * config/rs6000/rs6000.md (EXTQI): Don't allow extension to HImode.
151 (zero_extendqi<mode>2_dot): Revert earlier conversion from
152 define_insn_and_split to define_insn.
153 (zero_extendqi<mode>2_dot2): Same.
154 (extendqi<mode>2_dot): Same.
155 (extendqi<mode>2_dot2): Same.
156
157 2016-04-29 Uros Bizjak <ubizjak@gmail.com>
158
159 * config/i386/i386.md (unspec): Add UNSPEC_PROBE_STACK.
160 (probe_stack): New expander.
161 (probe_stack_<mode>): New insn pattern.
162
163 2016-04-29 Uros Bizjak <ubizjak@gmail.com>
164
165 * config/i386/i386.md
166 (operations with memory inputs setting flags peephole2):
167 Remove uneeded REG_P checks. Cleanup pattern generation.
168
169 2016-04-29 Ilya Enkovich <ilya.enkovich@intel.com>
170
171 * tree-vect-loop.c (vect_transform_loop): Fix
172 nb_iterations_upper_bound computation for vectorized loop.
173
174 2016-04-29 Marek Polacek <polacek@redhat.com>
175 Jakub Jelinek <jakub@redhat.com>
176
177 PR sanitizer/70342
178 * fold-const.c (tree_single_nonzero_warnv_p): For TARGET_EXPR, use
179 TARGET_EXPR_SLOT as a base.
180
181 2016-04-29 Andrew Burgess <andrew.burgess@embecosm.com>
182
183 * config/arc/arc.md (*loadqi_update): Replace use of 'rI' constraint
184 with 'rCm2' constraints to limit possible immediate size.
185 (*load_zeroextendqisi_update): Likewise.
186 (*load_signextendqisi_update): Likewise.
187 (*loadhi_update): Likewise.
188 (*load_zeroextendhisi_update): Likewise.
189 (*load_signextendhisi_update): Likewise.
190 (*loadsi_update): Likewise.
191 (*loadsf_update): Likewise.
192
193 2016-04-29 Uros Bizjak <ubizjak@gmail.com>
194
195 * config/i386/predicates.md (constm1_operand): Fix comparison.
196
197 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
198
199 * testsuite/gcc.target/arc/ieee_eq.c: New test.
200
201 2016-04-29 Oleg Endo <olegendo@gcc.gnu.org>
202
203 * common/config/sh/sh-common.c (sh_option_optimization_table): Remove
204 remaining SH5 related settings.
205 * config/sh/sh-protos.h (shmedia_cleanup_truncate,
206 shmedia_prepare_call_address): Delete.
207 * config/sh/sh.c (sh_print_operand, output_stack_adjust,
208 DWARF_CIE_DATA_ALIGNMENT, LOCAL_ALIGNMENT): Update comments.
209 * config/sh/sh.h (SUBTARGET_ASM_RELAX_SPEC,
210 UNSUPPORTED_SH2A): Remove m5 checks.
211 (sh_divide_strategy_e): Remove SH5 division strategies.
212 (TARGET_PTRMEMFUNC_VBIT_LOCATION): Remove and use default.
213 * config/sh/sh.md (divsf3): Reinstate define_expand pattern.
214
215 2016-04-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
216
217 * config/s390/s390.c (s390_rtx_costs): Update documentation.
218
219 2016-04-29 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
220
221 * config/s390/2964.md ("z13_unit_fxu", "z13_0"): Remove lder.
222 * config/s390/s390.md ("movsi_larl", "*movsi_esa", "mov<mode>"):
223 Change lder to ldr.
224 * config/s390/vector.md ("mov<mode>"): Likewise.
225
226 2016-04-29 Ulrich Weigand <uweigand@de.ibm.com>
227
228 * config/s390/constraints.md ("U", "W"): Invoke
229 s390_mem_constraint with "ZR" and "ZT".
230 * config/s390/s390.c (s390_check_qrst_address): Reject invalid
231 addresses when using LRA. Accept also short displacements for S
232 and T constraints. Do not check for long displacement target for
233 S and T constraints.
234 (s390_mem_constraint): Remove handling of U and W constraints.
235 * config/s390/s390.md (various patterns): Remove the short
236 displacement constraints (Q and R) if a long displacement
237 constraint is present. Add longdisp as required CPU capability.
238 * config/s390/vector.md: Likewise.
239 * config/s390/vx-builtins.md: Likewise.
240
241 2016-04-29 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
242
243 PR target/60040
244 * reload1.c (reload): Call finish_spills before
245 restarting reload loop. Skip select_reload_regs
246 if update_eliminables_and_spill returns true.
247
248 2016-04-29 Claudiu Zissulescu <claziss@synopsys.com>
249
250 * config/arc/arc.h (UNSIGNED_INT12, UNSIGNED_INT16): Define.
251 * config/arc/arc.md (umulhisi3): Use arc_short_operand predicate.
252 (umulhisi3_imm): Update predicates and constraint letters.
253 (umulhisi3_reg): Declare instruction as commutative.
254 * config/arc/constraints.md (J12, J16): New constraints.
255 * config/arc/predicates.md (short_unsigned_const_operand): New
256 predicate.
257 (arc_short_operand): Likewise.
258 * testsuite/gcc.target/arc/umulsihi3_z.c: New file.
259
260 2016-04-29 Richard Biener <rguenther@suse.de>
261
262 PR tree-optimization/13962
263 PR tree-optimization/65686
264 * tree-ssa-alias.h (ptrs_compare_unequal): Declare.
265 * tree-ssa-alias.c (ptrs_compare_unequal): New function
266 using PTA to compare pointers.
267 * match.pd: Add pattern for pointer equality compare simplification
268 using ptrs_compare_unequal.
269
270 2016-04-29 Richard Biener <rguenther@suse.de>
271
272 * stor-layout.c (layout_type): Do not build a pointer-to-element
273 type for arrays.
274
275 2016-04-29 Uros Bizjak <ubizjak@gmail.com>
276
277 * config/i386/i386.md (Load+RegOp to Mov+MemOp peephole2):
278 Use SWI mode iterator. Use general_reg_operand predicate.
279 (Load+RegOp to Mov+MemOp peephole2 with vector regs): Split
280 peephole to MMX and SSE part. Use mmx_reg_operand and sse_reg_operand
281 predicates.
282
283 2016-04-29 Jakub Jelinek <jakub@redhat.com>
284
285 PR middle-end/70843
286 * fold-const.c (operand_equal_p): Don't verify hash value equality
287 if arg0 == arg1.
288 * tree.c (inchash::add_expr): Handle STATEMENT_LIST. Ignore BLOCK
289 and OMP_CLAUSE.
290
291 2016-04-28 Jakub Jelinek <jakub@redhat.com>
292
293 PR target/70858
294 * config/i386/i386.c (bdesc_special_args): Add | OPTION_MASK_ISA_64BIT
295 to __builtin_ia32_lwpval64 and __builtin_ia32_lwpins64.
296 (bdesc_args): Add | OPTION_MASK_ISA_64BIT to __builtin_ia32_bextr_u64,
297 __builtin_ia32_bextri_u64, __builtin_ia32_bzhi_di,
298 __builtin_ia32_pdep_di and __builtin_ia32_pext_di.
299
300 2016-04-28 Segher Boessenkool <segher@kernel.crashing.org>
301
302 * config/rs6000/rs6000.c (compute_save_world_info): Rename info_ptr
303 to info. Don't initialize separate fields to 0. Clean up
304 formatting a bit.
305
306 2016-04-28 Uros Bizjak <ubizjak@gmail.com>
307
308 * config/i386/i386.md (peephole2s for operations with memory inputs):
309 Use SWI mode iterator.
310 (peephole2s for operations with memory outputs): Ditto.
311 Do not check for stack checking probe.
312
313 (probe_stack): Remove expander.
314
315 2016-04-28 Joern Rennecke <joern.rennecke@embecosm.com>
316 Andrew Burgess <andrew.burgess@embecosm.com>
317
318 * config/arc/arc.c (arc_print_operand): Print integer 'H' / 'L'
319 operands as 32-bits.
320
321 2016-04-28 Jason Merrill <jason@redhat.com>
322
323 * gdbinit.in: Skip line-map.h.
324
325 2016-04-28 Joern Rennecke <joern.rennecke@embecosm.com>
326 Andrew Burgess <andrew.burgess@embecosm.com>
327
328 * config/arc/arc.c (arc_conditional_register_usage): Take
329 TARGET_RRQ_CLASS into account.
330 (arc_print_operand): Support printing 'p' and 's' operands.
331 * config/arc/arc.h (TARGET_NPS_BITOPS_DEFAULT): Provide default
332 as 0.
333 (TARGET_RRQ_CLASS): Define.
334 (IS_POWEROF2_OR_0_P): Define.
335 * config/arc/arc.md (*movsi_insn): Add w/Clo, w/Chi, and w/Cbi
336 alternatives.
337 (*tst_movb): New define_insn.
338 (*tst): Avoid recognition if it could prevent '*tst_movb'
339 combination; replace c/CnL with c/Chs alternative.
340 (*tst_bitfield_tst): New define_insn.
341 (*tst_bitfield_asr): New define_insn.
342 (*tst_bitfield): New define_insn.
343 (andsi3_i): Add Rrq variant.
344 (extzv): New define_expand.
345 (insv): New define_expand.
346 (*insv_i): New define_insn.
347 (*movb): New define_insn.
348 (*movb_signed): New define_insn.
349 (*movb_high): New define_insn.
350 (*movb_high_signed): New define_insn.
351 (*movb_high_signed + 1): New define_split pattern.
352 (*mrgb): New define_insn.
353 (*mrgb + 1): New define_peephole2 pattern.
354 (*mrgb + 2): New define_peephole2 pattern.
355 * config/arc/arc.opt (mbitops): New option for nps400, uses
356 TARGET_NPS_BITOPS_DEFAULT.
357 * config/arc/constraints.md (q): Make register class conditional.
358 (Rrq): New register constraint.
359 (Chs): New constraint.
360 (Clo): New constraint.
361 (Chi): New constraint.
362 (Cbf): New constraint.
363 (Cbn): New constraint.
364 (C18): New constraint.
365 (Cbi): New constraint.
366
367 2016-04-28 Segher Boessenkool <segher@kernel.crashing.org>
368
369 * cfganal.c (bitmap_intersection_of_succs): Delete assert checking
370 dst->popcount.
371 (bitmap_intersection_of_preds): Ditto.
372 (bitmap_union_of_succs): Ditto.
373 (bitmap_union_of_preds): Ditto.
374 * sbitmap.c (do_popcount): Delete.
375 (BITMAP_DEBUGGING): Delete.
376 (sbitmap_verify_popcount): Delete.
377 (sbitmap_alloc): Don't initialize the popcount field.
378 (sbitmap_alloc_with_popcount): Delete.
379 (sbitmap_resize): Don't resize the popcount array.
380 (sbitmap_vector_alloc): Don't initialize the popcount field.
381 (bitmap_copy): Don't copy the popcount array.
382 (bitmap_clear): Don't clear the popcount array.
383 (bitmap_clear): Delete the popcount array handling.
384 (bitmap_ior_and_compl): Delete the popcount assert.
385 (bitmap_not): Ditto.
386 (bitmap_and_compl): Ditto.
387 (bitmap_and): Delete the popcount array handling.
388 (bitmap_xor): Ditto.
389 (bitmap_ior): Ditto.
390 (bitmap_or_and): Delete the popcount assert.
391 (bitmap_and_or): Ditto.
392 (popcount_table): Delete.
393 (sbitmap_elt_popcount): Delete.
394 * sbitmap.h (simple_bitmap_def): Delete the popcount field.
395 (bitmap_set_bit): Delete the popcount assert.
396 (bitmap_clear_bit): Ditto.
397 (sbitmap_free): Don't free the popcount array.
398 (sbitmap_alloc_with_popcount): Delete declaration.
399 (sbitmap_popcount): Ditto.
400
401 2016-04-28 Joern Rennecke <joern.rennecke@embecosm.com>
402 Andrew Burgess <andrew.burgess@embecosm.com>
403
404 * config/arc/arc.h (SYMBOL_FLAG_CMEM): Define.
405 (TARGET_NPS_CMEM_DEFAULT): Provide default definition.
406 * config/arc/arc.c (arc_address_cost): Return 0 for cmem_address.
407 (arc_encode_section_info): Set SYMBOL_FLAG_CMEM where indicated.
408 * config/arc/arc.opt (mcmem): New option.
409 * config/arc/arc.md (*extendqihi2_i): Add r/Uex alternative,
410 supply length for r/m alternative.
411 (*extendqisi2_ac): Likewise.
412 (*extendhisi2_i): Add r/Uex alternative, supply length for r/m and
413 r/Uex alternative.
414 (movqi_insn): Add r/Ucm and Ucm/?Rac alternatives.
415 (movhi_insn): Likewise.
416 (movsi_insn): Add r/Ucm,Ucm/w alternatives.
417 (*zero_extendqihi2_i): Add r/Ucm alternative.
418 (*zero_extendqisi2_ac): Likewise.
419 (*zero_extendhisi2_i): Likewise.
420 * config/arc/constraints.md (Uex): New memory constraint.
421 (Ucm): New define_constraint.
422 * config/arc/predicates.md (long_immediate_loadstore_operand):
423 Return 0 for MEM with cmem_address address.
424 (cmem_address_0): New predicates.
425 (cmem_address_1): Likewise.
426 (cmem_address_2): Likewise.
427 (cmem_address): Likewise.
428
429 2016-04-28 Segher Boessenkool <segher@kernel.crashing.org>
430
431 * config/rs6000/rs6000.c (machine_function): Rename
432 insn_chain_scanned_p to spe_insn_chain_scanned_p.
433 (rs6000_stack_info): Adjust.
434
435 2016-04-28 Joern Rennecke <joern.rennecke@embecosm.com>
436 Andrew Burgess <andrew.burgess@embecosm.com>
437
438 * config/arc/constraints.md (Usd): Convert to define_constraint.
439 (Us<): Likewise.
440 (Us>): Likewise.
441
442 2016-04-28 Jakub Jelinek <jakub@redhat.com>
443
444 PR target/70821
445 * config/i386/sync.md (define_peephole2 *atomic_fetch_add_cmp<mode>):
446 Add new peephole2 where the first insn is *mov<mode>_or instead of
447 *mov<mode>_internal.
448
449 2016-04-28 Segher Boesssenkool <segher@kernel.crashing.org>
450
451 * tracer.c (bb_seen): Make static.
452
453 2016-04-28 Andrew Burgess <andrew.burgess@embecosm.com>
454
455 * common/config/arc/arc-common.c (arc_handle_option): Add NPS400
456 support, setup defaults.
457 * config/arc/arc-opts.h (enum processor_type): Add NPS400.
458 * config/arc/arc.c (arc_init): Add NPS400 support.
459 * config/arc/arc.h (CPP_SPEC): Add NPS400 defines.
460 (TARGET_ARC700): NPS400 is also an ARC700.
461 * config/arc/arc.opt: Add NPS400 options to -mcpu=.
462
463 2016-04-28 Segher Boessenkool <segher@kernel.crashing.org>
464
465 PR target/70668
466 * config/nds32/nds32.md (casesi): Don't access the operands array
467 out of bounds.
468
469 2016-04-28 Uros Bizjak <ubizjak@gmail.com>
470
471 * config/i386/i386.md (zeroing peephole2): Use general_reg_operand.
472 (or $-1,reg peephole2): Ditto.
473 (strict_low_part zeroing peephole2): Use SWI12 mode iterator.
474
475 2016-04-28 Markus Trippelsdorf <markus@trippelsdorf.de>
476
477 * doc/extend.texi (Common Function Attributes) [optimize]:
478 Discourage use of the optimize attribute.
479
480 2016-04-28 Bill Seurer <seurer@linux.vnet.ibm.com>
481
482 * config/rs6000/rs6000-builtin.def (vec_adde): Change vec_adde to a
483 special case builtin.
484 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
485 ALTIVEC_BUILTIN_VEC_ADDE.
486 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Add
487 support for ALTIVEC_BUILTIN_VEC_ADDE.
488 * config/rs6000/rs6000.c (altivec_init_builtins): Add definition
489 for __builtin_vec_adde.
490
491 2016-04-28 Jakub Jelinek <jakub@redhat.com>
492
493 * config/i386/i386.md (sse4_1_round<mode>2): Add avx512f alternative.
494 * config/i386/sse.md (sse4_1_round<ssescalarmodesuffix>): Likewise.
495
496 2016-04-28 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
497
498 PR testsuite/70595
499 * doc/sourcebuild.texi (Effective-Target Keywords, Other
500 attributes): Document cilkplus_runtime.
501
502 2016-04-28 Martin Jambor <mjambor@suse.cz>
503
504 * tree-cfg.c (verify_expr): Verify that local declarations belong to
505 this function. Call verify_expr on MEM_REFs and bases of other
506 handled_components.
507
508 2016-04-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
509
510 * internal-fn.c (expand_arith_overflow): Convert preprocessor check
511 for WORD_REGISTER_OPERATIONS to runtime check.
512
513 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
514
515 * config/arc/arc.h (ASM_SPEC): Pass mfpuda to assembler.
516
517 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
518
519 * config/arc/arc.c (arc_process_double_reg_moves): Fix for
520 big-endian compilation.
521 * config/arc/arc.md (addf3): Likewise.
522 (subdf3): Likewise.
523 (muldf3): Likewise.
524
525 2016-04-28 Richard Biener <rguenther@suse.de>
526
527 PR tree-optimization/70840
528 * match.pd: powi(-x, y) and powi(|x|,y) -> powi(x,y) if y is even;
529 Fix pow(copysign(x, y), z) -> pow(x, z) and add powi variant;
530 Mark x * pow(x,c) -> pow(x,c+1) commutative.
531 Add powi(x,y) * powi(z,y) -> powi(x*z,y).
532
533 2015-04-28 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
534
535 * config/aarch64/aarch64.h (WORD_REGISTER_OPERATIONS): Define to 0
536 and explain why in a comment.
537
538 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
539
540 * config/arc/arc.md (cpu_facility): Add fpx variant.
541 (subdf3): Prohibit use reverse sub when assist operations option
542 is enabled.
543 * config/arc/fpx.md (subdf3_insn, *dsubh_peep2_insn): Allow drsub
544 instructions only when FPX is enabled.
545 * testsuite/gcc.target/arc/trsub.c: New test.
546
547 2016-04-28 Uros Bizjak <ubizjak@gmail.com>
548
549 * config/i386/i386.md (*fop_<mode>_1_mixed): Do not check for
550 mult_operator when calculating "type" attribute.
551 (*fop_<mode>_1_i387): Ditto.
552 (*fop_xf_1_i387): Ditto.
553 (x87 stack loads peephole2): Add "reg = op (mem, reg)" peephole2.
554 Use std::swap to swap operands. Use RTL expressions to generate
555 converted pattern.
556
557 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
558 Joern Rennecke <joern.rennecke@embecosm.com>
559
560 * config/arc/arc-protos.h (arc_legitimize_pic_address): Remove
561 declaration.
562 (emit_pic_move): Remove.
563 (arc_eh_uses, insn_is_tls_gd_dispatch): Declare.
564 * config/arc/arc.c (emit_pic_move): Removed.
565 (TARGET_HAVE_TLS): Define.
566 (arc_conditional_register_usage): Test for arc_tp_regno.
567 (arc_print_operand, arc_print_operand_address): Handle TLS
568 unspecs.
569 (arc_needs_pcl_p): New function.
570 (arc_legitimate_pc_offset_p): Use arc_needs_pcl_p.
571 (arc_legitimate_pic_addr_p): Handle TLS unspecs.
572 (arc_raw_symbolic_reference_mentioned_p): Likewise.
573 (arc_get_tp, arc_emit_call_tls_get_addr): New function.
574 (arc_legitimize_tls_address): Likewise.
575 (DTPOFF_ZERO_SYM): Define.
576 (arc_legitimize_pic_address): Make it static, handle TLS cases.
577 (arc_output_pic_addr_const): Print TLS unspecs.
578 (prepare_pic_move): New function, replaces emit_pic_move.
579 (arc_legitimate_constant_p): Handle TLS unspecs.
580 (arc_legitimate_address_p): Likewise.
581 (arc_rewrite_small_data_p): Use assert for TLS constants.
582 (prepare_move_operands): Use prepare_pic_move.
583 (arc_legitimize_address): Legitimize tls addresses.
584 (arc_epilogue_uses): Check for arc_tp_regno.
585 (arc_eh_uses, insn_is_tls_gd_dispatch): New function.
586 * config/arc/arc.h [DEFAULT_LIBC != LIBC_UCLIBC] (EXTRA_SPECS):
587 Define.
588 [DEFAULT_LIBC != LIBC_UCLIBC] (ARC_TLS_EXTRA_START_SPEC):
589 Likewise.
590 [DEFAULT_LIBC != LIBC_UCLIBC] (STARTFILE_SPEC): Add
591 %(arc_tls_extra_start_spec).
592 (TARGET_CPU_CPP_BUILTINS): Define __ARC_TLS_REGNO__.
593 (REGNO_OK_FOR_BASE_P): Check for arc_tp_regno.
594 (EH_USES): Define.
595 (INSN_REFERENCES_ARE_DELAYED): Use insn_is_tls_gd_dispatch.
596 * config/arc/arc.md (UNSPEC_TLS_GD, UNSPEC_TLS_LD, UNSPEC_TLS_IE)
597 (UNSPEC_TLS_OFF): Add.
598 (R10_REG): Define.
599 (tls_load_tp_soft, tls_gd_load, tls_gd_get_addr, tls_gd_dispatch)
600 (get_thread_pointersi): New patterns.
601 * config/arc/arc.opt (mtp-regno): New option.
602 * config/arc/predicates.md (move_src_operand): Handle TLS symbols.
603 (move_dest_operand): Likewise.
604 * configure: Regenerate.
605 * configure.ac: Add arc*-*-* case to test for tls.
606 * doc/invoke.texi (ARC options): Document mtp-regno.
607
608 2016-04-28 Claudiu Zissulescu <claziss@synopsys.com>
609
610 * config/arc/arc.c (arc_vector_mode_supported_p): Add support for
611 the new ARC HS SIMD instructions.
612 (arc_preferred_simd_mode): New function.
613 (arc_autovectorize_vector_sizes): Likewise.
614 (TARGET_VECTORIZE_PREFERRED_SIMD_MODE)
615 (TARGET_VECTORIZE_AUTOVECTORIZE_VECTOR_SIZES): Define.
616 (arc_init_reg_tables): Accept new ARC HS SIMD modes.
617 (arc_init_builtins): Add new SIMD builtin types.
618 (arc_split_move): Handle 64 bit vector moves.
619 * config/arc/arc.h (TARGET_PLUS_DMPY, TARGET_PLUS_MACD)
620 (TARGET_PLUS_QMACW): Define.
621 * config/arc/builtins.def (QMACH, QMACHU, QMPYH, QMPYHU, DMACH)
622 (DMACHU, DMPYH, DMPYHU, DMACWH, DMACWHU, VMAC2H, VMAC2HU, VMPY2H)
623 (VMPY2HU, VADDSUB2H, VSUBADD2H, VADDSUB, VSUBADD, VADDSUB4H)
624 (VSUBADD4H): New builtins.
625 * config/arc/simdext.md: Add new ARC HS SIMD instructions.
626 * testsuite/gcc.target/arc/builtin_simdarc.c: New file.
627
628 2016-04-28 Eduard Sanou <dhole@openmailbox.org>
629 Matthias Klose <doko@debian.org>
630
631 * doc/cppenv.texi: Document SOURCE_DATE_EPOCH environment variable.
632
633 2016-04-28 Richard Biener <rguenther@suse.de>
634
635 PR middle-end/70777
636 * fold-const.c (fold_binary_loc): Remove x*x to pow(x,2.0)
637 canonicalization.
638
639 2016-04-28 Oleg Endo <olegendo@gcc.gnu.org>
640
641 * common/config/sh/sh-common.c: Remove SH5 support.
642 * config/sh/constraints.md: Likewise.
643 * config/sh/config/sh/elf.h: Likewise.
644 * config/sh/linux.h: Likewise.
645 * config/sh/netbsd-elf.h: Likewise.
646 * config/sh/predicates.md: Likewise.
647 * config/sh/sh-c.c: Likewise.
648 * config/sh/sh-protos.h: Likewise.
649 * config/sh/sh.c: Likewise.
650 * config/sh/sh.h: Likewise.
651 * config/sh/sh.md: Likewise.
652 * config/sh/sh.opt: Likewise.
653 * config/sh/sync.md: Likewise.
654 * config/sh/sh64.h: Delete.
655 * config/sh/shmedia.h: Likewise.
656 * config/sh/shmedia.md: Likewise.
657 * config/sh/sshmedia.h: Likewise.
658 * config/sh/t-netbsd-sh5-64: Likewise.
659 * config/sh/t-sh64: Likewise.
660 * config/sh/ushmedia.h: Likewise.
661
662 2016-04-28 Uros Bizjak <ubizjak@gmail.com>
663
664 * config/i386/i386.md (sign_extend to memory peephole2s): Use
665 general_reg_operand instead of register_operand predicate.
666
667 2016-04-27 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
668
669 * params.def (MIN_PARTITION_SIZE): Set default value to 10000.
670
671 2016-04-27 Marc Glisse <marc.glisse@inria.fr>
672
673 * match.pd (A - B > A, A + B < A): New transformations.
674
675 2016-04-27 Patrick Palka <ppalka@gcc.gnu.org>
676
677 * genattrtab.c (write_test_expr): New parameter EMIT_PARENS
678 which defaults to true. Emit an outer pair of parentheses only if
679 EMIT_PARENS. When continuing a chain of && or || (or & or |),
680 don't emit parentheses for the right-hand operand.
681
682 2016-04-27 Jeff Law <law@redhat.com>
683
684 * tree-ssa-dom.c (record_temporary_equivalences): Fix typo in comment.
685
686 2016-04-27 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
687
688 * config/rs6000/altivec.md (altivec_lvx_<mode>): Remove.
689 (altivec_lvx_<mode>_internal): Document.
690 (altivec_lvx_<mode>_2op): New define_insn.
691 (altivec_lvx_<mode>_1op): Likewise.
692 (altivec_lvx_<mode>_2op_si): Likewise.
693 (altivec_lvx_<mode>_1op_si): Likewise.
694 (altivec_stvx_<mode>): Remove.
695 (altivec_stvx_<mode>_internal): Document.
696 (altivec_stvx_<mode>_2op): New define_insn.
697 (altivec_stvx_<mode>_1op): Likewise.
698 (altivec_stvx_<mode>_2op_si): Likewise.
699 (altivec_stvx_<mode>_1op_si): Likewise.
700 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
701 Expand vec_ld and vec_st during parsing.
702 * config/rs6000/rs6000.c (altivec_expand_lvx_be): Commentary
703 changes.
704 (altivec_expand_stvx_be): Likewise.
705 (altivec_expand_lv_builtin): Expand lvx built-ins to expose the
706 address-masking behavior in RTL.
707 (altivec_expand_stv_builtin): Expand stvx built-ins to expose the
708 address-masking behavior in RTL.
709 (altivec_expand_builtin): Change builtin code arguments for calls
710 to altivec_expand_stv_builtin and altivec_expand_lv_builtin.
711 (insn_is_swappable_p): Avoid incorrect swap optimization in the
712 presence of lvx/stvx patterns.
713 (alignment_with_canonical_addr): New function.
714 (alignment_mask): Likewise.
715 (find_alignment_op): Likewise.
716 (recombine_lvx_pattern): Likewise.
717 (recombine_stvx_pattern): Likewise.
718 (recombine_lvx_stvx_patterns): Likewise.
719 (rs6000_analyze_swaps): Perform a pre-pass to recognize lvx and
720 stvx patterns from expand.
721 * config/rs6000/vector.md (vector_altivec_load_<mode>): Use new
722 expansions.
723 (vector_altivec_store_<mode>): Likewise.
724
725 2016-04-26 Evandro Menezes <e.menezes@samsung.com>
726
727 * config/aarch64/aarch64.md
728 (*movhf_aarch64): Add "movi %0, #0" to zero up register and
729 remove the "fp" attributes.
730 (*movsf_aarch64): Add "movi %0, #0" to zero up register and
731 add the "simd" attributes.
732 (*movdf_aarch64): Likewise.
733 (*movtf_aarch64): Remove the "fp" attributes.
734 * testsuite/gcc.target/aarch64/fmovf-zero-reg.c: Update accordingly.
735 * testsuite/gcc.target/aarch64/fmovd-zero-reg.c: Likewise.
736
737 2016-04-27 David Malcolm <dmalcolm@redhat.com>
738
739 * emit-rtl.c (maybe_set_first_label_num): Strengthen param from
740 rtx to rtx_code_label *.
741 * rtl.h (maybe_set_first_label_num): Likewise.
742
743 2016-04-27 David Malcolm <dmalcolm@redhat.com>
744
745 * df-core.c (df_add_problem): Make the problem param be const.
746 (df_remove_problem): Make local "problem" be const.
747 * df-problems.c (problem_RD): Make const.
748 (problem_LR): Likewise.
749 (problem_LIVE): Likewise.
750 (problem_MIR): Likewise.
751 (problem_CHAIN): Likewise.
752 (problem_WORD_LR): Likewise.
753 (problem_NOTE): Likewise.
754 (problem_MD): Likewise.
755 * df-scan.c (problem_SCAN): Likewise.
756 * df.h (struct df_problem): Make field "dependent_problem" be
757 const.
758 (struct dataflow): Likewise for field "problem".
759 (df_add_problem): Make param const.
760
761 2016-04-27 Uros Bizjak <ubizjak@gmail.com>
762
763 * config/i386/i386.c (ix86_spill_class): Enable for TARGET_SSE2 when
764 inter-unit moves to/from vector registers are enabled. Do not disable
765 for TARGET_MMX.
766
767 2016-04-27 David Malcolm <dmalcolm@redhat.com>
768
769 * df.h (DF_SCAN, DF_LR, DF_LIVE, DF_RD, DF_CHAIN, DF_WORD_LR,
770 DF_NOTE, DF_MD, DF_MIR, DF_LAST_PROBLEM_PLUS1): Convert from
771 #define to...
772 (enum df_problem_id): ...this new enum.
773 (struct df_problem): Convert field "id" from "int" to
774 enum df_problem_id.
775
776 2016-04-27 David Malcolm <dmalcolm@redhat.com>
777
778 * rtl.def: Update comment for "things in the instruction chain" to
779 reflect the removal of the leading "i" field for INSN_UID in
780 r210360. Fix bogus apostrophe.
781
782 2016-04-27 Uros Bizjak <ubizjak@gmail.com>
783
784 * config/i386/i386.md
785 (lea arith with mem operand + setcc peephole2): Set operator mode.
786
787 2016-04-27 H.J. Lu <hongjiu.lu@intel.com>
788
789 PR target/70155
790 * config/i386/i386.c (scalar_to_vector_candidate_p): Renamed to ...
791 (dimode_scalar_to_vector_candidate_p): This.
792 (timode_scalar_to_vector_candidate_p): New function.
793 (scalar_to_vector_candidate_p): Likewise.
794 (timode_check_non_convertible_regs): Likewise.
795 (timode_remove_non_convertible_regs): Likewise.
796 (remove_non_convertible_regs): Likewise.
797 (remove_non_convertible_regs): Renamed to ...
798 (dimode_remove_non_convertible_regs): This.
799 (scalar_chain::~scalar_chain): Make it virtual.
800 (scalar_chain::compute_convert_gain): Make it pure virtual.
801 (scalar_chain::mark_dual_mode_def): Likewise.
802 (scalar_chain::convert_insn): Likewise.
803 (scalar_chain::convert_registers): Likewise.
804 (scalar_chain::add_to_queue): Make it protected.
805 (scalar_chain::emit_conversion_insns): Likewise.
806 (scalar_chain::replace_with_subreg): Likewise.
807 (scalar_chain::replace_with_subreg_in_insn): Likewise.
808 (scalar_chain::convert_op): Likewise.
809 (scalar_chain::convert_reg): Likewise.
810 (scalar_chain::make_vector_copies): Likewise.
811 (scalar_chain::convert_registers): New pure virtual function.
812 (class dimode_scalar_chain): New class.
813 (class timode_scalar_chain): Likewise.
814 (scalar_chain::mark_dual_mode_def): Renamed to ...
815 (dimode_scalar_chain::mark_dual_mode_def): This.
816 (timode_scalar_chain::mark_dual_mode_def): New function.
817 (timode_scalar_chain::convert_insn): Likewise.
818 (dimode_scalar_chain::convert_registers): Likewise.
819 (scalar_chain::compute_convert_gain): Renamed to ...
820 (dimode_scalar_chain::compute_convert_gain): This.
821 (scalar_chain::replace_with_subreg): Renamed to ...
822 (dimode_scalar_chain::replace_with_subreg): This.
823 (scalar_chain::replace_with_subreg_in_insn): Renamed to ...
824 (dimode_scalar_chain::replace_with_subreg_in_insn): This.
825 (scalar_chain::make_vector_copies): Renamed to ...
826 (dimode_scalar_chain::make_vector_copies): This.
827 (scalar_chain::convert_reg): Renamed to ...
828 (dimode_scalar_chain::convert_reg ): This.
829 (scalar_chain::convert_op): Renamed to ...
830 (dimode_scalar_chain::convert_op): This.
831 (scalar_chain::convert_insn): Renamed to ...
832 (dimode_scalar_chain::convert_insn): This.
833 (scalar_chain::convert): Call convert_registers.
834 (convert_scalars_to_vector): Change to scalar_chain pointer to
835 use timode_scalar_chain in 64-bit mode and dimode_scalar_chain
836 in 32-bit mode. Delete scalar_chain pointer. Call
837 free_dominance_info in 64-bit mode.
838 (pass_stv::gate): Remove TARGET_64BIT check.
839 (ix86_option_override): Put the 64-bit STV pass before the CSE
840 pass.
841
842 2016-04-27 Pierre-Marie de Rodat <derodat@adacore.com>
843
844 * dwarf2out.h (struct dw_loc_descr_node): Remove the
845 dw_loc_frame_offset field.
846 * dwarf2out.c (new_loc_descr): Likewise.
847 (resolve_args_picking_1): Turn the VISITED hash set into a
848 FRAME_OFFSET hash map. Use it to associate a frame offset to
849 visited nodes. Remove uses of the CHECKING_P macro.
850 (resolve_args_picking): Update call to resolve_args_picking_1.
851
852 2016-04-27 Martin Liska <mliska@suse.cz>
853
854 * tree-ssa-loop-ivopts.c (iv_ca_dump): Fix level of indentation.
855 (free_loop_data): Release vuses of groups.
856
857 2016-04-27 Bin Cheng <bin.cheng@arm.com>
858
859 * tree-ssa-loop-ivopts.c (struct iv): Use pointer to struct iv_use
860 instead of redundant use_id and boolean have_use_for.
861 (struct iv_use): Change sub_id into group_id. Remove field next.
862 Move fields: related_cands, n_map_members, cost_map and selected
863 to ...
864 (struct iv_group): ... here. New structure.
865 (struct iv_common_cand): Use structure declaration directly.
866 (struct ivopts_data, iv_ca, iv_ca_delta): Rename fields.
867 (MAX_CONSIDERED_USES): Rename macro to ...
868 (MAX_CONSIDERED_GROUPS): ... here.
869 (n_iv_uses, iv_use, n_iv_cands, iv_cand): Delete.
870 (dump_iv, dump_use, dump_cand): Refactor format of dump information.
871 (dump_uses): Rename to ...
872 (dump_groups): ... here. Update all uses.
873 (tree_ssa_iv_optimize_init, alloc_iv): Update all uses.
874 (find_induction_variables): Refactor format of dump information.
875 (record_sub_use): Delete.
876 (record_use): Update all uses.
877 (record_group): New function.
878 (record_group_use, find_interesting_uses_op): Call above functions.
879 Update all uses.
880 (find_interesting_uses_cond): Ditto.
881 (group_compare_offset): New function.
882 (split_all_small_groups): Rename to ...
883 (split_small_address_groups_p): ... here. Update all uses.
884 (split_address_groups): Update all uses.
885 (find_interesting_uses): Refactor format of dump information.
886 (add_candidate_1): Update all uses. Remove redundant check on iv,
887 base and step.
888 (add_candidate, record_common_cand): Remove redundant assert.
889 (add_iv_candidate_for_biv): Update use.
890 (add_iv_candidate_derived_from_uses): Update all uses.
891 (add_iv_candidate_for_groups, record_important_candidates): Ditto.
892 (alloc_use_cost_map): Ditto.
893 (set_use_iv_cost, get_use_iv_cost): Rename to ...
894 (set_group_iv_cost, get_group_iv_cost): ... here. Update all uses.
895 (determine_use_iv_cost_generic): Ditto.
896 (determine_group_iv_cost_generic): Ditto.
897 (determine_use_iv_cost_address): Ditto.
898 (determine_group_iv_cost_address): Ditto.
899 (determine_use_iv_cost_condition): Ditto.
900 (determine_group_iv_cost_cond): Ditto.
901 (determine_use_iv_cost): Ditto.
902 (determine_group_iv_cost): Ditto.
903 (set_autoinc_for_original_candidates): Update all uses.
904 (find_iv_candidates): Update all uses. Refactor dump information.
905 (determine_use_iv_costs): Ditto.
906 (determine_iv_costs): Ditto.
907 (iv_ca_cand_for_use): Rename to ...
908 (iv_ca_cand_for_group): ... here. Update all uses.
909 (iv_ca_add_use, iv_ca_add_group): Ditto.
910 (iv_ca_set_cp, iv_ca_cost, iv_ca_delta_add): Update all uses.
911 (iv_ca_delta_join, iv_ca_delta_reverse, iv_ca_delta_free): Ditto.
912 (iv_ca_new, iv_ca_dump, iv_ca_extend, iv_ca_narrow): Ditto.
913 (iv_ca_prune, cheaper_cost_with_cand, iv_ca_replace): Ditto.
914 (try_add_cand_for, try_improve_iv_set, find_optimal_iv_set): Ditto.
915 (create_new_iv, adjust_iv_update_pos): Ditto.
916 (rewrite_use_address): Delete.
917 (rewrite_use_address_1): Rename to ...
918 (rewrite_use_address): ... here.
919 (rewrite_use_compare): Update all uses.
920 (rewrite_use): Delete.
921 (rewrite_uses): Rename to ...
922 (rewrite_groups): ... here. Update all uses.
923 (remove_unused_ivs, free_loop_data): Update all uses.
924 (tree_ssa_iv_optimize_finalize, tree_ssa_iv_optimize_loop): Ditto.
925
926 2016-04-27 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
927
928 * rtlanal.c (nonzero_bits1): Convert preprocessor check
929 for WORD_REGISTER_OPERATIONS to runtime check.
930
931 2016-04-27 Richard Biener <rguenther@suse.de>
932
933 PR ipa/70760
934 * tree-ssa-structalias.c (find_func_aliases_for_call): Use
935 aggregate_value_p to determine if a function result is
936 returned by reference.
937 (ipa_pta_execute): Functions having their address taken are
938 not automatically nonlocal.
939
940 2016-04-27 Jakub Jelinek <jakub@redhat.com>
941
942 PR sanitizer/70683
943 * tree-core.h (enum operand_equal_flag): Add OEP_NO_HASH_CHECK.
944 * fold-const.c (operand_equal_p): If flag_checking and
945 OEP_NO_HASH_CHECK is not set in flag, recurse with OEP_NO_HASH_CHECK
946 and if it returns non-zero, assert iterative_hash_expr on both
947 args is the same.
948
949 2016-04-27 Bernd Schmidt <bschmidt@redhat.com>
950
951 * doc/invoke.texi (-frename-registers): Also enabled at -Os.
952
953 2016-04-27 Nick Clifton <nickc@redhat.com>
954
955 PR middle-end/49889
956 * varasm.c (merge_weak): Generate an error if an attempt is made
957 to convert a non-weak static function into a weak, public function.
958
959 2016-04-27 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
960
961 * params.def (MAX_PARTITION_SIZE): New param.
962 * doc/invoke.texi: Document lto-max-partition.
963
964 2016-04-27 Richard Biener <rguenther@suse.de>
965
966 PR ipa/70785
967 * tree-ssa-structalias.c (refered_from_nonlocal_fn): New
968 function cummulating used_from_other_partition, externally_visible
969 and force_output from aliases.
970 (refered_from_nonlocal_var): Likewise.
971 (ipa_pta_execute): Use call_for_symbol_and_aliases to cummulate
972 node flags properly.
973
974 2016-04-27 Bernd Schmidt <bschmidt@redhat.com>
975
976 * doc/invoke.texi (Warning Options): Add -Wmemset-elt-size.
977 (-Wmemset-elt-size): New item.
978
979 2016-04-27 Eric Botcazou <ebotcazou@adacore.com>
980
981 PR ada/70759
982 * stor-layout.h (internal_reference_types): Delete.
983 * stor-layout.c (reference_types_internal): Likewise.
984 (internal_reference_types): Likewise.
985 (layout_type) <REFERENCE_TYPE>: Adjust.
986
987 2016-04-27 Jakub Jelinek <jakub@redhat.com>
988
989 PR sanitizer/70683
990 * tree.h (inchash::add_expr): Add FLAGS argument.
991 * tree.c (inchash::add_expr): Likewise. If not OEP_ADDRESS_OF,
992 use STRIP_NOPS first. For INTEGER_CST assert not OEP_ADDRESS_OF.
993 For REAL_CST and !HONOR_SIGNED_ZEROS (t) hash +/- 0 the same.
994 Formatting fix. Adjust recursive calls. For tcc_comparison,
995 if swap_tree_comparison (code) is smaller than code, hash that
996 and arguments in the other order. Hash CONVERT_EXPR the same
997 as NOP_EXPR. For OEP_ADDRESS_OF hash MEM_REF with 0 offset
998 of ADDR_EXPR of decl as the decl itself. Add or remove
999 OEP_ADDRESS_OF from recursive flags as needed. For
1000 FMA_EXPR, WIDEN_MULT_{PLUS,MINUS}_EXPR hash the first two
1001 operands commutatively and only the third one normally.
1002 For internal CALL_EXPR hash in CALL_EXPR_IFN.
1003
1004 2016-04-27 Sebastian Huber <sebastian.huber@embedded-brains.de>
1005
1006 * config/rtems.h (LIB_SPEC): Add -latomic.
1007
1008 2016-04-27 Joel Sherrill <joel@rtems.org>
1009
1010 * config/microblaze/rtems.h: Redefine LINK_SPEC to avoid
1011 xilink.ld and flags not relevant to RTEMS.
1012
1013 2016-04-26 Zhouyi Zhou <yizhouzhou@ict.ac.cn>
1014
1015 * toplev.c (backend_init_target): Avoid calling init_reload when using
1016 LRA.
1017
1018 2016-04-26 Jakub Jelinek <jakub@redhat.com>
1019
1020 * reorg.c (try_merge_delay_insns): Declare i and j inside the
1021 for loops rather than one for the whole function.
1022
1023 2016-04-26 Marc Glisse <marc.glisse@inria.fr>
1024
1025 * match.pd (X + CST CMP X): New transformation.
1026
1027 2016-04-26 Marc Glisse <marc.glisse@inria.fr>
1028
1029 * genmatch.c (write_predicate): Add ATTRIBUTE_UNUSED.
1030 * fold-const.c (fold_binary_loc): Remove 2 transformations
1031 superseded by match.pd.
1032 * match.pd (x+x -> x*2): Generalize to integers.
1033
1034 2016-04-26 Bernd Schmidt <bschmidt@redhat.com>
1035
1036 * config/i386/i386.md (operation on memory peephole): Duplicate an
1037 existing peephole and adapt it to match lea rather than an operation
1038 that clobbers CC.
1039
1040 PR rtl-optimization/57193
1041 * opts.c (default_options_table): Add OPT_frename_registers at -O2
1042 and above.
1043 * doc/invoke.texi (-frename-registers, -O2): Update documentation.
1044
1045 2016-04-26 Bin Cheng <bin.cheng@arm.com>
1046
1047 * tree-if-conv.c (any_pred_load_store): New static variable.
1048 (if_convertible_gimple_assign_stmt_p): Remove parameter. Use
1049 any_pred_load_store instead of and_mask_load_store.
1050 (if_convertible_stmt_p, if_convertible_loop_p_1): Ditto.
1051 (if_convertible_loop_p, insert_gimplified_predicates): Ditto.
1052 (combine_blocks, tree_if_conversion): Ditto.
1053
1054 2016-04-26 Bin Cheng <bin.cheng@arm.com>
1055
1056 PR tree-optimization/70771
1057 PR tree-optimization/70775
1058 * tree-if-conv.c (if_convertible_phi_p): Remove check on special
1059 virtual PHI nodes. Delete parameter.
1060 (if_convertible_loop_p_1): Delete argument to above function.
1061 (predicate_all_scalar_phis): Delete code handling single-argument
1062 PHIs.
1063 (tree_if_conversion): Mark and update virtual SSA.
1064
1065 2016-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1066
1067 PR target/61821
1068 * config/i386/i386.c (LARGECOMM_SECTION_ASM_OP): Define default.
1069 (x86_elf_aligned_common): Rename to ...
1070 (x86_elf_aligned_decl_common): ... this.
1071 Add decl arg. Switch to .lbss for largecomm object. Use
1072 LARGECOMM_SECTION_ASM_OP.
1073 * config/i386/i386-protos.h (x86_elf_aligned_common): Reflect
1074 renaming.
1075 * config/i386/x86-64.h (ASM_OUTPUT_ALIGNED_COMMON): Rename to ...
1076 (ASM_OUTPUT_ALIGNED_DECL_COMMON): ... this.
1077 Pass new decl arg.
1078 * config/i386/sol2.h (ASM_OUTPUT_ALIGNED_COMMON): Likewise.
1079 [!USE_GAS] (LARGECOMM_SECTION_ASM_OP): Define.
1080
1081 2016-04-26 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1082
1083 PR target/59407
1084 * config/i386/i386.c (SECTION_LARGE): Define.
1085 (x86_64_elf_select_section): Set it for large data/bss sections.
1086 Only clear SECTION_WRITE for .lrodata.
1087 (x86_64_elf_section_type_flags): Set SECTION_LARGE for large
1088 data/bss sections.
1089 * config/i386/sol2.h (MACH_DEP_SECTION_ASM_FLAG): Define.
1090 * varasm.c (default_elf_asm_named_section): Grow flagchars.
1091 [MACH_DEP_SECTION_ASM_FLAG] Emit MACH_DEP_SECTION_ASM_FLAG for
1092 SECTION_MACH_DEP.
1093 * doc/tm.texi.in (Sections, MACH_DEP_SECTION_ASM_FLAG): Describe.
1094 * doc/tm.texi: Regenerate.
1095
1096 2016-04-26 Jakub Jelinek <jakub@redhat.com>
1097
1098 PR bootstrap/70704
1099 * configure.ac (--enable-checking): Document extra flag, for
1100 non-release builds default to --enable-checking=yes,extra.
1101 If misc checking and extra checking, define CHECKING_P to 2 instead
1102 of 1.
1103 * common.opt (fchecking=): Add.
1104 * doc/invoke.texi (-fchecking=): Document.
1105 * doc/install.texi: Document --enable-checking changes.
1106 * configure: Regenerated.
1107 * config.in: Regenerated.
1108
1109 2016-04-25 Uros Bizjak <ubizjak@gmail.com>
1110
1111 * config/i386/i386.md (*movxi_internal_avx512f): Use insn type
1112 attribute instead of which_alternative.
1113 * config/i386/sse.md (*mov<mode>_internal): Ditto.
1114 Use EXT_REX_SSE_REG_P where appropriate.
1115
1116 2016-04-25 Uros Bizjak <ubizjak@gmail.com>
1117
1118 * config/i386/predicates.md (const0_operand): Do not match
1119 const_wide_int code.
1120 (const1_operand): Ditto.
1121
1122 2016-04-25 Uros Bizjak <ubizjak@gmail.com>
1123
1124 * config/i386/i386.md (*movoi_internal_avx): Set mode attribute to XI
1125 for SSE constm1 operands and TARGET_AVX512VL.
1126 (*movti_internal): Ditto.
1127 (*mov<mode>_or): Use constm1_operand predicate.
1128 * config/i386/sse.md (*mov<mode>_internal): Set mode attribute to XI
1129 for SSE vector_all_ones operands and TARGET_AVX512VL.
1130 * config/i386/predicates.md (constm1_operand): New predicate.
1131 * config/i386/i386.c (standard_sse_constant_opcode): Simplify
1132 emission of constant -1 load.
1133
1134 2016-04-25 Jason Merrill <jason@redhat.com>
1135
1136 * gdbinit.in: Skip is-a.h.
1137
1138 * attribs.c (register_scoped_attributes): Fix logic.
1139 * attribs.h: Declare register_scoped_attributes.
1140
1141 2016-04-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1142
1143 * config/rs6000/rs6000-builtin.def: Correct pasto error for
1144 stxvd2x and stxvw4x built-in functions.
1145
1146 2016-04-25 DJ Delorie <dj@redhat.com>
1147
1148 * config/msp430/msp430.md (ashlhi3): Optimize one bit shifts.
1149 (ashrhi3): Likewise.
1150 (lshrhi3): Likewise.
1151
1152 2016-04-25 Richard Biener <rguenther@suse.de>
1153
1154 PR tree-optimization/70780
1155 * tree-ssa-pre.c (compute_antic_aux): Also return true if the block
1156 wasn't visited yet.
1157 (compute_antic): Mark blocks with abnormal preds as visited as
1158 they have a final empty antic-in solution already.
1159
1160 2016-04-25 Michael Collison <michael.collison@linaro.org>
1161
1162 * ChangeLog(2016-04-25): Fix ChangeLog formatting.
1163
1164 2016-04-25 Michael Collison <michael.collison@linaro.org>
1165
1166 * config/arm/neon.md (widen_<us>sum<mode>): New patterns where
1167 mode is VQI to improve mixed mode vectorization.
1168 * config/arm/neon.md (vec_sel_widen_ssum_lo<VQI:mode><VW:mode>3): New
1169 define_insn to match low half of signed vaddw.
1170 * config/arm/neon.md (vec_sel_widen_ssum_hi<VQI:mode><VW:mode>3): New
1171 define_insn to match high half of signed vaddw.
1172 * config/arm/neon.md (vec_sel_widen_usum_lo<VQI:mode><VW:mode>3): New
1173 define_insn to match low half of unsigned vaddw.
1174 * config/arm/neon.md (vec_sel_widen_usum_hi<VQI:mode><VW:mode>3): New
1175 define_insn to match high half of unsigned vaddw.
1176 * config/arm/arm.c (arm_simd_vect_par_cnst_half): New function.
1177 (arm_simd_check_vect_par_cnst_half_p): Likewise.
1178 * config/arm/arm-protos.h (arm_simd_vect_par_cnst_half): Prototype
1179 for new function.
1180 (arm_simd_check_vect_par_cnst_half_p): Likewise.
1181 * config/arm/predicates.md (vect_par_constant_high): Support
1182 big endian and simplify by calling
1183 arm_simd_check_vect_par_cnst_half
1184 (vect_par_constant_low): Likewise.
1185
1186 2016-04-25 Uros Bizjak <ubizjak@gmail.com>
1187
1188 * config/i386/i386.md (*lea<mode>_general_4): Use const_0_to_3_operand
1189 predicate for operand 2.
1190
1191 2016-04-24 Uros Bizjak <ubizjak@gmail.com>
1192 H.J. Lu <hongjiu.lu@intel.com>
1193
1194 * config/i386/i386-protos.h (standard_sse_constant_p): Add
1195 machine_mode argument.
1196 * config/i386/i386.c (standard_sse_constant_p): Return 2 for
1197 constm1_rtx operands. For VOIDmode constants, get mode from
1198 pred_mode. Check mode size if the mode is supported by ABI.
1199 (standard_sse_constant_opcode): Do not use standard_constant_p.
1200 Strictly check ABI support for all-ones operands.
1201 (ix86_legitimate_constant_p): Handle TImode, OImode and XImode
1202 immediates. Update calls to standard_sse_constant_p.
1203 (ix86_expand_vector_move): Update calls to standard_sse_constant_p.
1204 (ix86_rtx_costs): Ditto.
1205 * config/i386/i386.md (*movxi_internal_avx512f): Use
1206 nonimmediate_or_sse_const_operand instead of vector_move_operand.
1207 Use (v,BC) alternative instead of (v,C). Use register_operand
1208 checks instead of MEM_P.
1209 (*movoi_internal_avx): Use nonimmediate_or_sse_const_operand instead
1210 of vector_move_operand. Add (v,BC) alternative and corresponding avx2
1211 isa attribute. Use register_operand checks instead of MEM_P.
1212 (*movti_internal): Use nonimmediate_or_sse_const_operand for
1213 TARGET_SSE. Improve TARGET_SSE insn constraint. Add (v,BC)
1214 alternative and corresponding sse2 isa attribute.
1215 (*movtf_internal, *movdf_internal, *movsf_interal): Update calls
1216 to standard_sse_constant_p.
1217 (FP constant splitters): Ditto.
1218 * config/i386/constraints.md (BC): Do not use standard_sse_constant_p.
1219 (C): Ditto.
1220 * config/i386/predicates.md (constm1_operand): Remove.
1221 (nonimmediate_or_sse_const_operand): Rewrite using RTX.
1222 * config/i386/sse.md (*<avx512>_cvtmask2<ssemodesuffix><mode>): Use
1223 vector_all_ones_operand instead of constm1_operand.
1224
1225 2016-04-24 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1226
1227 * print-rtl.c (print_rtx_insn_vec): New function.
1228 * print-rtl.h: New prototype.
1229 * store-motion.c (struct st_expr): Make avail_stores a vector.
1230 (st_expr_entry): Adjust.
1231 (free_st_expr_entry): Likewise.
1232 (print_store_motion_mems): Likewise.
1233 (find_moveable_store): Likewise.
1234 (compute_store_table): Likewise.
1235 (delete_store): Likewise.
1236 (build_store_vectors): Likewise.
1237
1238 2016-04-24 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1239
1240 * reorg.c (try_merge_delay_insns): Make merged_insns a vector.
1241
1242 2016-04-24 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1243
1244 * vec.h (vec_safe_contains): New function.
1245 (vec::contains): Likewise.
1246 (vec::begin): Likewise.
1247 (vec::end): Likewise.
1248
1249 2016-04-23 Jakub Jelinek <jakub@redhat.com>
1250
1251 PR sanitizer/70712
1252 * cfgexpand.c (expand_stack_vars): Fix typo.
1253
1254 2016-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1255
1256 * system.h (list, map, set, vector): Include conditionally.
1257 * auto-profile.c (INCLUDE_MAP, INCLUDE_SET): Define.
1258 * graphite-isl-ast-to-gimple.c (INCLUDE_MAP): Define.
1259 * ipa-icf.c (INCLUDE_LIST): Define.
1260 * config/aarch64/cortex-a57-fma-steering.c (INCLUDE_LIST): Define.
1261 * config/sh/sh.c (INCLUDE_VECTOR): Define.
1262 * config/sh/sh_treg_combine.cc (INCLUDE_ALGORITHM): Define.
1263 (INCLUDE_LIST, INCLUDE_VECTOR): Define.
1264 * cp/logic.cc (INCLUDE_LIST): Define.
1265 * fortran/trans-common.c (INCLUDE_MAP): Define.
1266
1267 2016-04-22 Szabolcs Nagy <szabolcs.nagy@arm.com>
1268
1269 * auto-profile.c: Remove <string.h> include.
1270 * ipa-icf-gimple.c: Remove <list> include.
1271 * diagnostic.c: Remove <new> include.
1272 * genmatch.c: Likewise.
1273 * pretty-print.c: Likewise.
1274 * toplev.c: Likewise
1275 * c/c-objc-common.c: Likewise.
1276 * cp/error.c: Likewise.
1277 * fortran/error.c: Likewise.
1278
1279 2016-04-22 Richard Biener <rguenther@suse.de>
1280
1281 * lto-streamer-in.c (input_ssa_names): Do not allocate
1282 GIMPLE_NOP for all SSA names.
1283 * lto-streamer-out.c (output_ssa_names): Do not output
1284 SSA names that should have been released.
1285
1286 2016-04-22 Richard Biener <rguenther@suse.de>
1287
1288 PR tree-optimization/70740
1289 * tree-ssa-phiprop.c (propagate_with_phi): Handle inserted
1290 VDEF.
1291
1292 2016-04-21 H.J. Lu <hongjiu.lu@intel.com>
1293
1294 PR target/70750
1295 * config/i386/predicates.md (call_insn_operand): Replace
1296 sibcall_memory_operand with memory_operand.
1297
1298 2016-04-21 Patrick Palka <ppalka@gcc.gnu.org>
1299
1300 * tree-vrp.c (register_edge_assert_for_2): Remove redundant
1301 has_single_use() tests.
1302 (register_edge_assert_for_1): Likewise.
1303 (find_assert_locations_1): Check the liveness bitmap instead of
1304 checking has_single_use().
1305
1306 2016-04-21 Kirill Yukhin <kirill.yukhin@intel.com>
1307
1308 PR target/70728
1309 * gcc/config/i386/sse.md (define_insn "<shift_insn><mode>3<mask_name>"):
1310 Extract AVX-512BW constraint from AVX.
1311
1312 2016-04-21 Richard Biener <rguenther@suse.de>
1313
1314 PR tree-optimization/70725
1315 * tree-if-conv.c (if_convertible_phi_p): Adjust guard
1316 for phi_convertible_by_degenerating_args.
1317 (predicate_all_scalar_phis): Handle single-argument PHIs.
1318
1319 2016-04-21 Richard Biener <rguenther@suse.de>
1320
1321 PR middle-end/70747
1322 * fold-const.c (fold_comparison): Return properly typed
1323 constant boolean.
1324
1325 2016-04-21 Bin Cheng <bin.cheng@arm.com>
1326
1327 PR tree-optimization/70715
1328 * tree-ssa-loop-niter.c (loop_exits_before_overflow): Check equality
1329 after expanding BASE using expand_simple_operations.
1330
1331 2016-04-21 Marc Glisse <marc.glisse@inria.fr>
1332
1333 * match.pd (min(-x, -y), max(-x, -y), min(~x, ~y), max(~x, ~y)):
1334 New transformations.
1335
1336 2016-04-21 Marc Glisse <marc.glisse@inria.fr>
1337
1338 * match.pd (min(int_max, x), max(int_min, x)): New transformations.
1339
1340 2016-04-20 Jan Hubicka <jh@suse.cz>
1341
1342 * ipa-inline.c (can_inline_edge_p): Pass caller info to
1343 ultiimate_alias_target.
1344 (update_callee_keys): Likewise.
1345 (lookup_recursive_calls): Likewise.
1346 (speculation_useful_p): Likewise.
1347
1348 2016-04-20 Jan Hubicka <jh@suse.cz>
1349
1350 PR ipa/70018
1351 * cgraph.c (cgraph_set_nothrow_flag_1): Rename to ...
1352 (set_nothrow_flag_1): ... this; handle interposition correctly;
1353 recurse on aliases and thunks.
1354 (cgraph_node::set_nothrow_flag): New.
1355 * ipa-pure-const.c (ignore_edge_for_nothrow): Ignore calls to
1356 functions compiled with non-call exceptions that binds to current
1357 def.
1358 (propagate_nothrow): Be safe WRT interposition.
1359 * cgraph.h (set_nothrow_flag): Update prototype.
1360
1361 2016-04-18 Jan Hubicka <jh@suse.cz>
1362
1363 * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Use also
1364 max_loop_iterations_int.
1365 (tree_unswitch_outer_loop): Likewise.
1366
1367 2016-04-20 Bin Cheng <bin.cheng@arm.com>
1368
1369 PR tree-optimization/69489
1370 * tree-if-conv.c (phi_convertible_by_degenerating_args): New.
1371 (if_convertible_phi_p): Call phi_convertible_by_degenerating_args.
1372 Revise dump message.
1373 (if_convertible_bb_p): Remove check on edge count of basic block's
1374 predecessors.
1375
1376 2016-04-20 Bin Cheng <bin.cheng@arm.com>
1377
1378 PR tree-optimization/56625
1379 PR tree-optimization/69489
1380 * tree-data-ref.h (DR_INNERMOST): New macro.
1381 * tree-if-conv.c (innermost_loop_behavior_hash): New class for
1382 hashing struct innermost_loop_behavior.
1383 (ref_DR_map): Remove.
1384 (innermost_DR_map): New map.
1385 (baseref_DR_map): Revise comment.
1386 (hash_memrefs_baserefs_and_store_DRs_read_written_info): Store DR
1387 to innermost_DR_map accroding to its innermost loop behavior.
1388 (ifcvt_memrefs_wont_trap): Get DR from innermost_DR_map according
1389 to its innermost loop behavior.
1390 (if_convertible_loop_p_1): Remove intialization for ref_DR_map.
1391 Add initialization for innermost_DR_map. Record memory reference
1392 in DR_BASE_ADDRESS if the reference is compound one or it doesn't
1393 have innermost loop behavior.
1394 (if_convertible_loop_p): Remove release for ref_DR_map. Release
1395 innermost_DR_map.
1396
1397 2016-04-20 Uros Bizjak <ubizjak@gmail.com>
1398
1399 * config/i386/i386.md (*lea<mode>_general_1): Rename from
1400 *lea_general_1. Use explicit SWI12 mode interator.
1401 (*lea<mode>_general_2): Rename from *lea_general_2.
1402 Use explicit SWI12 mode interator.
1403 (*lea<mode>_general_3): Rename from *lea_general_3.
1404 Use explicit SWI12 mode interator.
1405 (*lea<SWI12:mode>_general_4): Split from *lea_general_4.
1406 Use explicit SWI12 mode interator.
1407 (*lea<SWI48:mode>_general_4): Split from *lea_general_4.
1408 Use explicit SWI48 mode interator.
1409
1410 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1411
1412 * config/i386/i386.c (ix86_avx256_split_vector_move_misalign):
1413 Short-cut unaligned load and store cases. Handle all integer
1414 vector modes.
1415 (ix86_expand_vector_move_misalign): Short-cut unaligned load
1416 and store cases. Call ix86_avx256_split_vector_move_misalign
1417 directly without checking mode class.
1418
1419 2016-04-20 Andrew Pinski <apinski@cavium.com>
1420 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1421
1422 PR target/64971
1423 * config/aarch64/aarch64.md (sibcall): Force call
1424 address to be DImode for ILP32.
1425 (sibcall_value): Likewise.
1426
1427 2016-04-20 H.J. Lu <hongjiu.lu@intel.com>
1428
1429 * doc/invoke.texi: Replace -skip-rax-setup with -mskip-rax-setup.
1430
1431 2016-04-20 Richard Biener <rguenther@suse.de>
1432
1433 * gimple-match.h (maybe_build_generic_op): Adjust prototype.
1434 * gimple-match-head.c (maybe_build_generic_op): Pass all ops
1435 by reference, clear op1 and op2 when GENERICizing BIT_FIELD_REF.
1436 (maybe_push_res_to_seq): Adjust.
1437 * gimple-fold.c (maybe_build_generic_op): Likewise.
1438
1439 2016-04-20 Marek Polacek <polacek@redhat.com>
1440
1441 * tree-if-conv.c (is_false_predicate): For NULL_TREE return false
1442 rather than true.
1443
1444 2016-04-20 Ilya Enkovich <ilya.enkovich@intel.com>
1445
1446 * config/i386/sse.md (vec_unpacks_lo_hi): Always
1447 use kmovw to support AVX512F target.
1448
1449 2016-04-20 Bin Cheng <bin.cheng@arm.com>
1450
1451 * tree-scalar-evolution.c (interpret_rhs_expr): Handle BIT_AND_EXPR.
1452
1453 2016-04-20 Marek Polacek <polacek@redhat.com>
1454
1455 PR tree-optimization/70725
1456 * tree-if-conv.c (is_false_predicate): New function.
1457 (predicate_mem_writes): Use it.
1458
1459 2016-04-20 Richard Biener <rguenther@suse.de>
1460
1461 PR tree-optimization/70726
1462 * tree-vect-stmts.c (vectorizable_shift): Do not use scalar
1463 shift amounts from a pattern stmt operand.
1464
1465 2016-04-20 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1466
1467 PR target/70674
1468 * config/s390/s390.c (s390_restore_gprs_from_fprs): Pick the new
1469 stack_restore_from_fpr pattern when restoring r15.
1470 (s390_optimize_prologue): Strip away the memory barrier in the
1471 parallel when trying to get rid of restore insns.
1472 * config/s390/s390.md ("stack_restore_from_fpr"): New insn
1473 definition for loading the stack pointer from an FPR. Compared to
1474 the normal move insn this pattern includes a full memory barrier.
1475
1476 2016-04-19 Jakub Jelinek <jakub@redhat.com>
1477
1478 PR middle-end/70680
1479 * gimplify.c (gimplify_omp_for): Call omp_notice_variable for
1480 implicitly linear or lastprivate iterator on the outer context.
1481
1482 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1483
1484 * config/i386/i386.c (ix86_legitimate_combined_insn): Remove
1485 alignment check.
1486 * config/i386/i386.md (ssememalign): Removed.
1487 * config/i386/sse.md: Remove ssememalign attribute from patterns.
1488
1489 2016-04-19 H.J. Lu <hongjiu.lu@intel.com>
1490
1491 PR target/69201
1492 * config/i386/avx512bwintrin.h (_mm512_mask_loadu_epi16): Pass
1493 const short * to __builtin_ia32_loaddquhi512_mask.
1494 (_mm512_maskz_loadu_epi16): Likewise.
1495 (_mm512_mask_storeu_epi16): Pass short * to
1496 __builtin_ia32_storedquhi512_mask.
1497 (_mm512_mask_loadu_epi8): Pass const char * to
1498 __builtin_ia32_loaddquqi512_mask.
1499 (_mm512_maskz_loadu_epi8): Likewise.
1500 (_mm512_mask_storeu_epi8): Pass char * to
1501 __builtin_ia32_storedquqi512_mask.
1502 * config/i386/avx512fintrin.h (_mm512_loadu_pd): Pass
1503 const double * to __builtin_ia32_loadupd512_mask.
1504 (_mm512_mask_loadu_pd): Likewise.
1505 (_mm512_maskz_loadu_pd): Likewise.
1506 (_mm512_storeu_pd): Pass double * to
1507 __builtin_ia32_storeupd512_mask.
1508 (_mm512_mask_storeu_pd): Likewise.
1509 (_mm512_loadu_ps): Pass const float * to
1510 __builtin_ia32_loadups512_mask.
1511 (_mm512_mask_loadu_ps): Likewise.
1512 (_mm512_maskz_loadu_ps): Likewise.
1513 (_mm512_storeu_ps): Pass float * to
1514 __builtin_ia32_storeups512_mask.
1515 (_mm512_mask_storeu_ps): Likewise.
1516 (_mm512_mask_loadu_epi64): Pass const long long * to
1517 __builtin_ia32_loaddqudi512_mask.
1518 (_mm512_maskz_loadu_epi64): Likewise.
1519 (_mm512_mask_storeu_epi64): Pass long long *
1520 to __builtin_ia32_storedqudi512_mask.
1521 (_mm512_loadu_si512): Pass const int * to
1522 __builtin_ia32_loaddqusi512_mask.
1523 (_mm512_mask_loadu_epi32): Likewise.
1524 (_mm512_maskz_loadu_epi32): Likewise.
1525 (_mm512_storeu_si512): Pass int * to
1526 __builtin_ia32_storedqusi512_mask.
1527 (_mm512_mask_storeu_epi32): Likewise.
1528 * config/i386/avx512vlbwintrin.h (_mm256_mask_storeu_epi8): Pass
1529 char * to __builtin_ia32_storedquqi256_mask.
1530 (_mm_mask_storeu_epi8): Likewise.
1531 (_mm256_mask_loadu_epi16): Pass const short * to
1532 __builtin_ia32_loaddquhi256_mask.
1533 (_mm256_maskz_loadu_epi16): Likewise.
1534 (_mm_mask_loadu_epi16): Pass const short * to
1535 __builtin_ia32_loaddquhi128_mask.
1536 (_mm_maskz_loadu_epi16): Likewise.
1537 (_mm256_mask_loadu_epi8): Pass const char * to
1538 __builtin_ia32_loaddquqi256_mask.
1539 (_mm256_maskz_loadu_epi8): Likewise.
1540 (_mm_mask_loadu_epi8): Pass const char * to
1541 __builtin_ia32_loaddquqi128_mask.
1542 (_mm_maskz_loadu_epi8): Likewise.
1543 (_mm256_mask_storeu_epi16): Pass short * to.
1544 __builtin_ia32_storedquhi256_mask.
1545 (_mm_mask_storeu_epi16): Pass short * to.
1546 __builtin_ia32_storedquhi128_mask.
1547 * config/i386/avx512vlintrin.h (_mm256_mask_loadu_pd): Pass
1548 const double * to __builtin_ia32_loadupd256_mask.
1549 (_mm256_maskz_loadu_pd): Likewise.
1550 (_mm_mask_loadu_pd): Pass onst double * to
1551 __builtin_ia32_loadupd128_mask.
1552 (_mm_maskz_loadu_pd): Likewise.
1553 (_mm256_mask_storeu_pd): Pass double * to
1554 __builtin_ia32_storeupd256_mask.
1555 (_mm_mask_storeu_pd): Pass double * to
1556 __builtin_ia32_storeupd128_mask.
1557 (_mm256_mask_loadu_ps): Pass const float * to
1558 __builtin_ia32_loadups256_mask.
1559 (_mm256_maskz_loadu_ps): Likewise.
1560 (_mm_mask_loadu_ps): Pass const float * to
1561 __builtin_ia32_loadups128_mask.
1562 (_mm_maskz_loadu_ps): Likewise.
1563 (_mm256_mask_storeu_ps): Pass float * to
1564 __builtin_ia32_storeups256_mask.
1565 (_mm_mask_storeu_ps): ass float * to
1566 __builtin_ia32_storeups128_mask.
1567 (_mm256_mask_loadu_epi64): Pass const long long * to
1568 __builtin_ia32_loaddqudi256_mask.
1569 (_mm256_maskz_loadu_epi64): Likewise.
1570 (_mm_mask_loadu_epi64): Pass const long long * to
1571 __builtin_ia32_loaddqudi128_mask.
1572 (_mm_maskz_loadu_epi64): Likewise.
1573 (_mm256_mask_storeu_epi64): Pass long long * to
1574 __builtin_ia32_storedqudi256_mask.
1575 (_mm_mask_storeu_epi64): Pass long long * to
1576 __builtin_ia32_storedqudi128_mask.
1577 (_mm256_mask_loadu_epi32): Pass const int * to
1578 __builtin_ia32_loaddqusi256_mask.
1579 (_mm256_maskz_loadu_epi32): Likewise.
1580 (_mm_mask_loadu_epi32): Pass const int * to
1581 __builtin_ia32_loaddqusi128_mask.
1582 (_mm_maskz_loadu_epi32): Likewise.
1583 (_mm256_mask_storeu_epi32): Pass int * to
1584 __builtin_ia32_storedqusi256_mask.
1585 (_mm_mask_storeu_epi32): Pass int * to
1586 __builtin_ia32_storedqusi128_mask.
1587 * config/i386/i386-builtin-types.def (PCSHORT): New.
1588 (PINT64): Likewise.
1589 (V64QI_FTYPE_PCCHAR_V64QI_UDI): Likewise.
1590 (V32HI_FTYPE_PCSHORT_V32HI_USI): Likewise.
1591 (V32QI_FTYPE_PCCHAR_V32QI_USI): Likewise.
1592 (V16SF_FTYPE_PCFLOAT_V16SF_UHI): Likewise.
1593 (V8DF_FTYPE_PCDOUBLE_V8DF_UQI): Likewise.
1594 (V16SI_FTYPE_PCINT_V16SI_UHI): Likewise.
1595 (V16HI_FTYPE_PCSHORT_V16HI_UHI): Likewise.
1596 (V16QI_FTYPE_PCCHAR_V16QI_UHI): Likewise.
1597 (V8SF_FTYPE_PCFLOAT_V8SF_UQI): Likewise.
1598 (V8DI_FTYPE_PCINT64_V8DI_UQI): Likewise.
1599 (V8SI_FTYPE_PCINT_V8SI_UQI): Likewise.
1600 (V8HI_FTYPE_PCSHORT_V8HI_UQI): Likewise.
1601 (V4DF_FTYPE_PCDOUBLE_V4DF_UQI): Likewise.
1602 (V4SF_FTYPE_PCFLOAT_V4SF_UQI): Likewise.
1603 (V4DI_FTYPE_PCINT64_V4DI_UQI): Likewise.
1604 (V4SI_FTYPE_PCINT_V4SI_UQI): Likewise.
1605 (V2DF_FTYPE_PCDOUBLE_V2DF_UQI): Likewise.
1606 (V2DI_FTYPE_PCINT64_V2DI_UQI): Likewise.
1607 (VOID_FTYPE_PDOUBLE_V8DF_UQI): Likewise.
1608 (VOID_FTYPE_PDOUBLE_V4DF_UQI): Likewise.
1609 (VOID_FTYPE_PDOUBLE_V2DF_UQI): Likewise.
1610 (VOID_FTYPE_PFLOAT_V16SF_UHI): Likewise.
1611 (VOID_FTYPE_PFLOAT_V8SF_UQI): Likewise.
1612 (VOID_FTYPE_PFLOAT_V4SF_UQI): Likewise.
1613 (VOID_FTYPE_PINT64_V8DI_UQI): Likewise.
1614 (VOID_FTYPE_PINT64_V4DI_UQI): Likewise.
1615 (VOID_FTYPE_PINT64_V2DI_UQI): Likewise.
1616 (VOID_FTYPE_PINT_V16SI_UHI): Likewise.
1617 (VOID_FTYPE_PINT_V8SI_UHI): Likewise.
1618 (VOID_FTYPE_PINT_V4SI_UHI): Likewise.
1619 (VOID_FTYPE_PSHORT_V32HI_USI): Likewise.
1620 (VOID_FTYPE_PSHORT_V16HI_UHI): Likewise.
1621 (VOID_FTYPE_PSHORT_V8HI_UQI): Likewise.
1622 (VOID_FTYPE_PCHAR_V64QI_UDI): Likewise.
1623 (VOID_FTYPE_PCHAR_V32QI_USI): Likewise.
1624 (VOID_FTYPE_PCHAR_V16QI_UHI): Likewise.
1625 (V64QI_FTYPE_PCV64QI_V64QI_UDI): Removed.
1626 (V32HI_FTYPE_PCV32HI_V32HI_USI): Likewise.
1627 (V32QI_FTYPE_PCV32QI_V32QI_USI): Likewise.
1628 (V16HI_FTYPE_PCV16HI_V16HI_UHI): Likewise.
1629 (V16QI_FTYPE_PCV16QI_V16QI_UHI): Likewise.
1630 (V8HI_FTYPE_PCV8HI_V8HI_UQI): Likewise.
1631 (VOID_FTYPE_PV32HI_V32HI_USI): Likewise.
1632 (VOID_FTYPE_PV16HI_V16HI_UHI): Likewise.
1633 (VOID_FTYPE_PV8HI_V8HI_UQI): Likewise.
1634 (VOID_FTYPE_PV64QI_V64QI_UDI): Likewise.
1635 (VOID_FTYPE_PV32QI_V32QI_USI): Likewise.
1636 (VOID_FTYPE_PV16QI_V16QI_UHI): Likewise.
1637 * config/i386/i386.c (ix86_emit_save_reg_using_mov): Don't
1638 use UNSPEC_STOREU.
1639 (ix86_emit_restore_sse_regs_using_mov): Don't use UNSPEC_LOADU.
1640 (ix86_avx256_split_vector_move_misalign): Don't use unaligned
1641 load nor store.
1642 (ix86_expand_vector_move_misalign): Likewise.
1643 (bdesc_special_args): Use CODE_FOR_movvNXY_internal and pointer
1644 to scalar function prototype for unaligned load/store builtins.
1645 (ix86_expand_special_args_builtin): Updated.
1646 * config/i386/sse.md (UNSPEC_LOADU): Removed.
1647 (UNSPEC_STOREU): Likewise.
1648 (VI_ULOADSTORE_BW_AVX512VL): Likewise.
1649 (VI_ULOADSTORE_F_AVX512VL): Likewise.
1650 (ssescalarsize): Handle V4TI, V2TI and V1TI.
1651 (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>): Likewise.
1652 (*<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>): Likewise.
1653 (<sse>_storeu<ssemodesuffix><avxsizesuffix>): Likewise.
1654 (<avx512>_storeu<ssemodesuffix><avxsizesuffix>_mask): Likewise.
1655 (<sse2_avx_avx512f>_loaddqu<mode><mask_name>): Likewise.
1656 (*<sse2_avx_avx512f>_loaddqu<mode><mask_name>"): Likewise.
1657 (sse2_avx_avx512f>_storedqu<mode>): Likewise.
1658 (<avx512>_storedqu<mode>_mask): Likewise.
1659 (*sse4_2_pcmpestr_unaligned): Likewise.
1660 (*sse4_2_pcmpistr_unaligned): Likewise.
1661 (*mov<mode>_internal): Renamed to ...
1662 (mov<mode>_internal): This. Remove check of AVX and IAMCU on
1663 misaligned operand. Replace vmovdqu64 with vmovdqu<ssescalarsize>.
1664 (movsd/movhpd to movupd peephole): Don't use UNSPEC_LOADU.
1665 (movlpd/movhpd to movupd peephole): Don't use UNSPEC_STOREU.
1666
1667 2016-04-19 Richard Biener <rguenther@suse.de>
1668
1669 PR tree-optimization/70171
1670 * tree-ssa-phiprop.c: Include stor-layout.h.
1671 (phiprop_insert_phi): Handle the aggregate copy case.
1672 (propagate_with_phi): Likewise.
1673
1674 2016-04-19 Uros Bizjak <ubizjak@gmail.com>
1675
1676 * config/i386/i386.c (ix86_decompose_address): Use lowpart_subreg
1677 instead of simplify_gen_subreg (... , 0).
1678 (ix86_delegitimize_address): Ditto.
1679 (ix86_split_divmod): Ditto.
1680 (ix86_split_copysign_const): Ditto.
1681 (ix86_split_copysign_var): Ditto.
1682 (ix86_expand_args_builtin): Ditto.
1683 (ix86_expand_round_builtin): Ditto.
1684 (ix86_expand_special_args_builtin): Ditto.
1685 * config/i386/i386.md (TARGET_USE_VECTOR_FP_CONVERTS splitters): Ditto.
1686 (TARGET_SSE_PARTIAL_REG_DEPENDENCY splitters and peephole2s): Ditto.
1687 (udivmodqi4): Ditto.
1688 (absneg splitters): Ditto.
1689 (*jcc_bt<mode>_1): Ditto.
1690
1691 2016-04-19 Richard Biener <rguenther@suse.de>
1692
1693 PR tree-optimization/70724
1694 * tree-ssa-sccvn.c (scc_vn_restore_ssa_info): Split SSA info
1695 restoring out from ...
1696 (free_scc_vn): ... here.
1697 * tree-ssa-sccvn.h (scc_vn_restore_ssa_info): Declare.
1698 * tres-ssa-pre.c (pass_pre::execute): Restore SSA info before
1699 tail merging.
1700 (pass_fre::execute): Restore SSA info.
1701
1702 2016-04-19 Richard Biener <rguenther@suse.de>
1703
1704 * gimple-walk.h (struct walk_stmt_info): Add stmt member.
1705 * gimple-walk.c (walk_gimple_op): Initialize it.
1706 (walk_gimple_asm): Set wi->is_lhs before each callback invocation.
1707 * tree-inline.c (remap_gimple_op_r): Set SSA_NAME_DEF_STMT when
1708 remapping SSA names of defs.
1709 (copy_bb): Remove walk over all SSA defs and SSA_NAME_DEF_STMT
1710 adjustment.
1711
1712 2016-04-18 Vladimir Makarov <vmakarov@redhat.com>
1713
1714 PR middle-end/70689
1715 * lra-constraints.c (equiv_substition_p): New.
1716 (process_alt_operands): Use it.
1717 (swap_operands): Swap it.
1718 (curr_insn_transform): Update it.
1719
1720 2016-04-18 Michael Matz <matz@suse.de>
1721
1722 * tree.h (TYPE_ALIGN, DECL_ALIGN): Return shifted amount.
1723 (SET_TYPE_ALIGN, SET_DECL_ALIGN): New.
1724 * tree-core.h (tree_type_common.align): Use bit-field.
1725 (tree_type_common.spare): New.
1726 (tree_decl_common.off_align): Make smaller.
1727 (tree_decl_common.align): Use bit-field.
1728
1729 * expr.c (expand_expr_addr_expr_1): Use SET_TYPE_ALIGN.
1730 * omp-low.c (install_var_field): Use SET_DECL_ALIGN.
1731 (scan_sharing_clauses): Ditto.
1732 (finish_taskreg_scan): Use SET_DECL_ALIGN and SET_TYPE_ALIGN.
1733 (omp_finish_file): Ditto.
1734 * stor-layout.c (do_type_align): Use SET_DECL_ALIGN.
1735 (layout_decl): Ditto.
1736 (relayout_decl): Ditto.
1737 (finalize_record_size): Use SET_TYPE_ALIGN.
1738 (finalize_type_size): Ditto.
1739 (finish_builtin_struct): Ditto.
1740 (layout_type): Ditto.
1741 (initialize_sizetypes): Ditto.
1742 * targhooks.c (std_gimplify_va_arg_expr): Use SET_TYPE_ALIGN.
1743 * tree-nested.c (insert_field_into_struct): Use SET_TYPE_ALIGN.
1744 (lookup_field_for_decl): Use SET_DECL_ALIGN.
1745 (get_chain_field): Ditto.
1746 (get_trampoline_type): Ditto.
1747 (get_nl_goto_field): Ditto.
1748 * tree-streamer-in.c (unpack_ts_decl_common_value_fields): Use
1749 SET_DECL_ALIGN.
1750 (unpack_ts_type_common_value_fields): Use SET_TYPE_ALIGN.
1751 * gimple-expr.c (copy_var_decl): Use SET_DECL_ALIGN.
1752 * tree.c (make_node_stat): Use SET_DECL_ALIGN and SET_TYPE_ALIGN.
1753 (build_qualified_type): Use SET_TYPE_ALIGN.
1754 (build_aligned_type, build_range_type_1): Ditto.
1755 (build_atomic_base): Ditto.
1756 (build_common_tree_nodes): Ditto.
1757 * cfgexpand.c (align_local_variable): Use SET_DECL_ALIGN.
1758 (expand_one_stack_var_at): Ditto.
1759 * coverage.c (build_var): Use SET_DECL_ALIGN.
1760 * except.c (init_eh): Ditto.
1761 * function.c (assign_parm_setup_block): Ditto.
1762 * symtab.c (increase_alignment_1): Ditto.
1763 * tree-ssa-ccp.c (fold_builtin_alloca_with_align): Ditto.
1764 * tree-vect-stmts.c (ensure_base_align): Ditto.
1765 * varasm.c (align_variable): Ditto.
1766 (assemble_variable): Ditto.
1767 (build_constant_desc): Ditto.
1768 (output_constant_def_contents): Ditto.
1769
1770 * config/arm/arm.c (arm_relayout_function): Use SET_DECL_ALIGN.
1771 * config/avr/avr.c (avr_adjust_type_node): Use SET_TYPE_ALIGN.
1772 * config/mips/mips.c (mips_std_gimplify_va_arg_expr): Ditto.
1773 * config/msp430/msp430.c (msp430_gimplify_va_arg_expr): Ditto.
1774 * config/spu/spu.c (spu_build_builtin_va_list): Use SET_DECL_ALIGN.
1775
1776 2016-04-18 H.J. Lu <hongjiu.lu@intel.com>
1777
1778 PR target/70708
1779 * config/i386/sse.md (sse2_loadlpd): Accept load from "xm" and
1780 replace %vmovsd with "%vmovq".
1781 (vec_concatv2df): Likewise.
1782
1783 2016-04-18 Uros Bizjak <ubizjak@gmail.com>
1784
1785 * config/i386/mmx.md (*vec_extractv2sf_0): Use gen_lowpart.
1786 (*vec_extractv2si_0): Ditto.
1787 * config/i386/sse.md (*vec_extractv4sf_0): Ditto.
1788 (zero_extended_scalar_load_operand splitters): Ditto.
1789 (vec_extract splitters): Ditto.
1790 (*vec_extractv4si_0_zext): Ditto.
1791 (avx_<castmode><avxsizesuffix>_<castmode>): Use gen_lowpart
1792 and lowpart_subreg.
1793 (avx512f_<castmode><avxsizesuffix>_<castmode>): Ditto.
1794 (avx512f_<castmode><avxsizesuffix>_256<castmode>): Ditto.
1795 (*sse4_1_extractps): Use lowpart_subreg.
1796
1797 2016-04-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1798
1799 * doc/install.texi (Specific, i?86-*-solaris2.10): Update gas and
1800 gld requirements.
1801 (Specific, *-*-solaris2*): Update Solaris 11 bundled gcc versions.
1802 Mention Solaris 11 packaging changes.
1803 Update gas and gld requirements.
1804 Remove reference to pre-Solaris 10 bug.
1805 (Specific, sparc-sun-solaris2*): Remove reference to pre-Solaris 10
1806 systems and bugs.
1807 (Specific, sparc64-*-solaris2*): Remove reference to bootstrap
1808 with cc.
1809
1810 2016-04-17 Jan Hubicka <jh@suse.cz>
1811
1812 * tree-ssa-loop-ivopts.c (avg_loop_niter): Use also
1813 max_loop_iterations_int.
1814
1815 2016-04-18 Richard Biener <rguenther@suse.de>
1816
1817 PR tree-optimization/43434
1818 * tree-ssa-structalias.c (struct vls_data): New.
1819 (visit_loadstore): Handle all pointer-based accesses.
1820 (compute_dependence_clique): Compute a bitmap of restrict tags
1821 assigned bases and pass it to visit_loadstore.
1822
1823 2016-04-18 Matthew Wahab <matthew.wahab@arm.com>
1824
1825 PR target/70711
1826 * config/arm/bpabi.h (BE8_LINK_SPEC): Add entries for armv8+crc,
1827 armv8.1-a and armv8.1-a+crc.
1828
1829 2016-04-18 Richard Biener <rguenther@suse.de>
1830
1831 PR tree-optimization/70701
1832 * tree-ssa-sccvn.c (vn_reference_lookup_3): Resolve fully constant
1833 references after translating through a memcpy.
1834
1835 2016-04-18 Richard Biener <rguenther@suse.de>
1836
1837 * tree-ssa-pre.c (postorder, postorder_num): Make locals ...
1838 (compute_antic): ... here. For partial antic use regular
1839 postorder and scrap iteration.
1840 (compute_partial_antic_aux): Remove unused return value.
1841 (init_pre): Do not allocate postorder.
1842 (fini_pre): Do not free postorder.
1843
1844 2016-04-18 Richard Biener <rguenther@suse.de>
1845
1846 PR middle-end/37870
1847 * expmed.c (extract_bit_field_1): Remove broken case
1848 using a wider MODE_INT mode.
1849
1850 2016-04-18 Segher Boessenkool <segher@kernel.crashing.org>
1851
1852 * has-brig.c (lendian16): Don't try to use __builtin_bswap16
1853 unless compiling with at least GCC-4.8.
1854
1855 2016-04-17 Jan Hubicka <jh@suse.cz>
1856
1857 PR bootstrap/70706
1858 * graphite.c (graphite_finalize): Update call to
1859 tree_estimate_probability.
1860 * predict.h (tree_estimate_probability): Update prototype.
1861
1862 2016-04-17 Jan Hubicka <jh@suse.cz>
1863
1864 * predict.c (combine_predictions_for_bb): Add dry_run parmaeter.
1865 (tree_estimate_probability): Likewise.
1866 (pass_profile::execute): Update.
1867 (report_predictor_hitrates): New function.
1868 * profile.c (compute_branch_probabilities): Use it.
1869 * predict.h (report_predictor_hitrates): Declare.
1870
1871 2016-04-17 Jan Hubicka <jh@suse.cz>
1872
1873 PR ipa/70018
1874 * cgraph.h (cgraph_node::set_const_flag,
1875 cgraph_node::set_pure_flag): Update prototype to return bool;
1876 update comment.
1877 * cgraph.c (cgraph_node::call_for_symbol_thunks_and_aliases): Thunks
1878 of interposable symbol are interposable, too.
1879 (cgraph_set_const_flag_1): Rename to ...
1880 (set_const_flag_1): ... this one; change to self recursive function
1881 instead of call_for_symbol_thunks_and_aliases. Handle correctly
1882 clearnig the flag in all variants and also virtual thunks of const
1883 functions are pure; track if any change was done.
1884 (cgraph_node::set_const_flag): Update.
1885 (struct set_pure_flag_info): New struct.
1886 (cgraph_set_pure_flag_1): Rename to ...
1887 (set_pure_flag_1): ... this one; take set_pure_flag_info parameter
1888 rather than pointer encoded flags; track if any changes was done;
1889 handle correctly clearning flag and setting flag of aliases already
1890 declared const.
1891 (cgraph_node::set_pure_flag): Update.
1892 (cgraph_node::set_nothrow_flag): Handle correctly clearning the flag.
1893
1894 2016-04-17 Tom de Vries <tom@codesourcery.com>
1895
1896 PR other/70433
1897 * pretty-print.c (pp_write_text_as_dot_label_to_stream): Escape
1898 backslash in label.
1899
1900 2016-04-17 Tom de Vries <tom@codesourcery.com>
1901
1902 * pretty-print.c (pp_write_text_as_dot_label_to_stream): Classify chars
1903 '{}<> ' as escape-for-record.
1904
1905 2016-04-17 Tom de Vries <tom@codesourcery.com>
1906
1907 * pretty-print.c (pp_write_text_as_dot_label_to_stream): Simplify loop
1908 structure.
1909
1910 2016-04-17 Tom de Vries <tom@codesourcery.com>
1911
1912 PR other/70185
1913 * tree-pass.h (class opt_pass): Remove graph_dump_initialized member.
1914 * dumpfile.h (struct dump_file_info): Add graph_dump_initialized field.
1915 * dumpfile.c (dump_files): Initialize graph_dump_initialized field.
1916 * passes.c (finish_optimization_passes): Only call
1917 finish_graph_dump_file if dfi->graph_dump_initialized.
1918 (execute_function_dump, pass_init_dump_file): Use
1919 dfi->graph_dump_initialized instead of pass->graph_dump_initialized.
1920
1921 2016-04-17 Tom de Vries <tom@codesourcery.com>
1922
1923 PR tree-optimization/70256
1924 * tree-ssa-structalias.c (dump_varinfo, debug_varinfo, dump_varmap)
1925 (debug_varmap): New function.
1926
1927 2016-04-17 Tom de Vries <tom@codesourcery.com>
1928
1929 PR other/70183
1930 * passes.c (pass_manager::register_pass): Propagate pflags.
1931
1932 2016-04-17 Tom de Vries <tom@codesourcery.com>
1933
1934 PR other/68875
1935 * pass_manager.h (TERMINATE_PASS_LIST): Add pass argument.
1936 * passes.c (pass_manager::pass_manager): Declare and init p_start in
1937 INSERT_PASSES_AFTER. Add pass parameter to TERMINATE_PASS_LIST, and
1938 check if it's equal to p_start.
1939 * passes.def: Add arguments to TERMINATE_PASS_LISTs.
1940
1941 2016-04-15 Jan Hubicka <jh@suse.cz>
1942
1943 PR ipa/70018
1944 * cgraph.c (cgraph_set_const_flag_1): Only set as pure if
1945 function does not bind to current def.
1946 * ipa-pure-const.c (worse_state): Add FROM and TO parameters;
1947 handle conservatively calls to functions that does not need to bind
1948 to current def.
1949 (check_call): Update call of worse_state.
1950 (ignore_edge_for_nothrow): Update.
1951 (ignore_edge_for_pure_const): Likewise.
1952 (propagate_pure_const): Update calls to worse_state.
1953 (skip_function_for_local_pure_const): Reformat comments.
1954
1955 2016-04-15 Jan Hubicka <jh@suse.cz>
1956
1957 PR ipa/70018
1958 * cgraph.c (cgraph_node::get_availability): Add REF parameter.
1959 (cgraph_node::function_symbol): Likewise.
1960 (cgraph_node::function_or_virtual_thunk_symbol): Likewise.
1961 * cgraph.h (symtab_node::get_availabbility): Add REF parameter.
1962 (symtab_node::ultimate_alias_target): Add REF parameter.
1963 (symtab_node::binds_to_current_def_p): Declare.
1964 (symtab_node;:ultimate_alias_target_1): Add REF parameter.
1965 (cgraph_node::function_symbol): Likewise.
1966 (cgraph_node::function_or_virtual_thunk_symbol): Likewise.
1967 (cgraph_node::get_availability): Likewise.
1968 (cgraph_edge::binds_to_current_def_p): New inline function.
1969 (varpool_node::get_availability): Add REF parameter.
1970 (varpool_node::ultimate_alias_target): Likewise.
1971 * symtab.c (symtab_node::ultimate_alias_target_1): Likewise.
1972 (symtab_node::binds_to_current_def_p): Likewise.
1973 * varpool.c (varpool_node::get_availability): Likewise.
1974
1975 2016-04-15 Kirill Yukhin <kirill.yukhin@intel.com>
1976
1977 PR target/70662
1978 * config/i386/sse.md(define_insn "<avx512>_vec_dup<mode><mask_name>"):
1979 Fix mode size check.
1980
1981 2016-04-15 Jakub Jelinek <jakub@redhat.com>
1982
1983 * BASE-VER: Set to 7.0.0.
1984
1985 2016-04-15 Alexander Monakov <amonakov@ispras.ru>
1986
1987 * config/nvptx/nvptx.opt (moptimize): Add a period at end of help text.
1988
1989 2016-04-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1990
1991 * doc/invoke.texi (ARM Options): Add note on deprecation of pre-ARMv4T
1992 architecture revisions.
1993
1994 2016-04-15 Bernd Schmidt <bschmidt@redhat.com>
1995
1996 * config/i386/i386-protos.h (ix86_using_red_zone): Declare.
1997 * config/i386/i386.c (ix86_using_red_zone): No longer static.
1998 * config/i386/i386.md (stack decrement to push peepholes): Guard
1999 with !x86_using_red_zone ().
2000
2001 2016-04-15 Jakub Jelinek <jakub@redhat.com>
2002
2003 PR c++/70675
2004 * tree-pretty-print.c (do_niy): Add FLAGS argument, pass it down
2005 to dump_generic_node.
2006 (NIY): Pass also flags to do_niy.
2007
2008 2016-04-15 Thomas Schwinge <thomas@codesourcery.com>
2009
2010 * omp-low.c (simd_clone_struct_alloc, simd_clone_struct_copy)
2011 (simd_clone_vector_of_formal_parm_types)
2012 (simd_clone_clauses_extract, simd_clone_compute_base_data_type)
2013 (simd_clone_mangle, simd_clone_create)
2014 (simd_clone_adjust_return_type, create_tmp_simd_array)
2015 (simd_clone_adjust_argument_types, simd_clone_init_simd_arrays)
2016 (struct modify_stmt_info, ipa_simd_modify_stmt_ops)
2017 (ipa_simd_modify_function_body, simd_clone_linear_addend)
2018 (simd_clone_adjust, expand_simd_clones, ipa_omp_simd_clone)
2019 (pass_data_omp_simd_clone, class pass_omp_simd_clone)
2020 (pass_omp_simd_clone::gate, make_pass_omp_simd_clone): Move into...
2021 * omp-simd-clone.c: ... this new file.
2022 (simd_clone_vector_of_formal_parm_types): Make it static.
2023 * Makefile.in (OBJS): Add omp-simd-clone.o.
2024
2025 2016-04-15 Kirill Yukhin <kirill.yukhin@intel.com>
2026
2027 PR target/70662
2028 * config/i386/sse.md: Use proper memory operand modifiers.
2029
2030
2031 2016-04-15 Richard Biener <rguenther@suse.de>
2032 Alan Modra <amodra@gmail.com>
2033
2034 PR tree-optimization/70130
2035 * tree-vect-data-refs.c (vect_supportable_dr_alignment): Detect
2036 when alignment stays not the same and no not use the realign
2037 scheme then.
2038
2039 2016-04-14 Michael Meissner <meissner@linux.vnet.ibm.com>
2040
2041 PR target/70669
2042 * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Add
2043 direct move handlers for KFmode. Change TFmode handlers test from
2044 FLOAT128_IEEE_P to FLOAT128_VECTOR_P.
2045
2046 2016-04-14 Jakub Jelinek <jakub@redhat.com>
2047
2048 PR c++/70594
2049 * ipa-utils.h (polymorphic_ctor_dtor_p): New prototype.
2050 * ipa-polymorphic-call.c (polymorphic_ctor_dtor_p): New function.
2051 (inlined_polymorphic_ctor_dtor_block_p): Use it.
2052 * tree-ssa-live.c (remove_unused_scope_block_p): When
2053 in_ctor_dtor_block, avoid discarding not just BLOCKs with
2054 BLOCK_ABSTRACT_ORIGIN being FUNCTION_DECL, but even when
2055 block_ultimate_origin is FUNCTION_DECL.
2056 (remove_unused_locals): If current_function_decl is
2057 polymorphic_ctor_dtor_p, pass initial true to
2058 remove_unused_scope_block_p' is_ctor_dtor_block.
2059
2060 2016-04-14 Martin Sebor <msebor@redhat.com>
2061
2062 PR c++/69517
2063 PR c++/70019
2064 PR c++/70588
2065 * doc/extend.texi (Variable Length): Revert.
2066
2067 2016-04-14 Marek Polacek <polacek@redhat.com>
2068 Jan Hubicka <hubicka@ucw.cz>
2069
2070 PR c++/70029
2071 * tree.c (verify_type): Disable the canonical type of main variant
2072 check.
2073
2074 2016-04-14 Jason Merrill <jason@redhat.com>
2075
2076 * cfgexpand.c, expr.c: Revert previous change.
2077
2078 2016-04-14 Cesar Philippidis <cesar@codesourcery.com>
2079
2080 PR middle-end/70643
2081 * omp-low.c (lower_oacc_reductions): Check for TREE_CONSTANT
2082 when building a mem ref for the incoming reduction variable.
2083
2084 2016-04-14 Richard Biener <rguenther@suse.de>
2085
2086 PR tree-optimization/70614
2087 * tree-scalar-evolution.c (analyze_evolution_in_loop): Terminate
2088 loop if the evolution dropped to chrec_dont_know.
2089 (interpret_condition_phi): Likewise.
2090
2091 2016-04-14 Richard Biener <rguenther@suse.de>
2092
2093 PR tree-optimization/70623
2094 * tree-ssa-pre.c (changed_blocks): Make global ...
2095 (compute_antic): ... local here. Move and fix worklist
2096 handling here. Do not clear EDGE_DFS_BACK or call mark_dfs_back_edges.
2097 (compute_antic_aux): Add dumping for MAX assumed succs. Remove
2098 worklist handling, dump when ANTIC_IN changed.
2099 (compute_partial_antic_aux): Remove worklist handling.
2100 (init_pre): Do not compute post dominators. Add a comment about
2101 the CFG order chosen.
2102 (fini_pre): Do not free post dominators.
2103
2104 2016-04-13 Martin Sebor <msebor@redhat.com>
2105
2106 PR c++/69517
2107 PR c++/70019
2108 PR c++/70588
2109 * doc/extend.texi (Variable Length): Document C++ specifics.
2110
2111 2016-04-13 Jakub Jelinek <jakub@redhat.com>
2112
2113 PR c++/70641
2114 * ipa-pure-const.c (pass_nothrow::execute): Call maybe_clean_eh_stmt
2115 on all recursive call stmts. Return TODO_cleanup_cfg if any dead
2116 eh edges have been purged.
2117
2118 PR c++/70594
2119 * tree-sra.c (create_access_replacement,
2120 get_replaced_param_substitute): Set DECL_NAMELESS on repl if it
2121 gets fancy name.
2122 * tree-pretty-print.c (dump_fancy_name): New function.
2123 (dump_decl_name, dump_generic_node): Use it.
2124
2125 2016-04-13 Jason Merrill <jason@redhat.com>
2126
2127 * cfgexpand.c (pass_expand::execute): Handle attribute "abi warning".
2128 * expr.c (expand_expr_real_1): Likewise.
2129
2130 2016-04-13 Ilya Enkovich <ilya.enkovich@intel.com>
2131
2132 * config/i386/i386.md (kunpckhi): Swap operands.
2133 (kunpcksi): Likewise.
2134 (kunpckdi): Likewise.
2135 * config/i386/sse.md (vec_pack_trunc_qi): Likewise.
2136 (vec_pack_trunc_<mode>): Likewise.
2137
2138 2016-04-13 Jakub Jelinek <jakub@redhat.com>
2139
2140 PR debug/70628
2141 * explow.c (convert_memory_address_addr_space_1): Formatting fix.
2142
2143 PR middle-end/70633
2144 * gimplify.c (gimplify_init_constructor): Clear TREE_STATIC if
2145 gimplification turns some element into non-constant.
2146
2147 PR debug/70628
2148 * rtl.h (convert_memory_address_addr_space_1): New prototype.
2149 * explow.c (convert_memory_address_addr_space_1): No longer static,
2150 add NO_EMIT argument and don't call convert_modes if true, pass
2151 it down recursively, remove break after return.
2152 (convert_memory_address_addr_space): Adjust caller.
2153 * simplify-rtx.c (simplify_unary_operation_1): Call
2154 convert_memory_address_addr_space_1 instead of convert_memory_address,
2155 if it returns NULL, don't simplify.
2156
2157 2016-04-12 Eric Botcazou <ebotcazou@adacore.com>
2158
2159 PR target/70630
2160 * config/sparc/sparc.c (sparc_compute_frame_size): Add parentheses.
2161
2162 2016-04-12 Jakub Jelinek <jakub@redhat.com>
2163
2164 * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
2165 Bump the upper SIMDLEN limits, so that if the return type or
2166 characteristic type if the return type is void can be passed in
2167 all available SSE2/AVX/AVX2/AVX512-F registers, the SIMDLEN is
2168 allowed.
2169
2170 2016-04-12 Michael Meissner <meissner@linux.vnet.ibm.com>
2171
2172 PR target/70640
2173 * config/rs6000/rs6000.md (ieee_128bit_vsx_neg<mode>2_internal):
2174 Do not use "=" constraint on an input constraint.
2175 (ieee_128bit_vsx_abs<mode>2_internal): Likewise.
2176 (ieee_128bit_vsx_nabs<mode>2_internal): Likewise.
2177 (ieee_128bit_vsx_nabs<mode>2): Correct splitter so that it
2178 generates (neg (abs ...)) instead of (abs ...).
2179
2180 2016-04-12 Jakub Jelinek <jakub@redhat.com>
2181
2182 PR rtl-optimization/70596
2183 * lra-spills.c (spill_pseudos): Don't delete debug insns, instead
2184 just invalidate LRA data and reset them. Adjust dump wording.
2185
2186 2016-04-12 Martin Liska <mliska@suse.cz>
2187
2188 Revert
2189 2016-03-30 Jan Hubicka <hubicka@ucw.cz>
2190
2191 * tree-ssa-loop-niter.c (idx_infer_loop_bounds): We can't get realistic
2192 estimates here.
2193 * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Use also
2194 max_loop_iterations_int.
2195 (tree_unswitch_outer_loop): Likewise.
2196 * tree-ssa-loop-ivopts.c (avg_loop_niter): Likewise.
2197 * tree-vect-loop.c (vect_analyze_loop_2): Likewise.
2198
2199 2016-04-12 Tom de Vries <tom@codesourcery.com>
2200
2201 PR tree-optimization/68756
2202 * graphite-isl-ast-to-gimple.c (copy_cond_phi_args): Use new_expr
2203 instead of new_name.
2204
2205 2016-04-12 Jakub Jelinek <jakub@redhat.com>
2206
2207 PR tree-optimization/70602
2208 * tree-sra.c (generate_subtree_copies): Don't write anything into
2209 constant pool decls.
2210
2211 * omp-low.c (lower_omp_target): Use GOMP_MAP_FIRSTPRIVATE_INT
2212 regardless whether there are depend clauses or not.
2213
2214 2016-04-11 Michael Meissner <meissner@linux.vnet.ibm.com>
2215
2216 PR target/70381
2217 * config/rs6000/rs6000.c (rs6000_opt_masks): Disable using the
2218 target attribute and pragma from changing the -mfloat128
2219 and -mfloat128-hardware options.
2220
2221 * doc/extend.texi (Additional Floating Types): Document PowerPC
2222 __float128 restrictions.
2223
2224 2016-04-11 James Greenhalgh <james.greenhalgh@arm.com>
2225
2226 PR target/70133
2227 * config/aarch64/driver-aarch64.c
2228 (aarch64_get_extension_string_for_isa_flags): New.
2229 (arch_extension): Rename to...
2230 (aarch64_arch_extension): ...This.
2231 (ext_to_feat_string): Rename to...
2232 (aarch64_extensions): ...This.
2233 (aarch64_core_data): Keep track of architecture extension flags.
2234 (cpu_data): Rename to...
2235 (aarch64_cpu_data): ...This.
2236 (aarch64_arch_driver_info): Keep track of architecture extension
2237 flags.
2238 (get_arch_name_from_id): Rename to...
2239 (get_arch_from_id): ...This, change return type.
2240 (host_detect_local_cpu): Update and reformat for renames, handle
2241 extensions through common infrastructure.
2242
2243 2016-04-11 James Greenhalgh <james.greenhalgh@arm.com>
2244
2245 PR target/70133
2246 * config/aarch64/aarch64-common.c (aarch64_option_extension): Keep
2247 track of a canonical flag name.
2248 (all_extensions): Likewise.
2249 (arch_to_arch_name): Also track extension flags enabled by the arch.
2250 (all_architectures): Likewise.
2251 (aarch64_parse_extension): Move to here.
2252 (aarch64_get_extension_string_for_isa_flags): Take a new argument,
2253 rework.
2254 (aarch64_rewrite_selected_cpu): Update for above change.
2255 * config/aarch64/aarch64-option-extensions.def: Rework the way flags
2256 are handled, such that the single explicit value enabled by an
2257 extension is kept seperate from the implicit values it also enables.
2258 * config/aarch64/aarch64-protos.h (aarch64_parse_opt_result): Move
2259 to here.
2260 (aarch64_parse_extension): New.
2261 * config/aarch64/aarch64.c (aarch64_parse_opt_result): Move from
2262 here to config/aarch64/aarch64-protos.h.
2263 (aarch64_parse_extension): Move from here to
2264 common/config/aarch64/aarch64-common.c.
2265 (aarch64_option_print): Update.
2266 (aarch64_declare_function_name): Likewise.
2267 (aarch64_start_file): Likewise.
2268 * config/aarch64/driver-aarch64.c (arch_extension): Keep track of
2269 the canonical flag for extensions.
2270 * config.gcc (aarch64*-*-*): Extend regex for capturing extension
2271 flags.
2272
2273 2016-04-11 James Greenhalgh <james.greenhalgh@arm.com>
2274
2275 * config/aarch64/aarch64.h (AARCH64_FL_FOR_ARCH8_1): Also add
2276 AARCH64_FL_CRC.
2277
2278 2016-04-09 Tom de Vries <tom@codesourcery.com>
2279
2280 PR tree-optimization/68953
2281 * graphite-sese-to-poly.c (pdr_add_memory_accesses): Order accesses from
2282 first to last subscript.
2283
2284 2016-04-09 Jakub Jelinek <jakub@redhat.com>
2285
2286 PR tree-optimization/70586
2287 * tree-ssa-ifcombine.c (bb_no_side_effects_p): Return false
2288 for any calls.
2289
2290 2016-04-08 Cesar Philippidis <cesar@codesourcery.com>
2291
2292 PR lto/70289
2293 PR ipa/70348
2294 PR tree-optimization/70373
2295 PR middle-end/70533
2296 PR middle-end/70534
2297 PR middle-end/70535
2298 * gimplify.c (gimplify_adjust_omp_clauses): Add or adjust data
2299 clauses for acc parallel reductions as necessary. Error on those
2300 that are private.
2301 * omp-low.c (scan_sharing_clauses): Don't install variables which
2302 are used in acc parallel reductions.
2303 (lower_rec_input_clauses): Remove dead code.
2304 (lower_oacc_reductions): Add support for reference reductions.
2305 (lower_reduction_clauses): Remove dead code.
2306 (lower_omp_target): Don't remap variables appearing in acc parallel
2307 reductions.
2308 * tree.h (OMP_CLAUSE_MAP_IN_REDUCTION): New macro.
2309
2310 2016-04-08 Jakub Jelinek <jakub@redhat.com>
2311
2312 PR middle-end/70593
2313 * tree-ssa-coalesce.c (build_ssa_conflict_graph): For stmt
2314 with multiple SSA_NAME defs, force the outputs other than first
2315 to be live before calling live_track_process_def on each output.
2316
2317 PR rtl-optimization/70574
2318 * fwprop.c (forward_propagate_and_simplify): Don't add
2319 REG_EQUAL note if DF_REF_REG (use) is a paradoxical subreg.
2320 (try_fwprop_subst): Don't add REG_EQUAL note if there are any
2321 paradoxical subregs within *loc.
2322
2323 2016-04-08 Thomas Schwinge <thomas@codesourcery.com>
2324
2325 * config/arc/arc.h (LINK_COMMAND_SPEC): Use gt to ignore
2326 -ftree-parallelize-loops={0,1}.
2327 * config/darwin.h (LINK_COMMAND_SPEC_A): Likewise.
2328 * config/i386/mingw32.h (GOMP_SELF_SPECS): Likewise.
2329 * config/ia64/hpux.h (LIB_SPEC): Likewise.
2330 * config/pa/pa-hpux11.h (LIB_SPEC): Likewise.
2331 * config/pa/pa64-hpux.h (LIB_SPEC): Likewise.
2332
2333 2016-04-08 Maxim Ostapenko <m.ostapenko@samsung.com>
2334
2335 PR sanitizer/70541
2336 * asan.c (instrument_derefs): If we get unknown location, extract it
2337 with EXPR_LOCATION.
2338 (maybe_instrument_call): Instrument gimple_call's arguments if needed.
2339
2340 2016-04-08 Tom de Vries <tom@codesourcery.com>
2341
2342 * omp-low.c (lower_omp_target): Set TREE_NO_WARNING for oacc
2343 implicit firstprivate clause.
2344
2345 2016-04-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2346
2347 PR target/70566
2348 * config/arm/thumb2.md (tst + branch-> lsls + branch
2349 peephole below *orsi_not_shiftsi_si): Require that condition
2350 register is dead after the peephole.
2351 (second peephole after the above): Likewise.
2352
2353 2016-04-08 Alan Modra <amodra@gmail.com>
2354
2355 PR target/70117
2356 * builtins.c (fold_builtin_classify): For IBM extended precision,
2357 look at just the high-order double to test for NaN.
2358 (fold_builtin_interclass_mathfn): Similarly for Inf. For isnormal
2359 test just the high double for Inf but both doubles for subnormal
2360 limit.
2361
2362 2016-04-07 Jakub Jelinek <jakub@redhat.com>
2363
2364 * cgraph.h (struct cgraph_simd_clone): Add mask_mode field.
2365 * omp-low.c (simd_clone_init_simd_arrays, simd_clone_adjust): Handle
2366 node->simdclone->mask_mode != VOIDmode masks.
2367 (simd_clone_adjust_argument_types): Likewise. Move sc var definition
2368 earlier, use it instead of node->simdclone.
2369 * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
2370 Set clonei->mask_mode.
2371
2372 2016-04-06 Patrick Palka <ppalka@gcc.gnu.org>
2373
2374 PR c/70436
2375 * parser.c (cp_parser_iteration_statement): New parameter IF_P.
2376 Pass it through to cp_parser_already_scoped_statement.
2377 (cp_parser_already_scoped_statement): New parameter IF_P. Pass
2378 it through to cp_parser_statement.
2379 (cp_parser_statement): Pass IF_P through to
2380 cp_parser_iteration_statement.
2381 (cp_parser_pragma): Adjust call to
2382 cp_parser_iteration_statement.
2383
2384 2016-04-06 Patrick Palka <ppalka@gcc.gnu.org>
2385
2386 PR c/70436
2387 * gimplify.c (gimplify_omp_ordered): Add explicit braces to
2388 resolve a future -Wparentheses warning.
2389 * omp-low.c (scan_sharing_clauses): Likewise.
2390 * tree-parloops.c (eliminate_local_variables): Likewise.
2391
2392 2016-04-06 Vladimir Makarov <vmakarov@redhat.com>
2393
2394 PR rtl-optimization/70398
2395 * lra-constraints.c (process_address_1): Check zero scale and code
2396 for reloading with zero scale.
2397
2398 2016-04-06 Uros Bizjak <ubizjak@gmail.com>
2399
2400 * config/i386/sse.md (shuffletype): Add V32HI and V4TI modes.
2401 (ssescalarsize): Add V8SF, V4SF, V4DF and V2DF modes.
2402
2403 2016-04-06 Jakub Jelinek <jakub@redhat.com>
2404
2405 * config/i386/i386.c (ix86_simd_clone_compute_vecsize_and_simdlen):
2406 Add support for AVX512F clones, include them by default for
2407 exported OpenMP declare simd functions. For AVX2 allow simdlen 32
2408 and use it if charasteric type is 8-bit, for AVX512F allow simdlen
2409 up to 128.
2410
2411 PR middle-end/70550
2412 * tree.h (OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT): Define.
2413 * gimplify.c (gimplify_adjust_omp_clauses_1): Set it for implicit
2414 firstprivate clauses.
2415 * omp-low.c (lower_send_clauses): Set TREE_NO_WARNING for
2416 OMP_CLAUSE_FIRSTPRIVATE_IMPLICIT !by_ref vars in task contexts.
2417 (lower_omp_target): Set TREE_NO_WARNING for
2418 non-addressable possibly uninitialized vars which are copied into
2419 addressable temporaries or copied for GOMP_MAP_FIRSTPRIVATE_INT.
2420
2421 2016-04-05 John David Anglin <danglin@gcc.gnu.org>
2422
2423 * config/pa/predicates.md (integer_store_memory_operand): Accept
2424 REG+D operands with a large offset when reload_in_progress is true.
2425 (floating_point_store_memory_operand): Likewise.
2426
2427 2016-04-05 Jakub Jelinek <jakub@redhat.com>
2428
2429 PR c++/70336
2430 * match.pd (nested int casts): Limit to GIMPLE.
2431
2432 2016-04-05 Jan Hubicka <hubicka@ucw.cz>
2433
2434 PR ipa/66223
2435 * ipa-devirt.c (maybe_record_node): Fix comment; use
2436 SANITIZE_UNREACHABLE instead of SANITIZE_UNDEFINED.
2437
2438 2016-04-05 Jakub Jelinek <jakub@redhat.com>
2439
2440 PR rtl-optimization/70542
2441 * ree.c (add_removable_extension): For VECTOR_MODE_P punt
2442 if there are any uses other than insn or debug insns.
2443
2444 2016-04-05 Marc Glisse <marc.glisse@inria.fr>
2445 Jakub Jelinek <jakub@redhat.com>
2446
2447 PR tree-optimization/70509
2448 * simplify-rtx.c (simplify_binary_operation_1) <case VEC_SELECT>:
2449 Shift HOST_WIDE_INT_1U instead of 1.
2450
2451 2016-04-05 Zdenek Sojka <zsojka@seznam.cz>
2452
2453 PR tree-optimization/70509
2454 * tree-ssa-forwprop.c (simplify_bitfield_ref): Use bitsize_int instead
2455 of the vector base type for index.
2456
2457 2016-04-05 Uros Bizjak <ubizjak@gmail.com>
2458
2459 PR target/70510
2460 * config/i386/sse.md (iptr): Add V64QI, V32HI, V16SI and V8DI modes.
2461
2462 2016-04-05 Richard Biener <rguenther@suse.de>
2463
2464 PR tree-optimization/70526
2465 * tree-sra.c (build_ref_for_offset): Use prev_base to
2466 extract the alias pointer type.
2467
2468 2016-04-05 Richard Biener <rguenther@suse.de>
2469
2470 * dse.c (struct store_info): Remove alias_set member.
2471 (struct read_info_type): Likewise.
2472 (clear_alias_group, clear_alias_mode_table, clear_alias_mode_holder,
2473 spill_deleted, clear_alias_set_lookup): Remove.
2474 (get_group_info): Remove dead base == NULL_RTX case.
2475 (dse_step0): Remove initialization of removed variables.
2476 (delete_dead_store_insn): Reomve alias set dumping.
2477 (free_read_records): Remove alias_set handling.
2478 (canon_address): Remove alias_set_out parameter.
2479 (record_store): Remove spill_alias_set, it's always zero.
2480 (check_mem_read_rtx): Likewise.
2481 (dse_step2): Rename from ...
2482 (dse_step2_nospill): ... this. Adjust.
2483 (scan_stores): Rename from ...
2484 (scan_stores_nospill): ... this.
2485 (scan_reads): Rename from ...
2486 (scan_reads_nospill): ... this.
2487 (scan_stores_spill, scan_reads_spill): Remove.
2488 (dse_step3_scan): Remove for_spills argument which is always false.
2489 (dse_step3): Likewise.
2490 (dse_step5): Rename from ...
2491 (dse_step5_nospill): ... this. Remove alias_set handling.
2492 (rest_of_handle_dse): Adjust.
2493
2494 2016-04-05 Jakub Jelinek <jakub@redhat.com>
2495
2496 PR target/70525
2497 * config/i386/sse.md (*andnot<mode>3): Simplify assertions.
2498 Use vpandn<ssemodesuffix> for V16SI/V8DImode, vpandnq for
2499 V32HI/V64QImode, don't use <mask_operand3_1>, fix up formatting.
2500 (*andnot<mode>3_mask): Remove insn with VI12_AVX512VL iterator.
2501
2502 2016-04-05 Richard Biener <rguenther@suse.de>
2503
2504 PR middle-end/70499
2505 * gimplify-me.c (gimple_regimplify_operands): Do not rewrite
2506 non-register type temporaries into SSA.
2507
2508 2016-04-04 Jan Hubicka <hubicka@ucw.cz>
2509
2510 PR ipa/66223
2511 * ipa-devirt.c (maybe_record_node): Do not optimize cxa_pure_virtual
2512 calls when sanitizing.
2513 (possible_polymorphic_call_target_p): Fix formatting.
2514
2515 2016-04-04 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2516 Jakub Jelinek <jakub@redhat.com>
2517
2518 PR middle-end/70457
2519 * tree-inline.c (estimate_num_insn): Use gimple_call_builtin_p
2520 to ensure a call statement is compatible with a built-in's
2521 prototype.
2522 * tree-ssa-math-opts.c (pass_optimize_windening_mul::execute):
2523 Likewise.
2524
2525 2016-04-04 Richard Biener <rguenther@suse.de>
2526
2527 PR rtl-optimization/70484
2528 * rtl.h (canon_output_dependence): Declare.
2529 * alias.c (canon_output_dependence): New function.
2530 * dse.c (record_store): Use canon_output_dependence rather
2531 than canon_true_dependence.
2532
2533 2016-03-30 Jan Hubicka <hubicka@ucw.cz>
2534
2535 PR ipa/68881
2536 * cgraph.h (symtab_node::copy_visibility_from): New function.
2537 * symtab.c (symtab_node::copy_visibility_from): New function.
2538 * ipa-visibility.c (optimize_weakref): New function.
2539 (function_and_variable_visibility): Use it.
2540
2541 2016-04-04 Martin Liska <mliska@suse.cz>
2542
2543 PR hsa/70402
2544 * hsa-gen.c (gen_hsa_insns_for_switch_stmt): Guard index
2545 value that is really in range handled by SBR instruction.
2546 * hsa-brig.c (emit_switch_insn): Do not emit unconditional jump.
2547 * hsa-dump.c (dump_hsa_insn_1): Do not dump default BB.
2548 * hsa.h (hsa_insn_sbr::m_default_bb): Remove field.
2549
2550 2016-04-03 Oleg Endo <olegendo@gcc.gnu.org>
2551
2552 PR target/70416
2553 PR target/67391
2554 * config/sh/sh.md (*addsi3): Allow pattern when reload_in_progress is
2555 set, but not for SP_REG operands.
2556
2557 2016-04-02 Martin Sebor <msebor@redhat.com>
2558
2559 PR c++/67376
2560 * fold-const.c (maybe_nonzero_address): New function.
2561 (fold_comparison): Call it. Fold equality and relational
2562 expressions involving null pointers.
2563 (tree_single_nonzero_warnv_p): Call maybe_nonzero_address.
2564
2565 2016-03-31 Evandro Menezes <e.menezes@samsung.com>
2566
2567 Fix the predicate "aarch64_simd_reg_or_zero" to correctly validate
2568 the "Y" constraint (scalar FP 0.0 immediate).
2569
2570 * gcc/config/aarch64/predicates.md (aarch64_simd_reg_or_zero):
2571 Add the "const_double" to the list of operand constraints.
2572
2573 2016-04-01 Jakub Jelinek <jakub@redhat.com>
2574
2575 PR rtl-optimization/70467
2576 * config/i386/i386.md (*add<dwi>3_doubleword, *sub<dwi>3_doubleword):
2577 If low word of the last operand is 0, just emit addition/subtraction
2578 for the high word.
2579
2580 2016-04-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
2581
2582 PR target/70404
2583 * config/s390/s390.c (s390_expand_insv): Check for everything
2584 constant instead of just VOIDmode stuff.
2585
2586 2016-04-01 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
2587
2588 PR target/70496
2589 * config/arm/arm.h (ASM_APP_OFF): Handle TARGET_ARM and TARGET_THUMB.
2590
2591 2016-04-01 Nathan Sidwell <nathan@acm.org>
2592
2593 * tree.def (TRY_CATCH_EXPR): Correct documentation.
2594
2595 2016-03-31 Vladimir Makarov <vmakarov@redhat.com>
2596
2597 PR rtl-optimization/70461
2598 * ira-color.c (allocno_copy_cost_saving): Use allocno class if it
2599 is necessary.
2600
2601 2016-03-31 Martin Liska <mliska@suse.cz>
2602
2603 PR hsa/70399
2604 * hsa-brig.c (hsa_op_immed::emit_to_buffer): Emit either
2605 a tree value or an immediate integer value to a buffer
2606 that is eventually copied to a BRIG section.
2607 (emit_immediate_operand): Call the function here.
2608 * hsa-dump.c (dump_hsa_immed): Remove checking assert.
2609 * hsa-gen.c (hsa_op_immed::hsa_op_immed): Remove initialization
2610 of class' fields that are removed.
2611 (hsa_op_immed::~hsa_op_immed): Remove deinitialization.
2612 * hsa.h (class hsa_op_immed): Remove m_brig_repr and
2613 m_brig_repr_size fields.
2614
2615 2016-03-31 Martin Liska <mliska@suse.cz>
2616
2617 PR hsa/70391
2618 * hsa-gen.c (hsa_function_representation::update_dominance): New
2619 function.
2620 (convert_addr_to_flat_segment): Likewise.
2621 (gen_hsa_memory_set): New alignment argument.
2622 (gen_hsa_ctor_assignment): Likewise.
2623 (gen_hsa_insns_for_single_assignment): Provide alignment
2624 to gen_hsa_ctor_assignment.
2625 (gen_hsa_insns_for_direct_call): Add new argument.
2626 (expand_lhs_of_string_op): New function.
2627 (expand_string_operation_builtin): Likewise.
2628 (expand_memory_copy): New function.
2629 (expand_memory_set): New function.
2630 (gen_hsa_insns_for_call): Use HOST_WIDE_INT.
2631 (convert_switch_statements): Change signature.
2632 (generate_hsa): Use a return value of the function.
2633 (pass_gen_hsail::execute): Do not call
2634 convert_switch_statements here.
2635 * hsa-regalloc.c (hsa_regalloc): Call update_dominance.
2636 * hsa.h (hsa_function_representation::m_modified_cfg): New flag.
2637 (hsa_function_representation::update_dominance): New function.
2638
2639 2016-03-31 Martin Liska <mliska@suse.cz>
2640
2641 PR hsa/70391
2642 * hsa-brig.c (emit_directive_variable): Emit alignment
2643 according to hsa_symbol::m_align.
2644 * hsa-dump.c (hsa_byte_alignment): Move the function to another file.
2645 (dump_hsa_symbol): Dump alignment of HSA symbols.
2646 * hsa-gen.c (get_symbol_for_decl): Set-up alignment of a symbol.
2647 (gen_hsa_addr_with_align): New function.
2648 (hsa_bitmemref_alignment): Use newly added function.
2649 (gen_hsa_insns_for_load): Likewise.
2650 (gen_hsa_insns_for_store): Likewise.
2651 (gen_hsa_memory_copy): New argument added.
2652 (gen_hsa_insns_for_single_assignment): Respect
2653 alignment for assignments processed via gen_hsa_memory_copy.
2654 (gen_hsa_insns_for_direct_call): Likewise.
2655 (gen_hsa_insns_for_return): Likewise.
2656 (gen_function_def_parameters): Set default alignment.
2657 * hsa.c (hsa_object_alignment): New function.
2658 (hsa_byte_alignment): Pasted function.
2659 * hsa.h (hsa_symbol::m_align): New field.
2660
2661 2016-03-31 Bin Cheng <bin.cheng@arm.com>
2662
2663 * tree-ssa-loop-ivopts.c (get_computation_cost_at): Initialize
2664 scratch field for goto case.
2665
2666 2016-03-31 James Greenhalgh <james.greenhalgh@arm.com>
2667
2668 * config/arm/linux-elf.h (ASM_OUTPUT_DEF): Delete.
2669
2670 2016-03-31 Ilya Enkovich <enkovich.gnu@gmail.com>
2671
2672 PR target/70442
2673 * config/i386/i386.c (scalar_chain::convert_op): Fix description.
2674 (scalar_chain::convert_insn): Call convert_op for reg
2675 moves to handle undefined registers.
2676
2677 2016-03-31 Nathan Sidwell <nathan@acm.org>
2678
2679 PR c++/70393
2680 * varasm.c (output_constructor_regular_field): Flush bitfield earlier.
2681 Assert we don't want to move backwards.
2682
2683 2016-03-31 Kirill Yukhin <kirill.yukhin@intel.com>
2684
2685 PR target/70453
2686 * config/i386/sse.md (define_mode_attr shuffletype): Fix typo.
2687
2688 2016-03-31 Jakub Jelinek <jakub@redhat.com>
2689
2690 PR rtl-optimization/70460
2691 * ira.c (indirect_jump_optimize): Don't substitute LABEL_REF
2692 with operand from REG_LABEL_OPERAND, instead substitute
2693 SET_SRC or REG_EQUAL note content if it is a LABEL_REF.
2694 Don't do anything for REG_NON_LOCAL_GOTO jumps.
2695
2696 2016-03-31 Martin Liska <mliska@suse.cz>
2697
2698 * passes.c (execute_one_pass): Do not call
2699 todo_after for a discarded function.
2700
2701 2016-03-31 Bin Cheng <bin.cheng@arm.com>
2702
2703 * tree-ssa-loop-ivopts.c (struct comp_cost): New scrach field.
2704 (no_cost, infinite_cost): Initialize the new field.
2705 (get_computation_cost_at): Record setup cost.
2706 (determine_use_iv_cost_address): Skip cost computation for sub
2707 uses if we can estimate it without losing accuracy.
2708
2709 2016-03-30 Jan Hubicka <hubicka@ucw.cz>
2710
2711 * tree-ssa-loop-niter.c (idx_infer_loop_bounds): We can't get realistic
2712 estimates here.
2713 * tree-ssa-loop-unswitch.c (tree_unswitch_single_loop): Use also
2714 max_loop_iterations_int.
2715 (tree_unswitch_outer_loop): Likewise.
2716 * tree-ssa-loop-ivopts.c (avg_loop_niter): Likewise.
2717 * tree-vect-loop.c (vect_analyze_loop_2): Likewise.
2718
2719 2016-03-30 Richard Biener <rguenther@suse.de>
2720
2721 PR middle-end/70450
2722 * fold-const.c (extract_muldiv_1): Fix thinko in wide_int::from usage.
2723
2724 2016-03-30 Jakub Jelinek <jakub@redhat.com>
2725
2726 PR target/70421
2727 * config/i386/i386.c (ix86_expand_vector_set): Fix up argument order
2728 in gen_blendm expander.
2729
2730 2016-03-30 Nick Clifton <nickc@redhat.com>
2731
2732 PR target/62254
2733 * config/arm/arm.c (arm_reload_out_hi): Add code to handle the
2734 case where we are already provided with an SImode SUBREG.
2735
2736 2016-03-30 H.J. Lu <hongjiu.lu@intel.com>
2737
2738 PR target/70439
2739 * config/i386/i386.c (ix86_expand_epilogue): Properly check
2740 conflict between DRAP register and __builtin_eh_return.
2741
2742 2016-03-30 Michael Matz <matz@suse.de>
2743 Richard Biener <rguenther@suse.de>
2744
2745 PR ipa/12392
2746 * ipa-polymorphic-call.c (struct type_change_info): Change
2747 speculative to an unsigned allowing to limit the work we do.
2748 (csftc_abort_walking_p): New inline function..
2749 (check_stmt_for_type_change): Limit the number of may-defs
2750 skipped for speculative devirtualization to
2751 max-speculative-devirt-maydefs.
2752 * params.def (max-speculative-devirt-maydefs): New param.
2753 * doc/invoke.texi (--param max-speculative-devirt-maydefs): Document.
2754
2755 2016-03-30 Mike Stump <mrs@gcc.gnu.org>
2756
2757 PR target/63890
2758 * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Use when profiling
2759 and TARGET_MACHO.
2760
2761 2016-03-30 Patrick Palka <ppalka@gcc.gnu.org>
2762
2763 PR tree-optimization/59124
2764 * tree-vrp.c (register_edge_assert_for_2): For NAME != CST1
2765 where NAME = A +- CST2 add the assertion A != (CST1 -+ CST2).
2766
2767 2016-03-29 Jeff Law <law@redhat.com>
2768
2769 * tree-ssa-coalesce.c (struct ssa_conflicts): Fix typo in comment.
2770
2771 2016-03-10 Jan Hubicka <hubicka@ucw.cz>
2772
2773 * tree-ssa-loop-ivcanon.c (try_peel_loop): Change type of peel
2774 to HOST_WIDE_INT.
2775
2776 2016-03-29 Thomas Schwinge <thomas@codesourcery.com>
2777
2778 * config/gnu.h (CPP_SPEC, LIB_SPEC): Don't override.
2779 * config/i386/gnu.h (STARTFILE_SPEC): Use gcrt1.o instead of
2780 gcrt0.o if linking dynamically.
2781
2782 2016-03-10 Jan Hubicka <hubicka@ucw.cz>
2783
2784 PR ipa/70283
2785 * ipa-devirt.c (methods_equal_p): New function.
2786 (compare_virtual_tables): Use it.
2787 * cgraph.h (symbol_table::symbol_suffix_separator): Declare.
2788 * cgraphclones.c (clone_function_name_1): Use
2789 symbol_table::symbol_suffix_separator.
2790 * coverage.c (build_var): Likewise.
2791 * symtab.c (symbol_table::symbol_suffix_separator): New.
2792
2793 2016-03-29 Jakub Jelinek <jakub@redhat.com>
2794
2795 PR rtl-optimization/70429
2796 * combine.c (simplify_shift_const_1): For ASHIFTRT don't optimize
2797 (cst1 >> count) >> cst2 into (cst1 >> cst2) >> count if
2798 mode != result_mode.
2799
2800 PR c++/70353
2801 * tree-inline.c (remap_decls): Don't add_local_decl if cfun is null.
2802
2803 PR tree-optimization/70405
2804 * ssa-iterators.h (num_imm_uses): Add missing braces.
2805
2806 2016-03-29 Vladimir Makarov <vmakarov@redhat.com>
2807
2808 PR rtl-optimization/68695
2809 * ira-color.c (allocno_copy_cost_saving): New.
2810 (improve_allocation): Use it.
2811
2812 2016-03-29 Richard Henderson <rth@redhat.com>
2813
2814 PR middle-end/70355
2815 * lower-subreg.c (simplify_subreg_concatn): Reject paradoxical subregs.
2816
2817 2016-03-29 Richard Biener <rguenther@suse.de>
2818
2819 PR middle-end/70424
2820 * ipa-prop.c (ipa_compute_jump_functions_for_edge): Always
2821 use alignment returned by get_pointer_alignment_1 if it is
2822 bigger than BITS_PER_UNIT.
2823 * builtins.c (get_pointer_alignment_1): Do not return true
2824 for alignment extracted from SSA info.
2825
2826 2016-03-28 James Bowman <james.bowman@ftdichip.com>
2827
2828 * config/ft32/ft32.opt (mnodiv): New.
2829 * config/ft32/ft32.md (*divsi3, *modsi3): Qualify with TARGET_NODIV.
2830 * doc/invoke.texi (FT32 Options -mnodiv): New.
2831
2832 2016-03-28 Kirill Yukhin <kirill.yukhin@intel.com>
2833
2834 PR target/70406
2835 * config/i386/i386.md (define_split, andn): Fix modes.
2836
2837 2016-03-26 Richard Biener <rguenther@suse.de>
2838 Prathamesh Kulkarni <prathamesh.kulkarni@linaro.org>
2839
2840 PR ipa/70366
2841 * ipa-inline-transform.c (inline_call): Pass opts_for_fn (to->decl)
2842 instead of
2843 TREE_OPTIMIZATION (DECL_FUNCTION_SPECIFIC_OPTIMIZATION (to->decl))
2844 as 2nd argument to cl_optimization_restore().
2845
2846 2016-03-25 Richard Henderson <rth@redhat.com>
2847
2848 PR target/70120
2849 * config/aarch64/aarch64.c (aarch64_asm_output_pool_epilogue): New.
2850 * config/aarch64/aarch64-protos.h: Declare it.
2851 * config/aarch64/aarch64.h (ASM_OUTPUT_POOL_EPILOGUE): New.
2852
2853 2016-03-25 Alan Modra <amodra@gmail.com>
2854
2855 PR target/70052
2856 * config/rs6000/constraints.md (j): Simplify.
2857 * config/rs6000/predicates.md (easy_fp_constant): Exclude
2858 decimal float 0.D.
2859 * config/rs6000/rs6000.md (zero_fp): New mode_attr.
2860 (mov<mode>_hardfloat, mov<mode>_hardfloat32, mov<mode>_hardfloat64,
2861 mov<mode>_64bit_dm, mov<mode>_32bit): Use zero_fp in place of j
2862 in all constraint alternatives.
2863 (movtd_64bit_nodm): Delete "j" constraint alternative.
2864
2865 2016-03-24 Aldy Hernandez <aldyh@redhat.com>
2866
2867 * tree-ssa-propagate.c: Enhance docs for
2868 SSA_PROP_NOT_INTERESTING.
2869
2870 2016-03-24 Aldy Hernandez <aldyh@redhat.com>
2871
2872 * doc/extend.texi: Fix typo in documentation to pure attribute.
2873
2874 2016-03-24 John David Anglin <danglin@gcc.gnu.org>
2875
2876 PR target/70319
2877 * config/pa/pa.md (bswapdi2): Use a scratch register.
2878
2879 2016-03-24 Richard Henderson <rth@redhat.com>
2880
2881 PR middle-end/69845
2882 * fold-const.c (extract_muldiv_1): Correct test for multiplication
2883 overflow.
2884
2885 2016-03-24 Uros Bizjak <ubizjak@gmail.com>
2886
2887 * config/i386/i386.md (*anddi3_doubleword): Generate AND insn
2888 using ix86_expand_binary_operator instead of gen_andsi3.
2889
2890 2016-03-24 Richard Biener <rguenther@suse.de>
2891
2892 PR tree-optimization/70396
2893 * tree-vect-stmts.c (vectorizable_comparison): Use
2894 get_vectype_for_scalar_type.
2895
2896 2016-03-24 Richard Biener <rguenther@suse.de>
2897
2898 PR middle-end/70370
2899 * gimplify.c (gimplify_asm_expr): Handle !allows_mem outputs
2900 with register bases.
2901
2902 2016-03-24 Richard Biener <rguenther@suse.de>
2903
2904 PR tree-optimization/70372
2905 * tree-ssa-reassoc.c (eliminate_plus_minus_pair): Use
2906 build_all_ones_cst to also handle vector types correctly.
2907
2908 2016-03-23 Michael Meissner <meissner@linux.vnet.ibm.com>
2909
2910 PR target/70381
2911 * config/rs6000/rs6000-cpus.def (ISA_2_6_MASKS_SERVER): Do not set
2912 -mfloat128 here.
2913
2914 2016-03-23 Marek Polacek <polacek@redhat.com>
2915
2916 PR c++/69884
2917 * doc/invoke.texi: Document -Wignored-attributes.
2918
2919 2016-03-23 Bin Cheng <bin.cheng@arm.com>
2920
2921 PR tree-optimization/69042
2922 * params.def (PARAM_IV_CONSIDER_ALL_CANDIDATES_BOUND): Increase the
2923 parameter from 30 to 40.
2924
2925 2016-03-23 Bin Cheng <bin.cheng@arm.com>
2926
2927 PR tree-optimization/69042
2928 * tree-ssa-loop-ivopts.c (add_iv_candidate_for_use): Add IV cand
2929 for use with constant offset stripped in base.
2930
2931 2016-03-23 Richard Biener <rguenther@suse.de>
2932
2933 PR middle-end/70251
2934 * match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Adjust
2935 mode compatibility check.
2936 (A - (B vcmp C ? 1 : 0) -> A + (B vcmp C)): Likewise.
2937
2938 2016-03-23 Jeff Law <law@redhat.com>
2939
2940 PR tree-optimization/64058
2941 * tree-ssa-coalesce.c (struct coalesce_pair): Add new field
2942 CONFLICT_COUNT.
2943 (struct ssa_conflicts): Move up earlier in the file.
2944 (conflicts_, var_map_): New static variables.
2945 (initialize_conflict_count): New function to initialize the
2946 CONFLICT_COUNT field for each conflict pair.
2947 (compare_pairs): Lazily initialize the conflict count and use it
2948 as the first tie-breaker.
2949 (sort_coalesce_list): Add new arguments conflicts, map. Initialize
2950 and wipe conflicts_ and map_ around the call to qsort. Remove
2951 special case for 2 coalesce pairs.
2952 * bitmap.c (bitmap_count_unique_bits): New function.
2953 (bitmap_count_bits_in_word): New function, extracted from
2954 bitmap_count_bits.
2955 (bitmap_count_bits): Use bitmap_count_bits_in_word.
2956 * bitmap.h (bitmap_count_unique_bits): Declare it.
2957
2958 2016-03-23 Ilya Enkovich <enkovich.gnu@gmail.com>
2959
2960 PR target/69917
2961 * config/i386/sol2.h (ASM_OUTPUT_DEF_FROM_DECLS): Follow
2962 transparent alias chain for decl assembler name.
2963 * config/sol2.c (solaris_assemble_visibility): Likewise.
2964
2965 2016-03-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2966
2967 * config/arm/arm1020e.md (1020call_op): Reduce reservation
2968 duration.
2969 (v10_fdivs): Likewise.
2970 (v10_fdivd): Likewise.
2971
2972 2016-03-23 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2973
2974 PR driver/70132
2975 * config/arm/driver-arm.c (host_detect_local_cpu): Reorder exit logic
2976 to not call fclose twice on file.
2977
2978 2016-03-23 Jakub Jelinek <jakub@redhat.com>
2979
2980 PR tree-optimization/70354
2981 * tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If
2982 oprnd0 is wider than oprnd1 and there is a cast from the wider
2983 type to oprnd1, mask it with the mask of the narrower type.
2984
2985 PR target/70321
2986 * config/i386/i386.md (*anddi3_doubleword, *<code>di3_doubleword):
2987 Optimize TARGET_STV splitters, if high or low word of last argument
2988 is 0 or -1.
2989
2990 2016-03-22 Jeff Law <law@redhat.com>
2991
2992 PR target/70232
2993 tree-ssa-threadbackward.c
2994 (fsm_find_control_statement_thread_paths): Correctly distinguish
2995 between old style jump threads vs FSM jump threads.
2996
2997 2016-03-22 Ilya Enkovich <enkovich.gnu@gmail.com>
2998
2999 PR target/70302
3000 * config/i386/i386.c (scalar_chain::convert_op): Support
3001 uninitialized register usage case.
3002
3003 2016-03-22 Richard Biener <rguenther@suse.de>
3004
3005 PR middle-end/70251
3006 * genmatch.c (gen_transform): Adjust last parameter to a three-state
3007 int...
3008 (capture::gen_transform): ... to change behavior when substituting
3009 a condition into cond or not-cond expr context.
3010 (dt_simplify::gen_1): Adjust.
3011 * gimple-match-head.c: Include gimplify.h for unshare_expr.
3012 * match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Revert
3013 last change and instead change to
3014 A + (B vcmp C ? 1 : 0) -> A - (B vcmp C ? -1 : 0).
3015 (A - (B vcmp C ? 1 : 0) -> A + (B vcmp C)): Likewise.
3016
3017 2016-03-22 Anthony Green <green@moxielogic.com>
3018
3019 * config/moxie/moxiebox.h (CC1_SPEC): Define. Fix endianness
3020 issue for moxiebox targets.
3021 (CC1PLUS_SPEC): Ditto.
3022
3023 2016-03-22 Richard Biener <rguenther@suse.de>
3024
3025 PR middle-end/70333
3026 * fold-const.c (extract_muldiv_1): Properly perform multiplication
3027 in the wide type.
3028
3029 2016-03-22 Kirill Yukhin <kirill.yukhin@intel.com>
3030
3031 * config/i386/i386.c (def_builtin): Remove duplicated functionality.
3032
3033 2016-03-22 Kirill Yukhin <kirill.yukhin@intel.com>
3034
3035 PR target/70325
3036 * config/i386/i386.c (def_builtin): Handle
3037 OPTION_MASK_ISA_AVX512VL to be and-ed with other
3038 bits.
3039 (const struct builtin_description bdesc_special_args[]):
3040 Remove duplicate ISA bits.
3041
3042 2016-03-22 Jakub Jelinek <jakub@redhat.com>
3043
3044 PR target/70329
3045 * config/i386/i386.c (ix86_expand_vecop_qihi): Don't bother computing
3046 d.perm[i] for i >= d.nelt. If not full_interleave, compute d.perm[i]
3047 in a way that works also for AVX512BW.
3048
3049 PR target/70300
3050 * config/i386/i386.md (cvtsd2ss splitter): Unpack in destination
3051 instead of source if operands[1] is xmm16 and above and
3052 !TARGET_AVX512VL. Use avx512f_vec_dupv16sf_1 instead of
3053 vec_interleave_lowv4sf if we need to unpack xmm16 and above.
3054
3055 PR c++/70295
3056 * gimplify.c (gimplify_modify_expr): Call gimple_set_no_warning
3057 on assign if (*from_p) is a comparison, set it to
3058 TREE_NO_WARNING (*from_p).
3059
3060 2016-03-21 Jakub Jelinek <jakub@redhat.com>
3061
3062 PR middle-end/70326
3063 * lra.c (restore_scratches): Ignore deleted insns.
3064
3065 2016-03-21 Marc Glisse <marc.glisse@inria.fr>
3066 Jakub Jelinek <jakub@redhat.com>
3067
3068 PR tree-optimization/70317
3069 * match.pd (cmp @0 @0): Pass @0 instead of TYPE_MODE (TREE_TYPE (@0))
3070 to HONOR_NANS.
3071
3072 2016-03-21 Uros Bizjak <ubizjak@gmail.com>
3073
3074 PR target/70327
3075 * config/i386/i386.md (movxi): Use ix86_expand_vector_move instead
3076 of ix86_expand_move.
3077 (movoi): Ditto.
3078 (movti): Use general_operand for operand 1 predicate.
3079
3080 2016-03-21 Martin Liska <mliska@suse.cz>
3081
3082 * hsa-dump.c (dump_hsa_insn_1): dump default branch of SBR
3083 insns.
3084 (dump_hsa_symbol): Dump BRIG offset of hsa_symbols.
3085
3086 2016-03-21 Martin Liska <mliska@suse.cz>
3087
3088 PR ipa/70306
3089 * ipa-icf.c (sem_function::parse): Skip static
3090 constructors and destructors.
3091
3092 2016-03-21 Jakub Jelinek <jakub@redhat.com>
3093
3094 PR target/70296
3095 * config/rs6000/rs6000-c.c (rs6000_macro_to_expand): If IDENT is
3096 function-like macro, peek following token(s) if it is followed
3097 by CPP_OPEN_PAREN token with optional padding in between, and
3098 if not, don't treat it like a macro.
3099
3100 2016-03-21 Thomas Schwinge <thomas@codesourcery.com>
3101 Alexander Monakov <amonakov@ispras.ru>
3102
3103 * config/nvptx/nvptx.c (nvptx_option_override): Don't emit sorry
3104 for the stabs debug format.
3105
3106 2016-03-21 Richard Biener <rguenther@suse.de>
3107
3108 PR tree-optimization/70310
3109 * tree-vect-generic.c (expand_vector_condition): Fold the built
3110 condition.
3111
3112 2016-03-21 Kirill Yukhin <kirill.yukhin@intel.com>
3113
3114 PR target/70293
3115 * config/i386/sse.md: (define_insn "*vec_dup<mode>"/AVX2):
3116 Block third alternative for AVX-512VL target,
3117
3118 2016-03-21 Martin Liska <mliska@suse.cz>
3119
3120 PR hsa/70234
3121 * hsa-brig.c (emit_function_directives): Mark unemitted
3122 global variables for emission.
3123 * hsa-gen.c (hsa_symbol::hsa_symbol): Initialize a new flag.
3124 (get_symbol_for_decl): Likewise.
3125 * hsa.h (struct hsa_symbol): New flag.
3126
3127 2016-03-21 Richard Biener <rguenther@suse.de>
3128
3129 PR tree-optimization/70288
3130 * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Make sure
3131 we do not estimate unsimplified all-constant conditionals or
3132 switches as optimized away.
3133
3134 2016-03-21 Andrey Belevantsev <abel@ispras.ru>
3135
3136 PR rtl-optimization/69102
3137 * sched-deps.c (sched_analyze_insn): Do not set last_args_size field
3138 when we have a readonly dependency context.
3139
3140 2016-03-18 Jeff Law <law@redhat.com>
3141
3142 PR rtl-optimization/70263
3143 * ira.c (memref_used_between_p): Assert we found END in the insn chain.
3144 (update_equiv_regs): When trying to move a store to after the insn
3145 that sets the source of the store, make sure the store occurs after
3146 the insn that sets the source of the store. When successful note
3147 the REG_EQUIV note created in the dump file.
3148
3149 2016-03-16 David Wohlferd <dw@LimeGreenSocks.com>
3150 Bernd Schmidt <bschmidt@redhat.com>
3151
3152 * doc/extend.texi: Document more potential problems with basic asms.
3153
3154 2016-03-18 Bernd Schmidt <bschmidt@redhat.com>
3155
3156 PR rtl-optimization/70278
3157 * lra-constraints.c (split_reg): Handle the case where biggest_mode is
3158 VOIDmode.
3159
3160 2016-03-18 Jason Merrill <jason@redhat.com>
3161
3162 * calls.c (load_register_parameters): Fix zero size sibcall logic.
3163
3164 2016-03-18 Kirill Yukhin <kirill.yukhin@intel.com>
3165
3166 * config/i386/sse.md: Use vpbroadcastq for broadcasting DF
3167 values to 128b regs.
3168
3169 2016-03-18 Ilya Enkovich <enkovich.gnu@gmail.com>
3170
3171 PR tree-optimization/70252
3172 * tree-vect-stmts.c (supportable_widening_operation): Check resulting
3173 boolean vector has a proper number of elements.
3174 (supportable_narrowing_operation): Likewise.
3175
3176 2016-03-18 Tom de Vries <tom@codesourcery.com>
3177
3178 PR ipa/70269
3179 * cgraph.c (cgraph_node::get_body): Set dump_file to NULL after save.
3180
3181 2016-03-18 Jakub Jelinek <jakub@redhat.com>
3182
3183 * reload1.c (emit_input_reload_insns): Use simplify_replace_rtx
3184 instead of replace_rtx for DEBUG_INSNs.
3185
3186 2016-03-18 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3187
3188 * config/i386/znver1.md : Fix latencies of FP/SSE/AVX
3189 load type reservations.
3190
3191 2016-03-17 John David Anglin <danglin@gcc.gnu.org>
3192
3193 PR target/70188
3194 * config/pa/constraints.md: Revert 2015-02-13 change. Use
3195 define_constraint for "Q" and "T" constraints.
3196
3197 2016-03-17 Evandro Menezes <e.menezes@samsung.com>
3198
3199 Tweak the pipeline model for Exynos M1
3200
3201 * config/aarch64/aarch64.c (exynosm1_tunings): Enable weak prefetching
3202 model.
3203
3204 2016-03-17 David Malcolm <dmalcolm@redhat.com>
3205
3206 PR c/70264
3207 * diagnostic-show-locus.c (compatible_locations_p): Handle the case
3208 where one or both locations aren't within a line_map.
3209
3210 2016-03-17 H.J. Lu <hongjiu.lu@intel.com>
3211
3212 PR driver/70192
3213 * opts.c (finish_options): Don't set flag_pie to the default if
3214 -fpic, -fPIC, -fno-pic or -fno-PIC is used. Set flag_pic to 0
3215 if it is -1.
3216
3217 2016-03-17 Joern Rennecke <joern.rennecke@embecosm.com>
3218
3219 * config/i386/i386.md (*movv4qicc_insn+1..36): Pass
3220 true as ALL_REGS argument to replace_rtx.
3221
3222 2016-03-17 Richard Biener <rguenther@suse.de>
3223
3224 PR debug/70271
3225 * dwarf2out.c (dwarf2out_early_finish): Process deferred_asm_name
3226 last.
3227
3228 2016-03-17 Jakub Jelinek <jakub@redhat.com>
3229
3230 PR target/70245
3231 * rtl.h (replace_rtx): Add ALL_REGS argument.
3232 * rtlanal.c (replace_rtx): Likewise. If true, use REGNO
3233 equality and assert mode is the same, instead of just rtx pointer
3234 equality.
3235 * config/i386/i386.md (mov + arithmetics with load peephole): Pass
3236 true as ALL_REGS argument to replace_rtx.
3237
3238 2016-03-17 Ilya Enkovich <enkovich.gnu@gmail.com>
3239
3240 * match.pd (A + (B vcmp C ? 1 : 0) -> A - (B vcmp C)): Apply
3241 for boolean vector with vector mode only.
3242 (A - (B vcmp C ? 1 : 0) -> A + (B vcmp C)): Likewise.
3243
3244 2016-03-17 Nick Clifton <nickc@redhat.com>
3245
3246 PR target/70162
3247 * config/rx/rx.c (rx_print_integer): Print negative constants in
3248 decimal.
3249
3250 2016-03-17 Jakub Jelinek <jakub@redhat.com>
3251
3252 PR target/70261
3253 * rtlanal.c (replace_rtx): Revert 2016-03-16 change.
3254
3255 2016-03-16 Richard Henderson <rth@redhat.com>
3256 Richard Biener <rguenth@suse.de>
3257
3258 PR middle-end/70240
3259 PR middle-end/68215
3260 PR tree-opt/68714
3261 * gimplify.c (gimplify_expr) [VEC_COND_EXPR]: Gimplify the
3262 first operand as is_gimple_condexpr.
3263
3264 PR middle-end/70240
3265 PR middle-end/68215
3266 Revert r231575
3267 2015-12-11 Eric Botcazou <ebotcazou@adacore.com>
3268 * tree-vect-generic.c (tree_vec_extract): Remove GSI parameter.
3269 Do not gimplify the result.
3270 (do_unop): Adjust call to tree_vec_extract.
3271 (do_binop): Likewise.
3272 (do_compare): Likewise.
3273 (do_plus_minus): Likewise.
3274 (do_negate): Likewise.
3275 (expand_vector_condition): Likewise.
3276 (do_cond): Likewise.
3277
3278 2016-03-16 Richard Henderson <rth@redhat.com>
3279
3280 PR target/70048
3281 * config/aarch64/aarch64.c (virt_or_elim_regno_p): New.
3282 (aarch64_classify_address): Use it.
3283 (aarch64_legitimize_address): Force all subexpressions of PLUS
3284 into registers. Simplify as (sfp+const)+reg or (reg+reg)+const.
3285
3286 2016-03-16 Jakub Jelinek <jakub@redhat.com>
3287 Richard Biener <rguenth@suse.de>
3288
3289 PR target/70245
3290 * rtlanal.c (replace_rtx): For REG, if from is a REG,
3291 return to even if only REGNO is equal, and assert
3292 mode is the same.
3293
3294 2016-03-11 Jeff Law <law@redhat.com>
3295
3296 PR rtl-optimization/70224
3297 * reorg.c (relax_delay_slots): Pass right argument to CROSSING_JUMP_P.
3298
3299 2016-03-16 Richard Henderson <rth@redhat.com>
3300
3301 PR middle-end/70199
3302 * function.h (struct function): Add has_forced_label_in_static.
3303 * gimplify.c (force_labels_r): Set it.
3304 * lto-streamer-in.c (input_struct_function_base): Read it.
3305 * lto-streamer-out.c (output_struct_function_base): Write it.
3306 * tree-inline.c (has_label_address_in_static_1): Remove.
3307 (copy_forbidden): Remove fndecl parameter; test
3308 has_forced_label_in_static.
3309 (inline_forbidden_p): Update call to copy_forbidden.
3310 (tree_versionable_function_p): Likewise.
3311 * ipa-chkp.c (chkp_instrumentable_p): Likewise.
3312 (chkp_versioning): Likewise.
3313 * tree-inline.h (copy_forbidden): Update decl.
3314
3315 2016-03-16 Marek Polacek <polacek@redhat.com>
3316
3317 PR c/70093
3318 * cgraphunit.c (cgraph_node::expand_thunk): Also build call to the
3319 function being thunked if the result type doesn't have fixed size.
3320 * gimplify.c (gimplify_modify_expr): Also set LHS if the result type
3321 doesn't have fixed size.
3322
3323 2016-03-16 Bin Cheng <bin.cheng@arm.com>
3324
3325 * tree-vect-loop.c (vect_analyze_loop_2): Fix wrong dump info by
3326 reporting malformed loop nest.
3327
3328 2016-03-16 Tom de Vries <tom@codesourcery.com>
3329
3330 PR lto/70187
3331 * ipa-devirt.c (possible_polymorphic_call_targets): Move
3332 nodes.length () == 1 test to before first nodes[0] access.
3333
3334 2016-03-16 Tom de Vries <tom@codesourcery.com>
3335
3336 PR tree-optimization/68715
3337 * graphite-scop-detection.c (scop_detection::merge_sese): Add missing
3338 single_pred_p test.
3339
3340 2016-03-16 Tom de Vries <tom@codesourcery.com>
3341
3342 PR tree-optimization/68809
3343 * graphite-scop-detection.c (same_close_phi_node): Test if result types
3344 are the same.
3345
3346 2016-03-16 Carlos O'Donell <carlos@redhat.com>
3347 Sandra Loosemore <sandra@codesourcery.com>
3348
3349 * doc/extend.texi (Common Function Attributes): Describe ifunc impact
3350 on leaf attribute. Mention ELF interposition problems.
3351
3352 2016-03-16 Alan Modra <amodra@gmail.com>
3353
3354 PR rtl-optimization/69195
3355 PR rtl-optimization/47992
3356 * ira.c (indirect_jump_optimize): Ignore artificial defs.
3357 Add comments.
3358
3359 2016-03-15 Eric Botcazou <ebotcazou@adacore.com>
3360
3361 PR bootstrap/69513
3362 * dwarf2out.c (flush_limbo_die_list): Really flush the limbo list.
3363
3364 2016-03-15 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
3365
3366 * config/avr/avr.md (rotl<mode>3): Set mode for operand 2.
3367
3368 2016-03-15 Jakub Jelinek <jakub@redhat.com>
3369
3370 PR rtl-optimization/70222
3371 * combine.c (simplify_shift_const_1): For A >> B >> C LSHIFTRT
3372 optimization if mode is different from result_mode, queue up masking
3373 of the result in outer_op. Formatting fix.
3374
3375 PR middle-end/70239
3376 * tree-ssa-sccvn.c (VN_INFO_GET): Use safe_grow_cleared instead
3377 of safe_grow.
3378
3379 2016-03-15 Andrey Belevantsev <abel@ispras.ru>
3380
3381 PR rtl-optimization/69032
3382 * sel-sched-ir.c (get_seqno_by_preds): Include both insn and head when
3383 looping backwards over basic block insns.
3384
3385 2016-03-15 Andrey Belevantsev <abel@ispras.ru>
3386
3387 PR target/66660
3388 * sel-sched-ir.c (merge_expr): Avoid changing the speculative pattern
3389 to non-speculative when propagating trap bits.
3390
3391 2016-03-15 Andrey Belevantsev <abel@ispras.ru>
3392
3393 PR rtl-optimization/63384
3394 * sel-sched.c (invoke_aftermath_hooks): Do not decrease issue_more on
3395 DEBUG_INSN_P insns.
3396
3397 2016-03-15 Andrey Belevantsev <abel@ispras.ru>
3398
3399 PR target/64411
3400 * sched-deps.c (get_implicit_reg_pending_clobbers): New function,
3401 factored out from ...
3402 (sched_analyze_insn): ... here.
3403 * sched-int.h (get_implicit_reg_pending_clobbers): Declare it.
3404 * sel-sched-ir.c (setup_id_implicit_regs): New function, use
3405 get_implicit_reg_pending_clobbers in it.
3406 (setup_id_reg_sets): Use setup_id_implicit_regs.
3407 (deps_init_id): Ditto.
3408
3409 2016-03-15 Tom de Vries <tom@codesourcery.com>
3410
3411 PR ipa/70161
3412 * cgraph.c (cgraph_node::get_body): Save, reset and restore
3413 dump_file_name.
3414 * passes.c (execute_one_ipa_transform_pass): Add missing argument to
3415 execute_function_dump.
3416 (execute_one_pass): Don't dump function if it will be dumped after ipa
3417 transform.
3418
3419 2016-03-15 Segher Boessenkool <segher@kernel.crashing.org>
3420
3421 * genrecog.c (match_pattern_2): If pred is NULL don't call
3422 safe_predicate_mode on it.
3423
3424 2016-03-14 Jakub Jelinek <jakub@redhat.com>
3425
3426 PR middle-end/70219
3427 * lra-constraints.c (delete_move_and_clobber): Change assertion
3428 to also allow dregno == 0.
3429
3430 2016-03-14 Richard Henderson <rth@redhat.com>
3431
3432 PR tree-opt/68714
3433 * tree-ssa-reassoc.c (ovce_extract_ops, optimize_vec_cond_expr): New.
3434 (can_reassociate_p): Allow ANY_INTEGRAL_TYPE_P.
3435 (reassociate_bb): Use optimize_vec_cond_expr; avoid
3436 optimize_range_tests, attempt_builtin_copysign and attempt_builtin_powi
3437 on vectors.
3438
3439 2016-03-14 Bernd Schmidt <bschmidt@redhat.com>
3440
3441 PR target/70083
3442 * lra-lives.c (process_bb_lives): Also update biggest mode for hard
3443 regs.
3444 (lra_create_live_ranges_1): initialize hard register biggest_mode to
3445 VOIDmode.
3446 * lra-constraints.c (split_reg): For hard regs, try to find the
3447 biggest single-register mode used in the function.
3448
3449 2016-03-14 Richard Biener <rguenther@suse.de>
3450
3451 PR tree-optimization/56365
3452 * tree-ssa-phiopt.c (minmax_replacement): Handle alternate
3453 constants to compare against.
3454
3455 2016-03-14 Segher Boessenkool <segher@kernel.crashing.org>
3456
3457 PR target/70098
3458 * config/rs6000/rs6000.md (*ctr<mode>_internal1, *ctr<mode>_internal2,
3459 *ctr<mode>_internal5, *ctr<mode>_internal6): Also allow "d" as output.
3460 (define_split for the GPR case): Use int_reg_operand instead of
3461 gpc_reg_operand for the output.
3462
3463 2016-03-14 Tom de Vries <tom@codesourcery.com>
3464
3465 PR tree-optimization/70045
3466 * graphite-isl-ast-to-gimple.c (graphite_create_new_loop_guard): Unshare
3467 create_empty_if_region_on_edge argument.
3468
3469 2016-03-13 Eric Botcazou <ebotcazou@adacore.com>
3470
3471 * config/arm/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Define.
3472 (STACK_CHECK_PROTECT): Likewise.
3473 * config/i386/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Likewise
3474 (STACK_CHECK_PROTECT): Likewise.
3475 * config/rs6000/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Likewise
3476 (STACK_CHECK_PROTECT): Likewise.
3477 * config/rs6000/vxworksae.h (STACK_CHECK_PROTECT): Likewise.
3478 * config/sparc/vxworks.h (STACK_CHECK_STATIC_BUILTIN): Likewise.
3479 (STACK_CHECK_PROTECT): Likewise.
3480
3481 2016-03-12 Andrey Belevantsev <abel@ispras.ru>
3482
3483 PR rtl-optimization/69307
3484 * sel-sched.c (choose_best_pseudo_reg): Properly check for hard
3485 registers in modes that span more than one register.
3486
3487 2016-03-12 Vladimir Makarov <vmakarov@redhat.com>
3488
3489 PR target/69614
3490 * lra-constraints.c (delete_move_and_clobber): New.
3491 (remove_inheritance_pseudos): Use it.
3492
3493 2016-03-12 Eric Botcazou <ebotcazou@adacore.com>
3494
3495 PR ada/70017
3496 * calls.c (emit_library_call_value_1): Clear the ECF_NOTHROW flag if
3497 the libcall is LCT_THROW.
3498 * explow.c (probe_stack_range): Pass LCT_THROW to emit_library_call
3499 for the checking routine.
3500
3501 2016-03-11 Michael Meissner <meissner@linux.vnet.ibm.com>
3502
3503 PR target/70131
3504 * config/rs6000/rs6000.md (round32<mode>2_fprs): Do not do the
3505 optimization if we have direct move.
3506 (roundu32<mode>2_fprs): Likewise.
3507
3508 2016-03-11 Bernd Schmidt <bschmidt@redhat.com>
3509
3510 PR target/70123
3511 * lra-remat.c (operand_to_remat): Disallow hard regs in the value t
3512 be rematerialized.
3513 (reg_overlap_for_remat_p): Renamed from input_regno_present_p.
3514 Arguments swapped. All callers changed. Take reg_renumber into
3515 account, and Calculate and compare register ranges for hard regs.
3516
3517 2016-03-11 Jeff Law <law@redhat.com>
3518
3519 PR tree-optimization/70190
3520 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
3521 Handle cases where we can not extract the taken edge, even though we
3522 found a constant value.
3523
3524 PR tree-optimization/64058
3525 * tree-ssa-coalesce.c (struct coalesce_pair): Add new field INDEX.
3526 (num_coalesce_pairs): Move up earlier in file.
3527 (find_coalesce_pair): Initialize the INDEX field for each pair
3528 discovered.
3529 (compare_pairs): No longer sort on the elements in each pair.
3530 Instead break ties with the index of the coalesce pair.
3531
3532 2016-03-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3533
3534 PR target/70002
3535 * config/aarch64/aarch64-protos.h
3536 (aarch64_save_restore_target_globals): New prototype.
3537 * config/aarch64/aarch64-c.c (aarch64_pragma_target_parse):
3538 Call the above when popping pragma.
3539 * config/aarch64/aarch64.c (aarch64_save_restore_target_globals):
3540 New function.
3541 (aarch64_set_current_function): Rewrite using the above.
3542
3543 2016-03-11 Jakub Jelinek <jakub@redhat.com>
3544
3545 PR tree-optimization/70177
3546 * gimple-expr.h (extract_ops_from_tree_1): Renamed to ...
3547 (extract_ops_from_tree): ... this. In the 2 argument
3548 overload remove _1 suffix.
3549 * gimple-expr.c (extract_ops_from_tree_1): Renamed to ...
3550 (extract_ops_from_tree): ... this.
3551 * gimple.c (gimple_build_assign, gimple_assign_set_rhs_from_tree):
3552 Adjust callers.
3553 * tree-ssa-loop-niter.c (derive_constant_upper_bound): Likewise.
3554 * tree-ssa-forwprop.c (defcodefor_name): Call 3 operand
3555 extract_ops_from_tree instead of 2 operand one.
3556
3557 2016-03-11 Alan Lawrence <alan.lawrence@arm.com>
3558
3559 PR tree-optimization/70013
3560 * tree-sra.c (analyze_access_subtree): Also set grp_unscalarized_data
3561 for constant-pool entries.
3562
3563 2016-03-11 Jakub Jelinek <jakub@redhat.com>
3564
3565 PR rtl-optimization/70174
3566 * expmed.c (store_bit_field_using_insv): Use gen_lowpart_if_possible
3567 followed by gen_lowpart on force_reg instead of just gen_lowpart.
3568
3569 PR tree-optimization/70169
3570 * tree-ssa-loop.c (gen_lsm_tmp_name): Handle FUNCTION_DECL and
3571 LABEL_DECL like VAR_DECL. Emit nothing instead of gcc_unreachable
3572 for unknown codes.
3573
3574 2016-03-11 Ilya Enkovich <enkovich.gnu@gmail.com>
3575 Jakub Jelinek <jakub@redhat.com>
3576
3577 PR target/70160
3578 * config/i386/i386.c (scalar_chain::convert_reg): Skip uses
3579 of uninitialized values.
3580
3581 2016-03-11 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
3582
3583 * config/s390/s390.md ("trunctddd2"): Turn former define_insn into
3584 define_expand.
3585 ("*trunctddd2"): New pattern definition.
3586 ("trunctdsd2"): Set prep_for_short_prec rounding mode for the
3587 TD->DD truncation.
3588
3589 2016-03-11 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
3590
3591 * config/s390/s390.md (BFP_RND_*, DFP_RND_*): Add new constant
3592 definitions for BFP and DFP rounding modes.
3593 ("fixuns_truncdddi2", "fixuns_trunctddi2")
3594 ("fixuns_trunc<BFP:mode><GPR:mode>2", "fixuns_trunc<mode>si2")
3595 ("fix_trunc<DSF:mode><GPR:mode>2", "fix_trunc<mode>di2")
3596 ("fix_trunctf<mode>2"): Use the new constants instead of magic
3597 numbers.
3598
3599 2016-03-11 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
3600
3601 * config/s390/constraints.md: Adjust comment.
3602 ("Y"): Adjust comment. Rename s390_decompose_shift_count to
3603 s390_decompose_addrstyle_without_index.
3604 * config/s390/predicates.md (shift_count_or_setmem_operand):
3605 Rename to setmem_operand.
3606 * config/s390/s390-protos.h
3607 (s390_decompose_shift_count): Rename to
3608 s390_decompose_addrstyle_without_index.
3609 * config/s390/s390.c (s390_decompose_shift_count)
3610 (s390_mem_constraint, print_shift_count_operand)
3611 (print_operand_address, print_operand): Rename
3612 s390_decompose_shift_count to
3613 s390_decompose_addrstyle_without_index and rename
3614 print_shift_count_operand to print_addrstyle_operand troughout the
3615 file.
3616 * config/s390/s390.md ("setmem_long_<P:mode>", "*setmem_long")
3617 ("*setmem_long_and", "*setmem_long_31z", "*setmem_long_and_31z"):
3618 Rename shift_count_or_setmem_operand to setmem_operand.
3619 * config/s390/vx-builtins.md ("vec_insert<mode>")
3620 ("vec_promote<mode>"): Replace shift_count_or_setmem_operand with
3621 nonmemory_operand.
3622
3623 2016-03-10 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
3624
3625 PR target/70168
3626 * config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap):
3627 Handle overlapping retval and newval.
3628
3629 2016-03-10 Nick Clifton <nickc@redhat.com>
3630
3631 PR target/7044
3632 * config/aarch64/aarch64.c
3633 (aarch64_override_options_after_change_1): When forcing
3634 flag_omit_frame_pointer to be true, use a special value that can
3635 be detected if this function is called again, thus preventing
3636 flag_omit_leaf_frame_pointer from being forced to be false.
3637
3638 2016-03-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3639
3640 * common/config/aarch64/aarch64-common.c (aarch64_handle_option):
3641 Set x_flag_omit_leaf_frame_pointer when handling
3642 -momit-leaf-frame-pointer.
3643
3644 2016-03-10 Jan Hubicka <hubicka@ucw.cz>
3645
3646 PR lto/69589
3647 * cgraph.c (cgraph_node::dump): Dump split_part and
3648 indirect_call_target.
3649 * cgraph.h (cgraph_node): Add indirect_call_target flag.
3650 * ipa.c (has_addr_references_p): Cleanup.
3651 (is_indirect_call_target_p): New.
3652 (walk_polymorphic_call_targets): Do not mark virtuals that may be
3653 called indirectly as local.
3654 (symbol_table::remove_unreachable_nodes): Compute indirect_call_target.
3655
3656 2016-03-10 Jan Hubicka <hubicka@ucw.cz>
3657
3658 PR ipa/69630
3659 * ipa-devirt.c (possible_polymorphic_call_targets): Do not ICE
3660 on cxa_pure_virtual.
3661
3662 2016-03-10 Jan Hubicka <hubicka@ucw.cz>
3663
3664 PR lto/69589
3665 * tree.c (free_lang_data_in_decl): Clear visibility of TYPE_DECL.
3666
3667 2016-03-10 Jan Hubicka <hubicka@ucw.cz>
3668
3669 PR lto/69589
3670 * tree.c (need_assembler_name_p): Only record main variant type names.
3671
3672 2016-03-10 Christophe Lyon <christophe.lyon@linaro.org>
3673
3674 PR target/70113.
3675 * config/aarch64/aarch64.h (TARGET_FIX_ERR_A53_843419_DEFAULT):
3676 Always define to 0 or 1.
3677 (TARGET_FIX_ERR_A53_843419): New macro.
3678 * config/aarch64/aarch64-elf-raw.h
3679 (TARGET_FIX_ERR_A53_843419_DEFAULT): Update for above changes.
3680 * config/aarch64/aarch64-linux.h: Likewise.
3681 * config/aarch64/aarch64.c
3682 (aarch64_override_options_after_change_1): Do not default
3683 aarch64_nopcrelative_literal_loads to true if Cortex-A53 erratum
3684 843419 is on.
3685 (aarch64_attributes): Handle fix-cortex-a53-843419.
3686 (aarch64_can_inline_p): Likewise.
3687 * config/aarch64/aarch64.opt (aarch64_fix_a53_err843419): Save.
3688
3689 2016-03-10 Alan Lawrence <alan.lawrence@arm.com>
3690 Jakub Jelinek <jakub@redhat.com>
3691
3692 * common.opt (funconstrained-commons, flag_unconstrained_commons): New.
3693 * tree.c (array_at_struct_end_p): Do not limit to size of decl for
3694 DECL_COMMONS if flag_unconstrained_commons is set.
3695 * tree-dfa.c (get_ref_base_and_extent): Likewise.
3696 * doc/invoke.texi (Optimize Options): Add -funconstrained-commons.
3697 (funconstrained-commons): Document.
3698
3699 2016-03-10 Christophe Lyon <christophe.lyon@linaro.org>
3700
3701 * config/aarch64/t-aarch64 (OPTIONS_H_EXTRA): Add
3702 aarch64-fusion-pairs.def and aarch64-tuning-flags.def
3703
3704 2016-03-10 Ilya Enkovich <enkovich.gnu@gmail.com>
3705
3706 * tree-vect-stmts.c (vectorizable_mask_load_store): Check mask
3707 has a proper number of elements.
3708
3709 2016-03-10 Alan Modra <amodra@gmail.com>
3710
3711 PR rtl-optimization/69195
3712 PR rtl-optimization/47992
3713 * ira.c (recorded_label_ref): Delete.
3714 (update_equiv_regs): Return void.
3715 (indirect_jump_optimize): New function.
3716 (ira): Call indirect_jump_optimize and delete_trivially_dead_insns
3717 before regstat_compute_ri. Don't rebuild_jump_labels here.
3718 Delete update_regstat.
3719
3720 2016-03-10 Richard Biener <rguenther@suse.de>
3721
3722 PR tree-optimization/70128
3723 * tree-ssa-structalias.c (set_uids_in_ptset): Set
3724 vars_contains_nonlocal for any FUNCTION_DECL or LABEL_DECL.
3725
3726 2016-03-09 Jakub Jelinek <jakub@redhat.com>
3727
3728 PR tree-optimization/70152
3729 * tree-sra.c (replace_removed_params_ssa_names): Copy over
3730 SSA_NAME_OCCURS_IN_ABNORMAL_PHI from old_name to new_name.
3731
3732 PR target/70086
3733 * config/i386/i386.md (truncdfsf2 splitter): Use gen_vec_concatv2df
3734 instead of gen_sse2_loadlpd.
3735 * config/i386/sse.md (*vec_concatv2df): Rename to...
3736 (vec_concatv2df): ... this.
3737
3738 PR tree-optimization/70127
3739 * fold-const.c (operand_equal_p): Revert the 2015-10-28 change.
3740
3741 2016-03-09 David Malcolm <dmalcolm@redhat.com>
3742
3743 PR c/68473
3744 PR c++/70105
3745 * diagnostic-show-locus.c (compatible_locations_p): New function.
3746 (layout::layout): Sanitize ranges using compatible_locations_p.
3747
3748 2016-03-09 David Malcolm <dmalcolm@redhat.com>
3749
3750 PR c/68473
3751 PR c++/70105
3752 * diagnostic-show-locus.c (layout_range::layout_range): Replace
3753 location_range param with three const expanded_locations * and a
3754 bool.
3755 (layout::layout): Replace call to
3756 rich_location::lazily_expand_location with get_expanded_location.
3757 Extract the range and perform location expansion here, passing
3758 the results to the layout_range ctor.
3759 * diagnostic.c (source_range::debug): Delete.
3760 * diagnostic.h (diagnostic_expand_location): Reimplement in terms
3761 of rich_location::get_expanded_location.
3762 * gcc-rich-location.c (get_range_for_expr): Delete.
3763 (gcc_rich_location::add_expr): Reimplement to avoid the
3764 rich_location::add_range overload that took a location_range,
3765 passing a location_t instead.
3766
3767 2016-03-09 Richard Biener <rguenther@suse.de>
3768 Jakub Jelinek <jakub@redhat.com>
3769
3770 PR tree-optimization/70138
3771 * tree-vect-loop-manip.c (vect_update_ivs_after_vectorizer):
3772 Also skip vect_double_reduction_def.
3773
3774 2016-03-09 Jakub Jelinek <jakub@redhat.com>
3775
3776 PR target/70049
3777 * config/i386/sse.md (*vec_extract<mode>): Use %0 instead of %k0
3778 if the operand is "m".
3779
3780 2016-03-09 Nathan Sidwell <nathan@acm.org>
3781
3782 * config/nvptx/nvptx.c (nvptx_option_override): Don't kill debug level.
3783
3784 2016-03-09 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
3785
3786 * config/i386/i386.c (processor_target_table): Fix cost table
3787 intialization order for znver1.
3788
3789 2016-03-08 Jakub Jelinek <jakub@redhat.com>
3790
3791 * ipa-polymorphic-call.c (walk_ssa_copies): Fix spelling
3792 - becuase -> because.
3793 * ipa-reference.c (ignore_module_statics): Likewise.
3794 * cgraph.c (cgraph_node::get_body): Likewise.
3795 * ipa-inline.c (early_inliner): Likewise.
3796 * ipa-devirt.c (types_same_for_odr): Likewise.
3797 * tree-streamer-out.c (pack_ts_type_common_value_fields): Likewise.
3798 * config/i386/i386.h (ACCUMULATE_OUTGOING_ARGS): Likewise.
3799
3800 2016-03-08 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3801
3802 * tree-ssa-math-opts.c: Fix typo in comment.
3803
3804 2016-03-08 Jakub Jelinek <jakub@redhat.com>
3805
3806 PR target/70110
3807 * config/i386/i386.c (scalar_chain::make_vector_copies,
3808 scalar_chain::convert_reg): Call end_sequence in between
3809 get_insns and emit_conversion_insns rather than after both
3810 calls.
3811
3812 2016-03-07 Uros Bizjak <ubizjak@gmail.com>
3813
3814 PR target/70064
3815 * config/i386/i386.h (machine_function): Add
3816 pc_thunk_call_expanded flag.
3817 (ix86_pc_thunk_call_expanded): New define.
3818 * config/i386/i386.md (set_got, set_got_labelled): New expanders.
3819 (*set_got): Rename insn pattern from set_got.
3820 (*set_got_labelled): Rename inst pattern from set_got_labelled.
3821 * config/i386/i386.c (ix86_compute_frame_layout): Use
3822 ix86_pc_thunk_call_expanded to prevent red-zone.
3823
3824 2016-03-07 Martin Jambor <mjambor@suse.cz>
3825
3826 * hsa.h (hsa_get_ctor_statements): Declare.
3827 (hsa_get_dtor_statements): Likewise.
3828 (hsa_get_kernel_dispatch_type): Likewise.
3829 * hsa.c (hsa_get_ctor_statements): New function.
3830 (hsa_get_dtor_statements): Likewise.
3831 (hsa_get_kernel_dispatch_type): Likewise.
3832 * hsa-brig.c (hsa_cdtor_statements): Removed.
3833 (hsa_output_libgomp_mapping): Use hsa_get_ctor_statements and
3834 hsa_get_dtor_statements.
3835 * hsa-gen.c (hsa_kernel_dispatch_type): Removed.
3836 (get_hsa_kernel_dispatch_offset): Use hsa_get_kernel_dispatch_type.
3837
3838 2016-03-07 Andre Vieira <andre.simoesdiasvieira@arm.com>
3839
3840 * config/arm/arm-cores.def (cortex-r8): New.
3841 * config/arm/arm-tables.opt (cortex-r8): Regenerate.
3842 * config/arm/arm-tune.md: Likewise.
3843 * gcc/doc/invoke.texi: Add cortex-r8 to list of cpu values.
3844
3845 2016-03-07 Martin Sebor <msebor@redhat.com>
3846
3847 PR rtl-optimization/19705
3848 * doc/invoke.texi (Options That Control Optimization): Clarify
3849 -fno-branch-count-reg.
3850
3851 2016-02-26 Richard Biener <rguenther@suse.de>
3852 Jeff Law <law@redhat.com>
3853
3854 PR tree-optimization/69740
3855 * cfghooks.c (remove_edge): Request loop fixups if we delete
3856 an edge that might turn an irreducible loop into a natural
3857 loop.
3858 * cfgloop.h (check_verify_loop_structure): Clear LOOPS_NEED_FIXUP.
3859 Move after definition of loops_state_clear.
3860
3861 2016-03-07 Bin Cheng <bin.cheng@arm.com>
3862
3863 PR rtl-optimization/69052
3864 * rtlanal.c (commutative_operand_precedence): Set higher precedence
3865 to CONST_WIDE_INT.
3866
3867 2016-03-07 Tom de Vries <tom@codesourcery.com>
3868
3869 PR tree-optimization/70116
3870 * tree-ssa-tail-merge.c (merge_stmts_p): New function, handling
3871 is_tm_ending stmts and ubsan/asan internal functions.
3872 (find_duplicate): Use it. Don't test is_tm_ending here.
3873
3874 2016-03-07 Richard Biener <rguenther@suse.de>
3875
3876 PR tree-optimization/70115
3877 * tree-ssa-loop-ivcanon.c (propagate_into_all_uses): Remove.
3878 (propagate_constants_for_unrolling): Use replace_uses_by.
3879
3880 2016-03-07 Nathan Sidwell <nathan@codesourcery.com>
3881
3882 PR middle-end/69916
3883 * omp-low.c (struct oacc_loop): Add ifns.
3884 (new_oacc_loop_raw): Initialize it.
3885 (finish_oacc_loop): Clear mask & flags if no ifns.
3886 (oacc_loop_discover_walk): Count IFN_GOACC_LOOP calls.
3887 (oacc_loop_xform_loop): Add ifns arg & adjust.
3888 (oacc_loop_process): Adjust oacc_loop_xform_loop call.
3889
3890 2016-03-07 Richard Henderson <rth@redhat.com>
3891
3892 PR rtl-opt/70061
3893 * tree-outofssa.c (emit_partition_copy): Flush pending stack adjust.
3894 (insert_value_copy_on_edge): Likewise.
3895
3896 2016-03-07 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3897
3898 * config/arm/arm_neon.h: Show error if using with soft-float ABI.
3899
3900 2016-03-07 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
3901
3902 PR target/62281
3903 * config/i386/sol2.h (STACK_REALIGN_DEFAULT): Define.
3904
3905 2016-03-05 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3906
3907 * config/i386/i386.c (znver1_cost): Fix Multiply cost.
3908
3909 2016-03-05 Venkataramanan Kumar <Venkataramanan.kumar@amd.com>
3910
3911 Fix sseimul type attribute.
3912 * config/i386/znver1.md
3913 (znver1_sseimul, znver1_sseimul_avx256, znver1_sseimul_load,
3914 znver1_sseimul_avx256_load) : Fix the type attribute.
3915 (znver1_sseimul_di, znver1_sseimul_load_di): Fix type attribute,
3916 pipe usage and latency.
3917
3918 2016-03-05 Jakub Jelinek <jakub@redhat.com>
3919
3920 PR c++/70084
3921 * tree-inline.c (copy_tree_body_r): When cancelling ADDR_EXPR
3922 of INDIRECT_REF and ADDR_EXPR changed type, fold_convert it
3923 to the right type.
3924
3925 2016-03-04 Bernd Schmidt <bschmidt@redhat.com>
3926
3927 PR c/69973
3928 * targhooks.c (default_vector_alignment): Limit to MAX_OFILE_ALIGNMENT.
3929
3930 PR rtl-optimization/69941
3931 * postreload.c (reload_combine_recognize_pattern): Ensure all uses of
3932 the reg share its mode.
3933
3934 2016-03-04 Jeff Law <law@redhat.com>
3935
3936 PR tree-optimization/69196
3937 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
3938 If the both SSA_NAMEs are anonymous, then consider them unassociated
3939 and include the PHI in the statement count.
3940
3941 2016-03-05 Tom de Vries <tom@codesourcery.com>
3942
3943 * omp-low.c (check_omp_nesting_restrictions): Check for non-oacc
3944 construct in oacc routine. Check for oacc region in oacc routine.
3945
3946 2016-03-04 Jakub Jelinek <jakub@redhat.com>
3947
3948 PR target/70062
3949 * config/i386/i386.c (decide_alg): Add RECUR argument. Revert
3950 2016-02-22 changes, instead don't recurse if RECUR is already true.
3951 Don't change *dynamic_check if RECUR. Adjust recursive caller
3952 to pass true to the new argument.
3953 (ix86_expand_set_or_movmem): Adjust decide_alg caller.
3954
3955 PR target/70059
3956 * config/i386/sse.md (vec_set_lo_<mode><mask_name>,
3957 <extract_type_2>_vinsert<shuffletype><extract_suf_2>_mask): Formatting
3958 fixes.
3959 (vec_set_hi_<mode><mask_name>): Likewise. Swap VEC_CONCAT operands.
3960
3961 2016-03-04 Bernd Schmidt <bschmidt@redhat.com>
3962
3963 PR rtl-optimization/57676
3964 * lra-assigns.c (lra_assign): Guard test for maximum iterations
3965 with flag_checking.
3966
3967 2016-03-04 Ilya Enkovich <enkovich.gnu@gmail.com>
3968
3969 * tree-vect-patterns.c (search_type_for_mask): Handle
3970 comparison of booleans.
3971
3972 2016-03-04 Jakub Jelinek <jakub@redhat.com>
3973
3974 * doc/extend.texi (__builtin_alloca, __builtin_alloca_with_align):
3975 Fix @xref usage.
3976
3977 PR debug/69947
3978 * dwarf2out.c (prune_unused_types_walk_loc_descr): Handle
3979 all other ops that have dw_val_class_die_ref operands,
3980 and DW_OP_GNU_entry_value.
3981
3982 2016-03-03 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3983
3984 PR rtl-optimization/69904
3985 * config/arm/arm.c (arm_cannot_copy_insn_p):
3986 Return true for load-exclusive instructions.
3987
3988 2016-03-03 Jakub Jelinek <jakub@redhat.com>
3989
3990 PR target/70021
3991 * tree-vect-stmts.c (vect_mark_relevant): Remove USED_IN_PATTERN
3992 argument, if STMT_VINFO_IN_PATTERN_P (stmt_info), always mark
3993 the pattern no matter if it is used just by non-pattern, pattern
3994 or mix thereof.
3995 (process_use, vect_mark_stmts_to_be_vectorized): Adjust callers.
3996 * tree-vect-patterns.c (vect_recog_vector_vector_shift_pattern): If
3997 oprnd1 def_stmt is in pattern, don't look through it.
3998
3999 2016-03-03 Marek Polacek <polacek@redhat.com>
4000
4001 PR middle-end/70050
4002 * match.pd (X % -Y): Add INTEGRAL_TYPE_P check.
4003
4004 2016-03-03 Martin Liska <mliska@suse.cz>
4005
4006 PR tree-optimization/70043
4007 * tree-vect-loop.c (optimize_mask_stores): Move iterator to
4008 previous statement if we see a debug statement.
4009
4010 2016-03-03 Richard Biener <rguenther@suse.de>
4011
4012 PR tree-optimization/55936
4013 * tree-vrp.c (compare_name_with_value): Add use_equiv_p
4014 parameter and guard unsafe equivalence use.
4015 (vrp_evaluate_conditional_warnv_with_ops): Always use
4016 safe equivalences but not via the quadratic compare_names
4017 helper.
4018
4019 2016-03-03 Michael Collison <michael.collison@linaro.org>
4020
4021 PR target/70014
4022 * config/arm/arm.md (*subsi3_carryin_const): Change predicate
4023 for operand 1 to s_register_operand. Change predicate for operand
4024 2 to arm_not_immediate_operand.
4025
4026 2016-03-02 H.J. Lu <hongjiu.lu@intel.com>
4027
4028 * doc/tm.texi: Regenerated.
4029
4030 2016-03-02 Richard Henderson <rth@redhat.com>
4031
4032 PR rtl-opt/67145
4033 * simplify-rtx.c (simplify_plus_minus): Allow reassoc without
4034 simplification when all args are positive non-fixed registers.
4035
4036 2016-03-02 Manuel Lopez-Ibanez <manu@gcc.gnu.org>
4037
4038 * target.def (lra_p): Specify that new ports should use LRA.
4039
4040 2016-03-02 Jakub Jelinek <jakub@redhat.com>
4041
4042 PR libgomp/69555
4043 * gimplify.c (gimplify_decl_expr): For decls with REFERENCE_TYPE, also
4044 gimplify_type_sizes the type they refer to.
4045 (omp_notice_variable): Handle reference vars to VLAs.
4046 * omp-low.c (lower_omp_target): Emit setup of OMP_CLAUSE_PRIVATE
4047 reference to VLA decls in the second pass instead of first pass.
4048
4049 2016-03-02 Tom de Vries <tom@codesourcery.com>
4050
4051 PR tree-optimization/68659
4052 * graphite-isl-ast-to-gimple.c (collect_all_ssa_names): Handle
4053 new_expr == NULL_TREE.
4054 (get_new_name): Handle ADDR_EXPR.
4055
4056 2016-03-02 Bin Cheng <bin.cheng@arm.com>
4057
4058 PR rtl-optimization/69052
4059 * loop-invariant.c (canonicalize_address): New function.
4060 (inv_can_prop_to_addr_use): Check validity of address expression
4061 which is canonicalized by above function.
4062
4063 2016-03-02 Alan Modra <amodra@gmail.com>
4064
4065 PR ipa/69990
4066 * ipa-icf.c (sem_variable::merge): Do not merge an alias with
4067 larger alignment.
4068
4069 2016-03-02 Jakub Jelinek <jakub@redhat.com>
4070
4071 PR target/70028
4072 * config/i386/i386.md (kmovw): Move m constraint to 2nd alternative.
4073 (*movhi_internal): Put mask moves from and to memory separately
4074 from moves from/to GPRs.
4075
4076 2016-03-02 Richard Biener <rguenther@suse.de>
4077
4078 * genmatch.c (dt_node::gen_kids): Fix match code-gen for embedded
4079 GENERIC expressions in GIMPLE.
4080
4081 2016-03-02 Richard Biener <rguenther@suse.de>
4082
4083 * config/i386/i386.c (type_natural_mode): Fix typo.
4084
4085 2016-03-02 Nick Clifton <nickc@redhat.com>
4086
4087 * config.gcc (mep-*-elf): Add newlib-stdint.h to tm_file.
4088
4089 2016-03-02 Richard Biener <rguenther@suse.de>
4090 Uros Bizjak <ubizjak@gmail.com>
4091
4092 PR target/67278
4093 * config/i386/i386.c (type_natural_mode): Handle XFmode vectors.
4094
4095 2016-03-02 Richard Biener <rguenther@suse.de>
4096
4097 PR middle-end/67278
4098 * tree-cfg.c (verify_expr): Adjust BIT_FIELD_REF case.
4099
4100 2016-03-02 Marek Polacek <polacek@redhat.com>
4101
4102 PR c/67854
4103 * gimplify.c (gimplify_va_arg_expr): Use expanded location for the
4104 "is promoted to" warning.
4105
4106 2016-03-01 DJ Delorie <dj@redhat.com>
4107
4108 * config.gcc: Deprecate mep-*.
4109
4110 2016-03-01 Vladimir Makarov <vmakarov@redhat.com>
4111
4112 PR middle-end/70025
4113 * lra-constraints.c (regno_val_use_in): New.
4114 (match_reload): Use it instead of regno_use_in.
4115
4116 2016-03-01 Eric Botcazou <ebotcazou@adacore.com>
4117
4118 PR rtl-optimization/70007
4119 * gcse.c (compute_ld_motion_mems): Tidy up and also invalidate memory
4120 references present in REG_EQUAL notes attached to non-SET patterns.
4121
4122 2016-03-01 Jeff Law <law@redhat.com>
4123
4124 PR tree-optimization/69196
4125 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
4126 Appropriately clamp the number of statements to copy when the
4127 thread path does not traverse a loop backedge.
4128
4129 PR tree-optimization/69196
4130 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
4131 Do count some PHIs in the thread path against the insn count. Decrease
4132 final statement count by one as the control statement in the last
4133 block will get removed. Remove special cased code for handling PHIs
4134 in the last block.
4135
4136 2016-03-01 Uros Bizjak <ubizjak@gmail.com>
4137
4138 PR target/70027
4139 * config/i386/i386.c (ix86_output_call_insn): Add -masm=intel
4140 asm dialect alternatives to explicit GOTPCREL calls.
4141
4142 2016-03-01 Eric Botcazou <ebotcazou@adacore.com>
4143
4144 PR ada/70017
4145 * ira.c (do_reload): Issue warning for generic stack checking here...
4146 * reload1.c (reload): ...instead of here and streamline it.
4147
4148 2016-03-01 Nick Clifton <nickc@redhat.com>
4149
4150 * config.gcc (cr16-*-elf): Add newlib-stdint.h to tm_file.
4151
4152 2016-03-01 Richard Biener <rguenther@suse.de>
4153
4154 PR tree-optimization/69983
4155 * tree-chrec.c (eq_evolutions_p): Handle conversions, compare
4156 types and fall back to operand_equal_p.
4157
4158 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4159
4160 Revert
4161 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4162
4163 * config/s390/constraints.md ("jm8"): New constraint.
4164 * config/s390/predicates.md ("const_int_8bitset_operand"): New
4165 predicate.
4166 * config/s390/s390.md ("*setmem_long", "*setmem_long_and"): Merge
4167 into ...
4168 ("*setmem_long<setmem_and>"): New pattern.
4169 ("*setmem_long_31z", "*setmem_long_and_31z"): Merge
4170 into ...
4171 ("*setmem_long_31z<setmem_and>"): New pattern.
4172 * config/s390/subst.md ("setmem_31z_subst", "setmem_and_subst"):
4173 New substitution rules with the required attributes.
4174
4175
4176 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4177
4178 Revert
4179 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4180
4181 * gensupport.c (process_substs_on_one_elem): Split loop to
4182 complete mark_operands_used_in_match_dup on all expressions in the
4183 vector first.
4184 (adjust_operands_numbers): Inline into process_substs_on_one_elem
4185 and remove function.
4186
4187 2016-03-01 Richard Biener <rguenther@suse.de>
4188
4189 PR middle-end/70022
4190 * fold-const.c (fold_indirect_ref_1): Fix range checking for
4191 vector BIT_FIELD_REF extract.
4192
4193 2016-03-01 Richard Biener <rguenther@suse.de>
4194
4195 PR tree-optimization/69994
4196 * tree-ssa-reassoc.c (ops_equal_values_p): Handle missing case.
4197
4198 2016-03-01 Ilya Enkovich <enkovich.gnu@gmail.com>
4199
4200 PR tree-optimization/69956
4201 * tree-vect-stmts.c (supportable_widening_operation): Support
4202 multi-step conversion of boolean vectors.
4203 (supportable_narrowing_operation): Likewise.
4204
4205 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4206
4207 * config/s390/s390.c (s390_decompose_address): Don't accept SImode
4208 anymore.
4209
4210 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4211
4212 * config/s390/subst.md (DSI_VI): New mode iterator.
4213 ("addr_style_op_subst"): Use DSI_VI instead of DSI.
4214 * config/s390/vector.md ("vec_set<mode>"): Move expander before
4215 the insn definition.
4216 ("*vec_set<mode>"): Change predicate and add alternative to
4217 support only either register or const_int operands as element
4218 selector.
4219 ("*vec_set<mode>_plus"): New pattern to support reg + const_int
4220 operands.
4221 ("vec_extract<mode>"): New expander.
4222 ("*vec_extract<mode>"): New insn definition supporting reg and
4223 const_int element selectors.
4224 ("*vec_extract<mode>_plus"): New insn definition supporting
4225 reg+const_int element selectors.
4226 ("rotl<mode>3", "ashl<mode>3", "ashr<mode>3"): Merge into the
4227 following expander+insn definition.
4228 ("<vec_shifts_name><mode>3"): New expander.
4229 ("*<vec_shifts_name><mode>3<addr_style_op>"): New insn definition.
4230
4231 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4232
4233 * config/s390/s390.md ("*tabort_1"): Change predicate to
4234 nonmemory_operand. Add a second alternative to cover
4235 register as well as const int operands.
4236 ("*tabort_1_plus"): New pattern definition.
4237
4238 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4239
4240 * config/s390/s390.md ("*ashrdi3_cc_31")
4241 ("*ashrdi3_cconly_31""*ashrdi3_cc_31_and")
4242 ("*ashrdi3_cconly_31_and", "*ashrdi3_31_and", "*ashrdi3_31"):
4243 Merge insn definitions into ...
4244 ("*ashrdi3_31<addr_style_op_cc><masked_op_cc><setcc><cconly>"):
4245 New pattern definition.
4246 ("*ashr<mode>3_cc", "*ashr<mode>3_cconly", "ashr<mode>3", )
4247 ("*ashr<mode>3_cc_and", "*ashr<mode>3_cconly_and")
4248 ("*ashr<mode>3_and"): Merge insn definitions into ...
4249 ("*ashr<mode>3<addr_style_op_cc><masked_op_cc><setcc><cconly>"):
4250 New pattern definition.
4251 * config/s390/subst.md ("addr_style_op_cc_subst")
4252 ("masked_op_cc_subst", "setcc_subst", "cconly_subst"): New
4253 substitutions patterns plus attributes.
4254 Add ashiftrt to SUBST iterator.
4255
4256 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4257
4258 * config/s390/s390.md ("<shift><mode>3"): Change predicate of
4259 op2 to nonmemory_operand.
4260 ("*<shift>di3_31", "*<shift>di3_31_and"):
4261 Merge into single pattern definition ...
4262 ("*<shift>di3_31<addr_style_op><masked_op>"): New pattern.
4263 ("*<shift><mode>3", "*<shift><mode>3_and"): Merge into single
4264 pattern definition ...
4265 ("*<shift><mode>3<addr_style_op><masked_op>"): New pattern.
4266 * config/s390/subst.md: Add ashift and lshiftrt to SUBST
4267 iterator.
4268
4269 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4270
4271 * config/s390/predicates.md (const_int_6bitset_operand): New
4272 predicate.
4273 * config/s390/s390.md: Include subst.md.
4274 ("rotl<mode>3"): New expander.
4275 ("rotl<mode>3", "*rotl<mode>3_and"): Merge insn definitions into
4276 ...
4277 ("*rotl<mode>3<addr_style_op><masked_op>"): New insn definition.
4278 * config/s390/subst.md: New file.
4279
4280 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4281
4282 * config/s390/s390.md ("op_type", "atype", "length" attributes):
4283 Remove RRR type. It doesn't really exist.
4284 ("RRer", "f0", "v0", "vf", "vd", "op1", "Rf"): Remove mode
4285 attributes.
4286 ("BFP", "DFP", "nDSF", "nDFDI"): Add mode attributes.
4287 ("*cmp<mode>_ccs", "floatdi<mode>2", "add<mode>3")
4288 ("*add<mode>3_cc", "*add<mode>3_cconly", "sub<mode>3")
4289 ("*sub<mode>3_cc", "*sub<mode>3_cconly", "mul<mode>3")
4290 ("fma<mode>4", "fms<mode>4", "div<mode>3", "*neg<mode>2")
4291 ("*abs<mode>2", "*negabs<mode>2", "sqrt<mode>2"): Override
4292 `enabled' attribute.
4293
4294 2016-03-01 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4295
4296 * gensupport.c (process_substs_on_one_elem): Split loop to
4297 complete mark_operands_used_in_match_dup on all expressions in the
4298 vector first.
4299 (adjust_operands_numbers): Inline into process_substs_on_one_elem
4300 and remove function.
4301
4302 2016-02-29 Eric Botcazou <ebotcazou@adacore.com>
4303
4304 PR target/69706
4305 * config/sparc/sparc.c (NWORDS_UP): Rename to...
4306 (CEIL_NWORDS): ...this. Use CEIL macro.
4307 (compute_fp_layout): Adjust to above renaming.
4308 (function_arg_union_value): Likewise.
4309 (sparc_arg_partial_bytes): Likewise.
4310 (sparc_function_arg_advance): Likewise.
4311
4312 2016-02-29 Jeff Law <law@redhat.com>
4313
4314 PR tree-optimization/70005
4315 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Handle case
4316 where an object with a boolean range is compared against a value
4317 outside [0..1].
4318
4319 PR tree-optimization/69999
4320 * gimple-ssa-split-paths.c (split_paths): When duplicating a block
4321 with an outgoing edge marked with EDGE_IRREDUCIBLE_LOOP, schedule
4322 loop cleanups.
4323
4324 2016-02-29 Richard Biener <rguenther@suse.de>
4325
4326 PR tree-optimization/69994
4327 * tree-ssa-reassoc.c (gimple_nop_conversion_p): New function.
4328 (get_unary_op): Look through nop conversions.
4329 (ops_equal_values_p): New function, look for equality diregarding
4330 nop conversions.
4331 (eliminate_plus_minus_pair): Use ops_equal_values_p
4332 (repropagate_negates): Do not use get_unary_op here.
4333
4334 2016-02-29 Martin Liska <mliska@suse.cz>
4335
4336 * system.h: Poison ENABLE_CHECKING macro.
4337
4338 2016-02-29 Martin Liska <mliska@suse.cz>
4339
4340 * hsa-gen.c (gen_body_from_gimple): Dump only if TDF_DETAILS
4341 is presented in dump flags.
4342 * hsa-regalloc.c (linear_scan_regalloc): Likewise.
4343 (hsa_regalloc): Likewise.
4344
4345 2016-02-19 Richard Biener <rguenther@suse.de>
4346
4347 PR tree-optimization/69980
4348 * tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Update
4349 permutation of those we need to keep.
4350
4351 2016-02-29 Eric Botcazou <ebotcazou@adacore.com>
4352
4353 PR target/69706
4354 * config/sparc/sparc.c (ROUND_ADVANCE): Rename to...
4355 (NWORDS_UP): ...this
4356 (init_cumulative_args): Minor tweaks.
4357 (sparc_promote_function_mode): Likewise.
4358 (scan_record_type): Delete.
4359 (traverse_record_type): New function template.
4360 (classify_data_t): New structure type.
4361 (classify_registers): New inline function.
4362 (function_arg_slotno): In 64-bit mode, bail out early if FP slots are
4363 exhausted. Instantiate traverse_record_type on classify_registers and
4364 deal with the case of a structure passed in slot #15 with no FP field
4365 in the first word.
4366 (assign_data_t): New structure type.
4367 (compute_int_layout): New static function.
4368 (compute_fp_layout): Likewise.
4369 (count_registers): New inline function.
4370 (assign_int_registers): New static function.
4371 (assign_fp_registers): Likewise.
4372 (assign_registers): New inline function.
4373 (function_arg_record_value_1): Delete.
4374 (function_arg_record_value_2): Likewise.
4375 (function_arg_record_value_3): Likewise.
4376 (function_arg_record_value): Adjust to above changes. Instantiate
4377 traverse_record_type on count_registers to first count the number of
4378 registers to be used and then on assign_registers to assign them.
4379 (function_arg_union_value): Adjust to above renaming.
4380 (sparc_function_arg_1); Minor tweaks. Remove commented out code.
4381 (sparc_arg_partial_bytes): Adjust to above renaming. Deal with the
4382 case of a structure passed in slot #15
4383 (sparc_function_arg_advance): Likewise.
4384 (function_arg_padding): Minor tweak.
4385
4386 2016-02-29 Richard Biener <rguenther@suse.de>
4387
4388 PR tree-optimization/69720
4389 * tree-vect-loop.c (get_initial_def_for_reduction): Avoid
4390 the adjustment_def path for possibly vectorized defs.
4391 (vect_create_epilog_for_reduction): Handle vectorized initial
4392 defs properly.
4393
4394 2016-02-28 Eric Botcazou <ebotcazou@adacore.com>
4395
4396 * config/i386/cygming.h (STACK_REALIGN_DEFAULT): Define.
4397
4398 2016-02-27 Jeff Law <law@redhat.com>
4399
4400 Revert
4401 2016-02-26 Richard Biener <rguenther@suse.de>
4402 Jeff Law <law@redhat.com>
4403
4404 PR tree-optimization/69740
4405 * cfghooks.c (remove_edge): Request loop fixups if we delete
4406 an edge that might turn an irreducible loop into a natural
4407 loop.
4408
4409 2016-02-27 Jakub Jelinek <jakub@redhat.com>
4410
4411 PR rtl-optimization/69896
4412 * tree-vect-generic.c (get_compute_type): Avoid single element
4413 vector types.
4414
4415 2016-02-26 Evandro Menezes <e.menezes@samsung.com>
4416
4417 Rename the AArch64 tuning option and related functions to enable the
4418 Newton series for the reciprocal square root to reflect its
4419 approximative characteristic.
4420
4421 * config/aarch64/aarch64-protos.h (aarch64_emit_swrsqrt): Rename
4422 function to "aarch64_emit_approx_rsqrt".
4423 * config/aarch64/aarch64-tuning-flags.def: Rename tuning flag to
4424 AARCH64_EXTRA_TUNE_APPROX_RSQRT.
4425 * config/aarch64/aarch64.c (exynosm1_tunigs): Use new flag name.
4426 (xgene1_tunings): Likewise.
4427 (use_rsqrt_p): Likewise.
4428 (aarch64_emit_swrsqrt): Use new function name.
4429 * config/aarch64/aarch64-simd.md (aarch64_rsqrts_*): Likewise.
4430 * config/aarch64/aarch64.opt (mlow-precision-recip-sqrt): Reword the
4431 text explaining this option.
4432 * doc/invoke.texi (-mlow-precision-recip-sqrt): Likewise.
4433
4434 2016-02-26 Jakub Jelinek <jakub@redhat.com>
4435
4436 PR target/69969
4437 * config/rs6000/rs6000.c (rs6000_option_override_internal): Don't
4438 complain about -mallow-movmisalign without -mvsx if
4439 TARGET_ALLOW_MOVMISALIGN was not set explicitly.
4440
4441 2016-02-26 Joel Sherrill <joel@rtems.org>
4442
4443 * config.gcc: Add x86_64-*-rtems*.
4444 * gcc/config/i386/rtems-64.h: New file.
4445
4446 2016-02-26 Joel Sherrill <joel@rtems.org>
4447
4448 * config.gcc: Add aarch64-*-rtems*.
4449 * gcc/config/aarch64/rtems.h: New file.
4450
4451 2016-02-26 Segher Boessenkool <segher@kernel.crashing.org>
4452
4453 PR target/69946
4454 * config/rs6000/rs6000.c (rs6000_insn_for_shift_mask): Print rlwinm
4455 shift amount using %h. Add comment.
4456
4457 2016-02-26 Richard Biener <rguenther@suse.de>
4458 Jeff Law <law@redhat.com>
4459
4460 PR tree-optimization/69740
4461 * cfghooks.c (remove_edge): Request loop fixups if we delete
4462 an edge that might turn an irreducible loop into a natural
4463 loop.
4464
4465 2016-02-26 Martin Jambor <mjambor@suse.cz>
4466
4467 PR middle-end/69920
4468 * tree-sra.c (sra_modify_assign): Do not remove loads of
4469 uninitialized aggregates to SSA_NAMEs.
4470
4471 2016-02-26 Richard Henderson <rth@redhat.com>
4472
4473 PR target/69709
4474 * config/s390/s390.md (risbg and risbgn splitters): Allocate new
4475 pseudo in case the target rtx matches the source of the left
4476 shift.
4477
4478 2016-02-26 Martin Jambor <mjambor@suse.cz>
4479
4480 PR hsa/69568
4481 * hsa.h (hsa_type_packed_p): Declare.
4482 * hsa.c (hsa_type_packed_p): New function.
4483 * hsa-gen.c (mem_type_for_type): Use unsigned type for packed
4484 loads.
4485 (gen_hsa_insns_for_store): Use hsa_type_packed_p.
4486 * hsa-brig.c (emit_basic_insn): Likewise.
4487
4488 2016-02-26 Martin Jambor <mjambor@suse.cz>
4489
4490 pr hsa/69674
4491 * hsa-gen.c (gen_hsa_phi_from_gimple_phi): Use proper hsa type for
4492 pointers.
4493 (gen_hsa_addr): Allow integer constants in TMR_INDEX2.
4494
4495 2016-02-26 Martin Jambor <mjambor@suse.cz>
4496
4497 * hsa.h (is_a_helper): New overload for hsa_op_immed for
4498 hsa_op_with_type operands.
4499 (hsa_unsigned_type_for_type): Declare.
4500 * hsa.c (hsa_unsigned_type_for_type): New function.
4501 * hsa-gen.c (gen_hsa_binary_operation): Use hsa_unsigned_type_for_type.
4502 (gen_hsa_insns_for_operation_assignment): Satisfy constrains of
4503 the finalizer. Do not emit extra move.
4504
4505 2016-02-26 Martin Jambor <mjambor@suse.cz>
4506
4507 * hsa-gen.c (gen_hsa_ternary_atomic_for_builtin): Fail in presence of
4508 atomic operations in private segment.
4509
4510 2016-02-26 Martin Jambor <mjambor@suse.cz>
4511
4512 * omp-low.c (grid_find_ungridifiable_statement): Store problematic
4513 statements to wi->info. Also disallow omp simd constructs.
4514 (grid_target_follows_gridifiable_pattern): Use wi.info to dump reason
4515 for not gridifying. Dump special string for omp_for.
4516
4517 2016-02-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4518
4519 PR target/69245
4520 * config/aarch64/aarch64.c (aarch64_set_current_function):
4521 Save/restore target globals when switching to
4522 target_option_default_node.
4523
4524 2016-02-26 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4525
4526 PR target/69613
4527 * config/aarch64/aarch64.c (aarch64_shift_truncation_mask):
4528 Return 0 if !SHIFT_COUNT_TRUNCATED.
4529
4530 2016-02-26 Jakub Jelinek <jakub@redhat.com>
4531 Eric Botcazou <ebotcazou@adacore.com>
4532
4533 PR rtl-optimization/69891
4534 * dse.c (scan_insn): If we can't figure out memset arguments
4535 or they are non-constant, call clear_rhs_from_active_local_stores.
4536
4537 2016-02-26 Martin Liska <mliska@suse.cz>
4538
4539 * doc/extend.texi: Mention clog10, clog10f an clog10l
4540 in Builtins section.
4541
4542 2016-02-26 Martin Liska <mliska@suse.cz>
4543
4544 * dwarf2out.c (new_loc_descr): Replace ENABLE_CHECKING with
4545 CHECKING_P.
4546 (resolve_args_picking_1): Likewise.
4547 * dwarf2out.h (struct GTY): Likewise.
4548
4549 2016-02-26 Martin Liska <mliska@suse.cz>
4550
4551 * hsa-gen.c (generate_hsa): Replace ENABLE_CHECKING macro
4552 with flag_checking.
4553 * hsa-regalloc.c (linear_scan_regalloc): Likewise.
4554
4555 2016-02-26 Markus Trippelsdorf <markus@trippelsdorf.de>
4556 Martin Liska <mliska@suse.cz>
4557
4558 * doc/install.texi: Mention --enable-valgrind-annotations.
4559
4560 2016-02-26 Richard Biener <rguenther@suse.de>
4561
4562 PR tree-optimization/69551
4563 * tree-ssa-structalias.c (get_constraint_for_ssa_var): When
4564 looking through aliases adjust DECL_PT_UID to refer to the
4565 ultimate alias target.
4566
4567 2016-02-25 Martin Liska <mliska@suse.cz>
4568
4569 PR middle-end/69919
4570 * alloc-pool.c (after_memory_report): New variable.
4571 * alloc-pool.h (base_pool_allocator ::release): Do not use
4572 the infrastructure if after_memory_report.
4573 * toplev.c (toplev::main): Mark after memory report.
4574
4575 2016-02-25 Richard Biener <rguenther@suse.de>
4576
4577 PR tree-optimization/48795
4578 * tree-vrp.c (check_array_ref): Use array_at_struct_end_p.
4579
4580 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
4581
4582 PR driver/68463
4583 * config/gnu-user.h (CRTOFFLOADBEGIN): Define. Add crtoffloadbegin.o if
4584 offloading is enabled and -fopenacc or -fopenmp is specified.
4585 (CRTOFFLOADEND): Likewise.
4586 (GNU_USER_TARGET_STARTFILE_SPEC): Add CRTOFFLOADBEGIN.
4587 (GNU_USER_TARGET_ENDFILE_SPEC): Add CRTOFFLOADEND.
4588 * lto-wrapper.c (offloadbegin, offloadend): Remove static vars.
4589 (offload_objects_file_name): New static var.
4590 (tool_cleanup): Remove offload_objects_file_name file.
4591 (find_offloadbeginend): Replace with ...
4592 (find_crtoffloadtable): ... this.
4593 (run_gcc): Remove offload_argc and offload_argv.
4594 Get offload_objects_file_name from -foffload-objects=... option.
4595 Read names of object files with offload from this file, pass them to
4596 compile_images_for_offload_targets. Don't call find_offloadbeginend and
4597 don't pass offloadbegin and offloadend to the linker. Don't pass
4598 offload non-LTO files to the linker, because now they're not claimed.
4599
4600 2016-02-25 Jan Hubicka <hubicka@ucw.cz>
4601
4602 PR ipa/69630
4603 * ipa-devirt.c (possible_polymorphic_call_targets): Do not ICE
4604 on builtin_unreachable.
4605
4606 2016-02-25 Jakub Jelinek <jakub@redhat.com>
4607
4608 PR rtl-optimization/69896
4609 * regcprop.c: Include cfgrtl.h.
4610 (copyprop_hardreg_forward_1): If noop_p insn uses narrower
4611 than remembered mode, either delete it (if noop_move_p), or
4612 treat like copy_p but not noop_p instruction.
4613
4614 2016-02-24 Jakub Jelinek <jakub@redhat.com>
4615
4616 PR debug/69705
4617 * dwarf2out.c (gen_variable_die): Work around buggy LTO
4618 - allow NULL decl for Fortran DW_TAG_common_block variables.
4619
4620 2016-02-24 Jason Merrill <jason@redhat.com>
4621
4622 * common.opt (flifetime-dse): Add -flifetime-dse=1.
4623
4624 2016-02-24 Richard Biener <rguenther@suse.de>
4625 Jakub Jelinek <jakub@redhat.com>
4626
4627 PR middle-end/69760
4628 * tree-scalar-evolution.c (interpret_rhs_expr): Re-write
4629 conditionally executed ops to well-defined overflow behavior.
4630
4631 2016-02-24 Jakub Jelinek <jakub@redhat.com>
4632
4633 PR middle-end/69915
4634 * tree.c (build_vector_from_ctor): Fix handling of VECTOR_CST
4635 elements.
4636
4637 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4638
4639 PR rtl-optimization/69886
4640 * gcse.c (can_assign_to_reg_without_clobbers_p): Accept mode
4641 argument. Use it when checking validity of set instructions.
4642 (want_to_gcse_p): Pass mode to can_assign_to_reg_without_clobbers_p.
4643 (compute_ld_motion_mems): Update can_assign_to_reg_without_clobbers_p
4644 callsite.
4645 * rtl.h (can_assign_to_reg_without_clobbers_p): Update prototype.
4646 * store-motion.c (find_moveable_store): Update
4647 can_assign_to_reg_without_clobbers_p callsite.
4648
4649 2016-02-24 Richard Biener <rguenther@suse.de>
4650
4651 PR middle-end/68963
4652 * tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Fix
4653 bogus check.
4654 (record_nonwrapping_iv): Do not fall back to the low/high bound
4655 for non-constant IV bases if the stmt is not always executed.
4656
4657 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4658
4659 * config/arm/arm-cores.def (cortex-a32): New entry.
4660 * config/arm/arm-tables.opt: Regenerate.
4661 * config/arm/arm-tune.md: Regenerate.
4662 * config/arm/bpabi.h (BE8_LINK_SPEC): Add mcpu=cortex-a32.
4663 * config/arm/t-aprofile: Handle mcpu=cortex-a32.
4664 * doc/invoke.texi (ARM Options): Document cortex-a32 as value
4665 for -mcpu and -mtune.
4666
4667 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4668
4669 PR target/69875
4670 * config/arm/arm.h (TARGET_HAVE_LPAE): Define.
4671 * config/arm/unspecs.md (VUNSPEC_LDRD_ATOMIC): New value.
4672 * config/arm/sync.md (arm_atomic_loaddi2_ldrd): New pattern.
4673 (atomic_loaddi_1): Delete.
4674 (atomic_loaddi): Rewrite expander using the above changes.
4675
4676 2016-02-24 Jakub Jelinek <jakub@redhat.com>
4677
4678 PR c/69918
4679 * params.def (PARAM_MAX_SSA_NAME_QUERY_DEPTH): Bump default from
4680 2 to 3.
4681
4682 2016-02-24 Jakub Jelinek <jakub@redhat.com>
4683 Richard Biener <rguenth@suse.de>
4684
4685 PR middle-end/69909
4686 * expr.c (expand_expr_real_1) <normal_inner_ref>: Avoid
4687 set_mem_attributes if tem is SSA_NAME which got expanded
4688 as a MEM.
4689
4690 2016-02-24 Richard Biener <rguenther@suse.de>
4691
4692 PR tree-optimization/69907
4693 * tree-vect-stmts.c (vectorizable_load): Check for gaps at the
4694 end of permutations for BB vectorization.
4695
4696 2016-02-24 Christian Bruel <christian.bruel@st.com>
4697
4698 * config/arm/arm-c.c (arm_option_override): Initialize
4699 target_option_current_node.
4700 * config/arm/arm.c (arm_pragma_target_parse): Replace
4701 build_target_option_node call by target_option_current_node.
4702 Set target_option_current_node.
4703 Fix comments.
4704
4705 2016-02-23 David Edelsohn <dje.gcc@gmail.com>
4706
4707 PR target/69810
4708 * config/rs6000/rs6000.md (zero_extendqi<mode>2_dot): Convert from
4709 define_insn_and_split to define_insn.
4710 (zero_extendqi<mode>2_dot2): Same.
4711 (extendqi<mode>2_dot): Same.
4712 (extendqi<mode>2_dot2): Same.
4713
4714 2016-02-23 Evandro Menezes <e.menezes@samsung.com>
4715
4716 * config/arm/exynos-m1.md: Change cost of STP, fix bypass for stores
4717 and add bypass for AES{D,E} and AESMC pairs.
4718 * config/aarch64/aarch64.c (exynosm1_tunings): Enable fusion of AES{D,E}
4719 and AESMC pairs.
4720
4721 2016-02-23 Evandro Menezes <e.menezes@samsung.com>
4722
4723 * config/aarch64/aarch64.c (exynosm1_tunings): Enable the Newton
4724 series for reciprocal square root in Exynos M1.
4725
4726 2016-02-23 Martin Sebor <msebor@redhat.com>
4727
4728 PR c/69759
4729 * doc/extend.texi (Other Builtins): Document __builtin_alloca and
4730 __builtin_alloca_with_align.
4731
4732 2016-02-23 Richard Henderson <rth@redhat.com>
4733
4734 * config/i386/i386-c.c (ix86_target_macros): Remove __SEG_TLS.
4735 (ix86_register_pragmas): Remove __seg_tls.
4736 * config/i386/i386-protos.h (ADDR_SPACE_SEG_TLS): Remove.
4737 * config/i386/i386.c (ix86_print_operand_address_as): Don't handle it.
4738 (ix86_addr_space_subset_p, TARGET_ADDR_SPACE_SUBSET_P): Remove.
4739 (ix86_addr_space_convert, TARGET_ADDR_SPACE_CONVERT): Remove.
4740 (ix86_addr_space_debug, TARGET_ADDR_SPACE_DEBUG): Remove.
4741 * doc/extend.texi (__seg_tls): Remove item.
4742
4743 2016-02-23 Richard Biener <rguenther@suse.de>
4744
4745 * alloc-pool.h (struct allocation_object): Make id member
4746 conditional on CHECKING_P again.
4747 (get_instance): Adjust.
4748 (base_pool_allocator): Likewise.
4749
4750 2016-02-23 Thomas Schwinge <thomas@codesourcery.com>
4751
4752 * tree-parloops.c (create_parallel_loop, gen_parallel_loop)
4753 (parallelize_loops): In OpenACC kernels mode, set n_threads to
4754 zero.
4755 (pass_parallelize_loops::gate): In OpenACC kernels mode, gate on
4756 flag_openacc.
4757 * tree-ssa-loop.c (gate_oacc_kernels): Likewise.
4758
4759 2016-02-23 Richard Biener <rguenther@suse.de>
4760
4761 * mem-stats.h (struct mem_usage): Use PRIu64 for printing size_t.
4762 * bitmap.h (struct bitmap_usage): Likewise.
4763 (bitmap_move): Declare.
4764 * bitmap.c (register_overhead): Take size_t argument.
4765 (bitmap_move): New function.
4766 * df-problems.c (df_rd_transfer_function): Use bitmap_move
4767 to properly account overhead.
4768 * tree.c (free_node): Use tree_size.
4769
4770 2016-02-23 Jakub Jelinek <jakub@redhat.com>
4771
4772 PR c++/69902
4773 * fold-const.c (fold_truth_not_expr): Propagate TREE_NO_WARNING
4774 when inverting comparison.
4775
4776 PR c/69900
4777 * common.opt (Wunreachable-code): Add Warning flag.
4778
4779 2016-02-23 Mark Wielaard <mjw@redhat.com>
4780 Jakub Jelinek <jakub@redhat.com>
4781
4782 PR c/69911
4783 * cgraphunit.c (check_global_declaration): Check main_input_filename
4784 and DECL_SOURCE_FILE are not NULL.
4785
4786 2016-02-23 Martin Jambor <mjambor@suse.cz>
4787
4788 PR tree-optimization/69666
4789 * tree-sra.c (sra_modify_assign): Do not attempt to create
4790 default_def replacements for unscalarizable regions.
4791
4792 2016-02-20 Mark Wielaard <mjw@redhat.com>
4793
4794 PR c/28901
4795 * cgraphunit.c (check_global_declaration): Check level of
4796 warn_unused_const_variable and main_input_filename.
4797 * doc/invoke.texi (Warning Options): Add -Wunused-const-variable=.
4798 (-Wunused-variable): For C implies -Wunused-const-variable=1.
4799 (-Wunused-const-variable): Explain levels 1 and 2.
4800
4801 2016-02-22 Jakub Jelinek <jakub@redhat.com>
4802
4803 PR target/69888
4804 * config/i386/i386.c (decide_alg): Ensure we don't recurse with
4805 identical arguments. Formatting and spelling fixes.
4806
4807 PR target/69885
4808 * doc/md.texi (ashl@var{m}3): Document that mode of operand 2 must
4809 be specified.
4810
4811 PR target/69894
4812 PR target/69895
4813 * config/m68k/t-opts (OPTIONS_H_EXTRA): Add m68k-microarchs.def
4814 and m68k-devices.def.
4815 * config/c6x/t-c6x (OPTIONS_H_EXTRA): Add c6x-isas.def.
4816 * config/aarch64/t-aarch64 (OPTIONS_H_EXTRA): Add aarch64-arches.def.
4817
4818 2016-02-22 Cesar Philippidis <cesar@codesourcery.com>
4819
4820 * config/nvptx/nvptx.c (nvptx_gen_shuffle): Add support for QImode
4821 and HImode registers.
4822
4823 2016-02-22 Richard Biener <rguenther@suse.de>
4824
4825 PR tree-optimization/69882
4826 * tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Properly
4827 preserve permutations present because of gaps.
4828 (vect_supported_load_permutation_p): Always continue checking
4829 permutations after vect_attempt_slp_rearrange_stmts.
4830
4831 2016-02-22 Bin Cheng <bin.cheng@arm.com>
4832
4833 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Dump
4834 min_profitable_estimate, rather than min_profitable_iters.
4835
4836 2016-02-22 Jakub Jelinek <jakub@redhat.com>
4837
4838 PR target/69885
4839 * config/m68k/m68k.md (ashldi3, ashrdi3, lshrdi3): Use
4840 SImode for last match_operand.
4841
4842 2016-02-22 Martin Liska <mliska@suse.cz>
4843
4844 * hsa-gen.c (gen_hsa_clrsb): In case of zero value,
4845 return bitsize - 1 as the return value.
4846
4847 2016-02-22 Oleg Endo <olegendo@gcc.gnu.org>
4848
4849 PR target/69806
4850 PR target/54089
4851 * config/sh/sh.c (sh_lshrsi_clobbers_t_reg_p, sh_dynamicalize_shift_p):
4852 Handle negative shift counts.
4853 * config/sh/sh.md (ashlsi3, lshrsi3_n, lshrsi3_n_clobbers_t): Don't use
4854 force_reg on the shift constant.
4855 (lshrsi3): Likewise. Expand into lshrsi3_n* instead of lshrsi3_d.
4856 (lshrsi3_d): Handle negative shift counts.
4857
4858 2016-02-22 Richard Biener <rguenther@suse.de>
4859 Tom de Vries <tom@codesourcery.com>
4860
4861 * graph.c: Include dumpfile.h.
4862 (print_graph_cfg): Split into three overloads.
4863 * gdbhooks.py (class DotFn): Add and instantiate, adding command dot-fn.
4864
4865 2016-02-22 Tom de Vries <tom@codesourcery.com>
4866
4867 * gdbhooks.py (class DumpFn): Add and instantiate, adding command
4868 dump-fn.
4869
4870 2016-02-22 Richard Biener <rguenther@suse.de>
4871
4872 PR ipa/37448
4873 * ipa-inline-transform.c (inline_call): When not updating
4874 overall summaries adjust self size by the growth estimate.
4875 * ipa-inline.c (inline_to_all_callers_1): Add to the callers
4876 hash-set, do not update overall summaries here. Renamed from ...
4877 (inline_to_all_callers): ... this which is now wrapping the
4878 above and performing delayed overall summary update.
4879 (early_inline_small_functions): Delay updating of the overall
4880 summary.
4881
4882 2016-02-21 Markus Trippelsdorf <markus@trippelsdorf.de>
4883
4884 * tree-chkp.c (chkp_mark_invalid_bounds_walker): Initialize
4885 variable.
4886
4887 2016-02-19 Jakub Jelinek <jakub@redhat.com>
4888
4889 PR driver/69805
4890 * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): Use
4891 :%* in %:gt() argument.
4892 (greater_than_spec_func): Adjust for expecting only numbers,
4893 if there are more than two numbers, compare the last two.
4894
4895 2016-02-19 Jonathan Wakely <jwakely@redhat.com>
4896
4897 * doc/invoke.texi (C++ Dialect Options): Clarify interaction of
4898 -Wnarrowing with -std.
4899
4900 2016-02-19 Jakub Jelinek <jakub@redhat.com>
4901
4902 PR c++/69851
4903 * expr.c (store_field): Don't use bit-field path if exp is
4904 COMPONENT_REF with TREE_ADDRESSABLE type, where TYPE_SIZE is
4905 different from bitsize, but DECL_SIZE of FIELD_DECL is bitsize
4906 and the assignment can be performed by bitwise copy. Formatting
4907 fix.
4908
4909 PR middle-end/69838
4910 * lra.c (lra_process_new_insns): If non-call exceptions are enabled,
4911 call copy_reg_eh_region_note_forward on before and/or after sequences
4912 and remove note from insn if it no longer can throw.
4913
4914 PR target/69820
4915 * config/i386/sse.md (VI_512): Only include V64QImode and V32HImode
4916 if TARGET_AVX512BW.
4917
4918 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4919
4920 * config/s390/vector.md: Add missing commutative operand markers
4921 to the patterns which qualify for one.
4922 * config/s390/vx-builtins.md: Likewise.
4923
4924 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4925
4926 * config/s390/vector.md (VI, VI_QHS): Add single element vector
4927 types to mode iterators.
4928 (vec_double): ... and mode attribute.
4929 * config/s390/vx-builtins.md (non_vec_int): Likewise.
4930
4931 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4932
4933 * config/s390/vector.md ("<ti*>add<mode>3", "<ti*>sub<mode>3"):
4934 Change the predicate of op2 from nonimmediate to general and let
4935 reload fix it if necessary.
4936
4937 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4938
4939 * config/s390/vecintrin.h (vec_sub_u128): Define missing macro.
4940
4941 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4942
4943 * config/s390/s390.c (s390_expand_vcond): Use the compare operand
4944 mode.
4945
4946 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4947
4948 * config/s390/s390-protos.h: Add s390_expand_vec_movstr prototype.
4949 * config/s390/s390.c (s390_expand_vec_movstr): New function.
4950 * config/s390/s390.md ("movstr<P:mode>"): Call
4951 s390_expand_vec_movstr.
4952
4953 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4954
4955 * config/s390/s390.md: Add missing output modifier for operand 1
4956 to print it as address properly.
4957
4958 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4959
4960 * config/s390/2827.md: Rename ooo_* insn attributes to zEC12_*.
4961 * config/s390/2964.md: New file.
4962 * config/s390/s390.c (s390_get_sched_attrmask): Use the right set
4963 of insn grouping attributes depending on the CPU level.
4964 (s390_get_unit_mask): New function.
4965 (s390_sched_score): Remove the OOO from the scheduling macros.
4966 Add loop to calculate a score for the instruction mix.
4967 (s390_sched_reorder): Likewise plus improve debug output.
4968 (s390_sched_variable_issue): Rename macros as above. Calculate
4969 the unit distances after actually scheduling an insn. Improve
4970 debug output.
4971 (s390_sched_init): Clear last_scheduled_unit_distance array.
4972 * config/s390/s390.md: Include 2964.md.
4973
4974 2016-02-18 Jakub Jelinek <jakub@redhat.com>
4975
4976 PR target/69671
4977 * config/i386/sse.md (*<floatsuffix>floatv2div2sf2_mask_1,
4978 *avx512vl_<code>v2div2qi2_mask_1, *avx512vl_<code><mode>v4qi2_mask_1,
4979 *avx512vl_<code><mode>v8qi2_mask_1, *avx512vl_<code><mode>v4hi2_mask_1,
4980 *avx512vl_<code>v2div2hi2_mask_1, *avx512vl_<code>v2div2si2_mask_1,
4981 *avx512f_<code>v8div16qi2_mask_1): New insns.
4982
4983 2016-02-18 Michael Meissner <meissner@linux.vnet.ibm.com>
4984
4985 PR target/68404
4986 * config/rs6000/predicates.md (fusion_gpr_addis): Revert
4987 2016-02-09 change.
4988
4989 * config/rs6000/rs6000.md (fusion_gpr_load_<mode>): Remove
4990 earlyclobber from target. Use wF constraint for fused memory
4991 address.
4992 (fusion_gpr_<P:mode>_<GPR_FUSION:mode>_load): Likewise.
4993
4994 2016-02-18 Jakub Jelinek <jakub@redhat.com>
4995 Martin Liska <mliska@suse.cz>
4996
4997 PR sanitizer/69863
4998 * cfgexpand.c (asan_sanitize_stack_p): New function.
4999 (partition_stack_vars): Use the function.
5000 (expand_stack_vars): Likewise.
5001 (defer_stack_allocation): Likewise.
5002 (expand_used_vars): Likewise.
5003
5004 2016-02-18 Richard Biener <rguenther@suse.de>
5005
5006 PR middle-end/69553
5007 * fold-const.c (operand_equal_p): Properly compare offsets for
5008 IMAGPART_EXPR and ARRAY_REF.
5009
5010 2016-02-18 Nick Clifton <nickc@redhat.com>
5011
5012 PR target/62254
5013 PR target/69610
5014 * config/arm/arm.c (arm_option_override_internal): Disable
5015 interworking if the target does not support thumb instructions.
5016 (arm_reload_in_hi): Handle the case where a register to register
5017 move needs reloading because there is no simple pattern to handle
5018 it.
5019 (arm_reload_out_hi): Likewise.
5020
5021 2016-02-18 Richard Biener <rguenther@suse.de>
5022
5023 PR middle-end/69854
5024 * match.pd: Don't use fold_binary or fold_unary for folding
5025 constants.
5026
5027 2016-02-17 Jakub Jelinek <jakub@redhat.com>
5028
5029 PR c++/69850
5030 * gimplify.c (gimplify_cond_expr): Call gimple_set_no_warning
5031 on the cond_stmt from TREE_NO_WARNING on COND_EXPR_COND.
5032 * gimple-ssa-nonnull-compare.c (do_warn_nonnull_compare): Don't
5033 warn on gimple_no_warning_p statements.
5034
5035 2016-02-17 Jonathan Wakely <jwakely@redhat.com>
5036
5037 * doc/extend.texi (C++ Attributes): Correct description of
5038 warn_unused type attribute.
5039
5040 2016-02-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
5041
5042 * config/rs6000/altivec.md (*altivec_lvxl_<mode>_internal): Output
5043 correct instruction.
5044
5045 2016-02-17 Richard Biener <rguenther@suse.de>
5046
5047 PR rtl-optimization/69609
5048 * bb-reorder.c (struct bbro_basic_block_data): Add priority member.
5049 (find_traces_1_round): When ending a trace update cached priority
5050 of successors.
5051 (bb_to_key): Use cached priority when available.
5052 (copy_bb): Initialize cached priority.
5053 (reorder_basic_blocks_software_trace_cache): Likewise.
5054
5055 2016-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5056
5057 PR target/69161
5058 * config/aarch64/predicates.md (aarch64_comparison_operator_mode):
5059 New predicate.
5060 (aarch64_comparison_operator): Break overly long line into two.
5061 (aarch64_comparison_operation): Likewise.
5062 * config/aarch64/aarch64.md (cstorecc4): Use
5063 aarch64_comparison_operator_mode instead of
5064 aarch64_comparison_operator.
5065 (cstore<mode>4): Likewise.
5066 (aarch64_cstore<mode>): Likewise.
5067 (*cstoresi_insn_uxtw): Likewise.
5068 (cstore<mode>_neg): Likewise.
5069 (*cstoresi_neg_uxtw): Likewise.
5070
5071 2016-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5072
5073 PR target/69161
5074 * config/arm/predicates.md (arm_comparison_operator_mode):
5075 New predicate.
5076 * config/arm/arm.md (*mov_scc): Use arm_comparison_operator_mode
5077 instead of arm_comparison_operator.
5078 (*mov_negscc): Likewise.
5079 (*mov_notscc): Likewise.
5080 * config/arm/thumb2.md (*thumb2_mov_scc): Likewise.
5081 (*thumb2_mov_negscc): Likewise.
5082 (*thumb2_mov_negscc_strict_it): Likewise.
5083 (*thumb2_mov_notscc): Likewise.
5084 (*thumb2_mov_notscc_strict_it): Likewise.
5085
5086 2016-02-17 Wilco Dijkstra <wdijkstr@arm.com>
5087
5088 * config/aarch64/aarch64.c (aarch64_internal_mov_immediate):
5089 Add missing return.
5090
5091 2016-02-17 Eric Botcazou <ebotcazou@adacore.com>
5092
5093 * config/visium/visium.c (machine_libfunc_index): New enum.
5094 (machine_libfuncs): New structure.
5095 (visium_libfuncs): New static variable.
5096 (TARGET_INIT_LIBFUNCS): Define to...
5097 (visium_init_libfuncs): ...this. New function.
5098 (expand_block_move_4): Use the appropriate libfunc.
5099 (expand_block_move_2): Likewise.
5100 (expand_block_move_1): Likewise.
5101 (expand_block_set_4): Likewise.
5102 (expand_block_set_2): Likewise.
5103 (expand_block_set_1): Likewise.
5104 (visium_trampoline_init): Likewise.
5105
5106 2016-02-17 Nick Clifton <nickc@redhat.com>
5107
5108 * config/msp430/msp430.c (msp430_mcu_data): Sync with data from
5109 TI's devices.csv file as of March 2016.
5110
5111 2016-02-16 Kelvin Nilsen <kelvin@gcc.gnu.org>
5112
5113 PR Target/48344
5114 * opts-global.c (handle_common_deferred_options): Introduce and
5115 initialize two global variables to remember command-line options
5116 specifying a stack-limiting register.
5117 * opts.h: Add extern declarations of the two new global variables.
5118 * emit-rtl.c (init_emit_once): Initialize the stack_limit_rtx
5119 variable based on the values of the two new global variables.
5120
5121 2016-02-16 Jakub Jelinek <jakub@redhat.com>
5122
5123 PR c/69835
5124 * common.opt (Wnonnull-compare): New warning.
5125 * doc/invoke.texi (-Wnonnull): Remove text about comparison
5126 of arguments against NULL.
5127 (-Wnonnull-compare): Document.
5128 * Makefile.in (OBJS): Add gimple-ssa-nonnull-compare.o.
5129 * tree-pass.h (make_pass_warn_nonnull_compare): Declare.
5130 * passes.def (pass_warn_nonnull_compare): Add.
5131 * gimple-ssa-nonnull-compare.c: New file.
5132
5133 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
5134
5135 * config/aarch64/aarch64.c (cortexa57_tunings): Remove
5136 AARCH64_EXTRA_TUNE_RECIP_SQRT.
5137
5138 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
5139
5140 * config/aarch64/aarch64.c (use_rsqrt_p): Always use software
5141 reciprocal sqrt for -mlow-precision-recip-sqrt.
5142
5143 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
5144 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
5145
5146 * config/aarch64/aarch64.c (aarch64_expand_vector_init): Refactor,
5147 always use lane loads to construct non-constant vectors.
5148
5149 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
5150
5151 * config/aarch64/aarch64.md
5152 (arch64_sqrdml<SQRDMLH_AS:rdma_as>h_lane<mode>): Fix register
5153 constraints for operand 3.
5154 (aarch64_sqrdml<SQRDMLH_AS:rdma_as>h_laneq<mode>): Likewise.
5155
5156 2016-02-16 Jakub Jelinek <jakub@redhat.com>
5157 Richard Biener <rguenther@suse.de>
5158
5159 PR tree-optimization/69820
5160 * tree-vect-patterns.c (type_conversion_p): Return false if
5161 *orig_type is unsigned single precision or boolean.
5162 (vect_recog_dot_prod_pattern, vect_recog_widen_mult_pattern):
5163 Formatting fix.
5164
5165 2016-02-16 Jakub Jelinek <jakub@redhat.com>
5166
5167 PR rtl-optimization/69764
5168 PR rtl-optimization/69771
5169 * optabs.c (expand_binop): Ensure for shift optabs invalid CONST_INT
5170 op1 is valid for GET_MODE_INNER (mode) and force it into a reg.
5171
5172 2016-02-16 Richard Biener <rguenther@suse.de>
5173
5174 PR tree-optimization/69776
5175 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Get alias
5176 sets from caller.
5177 (indirect_refs_may_alias_p): Likewise.
5178 (refs_may_alias_p_1): Pass alias sets as from ao_ref.
5179 * tree-ssa-sccvn.c (vn_reference_lookup): Also adjust vr alias-set
5180 according to tbaa_p.
5181 * tree-ssa-dom.c (lookup_avail_expr): Add tbaa_p flag.
5182 (optimize_stmt): For redundant store discovery do not allow tbaa.
5183
5184 2016-02-16 Bernd Schmidt <bschmidt@redhat.com>
5185
5186 PR tree-optimization/69714
5187 * tree-ssa-math-opts.c (find_bswap_or_nop): Revert previous change.
5188 Return NULL if we have irrelevant high bytes on BIG_ENDIAN.
5189
5190 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
5191
5192 * config/arc/arc-modes.def (CC_FPU, CC_FPU_UNEQ): New modes.
5193 * config/arc/arc-opts.h (FPU_SP, FPU_SF, FPU_SC, FPU_SD, FPU_DP)
5194 (FPU_DF, FPU_DC, FPU_DD, FXP_DP): Define.
5195 * config/arc/arc.c (arc_init): Check FPU options.
5196 (get_arc_condition_code): Handle new CC_FPU* modes.
5197 (arc_select_cc_mode): Likewise.
5198 (arc_conditional_register_usage): Allow 64 bit datum into even-odd
5199 register pair only. Allow access for ARCv2 accumulator.
5200 (gen_compare_reg): Whenever we have FPU support use FPU compare
5201 instructions.
5202 (arc_reorg): Don't generate brcc insns when FPU compare
5203 instructions are involved.
5204 * config/arc/arc.h (TARGET_DPFP): Add TARGET_FP_DPAX condition.
5205 (TARGET_OPTFPE): Add condition when ARC EM can use optimized
5206 floating point emulation.
5207 (ACC_REG_FIRST, ACC_REG_LAST, ACCL_REGNO, ACCH_REGNO): Define.
5208 (REVERSE_CONDITION): Add new CC_FPU* modes.
5209 (TARGET_FP_SP_BASE): Define.
5210 (TARGET_FP_DP_BASE): Likewise.
5211 (TARGET_FP_SP_FUSED): Likewise.
5212 (TARGET_FP_DP_FUSED): Likewise.
5213 (TARGET_FP_SP_CONV): Likewise.
5214 (TARGET_FP_DP_CONV): Likewise.
5215 (TARGET_FP_SP_SQRT): Likewise.
5216 (TARGET_FP_DP_SQRT): Likewise.
5217 (TARGET_FP_DP_AX): Likewise.
5218 * config/arc/arc.md (ARCV2_ACC): New constant.
5219 (type): New fpu type attribute.
5220 (SDF): Conditional iterator.
5221 (cstore<mode>, cbranch<mode>): Change expand condition.
5222 (addsf3, subsf3, mulsf3, adddf3, subdf3, muldf3): New expands,
5223 handles FPU/FPX cases as well.
5224 * config/arc/arc.opt (mfpu): New option.
5225 * config/arc/fpx.md (addsf3_fpx, subsf3_fpx, mulsf3_fpx):
5226 Renamed.
5227 (adddf3, muldf3, subdf3): Removed.
5228 * config/arc/predicates.md (proper_comparison_operator): Recognize
5229 CC_FPU* modes.
5230 * config/arc/fpu.md: New file.
5231 * doc/invoke.texi (ARC Options): Document mfpu option.
5232
5233 2016-02-16 Richard Biener <rguenther@suse.de>
5234
5235 PR rtl-optimization/69291
5236 * ifcvt.c (noce_try_store_flag_constants): Re-instantiate
5237 noce_operand_ok check.
5238
5239 2016-02-16 Tom de Vries <tom@codesourcery.com>
5240
5241 PR lto/67709
5242 * omp-low.c (simd_clone_create): Remove call to
5243 symtab->call_cgraph_insertion_hooks.
5244
5245 2016-02-16 Jakub Jelinek <jakub@redhat.com>
5246
5247 PR tree-optimization/69802
5248 * tree-ssa-reassoc.c (update_range_test): If op is
5249 SSA_NAME_IS_DEFAULT_DEF, give up unless tem is a positive
5250 op == 1 test of precision 1 integral op, otherwise handle
5251 that case as op itself. Fix up formatting.
5252 (optimize_range_tests_to_bit_test, optimize_range_tests): Fix
5253 up formatting.
5254
5255 2016-02-16 Richard Biener <rguenther@suse.de>
5256
5257 PR tree-optimization/69586
5258 * tree-vrp.c (register_edge_assert_for_2): Handle all integral
5259 types for conversion sources.
5260
5261 2016-02-16 Richard Biener <rguenther@suse.de>
5262
5263 PR middle-end/69801
5264 * fold-const.c (operand_equal_p): For COND_EXPR zero operand
5265 mask OEP_ADDRESS_OF.
5266
5267 2016-02-16 Alan Modra <amodra@gmail.com>
5268
5269 PR target/68973
5270 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Rewrite splitter.
5271 (p8_mtvsrd_df, p8_mtvsrd_sf): New.
5272 (p8_mtvsrd_1, p8_mtvsrd_2): Delete.
5273 (p8_mtvsrwz): New.
5274 (p8_mtvsrwz_1, p8_mtvsrwz_2): Delete.
5275 (p8_xxpermdi_<mode>): Take two DF inputs rather than one TF.
5276 (p8_fmrgow_<mode>): Likewise.
5277 (reload_vsx_from_gpr<mode>): Make clobber IF. Adjust for above
5278 changes.
5279 (reload_fpr_from_gpr<mode>): Similarly. Use "d" for op0 constraint.
5280 (reload_vsx_from_gprsf): Use p8_mtvsrd_sf rather than attempting
5281 to use movdi_internal64. Remove op0_di.
5282 * config/rs6000/vsx.md (vsx_xscvspdpn_directmove): Make op1 SFmode.
5283
5284 2016-02-15 Evandro Menezes <e.menezes@samsung.com>
5285
5286 Add support for the FCCMP insn types
5287
5288 * config/aarch64/aarch64.md (fccmp): Change insn type.
5289 (fccmpe): Likewise.
5290 * config/aarch64/thunderx.md (thunderx_fcmp): Add "fccmp{s,d}" types.
5291 * config/arm/cortex-a53.md (cortex_a53_fpalu): Likewise.
5292 * config/arm/cortex-a57.md (cortex_a57_fp_cmp): Likewise.
5293 * config/arm/xgene1.md (xgene1_fcmp): Likewise.
5294 * config/arm/exynos-m1.md (exynos_m1_fp_ccmp): New insn reservation.
5295 * config/arm/types.md (fccmps): Add new insn type.
5296 (fccmpd): Likewise.
5297
5298 2016-02-15 Bernd Edlinger <bernd.edlinger@hotmail.de>
5299
5300 * alias.c (get_alias_set): Fix a typo in comment.
5301
5302 2016-02-15 Richard Biener <rguenther@suse.de>
5303
5304 PR tree-optimization/69595
5305 * match.pd: Complete range test simplification to true.
5306
5307 2016-02-15 Bernd Schmidt <bschmidt@redhat.com>
5308
5309 PR rtl-optimization/69648
5310 * lra-constraints.c (update_ebb_live_info): Don't remove sets of
5311 pic_offset_table_rtx.
5312
5313 PR rtl-optimization/69752
5314 * ira.c (update_equiv_regs): When looking for more than a single SET,
5315 also take other side effects into account.
5316
5317 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5318
5319 * config/s390/s390.c (s390_function_profiler): Add a new sequence
5320 for z900+ CPUs in 31-bit mode.
5321
5322 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
5323
5324 * common/config/s390/s390-common.c (s390_supports_split_stack):
5325 New function.
5326 (TARGET_SUPPORTS_SPLIT_STACK): New macro.
5327 * config/s390/s390-protos.h: Add s390_expand_split_stack_prologue.
5328 * config/s390/s390.c (struct machine_function): New field
5329 split_stack_varargs_pointer.
5330 (s390_register_info): Mark r12 as clobbered if it'll be used as temp
5331 in s390_emit_prologue.
5332 (s390_emit_prologue): Use r12 as temp if r1 is taken by split-stack
5333 vararg pointer.
5334 (morestack_ref): New global.
5335 (SPLIT_STACK_AVAILABLE): New macro.
5336 (s390_expand_split_stack_prologue): New function.
5337 (s390_live_on_entry): New function.
5338 (s390_va_start): Use split-stack vararg pointer if appropriate.
5339 (s390_asm_file_end): Emit the split-stack note sections.
5340 (TARGET_EXTRA_LIVE_ON_ENTRY): New macro.
5341 * config/s390/s390.md (UNSPEC_STACK_CHECK): New unspec.
5342 (UNSPECV_SPLIT_STACK_CALL): New unspec.
5343 (UNSPECV_SPLIT_STACK_DATA): New unspec.
5344 (split_stack_prologue): New expand.
5345 (split_stack_space_check): New expand.
5346 (split_stack_data): New insn.
5347 (split_stack_call): New expand.
5348 (split_stack_call_*): New insn.
5349 (split_stack_cond_call): New expand.
5350 (split_stack_cond_call_*): New insn.
5351
5352 2016-02-15 Richard Biener <rguenther@suse.de>
5353
5354 PR tree-optimization/69783
5355 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
5356 Add trivially correct cases.
5357
5358 2016-02-15 Tom de Vries <tom@codesourcery.com>
5359
5360 PR lto/69655
5361 * lto-cgraph.c (input_offload_tables): Add and handle bool parameter
5362 do_force_output.
5363 * lto-streamer.h (input_offload_tables): Add and handle bool parameter.
5364
5365 2016-02-15 Richard Biener <rguenther@suse.de>
5366
5367 PR tree-optimization/69776
5368 * tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
5369 * tree-ssa-sccvn.c (vn_reference_lookup): Add parameter to
5370 indicate whether we can use TBAA to disambiguate against stores.
5371 Use alias-set zero if not.
5372 (visit_reference_op_store): Do not use TBAA when looking up
5373 redundant stores.
5374 * tree-ssa-pre.c (compute_avail): Use TBAA here.
5375 (eliminate_dom_walker::before_dom_children): But not when looking
5376 up redundant stores.
5377
5378 2016-02-14 John David Anglin <danglin@gcc.gnu.org>
5379
5380 * config/pa/pa.md (absqi2, absghi2, bswaphi2, bswapsi2, bswapdi2): New.
5381
5382 2016-02-14 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
5383
5384 * config/i386/znver1.md
5385 (znver1_pop, znver1_pop_mem,
5386 znver1_load_imov_double_store,
5387 znver1_load_imov_direct_store,
5388 znver1_load_imov_direct_load,
5389 znver1_load_imov_double_load): Add new.
5390 (znver1_insn, znver1_insn_load): Add icmov type.
5391 (znver1_sseavx_fma,
5392 znver1_sseavx_fma_load,
5393 znver1_avx256_fma,
5394 znver1_avx256_fma_load): Fix pipe usage.
5395
5396 2016-02-14 Alan Modra <amodra@gmail.com>
5397
5398 PR target/68973
5399 * reloads.c (find_reloads_address_1): For pre/post-inc/dec
5400 with an invalid hard reg, reload just the reg not the entire
5401 pre/post-inc/dec address expression.
5402
5403 2016-02-13 Oleg Endo <olegendo@gcc.gnu.org>
5404
5405 PR target/67260
5406 * config/sh/sh.md (sibcall_value_pcrel): Replace =&k scratch reg with
5407 fixed R1_REG scratch reg.
5408 (sibcall_value_pcrel_fdpic): Likewise.
5409
5410 2016-02-13 Oleg Endo <olegendo@gcc.gnu.org>
5411
5412 PR target/67636
5413 PR target/64345
5414 * config/sh/sh.md (*zero_extract_3): New insn_and_split pattern.
5415
5416 2016-02-12 Walter Lee <walt@tilera.com>
5417
5418 * config/tilepro/t-tilepro: Replace CC_FOR_BUILD with CXX_FOR_BUILD.
5419 * config/tilegx/t-tilegx: Likewise.
5420
5421 2016-02-12 David Malcolm <dmalcolm@redhat.com>
5422
5423 PR other/69554
5424 * diagnostic-show-locus.c (struct line_span): New struct.
5425 (layout::get_first_line): Delete.
5426 (layout::get_last_line): Delete.
5427 (layout::get_num_line_spans): New member function.
5428 (layout::get_line_span): Likewise.
5429 (layout::print_heading_for_line_span_index_p): Likewise.
5430 (layout::get_expanded_location): Likewise.
5431 (layout::calculate_line_spans): Likewise.
5432 (layout::m_first_line): Delete.
5433 (layout::m_last_line): Delete.
5434 (layout::m_line_spans): New field.
5435 (layout::layout): Update comment. Replace m_first_line and
5436 m_last_line with m_line_spans, replacing their initialization
5437 with a call to calculate_line_spans.
5438 (diagnostic_show_locus): When printing source lines and
5439 annotations, rather than looping over a single span
5440 of lines, instead loop over each line_span within
5441 the layout, with an inner loop over the lines within them.
5442 Call the context's start_span callback when changing line spans.
5443 * diagnostic.c (diagnostic_initialize): Initialize start_span.
5444 (diagnostic_build_prefix): Break out the building of the location
5445 part of the string into...
5446 (diagnostic_get_location_text): ...this new function, rewriting
5447 it from nested ternary expressions to a sequence of "if"
5448 statements.
5449 (default_diagnostic_start_span_fn): New function.
5450 * diagnostic.h (diagnostic_start_span_fn): New typedef.
5451 (diagnostic_context::start_span): New field.
5452 (default_diagnostic_start_span_fn): New prototype.
5453
5454 2016-02-12 David Malcolm <dmalcolm@redhat.com>
5455
5456 PR driver/69779
5457 * gcc.c (driver::finalize): Fix cleanup of "specs".
5458
5459 2016-02-12 David Malcolm <dmalcolm@redhat.com>
5460
5461 PR driver/69265
5462 PR driver/69453
5463 * gcc.c (driver::driver): Initialize m_option_suggestions.
5464 (driver::~driver): Clean up m_option_suggestions.
5465 (suggest_option): Convert to...
5466 (driver::suggest_option): ...this, and split out into
5467 driver::build_option_suggestions and find_closest_string.
5468 (driver::build_option_suggestions): New function, from
5469 first half of suggest_option. Special-case
5470 OPT_fsanitize_ and OPT_fsanitize_recover_, making use of
5471 the sanitizer_opts array. For options of enum types, add the
5472 various enum values to the candidate strings.
5473 (driver::handle_unrecognized_options): Remove "const".
5474 * gcc.h (driver::handle_unrecognized_options): Likewise.
5475 (driver::build_option_suggestions): New decl.
5476 (driver::suggest_option): New decl.
5477 (driver::m_option_suggestions): New field.
5478 * opts-common.c (add_misspelling_candidates): New function.
5479 * opts.c (sanitizer_opts): Remove decl of struct sanitizer_opts_s
5480 and make non-static.
5481 * opts.h (sanitizer_opts): New array decl.
5482 (add_misspelling_candidates): New function decl.
5483 * spellcheck.c (find_closest_string): New function.
5484 * spellcheck.h (find_closest_string): New function decl.
5485
5486 2016-02-12 Jakub Jelinek <jakub@redhat.com>
5487
5488 PR rtl-optimization/69764
5489 PR rtl-optimization/69771
5490 * optabs.c (expand_binop_directly): For shift_optab_p, force
5491 convert_modes with VOIDmode if xop1 has VOIDmode.
5492
5493 2016-02-12 Ilya Enkovich <enkovich.gnu@gmail.com>
5494
5495 PR target/69729
5496 * lto-streamer-out.c (lto_output): Use thunk.add_pointer_bounds_args
5497 to correctly determine instrumentation thunks.
5498
5499 2016-02-12 Jakub Jelinek <jakub@redhat.com>
5500
5501 PR ipa/69241
5502 * ipa-split.c (split_function): If split part returns TREE_ADDRESSABLE
5503 type by reference, force lhs on the call.
5504
5505 PR ipa/68672
5506 * ipa-split.c (split_function): Don't compute/use main_part_return_p.
5507 Compute retval and retbnd early in all cases if split_part_return_p
5508 and return_bb is not EXIT. Remove all clobber stmts and reset
5509 all debug stmts that refer to SSA_NAMEs defined in split part,
5510 except if it is retval, in that case replace the old retval with the
5511 lhs of the call to the split part.
5512
5513 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
5514
5515 revert:
5516 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
5517
5518 PR middle-end/66726
5519 * tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
5520 whose result is used in PHI.
5521 (maybe_optimize_range_tests): Likewise.
5522 (final_range_test_p): Likweise.
5523
5524 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
5525
5526 PR middle-end/66726
5527 * tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
5528 whose result is used in PHI.
5529 (maybe_optimize_range_tests): Likewise.
5530 (final_range_test_p): Likweise.
5531
5532 2016-02-12 Jakub Jelinek <jakub@redhat.com>
5533
5534 * cgraph.c: Spelling fixes - behaviour -> behavior and
5535 neighbour -> neighbor.
5536 * target.def: Likewise.
5537 * sel-sched.c: Likewise.
5538 * config/mips/mips.c: Likewise.
5539 * config/arc/arc.md: Likewise.
5540 * config/arm/cortex-a57.md: Likewise.
5541 * config/arm/arm.c: Likewise.
5542 * config/arm/neon.md: Likewise.
5543 * config/arm/arm-c.c: Likewise.
5544 * config/vms/vms-c.c: Likewise.
5545 * config/s390/s390.c: Likewise.
5546 * config/i386/znver1.md: Likewise.
5547 * config/i386/i386.c: Likewise.
5548 * config/ia64/hpux-unix2003.h: Likewise.
5549 * config/msp430/msp430.md: Likewise.
5550 * config/rx/rx.c: Likewise.
5551 * config/rx/rx.md: Likewise.
5552 * config/aarch64/aarch64-simd.md: Likewise.
5553 * config/aarch64/aarch64.c: Likewise.
5554 * config/nvptx/nvptx.c: Likewise.
5555 * config/bfin/bfin.c: Likewise.
5556 * config/cris/cris.opt: Likewise.
5557 * config/rs6000/rs6000.c: Likewise.
5558 * target.h: Likewise.
5559 * spellcheck.c: Likewise.
5560 * ira-build.c: Likewise.
5561 * tree-inline.c: Likewise.
5562 * builtins.c: Likewise.
5563 * lra-constraints.c: Likewise.
5564 * explow.c: Likewise.
5565 * hwint.h: Likewise.
5566 * targhooks.c: Likewise.
5567 * tree-vect-data-refs.c: Likewise.
5568 * expr.c: Likewise.
5569 * doc/tm.texi: Likewise.
5570 * doc/extend.texi: Likewise.
5571 * doc/install.texi: Likewise.
5572 * doc/md.texi: Likewise.
5573 * tree-ssa-tail-merge.c: Likewise.
5574 * sched-int.h: Likewise.
5575 * match.pd: Likewise.
5576 * sched-ebb.c: Likewise.
5577 * target.def (omit_struct_return_reg): Likewise.
5578 * gimple-ssa-isolate-paths.c: Likewise.
5579 (find_implicit_erroneous_behaviour): Renamed to...
5580 (find_implicit_erroneous_behavior): ... this.
5581 (find_explicit_erroneous_behaviour): Renamed to...
5582 (find_explicit_erroneous_behavior): ... this.
5583 (gimple_ssa_isolate_erroneous_paths): Adjust caller.
5584
5585 2016-02-11 Segher Boessenkool <segher@kernel.crashing.org>
5586
5587 PR rtl-optimization/64682
5588 PR rtl-optimization/69567
5589 PR rtl-optimization/69737
5590 * combine.c (distribute_notes) <REG_DEAD>: If the register is set
5591 in I2 as well, just lose it.
5592
5593 2016-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
5594
5595 * config/aarch64/aarch64.c (aarch64_last_printed_arch_string):
5596 New variable.
5597 (aarch64_last_printed_tune_string): Likewise.
5598 (aarch64_declare_function_name): Only output .arch assembler
5599 directive if it will be different from the previously output
5600 directive. Same for .tune comment but only if -dA is set.
5601 (aarch64_start_file): New function.
5602 (TARGET_ASM_FILE_START): Define.
5603
5604 2016-02-11 David Malcolm <dmalcolm@redhat.com>
5605
5606 PR plugins/69758
5607 * Makefile.in (PLUGIN_HEADERS): Add params.list.
5608
5609 2016-02-11 Jakub Jelinek <jakub@redhat.com>
5610
5611 PR target/65313
5612 * tree-vect-slp.c (vect_schedule_slp_instance): Avoid
5613 -Wmaybe-uninitialized warning.
5614
5615 2016-02-11 Oleg Endo <olegendo@gcc.gnu.org>
5616
5617 PR target/69713
5618 * config/sh/sh.md (casesi_worker_0): Add T_REG use.
5619
5620 2016-02-11 Richard Biener <rguenther@suse.de>
5621
5622 PR rtl-optimization/69291
5623 * ifcvt.c (noce_try_store_flag_constants): Do not allow
5624 subexpressions affected by changing the result.
5625
5626 2016-02-10 Vladimir Makarov <vmakarov@redhat.com>
5627
5628 PR target/69148
5629 * lra-constraints.c (curr_insn_transform): Find in/out operands
5630 for secondary memory moves. Update dups.
5631
5632 2016-02-10 Yuri Rumyantsev <ysrumyan@gmail.com>
5633
5634 PR tree-optimization/69652
5635 * tree-vect-loop.c (optimize_mask_stores): Move declaration of STMT1
5636 to nested loop, did source re-formatting, skip debug statements,
5637 add check on statement with volatile operand, remove dead scalar
5638 statements.
5639
5640 2016-02-10 Jakub Jelinek <jakub@redhat.com>
5641 Patrick Palka <ppalka@gcc.gnu.org>
5642
5643 PR ipa/69241
5644 PR c++/69649
5645 * gimplify.c (gimplify_modify_expr): Set lhs even for noreturn
5646 calls if the return type is TREE_ADDRESSABLE.
5647 * cgraphunit.c (cgraph_node::expand_thunk): Likewise.
5648 * ipa-split.c (split_function): Fix doubled "we" in comment.
5649 Use void return type for the split part even if
5650 !split_point->split_part_set_retval.
5651
5652 2016-02-10 Bin Cheng <bin.cheng@arm.com>
5653
5654 PR tree-optimization/68021
5655 * tree-ssa-loop-ivopts.c (get_computation_aff): Set ratio to 1 if
5656 when computing the value of biv cand by itself.
5657
5658 2016-02-10 Wilco Dijkstra <wdijkstr@arm.com>
5659
5660 * config/aarch64/aarch64.c (cortexa53_tunings): Enable AES fusion.
5661 (cortexa57_tunings): Likewise.
5662 (cortexa72_tunings): Likewise.
5663 (arch_macro_fusion_pair_p): Add support for AES fusion.
5664 * config/aarch64/aarch64-fusion-pairs.def: Add AES_AESMC entry.
5665 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
5666 Allow virtual registers before reload so early scheduling works.
5667 * config/arm/cortex-a57.md (cortex_a57_crypto_simple): Use
5668 correct latency and pipeline.
5669 (cortex_a57_crypto_complex): Likewise.
5670 (cortex_a57_crypto_xor): Likewise.
5671 (define_bypass): Add AES bypass.
5672
5673 2016-02-10 Richard Biener <rguenther@suse.de>
5674
5675 PR tree-optimization/69726
5676 * passes.def: Add DCE pass before late uninit.
5677 * match.pd: Add A ? B : (!A ? C : X) -> A ? B : C patterns to
5678 really fixup if-conversions job.
5679
5680 2016-02-10 Wilco Dijkstra <wdijkstr@arm.com>
5681
5682 * config/arm/arm.c (arm_cortex_a53_tune): Enable AES fusion.
5683 (arm_cortex_a57_tune): Likewise.
5684 (aarch_macro_fusion_pair_p): Add support for AES fusion.
5685 * config/arm/arm-protos.h (fuse_ops): Add FUSE_AES_AESMC.
5686
5687 2016-02-10 Eric Botcazou <ebotcazou@adacore.com>
5688
5689 * timevar.def (TV_PHASE_DBGINFO): Delete.
5690 (TV_PHASE_CHECK_DBGINFO): Likewise.
5691 * varpool.c (varpool_node::assemble_decl): Do not change timevar.
5692
5693 2016-02-10 Richard Biener <rguenther@suse.de>
5694
5695 PR tree-optimization/69719
5696 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
5697 Adjust previous fix by ensuring that dr_a1 is left of dr_a2.
5698
5699 2016-02-09 Andrew Pinski <apinski@cavium.com>
5700
5701 PR tree-opt/69282
5702 * optabs-tree.c (expand_vec_cond_expr_p): Don't early return if
5703 get_vcond_mask_icode returns false.
5704
5705 2016-02-09 Michael Meissner <meissner@linux.vnet.ibm.com>
5706
5707 PR target/68404
5708 * config/rs6000/predicates.md (fusion_gpr_addis): Prevent fusing
5709 an ADDIS that adds a pointer to a large constant that sets the
5710 upper16 bits with a load operation.
5711
5712 2016-02-09 Charles Baylis <charles.baylis@linaro.org>
5713
5714 PR target/68532
5715 * config/arm/arm.c (arm_evpc_neon_vzip): Allow for big endian lane
5716 order.
5717 * config/arm/arm_neon.h (vzipq_s8): Adjust shuffle patterns for big
5718 endian.
5719 (vzipq_s16): Likewise.
5720 (vzipq_s32): Likewise.
5721 (vzipq_f32): Likewise.
5722 (vzipq_u8): Likewise.
5723 (vzipq_u16): Likewise.
5724 (vzipq_u32): Likewise.
5725 (vzipq_p8): Likewise.
5726 (vzipq_p16): Likewise.
5727
5728 2016-02-09 Charles Baylis <charles.baylis@linaro.org>
5729
5730 PR target/68532
5731 * config/arm/arm.c (neon_endian_lane_map): New function.
5732 (neon_vector_pair_endian_lane_map): New function.
5733 (arm_evpc_neon_vuzp): Allow for big endian lane order.
5734 * config/arm/arm_neon.h (vuzpq_s8): Adjust shuffle patterns for big
5735 endian.
5736 (vuzpq_s16): Likewise.
5737 (vuzpq_s32): Likewise.
5738 (vuzpq_f32): Likewise.
5739 (vuzpq_u8): Likewise.
5740 (vuzpq_u16): Likewise.
5741 (vuzpq_u32): Likewise.
5742 (vuzpq_p8): Likewise.
5743 (vuzpq_p16): Likewise.
5744
5745 2016-02-11 Alexandre Oliva <aoliva@redhat.com>
5746
5747 PR target/69634
5748 * regstat.c (regstat_bb_compute_calls_crossed): Disregard
5749 debug insns.
5750
5751 2016-02-09 Uros Bizjak <ubizjak@gmail.com>
5752
5753 * config/i386/i386.md (insv<mode>_1): Use gen_int_mode to
5754 truncate const_int operand 1 to QImode.
5755
5756 2016-02-09 Eric Botcazou <ebotcazou@adacore.com>
5757
5758 * gimple-ssa-backprop.c (optimize_phi): Do not replace an argument
5759 corresponding to an abnormal edge.
5760
5761 2016-02-09 Tom de Vries <tom@codesourcery.com>
5762
5763 PR tree-optimization/69599
5764 * tree-ssa-structalias.c (fndecl_maybe_in_other_partition): New
5765 function.
5766 (find_func_aliases_for_builtin_call, find_func_clobbers)
5767 (ipa_pta_execute): Handle case that foo and foo._0 are not in same lto
5768 partition.
5769
5770 2016-02-09 Richard Biener <rguenther@suse.de>
5771
5772 PR tree-optimization/69715
5773 * tree-ssa.c (execute_update_addresses_taken): Mark non-decl
5774 LHS on calls as non-rewritable.
5775
5776 2016-02-09 Tom de Vries <tom@codesourcery.com>
5777
5778 PR lto/69707
5779 * lto-wrapper.c (append_diag_options): New function.
5780 (compile_offload_image): Call append_diag_options.
5781
5782 2016-02-08 Sandra Loosemore <sandra@codesourcery.com>
5783
5784 PR other/69722
5785 * doc/extend.texi (Flag Output Operands): Correct sectioning.
5786 Minor copy-edit to fix verb tenses.
5787
5788 2016-02-08 Jakub Jelinek <jakub@redhat.com>
5789
5790 PR tree-optimization/69209
5791 * ipa-split.c (split_function): If split part is not
5792 returning retval, retval has gimple type but is not
5793 gimple value, force it into a SSA_NAME first.
5794
5795 2016-02-08 Nicklas Bo Jensen <nbjensen@gmail.com>
5796
5797 * doc/tree-ssa.texi (Preserving the virtual SSA form): Remove
5798 outdated section.
5799
5800 2016-02-08 Jason Merrill <jason@redhat.com>
5801
5802 PR c++/69631
5803 * convert.c (convert_to_integer_1): Check dofold on truncation
5804 distribution.
5805 (convert_to_pointer_maybe_fold, convert_to_real_maybe_fold)
5806 (convert_to_integer_maybe_fold, convert_to_complex_maybe_fold):
5807 Rename from *_nofold.
5808 * convert.h (convert_to_pointer_nofold, convert_to_integer_nofold)
5809 (convert_to_real_nofold, convert_to_complex_nofold): New inlines.
5810
5811 2016-02-08 Bernd Schmidt <bschmidt@redhat.com>
5812
5813 PR target/60410
5814 * tree.c (build_common_tree_nodes): Remove short_double argument.
5815 All callers changed.
5816 * tree.h (build_common_tree_nodes): Adjust declaration.
5817 * doc/invoke.texi (-fshort-double): Remove documentation.
5818 * config/mips/t-img-elf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
5819 MULTILIB_EXCEPTIONS): Remove -fshort-double variant.
5820 * lto-wrapper.c (merge_and_complain, append_compiler_options)
5821 (append_linker_options): Don't handle OPT_fshort_double.
5822
5823 PR rtl-optimization/68730
5824 * lra-remat.c (insn_to_cand_activation): New static variable.
5825 (lra_remat): Allocate and free it.
5826 (create_cand): New arg activation. Initialize a field in
5827 insn_to_cand_activation if it is nonnull.
5828 (create_cands): Pass the activation insn to create_cand when making
5829 a candidate involving an output reload. Reorganize code a little.
5830 (do_remat): Keep track of active status of candidates in a separate
5831 bitmap.
5832
5833 2016-02-08 Richard Biener <rguenther@suse.de>
5834
5835 PR tree-optimization/69719
5836 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
5837 Properly use absolute of the difference of the two offsets to
5838 compare or adjust the segment length.
5839
5840 2016-02-08 Richard Biener <rguenther@suse.de>
5841 Jeff Law <law@redhat.com>
5842
5843 PR target/68273
5844 * tree-ssanames.c (make_ssa_name_fn): Always use unqualified
5845 types for anonymous SSA names.
5846
5847 2016-02-08 Richard Biener <rguenther@suse.de>
5848
5849 PR rtl-optimization/69274
5850 * ira.c (ira_setup_alts): Do not change recog_data.operand order.
5851
5852 2016-02-08 Jeff Law <law@redhat.com>
5853
5854 PR tree-optimization/65917
5855 * tree-ssa-dom.c (record_temporary_equivalences): Record both
5856 equivalences from if (x == y) style conditionals.
5857 (loop_depth_of_name): Remove.
5858 (record_equality): Remove loop depth check.
5859 * tree-ssa-scopedtables.h (const_and_copies): Refine comments.
5860 (const_and_copies::record_const_or_copy_raw): New member function.
5861 * tree-ssa-scopedtables.c
5862 (const_and_copies::record_const_or_copy_raw): New, factored out of
5863 (const_and_copies::record_const_or_copy): Call new member function.
5864
5865 2016-02-05 Jeff Law <law@redhat.com>
5866
5867 PR tree-optimization/68541
5868 * gimple-ssa-split-paths.c: Include tree-cfg.h and params.h.
5869 (count_stmts_in_block): New function.
5870 (poor_ifcvt_candidate_code): Likewise.
5871 (is_feasible_trace): Add some heuristics to determine when path
5872 splitting is profitable.
5873 (find_block_to_duplicate_for_splitting_paths): Make sure the graph
5874 is a diamond with a single exit.
5875
5876 2016-02-05 Martin Sebor <msebor@redhat.com>
5877
5878 PR c++/69662
5879 * doc/invoke.texi: Update -Wplacement-new to take an optional
5880 argument.
5881
5882 2016-02-06 Richard Henderson <rth@redhat.com>
5883
5884 PR c/69643
5885 * tree.c (tree_nop_conversion_p): Do not strip casts into or
5886 out of non-standard address spaces.
5887
5888 2016-02-05 Jakub Jelinek <jakub@redhat.com>
5889
5890 PR rtl-optimization/69691
5891 * lra-eliminations.c (move_plus_up): Don't add the addend twice.
5892
5893 2016-02-05 Pat Haugen <pthaugen@us.ibm.com>
5894
5895 * config/rs6000/crypto.md (crypto_vpermxor_<mode>): Correct insn type.
5896 * config/rs6000/rs6000.md (mov<mode>_hardfloat): Likewise.
5897 (*ieee128_mfvsrd_64bit): Likewise.
5898 (*ieee128_mfvsrd_32bit): Likewise.
5899
5900 2016-02-05 Ilya Enkovich <enkovich.gnu@gmail.com>
5901
5902 PR target/69369
5903 Revert r232560:
5904 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
5905
5906 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
5907 instrumented_version.
5908
5909 2016-01-05 Jeremy Bennett <jeremy.bennett@embecosm.com>
5910
5911 * doc/invoke.texi (Optimize Options): In table of --param options
5912 rename second occurrence of tracer-min-branch-ratio to
5913 tracer-min-branch-probability, rename
5914 tracer-min-branch-ratio-feedback to
5915 tracer-min-branch-probability-feedback and clarify description,
5916 rename sched-spec-state-edge-prob-cutoff to
5917 sched-state-edge-prob-cutoff, rename selsched-max-insns-to-rename
5918 to selsched-insns-to-rename, rename lto-minpartition to
5919 lto-min-partition, delete reorder-blocks-duplicate and
5920 reorder-blocks-duplicate-feedback.
5921
5922 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
5923
5924 * config/s390/s390.c (s390_register_info_set_ranges): Remove
5925 superfluous loops.
5926
5927 2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
5928
5929 * doc/extend.texi: S/390: Correct some typos.
5930
5931 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
5932
5933 * config/s390/s390.c (s390_emit_call): Add missing 64 bit check.
5934
5935 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
5936
5937 PR target/69625
5938 * config/s390/s390.c (SAVE_SLOT_NONE, SAVE_SLOT_STACK): New defines.
5939 (s390_register_info_gprtofpr): Use new macros above.
5940 (s390_register_info_stdarg_fpr): Adjust max_fpr to better match
5941 its name.
5942 (s390_register_info_stdarg_gpr): Adjust max_gpr to better match
5943 its name. Adjust restore and save gpr ranges.
5944 (s390_register_info_set_ranges): New function.
5945 (s390_register_info): Use new macros above. Call
5946 s390_register_info_set_ranges.
5947 (s390_optimize_register_info): Likewise.
5948 (s390_hard_regno_rename_ok): Use new macros.
5949 (s390_hard_regno_scratch_ok): Likewise.
5950 (s390_emit_epilogue): Likewise.
5951 (s390_can_use_return_insn): Likewise.
5952 (s390_optimize_prologue): Likewise.
5953 * config/s390/s390.md (GPR2_REGNUM, GPR6_REGNUM): New constants.
5954
5955 2016-02-05 Jakub Jelinek <jakub@redhat.com>
5956
5957 PR bootstrap/69677
5958 * config/i386/i386.c (convert_scalars_to_vector): Readd stack
5959 alignment fixes.
5960 (ix86_option_override_internal): Disable TARGET_STV even for
5961 -m{incoming,preferred}-stack-boundary=3.
5962
5963 2016-02-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
5964
5965 * config.gcc: Mark deprecated rtems targets as obsolete.
5966
5967 2016-02-04 Segher Boessenkool <segher@kernel.crashing.org>
5968
5969 PR rtl-optimization/64682
5970 PR rtl-optimization/69567
5971 * combine.c (distribute_notes) <REG_DEAD>: Place the death note
5972 before I2 only if the register is both used and set in I2.
5973
5974 2016-02-04 DJ Delorie <dj@redhat.com>
5975
5976 * config/msp430/msp430.c (msp430_start_function): Add function type.
5977
5978 2016-02-04 Jakub Jelinek <jakub@redhat.com>
5979
5980 PR fortran/69368
5981 * tree-dfa.c (get_ref_base_and_extent): Remove unreachable code.
5982
5983 2016-02-04 Uros Bizjak <ubizjak@gmail.com>
5984
5985 PR rtl-optimization/69577
5986 Revert:
5987 2015-10-29 Richard Henderson <rth@redhat.com>
5988
5989 PR target/68124
5990 PR rtl-opt/67609
5991 * config/i386/i386.c (ix86_cannot_change_mode_class): Tighten
5992 sse check to the exact conditions of PR 67609.
5993
5994 2016-02-04 Michael Meissner <meissner@linux.vnet.ibm.com>
5995
5996 PR target/69667
5997 * config/rs6000/rs6000.md (mov<mode>_64bit_dm): Use 'd' constraint
5998 instead of 'ws', and 'wh' instead of 'wm' since TFmode/IFmode are
5999 not allowed into the traditional Altivec registers.
6000 (movtd_64bit_nodm): Likewise.
6001 (mov<mode>_32bit, FMOVE128_FPR iterator): Likewise.
6002
6003 2016-02-04 David Malcolm <dmalcolm@redhat.com>
6004
6005 * config/aarch64/cortex-a57-fma-steering.c
6006 (aarch64_register_fma_steering): Remove "static" from arguments
6007 to register_pass.
6008
6009 2016-02-04 Wilco Dijkstra <wdijkstr@arm.com>
6010
6011 PR target/69619
6012 * ccmp.c (expand_ccmp_expr_1): Avoid evaluating gs0/gs1
6013 twice when complex.
6014
6015 2016-02-04 Mike Frysinger <vapier@gentoo.org>
6016
6017 * doc/invoke.texi: Delete -mno-fma4.
6018
6019 2016-02-04 Richard Sandiford <richard.sandiford@arm.com>
6020
6021 PR rtl-optimization/69577
6022 * reginfo.c (record_subregs_of_mode): Add a partial_def parameter.
6023 (find_subregs_of_mode): Update accordingly. Iterate over partial
6024 definitions.
6025
6026 2016-02-04 Alan Lawrence <alan.lawrence@arm.com>
6027
6028 * config/arm/arm-protos.h (neon_reinterpret): Remove.
6029 * config/arm/arm.c (neon_reinterpret): Remove.
6030 * config/arm/arm_neon_builtins.def (vreinterpretv8qi, vreinterpretv4hi,
6031 vreinterpretv2si, vreinterpretv2sf, vreinterpretdi, vreinterpretv16qi,
6032 vreinterpretv8hi, vreinterpretv4si, vreinterpretv4sf, vreinterpretv2di,
6033 vreinterpretti): Remove.
6034 * config/arm/neon.md (neon_vreinterpretv8qi<mode>,
6035 neon_vreinterpretv4hi<mode>, neon_vreinterpretv2si<mode>,
6036 neon_vreinterpretv2sf<mode>, neon_vreinterpretdi<mode>,
6037 neon_vreinterpretti<mode>, neon_vreinterpretv16qi<mode>,
6038 neon_vreinterpretv8hi<mode>, neon_vreinterpretv4si<mode>,
6039 neon_vreinterpretv4sf<mode>, neon_vreinterpretv2di<mode>): Remove.
6040 * config/arm/arm_neon.h (vreinterpret_p8_p16, vreinterpret_p8_f32,
6041 vreinterpret_p8_p64, vreinterpret_p8_s64, vreinterpret_p8_u64,
6042 vreinterpret_p8_s8, vreinterpret_p8_s16, vreinterpret_p8_s32,
6043 vreinterpret_p8_u8, vreinterpret_p8_u16, vreinterpret_p8_u32,
6044 vreinterpret_p16_p8, vreinterpret_p16_f32, vreinterpret_p16_p64,
6045 vreinterpret_p16_s64, vreinterpret_p16_u64, vreinterpret_p16_s8,
6046 vreinterpret_p16_s16, vreinterpret_p16_s32, vreinterpret_p16_u8,
6047 vreinterpret_p16_u16, vreinterpret_p16_u32, vreinterpret_f32_p8,
6048 vreinterpret_f32_p16, vreinterpret_f32_p64, vreinterpret_f32_s64,
6049 vreinterpret_f32_u64, vreinterpret_f32_s8, vreinterpret_f32_s16,
6050 vreinterpret_f32_s32, vreinterpret_f32_u8, vreinterpret_f32_u16,
6051 vreinterpret_f32_u32, vreinterpret_p64_p8, vreinterpret_p64_p16,
6052 vreinterpret_p64_f32, vreinterpret_p64_s64, vreinterpret_p64_u64,
6053 vreinterpret_p64_s8, vreinterpret_p64_s16, vreinterpret_p64_s32,
6054 vreinterpret_p64_u8, vreinterpret_p64_u16, vreinterpret_p64_u32,
6055 vreinterpret_s64_p8, vreinterpret_s64_p16, vreinterpret_s64_f32,
6056 vreinterpret_s64_p64, vreinterpret_s64_u64, vreinterpret_s64_s8,
6057 vreinterpret_s64_s16, vreinterpret_s64_s32, vreinterpret_s64_u8,
6058 vreinterpret_s64_u16, vreinterpret_s64_u32, vreinterpret_u64_p8,
6059 vreinterpret_u64_p16, vreinterpret_u64_f32, vreinterpret_u64_p64,
6060 vreinterpret_u64_s64, vreinterpret_u64_s8, vreinterpret_u64_s16,
6061 vreinterpret_u64_s32, vreinterpret_u64_u8, vreinterpret_u64_u16,
6062 vreinterpret_u64_u32, vreinterpret_s8_p8, vreinterpret_s8_p16,
6063 vreinterpret_s8_f32, vreinterpret_s8_p64, vreinterpret_s8_s64,
6064 vreinterpret_s8_u64, vreinterpret_s8_s16, vreinterpret_s8_s32,
6065 vreinterpret_s8_u8, vreinterpret_s8_u16, vreinterpret_s8_u32,
6066 vreinterpret_s16_p8, vreinterpret_s16_p16, vreinterpret_s16_f32,
6067 vreinterpret_s16_p64, vreinterpret_s16_s64, vreinterpret_s16_u64,
6068 vreinterpret_s16_s8, vreinterpret_s16_s32, vreinterpret_s16_u8,
6069 vreinterpret_s16_u16, vreinterpret_s16_u32, vreinterpret_s32_p8,
6070 vreinterpret_s32_p16, vreinterpret_s32_f32, vreinterpret_s32_p64,
6071 vreinterpret_s32_s64, vreinterpret_s32_u64, vreinterpret_s32_s8,
6072 vreinterpret_s32_s16, vreinterpret_s32_u8, vreinterpret_s32_u16,
6073 vreinterpret_s32_u32, vreinterpret_u8_p8, vreinterpret_u8_p16,
6074 vreinterpret_u8_f32, vreinterpret_u8_p64, vreinterpret_u8_s64,
6075 vreinterpret_u8_u64, vreinterpret_u8_s8, vreinterpret_u8_s16,
6076 vreinterpret_u8_s32, vreinterpret_u8_u16, vreinterpret_u8_u32,
6077 vreinterpret_u16_p8, vreinterpret_u16_p16, vreinterpret_u16_f32,
6078 vreinterpret_u16_p64, vreinterpret_u16_s64, vreinterpret_u16_u64,
6079 vreinterpret_u16_s8, vreinterpret_u16_s16, vreinterpret_u16_s32,
6080 vreinterpret_u16_u8, vreinterpret_u16_u32, vreinterpret_u32_p8,
6081 vreinterpret_u32_p16, vreinterpret_u32_f32, vreinterpret_u32_p64,
6082 vreinterpret_u32_s64, vreinterpret_u32_u64, vreinterpret_u32_s8,
6083 vreinterpret_u32_s16, vreinterpret_u32_s32, vreinterpret_u32_u8,
6084 vreinterpret_u32_u16, vreinterpretq_p8_p16, vreinterpretq_p8_f32,
6085 vreinterpretq_p8_p64, vreinterpretq_p8_p128, vreinterpretq_p8_s64,
6086 vreinterpretq_p8_u64, vreinterpretq_p8_s8, vreinterpretq_p8_s16,
6087 vreinterpretq_p8_s32, vreinterpretq_p8_u8, vreinterpretq_p8_u16,
6088 vreinterpretq_p8_u32, vreinterpretq_p16_p8, vreinterpretq_p16_f32,
6089 vreinterpretq_p16_p64, vreinterpretq_p16_p128, vreinterpretq_p16_s64,
6090 vreinterpretq_p16_u64, vreinterpretq_p16_s8, vreinterpretq_p16_s16,
6091 vreinterpretq_p16_s32, vreinterpretq_p16_u8, vreinterpretq_p16_u16,
6092 vreinterpretq_p16_u32, vreinterpretq_f32_p8, vreinterpretq_f32_p16,
6093 vreinterpretq_f32_p64, vreinterpretq_f32_p128, vreinterpretq_f32_s64,
6094 vreinterpretq_f32_u64, vreinterpretq_f32_s8, vreinterpretq_f32_s16,
6095 vreinterpretq_f32_s32, vreinterpretq_f32_u8, vreinterpretq_f32_u16,
6096 vreinterpretq_f32_u32, vreinterpretq_p64_p8, vreinterpretq_p64_p16,
6097 vreinterpretq_p64_f32, vreinterpretq_p64_p128, vreinterpretq_p64_s64,
6098 vreinterpretq_p64_u64, vreinterpretq_p64_s8, vreinterpretq_p64_s16,
6099 vreinterpretq_p64_s32, vreinterpretq_p64_u8, vreinterpretq_p64_u16,
6100 vreinterpretq_p64_u32, vreinterpretq_p128_p8, vreinterpretq_p128_p16,
6101 vreinterpretq_p128_f32, vreinterpretq_p128_p64, vreinterpretq_p128_s64,
6102 vreinterpretq_p128_u64, vreinterpretq_p128_s8, vreinterpretq_p128_s16,
6103 vreinterpretq_p128_s32, vreinterpretq_p128_u8, vreinterpretq_p128_u16,
6104 vreinterpretq_p128_u32, vreinterpretq_s64_p8, vreinterpretq_s64_p16,
6105 vreinterpretq_s64_f32, vreinterpretq_s64_p64, vreinterpretq_s64_p128,
6106 vreinterpretq_s64_u64, vreinterpretq_s64_s8, vreinterpretq_s64_s16,
6107 vreinterpretq_s64_s32, vreinterpretq_s64_u8, vreinterpretq_s64_u16,
6108 vreinterpretq_s64_u32, vreinterpretq_u64_p8, vreinterpretq_u64_p16,
6109 vreinterpretq_u64_f32, vreinterpretq_u64_p64, vreinterpretq_u64_p128,
6110 vreinterpretq_u64_s64, vreinterpretq_u64_s8, vreinterpretq_u64_s16,
6111 vreinterpretq_u64_s32, vreinterpretq_u64_u8, vreinterpretq_u64_u16,
6112 vreinterpretq_u64_u32, vreinterpretq_s8_p8, vreinterpretq_s8_p16,
6113 vreinterpretq_s8_f32, vreinterpretq_s8_p64, vreinterpretq_s8_p128,
6114 vreinterpretq_s8_s64, vreinterpretq_s8_u64, vreinterpretq_s8_s16,
6115 vreinterpretq_s8_s32, vreinterpretq_s8_u8, vreinterpretq_s8_u16,
6116 vreinterpretq_s8_u32, vreinterpretq_s16_p8, vreinterpretq_s16_p16,
6117 vreinterpretq_s16_f32, vreinterpretq_s16_p64, vreinterpretq_s16_p128,
6118 vreinterpretq_s16_s64, vreinterpretq_s16_u64, vreinterpretq_s16_s8,
6119 vreinterpretq_s16_s32, vreinterpretq_s16_u8, vreinterpretq_s16_u16,
6120 vreinterpretq_s16_u32, vreinterpretq_s32_p8, vreinterpretq_s32_p16,
6121 vreinterpretq_s32_f16, vreinterpretq_s32_f32, vreinterpretq_s32_p64,
6122 vreinterpretq_s32_p128, vreinterpretq_s32_s64, vreinterpretq_s32_u64,
6123 vreinterpretq_s32_s8, vreinterpretq_s32_s16, vreinterpretq_s32_u8,
6124 vreinterpretq_s32_u16, vreinterpretq_s32_u32, vreinterpretq_u8_p8,
6125 vreinterpretq_u8_p16, vreinterpretq_u8_f32, vreinterpretq_u8_p64,
6126 vreinterpretq_u8_p128, vreinterpretq_u8_s64, vreinterpretq_u8_u64,
6127 vreinterpretq_u8_s8, vreinterpretq_u8_s16, vreinterpretq_u8_s32,
6128 vreinterpretq_u8_u16, vreinterpretq_u8_u32, vreinterpretq_u16_p8,
6129 vreinterpretq_u16_p16, vreinterpretq_u16_f32, vreinterpretq_u16_p64,
6130 vreinterpretq_u16_p128, vreinterpretq_u16_s64, vreinterpretq_u16_u64,
6131 vreinterpretq_u16_s8, vreinterpretq_u16_s16, vreinterpretq_u16_s32,
6132 vreinterpretq_u16_u8, vreinterpretq_u16_u32, vreinterpretq_u32_p8,
6133 vreinterpretq_u32_p16, vreinterpretq_u32_f32, vreinterpretq_u32_p64,
6134 vreinterpretq_u32_p128, vreinterpretq_u32_s64, vreinterpretq_u32_u64,
6135 vreinterpretq_u32_s8, vreinterpretq_u32_s16, vreinterpretq_u32_s32,
6136 vreinterpretq_u32_u8, vreinterpretq_u32_u16): Rewrite using casts.
6137
6138 2016-02-04 Martin Liska <mliska@suse.cz>
6139
6140 PR sanitizer/69276
6141 * asan.c (has_stmt_been_instrumented_p): Instrument gimple calls
6142 that are gimple_store_p.
6143 (maybe_instrument_call): Likewise.
6144
6145 2016-02-04 Bin Cheng <bin.cheng@arm.com>
6146
6147 * config/aarch64/aarch64.c (aarch64_legitimize_address): Force
6148 register scaling out of memory reference and comment why.
6149
6150 2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
6151
6152 PR target/65932
6153 PR target/67714
6154 * cse.c (cse_insn): Pass NULL to fold_rtx when initially
6155 folding the source of a SET.
6156
6157 2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
6158
6159 PR target/65932
6160 PR target/67714
6161 * config/arm/arm.c (arm_new_rtx_costs, MULT case): Properly extract
6162 the operands of the SIGN_EXTENDs from a SMUL[TB][TB] rtx.
6163
6164 2016-02-04 Jim Wilson <jim.wilson@linaro.org>
6165
6166 PR target/65932
6167 PR target/67714
6168 * config/arm/arm.h (PROMOTE_MODE): Don't set UNSIGNEDP for QImode and
6169 HImode.
6170
6171 2016-02-04 Christian Bruel <christian.bruel@st.com>
6172
6173 * config/arm/arm-c.c (arm_reset_previous_fndecl): Style fix and typo.
6174 * config/arm/arm.c (arm_set_current_function): Likewise.
6175
6176 2016-02-04 Jakub Jelinek <jakub@redhat.com>
6177 Ilya Enkovich <enkovich.gnu@gmail.com>
6178 H.J. Lu <hongjiu.lu@intel.com>
6179
6180 PR target/69454
6181 * config/i386/i386.c (convert_scalars_to_vector): Remove
6182 stack alignment fixes.
6183 (ix86_option_override_internal): Disable TARGET_STV if stack
6184 might not be aligned enough.
6185 (ix86_minimum_alignment): Assert that TARGET_STV is false.
6186
6187 2016-02-04 Victoria Stepanyan <victoria.stepanyan@amd.com>
6188
6189 * gcc/config/i386/x86-tune.def: Disable default prefetching
6190 for -march=znver1.
6191
6192 2016-02-03 Michael Meissner <meissner@linux.vnet.ibm.com>
6193 Vladimir Makarov <vmakarov@redhat.com>
6194
6195 PR target/69461
6196 * config/rs6000/rs6000.c (rs6000_legitimate_address_p): Fix thinko
6197 in validating fused toc addresses.
6198
6199 2016-02-03 Jakub Jelinek <jakub@redhat.com>
6200
6201 PR c/69627
6202 * diagnostic-show-locus.c (layout::get_state_at_point): Don't read
6203 range->m_caret fields if range->m_show_caret_p is false.
6204
6205 PR target/69644
6206 * config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap):
6207 Force oldval into register if it does not satisfy reg_or_short_operand
6208 predicate. Fix up formatting.
6209
6210 2016-02-03 Vladimir Makarov <vmakarov@redhat.com>
6211 Alexandre Oliva <aoliva@redhat.com>
6212
6213 PR target/69461
6214 * lra-constraints.c (simplify_operand_subreg): Check additionally
6215 address validity after potential reloading.
6216 (process_address_1): Check insns validity. In case of failure do
6217 nothing.
6218
6219 2016-02-03 Kirill Yukhin <kirill.yukhin@intel.com>
6220
6221 PR target/69118
6222 * config/i386/sse.md (define_insn "avx512f_maskcmp<mode>3"):
6223 Fix target.
6224
6225 2016-02-02 Jakub Jelinek <jakub@redhat.com>
6226
6227 * wide-int.cc (canonize_uhwi): New function.
6228 (wi::divmod_internal): Use it.
6229
6230 2016-02-02 James Norris <jnorris@codesourcery.com
6231
6232 * gimplify.c (omp_notice_variable): Add usage check.
6233
6234 2016-02-02 Alexander Monakov <amonakov@ispras.ru>
6235
6236 * config/nvptx/nvptx.c (nvptx_print_operand): Treat LEU, GEU, LTU, GTU
6237 like LE, GE, LT, GT when emitting relational operator.
6238
6239 2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
6240
6241 * ira-costs.c (find_costs_and_classes): Add extra argument.
6242 * target.def (ira_change_pseudo_allocno_class): Add parameter.
6243 * targhooks.h (ira_change_pseudo_allocno_class): Likewise.
6244 * targhooks.c (ira_change_pseudo_allocno_class): Likewise.
6245 * config/aarch64/aarch64.c (aarch64_ira_change_pseudo_allocno_class)
6246 Add best_class parameter, and return it if not ALL_REGS.
6247 * config/mips/mips.c (mips_ira_change_pseudo_allocno_class):
6248 Add parameter.
6249 * doc/tm.texi (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS):
6250 Update target hook.
6251
6252 2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
6253
6254 * config/aarch64/aarch64.c
6255 (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS): New define.
6256 (aarch64_ira_change_pseudo_allocno_class): New function.
6257
6258 2016-02-02 Uros Bizjak <ubizjak@gmail.com>
6259
6260 PR target/67032
6261 * config/i386/i386.c (geode_cost): Increase cost of MMX and SSE moves.
6262
6263 2016-02-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
6264
6265 * config/avr/avr.c (avr_option_override): Set
6266 PARAM_ALLOW_STORE_DATA_RACES to 1.
6267
6268 2016-02-02 Richard Biener <rguenther@suse.de>
6269
6270 PR tree-optimization/69595
6271 * match.pd: Add range test simplifications to true/false.
6272
6273 2016-02-02 Thomas Schwinge <thomas@codesourcery.com>
6274
6275 * omp-builtins.def (BUILT_IN_GOACC_HOST_DATA): Remove.
6276 * omp-low.c (expand_omp_target): Use BUILT_IN_GOACC_DATA_START
6277 instead.
6278
6279 2016-02-02 Richard Biener <rguenther@suse.de>
6280
6281 PR tree-optimization/69606
6282 * tree-ssa-math-opts.c (bswap_replace): Clear flow sensitive
6283 info on the result before moving a stmt.
6284
6285 2016-02-02 Yuri Rumyantsev <ysrumyan@gmail.com>
6286
6287 PR middle-end/68542
6288 * config/i386/i386.c (ix86_expand_branch): Add support for conditional
6289 branch with vector comparison.
6290 * config/i386/sse.md (VI48_AVX): New mode iterator.
6291 (define_expand "cbranch<mode>4): Add support for conditional branch
6292 with vector comparison.
6293 * tree-vect-loop.c (optimize_mask_stores): New function.
6294 * tree-vect-stmts.c (vectorizable_mask_load_store): Initialize
6295 has_mask_store field of vect_info.
6296 * tree-vectorizer.c (vectorize_loops): Invoke optimaze_mask_stores for
6297 vectorized loops having masked stores after vec_info destroy.
6298 * tree-vectorizer.h (loop_vec_info): Add new has_mask_store field and
6299 correspondent macros.
6300 (optimize_mask_stores): Add prototype.
6301
6302 2016-02-02 Alan Modra <amodra@gmail.com>
6303
6304 PR target/69548
6305 * config/rs6000/predicates.md (quad_int_reg_operand): Don't
6306 allow subregs.
6307
6308 2016-02-02 Alan Modra <amodra@gmail.com>
6309
6310 PR target/68662
6311 * config/rs6000/rs6000.c (need_toc_init): New var, set it
6312 whenever toc_label_name used.
6313 (rs6000_file_start): Don't set up toc section here,
6314 (rs6000_output_function_epilogue): do so here instead,
6315 (rs6000_xcoff_file_start): and here.
6316 * config/rs6000/rs6000.md (load_toc_aix_si): Set need_toc_init.
6317 (load_toc_aix_di): Likewise.
6318
6319 2016-02-01 Jakub Jelinek <jakub@redhat.com>
6320
6321 PR rtl-optimization/69592
6322 * rtlanal.c (nonzero_bits_binary_arith_p): New inline function.
6323 (cached_nonzero_bits): Use it instead of ARITHMETIC_P.
6324 (num_sign_bit_copies_binary_arith_p): New inline function.
6325 (cached_num_sign_bit_copies): Use it instead of ARITHMETIC_P.
6326
6327 2016-02-01 Jeff Law <law@redhat.com>
6328
6329 PR tree-optimization/69580
6330 * params.def (FSM_MAXIMUM_PHI_ARGUMENTS): New param.
6331 * tree-ssa-threadbackward.c
6332 (fsm_find_control_statement_thread_paths): Do not try to walk
6333 through large PHI nodes.
6334
6335 2016-02-01 Jakub Jelinek <jakub@redhat.com>
6336
6337 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return false
6338 when count is incremented above limit, don't analyze further
6339 insns afterwards.
6340
6341 * omp-low.c (oacc_parse_default_dims): Avoid
6342 -Wsign-compare warning, make sure value fits into int
6343 rather than just unsigned int.
6344
6345 2016-02-01 Bin Cheng <bin.cheng@arm.com>
6346
6347 PR tree-optimization/67921
6348 * fold-const.c (split_tree): New parameters. Convert pointer
6349 type variable part to proper type before negating.
6350 (fold_binary_loc): Pass new arguments to split_tree.
6351
6352 2016-02-01 Nathan Sidwell <nathan@codesourcery.com>
6353
6354 * config/nvptx/nvptx.c (PTX_GANG_DEFAULT): New.
6355 (nvptx_goacc_validate_dims): Extend to handle global defaults.
6356 * target.def (OACC_VALIDATE_DIMS): Extend documentation.
6357 * doc/tm.texti: Rebuilt.
6358 * doc/invoke.texi (fopenacc-dim): Document.
6359 * lto-wrapper.c (merge_and_complain): Add OPT_fopenacc_dim_ case.
6360 (append_compiler_options): Likewise.
6361 * omp-low.c (oacc_default_dims, oacc_min_dims): New.
6362 (oacc_parse_default_dims): New.
6363 (oacc_validate_dims): Add USED arg. Select non-unity default when
6364 possible.
6365 (oacc_loop_fixed_partitions): Return mask of used partitions.
6366 (oacc_loop_auto_partitions): Emit dump info.
6367 (oacc_loop_partition): Return mask of used partitions.
6368 (execute_oacc_device_lower): Parse default dimension arg. Adjust
6369 loop partitioning and validation calls.
6370
6371 2016-02-01 Richard Biener <rguenther@suse.de>
6372
6373 PR middle-end/69556
6374 * match.pd: Guard (C1/X)*C2 -> (C1*C2)/X with single_use.
6375
6376 2016-02-01 Richard Biener <rguenther@suse.de>
6377
6378 PR tree-optimization/69574
6379 * tree-chrec.c (hide_evolution_in_other_loops_than_loop): Instead
6380 of asserting return chrec_dont_know.
6381
6382 2016-02-01 Martin Liska <mliska@suse.cz>
6383
6384 * mem-stats-traits.h: Add copyright header.
6385 * mem-stats.h: Likewise.
6386
6387 2016-02-01 Richard Biener <rguenther@suse.de>
6388
6389 PR tree-optimization/69579
6390 * tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling):
6391 Do not propagate through abnormal PHI results.
6392
6393 2016-02-01 Eric Botcazou <ebotcazou@adacore.com>
6394
6395 * postreload.c (reload_cse_simplify): Remove dead code.
6396
6397 2016-02-01 Jakub Jelinek <jakub@redhat.com>
6398
6399 PR rtl-optimization/69570
6400 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return true only
6401 if there is more than one set, not if there is a single set.
6402
6403 2016-02-01 Richard Henderson <rth@redhat.com>
6404
6405 PR rtl-opt/69535
6406 * combine.c (make_compound_operation): When looking through a
6407 subreg, make sure to re-extend to the width of the outer mode.
6408
6409 2016-01-30 Jakub Jelinek <jakub@redhat.com>
6410
6411 PR tree-optimization/69546
6412 * wide-int.cc (wi::divmod_internal): For unsigned division
6413 where both operands fit into uhwi, if o1 is 1 and o0 has
6414 msb set, if divident_prec is larger than bits per hwi,
6415 clear another quotient word and return 2 instead of 1.
6416 Similarly for remainder with msb in HWI set, if dividend_prec
6417 is larger than bits per hwi.
6418
6419 2016-01-29 Martin Jambor <mjambor@suse.cz>
6420
6421 * hsa-gen.c (get_memory_order_name): Mask with MEMMODEL_BASE_MASK.
6422 Use short lowercase names.
6423 (get_memory_order): Mask with MEMMODEL_BASE_MASK. Support
6424 MEMMODEL_CONSUME with acquire semantics and MEMMODEL_SEQ_CST with
6425 acq_rel one. Protect warning agains segfaults if
6426 get_memory_order_name returns NULL.
6427 (gen_hsa_ternary_atomic_for_builtin): Support with MEMMODEL_SEQ_CST
6428 with release semantics. Do not warn if get_memory_order already did.
6429 (gen_hsa_insns_for_call): Support with MEMMODEL_SEQ_CST with acquire
6430 semantics. Fix check for relaxed or acquire semantics. Do not warn
6431 if get_memory_order already did.
6432
6433 2016-01-29 Sebastian Pop <s.pop@samsung.com>
6434
6435 * doc/install.texi: Document that isl-0.16 is supported.
6436
6437 2016-01-29 Vladimir Makarov <vmakarov@redhat.com>
6438
6439 PR target/69299
6440 * config/i386/constraints.md (Bm): Describe as special memory
6441 constraint.
6442 * doc/md.texi (DEFINE_SPECIAL_MEMORY_CONSTRAINT): Describe it.
6443 * genoutput.c (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT.
6444 * genpreds.c (struct constraint_data): Add is_special_memory.
6445 (have_special_memory_constraints, special_memory_start): New
6446 static vars.
6447 (special_memory_end): Ditto.
6448 (add_constraint): Add new arg is_special_memory. Add code to
6449 process its true value. Update have_special_memory_constraints.
6450 (process_define_constraint): Pass the new arg.
6451 (process_define_register_constraint): Ditto.
6452 (choose_enum_order): Process special memory.
6453 (write_tm_preds_h): Generate enum const CT_SPECIAL_MEMORY and
6454 function insn_extra_special_memory_constraint.
6455 (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT.
6456 * gensupport.c (process_rtx): Process
6457 DEFINE_SPECIAL_MEMORY_CONSTRAINT.
6458 * ira-costs.c (record_reg_classes): Process CT_SPECIAL_MEMORY.
6459 * ira-lives.c (single_reg_class): Use
6460 insn_extra_special_memory_constraint.
6461 * ira.c (ira_setup_alts): Process CT_SPECIAL_MEMORY.
6462 * lra-constraints.c (process_alt_operands): Ditto.
6463 (curr_insn_transform): Use insn_extra_special_memory_constraint.
6464 * recog.c (asm_operand_ok, preprocess_constraints): Process
6465 CT_SPECIAL_MEMORY.
6466 * reload.c (find_reloads): Ditto.
6467 * rtl.def (DEFINE_SPECIFAL_MEMORY_CONSTRAINT): New.
6468 * stmt.c (parse_input_constraint): Use
6469 insn_extra_special_memory_constraint.
6470
6471 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
6472
6473 PR target/69530
6474 * lra-splill.c (lra_final_code_change): Revert r229087 by
6475 removing all sub-registers.
6476
6477 2016-01-29 Steve Ellcey <sellcey@imgtec.com>
6478
6479 PR target/65604
6480 * config/mips/mips.c (mips_output_division): Check flag_delayed_branch.
6481
6482 2016-01-29 Jakub Jelinek <jakub@redhat.com>
6483
6484 PR target/69551
6485 * config/i386/i386.c (ix86_expand_vector_set) <case V4SImode>: For
6486 SSE1, copy target into the temporary reg first before recursing
6487 on it.
6488
6489 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
6490
6491 * config/i386/sse.md (sse2_cvtps2pd<mask_name>): Replace vBm
6492 with vm.
6493
6494 2016-01-29 Jonathan Wakely <jwakely@redhat.com>
6495
6496 * ginclude/stdarg.h: Test __cplusplus instead of
6497 __GXX_EXPERIMENTAL_CXX0X__.
6498
6499 2016-01-29 Richard Biener <rguenther@suse.de>
6500
6501 PR tree-optimization/69547
6502 * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1):
6503 Do not mark clobbers necessary.
6504 (mark_all_reaching_defs_necessary_1): Likewise.
6505
6506 2016-01-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
6507
6508 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Format
6509 declaration name with %qs and print it in both error messages.
6510 Also fix indentation.
6511
6512 2016-01-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
6513
6514 PR other/69006
6515 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Remove
6516 trailing blank line from error message.
6517
6518 2016-01-29 Jonathan Wakely <jwakely@redhat.com>
6519
6520 PR c++/69462
6521 * ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG
6522 for C++-11.
6523
6524 2016-01-29 Richard Biener <rguenther@suse.de>
6525
6526 PR middle-end/69537
6527 * match.pd: Allow all integral types when simplifying a
6528 widening or sign-changing conversion.
6529
6530 2016-01-28 Sebastian Pop <s.pop@samsung.com>
6531
6532 * graphite-isl-ast-to-gimple.c (get_rename_from_scev): Revert assert
6533 back to setting codegen_error to fail codegen.
6534
6535 2016-01-28 Uros Bizjak <ubizjak@gmail.com>
6536
6537 PR target/69459
6538 * config/i386/constraints.md (C): Only accept constant zero operand.
6539 (BC): New constraint.
6540 * config/i386/sse.md (*mov<mode>_internal): Use BC constraint
6541 instead of C constraint.
6542 * doc/md.texi (Machine Constraints): Update description
6543 of C constraint.
6544
6545 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
6546
6547 PR target/68400
6548 * config/mips/mips.c (and_operands_ok): Add MIPS16 check.
6549
6550 2016-01-28 Jakub Jelinek <jakub@redhat.com>
6551
6552 PR middle-end/69542
6553 * lra-remat.c (calculate_local_reg_remat_bb_data): Only consider
6554 non-debug insns.
6555
6556 2016-01-28 Pat Haugen <pthaugen@us.ibm.com>
6557
6558 * config/rs6000/rs6000.c (output_cbranch): Don't statically predict
6559 branches if using guessed profile.
6560
6561 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
6562
6563 * graphite-optimize-isl.c (optimize_isl): Fix dump.
6564
6565 2016-01-28 Richard Henderson <rth@redhat.com>
6566
6567 PR target/69305
6568 * config/aarch64/aarch64-modes.def (CC_Cmode): New
6569 * config/aarch64/aarch64-protos.h: Update.
6570 * config/aarch64/aarch64.c (aarch64_zero_extend_const_eq): New.
6571 (aarch64_select_cc_mode): Add check for use of CC_Cmode.
6572 (aarch64_get_condition_code_1): Handle CC_Cmode.
6573 * config/aarch64/aarch64.md (addti3): Use adddi3_compareC.
6574 (*add<mode>3_compareC_cconly_imm): New.
6575 (*add<mode>3_compareC_cconly): New.
6576 (*add<mode>3_compareC_imm): New.
6577 (add<mode>3_compareC): New.
6578 (add<mode>3_carryin, *addsi3_carryin_uxtw): Sort compare operand
6579 to be first. Use aarch64_carry_operation.
6580 (*add<mode>3_carryin_alt1, *addsi3_carryin_alt1_uxtw): Remove.
6581 (*add<mode>3_carryin_alt2, *addsi3_carryin_alt2_uxtw): Remove.
6582 (*add<mode>3_carryin_alt3, *addsi3_carryin_alt3_uxtw): Remove.
6583 (subti3): Use subdi3_compare1.
6584 (*sub<mode>3_compare0): Rename from sub<mode>3_compare0.
6585 (sub<mode>3_compare1): New.
6586 (*sub<mode>3_carryin0, *subsi3_carryin_uxtw): New.
6587 (*sub<mode>3_carryin): Use aarch64_borrow_operation.
6588 (*subsi3_carryin_uxtw): Likewise.
6589 (*ngc<mode>, *ngcsi_uxtw): Likewise.
6590 (*sub<mode>3_carryin_alt, *subsi3_carryin_alt_uxtw): New.
6591 * config/aarch64/iterators.md (DWI): New.
6592 * config/aarch64/predicates.md (aarch64_carry_operation): New.
6593 (aarch64_borrow_operation): New.
6594
6595 2016-01-28 Abderrazek Zaafrani <a.zaafrani@samsung.com>
6596
6597 * graphite-optimize-isl.c (optimize_isl): Print a different debug
6598 message when isl does not return a valid schedule.
6599
6600 2016-01-28 Sebastian Pop <s.pop@samsung.com>
6601
6602 * graphite-isl-ast-to-gimple.c (class translate_isl_ast_to_gimple):
6603 Remove comments from class declarations: they are already in the code
6604 close by the defs.
6605
6606 2016-01-28 Sebastian Pop <s.pop@samsung.com>
6607
6608 * graphite-isl-ast-to-gimple.c (binary_op_to_tree): Call
6609 codegen_error_p.
6610 (ternary_op_to_tree): Same.
6611 (unary_op_to_tree): Same.
6612 (nary_op_to_tree): Same.
6613 (gcc_expression_from_isl_expr_op): Same.
6614 (gcc_expression_from_isl_expression): Same.
6615 (graphite_create_new_loop): Same.
6616 (graphite_create_new_loop_guard): Same.
6617 (build_iv_mapping): Same.
6618 (graphite_create_new_guard): Same.
6619 (translate_isl_ast_to_gimple::copy_loop_phi_nodes): Same.
6620 (translate_isl_ast_to_gimple::translate_pending_phi_nodes): Same.
6621
6622 2016-01-28 Sebastian Pop <s.pop@samsung.com>
6623
6624 * graphite-isl-ast-to-gimple.c (get_rename_from_scev): Assert
6625 instead of setting codegen_error to fail codegen.
6626
6627 2016-01-28 Jason Merrill <jason@redhat.com>
6628
6629 * tree.h (BINFO_FLAG_0): Rename from BINFO_MARKED.
6630
6631 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
6632
6633 * config/aarch64/aarch64.c (aarch64_if_then_else_costs):
6634 Remove CONST_INT_P check in CCMP cost calculation.
6635
6636 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
6637
6638 * config/aarch64/aarch64.c (generic_vector_cost):
6639 Set vec_permute_cost.
6640 (cortexa57_vector_cost): Likewise.
6641 (exynosm1_vector_cost): Likewise.
6642 (xgene1_vector_cost): Likewise.
6643 (aarch64_builtin_vectorization_cost): Use vec_permute_cost.
6644 * config/aarch64/aarch64-protos.h (cpu_vector_cost):
6645 Add vec_permute_cost entry.
6646
6647 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
6648
6649 * config/aarch64/aarch64.md (ccmp<mode>): Disassemble
6650 immediate as %1.
6651 (add<mode>3_compare0): Likewise.
6652 (addsi3_compare0_uxtw): Likewise.
6653 (add<mode>3nr_compare0): Likewise.
6654 (compare_neg<mode>): Likewise.
6655 (<optab><mode>3): Likewise.
6656
6657 2016-01-28 Ilya Enkovich <enkovich.gnu@gmail.com>
6658
6659 * tree-vect-stmts.c (vectorizable_comparison): Add
6660 NULL check for vectype.
6661
6662 2016-01-28 Richard Biener <rguenther@suse.de>
6663
6664 PR tree-optimization/69466
6665 * tree-vect-loop-manip.c (slpeel_duplicate_current_defs_from_edges):
6666 Account for PHIs we couldn't duplicate.
6667
6668 2016-01-28 Martin Liska <mliska@suse.cz>
6669
6670 PR pch/68758
6671 * ggc-common.c (gt_pch_save): Use ENABLE_VALGRIND_ANNOTATIONS macro
6672 instead of ENABLE_VALGRIND_CHECKING.
6673
6674 2016-01-27 Richard Henderson <rth@redhat.com>
6675
6676 PR rtl-opt/69447
6677 * lra-remat.c (subreg_regs): New.
6678 (dump_candidates_and_remat_bb_data): Dump it.
6679 (operand_to_remat): Reject if operand in subreg_regs.
6680 (set_bb_regs): Collect subreg_regs.
6681 (lra_remat): Init and free subreg_regs. Compute
6682 calculate_local_reg_remat_bb_data before create_cands.
6683
6684 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
6685
6686 PR target/68986
6687 * config/i386/i386.c (ix86_update_stack_boundary): Don't
6688 change stack_alignment_needed for __tls_get_addr call.
6689
6690 2016-01-27 Segher Boessenkool <segher@kernel.crashing.org>
6691
6692 * config/rs6000/rs6000.c (print_operand): Rollback 's' removal.
6693
6694 2016-01-27 Jeff Law <law@redhat.com>
6695
6696 PR tree-optimization/68398
6697 PR tree-optimization/69196
6698 * params.def (PARAM_FSM_SCALE_PATH_STMTS): New parameter.
6699 (PARAM_FSM_SCALE_PATH_BLOCKS): Likewise.
6700 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
6701 Only count PHIs in the last block in the path. The others will
6702 const/copy propagate away. Add heuristic to allow more irreducible
6703 subloops to be created when it is likely profitable to do so.
6704
6705 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
6706 Fix typo in comment. Use gsi_after_labels and remove the GIMPLE_LABEL
6707 check from within the loop. Use gsi_next_nondebug rather than gsi_next.
6708
6709 2016-01-27 Jakub Jelinek <jakub@redhat.com>
6710
6711 PR lto/69254
6712 * sanitizer.def: Add BEGIN_SANITIZER_BUILTINS and
6713 END_SANITIZER_BUILTINS markers using DEF_BUILTIN_STUB.
6714 * asan.c (DEF_BUILTIN_STUB): Temporarily define.
6715 * tree-streamer-in.c: Include asan.h.
6716 (streamer_get_builtin_tree): For builtins in sanitizer
6717 range call initialize_sanitizer_builtins and retry.
6718
6719 2016-01-27 Ian Lance Taylor <iant@google.com>
6720
6721 * common.opt (fkeep-gc-roots-live): New undocumented option.
6722 * tree-ssa-loop-ivopts.c (add_candidate_1): If
6723 -fkeep-gc-roots-live, skip pointers.
6724 (add_iv_candidate_for_biv): Handle add_candidate_1 returning
6725 NULL.
6726
6727 2016-01-27 Uros Bizjak <ubizjak@gmail.com>
6728
6729 PR target/69512
6730 * config/i386/i386.md (*zext<mode>_doubleword_and): New pattern.
6731 (*zext<mode>_doubleword): Disable for TARGET_ZERO_EXTEND_WITH_AND.
6732
6733 2016-01-27 Thomas Klausner <wiz@NetBSD.org>
6734
6735 PR target/68380
6736 * configure.ac: NetBSD provides SSP in its C library.
6737 * configure: Updated.
6738
6739 2016-01-27 Richard Biener <rguenther@suse.de>
6740
6741 PR tree-optimization/69166
6742 * tree-vect-loop.c (vect_is_simple_reduction): Always check
6743 reduction code for commutativity / associativity.
6744
6745 2016-01-27 Martin Jambor <mjambor@suse.cz>
6746
6747 PR tree-optimization/69355
6748 * tree-sra.c (analyze_access_subtree): Correct hole detection when
6749 total_scalarization fails.
6750
6751 2016-01-27 David Edelsohn <dje.gcc@gmail.com>
6752
6753 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add
6754 power9.
6755
6756 2016-01-27 Christian Bruel <christian.bruel@st.com>
6757
6758 PR target/69245
6759 * config/arm/arm-c.c (arm_pragma_target_parse): Add comments.
6760 Move arm_reset_previous_fndecl and set_target_option_current_node in
6761 the conditional part. Call save_restore_target_globals.
6762 * config/arm/arm.c (arm_set_current_function):
6763 Refactor to better support #pragma target and attribute mix.
6764 Call save_restore_target_globals.
6765 * config/arm/arm-protos.h (save_restore_target_globals): New function.
6766
6767 2016-01-27 Martin Liska <mliska@suse.cz>
6768
6769 * hsa.c (hsa_summary_t::link_functions): Create IPA_REF_ADDR
6770 reference for an HSA kernel and its host function.
6771
6772 2016-01-27 Jakub Jelinek <jakub@redhat.com>
6773
6774 PR tree-optimization/69399
6775 * wide-int.h (wi::lrshift): For larger precisions, only
6776 use fast path if shift is known to be < HOST_BITS_PER_WIDE_INT.
6777
6778 2016-01-27 Claudiu Zissulescu <claziss@synopsys.com>
6779
6780 * config/arc/predicates.md (proper_comparison_operator): Reject
6781 constant-constant comparison.
6782
6783 2016-01-26 Tom de Vries <tom@codesourcery.com>
6784
6785 PR tree-optimization/69110
6786 * tree-data-ref.c (initialize_data_dependence_relation): Handle
6787 DR_NUM_DIMENSIONS == 0.
6788
6789 2016-01-26 Abderrazek Zaafrani <a.zaafrani@samsung.com>
6790 Sebastian Pop <s.pop@samsung.com>
6791
6792 * graphite-isl-ast-to-gimple.c (ternary_op_to_tree): Handle
6793 isl_ast_op_cond and isl_ast_op_select.
6794 (gcc_expression_from_isl_expr_op): Same.
6795
6796 2016-01-26 Jason Merrill <jason@redhat.com>
6797
6798 PR c++/68782
6799 * tree.c (recompute_constructor_flags): Split out from
6800 build_constructor.
6801 (verify_constructor_flags): New.
6802 * tree.h: Declare them.
6803
6804 2016-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
6805
6806 PR rtl-optimization/69217
6807 * var-tracking.c (tracked_record_parameter_p): Don't segfault if there
6808 are no TYPE_FIELDS set for the record type.
6809
6810 2016-01-26 Jakub Jelinek <jakub@redhat.com>
6811
6812 PR target/68662
6813 * config/rs6000/rs6000.c (rs6000_option_override_internal): Initialize
6814 toc_label_name unconditionally.
6815 (rs6000_emit_load_toc_table): Call ggc_strdup on toc_label_name for
6816 SYMBOL_REF string. Use toc_label_name instead of constructing
6817 LCTOC1.
6818 (rs6000_elf_declare_function_name): Use toc_label_name instead of
6819 constructing LCTOC1.
6820
6821 2016-01-26 Martin Sebor <msebor@redhat.com>
6822
6823 PR other/69477
6824 * doc/extend.texi (Common Type Attributes): Move text that talks about
6825 attribute packed from attribute aligned to the section discussing
6826 the former attribute for clarity.
6827
6828 2016-01-26 Richard Henderson <rth@redhat.com>
6829
6830 PR middle-end/60908
6831 * trans-mem.c (tm_region_init): Mark entry block as visited.
6832
6833 2016-01-26 David Malcolm <dmalcolm@redhat.com>
6834
6835 PR other/69006
6836 * diagnostic-show-locus.c (layout::print_source_line): Replace
6837 call to pp_newline with call to layout::print_newline.
6838 (layout::print_annotation_line): Likewise.
6839 (layout::move_to_column): Likewise.
6840 (layout::print_any_fixits): After printing any fixits, print a
6841 trailing newline, if necessary.
6842 (layout::print_newline): New method, resetting any colorization
6843 before a newline.
6844 (diagnostic_show_locus): Move the pp_newline to before the
6845 early bailout. Remove dummy block enclosing the layout instance.
6846 * diagnostic.c (default_diagnostic_finalizer): Replace invocation
6847 of pp_newline_and_flush with pp_flush.
6848 (diagnostic_append_note): Delete use of pp_newline.
6849 (diagnostic_append_note_at_rich_loc): Delete.
6850 * diagnostic.h (diagnostic_append_note_at_rich_loc): Delete.
6851 * pretty-print.h (output_buffer_append_r): Reset buff->line_length
6852 when newline characters are added to the buffer.
6853
6854 2016-01-26 Michael Matz <matz@suse.de>
6855
6856 * configure.ac (ac_cv_std_swap_in_utility): New test.
6857 * system.h (<algorithm>): Check HAVE_SWAP_IN_UTILITY as well.
6858 * configure: Regenerate.
6859 * config.in: Regenerate.
6860
6861 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
6862
6863 * config/arc/arc.md (cstoresi4): Force operand into register.
6864 (arcset<code>): Fix predicate.
6865 (arcsetltu): Likewise.
6866 (arcsetgeu): Likewise.
6867 (arcsethi): Likewise.
6868 (arcsetls): Likewise.
6869
6870 2016-01-26 Jakub Jelinek <jakub@redhat.com>
6871
6872 PR tree-optimization/69483
6873 * gimple-fold.c (canonicalize_constructor_val): Return NULL
6874 if base has error_mark_node type.
6875
6876 2016-01-26 Christophe Lyon <christophe.lyon@linaro.org>
6877
6878 PR target/68620
6879 * config/arm/arm.c (neon_valid_immediate): Handle FP16 vectors.
6880 * config/arm/arm_neon.h (__ARM_NUM_LANES, __arm_lane, arm_lanq):
6881 New helper macros.
6882 (vget_lane_f16): Handle big-endian.
6883 (vgetq_lane_f16): Likewise.
6884 (vset_lane_f16): Likewise.
6885 (vsetq_lane_f16): Likewise.
6886 * config/arm/iterators.md (VQXMOV): Add V8HF.
6887 (VDQ): Add V4HF and V8HF.
6888 (V_reg): Handle V4HF and V8HF.
6889 (Is_float_mode): Likewise.
6890 * config/arm/neon.md (movv4hf, movv8hf, neon_vdup_nv4hf,
6891 neon_vdup_nv8hf): New patterns.
6892 (vec_set<mode>_internal, vec_extract<mode>, neon_vld1_dup<mode>):
6893 Use VD_LANE iterator.
6894 (neon_vld1_dup<mode>): Use VQ2 iterator.
6895
6896 2016-01-26 Nathan Sidwell <nathan@acm.org>
6897
6898 * omp-low.h (oacc_fn_attrib_kernels_p): Declare.
6899 (set_oacc_fn_attrib): Add IS_KERNEL arg.
6900 * omp-low.c (set_oacc_fn_attrib): Add IS_KERNEL arg.
6901 (oacc_fn_attrib_kernels_p, oacc_fn_attrib_level): New.
6902 (expand_omp_target): Pass is_kernel to set_oacc_fn_attrib.
6903 (oacc_validate_dims): Add LEVEL arg, don't return level.
6904 (new_oacc_loop_routine): Use oacc_fn_attrib_level, not
6905 oacc_validate_dims.
6906 (execute_oacc_device_lower): Adjust, add more dump output.
6907 * tree-ssa-loop.c (gate_oacc_kernels): Use
6908 oacc_fn_attrib_kernels_p.
6909 * tree-parloops.c (create_parallel_loop): Adjust
6910 set_oacc_fn_attrib call.
6911
6912 2016-01-26 Jakub Jelinek <jakub@redhat.com>
6913
6914 PR lto/69254
6915 * lto-wrapper.c (merge_and_complain): Handle -fcilkplus.
6916 (append_compiler_options): Handle -fcilkplus.
6917 (append_linker_options): Ignore -fno-{openmp,openacc,cilkplus}.
6918
6919 2016-01-26 Nick Clifton <nickc@redhat.com>
6920
6921 PR target/66655
6922 * config/i386/winnt.c (i386_pe_binds_local_p): If a function has
6923 been marked as DECL_ONE_ONLY but we do not the means to make it
6924 so, then do not allow it to bind locally.
6925
6926 2016-01-26 Jakub Jelinek <jakub@redhat.com>
6927
6928 PR lto/69254
6929 * opts.h (parse_sanitizer_options): New prototype.
6930 * opts.c (sanitizer_opts): New array.
6931 (parse_sanitizer_options): New function.
6932 (common_handle_option): Use parse_sanitizer_options.
6933
6934 2016-01-26 H.J. Lu <hongjiu.lu@intel.com>
6935
6936 PR target/68986
6937 * config/i386/i386.c (ix86_compute_frame_layout): Move stack
6938 alignment adjustment to ...
6939 (ix86_update_stack_boundary): Here. Don't over-align stack for
6940 __tls_get_addr.
6941 (ix86_finalize_stack_realign_flags): Use stack_alignment_needed
6942 if __tls_get_addr is called.
6943
6944 2016-01-26 Christian Bruel <christian.bruel@st.com>
6945
6946 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Remove.
6947
6948 2016-01-26 Eric Botcazou <ebotcazou@adacore.com>
6949
6950 * config/ia64/ia64.c (ia64_expand_vecint_compare): Use gen_int_mode.
6951
6952 2016-01-26 Richard Biener <rguenther@suse.de>
6953
6954 PR middle-end/69467
6955 * match.pd: Guard X * CST CMP 0 pattern with single_use.
6956
6957 2016-01-26 Richard Biener <rguenther@suse.de>
6958
6959 PR tree-optimization/69452
6960 * tree-ssa-loop-im.c (move_computations_dom_walker): Remove.
6961 (move_computations_dom_walker::before_dom_children): Rename
6962 to ...
6963 (move_computations_worker): This.
6964 (move_computations): Perform an RPO rather than a DOM walk.
6965
6966 2016-01-26 Jakub Jelinek <jakub@redhat.com>
6967
6968 PR target/69442
6969 * combine.c (combine_instructions): For REG_EQUAL note with
6970 SET_DEST being ZERO_EXTRACT, also temporarily set SET_DEST
6971 to the underlying register.
6972 * doc/rtl.texi (REG_EQUAL): Document the behavior of
6973 REG_EQUAL/REG_EQUIV notes if SET_DEST is ZERO_EXTRACT.
6974
6975 2016-01-26 Roger Ferrer Ibáñez <rofirrim@gmail.com>
6976
6977 PR target/67896
6978 * config/aarch64/aarch64-builtins.c
6979 (aarch64_init_simd_builtin_types): Do not set structural
6980 equality to __Poly{8,16,64,128}_t types.
6981
6982 2016-01-26 Richard Sandiford <richard.sandiford@arm.com>
6983
6984 PR tree-optimization/69400
6985 * wide-int.cc (wi_pack): Take the precision as argument and
6986 perform canonicalization here rather than in the callers.
6987 Use the main loop to handle all full-width HWIs. Add a
6988 zero HWI if in_len isn't a full result.
6989 (wi::divmod_internal): Update accordingly.
6990 (wi::mul_internal): Likewise. Simplify.
6991
6992 2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
6993 Sebastian Pop <s.pop@samsung.com>
6994
6995 * graphite-poly.c (apply_poly_transforms): Simplify.
6996 (print_isl_set): Use more readable format: ISL_YAML_STYLE_BLOCK.
6997 (print_isl_map): Same.
6998 (print_isl_union_map): Same.
6999 (print_isl_schedule): New.
7000 (debug_isl_schedule): New.
7001 * graphite-dependences.c (scop_get_reads): Do not call
7002 isl_union_map_add_map that is undocumented isl functionality.
7003 (scop_get_must_writes): Same.
7004 (scop_get_may_writes): Same.
7005 (scop_get_original_schedule): Remove.
7006 (scop_get_dependences): Do not call isl_union_map_compute_flow that
7007 is deprecated in isl 0.15. Instead, use isl_union_access_* interface.
7008 (compute_deps): Remove.
7009 * graphite-isl-ast-to-gimple.c (print_schedule_ast): New.
7010 (debug_schedule_ast): New.
7011 (translate_isl_ast_to_gimple::scop_to_isl_ast): Call
7012 set_separate_option.
7013 (graphite_regenerate_ast_isl): Add dump.
7014 (translate_isl_ast_to_gimple::scop_to_isl_ast): Generate code
7015 from scop->transformed_schedule.
7016 (graphite_regenerate_ast_isl): Add more dump.
7017 * graphite-optimize-isl.c (optimize_isl): Set
7018 scop->transformed_schedule. Check whether schedules are equal.
7019 (apply_poly_transforms): Move here.
7020 * graphite-poly.c (apply_poly_transforms): ... from here.
7021 (free_poly_bb): Static.
7022 (free_scop): Static.
7023 (pbb_number_of_iterations_at_time): Remove.
7024 (print_isl_ast): New.
7025 (debug_isl_ast): New.
7026 (debug_scop_pbb): New.
7027 * graphite-scop-detection.c (print_edge): Move.
7028 (print_sese): Move.
7029 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Remove.
7030 (build_scop_scattering): Remove.
7031 (create_pw_aff_from_tree): Assert instead of bailing out.
7032 (add_condition_to_pbb): Remove unused code, do not fail.
7033 (add_conditions_to_domain): Same.
7034 (add_conditions_to_constraints): Remove.
7035 (build_scop_context): New.
7036 (add_iter_domain_dimension): New.
7037 (build_iteration_domains): Initialize pbb->iterators.
7038 Call add_conditions_to_domain.
7039 (nested_in): New.
7040 (loop_at): New.
7041 (index_outermost_in_loop): New.
7042 (index_pbb_in_loop): New.
7043 (outermost_pbb_in): New.
7044 (add_in_sequence): New.
7045 (add_outer_projection): New.
7046 (outer_projection_mupa): New.
7047 (add_loop_schedule): New.
7048 (build_schedule_pbb): New.
7049 (build_schedule_loop): New.
7050 (embed_in_surrounding_loops): New.
7051 (build_schedule_loop_nest): New.
7052 (build_original_schedule): New.
7053 (build_poly_scop): Call build_original_schedule.
7054 * graphite.h: Declare print_isl_schedule and debug_isl_schedule.
7055 (free_poly_dr): Remove.
7056 (struct poly_bb): Add iterators. Remove schedule, transformed, saved.
7057 (free_poly_bb): Remove.
7058 (debug_loop_vec): Remove.
7059 (print_isl_ast): Declare.
7060 (debug_isl_ast): Declare.
7061 (scop_do_interchange): Remove.
7062 (scop_do_strip_mine): Remove.
7063 (scop_do_block): Remove.
7064 (flatten_all_loops): Remove.
7065 (optimize_isl): Remove.
7066 (pbb_number_of_iterations_at_time): Remove.
7067 (debug_scop_pbb): Declare.
7068 (print_schedule_ast): Declare.
7069 (debug_schedule_ast): Declare.
7070 (struct scop): Remove schedule. Add original_schedule,
7071 transformed_schedule.
7072 (free_gimple_poly_bb): Remove.
7073 (print_generated_program): Remove.
7074 (debug_generated_program): Remove.
7075 (unify_scattering_dimensions): Remove.
7076 * sese.c (print_edge): ... here.
7077 (print_sese): ... here.
7078 (debug_edge): ... here.
7079 (debug_sese): ... here.
7080 * sese.h (print_edge): Declare.
7081 (print_sese): Declare.
7082 (dump_edge): Declare.
7083 (dump_sese): Declare.
7084
7085 2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
7086 Sebastian Pop <s.pop@samsung.com>
7087
7088 * Makefile.in: Set ISLVER in site.exp.
7089
7090 2016-01-25 Jakub Jelinek <jakub@redhat.com>
7091
7092 * omp-low.c (lower_omp_target) <case USE_DEVICE_PTR>: Set
7093 DECL_VALUE_EXPR of new_var even for the non-array case. Look
7094 through DECL_VALUE_EXPR for expansion.
7095
7096 2016-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
7097
7098 * config/mips/mips.c (mips_compute_frame_info): Skip re-computing
7099 the frame info after reload completed.
7100
7101 2016-01-25 Jeff Law <law@redhat.com>
7102
7103 PR tree-optimization/69196
7104 PR tree-optimization/68398
7105 * tree-ssa-threadupdate.h (enum bb_dom_status): Moved here from
7106 tree-ssa-threadupdate.c.
7107 (determine_bb_domination_status): Prototype
7108 * tree-ssa-threadupdate.c (enum bb_dom_status): Remove
7109 (determine_bb_domination_status): No longer static.
7110 (valid_jump_thread_path): Remove code to detect characteristics
7111 of the jump thread path not associated with correctness.
7112 * tree-ssa-threadbackward.c (fsm_find_control_statment_thread_paths):
7113 Correct test for thread path length. Count PHIs for real operands as
7114 statements that need to be copied. Do not count ASSERT_EXPRs.
7115 Look at all the blocks in the thread path. Compute and selectively
7116 filter thread paths based on threading through the latch, threading
7117 a multiway branch or crossing a multiway branch.
7118
7119 2016-01-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
7120
7121 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): Add
7122 decl with __attribute__ ((unused)) annotation.
7123
7124 2016-01-25 Ilya Enkovich <enkovich.gnu@gmail.com>
7125
7126 PR target/69421
7127 * tree-vect-stmts.c (vectorizable_condition): Check vectype
7128 of operands is compatible with a statement vectype.
7129
7130 2016-01-25 Eric Botcazou <ebotcazou@adacore.com>
7131
7132 * doc/extend.texi (scalar_storage_order type attribute): Fix typo and
7133 improve wording for mixed storage order support.
7134
7135 2016-01-25 Bilyan Borisov <bilyan.borisov@arm.com>
7136
7137 * config/aarch64/arm_neon.h (vcvt_s64_f64): New intrinsic.
7138 (vcvt_u64_f64): Likewise.
7139 (vcvta_s64_f64): Likewise.
7140 (vcvta_u64_f64): Likewise.
7141 (vcvtm_s64_f64): Likewise.
7142 (vcvtm_u64_f64): Likewise.
7143 (vcvtn_s64_f64): Likewise.
7144 (vcvtn_u64_f64): Likewise.
7145 (vcvtp_s64_f64): Likewise.
7146 (vcvtp_u64_f64): Likewise.
7147
7148 2016-01-25 Claudiu Zissulescu <claziss@synopsys.com>
7149
7150 * config/arc/arc.c (TARGET_DWARF_REGISTER_SPAN): Define.
7151 (arc_init): Check validity mll64 option.
7152 (arc_save_restore): Use double load/store instruction.
7153 (arc_expand_movmem): Likewise.
7154 (arc_split_move): Don't split if we have double load/store
7155 instructions. Returns a boolean.
7156 (arc_process_double_reg_moves): Change function to return boolean
7157 instead of a sequence of instructions.
7158 (arc_dwarf_register_span): New function.
7159 * config/arc/arc-protos.h (arc_split_move): Change prototype.
7160 * config/arc/arc.h (TARGET_CPU_CPP_BUILTINS): Define __ARC_LL64__.
7161 * config/arc/arc.md (*movdi_insn): Emit ldd/std instructions.
7162 (*movdf_insn): Likewise.
7163 * config/arc/arc.opt (mll64): New option.
7164 * config/arc/predicates.md (even_register_operand): New predicate.
7165 * doc/invoke.texi (ARC Options): Add mll64 documentation.
7166
7167 2016-01-25 Richard Biener <rguenther@suse.de>
7168
7169 PR lto/69393
7170 * dwarf2out.c (is_naming_typedef_decl): Not when DECL_NAMELESS.
7171 * tree-streamer-out.c (pack_ts_base_value_fields): Stream
7172 DECL_NAMELESS.
7173 * tree-streamer-in.c (unpack_ts_base_value_fields): Likewise.
7174
7175 2016-01-25 Richard Biener <rguenther@suse.de>
7176
7177 PR tree-optimization/69376
7178 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add range_info_anti_range_p
7179 flag.
7180 (VN_INFO_ANTI_RANGE_P): New inline.
7181 (VN_INFO_RANGE_TYPE): Likewise.
7182 * tree-ssa-sccvn.c (set_ssa_val_to): Also record and copy
7183 SSA_NAME_ANTI_RANGE_P.
7184 (free_scc_vn): Restore SSA_NAME_ANTI_RANGE_P.
7185 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
7186 Properly query VN_INFO_RANGE_TYPE.
7187
7188 2016-01-25 Nick Clifton <nickc@redhat.com>
7189
7190 PR target/66655
7191 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Remove definition.
7192
7193 2016-01-23 Tom de Vries <tom@codesourcery.com>
7194
7195 PR tree-optimization/69426
7196 * tree-parloops.c (eliminate_local_variables_stmt): Handle vdef of
7197 removed clobber.
7198
7199 2016-01-23 Jakub Jelinek <jakub@redhat.com>
7200
7201 * tree-ssanames.c (release_free_names_and_compact_live_names): Replace
7202 "the the" with "the" in the comments.
7203 * ipa-devirt.c (build_type_inheritance_graph,
7204 update_type_inheritance_graph): Likewise.
7205 * tree.c (build_function_type_list_1): Likewise.
7206 * cfgloopmanip.c (scale_loop_profile): Likewise.
7207 * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Likewise.
7208 * gimple-ssa-split-paths.c
7209 (find_block_to_duplicate_for_splitting_paths): Likewise.
7210 * tree-sra.c (init_subtree_with_zero, clobber_subtree): Likewise.
7211 * expr.c (convert_move): Likewise.
7212 * var-tracking.c (vt_stack_adjustments): Likewise.
7213 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Likewise.
7214 * tree-vrp.c (test_for_singularity): Likewise.
7215
7216 * tree-vect-stmts.c (vectorizable_condition): Build a VEC_COND_EXPR
7217 directly instead of building a temporary tree.
7218
7219 PR bootstrap/69434
7220 * genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
7221 remove <algorithm> include.
7222
7223 2016-01-22 Jakub Jelinek <jakub@redhat.com>
7224
7225 PR target/69432
7226 * config/i386/i386.c: Include dojump.h.
7227 (expand_small_movmem_or_setmem,
7228 expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Spelling
7229 fixes.
7230 (ix86_expand_set_or_movmem): Call do_pending_stack_adjust () early
7231 if dynamic_check != -1.
7232
7233 2016-01-21 Jeff Law <law@redhat.com>
7234
7235 PR middle-end/69347
7236 * tree-ssa-dom.c (back_propagate_equivalences): Factored out of
7237 record_temporary_equivalences. Rewritten to avoid unnecessary calls
7238 into dominated_by_p.
7239 (cprop_into_successor_phis): Avoid unnecessary tests.
7240
7241 2016-01-22 Richard Henderson <rth@redhat.com>
7242
7243 PR target/69416
7244 * config/aarch64/aarch64.md (UNSPEC_NZCV): New.
7245 (ccmp<mode>, fccmp<mode>, fccmpe<mode>): Use it.
7246
7247 2016-01-22 Michael Matz <matz@suse.de>
7248
7249 * system.h (string, algorithm): Include only conditionally.
7250 (new): Include always under C++.
7251 * bb-reorder.c (toplevel): Define INCLUDE_ALGORITHM.
7252 * final.c (toplevel): Ditto.
7253 * ipa-chkp.c (toplevel): Define INCLUDE_STRING.
7254 * genconditions.c (write_header): Make gencondmd.c define
7255 INCLUDE_STRING.
7256 * mem-stats.h (mem_usage::print_dash_line): Don't use std::string.
7257
7258 * config/aarch64/aarch64.c (toplevel): Define INCLUDE_STRING.
7259 * common/config/aarch64/aarch64-common.c (toplevel): Ditto.
7260
7261 2016-01-22 Christian Bruel <christian.bruel@st.com>
7262
7263 PR target/68674
7264 * expr.c (expand_expr_real_1): Reset DECL_MODE if VECTOR_TYPE_P changed.
7265
7266 2016-01-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
7267
7268 PR target/69403
7269 * config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
7270 define_insn_and_split. Ensure operands[1] and operands[0] do not
7271 get assigned the same register.
7272
7273 2016-01-22 Kugan Vivekanandarajah <kuganv@linaro.org>
7274
7275 * ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.
7276
7277 2016-01-22 Christian Bruel <christian.bruel@st.com>
7278
7279 * config/arm/arm-c.c (arm_pragma_target_parse):
7280 Remove warn_builtin_macro_redefined overwrite.
7281
7282 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
7283
7284 * ipa-inline.c (can_inline_edge_p): Back out overzealous check on
7285 flag_non_call_exceptions compatibility.
7286
7287 2016-01-22 Jakub Jelinek <jakub@redhat.com>
7288
7289 PR debug/66668
7290 * dwarf2out.c (add_child_die_after): New function.
7291 (dwarf_qual_info_t): New type.
7292 (dwarf_qual_info): New variable.
7293 (qualified_die_p): New function.
7294 (modified_type_die): For -fdebug-types-section, ensure
7295 canonical order of qualifiers. Put qualified DIEs adjacent
7296 to the corresponding non-qualified type DIE and search there
7297 for existing qualified DIEs.
7298
7299 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
7300
7301 * doc/extend.texi (scalar_storage_order type attribute): Document
7302 restriction on type punning and aliasing, and remove future tense.
7303
7304 2016-01-21 Roman Zhuykov <zhroma@ispras.ru>
7305
7306 PR target/69252
7307 * modulo-sched.c (optimize_sc): Allow branch-scheduling to add a new
7308 first stage.
7309
7310 2016-01-21 Jeff Law <law@redhat.com>
7311
7312 PR middle-end/69347
7313 * tree-ssa-dom.c (dom_opt_dom_walker::thread_across_edge): Avoid
7314 useless call to record_temporary_equivalences.
7315 * tree-ssa-threadbackward.c (find_jump_threads_backwards): Just
7316 allocate 10 slots in the bb_path vector and let it grow as needed.
7317 (fsm_find_control_statement_thread_paths): Similarly for the next_path
7318 vector.
7319
7320 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
7321
7322 * configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
7323 Detangle.
7324 * configure: Regenerate.
7325
7326 2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
7327
7328 * config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
7329 * config/rs6000/driver-rs6000.c (struct asm_names): Likewise.
7330
7331 2016-01-21 Bernd Schmidt <bschmidt@redhat.com>
7332
7333 PR middle-end/66178
7334 * expr.c (expand_expr_real_2) [PLUS_EXPR, MINUS_EXPR]: Don't
7335 drop EXPAND_INITIALIZER.
7336 * rtl.h (contains_symbolic_reference_p): Declare.
7337 * rtlanal.c (contains_symbolic_reference_p): New function.
7338 * simplify-rtx.c (simplify_binary_operation_1): Don't turn
7339 a subtraction into a NOT if symbolic constants are involved.
7340
7341 2016-01-21 Anton Blanchard <anton@samba.org>
7342 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
7343
7344 PR target/63354
7345 * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): New
7346 #define.
7347 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New
7348 function.
7349
7350 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
7351
7352 * config/microblaze/microblaze.c
7353 (get_branch_target): New.
7354 (insert_wic_for_ilb_runout): New.
7355 (insert_wic): New.
7356 (microblaze_machine_dependent_reorg): New.
7357 (TARGET_MACHINE_DEPENDENT_REORG): Define macro.
7358 * config/microblaze/microblaze.md
7359 (UNSPEC_IPREFETCH): Define.
7360 (iprefetch): New pattern
7361 * config/microblaze/microblaze.opt
7362 (mxl-prefetch): New flag.
7363
7364 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
7365
7366 * config/microblaze/microblaze.h
7367 (FIXED_REGISTERS): Update in macro.
7368 (CALL_USED_REGISTERS): Update in macro.
7369
7370 2016-01-21 Yuri Rumyantsev <ysrumyan@gmail.com>
7371
7372 PR rtl-optimization/68920
7373 * ifcvt.c (cond_move_process_if_block): Limit number of conditional
7374 moves.
7375
7376 2016-01-21 Vladimir Makarov <vmakarov@redhat.com>
7377
7378 PR rtl-optimization/68990
7379 * lra-coalesce.c (lra_coalesce): Invalidate value for the result
7380 pseudo instead of inheritance ones.
7381
7382 2016-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
7383 Nick Clifton <nickc@redhat.com>
7384
7385 PR target/69129
7386 PR target/69012
7387 * config/mips/mips.c (mips_compute_frame_info): Initialise
7388 args_size and hard_frame_pointer_offset fields of the frame
7389 structure before calling mips_global_pointer.
7390
7391 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
7392
7393 * configure.ac (gcc_cv_as_dwloc): Test support for debug frame section
7394 label reference.
7395 * configure: Regenerate.
7396
7397 2016-01-21 Richard Biener <rguenther@suse.de>
7398
7399 * graphite-optimize-isl.c (get_schedule_map): Fix typo.
7400
7401 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
7402
7403 * config/s390/s390.c (s390_asm_declare_function_size): Add code
7404 to actually emit the .size directive.
7405
7406 2016-01-21 Stefan Sørensen <stefan.sorensen@spectralink.com>
7407 Jakub Jelinek <jakub@redhat.com>
7408
7409 PR target/69187
7410 PR target/65624
7411 * config/arm/arm-builtins.c (arm_expand_neon_builtin): Increase
7412 args array size by one to avoid buffer overflow.
7413
7414 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
7415
7416 * config/s390/s390.md (pool_section_start): Use switch_to_section
7417 to select proper read-only data section instead of hardcoding
7418 .rodata.
7419 (pool_section_end): Use switch_to_section to match the above.
7420
7421 2016-01-21 Richard Biener <rguenther@suse.de>
7422
7423 PR tree-optimization/69378
7424 * tree-ssa-sccvn.c (dominated_by_p_w_unex): New function.
7425 (set_ssa_val_to): Use it for dominance checks taking into
7426 account not executable edges.
7427
7428 2016-01-21 Jakub Jelinek <jakub@redhat.com>
7429
7430 PR c++/69355
7431 * tree-dfa.c (get_ref_base_and_extent): Use GET_MODE_BITSIZE (mode)
7432 for bitsize instead of GET_MODE_PRECISION (mode).
7433
7434 2016-01-20 Martin Sebor <msebor@redhat.com>
7435
7436 PR c/52291
7437 * extend.texi (__sync Builtins): Clarify the semantics of
7438 __sync_fetch_and_OP built-ins on pointers.
7439 (__atomic Builtins): Same.
7440
7441 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7442 Sebastian Pop <s.pop@samsung.com>
7443
7444 * graphite-isl-ast-to-gimple.c (enum phi_node_kind): New.
7445 (class translate_isl_ast_to_gimple): Use phi_node_kind instead of bool.
7446 (is_valid_rename): Same.
7447 (translate_isl_ast_to_gimple::get_rename): Same.
7448 (translate_isl_ast_to_gimple::rename_all_uses): Same.
7449 (translate_isl_ast_to_gimple::rename_uses): Same.
7450 (get_new_name): Check for close_phi nodes.
7451 (copy_loop_phi_args): Use phi_node_kind.
7452 (translate_isl_ast_to_gimple::copy_loop_close_phi_args): Same.
7453 (translate_isl_ast_to_gimple::copy_cond_phi_args): Same.
7454
7455 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7456 Sebastian Pop <s.pop@samsung.com>
7457
7458 Revert commit r229783.
7459 * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
7460 Remove use of parameter_rename_map.
7461 (copy_def): Remove.
7462 (copy_internal_parameters): Remove.
7463 (graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
7464 * sese.c (new_sese_info): Do not initialize parameter_rename_map.
7465 (free_sese_info): Do not free parameter_rename_map.
7466 (set_rename): Do not use parameter_rename_map.
7467 (rename_uses): Update call to set_rename.
7468 (graphite_copy_stmts_from_block): Do not use parameter_rename_map.
7469 * sese.h (parameter_rename_map_t): Remove.
7470 (struct sese_info_t): Remove field parameter_rename_map.
7471
7472 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7473 Sebastian Pop <s.pop@samsung.com>
7474
7475 * graphite-isl-ast-to-gimple.c: Fix comment.
7476 * graphite-scop-detection.c (defined_in_loop_p): New.
7477 (canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
7478 names defined in loop.
7479
7480 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7481 Sebastian Pop <s.pop@samsung.com>
7482
7483 * graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
7484 Discard unstructured if-then-else regions.
7485
7486 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7487 Sebastian Pop <s.pop@samsung.com>
7488
7489 * graphite-sese-to-poly.c (set_scop_parameter_dim): Remove.
7490 (cleanup_loop_iter_dom): Remove.
7491 (build_loop_iteration_domains): Remove.
7492 (build_scop_context): Remove.
7493 (build_scop_iteration_domain): Remove.
7494 (add_loop_constraints): New.
7495 (build_iteration_domains): New.
7496 (build_poly_scop): Call build_iteration_domains.
7497
7498 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7499 Sebastian Pop <s.pop@samsung.com>
7500
7501 * graphite-scop-detection.c
7502 (scop_detection::harmful_loop_in_region): Free dom and loops.
7503 (scop_detection::loop_body_is_valid_scop): Free bbs.
7504
7505 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7506 Sebastian Pop <s.pop@samsung.com>
7507
7508 * graphite-scop-detection.c (record_loop_in_sese): New.
7509 (gather_bbs::before_dom_children): Call record_loop_in_sese.
7510 (build_scops): Remove call to build_sese_loop_nests.
7511 * sese.c (sese_record_loop): Remove.
7512 (build_sese_loop_nests): Remove.
7513 (new_sese_info): Remove region->loops.
7514 (free_sese_info): Same.
7515 * sese.h (sese_contains_loop): Same.
7516 (build_sese_loop_nests): Remove.
7517 (sese_contains_loop): Remove.
7518
7519 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7520 Sebastian Pop <s.pop@samsung.com>
7521
7522 * graphite-scop-detection.c (loop_is_valid_scop): Renamed
7523 loop_is_valid_in_scop.
7524 (scop_detection::harmful_stmt_in_region): Renamed
7525 harmful_loop_in_region.
7526 Call loop_is_valid_in_scop.
7527
7528 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7529 Sebastian Pop <s.pop@samsung.com>
7530
7531 * graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
7532 isl_ast_node_mark.
7533
7534 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7535 Sebastian Pop <s.pop@samsung.com>
7536
7537 * graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
7538 * graphite.h (struct poly_bb): Remove field is_reduction.
7539 (PBB_IS_REDUCTION): Remove.
7540
7541 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
7542 Sebastian Pop <s.pop@samsung.com>
7543
7544 * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
7545 (add_pdr_constraints): Same.
7546 (scop_get_reads): Same.
7547 (scop_get_must_writes): Same.
7548 (scop_get_may_writes): Same.
7549 (scop_get_original_schedule): Same.
7550 (extend_schedule): Same.
7551 (apply_schedule_on_deps): Same.
7552 (carries_deps): Same.
7553 (compute_deps): Same.
7554 (scop_get_dependences): Same.
7555 * graphite-isl-ast-to-gimple.c
7556 (translate_isl_ast_to_gimple::generate_isl_schedule): Same.
7557 * graphite-optimize-isl.c (get_schedule_for_band): Same.
7558 (get_schedule_for_band_list): Same.
7559 (get_schedule_map): Same.
7560 (apply_schedule_map_to_scop): Same.
7561 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same.
7562 (build_loop_iteration_domains): Same.
7563 (add_condition_to_pbb): Same.
7564 (add_param_constraints): Same.
7565 (pdr_add_memory_accesses): Same.
7566 (pdr_add_data_dimensions): Same.
7567
7568 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
7569
7570 * doc/invoke.texi (Instrumentation Options): Clarify -mmpx linking
7571 requirements.
7572
7573 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
7574
7575 * common.opt (feliminate-dwarf2-dups): Replace references to
7576 "DWARF 2" with just "DWARF".
7577 * config/ia64/ia64.opt (mdwarf2-asm): Likewise.
7578 * doc/extend.texi: Likewise.
7579 * doc/cpp.texi: Likewise.
7580 * doc/invoke.texi: Likewise.
7581 (Option Summary): Add -gdwarf to list of Debugging Options.
7582 (Debugging Options): Document -gdwarf.
7583 * doc/contrib.texi: Spell "DWARF" like that.
7584
7585 2016-01-21 Jakub Jelinek <jakub@redhat.com>
7586
7587 * omp-low.c (expand_omp_target): Avoid -Wmaybe-uninitialized
7588 warning. Fix up formatting.
7589
7590 PR middle-end/67653
7591 * gimplify.c (gimplify_asm_expr): Warn if it is too late to
7592 attempt to mark memory input operand addressable and
7593 call prepare_gimple_addressable in that case. Don't adjust
7594 input_location for diagnostics, use error_at instead.
7595
7596 2016-01-20 Peter Bergner <bergner@vnet.ibm.com>
7597
7598 * config/rs6000/ppc-auxv.h: New file.
7599 * config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
7600 (cpu_is): Likewise.
7601 (cpu_supports): Likewise.
7602 * config/rs6000/rs6000.c: include "ppc-auxv.h".
7603 (cpu_is_info): New variable.
7604 (cpu_supports_info): Likewise.
7605 (tcb_verification_symbol): Likewise.
7606 (cpu_builtin_p): Likewise.
7607 (cpu_expand_builtin): New function.
7608 (rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
7609 (rs6000_init_builtins): Likewise.
7610 (rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
7611 * config/rs6000/rs6000.h (TLS_REGNUM): New define.
7612 * configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
7613 * configure: Regenerate.
7614 * config.in: Likewise.
7615 * doc/extend.texi (PowerPC Built-in Functions): Document
7616 __builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.
7617
7618 2016-01-20 David Edelsohn <dje.gcc@gmail.com>
7619
7620 PR target/68609
7621 * config/rs6000/rs6000.c (rs6000_emit_swsqrt): Add vector sqrt
7622 domain check.
7623 * config/rs6000/vector.md (sqrt<mode>2): Call rs6000_emit_swsqrt
7624 for V4SFmode.
7625
7626 2016-01-20 Richard Henderson <rth@redhat.com>
7627
7628 PR bootstrap/69343
7629 PR bootstrap/69339
7630 PR tree-opt/68964
7631 Revert:
7632 * tree.c (tm_define_builtin): New.
7633 (find_tm_vector_type): New.
7634 (build_tm_vector_builtins): New.
7635 (build_common_builtin_nodes): Call it.
7636
7637 2016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
7638
7639 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
7640 (arm_fp_ok): Likewise.
7641 (arm_fp): Likewise.
7642 (arm_crypto): Likewise.
7643
7644 2016-01-20 Ilya Enkovich <enkovich.gnu@gmail.com>
7645 Richard Biener <rguenther@suse.de>
7646
7647 PR tree-optimization/69328
7648 * tree-vect-stmts.c (vect_is_simple_cond): Check compared
7649 vectors have same number of elements.
7650 (vectorizable_condition): Fix masked version recognition.
7651
7652 2016-01-20 Richard Biener <rguenther@suse.de>
7653
7654 PR tree-optimization/69345
7655 * tree-ssa-sccvn.h (VN_INFO_RANGE_INFO): New inline function.
7656 (VN_INFO_PTR_INFO): Likewise.
7657 * tree-ssa-sccvn.c (set_ssa_val_to): Avoid clearing points-to
7658 info when it is equal between non-dominating SSA names.
7659 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
7660 Make sure to look at original SSA infos.
7661
7662 2016-01-20 Jeff Law <law@redhat.com>
7663
7664 PR target/25114
7665 * config/m68k/predicates.md (pow2_m1_operand): New predicate
7666 extracted from ...
7667 (reg_or_pow2_m1_operand): Call pow2_m1_operand.
7668 (pc_or_label_operand): New predicate.
7669 * config/m68k/m68k.md: Add new peephole2 patterns for GTU/LEU
7670 tests for small integers that are 2^n - 1.
7671
7672 2016-01-20 Jonathan Wakely <jwakely@redhat.com>
7673
7674 * doc/invoke.texi (Options Summary): Add '.' after @xref.
7675
7676 2016-01-19 Jeff Law <law@redhat.com>
7677
7678 PR middle-end/69347
7679 * tree-ssa-threadbackwards.c
7680 (fsm_find_control_statement_thread_paths): Do not try to lookup
7681 FSM paths for SSA_NAMEs appearing in abnormal PHIs.
7682
7683 2016-01-20 Kugan Vivekanandarajah <kuganv@linaro.org>
7684
7685 * doc/lto.texi: Remove text that says only Gold has linker plugin
7686 support.
7687
7688 2016-01-19 Eric Botcazou <ebotcazou@adacore.com>
7689
7690 * dwarf2out.c (need_endianity_attribute_p): New inline predicate.
7691 (base_type_die): Add REVERSE parameter and attach DW_AT_endianity to
7692 the DIE accordingly.
7693 (modified_type_die): Add REVERSE parameter and pass it recursively,
7694 as well as to base_type_die. Adjust presence check accordingly.
7695 (base_type_for_mode): Adjust call to modified_type_die.
7696 (add_type_attribute): Add REVERSE parameter and pass it to
7697 modified_type_die.
7698 (generic_parameter_die): Adjust call to add_type_attribute.
7699 (add_scalar_info): Likewise.
7700 (add_subscript_info): Likewise.
7701 (gen_array_type_die): Likewise.
7702 (gen_descr_array_type_die): Likewise.
7703 (gen_entry_point_die): Likewise.
7704 (gen_enumeration_type_die): Likewise.
7705 (gen_formal_parameter_die): Likewise.
7706 (gen_subprogram_die): Likewise.
7707 (gen_variable_die ): Likewise.
7708 (gen_const_die): Likewise.
7709 (gen_field_die): Likewise.
7710 (gen_pointer_type_die): Likewise.
7711 (gen_reference_type_die): Likewise.
7712 (gen_ptr_to_mbr_type_die): Likewise.
7713 (gen_inheritance_die): Likewise.
7714 (gen_subroutine_type_die): Likewise.
7715 (gen_typedef_die): Likewise.
7716 (force_type_die): Adjust call to modified_type_die.
7717
7718 2016-01-19 Sandra Loosemore <sandra@codesourcery.com>
7719
7720 * doc/standards.texi: Copy-editing for grammar, markup, and sentence
7721 flow throughout the file. Fix broken link to Objective-C 2.0
7722 documentation.
7723 * doc/invoke.texi: More copy-editing; fix numerous typos and spelling
7724 errors.
7725
7726 2016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
7727
7728 * ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
7729
7730 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
7731
7732 PR ipa/66223
7733 * ipa-devirt.c (is_cxa_pure_virtual_p): New function.
7734 (maybe_record_node): Record cxa_pure_virtual as the only possible
7735 target if there are not ohter candidates.
7736 (possible_polymorphic_call_target_p): Accept cxa_pure_virtual.
7737
7738 2016-01-19 Richard Biener <rguenther@suse.de>
7739
7740 * hsa-gen.c (get_memory_order_name): Use MEMMODEL_ constants.
7741 (get_memory_order): Likewise.
7742
7743 2016-01-19 Kirill Yukhin <kirill.yukhin@intel.com>
7744
7745 * tree-vect-stmts.c (vectorizable_store): Check
7746 rhs vectype.
7747
7748 2016-01-19 David Malcolm <dmalcolm@redhat.com>
7749
7750 PR jit/68446
7751 * gcc.c (driver::decode_argv): Add call to
7752 init_opts_obstack before init_options_struct.
7753 * opts.c (init_opts_obstack): Remove idempotency.
7754 (init_options_struct): Replace call to init_opts_obstack
7755 with a gcc_assert to verify that it has already been called.
7756 * toplev.c (toplev::main): Add call to init_opts_obstack before
7757 calls to init_options_struct.
7758 (toplev::finalize): Move cleanup of opts_obstack next to
7759 cleanup of save_decoded_options, clearing the latter, and
7760 save_decoded_options_count.
7761
7762 2016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
7763
7764 PR target/69135
7765 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): Set "conds"
7766 attribute to unconditional. Remove %? from output template.
7767
7768 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
7769 Jiong Wang <jiong.wang@arm.com>
7770
7771 * ccmp.c (expand_ccmp_expr_1): Cost the instruction sequences
7772 generated from different expand order.
7773
7774 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
7775
7776 * /config/aarch64/aarch64.c (aarch64_if_then_else_costs):
7777 Add support for CCMP costing.
7778
7779 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
7780
7781 * ccmp.c (ccmp_candidate_p): Remove integer-only restriction.
7782 * config/aarch64/aarch64.md (fccmp<mode>): New pattern.
7783 (fccmpe<mode>): Likewise.
7784 (fcmp): Rename to fcmp and globalize pattern.
7785 (fcmpe): Likewise.
7786 * config/aarch64/aarch64.c (aarch64_gen_ccmp_first): Add FP support.
7787 (aarch64_gen_ccmp_next): Add FP support.
7788
7789 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
7790
7791 * target.def (gen_ccmp_first): Update documentation.
7792 (gen_ccmp_next): Likewise.
7793 * doc/tm.texi (gen_ccmp_first): Update documentation.
7794 (gen_ccmp_next): Likewise.
7795 * ccmp.c (expand_ccmp_expr): Extract cmp_code from return value of
7796 expand_ccmp_expr_1. Improve comments.
7797 * config/aarch64/aarch64.md (ccmp_and): Use if_then_else for ccmp.
7798 (ccmp_ior<mode>): Remove pattern.
7799 (cmp<mode>): Remove expand.
7800 (cmp): Globalize pattern.
7801 (cstorecc4): Use cc_register.
7802 (mov<mode>cc): Remove ccmp_cc_register check.
7803 * config/aarch64/aarch64.c (aarch64_get_condition_code_1):
7804 Simplify after removal of CC_DNE/* modes.
7805 (aarch64_ccmp_mode_to_code): Remove.
7806 (aarch64_print_operand): Remove 'K' case. Merge 'm' and 'M' cases.
7807 In 'k' case use integer as condition.
7808 (aarch64_nzcv_codes): Remove inverted cases.
7809 (aarch64_code_to_ccmode): Remove.
7810 (aarch64_gen_ccmp_first): Use cmp pattern directly. Return the correct
7811 comparison with CC register to be used in folowing CCMP/branch/CSEL.
7812 (aarch64_gen_ccmp_next): Use previous comparison and mode in CCMP
7813 pattern. Return the comparison with CC register. Invert conditions
7814 when bitcode is OR.
7815 * config/aarch64/aarch64-modes.def: Remove CC_DNE/* modes.
7816 * config/aarch64/predicates.md (ccmp_cc_register): Remove.
7817
7818 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
7819
7820 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
7821 instrumented_version.
7822
7823 2016-01-19 Richard Biener <rguenther@suse.de>
7824
7825 PR tree-optimization/69336
7826 * tree-ssa-scopedtables.c (avail_expr_hash): Handle all
7827 handled components with get_ref_base_and_extent.
7828 (equal_mem_array_ref_p): Adjust.
7829
7830 2016-01-19 Jakub Jelinek <jakub@redhat.com>
7831
7832 PR debug/65779
7833 * shrink-wrap.c: Include valtrack.h.
7834 (move_insn_for_shrink_wrap): Add DEBUG argument. If
7835 MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
7836 in between insn and where it will be moved to. Call
7837 dead_debug_insert_temp.
7838 (prepare_shrink_wrap): Adjust caller. Call dead_debug_local_init
7839 first and dead_debug_local_finish at the end.
7840 For uses and defs bitmap, handle all regs in between REGNO and
7841 END_REGNO, not just the first one.
7842
7843 2016-01-19 Richard Biener <rguenther@suse.de>
7844
7845 PR tree-optimization/69352
7846 * tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1.
7847 (equal_mem_array_ref_p): Constrain size and max size properly.
7848 Compare the reverse flag.
7849
7850 2016-01-19 Bernd Schmidt <bschmidt@redhat.com>
7851
7852 * ira.c (ira): Update regstat data if we deleted insns.
7853
7854 2016-01-19 Jakub Jelinek <jakub@redhat.com>
7855
7856 PR rtl-optimization/68955
7857 PR rtl-optimization/64557
7858 * dse.c (record_store, check_mem_read_rtx): Don't call get_addr
7859 here. Fix up formatting.
7860 * alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.
7861
7862 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
7863
7864 PR lto/69133
7865 * cgraphunit.c (cgraph_node::expand_thunk): When forcing gimple
7866 assume that the node has body.
7867 * cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
7868 check.
7869
7870 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
7871
7872 * lto-streamer-out.c (lto_output): Do not stream instrumentation
7873 thunks.
7874
7875 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
7876
7877 * symtab.c (symtab_node::asm_name): Do not call printable name directly.
7878 (symtab_node::name): Report name as unnamed if DECL_NAME is not set.
7879
7880 2016-01-19 Martin Jambor <mjambor@suse.cz>
7881 Martin Liska <mliska@suse.cz>
7882 Michael Matz <matz@suse.de>
7883
7884 * Makefile.in (OBJS): Add new source files.
7885 (GTFILES): Add hsa.c.
7886 * common.opt (disable_hsa): New variable.
7887 (-Whsa): New warning.
7888 * config.in (ENABLE_HSA): New.
7889 * configure.ac: Treat hsa differently from other accelerators.
7890 (OFFLOAD_TARGETS): Define ENABLE_OFFLOADING according to
7891 $enable_offloading.
7892 (ENABLE_HSA): Define ENABLE_HSA according to $enable_hsa.
7893 * doc/install.texi (Configuration): Document --with-hsa-runtime,
7894 --with-hsa-runtime-include, --with-hsa-runtime-lib and
7895 --with-hsa-kmt-lib.
7896 * doc/invoke.texi (-Whsa): Document.
7897 (hsa-gen-debug-stores): Likewise.
7898 * lto-wrapper.c (compile_images_for_offload_targets): Do not attempt
7899 to invoke offload compiler for hsa acclerator.
7900 * opts.c (common_handle_option): Determine whether HSA offloading
7901 should be performed.
7902 * params.def (PARAM_HSA_GEN_DEBUG_STORES): New parameter.
7903 * builtin-types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
7904 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
7905 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
7906 * gimple-low.c (lower_stmt): Also handle GIMPLE_OMP_GRID_BODY.
7907 * gimple-pretty-print.c (dump_gimple_omp_for): Also handle
7908 GF_OMP_FOR_KIND_GRID_LOOP.
7909 (dump_gimple_omp_block): Also handle GIMPLE_OMP_GRID_BODY.
7910 (pp_gimple_stmt_1): Likewise.
7911 * gimple-walk.c (walk_gimple_stmt): Likewise.
7912 * gimple.c (gimple_build_omp_grid_body): New function.
7913 (gimple_copy): Also handle GIMPLE_OMP_GRID_BODY.
7914 * gimple.def (GIMPLE_OMP_GRID_BODY): New.
7915 * gimple.h (enum gf_mask): Added GF_OMP_PARALLEL_GRID_PHONY,
7916 GF_OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY and
7917 GF_OMP_TEAMS_GRID_PHONY.
7918 (gimple_statement_omp_single_layout): Updated comments.
7919 (gimple_build_omp_grid_body): New function.
7920 (gimple_has_substatements): Also handle GIMPLE_OMP_GRID_BODY.
7921 (gimple_omp_for_grid_phony): New function.
7922 (gimple_omp_for_set_grid_phony): Likewise.
7923 (gimple_omp_parallel_grid_phony): Likewise.
7924 (gimple_omp_parallel_set_grid_phony): Likewise.
7925 (gimple_omp_teams_grid_phony): Likewise.
7926 (gimple_omp_teams_set_grid_phony): Likewise.
7927 (gimple_return_set_retbnd): Also handle GIMPLE_OMP_GRID_BODY.
7928 * omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): New.
7929 (BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
7930 (BUILT_IN_GOMP_TARGET): Updated type.
7931 * omp-low.c: Include symbol-summary.h, hsa.h and params.h.
7932 (adjust_for_condition): New function.
7933 (get_omp_for_step_from_incr): Likewise.
7934 (extract_omp_for_data): Moved parts to adjust_for_condition and
7935 get_omp_for_step_from_incr.
7936 (build_outer_var_ref): Handle GIMPLE_OMP_GRID_BODY.
7937 (fixup_child_record_type): Bail out if receiver_decl is NULL.
7938 (scan_sharing_clauses): Handle OMP_CLAUSE__GRIDDIM_.
7939 (scan_omp_parallel): Do not create child functions for phony
7940 constructs.
7941 (check_omp_nesting_restrictions): Handle GIMPLE_OMP_GRID_BODY.
7942 (scan_omp_1_op): Checking assert we are not remapping to
7943 ERROR_MARK. Also also handle GIMPLE_OMP_GRID_BODY.
7944 (parallel_needs_hsa_kernel_p): New function.
7945 (expand_parallel_call): Register apprpriate parallel child
7946 functions as HSA kernels.
7947 (grid_launch_attributes_trees): New type.
7948 (grid_attr_trees): New variable.
7949 (grid_create_kernel_launch_attr_types): New function.
7950 (grid_insert_store_range_dim): Likewise.
7951 (grid_get_kernel_launch_attributes): Likewise.
7952 (get_target_argument_identifier_1): Likewise.
7953 (get_target_argument_identifier): Likewise.
7954 (get_target_argument_value): Likewise.
7955 (push_target_argument_according_to_value): Likewise.
7956 (get_target_arguments): Likewise.
7957 (expand_omp_target): Call get_target_arguments instead of looking
7958 up for teams and thread limit.
7959 (grid_expand_omp_for_loop): New function.
7960 (grid_arg_decl_map): New type.
7961 (grid_remap_kernel_arg_accesses): New function.
7962 (grid_expand_target_kernel_body): New function.
7963 (expand_omp): Call it.
7964 (lower_omp_for): Do not emit phony constructs.
7965 (lower_omp_taskreg): Do not emit phony constructs but create for them
7966 a temporary variable receiver_decl.
7967 (lower_omp_taskreg): Do not emit phony constructs.
7968 (lower_omp_teams): Likewise.
7969 (lower_omp_grid_body): New function.
7970 (lower_omp_1): Call it.
7971 (grid_reg_assignment_to_local_var_p): New function.
7972 (grid_seq_only_contains_local_assignments): Likewise.
7973 (grid_find_single_omp_among_assignments_1): Likewise.
7974 (grid_find_single_omp_among_assignments): Likewise.
7975 (grid_find_ungridifiable_statement): Likewise.
7976 (grid_target_follows_gridifiable_pattern): Likewise.
7977 (grid_remap_prebody_decls): Likewise.
7978 (grid_copy_leading_local_assignments): Likewise.
7979 (grid_process_kernel_body_copy): Likewise.
7980 (grid_attempt_target_gridification): Likewise.
7981 (grid_gridify_all_targets_stmt): Likewise.
7982 (grid_gridify_all_targets): Likewise.
7983 (execute_lower_omp): Call grid_gridify_all_targets.
7984 (make_gimple_omp_edges): Handle GIMPLE_OMP_GRID_BODY.
7985 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__GRIDDIM_.
7986 (tree_omp_clause): Added union field dimension.
7987 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE__GRIDDIM_.
7988 * tree.c (omp_clause_num_ops): Added number of arguments of
7989 OMP_CLAUSE__GRIDDIM_.
7990 (omp_clause_code_name): Added name of OMP_CLAUSE__GRIDDIM_.
7991 (walk_tree_1): Handle OMP_CLAUSE__GRIDDIM_.
7992 * tree.h (OMP_CLAUSE_GRIDDIM_DIMENSION): New.
7993 (OMP_CLAUSE_SET_GRIDDIM_DIMENSION): Likewise.
7994 (OMP_CLAUSE_GRIDDIM_SIZE): Likewise.
7995 (OMP_CLAUSE_GRIDDIM_GROUP): Likewise.
7996 * passes.def: Schedule pass_ipa_hsa and pass_gen_hsail.
7997 * tree-pass.h (make_pass_gen_hsail): Declare.
7998 (make_pass_ipa_hsa): Likewise.
7999 * ipa-hsa.c: New file.
8000 * lto-section-in.c (lto_section_name): Add hsa section name.
8001 * lto-streamer.h (lto_section_type): Add hsa section.
8002 * timevar.def (TV_IPA_HSA): New.
8003 * hsa-brig-format.h: New file.
8004 * hsa-brig.c: New file.
8005 * hsa-dump.c: Likewise.
8006 * hsa-gen.c: Likewise.
8007 * hsa.c: Likewise.
8008 * hsa.h: Likewise.
8009 * toplev.c (compile_file): Call hsa_output_brig.
8010 * hsa-regalloc.c: New file.
8011
8012 2016-01-18 Jeff Law <law@redhat.com>
8013
8014 PR tree-optimization/69320
8015 * tree-ssa-dom.c (record_edge_info): For comparisons against a boolean
8016 ranged object, do nothing if the RHS constant is not [0..1].
8017 (optimize_stmt): Comparing a boolean ranged object against a
8018 constant outside [0..1] results in a compile-time constant.
8019
8020 * tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary
8021 test.
8022
8023 2016-01-18 Sandra Loosemore <sandra@codesourcery.com>
8024
8025 * doc/invoke.texi (Invoking GCC): Add new section to menu.
8026 (Option Summary): Update to reflect new section and moved options.
8027 (C++ Dialect Options): Move -fstats to new section.
8028 (Debugging Options): Move all dump, statistics, and other GCC
8029 developer options to new section. Rewrite section introduction
8030 and re-order remaining options to put the more basic ones first.
8031 (Optimization Options): Move -fira-verbose and -flto-report* to
8032 new section.
8033 (Developer Options): New section incorporating moved options.
8034 * doc/cppopts.texi (-dM): Update cross-reference.
8035
8036 2016-01-18 Richard Henderson <rth@redhat.com>
8037
8038 PR target/69176
8039 * config/aarch64/aarch64.md (add<GPI>3): Move long immediate
8040 operands to pseudo only if CSE is expected. Split long immediate
8041 operands only after reload, and for the stack pointer.
8042 (*add<GPI>3_pluslong): Remove.
8043 (*addsi3_aarch64, *adddi3_aarch64): Merge into...
8044 (*add<GPI>3_aarch64): ... here. Add r/rk/Upl alternative.
8045 (*addsi3_aarch64_uxtw): Add r/rk/Upl alternative.
8046 (*add<GPI>3 peepholes): New.
8047 (*add<GPI>3 splitters): New.
8048 * config/aarch64/constraints.md (Upl): New.
8049 * config/aarch64/predicates.md (aarch64_pluslong_strict_immedate): New.
8050
8051 2016-01-18 Richard Biener <rguenther@suse.de>
8052
8053 PR tree-optimization/69297
8054 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Count each scalar
8055 stmt at most once.
8056 (vect_bb_vectorization_profitable_p): Clear visited flag again.
8057
8058 2016-01-18 Yuri Rumyantsev <ysrumyan@gmail.com>
8059
8060 PR middle-end/68542
8061 * fold-const.c (fold_binary_op_with_conditional_arg): Bail out for case
8062 of mixind vector and scalar types.
8063 (fold_relational_const): Add handling of vector
8064 comparison with boolean result.
8065 * tree-cfg.c (verify_gimple_comparison): Add argument CODE, allow
8066 comparison of vector operands with boolean result for EQ/NE only.
8067 (verify_gimple_assign_binary): Adjust call for verify_gimple_comparison.
8068 (verify_gimple_cond): Likewise.
8069 * tree-vrp.c (extract_code_and_val_from_cond_with_ops): Modify check on
8070 valid type of VAL.
8071
8072 2016-01-18 Joseph Myers <joseph@codesourcery.com>
8073
8074 * config/mips/mips.h (ISA_HAS_PAIRED_SINGLE): Require
8075 !TARGET_OCTEON.
8076
8077 2016-01-18 Richard Biener <rguenther@suse.de>
8078
8079 PR middle-end/69308
8080 * gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
8081
8082 2016-01-18 Tom de Vries <tom@codesourcery.com>
8083
8084 * passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
8085
8086 2016-01-18 Tom de Vries <tom@codesourcery.com>
8087
8088 * omp-low.c (set_oacc_fn_attrib): Make extern.
8089 * omp-low.h (set_oacc_fn_attrib): Declare.
8090 * tree-parloops.c (struct reduction_info): Add reduc_addr field.
8091 (create_call_for_reduction_1): Handle case that reduc_addr is non-NULL.
8092 (create_parallel_loop, gen_parallel_loop, try_create_reduction_list):
8093 Add and handle function parameter oacc_kernels_p.
8094 (find_reduc_addr, get_omp_data_i_param): New function.
8095 (ref_conflicts_with_region, oacc_entry_exit_ok_1)
8096 (oacc_entry_exit_single_gang, oacc_entry_exit_ok): New function.
8097 (parallelize_loops): Add and handle function parameter oacc_kernels_p.
8098 Calculate dominance info. Skip loops that are not in a kernels region
8099 in oacc_kernels_p mode. Skip inner loops of parallelized loops.
8100 (pass_parallelize_loops::execute): Call parallelize_loops with
8101 oacc_kernels_p argument.
8102 (pass_parallelize_loops::clone, pass_parallelize_loops::set_pass_param):
8103 New member function.
8104 (pass_parallelize_loops::bool oacc_kernels_p): New member var.
8105 * passes.def: Add argument to pass_parallelize_loops instantation.
8106
8107 2016-01-18 Tom de Vries <tom@codesourcery.com>
8108
8109 * tree-parloops.c (pass_parallelize_loops::execute): Allow
8110 pass_parallelize_loops to be run outside the loop pipeline.
8111
8112 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
8113
8114 * tree-scalar-evolution.c (follow_copies_to_constant): New.
8115 (analyze_initial_condition, analyze_scalar_evolution_1): Call previous.
8116
8117 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
8118
8119 PR target/63679
8120 * tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
8121 using get_ref_base_and_extent.
8122 (equal_mem_array_ref_p): New.
8123 (hashable_expr_equal_p): Add call to previous.
8124
8125 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
8126
8127 PR target/63679
8128 * tree-sra.c (disqualified_constants, constant_decl_p): New.
8129 (sra_initialize): Allocate disqualified_constants.
8130 (sra_deinitialize): Free disqualified_constants.
8131 (disqualify_candidate): Update disqualified_constants when appropriate.
8132 (create_access): Scan for constant-pool entries as we go along.
8133 (scalarizable_type_p): Add check against type_contains_placeholder_p.
8134 (maybe_add_sra_candidate): Allow constant-pool entries.
8135 (load_assign_lhs_subreplacements): Bind debug for constant pool vars.
8136 (initialize_constant_pool_replacements): New.
8137 (sra_modify_assign): Avoid mangling assignments created by previous,
8138 and don't generate writes into constant pool.
8139 (sra_modify_function_body): Call initialize_constant_pool_replacements.
8140
8141 2016-01-18 Ilya Enkovich <enkovich.gnu@gmail.com>
8142
8143 * config/i386/i386.c (scalar_to_vector_candidate_p): Support
8144 andnot instruction.
8145 (scalar_chain::convert_op): Likewise.
8146 * config/i386/i386.md (*andndi3_doubleword): New.
8147
8148 2016-01-18 Richard Biener <rguenther@suse.de>
8149
8150 PR tree-optimization/69170
8151 * tree-vect-slp.c (vect_build_slp_tree): Verify we are not
8152 building a vector from scalar results of a pattern stmt.
8153
8154 2016-01-18 Jakub Jelinek <jakub@redhat.com>
8155
8156 * haifa-sched.c (autopref_multipass_init): Work around
8157 -Wmaybe-uninitialized warning.
8158
8159 2016-01-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
8160
8161 * config/arm/arm.c (thumb1_reorg): Check that the comparison is
8162 against the constant 0.
8163
8164 2016-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
8165
8166 PR tree-optimization/68799
8167 * gimple-ssa-strength-reduction.c (create_phi_basis): Directly
8168 look up phi candidates in the statement-candidate map.
8169 (phi_add_costs): Likewise.
8170 (record_phi_increments): Likewise.
8171 (phi_incr_cost): Likewise.
8172 (ncd_with_phi): Likewise.
8173 (all_phi_incrs_profitable): Likewise.
8174
8175 2016-01-17 Jakub Jelinek <jakub@redhat.com>
8176
8177 * omp-low.c (mark_loops_in_oacc_kernels_region): Work around
8178 -Wmaybe-uninitialized warning.
8179
8180 2016-01-16 Sandra Loosemore <sandra@codesourcery.com>
8181
8182 * doc/invoke.texi (Invoking GCC): Add new section to menu.
8183 (Option Summary): Update to reflect new section and moved options.
8184 (C++ Dialect Options): Move -fvtable-verify and related options.
8185 (Debugging Options): Move Sanitizer, Pointer Bounds Checker,
8186 and profiling-related options.
8187 (Optimization Options): Move profile generation options and
8188 -fstack-protector and related options.
8189 (Instrumentation Options): New section incorporating moved options.
8190 (Code Generation Options): Move -finstrument-functions and
8191 related options, -fstack-check, -fstack-limit*, and -fbounds-check.
8192
8193 2016-01-16 Tom de Vries <tom@codesourcery.com>
8194
8195 * passes.def: Move pass_expand_omp_ssa out of pass_parallelize_loops.
8196
8197 2016-01-16 Tom de Vries <tom@codesourcery.com>
8198
8199 * omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
8200
8201 2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
8202
8203 * hash-table.h (hash_table::empty): Turn into an inline wrapper
8204 that checks whether the table is already empty. Rename the
8205 original implementation to...
8206 (hash_table::empty_slot): ...this new private function.
8207
8208 2016-01-15 David Malcolm <dmalcolm@redhat.com>
8209
8210 PR diagnostic/68899
8211 * diagnostic-show-locus.c (layout::print_source_line): Move x
8212 offset of line until after call to
8213 get_line_width_without_trailing_whitespace.
8214
8215 2016-01-15 Jeff Law <law@redhat.com>
8216
8217 PR tree-optimization/69270
8218 * tree-ssanames.c (ssa_name_has_boolean_range): Moved here from
8219 tree-ssa-dom.c. Improve test for [0..1] ranve from VRP.
8220 * tree-ssa-dom.c (ssa_name_has_boolean_range): Remove.
8221 * tree-ssanames.h (ssa_name_has_boolean_range): Prototype.
8222 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
8223 ssa_name_has_boolean_range and constant_boolean_node.
8224
8225 2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
8226
8227 PR rtl-optimization/69030
8228 * lra-spills.c (remove_pseudos): Check nrefs and make the function
8229 returning bool.
8230 (spill_pseudos): Delete debug insn for dead pseudo.
8231 (lra_spill): Initiate spill_hard_reg and slots memory separately.
8232
8233 2016-01-15 Jiong Wang <jiong.wang@arm.com>
8234
8235 * config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
8236 New.
8237 (TYPES_UNOPUS): Likewise.
8238 * config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
8239 builtin type, from UNOP to UNOPUS.
8240 (lbtruncuv4sf): Likewise.
8241 (lbtruncuv2df): Likewise.
8242 (lrounduv2sf): Likewise.
8243 (lrounduv4sf): Likewise.
8244 (lrounduv2df): Likewise.
8245 (lroundusf): Likewise.
8246 (lroundusf): Likewise.
8247 (lceiluv2sf): Likewise.
8248 (lceiluv4sf): Likewise.
8249 (lceiluv2df): Likewise.
8250 (lceilusf): Likewise.
8251 (lceiludf): Likewise.
8252 (lflooruv2sf): Likewise.
8253 (lflooruv4sf): Likewise.
8254 (lflooruv2df): Likewise.
8255 (lfloorusf): Likewise.
8256 (lfloorudf): Likewise.
8257 (lfrintnuv2sf): Likewise.
8258 (lfrintnuv4sf): Likewise.
8259 (lfrintnuv2df): Likewise.
8260 (lfrintnusf): Likewise.
8261 (lfrintnudf): Likewise.
8262 * config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
8263 conversion.
8264 (vcvtq_u32_f32): Likewise.
8265 (vcvtq_u64_f64): Likewise.
8266 (vcvta_u32_f32): Likewise.
8267 (vcvtaq_u32_f32): Likewise.
8268 (vcvtaq_u64_f64): Likewise.
8269 (vcvtm_u32_f32): Likewise.
8270 (vcvtmq_u32_f32): Likewise.
8271 (vcvtmq_u64_f64): Likewise.
8272 (vcvtn_u32_f32): Likwise.
8273 (vcvtnq_u32_f32): Likewise.
8274 (vcvtnq_u64_f64): Likewise.
8275 (vcvtp_u32_f32): Likewise.
8276 (vcvtpq_u32_f32): Likewise.
8277 (vcvtpq_u64_f64): Likewise.
8278 (vcvtmd_u64_f64): Likewise.
8279 (vcvtms_u32_f32): Likewise.
8280 (vcvtad_u64_f64): Likewise.
8281 (vcvtas_u32_f32): Likewise.
8282 (vcvtnd_u64_f64): Likewise.
8283 (vcvtns_u32_f32): Likewise.
8284 (vcvtpd_u64_f64): Likewise.
8285 (vcvtps_u32_f32): Likewise.
8286
8287 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8288
8289 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
8290 CSEL of zero_extended registers.
8291
8292 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8293
8294 * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
8295 Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
8296
8297 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8298
8299 * config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
8300 false when argument string is not found in the attributes table
8301 at all.
8302
8303 2016-01-15 David Edelsohn <dje.gcc@gmail.com>
8304
8305 PR target/68609
8306 * config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
8307 (rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
8308 * config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
8309 precision estimate.
8310
8311 2016-01-15 Richard Biener <rguenther@suse.de>
8312
8313 PR tree-optimization/66856
8314 * tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
8315 * tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
8316 (vect_create_new_slp_node): Increment stmt reference count.
8317 (vect_get_and_check_slp_defs): Make sure stmts are nor already in
8318 an SLP tree before swapping operands.
8319 (vect_build_slp_tree): Likewise.
8320 (destroy_bb_vec_info): Free stmt info after SLP instances.
8321 * tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
8322 * tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
8323 (STMT_VINFO_NUM_SLP_USES): New macro.
8324
8325 2016-01-15 Richard Biener <rguenther@suse.de>
8326
8327 PR debug/69137
8328 * dwarf2out.c (add_linkage_name_raw): New function split out from ...
8329 (add_linkage_name): ... here.
8330 (gen_typedef_die): Use add_linkage_name_raw instead of
8331 add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
8332 if necessary.
8333
8334 2016-01-15 Cesar Philippidis <cesar@codesourcery.com>
8335
8336 * gimplify.c (oacc_default_clause): Decode reference and pointer
8337 types for both kernels and parallel regions.
8338
8339 2016-01-15 Richard Sandiford <richard.sandiford@arm.com>
8340
8341 PR middle-end/69246
8342 * calls.c (emit_call_1): Force n_popped to zero for sibcalls.
8343
8344 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
8345
8346 * config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
8347 (convert_scalars_to_vector): Likewise.
8348
8349 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
8350
8351 * doc/extend.texi (Type Traits): Fix grammar.
8352
8353 2016-01-15 Martin Jambor <mjambor@suse.cz>
8354
8355 * tree-inline.c (remap_decl): Use existing dclarations if
8356 remapping a type and prevent_decl_creation_for_types.
8357 (replace_locals_stmt): Do an initial remapping of non-VLA typed
8358 decls first. Do real remapping with
8359 prevent_decl_creation_for_types set.
8360 * tree-inline.h (copy_body_data): New field
8361 prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
8362 padding.
8363
8364 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
8365
8366 * config/s390/s390.opt (mmvcle): More verbose help text.
8367
8368 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
8369
8370 * config/s390/s390.opt: Add period to -mzvector option text.
8371
8372 2016-01-15 Richard Biener <rguenther@suse.de>
8373
8374 PR tree-optimization/68961
8375 * tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
8376 of invariants in stores again.
8377
8378 2016-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
8379
8380 * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
8381
8382 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
8383
8384 * config/i386/i386.c (ix86_expand_branch): Don't split
8385 DI mode xor instruction to SI mode.
8386
8387 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
8388
8389 PR ipa/68148
8390 * ipa-icf.c (sem_function::merge): Virtual functions may become
8391 reachable even if they address is not taken and there are no
8392 idrect calls.
8393
8394 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
8395
8396 * lto-streamer-out.c (subtract_estimated_size): New function.
8397 (get_symbol_initial_value): Use it.
8398
8399 2016-01-15 Christian Bruel <christian.bruel@st.com>
8400
8401 PR target/65837
8402 * config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
8403 (arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
8404 (arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
8405 use add_builtin_function_ext_scope instead of add_builtin_function.
8406 (neon_set_p, neon_crypto_set_p): Remove.
8407 (arm_init_builtins): Always call arm_init_neon_builtins and
8408 arm_init_crypto_builtins.
8409 (arm_expand_builtin): Check that builtins are allowed for the arch.
8410 * config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
8411 * config/arm/arm.c (arm_valid_target_attribute_tree): Remove
8412 arm_init_neon_builtins call.
8413
8414 2016-01-15 Richard Biener <rguenther@suse.de>
8415
8416 PR tree-optimization/69117
8417 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
8418 * tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
8419 of the leader conservatively.
8420 (free_scc_vn): Restore original SSA name infos.
8421
8422 2016-01-14 Jeff Law <law@redhat.com>
8423
8424 PR tree-optimization/69270
8425 * tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
8426 single bit of precision, verify it's also unsigned.
8427 (record_edge_info): Use constant_boolean_node rather than fold_convert
8428 to convert boolean_true/boolean_false to the right type.
8429
8430 2016-01-14 Richard Henderson <rth@redhat.com>
8431
8432 PR rtl-opt/69014
8433 * loop-doloop.c (record_reg_sets): New.
8434 (doloop_optimize): Reject the transform if the sequence
8435 clobbers registers live at the end of the loop block.
8436 (doloop_optimize_loops): Enable df_live if needed.
8437
8438 2016-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
8439
8440 * config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
8441 * gcc/config/rs6000/rs6000.c: Likewise.
8442 * gcc/config/rs6000/rs6000.h: Likewise.
8443 * gcc/config/rs6000/rs6000.md: Likewise.
8444 * gcc/doc/extend.texi: Likewsie.
8445
8446 2016-01-14 Jeff Law <law@redhat.com>
8447
8448 * tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
8449 typo.
8450
8451 2016-01-14 Richard Henderson <rth@redhat.com>
8452
8453 PR c/69272
8454 PR tree-opt/68964
8455 * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
8456 * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
8457 instead of builtin_decl_declared_p to test for declaration.
8458
8459 2016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
8460
8461 * doc/loop.texi (Loop Analysis and Representation): Document
8462 loop_depth function.
8463
8464 2016-01-14 Tom de Vries <tom@codesourcery.com>
8465
8466 PR tree-optimization/68773
8467 * omp-low.c (expand_omp_target): Don't set force_output.
8468 * varpool.c (varpool_node::get_create): Same.
8469 * lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
8470 offload_funcs with force_output.
8471
8472 2016-01-14 Jakub Jelinek <jakub@redhat.com>
8473
8474 PR debug/69244
8475 * lra-eliminations.c (move_plus_up): Don't change anything if either
8476 the outer or inner subreg mode is not MODE_INT.
8477 * dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
8478 integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
8479
8480 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
8481
8482 * doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
8483 reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
8484 reduc_uplus_@var{m}): Remove.
8485 * expr.c (expand_expr_real_2): Remove expansion path for
8486 reduc_[us](min|max|plus) optabs.
8487 * optabs-tree.c (scalar_reduc_to_vector): Remove.
8488 * optabs-tree.h (scalar_reduc_to_vector): Remove.
8489 * optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
8490 reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
8491 * tree-vect-loop.c (vectorizable_reduction): Remove test for
8492 reduc_[us](min|max|plus) optabs.
8493
8494 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
8495
8496 * config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
8497 (reduc_plus_scal_v2sf): New.
8498 (reduc_smax_v2sf): Rename to...
8499 (reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
8500 (reduc_smin_v2sf): Rename to...
8501 (reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
8502
8503 2016-01-14 Jan Hubicka <hubicka@ucw.cz>
8504
8505 * alias.c (compare_base_symbol_refs): New function.
8506 (rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
8507 it.
8508
8509 2016-01-14 Jakub Jelinek <jakub@redhat.com>
8510
8511 PR middle-end/68146
8512 PR tree-optimization/69155
8513 * tree-complex.c: Include cfganal.h.
8514 (phis_to_revisit): New variable.
8515 (extract_component): Add phiarg_p argument. Assert that returned
8516 SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
8517 (update_phi_components): Partly rewrite to use loop over real/imag
8518 components instead of code duplication. If extract_component returns
8519 SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
8520 create_tmp_reg into the PHI node instead, and mention the phi triplet
8521 in phis_to_revisit.
8522 (tree_lower_complex): Walk bbs in rpo order. Adjust phis recorded
8523 in phis_to_revisit at the end.
8524
8525 2016-01-14 Richard Biener <rguenther@suse.de>
8526
8527 PR tree-optimization/68060
8528 * tree-vect-loop.c (vect_is_simple_reduction): Check the
8529 outer loop reduction is only used in the inner loop before
8530 detecting a double reduction.
8531
8532 2016-01-14 Jakub Jelinek <jakub@redhat.com>
8533
8534 PR target/68269
8535 * combine.c (expand_field_assignment): Punt if compute_mode is
8536 unsupported scalar mode.
8537
8538 2016-01-14 Richard Biener <rguenther@suse.de>
8539
8540 PR tree-optimization/66856
8541 * tree-vect-slp.c (vect_build_slp_tree): Refactor to build
8542 SLP node only if it built successfully.
8543 (vect_analyze_slp_instance): Adjust.
8544
8545 2016-01-14 Jeff Law <law@redhat.com>
8546
8547 PR tree-optimization/69270
8548 * tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
8549 (record_edge_info): Use it. Convert boolean_{true,false}_node
8550 to the type of op0.
8551
8552 2016-01-13 Jan Hubicka <hubicka@ucw.cz>
8553
8554 PR ipa/66487
8555 * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
8556 use block_ultimate_origin
8557 (noncall-stmt_may_be_vtbl_ptr_store): Likewise.
8558
8559 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
8560
8561 * doc/invoke.texi (Submodel Options): Rename section to
8562 "Machine-Dependent Options" to better reflect its content.
8563 Rewrite introductory text to remove archaic CPU names.
8564 Update references.
8565
8566 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
8567
8568 * doc/invoke.texi (Code Gen Options): Move section up in file,
8569 before target-specific options. Update menu and option summary
8570 to reflect the new section ordering.
8571
8572 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
8573
8574 * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
8575 (C++ Dialect Options): Add cross-reference to -std option.
8576 * doc/standards.texi (C++ Language): Document C++14 support.
8577
8578 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
8579
8580 * config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
8581 for pack/unpack functions for __ibm128.
8582 (PACK_IF): Likewise.
8583 (UNPACK_IF): Likewise.
8584
8585 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
8586 support for __ibm128 pack/unpack functions.
8587 (rs6000_invalid_builtin): Likewise.
8588 (rs6000_init_builtins): Likewise.
8589 (rs6000_opt_masks): Likewise.
8590
8591 * config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
8592 (RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
8593 functions
8594 (RS6000_BTM_COMMON): Likewise.
8595
8596 * config/rs6000/rs6000.md (f128_vsx): New mode attribute.
8597 (unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
8598 disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
8599 128-bit floating point. Add support for the double values to be
8600 in Altivec registers for TF/IF packing and unpacking, but restrict
8601 TD packing sub-fields to be FPR registers. Don't allow overlapped
8602 register support for packing. Allow pack inputs to be memory
8603 locations. Don't build generator functions for unpack<mode>_dm
8604 and unpack<mode>_nodm.
8605 (unpack<mode>_dm): Likewise.
8606 (unpack<mode>_nodm): Likewise.
8607 (pack<mode>): Likewise.
8608
8609 * config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
8610 built-in functions to pack/unpack explicit __ibm128 values.
8611 (__builtin_unpack_ibm128): Likewise.
8612
8613 * doc/extend.texi (PowerPC Built-in Functions): Document
8614 __builtin_pack_ibm128 and __builtin_unpack_ibm128.
8615
8616 2016-01-13 Bernd Schmidt <bschmidt@redhat.com>
8617
8618 PR c/66208
8619 * c-common.c (check_function_nonnull): Remove unnecessary declaration.
8620 Add new arg loc and pass it down as context.
8621 (check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
8622 to the location to use for the warning.
8623 (check_function_arguments): New arg loc. All callers changed. Pass
8624 it to check_function_nonnull.
8625 * c-common.h (check_function_arguments): Adjust declaration.
8626
8627 2016-01-13 Jakub Jelinek <jakub@redhat.com>
8628
8629 PR tree-optimization/69156
8630 * gimple.c (validate_type): Removed.
8631 (gimple_builtin_call_types_compatible_p): Use
8632 useless_type_conversion_p instead of validate_type.
8633 * value-prof.c (gimple_stringop_fixed_value): Fold
8634 icall_size to correct type.
8635
8636 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
8637
8638 * doc/extend.texi (__atomic Builtins): Clarify compare_exchange
8639 effects.
8640
8641 2016-01-13 Richard Henderson <rth@redhat.com>
8642
8643 PR tree-opt/68964
8644 * target.def (builtin_tm_load, builtin_tm_store): Remove.
8645 * config/i386/i386.c (ix86_builtin_tm_load): Remove.
8646 (ix86_builtin_tm_store): Remove.
8647 (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
8648 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
8649 * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
8650 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
8651 * doc/tm.texi: Rebuild.
8652
8653 * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
8654 (BUILT_IN_TM_MEMCPY_RTWN): New.
8655 * trans-mem.c (tm_log_emit_stmt): Rearrange code for better
8656 fallback from vector to integer helpers.
8657 (build_tm_load): Handle vector types directly, instead of
8658 via target hook.
8659 (build_tm_store): Likewise.
8660 (expand_assign_tm): Prepare for register types not handled by
8661 the above. Copy them to memory and use memcpy.
8662 * tree.c (tm_define_builtin): New.
8663 (find_tm_vector_type): New.
8664 (build_tm_vector_builtins): New.
8665 (build_common_builtin_nodes): Call it.
8666
8667 2016-01-13 Uros Bizjak <ubizjak@gmail.com>
8668
8669 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
8670 TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
8671
8672 2016-01-13 Tom de Vries <tom@codesourcery.com>
8673
8674 PR tree-optimization/69169
8675 * tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
8676 handled_struct_type param.
8677 (create_variable_info_for, intra_create_variable_infos): Call
8678 create_variable_info_for_1 with extra arg.
8679
8680 2016-01-13 Yvan Roux <yvan.roux@linaro.org>
8681
8682 * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
8683 and "armv8.1-a+crc" entries.
8684
8685 2016-01-13 Alexander Fomin <alexander.fomin@intel.com>
8686
8687 PR target/69228
8688 * config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
8689 Change first operand predicate from register_or_constm1_operand
8690 to register_operand.
8691 (define_expand "avx512pf_gatherpf<mode>df"): Likewise.
8692 (define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
8693 (define_expand "avx512pf_scatterpf<mode>df"): Likewise.
8694 (define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
8695 (define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
8696 (define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
8697 (define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
8698 * config/i386/i386.c (ix86_expand_builtin): Remove first operand
8699 comparison with constm1_rtx from vec_prefetch_gen part.
8700
8701 2016-01-13 Richard Biener <rguenther@suse.de>
8702
8703 PR tree-optimization/69013
8704 * tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
8705 Exchange assert for a test.
8706
8707 2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
8708
8709 PR target/69247
8710 * config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
8711
8712 2016-01-13 Richard Biener <rguenther@suse.de>
8713
8714 PR tree-optimization/69242
8715 * tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
8716 assert with a check.
8717
8718 2016-01-13 Richard Biener <rguenther@suse.de>
8719
8720 PR tree-optimization/69186
8721 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
8722 Properly guard vect_update_misalignment_for_peel call.
8723
8724 2016-01-12 Jeff Law <law@redhat.com>
8725
8726 PR tree-optimization/pr67755
8727 * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
8728 "need_profile_correction".
8729 (thread_block_1): Initialize new field to false by default. If we
8730 have multiple thread paths through a common joiner to different
8731 final targets, then set new field to true.
8732 (compute_path_counts): Only do count adjustment when it's really
8733 needed.
8734
8735 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
8736
8737 * doc/invoke.texi (Spec Files): Move section down in file, past
8738 all command-line option descriptions.
8739
8740 2016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
8741
8742 PR middle-end/54809
8743 * doc/gty.texi: Remove documentation of mark_hook.
8744 * gengtype.c (struct write_types_data): Remove code to support
8745 mark_hook attribute.
8746 (walk_type): Likewise.
8747 (write_func_for_structure): Likewise.
8748
8749 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
8750
8751 * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
8752 Directory Options, and -specs= to Overall Options.
8753 (Overall Options): Adjust similarly. Reorder to group related
8754 options together. Make -specs= cross-reference the spec file details.
8755 (Directory Options): Adjust similarly.
8756
8757 2016-01-12 Jeff Law <law@redhat.com>
8758
8759 * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
8760
8761 2016-01-12 Olivier Hainque <hainque@adacore.com>
8762
8763 * gcc.c (spec_undefvar_allowed): New global.
8764 (process_command): Set to true when running for --version or --help,
8765 alone or together.
8766 (getenv_spec_function): When the variable is not defined, use the
8767 variable name as the variable value if we're allowed not to issue
8768 a fatal error.
8769
8770 2016-01-12 Bin Cheng <bin.cheng@arm.com>
8771
8772 PR tree-optimization/68911
8773 * tree-vrp.c (adjust_range_with_scev): Check overflow in range
8774 information computed for expression "init + nit * step".
8775
8776 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
8777
8778 * doc/invoke.texi (Invoking GCC): Copy-edit. Incorporate information
8779 about name of GCC executable. Remove deleted node from menu.
8780 (Directory Options) <-B>: Remove cross-reference to deleted node.
8781 (Target Options): Delete section.
8782
8783 2016-01-12 Christian Bruel <christian.bruel@st.com>
8784
8785 PR target/69180
8786 * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
8787 for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
8788
8789 2016-01-12 Jakub Jelinek <jakub@redhat.com>
8790
8791 PR target/69198
8792 * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
8793 aligned_mem is properly set for AVX512-VL floating point masked
8794 stores.
8795
8796 PR target/69175
8797 * ifcvt.c (cond_exec_process_if_block): When removing the last
8798 insn from then_bb, remove also any possible barriers that follow it.
8799
8800 2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
8801
8802 PR target/68456
8803 PR target/69226
8804 * config/i386/iamcu.h (SIZE_TYPE): New macro.
8805 (PTRDIFF_TYPE): Likewise.
8806 (WCHAR_TYPE): Likewise.
8807 (WCHAR_TYPE_SIZE): Likewise.
8808 (STDINT_LONG32): Likewise.
8809
8810 2016-01-12 Richard Biener <rguenther@suse.de>
8811
8812 PR tree-optimization/69053
8813 * tree-vect-loop.c (get_initial_def_for_reduction): Properly
8814 convert initial value for cond reductions.
8815
8816 2016-01-12 Richard Biener <rguenther@suse.de>
8817
8818 PR tree-optimization/69007
8819 * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
8820 widen_sum after dot_prod and sad.
8821
8822 2016-01-12 Richard Biener <rguenther@suse.de>
8823
8824 PR tree-optimization/69168
8825 * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
8826 pattern stmt SLP type.
8827 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
8828 end up unused so cope with that case.
8829
8830 2016-01-12 Richard Biener <rguenther@suse.de>
8831
8832 PR tree-optimization/69157
8833 * tree-vect-stmts.c (vectorizable_mask_load_store): Check
8834 stmts def type only during analyze phase.
8835 (vectorizable_call): Likewise.
8836 (vectorizable_simd_clone_call): Likewise.
8837 (vectorizable_conversion): Likewise.
8838 (vectorizable_assignment): Likewise.
8839 (vectorizable_shift): Likewise.
8840 (vectorizable_operation): Likewise.
8841 (vectorizable_store): Likewise.
8842 (vectorizable_load): Likewise.
8843
8844 2016-01-12 Richard Biener <rguenther@suse.de>
8845
8846 PR tree-optimization/69174
8847 * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
8848 space.
8849 (vectorizable_load): Properly compute the number of loads needed
8850 for permuted strided SLP loads and do not spuriously assign
8851 to SLP_TREE_VEC_STMTS.
8852
8853 2016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
8854
8855 * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
8856 (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
8857 (MD_EXEC_PREFIX): Remove.
8858 (MD_STARTFILE_PREFIX) Removee.
8859 (FILE_NAME_ABSOLUTE_P): Remove.
8860 (CPP_SPEC): Do not read macros from sys/version.h.
8861 (LINK_COMMAND_SPEC): Remove.
8862 (LOCAL_INCLUDE_DIR): Remove.
8863 (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
8864 (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
8865 (POST_LINK_SPEC): Define to invoke stubify after linker
8866 (LIBSTDCXX): Remove define
8867 (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
8868 (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
8869 (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
8870 (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
8871 (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
8872 (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
8873 (i386_djgpp_asm_named_section): Add propotype of new procedure
8874
8875 * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
8876 (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
8877 (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX
8878 in config/i386/djgpp.h).
8879 (STANDARD_STARTFILE_PREFIX_2): Define identical to
8880 STANDARD_STARTFILE_PREFIX_1.
8881 (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
8882 (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal
8883 installation errors.
8884 (MAX_OFILE_ALIGNMENT): Define to 128.
8885 (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
8886
8887 * config/i386/djgpp.c: New file. Add implementation of
8888 i386_djgpp_asm_named_section.
8889
8890 * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
8891
8892 * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
8893 Add rule for building djgpp.o.
8894
8895 2016-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
8896
8897 * config/rs6000/rs6000.c (v2df_reduction_p): New function.
8898 (rtx_is_swappable_p): Reductions are swappable.
8899 (insn_is_swappable_p): V2DF reductions are swappable.
8900
8901 2016-01-11 John David Anglin <danglin@gcc.gnu.org>
8902
8903 * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
8904 reloads for other unsupported memory operands.
8905
8906 2016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
8907 Jim Wilson <jim.wilson@linaro.org>
8908
8909 PR target/69194
8910 * config/arm/arm-builtins.c (arm_expand_neon_args): Call
8911 copy_to_mode_reg instead of force_reg.
8912
8913 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
8914
8915 PR target/69225
8916 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
8917 TARGET_80387 is true.
8918
8919 2016-01-11 Jakub Jelinek <jakub@redhat.com>
8920
8921 PR target/69071
8922 * lra-eliminations.c (move_plus_up): Only move plus up
8923 if subreg of the constant can be simplified into constant
8924 and use the simplified subreg of the constant instead of
8925 the original constant.
8926
8927 * fold-const.c (fold_convertible_p): Don't return true
8928 for conversion of VECTOR_TYPE to same sized integral type.
8929 (fold_convert_loc): Fix up formatting. Fold conversion of
8930 VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
8931 instead of NOP_EXPR.
8932
8933 PR tree-optimization/69214
8934 * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
8935 innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
8936 Formatting fix.
8937
8938 PR tree-optimization/69207
8939 * tree-vect-slp.c (vect_get_constant_vectors): For
8940 VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
8941 fold_convertible_p to vector_type's element type, and always
8942 use VCE for non-VECTOR_BOOLEAN_TYPE_P.
8943
8944 2016-01-11 Richard Biener <rguenther@suse.de>
8945
8946 PR tree-optimization/69173
8947 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
8948 fixup the cycle if all stmts are in a pattern.
8949
8950 2016-01-11 Uros Bizjak <ubizjak@gmail.com>
8951
8952 PR middle-end/68999
8953 * alias.c (base_alias_check): Move check for addresses with
8954 alignment ANDs before the call for compare_base_decls.
8955 (memrefs_conflict_p): Return -1 for different decls
8956 that went through alignment adjustments.
8957
8958 2016-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8959
8960 PR rtl-optimization/68796
8961 * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
8962 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
8963 and QImode comparisons against zero with CC_NZmode.
8964 * config/aarch64/iterators.md (short_mask): New mode_attr.
8965
8966 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
8967
8968 * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
8969 (<avx512>_store<mode>_mask): Likewise.
8970
8971 2016-01-11 Bernd Schmidt <bschmidt@redhat.com>
8972 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
8973
8974 PR rtl-optimization/68841
8975 * ifcvt.c (struct noce_if_info): Add orig_x field.
8976 (bbs_ok_for_cmove_arith): Add to_rename parameter.
8977 Don't record conflicts on to_rename if it's present.
8978 Allow memory destinations in sets.
8979 (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
8980 blocks, passing orig_x to the checks.
8981 (noce_process_if_block): Set if_info->orig_x appropriately.
8982
8983 2016-01-11 Tom de Vries <tom@codesourcery.com>
8984
8985 PR tree-optimization/69069
8986 * tree-parloops.c (create_parallel_loop): Add missing phi args.
8987
8988 2016-01-11 Yuri Rumyantsev <ysrumyan@gmail.com>
8989
8990 PR rtl-optimization/68920
8991 * config/i386/i386.c (ix86_option_override_internal): Restrict number
8992 of conditional moves for RTL if-conversion to 1 for
8993 TARGET_ONE_IF_CONV_INSN.
8994 * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
8995 * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
8996 * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
8997 parameter to restirct number of conditional moves for
8998 RTL if-conversion.
8999 * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
9000 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
9001 conditionl moves.
9002
9003 2016-01-11 Alexandre Oliva <aoliva@redhat.com>
9004
9005 PR bootstrap/69123
9006 * var-tracking.c (drop_overlapping_mem_locs): Operate on all
9007 onepart vars. Fix typo in comment. Fix reversed condition in
9008 unshare test.
9009 (dataflow_set_remove_mem_locs): Operate on all onepart vars.
9010
9011 PR bootstrap/69123
9012 * var-tracking.c (dump_onepart_variable_differences): New.
9013 (dataflow_set_different): If a detailed dump is requested,
9014 delay early returns and dump differences between onepart
9015 variables present before and after, and added variables.
9016
9017 2016-01-11 Ilya Enkovich <enkovich.gnu@gmail.com>
9018
9019 PR target/69010
9020 * expr.c (expand_expr_real_1): For boolean vector constants
9021 with a scalar mode use const_scalar_mask_from_tree.
9022 (const_scalar_mask_from_tree): New.
9023 * optabs.c (expand_vec_cond_mask_expr): Use mask mode
9024 assigned to a mask type to handle constants.
9025
9026 2016-01-11 Martin Jambor <mjambor@suse.cz>
9027
9028 PR ipa/69044
9029 * ipa-cp.c (estimate_local_effects): Do not clone for removal of
9030 useless parameters if we cannot change function signature.
9031
9032 2016-01-11 Martin Jambor <mjambor@suse.cz>
9033
9034 PR ipa/66616
9035 * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
9036 flag.
9037
9038 2016-01-11 Tom de Vries <tom@codesourcery.com>
9039
9040 PR tree-optimization/69109
9041 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
9042 latch with phi.
9043
9044 2016-01-11 Tom de Vries <tom@codesourcery.com>
9045
9046 PR tree-optimization/69108
9047 * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
9048 res is not used in a phi.
9049
9050 2016-01-11 Yury Gribov <y.gribov@samsung.com>
9051
9052 PR 67425
9053 * common.opt (frandom-seed): Fix parameter name.
9054 * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
9055
9056 2016-01-11 Tom de Vries <tom@codesourcery.com>
9057
9058 PR tree-optimization/69058
9059 * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
9060 not supported.
9061
9062 2016-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
9063
9064 * config/arc/arc.opt (mdiv-rem): Add period to the end.
9065 (mcode-density): Likewise.
9066
9067 2016-01-10 Tom de Vries <tom@codesourcery.com>
9068
9069 PR tree-optimization/69062
9070 * tree-parloops.c (loop_has_phi_with_address_arg): New function.
9071 (parallelize_loops): Don't paralelize loop that has phi with address
9072 arg.
9073
9074 2016-01-10 Tom de Vries <tom@codesourcery.com>
9075
9076 PR tree-optimization/69039
9077 * tree-parloops.c (try_create_reduction_list): Only allow single exit
9078 phi for reduction.
9079
9080 2016-01-09 John David Anglin <danglin@gcc.gnu.org>
9081
9082 PR middle-end/68743
9083 * match.pd: Require target has function_c99_misc before doing
9084 truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
9085
9086 2016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
9087
9088 * configure.ac (isl_options_set_schedule_serialize_sccs): Also
9089 use GMPINC.
9090 * configure: Regenerate.
9091
9092 2016-01-09 Jakub Jelinek <jakub@redhat.com>
9093
9094 PR middle-end/50865
9095 PR tree-optimization/69097
9096 * fold-const.h (expr_not_equal_to): New prototype.
9097 * fold-const.c: Include stringpool.h and tree-ssanames.h.
9098 (expr_not_equal_to): New function.
9099 * match.pd (X % -Y is the same as X % Y): Don't optimize
9100 unless X is known not to be equal to minimum or Y is known
9101 not to be equal to -1.
9102 * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
9103 fold TRUNC_MOD_EXPR if the second argument is not a power of two.
9104 (simplify_stmt_using_ranges): Adjust caller.
9105 (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
9106 substitute_and_fold.
9107
9108 2016-01-09 Jan Hubicka <hubicka@ucw.cz>
9109
9110 * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
9111 w/o DECL_NAME.
9112
9113 2016-01-08 Jakub Jelinek <jakub@redhat.com>
9114
9115 PR tree-optimization/69167
9116 * gimple-fold.c (replace_stmt_with_simplification): Also punt if
9117 new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
9118 ops[0] comparison.
9119 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
9120
9121 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
9122 Richard Biener <rguenther@suse.de>
9123
9124 PR tree-optimization/68707
9125 * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
9126 instances that can be handled via vect_load_lanes.
9127
9128 2016-01-08 Uros Bizjak <ubizjak@gmail.com>
9129
9130 * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
9131 if we can't determine address equivalence.
9132 * alias.c (compare_base_decl): Update for changed return value of
9133 symtab_node::equal_address_to.
9134
9135 2016-01-08 Jason Merrill <jason@redhat.com>
9136
9137 PR c++/68983
9138 PR c++/67557
9139 * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
9140 * expr.c (store_field): Not here.
9141 * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
9142 call with TREE_ADDRESSABLE type.
9143 * tree-cfg.c (verify_gimple_call): Adjust.
9144
9145 2016-01-08 Olivier Hainque <hainque@adacore.com>
9146
9147 * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
9148 libc_internal.
9149
9150 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
9151
9152 * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
9153 (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
9154 (reduc_smin_v2sf): Rename to...
9155 (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
9156 (reduc_splus_v2sf): Rename to...
9157 (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
9158
9159 2016-01-08 Jakub Jelinek <jakub@redhat.com>
9160
9161 PR tree-optimization/69162
9162 * gimplify.c (gimplify_va_arg_expr): Encode original type of
9163 valist argument in another argument.
9164 (gimplify_modify_expr): Adjust for the above change. Cleanup.
9165 * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
9166 to determine the va_list type, build a MEM_REF instead of
9167 build_fold_indirect_ref.
9168
9169 PR tree-optimization/69172
9170 * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
9171 gimple_build.
9172
9173 2016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
9174
9175 PR tree-optimization/67781
9176 * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
9177 and cmpnop in two steps: first the ones not accessed in original
9178 gimple expression in a endian independent way and then the ones not
9179 accessed in the final result in an endian-specific way.
9180
9181 2016-01-08 Jakub Jelinek <jakub@redhat.com>
9182
9183 PR tree-optimization/69083
9184 * tree-vect-slp.c (vect_get_constant_vectors): For
9185 VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
9186 element type. If op is fold_convertible_p to vector_type's element
9187 type, use NOP_EXPR instead of VCE.
9188
9189 2016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
9190
9191 PR rtl-optimization/67778
9192 PR rtl-optimization/68634
9193 PR rtl-optimization/68909
9194 * shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
9195 block from the stack until done with it. Remove a superfluous
9196 bitmap set. Remove a superfluous bitmap test.
9197
9198 2016-01-07 Martin Sebor <msebor@redhat.com>
9199
9200 PR c/68966
9201 * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
9202 constraint on the type of arguments.
9203
9204 2016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
9205
9206 * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
9207 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
9208 unaligned_access on the gcc_options set.
9209 * config/arm/arm.c (arm_option_override_internal): Use
9210 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
9211
9212 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
9213
9214 PR target/69140
9215 * config/i386/i386.c (ix86_frame_pointer_required): Enable
9216 frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
9217
9218 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
9219
9220 Revert
9221 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
9222
9223 PR target/69140
9224 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
9225 depending on frame_pointer_needed before remaining integer and SSE
9226 registers are saved.
9227
9228 2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
9229
9230 PR 1078
9231 * doc/extend.texi (Nvidia PDX Function Attributes): New section.
9232
9233 2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
9234
9235 PR target/69171
9236 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
9237 Use the "xBm" constraint.
9238 (float<sseintvecmodelower><mode>2<mask_name><round_name):
9239 Likewise.
9240 (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
9241 (sse_cvtsi2ssq<round_name>): Likewise.
9242 (sse_cvtss2si<round_name>): Likewise.
9243 (sse_cvtss2siq<round_name>): Likewise.
9244 (sse2_cvtsi2sdq<round_name>): Likewise.
9245 (sse2_cvtsd2si<round_name>): Likewise.
9246 (sse2_cvtsd2siq<round_name>): Likewise.
9247 * config/i386/subst.md (round_nimm_scalar_predicate): New
9248 predicate.
9249
9250 2015-12-15 Bernd Schmidt <bschmidt@redhat.com>
9251
9252 PR middle-end/67639
9253 * varasm.c (make_decl_rtl): Mark invalid register vars as
9254 DECL_EXTERNAL.
9255
9256 PR rtl-optimization/66206
9257 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
9258 All callers changed.
9259
9260 2016-01-07 Jakub Jelinek <jakub@redhat.com>
9261
9262 PR tree-optimization/69141
9263 * tree-ssa-pre.c: Include langhooks.h.
9264 (eliminate_dom_walker::before_dom_children): Use
9265 lang_hooks.decl_printable_name instead of
9266 cgraph_node::get ()->name ().
9267
9268 PR middle-end/68960
9269 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
9270 it and DECL_ALIGN too.
9271
9272 2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
9273
9274 * config/mips/mips-ftypes.def: Sort to lexicographical order.
9275
9276 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
9277
9278 PR target/69140
9279 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
9280 depending on frame_pointer_needed before remaining integer and SSE
9281 registers are saved.
9282
9283 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
9284
9285 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
9286 mode iterator with VSX_M2.
9287 (*p9_vecstore_<mode>): Likewise.
9288 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
9289 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
9290 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
9291 (define_split for VSX_LE128 stores): Likewise.
9292 (define_peephole2 for TImode LE swaps): Likewise.
9293 (define_split for VSX_LE128 post-reload stores): Likewise.
9294
9295 2016-01-06 Marek Polacek <polacek@redhat.com>
9296
9297 PR sanitizer/69099
9298 * convert.c (convert_to_integer_1): Adjust call to
9299 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
9300 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
9301 EXPR instead of ARG.
9302 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
9303
9304 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
9305
9306 PR 1078
9307 * doc/extend.texi (RL78 Variable Attributes): New section.
9308
9309 2016-01-05 Marek Polacek <polacek@redhat.com>
9310
9311 PR c/69104
9312 * builtins.c (get_memmodel): Use expansion point location rather than
9313 the input location. Call warning_at rather than warning.
9314 (expand_builtin_atomic_compare_exchange): Likewise.
9315 (expand_builtin_atomic_load): Likewise.
9316 (expand_builtin_atomic_store): Likewise.
9317 (expand_builtin_atomic_clear): Likewise.
9318
9319 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
9320
9321 PR target/68991
9322 * config/i386/i386.c (ix86_expand_vector_logical_operator):
9323 Replace nonimmediate_operand with vector_operand.
9324 * config/i386/predicates.md (vector_operand): New predicate.
9325 (general_vector_operand): Replace nonimmediate_operand with
9326 vector_operand.
9327 * config/i386/sse.md: Replace nonimmediate_operand with
9328 vector_operand and m constraint with Bm constraint on SSE
9329 patterns with 16-byte memory operand.
9330 * config/i386/subst.md (round_nimm_predicate): Replace
9331 nonimmediate_operand with vector_operand.
9332 (round_saeonly_nimm_predicate): Likewise.
9333 (round_saeonly_nimm_scalar_predicate): New.
9334
9335 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
9336
9337 PR target/68991
9338 * config/i386/constraints.md (Bm): New constraint.
9339 * config/i386/predicates.md (vector_memory_operand): New
9340 predicate.
9341 * config/i386/sse.md: Replace xm with xBm in plusminus and
9342 any_logic patterns.
9343
9344 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
9345
9346 PR 1078
9347 * doc/extend.texi (V850 Function Attributes): New section.
9348 (V850 Variable Attributes): New section.
9349
9350 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
9351
9352 PR 1078
9353 * doc/extend.texi (MicroBlaze Function Attributes): Document
9354 interrupt_handler and fast_interrupt attributes.
9355
9356 2016-01-05 Sergei Trofimovich <siarheit@google.com>
9357
9358 PR other/60465
9359 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
9360 for local symbolic operands.
9361 * config/ia64/predicates.md (local_symbolic_operand64): New
9362 predicate.
9363
9364 2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
9365
9366 PR rtl-optimization/68651
9367 * combine.c (combine_simplify_rtx): Canonicalize x + x into
9368 x << 1.
9369
9370 2016-01-05 Nathan Sidwell <nathan@acm.org>
9371
9372 * alias.c (compare_base_decls): Use symtab_node::get.
9373
9374 2016-01-05 Nick Clifton <nickc@redhat.com>
9375
9376 PR target/68770
9377 * ira-costs.c (copy_cost): Initialise the t_icode field of the
9378 secondary_reload_info structure.
9379
9380 PR target/66655
9381 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
9382 decls if weak support is available.
9383
9384 2016-01-04 Martin Sebor <msebor@redhat.com>
9385
9386 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
9387
9388 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
9389
9390 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
9391 OPTION_MASK_P9_DFORM.
9392
9393 * config/rs6000/constraints.md (wo constraint): New constraint for
9394 ISA 3.0 (power9).
9395
9396 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
9397 for wo constraint.
9398 (rs6000_init_hard_regno_mode_ok): Likewise.
9399
9400 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
9401 wo constraint.
9402
9403 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
9404 expanders not to have constraints. Add support for ISA 3.0 xxperm
9405 instruction. Add support for fusing xxlor with xxperm.
9406 (altivec_vperm_<mode>_internal): Likewise.
9407 (altivec_vperm_v8hiv16qi): Likewise.
9408 (altivec_vperm_<mode>v16q): Likewise.
9409 (altivec_vperm_<mode>_uns): Likewise.
9410 (vperm_v8hiv4si): Likewise.
9411 (vperm_v16qiv8hi): Likewise.
9412
9413 * doc/md.texi (RS/6000 constraints): Document wo constraint.
9414
9415 2016-01-04 Jakub Jelinek <jakub@redhat.com>
9416
9417 Update copyright years.
9418
9419 * gcc.c (process_command): Update copyright notice dates.
9420 * gcov-dump.c (print_version): Ditto.
9421 * gcov.c (print_version): Ditto.
9422 * gcov-tool.c (print_version): Ditto.
9423 * gengtype.c (create_file): Ditto.
9424 * doc/cpp.texi: Bump @copying's copyright year.
9425 * doc/cppinternals.texi: Ditto.
9426 * doc/gcc.texi: Ditto.
9427 * doc/gccint.texi: Ditto.
9428 * doc/gcov.texi: Ditto.
9429 * doc/install.texi: Ditto.
9430 * doc/invoke.texi: Ditto.
9431
9432 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
9433
9434 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
9435 modes larger than TImode as TImode if NEON is not enabled.
9436
9437 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
9438
9439 PR target/69100
9440 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
9441 mode for %f0-%f31 only if TARGET_FPU.
9442
9443 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
9444
9445 PR target/69072
9446 * config/sparc/sparc.c (scan_record_type): Take into account subfields
9447 to compute the PACKED_P predicate.
9448 (function_arg_record_value): Minor tweaks.
9449
9450 2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
9451
9452 * doc/install.texi (--with-multilib-list): Describe the meaning of the
9453 option for arm*-*-* targets.
9454
9455 2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
9456
9457 * doc/extend.texi (Common Function Attributes): Move docs for
9458 MSP430-specific attributes to....
9459 (MSP430 Function Attributes): ...here. Delete the redundant
9460 entries and copy-edit the remaining text.
9461 (MSP430 Variable Attributes): Use uniform format for index
9462 entries and add a cross-reference to the corresponding function
9463 attribute docs.
9464
9465 2016-01-03 Vladimír Čunát <vcunat@gmail.com>
9466
9467 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
9468 -finite-math typo.
9469 (x86 Options): Likewise.
9470
9471 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
9472
9473 PR 1078
9474
9475 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
9476 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
9477 to corresponding attribute.
9478
9479 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
9480
9481 * doc/extend.texi (Common Function Attributes) <noplt>: Move
9482 to correct alphabetization of table. Copy-edit and correct
9483 markup.
9484 <stack_protect>: Likewise.
9485 <target_clones>: Likewise.
9486 <simd>: Likewise.
9487 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
9488 Correct punctuation.
9489 (Code Gen Options) <-fno-plt>: Copy-edit.
9490
9491 2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
9492
9493 PR target/68917
9494 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
9495 SI values. Explicitly convert SI to DI and vice-versa.
9496
9497 2016-01-01 Jakub Jelinek <jakub@redhat.com>
9498
9499 PR tree-optimization/69070
9500 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
9501 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
9502
9503 PR sanitizer/69055
9504 * ubsan.c (ubsan_instrument_float_cast): Call
9505 initialize_sanitizer_builtins.
9506
9507 PR target/69015
9508 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
9509 \f
9510 Copyright (C) 2016 Free Software Foundation, Inc.
9511
9512 Copying and distribution of this file, with or without modification,
9513 are permitted in any medium without royalty provided the copyright
9514 notice and this notice are preserved.