]> git.ipfire.org Git - thirdparty/gcc.git/blame - gcc/ChangeLog
fix pr68692: reinstantiate the copy of internal parameters
[thirdparty/gcc.git] / gcc / ChangeLog
CommitLineData
c3a14714 12016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2 Sebastian Pop <s.pop@samsung.com>
3
4 Revert commit r229783.
5 * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
6 Remove use of parameter_rename_map.
7 (copy_def): Remove.
8 (copy_internal_parameters): Remove.
9 (graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
10 * sese.c (new_sese_info): Do not initialize parameter_rename_map.
11 (free_sese_info): Do not free parameter_rename_map.
12 (set_rename): Do not use parameter_rename_map.
13 (rename_uses): Update call to set_rename.
14 (graphite_copy_stmts_from_block): Do not use parameter_rename_map.
15 * sese.h (parameter_rename_map_t): Remove.
16 (struct sese_info_t): Remove field parameter_rename_map.
17
de862e2f 182016-01-21 Aditya Kumar <aditya.k7@samsung.com>
19 Sebastian Pop <s.pop@samsung.com>
20
21 * graphite-isl-ast-to-gimple.c: Fix comment.
22 * graphite-scop-detection.c (defined_in_loop_p): New.
23 (canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
24 names defined in loop.
25
dc06f294 262016-01-21 Aditya Kumar <aditya.k7@samsung.com>
27 Sebastian Pop <s.pop@samsung.com>
28
29 * graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
30 Discard unstructured if-then-else regions.
31
f5b446fb 322016-01-21 Aditya Kumar <aditya.k7@samsung.com>
33 Sebastian Pop <s.pop@samsung.com>
34
35 * graphite-sese-to-poly.c (set_scop_parameter_dim): Remove.
36 (cleanup_loop_iter_dom): Remove.
37 (build_loop_iteration_domains): Remove.
38 (build_scop_context): Remove.
39 (build_scop_iteration_domain): Remove.
40 (add_loop_constraints): New.
41 (build_iteration_domains): New.
42 (build_poly_scop): Call build_iteration_domains.
43
aced5cac 442016-01-21 Aditya Kumar <aditya.k7@samsung.com>
45 Sebastian Pop <s.pop@samsung.com>
46
47 * graphite-scop-detection.c
48 (scop_detection::harmful_loop_in_region): Free dom and loops.
49 (scop_detection::loop_body_is_valid_scop): Free bbs.
50
86ee769e 512016-01-21 Aditya Kumar <aditya.k7@samsung.com>
52 Sebastian Pop <s.pop@samsung.com>
53
54 * graphite-scop-detection.c (record_loop_in_sese): New.
55 (gather_bbs::before_dom_children): Call record_loop_in_sese.
56 (build_scops): Remove call to build_sese_loop_nests.
57 * sese.c (sese_record_loop): Remove.
58 (build_sese_loop_nests): Remove.
59 (new_sese_info): Remove region->loops.
60 (free_sese_info): Same.
61 * sese.h (sese_contains_loop): Same.
62 (build_sese_loop_nests): Remove.
63 (sese_contains_loop): Remove.
64
b8830caa 652016-01-21 Aditya Kumar <aditya.k7@samsung.com>
66 Sebastian Pop <s.pop@samsung.com>
67
68 * graphite-scop-detection.c (loop_is_valid_scop): Renamed loop_is_valid_in_scop.
69 (scop_detection::harmful_stmt_in_region): Renamed harmful_loop_in_region.
70 Call loop_is_valid_in_scop.
71
72fe350f 722016-01-21 Aditya Kumar <aditya.k7@samsung.com>
73 Sebastian Pop <s.pop@samsung.com>
74
75 * graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
76 isl_ast_node_mark.
77
c5e631cb 782016-01-21 Aditya Kumar <aditya.k7@samsung.com>
79 Sebastian Pop <s.pop@samsung.com>
80
81 * graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
82 * graphite.h (struct poly_bb): Remove field is_reduction.
83 (PBB_IS_REDUCTION): Remove.
84
ece4d5b1 852016-01-21 Aditya Kumar <aditya.k7@samsung.com>
86 Sebastian Pop <s.pop@samsung.com>
87
88 * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
89 (add_pdr_constraints): Same.
90 (scop_get_reads): Same.
91 (scop_get_must_writes): Same.
92 (scop_get_may_writes): Same.
93 (scop_get_original_schedule): Same.
94 (extend_schedule): Same.
95 (apply_schedule_on_deps): Same.
96 (carries_deps): Same.
97 (compute_deps): Same.
98 (scop_get_dependences): Same.
99 * graphite-isl-ast-to-gimple.c
100 (translate_isl_ast_to_gimple::generate_isl_schedule): Same.
101 * graphite-optimize-isl.c (get_schedule_for_band): Same.
102 (get_schedule_for_band_list): Same.
103 (get_schedule_map): Same.
104 (apply_schedule_map_to_scop): Same.
105 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same.
106 (build_loop_iteration_domains): Same.
107 (add_condition_to_pbb): Same.
108 (add_param_constraints): Same.
109 (pdr_add_memory_accesses): Same.
110 (pdr_add_data_dimensions): Same.
111
39155ab4 1122016-01-20 Sandra Loosemore <sandra@codesourcery.com>
113
114 * doc/invoke.texi (Instrumentation Options): Clarify -mmpx linking
115 requirements.
116
19e7066d 1172016-01-20 Sandra Loosemore <sandra@codesourcery.com>
118
119 * common.opt (feliminate-dwarf2-dups): Replace references to
120 "DWARF 2" with just "DWARF".
121 * config/ia64/ia64.opt (mdwarf2-asm): Likewise.
122 * doc/extend.texi: Likewise.
123 * doc/cpp.texi: Likewise.
124 * doc/invoke.texi: Likewise.
125 (Option Summary): Add -gdwarf to list of Debugging Options.
126 (Debugging Options): Document -gdwarf.
127 * doc/contrib.texi: Spell "DWARF" like that.
128
f55f9344 1292016-01-21 Jakub Jelinek <jakub@redhat.com>
130
a6258f5a 131 * omp-low.c (expand_omp_target): Avoid -Wmaybe-uninitialized
132 warning. Fix up formatting.
133
f55f9344 134 PR middle-end/67653
135 * gimplify.c (gimplify_asm_expr): Warn if it is too late to
136 attempt to mark memory input operand addressable and
137 call prepare_gimple_addressable in that case. Don't adjust
138 input_location for diagnostics, use error_at instead.
139
62752e71 1402016-01-20 Peter Bergner <bergner@vnet.ibm.com>
141
142 * config/rs6000/ppc-auxv.h: New file.
143 * config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
144 (cpu_is): Likewise.
145 (cpu_supports): Likewise.
146 * config/rs6000/rs6000.c: include "ppc-auxv.h".
147 (cpu_is_info): New variable.
148 (cpu_supports_info): Likewise.
149 (tcb_verification_symbol): Likewise.
150 (cpu_builtin_p): Likewise.
151 (cpu_expand_builtin): New function.
152 (rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
153 (rs6000_init_builtins): Likewise.
154 (rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
155 * config/rs6000/rs6000.h (TLS_REGNUM): New define.
156 * configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
157 * configure: Regenerate.
158 * config.in: Likewise.
159 * doc/extend.texi (PowerPC Built-in Functions): Document
160 __builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.
161
e4b5ff1b 1622016-01-20 David Edelsohn <dje.gcc@gmail.com>
163
164 PR target/68609
165 * config/rs6000/rs6000.c (rs6000_emit_swsqrt): Add vector sqrt
166 domain check.
167 * config/rs6000/vector.md (sqrt<mode>2): Call rs6000_emit_swsqrt
168 for V4SFmode.
169
7a3e0230 1702016-01-20 Richard Henderson <rth@redhat.com>
171
172 PR bootstrap/69343
173 PR bootstrap/69339
174 PR tree-opt/68964
175 Revert:
176 * tree.c (tm_define_builtin): New.
177 (find_tm_vector_type): New.
178 (build_tm_vector_builtins): New.
179 (build_common_builtin_nodes): Call it.
180
a7b5688a 1812016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
182
183 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
184 (arm_fp_ok): Likewise.
185 (arm_fp): Likewise.
186 (arm_crypto): Likewise.
187
f2da0b99 1882016-01-20 Ilya Enkovich <enkovich.gnu@gmail.com>
189 Richard Biener <rguenther@suse.de>
190
191 PR tree-optimization/69328
192 * tree-vect-stmts.c (vect_is_simple_cond): Check compared
193 vectors have same number of elements.
194 (vectorizable_condition): Fix masked version recognition.
195
c716ac28 1962016-01-20 Richard Biener <rguenther@suse.de>
197
198 PR tree-optimization/69345
199 * tree-ssa-sccvn.h (VN_INFO_RANGE_INFO): New inline function.
200 (VN_INFO_PTR_INFO): Likewise.
201 * tree-ssa-sccvn.c (set_ssa_val_to): Avoid clearing points-to
202 info when it is equal between non-dominating SSA names.
203 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
204 Make sure to look at original SSA infos.
205
4d379676 2062016-01-20 Jeff Law <law@redhat.com>
207
4a11f145 208 PR target/25114
4d379676 209 * config/m68k/predicates.md (pow2_m1_operand): New predicate
210 extracted from ...
211 (reg_or_pow2_m1_operand): Call pow2_m1_operand.
212 (pc_or_label_operand): New predicate.
213 * config/m68k/m68k.md: Add new peephole2 patterns for GTU/LEU
214 tests for small integers that are 2^n - 1.
e4b5ff1b 215
3cbeb0b1 2162016-01-20 Jonathan Wakely <jwakely@redhat.com>
217
218 * doc/invoke.texi (Options Summary): Add '.' after @xref.
219
56d4d876 2202016-01-19 Jeff Law <law@redhat.com>
221
222 PR middle-end/69347
223 * tree-ssa-threadbackwards.c
224 (fsm_find_control_statement_thread_paths): Do not try to lookup
225 FSM paths for SSA_NAMEs appearing in abnormal PHIs.
226
c13cc80a 2272016-01-20 Kugan Vivekanandarajah <kuganv@linaro.org>
228
229 * doc/lto.texi: Remove text that says only Gold has linker plugin
230 support.
231
63bd5c2d 2322016-01-19 Eric Botcazou <ebotcazou@adacore.com>
233
234 * dwarf2out.c (need_endianity_attribute_p): New inline predicate.
235 (base_type_die): Add REVERSE parameter and attach DW_AT_endianity to
236 the DIE accordingly.
237 (modified_type_die): Add REVERSE parameter and pass it recursively,
238 as well as to base_type_die. Adjust presence check accordingly.
239 (base_type_for_mode): Adjust call to modified_type_die.
240 (add_type_attribute): Add REVERSE parameter and pass it to
241 modified_type_die.
242 (generic_parameter_die): Adjust call to add_type_attribute.
243 (add_scalar_info): Likewise.
244 (add_subscript_info): Likewise.
245 (gen_array_type_die): Likewise.
246 (gen_descr_array_type_die): Likewise.
247 (gen_entry_point_die): Likewise.
248 (gen_enumeration_type_die): Likewise.
249 (gen_formal_parameter_die): Likewise.
250 (gen_subprogram_die): Likewise.
251 (gen_variable_die ): Likewise.
252 (gen_const_die): Likewise.
253 (gen_field_die): Likewise.
254 (gen_pointer_type_die): Likewise.
255 (gen_reference_type_die): Likewise.
256 (gen_ptr_to_mbr_type_die): Likewise.
257 (gen_inheritance_die): Likewise.
258 (gen_subroutine_type_die): Likewise.
259 (gen_typedef_die): Likewise.
260 (force_type_die): Adjust call to modified_type_die.
261
fd2ecb34 2622016-01-19 Sandra Loosemore <sandra@codesourcery.com>
263
264 * doc/standards.texi: Copy-editing for grammar, markup, and sentence
265 flow throughout the file. Fix broken link to Objective-C 2.0
266 documentation.
267 * doc/invoke.texi: More copy-editing; fix numerous typos and spelling
268 errors.
269
45dc77fb 2702016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
271
272 * ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
273
53fa0e54 2742016-01-19 Jan Hubicka <hubicka@ucw.cz>
275
276 PR ipa/66223
277 * ipa-devirt.c (is_cxa_pure_virtual_p): New function.
278 (maybe_record_node): Record cxa_pure_virtual as the only possible
279 target if there are not ohter candidates.
280 (possible_polymorphic_call_target_p): Accept cxa_pure_virtual.
281
557a99fe 2822016-01-19 Richard Biener <rguenther@suse.de>
283
284 * hsa-gen.c (get_memory_order_name): Use MEMMODEL_ constants.
285 (get_memory_order): Likewise.
286
e9021e9d 2872016-01-19 Kirill Yukhin <kirill.yukhin@intel.com>
288
289 * tree-vect-stmts.c (vectorizable_store): Check
290 rhs vectype.
291
0da03143 2922016-01-19 David Malcolm <dmalcolm@redhat.com>
293
294 PR jit/68446
295 * gcc.c (driver::decode_argv): Add call to
296 init_opts_obstack before init_options_struct.
297 * opts.c (init_opts_obstack): Remove idempotency.
298 (init_options_struct): Replace call to init_opts_obstack
299 with a gcc_assert to verify that it has already been called.
300 * toplev.c (toplev::main): Add call to init_opts_obstack before
301 calls to init_options_struct.
302 (toplev::finalize): Move cleanup of opts_obstack next to
303 cleanup of save_decoded_options, clearing the latter, and
304 save_decoded_options_count.
305
885cc3ea 3062016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
307
308 PR target/69135
309 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): Set "conds"
310 attribute to unconditional. Remove %? from output template.
311
07bd240e 3122015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
313 Jiong Wang <jiong.wang@arm.com>
314
315 * ccmp.c (expand_ccmp_expr_1): Cost the instruction sequences
316 generated from different expand order.
317
3182015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
dad0993e 319
be1c970c 320 * /config/aarch64/aarch64.c (aarch64_if_then_else_costs):
321 Add support for CCMP costing.
322
3232015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
324
9f60d257 325 * ccmp.c (ccmp_candidate_p): Remove integer-only restriction.
326 * config/aarch64/aarch64.md (fccmp<mode>): New pattern.
327 (fccmpe<mode>): Likewise.
328 (fcmp): Rename to fcmp and globalize pattern.
329 (fcmpe): Likewise.
330 * config/aarch64/aarch64.c (aarch64_gen_ccmp_first): Add FP support.
331 (aarch64_gen_ccmp_next): Add FP support.
332
3332015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
334
dad0993e 335 * target.def (gen_ccmp_first): Update documentation.
336 (gen_ccmp_next): Likewise.
337 * doc/tm.texi (gen_ccmp_first): Update documentation.
338 (gen_ccmp_next): Likewise.
339 * ccmp.c (expand_ccmp_expr): Extract cmp_code from return value of
340 expand_ccmp_expr_1. Improve comments.
341 * config/aarch64/aarch64.md (ccmp_and): Use if_then_else for ccmp.
342 (ccmp_ior<mode>): Remove pattern.
343 (cmp<mode>): Remove expand.
344 (cmp): Globalize pattern.
345 (cstorecc4): Use cc_register.
346 (mov<mode>cc): Remove ccmp_cc_register check.
347 * config/aarch64/aarch64.c (aarch64_get_condition_code_1):
348 Simplify after removal of CC_DNE/* modes.
349 (aarch64_ccmp_mode_to_code): Remove.
350 (aarch64_print_operand): Remove 'K' case. Merge 'm' and 'M' cases.
351 In 'k' case use integer as condition.
352 (aarch64_nzcv_codes): Remove inverted cases.
353 (aarch64_code_to_ccmode): Remove.
354 (aarch64_gen_ccmp_first): Use cmp pattern directly. Return the correct
355 comparison with CC register to be used in folowing CCMP/branch/CSEL.
356 (aarch64_gen_ccmp_next): Use previous comparison and mode in CCMP
357 pattern. Return the comparison with CC register. Invert conditions
358 when bitcode is OR.
359 * config/aarch64/aarch64-modes.def: Remove CC_DNE/* modes.
360 * config/aarch64/predicates.md (ccmp_cc_register): Remove.
361
be331526 3622016-01-19 Jan Hubicka <hubicka@ucw.cz>
363
364 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
365 instrumented_version.
366
dc5d6d17 3672016-01-19 Richard Biener <rguenther@suse.de>
368
369 PR tree-optimization/69336
370 * tree-ssa-scopedtables.c (avail_expr_hash): Handle all
371 handled components with get_ref_base_and_extent.
372 (equal_mem_array_ref_p): Adjust.
373
6dd156e0 3742016-01-19 Jakub Jelinek <jakub@redhat.com>
375
376 PR debug/65779
377 * shrink-wrap.c: Include valtrack.h.
378 (move_insn_for_shrink_wrap): Add DEBUG argument. If
379 MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
380 in between insn and where it will be moved to. Call
381 dead_debug_insert_temp.
382 (prepare_shrink_wrap): Adjust caller. Call dead_debug_local_init
383 first and dead_debug_local_finish at the end.
384 For uses and defs bitmap, handle all regs in between REGNO and
385 END_REGNO, not just the first one.
386
3e0d45b9 3872016-01-19 Richard Biener <rguenther@suse.de>
388
389 PR tree-optimization/69352
390 * tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1.
391 (equal_mem_array_ref_p): Constrain size and max size properly.
392 Compare the reverse flag.
393
bf79db93 3942016-01-19 Bernd Schmidt <bschmidt@redhat.com>
395
396 * ira.c (ira): Update regstat data if we deleted insns.
397
7a3cf64d 3982016-01-19 Jakub Jelinek <jakub@redhat.com>
399
400 PR rtl-optimization/68955
401 PR rtl-optimization/64557
402 * dse.c (record_store, check_mem_read_rtx): Don't call get_addr
403 here. Fix up formatting.
404 * alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.
405
72a985d7 4062016-01-19 Jan Hubicka <hubicka@ucw.cz>
407
408 PR lto/69133
409 * cgraphunit.c (cgraph_node::expand_thunk): When forcing gimple
410 assume that the node has body.
411 * cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
412 check.
bf79db93 413
bcd3678d 4142016-01-19 Jan Hubicka <hubicka@ucw.cz>
415
416 * lto-streamer-out.c (lto_output): Do not stream instrumentation
417 thunks.
418
4e17ad5e 4192016-01-19 Jan Hubicka <hubicka@ucw.cz>
420
421 * symtab.c (symtab_node::asm_name): Do not call printable name directly.
422 (symtab_node::name): Report name as unnamed if DECL_NAME is not set.
423
56686608 4242016-01-19 Martin Jambor <mjambor@suse.cz>
425 Martin Liska <mliska@suse.cz>
426 Michael Matz <matz@suse.de>
427
428 * Makefile.in (OBJS): Add new source files.
429 (GTFILES): Add hsa.c.
430 * common.opt (disable_hsa): New variable.
431 (-Whsa): New warning.
432 * config.in (ENABLE_HSA): New.
433 * configure.ac: Treat hsa differently from other accelerators.
434 (OFFLOAD_TARGETS): Define ENABLE_OFFLOADING according to
435 $enable_offloading.
436 (ENABLE_HSA): Define ENABLE_HSA according to $enable_hsa.
437 * doc/install.texi (Configuration): Document --with-hsa-runtime,
438 --with-hsa-runtime-include, --with-hsa-runtime-lib and
439 --with-hsa-kmt-lib.
440 * doc/invoke.texi (-Whsa): Document.
441 (hsa-gen-debug-stores): Likewise.
442 * lto-wrapper.c (compile_images_for_offload_targets): Do not attempt
443 to invoke offload compiler for hsa acclerator.
444 * opts.c (common_handle_option): Determine whether HSA offloading
445 should be performed.
446 * params.def (PARAM_HSA_GEN_DEBUG_STORES): New parameter.
447 * builtin-types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
448 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
449 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
450 * gimple-low.c (lower_stmt): Also handle GIMPLE_OMP_GRID_BODY.
451 * gimple-pretty-print.c (dump_gimple_omp_for): Also handle
452 GF_OMP_FOR_KIND_GRID_LOOP.
453 (dump_gimple_omp_block): Also handle GIMPLE_OMP_GRID_BODY.
454 (pp_gimple_stmt_1): Likewise.
455 * gimple-walk.c (walk_gimple_stmt): Likewise.
456 * gimple.c (gimple_build_omp_grid_body): New function.
457 (gimple_copy): Also handle GIMPLE_OMP_GRID_BODY.
458 * gimple.def (GIMPLE_OMP_GRID_BODY): New.
459 * gimple.h (enum gf_mask): Added GF_OMP_PARALLEL_GRID_PHONY,
460 GF_OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY and
461 GF_OMP_TEAMS_GRID_PHONY.
462 (gimple_statement_omp_single_layout): Updated comments.
463 (gimple_build_omp_grid_body): New function.
464 (gimple_has_substatements): Also handle GIMPLE_OMP_GRID_BODY.
465 (gimple_omp_for_grid_phony): New function.
466 (gimple_omp_for_set_grid_phony): Likewise.
467 (gimple_omp_parallel_grid_phony): Likewise.
468 (gimple_omp_parallel_set_grid_phony): Likewise.
469 (gimple_omp_teams_grid_phony): Likewise.
470 (gimple_omp_teams_set_grid_phony): Likewise.
471 (gimple_return_set_retbnd): Also handle GIMPLE_OMP_GRID_BODY.
472 * omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): New.
473 (BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
474 (BUILT_IN_GOMP_TARGET): Updated type.
475 * omp-low.c: Include symbol-summary.h, hsa.h and params.h.
476 (adjust_for_condition): New function.
477 (get_omp_for_step_from_incr): Likewise.
478 (extract_omp_for_data): Moved parts to adjust_for_condition and
479 get_omp_for_step_from_incr.
480 (build_outer_var_ref): Handle GIMPLE_OMP_GRID_BODY.
481 (fixup_child_record_type): Bail out if receiver_decl is NULL.
482 (scan_sharing_clauses): Handle OMP_CLAUSE__GRIDDIM_.
483 (scan_omp_parallel): Do not create child functions for phony
484 constructs.
485 (check_omp_nesting_restrictions): Handle GIMPLE_OMP_GRID_BODY.
486 (scan_omp_1_op): Checking assert we are not remapping to
487 ERROR_MARK. Also also handle GIMPLE_OMP_GRID_BODY.
488 (parallel_needs_hsa_kernel_p): New function.
489 (expand_parallel_call): Register apprpriate parallel child
490 functions as HSA kernels.
491 (grid_launch_attributes_trees): New type.
492 (grid_attr_trees): New variable.
493 (grid_create_kernel_launch_attr_types): New function.
494 (grid_insert_store_range_dim): Likewise.
495 (grid_get_kernel_launch_attributes): Likewise.
496 (get_target_argument_identifier_1): Likewise.
497 (get_target_argument_identifier): Likewise.
498 (get_target_argument_value): Likewise.
499 (push_target_argument_according_to_value): Likewise.
500 (get_target_arguments): Likewise.
501 (expand_omp_target): Call get_target_arguments instead of looking
502 up for teams and thread limit.
503 (grid_expand_omp_for_loop): New function.
504 (grid_arg_decl_map): New type.
505 (grid_remap_kernel_arg_accesses): New function.
506 (grid_expand_target_kernel_body): New function.
507 (expand_omp): Call it.
508 (lower_omp_for): Do not emit phony constructs.
509 (lower_omp_taskreg): Do not emit phony constructs but create for them
510 a temporary variable receiver_decl.
511 (lower_omp_taskreg): Do not emit phony constructs.
512 (lower_omp_teams): Likewise.
513 (lower_omp_grid_body): New function.
514 (lower_omp_1): Call it.
515 (grid_reg_assignment_to_local_var_p): New function.
516 (grid_seq_only_contains_local_assignments): Likewise.
517 (grid_find_single_omp_among_assignments_1): Likewise.
518 (grid_find_single_omp_among_assignments): Likewise.
519 (grid_find_ungridifiable_statement): Likewise.
520 (grid_target_follows_gridifiable_pattern): Likewise.
521 (grid_remap_prebody_decls): Likewise.
522 (grid_copy_leading_local_assignments): Likewise.
523 (grid_process_kernel_body_copy): Likewise.
524 (grid_attempt_target_gridification): Likewise.
525 (grid_gridify_all_targets_stmt): Likewise.
526 (grid_gridify_all_targets): Likewise.
527 (execute_lower_omp): Call grid_gridify_all_targets.
528 (make_gimple_omp_edges): Handle GIMPLE_OMP_GRID_BODY.
529 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__GRIDDIM_.
530 (tree_omp_clause): Added union field dimension.
531 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE__GRIDDIM_.
532 * tree.c (omp_clause_num_ops): Added number of arguments of
533 OMP_CLAUSE__GRIDDIM_.
534 (omp_clause_code_name): Added name of OMP_CLAUSE__GRIDDIM_.
535 (walk_tree_1): Handle OMP_CLAUSE__GRIDDIM_.
536 * tree.h (OMP_CLAUSE_GRIDDIM_DIMENSION): New.
537 (OMP_CLAUSE_SET_GRIDDIM_DIMENSION): Likewise.
538 (OMP_CLAUSE_GRIDDIM_SIZE): Likewise.
539 (OMP_CLAUSE_GRIDDIM_GROUP): Likewise.
540 * passes.def: Schedule pass_ipa_hsa and pass_gen_hsail.
541 * tree-pass.h (make_pass_gen_hsail): Declare.
542 (make_pass_ipa_hsa): Likewise.
543 * ipa-hsa.c: New file.
544 * lto-section-in.c (lto_section_name): Add hsa section name.
545 * lto-streamer.h (lto_section_type): Add hsa section.
546 * timevar.def (TV_IPA_HSA): New.
547 * hsa-brig-format.h: New file.
548 * hsa-brig.c: New file.
549 * hsa-dump.c: Likewise.
550 * hsa-gen.c: Likewise.
551 * hsa.c: Likewise.
552 * hsa.h: Likewise.
553 * toplev.c (compile_file): Call hsa_output_brig.
554 * hsa-regalloc.c: New file.
555
56778b62 5562016-01-18 Jeff Law <law@redhat.com>
557
558 PR tree-optimization/69320
559 * tree-ssa-dom.c (record_edge_info): For comparisons against a boolean
560 ranged object, do nothing if the RHS constant is not [0..1].
561 (optimize_stmt): Comparing a boolean ranged object against a
562 constant outside [0..1] results in a compile-time constant.
563
564 * tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary
565 test.
566
d6bc5504 5672016-01-18 Sandra Loosemore <sandra@codesourcery.com>
568
569 * doc/invoke.texi (Invoking GCC): Add new section to menu.
570 (Option Summary): Update to reflect new section and moved options.
571 (C++ Dialect Options): Move -fstats to new section.
572 (Debugging Options): Move all dump, statistics, and other GCC
573 developer options to new section. Rewrite section introduction
574 and re-order remaining options to put the more basic ones first.
575 (Optimization Options): Move -fira-verbose and -flto-report* to
576 new section.
577 (Developer Options): New section incorporating moved options.
578 * doc/cppopts.texi (-dM): Update cross-reference.
579
3e116474 5802016-01-18 Richard Henderson <rth@redhat.com>
581
582 PR target/69176
583 * config/aarch64/aarch64.md (add<GPI>3): Move long immediate
584 operands to pseudo only if CSE is expected. Split long immediate
585 operands only after reload, and for the stack pointer.
586 (*add<GPI>3_pluslong): Remove.
587 (*addsi3_aarch64, *adddi3_aarch64): Merge into...
588 (*add<GPI>3_aarch64): ... here. Add r/rk/Upl alternative.
589 (*addsi3_aarch64_uxtw): Add r/rk/Upl alternative.
590 (*add<GPI>3 peepholes): New.
591 (*add<GPI>3 splitters): New.
592 * config/aarch64/constraints.md (Upl): New.
593 * config/aarch64/predicates.md (aarch64_pluslong_strict_immedate): New.
594
3c7cbfc0 5952016-01-18 Richard Biener <rguenther@suse.de>
596
597 PR tree-optimization/69297
598 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Count each scalar
599 stmt at most once.
600 (vect_bb_vectorization_profitable_p): Clear visited flag again.
601
15dc653e 6022016-01-18 Yuri Rumyantsev <ysrumyan@gmail.com>
603
604 PR middle-end/68542
605 * fold-const.c (fold_binary_op_with_conditional_arg): Bail out for case
606 of mixind vector and scalar types.
607 (fold_relational_const): Add handling of vector
608 comparison with boolean result.
609 * tree-cfg.c (verify_gimple_comparison): Add argument CODE, allow
610 comparison of vector operands with boolean result for EQ/NE only.
611 (verify_gimple_assign_binary): Adjust call for verify_gimple_comparison.
612 (verify_gimple_cond): Likewise.
613 * tree-vrp.c (extract_code_and_val_from_cond_with_ops): Modify check on
614 valid type of VAL.
615
81d49cc1 6162016-01-18 Joseph Myers <joseph@codesourcery.com>
617
618 * config/mips/mips.h (ISA_HAS_PAIRED_SINGLE): Require
619 !TARGET_OCTEON.
620
d336d1a7 6212016-01-18 Richard Biener <rguenther@suse.de>
622
623 PR middle-end/69308
624 * gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
625
22e3dcee 6262016-01-18 Tom de Vries <tom@codesourcery.com>
627
628 * passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
629
31c2b13b 6302016-01-18 Tom de Vries <tom@codesourcery.com>
631
632 * omp-low.c (set_oacc_fn_attrib): Make extern.
633 * omp-low.h (set_oacc_fn_attrib): Declare.
634 * tree-parloops.c (struct reduction_info): Add reduc_addr field.
635 (create_call_for_reduction_1): Handle case that reduc_addr is non-NULL.
636 (create_parallel_loop, gen_parallel_loop, try_create_reduction_list):
637 Add and handle function parameter oacc_kernels_p.
638 (find_reduc_addr, get_omp_data_i_param): New function.
639 (ref_conflicts_with_region, oacc_entry_exit_ok_1)
640 (oacc_entry_exit_single_gang, oacc_entry_exit_ok): New function.
641 (parallelize_loops): Add and handle function parameter oacc_kernels_p.
642 Calculate dominance info. Skip loops that are not in a kernels region
643 in oacc_kernels_p mode. Skip inner loops of parallelized loops.
644 (pass_parallelize_loops::execute): Call parallelize_loops with
645 oacc_kernels_p argument.
646 (pass_parallelize_loops::clone, pass_parallelize_loops::set_pass_param):
647 New member function.
648 (pass_parallelize_loops::bool oacc_kernels_p): New member var.
649 * passes.def: Add argument to pass_parallelize_loops instantation.
650
7c5e2ac7 6512016-01-18 Tom de Vries <tom@codesourcery.com>
652
653 * tree-parloops.c (pass_parallelize_loops::execute): Allow
654 pass_parallelize_loops to be run outside the loop pipeline.
655
c45a20be 6562016-01-18 Alan Lawrence <alan.lawrence@arm.com>
657
658 * tree-scalar-evolution.c (follow_copies_to_constant): New.
659 (analyze_initial_condition, analyze_scalar_evolution_1): Call previous.
660
fa75ab55 6612016-01-18 Alan Lawrence <alan.lawrence@arm.com>
662
663 PR target/63679
664 * tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
665 using get_ref_base_and_extent.
666 (equal_mem_array_ref_p): New.
667 (hashable_expr_equal_p): Add call to previous.
668
214b2582 6692016-01-18 Alan Lawrence <alan.lawrence@arm.com>
670
671 PR target/63679
672 * tree-sra.c (disqualified_constants, constant_decl_p): New.
673 (sra_initialize): Allocate disqualified_constants.
674 (sra_deinitialize): Free disqualified_constants.
675 (disqualify_candidate): Update disqualified_constants when appropriate.
676 (create_access): Scan for constant-pool entries as we go along.
677 (scalarizable_type_p): Add check against type_contains_placeholder_p.
678 (maybe_add_sra_candidate): Allow constant-pool entries.
679 (load_assign_lhs_subreplacements): Bind debug for constant pool vars.
680 (initialize_constant_pool_replacements): New.
681 (sra_modify_assign): Avoid mangling assignments created by previous,
682 and don't generate writes into constant pool.
683 (sra_modify_function_body): Call initialize_constant_pool_replacements.
684
13146837 6852016-01-18 Ilya Enkovich <enkovich.gnu@gmail.com>
686
687 * config/i386/i386.c (scalar_to_vector_candidate_p): Support
688 andnot instruction.
689 (scalar_chain::convert_op): Likewise.
690 * config/i386/i386.md (*andndi3_doubleword): New.
691
971514e3 6922016-01-18 Richard Biener <rguenther@suse.de>
693
694 PR tree-optimization/69170
695 * tree-vect-slp.c (vect_build_slp_tree): Verify we are not
696 building a vector from scalar results of a pattern stmt.
697
bf60f46f 6982016-01-18 Jakub Jelinek <jakub@redhat.com>
699
700 * haifa-sched.c (autopref_multipass_init): Work around
701 -Wmaybe-uninitialized warning.
702
06c7d157 7032016-01-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
704
705 * config/arm/arm.c (thumb1_reorg): Check that the comparison is
706 against the constant 0.
707
290f3b83 7082016-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
709
710 PR tree-optimization/68799
711 * gimple-ssa-strength-reduction.c (create_phi_basis): Directly
712 look up phi candidates in the statement-candidate map.
713 (phi_add_costs): Likewise.
714 (record_phi_increments): Likewise.
715 (phi_incr_cost): Likewise.
716 (ncd_with_phi): Likewise.
717 (all_phi_incrs_profitable): Likewise.
718
4dae4a1a 7192016-01-17 Jakub Jelinek <jakub@redhat.com>
720
721 * omp-low.c (mark_loops_in_oacc_kernels_region): Work around
722 -Wmaybe-uninitialized warning.
723
7242016-01-16 Sandra Loosemore <sandra@codesourcery.com>
693540ad 725
726 * doc/invoke.texi (Invoking GCC): Add new section to menu.
727 (Option Summary): Update to reflect new section and moved options.
728 (C++ Dialect Options): Move -fvtable-verify and related options.
729 (Debugging Options): Move Sanitizer, Pointer Bounds Checker,
730 and profiling-related options.
731 (Optimization Options): Move profile generation options and
732 -fstack-protector and related options.
733 (Instrumentation Options): New section incorporating moved options.
734 (Code Generation Options): Move -finstrument-functions and
735 related options, -fstack-check, -fstack-limit*, and -fbounds-check.
736
e6db04d7 7372016-01-16 Tom de Vries <tom@codesourcery.com>
738
739 * passes.def: Move pass_expand_omp_ssa out of pass_parallelize_loops.
740
97d59451 7412016-01-16 Tom de Vries <tom@codesourcery.com>
742
743 * omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
744
a94ab168 7452016-01-16 Richard Sandiford <richard.sandiford@arm.com>
746
747 * hash-table.h (hash_table::empty): Turn into an inline wrapper
748 that checks whether the table is already empty. Rename the
749 original implementation to...
750 (hash_table::empty_slot): ...this new private function.
751
12634056 7522016-01-15 David Malcolm <dmalcolm@redhat.com>
753
754 PR diagnostic/68899
755 * diagnostic-show-locus.c (layout::print_source_line): Move x
756 offset of line until after call to
757 get_line_width_without_trailing_whitespace.
758
e390c57d 7592016-01-15 Jeff Law <law@redhat.com>
760
761 PR tree-optimization/69270
762 * tree-ssanames.c (ssa_name_has_boolean_range): Moved here from
763 tree-ssa-dom.c. Improve test for [0..1] ranve from VRP.
764 * tree-ssa-dom.c (ssa_name_has_boolean_range): Remove.
765 * tree-ssanames.h (ssa_name_has_boolean_range): Prototype.
766 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
767 ssa_name_has_boolean_range and constant_boolean_node.
768
81be349c 7692016-01-15 Vladimir Makarov <vmakarov@redhat.com>
770
771 PR rtl-optimization/69030
772 * lra-spills.c (remove_pseudos): Check nrefs and make the function
773 returning bool.
774 (spill_pseudos): Delete debug insn for dead pseudo.
775 (lra_spill): Initiate spill_hard_reg and slots memory separately.
776
61c44790 7772016-01-15 Jiong Wang <jiong.wang@arm.com>
778
779 * config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
780 New.
781 (TYPES_UNOPUS): Likewise.
782 * config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
783 builtin type, from UNOP to UNOPUS.
784 (lbtruncuv4sf): Likewise.
785 (lbtruncuv2df): Likewise.
786 (lrounduv2sf): Likewise.
787 (lrounduv4sf): Likewise.
788 (lrounduv2df): Likewise.
789 (lroundusf): Likewise.
790 (lroundusf): Likewise.
791 (lceiluv2sf): Likewise.
792 (lceiluv4sf): Likewise.
793 (lceiluv2df): Likewise.
794 (lceilusf): Likewise.
795 (lceiludf): Likewise.
796 (lflooruv2sf): Likewise.
797 (lflooruv4sf): Likewise.
798 (lflooruv2df): Likewise.
799 (lfloorusf): Likewise.
800 (lfloorudf): Likewise.
801 (lfrintnuv2sf): Likewise.
802 (lfrintnuv4sf): Likewise.
803 (lfrintnuv2df): Likewise.
804 (lfrintnusf): Likewise.
805 (lfrintnudf): Likewise.
806 * config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
807 conversion.
808 (vcvtq_u32_f32): Likewise.
809 (vcvtq_u64_f64): Likewise.
810 (vcvta_u32_f32): Likewise.
811 (vcvtaq_u32_f32): Likewise.
812 (vcvtaq_u64_f64): Likewise.
813 (vcvtm_u32_f32): Likewise.
814 (vcvtmq_u32_f32): Likewise.
815 (vcvtmq_u64_f64): Likewise.
816 (vcvtn_u32_f32): Likwise.
817 (vcvtnq_u32_f32): Likewise.
818 (vcvtnq_u64_f64): Likewise.
819 (vcvtp_u32_f32): Likewise.
820 (vcvtpq_u32_f32): Likewise.
821 (vcvtpq_u64_f64): Likewise.
822 (vcvtmd_u64_f64): Likewise.
823 (vcvtms_u32_f32): Likewise.
824 (vcvtad_u64_f64): Likewise.
825 (vcvtas_u32_f32): Likewise.
826 (vcvtnd_u64_f64): Likewise.
827 (vcvtns_u32_f32): Likewise.
828 (vcvtpd_u64_f64): Likewise.
829 (vcvtps_u32_f32): Likewise.
81be349c 830
2cae2fbb 8312016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
832
833 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
834 CSEL of zero_extended registers.
835
26677894 8362016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
837
838 * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
839 Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
840
998456c5 8412016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
842
843 * config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
844 false when argument string is not found in the attributes table
845 at all.
846
3f3a5602 8472016-01-15 David Edelsohn <dje.gcc@gmail.com>
848
849 PR target/68609
850 * config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
851 (rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
852 * config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
853 precision estimate.
854
0d85be19 8552016-01-15 Richard Biener <rguenther@suse.de>
856
857 PR tree-optimization/66856
858 * tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
859 * tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
860 (vect_create_new_slp_node): Increment stmt reference count.
861 (vect_get_and_check_slp_defs): Make sure stmts are nor already in
862 an SLP tree before swapping operands.
863 (vect_build_slp_tree): Likewise.
864 (destroy_bb_vec_info): Free stmt info after SLP instances.
865 * tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
866 * tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
867 (STMT_VINFO_NUM_SLP_USES): New macro.
868
321d36c8 8692016-01-15 Richard Biener <rguenther@suse.de>
870
871 PR debug/69137
872 * dwarf2out.c (add_linkage_name_raw): New function split out from ...
873 (add_linkage_name): ... here.
874 (gen_typedef_die): Use add_linkage_name_raw instead of
875 add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
876 if necessary.
877
1ea78d03 8782016-01-15 Cesar Philippidis <cesar@codesourcery.com>
879
880 * gimplify.c (oacc_default_clause): Decode reference and pointer
881 types for both kernels and parallel regions.
882
d94a1f53 8832016-01-15 Richard Sandiford <richard.sandiford@arm.com>
884
885 PR middle-end/69246
886 * calls.c (emit_call_1): Force n_popped to zero for sibcalls.
887
b2cbb292 8882016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
889
890 * config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
891 (convert_scalars_to_vector): Likewise.
892
4b59d1bf 8932016-01-15 Jonathan Wakely <jwakely@redhat.com>
894
895 * doc/extend.texi (Type Traits): Fix grammar.
896
5d2cbc45 8972016-01-15 Martin Jambor <mjambor@suse.cz>
898
899 * tree-inline.c (remap_decl): Use existing dclarations if
900 remapping a type and prevent_decl_creation_for_types.
901 (replace_locals_stmt): Do an initial remapping of non-VLA typed
902 decls first. Do real remapping with
903 prevent_decl_creation_for_types set.
904 * tree-inline.h (copy_body_data): New field
905 prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
906 padding.
907
db6b33ed 9082016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
909
910 * config/s390/s390.opt (mmvcle): More verbose help text.
911
e19c506d 9122016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
913
914 * config/s390/s390.opt: Add period to -mzvector option text.
915
1ca28250 9162016-01-15 Richard Biener <rguenther@suse.de>
917
918 PR tree-optimization/68961
919 * tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
920 of invariants in stores again.
921
e3c1ca0b 9222016-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
923
924 * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
925
6271bd93 9262016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
927
928 * config/i386/i386.c (ix86_expand_branch): Don't split
929 DI mode xor instruction to SI mode.
930
a70589b9 9312016-01-15 Jan Hubicka <hubicka@ucw.cz>
932
933 PR ipa/68148
934 * ipa-icf.c (sem_function::merge): Virtual functions may become
935 reachable even if they address is not taken and there are no
936 idrect calls.
937
8f1b9636 9382016-01-15 Jan Hubicka <hubicka@ucw.cz>
939
940 * lto-streamer-out.c (subtract_estimated_size): New function.
941 (get_symbol_initial_value): Use it.
942
7bbac464 9432016-01-15 Christian Bruel <christian.bruel@st.com>
86eff91f 944
945 PR target/65837
946 * config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
947 (arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
948 (arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
949 use add_builtin_function_ext_scope instead of add_builtin_function.
950 (neon_set_p, neon_crypto_set_p): Remove.
951 (arm_init_builtins): Always call arm_init_neon_builtins and
952 arm_init_crypto_builtins.
953 (arm_expand_builtin): Check that builtins are allowed for the arch.
954 * config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
955 * config/arm/arm.c (arm_valid_target_attribute_tree): Remove
956 arm_init_neon_builtins call.
957
4345b868 9582016-01-15 Richard Biener <rguenther@suse.de>
959
960 PR tree-optimization/69117
961 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
962 * tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
963 of the leader conservatively.
964 (free_scc_vn): Restore original SSA name infos.
965
f2396141 9662016-01-14 Jeff Law <law@redhat.com>
967
968 PR tree-optimization/69270
969 * tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
970 single bit of precision, verify it's also unsigned.
971 (record_edge_info): Use constant_boolean_node rather than fold_convert
972 to convert boolean_true/boolean_false to the right type.
973
a3fb1e28 9742016-01-14 Richard Henderson <rth@redhat.com>
975
976 PR rtl-opt/69014
977 * loop-doloop.c (record_reg_sets): New.
978 (doloop_optimize): Reject the transform if the sequence
979 clobbers registers live at the end of the loop block.
980 (doloop_optimize_loops): Enable df_live if needed.
981
0e0d3ecb 9822016-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
983
984 * config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
985 * gcc/config/rs6000/rs6000.c: Likewise.
986 * gcc/config/rs6000/rs6000.h: Likewise.
987 * gcc/config/rs6000/rs6000.md: Likewise.
988 * gcc/doc/extend.texi: Likewsie.
989
b84f3b2c 9902016-01-14 Jeff Law <law@redhat.com>
991
992 * tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
993 typo.
994
c847d969 9952016-01-14 Richard Henderson <rth@redhat.com>
996
997 PR c/69272
998 PR tree-opt/68964
999 * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
1000 * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
1001 instead of builtin_decl_declared_p to test for declaration.
1002
29bd66c5 10032016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
1004
3e116474 1005 * doc/loop.texi (Loop Analysis and Representation): Document
29bd66c5 1006 loop_depth function.
1007
4c39e3a5 10082016-01-14 Tom de Vries <tom@codesourcery.com>
1009
1010 PR tree-optimization/68773
1011 * omp-low.c (expand_omp_target): Don't set force_output.
1012 * varpool.c (varpool_node::get_create): Same.
1013 * lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
1014 offload_funcs with force_output.
1015
44e09bc4 10162016-01-14 Jakub Jelinek <jakub@redhat.com>
1017
1018 PR debug/69244
1019 * lra-eliminations.c (move_plus_up): Don't change anything if either
1020 the outer or inner subreg mode is not MODE_INT.
1021 * dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
1022 integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
1023
ddbc17d5 10242016-01-14 Alan Lawrence <alan.lawrence@arm.com>
1025
1026 * doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
1027 reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
1028 reduc_uplus_@var{m}): Remove.
1029 * expr.c (expand_expr_real_2): Remove expansion path for
1030 reduc_[us](min|max|plus) optabs.
1031 * optabs-tree.c (scalar_reduc_to_vector): Remove.
1032 * optabs-tree.h (scalar_reduc_to_vector): Remove.
1033 * optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
1034 reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
1035 * tree-vect-loop.c (vectorizable_reduction): Remove test for
1036 reduc_[us](min|max|plus) optabs.
1037
7353a826 10382016-01-14 Alan Lawrence <alan.lawrence@arm.com>
1039
1040 * config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
1041 (reduc_plus_scal_v2sf): New.
1042 (reduc_smax_v2sf): Rename to...
1043 (reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
1044 (reduc_smin_v2sf): Rename to...
1045 (reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
1046
6ec1c3b6 10472016-01-14 Jan Hubicka <hubicka@ucw.cz>
1048
1049 * alias.c (compare_base_symbol_refs): New function.
1050 (rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
1051 it.
1052
915d0950 10532016-01-14 Jakub Jelinek <jakub@redhat.com>
1054
1055 PR middle-end/68146
1056 PR tree-optimization/69155
1057 * tree-complex.c: Include cfganal.h.
1058 (phis_to_revisit): New variable.
1059 (extract_component): Add phiarg_p argument. Assert that returned
1060 SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
1061 (update_phi_components): Partly rewrite to use loop over real/imag
1062 components instead of code duplication. If extract_component returns
1063 SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
1064 create_tmp_reg into the PHI node instead, and mention the phi triplet
1065 in phis_to_revisit.
1066 (tree_lower_complex): Walk bbs in rpo order. Adjust phis recorded
1067 in phis_to_revisit at the end.
1068
24651fb7 10692016-01-14 Richard Biener <rguenther@suse.de>
1070
1071 PR tree-optimization/68060
1072 * tree-vect-loop.c (vect_is_simple_reduction): Check the
1073 outer loop reduction is only used in the inner loop before
1074 detecting a double reduction.
1075
f6a7e9ea 10762016-01-14 Jakub Jelinek <jakub@redhat.com>
1077
1078 PR target/68269
1079 * combine.c (expand_field_assignment): Punt if compute_mode is
1080 unsupported scalar mode.
1081
11b1a9c4 10822016-01-14 Richard Biener <rguenther@suse.de>
1083
1084 PR tree-optimization/66856
1085 * tree-vect-slp.c (vect_build_slp_tree): Refactor to build
1086 SLP node only if it built successfully.
1087 (vect_analyze_slp_instance): Adjust.
1088
3ce0acde 10892016-01-14 Jeff Law <law@redhat.com>
1090
1091 PR tree-optimization/69270
1092 * tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
1093 (record_edge_info): Use it. Convert boolean_{true,false}_node
1094 to the type of op0.
1095
3634f8ff 10962016-01-13 Jan Hubicka <hubicka@ucw.cz>
1097
1098 PR ipa/66487
1099 * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
1100 use block_ultimate_origin
1101 (noncall-stmt_may_be_vtbl_ptr_store): Likewise.
86eff91f 1102
737497e4 11032016-01-13 Sandra Loosemore <sandra@codesourcery.com>
1104
1105 * doc/invoke.texi (Submodel Options): Rename section to
1106 "Machine-Dependent Options" to better reflect its content.
1107 Rewrite introductory text to remove archaic CPU names.
1108 Update references.
1109
6d2bb523 11102016-01-13 Sandra Loosemore <sandra@codesourcery.com>
1111
1112 * doc/invoke.texi (Code Gen Options): Move section up in file,
1113 before target-specific options. Update menu and option summary
1114 to reflect the new section ordering.
1115
6a5ff97e 11162016-01-13 Jonathan Wakely <jwakely@redhat.com>
1117
1118 * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
1119 (C++ Dialect Options): Add cross-reference to -std option.
1120 * doc/standards.texi (C++ Language): Document C++14 support.
1121
398368d8 11222016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
1123
1124 * config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
1125 for pack/unpack functions for __ibm128.
1126 (PACK_IF): Likewise.
1127 (UNPACK_IF): Likewise.
1128
1129 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
1130 support for __ibm128 pack/unpack functions.
1131 (rs6000_invalid_builtin): Likewise.
1132 (rs6000_init_builtins): Likewise.
1133 (rs6000_opt_masks): Likewise.
1134
1135 * config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
1136 (RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
1137 functions
1138 (RS6000_BTM_COMMON): Likewise.
1139
1140 * config/rs6000/rs6000.md (f128_vsx): New mode attribute.
1141 (unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
1142 disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
1143 128-bit floating point. Add support for the double values to be
1144 in Altivec registers for TF/IF packing and unpacking, but restrict
1145 TD packing sub-fields to be FPR registers. Don't allow overlapped
1146 register support for packing. Allow pack inputs to be memory
1147 locations. Don't build generator functions for unpack<mode>_dm
1148 and unpack<mode>_nodm.
1149 (unpack<mode>_dm): Likewise.
1150 (unpack<mode>_nodm): Likewise.
1151 (pack<mode>): Likewise.
1152
1153 * config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
1154 built-in functions to pack/unpack explicit __ibm128 values.
1155 (__builtin_unpack_ibm128): Likewise.
1156
1157 * doc/extend.texi (PowerPC Built-in Functions): Document
1158 __builtin_pack_ibm128 and __builtin_unpack_ibm128.
1159
bda05c57 11602016-01-13 Bernd Schmidt <bschmidt@redhat.com>
1161
1162 PR c/66208
1163 * c-common.c (check_function_nonnull): Remove unnecessary declaration.
1164 Add new arg loc and pass it down as context.
1165 (check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
1166 to the location to use for the warning.
1167 (check_function_arguments): New arg loc. All callers changed. Pass
1168 it to check_function_nonnull.
1169 * c-common.h (check_function_arguments): Adjust declaration.
1170
9b657cf1 11712016-01-13 Jakub Jelinek <jakub@redhat.com>
1172
1173 PR tree-optimization/69156
1174 * gimple.c (validate_type): Removed.
1175 (gimple_builtin_call_types_compatible_p): Use
1176 useless_type_conversion_p instead of validate_type.
1177 * value-prof.c (gimple_stringop_fixed_value): Fold
1178 icall_size to correct type.
1179
7a893409 11802016-01-13 Jonathan Wakely <jwakely@redhat.com>
1181
1182 * doc/extend.texi (__atomic Builtins): Clarify compare_exchange
1183 effects.
1184
e5fee0fe 11852016-01-13 Richard Henderson <rth@redhat.com>
1186
1187 PR tree-opt/68964
1188 * target.def (builtin_tm_load, builtin_tm_store): Remove.
1189 * config/i386/i386.c (ix86_builtin_tm_load): Remove.
1190 (ix86_builtin_tm_store): Remove.
1191 (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
1192 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
1193 * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
1194 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
1195 * doc/tm.texi: Rebuild.
1196
1197 * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
1198 (BUILT_IN_TM_MEMCPY_RTWN): New.
1199 * trans-mem.c (tm_log_emit_stmt): Rearrange code for better
1200 fallback from vector to integer helpers.
1201 (build_tm_load): Handle vector types directly, instead of
1202 via target hook.
1203 (build_tm_store): Likewise.
1204 (expand_assign_tm): Prepare for register types not handled by
1205 the above. Copy them to memory and use memcpy.
1206 * tree.c (tm_define_builtin): New.
1207 (find_tm_vector_type): New.
1208 (build_tm_vector_builtins): New.
1209 (build_common_builtin_nodes): Call it.
1210
69ce658a 12112016-01-13 Uros Bizjak <ubizjak@gmail.com>
1212
1213 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
1214 TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
1215
3f0e9745 12162016-01-13 Tom de Vries <tom@codesourcery.com>
1217
1218 PR tree-optimization/69169
1219 * tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
1220 handled_struct_type param.
1221 (create_variable_info_for, intra_create_variable_infos): Call
1222 create_variable_info_for_1 with extra arg.
1223
b5472468 12242016-01-13 Yvan Roux <yvan.roux@linaro.org>
1225
1226 * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
1227 and "armv8.1-a+crc" entries.
1228
9b657cf1 12292016-01-13 Alexander Fomin <alexander.fomin@intel.com>
7361eb31 1230
1231 PR target/69228
1232 * config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
1233 Change first operand predicate from register_or_constm1_operand
1234 to register_operand.
1235 (define_expand "avx512pf_gatherpf<mode>df"): Likewise.
1236 (define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
1237 (define_expand "avx512pf_scatterpf<mode>df"): Likewise.
1238 (define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
1239 (define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
1240 (define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
1241 (define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
1242 * config/i386/i386.c (ix86_expand_builtin): Remove first operand
1243 comparison with constm1_rtx from vec_prefetch_gen part.
1244
2e1cb7c0 12452016-01-13 Richard Biener <rguenther@suse.de>
1246
1247 PR tree-optimization/69013
1248 * tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
1249 Exchange assert for a test.
1250
f704d701 12512016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1252
1253 PR target/69247
1254 * config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
1255
e966d6b9 12562016-01-13 Richard Biener <rguenther@suse.de>
1257
1258 PR tree-optimization/69242
1259 * tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
1260 assert with a check.
1261
1ca1d9b2 12622016-01-13 Richard Biener <rguenther@suse.de>
1263
1264 PR tree-optimization/69186
1265 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
1266 Properly guard vect_update_misalignment_for_peel call.
1267
d07cbccc 12682016-01-12 Jeff Law <law@redhat.com>
1269
1270 PR tree-optimization/pr67755
1271 * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
1272 "need_profile_correction".
1273 (thread_block_1): Initialize new field to false by default. If we
1274 have multiple thread paths through a common joiner to different
1275 final targets, then set new field to true.
1276 (compute_path_counts): Only do count adjustment when it's really
1277 needed.
1278
9b657cf1 12792016-01-12 Sandra Loosemore <sandra@codesourcery.com>
22c0b214 1280
1281 * doc/invoke.texi (Spec Files): Move section down in file, past
1282 all command-line option descriptions.
1283
e5e02edc 12842016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1285
1286 PR middle-end/54809
1287 * doc/gty.texi: Remove documentation of mark_hook.
1288 * gengtype.c (struct write_types_data): Remove code to support
1289 mark_hook attribute.
1290 (walk_type): Likewise.
1291 (write_func_for_structure): Likewise.
1292
9b657cf1 12932016-01-12 Sandra Loosemore <sandra@codesourcery.com>
e17217d5 1294
1295 * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
1296 Directory Options, and -specs= to Overall Options.
1297 (Overall Options): Adjust similarly. Reorder to group related
1298 options together. Make -specs= cross-reference the spec file details.
1299 (Directory Options): Adjust similarly.
1300
31e5d72d 13012016-01-12 Jeff Law <law@redhat.com>
1302
1303 * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
1304
e1a390d6 13052016-01-12 Olivier Hainque <hainque@adacore.com>
1306
1307 * gcc.c (spec_undefvar_allowed): New global.
1308 (process_command): Set to true when running for --version or --help,
1309 alone or together.
1310 (getenv_spec_function): When the variable is not defined, use the
1311 variable name as the variable value if we're allowed not to issue
1312 a fatal error.
1313
b95d41cf 13142016-01-12 Bin Cheng <bin.cheng@arm.com>
1315
1316 PR tree-optimization/68911
1317 * tree-vrp.c (adjust_range_with_scev): Check overflow in range
1318 information computed for expression "init + nit * step".
1319
9b657cf1 13202016-01-12 Sandra Loosemore <sandra@codesourcery.com>
7fdeddab 1321
1322 * doc/invoke.texi (Invoking GCC): Copy-edit. Incorporate information
1323 about name of GCC executable. Remove deleted node from menu.
1324 (Directory Options) <-B>: Remove cross-reference to deleted node.
1325 (Target Options): Delete section.
1326
b9cb7a67 13272016-01-12 Christian Bruel <christian.bruel@st.com>
1328
1329 PR target/69180
1330 * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
1331 for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
1332
90525f61 13332016-01-12 Jakub Jelinek <jakub@redhat.com>
1334
72813f9b 1335 PR target/69198
1336 * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
1337 aligned_mem is properly set for AVX512-VL floating point masked
1338 stores.
1339
90525f61 1340 PR target/69175
1341 * ifcvt.c (cond_exec_process_if_block): When removing the last
1342 insn from then_bb, remove also any possible barriers that follow it.
1343
7c88d60a 13442016-01-12 H.J. Lu <hongjiu.lu@intel.com>
1345
1346 PR target/68456
1347 PR target/69226
1348 * config/i386/iamcu.h (SIZE_TYPE): New macro.
1349 (PTRDIFF_TYPE): Likewise.
1350 (WCHAR_TYPE): Likewise.
1351 (WCHAR_TYPE_SIZE): Likewise.
1352 (STDINT_LONG32): Likewise.
1353
0464ea95 13542016-01-12 Richard Biener <rguenther@suse.de>
1355
1356 PR tree-optimization/69053
1357 * tree-vect-loop.c (get_initial_def_for_reduction): Properly
1358 convert initial value for cond reductions.
1359
5ddb3e0d 13602016-01-12 Richard Biener <rguenther@suse.de>
1361
1362 PR tree-optimization/69007
1363 * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
1364 widen_sum after dot_prod and sad.
1365
7819730f 13662016-01-12 Richard Biener <rguenther@suse.de>
1367
1368 PR tree-optimization/69168
1369 * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
1370 pattern stmt SLP type.
1371 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
1372 end up unused so cope with that case.
1373
995bfebf 13742016-01-12 Richard Biener <rguenther@suse.de>
1375
1376 PR tree-optimization/69157
1377 * tree-vect-stmts.c (vectorizable_mask_load_store): Check
1378 stmts def type only during analyze phase.
1379 (vectorizable_call): Likewise.
1380 (vectorizable_simd_clone_call): Likewise.
1381 (vectorizable_conversion): Likewise.
1382 (vectorizable_assignment): Likewise.
1383 (vectorizable_shift): Likewise.
1384 (vectorizable_operation): Likewise.
1385 (vectorizable_store): Likewise.
1386 (vectorizable_load): Likewise.
1387
13882016-01-12 Richard Biener <rguenther@suse.de>
1389
1390 PR tree-optimization/69174
1391 * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
1392 space.
1393 (vectorizable_load): Properly compute the number of loads needed
1394 for permuted strided SLP loads and do not spuriously assign
1395 to SLP_TREE_VEC_STMTS.
1396
9b657cf1 13972016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
da024748 1398
1399 * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
1400 (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
1401 (MD_EXEC_PREFIX): Remove.
1402 (MD_STARTFILE_PREFIX) Removee.
1403 (FILE_NAME_ABSOLUTE_P): Remove.
1404 (CPP_SPEC): Do not read macros from sys/version.h.
1405 (LINK_COMMAND_SPEC): Remove.
1406 (LOCAL_INCLUDE_DIR): Remove.
1407 (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
1408 (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
1409 (POST_LINK_SPEC): Define to invoke stubify after linker
1410 (LIBSTDCXX): Remove define
1411 (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
1412 (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
1413 (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
1414 (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
1415 (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
1416 (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
1417 (i386_djgpp_asm_named_section): Add propotype of new procedure
1418
1419 * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
1420 (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
1421 (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX in config/i386/djgpp.h).
1422 (STANDARD_STARTFILE_PREFIX_2): Define identical to STANDARD_STARTFILE_PREFIX_1.
1423 (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
1424 (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal installation errors.
1425 (MAX_OFILE_ALIGNMENT): Define to 128.
1426 (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
1427
1428 * config/i386/djgpp.c: New file. Add implementation of i386_djgpp_asm_named_section.
1429
1430 * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
1431
1432 * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
1433 Add rule for building djgpp.o.
1434
f0b79faf 14352016-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1436
1437 * config/rs6000/rs6000.c (v2df_reduction_p): New function.
1438 (rtx_is_swappable_p): Reductions are swappable.
1439 (insn_is_swappable_p): V2DF reductions are swappable.
1440
1c36decb 14412016-01-11 John David Anglin <danglin@gcc.gnu.org>
1442
1443 * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
1444 reloads for other unsupported memory operands.
1445
0eb4264c 14462016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
1447 Jim Wilson <jim.wilson@linaro.org>
1448
1449 PR target/69194
1450 * config/arm/arm-builtins.c (arm_expand_neon_args): Call
1451 copy_to_mode_reg instead of force_reg.
1452
2f66de64 14532016-01-11 H.J. Lu <hongjiu.lu@intel.com>
1454
1455 PR target/69225
1456 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
1457 TARGET_80387 is true.
1458
4f64f91b 14592016-01-11 Jakub Jelinek <jakub@redhat.com>
1460
a4a87320 1461 PR target/69071
1462 * lra-eliminations.c (move_plus_up): Only move plus up
1463 if subreg of the constant can be simplified into constant
1464 and use the simplified subreg of the constant instead of
1465 the original constant.
1466
be65bafa 1467 * fold-const.c (fold_convertible_p): Don't return true
1468 for conversion of VECTOR_TYPE to same sized integral type.
1469 (fold_convert_loc): Fix up formatting. Fold conversion of
1470 VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
1471 instead of NOP_EXPR.
1472
36105e82 1473 PR tree-optimization/69214
1474 * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
1475 innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
1476 Formatting fix.
1477
4f64f91b 1478 PR tree-optimization/69207
1479 * tree-vect-slp.c (vect_get_constant_vectors): For
1480 VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
1481 fold_convertible_p to vector_type's element type, and always
1482 use VCE for non-VECTOR_BOOLEAN_TYPE_P.
1483
3ff1b153 14842016-01-11 Richard Biener <rguenther@suse.de>
1485
1486 PR tree-optimization/69173
1487 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
1488 fixup the cycle if all stmts are in a pattern.
1489
47d3d230 14902016-01-11 Uros Bizjak <ubizjak@gmail.com>
1491
1492 PR middle-end/68999
1493 * alias.c (base_alias_check): Move check for addresses with
1494 alignment ANDs before the call for compare_base_decls.
1495 (memrefs_conflict_p): Return -1 for different decls
1496 that went through alignment adjustments.
1497
04e1504c 14982016-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1499
1500 PR rtl-optimization/68796
1501 * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
1502 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
1503 and QImode comparisons against zero with CC_NZmode.
1504 * config/aarch64/iterators.md (short_mask): New mode_attr.
1505
1ef0270e 15062016-01-11 H.J. Lu <hongjiu.lu@intel.com>
1507
47d3d230 1508 * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
1ef0270e 1509 (<avx512>_store<mode>_mask): Likewise.
1510
ae8718b5 15112016-01-11 Bernd Schmidt <bschmidt@redhat.com>
47d3d230 1512 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
ae8718b5 1513
1514 PR rtl-optimization/68841
1515 * ifcvt.c (struct noce_if_info): Add orig_x field.
1516 (bbs_ok_for_cmove_arith): Add to_rename parameter.
1517 Don't record conflicts on to_rename if it's present.
1518 Allow memory destinations in sets.
1519 (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
1520 blocks, passing orig_x to the checks.
1521 (noce_process_if_block): Set if_info->orig_x appropriately.
1522
07d36511 15232016-01-11 Tom de Vries <tom@codesourcery.com>
1524
1525 PR tree-optimization/69069
1526 * tree-parloops.c (create_parallel_loop): Add missing phi args.
1527
bd8bece2 15282016-01-11 Yuri Rumyantsev <ysrumyan@gmail.com>
1529
1530 PR rtl-optimization/68920
1531 * config/i386/i386.c (ix86_option_override_internal): Restrict number
1532 of conditional moves for RTL if-conversion to 1 for
1533 TARGET_ONE_IF_CONV_INSN.
1534 * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
1535 * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
1536 * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
1537 parameter to restirct number of conditional moves for
1538 RTL if-conversion.
1539 * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
1540 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
1541 conditionl moves.
1542
9b657cf1 15432016-01-11 Alexandre Oliva <aoliva@redhat.com>
a498bf74 1544
57c83f79 1545 PR bootstrap/69123
1546 * var-tracking.c (drop_overlapping_mem_locs): Operate on all
1547 onepart vars. Fix typo in comment. Fix reversed condition in
1548 unshare test.
1549 (dataflow_set_remove_mem_locs): Operate on all onepart vars.
1550
a498bf74 1551 PR bootstrap/69123
1552 * var-tracking.c (dump_onepart_variable_differences): New.
1553 (dataflow_set_different): If a detailed dump is requested,
1554 delay early returns and dump differences between onepart
1555 variables present before and after, and added variables.
1556
7a158352 15572016-01-11 Ilya Enkovich <enkovich.gnu@gmail.com>
1558
1559 PR target/69010
1560 * expr.c (expand_expr_real_1): For boolean vector constants
1561 with a scalar mode use const_scalar_mask_from_tree.
1562 (const_scalar_mask_from_tree): New.
1563 * optabs.c (expand_vec_cond_mask_expr): Use mask mode
1564 assigned to a mask type to handle constants.
1565
ff375d11 15662016-01-11 Martin Jambor <mjambor@suse.cz>
1567
1568 PR ipa/69044
1569 * ipa-cp.c (estimate_local_effects): Do not clone for removal of
1570 useless parameters if we cannot change function signature.
1571
2ebf191d 15722016-01-11 Martin Jambor <mjambor@suse.cz>
1573
1574 PR ipa/66616
1575 * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
1576 flag.
1577
9eb890f1 15782016-01-11 Tom de Vries <tom@codesourcery.com>
1579
1580 PR tree-optimization/69109
1581 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
1582 latch with phi.
1583
c4157ee5 15842016-01-11 Tom de Vries <tom@codesourcery.com>
1585
1586 PR tree-optimization/69108
1587 * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
1588 res is not used in a phi.
1589
4589a801 15902016-01-11 Yury Gribov <y.gribov@samsung.com>
1591
1592 PR 67425
1593 * common.opt (frandom-seed): Fix parameter name.
1594 * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
1595
71e083dc 15962016-01-11 Tom de Vries <tom@codesourcery.com>
1597
1598 PR tree-optimization/69058
1599 * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
1600 not supported.
1601
e9f6e998 16022016-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
1603
1604 * config/arc/arc.opt (mdiv-rem): Add period to the end.
1605 (mcode-density): Likewise.
1606
a006c0bb 16072016-01-10 Tom de Vries <tom@codesourcery.com>
1608
1609 PR tree-optimization/69062
1610 * tree-parloops.c (loop_has_phi_with_address_arg): New function.
1611 (parallelize_loops): Don't paralelize loop that has phi with address
1612 arg.
1613
d95e1856 16142016-01-10 Tom de Vries <tom@codesourcery.com>
1615
1616 PR tree-optimization/69039
1617 * tree-parloops.c (try_create_reduction_list): Only allow single exit
1618 phi for reduction.
1619
92159af9 16202016-01-09 John David Anglin <danglin@gcc.gnu.org>
1621
1622 PR middle-end/68743
1623 * match.pd: Require target has function_c99_misc before doing
1624 truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
1625
99dfbf20 16262016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
1627
1628 * configure.ac (isl_options_set_schedule_serialize_sccs): Also
1629 use GMPINC.
1630 * configure: Regenerate.
1631
7dff0499 16322016-01-09 Jakub Jelinek <jakub@redhat.com>
1633
1634 PR middle-end/50865
1635 PR tree-optimization/69097
1636 * fold-const.h (expr_not_equal_to): New prototype.
1637 * fold-const.c: Include stringpool.h and tree-ssanames.h.
1638 (expr_not_equal_to): New function.
1639 * match.pd (X % -Y is the same as X % Y): Don't optimize
1640 unless X is known not to be equal to minimum or Y is known
1641 not to be equal to -1.
1642 * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
1643 fold TRUNC_MOD_EXPR if the second argument is not a power of two.
1644 (simplify_stmt_using_ranges): Adjust caller.
1645 (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
1646 substitute_and_fold.
1647
2638dc9f 16482016-01-09 Jan Hubicka <hubicka@ucw.cz>
1649
1650 * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
1651 w/o DECL_NAME.
1652
1943a4a2 16532016-01-08 Jakub Jelinek <jakub@redhat.com>
1654
1655 PR tree-optimization/69167
1656 * gimple-fold.c (replace_stmt_with_simplification): Also punt if
1657 new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
1658 ops[0] comparison.
1659 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
1660
44c01906 16612016-01-08 Alan Lawrence <alan.lawrence@arm.com>
1943a4a2 1662 Richard Biener <rguenther@suse.de>
44c01906 1663
1664 PR tree-optimization/68707
1665 * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
1666 instances that can be handled via vect_load_lanes.
1667
faebb21b 16682016-01-08 Uros Bizjak <ubizjak@gmail.com>
1669
1670 * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
1671 if we can't determine address equivalence.
1672 * alias.c (compare_base_decl): Update for changed return value of
1673 symtab_node::equal_address_to.
1674
1fe75cf2 16752016-01-08 Jason Merrill <jason@redhat.com>
1676
1677 PR c++/68983
1678 PR c++/67557
1679 * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
1680 * expr.c (store_field): Not here.
1681 * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
1682 call with TREE_ADDRESSABLE type.
1683 * tree-cfg.c (verify_gimple_call): Adjust.
1684
81573ac9 16852016-01-08 Olivier Hainque <hainque@adacore.com>
1686
1687 * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
1688 libc_internal.
1689
38b759f7 16902016-01-08 Alan Lawrence <alan.lawrence@arm.com>
1691
1692 * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
1693 (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
1694 (reduc_smin_v2sf): Rename to...
1695 (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
1696 (reduc_splus_v2sf): Rename to...
1697 (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
1698
c437d1e8 16992016-01-08 Jakub Jelinek <jakub@redhat.com>
1700
c9595c51 1701 PR tree-optimization/69162
1702 * gimplify.c (gimplify_va_arg_expr): Encode original type of
1703 valist argument in another argument.
1704 (gimplify_modify_expr): Adjust for the above change. Cleanup.
1705 * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
1706 to determine the va_list type, build a MEM_REF instead of
1707 build_fold_indirect_ref.
1708
c437d1e8 1709 PR tree-optimization/69172
1710 * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
1711 gimple_build.
1712
6a46a28c 17132016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
1714
1715 PR tree-optimization/67781
1716 * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
1717 and cmpnop in two steps: first the ones not accessed in original
1718 gimple expression in a endian independent way and then the ones not
1719 accessed in the final result in an endian-specific way.
1720
62ad9a04 17212016-01-08 Jakub Jelinek <jakub@redhat.com>
1722
1723 PR tree-optimization/69083
1724 * tree-vect-slp.c (vect_get_constant_vectors): For
1725 VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
1726 element type. If op is fold_convertible_p to vector_type's element
1727 type, use NOP_EXPR instead of VCE.
1728
3189b981 17292016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
1730
1731 PR rtl-optimization/67778
1732 PR rtl-optimization/68634
1733 PR rtl-optimization/68909
1734 * shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
1735 block from the stack until done with it. Remove a superfluous
1736 bitmap set. Remove a superfluous bitmap test.
1737
517906ff 17382016-01-07 Martin Sebor <msebor@redhat.com>
1739
1740 PR c/68966
1741 * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
1742 constraint on the type of arguments.
1743
63c8fa77 17442016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
1745
1746 * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
1747 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
1748 unaligned_access on the gcc_options set.
1749 * config/arm/arm.c (arm_option_override_internal): Use
1750 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
1751
78b01849 17522016-01-07 Uros Bizjak <ubizjak@gmail.com>
1753
1754 PR target/69140
1755 * config/i386/i386.c (ix86_frame_pointer_required): Enable
1756 frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
1757
17582016-01-07 Uros Bizjak <ubizjak@gmail.com>
1759
1760 Revert
1761 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
1762
1763 PR target/69140
1764 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
1765 depending on frame_pointer_needed before remaining integer and SSE
1766 registers are saved.
1767
9b657cf1 17682016-01-07 Sandra Loosemore <sandra@codesourcery.com>
2135f53f 1769
1770 PR 1078
1771 * doc/extend.texi (Nvidia PDX Function Attributes): New section.
1772
cd45d7a5 17732016-01-07 H.J. Lu <hongjiu.lu@intel.com>
1774
1775 PR target/69171
1776 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
1777 Use the "xBm" constraint.
1778 (float<sseintvecmodelower><mode>2<mask_name><round_name):
1779 Likewise.
1780 (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
1781 (sse_cvtsi2ssq<round_name>): Likewise.
1782 (sse_cvtss2si<round_name>): Likewise.
1783 (sse_cvtss2siq<round_name>): Likewise.
1784 (sse2_cvtsi2sdq<round_name>): Likewise.
1785 (sse2_cvtsd2si<round_name>): Likewise.
1786 (sse2_cvtsd2siq<round_name>): Likewise.
1787 * config/i386/subst.md (round_nimm_scalar_predicate): New
1788 predicate.
1789
8b23f76d 17902015-12-15 Bernd Schmidt <bschmidt@redhat.com>
1791
4a86a91a 1792 PR middle-end/67639
1793 * varasm.c (make_decl_rtl): Mark invalid register vars as
1794 DECL_EXTERNAL.
1795
8b23f76d 1796 PR rtl-optimization/66206
1797 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
1798 All callers changed.
1799
70dc2f6e 18002016-01-07 Jakub Jelinek <jakub@redhat.com>
1801
34c05552 1802 PR tree-optimization/69141
1803 * tree-ssa-pre.c: Include langhooks.h.
1804 (eliminate_dom_walker::before_dom_children): Use
1805 lang_hooks.decl_printable_name instead of
1806 cgraph_node::get ()->name ().
1807
70dc2f6e 1808 PR middle-end/68960
1809 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
1810 it and DECL_ALIGN too.
1811
182dc122 18122016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
1813
1814 * config/mips/mips-ftypes.def: Sort to lexicographical order.
1815
32ec4173 18162016-01-06 Uros Bizjak <ubizjak@gmail.com>
1817
1818 PR target/69140
1819 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
1820 depending on frame_pointer_needed before remaining integer and SSE
1821 registers are saved.
1822
73991cab 18232015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
1824
1825 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
1826 mode iterator with VSX_M2.
1827 (*p9_vecstore_<mode>): Likewise.
1828 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
1829 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
1830 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
1831 (define_split for VSX_LE128 stores): Likewise.
1832 (define_peephole2 for TImode LE swaps): Likewise.
1833 (define_split for VSX_LE128 post-reload stores): Likewise.
1834
be3c9981 18352016-01-06 Marek Polacek <polacek@redhat.com>
1836
1837 PR sanitizer/69099
1838 * convert.c (convert_to_integer_1): Adjust call to
1839 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
1840 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
1841 EXPR instead of ARG.
1842 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
1843
9b657cf1 18442016-01-05 Sandra Loosemore <sandra@codesourcery.com>
0a4f190b 1845
1846 PR 1078
1847 * doc/extend.texi (RL78 Variable Attributes): New section.
1848
2cb724f9 18492016-01-05 Marek Polacek <polacek@redhat.com>
1850
1851 PR c/69104
1852 * builtins.c (get_memmodel): Use expansion point location rather than
1853 the input location. Call warning_at rather than warning.
1854 (expand_builtin_atomic_compare_exchange): Likewise.
1855 (expand_builtin_atomic_load): Likewise.
1856 (expand_builtin_atomic_store): Likewise.
1857 (expand_builtin_atomic_clear): Likewise.
1858
233a53ed 18592016-01-05 H.J. Lu <hongjiu.lu@intel.com>
1860
1861 PR target/68991
1862 * config/i386/i386.c (ix86_expand_vector_logical_operator):
1863 Replace nonimmediate_operand with vector_operand.
1864 * config/i386/predicates.md (vector_operand): New predicate.
1865 (general_vector_operand): Replace nonimmediate_operand with
1866 vector_operand.
1867 * config/i386/sse.md: Replace nonimmediate_operand with
1868 vector_operand and m constraint with Bm constraint on SSE
1869 patterns with 16-byte memory operand.
1870 * config/i386/subst.md (round_nimm_predicate): Replace
1871 nonimmediate_operand with vector_operand.
1872 (round_saeonly_nimm_predicate): Likewise.
1873 (round_saeonly_nimm_scalar_predicate): New.
1874
ea87c5e3 18752016-01-05 H.J. Lu <hongjiu.lu@intel.com>
1876
1877 PR target/68991
1878 * config/i386/constraints.md (Bm): New constraint.
1879 * config/i386/predicates.md (vector_memory_operand): New
1880 predicate.
1881 * config/i386/sse.md: Replace xm with xBm in plusminus and
1882 any_logic patterns.
1883
9b657cf1 18842016-01-05 Sandra Loosemore <sandra@codesourcery.com>
a65992fe 1885
1886 PR 1078
1887 * doc/extend.texi (V850 Function Attributes): New section.
1888 (V850 Variable Attributes): New section.
1889
9b657cf1 18902016-01-05 Sandra Loosemore <sandra@codesourcery.com>
5761e277 1891
1892 PR 1078
1893 * doc/extend.texi (MicroBlaze Function Attributes): Document
1894 interrupt_handler and fast_interrupt attributes.
1895
9b657cf1 18962016-01-05 Sergei Trofimovich <siarheit@google.com>
afe82e5b 1897
1898 PR other/60465
1899 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
1900 for local symbolic operands.
1901 * config/ia64/predicates.md (local_symbolic_operand64): New
1902 predicate.
1903
1e9147dd 19042016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1905
1906 PR rtl-optimization/68651
1907 * combine.c (combine_simplify_rtx): Canonicalize x + x into
1908 x << 1.
1909
1776de76 19102016-01-05 Nathan Sidwell <nathan@acm.org>
1911
1912 * alias.c (compare_base_decls): Use symtab_node::get.
1913
813cfbbe 19142016-01-05 Nick Clifton <nickc@redhat.com>
1915
5beb12c0 1916 PR target/68770
1917 * ira-costs.c (copy_cost): Initialise the t_icode field of the
1918 secondary_reload_info structure.
1919
813cfbbe 1920 PR target/66655
1921 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
1922 decls if weak support is available.
1923
57f928fc 19242016-01-04 Martin Sebor <msebor@redhat.com>
1925
1926 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
1927
8427dff3 19282016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
1929
09c7d598 1930 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
1931 OPTION_MASK_P9_DFORM.
1932
8427dff3 1933 * config/rs6000/constraints.md (wo constraint): New constraint for
1934 ISA 3.0 (power9).
1935
1936 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
1937 for wo constraint.
1938 (rs6000_init_hard_regno_mode_ok): Likewise.
1939
1940 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
1941 wo constraint.
1942
1943 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
1944 expanders not to have constraints. Add support for ISA 3.0 xxperm
1945 instruction. Add support for fusing xxlor with xxperm.
1946 (altivec_vperm_<mode>_internal): Likewise.
1947 (altivec_vperm_v8hiv16qi): Likewise.
1948 (altivec_vperm_<mode>v16q): Likewise.
1949 (altivec_vperm_<mode>_uns): Likewise.
1950 (vperm_v8hiv4si): Likewise.
1951 (vperm_v16qiv8hi): Likewise.
1952
1953 * doc/md.texi (RS/6000 constraints): Document wo constraint.
1954
2355cca7 19552016-01-04 Jakub Jelinek <jakub@redhat.com>
1956
f1717362 1957 Update copyright years.
1958
2355cca7 1959 * gcc.c (process_command): Update copyright notice dates.
1960 * gcov-dump.c (print_version): Ditto.
1961 * gcov.c (print_version): Ditto.
1962 * gcov-tool.c (print_version): Ditto.
1963 * gengtype.c (create_file): Ditto.
1964 * doc/cpp.texi: Bump @copying's copyright year.
1965 * doc/cppinternals.texi: Ditto.
1966 * doc/gcc.texi: Ditto.
1967 * doc/gccint.texi: Ditto.
1968 * doc/gcov.texi: Ditto.
1969 * doc/install.texi: Ditto.
1970 * doc/invoke.texi: Ditto.
1971
65aafe28 19722016-01-04 Eric Botcazou <ebotcazou@adacore.com>
1973
1974 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
1975 modes larger than TImode as TImode if NEON is not enabled.
1976
b8f4a5f9 19772016-01-04 Eric Botcazou <ebotcazou@adacore.com>
1978
1979 PR target/69100
1980 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
1981 mode for %f0-%f31 only if TARGET_FPU.
1982
6b5c028f 19832016-01-04 Eric Botcazou <ebotcazou@adacore.com>
1984
1985 PR target/69072
1986 * config/sparc/sparc.c (scan_record_type): Take into account subfields
1987 to compute the PACKED_P predicate.
1988 (function_arg_record_value): Minor tweaks.
1989
f006b2a0 19902016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
1991
1992 * doc/install.texi (--with-multilib-list): Describe the meaning of the
1993 option for arm*-*-* targets.
1994
9b657cf1 19952016-01-03 Sandra Loosemore <sandra@codesourcery.com>
fde14dff 1996
1997 * doc/extend.texi (Common Function Attributes): Move docs for
1998 MSP430-specific attributes to....
1999 (MSP430 Function Attributes): ...here. Delete the redundant
2000 entries and copy-edit the remaining text.
2001 (MSP430 Variable Attributes): Use uniform format for index
2002 entries and add a cross-reference to the corresponding function
2003 attribute docs.
2004
9b657cf1 20052016-01-03 Vladimír Čunát <vcunat@gmail.com>
586176d8 2006
2007 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
2008 -finite-math typo.
2009 (x86 Options): Likewise.
2010
19923995 20112016-01-01 Sandra Loosemore <sandra@codesourcery.com>
2012
2013 PR 1078
2014
2015 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
2016 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
2017 to corresponding attribute.
2018
89324f53 20192016-01-01 Sandra Loosemore <sandra@codesourcery.com>
2020
2021 * doc/extend.texi (Common Function Attributes) <noplt>: Move
2022 to correct alphabetization of table. Copy-edit and correct
2023 markup.
2024 <stack_protect>: Likewise.
2025 <target_clones>: Likewise.
2026 <simd>: Likewise.
2027 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
2028 Correct punctuation.
2029 (Code Gen Options) <-fno-plt>: Copy-edit.
2030
98b481a9 20312016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
2032
2033 PR target/68917
2034 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
2035 SI values. Explicitly convert SI to DI and vice-versa.
2036
25371c91 20372016-01-01 Jakub Jelinek <jakub@redhat.com>
2038
2a659064 2039 PR tree-optimization/69070
2040 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
2041 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
2042
57aa9851 2043 PR sanitizer/69055
2044 * ubsan.c (ubsan_instrument_float_cast): Call
2045 initialize_sanitizer_builtins.
2046
25371c91 2047 PR target/69015
2048 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
7dfbd804 2049\f
fb2c1edd 2050Copyright (C) 2016 Free Software Foundation, Inc.
7dfbd804 2051
2052Copying and distribution of this file, with or without modification,
2053are permitted in any medium without royalty provided the copyright
2054notice and this notice are preserved.