1 2016-02-25 Richard Biener <rguenther@suse.de>
3 PR tree-optimization/48795
4 * tree-vrp.c (check_array_ref): Use array_at_struct_end_p.
6 2016-02-25 Ilya Verbin <ilya.verbin@intel.com>
9 * config/gnu-user.h (CRTOFFLOADBEGIN): Define. Add crtoffloadbegin.o if
10 offloading is enabled and -fopenacc or -fopenmp is specified.
11 (CRTOFFLOADEND): Likewise.
12 (GNU_USER_TARGET_STARTFILE_SPEC): Add CRTOFFLOADBEGIN.
13 (GNU_USER_TARGET_ENDFILE_SPEC): Add CRTOFFLOADEND.
14 * lto-wrapper.c (offloadbegin, offloadend): Remove static vars.
15 (offload_objects_file_name): New static var.
16 (tool_cleanup): Remove offload_objects_file_name file.
17 (find_offloadbeginend): Replace with ...
18 (find_crtoffloadtable): ... this.
19 (run_gcc): Remove offload_argc and offload_argv.
20 Get offload_objects_file_name from -foffload-objects=... option.
21 Read names of object files with offload from this file, pass them to
22 compile_images_for_offload_targets. Don't call find_offloadbeginend and
23 don't pass offloadbegin and offloadend to the linker. Don't pass
24 offload non-LTO files to the linker, because now they're not claimed.
26 2016-02-25 Jan Hubicka <hubicka@ucw.cz>
29 * ipa-devirt.c (possible_polymorphic_call_targets): Do not ICE
30 on builtin_unreachable.
32 2016-02-25 Jakub Jelinek <jakub@redhat.com>
34 PR rtl-optimization/69896
35 * regcprop.c: Include cfgrtl.h.
36 (copyprop_hardreg_forward_1): If noop_p insn uses narrower
37 than remembered mode, either delete it (if noop_move_p), or
38 treat like copy_p but not noop_p instruction.
40 2016-02-24 Jakub Jelinek <jakub@redhat.com>
43 * dwarf2out.c (gen_variable_die): Work around buggy LTO
44 - allow NULL decl for Fortran DW_TAG_common_block variables.
46 2016-02-24 Jason Merrill <jason@redhat.com>
48 * common.opt (flifetime-dse): Add -flifetime-dse=1.
50 2016-02-24 Richard Biener <rguenther@suse.de>
51 Jakub Jelinek <jakub@redhat.com>
54 * tree-scalar-evolution.c (interpret_rhs_expr): Re-write
55 conditionally executed ops to well-defined overflow behavior.
57 2016-02-24 Jakub Jelinek <jakub@redhat.com>
60 * tree.c (build_vector_from_ctor): Fix handling of VECTOR_CST
63 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
65 PR rtl-optimization/69886
66 * gcse.c (can_assign_to_reg_without_clobbers_p): Accept mode
67 argument. Use it when checking validity of set instructions.
68 (want_to_gcse_p): Pass mode to can_assign_to_reg_without_clobbers_p.
69 (compute_ld_motion_mems): Update can_assign_to_reg_without_clobbers_p
71 * rtl.h (can_assign_to_reg_without_clobbers_p): Update prototype.
72 * store-motion.c (find_moveable_store): Update
73 can_assign_to_reg_without_clobbers_p callsite.
75 2016-02-24 Richard Biener <rguenther@suse.de>
78 * tree-ssa-loop-niter.c (derive_constant_upper_bound_ops): Fix
80 (record_nonwrapping_iv): Do not fall back to the low/high bound
81 for non-constant IV bases if the stmt is not always executed.
83 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
85 * config/arm/arm-cores.def (cortex-a32): New entry.
86 * config/arm/arm-tables.opt: Regenerate.
87 * config/arm/arm-tune.md: Regenerate.
88 * config/arm/bpabi.h (BE8_LINK_SPEC): Add mcpu=cortex-a32.
89 * config/arm/t-aprofile: Handle mcpu=cortex-a32.
90 * doc/invoke.texi (ARM Options): Document cortex-a32 as value
93 2016-02-24 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
96 * config/arm/arm.h (TARGET_HAVE_LPAE): Define.
97 * config/arm/unspecs.md (VUNSPEC_LDRD_ATOMIC): New value.
98 * config/arm/sync.md (arm_atomic_loaddi2_ldrd): New pattern.
99 (atomic_loaddi_1): Delete.
100 (atomic_loaddi): Rewrite expander using the above changes.
102 2016-02-24 Jakub Jelinek <jakub@redhat.com>
105 * params.def (PARAM_MAX_SSA_NAME_QUERY_DEPTH): Bump default from
108 2016-02-24 Jakub Jelinek <jakub@redhat.com>
109 Richard Biener <rguenth@suse.de>
112 * expr.c (expand_expr_real_1) <normal_inner_ref>: Avoid
113 set_mem_attributes if tem is SSA_NAME which got expanded
116 2016-02-24 Richard Biener <rguenther@suse.de>
118 PR tree-optimization/69907
119 * tree-vect-stmts.c (vectorizable_load): Check for gaps at the
120 end of permutations for BB vectorization.
122 2016-02-24 Christian Bruel <christian.bruel@st.com>
124 * config/arm/arm-c.c (arm_option_override): Initialize
125 target_option_current_node.
126 * config/arm/arm.c (arm_pragma_target_parse): Replace
127 build_target_option_node call by target_option_current_node.
128 Set target_option_current_node.
131 2016-02-23 David Edelsohn <dje.gcc@gmail.com>
134 * config/rs6000/rs6000.md (zero_extendqi<mode>2_dot): Convert from
135 define_insn_and_split to define_insn.
136 (zero_extendqi<mode>2_dot2): Same.
137 (extendqi<mode>2_dot): Same.
138 (extendqi<mode>2_dot2): Same.
140 2016-02-23 Evandro Menezes <e.menezes@samsung.com>
142 * config/arm/exynos-m1.md: Change cost of STP, fix bypass for stores
143 and add bypass for AES{D,E} and AESMC pairs.
144 * config/aarch64/aarch64.c (exynosm1_tunings): Enable fusion of AES{D,E}
147 2016-02-23 Evandro Menezes <e.menezes@samsung.com>
149 * config/aarch64/aarch64.c (exynosm1_tunings): Enable the Newton
150 series for reciprocal square root in Exynos M1.
152 2016-02-23 Martin Sebor <msebor@redhat.com>
155 * doc/extend.texi (Other Builtins): Document __builtin_alloca and
156 __builtin_alloca_with_align.
158 2016-02-23 Richard Henderson <rth@redhat.com>
160 * config/i386/i386-c.c (ix86_target_macros): Remove __SEG_TLS.
161 (ix86_register_pragmas): Remove __seg_tls.
162 * config/i386/i386-protos.h (ADDR_SPACE_SEG_TLS): Remove.
163 * config/i386/i386.c (ix86_print_operand_address_as): Don't handle it.
164 (ix86_addr_space_subset_p, TARGET_ADDR_SPACE_SUBSET_P): Remove.
165 (ix86_addr_space_convert, TARGET_ADDR_SPACE_CONVERT): Remove.
166 (ix86_addr_space_debug, TARGET_ADDR_SPACE_DEBUG): Remove.
167 * doc/extend.texi (__seg_tls): Remove item.
169 2016-02-23 Richard Biener <rguenther@suse.de>
171 * alloc-pool.h (struct allocation_object): Make id member
172 conditional on CHECKING_P again.
173 (get_instance): Adjust.
174 (base_pool_allocator): Likewise.
176 2016-02-23 Thomas Schwinge <thomas@codesourcery.com>
178 * tree-parloops.c (create_parallel_loop, gen_parallel_loop)
179 (parallelize_loops): In OpenACC kernels mode, set n_threads to
181 (pass_parallelize_loops::gate): In OpenACC kernels mode, gate on
183 * tree-ssa-loop.c (gate_oacc_kernels): Likewise.
185 2016-02-23 Richard Biener <rguenther@suse.de>
187 * mem-stats.h (struct mem_usage): Use PRIu64 for printing size_t.
188 * bitmap.h (struct bitmap_usage): Likewise.
189 (bitmap_move): Declare.
190 * bitmap.c (register_overhead): Take size_t argument.
191 (bitmap_move): New function.
192 * df-problems.c (df_rd_transfer_function): Use bitmap_move
193 to properly account overhead.
194 * tree.c (free_node): Use tree_size.
196 2016-02-23 Jakub Jelinek <jakub@redhat.com>
199 * fold-const.c (fold_truth_not_expr): Propagate TREE_NO_WARNING
200 when inverting comparison.
203 * common.opt (Wunreachable-code): Add Warning flag.
205 2016-02-23 Mark Wielaard <mjw@redhat.com>
206 Jakub Jelinek <jakub@redhat.com>
209 * cgraphunit.c (check_global_declaration): Check main_input_filename
210 and DECL_SOURCE_FILE are not NULL.
212 2016-02-23 Martin Jambor <mjambor@suse.cz>
214 PR tree-optimization/69666
215 * tree-sra.c (sra_modify_assign): Do not attempt to create
216 default_def replacements for unscalarizable regions.
218 2016-02-20 Mark Wielaard <mjw@redhat.com>
221 * cgraphunit.c (check_global_declaration): Check level of
222 warn_unused_const_variable and main_input_filename.
223 * doc/invoke.texi (Warning Options): Add -Wunused-const-variable=.
224 (-Wunused-variable): For C implies -Wunused-const-variable=1.
225 (-Wunused-const-variable): Explain levels 1 and 2.
227 2016-02-22 Jakub Jelinek <jakub@redhat.com>
230 * config/i386/i386.c (decide_alg): Ensure we don't recurse with
231 identical arguments. Formatting and spelling fixes.
234 * doc/md.texi (ashl@var{m}3): Document that mode of operand 2 must
239 * config/m68k/t-opts (OPTIONS_H_EXTRA): Add m68k-microarchs.def
240 and m68k-devices.def.
241 * config/c6x/t-c6x (OPTIONS_H_EXTRA): Add c6x-isas.def.
242 * config/aarch64/t-aarch64 (OPTIONS_H_EXTRA): Add aarch64-arches.def.
244 2016-02-22 Cesar Philippidis <cesar@codesourcery.com>
246 * config/nvptx/nvptx.c (nvptx_gen_shuffle): Add support for QImode
247 and HImode registers.
249 2016-02-22 Richard Biener <rguenther@suse.de>
251 PR tree-optimization/69882
252 * tree-vect-slp.c (vect_attempt_slp_rearrange_stmts): Properly
253 preserve permutations present because of gaps.
254 (vect_supported_load_permutation_p): Always continue checking
255 permutations after vect_attempt_slp_rearrange_stmts.
257 2016-02-22 Bin Cheng <bin.cheng@arm.com>
259 * tree-vect-loop.c (vect_estimate_min_profitable_iters): Dump
260 min_profitable_estimate, rather than min_profitable_iters.
262 2016-02-22 Jakub Jelinek <jakub@redhat.com>
265 * config/m68k/m68k.md (ashldi3, ashrdi3, lshrdi3): Use
266 SImode for last match_operand.
268 2016-02-22 Martin Liska <mliska@suse.cz>
270 * hsa-gen.c (gen_hsa_clrsb): In case of zero value,
271 return bitsize - 1 as the return value.
273 2016-02-22 Oleg Endo <olegendo@gcc.gnu.org>
277 * config/sh/sh.c (sh_lshrsi_clobbers_t_reg_p, sh_dynamicalize_shift_p):
278 Handle negative shift counts.
279 * config/sh/sh.md (ashlsi3, lshrsi3_n, lshrsi3_n_clobbers_t): Don't use
280 force_reg on the shift constant.
281 (lshrsi3): Likewise. Expand into lshrsi3_n* instead of lshrsi3_d.
282 (lshrsi3_d): Handle negative shift counts.
284 2016-02-22 Richard Biener <rguenther@suse.de>
285 Tom de Vries <tom@codesourcery.com>
287 * graph.c: Include dumpfile.h.
288 (print_graph_cfg): Split into three overloads.
289 * gdbhooks.py (class DotFn): Add and instantiate, adding command dot-fn.
291 2016-02-22 Tom de Vries <tom@codesourcery.com>
293 * gdbhooks.py (class DumpFn): Add and instantiate, adding command
296 2016-02-22 Richard Biener <rguenther@suse.de>
299 * ipa-inline-transform.c (inline_call): When not updating
300 overall summaries adjust self size by the growth estimate.
301 * ipa-inline.c (inline_to_all_callers_1): Add to the callers
302 hash-set, do not update overall summaries here. Renamed from ...
303 (inline_to_all_callers): ... this which is now wrapping the
304 above and performing delayed overall summary update.
305 (early_inline_small_functions): Delay updating of the overall
308 2016-02-21 Markus Trippelsdorf <markus@trippelsdorf.de>
310 * tree-chkp.c (chkp_mark_invalid_bounds_walker): Initialize
313 2016-02-19 Jakub Jelinek <jakub@redhat.com>
316 * gcc.c (LINK_COMMAND_SPEC, GOMP_SELF_SPECS): Use
317 :%* in %:gt() argument.
318 (greater_than_spec_func): Adjust for expecting only numbers,
319 if there are more than two numbers, compare the last two.
321 2016-02-19 Jonathan Wakely <jwakely@redhat.com>
323 * doc/invoke.texi (C++ Dialect Options): Clarify interaction of
324 -Wnarrowing with -std.
326 2016-02-19 Jakub Jelinek <jakub@redhat.com>
329 * expr.c (store_field): Don't use bit-field path if exp is
330 COMPONENT_REF with TREE_ADDRESSABLE type, where TYPE_SIZE is
331 different from bitsize, but DECL_SIZE of FIELD_DECL is bitsize
332 and the assignment can be performed by bitwise copy. Formatting
336 * lra.c (lra_process_new_insns): If non-call exceptions are enabled,
337 call copy_reg_eh_region_note_forward on before and/or after sequences
338 and remove note from insn if it no longer can throw.
341 * config/i386/sse.md (VI_512): Only include V64QImode and V32HImode
344 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
346 * config/s390/vector.md: Add missing commutative operand markers
347 to the patterns which qualify for one.
348 * config/s390/vx-builtins.md: Likewise.
350 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
352 * config/s390/vector.md (VI, VI_QHS): Add single element vector
353 types to mode iterators.
354 (vec_double): ... and mode attribute.
355 * config/s390/vx-builtins.md (non_vec_int): Likewise.
357 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
359 * config/s390/vector.md ("<ti*>add<mode>3", "<ti*>sub<mode>3"):
360 Change the predicate of op2 from nonimmediate to general and let
361 reload fix it if necessary.
363 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
365 * config/s390/vecintrin.h (vec_sub_u128): Define missing macro.
367 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
369 * config/s390/s390.c (s390_expand_vcond): Use the compare operand
372 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
374 * config/s390/s390-protos.h: Add s390_expand_vec_movstr prototype.
375 * config/s390/s390.c (s390_expand_vec_movstr): New function.
376 * config/s390/s390.md ("movstr<P:mode>"): Call
377 s390_expand_vec_movstr.
379 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
381 * config/s390/s390.md: Add missing output modifier for operand 1
382 to print it as address properly.
384 2016-02-19 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
386 * config/s390/2827.md: Rename ooo_* insn attributes to zEC12_*.
387 * config/s390/2964.md: New file.
388 * config/s390/s390.c (s390_get_sched_attrmask): Use the right set
389 of insn grouping attributes depending on the CPU level.
390 (s390_get_unit_mask): New function.
391 (s390_sched_score): Remove the OOO from the scheduling macros.
392 Add loop to calculate a score for the instruction mix.
393 (s390_sched_reorder): Likewise plus improve debug output.
394 (s390_sched_variable_issue): Rename macros as above. Calculate
395 the unit distances after actually scheduling an insn. Improve
397 (s390_sched_init): Clear last_scheduled_unit_distance array.
398 * config/s390/s390.md: Include 2964.md.
400 2016-02-18 Jakub Jelinek <jakub@redhat.com>
403 * config/i386/sse.md (*<floatsuffix>floatv2div2sf2_mask_1,
404 *avx512vl_<code>v2div2qi2_mask_1, *avx512vl_<code><mode>v4qi2_mask_1,
405 *avx512vl_<code><mode>v8qi2_mask_1, *avx512vl_<code><mode>v4hi2_mask_1,
406 *avx512vl_<code>v2div2hi2_mask_1, *avx512vl_<code>v2div2si2_mask_1,
407 *avx512f_<code>v8div16qi2_mask_1): New insns.
409 2016-02-18 Michael Meissner <meissner@linux.vnet.ibm.com>
412 * config/rs6000/predicates.md (fusion_gpr_addis): Revert
415 * config/rs6000/rs6000.md (fusion_gpr_load_<mode>): Remove
416 earlyclobber from target. Use wF constraint for fused memory
418 (fusion_gpr_<P:mode>_<GPR_FUSION:mode>_load): Likewise.
420 2016-02-18 Jakub Jelinek <jakub@redhat.com>
421 Martin Liska <mliska@suse.cz>
424 * cfgexpand.c (asan_sanitize_stack_p): New function.
425 (partition_stack_vars): Use the function.
426 (expand_stack_vars): Likewise.
427 (defer_stack_allocation): Likewise.
428 (expand_used_vars): Likewise.
430 2016-02-18 Richard Biener <rguenther@suse.de>
433 * fold-const.c (operand_equal_p): Properly compare offsets for
434 IMAGPART_EXPR and ARRAY_REF.
436 2016-02-18 Nick Clifton <nickc@redhat.com>
440 * config/arm/arm.c (arm_option_override_internal): Disable
441 interworking if the target does not support thumb instructions.
442 (arm_reload_in_hi): Handle the case where a register to register
443 move needs reloading because there is no simple pattern to handle
445 (arm_reload_out_hi): Likewise.
447 2016-02-18 Richard Biener <rguenther@suse.de>
450 * match.pd: Don't use fold_binary or fold_unary for folding
453 2016-02-17 Jakub Jelinek <jakub@redhat.com>
456 * gimplify.c (gimplify_cond_expr): Call gimple_set_no_warning
457 on the cond_stmt from TREE_NO_WARNING on COND_EXPR_COND.
458 * gimple-ssa-nonnull-compare.c (do_warn_nonnull_compare): Don't
459 warn on gimple_no_warning_p statements.
461 2016-02-17 Jonathan Wakely <jwakely@redhat.com>
463 * doc/extend.texi (C++ Attributes): Correct description of
464 warn_unused type attribute.
466 2016-02-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
468 * config/rs6000/altivec.md (*altivec_lvxl_<mode>_internal): Output
471 2016-02-17 Richard Biener <rguenther@suse.de>
473 PR rtl-optimization/69609
474 * bb-reorder.c (struct bbro_basic_block_data): Add priority member.
475 (find_traces_1_round): When ending a trace update cached priority
477 (bb_to_key): Use cached priority when available.
478 (copy_bb): Initialize cached priority.
479 (reorder_basic_blocks_software_trace_cache): Likewise.
481 2016-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
484 * config/aarch64/predicates.md (aarch64_comparison_operator_mode):
486 (aarch64_comparison_operator): Break overly long line into two.
487 (aarch64_comparison_operation): Likewise.
488 * config/aarch64/aarch64.md (cstorecc4): Use
489 aarch64_comparison_operator_mode instead of
490 aarch64_comparison_operator.
491 (cstore<mode>4): Likewise.
492 (aarch64_cstore<mode>): Likewise.
493 (*cstoresi_insn_uxtw): Likewise.
494 (cstore<mode>_neg): Likewise.
495 (*cstoresi_neg_uxtw): Likewise.
497 2016-02-17 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
500 * config/arm/predicates.md (arm_comparison_operator_mode):
502 * config/arm/arm.md (*mov_scc): Use arm_comparison_operator_mode
503 instead of arm_comparison_operator.
504 (*mov_negscc): Likewise.
505 (*mov_notscc): Likewise.
506 * config/arm/thumb2.md (*thumb2_mov_scc): Likewise.
507 (*thumb2_mov_negscc): Likewise.
508 (*thumb2_mov_negscc_strict_it): Likewise.
509 (*thumb2_mov_notscc): Likewise.
510 (*thumb2_mov_notscc_strict_it): Likewise.
512 2016-02-17 Wilco Dijkstra <wdijkstr@arm.com>
514 * config/aarch64/aarch64.c (aarch64_internal_mov_immediate):
517 2016-02-17 Eric Botcazou <ebotcazou@adacore.com>
519 * config/visium/visium.c (machine_libfunc_index): New enum.
520 (machine_libfuncs): New structure.
521 (visium_libfuncs): New static variable.
522 (TARGET_INIT_LIBFUNCS): Define to...
523 (visium_init_libfuncs): ...this. New function.
524 (expand_block_move_4): Use the appropriate libfunc.
525 (expand_block_move_2): Likewise.
526 (expand_block_move_1): Likewise.
527 (expand_block_set_4): Likewise.
528 (expand_block_set_2): Likewise.
529 (expand_block_set_1): Likewise.
530 (visium_trampoline_init): Likewise.
532 2016-02-17 Nick Clifton <nickc@redhat.com>
534 * config/msp430/msp430.c (msp430_mcu_data): Sync with data from
535 TI's devices.csv file as of March 2016.
537 2016-02-16 Kelvin Nilsen <kelvin@gcc.gnu.org>
540 * opts-global.c (handle_common_deferred_options): Introduce and
541 initialize two global variables to remember command-line options
542 specifying a stack-limiting register.
543 * opts.h: Add extern declarations of the two new global variables.
544 * emit-rtl.c (init_emit_once): Initialize the stack_limit_rtx
545 variable based on the values of the two new global variables.
547 2016-02-16 Jakub Jelinek <jakub@redhat.com>
550 * common.opt (Wnonnull-compare): New warning.
551 * doc/invoke.texi (-Wnonnull): Remove text about comparison
552 of arguments against NULL.
553 (-Wnonnull-compare): Document.
554 * Makefile.in (OBJS): Add gimple-ssa-nonnull-compare.o.
555 * tree-pass.h (make_pass_warn_nonnull_compare): Declare.
556 * passes.def (pass_warn_nonnull_compare): Add.
557 * gimple-ssa-nonnull-compare.c: New file.
559 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
561 * config/aarch64/aarch64.c (cortexa57_tunings): Remove
562 AARCH64_EXTRA_TUNE_RECIP_SQRT.
564 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
566 * config/aarch64/aarch64.c (use_rsqrt_p): Always use software
567 reciprocal sqrt for -mlow-precision-recip-sqrt.
569 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
570 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
572 * config/aarch64/aarch64.c (aarch64_expand_vector_init): Refactor,
573 always use lane loads to construct non-constant vectors.
575 2016-02-16 James Greenhalgh <james.greenhalgh@arm.com>
577 * config/aarch64/aarch64.md
578 (arch64_sqrdml<SQRDMLH_AS:rdma_as>h_lane<mode>): Fix register
579 constraints for operand 3.
580 (aarch64_sqrdml<SQRDMLH_AS:rdma_as>h_laneq<mode>): Likewise.
582 2016-02-16 Jakub Jelinek <jakub@redhat.com>
583 Richard Biener <rguenther@suse.de>
585 PR tree-optimization/69820
586 * tree-vect-patterns.c (type_conversion_p): Return false if
587 *orig_type is unsigned single precision or boolean.
588 (vect_recog_dot_prod_pattern, vect_recog_widen_mult_pattern):
591 2016-02-16 Jakub Jelinek <jakub@redhat.com>
593 PR rtl-optimization/69764
594 PR rtl-optimization/69771
595 * optabs.c (expand_binop): Ensure for shift optabs invalid CONST_INT
596 op1 is valid for GET_MODE_INNER (mode) and force it into a reg.
598 2016-02-16 Richard Biener <rguenther@suse.de>
600 PR tree-optimization/69776
601 * tree-ssa-alias.c (indirect_ref_may_alias_decl_p): Get alias
603 (indirect_refs_may_alias_p): Likewise.
604 (refs_may_alias_p_1): Pass alias sets as from ao_ref.
605 * tree-ssa-sccvn.c (vn_reference_lookup): Also adjust vr alias-set
607 * tree-ssa-dom.c (lookup_avail_expr): Add tbaa_p flag.
608 (optimize_stmt): For redundant store discovery do not allow tbaa.
610 2016-02-16 Bernd Schmidt <bschmidt@redhat.com>
612 PR tree-optimization/69714
613 * tree-ssa-math-opts.c (find_bswap_or_nop): Revert previous change.
614 Return NULL if we have irrelevant high bytes on BIG_ENDIAN.
616 2016-02-16 Claudiu Zissulescu <claziss@synopsys.com>
618 * config/arc/arc-modes.def (CC_FPU, CC_FPU_UNEQ): New modes.
619 * config/arc/arc-opts.h (FPU_SP, FPU_SF, FPU_SC, FPU_SD, FPU_DP)
620 (FPU_DF, FPU_DC, FPU_DD, FXP_DP): Define.
621 * config/arc/arc.c (arc_init): Check FPU options.
622 (get_arc_condition_code): Handle new CC_FPU* modes.
623 (arc_select_cc_mode): Likewise.
624 (arc_conditional_register_usage): Allow 64 bit datum into even-odd
625 register pair only. Allow access for ARCv2 accumulator.
626 (gen_compare_reg): Whenever we have FPU support use FPU compare
628 (arc_reorg): Don't generate brcc insns when FPU compare
629 instructions are involved.
630 * config/arc/arc.h (TARGET_DPFP): Add TARGET_FP_DPAX condition.
631 (TARGET_OPTFPE): Add condition when ARC EM can use optimized
632 floating point emulation.
633 (ACC_REG_FIRST, ACC_REG_LAST, ACCL_REGNO, ACCH_REGNO): Define.
634 (REVERSE_CONDITION): Add new CC_FPU* modes.
635 (TARGET_FP_SP_BASE): Define.
636 (TARGET_FP_DP_BASE): Likewise.
637 (TARGET_FP_SP_FUSED): Likewise.
638 (TARGET_FP_DP_FUSED): Likewise.
639 (TARGET_FP_SP_CONV): Likewise.
640 (TARGET_FP_DP_CONV): Likewise.
641 (TARGET_FP_SP_SQRT): Likewise.
642 (TARGET_FP_DP_SQRT): Likewise.
643 (TARGET_FP_DP_AX): Likewise.
644 * config/arc/arc.md (ARCV2_ACC): New constant.
645 (type): New fpu type attribute.
646 (SDF): Conditional iterator.
647 (cstore<mode>, cbranch<mode>): Change expand condition.
648 (addsf3, subsf3, mulsf3, adddf3, subdf3, muldf3): New expands,
649 handles FPU/FPX cases as well.
650 * config/arc/arc.opt (mfpu): New option.
651 * config/arc/fpx.md (addsf3_fpx, subsf3_fpx, mulsf3_fpx):
653 (adddf3, muldf3, subdf3): Removed.
654 * config/arc/predicates.md (proper_comparison_operator): Recognize
656 * config/arc/fpu.md: New file.
657 * doc/invoke.texi (ARC Options): Document mfpu option.
659 2016-02-16 Richard Biener <rguenther@suse.de>
661 PR rtl-optimization/69291
662 * ifcvt.c (noce_try_store_flag_constants): Re-instantiate
663 noce_operand_ok check.
665 2016-02-16 Tom de Vries <tom@codesourcery.com>
668 * omp-low.c (simd_clone_create): Remove call to
669 symtab->call_cgraph_insertion_hooks.
671 2016-02-16 Jakub Jelinek <jakub@redhat.com>
673 PR tree-optimization/69802
674 * tree-ssa-reassoc.c (update_range_test): If op is
675 SSA_NAME_IS_DEFAULT_DEF, give up unless tem is a positive
676 op == 1 test of precision 1 integral op, otherwise handle
677 that case as op itself. Fix up formatting.
678 (optimize_range_tests_to_bit_test, optimize_range_tests): Fix
681 2016-02-16 Richard Biener <rguenther@suse.de>
683 PR tree-optimization/69586
684 * tree-vrp.c (register_edge_assert_for_2): Handle all integral
685 types for conversion sources.
687 2016-02-16 Richard Biener <rguenther@suse.de>
690 * fold-const.c (operand_equal_p): For COND_EXPR zero operand
693 2016-02-16 Alan Modra <amodra@gmail.com>
696 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Rewrite splitter.
697 (p8_mtvsrd_df, p8_mtvsrd_sf): New.
698 (p8_mtvsrd_1, p8_mtvsrd_2): Delete.
700 (p8_mtvsrwz_1, p8_mtvsrwz_2): Delete.
701 (p8_xxpermdi_<mode>): Take two DF inputs rather than one TF.
702 (p8_fmrgow_<mode>): Likewise.
703 (reload_vsx_from_gpr<mode>): Make clobber IF. Adjust for above
705 (reload_fpr_from_gpr<mode>): Similarly. Use "d" for op0 constraint.
706 (reload_vsx_from_gprsf): Use p8_mtvsrd_sf rather than attempting
707 to use movdi_internal64. Remove op0_di.
708 * config/rs6000/vsx.md (vsx_xscvspdpn_directmove): Make op1 SFmode.
710 2016-02-15 Evandro Menezes <e.menezes@samsung.com>
712 Add support for the FCCMP insn types
714 * config/aarch64/aarch64.md (fccmp): Change insn type.
716 * config/aarch64/thunderx.md (thunderx_fcmp): Add "fccmp{s,d}" types.
717 * config/arm/cortex-a53.md (cortex_a53_fpalu): Likewise.
718 * config/arm/cortex-a57.md (cortex_a57_fp_cmp): Likewise.
719 * config/arm/xgene1.md (xgene1_fcmp): Likewise.
720 * config/arm/exynos-m1.md (exynos_m1_fp_ccmp): New insn reservation.
721 * config/arm/types.md (fccmps): Add new insn type.
724 2016-02-15 Bernd Edlinger <bernd.edlinger@hotmail.de>
726 * alias.c (get_alias_set): Fix a typo in comment.
728 2016-02-15 Richard Biener <rguenther@suse.de>
730 PR tree-optimization/69595
731 * match.pd: Complete range test simplification to true.
733 2016-02-15 Bernd Schmidt <bschmidt@redhat.com>
735 PR rtl-optimization/69648
736 * lra-constraints.c (update_ebb_live_info): Don't remove sets of
737 pic_offset_table_rtx.
739 PR rtl-optimization/69752
740 * ira.c (update_equiv_regs): When looking for more than a single SET,
741 also take other side effects into account.
743 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
745 * config/s390/s390.c (s390_function_profiler): Add a new sequence
746 for z900+ CPUs in 31-bit mode.
748 2016-02-15 Marcin Kościelnicki <koriakin@0x04.net>
750 * common/config/s390/s390-common.c (s390_supports_split_stack):
752 (TARGET_SUPPORTS_SPLIT_STACK): New macro.
753 * config/s390/s390-protos.h: Add s390_expand_split_stack_prologue.
754 * config/s390/s390.c (struct machine_function): New field
755 split_stack_varargs_pointer.
756 (s390_register_info): Mark r12 as clobbered if it'll be used as temp
757 in s390_emit_prologue.
758 (s390_emit_prologue): Use r12 as temp if r1 is taken by split-stack
760 (morestack_ref): New global.
761 (SPLIT_STACK_AVAILABLE): New macro.
762 (s390_expand_split_stack_prologue): New function.
763 (s390_live_on_entry): New function.
764 (s390_va_start): Use split-stack vararg pointer if appropriate.
765 (s390_asm_file_end): Emit the split-stack note sections.
766 (TARGET_EXTRA_LIVE_ON_ENTRY): New macro.
767 * config/s390/s390.md (UNSPEC_STACK_CHECK): New unspec.
768 (UNSPECV_SPLIT_STACK_CALL): New unspec.
769 (UNSPECV_SPLIT_STACK_DATA): New unspec.
770 (split_stack_prologue): New expand.
771 (split_stack_space_check): New expand.
772 (split_stack_data): New insn.
773 (split_stack_call): New expand.
774 (split_stack_call_*): New insn.
775 (split_stack_cond_call): New expand.
776 (split_stack_cond_call_*): New insn.
778 2016-02-15 Richard Biener <rguenther@suse.de>
780 PR tree-optimization/69783
781 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
782 Add trivially correct cases.
784 2016-02-15 Tom de Vries <tom@codesourcery.com>
787 * lto-cgraph.c (input_offload_tables): Add and handle bool parameter
789 * lto-streamer.h (input_offload_tables): Add and handle bool parameter.
791 2016-02-15 Richard Biener <rguenther@suse.de>
793 PR tree-optimization/69776
794 * tree-ssa-sccvn.h (vn_reference_lookup): Adjust prototype.
795 * tree-ssa-sccvn.c (vn_reference_lookup): Add parameter to
796 indicate whether we can use TBAA to disambiguate against stores.
797 Use alias-set zero if not.
798 (visit_reference_op_store): Do not use TBAA when looking up
800 * tree-ssa-pre.c (compute_avail): Use TBAA here.
801 (eliminate_dom_walker::before_dom_children): But not when looking
804 2016-02-14 John David Anglin <danglin@gcc.gnu.org>
806 * config/pa/pa.md (absqi2, absghi2, bswaphi2, bswapsi2, bswapdi2): New.
808 2016-02-14 Venkataramanan Kumar <venkataramanan.kumar@amd.com>
810 * config/i386/znver1.md
811 (znver1_pop, znver1_pop_mem,
812 znver1_load_imov_double_store,
813 znver1_load_imov_direct_store,
814 znver1_load_imov_direct_load,
815 znver1_load_imov_double_load): Add new.
816 (znver1_insn, znver1_insn_load): Add icmov type.
818 znver1_sseavx_fma_load,
820 znver1_avx256_fma_load): Fix pipe usage.
822 2016-02-14 Alan Modra <amodra@gmail.com>
825 * reloads.c (find_reloads_address_1): For pre/post-inc/dec
826 with an invalid hard reg, reload just the reg not the entire
827 pre/post-inc/dec address expression.
829 2016-02-13 Oleg Endo <olegendo@gcc.gnu.org>
832 * config/sh/sh.md (sibcall_value_pcrel): Replace =&k scratch reg with
833 fixed R1_REG scratch reg.
834 (sibcall_value_pcrel_fdpic): Likewise.
836 2016-02-13 Oleg Endo <olegendo@gcc.gnu.org>
840 * config/sh/sh.md (*zero_extract_3): New insn_and_split pattern.
842 2016-02-12 Walter Lee <walt@tilera.com>
844 * config/tilepro/t-tilepro: Replace CC_FOR_BUILD with CXX_FOR_BUILD.
845 * config/tilegx/t-tilegx: Likewise.
847 2016-02-12 David Malcolm <dmalcolm@redhat.com>
850 * diagnostic-show-locus.c (struct line_span): New struct.
851 (layout::get_first_line): Delete.
852 (layout::get_last_line): Delete.
853 (layout::get_num_line_spans): New member function.
854 (layout::get_line_span): Likewise.
855 (layout::print_heading_for_line_span_index_p): Likewise.
856 (layout::get_expanded_location): Likewise.
857 (layout::calculate_line_spans): Likewise.
858 (layout::m_first_line): Delete.
859 (layout::m_last_line): Delete.
860 (layout::m_line_spans): New field.
861 (layout::layout): Update comment. Replace m_first_line and
862 m_last_line with m_line_spans, replacing their initialization
863 with a call to calculate_line_spans.
864 (diagnostic_show_locus): When printing source lines and
865 annotations, rather than looping over a single span
866 of lines, instead loop over each line_span within
867 the layout, with an inner loop over the lines within them.
868 Call the context's start_span callback when changing line spans.
869 * diagnostic.c (diagnostic_initialize): Initialize start_span.
870 (diagnostic_build_prefix): Break out the building of the location
871 part of the string into...
872 (diagnostic_get_location_text): ...this new function, rewriting
873 it from nested ternary expressions to a sequence of "if"
875 (default_diagnostic_start_span_fn): New function.
876 * diagnostic.h (diagnostic_start_span_fn): New typedef.
877 (diagnostic_context::start_span): New field.
878 (default_diagnostic_start_span_fn): New prototype.
880 2016-02-12 David Malcolm <dmalcolm@redhat.com>
883 * gcc.c (driver::finalize): Fix cleanup of "specs".
885 2016-02-12 David Malcolm <dmalcolm@redhat.com>
889 * gcc.c (driver::driver): Initialize m_option_suggestions.
890 (driver::~driver): Clean up m_option_suggestions.
891 (suggest_option): Convert to...
892 (driver::suggest_option): ...this, and split out into
893 driver::build_option_suggestions and find_closest_string.
894 (driver::build_option_suggestions): New function, from
895 first half of suggest_option. Special-case
896 OPT_fsanitize_ and OPT_fsanitize_recover_, making use of
897 the sanitizer_opts array. For options of enum types, add the
898 various enum values to the candidate strings.
899 (driver::handle_unrecognized_options): Remove "const".
900 * gcc.h (driver::handle_unrecognized_options): Likewise.
901 (driver::build_option_suggestions): New decl.
902 (driver::suggest_option): New decl.
903 (driver::m_option_suggestions): New field.
904 * opts-common.c (add_misspelling_candidates): New function.
905 * opts.c (sanitizer_opts): Remove decl of struct sanitizer_opts_s
907 * opts.h (sanitizer_opts): New array decl.
908 (add_misspelling_candidates): New function decl.
909 * spellcheck.c (find_closest_string): New function.
910 * spellcheck.h (find_closest_string): New function decl.
912 2016-02-12 Jakub Jelinek <jakub@redhat.com>
914 PR rtl-optimization/69764
915 PR rtl-optimization/69771
916 * optabs.c (expand_binop_directly): For shift_optab_p, force
917 convert_modes with VOIDmode if xop1 has VOIDmode.
919 2016-02-12 Ilya Enkovich <enkovich.gnu@gmail.com>
922 * lto-streamer-out.c (lto_output): Use thunk.add_pointer_bounds_args
923 to correctly determine instrumentation thunks.
925 2016-02-12 Jakub Jelinek <jakub@redhat.com>
928 * ipa-split.c (split_function): If split part returns TREE_ADDRESSABLE
929 type by reference, force lhs on the call.
932 * ipa-split.c (split_function): Don't compute/use main_part_return_p.
933 Compute retval and retbnd early in all cases if split_part_return_p
934 and return_bb is not EXIT. Remove all clobber stmts and reset
935 all debug stmts that refer to SSA_NAMEs defined in split part,
936 except if it is retval, in that case replace the old retval with the
937 lhs of the call to the split part.
939 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
942 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
945 * tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
946 whose result is used in PHI.
947 (maybe_optimize_range_tests): Likewise.
948 (final_range_test_p): Likweise.
950 2016-02-12 Kugan Vivekanandarajah <kuganv@linaro.org>
953 * tree-ssa-reassoc.c (optimize_range_tests): Handle tcc_compare stmt
954 whose result is used in PHI.
955 (maybe_optimize_range_tests): Likewise.
956 (final_range_test_p): Likweise.
958 2016-02-12 Jakub Jelinek <jakub@redhat.com>
960 * cgraph.c: Spelling fixes - behaviour -> behavior and
961 neighbour -> neighbor.
962 * target.def: Likewise.
963 * sel-sched.c: Likewise.
964 * config/mips/mips.c: Likewise.
965 * config/arc/arc.md: Likewise.
966 * config/arm/cortex-a57.md: Likewise.
967 * config/arm/arm.c: Likewise.
968 * config/arm/neon.md: Likewise.
969 * config/arm/arm-c.c: Likewise.
970 * config/vms/vms-c.c: Likewise.
971 * config/s390/s390.c: Likewise.
972 * config/i386/znver1.md: Likewise.
973 * config/i386/i386.c: Likewise.
974 * config/ia64/hpux-unix2003.h: Likewise.
975 * config/msp430/msp430.md: Likewise.
976 * config/rx/rx.c: Likewise.
977 * config/rx/rx.md: Likewise.
978 * config/aarch64/aarch64-simd.md: Likewise.
979 * config/aarch64/aarch64.c: Likewise.
980 * config/nvptx/nvptx.c: Likewise.
981 * config/bfin/bfin.c: Likewise.
982 * config/cris/cris.opt: Likewise.
983 * config/rs6000/rs6000.c: Likewise.
984 * target.h: Likewise.
985 * spellcheck.c: Likewise.
986 * ira-build.c: Likewise.
987 * tree-inline.c: Likewise.
988 * builtins.c: Likewise.
989 * lra-constraints.c: Likewise.
990 * explow.c: Likewise.
992 * targhooks.c: Likewise.
993 * tree-vect-data-refs.c: Likewise.
995 * doc/tm.texi: Likewise.
996 * doc/extend.texi: Likewise.
997 * doc/install.texi: Likewise.
998 * doc/md.texi: Likewise.
999 * tree-ssa-tail-merge.c: Likewise.
1000 * sched-int.h: Likewise.
1001 * match.pd: Likewise.
1002 * sched-ebb.c: Likewise.
1003 * target.def (omit_struct_return_reg): Likewise.
1004 * gimple-ssa-isolate-paths.c: Likewise.
1005 (find_implicit_erroneous_behaviour): Renamed to...
1006 (find_implicit_erroneous_behavior): ... this.
1007 (find_explicit_erroneous_behaviour): Renamed to...
1008 (find_explicit_erroneous_behavior): ... this.
1009 (gimple_ssa_isolate_erroneous_paths): Adjust caller.
1011 2016-02-11 Segher Boessenkool <segher@kernel.crashing.org>
1013 PR rtl-optimization/64682
1014 PR rtl-optimization/69567
1015 PR rtl-optimization/69737
1016 * combine.c (distribute_notes) <REG_DEAD>: If the register is set
1017 in I2 as well, just lose it.
1019 2016-02-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1021 * config/aarch64/aarch64.c (aarch64_last_printed_arch_string):
1023 (aarch64_last_printed_tune_string): Likewise.
1024 (aarch64_declare_function_name): Only output .arch assembler
1025 directive if it will be different from the previously output
1026 directive. Same for .tune comment but only if -dA is set.
1027 (aarch64_start_file): New function.
1028 (TARGET_ASM_FILE_START): Define.
1030 2016-02-11 David Malcolm <dmalcolm@redhat.com>
1033 * Makefile.in (PLUGIN_HEADERS): Add params.list.
1035 2016-02-11 Jakub Jelinek <jakub@redhat.com>
1038 * tree-vect-slp.c (vect_schedule_slp_instance): Avoid
1039 -Wmaybe-uninitialized warning.
1041 2016-02-11 Oleg Endo <olegendo@gcc.gnu.org>
1044 * config/sh/sh.md (casesi_worker_0): Add T_REG use.
1046 2016-02-11 Richard Biener <rguenther@suse.de>
1048 PR rtl-optimization/69291
1049 * ifcvt.c (noce_try_store_flag_constants): Do not allow
1050 subexpressions affected by changing the result.
1052 2016-02-10 Vladimir Makarov <vmakarov@redhat.com>
1055 * lra-constraints.c (curr_insn_transform): Find in/out operands
1056 for secondary memory moves. Update dups.
1058 2016-02-10 Yuri Rumyantsev <ysrumyan@gmail.com>
1060 PR tree-optimization/69652
1061 * tree-vect-loop.c (optimize_mask_stores): Move declaration of STMT1
1062 to nested loop, did source re-formatting, skip debug statements,
1063 add check on statement with volatile operand, remove dead scalar
1066 2016-02-10 Jakub Jelinek <jakub@redhat.com>
1067 Patrick Palka <ppalka@gcc.gnu.org>
1071 * gimplify.c (gimplify_modify_expr): Set lhs even for noreturn
1072 calls if the return type is TREE_ADDRESSABLE.
1073 * cgraphunit.c (cgraph_node::expand_thunk): Likewise.
1074 * ipa-split.c (split_function): Fix doubled "we" in comment.
1075 Use void return type for the split part even if
1076 !split_point->split_part_set_retval.
1078 2016-02-10 Bin Cheng <bin.cheng@arm.com>
1080 PR tree-optimization/68021
1081 * tree-ssa-loop-ivopts.c (get_computation_aff): Set ratio to 1 if
1082 when computing the value of biv cand by itself.
1084 2016-02-10 Wilco Dijkstra <wdijkstr@arm.com>
1086 * config/aarch64/aarch64.c (cortexa53_tunings): Enable AES fusion.
1087 (cortexa57_tunings): Likewise.
1088 (cortexa72_tunings): Likewise.
1089 (arch_macro_fusion_pair_p): Add support for AES fusion.
1090 * config/aarch64/aarch64-fusion-pairs.def: Add AES_AESMC entry.
1091 * config/arm/aarch-common.c (aarch_crypto_can_dual_issue):
1092 Allow virtual registers before reload so early scheduling works.
1093 * config/arm/cortex-a57.md (cortex_a57_crypto_simple): Use
1094 correct latency and pipeline.
1095 (cortex_a57_crypto_complex): Likewise.
1096 (cortex_a57_crypto_xor): Likewise.
1097 (define_bypass): Add AES bypass.
1099 2016-02-10 Richard Biener <rguenther@suse.de>
1101 PR tree-optimization/69726
1102 * passes.def: Add DCE pass before late uninit.
1103 * match.pd: Add A ? B : (!A ? C : X) -> A ? B : C patterns to
1104 really fixup if-conversions job.
1106 2016-02-10 Wilco Dijkstra <wdijkstr@arm.com>
1108 * config/arm/arm.c (arm_cortex_a53_tune): Enable AES fusion.
1109 (arm_cortex_a57_tune): Likewise.
1110 (aarch_macro_fusion_pair_p): Add support for AES fusion.
1111 * config/arm/arm-protos.h (fuse_ops): Add FUSE_AES_AESMC.
1113 2016-02-10 Eric Botcazou <ebotcazou@adacore.com>
1115 * timevar.def (TV_PHASE_DBGINFO): Delete.
1116 (TV_PHASE_CHECK_DBGINFO): Likewise.
1117 * varpool.c (varpool_node::assemble_decl): Do not change timevar.
1119 2016-02-10 Richard Biener <rguenther@suse.de>
1121 PR tree-optimization/69719
1122 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
1123 Adjust previous fix by ensuring that dr_a1 is left of dr_a2.
1125 2016-02-09 Andrew Pinski <apinski@cavium.com>
1128 * optabs-tree.c (expand_vec_cond_expr_p): Don't early return if
1129 get_vcond_mask_icode returns false.
1131 2016-02-09 Michael Meissner <meissner@linux.vnet.ibm.com>
1134 * config/rs6000/predicates.md (fusion_gpr_addis): Prevent fusing
1135 an ADDIS that adds a pointer to a large constant that sets the
1136 upper16 bits with a load operation.
1138 2016-02-09 Charles Baylis <charles.baylis@linaro.org>
1141 * config/arm/arm.c (arm_evpc_neon_vzip): Allow for big endian lane
1143 * config/arm/arm_neon.h (vzipq_s8): Adjust shuffle patterns for big
1145 (vzipq_s16): Likewise.
1146 (vzipq_s32): Likewise.
1147 (vzipq_f32): Likewise.
1148 (vzipq_u8): Likewise.
1149 (vzipq_u16): Likewise.
1150 (vzipq_u32): Likewise.
1151 (vzipq_p8): Likewise.
1152 (vzipq_p16): Likewise.
1154 2016-02-09 Charles Baylis <charles.baylis@linaro.org>
1157 * config/arm/arm.c (neon_endian_lane_map): New function.
1158 (neon_vector_pair_endian_lane_map): New function.
1159 (arm_evpc_neon_vuzp): Allow for big endian lane order.
1160 * config/arm/arm_neon.h (vuzpq_s8): Adjust shuffle patterns for big
1162 (vuzpq_s16): Likewise.
1163 (vuzpq_s32): Likewise.
1164 (vuzpq_f32): Likewise.
1165 (vuzpq_u8): Likewise.
1166 (vuzpq_u16): Likewise.
1167 (vuzpq_u32): Likewise.
1168 (vuzpq_p8): Likewise.
1169 (vuzpq_p16): Likewise.
1171 2016-02-11 Alexandre Oliva <aoliva@redhat.com>
1174 * regstat.c (regstat_bb_compute_calls_crossed): Disregard
1177 2016-02-09 Uros Bizjak <ubizjak@gmail.com>
1179 * config/i386/i386.md (insv<mode>_1): Use gen_int_mode to
1180 truncate const_int operand 1 to QImode.
1182 2016-02-09 Eric Botcazou <ebotcazou@adacore.com>
1184 * gimple-ssa-backprop.c (optimize_phi): Do not replace an argument
1185 corresponding to an abnormal edge.
1187 2016-02-09 Tom de Vries <tom@codesourcery.com>
1189 PR tree-optimization/69599
1190 * tree-ssa-structalias.c (fndecl_maybe_in_other_partition): New
1192 (find_func_aliases_for_builtin_call, find_func_clobbers)
1193 (ipa_pta_execute): Handle case that foo and foo._0 are not in same lto
1196 2016-02-09 Richard Biener <rguenther@suse.de>
1198 PR tree-optimization/69715
1199 * tree-ssa.c (execute_update_addresses_taken): Mark non-decl
1200 LHS on calls as non-rewritable.
1202 2016-02-09 Tom de Vries <tom@codesourcery.com>
1205 * lto-wrapper.c (append_diag_options): New function.
1206 (compile_offload_image): Call append_diag_options.
1208 2016-02-08 Sandra Loosemore <sandra@codesourcery.com>
1211 * doc/extend.texi (Flag Output Operands): Correct sectioning.
1212 Minor copy-edit to fix verb tenses.
1214 2016-02-08 Jakub Jelinek <jakub@redhat.com>
1216 PR tree-optimization/69209
1217 * ipa-split.c (split_function): If split part is not
1218 returning retval, retval has gimple type but is not
1219 gimple value, force it into a SSA_NAME first.
1221 2016-02-08 Nicklas Bo Jensen <nbjensen@gmail.com>
1223 * doc/tree-ssa.texi (Preserving the virtual SSA form): Remove
1226 2016-02-08 Jason Merrill <jason@redhat.com>
1229 * convert.c (convert_to_integer_1): Check dofold on truncation
1231 (convert_to_pointer_maybe_fold, convert_to_real_maybe_fold)
1232 (convert_to_integer_maybe_fold, convert_to_complex_maybe_fold):
1233 Rename from *_nofold.
1234 * convert.h (convert_to_pointer_nofold, convert_to_integer_nofold)
1235 (convert_to_real_nofold, convert_to_complex_nofold): New inlines.
1237 2016-02-08 Bernd Schmidt <bschmidt@redhat.com>
1240 * tree.c (build_common_tree_nodes): Remove short_double argument.
1241 All callers changed.
1242 * tree.h (build_common_tree_nodes): Adjust declaration.
1243 * doc/invoke.texi (-fshort-double): Remove documentation.
1244 * config/mips/t-img-elf (MULTILIB_OPTIONS, MULTILIB_DIRNAMES,
1245 MULTILIB_EXCEPTIONS): Remove -fshort-double variant.
1246 * lto-wrapper.c (merge_and_complain, append_compiler_options)
1247 (append_linker_options): Don't handle OPT_fshort_double.
1249 PR rtl-optimization/68730
1250 * lra-remat.c (insn_to_cand_activation): New static variable.
1251 (lra_remat): Allocate and free it.
1252 (create_cand): New arg activation. Initialize a field in
1253 insn_to_cand_activation if it is nonnull.
1254 (create_cands): Pass the activation insn to create_cand when making
1255 a candidate involving an output reload. Reorganize code a little.
1256 (do_remat): Keep track of active status of candidates in a separate
1259 2016-02-08 Richard Biener <rguenther@suse.de>
1261 PR tree-optimization/69719
1262 * tree-vect-data-refs.c (vect_prune_runtime_alias_test_list):
1263 Properly use absolute of the difference of the two offsets to
1264 compare or adjust the segment length.
1266 2016-02-08 Richard Biener <rguenther@suse.de>
1267 Jeff Law <law@redhat.com>
1270 * tree-ssanames.c (make_ssa_name_fn): Always use unqualified
1271 types for anonymous SSA names.
1273 2016-02-08 Richard Biener <rguenther@suse.de>
1275 PR rtl-optimization/69274
1276 * ira.c (ira_setup_alts): Do not change recog_data.operand order.
1278 2016-02-08 Jeff Law <law@redhat.com>
1280 PR tree-optimization/65917
1281 * tree-ssa-dom.c (record_temporary_equivalences): Record both
1282 equivalences from if (x == y) style conditionals.
1283 (loop_depth_of_name): Remove.
1284 (record_equality): Remove loop depth check.
1285 * tree-ssa-scopedtables.h (const_and_copies): Refine comments.
1286 (const_and_copies::record_const_or_copy_raw): New member function.
1287 * tree-ssa-scopedtables.c
1288 (const_and_copies::record_const_or_copy_raw): New, factored out of
1289 (const_and_copies::record_const_or_copy): Call new member function.
1291 2016-02-05 Jeff Law <law@redhat.com>
1293 PR tree-optimization/68541
1294 * gimple-ssa-split-paths.c: Include tree-cfg.h and params.h.
1295 (count_stmts_in_block): New function.
1296 (poor_ifcvt_candidate_code): Likewise.
1297 (is_feasible_trace): Add some heuristics to determine when path
1298 splitting is profitable.
1299 (find_block_to_duplicate_for_splitting_paths): Make sure the graph
1300 is a diamond with a single exit.
1302 2016-02-05 Martin Sebor <msebor@redhat.com>
1305 * doc/invoke.texi: Update -Wplacement-new to take an optional
1308 2016-02-06 Richard Henderson <rth@redhat.com>
1311 * tree.c (tree_nop_conversion_p): Do not strip casts into or
1312 out of non-standard address spaces.
1314 2016-02-05 Jakub Jelinek <jakub@redhat.com>
1316 PR rtl-optimization/69691
1317 * lra-eliminations.c (move_plus_up): Don't add the addend twice.
1319 2016-02-05 Pat Haugen <pthaugen@us.ibm.com>
1321 * config/rs6000/crypto.md (crypto_vpermxor_<mode>): Correct insn type.
1322 * config/rs6000/rs6000.md (mov<mode>_hardfloat): Likewise.
1323 (*ieee128_mfvsrd_64bit): Likewise.
1324 (*ieee128_mfvsrd_32bit): Likewise.
1326 2016-02-05 Ilya Enkovich <enkovich.gnu@gmail.com>
1330 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
1332 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
1333 instrumented_version.
1335 2016-01-05 Jeremy Bennett <jeremy.bennett@embecosm.com>
1337 * doc/invoke.texi (Optimize Options): In table of --param options
1338 rename second occurrence of tracer-min-branch-ratio to
1339 tracer-min-branch-probability, rename
1340 tracer-min-branch-ratio-feedback to
1341 tracer-min-branch-probability-feedback and clarify description,
1342 rename sched-spec-state-edge-prob-cutoff to
1343 sched-state-edge-prob-cutoff, rename selsched-max-insns-to-rename
1344 to selsched-insns-to-rename, rename lto-minpartition to
1345 lto-min-partition, delete reorder-blocks-duplicate and
1346 reorder-blocks-duplicate-feedback.
1348 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1350 * config/s390/s390.c (s390_register_info_set_ranges): Remove
1353 2016-02-05 Dominik Vogt <vogt@linux.vnet.ibm.com>
1355 * doc/extend.texi: S/390: Correct some typos.
1357 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1359 * config/s390/s390.c (s390_emit_call): Add missing 64 bit check.
1361 2016-02-05 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
1364 * config/s390/s390.c (SAVE_SLOT_NONE, SAVE_SLOT_STACK): New defines.
1365 (s390_register_info_gprtofpr): Use new macros above.
1366 (s390_register_info_stdarg_fpr): Adjust max_fpr to better match
1368 (s390_register_info_stdarg_gpr): Adjust max_gpr to better match
1369 its name. Adjust restore and save gpr ranges.
1370 (s390_register_info_set_ranges): New function.
1371 (s390_register_info): Use new macros above. Call
1372 s390_register_info_set_ranges.
1373 (s390_optimize_register_info): Likewise.
1374 (s390_hard_regno_rename_ok): Use new macros.
1375 (s390_hard_regno_scratch_ok): Likewise.
1376 (s390_emit_epilogue): Likewise.
1377 (s390_can_use_return_insn): Likewise.
1378 (s390_optimize_prologue): Likewise.
1379 * config/s390/s390.md (GPR2_REGNUM, GPR6_REGNUM): New constants.
1381 2016-02-05 Jakub Jelinek <jakub@redhat.com>
1384 * config/i386/i386.c (convert_scalars_to_vector): Readd stack
1386 (ix86_option_override_internal): Disable TARGET_STV even for
1387 -m{incoming,preferred}-stack-boundary=3.
1389 2016-02-03 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
1391 * config.gcc: Mark deprecated rtems targets as obsolete.
1393 2016-02-04 Segher Boessenkool <segher@kernel.crashing.org>
1395 PR rtl-optimization/64682
1396 PR rtl-optimization/69567
1397 * combine.c (distribute_notes) <REG_DEAD>: Place the death note
1398 before I2 only if the register is both used and set in I2.
1400 2016-02-04 DJ Delorie <dj@redhat.com>
1402 * config/msp430/msp430.c (msp430_start_function): Add function type.
1404 2016-02-04 Jakub Jelinek <jakub@redhat.com>
1407 * tree-dfa.c (get_ref_base_and_extent): Remove unreachable code.
1409 2016-02-04 Uros Bizjak <ubizjak@gmail.com>
1411 PR rtl-optimization/69577
1413 2015-10-29 Richard Henderson <rth@redhat.com>
1417 * config/i386/i386.c (ix86_cannot_change_mode_class): Tighten
1418 sse check to the exact conditions of PR 67609.
1420 2016-02-04 Michael Meissner <meissner@linux.vnet.ibm.com>
1423 * config/rs6000/rs6000.md (mov<mode>_64bit_dm): Use 'd' constraint
1424 instead of 'ws', and 'wh' instead of 'wm' since TFmode/IFmode are
1425 not allowed into the traditional Altivec registers.
1426 (movtd_64bit_nodm): Likewise.
1427 (mov<mode>_32bit, FMOVE128_FPR iterator): Likewise.
1429 2016-02-04 David Malcolm <dmalcolm@redhat.com>
1431 * config/aarch64/cortex-a57-fma-steering.c
1432 (aarch64_register_fma_steering): Remove "static" from arguments
1435 2016-02-04 Wilco Dijkstra <wdijkstr@arm.com>
1438 * ccmp.c (expand_ccmp_expr_1): Avoid evaluating gs0/gs1
1441 2016-02-04 Mike Frysinger <vapier@gentoo.org>
1443 * doc/invoke.texi: Delete -mno-fma4.
1445 2016-02-04 Richard Sandiford <richard.sandiford@arm.com>
1447 PR rtl-optimization/69577
1448 * reginfo.c (record_subregs_of_mode): Add a partial_def parameter.
1449 (find_subregs_of_mode): Update accordingly. Iterate over partial
1452 2016-02-04 Alan Lawrence <alan.lawrence@arm.com>
1454 * config/arm/arm-protos.h (neon_reinterpret): Remove.
1455 * config/arm/arm.c (neon_reinterpret): Remove.
1456 * config/arm/arm_neon_builtins.def (vreinterpretv8qi, vreinterpretv4hi,
1457 vreinterpretv2si, vreinterpretv2sf, vreinterpretdi, vreinterpretv16qi,
1458 vreinterpretv8hi, vreinterpretv4si, vreinterpretv4sf, vreinterpretv2di,
1459 vreinterpretti): Remove.
1460 * config/arm/neon.md (neon_vreinterpretv8qi<mode>,
1461 neon_vreinterpretv4hi<mode>, neon_vreinterpretv2si<mode>,
1462 neon_vreinterpretv2sf<mode>, neon_vreinterpretdi<mode>,
1463 neon_vreinterpretti<mode>, neon_vreinterpretv16qi<mode>,
1464 neon_vreinterpretv8hi<mode>, neon_vreinterpretv4si<mode>,
1465 neon_vreinterpretv4sf<mode>, neon_vreinterpretv2di<mode>): Remove.
1466 * config/arm/arm_neon.h (vreinterpret_p8_p16, vreinterpret_p8_f32,
1467 vreinterpret_p8_p64, vreinterpret_p8_s64, vreinterpret_p8_u64,
1468 vreinterpret_p8_s8, vreinterpret_p8_s16, vreinterpret_p8_s32,
1469 vreinterpret_p8_u8, vreinterpret_p8_u16, vreinterpret_p8_u32,
1470 vreinterpret_p16_p8, vreinterpret_p16_f32, vreinterpret_p16_p64,
1471 vreinterpret_p16_s64, vreinterpret_p16_u64, vreinterpret_p16_s8,
1472 vreinterpret_p16_s16, vreinterpret_p16_s32, vreinterpret_p16_u8,
1473 vreinterpret_p16_u16, vreinterpret_p16_u32, vreinterpret_f32_p8,
1474 vreinterpret_f32_p16, vreinterpret_f32_p64, vreinterpret_f32_s64,
1475 vreinterpret_f32_u64, vreinterpret_f32_s8, vreinterpret_f32_s16,
1476 vreinterpret_f32_s32, vreinterpret_f32_u8, vreinterpret_f32_u16,
1477 vreinterpret_f32_u32, vreinterpret_p64_p8, vreinterpret_p64_p16,
1478 vreinterpret_p64_f32, vreinterpret_p64_s64, vreinterpret_p64_u64,
1479 vreinterpret_p64_s8, vreinterpret_p64_s16, vreinterpret_p64_s32,
1480 vreinterpret_p64_u8, vreinterpret_p64_u16, vreinterpret_p64_u32,
1481 vreinterpret_s64_p8, vreinterpret_s64_p16, vreinterpret_s64_f32,
1482 vreinterpret_s64_p64, vreinterpret_s64_u64, vreinterpret_s64_s8,
1483 vreinterpret_s64_s16, vreinterpret_s64_s32, vreinterpret_s64_u8,
1484 vreinterpret_s64_u16, vreinterpret_s64_u32, vreinterpret_u64_p8,
1485 vreinterpret_u64_p16, vreinterpret_u64_f32, vreinterpret_u64_p64,
1486 vreinterpret_u64_s64, vreinterpret_u64_s8, vreinterpret_u64_s16,
1487 vreinterpret_u64_s32, vreinterpret_u64_u8, vreinterpret_u64_u16,
1488 vreinterpret_u64_u32, vreinterpret_s8_p8, vreinterpret_s8_p16,
1489 vreinterpret_s8_f32, vreinterpret_s8_p64, vreinterpret_s8_s64,
1490 vreinterpret_s8_u64, vreinterpret_s8_s16, vreinterpret_s8_s32,
1491 vreinterpret_s8_u8, vreinterpret_s8_u16, vreinterpret_s8_u32,
1492 vreinterpret_s16_p8, vreinterpret_s16_p16, vreinterpret_s16_f32,
1493 vreinterpret_s16_p64, vreinterpret_s16_s64, vreinterpret_s16_u64,
1494 vreinterpret_s16_s8, vreinterpret_s16_s32, vreinterpret_s16_u8,
1495 vreinterpret_s16_u16, vreinterpret_s16_u32, vreinterpret_s32_p8,
1496 vreinterpret_s32_p16, vreinterpret_s32_f32, vreinterpret_s32_p64,
1497 vreinterpret_s32_s64, vreinterpret_s32_u64, vreinterpret_s32_s8,
1498 vreinterpret_s32_s16, vreinterpret_s32_u8, vreinterpret_s32_u16,
1499 vreinterpret_s32_u32, vreinterpret_u8_p8, vreinterpret_u8_p16,
1500 vreinterpret_u8_f32, vreinterpret_u8_p64, vreinterpret_u8_s64,
1501 vreinterpret_u8_u64, vreinterpret_u8_s8, vreinterpret_u8_s16,
1502 vreinterpret_u8_s32, vreinterpret_u8_u16, vreinterpret_u8_u32,
1503 vreinterpret_u16_p8, vreinterpret_u16_p16, vreinterpret_u16_f32,
1504 vreinterpret_u16_p64, vreinterpret_u16_s64, vreinterpret_u16_u64,
1505 vreinterpret_u16_s8, vreinterpret_u16_s16, vreinterpret_u16_s32,
1506 vreinterpret_u16_u8, vreinterpret_u16_u32, vreinterpret_u32_p8,
1507 vreinterpret_u32_p16, vreinterpret_u32_f32, vreinterpret_u32_p64,
1508 vreinterpret_u32_s64, vreinterpret_u32_u64, vreinterpret_u32_s8,
1509 vreinterpret_u32_s16, vreinterpret_u32_s32, vreinterpret_u32_u8,
1510 vreinterpret_u32_u16, vreinterpretq_p8_p16, vreinterpretq_p8_f32,
1511 vreinterpretq_p8_p64, vreinterpretq_p8_p128, vreinterpretq_p8_s64,
1512 vreinterpretq_p8_u64, vreinterpretq_p8_s8, vreinterpretq_p8_s16,
1513 vreinterpretq_p8_s32, vreinterpretq_p8_u8, vreinterpretq_p8_u16,
1514 vreinterpretq_p8_u32, vreinterpretq_p16_p8, vreinterpretq_p16_f32,
1515 vreinterpretq_p16_p64, vreinterpretq_p16_p128, vreinterpretq_p16_s64,
1516 vreinterpretq_p16_u64, vreinterpretq_p16_s8, vreinterpretq_p16_s16,
1517 vreinterpretq_p16_s32, vreinterpretq_p16_u8, vreinterpretq_p16_u16,
1518 vreinterpretq_p16_u32, vreinterpretq_f32_p8, vreinterpretq_f32_p16,
1519 vreinterpretq_f32_p64, vreinterpretq_f32_p128, vreinterpretq_f32_s64,
1520 vreinterpretq_f32_u64, vreinterpretq_f32_s8, vreinterpretq_f32_s16,
1521 vreinterpretq_f32_s32, vreinterpretq_f32_u8, vreinterpretq_f32_u16,
1522 vreinterpretq_f32_u32, vreinterpretq_p64_p8, vreinterpretq_p64_p16,
1523 vreinterpretq_p64_f32, vreinterpretq_p64_p128, vreinterpretq_p64_s64,
1524 vreinterpretq_p64_u64, vreinterpretq_p64_s8, vreinterpretq_p64_s16,
1525 vreinterpretq_p64_s32, vreinterpretq_p64_u8, vreinterpretq_p64_u16,
1526 vreinterpretq_p64_u32, vreinterpretq_p128_p8, vreinterpretq_p128_p16,
1527 vreinterpretq_p128_f32, vreinterpretq_p128_p64, vreinterpretq_p128_s64,
1528 vreinterpretq_p128_u64, vreinterpretq_p128_s8, vreinterpretq_p128_s16,
1529 vreinterpretq_p128_s32, vreinterpretq_p128_u8, vreinterpretq_p128_u16,
1530 vreinterpretq_p128_u32, vreinterpretq_s64_p8, vreinterpretq_s64_p16,
1531 vreinterpretq_s64_f32, vreinterpretq_s64_p64, vreinterpretq_s64_p128,
1532 vreinterpretq_s64_u64, vreinterpretq_s64_s8, vreinterpretq_s64_s16,
1533 vreinterpretq_s64_s32, vreinterpretq_s64_u8, vreinterpretq_s64_u16,
1534 vreinterpretq_s64_u32, vreinterpretq_u64_p8, vreinterpretq_u64_p16,
1535 vreinterpretq_u64_f32, vreinterpretq_u64_p64, vreinterpretq_u64_p128,
1536 vreinterpretq_u64_s64, vreinterpretq_u64_s8, vreinterpretq_u64_s16,
1537 vreinterpretq_u64_s32, vreinterpretq_u64_u8, vreinterpretq_u64_u16,
1538 vreinterpretq_u64_u32, vreinterpretq_s8_p8, vreinterpretq_s8_p16,
1539 vreinterpretq_s8_f32, vreinterpretq_s8_p64, vreinterpretq_s8_p128,
1540 vreinterpretq_s8_s64, vreinterpretq_s8_u64, vreinterpretq_s8_s16,
1541 vreinterpretq_s8_s32, vreinterpretq_s8_u8, vreinterpretq_s8_u16,
1542 vreinterpretq_s8_u32, vreinterpretq_s16_p8, vreinterpretq_s16_p16,
1543 vreinterpretq_s16_f32, vreinterpretq_s16_p64, vreinterpretq_s16_p128,
1544 vreinterpretq_s16_s64, vreinterpretq_s16_u64, vreinterpretq_s16_s8,
1545 vreinterpretq_s16_s32, vreinterpretq_s16_u8, vreinterpretq_s16_u16,
1546 vreinterpretq_s16_u32, vreinterpretq_s32_p8, vreinterpretq_s32_p16,
1547 vreinterpretq_s32_f16, vreinterpretq_s32_f32, vreinterpretq_s32_p64,
1548 vreinterpretq_s32_p128, vreinterpretq_s32_s64, vreinterpretq_s32_u64,
1549 vreinterpretq_s32_s8, vreinterpretq_s32_s16, vreinterpretq_s32_u8,
1550 vreinterpretq_s32_u16, vreinterpretq_s32_u32, vreinterpretq_u8_p8,
1551 vreinterpretq_u8_p16, vreinterpretq_u8_f32, vreinterpretq_u8_p64,
1552 vreinterpretq_u8_p128, vreinterpretq_u8_s64, vreinterpretq_u8_u64,
1553 vreinterpretq_u8_s8, vreinterpretq_u8_s16, vreinterpretq_u8_s32,
1554 vreinterpretq_u8_u16, vreinterpretq_u8_u32, vreinterpretq_u16_p8,
1555 vreinterpretq_u16_p16, vreinterpretq_u16_f32, vreinterpretq_u16_p64,
1556 vreinterpretq_u16_p128, vreinterpretq_u16_s64, vreinterpretq_u16_u64,
1557 vreinterpretq_u16_s8, vreinterpretq_u16_s16, vreinterpretq_u16_s32,
1558 vreinterpretq_u16_u8, vreinterpretq_u16_u32, vreinterpretq_u32_p8,
1559 vreinterpretq_u32_p16, vreinterpretq_u32_f32, vreinterpretq_u32_p64,
1560 vreinterpretq_u32_p128, vreinterpretq_u32_s64, vreinterpretq_u32_u64,
1561 vreinterpretq_u32_s8, vreinterpretq_u32_s16, vreinterpretq_u32_s32,
1562 vreinterpretq_u32_u8, vreinterpretq_u32_u16): Rewrite using casts.
1564 2016-02-04 Martin Liska <mliska@suse.cz>
1567 * asan.c (has_stmt_been_instrumented_p): Instrument gimple calls
1568 that are gimple_store_p.
1569 (maybe_instrument_call): Likewise.
1571 2016-02-04 Bin Cheng <bin.cheng@arm.com>
1573 * config/aarch64/aarch64.c (aarch64_legitimize_address): Force
1574 register scaling out of memory reference and comment why.
1576 2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1580 * cse.c (cse_insn): Pass NULL to fold_rtx when initially
1581 folding the source of a SET.
1583 2016-02-04 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
1587 * config/arm/arm.c (arm_new_rtx_costs, MULT case): Properly extract
1588 the operands of the SIGN_EXTENDs from a SMUL[TB][TB] rtx.
1590 2016-02-04 Jim Wilson <jim.wilson@linaro.org>
1594 * config/arm/arm.h (PROMOTE_MODE): Don't set UNSIGNEDP for QImode and
1597 2016-02-04 Christian Bruel <christian.bruel@st.com>
1599 * config/arm/arm-c.c (arm_reset_previous_fndecl): Style fix and typo.
1600 * config/arm/arm.c (arm_set_current_function): Likewise.
1602 2016-02-04 Jakub Jelinek <jakub@redhat.com>
1603 Ilya Enkovich <enkovich.gnu@gmail.com>
1604 H.J. Lu <hongjiu.lu@intel.com>
1607 * config/i386/i386.c (convert_scalars_to_vector): Remove
1608 stack alignment fixes.
1609 (ix86_option_override_internal): Disable TARGET_STV if stack
1610 might not be aligned enough.
1611 (ix86_minimum_alignment): Assert that TARGET_STV is false.
1613 2016-02-04 Victoria Stepanyan <victoria.stepanyan@amd.com>
1615 * gcc/config/i386/x86-tune.def: Disable default prefetching
1618 2016-02-03 Michael Meissner <meissner@linux.vnet.ibm.com>
1619 Vladimir Makarov <vmakarov@redhat.com>
1622 * config/rs6000/rs6000.c (rs6000_legitimate_address_p): Fix thinko
1623 in validating fused toc addresses.
1625 2016-02-03 Jakub Jelinek <jakub@redhat.com>
1628 * diagnostic-show-locus.c (layout::get_state_at_point): Don't read
1629 range->m_caret fields if range->m_show_caret_p is false.
1632 * config/rs6000/rs6000.c (rs6000_expand_atomic_compare_and_swap):
1633 Force oldval into register if it does not satisfy reg_or_short_operand
1634 predicate. Fix up formatting.
1636 2016-02-03 Vladimir Makarov <vmakarov@redhat.com>
1637 Alexandre Oliva <aoliva@redhat.com>
1640 * lra-constraints.c (simplify_operand_subreg): Check additionally
1641 address validity after potential reloading.
1642 (process_address_1): Check insns validity. In case of failure do
1645 2016-02-03 Kirill Yukhin <kirill.yukhin@intel.com>
1648 * config/i386/sse.md (define_insn "avx512f_maskcmp<mode>3"):
1651 2016-02-02 Jakub Jelinek <jakub@redhat.com>
1653 * wide-int.cc (canonize_uhwi): New function.
1654 (wi::divmod_internal): Use it.
1656 2016-02-02 James Norris <jnorris@codesourcery.com
1658 * gimplify.c (omp_notice_variable): Add usage check.
1660 2016-02-02 Alexander Monakov <amonakov@ispras.ru>
1662 * config/nvptx/nvptx.c (nvptx_print_operand): Treat LEU, GEU, LTU, GTU
1663 like LE, GE, LT, GT when emitting relational operator.
1665 2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
1667 * ira-costs.c (find_costs_and_classes): Add extra argument.
1668 * target.def (ira_change_pseudo_allocno_class): Add parameter.
1669 * targhooks.h (ira_change_pseudo_allocno_class): Likewise.
1670 * targhooks.c (ira_change_pseudo_allocno_class): Likewise.
1671 * config/aarch64/aarch64.c (aarch64_ira_change_pseudo_allocno_class)
1672 Add best_class parameter, and return it if not ALL_REGS.
1673 * config/mips/mips.c (mips_ira_change_pseudo_allocno_class):
1675 * doc/tm.texi (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS):
1678 2016-02-02 Wilco Dijkstra <wdijkstr@arm.com>
1680 * config/aarch64/aarch64.c
1681 (TARGET_IRA_CHANGE_PSEUDO_ALLOCNO_CLASS): New define.
1682 (aarch64_ira_change_pseudo_allocno_class): New function.
1684 2016-02-02 Uros Bizjak <ubizjak@gmail.com>
1687 * config/i386/i386.c (geode_cost): Increase cost of MMX and SSE moves.
1689 2016-02-02 Senthil Kumar Selvaraj <senthil_kumar.selvaraj@atmel.com>
1691 * config/avr/avr.c (avr_option_override): Set
1692 PARAM_ALLOW_STORE_DATA_RACES to 1.
1694 2016-02-02 Richard Biener <rguenther@suse.de>
1696 PR tree-optimization/69595
1697 * match.pd: Add range test simplifications to true/false.
1699 2016-02-02 Thomas Schwinge <thomas@codesourcery.com>
1701 * omp-builtins.def (BUILT_IN_GOACC_HOST_DATA): Remove.
1702 * omp-low.c (expand_omp_target): Use BUILT_IN_GOACC_DATA_START
1705 2016-02-02 Richard Biener <rguenther@suse.de>
1707 PR tree-optimization/69606
1708 * tree-ssa-math-opts.c (bswap_replace): Clear flow sensitive
1709 info on the result before moving a stmt.
1711 2016-02-02 Yuri Rumyantsev <ysrumyan@gmail.com>
1714 * config/i386/i386.c (ix86_expand_branch): Add support for conditional
1715 branch with vector comparison.
1716 * config/i386/sse.md (VI48_AVX): New mode iterator.
1717 (define_expand "cbranch<mode>4): Add support for conditional branch
1718 with vector comparison.
1719 * tree-vect-loop.c (optimize_mask_stores): New function.
1720 * tree-vect-stmts.c (vectorizable_mask_load_store): Initialize
1721 has_mask_store field of vect_info.
1722 * tree-vectorizer.c (vectorize_loops): Invoke optimaze_mask_stores for
1723 vectorized loops having masked stores after vec_info destroy.
1724 * tree-vectorizer.h (loop_vec_info): Add new has_mask_store field and
1725 correspondent macros.
1726 (optimize_mask_stores): Add prototype.
1728 2016-02-02 Alan Modra <amodra@gmail.com>
1731 * config/rs6000/predicates.md (quad_int_reg_operand): Don't
1734 2016-02-02 Alan Modra <amodra@gmail.com>
1737 * config/rs6000/rs6000.c (need_toc_init): New var, set it
1738 whenever toc_label_name used.
1739 (rs6000_file_start): Don't set up toc section here,
1740 (rs6000_output_function_epilogue): do so here instead,
1741 (rs6000_xcoff_file_start): and here.
1742 * config/rs6000/rs6000.md (load_toc_aix_si): Set need_toc_init.
1743 (load_toc_aix_di): Likewise.
1745 2016-02-01 Jakub Jelinek <jakub@redhat.com>
1747 PR rtl-optimization/69592
1748 * rtlanal.c (nonzero_bits_binary_arith_p): New inline function.
1749 (cached_nonzero_bits): Use it instead of ARITHMETIC_P.
1750 (num_sign_bit_copies_binary_arith_p): New inline function.
1751 (cached_num_sign_bit_copies): Use it instead of ARITHMETIC_P.
1753 2016-02-01 Jeff Law <law@redhat.com>
1755 PR tree-optimization/69580
1756 * params.def (FSM_MAXIMUM_PHI_ARGUMENTS): New param.
1757 * tree-ssa-threadbackward.c
1758 (fsm_find_control_statement_thread_paths): Do not try to walk
1759 through large PHI nodes.
1761 2016-02-01 Jakub Jelinek <jakub@redhat.com>
1763 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return false
1764 when count is incremented above limit, don't analyze further
1767 * omp-low.c (oacc_parse_default_dims): Avoid
1768 -Wsign-compare warning, make sure value fits into int
1769 rather than just unsigned int.
1771 2016-02-01 Bin Cheng <bin.cheng@arm.com>
1773 PR tree-optimization/67921
1774 * fold-const.c (split_tree): New parameters. Convert pointer
1775 type variable part to proper type before negating.
1776 (fold_binary_loc): Pass new arguments to split_tree.
1778 2016-02-01 Nathan Sidwell <nathan@codesourcery.com>
1780 * config/nvptx/nvptx.c (PTX_GANG_DEFAULT): New.
1781 (nvptx_goacc_validate_dims): Extend to handle global defaults.
1782 * target.def (OACC_VALIDATE_DIMS): Extend documentation.
1783 * doc/tm.texti: Rebuilt.
1784 * doc/invoke.texi (fopenacc-dim): Document.
1785 * lto-wrapper.c (merge_and_complain): Add OPT_fopenacc_dim_ case.
1786 (append_compiler_options): Likewise.
1787 * omp-low.c (oacc_default_dims, oacc_min_dims): New.
1788 (oacc_parse_default_dims): New.
1789 (oacc_validate_dims): Add USED arg. Select non-unity default when
1791 (oacc_loop_fixed_partitions): Return mask of used partitions.
1792 (oacc_loop_auto_partitions): Emit dump info.
1793 (oacc_loop_partition): Return mask of used partitions.
1794 (execute_oacc_device_lower): Parse default dimension arg. Adjust
1795 loop partitioning and validation calls.
1797 2016-02-01 Richard Biener <rguenther@suse.de>
1800 * match.pd: Guard (C1/X)*C2 -> (C1*C2)/X with single_use.
1802 2016-02-01 Richard Biener <rguenther@suse.de>
1804 PR tree-optimization/69574
1805 * tree-chrec.c (hide_evolution_in_other_loops_than_loop): Instead
1806 of asserting return chrec_dont_know.
1808 2016-02-01 Martin Liska <mliska@suse.cz>
1810 * mem-stats-traits.h: Add copyright header.
1811 * mem-stats.h: Likewise.
1813 2016-02-01 Richard Biener <rguenther@suse.de>
1815 PR tree-optimization/69579
1816 * tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling):
1817 Do not propagate through abnormal PHI results.
1819 2016-02-01 Eric Botcazou <ebotcazou@adacore.com>
1821 * postreload.c (reload_cse_simplify): Remove dead code.
1823 2016-02-01 Jakub Jelinek <jakub@redhat.com>
1825 PR rtl-optimization/69570
1826 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Return true only
1827 if there is more than one set, not if there is a single set.
1829 2016-02-01 Richard Henderson <rth@redhat.com>
1832 * combine.c (make_compound_operation): When looking through a
1833 subreg, make sure to re-extend to the width of the outer mode.
1835 2016-01-30 Jakub Jelinek <jakub@redhat.com>
1837 PR tree-optimization/69546
1838 * wide-int.cc (wi::divmod_internal): For unsigned division
1839 where both operands fit into uhwi, if o1 is 1 and o0 has
1840 msb set, if divident_prec is larger than bits per hwi,
1841 clear another quotient word and return 2 instead of 1.
1842 Similarly for remainder with msb in HWI set, if dividend_prec
1843 is larger than bits per hwi.
1845 2016-01-29 Martin Jambor <mjambor@suse.cz>
1847 * hsa-gen.c (get_memory_order_name): Mask with MEMMODEL_BASE_MASK.
1848 Use short lowercase names.
1849 (get_memory_order): Mask with MEMMODEL_BASE_MASK. Support
1850 MEMMODEL_CONSUME with acquire semantics and MEMMODEL_SEQ_CST with
1851 acq_rel one. Protect warning agains segfaults if
1852 get_memory_order_name returns NULL.
1853 (gen_hsa_ternary_atomic_for_builtin): Support with MEMMODEL_SEQ_CST
1854 with release semantics. Do not warn if get_memory_order already did.
1855 (gen_hsa_insns_for_call): Support with MEMMODEL_SEQ_CST with acquire
1856 semantics. Fix check for relaxed or acquire semantics. Do not warn
1857 if get_memory_order already did.
1859 2016-01-29 Sebastian Pop <s.pop@samsung.com>
1861 * doc/install.texi: Document that isl-0.16 is supported.
1863 2016-01-29 Vladimir Makarov <vmakarov@redhat.com>
1866 * config/i386/constraints.md (Bm): Describe as special memory
1868 * doc/md.texi (DEFINE_SPECIAL_MEMORY_CONSTRAINT): Describe it.
1869 * genoutput.c (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT.
1870 * genpreds.c (struct constraint_data): Add is_special_memory.
1871 (have_special_memory_constraints, special_memory_start): New
1873 (special_memory_end): Ditto.
1874 (add_constraint): Add new arg is_special_memory. Add code to
1875 process its true value. Update have_special_memory_constraints.
1876 (process_define_constraint): Pass the new arg.
1877 (process_define_register_constraint): Ditto.
1878 (choose_enum_order): Process special memory.
1879 (write_tm_preds_h): Generate enum const CT_SPECIAL_MEMORY and
1880 function insn_extra_special_memory_constraint.
1881 (main): Process DEFINE_SPECIAL_MEMORY_CONSTRAINT.
1882 * gensupport.c (process_rtx): Process
1883 DEFINE_SPECIAL_MEMORY_CONSTRAINT.
1884 * ira-costs.c (record_reg_classes): Process CT_SPECIAL_MEMORY.
1885 * ira-lives.c (single_reg_class): Use
1886 insn_extra_special_memory_constraint.
1887 * ira.c (ira_setup_alts): Process CT_SPECIAL_MEMORY.
1888 * lra-constraints.c (process_alt_operands): Ditto.
1889 (curr_insn_transform): Use insn_extra_special_memory_constraint.
1890 * recog.c (asm_operand_ok, preprocess_constraints): Process
1892 * reload.c (find_reloads): Ditto.
1893 * rtl.def (DEFINE_SPECIFAL_MEMORY_CONSTRAINT): New.
1894 * stmt.c (parse_input_constraint): Use
1895 insn_extra_special_memory_constraint.
1897 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1900 * lra-splill.c (lra_final_code_change): Revert r229087 by
1901 removing all sub-registers.
1903 2016-01-29 Steve Ellcey <sellcey@imgtec.com>
1906 * config/mips/mips.c (mips_output_division): Check flag_delayed_branch.
1908 2016-01-29 Jakub Jelinek <jakub@redhat.com>
1911 * config/i386/i386.c (ix86_expand_vector_set) <case V4SImode>: For
1912 SSE1, copy target into the temporary reg first before recursing
1915 2016-01-29 H.J. Lu <hongjiu.lu@intel.com>
1917 * config/i386/sse.md (sse2_cvtps2pd<mask_name>): Replace vBm
1920 2016-01-29 Jonathan Wakely <jwakely@redhat.com>
1922 * ginclude/stdarg.h: Test __cplusplus instead of
1923 __GXX_EXPERIMENTAL_CXX0X__.
1925 2016-01-29 Richard Biener <rguenther@suse.de>
1927 PR tree-optimization/69547
1928 * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1):
1929 Do not mark clobbers necessary.
1930 (mark_all_reaching_defs_necessary_1): Likewise.
1932 2016-01-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
1934 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Format
1935 declaration name with %qs and print it in both error messages.
1936 Also fix indentation.
1938 2016-01-29 Dominik Vogt <vogt@linux.vnet.ibm.com>
1941 * config/s390/s390-c.c (s390_resolve_overloaded_builtin): Remove
1942 trailing blank line from error message.
1944 2016-01-29 Jonathan Wakely <jwakely@redhat.com>
1947 * ginclude/float.h: Also provide FLT_EVAL_METHOD and DECIMAL_DIG
1950 2016-01-29 Richard Biener <rguenther@suse.de>
1953 * match.pd: Allow all integral types when simplifying a
1954 widening or sign-changing conversion.
1956 2016-01-28 Sebastian Pop <s.pop@samsung.com>
1958 * graphite-isl-ast-to-gimple.c (get_rename_from_scev): Revert assert
1959 back to setting codegen_error to fail codegen.
1961 2016-01-28 Uros Bizjak <ubizjak@gmail.com>
1964 * config/i386/constraints.md (C): Only accept constant zero operand.
1965 (BC): New constraint.
1966 * config/i386/sse.md (*mov<mode>_internal): Use BC constraint
1967 instead of C constraint.
1968 * doc/md.texi (Machine Constraints): Update description
1971 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
1974 * config/mips/mips.c (and_operands_ok): Add MIPS16 check.
1976 2016-01-28 Jakub Jelinek <jakub@redhat.com>
1979 * lra-remat.c (calculate_local_reg_remat_bb_data): Only consider
1982 2016-01-28 Pat Haugen <pthaugen@us.ibm.com>
1984 * config/rs6000/rs6000.c (output_cbranch): Don't statically predict
1985 branches if using guessed profile.
1987 2016-01-28 H.J. Lu <hongjiu.lu@intel.com>
1989 * graphite-optimize-isl.c (optimize_isl): Fix dump.
1991 2016-01-28 Richard Henderson <rth@redhat.com>
1994 * config/aarch64/aarch64-modes.def (CC_Cmode): New
1995 * config/aarch64/aarch64-protos.h: Update.
1996 * config/aarch64/aarch64.c (aarch64_zero_extend_const_eq): New.
1997 (aarch64_select_cc_mode): Add check for use of CC_Cmode.
1998 (aarch64_get_condition_code_1): Handle CC_Cmode.
1999 * config/aarch64/aarch64.md (addti3): Use adddi3_compareC.
2000 (*add<mode>3_compareC_cconly_imm): New.
2001 (*add<mode>3_compareC_cconly): New.
2002 (*add<mode>3_compareC_imm): New.
2003 (add<mode>3_compareC): New.
2004 (add<mode>3_carryin, *addsi3_carryin_uxtw): Sort compare operand
2005 to be first. Use aarch64_carry_operation.
2006 (*add<mode>3_carryin_alt1, *addsi3_carryin_alt1_uxtw): Remove.
2007 (*add<mode>3_carryin_alt2, *addsi3_carryin_alt2_uxtw): Remove.
2008 (*add<mode>3_carryin_alt3, *addsi3_carryin_alt3_uxtw): Remove.
2009 (subti3): Use subdi3_compare1.
2010 (*sub<mode>3_compare0): Rename from sub<mode>3_compare0.
2011 (sub<mode>3_compare1): New.
2012 (*sub<mode>3_carryin0, *subsi3_carryin_uxtw): New.
2013 (*sub<mode>3_carryin): Use aarch64_borrow_operation.
2014 (*subsi3_carryin_uxtw): Likewise.
2015 (*ngc<mode>, *ngcsi_uxtw): Likewise.
2016 (*sub<mode>3_carryin_alt, *subsi3_carryin_alt_uxtw): New.
2017 * config/aarch64/iterators.md (DWI): New.
2018 * config/aarch64/predicates.md (aarch64_carry_operation): New.
2019 (aarch64_borrow_operation): New.
2021 2016-01-28 Abderrazek Zaafrani <a.zaafrani@samsung.com>
2023 * graphite-optimize-isl.c (optimize_isl): Print a different debug
2024 message when isl does not return a valid schedule.
2026 2016-01-28 Sebastian Pop <s.pop@samsung.com>
2028 * graphite-isl-ast-to-gimple.c (class translate_isl_ast_to_gimple):
2029 Remove comments from class declarations: they are already in the code
2032 2016-01-28 Sebastian Pop <s.pop@samsung.com>
2034 * graphite-isl-ast-to-gimple.c (binary_op_to_tree): Call
2036 (ternary_op_to_tree): Same.
2037 (unary_op_to_tree): Same.
2038 (nary_op_to_tree): Same.
2039 (gcc_expression_from_isl_expr_op): Same.
2040 (gcc_expression_from_isl_expression): Same.
2041 (graphite_create_new_loop): Same.
2042 (graphite_create_new_loop_guard): Same.
2043 (build_iv_mapping): Same.
2044 (graphite_create_new_guard): Same.
2045 (translate_isl_ast_to_gimple::copy_loop_phi_nodes): Same.
2046 (translate_isl_ast_to_gimple::translate_pending_phi_nodes): Same.
2048 2016-01-28 Sebastian Pop <s.pop@samsung.com>
2050 * graphite-isl-ast-to-gimple.c (get_rename_from_scev): Assert
2051 instead of setting codegen_error to fail codegen.
2053 2016-01-28 Jason Merrill <jason@redhat.com>
2055 * tree.h (BINFO_FLAG_0): Rename from BINFO_MARKED.
2057 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
2059 * config/aarch64/aarch64.c (aarch64_if_then_else_costs):
2060 Remove CONST_INT_P check in CCMP cost calculation.
2062 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
2064 * config/aarch64/aarch64.c (generic_vector_cost):
2065 Set vec_permute_cost.
2066 (cortexa57_vector_cost): Likewise.
2067 (exynosm1_vector_cost): Likewise.
2068 (xgene1_vector_cost): Likewise.
2069 (aarch64_builtin_vectorization_cost): Use vec_permute_cost.
2070 * config/aarch64/aarch64-protos.h (cpu_vector_cost):
2071 Add vec_permute_cost entry.
2073 2016-01-28 Wilco Dijkstra <wdijkstr@arm.com>
2075 * config/aarch64/aarch64.md (ccmp<mode>): Disassemble
2077 (add<mode>3_compare0): Likewise.
2078 (addsi3_compare0_uxtw): Likewise.
2079 (add<mode>3nr_compare0): Likewise.
2080 (compare_neg<mode>): Likewise.
2081 (<optab><mode>3): Likewise.
2083 2016-01-28 Ilya Enkovich <enkovich.gnu@gmail.com>
2085 * tree-vect-stmts.c (vectorizable_comparison): Add
2086 NULL check for vectype.
2088 2016-01-28 Richard Biener <rguenther@suse.de>
2090 PR tree-optimization/69466
2091 * tree-vect-loop-manip.c (slpeel_duplicate_current_defs_from_edges):
2092 Account for PHIs we couldn't duplicate.
2094 2016-01-28 Martin Liska <mliska@suse.cz>
2097 * ggc-common.c (gt_pch_save): Use ENABLE_VALGRIND_ANNOTATIONS macro
2098 instead of ENABLE_VALGRIND_CHECKING.
2100 2016-01-27 Richard Henderson <rth@redhat.com>
2103 * lra-remat.c (subreg_regs): New.
2104 (dump_candidates_and_remat_bb_data): Dump it.
2105 (operand_to_remat): Reject if operand in subreg_regs.
2106 (set_bb_regs): Collect subreg_regs.
2107 (lra_remat): Init and free subreg_regs. Compute
2108 calculate_local_reg_remat_bb_data before create_cands.
2110 2016-01-27 H.J. Lu <hongjiu.lu@intel.com>
2113 * config/i386/i386.c (ix86_update_stack_boundary): Don't
2114 change stack_alignment_needed for __tls_get_addr call.
2116 2016-01-27 Segher Boessenkool <segher@kernel.crashing.org>
2118 * config/rs6000/rs6000.c (print_operand): Rollback 's' removal.
2120 2016-01-27 Jeff Law <law@redhat.com>
2122 PR tree-optimization/68398
2123 PR tree-optimization/69196
2124 * params.def (PARAM_FSM_SCALE_PATH_STMTS): New parameter.
2125 (PARAM_FSM_SCALE_PATH_BLOCKS): Likewise.
2126 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
2127 Only count PHIs in the last block in the path. The others will
2128 const/copy propagate away. Add heuristic to allow more irreducible
2129 subloops to be created when it is likely profitable to do so.
2131 * tree-ssa-threadbackward.c (fsm_find_control_statement_thread_paths):
2132 Fix typo in comment. Use gsi_after_labels and remove the GIMPLE_LABEL
2133 check from within the loop. Use gsi_next_nondebug rather than gsi_next.
2135 2016-01-27 Jakub Jelinek <jakub@redhat.com>
2138 * sanitizer.def: Add BEGIN_SANITIZER_BUILTINS and
2139 END_SANITIZER_BUILTINS markers using DEF_BUILTIN_STUB.
2140 * asan.c (DEF_BUILTIN_STUB): Temporarily define.
2141 * tree-streamer-in.c: Include asan.h.
2142 (streamer_get_builtin_tree): For builtins in sanitizer
2143 range call initialize_sanitizer_builtins and retry.
2145 2016-01-27 Ian Lance Taylor <iant@google.com>
2147 * common.opt (fkeep-gc-roots-live): New undocumented option.
2148 * tree-ssa-loop-ivopts.c (add_candidate_1): If
2149 -fkeep-gc-roots-live, skip pointers.
2150 (add_iv_candidate_for_biv): Handle add_candidate_1 returning
2153 2016-01-27 Uros Bizjak <ubizjak@gmail.com>
2156 * config/i386/i386.md (*zext<mode>_doubleword_and): New pattern.
2157 (*zext<mode>_doubleword): Disable for TARGET_ZERO_EXTEND_WITH_AND.
2159 2016-01-27 Thomas Klausner <wiz@NetBSD.org>
2162 * configure.ac: NetBSD provides SSP in its C library.
2163 * configure: Updated.
2165 2016-01-27 Richard Biener <rguenther@suse.de>
2167 PR tree-optimization/69166
2168 * tree-vect-loop.c (vect_is_simple_reduction): Always check
2169 reduction code for commutativity / associativity.
2171 2016-01-27 Martin Jambor <mjambor@suse.cz>
2173 PR tree-optimization/69355
2174 * tree-sra.c (analyze_access_subtree): Correct hole detection when
2175 total_scalarization fails.
2177 2016-01-27 David Edelsohn <dje.gcc@gmail.com>
2179 * config/rs6000/driver-rs6000.c (detect_processor_aix): Add
2182 2016-01-27 Christian Bruel <christian.bruel@st.com>
2185 * config/arm/arm-c.c (arm_pragma_target_parse): Add comments.
2186 Move arm_reset_previous_fndecl and set_target_option_current_node in
2187 the conditional part. Call save_restore_target_globals.
2188 * config/arm/arm.c (arm_set_current_function):
2189 Refactor to better support #pragma target and attribute mix.
2190 Call save_restore_target_globals.
2191 * config/arm/arm-protos.h (save_restore_target_globals): New function.
2193 2016-01-27 Martin Liska <mliska@suse.cz>
2195 * hsa.c (hsa_summary_t::link_functions): Create IPA_REF_ADDR
2196 reference for an HSA kernel and its host function.
2198 2016-01-27 Jakub Jelinek <jakub@redhat.com>
2200 PR tree-optimization/69399
2201 * wide-int.h (wi::lrshift): For larger precisions, only
2202 use fast path if shift is known to be < HOST_BITS_PER_WIDE_INT.
2204 2016-01-27 Claudiu Zissulescu <claziss@synopsys.com>
2206 * config/arc/predicates.md (proper_comparison_operator): Reject
2207 constant-constant comparison.
2209 2016-01-26 Tom de Vries <tom@codesourcery.com>
2211 PR tree-optimization/69110
2212 * tree-data-ref.c (initialize_data_dependence_relation): Handle
2213 DR_NUM_DIMENSIONS == 0.
2215 2016-01-26 Abderrazek Zaafrani <a.zaafrani@samsung.com>
2216 Sebastian Pop <s.pop@samsung.com>
2218 * graphite-isl-ast-to-gimple.c (ternary_op_to_tree): Handle
2219 isl_ast_op_cond and isl_ast_op_select.
2220 (gcc_expression_from_isl_expr_op): Same.
2222 2016-01-26 Jason Merrill <jason@redhat.com>
2225 * tree.c (recompute_constructor_flags): Split out from
2227 (verify_constructor_flags): New.
2228 * tree.h: Declare them.
2230 2016-01-26 Iain Buclaw <ibuclaw@gdcproject.org>
2232 PR rtl-optimization/69217
2233 * var-tracking.c (tracked_record_parameter_p): Don't segfault if there
2234 are no TYPE_FIELDS set for the record type.
2236 2016-01-26 Jakub Jelinek <jakub@redhat.com>
2239 * config/rs6000/rs6000.c (rs6000_option_override_internal): Initialize
2240 toc_label_name unconditionally.
2241 (rs6000_emit_load_toc_table): Call ggc_strdup on toc_label_name for
2242 SYMBOL_REF string. Use toc_label_name instead of constructing
2244 (rs6000_elf_declare_function_name): Use toc_label_name instead of
2245 constructing LCTOC1.
2247 2016-01-26 Martin Sebor <msebor@redhat.com>
2250 * doc/extend.texi (Common Type Attributes): Move text that talks about
2251 attribute packed from attribute aligned to the section discussing
2252 the former attribute for clarity.
2254 2016-01-26 Richard Henderson <rth@redhat.com>
2257 * trans-mem.c (tm_region_init): Mark entry block as visited.
2259 2016-01-26 David Malcolm <dmalcolm@redhat.com>
2262 * diagnostic-show-locus.c (layout::print_source_line): Replace
2263 call to pp_newline with call to layout::print_newline.
2264 (layout::print_annotation_line): Likewise.
2265 (layout::move_to_column): Likewise.
2266 (layout::print_any_fixits): After printing any fixits, print a
2267 trailing newline, if necessary.
2268 (layout::print_newline): New method, resetting any colorization
2270 (diagnostic_show_locus): Move the pp_newline to before the
2271 early bailout. Remove dummy block enclosing the layout instance.
2272 * diagnostic.c (default_diagnostic_finalizer): Replace invocation
2273 of pp_newline_and_flush with pp_flush.
2274 (diagnostic_append_note): Delete use of pp_newline.
2275 (diagnostic_append_note_at_rich_loc): Delete.
2276 * diagnostic.h (diagnostic_append_note_at_rich_loc): Delete.
2277 * pretty-print.h (output_buffer_append_r): Reset buff->line_length
2278 when newline characters are added to the buffer.
2280 2016-01-26 Michael Matz <matz@suse.de>
2282 * configure.ac (ac_cv_std_swap_in_utility): New test.
2283 * system.h (<algorithm>): Check HAVE_SWAP_IN_UTILITY as well.
2284 * configure: Regenerate.
2285 * config.in: Regenerate.
2287 2016-01-26 Claudiu Zissulescu <claziss@synopsys.com>
2289 * config/arc/arc.md (cstoresi4): Force operand into register.
2290 (arcset<code>): Fix predicate.
2291 (arcsetltu): Likewise.
2292 (arcsetgeu): Likewise.
2293 (arcsethi): Likewise.
2294 (arcsetls): Likewise.
2296 2016-01-26 Jakub Jelinek <jakub@redhat.com>
2298 PR tree-optimization/69483
2299 * gimple-fold.c (canonicalize_constructor_val): Return NULL
2300 if base has error_mark_node type.
2302 2016-01-26 Christophe Lyon <christophe.lyon@linaro.org>
2305 * config/arm/arm.c (neon_valid_immediate): Handle FP16 vectors.
2306 * config/arm/arm_neon.h (__ARM_NUM_LANES, __arm_lane, arm_lanq):
2308 (vget_lane_f16): Handle big-endian.
2309 (vgetq_lane_f16): Likewise.
2310 (vset_lane_f16): Likewise.
2311 (vsetq_lane_f16): Likewise.
2312 * config/arm/iterators.md (VQXMOV): Add V8HF.
2313 (VDQ): Add V4HF and V8HF.
2314 (V_reg): Handle V4HF and V8HF.
2315 (Is_float_mode): Likewise.
2316 * config/arm/neon.md (movv4hf, movv8hf, neon_vdup_nv4hf,
2317 neon_vdup_nv8hf): New patterns.
2318 (vec_set<mode>_internal, vec_extract<mode>, neon_vld1_dup<mode>):
2319 Use VD_LANE iterator.
2320 (neon_vld1_dup<mode>): Use VQ2 iterator.
2322 2016-01-26 Nathan Sidwell <nathan@acm.org>
2324 * omp-low.h (oacc_fn_attrib_kernels_p): Declare.
2325 (set_oacc_fn_attrib): Add IS_KERNEL arg.
2326 * omp-low.c (set_oacc_fn_attrib): Add IS_KERNEL arg.
2327 (oacc_fn_attrib_kernels_p, oacc_fn_attrib_level): New.
2328 (expand_omp_target): Pass is_kernel to set_oacc_fn_attrib.
2329 (oacc_validate_dims): Add LEVEL arg, don't return level.
2330 (new_oacc_loop_routine): Use oacc_fn_attrib_level, not
2332 (execute_oacc_device_lower): Adjust, add more dump output.
2333 * tree-ssa-loop.c (gate_oacc_kernels): Use
2334 oacc_fn_attrib_kernels_p.
2335 * tree-parloops.c (create_parallel_loop): Adjust
2336 set_oacc_fn_attrib call.
2338 2016-01-26 Jakub Jelinek <jakub@redhat.com>
2341 * lto-wrapper.c (merge_and_complain): Handle -fcilkplus.
2342 (append_compiler_options): Handle -fcilkplus.
2343 (append_linker_options): Ignore -fno-{openmp,openacc,cilkplus}.
2345 2016-01-26 Nick Clifton <nickc@redhat.com>
2348 * config/i386/winnt.c (i386_pe_binds_local_p): If a function has
2349 been marked as DECL_ONE_ONLY but we do not the means to make it
2350 so, then do not allow it to bind locally.
2352 2016-01-26 Jakub Jelinek <jakub@redhat.com>
2355 * opts.h (parse_sanitizer_options): New prototype.
2356 * opts.c (sanitizer_opts): New array.
2357 (parse_sanitizer_options): New function.
2358 (common_handle_option): Use parse_sanitizer_options.
2360 2016-01-26 H.J. Lu <hongjiu.lu@intel.com>
2363 * config/i386/i386.c (ix86_compute_frame_layout): Move stack
2364 alignment adjustment to ...
2365 (ix86_update_stack_boundary): Here. Don't over-align stack for
2367 (ix86_finalize_stack_realign_flags): Use stack_alignment_needed
2368 if __tls_get_addr is called.
2370 2016-01-26 Christian Bruel <christian.bruel@st.com>
2372 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Remove.
2374 2016-01-26 Eric Botcazou <ebotcazou@adacore.com>
2376 * config/ia64/ia64.c (ia64_expand_vecint_compare): Use gen_int_mode.
2378 2016-01-26 Richard Biener <rguenther@suse.de>
2381 * match.pd: Guard X * CST CMP 0 pattern with single_use.
2383 2016-01-26 Richard Biener <rguenther@suse.de>
2385 PR tree-optimization/69452
2386 * tree-ssa-loop-im.c (move_computations_dom_walker): Remove.
2387 (move_computations_dom_walker::before_dom_children): Rename
2389 (move_computations_worker): This.
2390 (move_computations): Perform an RPO rather than a DOM walk.
2392 2016-01-26 Jakub Jelinek <jakub@redhat.com>
2395 * combine.c (combine_instructions): For REG_EQUAL note with
2396 SET_DEST being ZERO_EXTRACT, also temporarily set SET_DEST
2397 to the underlying register.
2398 * doc/rtl.texi (REG_EQUAL): Document the behavior of
2399 REG_EQUAL/REG_EQUIV notes if SET_DEST is ZERO_EXTRACT.
2401 2016-01-26 Roger Ferrer Ibáñez <rofirrim@gmail.com>
2404 * config/aarch64/aarch64-builtins.c
2405 (aarch64_init_simd_builtin_types): Do not set structural
2406 equality to __Poly{8,16,64,128}_t types.
2408 2016-01-26 Richard Sandiford <richard.sandiford@arm.com>
2410 PR tree-optimization/69400
2411 * wide-int.cc (wi_pack): Take the precision as argument and
2412 perform canonicalization here rather than in the callers.
2413 Use the main loop to handle all full-width HWIs. Add a
2414 zero HWI if in_len isn't a full result.
2415 (wi::divmod_internal): Update accordingly.
2416 (wi::mul_internal): Likewise. Simplify.
2418 2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
2419 Sebastian Pop <s.pop@samsung.com>
2421 * graphite-poly.c (apply_poly_transforms): Simplify.
2422 (print_isl_set): Use more readable format: ISL_YAML_STYLE_BLOCK.
2423 (print_isl_map): Same.
2424 (print_isl_union_map): Same.
2425 (print_isl_schedule): New.
2426 (debug_isl_schedule): New.
2427 * graphite-dependences.c (scop_get_reads): Do not call
2428 isl_union_map_add_map that is undocumented isl functionality.
2429 (scop_get_must_writes): Same.
2430 (scop_get_may_writes): Same.
2431 (scop_get_original_schedule): Remove.
2432 (scop_get_dependences): Do not call isl_union_map_compute_flow that
2433 is deprecated in isl 0.15. Instead, use isl_union_access_* interface.
2434 (compute_deps): Remove.
2435 * graphite-isl-ast-to-gimple.c (print_schedule_ast): New.
2436 (debug_schedule_ast): New.
2437 (translate_isl_ast_to_gimple::scop_to_isl_ast): Call
2438 set_separate_option.
2439 (graphite_regenerate_ast_isl): Add dump.
2440 (translate_isl_ast_to_gimple::scop_to_isl_ast): Generate code
2441 from scop->transformed_schedule.
2442 (graphite_regenerate_ast_isl): Add more dump.
2443 * graphite-optimize-isl.c (optimize_isl): Set
2444 scop->transformed_schedule. Check whether schedules are equal.
2445 (apply_poly_transforms): Move here.
2446 * graphite-poly.c (apply_poly_transforms): ... from here.
2447 (free_poly_bb): Static.
2448 (free_scop): Static.
2449 (pbb_number_of_iterations_at_time): Remove.
2450 (print_isl_ast): New.
2451 (debug_isl_ast): New.
2452 (debug_scop_pbb): New.
2453 * graphite-scop-detection.c (print_edge): Move.
2455 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Remove.
2456 (build_scop_scattering): Remove.
2457 (create_pw_aff_from_tree): Assert instead of bailing out.
2458 (add_condition_to_pbb): Remove unused code, do not fail.
2459 (add_conditions_to_domain): Same.
2460 (add_conditions_to_constraints): Remove.
2461 (build_scop_context): New.
2462 (add_iter_domain_dimension): New.
2463 (build_iteration_domains): Initialize pbb->iterators.
2464 Call add_conditions_to_domain.
2467 (index_outermost_in_loop): New.
2468 (index_pbb_in_loop): New.
2469 (outermost_pbb_in): New.
2470 (add_in_sequence): New.
2471 (add_outer_projection): New.
2472 (outer_projection_mupa): New.
2473 (add_loop_schedule): New.
2474 (build_schedule_pbb): New.
2475 (build_schedule_loop): New.
2476 (embed_in_surrounding_loops): New.
2477 (build_schedule_loop_nest): New.
2478 (build_original_schedule): New.
2479 (build_poly_scop): Call build_original_schedule.
2480 * graphite.h: Declare print_isl_schedule and debug_isl_schedule.
2481 (free_poly_dr): Remove.
2482 (struct poly_bb): Add iterators. Remove schedule, transformed, saved.
2483 (free_poly_bb): Remove.
2484 (debug_loop_vec): Remove.
2485 (print_isl_ast): Declare.
2486 (debug_isl_ast): Declare.
2487 (scop_do_interchange): Remove.
2488 (scop_do_strip_mine): Remove.
2489 (scop_do_block): Remove.
2490 (flatten_all_loops): Remove.
2491 (optimize_isl): Remove.
2492 (pbb_number_of_iterations_at_time): Remove.
2493 (debug_scop_pbb): Declare.
2494 (print_schedule_ast): Declare.
2495 (debug_schedule_ast): Declare.
2496 (struct scop): Remove schedule. Add original_schedule,
2497 transformed_schedule.
2498 (free_gimple_poly_bb): Remove.
2499 (print_generated_program): Remove.
2500 (debug_generated_program): Remove.
2501 (unify_scattering_dimensions): Remove.
2502 * sese.c (print_edge): ... here.
2503 (print_sese): ... here.
2504 (debug_edge): ... here.
2505 (debug_sese): ... here.
2506 * sese.h (print_edge): Declare.
2507 (print_sese): Declare.
2508 (dump_edge): Declare.
2509 (dump_sese): Declare.
2511 2016-01-25 Aditya Kumar <aditya.k7@samsung.com>
2512 Sebastian Pop <s.pop@samsung.com>
2514 * Makefile.in: Set ISLVER in site.exp.
2516 2016-01-25 Jakub Jelinek <jakub@redhat.com>
2518 * omp-low.c (lower_omp_target) <case USE_DEVICE_PTR>: Set
2519 DECL_VALUE_EXPR of new_var even for the non-array case. Look
2520 through DECL_VALUE_EXPR for expansion.
2522 2016-01-25 Bernd Edlinger <bernd.edlinger@hotmail.de>
2524 * config/mips/mips.c (mips_compute_frame_info): Skip re-computing
2525 the frame info after reload completed.
2527 2016-01-25 Jeff Law <law@redhat.com>
2529 PR tree-optimization/69196
2530 PR tree-optimization/68398
2531 * tree-ssa-threadupdate.h (enum bb_dom_status): Moved here from
2532 tree-ssa-threadupdate.c.
2533 (determine_bb_domination_status): Prototype
2534 * tree-ssa-threadupdate.c (enum bb_dom_status): Remove
2535 (determine_bb_domination_status): No longer static.
2536 (valid_jump_thread_path): Remove code to detect characteristics
2537 of the jump thread path not associated with correctness.
2538 * tree-ssa-threadbackward.c (fsm_find_control_statment_thread_paths):
2539 Correct test for thread path length. Count PHIs for real operands as
2540 statements that need to be copied. Do not count ASSERT_EXPRs.
2541 Look at all the blocks in the thread path. Compute and selectively
2542 filter thread paths based on threading through the latch, threading
2543 a multiway branch or crossing a multiway branch.
2545 2016-01-25 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2547 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): Add
2548 decl with __attribute__ ((unused)) annotation.
2550 2016-01-25 Ilya Enkovich <enkovich.gnu@gmail.com>
2553 * tree-vect-stmts.c (vectorizable_condition): Check vectype
2554 of operands is compatible with a statement vectype.
2556 2016-01-25 Eric Botcazou <ebotcazou@adacore.com>
2558 * doc/extend.texi (scalar_storage_order type attribute): Fix typo and
2559 improve wording for mixed storage order support.
2561 2016-01-25 Bilyan Borisov <bilyan.borisov@arm.com>
2563 * config/aarch64/arm_neon.h (vcvt_s64_f64): New intrinsic.
2564 (vcvt_u64_f64): Likewise.
2565 (vcvta_s64_f64): Likewise.
2566 (vcvta_u64_f64): Likewise.
2567 (vcvtm_s64_f64): Likewise.
2568 (vcvtm_u64_f64): Likewise.
2569 (vcvtn_s64_f64): Likewise.
2570 (vcvtn_u64_f64): Likewise.
2571 (vcvtp_s64_f64): Likewise.
2572 (vcvtp_u64_f64): Likewise.
2574 2016-01-25 Claudiu Zissulescu <claziss@synopsys.com>
2576 * config/arc/arc.c (TARGET_DWARF_REGISTER_SPAN): Define.
2577 (arc_init): Check validity mll64 option.
2578 (arc_save_restore): Use double load/store instruction.
2579 (arc_expand_movmem): Likewise.
2580 (arc_split_move): Don't split if we have double load/store
2581 instructions. Returns a boolean.
2582 (arc_process_double_reg_moves): Change function to return boolean
2583 instead of a sequence of instructions.
2584 (arc_dwarf_register_span): New function.
2585 * config/arc/arc-protos.h (arc_split_move): Change prototype.
2586 * config/arc/arc.h (TARGET_CPU_CPP_BUILTINS): Define __ARC_LL64__.
2587 * config/arc/arc.md (*movdi_insn): Emit ldd/std instructions.
2588 (*movdf_insn): Likewise.
2589 * config/arc/arc.opt (mll64): New option.
2590 * config/arc/predicates.md (even_register_operand): New predicate.
2591 * doc/invoke.texi (ARC Options): Add mll64 documentation.
2593 2016-01-25 Richard Biener <rguenther@suse.de>
2596 * dwarf2out.c (is_naming_typedef_decl): Not when DECL_NAMELESS.
2597 * tree-streamer-out.c (pack_ts_base_value_fields): Stream
2599 * tree-streamer-in.c (unpack_ts_base_value_fields): Likewise.
2601 2016-01-25 Richard Biener <rguenther@suse.de>
2603 PR tree-optimization/69376
2604 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add range_info_anti_range_p
2606 (VN_INFO_ANTI_RANGE_P): New inline.
2607 (VN_INFO_RANGE_TYPE): Likewise.
2608 * tree-ssa-sccvn.c (set_ssa_val_to): Also record and copy
2609 SSA_NAME_ANTI_RANGE_P.
2610 (free_scc_vn): Restore SSA_NAME_ANTI_RANGE_P.
2611 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
2612 Properly query VN_INFO_RANGE_TYPE.
2614 2016-01-25 Nick Clifton <nickc@redhat.com>
2617 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Remove definition.
2619 2016-01-23 Tom de Vries <tom@codesourcery.com>
2621 PR tree-optimization/69426
2622 * tree-parloops.c (eliminate_local_variables_stmt): Handle vdef of
2625 2016-01-23 Jakub Jelinek <jakub@redhat.com>
2627 * tree-ssanames.c (release_free_names_and_compact_live_names): Replace
2628 "the the" with "the" in the comments.
2629 * ipa-devirt.c (build_type_inheritance_graph,
2630 update_type_inheritance_graph): Likewise.
2631 * tree.c (build_function_type_list_1): Likewise.
2632 * cfgloopmanip.c (scale_loop_profile): Likewise.
2633 * tree-ssa-loop-ivopts.c (get_shiftadd_cost): Likewise.
2634 * gimple-ssa-split-paths.c
2635 (find_block_to_duplicate_for_splitting_paths): Likewise.
2636 * tree-sra.c (init_subtree_with_zero, clobber_subtree): Likewise.
2637 * expr.c (convert_move): Likewise.
2638 * var-tracking.c (vt_stack_adjustments): Likewise.
2639 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Likewise.
2640 * tree-vrp.c (test_for_singularity): Likewise.
2642 * tree-vect-stmts.c (vectorizable_condition): Build a VEC_COND_EXPR
2643 directly instead of building a temporary tree.
2646 * genrecog.c: Define INCLUDE_ALGORITHM before including system.h,
2647 remove <algorithm> include.
2649 2016-01-22 Jakub Jelinek <jakub@redhat.com>
2652 * config/i386/i386.c: Include dojump.h.
2653 (expand_small_movmem_or_setmem,
2654 expand_set_or_movmem_prologue_epilogue_by_misaligned_moves): Spelling
2656 (ix86_expand_set_or_movmem): Call do_pending_stack_adjust () early
2657 if dynamic_check != -1.
2659 2016-01-21 Jeff Law <law@redhat.com>
2662 * tree-ssa-dom.c (back_propagate_equivalences): Factored out of
2663 record_temporary_equivalences. Rewritten to avoid unnecessary calls
2664 into dominated_by_p.
2665 (cprop_into_successor_phis): Avoid unnecessary tests.
2667 2016-01-22 Richard Henderson <rth@redhat.com>
2670 * config/aarch64/aarch64.md (UNSPEC_NZCV): New.
2671 (ccmp<mode>, fccmp<mode>, fccmpe<mode>): Use it.
2673 2016-01-22 Michael Matz <matz@suse.de>
2675 * system.h (string, algorithm): Include only conditionally.
2676 (new): Include always under C++.
2677 * bb-reorder.c (toplevel): Define INCLUDE_ALGORITHM.
2678 * final.c (toplevel): Ditto.
2679 * ipa-chkp.c (toplevel): Define INCLUDE_STRING.
2680 * genconditions.c (write_header): Make gencondmd.c define
2682 * mem-stats.h (mem_usage::print_dash_line): Don't use std::string.
2684 * config/aarch64/aarch64.c (toplevel): Define INCLUDE_STRING.
2685 * common/config/aarch64/aarch64-common.c (toplevel): Ditto.
2687 2016-01-22 Christian Bruel <christian.bruel@st.com>
2690 * expr.c (expand_expr_real_1): Reset DECL_MODE if VECTOR_TYPE_P changed.
2692 2016-01-22 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
2695 * config/arm/thumb2.md (*thumb2_ior_scc_strict_it): Convert to
2696 define_insn_and_split. Ensure operands[1] and operands[0] do not
2697 get assigned the same register.
2699 2016-01-22 Kugan Vivekanandarajah <kuganv@linaro.org>
2701 * ipa-prop.c (ipa_set_jf_constant): Remove redundant unshare_expr.
2703 2016-01-22 Christian Bruel <christian.bruel@st.com>
2705 * config/arm/arm-c.c (arm_pragma_target_parse):
2706 Remove warn_builtin_macro_redefined overwrite.
2708 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
2710 * ipa-inline.c (can_inline_edge_p): Back out overzealous check on
2711 flag_non_call_exceptions compatibility.
2713 2016-01-22 Jakub Jelinek <jakub@redhat.com>
2716 * dwarf2out.c (add_child_die_after): New function.
2717 (dwarf_qual_info_t): New type.
2718 (dwarf_qual_info): New variable.
2719 (qualified_die_p): New function.
2720 (modified_type_die): For -fdebug-types-section, ensure
2721 canonical order of qualifiers. Put qualified DIEs adjacent
2722 to the corresponding non-qualified type DIE and search there
2723 for existing qualified DIEs.
2725 2016-01-22 Eric Botcazou <ebotcazou@adacore.com>
2727 * doc/extend.texi (scalar_storage_order type attribute): Document
2728 restriction on type punning and aliasing, and remove future tense.
2730 2016-01-21 Roman Zhuykov <zhroma@ispras.ru>
2733 * modulo-sched.c (optimize_sc): Allow branch-scheduling to add a new
2736 2016-01-21 Jeff Law <law@redhat.com>
2739 * tree-ssa-dom.c (dom_opt_dom_walker::thread_across_edge): Avoid
2740 useless call to record_temporary_equivalences.
2741 * tree-ssa-threadbackward.c (find_jump_threads_backwards): Just
2742 allocate 10 slots in the bb_path vector and let it grow as needed.
2743 (fsm_find_control_statement_thread_paths): Similarly for the next_path
2746 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
2748 * configure.ac (gcc_cv_as_powerpc_mfcrf, gcc_cv_as_machine_directive):
2750 * configure: Regenerate.
2752 2016-01-21 Pat Haugen <pthaugen@us.ibm.com>
2754 * config/rs6000/aix71.h (ASM_CPU_SPEC): Add entry for Power9.
2755 * config/rs6000/driver-rs6000.c (struct asm_names): Likewise.
2757 2016-01-21 Bernd Schmidt <bschmidt@redhat.com>
2760 * expr.c (expand_expr_real_2) [PLUS_EXPR, MINUS_EXPR]: Don't
2761 drop EXPAND_INITIALIZER.
2762 * rtl.h (contains_symbolic_reference_p): Declare.
2763 * rtlanal.c (contains_symbolic_reference_p): New function.
2764 * simplify-rtx.c (simplify_binary_operation_1): Don't turn
2765 a subtraction into a NOT if symbolic constants are involved.
2767 2016-01-21 Anton Blanchard <anton@samba.org>
2768 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
2771 * config/rs6000/linux64.h (TARGET_KEEP_LEAF_WHEN_PROFILED): New
2773 * config/rs6000/rs6000.c (rs6000_keep_leaf_when_profiled): New
2776 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
2778 * config/microblaze/microblaze.c
2779 (get_branch_target): New.
2780 (insert_wic_for_ilb_runout): New.
2782 (microblaze_machine_dependent_reorg): New.
2783 (TARGET_MACHINE_DEPENDENT_REORG): Define macro.
2784 * config/microblaze/microblaze.md
2785 (UNSPEC_IPREFETCH): Define.
2786 (iprefetch): New pattern
2787 * config/microblaze/microblaze.opt
2788 (mxl-prefetch): New flag.
2790 2016-01-21 Ajit Agarwal <ajitkum@xilinx.com>
2792 * config/microblaze/microblaze.h
2793 (FIXED_REGISTERS): Update in macro.
2794 (CALL_USED_REGISTERS): Update in macro.
2796 2016-01-21 Yuri Rumyantsev <ysrumyan@gmail.com>
2798 PR rtl-optimization/68920
2799 * ifcvt.c (cond_move_process_if_block): Limit number of conditional
2802 2016-01-21 Vladimir Makarov <vmakarov@redhat.com>
2804 PR rtl-optimization/68990
2805 * lra-coalesce.c (lra_coalesce): Invalidate value for the result
2806 pseudo instead of inheritance ones.
2808 2016-01-21 Bernd Edlinger <bernd.edlinger@hotmail.de>
2809 Nick Clifton <nickc@redhat.com>
2813 * config/mips/mips.c (mips_compute_frame_info): Initialise
2814 args_size and hard_frame_pointer_offset fields of the frame
2815 structure before calling mips_global_pointer.
2817 2016-01-21 David Edelsohn <dje.gcc@gmail.com>
2819 * configure.ac (gcc_cv_as_dwloc): Test support for debug frame section
2821 * configure: Regenerate.
2823 2016-01-21 Richard Biener <rguenther@suse.de>
2825 * graphite-optimize-isl.c (get_schedule_map): Fix typo.
2827 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
2829 * config/s390/s390.c (s390_asm_declare_function_size): Add code
2830 to actually emit the .size directive.
2832 2016-01-21 Stefan Sørensen <stefan.sorensen@spectralink.com>
2833 Jakub Jelinek <jakub@redhat.com>
2837 * config/arm/arm-builtins.c (arm_expand_neon_builtin): Increase
2838 args array size by one to avoid buffer overflow.
2840 2016-01-21 Marcin Kościelnicki <koriakin@0x04.net>
2842 * config/s390/s390.md (pool_section_start): Use switch_to_section
2843 to select proper read-only data section instead of hardcoding
2845 (pool_section_end): Use switch_to_section to match the above.
2847 2016-01-21 Richard Biener <rguenther@suse.de>
2849 PR tree-optimization/69378
2850 * tree-ssa-sccvn.c (dominated_by_p_w_unex): New function.
2851 (set_ssa_val_to): Use it for dominance checks taking into
2852 account not executable edges.
2854 2016-01-21 Jakub Jelinek <jakub@redhat.com>
2857 * tree-dfa.c (get_ref_base_and_extent): Use GET_MODE_BITSIZE (mode)
2858 for bitsize instead of GET_MODE_PRECISION (mode).
2860 2016-01-20 Martin Sebor <msebor@redhat.com>
2863 * extend.texi (__sync Builtins): Clarify the semantics of
2864 __sync_fetch_and_OP built-ins on pointers.
2865 (__atomic Builtins): Same.
2867 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2868 Sebastian Pop <s.pop@samsung.com>
2870 * graphite-isl-ast-to-gimple.c (enum phi_node_kind): New.
2871 (class translate_isl_ast_to_gimple): Use phi_node_kind instead of bool.
2872 (is_valid_rename): Same.
2873 (translate_isl_ast_to_gimple::get_rename): Same.
2874 (translate_isl_ast_to_gimple::rename_all_uses): Same.
2875 (translate_isl_ast_to_gimple::rename_uses): Same.
2876 (get_new_name): Check for close_phi nodes.
2877 (copy_loop_phi_args): Use phi_node_kind.
2878 (translate_isl_ast_to_gimple::copy_loop_close_phi_args): Same.
2879 (translate_isl_ast_to_gimple::copy_cond_phi_args): Same.
2881 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2882 Sebastian Pop <s.pop@samsung.com>
2884 Revert commit r229783.
2885 * graphite-isl-ast-to-gimple.c (gcc_expression_from_isl_ast_expr_id):
2886 Remove use of parameter_rename_map.
2888 (copy_internal_parameters): Remove.
2889 (graphite_regenerate_ast_isl): Remove call to copy_internal_parameters.
2890 * sese.c (new_sese_info): Do not initialize parameter_rename_map.
2891 (free_sese_info): Do not free parameter_rename_map.
2892 (set_rename): Do not use parameter_rename_map.
2893 (rename_uses): Update call to set_rename.
2894 (graphite_copy_stmts_from_block): Do not use parameter_rename_map.
2895 * sese.h (parameter_rename_map_t): Remove.
2896 (struct sese_info_t): Remove field parameter_rename_map.
2898 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2899 Sebastian Pop <s.pop@samsung.com>
2901 * graphite-isl-ast-to-gimple.c: Fix comment.
2902 * graphite-scop-detection.c (defined_in_loop_p): New.
2903 (canonicalize_loop_closed_ssa): Do not add close phi nodes for SSA
2904 names defined in loop.
2906 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2907 Sebastian Pop <s.pop@samsung.com>
2909 * graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
2910 Discard unstructured if-then-else regions.
2912 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2913 Sebastian Pop <s.pop@samsung.com>
2915 * graphite-sese-to-poly.c (set_scop_parameter_dim): Remove.
2916 (cleanup_loop_iter_dom): Remove.
2917 (build_loop_iteration_domains): Remove.
2918 (build_scop_context): Remove.
2919 (build_scop_iteration_domain): Remove.
2920 (add_loop_constraints): New.
2921 (build_iteration_domains): New.
2922 (build_poly_scop): Call build_iteration_domains.
2924 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2925 Sebastian Pop <s.pop@samsung.com>
2927 * graphite-scop-detection.c
2928 (scop_detection::harmful_loop_in_region): Free dom and loops.
2929 (scop_detection::loop_body_is_valid_scop): Free bbs.
2931 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2932 Sebastian Pop <s.pop@samsung.com>
2934 * graphite-scop-detection.c (record_loop_in_sese): New.
2935 (gather_bbs::before_dom_children): Call record_loop_in_sese.
2936 (build_scops): Remove call to build_sese_loop_nests.
2937 * sese.c (sese_record_loop): Remove.
2938 (build_sese_loop_nests): Remove.
2939 (new_sese_info): Remove region->loops.
2940 (free_sese_info): Same.
2941 * sese.h (sese_contains_loop): Same.
2942 (build_sese_loop_nests): Remove.
2943 (sese_contains_loop): Remove.
2945 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2946 Sebastian Pop <s.pop@samsung.com>
2948 * graphite-scop-detection.c (loop_is_valid_scop): Renamed
2949 loop_is_valid_in_scop.
2950 (scop_detection::harmful_stmt_in_region): Renamed
2951 harmful_loop_in_region.
2952 Call loop_is_valid_in_scop.
2954 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2955 Sebastian Pop <s.pop@samsung.com>
2957 * graphite-isl-ast-to-gimple.c (translate_isl_ast): Also handle
2960 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2961 Sebastian Pop <s.pop@samsung.com>
2963 * graphite-poly.c (new_poly_bb): Remove use of PBB_IS_REDUCTION.
2964 * graphite.h (struct poly_bb): Remove field is_reduction.
2965 (PBB_IS_REDUCTION): Remove.
2967 2016-01-21 Aditya Kumar <aditya.k7@samsung.com>
2968 Sebastian Pop <s.pop@samsung.com>
2970 * graphite-dependences.c (constrain_domain): Add call to isl_*_coalesce.
2971 (add_pdr_constraints): Same.
2972 (scop_get_reads): Same.
2973 (scop_get_must_writes): Same.
2974 (scop_get_may_writes): Same.
2975 (scop_get_original_schedule): Same.
2976 (extend_schedule): Same.
2977 (apply_schedule_on_deps): Same.
2978 (carries_deps): Same.
2979 (compute_deps): Same.
2980 (scop_get_dependences): Same.
2981 * graphite-isl-ast-to-gimple.c
2982 (translate_isl_ast_to_gimple::generate_isl_schedule): Same.
2983 * graphite-optimize-isl.c (get_schedule_for_band): Same.
2984 (get_schedule_for_band_list): Same.
2985 (get_schedule_map): Same.
2986 (apply_schedule_map_to_scop): Same.
2987 * graphite-sese-to-poly.c (build_pbb_scattering_polyhedrons): Same.
2988 (build_loop_iteration_domains): Same.
2989 (add_condition_to_pbb): Same.
2990 (add_param_constraints): Same.
2991 (pdr_add_memory_accesses): Same.
2992 (pdr_add_data_dimensions): Same.
2994 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
2996 * doc/invoke.texi (Instrumentation Options): Clarify -mmpx linking
2999 2016-01-20 Sandra Loosemore <sandra@codesourcery.com>
3001 * common.opt (feliminate-dwarf2-dups): Replace references to
3002 "DWARF 2" with just "DWARF".
3003 * config/ia64/ia64.opt (mdwarf2-asm): Likewise.
3004 * doc/extend.texi: Likewise.
3005 * doc/cpp.texi: Likewise.
3006 * doc/invoke.texi: Likewise.
3007 (Option Summary): Add -gdwarf to list of Debugging Options.
3008 (Debugging Options): Document -gdwarf.
3009 * doc/contrib.texi: Spell "DWARF" like that.
3011 2016-01-21 Jakub Jelinek <jakub@redhat.com>
3013 * omp-low.c (expand_omp_target): Avoid -Wmaybe-uninitialized
3014 warning. Fix up formatting.
3017 * gimplify.c (gimplify_asm_expr): Warn if it is too late to
3018 attempt to mark memory input operand addressable and
3019 call prepare_gimple_addressable in that case. Don't adjust
3020 input_location for diagnostics, use error_at instead.
3022 2016-01-20 Peter Bergner <bergner@vnet.ibm.com>
3024 * config/rs6000/ppc-auxv.h: New file.
3025 * config/rs6000/rs6000-builtin.def (cpu_init): Add new builtin.
3027 (cpu_supports): Likewise.
3028 * config/rs6000/rs6000.c: include "ppc-auxv.h".
3029 (cpu_is_info): New variable.
3030 (cpu_supports_info): Likewise.
3031 (tcb_verification_symbol): Likewise.
3032 (cpu_builtin_p): Likewise.
3033 (cpu_expand_builtin): New function.
3034 (rs6000_expand_ternop_builtin): Add support for CPU builtin functions.
3035 (rs6000_init_builtins): Likewise.
3036 (rs6000_elf_file_end): Emit HWCAP in TCB verification symbol.
3037 * config/rs6000/rs6000.h (TLS_REGNUM): New define.
3038 * configure.ac (gcc_cv_libc_provides_hwcap_in_tcb): New test.
3039 * configure: Regenerate.
3040 * config.in: Likewise.
3041 * doc/extend.texi (PowerPC Built-in Functions): Document
3042 __builtin_cpu_init, __builtin_cpu_is and __builtin_cpu_supports.
3044 2016-01-20 David Edelsohn <dje.gcc@gmail.com>
3047 * config/rs6000/rs6000.c (rs6000_emit_swsqrt): Add vector sqrt
3049 * config/rs6000/vector.md (sqrt<mode>2): Call rs6000_emit_swsqrt
3052 2016-01-20 Richard Henderson <rth@redhat.com>
3058 * tree.c (tm_define_builtin): New.
3059 (find_tm_vector_type): New.
3060 (build_tm_vector_builtins): New.
3061 (build_common_builtin_nodes): Call it.
3063 2016-01-20 Christophe Lyon <christophe.lyon@linaro.org>
3065 * doc/sourcebuild.texi (arm_crypto_pragma_ok): Document new entry.
3066 (arm_fp_ok): Likewise.
3068 (arm_crypto): Likewise.
3070 2016-01-20 Ilya Enkovich <enkovich.gnu@gmail.com>
3071 Richard Biener <rguenther@suse.de>
3073 PR tree-optimization/69328
3074 * tree-vect-stmts.c (vect_is_simple_cond): Check compared
3075 vectors have same number of elements.
3076 (vectorizable_condition): Fix masked version recognition.
3078 2016-01-20 Richard Biener <rguenther@suse.de>
3080 PR tree-optimization/69345
3081 * tree-ssa-sccvn.h (VN_INFO_RANGE_INFO): New inline function.
3082 (VN_INFO_PTR_INFO): Likewise.
3083 * tree-ssa-sccvn.c (set_ssa_val_to): Avoid clearing points-to
3084 info when it is equal between non-dominating SSA names.
3085 * tree-ssa-pre.c (eliminate_dom_walker::before_dom_children):
3086 Make sure to look at original SSA infos.
3088 2016-01-20 Jeff Law <law@redhat.com>
3091 * config/m68k/predicates.md (pow2_m1_operand): New predicate
3093 (reg_or_pow2_m1_operand): Call pow2_m1_operand.
3094 (pc_or_label_operand): New predicate.
3095 * config/m68k/m68k.md: Add new peephole2 patterns for GTU/LEU
3096 tests for small integers that are 2^n - 1.
3098 2016-01-20 Jonathan Wakely <jwakely@redhat.com>
3100 * doc/invoke.texi (Options Summary): Add '.' after @xref.
3102 2016-01-19 Jeff Law <law@redhat.com>
3105 * tree-ssa-threadbackwards.c
3106 (fsm_find_control_statement_thread_paths): Do not try to lookup
3107 FSM paths for SSA_NAMEs appearing in abnormal PHIs.
3109 2016-01-20 Kugan Vivekanandarajah <kuganv@linaro.org>
3111 * doc/lto.texi: Remove text that says only Gold has linker plugin
3114 2016-01-19 Eric Botcazou <ebotcazou@adacore.com>
3116 * dwarf2out.c (need_endianity_attribute_p): New inline predicate.
3117 (base_type_die): Add REVERSE parameter and attach DW_AT_endianity to
3118 the DIE accordingly.
3119 (modified_type_die): Add REVERSE parameter and pass it recursively,
3120 as well as to base_type_die. Adjust presence check accordingly.
3121 (base_type_for_mode): Adjust call to modified_type_die.
3122 (add_type_attribute): Add REVERSE parameter and pass it to
3124 (generic_parameter_die): Adjust call to add_type_attribute.
3125 (add_scalar_info): Likewise.
3126 (add_subscript_info): Likewise.
3127 (gen_array_type_die): Likewise.
3128 (gen_descr_array_type_die): Likewise.
3129 (gen_entry_point_die): Likewise.
3130 (gen_enumeration_type_die): Likewise.
3131 (gen_formal_parameter_die): Likewise.
3132 (gen_subprogram_die): Likewise.
3133 (gen_variable_die ): Likewise.
3134 (gen_const_die): Likewise.
3135 (gen_field_die): Likewise.
3136 (gen_pointer_type_die): Likewise.
3137 (gen_reference_type_die): Likewise.
3138 (gen_ptr_to_mbr_type_die): Likewise.
3139 (gen_inheritance_die): Likewise.
3140 (gen_subroutine_type_die): Likewise.
3141 (gen_typedef_die): Likewise.
3142 (force_type_die): Adjust call to modified_type_die.
3144 2016-01-19 Sandra Loosemore <sandra@codesourcery.com>
3146 * doc/standards.texi: Copy-editing for grammar, markup, and sentence
3147 flow throughout the file. Fix broken link to Objective-C 2.0
3149 * doc/invoke.texi: More copy-editing; fix numerous typos and spelling
3152 2016-01-19 Wilco Dijkstra <wdijkstr@arm.com>
3154 * ccmp.c (expand_ccmp_expr_1): Avoid spurious unused warnings.
3156 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
3159 * ipa-devirt.c (is_cxa_pure_virtual_p): New function.
3160 (maybe_record_node): Record cxa_pure_virtual as the only possible
3161 target if there are not ohter candidates.
3162 (possible_polymorphic_call_target_p): Accept cxa_pure_virtual.
3164 2016-01-19 Richard Biener <rguenther@suse.de>
3166 * hsa-gen.c (get_memory_order_name): Use MEMMODEL_ constants.
3167 (get_memory_order): Likewise.
3169 2016-01-19 Kirill Yukhin <kirill.yukhin@intel.com>
3171 * tree-vect-stmts.c (vectorizable_store): Check
3174 2016-01-19 David Malcolm <dmalcolm@redhat.com>
3177 * gcc.c (driver::decode_argv): Add call to
3178 init_opts_obstack before init_options_struct.
3179 * opts.c (init_opts_obstack): Remove idempotency.
3180 (init_options_struct): Replace call to init_opts_obstack
3181 with a gcc_assert to verify that it has already been called.
3182 * toplev.c (toplev::main): Add call to init_opts_obstack before
3183 calls to init_options_struct.
3184 (toplev::finalize): Move cleanup of opts_obstack next to
3185 cleanup of save_decoded_options, clearing the latter, and
3186 save_decoded_options_count.
3188 2016-01-19 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3191 * config/arm/vfp.md (l<vrint_pattern><su_optab><mode>si2): Set "conds"
3192 attribute to unconditional. Remove %? from output template.
3194 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
3195 Jiong Wang <jiong.wang@arm.com>
3197 * ccmp.c (expand_ccmp_expr_1): Cost the instruction sequences
3198 generated from different expand order.
3200 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
3202 * /config/aarch64/aarch64.c (aarch64_if_then_else_costs):
3203 Add support for CCMP costing.
3205 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
3207 * ccmp.c (ccmp_candidate_p): Remove integer-only restriction.
3208 * config/aarch64/aarch64.md (fccmp<mode>): New pattern.
3209 (fccmpe<mode>): Likewise.
3210 (fcmp): Rename to fcmp and globalize pattern.
3212 * config/aarch64/aarch64.c (aarch64_gen_ccmp_first): Add FP support.
3213 (aarch64_gen_ccmp_next): Add FP support.
3215 2015-01-19 Wilco Dijkstra <wdijkstr@arm.com>
3217 * target.def (gen_ccmp_first): Update documentation.
3218 (gen_ccmp_next): Likewise.
3219 * doc/tm.texi (gen_ccmp_first): Update documentation.
3220 (gen_ccmp_next): Likewise.
3221 * ccmp.c (expand_ccmp_expr): Extract cmp_code from return value of
3222 expand_ccmp_expr_1. Improve comments.
3223 * config/aarch64/aarch64.md (ccmp_and): Use if_then_else for ccmp.
3224 (ccmp_ior<mode>): Remove pattern.
3225 (cmp<mode>): Remove expand.
3226 (cmp): Globalize pattern.
3227 (cstorecc4): Use cc_register.
3228 (mov<mode>cc): Remove ccmp_cc_register check.
3229 * config/aarch64/aarch64.c (aarch64_get_condition_code_1):
3230 Simplify after removal of CC_DNE/* modes.
3231 (aarch64_ccmp_mode_to_code): Remove.
3232 (aarch64_print_operand): Remove 'K' case. Merge 'm' and 'M' cases.
3233 In 'k' case use integer as condition.
3234 (aarch64_nzcv_codes): Remove inverted cases.
3235 (aarch64_code_to_ccmode): Remove.
3236 (aarch64_gen_ccmp_first): Use cmp pattern directly. Return the correct
3237 comparison with CC register to be used in folowing CCMP/branch/CSEL.
3238 (aarch64_gen_ccmp_next): Use previous comparison and mode in CCMP
3239 pattern. Return the comparison with CC register. Invert conditions
3241 * config/aarch64/aarch64-modes.def: Remove CC_DNE/* modes.
3242 * config/aarch64/predicates.md (ccmp_cc_register): Remove.
3244 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
3246 * cgraphunit.c (cgraph_node::reset): Clear thunk info and
3247 instrumented_version.
3249 2016-01-19 Richard Biener <rguenther@suse.de>
3251 PR tree-optimization/69336
3252 * tree-ssa-scopedtables.c (avail_expr_hash): Handle all
3253 handled components with get_ref_base_and_extent.
3254 (equal_mem_array_ref_p): Adjust.
3256 2016-01-19 Jakub Jelinek <jakub@redhat.com>
3259 * shrink-wrap.c: Include valtrack.h.
3260 (move_insn_for_shrink_wrap): Add DEBUG argument. If
3261 MAY_HAVE_DEBUG_INSNS, call dead_debug_add on DEBUG_INSNs
3262 in between insn and where it will be moved to. Call
3263 dead_debug_insert_temp.
3264 (prepare_shrink_wrap): Adjust caller. Call dead_debug_local_init
3265 first and dead_debug_local_finish at the end.
3266 For uses and defs bitmap, handle all regs in between REGNO and
3267 END_REGNO, not just the first one.
3269 2016-01-19 Richard Biener <rguenther@suse.de>
3271 PR tree-optimization/69352
3272 * tree-ssa-scopedtables.c (avail_expr_hash): Check for size == -1.
3273 (equal_mem_array_ref_p): Constrain size and max size properly.
3274 Compare the reverse flag.
3276 2016-01-19 Bernd Schmidt <bschmidt@redhat.com>
3278 * ira.c (ira): Update regstat data if we deleted insns.
3280 2016-01-19 Jakub Jelinek <jakub@redhat.com>
3282 PR rtl-optimization/68955
3283 PR rtl-optimization/64557
3284 * dse.c (record_store, check_mem_read_rtx): Don't call get_addr
3285 here. Fix up formatting.
3286 * alias.c (get_addr): Handle VALUE +/- CONST_SCALAR_INT_P.
3288 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
3291 * cgraphunit.c (cgraph_node::expand_thunk): When forcing gimple
3292 assume that the node has body.
3293 * cgraph.c (cgraph_node::get_untransformed_body): Use gimple_body_p
3296 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
3298 * lto-streamer-out.c (lto_output): Do not stream instrumentation
3301 2016-01-19 Jan Hubicka <hubicka@ucw.cz>
3303 * symtab.c (symtab_node::asm_name): Do not call printable name directly.
3304 (symtab_node::name): Report name as unnamed if DECL_NAME is not set.
3306 2016-01-19 Martin Jambor <mjambor@suse.cz>
3307 Martin Liska <mliska@suse.cz>
3308 Michael Matz <matz@suse.de>
3310 * Makefile.in (OBJS): Add new source files.
3311 (GTFILES): Add hsa.c.
3312 * common.opt (disable_hsa): New variable.
3313 (-Whsa): New warning.
3314 * config.in (ENABLE_HSA): New.
3315 * configure.ac: Treat hsa differently from other accelerators.
3316 (OFFLOAD_TARGETS): Define ENABLE_OFFLOADING according to
3318 (ENABLE_HSA): Define ENABLE_HSA according to $enable_hsa.
3319 * doc/install.texi (Configuration): Document --with-hsa-runtime,
3320 --with-hsa-runtime-include, --with-hsa-runtime-lib and
3322 * doc/invoke.texi (-Whsa): Document.
3323 (hsa-gen-debug-stores): Likewise.
3324 * lto-wrapper.c (compile_images_for_offload_targets): Do not attempt
3325 to invoke offload compiler for hsa acclerator.
3326 * opts.c (common_handle_option): Determine whether HSA offloading
3327 should be performed.
3328 * params.def (PARAM_HSA_GEN_DEBUG_STORES): New parameter.
3329 * builtin-types.def (BT_FN_VOID_UINT_PTR_INT_PTR): New.
3330 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_INT_INT): Removed.
3331 (BT_FN_VOID_INT_OMPFN_SIZE_PTR_PTR_PTR_UINT_PTR_PTR): New.
3332 * gimple-low.c (lower_stmt): Also handle GIMPLE_OMP_GRID_BODY.
3333 * gimple-pretty-print.c (dump_gimple_omp_for): Also handle
3334 GF_OMP_FOR_KIND_GRID_LOOP.
3335 (dump_gimple_omp_block): Also handle GIMPLE_OMP_GRID_BODY.
3336 (pp_gimple_stmt_1): Likewise.
3337 * gimple-walk.c (walk_gimple_stmt): Likewise.
3338 * gimple.c (gimple_build_omp_grid_body): New function.
3339 (gimple_copy): Also handle GIMPLE_OMP_GRID_BODY.
3340 * gimple.def (GIMPLE_OMP_GRID_BODY): New.
3341 * gimple.h (enum gf_mask): Added GF_OMP_PARALLEL_GRID_PHONY,
3342 GF_OMP_FOR_KIND_GRID_LOOP, GF_OMP_FOR_GRID_PHONY and
3343 GF_OMP_TEAMS_GRID_PHONY.
3344 (gimple_statement_omp_single_layout): Updated comments.
3345 (gimple_build_omp_grid_body): New function.
3346 (gimple_has_substatements): Also handle GIMPLE_OMP_GRID_BODY.
3347 (gimple_omp_for_grid_phony): New function.
3348 (gimple_omp_for_set_grid_phony): Likewise.
3349 (gimple_omp_parallel_grid_phony): Likewise.
3350 (gimple_omp_parallel_set_grid_phony): Likewise.
3351 (gimple_omp_teams_grid_phony): Likewise.
3352 (gimple_omp_teams_set_grid_phony): Likewise.
3353 (gimple_return_set_retbnd): Also handle GIMPLE_OMP_GRID_BODY.
3354 * omp-builtins.def (BUILT_IN_GOMP_OFFLOAD_REGISTER): New.
3355 (BUILT_IN_GOMP_OFFLOAD_UNREGISTER): Likewise.
3356 (BUILT_IN_GOMP_TARGET): Updated type.
3357 * omp-low.c: Include symbol-summary.h, hsa.h and params.h.
3358 (adjust_for_condition): New function.
3359 (get_omp_for_step_from_incr): Likewise.
3360 (extract_omp_for_data): Moved parts to adjust_for_condition and
3361 get_omp_for_step_from_incr.
3362 (build_outer_var_ref): Handle GIMPLE_OMP_GRID_BODY.
3363 (fixup_child_record_type): Bail out if receiver_decl is NULL.
3364 (scan_sharing_clauses): Handle OMP_CLAUSE__GRIDDIM_.
3365 (scan_omp_parallel): Do not create child functions for phony
3367 (check_omp_nesting_restrictions): Handle GIMPLE_OMP_GRID_BODY.
3368 (scan_omp_1_op): Checking assert we are not remapping to
3369 ERROR_MARK. Also also handle GIMPLE_OMP_GRID_BODY.
3370 (parallel_needs_hsa_kernel_p): New function.
3371 (expand_parallel_call): Register apprpriate parallel child
3372 functions as HSA kernels.
3373 (grid_launch_attributes_trees): New type.
3374 (grid_attr_trees): New variable.
3375 (grid_create_kernel_launch_attr_types): New function.
3376 (grid_insert_store_range_dim): Likewise.
3377 (grid_get_kernel_launch_attributes): Likewise.
3378 (get_target_argument_identifier_1): Likewise.
3379 (get_target_argument_identifier): Likewise.
3380 (get_target_argument_value): Likewise.
3381 (push_target_argument_according_to_value): Likewise.
3382 (get_target_arguments): Likewise.
3383 (expand_omp_target): Call get_target_arguments instead of looking
3384 up for teams and thread limit.
3385 (grid_expand_omp_for_loop): New function.
3386 (grid_arg_decl_map): New type.
3387 (grid_remap_kernel_arg_accesses): New function.
3388 (grid_expand_target_kernel_body): New function.
3389 (expand_omp): Call it.
3390 (lower_omp_for): Do not emit phony constructs.
3391 (lower_omp_taskreg): Do not emit phony constructs but create for them
3392 a temporary variable receiver_decl.
3393 (lower_omp_taskreg): Do not emit phony constructs.
3394 (lower_omp_teams): Likewise.
3395 (lower_omp_grid_body): New function.
3396 (lower_omp_1): Call it.
3397 (grid_reg_assignment_to_local_var_p): New function.
3398 (grid_seq_only_contains_local_assignments): Likewise.
3399 (grid_find_single_omp_among_assignments_1): Likewise.
3400 (grid_find_single_omp_among_assignments): Likewise.
3401 (grid_find_ungridifiable_statement): Likewise.
3402 (grid_target_follows_gridifiable_pattern): Likewise.
3403 (grid_remap_prebody_decls): Likewise.
3404 (grid_copy_leading_local_assignments): Likewise.
3405 (grid_process_kernel_body_copy): Likewise.
3406 (grid_attempt_target_gridification): Likewise.
3407 (grid_gridify_all_targets_stmt): Likewise.
3408 (grid_gridify_all_targets): Likewise.
3409 (execute_lower_omp): Call grid_gridify_all_targets.
3410 (make_gimple_omp_edges): Handle GIMPLE_OMP_GRID_BODY.
3411 * tree-core.h (omp_clause_code): Added OMP_CLAUSE__GRIDDIM_.
3412 (tree_omp_clause): Added union field dimension.
3413 * tree-pretty-print.c (dump_omp_clause): Handle OMP_CLAUSE__GRIDDIM_.
3414 * tree.c (omp_clause_num_ops): Added number of arguments of
3415 OMP_CLAUSE__GRIDDIM_.
3416 (omp_clause_code_name): Added name of OMP_CLAUSE__GRIDDIM_.
3417 (walk_tree_1): Handle OMP_CLAUSE__GRIDDIM_.
3418 * tree.h (OMP_CLAUSE_GRIDDIM_DIMENSION): New.
3419 (OMP_CLAUSE_SET_GRIDDIM_DIMENSION): Likewise.
3420 (OMP_CLAUSE_GRIDDIM_SIZE): Likewise.
3421 (OMP_CLAUSE_GRIDDIM_GROUP): Likewise.
3422 * passes.def: Schedule pass_ipa_hsa and pass_gen_hsail.
3423 * tree-pass.h (make_pass_gen_hsail): Declare.
3424 (make_pass_ipa_hsa): Likewise.
3425 * ipa-hsa.c: New file.
3426 * lto-section-in.c (lto_section_name): Add hsa section name.
3427 * lto-streamer.h (lto_section_type): Add hsa section.
3428 * timevar.def (TV_IPA_HSA): New.
3429 * hsa-brig-format.h: New file.
3430 * hsa-brig.c: New file.
3431 * hsa-dump.c: Likewise.
3432 * hsa-gen.c: Likewise.
3435 * toplev.c (compile_file): Call hsa_output_brig.
3436 * hsa-regalloc.c: New file.
3438 2016-01-18 Jeff Law <law@redhat.com>
3440 PR tree-optimization/69320
3441 * tree-ssa-dom.c (record_edge_info): For comparisons against a boolean
3442 ranged object, do nothing if the RHS constant is not [0..1].
3443 (optimize_stmt): Comparing a boolean ranged object against a
3444 constant outside [0..1] results in a compile-time constant.
3446 * tree-ssanames.c (ssa_name_has_boolean_range): Remove unnecessary
3449 2016-01-18 Sandra Loosemore <sandra@codesourcery.com>
3451 * doc/invoke.texi (Invoking GCC): Add new section to menu.
3452 (Option Summary): Update to reflect new section and moved options.
3453 (C++ Dialect Options): Move -fstats to new section.
3454 (Debugging Options): Move all dump, statistics, and other GCC
3455 developer options to new section. Rewrite section introduction
3456 and re-order remaining options to put the more basic ones first.
3457 (Optimization Options): Move -fira-verbose and -flto-report* to
3459 (Developer Options): New section incorporating moved options.
3460 * doc/cppopts.texi (-dM): Update cross-reference.
3462 2016-01-18 Richard Henderson <rth@redhat.com>
3465 * config/aarch64/aarch64.md (add<GPI>3): Move long immediate
3466 operands to pseudo only if CSE is expected. Split long immediate
3467 operands only after reload, and for the stack pointer.
3468 (*add<GPI>3_pluslong): Remove.
3469 (*addsi3_aarch64, *adddi3_aarch64): Merge into...
3470 (*add<GPI>3_aarch64): ... here. Add r/rk/Upl alternative.
3471 (*addsi3_aarch64_uxtw): Add r/rk/Upl alternative.
3472 (*add<GPI>3 peepholes): New.
3473 (*add<GPI>3 splitters): New.
3474 * config/aarch64/constraints.md (Upl): New.
3475 * config/aarch64/predicates.md (aarch64_pluslong_strict_immedate): New.
3477 2016-01-18 Richard Biener <rguenther@suse.de>
3479 PR tree-optimization/69297
3480 * tree-vect-slp.c (vect_bb_slp_scalar_cost): Count each scalar
3482 (vect_bb_vectorization_profitable_p): Clear visited flag again.
3484 2016-01-18 Yuri Rumyantsev <ysrumyan@gmail.com>
3487 * fold-const.c (fold_binary_op_with_conditional_arg): Bail out for case
3488 of mixind vector and scalar types.
3489 (fold_relational_const): Add handling of vector
3490 comparison with boolean result.
3491 * tree-cfg.c (verify_gimple_comparison): Add argument CODE, allow
3492 comparison of vector operands with boolean result for EQ/NE only.
3493 (verify_gimple_assign_binary): Adjust call for verify_gimple_comparison.
3494 (verify_gimple_cond): Likewise.
3495 * tree-vrp.c (extract_code_and_val_from_cond_with_ops): Modify check on
3498 2016-01-18 Joseph Myers <joseph@codesourcery.com>
3500 * config/mips/mips.h (ISA_HAS_PAIRED_SINGLE): Require
3503 2016-01-18 Richard Biener <rguenther@suse.de>
3506 * gimple.c (gimple_could_trap_p_1): Handle GIMPLE_COND.
3508 2016-01-18 Tom de Vries <tom@codesourcery.com>
3510 * passes.def: Add pass_parallelize_loops to pass_oacc_kernels.
3512 2016-01-18 Tom de Vries <tom@codesourcery.com>
3514 * omp-low.c (set_oacc_fn_attrib): Make extern.
3515 * omp-low.h (set_oacc_fn_attrib): Declare.
3516 * tree-parloops.c (struct reduction_info): Add reduc_addr field.
3517 (create_call_for_reduction_1): Handle case that reduc_addr is non-NULL.
3518 (create_parallel_loop, gen_parallel_loop, try_create_reduction_list):
3519 Add and handle function parameter oacc_kernels_p.
3520 (find_reduc_addr, get_omp_data_i_param): New function.
3521 (ref_conflicts_with_region, oacc_entry_exit_ok_1)
3522 (oacc_entry_exit_single_gang, oacc_entry_exit_ok): New function.
3523 (parallelize_loops): Add and handle function parameter oacc_kernels_p.
3524 Calculate dominance info. Skip loops that are not in a kernels region
3525 in oacc_kernels_p mode. Skip inner loops of parallelized loops.
3526 (pass_parallelize_loops::execute): Call parallelize_loops with
3527 oacc_kernels_p argument.
3528 (pass_parallelize_loops::clone, pass_parallelize_loops::set_pass_param):
3529 New member function.
3530 (pass_parallelize_loops::bool oacc_kernels_p): New member var.
3531 * passes.def: Add argument to pass_parallelize_loops instantation.
3533 2016-01-18 Tom de Vries <tom@codesourcery.com>
3535 * tree-parloops.c (pass_parallelize_loops::execute): Allow
3536 pass_parallelize_loops to be run outside the loop pipeline.
3538 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
3540 * tree-scalar-evolution.c (follow_copies_to_constant): New.
3541 (analyze_initial_condition, analyze_scalar_evolution_1): Call previous.
3543 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
3546 * tree-ssa-scopedtables.c (avail_expr_hash): Hash MEM_REF and ARRAY_REF
3547 using get_ref_base_and_extent.
3548 (equal_mem_array_ref_p): New.
3549 (hashable_expr_equal_p): Add call to previous.
3551 2016-01-18 Alan Lawrence <alan.lawrence@arm.com>
3554 * tree-sra.c (disqualified_constants, constant_decl_p): New.
3555 (sra_initialize): Allocate disqualified_constants.
3556 (sra_deinitialize): Free disqualified_constants.
3557 (disqualify_candidate): Update disqualified_constants when appropriate.
3558 (create_access): Scan for constant-pool entries as we go along.
3559 (scalarizable_type_p): Add check against type_contains_placeholder_p.
3560 (maybe_add_sra_candidate): Allow constant-pool entries.
3561 (load_assign_lhs_subreplacements): Bind debug for constant pool vars.
3562 (initialize_constant_pool_replacements): New.
3563 (sra_modify_assign): Avoid mangling assignments created by previous,
3564 and don't generate writes into constant pool.
3565 (sra_modify_function_body): Call initialize_constant_pool_replacements.
3567 2016-01-18 Ilya Enkovich <enkovich.gnu@gmail.com>
3569 * config/i386/i386.c (scalar_to_vector_candidate_p): Support
3571 (scalar_chain::convert_op): Likewise.
3572 * config/i386/i386.md (*andndi3_doubleword): New.
3574 2016-01-18 Richard Biener <rguenther@suse.de>
3576 PR tree-optimization/69170
3577 * tree-vect-slp.c (vect_build_slp_tree): Verify we are not
3578 building a vector from scalar results of a pattern stmt.
3580 2016-01-18 Jakub Jelinek <jakub@redhat.com>
3582 * haifa-sched.c (autopref_multipass_init): Work around
3583 -Wmaybe-uninitialized warning.
3585 2016-01-18 Thomas Preud'homme <thomas.preudhomme@arm.com>
3587 * config/arm/arm.c (thumb1_reorg): Check that the comparison is
3588 against the constant 0.
3590 2016-01-17 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
3592 PR tree-optimization/68799
3593 * gimple-ssa-strength-reduction.c (create_phi_basis): Directly
3594 look up phi candidates in the statement-candidate map.
3595 (phi_add_costs): Likewise.
3596 (record_phi_increments): Likewise.
3597 (phi_incr_cost): Likewise.
3598 (ncd_with_phi): Likewise.
3599 (all_phi_incrs_profitable): Likewise.
3601 2016-01-17 Jakub Jelinek <jakub@redhat.com>
3603 * omp-low.c (mark_loops_in_oacc_kernels_region): Work around
3604 -Wmaybe-uninitialized warning.
3606 2016-01-16 Sandra Loosemore <sandra@codesourcery.com>
3608 * doc/invoke.texi (Invoking GCC): Add new section to menu.
3609 (Option Summary): Update to reflect new section and moved options.
3610 (C++ Dialect Options): Move -fvtable-verify and related options.
3611 (Debugging Options): Move Sanitizer, Pointer Bounds Checker,
3612 and profiling-related options.
3613 (Optimization Options): Move profile generation options and
3614 -fstack-protector and related options.
3615 (Instrumentation Options): New section incorporating moved options.
3616 (Code Generation Options): Move -finstrument-functions and
3617 related options, -fstack-check, -fstack-limit*, and -fbounds-check.
3619 2016-01-16 Tom de Vries <tom@codesourcery.com>
3621 * passes.def: Move pass_expand_omp_ssa out of pass_parallelize_loops.
3623 2016-01-16 Tom de Vries <tom@codesourcery.com>
3625 * omp-low.c (expand_omp_atomic_fetch_op): Release defs of update stmt.
3627 2016-01-16 Richard Sandiford <richard.sandiford@arm.com>
3629 * hash-table.h (hash_table::empty): Turn into an inline wrapper
3630 that checks whether the table is already empty. Rename the
3631 original implementation to...
3632 (hash_table::empty_slot): ...this new private function.
3634 2016-01-15 David Malcolm <dmalcolm@redhat.com>
3637 * diagnostic-show-locus.c (layout::print_source_line): Move x
3638 offset of line until after call to
3639 get_line_width_without_trailing_whitespace.
3641 2016-01-15 Jeff Law <law@redhat.com>
3643 PR tree-optimization/69270
3644 * tree-ssanames.c (ssa_name_has_boolean_range): Moved here from
3645 tree-ssa-dom.c. Improve test for [0..1] ranve from VRP.
3646 * tree-ssa-dom.c (ssa_name_has_boolean_range): Remove.
3647 * tree-ssanames.h (ssa_name_has_boolean_range): Prototype.
3648 * tree-ssa-uncprop.c (associate_equivalences_with_edges): Use
3649 ssa_name_has_boolean_range and constant_boolean_node.
3651 2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
3653 PR rtl-optimization/69030
3654 * lra-spills.c (remove_pseudos): Check nrefs and make the function
3656 (spill_pseudos): Delete debug insn for dead pseudo.
3657 (lra_spill): Initiate spill_hard_reg and slots memory separately.
3659 2016-01-15 Jiong Wang <jiong.wang@arm.com>
3661 * config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
3663 (TYPES_UNOPUS): Likewise.
3664 * config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
3665 builtin type, from UNOP to UNOPUS.
3666 (lbtruncuv4sf): Likewise.
3667 (lbtruncuv2df): Likewise.
3668 (lrounduv2sf): Likewise.
3669 (lrounduv4sf): Likewise.
3670 (lrounduv2df): Likewise.
3671 (lroundusf): Likewise.
3672 (lroundusf): Likewise.
3673 (lceiluv2sf): Likewise.
3674 (lceiluv4sf): Likewise.
3675 (lceiluv2df): Likewise.
3676 (lceilusf): Likewise.
3677 (lceiludf): Likewise.
3678 (lflooruv2sf): Likewise.
3679 (lflooruv4sf): Likewise.
3680 (lflooruv2df): Likewise.
3681 (lfloorusf): Likewise.
3682 (lfloorudf): Likewise.
3683 (lfrintnuv2sf): Likewise.
3684 (lfrintnuv4sf): Likewise.
3685 (lfrintnuv2df): Likewise.
3686 (lfrintnusf): Likewise.
3687 (lfrintnudf): Likewise.
3688 * config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
3690 (vcvtq_u32_f32): Likewise.
3691 (vcvtq_u64_f64): Likewise.
3692 (vcvta_u32_f32): Likewise.
3693 (vcvtaq_u32_f32): Likewise.
3694 (vcvtaq_u64_f64): Likewise.
3695 (vcvtm_u32_f32): Likewise.
3696 (vcvtmq_u32_f32): Likewise.
3697 (vcvtmq_u64_f64): Likewise.
3698 (vcvtn_u32_f32): Likwise.
3699 (vcvtnq_u32_f32): Likewise.
3700 (vcvtnq_u64_f64): Likewise.
3701 (vcvtp_u32_f32): Likewise.
3702 (vcvtpq_u32_f32): Likewise.
3703 (vcvtpq_u64_f64): Likewise.
3704 (vcvtmd_u64_f64): Likewise.
3705 (vcvtms_u32_f32): Likewise.
3706 (vcvtad_u64_f64): Likewise.
3707 (vcvtas_u32_f32): Likewise.
3708 (vcvtnd_u64_f64): Likewise.
3709 (vcvtns_u32_f32): Likewise.
3710 (vcvtpd_u64_f64): Likewise.
3711 (vcvtps_u32_f32): Likewise.
3713 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3715 * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
3716 CSEL of zero_extended registers.
3718 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3720 * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
3721 Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
3723 2016-01-15 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
3725 * config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
3726 false when argument string is not found in the attributes table
3729 2016-01-15 David Edelsohn <dje.gcc@gmail.com>
3732 * config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
3733 (rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
3734 * config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
3737 2016-01-15 Richard Biener <rguenther@suse.de>
3739 PR tree-optimization/66856
3740 * tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
3741 * tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
3742 (vect_create_new_slp_node): Increment stmt reference count.
3743 (vect_get_and_check_slp_defs): Make sure stmts are nor already in
3744 an SLP tree before swapping operands.
3745 (vect_build_slp_tree): Likewise.
3746 (destroy_bb_vec_info): Free stmt info after SLP instances.
3747 * tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
3748 * tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
3749 (STMT_VINFO_NUM_SLP_USES): New macro.
3751 2016-01-15 Richard Biener <rguenther@suse.de>
3754 * dwarf2out.c (add_linkage_name_raw): New function split out from ...
3755 (add_linkage_name): ... here.
3756 (gen_typedef_die): Use add_linkage_name_raw instead of
3757 add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
3760 2016-01-15 Cesar Philippidis <cesar@codesourcery.com>
3762 * gimplify.c (oacc_default_clause): Decode reference and pointer
3763 types for both kernels and parallel regions.
3765 2016-01-15 Richard Sandiford <richard.sandiford@arm.com>
3768 * calls.c (emit_call_1): Force n_popped to zero for sibcalls.
3770 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
3772 * config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
3773 (convert_scalars_to_vector): Likewise.
3775 2016-01-15 Jonathan Wakely <jwakely@redhat.com>
3777 * doc/extend.texi (Type Traits): Fix grammar.
3779 2016-01-15 Martin Jambor <mjambor@suse.cz>
3781 * tree-inline.c (remap_decl): Use existing dclarations if
3782 remapping a type and prevent_decl_creation_for_types.
3783 (replace_locals_stmt): Do an initial remapping of non-VLA typed
3784 decls first. Do real remapping with
3785 prevent_decl_creation_for_types set.
3786 * tree-inline.h (copy_body_data): New field
3787 prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
3790 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
3792 * config/s390/s390.opt (mmvcle): More verbose help text.
3794 2016-01-15 Dominik Vogt <vogt@linux.vnet.ibm.com>
3796 * config/s390/s390.opt: Add period to -mzvector option text.
3798 2016-01-15 Richard Biener <rguenther@suse.de>
3800 PR tree-optimization/68961
3801 * tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
3802 of invariants in stores again.
3804 2016-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
3806 * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
3808 2016-01-15 Ilya Enkovich <enkovich.gnu@gmail.com>
3810 * config/i386/i386.c (ix86_expand_branch): Don't split
3811 DI mode xor instruction to SI mode.
3813 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
3816 * ipa-icf.c (sem_function::merge): Virtual functions may become
3817 reachable even if they address is not taken and there are no
3820 2016-01-15 Jan Hubicka <hubicka@ucw.cz>
3822 * lto-streamer-out.c (subtract_estimated_size): New function.
3823 (get_symbol_initial_value): Use it.
3825 2016-01-15 Christian Bruel <christian.bruel@st.com>
3828 * config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
3829 (arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
3830 (arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
3831 use add_builtin_function_ext_scope instead of add_builtin_function.
3832 (neon_set_p, neon_crypto_set_p): Remove.
3833 (arm_init_builtins): Always call arm_init_neon_builtins and
3834 arm_init_crypto_builtins.
3835 (arm_expand_builtin): Check that builtins are allowed for the arch.
3836 * config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
3837 * config/arm/arm.c (arm_valid_target_attribute_tree): Remove
3838 arm_init_neon_builtins call.
3840 2016-01-15 Richard Biener <rguenther@suse.de>
3842 PR tree-optimization/69117
3843 * tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
3844 * tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
3845 of the leader conservatively.
3846 (free_scc_vn): Restore original SSA name infos.
3848 2016-01-14 Jeff Law <law@redhat.com>
3850 PR tree-optimization/69270
3851 * tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
3852 single bit of precision, verify it's also unsigned.
3853 (record_edge_info): Use constant_boolean_node rather than fold_convert
3854 to convert boolean_true/boolean_false to the right type.
3856 2016-01-14 Richard Henderson <rth@redhat.com>
3859 * loop-doloop.c (record_reg_sets): New.
3860 (doloop_optimize): Reject the transform if the sequence
3861 clobbers registers live at the end of the loop block.
3862 (doloop_optimize_loops): Enable df_live if needed.
3864 2016-01-14 Michael Meissner <meissner@linux.vnet.ibm.com>
3866 * config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
3867 * gcc/config/rs6000/rs6000.c: Likewise.
3868 * gcc/config/rs6000/rs6000.h: Likewise.
3869 * gcc/config/rs6000/rs6000.md: Likewise.
3870 * gcc/doc/extend.texi: Likewsie.
3872 2016-01-14 Jeff Law <law@redhat.com>
3874 * tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
3877 2016-01-14 Richard Henderson <rth@redhat.com>
3881 * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
3882 * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
3883 instead of builtin_decl_declared_p to test for declaration.
3885 2016-01-14 Nicklas Bo Jensen <nbjensen@gmail.com>
3887 * doc/loop.texi (Loop Analysis and Representation): Document
3888 loop_depth function.
3890 2016-01-14 Tom de Vries <tom@codesourcery.com>
3892 PR tree-optimization/68773
3893 * omp-low.c (expand_omp_target): Don't set force_output.
3894 * varpool.c (varpool_node::get_create): Same.
3895 * lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
3896 offload_funcs with force_output.
3898 2016-01-14 Jakub Jelinek <jakub@redhat.com>
3901 * lra-eliminations.c (move_plus_up): Don't change anything if either
3902 the outer or inner subreg mode is not MODE_INT.
3903 * dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
3904 integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
3906 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
3908 * doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
3909 reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
3910 reduc_uplus_@var{m}): Remove.
3911 * expr.c (expand_expr_real_2): Remove expansion path for
3912 reduc_[us](min|max|plus) optabs.
3913 * optabs-tree.c (scalar_reduc_to_vector): Remove.
3914 * optabs-tree.h (scalar_reduc_to_vector): Remove.
3915 * optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
3916 reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
3917 * tree-vect-loop.c (vectorizable_reduction): Remove test for
3918 reduc_[us](min|max|plus) optabs.
3920 2016-01-14 Alan Lawrence <alan.lawrence@arm.com>
3922 * config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
3923 (reduc_plus_scal_v2sf): New.
3924 (reduc_smax_v2sf): Rename to...
3925 (reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
3926 (reduc_smin_v2sf): Rename to...
3927 (reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
3929 2016-01-14 Jan Hubicka <hubicka@ucw.cz>
3931 * alias.c (compare_base_symbol_refs): New function.
3932 (rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
3935 2016-01-14 Jakub Jelinek <jakub@redhat.com>
3938 PR tree-optimization/69155
3939 * tree-complex.c: Include cfganal.h.
3940 (phis_to_revisit): New variable.
3941 (extract_component): Add phiarg_p argument. Assert that returned
3942 SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
3943 (update_phi_components): Partly rewrite to use loop over real/imag
3944 components instead of code duplication. If extract_component returns
3945 SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
3946 create_tmp_reg into the PHI node instead, and mention the phi triplet
3948 (tree_lower_complex): Walk bbs in rpo order. Adjust phis recorded
3949 in phis_to_revisit at the end.
3951 2016-01-14 Richard Biener <rguenther@suse.de>
3953 PR tree-optimization/68060
3954 * tree-vect-loop.c (vect_is_simple_reduction): Check the
3955 outer loop reduction is only used in the inner loop before
3956 detecting a double reduction.
3958 2016-01-14 Jakub Jelinek <jakub@redhat.com>
3961 * combine.c (expand_field_assignment): Punt if compute_mode is
3962 unsupported scalar mode.
3964 2016-01-14 Richard Biener <rguenther@suse.de>
3966 PR tree-optimization/66856
3967 * tree-vect-slp.c (vect_build_slp_tree): Refactor to build
3968 SLP node only if it built successfully.
3969 (vect_analyze_slp_instance): Adjust.
3971 2016-01-14 Jeff Law <law@redhat.com>
3973 PR tree-optimization/69270
3974 * tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
3975 (record_edge_info): Use it. Convert boolean_{true,false}_node
3978 2016-01-13 Jan Hubicka <hubicka@ucw.cz>
3981 * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
3982 use block_ultimate_origin
3983 (noncall-stmt_may_be_vtbl_ptr_store): Likewise.
3985 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
3987 * doc/invoke.texi (Submodel Options): Rename section to
3988 "Machine-Dependent Options" to better reflect its content.
3989 Rewrite introductory text to remove archaic CPU names.
3992 2016-01-13 Sandra Loosemore <sandra@codesourcery.com>
3994 * doc/invoke.texi (Code Gen Options): Move section up in file,
3995 before target-specific options. Update menu and option summary
3996 to reflect the new section ordering.
3998 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
4000 * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
4001 (C++ Dialect Options): Add cross-reference to -std option.
4002 * doc/standards.texi (C++ Language): Document C++14 support.
4004 2016-01-13 Michael Meissner <meissner@linux.vnet.ibm.com>
4006 * config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
4007 for pack/unpack functions for __ibm128.
4008 (PACK_IF): Likewise.
4009 (UNPACK_IF): Likewise.
4011 * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
4012 support for __ibm128 pack/unpack functions.
4013 (rs6000_invalid_builtin): Likewise.
4014 (rs6000_init_builtins): Likewise.
4015 (rs6000_opt_masks): Likewise.
4017 * config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
4018 (RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
4020 (RS6000_BTM_COMMON): Likewise.
4022 * config/rs6000/rs6000.md (f128_vsx): New mode attribute.
4023 (unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
4024 disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
4025 128-bit floating point. Add support for the double values to be
4026 in Altivec registers for TF/IF packing and unpacking, but restrict
4027 TD packing sub-fields to be FPR registers. Don't allow overlapped
4028 register support for packing. Allow pack inputs to be memory
4029 locations. Don't build generator functions for unpack<mode>_dm
4030 and unpack<mode>_nodm.
4031 (unpack<mode>_dm): Likewise.
4032 (unpack<mode>_nodm): Likewise.
4033 (pack<mode>): Likewise.
4035 * config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
4036 built-in functions to pack/unpack explicit __ibm128 values.
4037 (__builtin_unpack_ibm128): Likewise.
4039 * doc/extend.texi (PowerPC Built-in Functions): Document
4040 __builtin_pack_ibm128 and __builtin_unpack_ibm128.
4042 2016-01-13 Bernd Schmidt <bschmidt@redhat.com>
4045 * c-common.c (check_function_nonnull): Remove unnecessary declaration.
4046 Add new arg loc and pass it down as context.
4047 (check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
4048 to the location to use for the warning.
4049 (check_function_arguments): New arg loc. All callers changed. Pass
4050 it to check_function_nonnull.
4051 * c-common.h (check_function_arguments): Adjust declaration.
4053 2016-01-13 Jakub Jelinek <jakub@redhat.com>
4055 PR tree-optimization/69156
4056 * gimple.c (validate_type): Removed.
4057 (gimple_builtin_call_types_compatible_p): Use
4058 useless_type_conversion_p instead of validate_type.
4059 * value-prof.c (gimple_stringop_fixed_value): Fold
4060 icall_size to correct type.
4062 2016-01-13 Jonathan Wakely <jwakely@redhat.com>
4064 * doc/extend.texi (__atomic Builtins): Clarify compare_exchange
4067 2016-01-13 Richard Henderson <rth@redhat.com>
4070 * target.def (builtin_tm_load, builtin_tm_store): Remove.
4071 * config/i386/i386.c (ix86_builtin_tm_load): Remove.
4072 (ix86_builtin_tm_store): Remove.
4073 (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
4074 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
4075 * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
4076 (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
4077 * doc/tm.texi: Rebuild.
4079 * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
4080 (BUILT_IN_TM_MEMCPY_RTWN): New.
4081 * trans-mem.c (tm_log_emit_stmt): Rearrange code for better
4082 fallback from vector to integer helpers.
4083 (build_tm_load): Handle vector types directly, instead of
4085 (build_tm_store): Likewise.
4086 (expand_assign_tm): Prepare for register types not handled by
4087 the above. Copy them to memory and use memcpy.
4088 * tree.c (tm_define_builtin): New.
4089 (find_tm_vector_type): New.
4090 (build_tm_vector_builtins): New.
4091 (build_common_builtin_nodes): Call it.
4093 2016-01-13 Uros Bizjak <ubizjak@gmail.com>
4095 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
4096 TARGET_SSE_MATH without TARGET_SSE2. Rewrite.
4098 2016-01-13 Tom de Vries <tom@codesourcery.com>
4100 PR tree-optimization/69169
4101 * tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
4102 handled_struct_type param.
4103 (create_variable_info_for, intra_create_variable_infos): Call
4104 create_variable_info_for_1 with extra arg.
4106 2016-01-13 Yvan Roux <yvan.roux@linaro.org>
4108 * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
4109 and "armv8.1-a+crc" entries.
4111 2016-01-13 Alexander Fomin <alexander.fomin@intel.com>
4114 * config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
4115 Change first operand predicate from register_or_constm1_operand
4116 to register_operand.
4117 (define_expand "avx512pf_gatherpf<mode>df"): Likewise.
4118 (define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
4119 (define_expand "avx512pf_scatterpf<mode>df"): Likewise.
4120 (define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
4121 (define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
4122 (define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
4123 (define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
4124 * config/i386/i386.c (ix86_expand_builtin): Remove first operand
4125 comparison with constm1_rtx from vec_prefetch_gen part.
4127 2016-01-13 Richard Biener <rguenther@suse.de>
4129 PR tree-optimization/69013
4130 * tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
4131 Exchange assert for a test.
4133 2016-01-13 Andreas Krebbel <krebbel@linux.vnet.ibm.com>
4136 * config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
4138 2016-01-13 Richard Biener <rguenther@suse.de>
4140 PR tree-optimization/69242
4141 * tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
4142 assert with a check.
4144 2016-01-13 Richard Biener <rguenther@suse.de>
4146 PR tree-optimization/69186
4147 * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
4148 Properly guard vect_update_misalignment_for_peel call.
4150 2016-01-12 Jeff Law <law@redhat.com>
4152 PR tree-optimization/pr67755
4153 * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
4154 "need_profile_correction".
4155 (thread_block_1): Initialize new field to false by default. If we
4156 have multiple thread paths through a common joiner to different
4157 final targets, then set new field to true.
4158 (compute_path_counts): Only do count adjustment when it's really
4161 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
4163 * doc/invoke.texi (Spec Files): Move section down in file, past
4164 all command-line option descriptions.
4166 2016-01-12 Trevor Saunders <tbsaunde+gcc@tbsaunde.org>
4169 * doc/gty.texi: Remove documentation of mark_hook.
4170 * gengtype.c (struct write_types_data): Remove code to support
4171 mark_hook attribute.
4172 (walk_type): Likewise.
4173 (write_func_for_structure): Likewise.
4175 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
4177 * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
4178 Directory Options, and -specs= to Overall Options.
4179 (Overall Options): Adjust similarly. Reorder to group related
4180 options together. Make -specs= cross-reference the spec file details.
4181 (Directory Options): Adjust similarly.
4183 2016-01-12 Jeff Law <law@redhat.com>
4185 * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
4187 2016-01-12 Olivier Hainque <hainque@adacore.com>
4189 * gcc.c (spec_undefvar_allowed): New global.
4190 (process_command): Set to true when running for --version or --help,
4192 (getenv_spec_function): When the variable is not defined, use the
4193 variable name as the variable value if we're allowed not to issue
4196 2016-01-12 Bin Cheng <bin.cheng@arm.com>
4198 PR tree-optimization/68911
4199 * tree-vrp.c (adjust_range_with_scev): Check overflow in range
4200 information computed for expression "init + nit * step".
4202 2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
4204 * doc/invoke.texi (Invoking GCC): Copy-edit. Incorporate information
4205 about name of GCC executable. Remove deleted node from menu.
4206 (Directory Options) <-B>: Remove cross-reference to deleted node.
4207 (Target Options): Delete section.
4209 2016-01-12 Christian Bruel <christian.bruel@st.com>
4212 * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
4213 for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
4215 2016-01-12 Jakub Jelinek <jakub@redhat.com>
4218 * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
4219 aligned_mem is properly set for AVX512-VL floating point masked
4223 * ifcvt.c (cond_exec_process_if_block): When removing the last
4224 insn from then_bb, remove also any possible barriers that follow it.
4226 2016-01-12 H.J. Lu <hongjiu.lu@intel.com>
4230 * config/i386/iamcu.h (SIZE_TYPE): New macro.
4231 (PTRDIFF_TYPE): Likewise.
4232 (WCHAR_TYPE): Likewise.
4233 (WCHAR_TYPE_SIZE): Likewise.
4234 (STDINT_LONG32): Likewise.
4236 2016-01-12 Richard Biener <rguenther@suse.de>
4238 PR tree-optimization/69053
4239 * tree-vect-loop.c (get_initial_def_for_reduction): Properly
4240 convert initial value for cond reductions.
4242 2016-01-12 Richard Biener <rguenther@suse.de>
4244 PR tree-optimization/69007
4245 * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
4246 widen_sum after dot_prod and sad.
4248 2016-01-12 Richard Biener <rguenther@suse.de>
4250 PR tree-optimization/69168
4251 * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
4252 pattern stmt SLP type.
4253 * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
4254 end up unused so cope with that case.
4256 2016-01-12 Richard Biener <rguenther@suse.de>
4258 PR tree-optimization/69157
4259 * tree-vect-stmts.c (vectorizable_mask_load_store): Check
4260 stmts def type only during analyze phase.
4261 (vectorizable_call): Likewise.
4262 (vectorizable_simd_clone_call): Likewise.
4263 (vectorizable_conversion): Likewise.
4264 (vectorizable_assignment): Likewise.
4265 (vectorizable_shift): Likewise.
4266 (vectorizable_operation): Likewise.
4267 (vectorizable_store): Likewise.
4268 (vectorizable_load): Likewise.
4270 2016-01-12 Richard Biener <rguenther@suse.de>
4272 PR tree-optimization/69174
4273 * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
4275 (vectorizable_load): Properly compute the number of loads needed
4276 for permuted strided SLP loads and do not spuriously assign
4277 to SLP_TREE_VEC_STMTS.
4279 2016-01-12 Andris Pavenis <andris.pavenis@iki.fi>
4281 * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
4282 (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
4283 (MD_EXEC_PREFIX): Remove.
4284 (MD_STARTFILE_PREFIX) Removee.
4285 (FILE_NAME_ABSOLUTE_P): Remove.
4286 (CPP_SPEC): Do not read macros from sys/version.h.
4287 (LINK_COMMAND_SPEC): Remove.
4288 (LOCAL_INCLUDE_DIR): Remove.
4289 (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
4290 (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
4291 (POST_LINK_SPEC): Define to invoke stubify after linker
4292 (LIBSTDCXX): Remove define
4293 (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
4294 (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
4295 (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
4296 (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
4297 (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
4298 (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
4299 (i386_djgpp_asm_named_section): Add propotype of new procedure
4301 * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
4302 (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
4303 (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX
4304 in config/i386/djgpp.h).
4305 (STANDARD_STARTFILE_PREFIX_2): Define identical to
4306 STANDARD_STARTFILE_PREFIX_1.
4307 (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
4308 (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal
4309 installation errors.
4310 (MAX_OFILE_ALIGNMENT): Define to 128.
4311 (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
4313 * config/i386/djgpp.c: New file. Add implementation of
4314 i386_djgpp_asm_named_section.
4316 * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
4318 * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
4319 Add rule for building djgpp.o.
4321 2016-01-11 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4323 * config/rs6000/rs6000.c (v2df_reduction_p): New function.
4324 (rtx_is_swappable_p): Reductions are swappable.
4325 (insn_is_swappable_p): V2DF reductions are swappable.
4327 2016-01-11 John David Anglin <danglin@gcc.gnu.org>
4329 * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
4330 reloads for other unsupported memory operands.
4332 2016-01-12 Kugan Vivekanandarajah <kuganv@linaro.org>
4333 Jim Wilson <jim.wilson@linaro.org>
4336 * config/arm/arm-builtins.c (arm_expand_neon_args): Call
4337 copy_to_mode_reg instead of force_reg.
4339 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
4342 * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
4343 TARGET_80387 is true.
4345 2016-01-11 Jakub Jelinek <jakub@redhat.com>
4348 * lra-eliminations.c (move_plus_up): Only move plus up
4349 if subreg of the constant can be simplified into constant
4350 and use the simplified subreg of the constant instead of
4351 the original constant.
4353 * fold-const.c (fold_convertible_p): Don't return true
4354 for conversion of VECTOR_TYPE to same sized integral type.
4355 (fold_convert_loc): Fix up formatting. Fold conversion of
4356 VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
4357 instead of NOP_EXPR.
4359 PR tree-optimization/69214
4360 * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
4361 innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
4364 PR tree-optimization/69207
4365 * tree-vect-slp.c (vect_get_constant_vectors): For
4366 VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
4367 fold_convertible_p to vector_type's element type, and always
4368 use VCE for non-VECTOR_BOOLEAN_TYPE_P.
4370 2016-01-11 Richard Biener <rguenther@suse.de>
4372 PR tree-optimization/69173
4373 * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
4374 fixup the cycle if all stmts are in a pattern.
4376 2016-01-11 Uros Bizjak <ubizjak@gmail.com>
4379 * alias.c (base_alias_check): Move check for addresses with
4380 alignment ANDs before the call for compare_base_decls.
4381 (memrefs_conflict_p): Return -1 for different decls
4382 that went through alignment adjustments.
4384 2016-01-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4386 PR rtl-optimization/68796
4387 * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
4388 * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
4389 and QImode comparisons against zero with CC_NZmode.
4390 * config/aarch64/iterators.md (short_mask): New mode_attr.
4392 2016-01-11 H.J. Lu <hongjiu.lu@intel.com>
4394 * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
4395 (<avx512>_store<mode>_mask): Likewise.
4397 2016-01-11 Bernd Schmidt <bschmidt@redhat.com>
4398 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4400 PR rtl-optimization/68841
4401 * ifcvt.c (struct noce_if_info): Add orig_x field.
4402 (bbs_ok_for_cmove_arith): Add to_rename parameter.
4403 Don't record conflicts on to_rename if it's present.
4404 Allow memory destinations in sets.
4405 (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
4406 blocks, passing orig_x to the checks.
4407 (noce_process_if_block): Set if_info->orig_x appropriately.
4409 2016-01-11 Tom de Vries <tom@codesourcery.com>
4411 PR tree-optimization/69069
4412 * tree-parloops.c (create_parallel_loop): Add missing phi args.
4414 2016-01-11 Yuri Rumyantsev <ysrumyan@gmail.com>
4416 PR rtl-optimization/68920
4417 * config/i386/i386.c (ix86_option_override_internal): Restrict number
4418 of conditional moves for RTL if-conversion to 1 for
4419 TARGET_ONE_IF_CONV_INSN.
4420 * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
4421 * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
4422 * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
4423 parameter to restirct number of conditional moves for
4425 * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
4426 * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
4429 2016-01-11 Alexandre Oliva <aoliva@redhat.com>
4432 * var-tracking.c (drop_overlapping_mem_locs): Operate on all
4433 onepart vars. Fix typo in comment. Fix reversed condition in
4435 (dataflow_set_remove_mem_locs): Operate on all onepart vars.
4438 * var-tracking.c (dump_onepart_variable_differences): New.
4439 (dataflow_set_different): If a detailed dump is requested,
4440 delay early returns and dump differences between onepart
4441 variables present before and after, and added variables.
4443 2016-01-11 Ilya Enkovich <enkovich.gnu@gmail.com>
4446 * expr.c (expand_expr_real_1): For boolean vector constants
4447 with a scalar mode use const_scalar_mask_from_tree.
4448 (const_scalar_mask_from_tree): New.
4449 * optabs.c (expand_vec_cond_mask_expr): Use mask mode
4450 assigned to a mask type to handle constants.
4452 2016-01-11 Martin Jambor <mjambor@suse.cz>
4455 * ipa-cp.c (estimate_local_effects): Do not clone for removal of
4456 useless parameters if we cannot change function signature.
4458 2016-01-11 Martin Jambor <mjambor@suse.cz>
4461 * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
4464 2016-01-11 Tom de Vries <tom@codesourcery.com>
4466 PR tree-optimization/69109
4467 * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
4470 2016-01-11 Tom de Vries <tom@codesourcery.com>
4472 PR tree-optimization/69108
4473 * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
4474 res is not used in a phi.
4476 2016-01-11 Yury Gribov <y.gribov@samsung.com>
4479 * common.opt (frandom-seed): Fix parameter name.
4480 * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
4482 2016-01-11 Tom de Vries <tom@codesourcery.com>
4484 PR tree-optimization/69058
4485 * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
4488 2016-01-11 Andrew Burgess <andrew.burgess@embecosm.com>
4490 * config/arc/arc.opt (mdiv-rem): Add period to the end.
4491 (mcode-density): Likewise.
4493 2016-01-10 Tom de Vries <tom@codesourcery.com>
4495 PR tree-optimization/69062
4496 * tree-parloops.c (loop_has_phi_with_address_arg): New function.
4497 (parallelize_loops): Don't paralelize loop that has phi with address
4500 2016-01-10 Tom de Vries <tom@codesourcery.com>
4502 PR tree-optimization/69039
4503 * tree-parloops.c (try_create_reduction_list): Only allow single exit
4506 2016-01-09 John David Anglin <danglin@gcc.gnu.org>
4509 * match.pd: Require target has function_c99_misc before doing
4510 truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
4512 2016-01-09 Gerald Pfeifer <gerald@pfeifer.com>
4514 * configure.ac (isl_options_set_schedule_serialize_sccs): Also
4516 * configure: Regenerate.
4518 2016-01-09 Jakub Jelinek <jakub@redhat.com>
4521 PR tree-optimization/69097
4522 * fold-const.h (expr_not_equal_to): New prototype.
4523 * fold-const.c: Include stringpool.h and tree-ssanames.h.
4524 (expr_not_equal_to): New function.
4525 * match.pd (X % -Y is the same as X % Y): Don't optimize
4526 unless X is known not to be equal to minimum or Y is known
4527 not to be equal to -1.
4528 * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
4529 fold TRUNC_MOD_EXPR if the second argument is not a power of two.
4530 (simplify_stmt_using_ranges): Adjust caller.
4531 (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
4532 substitute_and_fold.
4534 2016-01-09 Jan Hubicka <hubicka@ucw.cz>
4536 * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
4539 2016-01-08 Jakub Jelinek <jakub@redhat.com>
4541 PR tree-optimization/69167
4542 * gimple-fold.c (replace_stmt_with_simplification): Also punt if
4543 new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
4545 * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
4547 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
4548 Richard Biener <rguenther@suse.de>
4550 PR tree-optimization/68707
4551 * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
4552 instances that can be handled via vect_load_lanes.
4554 2016-01-08 Uros Bizjak <ubizjak@gmail.com>
4556 * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
4557 if we can't determine address equivalence.
4558 * alias.c (compare_base_decl): Update for changed return value of
4559 symtab_node::equal_address_to.
4561 2016-01-08 Jason Merrill <jason@redhat.com>
4565 * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
4566 * expr.c (store_field): Not here.
4567 * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
4568 call with TREE_ADDRESSABLE type.
4569 * tree-cfg.c (verify_gimple_call): Adjust.
4571 2016-01-08 Olivier Hainque <hainque@adacore.com>
4573 * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
4576 2016-01-08 Alan Lawrence <alan.lawrence@arm.com>
4578 * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
4579 (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
4580 (reduc_smin_v2sf): Rename to...
4581 (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
4582 (reduc_splus_v2sf): Rename to...
4583 (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
4585 2016-01-08 Jakub Jelinek <jakub@redhat.com>
4587 PR tree-optimization/69162
4588 * gimplify.c (gimplify_va_arg_expr): Encode original type of
4589 valist argument in another argument.
4590 (gimplify_modify_expr): Adjust for the above change. Cleanup.
4591 * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
4592 to determine the va_list type, build a MEM_REF instead of
4593 build_fold_indirect_ref.
4595 PR tree-optimization/69172
4596 * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
4599 2016-01-08 Thomas Preud'homme <thomas.preudhomme@arm.com>
4601 PR tree-optimization/67781
4602 * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
4603 and cmpnop in two steps: first the ones not accessed in original
4604 gimple expression in a endian independent way and then the ones not
4605 accessed in the final result in an endian-specific way.
4607 2016-01-08 Jakub Jelinek <jakub@redhat.com>
4609 PR tree-optimization/69083
4610 * tree-vect-slp.c (vect_get_constant_vectors): For
4611 VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
4612 element type. If op is fold_convertible_p to vector_type's element
4613 type, use NOP_EXPR instead of VCE.
4615 2016-01-08 Segher Boessenkool <segher@kernel.crashing.org>
4617 PR rtl-optimization/67778
4618 PR rtl-optimization/68634
4619 PR rtl-optimization/68909
4620 * shrink-wrap.c (try_shrink_wrapping): Add comment. Don't pop
4621 block from the stack until done with it. Remove a superfluous
4622 bitmap set. Remove a superfluous bitmap test.
4624 2016-01-07 Martin Sebor <msebor@redhat.com>
4627 * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
4628 constraint on the type of arguments.
4630 2016-01-07 Andreas Tobler <andreast@gcc.gnu.org>
4632 * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
4633 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
4634 unaligned_access on the gcc_options set.
4635 * config/arm/arm.c (arm_option_override_internal): Use
4636 SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
4638 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
4641 * config/i386/i386.c (ix86_frame_pointer_required): Enable
4642 frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
4644 2016-01-07 Uros Bizjak <ubizjak@gmail.com>
4647 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
4650 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
4651 depending on frame_pointer_needed before remaining integer and SSE
4652 registers are saved.
4654 2016-01-07 Sandra Loosemore <sandra@codesourcery.com>
4657 * doc/extend.texi (Nvidia PDX Function Attributes): New section.
4659 2016-01-07 H.J. Lu <hongjiu.lu@intel.com>
4662 * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
4663 Use the "xBm" constraint.
4664 (float<sseintvecmodelower><mode>2<mask_name><round_name):
4666 (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
4667 (sse_cvtsi2ssq<round_name>): Likewise.
4668 (sse_cvtss2si<round_name>): Likewise.
4669 (sse_cvtss2siq<round_name>): Likewise.
4670 (sse2_cvtsi2sdq<round_name>): Likewise.
4671 (sse2_cvtsd2si<round_name>): Likewise.
4672 (sse2_cvtsd2siq<round_name>): Likewise.
4673 * config/i386/subst.md (round_nimm_scalar_predicate): New
4676 2015-12-15 Bernd Schmidt <bschmidt@redhat.com>
4679 * varasm.c (make_decl_rtl): Mark invalid register vars as
4682 PR rtl-optimization/66206
4683 * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
4684 All callers changed.
4686 2016-01-07 Jakub Jelinek <jakub@redhat.com>
4688 PR tree-optimization/69141
4689 * tree-ssa-pre.c: Include langhooks.h.
4690 (eliminate_dom_walker::before_dom_children): Use
4691 lang_hooks.decl_printable_name instead of
4692 cgraph_node::get ()->name ().
4695 * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
4696 it and DECL_ALIGN too.
4698 2016-01-06 Robert Suchanek <robert.suchanek@imgtec.com>
4700 * config/mips/mips-ftypes.def: Sort to lexicographical order.
4702 2016-01-06 Uros Bizjak <ubizjak@gmail.com>
4705 * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
4706 depending on frame_pointer_needed before remaining integer and SSE
4707 registers are saved.
4709 2015-01-06 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
4711 * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
4712 mode iterator with VSX_M2.
4713 (*p9_vecstore_<mode>): Likewise.
4714 (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
4715 (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
4716 (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
4717 (define_split for VSX_LE128 stores): Likewise.
4718 (define_peephole2 for TImode LE swaps): Likewise.
4719 (define_split for VSX_LE128 post-reload stores): Likewise.
4721 2016-01-06 Marek Polacek <polacek@redhat.com>
4724 * convert.c (convert_to_integer_1): Adjust call to
4725 ubsan_instrument_float_cast. Use NULL_TREE instead of NULL.
4726 * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter. Use
4727 EXPR instead of ARG.
4728 * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
4730 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
4733 * doc/extend.texi (RL78 Variable Attributes): New section.
4735 2016-01-05 Marek Polacek <polacek@redhat.com>
4738 * builtins.c (get_memmodel): Use expansion point location rather than
4739 the input location. Call warning_at rather than warning.
4740 (expand_builtin_atomic_compare_exchange): Likewise.
4741 (expand_builtin_atomic_load): Likewise.
4742 (expand_builtin_atomic_store): Likewise.
4743 (expand_builtin_atomic_clear): Likewise.
4745 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
4748 * config/i386/i386.c (ix86_expand_vector_logical_operator):
4749 Replace nonimmediate_operand with vector_operand.
4750 * config/i386/predicates.md (vector_operand): New predicate.
4751 (general_vector_operand): Replace nonimmediate_operand with
4753 * config/i386/sse.md: Replace nonimmediate_operand with
4754 vector_operand and m constraint with Bm constraint on SSE
4755 patterns with 16-byte memory operand.
4756 * config/i386/subst.md (round_nimm_predicate): Replace
4757 nonimmediate_operand with vector_operand.
4758 (round_saeonly_nimm_predicate): Likewise.
4759 (round_saeonly_nimm_scalar_predicate): New.
4761 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
4764 * config/i386/constraints.md (Bm): New constraint.
4765 * config/i386/predicates.md (vector_memory_operand): New
4767 * config/i386/sse.md: Replace xm with xBm in plusminus and
4770 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
4773 * doc/extend.texi (V850 Function Attributes): New section.
4774 (V850 Variable Attributes): New section.
4776 2016-01-05 Sandra Loosemore <sandra@codesourcery.com>
4779 * doc/extend.texi (MicroBlaze Function Attributes): Document
4780 interrupt_handler and fast_interrupt attributes.
4782 2016-01-05 Sergei Trofimovich <siarheit@google.com>
4785 * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
4786 for local symbolic operands.
4787 * config/ia64/predicates.md (local_symbolic_operand64): New
4790 2016-01-05 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
4792 PR rtl-optimization/68651
4793 * combine.c (combine_simplify_rtx): Canonicalize x + x into
4796 2016-01-05 Nathan Sidwell <nathan@acm.org>
4798 * alias.c (compare_base_decls): Use symtab_node::get.
4800 2016-01-05 Nick Clifton <nickc@redhat.com>
4803 * ira-costs.c (copy_cost): Initialise the t_icode field of the
4804 secondary_reload_info structure.
4807 * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
4808 decls if weak support is available.
4810 2016-01-04 Martin Sebor <msebor@redhat.com>
4812 * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
4814 2016-01-04 Michael Meissner <meissner@linux.vnet.ibm.com>
4816 * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
4817 OPTION_MASK_P9_DFORM.
4819 * config/rs6000/constraints.md (wo constraint): New constraint for
4822 * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
4824 (rs6000_init_hard_regno_mode_ok): Likewise.
4826 * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
4829 * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
4830 expanders not to have constraints. Add support for ISA 3.0 xxperm
4831 instruction. Add support for fusing xxlor with xxperm.
4832 (altivec_vperm_<mode>_internal): Likewise.
4833 (altivec_vperm_v8hiv16qi): Likewise.
4834 (altivec_vperm_<mode>v16q): Likewise.
4835 (altivec_vperm_<mode>_uns): Likewise.
4836 (vperm_v8hiv4si): Likewise.
4837 (vperm_v16qiv8hi): Likewise.
4839 * doc/md.texi (RS/6000 constraints): Document wo constraint.
4841 2016-01-04 Jakub Jelinek <jakub@redhat.com>
4843 Update copyright years.
4845 * gcc.c (process_command): Update copyright notice dates.
4846 * gcov-dump.c (print_version): Ditto.
4847 * gcov.c (print_version): Ditto.
4848 * gcov-tool.c (print_version): Ditto.
4849 * gengtype.c (create_file): Ditto.
4850 * doc/cpp.texi: Bump @copying's copyright year.
4851 * doc/cppinternals.texi: Ditto.
4852 * doc/gcc.texi: Ditto.
4853 * doc/gccint.texi: Ditto.
4854 * doc/gcov.texi: Ditto.
4855 * doc/install.texi: Ditto.
4856 * doc/invoke.texi: Ditto.
4858 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
4860 * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
4861 modes larger than TImode as TImode if NEON is not enabled.
4863 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
4866 * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
4867 mode for %f0-%f31 only if TARGET_FPU.
4869 2016-01-04 Eric Botcazou <ebotcazou@adacore.com>
4872 * config/sparc/sparc.c (scan_record_type): Take into account subfields
4873 to compute the PACKED_P predicate.
4874 (function_arg_record_value): Minor tweaks.
4876 2016-01-04 Thomas Preud'homme <thomas.preudhomme@arm.com>
4878 * doc/install.texi (--with-multilib-list): Describe the meaning of the
4879 option for arm*-*-* targets.
4881 2016-01-03 Sandra Loosemore <sandra@codesourcery.com>
4883 * doc/extend.texi (Common Function Attributes): Move docs for
4884 MSP430-specific attributes to....
4885 (MSP430 Function Attributes): ...here. Delete the redundant
4886 entries and copy-edit the remaining text.
4887 (MSP430 Variable Attributes): Use uniform format for index
4888 entries and add a cross-reference to the corresponding function
4891 2016-01-03 Vladimír Čunát <vcunat@gmail.com>
4893 * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
4895 (x86 Options): Likewise.
4897 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
4901 * extend.texi (Common Function Attributes) <no_stack_limit>: New.
4902 * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
4903 to corresponding attribute.
4905 2016-01-01 Sandra Loosemore <sandra@codesourcery.com>
4907 * doc/extend.texi (Common Function Attributes) <noplt>: Move
4908 to correct alphabetization of table. Copy-edit and correct
4910 <stack_protect>: Likewise.
4911 <target_clones>: Likewise.
4913 * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
4914 Correct punctuation.
4915 (Code Gen Options) <-fno-plt>: Copy-edit.
4917 2016-01-01 Bernd Edlinger <bernd.edlinger@hotmail.de>
4920 * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
4921 SI values. Explicitly convert SI to DI and vice-versa.
4923 2016-01-01 Jakub Jelinek <jakub@redhat.com>
4925 PR tree-optimization/69070
4926 * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
4927 REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
4930 * ubsan.c (ubsan_instrument_float_cast): Call
4931 initialize_sanitizer_builtins.
4934 * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
4936 Copyright (C) 2016 Free Software Foundation, Inc.
4938 Copying and distribution of this file, with or without modification,
4939 are permitted in any medium without royalty provided the copyright
4940 notice and this notice are preserved.