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