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