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