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