re PR target/79947 (ICE in rs6000_emit_swsqrt at gcc/config/rs6000/rs6000.c:37570)
[official-gcc.git] / gcc / ChangeLog
blob77e6f8c0b68f42af9aaa41d286fbba68bf3993a8
1 2017-03-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
3         PR target/79947
4         * config/rs6000/rs6000.h (TARGET_FRSQRTES): Add check for
5         -mpowerpc-gfxopt.
7 2017-03-14  Martin Sebor  <msebor@redhat.com>
9         PR middle-end/80020
10         * builtin-attrs.def (ATTR_ALLOC_SIZE_2_NOTHROW_LIST): New macro.
11         * builtins.def (aligned_alloc): Use it.
14         PR c/79936
15         * Makefile.in (GTFILES): Add calls.c.
16         * calls.c: Include "gt-calls.h".
18 2017-03-14  Bernd Schmidt  <bschmidt@redhat.com>
20         PR rtl-optimization/79728
21         * regs.h (struct target_regs): New field
22         x_contains_allocatable_regs_of_mode.
23         (contains_allocatable_regs_of_mode): New macro.
24         * reginfo.c (init_reg_sets_1): Initialize it, and change
25         contains_reg_of_mode so it includes global regs as well.
26         * reload.c (push_reload): Use contains_allocatable_regs_of_mode
27         rather than contains_regs_of_mode.
29 2017-03-14  Martin Liska  <mliska@suse.cz>
31         * doc/invoke.texi: Document options that can't be combined with
32         -fcheck-pointer-bounds.
34 2017-03-14  Martin Liska  <mliska@suse.cz>
36         PR middle-end/79831
37         * doc/invoke.texi (-Wchkp): Document the option.
39 2017-03-14  Martin Liska  <mliska@suse.cz>
41         * Makefile.in: Install gcov-dump.
43 2017-03-14  Martin Liska  <mliska@suse.cz>
45         * multiple_target.c (expand_target_clones): Bail out for
46         an invalid attribute.
48 2017-03-14  Richard Biener  <rguenther@suse.de>
50         * alias.c (struct alias_set_entry): Pack properly.
51         * cfgloop.h (struct loop): Likewise.
52         * cse.c (struct set): Likewise.
53         * ipa-utils.c (struct searchc_env): Likewise.
54         * loop-invariant.c (struct invariant): Likewise.
55         * lra-remat.c (struct cand): Likewise.
56         * recog.c (struct change_t): Likewise.
57         * rtl.h (struct address_info): Likewise.
58         * symbol-summary.h (function_summary): Likewise.
59         * tree-loop-distribution.c (struct partition): Likewise.
60         * tree-object-size.c (struct object_size_info): Likewise.
61         * tree-ssa-loop-ivopts.c (struct cost_pair): Likewise.
62         * tree-ssa-threadupdate.c (struct ssa_local_info_t): Likewise.
63         * tree-vect-data-refs.c (struct _vect_peel_info): Likewise.
64         * tree-vect-slp.c (struct _slp_oprnd_info): Likewise.
65         * tree-vect-stmts.c (struct simd_call_arg_info): Likewise.
66         * tree-vectorizer.h (struct _loop_vec_info): Likewise.
67         (struct _stmt_vec_info): Likewise.
69 2017-03-14  Martin Liska  <mliska@suse.cz>
71         PR target/79892
72         * multiple_target.c (create_dispatcher_calls): Check that
73         a target can create a function dispatcher.
75 2017-03-14  Martin Liska  <mliska@suse.cz>
77         PR lto/66295
78         * multiple_target.c (expand_target_clones): Drop local.local
79         flag for default implementation.
81 2017-03-14  Richard Biener  <rguenther@suse.de>
83         PR tree-optimization/80030
84         * tree-vect-stmts.c (vectorizable_store): Plug memleak.
86 2017-03-13  Kito Cheng  <kito.cheng@gmail.com>
88         * config/riscv/riscv.c (riscv_emit_float_compare>: Use
89         gcc_fallthrough() instead of __attribute__((fallthrough));
91 2017-03-13  Gerald Pfeifer  <gerald@pfeifer.com>
93         * doc/gcc.texi: Remove "up" link to (DIR).
94         * doc/gccint.texi: Ditto.
96 2017-03-13  Gerald Pfeifer  <gerald@pfeifer.com>
97         
98         * doc/install.texi (Specific) <avr>: Remove reference to
99         binutils 2.13.
101 2017-03-13  Jeff Law  <law@redhat.com>
103         * config/riscv/riscv.c (riscv_emit_float_compare): Use fallthru
104         attribute rather than comments.
106         * config/pdp11/pdp11.md (movmemhi): Adjust operand numbers to
107         match_scratch operand is highest.
109 2017-03-13  Martin Liska  <mliska@suse.cz>
111         PR middle-end/78339
112         * ipa-pure-const.c (warn_function_noreturn): If the declarations
113         is a CHKP clone, use original declaration.
115 2017-03-13  Claudiu Zissulescu  <claziss@synopsys.com>
117         * config/arc/arc.c (arc_init): Use multiplier whenever we have it.
118         (arc_conditional_register_usage): Use a different allocation order
119         when optimizing for size.
120         * common/config/arc/arc-common.c (arc_option_optimization_table):
121         Section anchors default on when optimizing for size.
123 2017-03-13  Claudiu Zissulescu  <claziss@synopsys.com>
125         * config/arc/arc.md (*tst_bitfield_tst): Fix pattern.
127 2017-03-13  Claudiu Zissulescu  <claziss@synopsys.com>
129         * config/arc/arc.c (arc_output_addsi): Emit code density adds.
130         * config/arc/arc.md (cpu_facility): Add cd variant.
131         (*movqi_insn): Add code density variant.
132         (*movhi_insn): Likewise.
133         (*movqi_insn): Likewise.
134         (*addsi3_mixed): Likewise.
135         (subsi3_insn): Likewise.
137 2017-03-13  Claudiu Zissulescu  <claziss@synopsys.com>
139         * config/arc/arc.md (movsi_cond_exec): Update constraint.
141 2017-03-13  Claudiu Zissulescu  <claziss@synopsys.com>
143         * config/arc/arc.c (arc_legitimize_pic_address): Handle PIC
144         expressions with MINUS and UNARY ops.
146 2017-03-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
148         PR target/79911
149         * config/arm/neon.md (vec_sel_widen_ssum_lo<VQI:mode><VW:mode>3):
150         Rename to...
151         (vec_sel_widen_ssum_lo<mode><V_half>3): ... This. Avoid mismatch
152         between vec_select and vector argument.
153         (vec_sel_widen_ssum_hi<VQI:mode><VW:mode>3): Rename to...
154         (vec_sel_widen_ssum_hi<mode><V_half>3): ... This. Likewise.
155         (vec_sel_widen_usum_lo<VQI:mode><VW:mode>3): Rename to...
156         (vec_sel_widen_usum_lo<mode><V_half>3): ... This.
157         (vec_sel_widen_usum_hi<VQI:mode><VW:mode>3): Rename to...
158         (vec_sel_widen_usum_hi<mode><V_half>3): ... This.
160 2017-03-13  Richard Biener  <rguenther@suse.de>
162         PR other/79991
163         * params.def (vect-max-peeling-for-alignment): Fix typo.
165 2017-03-12  Gerald Pfeifer  <gerald@pfeifer.com>
167         * doc/install.texi (Specific) <mips-*-*>: Remove description of
168         issue that only occurred with binutils below 2.18.
169         
170 2017-03-12  Gerald Pfeifer  <gerald@pfeifer.com>
172         * doc/install.texi (Specific) <cris-axis-elf>: No longer
173         refer to binutils 2.11/2.12 minimum.
175 2017-03-12  Gerald Pfeifer  <gerald@pfeifer.com>
177         * doc/install.texi (Specific) <powerpc-*-*>: Remove link to
178         ftp.kernel.org and simplify binutils requirement.
180 2017-03-11  Gerald Pfeifer  <gerald@pfeifer.com>
182         * doc/invoke.texi (Warning Options): Fix spelling of link-time
183         optimization.
184         (Optimize Options): Ditto.  Also remove redundancy.
186 2017-03-10  David Malcolm  <dmalcolm@redhat.com>
188         PR translation/79848
189         * ipa-devirt.c (warn_types_mismatch): Simplify uses of "%<%s%>" to
190         "%qs".
191         * ipa-pure-const.c (suggest_attribute): Likewise.  Convert _
192         to G_ to avoid double translation.
194 2017-03-10  David Malcolm  <dmalcolm@redhat.com>
196         PR translation/79923
197         * auto-profile.c (get_combined_location): Convert leading
198         character of diagnostics to lower case and remove trailing period.
199         (read_profile): Likewise for various diagnostics.
200         * config/arm/arm.c (arm_option_override): Remove trailing period
201         from various diagnostics.
202         * config/msp430/msp430.c (msp430_expand_delay_cycles): Likewise.
203         (msp430_expand_delay_cycles): Likewise.
205 2017-03-10  David Malcolm  <dmalcolm@redhat.com>
207         PR target/79925
208         * config/aarch64/aarch64.c (aarch64_validate_mcpu): Quote the
209         full command-line argument, rather than just "str".
210         (aarch64_validate_march): Likewise.
211         (aarch64_validate_mtune): Likewise.
213 2017-03-10  Bernd Schmidt  <bschmidt@redhat.com>
215         PR rtl-optimization/78911
216         * lra-assigns.c (must_not_spill_p): New function.
217         (spill_for): Use it.
219 2017-03-10  Jakub Jelinek  <jakub@redhat.com>
221         PR tree-optimization/79981
222         * tree-vrp.c (extract_range_basic): Handle IMAGPART_EXPR of
223         ATOMIC_COMPARE_EXCHANGE ifn result.
224         (stmt_interesting_for_vrp, vrp_visit_stmt): Handle
225         IFN_ATOMIC_COMPARE_EXCHANGE.
227 2017-03-10  David Malcolm  <dmalcolm@redhat.com>
229         PR driver/79875
230         * opts.c (parse_sanitizer_options): Add missing question mark to
231         "did you mean" message.
233 2017-03-10  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
235         * config/rs6000/rs6000-builtin.def (VMULEUB_UNS): Remove orphaned
236         built-in.
237         (VMULEUH_UNS): Likewise.
238         (VMULOUB_UNS): Likewise.
239         (VMULOUH_UNS): Likewise.
240         * config/rs6000/rs6000.c (builtin_function_type): Remove
241         references to ALTIVEC_BUILTIN_VMUL[EO]U[BH]_UNS.
243 2017-03-10  David Malcolm  <dmalcolm@redhat.com>
245         PR bootstrap/79952
246         * read-rtl-function.c (function_reader::read_rtx_operand): Update
247         x with result of extra_parsing_for_operand_code_0.
248         (function_reader::extra_parsing_for_operand_code_0): Convert
249         return type from void to rtx, returning x.  When reading
250         SYMBOL_REF with SYMBOL_FLAG_HAS_BLOCK_INFO, reallocate x to the
251         larger size containing struct block_symbol.
253 2017-03-10  Segher Boessenkool  <segher@kernel.crashing.org>
255         * config/rs6000/rs6000.c (rs6000_option_override_internal): Disallow
256         -mfloat128-hardware without -m64.
258 2017-03-10  Will Schmidt <will_schmidt@vnet.ibm.com>
260         PR target/79941
261         * config/rs6000/rs6000.c (builtin_function_type): Add VMUL*U[HB]
262         entries to the case statement that marks unsigned arguments to
263         overloaded functions.
265 2017-03-10  Kelvin Nilsen  <kelvin@gcc.gnu.org>
267         * config/rs6000/rs6000.c (rs6000_option_override_internal): Fix
268         two typographic errors in the handling of TARGET_UPPER_REGS_DI.
270 2017-03-10  Pat Haugen  <pthaugen@us.ibm.com>
272         PR target/79907
273         * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Test
274         TARGET_UPPER_REGS_DI when setting 'wi' constraint regclass.
276 2017-03-10  Martin Liska  <mliska@suse.cz>
278         PR target/65705
279         PR target/69804
280         * toplev.c (process_options): Enable MPX with LSAN and UBSAN.
281         * tree-chkp.c (chkp_walk_pointer_assignments): Verify that
282         FIELD != NULL.
284 2017-03-10  Olivier Hainque  <hainque@adacore.com>
286         * tree-switch-conversion (array_value_type): Start by resetting
287         candidate type to it's main variant.
289 2017-03-10  Jakub Jelinek  <jakub@redhat.com>
291         PR rtl-optimization/79909
292         * combine.c (try_combine): Use simplify_replace_rtx on individual
293         CALL_INSN_FUNCTION_USAGE elements instead of replace_rtx on copy_rtx
294         of the whole CALL_INSN_FUNCTION_USAGE.
296         PR tree-optimization/79972
297         * gimple-ssa-warn-alloca.c (alloca_call_type): Only call
298         get_range_info on SSA_NAMEs.  Formatting fixes.
300 2017-03-10  Richard Biener  <rguenther@suse.de>
301             Jakub Jelinek  <jakub@redhat.com>
303         PR tree-optimization/77975
304         * tree-ssa-loop-niter.c (get_base_for): Allow phi argument from latch
305         edge to be constant.
306         (get_val_for): For constant x return it.  Formatting fix.
307         (loop_niter_by_eval): Avoid pointless looping if the next iteration
308         would use the same bases as the current one.
310 2017-03-09  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
312         * config/rs6000/rs6000.c (rs6000_gen_le_vsx_permute): Use rotate
313         instead of vec_select for V1TImode.
314         * conifg/rs6000/vsx.md (VSX_LE): Remove mode iterator that is no
315         longer needed.
316         (VSX_LE_128): Add V1TI to this mode iterator.
317         (*vsx_le_perm_load_<mode>): Change to use VSX_D mode iterator.
318         (*vsx_le_perm_store_<mode>): Likewise.
319         (pre-reload splitter for VSX stores): Likewise.
320         (post-reload splitter for VSX stores): Likewise.
321         (*vsx_xxpermdi2_le_<mode>): Likewise.
322         (*vsx_lxvd2x2_le_<mode>): Likewise.
323         (*vsx_stxvd2x2_le_<mode>): Likewise.
325 2017-03-09  Michael Eager  <eager@eagercon.com>
327         Correct failures with --enable-checking=yes,rtl.
329         * config/microblaze/microblaze.c (microblaze_expand_shift):
330         Replace GET_CODE test with CONST_INT_P and INTVAL test with
331         test for const0_rtx.
332         * config/microblaze/microblaze.md (ashlsi3_byone, ashrsi3_byone,
333         lshrsi3_byone): Replace INTVAL with test for const1_rtx.
335 2017-03-09  Richard Biener  <rguenther@suse.de>
337         PR tree-optimization/79977
338         * graphite-scop-detection.c (scop_detection::merge_sese):
339         Handle the case of extra exits to blocks dominating the entry.
341 2017-03-09  Toma Tabacu  <toma.tabacu@imgtec.com>
343         * doc/sourcebuild.texi (Effective-Target Keywords, Other attributes):
344         Document rdynamic.
346 2017-03-09  Vladimir Makarov  <vmakarov@redhat.com>
348         PR rtl-optimization/79949
349         * lra-constraints.c (process_alt_operands): Check memory when
350         trying to predict a cycle.  Print about the overall increase.
352 2017-03-09  Richard Biener  <rguenther@suse.de>
354         PR middle-end/79971
355         * gimple-expr.c (useless_type_conversion_p): Preserve
356         TYPE_SATURATING for fixed-point types.
358 2017-03-09  Richard Biener  <rguenther@suse.de>
360         PR ipa/79970
361         * ipa-prop.c (ipa_modify_formal_parameters): Avoid changing
362         alignment of BLKmode params.
364 2017-03-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
366         PR target/79913
367         * config/aarch64/iterators.md (VALL_F16_NO_V2Q): New mode iterator.
368         (VALL_NO_V2Q): Likewise.
369         (VDQF_DF): Delete.
370         * config/aarch64/aarch64-simd.md
371         (aarch64_dup_lane_<vswap_width_name><mode>): Use VALL_F16_NO_V2Q
372         iterator.
373         (*aarch64_simd_vec_copy_lane_<vswap_width_name><mode>): Use
374         VALL_NO_V2Q mode iterator.
375         (*aarch64_vgetfmulx<mode>): Use VDQF iterator.
377 2017-03-09  Martin Liska  <mliska@suse.cz>
379         PR tree-optimization/79631
380         * tree-chkp-opt.c (chkp_is_constant_addr): Call
381         tree_int_cst_sign_bit just for INTEGER constants.
383 2017-03-09  Martin Liska  <mliska@suse.cz>
385         PR target/65705
386         PR target/69804
387         * toplev.c (process_options): Disable -fcheck-pointer-bounds with
388         sanitizers.
390 2017-03-09  Marek Polacek  <polacek@redhat.com>
392         PR c++/79672
393         * tree.c (inchash::add_expr): Handle TREE_VEC.
395 2017-03-09  Martin Liska  <mliska@suse.cz>
397         PR ipa/79764
398         (chkp_narrow_size_and_offset): New function.
399         (chkp_parse_array_and_component_ref): Support BIT_FIELD_REF.
400         (void chkp_parse_bit_field_ref): New function.
401         (chkp_make_addressed_object_bounds): Add case for BIT_FIELD_REF.
402         (chkp_process_stmt): Use chkp_parse_bit_field_ref.
404 2017-03-09  Martin Liska  <mliska@suse.cz>
406         PR ipa/79761
407         * tree-chkp.c (chkp_get_bound_for_parm): Get bounds for a param.
408         (chkp_find_bounds_1): Remove gcc_unreachable.
410 2017-03-09  Jakub Jelinek  <jakub@redhat.com>
412         PR sanitizer/79944
413         * asan.c (get_mem_refs_of_builtin_call): For BUILT_IN_ATOMIC* and
414         BUILT_IN_SYNC*, determine the access type from the size suffix and
415         always build a MEM_REF with that type.  Handle forgotten
416         BUILT_IN_SYNC_FETCH_AND_NAND_16 and BUILT_IN_SYNC_NAND_AND_FETCH_16.
418         PR target/79932
419         * config/i386/avx512vlintrin.h (_mm256_cmpge_epi32_mask,
420         _mm256_cmpge_epi64_mask, _mm256_cmpge_epu32_mask,
421         _mm256_cmpge_epu64_mask, _mm256_cmple_epi32_mask,
422         _mm256_cmple_epi64_mask, _mm256_cmple_epu32_mask,
423         _mm256_cmple_epu64_mask, _mm256_cmplt_epi32_mask,
424         _mm256_cmplt_epi64_mask, _mm256_cmplt_epu32_mask,
425         _mm256_cmplt_epu64_mask, _mm256_cmpneq_epi32_mask,
426         _mm256_cmpneq_epi64_mask, _mm256_cmpneq_epu32_mask,
427         _mm256_cmpneq_epu64_mask, _mm256_mask_cmpge_epi32_mask,
428         _mm256_mask_cmpge_epi64_mask, _mm256_mask_cmpge_epu32_mask,
429         _mm256_mask_cmpge_epu64_mask, _mm256_mask_cmple_epi32_mask,
430         _mm256_mask_cmple_epi64_mask, _mm256_mask_cmple_epu32_mask,
431         _mm256_mask_cmple_epu64_mask, _mm256_mask_cmplt_epi32_mask,
432         _mm256_mask_cmplt_epi64_mask, _mm256_mask_cmplt_epu32_mask,
433         _mm256_mask_cmplt_epu64_mask, _mm256_mask_cmpneq_epi32_mask,
434         _mm256_mask_cmpneq_epi64_mask, _mm256_mask_cmpneq_epu32_mask,
435         _mm256_mask_cmpneq_epu64_mask, _mm_cmpge_epi32_mask,
436         _mm_cmpge_epi64_mask, _mm_cmpge_epu32_mask, _mm_cmpge_epu64_mask,
437         _mm_cmple_epi32_mask, _mm_cmple_epi64_mask, _mm_cmple_epu32_mask,
438         _mm_cmple_epu64_mask, _mm_cmplt_epi32_mask, _mm_cmplt_epi64_mask,
439         _mm_cmplt_epu32_mask, _mm_cmplt_epu64_mask, _mm_cmpneq_epi32_mask,
440         _mm_cmpneq_epi64_mask, _mm_cmpneq_epu32_mask, _mm_cmpneq_epu64_mask,
441         _mm_mask_cmpge_epi32_mask, _mm_mask_cmpge_epi64_mask,
442         _mm_mask_cmpge_epu32_mask, _mm_mask_cmpge_epu64_mask,
443         _mm_mask_cmple_epi32_mask, _mm_mask_cmple_epi64_mask,
444         _mm_mask_cmple_epu32_mask, _mm_mask_cmple_epu64_mask,
445         _mm_mask_cmplt_epi32_mask, _mm_mask_cmplt_epi64_mask,
446         _mm_mask_cmplt_epu32_mask, _mm_mask_cmplt_epu64_mask,
447         _mm_mask_cmpneq_epi32_mask, _mm_mask_cmpneq_epi64_mask,
448         _mm_mask_cmpneq_epu32_mask, _mm_mask_cmpneq_epu64_mask): Move
449         definitions outside of __OPTIMIZE__ guarded section.
451         PR target/79932
452         * config/i386/avx512bwintrin.h (_mm512_packs_epi32,
453         _mm512_maskz_packs_epi32, _mm512_mask_packs_epi32,
454         _mm512_packus_epi32, _mm512_maskz_packus_epi32,
455         _mm512_mask_packus_epi32): Move definitions outside of __OPTIMIZE__
456         guarded section.
458 2017-03-09  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
460         * config/s390/vx-builtins.md ("vfee<mode>", "vfeez<mode>")
461         ("vfenez<mode>"): Add missing constraints.
463 2017-03-08  Martin Sebor  <msebor@redhat.com>
465         PR target/79928
466         * config/nds32/nds32.c (nds32_option_override): 
468 2017-03-08  Jakub Jelinek  <jakub@redhat.com>
470         PR c/79940
471         * gimplify.c (gimplify_omp_for): Replace index var in outer
472         taskloop statement with an artificial variable and add
473         OMP_CLAUSE_PRIVATE clause for it.
475 2017-03-08  Richard Biener  <rguenther@suse.de>
477         PR tree-optimization/79955
478         * tree-ssa-uninit.c (warn_uninitialized_vars): Do not warn
479         for accesses that are completely outside of the variable.
481 2017-03-08  Andrew Haley  <aph@redhat.com>
483         PR tree-optimization/79943
484         * tree-ssa-loop-split.c (compute_new_first_bound): When
485         calculating the new upper bound, (END-BEG) should be added, not
486         subtracted.
488 2017-03-08  Jakub Jelinek  <jakub@redhat.com>
490         * config/avr/avr.md (setmemhi): Make sure match_dup
491         operand number comes before match_scratch.
493 2017-03-08  Richard Biener  <rguenther@suse.de>
495         PR tree-optimization/79920
496         * tree-vect-slp.c (vect_create_mask_and_perm): Remove and inline
497         with ncopies == 1 to ...
498         (vect_transform_slp_perm_load): ... here.  Properly compute
499         all element loads by iterating VF times over the group.  Do
500         not handle ncopies (computed in a broken way) in
501         vect_create_mask_and_perm.
503 2017-03-08  Jakub Jelinek  <jakub@redhat.com>
505         PR sanitizer/79904
506         * internal-fn.c (expand_vector_ubsan_overflow): If arg0 or arg1
507         is a uniform vector, use uniform_vector_p return value instead of
508         building ARRAY_REF on folded VIEW_CONVERT_EXPR to array type.
510 2017-03-07  Marek Polacek  <polacek@redhat.com>
512         PR middle-end/79809
513         * gimple-ssa-warn-alloca.c (pass_walloca::gate): Use HOST_WIDE_INT.
514         (alloca_call_type): Likewise.
516 2017-03-07  Martin Liska  <mliska@suse.cz>
518         * gcov.c (process_args): Put comment to correct location.
520 2017-03-07  Martin Liska  <mliska@suse.cz>
522         PR middle-end/68270
523         * tree-chkp.c (chkp_may_narrow_to_field): Add new argument ref.
524         Use array_at_struct_end_p instead of DECL_CHAIN (field).
525         (chkp_narrow_bounds_for_field): Likewise.
526         (chkp_parse_array_and_component_ref): Pass one more argument to
527         call.
529 2017-03-07  Richard Biener  <rguenther@suse.de>
531         * tree-vect-loop-manip.c (slpeel_add_loop_guard): Preserve
532         preheaders.
534 2017-03-07  Segher Boessenkool  <segher@kernel.crashing.org>
536         * config/i386/i386.c (ix86_local_alignment): Align most aggregates
537         of 16 bytes and more to 16 bytes, not those of 16 bits and more.
539 2017-03-07  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
541         PR c/79855
542         * params.def (PARAM_STORE_MERGING_ALLOW_UNALIGNED): Add full stop
543         to end of description.
544         (PARAM_MAX_STORES_TO_MERGE): Likewise.
546 2017-03-07  Jakub Jelinek  <jakub@redhat.com>
548         PR rtl-optimization/79901
549         * config/i386/sse.md (*avx512bw_<code><mode>3<mask_name>): Renamed to
550         ...
551         (*avx512f_<code><mode>3<mask_name>): ... this.
552         (<code><mode>3 with maxmin code iterator): Use VI8_AVX2_AVX512F
553         iterator instead of VI8_AVX2_AVX512BW.
555         PR rtl-optimization/79901
556         * expr.c (expand_expr_real_2): For vector MIN/MAX, if there is no
557         min/max expander, expand it using expand_vec_cond_expr.
559         PR sanitizer/79897
560         * ubsan.c (ubsan_encode_value): Call mark_addressable on the
561         temporary.
563 2017-03-06  Jakub Jelinek  <jakub@redhat.com>
565         PR c++/79821
566         * dwarf2out.h (dw_vec_const): Change array type from unsigned char *
567         to void * for PCH reasons.
568         * dwarf2out.c (output_loc_operands, output_die): Cast
569         v.val_vec.array to unsigned char *.
571 2017-03-06  John David Anglin  <danglin@gcc.gnu.org>
573         PR target/77850
574         * config/pa/pa-64.h (PAD_VARARGS_DOWN): Don't pad down complex and
575         vector types.
577 2017-03-06  Vladimir Makarov  <vmakarov@redhat.com>
579         PR rtl-optimization/79571
580         * lra-constraints.c (process_alt_operands): Calculate static
581         reject and subtract it from overall when only addresses will be
582         reloaded.
584 2017-03-06  Julia Koval  <julia.koval@intel.com>
586         PR target/79793
587         * config/i386/i386.c (ix86_minimum_incoming_stack_boundary): Set
588         incoming stack boundary to 128 for 64-bit targets.
590 2017-03-06  Richard Biener  <rguenther@suse.de>
592         PR tree-optimization/79894
593         * tree-vectorizer.c (vectorize_loops): Set loop_vectorized_call
594         to NULL after folding it.
596 2017-03-06  Richard Biener  <rguenther@suse.de>
598         PR tree-optimization/79824
599         * tree-vect-stmts.c (get_group_load_store_type): Fix alignment
600         check disabling peeling for gaps.
602 2017-03-06  Toma Tabacu  <toma.tabacu@imgtec.com>
604         * doc/sourcebuild.texi (Effective-Target Keywords, Environment
605         attributes): Document gettimeofday.
607 2017-03-06  Robin Dapp  <rdapp@linux.vnet.ibm.com>
609         * config/s390/s390.c (s390_option_override_internal): Set
610         PARAM_MIN_VECT_LOOP_BOUND
612 2017-03-06  Robin Dapp  <rdapp@linux.vnet.ibm.com>
614         * config/s390/s390.c (s390_asm_output_function_label): Use nopr %r0.
615         * config/s390/s390.md: Likewise.
617 2017-03-06  Jakub Jelinek  <jakub@redhat.com>
619         PR target/79812
620         * config/i386/sse.md (VI8F_256_512): Remove mode iterator.
621         (<avx2_avx512>_perm<mode>): Rename to ...
622         (avx2_perm<mode>): ... this.  Use VI8F_256 iterator instead
623         of VI8F_256_512.
624         (<avx512>_perm<mode>_mask): Rename to ...
625         (avx512vl_perm<mode>_mask): ... this.  Use VI8F_256 iterator instead
626         of VI8F_256_512.
627         (<avx2_avx512>_perm<mode>_1<mask_name>): Rename to ...
628         (avx2_perm<mode>_1<mask_name): ... this.  Use VI8F_256 iterator
629         instead of VI8F_256_512.
630         (avx512f_perm<mode>): New define_expand.
631         (avx512f_perm<mode>_mask): Likewise.
632         (avx512f_perm<mode>_1<mask_name>): New define_insn.
633         (<avx512>_vec_dup<mode>_1): Fix up vec_select mode.
635 2017-03-06  Prachi Godbole  <prachi.godbole@imgtec.com>
637         * config/mips/mips-msa.md (msa_fmax_a_<msafmt>, msa_fmin_a_<msafmt>,
638         msa_max_a_<msafmt>, msa_min_a_<msafmt>): Introduce mode interator for
639         if_then_else.
640         (smin<mode>3, smax<mode>3): Change operand print code from 'B' to 'E'.
642 2017-03-06  Martin Liska  <mliska@suse.cz>
644         PR sanitize/79783
645         * asan.c (asan_expand_poison_ifn): Do not expand ASAN_POISON
646         when having a SSA NAME w/o VAR_DECL assigned to it.
648 2017-03-06  Prachi Godbole  <prachi.godbole@imgtec.com>
650         * config/mips/mips-msa.md (msa_dotp_<su>_d, msa_dpadd_<su>_d,
651         msa_dpsub_<su>_d): Fix MODE for vec_select.
653 2017-03-06  Prachi Godbole  <prachi.godbole@imgtec.com>
655         * config/mips/mips.c (mips_gen_const_int_vector): Change type of last
656         argument.
657         * config/mips/mips-protos.h (mips_gen_const_int_vector): Likewise.
659 2017-03-06  Richard Biener  <rguenther@suse.de>
661         * lto-streamer.c (lto_check_version): Use %qs in diagnostics.
662         * plugin.c (register_plugin_info): Likewise.
663         * tree-chkp.c (chkp_make_static_const_bounds): Likewise.
665 2017-03-05  Jakub Jelinek  <jakub@redhat.com>
667         * config/i386/sse.md (sse_storehps, sse_storelps,
668         avx_<castmode><avxsizesuffix>_<castmode>,
669         avx512f_<castmode><avxsizesuffix>_<castmode>,
670         avx512f_<castmode><avxsizesuffix>_256<castmode>): Require
671         in condition that at least one operand is not a MEM.
673 2017-03-03  Jakub Jelinek  <jakub@redhat.com>
675         PR middle-end/79805
676         * internal-fn.def (ATOMIC_BIT_TEST_AND_SET, ATOMIC_BIT_TEST_AND_RESET,
677         ATOMIC_BIT_TEST_AND_COMPLEMENT, ATOMIC_COMPARE_EXCHANGE): Remove
678         ECF_NOTHROW.
679         * gimple-fold.c (fold_builtin_atomic_compare_exchange): Set
680         gimple_call_nothrow_p flag based on whether original builtin can throw.
681         If it can, emit following stmts on the fallthrough edge.
682         * tree-ssa-ccp.c (optimize_atomic_bit_test_and): Similarly, except
683         don't create new bb if inserting just debug stmts on the edge, try to
684         insert them on the fallthru bb or just reset debug stmts.
686 2017-03-03  Segher Boesssenkool  <segher@kernel.crashing.org>
688         PR target/43763
689         * config/rs6000/rs6000.c (rs6000_final_prescan_insn): Save and
690         restore recog_data (including the operand rtxes inside it) around
691         the call to get_insn_template.
693 2017-03-03  Martin Sebor  <msebor@redhat.com>
695         PR tree-optimization/79699
696         * context.c (context::~context): Free MPFR caches to avoid
697         a memory leak on program exit.
699 2017-03-03  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
701         * config/aarch64/aarch64.c (aarch64_float_const_representable_p):
702         Use wide_int::ulow () instead of .elt (0).
704 2017-03-03  Uros Bizjak  <ubizjak@gmail.com>
706         * config/i386/i386.md (*pushtf): Change *roF constraint to *roC.
707         (*pushxf): Limit oF constraint to 32bit targets and add oC
708         constraint for 64bit targets.
709         (pushxf splitter): Use PUSH_ROUNDING to calculate stack adjustment.
710         (*pushdf): Change rmF constraint to rmC.
712 2017-03-03  Martin Liska  <mliska@suse.cz>
714         * tree-ssa-loop-prefetch.c (pass_loop_prefetch::execute):
715         Remove unused variable.
717 2017-03-03  Jakub Jelinek  <jakub@redhat.com>
719         PR target/79807
720         * config/i386/i386.c (ix86_expand_multi_arg_builtin): If target
721         is a memory operand, increase num_memory.
722         (ix86_expand_args_builtin): Likewise.
724 2017-03-03  Jan Hubicka  <jh@suse.cz>
726         PR lto/79760
727         * ipa-devirt.c (maybe_record_node): Properly handle
728         __cxa_pure_virtual visibility.
730 2017-03-03  Martin Liska  <mliska@suse.cz>
732         PR tree-optimization/79803
733         * tree-ssa-loop-prefetch.c (tree_ssa_prefetch_arrays): Remove
734         assert.
735         (pass_loop_prefetch::execute): Disabled optimization if an
736         assumption about L1 cache size is not met.
738 2017-03-03  Martin Liska  <mliska@suse.cz>
740         PR rtl-optimization/79574
741         * gcse.c (struct gcse_expr): Use HOST_WIDE_INT instead of int.
742         (hash_scan_set): Likewise.
743         (dump_hash_table): Likewise.
744         (hoist_code): Likewise.
746 2017-03-03  Richard Biener  <rguenther@suse.de>
748         * fixed-value.c (fixed_from_string): Restore use of elt (1)
749         in place of uhigh ().
750         (fixed_convert_from_real): Likewise.
752 2017-03-03  Uros Bizjak  <ubizjak@gmail.com>
754         PR target/79514
755         * config/i386/i386.md (*pushxf_rounded): Use Pmode instead of DImode.
757 2017-03-03  Richard Biener  <rguenther@suse.de>
759         PR middle-end/79818
760         * match.pd ( X +- C1 CMP C2 -> X CMP C2 -+ C1): Add missing
761         TYPE_OVERFLOW_UNDEFINED check.
763 2017-03-02  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
765         * config/rs6000/vector.md (vector_ne_<mode>_p): Correct operand
766         numbers.
767         (vector_ae_<mode>_p): Likewise.
768         (vector_nez_<mode>_p): Likewise.
769         (vector_ne_v2di_p): Likewise.
770         (vector_ae_v2di_p): Likewise.
771         (vector_ne_<mode>_p): Likewise.
772         * config/rs6000/vsx.md (vsx_tsqrt<mode>2_fg): Correct operand
773         numbers.
774         (vsx_tsqrt<mode>2_fe): Likewise.
776 2017-03-02  Uros Bizjak  <ubizjak@gmail.com>
778         PR target/79514
779         * config/i386/i386.md (*pushxf_rounded): New insn_and_split pattern.
781 2017-03-02  Jakub Jelinek  <jakub@redhat.com>
783         PR rtl-optimization/79780
784         * cprop.c (one_cprop_pass): When second and further conditional trap
785         in a single basic block is turned into an unconditional trap, turn it
786         into a deleted note to avoid RTL verification failures.
788 2017-03-02  Richard Biener  <rguenther@suse.de>
790         * fold-const.c (const_binop): Use ulow () instead of elt (0).
792 2017-03-02  Richard Biener  <rguenther@suse.de>
794         PR tree-optimization/79345
795         PR c++/42000
796         * tree-ssa-alias.c (walk_aliased_vdefs_1): Take a limit
797         param and abort the walk, returning -1 if it is hit.
798         (walk_aliased_vdefs): Take a limit param and pass it on.
799         * tree-ssa-alias.h (walk_aliased_vdefs): Add a limit param,
800         defaulting to 0 and return a signed int.
801         * tree-ssa-uninit.c (struct check_defs_data): New struct.
802         (check_defs): New helper.
803         (warn_uninitialized_vars): Use walk_aliased_vdefs to warn
804         about uninitialized memory.
805         * fixed-value.c (fixed_from_string): Use ulow/uhigh to avoid
806         bogus uninitialized warning.
807         (fixed_convert_from_real): Likewise.
809 2017-03-02  Bin Cheng  <bin.cheng@arm.com>
811         PR tree-optimization/66768
812         * tree-ssa-loop-ivopts.c (find_interesting_uses_address): Skip addr
813         iv_use if base object can't be determined.
815 2017-03-02  Jakub Jelinek  <jakub@redhat.com>
817         PR tree-optimization/79345
818         * gensupport.h (struct pattern_stats): Add min_scratch_opno field.
819         * gensupport.c (get_pattern_stats_1) <case MATCH_SCRATCH>: Update it.
820         (get_pattern_stats): Initialize it.
821         * genemit.c (gen_expand): Verify match_scratch numbers come after
822         match_operand/match_dup numbers.
823         * config/i386/i386.md (<s>mul<mode>3_highpart): Swap match_dup and
824         match_scratch numbers.
825         * config/i386/sse.md (avx2_gathersi<mode>, avx2_gatherdi<mode>):
826         Likewise.
827         * config/s390/s390.md (trunctdsd2): Likewise.
829 2017-03-02  Richard Biener  <rguenther@suse.de>
831         * wide-int.h (wide_int_storage::operator=): Implement in terms
832         of wi::copy.
834 2017-03-02  Richard Biener  <rguenther@suse.de>
836         PR tree-optimization/79777
837         * tree-ssa-pre.c (eliminate_insert): Give up if we simplify
838         the to insert expression to sth existing.
840 2017-03-01  Martin Sebor  <msebor@redhat.com>
842         PR middle-end/79692
843         * gimple-ssa-sprintf.c
844         (directive::known_width_and_precision): New function.
845         (format_integer): Use it.
846         (get_mpfr_format_length): Consider the full range of precision
847         when computing %g output with the # flag.  Set the likely byte
848         count to 3 rather than 1 when precision is indeterminate.
849         (format_floating): Correct the lower bound of precision.
851 2017-03-01  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
853         * doc/invoke.texi: Document default code model for 64-bit Linux.
855 2017-03-01  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>
857         PR target/79752
858         * config/rs6000/rs6000.md (peephole2 for udiv/umod): Should emit
859         udiv rather than div since input pattern is unsigned.
861 2017-03-01  Uros Bizjak  <ubizjak@gmail.com>
863         * config/i386/i386.c (print_reg): Warn for values of
864         unsupported size in integer register.
866 2017-03-01  Michael Meissner  <meissner@linux.vnet.ibm.com>
868         PR target/79439
869         * config/rs6000/predicates.md (current_file_function_operand): Do
870         not allow self calls to be local if the function is replaceable.
872 2017-03-01  Kelvin Nilsen  <kelvin@gcc.gnu.org>
874         PR target/79395
875         * config/rs6000/altivec.h (vec_ctz and others): Change the
876         preprocessor macro that controls conditional compilation from
877         _ARCH_PWR9 to __POWER9_VECTOR__.
878         (vec_all_ne): Change parameterization of __altivec_scalar_pred
879         macro expansion under preprocessor #ifdef __POWER9_VECTOR__
880         control (instead of _ARCH_PWR9 control) so that template
881         definition uses power9-specific function.
882         (vec_any_eq): Likewise.
883         (vec_all_ne): Change macro definition to use a power9-specific
884         expansion under #ifdef __POWER9_VECTOR__ control (instead of
885         _ARCH_PWR9 control).
886         (vec_any_eq) Likewise.
887         * config/rs6000/rs6000-builtin.def (CMPNEF): Remove BU_P9V_AV_2
888         expansion for CMPNEF to remove support for xvcmpnesp instruction.
889         (CMPNED): Remove BU_P9V_AV2 expansion for CMPNED to remove
890         support for xvcmpnedp instruction.
891         (VCMPNEB_P): Replace BU_P9V_AV_P macro expansion with BU_P9V_AV_2
892         macro expansion so that Power9 implementation of vec_all_ne does
893         not use the AltiVec predicate framework.
894         (VCMPNEH_P): Likewise.
895         (VCMPNEW_P): Likewise.
896         (VCMPNED_P): Likewise.
897         (VCMPNEFP_P): Likewise.
898         (VCMPNEDP_P): Likewise.
899         (VCMPAEB_P): Add BU_P9V_AV_2 macro expansion to change
900         implementation of vec_any_eq to not use AltiVec predicate
901         framework.
902         (VCMPAEH_P): Likewise.
903         (VCMPAEW_P): Likewise.
904         (VCMPAED_P): Likewise.
905         (VCMPAEFP_P): Likewise.
906         (VCMPAEDP_P): Likewise.
907         (VCMPNE_P): Replace BU_P9V_OVERLOAD_P macro expansion with
908         BU_P9V_OVERLOAD_2 so that Power9 implementation of vec_all_ne does
909         not use the AltiVec predicate framework.
910         (VCMPAE_P): Add BU_P9V_OVERLOAD_2 macro to change implementation
911         of vec_any_eq to not use AltiVec predicate framework.
912         * config/rs6000/rs6000-c.c (rs6000_target_modify_macros): Add
913         support for predefined __POWER9_VECTOR__ macro to indicate that
914         Power9 instruction selection is enabled.
915         (altivec_overloaded_builtins): Remove extraneous
916         ALTIVEC_BUILTIN_VEC_CMPNE entry for overloaded
917         function argument types RS6000_BTI_bool_V16QI and
918         RS6000_BTI_bool_V16QI.  Remove erroneous ALTIVEC_BUILTIN_VEC_CMPNE
919         entry for overloaded function argument types RS6000_BTI_bool_V4SI
920         andRS6000_BTI_bool_V4SI, mapping to P9V_BUILTIN_CMPNEB.  Remove
921         two entries mapping to P9V_BUITIN_CMPNED and one entry mapping to
922         P9V_BUILTIN_CMPNEF to force use of instructions not specific to
923         Power9 for implementations of vec_cmpne.  Change the signature for
924         all definitions of the overloaded P9V_BUILTIN_VEC_CMPNE_P function
925         (representing vec_all_ne) to remove the previously described first
926         argument of type RS6000_BTI_INTSI, as this was an artifact of
927         reliance on the AltiVec predicate framework, which is no longer
928         used in the implementation of these functions.  Add
929         P9V_BUILTIN_VEC_VCMPAE_P entries (representing the vec_anyeq
930         function) to match all of the P9V_BUILTIN_VEC_VCMNE_P entries
931         since, unlike the AltiVec predicate framework implementation, we
932         do not share function descriptors between vec_alle and vec_anyeq.
933         (altivec_resolve_overloaded_builtin): Add SFmode and DFmode to the
934         set of modes that receive special treatment even when
935         TARGET_P9_VECTOR is true.  The special treatment emits code that
936         does not depend on Power9 instructions.
937         * config/rs6000/vector.md (vector_ne_<mode>_p): Change this
938         define_expand to not rely on AltiVec predicate framework.
939         (vector_ae_<mode>p): New define_expand to represent vec_any_eq
940         function.
941         (vector_ne_v2di_p): Change this define_expand to not rely on
942         AltiVec predicate framework.
943         (vector_ae_v2di_p): New define_expand to represent vec_any_eq
944         function.
945         (vector_ne_<mode>_p): Change this define_expand to not rely on
946         AltiVec predicate framework.
947         (vector_ae_<mode>p): New define_expand to represent vec_any_eq
948         function.
949         * config/rs6000/vsx.md (*vsx_ne_<mode>_p): For modes VSX_EXTRACT_I
950         (V16QI, V8HI, V4SI), correct a typo in the code emitted for this
951         define_insn pattern.
952         (*vsx_ne_<mode>_p): For modes VSX_F (V4SF and V2DF), remove this
953         define_insn pattern because the xvcmpne<VSs>. instruction is not
954         supported.
955         (vcmpne<VSs>): Remove this define_insn because xvcmpne<VSs>
956         instruction is not supported.
958 2017-03-01  Jakub Jelinek  <jakub@redhat.com>
960         * config/nvptx/nvptx.c: Include intl.h.
962 2017-03-01  Martin Jambor  <mjambor@suse.cz>
964         PR lto/78140
965         * ipa-prop.h (ipa_bits): Removed field known.
966         (ipa_jump_func): Removed field vr_known.  Changed fields bits and m_vr
967         to pointers.  Adjusted their comments to warn about their sharing.
968         (ipcp_transformation_summary): Change bits to a vector of pointers.
969         (ipa_check_create_edge_args): Moved to ipa-prop.c, declare.
970         (ipa_get_ipa_bits_for_value): Declare.
971         * tree-vrp.h (value_range): Mark as GTY((for_user)).
972         * ipa-prop.c (ipa_bit_ggc_hash_traits): New.
973         (ipa_bits_hash_table): Likewise.
974         (ipa_vr_ggc_hash_traits): Likewise.
975         (ipa_vr_hash_table): Likewise.
976         (ipa_print_node_jump_functions_for_edge): Adjust for bits and m_vr
977         being pointers and vr_known being removed.
978         (ipa_set_jf_unknown): Likewise.
979         (ipa_get_ipa_bits_for_value): New function.
980         (ipa_set_jfunc_bits): Likewise.
981         (ipa_get_value_range): New overloaded functions.
982         (ipa_set_jfunc_vr): Likewise.
983         (ipa_compute_jump_functions_for_edge): Use the above functions to
984         construct bits and vr parts of jump functions.
985         (ipa_check_create_edge_args): Move here from ipa-prop.h, also allocate
986         ipa_bits_hash_table and ipa_vr_hash_table if they do not already
987         exist.
988         (ipcp_grow_transformations_if_necessary): Also allocate
989         ipa_bits_hash_table and ipa_vr_hash_table if they do not already
990         exist.
991         (ipa_node_params_t::duplicate): Do not copy bits, just pointers to
992         them.  Fix too long lines.
993         (ipa_write_jump_function): Adjust for bits and m_vr being pointers and
994         vr_known being removed.
995         (ipa_read_jump_function): Use new setter functions to construct bits
996         and vr parts of jump functions or set them to NULL.
997         (write_ipcp_transformation_info): Adjust for bits being pointers.
998         (read_ipcp_transformation_info): Likewise.
999         (ipcp_update_bits): Likewise.  Fix excessively long lines a trailing
1000         space.
1001         Include gt-ipa-prop.h.
1002         * ipa-cp.c (propagate_bits_across_jump_function): Adjust for bits
1003         being pointers.
1004         (ipcp_store_bits_results): Likewise.
1005         (propagate_vr_across_jump_function): Adjust for m_vr being a pointer.
1006         Do not write to existing jump functions but use a temporary instead.
1008 2017-03-01  Jakub Jelinek  <jakub@redhat.com>
1010         PR c++/79681
1011         * fold-const.c (make_bit_field_ref): If orig_inner is COMPONENT_REF,
1012         attempt to use its first operand as BIT_FIELD_REF base.
1014 2017-03-01  Richard Biener  <rguenther@suse.de>
1016         PR middle-end/79721
1017         * tree-chrec.c (chrec_evaluate): Perform computation of Newtons
1018         interpolating formula in wrapping arithmetic.
1019         (chrec_apply): Convert chrec_evaluate return value to wanted type.
1021 2017-03-01  Jakub Jelinek  <jakub@redhat.com>
1023         PR tree-optimization/79734
1024         * tree-vect-generic.c (expand_vector_condition): Optimize
1025         AVX512 vector boolean VEC_COND_EXPRs into bitwise operations.
1026         Handle VEC_COND_EXPR where comparison has different inner width from
1027         type's inner width.
1029 2017-02-28  Sandra Loosemore  <sandra@codesourcery.com>
1031         * doc/invoke.texi (ARC Options): Copy-edit to fix punctuation,
1032         markup, and similar issues.  Remove @opindex entries for things
1033         that aren't options.  Add missing -mmpy-option entries.
1035 2017-02-28  Jakub Jelinek  <jakub@redhat.com>
1037         PR tree-optimization/79737
1038         * gimple-ssa-store-merging.c (encode_tree_to_bitpos): If bitlen is
1039         a multiple of BITS_PER_UNIT and !BYTES_BIG_ENDIAN, clear
1040         tmpbuf[byte_size - 1].  Call natice_encode_expr with byte_size - 1
1041         instead of byte_size.  Formatting fix.
1042         (shift_bytes_in_array_right): Formatting fix.
1044 2017-02-28  Eric Botcazou  <ebotcazou@adacore.com>
1046         PR target/79749
1047         * config/sparc/sparc.c (sparc_frame_pointer_required): Add missing
1048         condition on optimize for the leaf function test.
1050 2017-02-28  Martin Liska  <mliska@suse.cz>
1052         PR lto/79625
1053         * read-rtl-function.c (function_reader::handle_unknown_directive):
1054         Bail out when one uses -flto.
1056 2017-02-28  Martin Liska  <mliska@suse.cz>
1058         * common.opt: Replace space with tabular for options of <number>
1059         type.
1060         * config/i386/i386.opt: Show <number> value for
1061         -mlarge-data-threshold.
1062         * opts.c (print_filtered_help): Do not display number in hexadecimal
1063         format.
1065 2017-02-28  Martin Liska  <mliska@suse.cz>
1067         * common.opt: Fix --help=option -Q for options which are of
1068         an enum type.
1070 2017-02-28  Uros Bizjak  <ubizjak@gmail.com>
1072         * config/i386/i386.c (print_reg): Error out for values
1073         of 8-bit size in invalid integer register.
1075 2017-02-28  Martin Sebor  <msebor@redhat.com>
1077         PR tree-optimization/79691
1078         * passes.def (pass_all_optimizations_g): Enable pass_sprintf_length.
1080 2017-02-28  Jakub Jelinek  <jakub@redhat.com>
1082         PR target/79729
1083         * config/i386/i386.c (ix86_print_operand) <case 'R'>: Replace
1084         gcc_unreachable with output_operand_lossage.
1086 2017-02-28  Richard Biener  <rguenther@suse.de>
1088         PR tree-optimization/79740
1089         * tree-ssa-sccvn.c (vn_nary_op_insert_into): Allow redundant
1090         inserts.
1091         (visit_nary_op): Insert the nary into the hashtable if we
1092         pattern-matched sth.
1093         * tree-ssa-pre.c (eliminate_insert): Robustify.
1095 2017-02-28  Richard Biener  <rguenther@suse.de>
1097         PR middle-end/79731
1098         * fold-const.c (decode_field_reference): Reject out-of-bound
1099         accesses.
1101 2017-02-28  Jakub Jelinek  <jakub@redhat.com>
1103         * config/i386/i386.c: Include intl.h.
1104         (ix86_option_override_internal): Use cond ? G_("...") : G_("...")
1105         instead of just cond ? "..." : "...".
1106         * config/nvptx/nvptx.c (nvptx_goacc_validate_dims): Likewise.
1107         * coverage.c (read_counts_file): Likewise.
1108         * omp-offload.c: Include intl.h.
1109         (oacc_loop_fixed_partitions): Use cond ? G_("...") : G_("...") instead
1110         of just cond ? "..." : "...".
1111         * gcov.c (read_count_file): Use cond ? N_("...") : N_("...") instead
1112         of just cond ? "..." : "...".
1114 2017-02-28  Richard Earnshaw  <rearnsha@arm.com>
1116         PR target/79742
1117         * config/arm/parsecpu.awk (gen_data): Set tuning target to 'tune for'
1118         entry, if present.
1119         * config/arm/arm-cpus.in (cortex-m0plus.small-multiply): Correct
1120         'tune for' CPU name.
1121         * config/arm/arm-cpu-data.h: Regenerated.
1123 2017-02-28  Richard Biener  <rguenther@suse.de>
1125         PR tree-optimization/79732
1126         * tree-inline.c (expand_call_inline): Do not shadow var.
1128 2017-02-28  Richard Biener  <rguenther@suse.de>
1130         PR tree-optimization/79723
1131         * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): Preserve
1132         address-space properly.
1134 2017-02-28  Thomas Schwinge  <thomas@codesourcery.com>
1136         * doc/optinfo.texi (Optimization groups): Fix option used for
1137         OPTGROUP_ALL.
1138         * doc/invoke.texi (-fopt-info): Document "omp".
1139         * dumpfile.h: Sort OPTGROUP_OMP before OPTGROUP_VEC.
1140         (OPTGROUP_ALL): Add OPTGROUP_OMP.
1141         * hsa-gen.c (pass_data_gen_hsail): Use OPTGROUP_OMP.
1142         * ipa-hsa.c (pass_data_ipa_hsa): Likewise.
1143         * omp-simd-clone.c (pass_data_omp_simd_clone): Likewise.
1145         * dumpfile.h (OPTGROUP_OPENMP): Rename to OPTGROUP_OMP.  Adjust
1146         all users.
1147         * dumpfile.c (optgroup_options): Instead of "openmp", associate
1148         OPTGROUP_OMP with "omp".
1150 2017-02-27  Pat Haugen  <pthaugen@us.ibm.com>
1152         PR target/79544
1153         * config/rs6000/rs6000-c.c (struct altivec_builtin_types): Use VSRAD
1154         for arithmetic shift of unsigned V2DI.
1156 2017-02-27  Claudiu Zissulescu  <claziss@synopsys.com>
1158         * config.gcc (arc*-): Clean up, use arc/big.h, arc/elf.h, and
1159         arc/linux.h headers.
1160         * config/arc/arc.h (TARGET_OS_CPP_BUILTINS): Remove.
1161         (LINK_SPEC): Likewise.
1162         (ARC_TLS_EXTRA_START_SPEC): Likewise.
1163         (EXTRA_SPECS): Likewise.
1164         (STARTFILE_SPEC): Likewise.
1165         (ENDFILE_SPEC): Likewise.
1166         (LIB_SPEC): Likewise.
1167         (TARGET_SDATA_DEFAULT): Likewise.
1168         (TARGET_MMEDIUM_CALLS_DEFAULT): Likewise.
1169         (MULTILIB_DEFAULTS): Likewise.
1170         (DWARF2_UNWIND_INFO): Likewise.
1171         * config/arc/big.h: New file.
1172         * config/arc/elf.h: Likewise.
1173         * config/arc/linux.h: Likewise.
1174         * config/arc/t-uClibc: Remove.
1176 2017-02-27  Bin Cheng  <bin.cheng@arm.com>
1178         PR tree-optimization/77536
1179         * tree-ssa-loop-manip.c (niter_for_unrolled_loop): New function.
1180         (tree_transform_and_unroll_loop): Use above function to compute the
1181         estimated niter of unrolled loop and use it when scaling profile.
1182         Also use count info rather than frequency if it's non-zero.
1183         * tree-ssa-loop-manip.h niter_for_unrolled_loop(): New declaration.
1184         * tree-vect-loop.c (scale_profile_for_vect_loop): New function.
1185         (vect_transform_loop): Call above function.
1187 2017-02-27  Richard Biener  <rguenther@suse.de>
1189         PR tree-optimization/45397
1190         * tree-ssa-pre.c (eliminate_insert): Handle BIT_AND_EXPR.
1191         * tree-ssa-sccvn.c (valueized_wider_op): New helper.
1192         (visit_nary_op): Add pattern matching for CSEing sign-changed
1193         or truncated operations with wider ones.
1195 2017-02-27  Richard Biener  <rguenther@suse.de>
1197         PR tree-optimization/79690
1198         * tree-vect-stmts.c (vectorizable_store): Use vector type
1199         built from the DR with address-space.
1201 2017-02-26  Gerald Pfeifer  <gerald@pfeifer.com>
1203         * doc/invoke.texi (Optimize Options): Refine the description
1204         of asan-use-after-return.
1206 2017-02-25  Alan Modra  <amodra@gmail.com>
1208         PR rtl-optimization/79584
1209         * lra-constraints.c (base_to_reg): Reload ad->base, the entire
1210         base, not ad->base_term, the reg within base.  Remove assertion
1211         that ad->base == ad->base_term.  Replace gen_int_mode using
1212         bogus mode with const0_rtx.
1214 2017-02-25  Jakub Jelinek  <jakub@redhat.com>
1216         PR middle-end/79396
1217         * tree-eh.c (operation_could_trap_p, stmt_could_throw_1_p): Handle
1218         FMA_EXPR like tcc_binary or tcc_unary.
1220         * tree-ssa-loop-niter.c (number_of_iterations_exit): Simplify warning.
1222         PR debug/77589
1223         * dwarf2out.c (struct dw_loc_list_struct): Add noted_variable_value
1224         bitfield.
1225         (size_of_loc_descr): Handle DW_OP_GNU_variable_value.
1226         (output_loc_operands): Handle DW_OP_call_ref and
1227         DW_OP_GNU_variable_value.
1228         (struct variable_value_struct): New type.
1229         (struct variable_value_hasher): Likewise.
1230         (variable_value_hash): New variable.
1231         (string_types): Remove.
1232         (copy_loc_descr): New function.
1233         (add_loc_descr_to_each): Clarify comment.  Use copy_loc_descr.
1234         (prepend_loc_descr_to_each): New function.
1235         (add_loc_list): Fix comment typo.  Use prepend_loc_descr_to_each
1236         instead of add_loc_descr_to_each if the first argument is single
1237         location list and the second has multiple.
1238         (resolve_args_picking_1): Handle DW_OP_GNU_variable_value.
1239         (loc_list_from_tree_1): For early_dwarf, emit DW_OP_GNU_variable_value
1240         when looking for variable value which doesn't have other location info.
1241         (loc_list_from_tree): Formatting fix.
1242         (gen_array_type_die): Simplify DW_AT_string_length handling.
1243         (adjust_string_types): Remove.
1244         (gen_subprogram_die): Don't call adjust_string_types nor test/set
1245         string_types.  Call resolve_variable_values.
1246         (prune_unused_types_walk_loc_descr): Handle DW_OP_GNU_variable_value.
1247         (resolve_addr_in_expr): Likewise.  Add A argument.
1248         (copy_deref_exprloc): Remove deref argument.  Adjust for the
1249         original expression being DW_OP_GNU_variable_value with optionally
1250         DW_OP_stack_value after it instead of DW_OP_call4 with DW_OP_deref
1251         optionally after it.
1252         (optimize_string_length): Rework for DW_OP_GNU_variable_value.
1253         (resolve_addr): Adjust optimize_string_length and resolve_addr_in_expr
1254         callers.  Set remove_AT_byte_size if removing DW_AT_string_length.
1255         (variable_value_hasher::hash, variable_value_hasher::equal): New
1256         methods.
1257         (resolve_variable_value_in_expr, resolve_variable_value,
1258         resolve_variable_values, note_variable_value_in_expr,
1259         note_variable_value): New functions.
1260         (dwarf2out_early_finish): Call note_variable_value on all toplevel
1261         DIEs.
1263 2017-02-24  Jakub Jelinek  <jakub@redhat.com>
1265         PR c/79677
1266         * opts.h (handle_generated_option): Add GENERATED_P argument.
1267         * opts-common.c (handle_option): Adjust function comment.
1268         (handle_generated_option): Add GENERATED_P argument, pass it to
1269         handle_option.
1270         (control_warning_option): Pass false to handle_generated_option
1271         GENERATED_P.
1272         * opts.c (maybe_default_option): Pass true to handle_generated_option
1273         GENERATED_P.
1274         * optc-gen.awk: Likewise.
1276 2017-02-24  Segher Boessenkool  <segher@kernel.crashing.org>
1278         * config/sh/sh.md (tstsi_t): If operands[0] is a SUBREG instead of
1279         a REG, look at the REG it is a SUBREG of.
1280         (splitter for cmpeqsi_t): Ditto.
1282 2017-02-24  Segher Boessenkool  <segher@kernel.crashing.org>
1284         * config/pa/pa.c (pa_combine_instructions): Do not share RTL.  Make
1285         the special USEs with the pattern of the insn, not the insn itself.
1287 2017-02-24  Matthew Fortune  <matthew.fortune@imgtec.com>
1289         PR target/79473
1290         * doc/invoke.texi: Document -mload-store-pairs.
1292 2017-02-24  Segher Boessenkool  <segher@kernel.crashing.org>
1293             Sandra Loosemore  <sandra@codesourcery.com>
1295         * config/nios2/nios2.c (nios2_simple_const_p): Returns false if the
1296         argument isn't a CONST_INT.
1297         (nios2_alternate_compare_const): Assert op is a CONST_INT.
1298         (nios2_valid_compare_const_p): Assert op is a CONST_INT.
1299         (nios2_validate_compare): Bypass alternate compare logic if *op2
1300         is not a CONST_INT.
1301         (ldstwm_operation_p): Return false if first_base is not a REG or
1302         if first_offset is not a CONST_INT.
1304 2017-02-24  Segher Boessenkool  <segher@kernel.crashing.org>
1306         * config/cris/cris.md: Use correct operand in a define_peephole2.
1308 2017-02-24  Segher Boessenkool  <segher@kernel.crashing.org>
1310         * config/c6x/c6x.c (predicate_insn): Do not incorrectly share RTL.
1312 2017-02-24  Segher Boessenkool  <segher@kernel.crashing.org>
1314         * config/arc/arc.c (arc_ccfsm_advance): Only take the PATTERN of
1315         this_insn if it is an INSN or JUMP_INSN.
1316         (force_offsettable): Look at base, not at addr.
1317         * config/arc/predicates.md (brcc_nolimm_operator): Don't call INTVAL
1318         on things that aren't necessarily CONST_INTs.
1320 2017-02-24  Uros Bizjak  <ubizjak@gmail.com>
1322         * doc/invoke.texi (x86 Options, -mfpmath=sse): Mention that
1323         -mfpmath=sse is the default also for x86-32 targets with SSE2
1324         instruction set when @option{-ffast-math} is enabled
1326 2017-02-24  Jeff Law  <law@redhat.com>
1328         PR rtl-optimizatoin/79286
1329         * ira.c (update_equiv_regs): Drop may_trap_p exception to
1330         dominance test.
1332 2017-02-24  Richard Biener  <rguenther@suse.de>
1334         PR tree-optimization/79389
1335         * gimple-ssa-split-paths.c (is_feasible_trace): Properly skip
1336         debug insns.
1338 2017-02-24  Aldy Hernandez  <aldyh@redhat.com>
1340         * tree-ssa-loop-niter.c (number_of_iterations_exit): Update
1341         function comment to reflect reality.
1342         (loop_exits_before_overflow): Fix typo in function description.
1344 2017-02-24  Richard Biener  <rguenther@suse.de>
1346         PR tree-optimization/79389
1347         * gimple-ssa-split-paths.c (is_feasible_trace): Verify more
1348         properly that a threading opportunity exists.  Detect conditional
1349         copy/constant propagation opportunities.
1351 2017-02-23  Eric Botcazou  <ebotcazou@adacore.com>
1353         * config/visium/visium.md (type): Add trap.
1354         (b): New mode attribute.
1355         (*btst): Rename into...
1356         (*btst<mode>): ...this and adjust.
1357         (*cbranchsi4_btst_insn): Rename into...
1358         (*cbranch<mode>4_btst_insn): ...this and adjust.
1359         (trap): New define_insn.
1361 2017-02-23  Jakub Jelinek  <jakub@redhat.com>
1363         PR tree-optimization/79389
1364         * ifcvt.c (struct noce_if_info): Add rev_cond field.
1365         (noce_reversed_cond_code): New function.
1366         (noce_emit_store_flag): Use rev_cond if non-NULL instead of
1367         reversed_comparison_code.  Formatting fix.
1368         (noce_try_store_flag): Test rev_cond != NULL in addition to
1369         reversed_comparison_code.
1370         (noce_try_store_flag_constants): Likewise.
1371         (noce_try_store_flag_mask): Likewise.
1372         (noce_try_addcc): Use rev_cond if non-NULL instead of
1373         reversed_comparison_code.
1374         (noce_try_cmove_arith): Likewise.  Formatting fixes.
1375         (noce_try_minmax, noce_try_abs): Clear rev_cond.
1376         (noce_find_if_block): Initialize rev_cond.
1377         (find_cond_trap): Call noce_get_condition with then_bb == trap_bb
1378         instead of false as last argument never attempt to reverse it
1379         afterwards.
1381 2017-02-23  Bin Cheng  <bin.cheng@arm.com>
1383         PR tree-optimization/79663
1384         * tree-predcom.c (combine_chains): Process refs in reverse order
1385         only for ZERO length chains, and add explaining comment.
1387 2017-02-23  Jeff Law  <law@redhat.com>
1389         PR tree-optimization/79578
1390         * tree-ssa-dse.c (clear_bytes_written_by): Use OEP_ADDRESS_OF
1391         in call to operand_equal_p.
1393 2017-01-23  Dominique d'Humieres  <dominiq@lps.ens.fr>
1395         PR target/71017
1396         * config/i386/cpuid.h: Fix another undefined behavior.
1398 2017-02-23  Richard Biener  <rguenther@suse.de>
1400         PR tree-optimization/79683
1401         * tree-vect-stmts.c (vect_analyze_stmt): Do not overwrite
1402         vector types for data-refs.
1404 2017-02-23  Martin Liska  <mliska@suse.cz>
1406         * params.def (PARAM_MIN_NONDEBUG_INSN_UID): Change default to 0.
1408 2017-02-23  Jakub Jelinek  <jakub@redhat.com>
1410         PR middle-end/79665
1411         * internal-fn.c (get_range_pos_neg): Moved to ...
1412         * tree.c (get_range_pos_neg): ... here.  No longer static.
1413         * tree.h (get_range_pos_neg): New prototype.
1414         * expr.c (expand_expr_real_2) <case TRUNC_DIV_EXPR>: If both arguments
1415         are known to be in between 0 and signed maximum inclusive, try to
1416         expand both unsigned and signed divmod and use the cheaper one from
1417         those.
1419 2017-02-22  Jeff Law  <law@redhat.com>
1421         PR tree-optimization/79578
1422         * tree-ssa-dse.c (clear_bytes_written_by): Use operand_equal_p
1423         to compare base operands.
1425 2017-02-22  Segher Boessenkool  <segher@kernel.crashing.org>
1427         PR target/79211
1428         * config/rs6000/rs6000.md (*fsel<SFDF:mode><SFDF2:mode>4): Use
1429         gpc_reg_operand instead of fpr_reg_operand.
1431 2017-02-22  Sameera Deshpande  <sameera.deshpande@imgtec.com>
1433         * config/mips/mips.c (mips_return_in_memory): Force FP
1434         vector types to be returned in memory for o32 ABI.
1436 2017-02-22  Jakub Jelinek  <jakub@redhat.com>
1438         * dwarf2out.c (gen_variable_die): For -gdwarf-5, use DW_TAG_variable
1439         instead of DW_TAG_member for static data member declarations and don't
1440         set no_linkage_name for static inline data members.
1441         (gen_member_die): For -gdwarf-5 don't change DW_TAG_variable
1442         to DW_TAG_member.
1444 2017-02-22  Martin Liska  <mliska@suse.cz>
1446         * doc/invoke.texi: Replace inequality signs with square brackets
1447         for -Wnormalized.
1449 2017-02-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1451         PR tree-optimization/68644
1452         * gcc.dg/tree-ssa/ivopts-lt-2.c: Skip for powerpc*-*-*.
1454 2017-02-22  Matthew Fortune  <matthew.fortune@imgtec.com>
1456         PR target/78660
1457         * lra-constraints.c (simplify_operand_subreg): Handle
1458         WORD_REGISTER_OPERATIONS targets.
1460 2017-02-22  Jakub Jelinek  <jakub@redhat.com>
1462         PR target/70465
1463         * reg-stack.c (emit_swap_insn): Treat (float_extend:?F (mem:?F))
1464         and (const_double:?F) like (mem:?F) for the purpose of fxch %st(1)
1465         elimination by swapping fld*.
1467 2017-02-22  Richard Biener  <rguenther@suse.de>
1469         PR tree-optimization/79673
1470         * tree-ssa-pre.c (compute_avail): Use wide_int_to_tree to
1471         convert the [TARGET_]MEM_REF offset INTEGER_CST, scrapping off
1472         irrelevant address-space qualifiers and avoiding a
1473         ADDR_SPACE_CONVERT_EXPR from fold_convert.
1475 2017-02-22  Richard Biener  <rguenther@suse.de>
1477         PR tree-optimization/79666
1478         * tree-vrp.c (extract_range_from_binary_expr_1): Make sure
1479         to not symbolically negate if that may introduce undefined
1480         overflow.
1482 2017-02-22  Martin Liska  <mliska@suse.cz>
1484         PR lto/79587
1485         * data-streamer-in.c (streamer_read_gcov_count): Remove assert.
1486         * data-streamer-out.c (streamer_write_gcov_count_stream):
1487         Likewise.
1488         * value-prof.c (stream_out_histogram_value): Make assert more
1489         precise based on type of counter.
1491 2017-02-21  Uros Bizjak  <ubizjak@gmail.com>
1493         PR target/79593
1494         * config/i386/i386.md (standard_x87sse_constant_load splitter):
1495         Use nonimmediate_operand instead of memory_operand for operand 1.
1496         (float-extend standard_x87sse_constant_load splitter): Ditto.
1498 2017-02-21 Jeff Law  <law@redhat.com>
1500         PR tree-optimization/79621
1501         * gimple-ssa-isolate-paths.c (find_implicit_erroneous_behavior): Ignore
1502         blocks with edges to themselves.
1504 2017-02-21  Jakub Jelinek  <jakub@redhat.com>
1506         PR target/79633
1507         * tree-chkp-opt.c (chkp_optimize_string_function_calls): Use
1508         is_gimple_call instead of comparing gimple_code with GIMPLE_CALL.
1509         Use gimple_call_builtin_p.
1511         PR target/79570
1512         * sel-sched.c (moveup_expr_cached): Don't call sel_bb_head
1513         on temporarily removed DEBUG_INSNs.
1515         PR tree-optimization/79649
1516         * tree-loop-distribution.c (classify_partition): Give up on
1517         non-generic address space loads/stores.
1519 2017-02-21  Aldy Hernandez  <aldyh@redhat.com>
1521         * doc/loop.texi (Loop manipulation): Remove nonexistent
1522         tree_ssa_loop_version from the documentation.
1523         * cfgloopmanip.c (loop_version): Document CONDITION_BB argument.
1525 2017-02-21  Jakub Jelinek  <jakub@redhat.com>
1527         PR target/79494
1528         * config/i386/i386.c (ix86_expand_split_stack_prologue): Call
1529         make_reg_eh_region_note_nothrow_nononlocal on call_insn.
1530         * config/rs6000/rs6000.c: Include except.h.
1531         (rs6000_expand_split_stack_prologue): Call
1532         make_reg_eh_region_note_nothrow_nononlocal on the call insn.
1534 2017-02-21  Martin Jambor  <mjambor@suse.cz>
1536         PR lto/79579
1537         * ipa-prop.c (ipa_prop_write_jump_functions): Bail out if no edges
1538         have been analyzed.
1540 2017-02-21  Martin Jambor  <mjambor@suse.cz>
1542         * common.opt (-fipa-cp-alignment): Mark as ignored and preserved
1543         for backward compatibility only.
1544         * doc/invoke.texi (Option Summary): Remove all references to
1545         -fipa-cp-alignment.
1547 2017-02-21  Matthew Fortune  <matthew.fortune@imgtec.com>
1549         PR target/78660
1550         Revert:
1551         2017-02-20  Matthew Fortune  <matthew.fortune@imgtec.com>
1553         * lra-constraints.c (curr_insn_transform): Handle
1554         WORD_REGISTER_OPERATIONS requirements when reloading SUBREGs.
1556 2017-02-21  Martin Liska  <mliska@suse.cz>
1558         * config/i386/i386.opt: Replace -masm-dialect with -masm.
1560 2017-02-21  Thomas Schwinge  <thomas@codesourcery.com>
1562         PR translation/79638
1563         * config/nvptx/nvptx.c (ENTRY_TEMPLATE): Single out "%ntid.y".
1565 2017-02-21  Eric Botcazou  <ebotcazou@adacore.com>
1567         PR ada/67205
1568         * config/arm/arm.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define.
1569         (arm_function_ok_for_sibcall): Return false for an indirect call by
1570         descriptor if all the argument registers are used.
1571         (arm_relayout_function): Use FUNCTION_ALIGNMENT macro to adjust the
1572         alignment of the function.
1574 2017-02-21  Jakub Jelinek  <jakub@redhat.com>
1576         PR tree-optimization/61441
1577         * simplify-rtx.c (simplify_const_unary_operation): For
1578         -fsignaling-nans and sNaN operand, return NULL_RTX rather than
1579         the sNaN unmodified.
1581 2017-02-20  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1583         * Makefile.in (BUILD_SYSTEM_HEADER_DIR): New make variabe.
1584         (LIMITS_H_TEST, if_multiarch, stmp-fixinc): Use BUILD_SYSTEM_HEADER_DIR
1585         instead of SYSTEM_HEADER_DIR.
1587 2017-02-20  Gerald Pfeifer  <gerald@pfeifer.com>
1588             Martin LiÅ¡ka  <mliska@suse.cz>
1590         * doc/invoke.texi (use-after-scope-direct-emission-threshold):
1591         Fix typos and grammar, use active voice, and clarify.
1593 2017-02-20  Marek Polacek  <polacek@redhat.com>
1595         PR middle-end/79537
1596         * gimplify.c (gimplify_expr): Handle unused *&&L;.
1598         PR sanitizer/79558
1599         * ubsan.c (ubsan_type_descriptor): Check if TYPE_MAX_VALUE is null.
1601 2017-02-20  Jakub Jelinek  <jakub@redhat.com>
1603         PR target/79568
1604         * config/i386/i386.c (ix86_expand_builtin): Handle
1605         OPTION_MASK_ISA_AVX512VL and OPTION_MASK_ISA_64BIT in
1606         ix86_builtins_isa[fcode].isa as a requirement of those
1607         flags and any other flag in the bitmask.
1608         (ix86_init_mmx_sse_builtins): Use 0 instead of
1609         ~OPTION_MASK_ISA_64BIT as mask.
1610         * config/i386/i386-builtin.def (__builtin_ia32_rdtsc,
1611         __builtin_ia32_rdtscp, __builtin_ia32_pause, __builtin_ia32_bsrsi,
1612         __builtin_ia32_rdpmc, __builtin_ia32_rolqi, __builtin_ia32_rolhi,
1613         __builtin_ia32_rorqi, __builtin_ia32_rorhi): Likewise.
1615 2017-02-20  Matthew Fortune  <matthew.fortune@imgtec.com>
1617         PR target/78012
1618         * lra-constraints.c (split_reg): Check requested split mode
1619         is supported by the register.
1621 2017-02-20  Matthew Fortune  <matthew.fortune@imgtec.com>
1623         * lra-constraints.c (simplify_operand_subreg): Remove early
1624         return false.
1626 2017-02-20  Matthew Fortune  <matthew.fortune@imgtec.com>
1628         PR target/78660
1629         * lra-constraints.c (curr_insn_transform): Tighten condition
1630         for converting SUBREG reloads from OP_OUT to OP_INOUT.
1632 2017-02-20  Matthew Fortune  <matthew.fortune@imgtec.com>
1634         PR target/78660
1635         * lra-constraints.c (curr_insn_transform): Handle
1636         WORD_REGISTER_OPERATIONS requirements when reloading SUBREGs.
1638 2017-02-19  Uros Bizjak  <ubizjak@gmail.com>
1640         Revert:
1641         2016-05-30  Uros Bizjak  <ubizjak@gmail.com>
1643         * config/i386/sync.md (mfence_nosse): Use "lock orl $0, -4(%esp)".
1645 2017-02-19  Jonathan Wakely  <jwakely@redhat.com>
1647         PR c++/69523
1648         * doc/invoke.texi (C++ Dialect Options) [-Wliteral-suffix]: Update
1649         description.
1651 2017-02-19  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
1653         * gimple-pretty-print.c (dump_ternary_rhs): Adjust gimple dump format
1654         for FMA_EXPR.
1656 2017-02-18  Jakub Jelinek  <jakub@redhat.com>
1658         * final.c (last_columnnum, override_columnnum): New variables.
1659         (final_start_function): Set last_columnnum, pass it to begin_prologue
1660         hook and pass 0 to dwarf2out_begin_prologue.
1661         (final_scan_insn): Update override_columnnum.  Pass last_columnnum
1662         to source_line debug hook.
1663         (notice_source_line): Compute last_columnnum and for debug_column_info
1664         return true on column changes.
1665         * debug.h (struct gcc_debug_hooks): Add column argument to
1666         source_line and begin_prologue hooks.
1667         (debug_nothing_int_charstar_int_bool): Remove prototype.
1668         (debug_nothing_int_int_charstar,
1669         debug_nothing_int_int_charstar_int_bool): New prototypes.
1670         (dwarf2out_begin_prologue): Add column argument.
1671         * debug.c (do_nothing_debug_hooks): Adjust source_line and
1672         begin_prologue hooks.
1673         (debug_nothing_int_charstar_int_bool): Remove.
1674         (debug_nothing_int_int_charstar,
1675         debug_nothing_int_int_charstar_int_bool): New functions.
1676         * dwarf2out.c (dwarf2out_begin_prologue): Add column argument, pass it
1677         through to dwarf2out_source_line.
1678         (dwarf2_lineno_debug_hooks): Adjust begin_prologue hook.
1679         (dwarf2out_source_line): Add column argument, emit it if requested.
1680         * sdbout.c (sdbout_source_line, sdbout_begin_prologue): Add column
1681         arguments.
1682         * xcoffout.h (xcoffout_begin_prologue, xcoffout_source_line): Likewise.
1683         * xcoffout.c (xcoffout_begin_prologue, xcoffout_source_line): Likewise.
1684         * vmsdbgout.c (vmsdbgout_begin_prologue): Add column argument, pass it
1685         through to dwarf2out_begin_prologue.
1686         (vmsdbgout_source_line): Add column argument, pass it through to
1687         dwarf2out_source_line.
1688         * dbxout.c (dbxout_begin_prologue): Add column argument, adjust
1689         dbxout_source_line caller.
1690         (dbxout_source_line): Add column argument.
1692         * common.opt (gno-column-info, gcolumn-info): New options.
1693         * dwarf2out.c (dwarf2_lineno_debug_hooks): Formatting fix.
1694         (check_die): Also test for multiple DW_AT_decl_column attributes.
1695         (add_src_coords_attributes, dwarf2out_imported_module_or_decl_1): Add
1696         DW_AT_decl_column if requested.
1697         (gen_subprogram_die): Compare and/or add also DW_AT_decl_column
1698         if requested.
1699         (gen_variable_die): Likewise.
1700         (add_call_src_coords_attributes): Add DW_AT_call_column if requested.
1701         * doc/invoke.texi (-gcolumn-info, -gno-column-info): Document.
1703         PR target/79569
1704         * config/i386/i386.opt (m3dnowa): Replace Undocumented with Report.
1705         * common/config/i386/i386-common.c (OPTION_MASK_ISA_3DNOW_A_SET): Define.
1706         (ix86_handle_option): Handle OPT_m3dnowa.
1707         * doc/invoke.texi (-m3dnowa): Document.
1708         * doc/extend.texi (__builtin_ia32_pmulhuw, __builtin_ia32_pf2iw): Use
1709         -m3dnowa instead of -m3dnow -march=athlon.
1711         PR target/79559
1712         * config/i386/i386.c (ix86_print_operand): Use output_operand_lossage
1713         instead of gcc_assert for K, r and R code checks.  Formatting fixes.
1715 2017-02-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1717         PR target/79261
1718         * config/rs6000/rs6000.c (rs6000_expand_ternop_builtin): Add
1719         support for CODE_FOR_vsx_xxpermdi_v2d[fi]_be.
1720         * config/rs6000/rs6000.md (reload_gpr_from_vsx<mode>): Call
1721         generator for vsx_xxpermdi_<mode>_be.
1722         * config/rs6000/vsx.md (vsx_xxpermdi_<mode>): Remove logic to
1723         force big-endian semantics.
1724         (vsx_xxpermdi_<mode>_be): New define_expand with same
1725         implementation as previous version of vsx_xxpermdi_<mode>.
1727 2017-02-17  Jakub Jelinek  <jakub@redhat.com>
1729         PR tree-optimization/79327
1730         * gimple-ssa-sprintf.c (format_integer): Remove likely_adjust
1731         variable, its initialization and use.
1733 2017-02-17  Julia Koval  <julia.koval@intel.com>
1735         * common/config/i386/i386-common.c (OPTION_MASK_ISA_RDPID_SET): New.
1736         (OPTION_MASK_ISA_PKU_UNSET): New.
1737         (ix86_handle_option): Handle -mrdpid.
1738         * config/i386/cpuid.h (bit_RDPID): New.
1739         * config/i386/driver-i386.c (host_detect_local_cpu):
1740         Detect RDPID feature.
1741         * config/i386/i386-builtin.def (__builtin_ia32_rdpid): New.
1742         * config/i386/i386-c.c (ix86_target_macros_internal):
1743         Handle RDPID flag.
1744         * config/i386/i386.c (ix86_target_string): Add -mrdpid to isa2_opts.
1745         (ix86_valid_target_attribute_inner_p): Add "rdpid".
1746         (ix86_expand_builtin): Handle IX86_BUILTIN_RDPID.
1747         * config/i386/i386.h (TARGET_RDPID, TARGET_RDPID_P): New.
1748         * config/i386/i386.md (define_insn "rdpid"): New.
1749         * config/i386/i386.opt Add -mrdpid.
1750         * config/i386/immintrin.h (_rdpid_u32): New.
1752 2017-02-17  Vladimir Makarov  <vmakarov@redhat.com>
1754         PR rtl-optimization/79541
1755         * lra-constraints.c (curr_insn_transform): Remove wrong asm insn
1756         instead of transforming it into USE.
1758 2017-02-17  Segher Boessenkool  <segher@kernel.crashing.org>
1760         * config/rs6000/rs6000.md (extendsfdf2): Remove default arguments.
1761         If HONOR_SNANS (SFmode) force the input to a register.
1762         (*extendsfdf2_fpr): Add !HONOR_SNANS (SFmode) condition.
1763         (*extendsfdf2_snan): New pattern, used when using SNaNs; it generates
1764         an frsp or similar insn.
1766 2017-02-17  Martin Liska  <mliska@suse.cz>
1768         PR rtl-optimization/79577
1769         * params.def (selsched-max-sched-times): Increase minimum to 1.
1771 2017-02-17  Martin Liska  <mliska@suse.cz>
1773         PR rtl-optimization/79574
1774         * gcse.c (want_to_gcse_p): Prevent integer overflow.
1776 2017-02-17  Martin Liska  <mliska@suse.cz>
1778         PR tree-optimization/79529
1779         * tree-ssa-loop-unswitch.c (is_maybe_undefined): Use
1780         ssa_defined_default_def_p to handle cases which are implicitly
1781         defined.
1782         * tree-ssa.c (ssa_defined_default_def_p): New function.
1783         (ssa_undefined_value_p): Use ssa_defined_default_def_p to handle cases
1784         which are implicitly defined.
1785         * tree-ssa.h (ssa_defined_default_def_p): Declare.
1787 2017-02-17  Richard Biener  <rguenther@suse.de>
1789         PR middle-end/79576
1790         * params.def (max-ssa-name-query-depth): Limit to 10.
1792 2017-02-17  Richard Biener  <rguenther@suse.de>
1794         PR tree-optimization/79552
1795         * tree-ssa-structalias.c (visit_loadstore): Properly verify
1796         default defs.
1798 2017-02-17  Richard Biener  <rguenther@suse.de>
1800         PR bootstrap/79567
1801         * genmatch.c (output_line_directive): Handle DIR_SEPARATOR_2.
1803 2017-02-17  Marek Polacek  <polacek@redhat.com>
1805         PR middle-end/79536
1806         * fold-const.c (fold_negate_expr_1): Renamed from fold_negate_expr.
1807         (fold_negate_expr): New wrapper.
1809 2017-02-16  Sandra Loosemore  <sandra@codesourcery.com>
1811         * doc/invoke.texi (C++ Dialect Options) [-Wno-non-template-friend]: 
1812         Correct terminology and de-emphasize pre-standard behavior.
1814 2017-02-16  Alan Modra  <amodra@gmail.com>
1816         PR rtl-optimization/79286
1817         * ira.c (def_dominates_uses): New function.
1818         (update_equiv_regs): Don't create an equivalence for insns that
1819         may trap where the register def does not dominate the use.
1821 2017-02-16  Vladimir Makarov  <vmakarov@redhat.com>
1823         PR rtl-optimization/78127
1824         * lra.c (lra): Call lra_eliminate before finish the loop after
1825         lra_constraint.
1827 2017-02-16  Richard Biener  <rguenther@suse.de>
1829         * graphite.h: Do not include isl/isl_val_gmp.h, instead include
1830         isl/isl_val.h.
1831         * graphite-isl-ast-to-gimple.c (gmp_cst_to_tree): Remove.
1832         (gcc_expression_from_isl_expr_int): Use generic isl_val interface.
1833         * graphite-sese-to-poly.c: Do not include isl/isl_val_gmp.h.
1834         (isl_val_int_from_wi): New function.
1835         (extract_affine_gmp): Rename to ...
1836         (extract_affine_wi): ... this, take a widest_int.
1837         (extract_affine_int): Just wrap extract_affine_wi.
1838         (add_param_constraints): Use isl_val_int_from_wi.
1839         (add_loop_constraints): Likewise, and extract_affine_wi.
1841 2017-02-15 Jeff Law  <law@redhat.com>
1843         PR middle-end/79521
1844         * ira-costs.c (scan_one_insn): Check have_regs_of_mode before calling
1845         ira_init_register_move_cost_if_necessary.
1847 2017-02-15  Martin Sebor  <msebor@redhat.com>
1849         PR middle-end/32003
1850         * doc/invoke.texi (-fdump-final-insns): Replace option accidentally
1851         removed in a prior commit.
1853 2017-02-15  Bin Cheng  <bin.cheng@arm.com>
1855         PR tree-optimization/79347
1856         * tree-vect-loop-manip.c (vect_do_peeling): Maintain profile
1857         counters during peeling.
1859 2017-02-15  Thomas Schwinge  <thomas@codesourcery.com>
1861         * Makefile.in (site.exp): Remove "set ISLVER".
1863 2017-02-15  Jakub Jelinek  <jakub@redhat.com>
1865         PR target/79487
1866         * real.c (real_from_integer): Call real_convert even for decimal.
1868 2017-02-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
1870         PR target/79421
1871         * config/s390/s390.c: define TARGET_CUSTOM_FUNCTION_DESCRIPTORS.
1873 2017-02-14  Andrew Pinski  <apinski@cavium.com>
1875         * config/aarch64/aarch64-cores.def (thunderx2t99): Move to under 'C"
1876         cores and change the partno/implementer to be correct.
1877         (thunderx2t99p1): New core which replaces thunderx2t99 and still has
1878         the 'B" as the implementer.
1879         * config/aarch64/aarch64-tune.md: Regenerate.
1881 2017-02-14  Carl Love  <cel@us.ibm.com>
1883         * config/rs6000/rs6000.c: Add case statement entry to make the
1884         xvcvuxdsp built-in argument unsigned.
1885         * config/rs6000/vsx.md: Fix the source and return operand types so they
1886         match the instruction definitions from the ISA document.  Fix typo
1887         in the instruction generation for the (define_insn "vsx_xvcvuxdsp"
1888         statement.
1890 2017-02-14  Vladimir Makarov  <vmakarov@redhat.com>
1892         PR target/79282
1893         * lra-int.h (struct lra_operand_data, struct lra_insn_reg): Add
1894         member early_clobber_alts.
1895         * lra-lives.c (reg_early_clobber_p): New.
1896         (process_bb_lives): Use it.
1897         * lra.c (new_insn_reg): New arg early_clobber_alts.  Use it.
1898         (debug_operand_data): Initialize early_clobber_alts.
1899         (setup_operand_alternative): Set up early_clobber_alts.
1900         (collect_non_operand_hard_regs): Ditto.  Pass early clobber
1901         alternatives to new_insn_reg.
1902         (add_regs_to_insn_regno_info): Add arg early_clobber_alts.  Use
1903         it.
1904         (lra_update_insn_regno_info): Pass the new arg.
1906 2017-02-14  Jakub Jelinek  <jakub@redhat.com>
1908         PR middle-end/79505
1909         * omp-offload.c (free_oacc_loop): Release loop->ifns vector.
1910         (new_oacc_loop_raw): Don't clear already cleared fields.
1912         PR target/79481
1913         * config/i386/avx512pfintrin.h (_mm512_prefetch_i32gather_pd,
1914         _mm512_prefetch_i32gather_ps, _mm512_prefetch_i64gather_pd,
1915         _mm512_prefetch_i64gather_ps): New inline functions and macros.
1917 2017-02-14  Uros Bizjak  <ubizjak@gmail.com>
1919         PR target/79495
1920         * config/i386/i386.md (*movxf_internal): Add (o,rC) alternative.
1922 2017-02-14  H.J. Lu  <hongjiu.lu@intel.com>
1924         PR target/79498
1925         * config/i386/i386.c (timode_scalar_chain::convert_insn): Insert
1926         the extra instruction to the right place to store 128-bit constant
1927         when needed.
1929 2017-02-14  Martin Sebor  <msebor@redhat.com>
1931         PR middle-end/79448
1932         * gimple-ssa-sprintf.c (format_directive): Avoid issuing INT_MAX
1933           warning for strings of unknown length.
1935 2017-02-13  Segher Boessenkool  <segher@kernel.crashing.org>
1937         * config.gcc (supported_defaults) [powerpc*-*-*]: Update.
1939 2017-02-14 Jeff Law  <law@redhat.com>
1941         PR target/79404
1942         * ira-costs.c (scan_one_insn): Initialize register move costs
1943         for pseudos seen in USE/CLOBBER insns.
1945         PR tree-optimization/79095
1946         * tree-vrp.c (extract_range_from_binary_expr_1): For EXACT_DIV_EXPR,
1947         if the numerator has the range ~[0,0] make the resultant range ~[0,0].
1948         (extract_range_from_binary_expr): For MINUS_EXPR with no derived range,
1949         if the operands are known to be not equal, then the resulting range
1950         is ~[0,0].
1951         (intersect_ranges): If the new range is ~[0,0] and the old range is
1952         wide, then prefer ~[0,0].
1953         * tree-vrp.c (overflow_comparison_p_1): New function.
1954         (overflow_comparison_p): New function.
1955         * tree-vrp.c (register_edge_assert_for_2): Register additional asserts
1956         if NAME is used in an overflow test.
1957         (vrp_evaluate_conditional_warnv_with_ops): If the ops represent an
1958         overflow check that can be expressed as an equality test, then adjust
1959         ops to be that equality test.
1961 2017-02-14  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
1963         * config/s390/s390-builtin-types.def: Remove flags argument.
1964         * config/s390/s390.c (s390_init_builtins): Likewise.
1966 2017-02-14  Martin Liska  <mliska@suse.cz>
1968         * tree-ssa-loop-unswitch.c (hoist_guard): Release get_loop_body
1969         vector.  Fix trailing white spaces.
1971 2017-02-14  James Greenhalgh  <james.greenhalgh@arm.com>
1973         * config/aarch64/aarch64.c (aarch64_simd_container_mode): Handle
1974         HFmode.
1976 2017-02-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1978         PR rtl-optimization/68664
1979         * config/arm/arm.c (arm_sched_can_speculate_insn):
1980         New function.  Declare prototype.
1981         (TARGET_SCHED_CAN_SPECULATE_INSN): Define.
1983 2017-02-14  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1985         PR rtl-optimization/68664
1986         * config/aarch64/aarch64.c (aarch64_sched_can_speculate_insn):
1987         New function.
1988         (TARGET_SCHED_CAN_SPECULATE_INSN): Define.
1990 2017-02-14  Amit Pawar  <amit.pawar@amd.com>
1992         * config/i386/i386.c (znver1_cost): Fix the alignment for function and
1993         max skip bytes for function, loop and jump.
1995 2017-02-14  Prathamesh Kulkarni  <prathamesh.kulkarni@linaro.org>
1997         * gimple-pretty-print.c (dump_unary_rhs): Adjust dump format for
1998         ABS_EXPR for gimple dump.
2000 2017-02-14  Jakub Jelinek  <jakub@redhat.com>
2002         PR target/79462
2003         * config/sh/sh.c (expand_cbranchdi4): Don't clear operands[4].
2005         PR tree-optimization/79408
2006         * tree-vrp.c (simplify_div_or_mod_using_ranges): Handle also the
2007         case when on TRUNC_MOD_EXPR op0 is INTEGER_CST.
2008         (simplify_stmt_using_ranges): Call simplify_div_or_mod_using_ranges
2009         also if rhs1 is INTEGER_CST.
2011 2017-02-14  Richard Biener  <rguenther@suse.de>
2013         PR middle-end/79432
2014         * tree-into-ssa.c (insert_phi_nodes): When the function can
2015         have abnormal edges rewrite SSA names with broken use-def
2016         dominance out of SSA and register them for PHI insertion.
2018 2017-02-13  Martin Sebor  <msebor@redhat.com>
2020         PR middle-end/79496
2021         * gimple-ssa-sprintf.c (pass_sprintf_length::handle_gimple_call): Avoid
2022         clearing info.nowrite flag when snprintf size argument is a range.
2024 2017-02-13  Jakub Jelinek  <jakub@redhat.com>
2026         * cprop.c (cprop_jump): Add missing space in string literal.
2027         * tree-ssa-structalias.c (rewrite_constraints): Likewise.
2028         (get_constraint_for_component_ref): Likewise.
2029         * df-core.c (df_worklist_dataflow_doublequeue): Likewise.
2030         * tree-outof-ssa.c (insert_partition_copy_on_edge): Likewise.
2031         * lra-constraints.c (process_alt_operands): Likewise.
2032         * ipa-inline.c (inline_small_functions): Likewise.
2033         * tree-ssa-sccvn.c (visit_reference_op_store): Likewise.
2034         * cgraph.c (cgraph_edge::redirect_call_stmt_to_callee): Likewise.
2035         * trans-mem.c (diagnose_tm_1_op): Likewise.
2036         * omp-grid.c (grid_find_single_omp_among_assignments): Likewise.
2037         (grid_parallel_clauses_gridifiable): Likewise.
2039         * config/nvptx/mkoffload.c (process): Add space in between
2040         , and %d.
2042         * config/i386/i386.h (REG_CLASS_NAMES): Add , in between
2043         "MOD4_SSE_REGS" and "ALL_REGS".
2045         * spellcheck.c (test_data): Add , in between "foo" and "food".
2047 2017-02-13  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>
2049         PR target/79449
2050         * config/rs6000/rs6000.c (expand_block_compare): Make sure runtime
2051         boundary crossing check and subsequent code generation agree.
2053 2017-02-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2055         * config/aarch64/aarch64.c (has_memory_op): Delete.
2056         (aarch64_madd_needs_nop): Use contains_mem_rtx_p instead of
2057         has_memory_op.
2059 2017-02-13  Jakub Jelinek  <jakub@redhat.com>
2061         PR rtl-optimization/79388
2062         PR rtl-optimization/79450
2063         * combine.c (distribute_notes): When removing TEM_INSN for which
2064         corresponding dest has last value recorded, invalidate that last
2065         value.
2067 2017-02-13  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2069         * config/arm/arm.c (arm_print_tune_info): Use ASM_COMMENT_START instead
2070         of explicit '@'.  Add missing assembly comment marker on branch costs
2071         printout.
2073 2017-02-13  Nathan Sidwell  <nathan@acm.org>
2075         * gengtype-lex.l (<in_struct>): Add '/'.
2077 2017-02-13  Martin Liska  <mliska@suse.cz>
2079         PR c/79471
2080         * calls.c (expand_call): Replace XALLOCAVEC with XCNEWVEC.
2082 2017-02-13  Richard Biener  <rguenther@suse.de>
2084         * configure.ac (HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS):
2085         Remove.
2086         * configure: Re-generate.
2087         * config.in: Likewise.
2088         * graphite-dependences.c: Simplify as if
2089         HAVE_ISL_OPTIONS_SET_SCHEDULE_SERIALIZE_SCCS was defined.
2090         * graphite-isl-ast-to-gimple.c: Likewise.
2091         * graphite-optimize-isl.c: Likewise.
2092         * graphite-poly.c: Likewise.
2093         * graphite-sese-to-poly.c: Likewise.
2094         * graphite.h: Likewise.
2095         * toplev.c: Include isl/version.h and use isl_version () for
2096         printing the ISL version.
2097         * doc/install.texi: Update ISL requirement.
2099 2017-02-12  Gerald Pfeifer  <gerald@pfeifer.com>
2101         * doc/standards.texi (Standards): Update reference to
2102         Objective-C 2.0.
2104 2017-02-12  Gerald Pfeifer  <gerald@pfeifer.com>
2105         
2106         * doc/extend.texi (Named Address Spaces): sourceware.org now
2107         defaults to https.
2108         * doc/install.texi (Binaries): Ditto.
2109         (Specific): Ditto.
2111 2017-02-11  Sandra Loosemore  <sandra@codesourcery.com>
2113         * doc/cpp.texi: Replace "stringify"/"stringification" with C 
2114         standard terminology "stringize"/"stringizing" throughout.
2115         * doc/cppinternals.texi: Likewise.
2117 2017-02-11  Sandra Loosemore  <sandra@codesourcery.com>
2119         * doc/extend.texi: Fix some spelling mistakes and typos.
2120         * doc/invoke.texi: Likewise.
2122 2017-02-11  Jan Hubicka  <hubicka@ucw.cz>
2124         PR ipa/79224
2125         * params.def (inline-min-speedup) Change from 10 to 8.
2127 2017-02-11  Jakub Jelinek  <jakub@redhat.com>
2129         * doc/invoke.texi (fopenmp): Bump OpenMP version from 4.0 to
2130         4.5.
2132 2017-02-11  Jan Hubicka  <hubicka@ucw.cz>
2134         PR ipa/79224
2135         * ipa-inline-analysis.c (get_minimal_bb): New function.
2136         (record_modified): Use it.
2137         (remap_edge_change_prob): Handle also ancestor functions.
2139 2017-02-11  Gerald Pfeifer  <gerald@pfeifer.com>
2141         * doc/contrib.texi (Contributors): Remove broken link into
2142         the Mauve CVS repository.
2144 2017-02-11  Jakub Jelinek  <jakub@redhat.com>
2146         PR middle-end/79454
2147         * internal-fn.c (expand_vector_ubsan_overflow): Use piece-wise
2148         result computation whenever lhs doesn't have vector mode, not
2149         just when it has BLKmode.
2151 2017-02-10  Gerald Pfeifer  <gerald@pfeifer.com>
2153         * doc/makefile.texi (profiledbootstrap): Refer to the
2154         installation instructions only in textual form.
2156 2017-02-10  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>
2158         PR target/79295
2159         * config/rs6000/altivec.md (bcd<bcd_add_sub>): Fix constraints.
2161 2017-02-10  Gerald Pfeifer  <gerald@pfeifer.com>
2163         * doc/install.texi (Specific): Use https for blackfin.uclinux.org.
2164         (Specific): Update mingw-w64 reference.
2165         (Binaries): Ditto.
2166         (Specific): Remove broken link to Renesas RX processor.
2168 2017-02-10  Richard Biener  <rguenther@suse.de>
2170         * toplev.c (process_options): Do not mention obsolete graphite
2171         options when printing sorry message about missing graphite support.
2172         Mention -floop-nest-optimize.
2174 2017-02-10  Christophe Lyon  <christophe.lyon@linaro.org>
2176         * config/aarch64/arm_neon.h (vtst_p8): Rewrite without asm.
2177         (vtst_p16): Likewise.
2178         (vtstq_p8): Likewise.
2179         (vtstq_p16): Likewise.
2180         (vtst_p64): New.
2181         (vtstq_p64): Likewise.
2182         * config/arm/arm_neon.h (vgetq_lane_p64): New.
2183         (vset_lane_p64): New.
2184         (vsetq_lane_p64): New.
2186 2017-02-10  Jakub Jelinek  <jakub@redhat.com>
2188         PR tree-optimization/79411
2189         * tree-ssa-reassoc.c (is_reassociable_op): Return false if
2190         stmt operands are SSA_NAMEs used in abnormal phis.
2191         (can_reassociate_p): Return false if op is SSA_NAME used in abnormal
2192         phis.
2194 2017-02-09  Jan Hubicka  <hubicka@ucw.cz>
2196         PR ipa/70795
2197         * cgraphunit.c (cgraph_node::add_new_function): Set externally_visible
2198         flag if needed.
2200 2017-02-09  Jan Hubicka  <hubicka@ucw.cz>
2202         * tree-ssa-loop-unswitch.c (hoist_guard): Update profile.
2204 2017-02-09  Jakub Jelinek  <jakub@redhat.com>
2206         * omp-offload.c (oacc_loop_auto_partitions): Use || instead of |
2207         to avoid warning.
2209         PR c/79413
2210         * gimplify.h (is_gimple_sizepos): Only test for INTEGER_CST constants,
2211         not arbitrary TREE_CONSTANT.
2213         PR c/79431
2214         * gimplify.c (gimplify_adjust_omp_clauses): Ignore
2215         "omp declare target link" attribute unless is_global_var.
2216         * omp-offload.c (find_link_var_op): Likewise.
2218 2017-02-09  Nathan Sidwell  <nathan@codesourcery.com>
2219             Chung-Lin Tang  <cltang@codesourcery.com>
2221         * gimplify.c (gimplify_scan_omp_clauses): No special handling for
2222         OMP_CLAUSE_TILE.
2223         (gimplify_adjust_omp_clauses): Don't delete TILE.
2224         (gimplify_omp_for): Deal with TILE.
2225         * internal-fn.c (expand_GOACC_TILE): New function.
2226         * internal-fn.def (GOACC_DIM_POS): Comment may be overly conservative.
2227         (GOACC_TILE): New.
2228         * omp-expand.c (struct oacc_collapse): Add tile and outer fields.
2229         (expand_oacc_collapse_init): Add LOC paramter.  Initialize tile
2230         element fields.
2231         (expand_oacc_collapse_vars): Add INNER parm, adjust for tiling,
2232         avoid DIV for outermost collapse var.
2233         (expand_oacc_for): Insert tile element loop as needed.  Adjust.
2234         Remove out of date comments, fix whitespace.
2235         * omp-general.c (omp_extract_for_data): Deal with tiling.
2236         * omp-general.h (enum oacc_loop_flags): Add OLF_TILE flag,
2237         adjust OLF_DIM_BASE value.
2238         (struct omp_for_data): Add tiling field.
2239         * omp-low.c (scan_sharing_clauses): Allow OMP_CLAUSE_TILE.
2240         (lower_oacc_head_mark): Add OLF_TILE as appropriate.  Ensure 2 levels
2241         for auto loops.  Remove default auto determining, moved to
2242         oacc_loop_fixed_partitions.
2243         * omp-offload.c (struct oacc_loop): Change 'ifns' to vector of call
2244         stmts, add e_mask field.
2245         (oacc_dim_call): New function, abstracted out from oacc_thread_numbers.
2246         (oacc_thread_numbers): Use oacc_dim_call.
2247         (oacc_xform_tile): New.
2248         (new_oacc_loop_raw): Initialize e_mask, adjust for ifns vector.
2249         (finish_oacc_loop): Adjust for ifns vector.
2250         (oacc_loop_discover_walk): Append loop abstraction sites to list,
2251         add case for GOACC_TILE fns.
2252         (oacc_loop_xform_loop): Delete.
2253         (oacc_loop_process): Iterate over call list directly, and add
2254         handling for GOACC_TILE fns.
2255         (oacc_loop_fixed_partitions): Determine default auto, deal with TILE,
2256         dump partitioning.
2257         (oacc_loop_auto_partitions): Add outer_assign parm. Assign all but
2258         vector partitioning to outer loops.  Assign 2 partitions to loops
2259         when available. Add TILE handling.
2260         (oacc_loop_partition): Adjust oacc_loop_auto_partitions call.
2261         (execite_oacc_device_lower): Process GOACC_TILE fns, ignore unknown specs.
2262         * tree-nested.c (convert_nonlocal_omp_clauses): Allow OMP_CLAUSE_TILE.
2263         * tree.c (omp_clause_num_ops): Adjust TILE ops.
2264         * tree.h (OMP_CLAUSE_TILE_ITERVAR, OMP_CLAUSE_TILE_COUNT): New.
2266 2017-02-09  Gerald Pfeifer  <gerald@pfeifer.com>
2268         * configure.ac (ACX_BUGURL): Update.
2269         * configure: Regenerate.
2271 2017-02-09  Richard Biener  <rguenther@suse.de>
2273         PR tree-optimization/69823
2274         * graphite-scop-detection.c (scop_detection::harmful_loop_in_region):
2275         Properly enumerate all BBs in the region.  Use auto_vec/auto_bitmap.
2277 2017-02-09  Andrew Burgess  <andrew.burgess@embecosm.com>
2279         * config/arc/arc-c.def: Add __NPS400__ definition.
2280         * config/arc/arc.h (CPP_SPEC): Don't define __NPS400__ here.
2281         (TARGET_NPS400): Define.
2283 2017-02-09  Andrew Burgess  <andrew.burgess@embecosm.com>
2285         * config/arc/arc-arch.h (arc_arch_t): Move unchanged to earlier in
2286         file.
2287         (arc_cpu_t): Change base_architecture field, arch, to a arc_arc_t
2288         pointer, arch_info.
2289         (arc_cpu_types): Fill the arch_info field with a pointer into the
2290         arc_arch_types table.
2291         (arc_selected_cpu): Declare.
2292         * config/arc/arc.c (arc_selected_cpu): Make global.
2293         (arc_selected_arch): Delete.
2294         (arc_base_cpu): Delete.
2295         (arc_override_options): Remove references to deleted variables,
2296         update access to arch information.
2297         (ARC_OPT): Update access to arch information.
2298         (ARC_OPTX): Likewise.
2299         * config/arc/arc.h (arc_base_cpu): Remove declaration.
2300         (TARGET_ARC600): Update access to arch information.
2301         (TARGET_ARC601): Likewise.
2302         (TARGET_ARC700): Likewise.
2303         (TARGET_EM): Likewise.
2304         (TARGET_HS): Likewise.
2305         * config/arc/driver-arc.c (arc_cpu_to_as): Update access to arch
2306         information.
2308 2017-02-08  Pat Haugen  <pthaugen@us.ibm.com>
2310         PR target/78604
2311         * config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Invert
2312         condition/operands for integer GE/LE/GEU/LEU operations.
2314 2017-02-08  Segher Boessenkool  <segher@kernel.crashing.org>
2316         PR translation/79397
2317         * config/rs6000/rs6000.opt (maltivec=le, maltivec=be): Fix spelling
2318         of AltiVec.
2320 2017-02-08  Martin Jambor  <mjambor@suse.cz>
2322         PR ipa/79375
2323         * ipa-prop.c (ipa_alloc_node_params): Make static, return bool
2324         whether allocation happened.
2325         (ipa_initialize_node_params): Do not call ipa_alloc_node_params if
2326         nothing was allocated.
2328 2017-02-08  Jakub Jelinek  <jakub@redhat.com>
2330         PR tree-optimization/79408
2331         * tree-vrp.c (simplify_div_or_mod_using_ranges): If op1 is not
2332         constant, but SSA_NAME with a known integer range, use the minimum
2333         of that range instead of op1 to determine if modulo can be replaced
2334         with its first operand.
2336 2016-02-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
2338         * config/riscv/riscv.c (riscv_build_integer_1): Avoid use of INT16_MAX.
2340 2017-02-08  Richard Biener  <rguenther@suse.de>
2342         PR tree-optimization/71824
2343         * graphite-scop-detection.c (scop_detection::build_scop_breadth):
2344         Check all loops contained in the merged region.
2346 2017-02-07  Andrew Pinski  <apinski@cavium.com>
2348         * config/aarch64/aarch64.md (popcount<mode>2): New pattern.
2350 2017-02-07  Andrew Pinski  <apinski@cavium.com>
2352         * config/aarch64/aarch64-cores.def (thunderx): Disable LSE.
2353         (thunderxt88): Likewise.
2354         (thunderxt81): Disable LSE and change v8.1 to v8.
2355         (thunderxt83): Likewise.
2357 2017-02-07  Jakub Jelinek  <jakub@redhat.com>
2358             Richard Biener  <rguenther@suse.de>
2360         PR middle-end/79399
2361         * ira-int.h (struct target_ira_int): Change x_max_struct_costs_size
2362         type from int to size_t.
2363         * ira-costs.c (struct_costs_size): Change type from int to size_t.
2365 2017-02-07  Jakub Jelinek  <jakub@redhat.com>
2367         PR rtl-optimization/79386
2368         * cprop.c (bypass_conditional_jumps): Initialize
2369         bypass_last_basic_block already before splitting bbs after
2370         unconditional traps...
2371         (bypass_conditional_jumps): ... rather than here.
2373         PR target/79299
2374         * config/i386/sse.md (xtg_mode, gatherq_mode): New mode attrs.
2375         (*avx512f_gathersi<mode>, *avx512f_gathersi<mode>_2,
2376         *avx512f_gatherdi<mode>, *avx512f_gatherdi<mode>_2): Use them,
2377         fix -masm=intel patterns.
2379 2017-02-07  Richard Biener  <rguenther@suse.de>
2381         PR tree-optimization/79256
2382         PR middle-end/79278
2383         * builtins.c (get_object_alignment_2): Use min_align_of_type
2384         to extract alignment for MEM_REFs to honor BIGGEST_FIELD_ALIGNMENT
2385         and ADJUST_FIELD_ALIGN.
2387         * doc/tm.texi.in (ADJUST_FIELD_ALIGN): Adjust to take additional
2388         type parameter.
2389         * doc/tm.texi: Regenerate.
2390         * stor-layout.c (layout_decl): Adjust.
2391         (update_alignment_for_field): Likewise.
2392         (place_field): Likewise.
2393         (min_align_of_type): Likewise.
2394         * config/arc/arc.h (ADJUST_FIELD_ALIGN): Adjust.
2395         * config/epiphany/epiphany.h (ADJUST_FIELD_ALIGN): Likewise.
2396         * config/epiphany/epiphany.c (epiphany_adjust_field_align): Likewise.
2397         * config/frv/frv.h (ADJUST_FIELD_ALIGN): Likewise.
2398         * config/frv/frv.c (frv_adjust_field_align): Likewise.
2399         * config/i386/i386.h (ADJUST_FIELD_ALIGN): Likewise.
2400         * config/i386/i386.c (x86_field_alignment): Likewise.
2401         * config/rs6000/aix.h (ADJUST_FIELD_ALIGN): Likewise.
2402         * config/rs6000/darwin.h (ADJUST_FIELD_ALIGN): Likewise.
2403         * config/rs6000/freebsd64.h (ADJUST_FIELD_ALIGN): Likewise.
2404         * config/rs6000/linux64.h (ADJUST_FIELD_ALIGN): Likewise.
2405         * config/rs6000/sysv4.h (ADJUST_FIELD_ALIGN): Likewise.
2406         * config/rs6000/rs6000.c (rs6000_special_adjust_field_align_p):
2407          Likewise.
2409         Revert
2410         2017-01-30  Richard Biener  <rguenther@suse.de>
2412         PR tree-optimization/79256
2413         * targhooks.c (default_builtin_vector_alignment_reachable): Honor
2414         BIGGEST_FIELD_ALIGNMENT and ADJUST_FIELD_ALIGN to fix up bogus
2415         alignment on TYPE.
2417 2017-02-07  Toma Tabacu  <toma.tabacu@imgtec.com>
2419         * config/mips/mips.c (mips_expand_builtin_insn): Convert the QImode
2420         argument of the pshufh, psllh, psllw, psrah, psraw, psrlh, psrlw
2421         builtins to SImode and emit a zero-extend, if necessary.
2423 2017-02-06  Palmer Dabbelt  <palmer@dabbelt.com>
2425         * docs/invoke.texi (RISC-V Options): Alphabetize.
2427 2017-02-06  Palmer Dabbelt  <palmer@dabbelt.com>
2429         * doc/invoke.texi (RISC-V Options): Use two spaces to separate
2430         options.
2432 2017-02-06  Palmer Dabbelt  <palmer@dabbelt.com>
2434         * config/riscv/riscv.c: New file.
2435         * gcc/common/config/riscv/riscv-common.c: Likewise.
2436         * config.gcc: Likewise.
2437         * config/riscv/constraints.md: Likewise.
2438         * config/riscv/elf.h: Likewise.
2439         * config/riscv/generic.md: Likewise.
2440         * config/riscv/linux.h: Likewise.
2441         * config/riscv/multilib-generator: Likewise.
2442         * config/riscv/peephole.md: Likewise.
2443         * config/riscv/pic.md: Likewise.
2444         * config/riscv/predicates.md: Likewise.
2445         * config/riscv/riscv-builtins.c: Likewise.
2446         * config/riscv/riscv-c.c: Likewise.
2447         * config/riscv/riscv-ftypes.def: Likewise.
2448         * config/riscv/riscv-modes.def: Likewise.
2449         * config/riscv/riscv-opts.h: Likewise.
2450         * config/riscv/riscv-protos.h: Likewise.
2451         * config/riscv/riscv.h: Likewise.
2452         * config/riscv/riscv.md: Likewise.
2453         * config/riscv/riscv.opt: Likewise.
2454         * config/riscv/sync.md: Likewise.
2455         * config/riscv/t-elf-multilib: Likewise.
2456         * config/riscv/t-linux: Likewise.
2457         * config/riscv/t-linux-multilib: Likewise.
2458         * config/riscv/t-riscv: Likewise.
2459         * configure.ac: Likewise.
2460         * doc/contrib.texi: Add Kito Cheng, Palmer Dabbelt, and Andrew
2461         Waterman as RISC-V maintainers.
2462         * doc/install.texi: Add RISC-V entries.
2463         * doc/invoke.texi: Add RISC-V options section.
2464         * doc/md.texi: Add RISC-V constraints section.
2465         * configure: Regenerated.
2467 2017-02-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
2469         PR target/66144
2470         * config/rs6000/vector.md (vcond<mode><mode>): Allow the true and
2471         false values to be constant vectors with all 0 or all 1 bits set.
2472         (vcondu<mode><mode>): Likewise.
2473         * config/rs6000/predicates.md (vector_int_reg_or_same_bit): New
2474         predicate.
2475         (fpmask_comparison_operator): Update comment.
2476         (vecint_comparison_operator): New predicate.
2477         * config/rs6000/rs6000.c (rs6000_emit_vector_cond_expr): Optimize
2478         vector conditionals when the true and false values are constant
2479         vectors with all 0 bits or all 1 bits set.
2481 2017-02-06  Martin Sebor  <msebor@redhat.com>
2483         PR  tree-optimization/79376
2484         * gimple-fold.c (get_range_strlen): Set the minimum length to zero.
2486 2017-02-06  Uros Bizjak  <ubizjak@gmail.com>
2488         * config/i386/sse.md (vector modes -> vec_extract* splitter): Use
2489         explicit subreg RTX with operand 1.  Use VECTOR_MODE_P predicate
2490         to simplify split condition.
2492 2017-02-06  Jakub Jelinek  <jakub@redhat.com>
2494         * omp-expand.c (oxpand_omp_atomic_fetch_op,
2495         expand_omp_atomic_pipeline): Return false if can_atomic_load_p is
2496         false.
2498 2017-02-06  Segher Boessenkool  <segher@kernel.crashing.org>
2500         PR rtl-optimization/68664
2501         * target.def (can_speculate_insn): New hook.
2502         * doc/tm.texi.in (TARGET_SCHED_CAN_SPECULATE_INSN): New hook.
2503         * doc/tm.texi: Regenerate.
2504         * sched-rgn.c (can_schedule_ready_p): Use the new hook.
2505         * config/rs6000/rs6000.c (TARGET_SCHED_CAN_SPECULATE_INSN): New macro.
2506         (rs6000_sched_can_speculate_insn): New function.
2508 2017-02-06  Jakub Jelinek  <jakub@redhat.com>
2510         PR tree-optimization/79284
2511         * tree-vectorizer.h (VECT_SCALAR_BOOLEAN_TYPE_P): Define.
2512         * tree-vect-stmts.c (vect_get_vec_def_for_operand,
2513         vectorizable_mask_load_store, vectorizable_operation,
2514         vect_is_simple_cond, get_same_sized_vectype): Use it instead
2515         of comparing TREE_CODE of a type against BOOLEAN_TYPE.
2516         * tree-vect-patterns.c (check_bool_pattern, search_type_for_mask_1,
2517         vect_recog_bool_pattern, vect_recog_mask_conversion_pattern): Likewise.
2518         * tree-vect-slp.c (vect_get_constant_vectors): Likewise.
2519         * tree-vect-loop.c (vect_determine_vectorization_factor): Likewise.
2520         Remove redundant gimple_code (stmt) == GIMPLE_ASSIGN test after
2521         is_gimple_assign (stmt).  Replace another such test with
2522         is_gimple_assign (stmt).
2524 2017-02-06  Georg-Johann Lay  <avr@gjlay.de>
2526         PR target/78883
2527         * config/avr/avr.c (rtl-iter.h): Include it.
2528         (TARGET_LEGITIMATE_COMBINED_INSN): New hook define...
2529         (avr_legitimate_combined_insn): ...and implementation.
2531 2017-02-06  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2533         * config/s390/predicates.md ("larl_operand"): Use macros from hwint.h.
2534         * config/s390/s390.c (s390_const_operand_ok)
2535         (s390_canonicalize_comparison, s390_extract_part)
2536         (s390_single_part, s390_contiguous_bitmask_nowrap_p)
2537         (s390_contiguous_bitmask_p, s390_rtx_costs)
2538         (legitimize_pic_address): Likewise.
2539         * config/s390/s390.md ("clzdi2", "clztidi2"): Likewise.
2540         * config/s390/vx-builtins.md ("vec_genbytemaskv16qi")
2541         ("vec_permi<mode>", "vfae<mode>", "*vfaes<mode>", "vstrc<mode>")
2542         ("*vstrcs<mode>"): Use UINTVAL() to set unsigned HOST_WIDE_INT.
2543         * config/s390/vector.md ("vec_vfenes<mode>"): Likewise.
2545 2017-02-06  Georg-Johann Lay  <avr@gjlay.de>
2547         * config/avr/avr.md (*addhi3_zero_extend): Add alternative where
2548         REGNO($0) == REGNO($1).
2550 2017-02-06  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
2552         * config/s390/linux.h(SIZE_TYPE): Add comment.
2554 2017-02-06  Julian Brown  <julian@codesourcery.com>
2555             Naveen H.S  <Naveen.Hurugalawadi@cavium.com>
2556             Virendra Pathak  <virendra.pathak@broadcom.com>
2558         * config/aarch64/aarch64-cores.def: Change the scheduler
2559         to Thunderx2t99.
2560         * config/aarch64/aarch64.md: Include thunderx2t99.md.
2561         * config/aarch64/thunderx2t99.md: New file.
2563 2017-02-05  Gerald Pfeifer  <gerald@pfeifer.com>
2565         * doc/standards.texi (Go Language): Update link to language
2566         standard.
2568 2017-02-05  Jan Hubicka  <hubicka@ucw.cz>
2570         * tree-eh.c (lower_resx): Sanitize profile.
2571         (cleanup_empty_eh_move_lp): Likewise.
2573 2017-02-05  Jan Hubicka  <hubicka@ucw.cz>
2575         PR tree-ssa/79347
2576         * cfgloopmanip.c (lv_adjust_loop_entry_edge, loop_version): Add
2577         ELSE_PROB.
2578         * cfgloopmanip.h (loop_version): Update prototype.
2579         * modulo-sched.c (sms_schedule): Update call of loop_version.
2580         * tree-if-conv.c(version_loop_for_if_conversion): Likewise.
2581         * tree-parloops.c (gen_parallel_loop): Likewise.
2582         * tree-ssa-loop-manip.c (tree_transform_and_unroll_loop): Likewise.
2583         * tree-ssa-loop-split.c (split_loop): Likewise.
2584         * tree-ssa-loop-unswitch.c (tree_unswitch_loop): Likewise.
2585         * tree-vect-loop-manip.c (vect_loop_versioning): Likewise.
2587 2017-02-05  Martin Liska  <mliska@suse.cz>
2589         PR bootstrap/78985
2590         * config/s390/s390.c (s390_gimplify_va_arg): Initialize local
2591         variable to NULL.
2592         (print_operand_address): Initialize a struct to zero.
2594 2017-02-05  Gerald Pfeifer  <gerald@pfeifer.com>
2596         * doc/contrib.texi (Contributors): Refer to Hans Boehm's
2597         garbage collector only in textual form.
2599 2017-02-05  Gerald Pfeifer  <gerald@pfeifer.com>
2600         
2601         * doc/extend.texi (x86 specific memory model extensions for
2602         transactional memory): Simplify a phrase.
2604 2017-02-05  Eric Botcazou  <ebotcazou@adacore.com>
2606         PR target/79353
2607         * config/sparc/sync.md (atomic_loaddi_1): Replace 'U' constraint with
2608         'r', 'm' constraint with 'T' and !TARGET_ARCH64 with TARGET_ARCH32.
2609         (atomic_storedi_1): Likewise.
2611 2017-02-04  Jakub Jelinek  <jakub@redhat.com>
2613         PR tree-optimization/79338
2614         * tree-parloops.c (gather_scalar_reductions): Don't call
2615         vect_analyze_loop_form for loop->inner before destroying loop's
2616         loop_vinfo.
2618 2017-02-03  Martin Sebor  <msebor@redhat.com>
2620         PR tree-optimization/79327
2621         * gimple-ssa-sprintf.c (tree_digits): Avoid adding the base prefix
2622         when precision has resulted in leading zeros.
2623         (format_integer): Adjust the likely counter to assume an unknown
2624         argument that may be zero is non-zero.
2626 2017-02-03  Jason Merrill  <jason@redhat.com>
2628         PR c++/78689
2629         * tree-inline.c (copy_tree_body_r) [COND_EXPR]: Revert change to
2630         avoid copying non-taken branch.
2632 2017-02-03  Jakub Jelinek  <jakub@redhat.com>
2634         PR tree-optimization/79340
2635         * tree-vect-loop.c (vectorizable_reduction): Release
2636         vec_defs elements after safe_splicing them into other vectors.
2637         Formatting fixes.
2639         PR tree-optimization/79327
2640         * gimple-ssa-sprintf.c (adjust_range_for_overflow): If returning
2641         true, always set *argmin and *argmax to TYPE_{MIN,MAX}_VALUE of
2642         dirtype.
2643         (format_integer): Use wide_int_to_tree instead of build_int_cst
2644         + to_?hwi.  If argmin is NULL, just set argmin and argmax to
2645         TYPE_{MIN,MAX}_VALUE of argtype.  Simplify and fix computation
2646         of shortest and longest sequence.
2648 2017-02-03  Uros Bizjak  <ubizjak@gmail.com>
2650         * config/i386/i386.c (dimode_scalar_chain::convert_reg):
2651         Use pextrd for TARGET_SSE4_1 when creating scalar copy.
2653 2017-02-03  Walter Lee  <walt@tilera.com>
2655         PR target/78862
2656         * config/tilegx/tilegx.md (tilegx_expand_prologue): Add blockage
2657         after initial stackframe link reg save.
2658         * config/tilepro/tilepro.md (tilepro_expand_prologue): Likewise.
2660 2017-02-03  Jakub Jelinek  <jakub@redhat.com>
2662         PR target/79354
2663         * config/rs6000/rs6000.md (movsi_from_sf): Use wb constraint instead of
2664         wu for stxssp alternative.
2666 2017-02-03  Martin Sebor  <msebor@redhat.com>
2668         PR tree-optimization/79352
2669         * gimple-fold.c (get_range_strlen): Add argument.
2670         (get_range_strlen): Change return type to bool.
2671         (get_maxval_strlen): Pass in a dummy argument.
2672         * gimple-fold.h (get_range_strlen): Change return type to bool.
2673         * gimple-ssa-sprintf.c (get_string_length): Set unlikely counter.
2674         * tree.h (array_at_struct_end_p): Add argument.
2675         * tree.c (array_at_struct_end_p): Handle it.
2677 2017-02-03  Martin Liska  <mliska@suse.cz>
2679         PR lto/66295
2680         * multiple_target.c (create_dispatcher_calls): Redirect edge
2681         from a caller of a dispatcher.
2682         (expand_target_clones): Make the clones local.
2683         (ipa_target_clone): Do both target clones and resolvers.
2684         (ipa_dispatcher_calls): Remove the pass.
2685         (pass_dispatcher_calls::gate): Likewise.
2686         (make_pass_dispatcher_calls): Likewise.
2687         * passes.def (pass_target_clone): Put as very first IPA early
2688         pass.
2690 2017-02-03  Martin Liska  <mliska@suse.cz>
2692         * symtab.c (symtab_node::binds_to_current_def_p): Bail out
2693         in case of a function with ifunc attribute.
2695 2017-02-03  Martin Liska  <mliska@suse.cz>
2697         * cgraph.c (cgraph_node::dump): Dump function version info.
2698         * symtab.c (symtab_node::dump_base): Add missing new line.
2700 2017-02-02  Jan Hubicka  <hubicka@ucw.cz>
2702         * tree-ssa-ifcombine.c (update_profile_after_ifcombine): New function.
2703         (ifcombine_ifandif): Use it.
2705 2017-02-03  Martin Liska  <mliska@suse.cz>
2707         * doc/invoke.texi: Document default value for
2708         use-after-scope-direct-emission-threshold.
2710 2017-02-03  Martin Liska  <mliska@suse.cz>
2712         PR tree-optimization/79339
2713         * gimple-ssa-sprintf.c (format_floating_max): Call mpfr_clear.
2714         (format_floating): Likewise.
2716 2017-02-03  Martin Liska  <mliska@suse.cz>
2718         PR ipa/79337
2719         * ipa-prop.c (ipa_node_params_t::insert): Remove current
2720         implementation.
2721         (ipa_node_params_t::remove): Likewise.
2722         * ipa-prop.h (ipa_node_params::ipa_node_params): Make default
2723         initialization from removed ipa_node_params_t::insert.
2724         (ipa_node_params::~ipa_node_params): Move from removed
2725         ipa_node_params_t::release.
2726         * symbol-summary.h (symbol_summary::m_released): New member.
2727         Do not release a summary twice.  Do not allow to call finalizer
2728         for types of a summary that live in GGC memory.
2730 2017-02-02  Naveen H.S  <Naveen.Hurugalawadi@cavium.com>
2732         * config/aarch64/aarch64.c (thunderx2t99_tunings): Enable AES and
2733         cmp_branch fusion.
2735 2017-02-02  Martin Sebor  <msebor@redhat.com>
2737         PR middle-end/79275
2738         * gimple-ssa-sprintf.c (get_string_length): Set lower bound to zero.
2739         (format_string): Tighten up the range of output for non-constant
2740         strings and correct the expected range for wide non-constant strings.
2742 2017-02-02  Martin Sebor  <msebor@redhat.com>
2744         * doc/invoke.texi (-maccumulate-args): Fix bad grammar.
2746         PR middle-end/32003
2747         * doc/invoke.texi (-fdump-tree-): Remove pass-specific options from
2748         index.
2749         (-fdump-tree-@var): Add to index and document how to come up
2750         with pass-specific option and dump file names.
2751         (-fdump-passes): Clarify where to look for output.
2753 2017-02-02  Jan Hubicka  <hubicka@ucw.cz>
2755         PR middle-end/77445
2756         * tree-ssa-threadbackward.c (profitable_jump_thread_path): Dump
2757         statistics of the analyzed path; allow threading for speed when
2758         any of BBs along the path are optimized for speed.
2760 2017-02-02  Eric Botcazou  <ebotcazou@adacore.com>
2762         PR middle-end/78468
2763         * emit-rtl.c (init_emit): Add ??? comment for problematic alignment
2764         settings of the virtual registers.
2766         Revert again
2767         2016-08-23  Dominik Vogt  <vogt@linux.vnet.ibm.com>
2769         * explow.c (get_dynamic_stack_size): Take known alignment of stack
2770         pointer + STACK_DYNAMIC_OFFSET into account when calculating the size
2771         needed.
2773 2017-02-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
2775         * config/s390/vx-builtins.md ("vec_ceil", "vec_floor")
2776         ("vec_trunc", "vec_roundc", "vec_round"): Remove expanders.
2778 2017-02-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
2780         * config/s390/s390.md: Add missing comments with the expanded
2781         mnemonics.
2782         * config/s390/vector.md: Likewise.
2783         * config/s390/vx-builtins.md: Likewise.
2785 2017-02-02  Jakub Jelinek  <jakub@redhat.com>
2787         PR target/79197
2788         * config/rs6000/rs6000.md (*fixuns_trunc<mode>di2_fctiduz): Rename to ...
2789         (fixuns_trunc<mode>di2): ... this, remove previous expander.  Put all
2790         conditions on a single line.
2792 2017-02-02  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
2794         * config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Rename
2795         __S390_VX__ to __VX__.
2797 2017-02-01  Andrew Pinski  <apinski@cavium.com>
2799         * tree-vect-loop.c (vect_compute_single_scalar_iteration_cost): Pass
2800         stmt_info to record_stmt_cost.
2801         (vect_get_known_peeling_cost): Pass stmt_info if known to
2802         record_stmt_cost.
2803         * config/aarch64/aarch64-protos.h (cpu_vector_cost): Split
2804         cpu_vector_cost field into
2805         scalar_int_stmt_cost and scalar_fp_stmt_cost.  Split vec_stmt_cost
2806         field into vec_int_stmt_cost and vec_fp_stmt_cost.
2807         * config/aarch64/aarch64.c (generic_vector_cost): Update for the
2808         splitting of scalar_stmt_cost and vec_stmt_cost.
2809         (thunderx_vector_cost): Likewise.
2810         (cortexa57_vector_cost): LIkewise.
2811         (exynosm1_vector_cost): Likewise.
2812         (xgene1_vector_cost): Likewise.
2813         (thunderx2t99_vector_cost): Improve after the splitting of the two
2814         fields.
2815         (aarch64_builtin_vectorization_cost): Update for the splitting of
2816         scalar_stmt_cost and vec_stmt_cost.
2818 2017-02-01  Torvald Riegel  <triegel@redhat.com>
2819             Richard Henderson  <rth@redhat.com>
2821         * builtins.c (fold_builtin_atomic_always_lock_free): Make "lock-free"
2822         conditional on existance of a fast atomic load.
2823         * optabs-query.c (can_atomic_load_p): New function.
2824         * optabs-query.h (can_atomic_load_p): Declare it.
2825         * optabs.c (expand_atomic_exchange): Always delegate to libatomic if
2826         no fast atomic load is available for the particular size of access.
2827         (expand_atomic_compare_and_swap): Likewise.
2828         (expand_atomic_load): Likewise.
2829         (expand_atomic_store): Likewise.
2830         (expand_atomic_fetch_op): Likewise.
2831         * testsuite/lib/target-supports.exp
2832         (check_effective_target_sync_int_128): Remove x86 because it provides
2833         no fast atomic load.
2834         (check_effective_target_sync_int_128_runtime): Likewise.
2836 2017-02-01  Richard Biener  <rguenther@suse.de>
2838         * graphite.c: Include tree-vectorizer.h for find_loop_location.
2839         (graphite_transform_loops): Provide opt-info for optimized nests.
2840         * tree-parloop.c (parallelize_loops): Provide opt-info for
2841         parallelized loops.
2843 2017-02-01  Richard Biener  <rguenther@suse.de>
2845         PR middle-end/79315
2846         * tree-cfg.c (move_stmt_op): Never set TREE_BLOCK when it
2847         was not set before.
2849 2017-02-01  Richard Biener  <rguenther@suse.de>
2851         PR tree-optimization/71824
2852         * graphite-scop-detection.c (scop_detection::build_scop_breadth):
2853         Verify the loops are valid in the merged SESE region.
2854         (scop_detection::can_represent_loop_1): Check analyzing the
2855         evolution of the number of iterations in the region succeeds.
2857 2017-01-31  Ian Lance Taylor  <iant@golang.org>
2859         * config/i386/i386.c (ix86_expand_split_stack_prologue): Add
2860         REG_ARGS_SIZE note to 32-bit push insns and call insn.
2862 2017-01-31  David Malcolm  <dmalcolm@redhat.com>
2864         PR preprocessor/79210
2865         * input.c (get_substring_ranges_for_loc): Replace line_width
2866         assertion with error-handling.
2868 2017-01-31  Richard Biener  <rguenther@suse.de>
2870         PR tree-optimization/77318
2871         * graphite-sese-to-poly.c (extract_affine): Fix assert.
2872         (create_pw_aff_from_tree): Take loop parameter.
2873         (add_condition_to_pbb): Pass loop of the condition to
2874         create_pw_aff_from_tree.
2876 2017-01-31  Jakub Jelinek  <jakub@redhat.com>
2878         * config/s390/s390.c (s390_asan_shadow_offset): New function.
2879         (TARGET_ASAN_SHADOW_OFFSET): Redefine.
2881 2017-01-31  Michael Meissner  <meissner@linux.vnet.ibm.com>
2883         PR target/78597
2884         PR target/79038
2885         * config/rs6000/rs6000-protos.h (convert_float128_to_int): Delete,
2886         no longer used.
2887         (convert_int_to_float128): Likewise.
2888         * config/rs6000/rs6000.c (convert_float128_to_int): Likewise.
2889         (convert_int_to_float128): Likewise.
2890         * config/rs6000/rs6000.md (UNSPEC_IEEE128_MOVE): Likewise.
2891         (UNSPEC_IEEE128_CONVERT): Likewise.
2892         (floatsi<mode>2, FLOAT128 iterator): Bypass calling
2893         rs6000_expand_float128_convert if we have IEEE 128-bit hardware.
2894         Use local variables for IBM extended format.
2895         (fix_trunc<mode>si2, FLOAT128 iterator): Likewise.
2896         (fix_trunc<mode>si2_fprs): Likewise.
2897         (fixuns_trunc<IEEE128:mode><SDI:mode>2): Likewise.
2898         (floatuns<IEEE128:mode>2, IEEE128 iterator): Likewise.
2899         (fix<uns>_<mode>si2_hw): Rework the IEEE 128-bt hardware support
2900         to know that we can now have integers of all sizes in vector
2901         registers.
2902         (fix<uns>_<mode>di2_hw): Likewise.
2903         (float<uns>_<mode>si2_hw): Likewise.
2904         (fix_<mode>si2_hw): Likewise.
2905         (fixuns_<mode>si2_hw): Likewise.
2906         (float<uns>_<mode>di2_hw): Likewise.
2907         (float_<mode>di2_hw): Likewise.
2908         (float_<mode>si2_hw): Likewise.
2909         (floatuns_<mode>di2_hw): Likewise.
2910         (floatuns_<mode>si2_hw): Likewise.
2911         (xscvqp<su>wz_<mode>): Delete, no longer used.
2912         (xscvqp<su>dz_<mode>): Likewise.
2913         (xscv<su>dqp_<mode>): Likewise.
2914         (ieee128_mfvsrd_64bit): Likewise.
2915         (ieee128_mfvsrd_32bit): Likewise.
2916         (ieee128_mfvsrwz): Likewise.
2917         (ieee128_mtvsrw): Likewise.
2918         (ieee128_mtvsrd_64bit): Likewise.
2919         (ieee128_mtvsrd_32bit): Likewise.
2921 2017-01-31  Martin Liska  <mliska@suse.cz>
2923         PR ipa/79285
2924         * ipa-prop.c (ipa_free_all_node_params): Call release method
2925         instead of ~sumbol_summary to not to trigger double times
2926         dtor of hash_map.
2928 2017-01-31  Aldy Hernandez  <aldyh@redhat.com>
2930         PR tree-optimization/71691
2931         * bitmap.h (class auto_bitmap): New.
2932         * tree-ssa-loop-unswitch.c (tree_may_unswitch_on): Call
2933         is_maybe_undefined instead of ssa_undefined_value_p.
2935 2017-01-31  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
2937         * config/s390/s390-c.c (s390_cpu_cpp_builtins_internal): Rename
2938         __S390_ARCH_LEVEL__ to __ARCH__.
2940 2017-01-31  Jakub Jelinek  <jakub@redhat.com>
2942         PR tree-optimization/79267
2943         * value-prof.c (gimple_ic): Only drop lhs for noreturn calls
2944         if should_remove_lhs_p is true.
2946 2017-01-30  Alexandre Oliva <aoliva@redhat.com>
2948         PR debug/63238
2949         * dwarf2out.c (clone_as_declaration): Drop DW_AT_alignment.
2950         (add_alignment_attribute): New.
2951         (base_type_die): Add alignment attribute.
2952         (subrange_type_die): Likewise.
2953         (modified_type_die): Likewise.
2954         (gen_array_type_die): Likewise.
2955         (gen_descr_array_type_die: Likewise.
2956         (gen_enumeration_type_die): Likewise.
2957         (gen_subprogram_die): Likewise.
2958         (gen_variable_die): Likewise.
2959         (gen_field_die): Likewise.
2960         (gen_ptr_to_mbr_type_die): Likewise.
2961         (gen_struct_or_union_type_die): Likewise.
2962         (gen_subroutine_type_die): Likewise.
2963         (gen_typedef_die): Likewise.
2964         (base_type_cmp): Compare alignment attribute.
2966 2017-01-30  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>
2968         PR target/79170
2969         * config/rs6000/altivec.md (*setb_internal): Rename to setb_signed.
2970         (setb_unsigned) New pattern for setb with CCUNS.
2971         * config/rs6000/rs6000.c (expand_block_compare): Use a different
2972         subfc./subfe sequence to avoid overflow problems.  Generate a
2973         shorter sequence with cmpld/setb for power9.
2974         * config/rs6000/rs6000.md (subf<mode>3_carry_dot2): Add a new pattern
2975         for generating subfc. instruction.
2976         (cmpstrsi): Add TARGET_POPCNTD predicate as the generate sequence
2977         now uses this instruction.
2979 2017-01-30  Ian Lance Taylor  <iant@google.com>
2981         PR debug/79289
2982         * dwarf2out.c (gen_type_die_with_usage): When picking a variant
2983         for FUNCTION_TYPE/METHOD_TYPE, use the first matching one.
2985 2017-01-30  Martin Sebor  <msebor@redhat.com>
2987         * gimple-ssa-sprintf.c (fmtresult::adjust_for_width_or_precision):
2988         Move constant to the right of a relational operator.
2989         (get_mpfr_format_length, format_character, format_string): Ditto.
2990         (should_warn_p, maybe_warn): Same.
2992         * doc/invoke.texi (-Wformat-truncation=1): Fix typo.
2994 2017-01-30  Maxim Ostapenko  <m.ostapenko@samsung.com>
2996         PR lto/79061
2997         * asan.c (get_translation_unit_decl): Remove function.
2998         (asan_add_global): Force has_dynamic_init to zero in LTO mode.
3000 2017-01-30  Martin Liska  <mliska@suse.cz>
3002         PR gcov-profile/79259
3003         * opts.c (common_handle_option): Enable flag_ipa_bit_cp w/
3004         -fprofile-generate.
3006 2017-01-30  Martin Liska  <mliska@suse.cz>
3008         PR bootstrap/78985
3009         * config/aarch64/cortex-a57-fma-steering.c (func_fma_steering::analyze):
3010         Initialize variables with NULL value.
3012 2017-01-30  Richard Earnshaw  <rearnsh@arm.com>
3014         PR target/79260
3015         * config.gcc (arm*-*-*): Add arm/arm-flags.h and arm/arm-isa.h to
3016         tm_p_file.
3017         * arm/arm-protos.h: Don't directly include arm-flags.h and arm-isa.h.
3019 2017-01-30  Richard Biener  <rguenther@suse.de>
3021         PR tree-optimization/79276
3022         * tree-vrp.c (process_assert_insertions): Properly adjust common
3023         when removing a duplicate.
3025         * gcc.dg/torture/pr79276.c: New testcase.
3027 2017-01-30  Richard Biener  <rguenther@suse.de>
3029         PR tree-optimization/79256
3030         * targhooks.c (default_builtin_vector_alignment_reachable): Honor
3031         BIGGEST_FIELD_ALIGNMENT and ADJUST_FIELD_ALIGN to fix up bogus
3032         alignment on TYPE.
3033         * tree.c (build_aligned_type): Set TYPE_USER_ALIGN.
3035 2017-01-30  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3037         PR target/79240
3038         * config/s390/s390.md ("*r<noxa>sbg_<mode>_srl_bitmask")
3039         ("*r<noxa>sbg_<mode>_sll_bitmask")
3040         ("*extzv_<mode>_srl<clobbercc_or_nocc>")
3041         ("*extzv_<mode>_sll<clobbercc_or_nocc>"):
3042         Use contiguous_bitmask_nowrap_operand.
3044 2017-01-29  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
3046         PR target/79268
3047         * config/rs6000/altivec.h (vec_xl): Revise #define.
3048         (vec_xst): Likewise.
3050 2017-01-27  Uros Bizjak  <ubizjak@gmail.com>
3052         * config/i386/i386.c (print_reg): Use REGNO instead of true_regnum.
3054 2017-01-27  Bernd Schmidt  <bschmidt@redhat.com>
3056         PR rtl-optimization/79194
3057         * cprop.c (one_cprop_pass): Move deletion of code after unconditional
3058         traps before call to bypass_conditional_jumps.
3060 2017-01-27  Vladimir Makarov  <vmakarov@redhat.com>
3062         PR tree-optimization/71374
3063         * lra-constraints.c (check_conflict_input_operands): New.
3064         (match_reload): Use it.
3066 2017-01-27  Vladimir Makarov  <vmakarov@redhat.com>
3068         PR target/79131
3069         * lra-assigns.c (find_hard_regno_for_1): Take endianess for into
3070         account to calculate conflict_set.
3072 2017-01-27  Bin Cheng  <bin.cheng@arm.com>
3074         PR rtl-optimization/78559
3075         * combine.c (try_combine): Discard REG_EQUAL and REG_EQUIV for
3076         other_insn in combine.
3078 2017-01-27  Pekka Jääskeläinen  <pekka.jaaskelainen@parmance.com>
3080         * builtin-types.def: Use unsigned_char_type_node for BT_UINT8.  Use
3081         uint16_type_node for BT_UINT16.
3083 2017-01-27  David Malcolm  <dmalcolm@redhat.com>
3085         * doc/sourcebuild.texi (Testsuites): Add "GIMPLE Tests" and
3086         "RTL Tests" to menu.
3087         (GIMPLE Tests): New node.
3088         (RTL Tests): New node.
3090 2017-01-27  Richard Biener  <rguenther@suse.de>
3092         PR tree-optimization/79245
3093         * tree-loop-distribution.c (distribute_loop): Apply cost
3094         modeling also to detected patterns.
3096 2017-01-27  Richard Biener  <rguenther@suse.de>
3098         PR tree-optimization/71433
3099         * tree-vrp.c (register_new_assert_for): Revert earlier changes.
3100         (compare_assert_loc): New function.
3101         (process_assert_insertions): Sort and optimize assert locations
3102         to remove duplicates and push down identical assertions on
3103         edges to their destination block.
3105 2017-01-27  Richard Biener  <rguenther@suse.de>
3107         PR tree-optimization/79244
3108         * tree-vrp.c (remove_range_assertions): Forcefully propagate
3109         out SSA names even if abnormal.
3111 2017-01-27  Jakub Jelinek  <jakub@redhat.com>
3113         * realmpfr.h: Poison MPFR_RND{N,Z,U,D}.
3114         * gimple-ssa-sprintf.c (format_floating_max): Use GMP_RNDN
3115         instead of MPFR_RNDN.
3117 2017-01-27  Richard Earnshaw  <rearnsha@arm.com>
3119         PR target/79239
3120         * arm.c (arm_option_override): Don't call build_target_option_node
3121         until after doing all option overrides.
3122         (arm_valid_target_attribute_tree): Likewise.
3124 2017-01-27  Martin Liska  <mliska@suse.cz>
3126         * doc/invoke.texi (-fprofile-arcs): Document profiling support
3127         for {cd}tors and C++ {cd}tors.
3129 2017-01-27  Dominik Vogt  <vogt@linux.vnet.ibm.com>
3131         * config/s390/s390.md ("*setmem_long_and")
3132         ("*setmem_long_and_31z"): Use zero_extend instead of and.
3134 2017-01-26  Martin Sebor  <msebor@redhat.com>
3136         * gimple-ssa-sprintf.c (format_floating): Simplify the computation
3137         of precision.
3139 2017-01-26  Martin Sebor  <msebor@redhat.com>
3141         * gimple-ssa-sprintf.c (format_floating): Test HAVE_XFmode and
3142         HAVE_DFmode before using XFmode or DFmode.
3143         (parse_directive): Avoid using the z length modifier to avoid
3144         the ISO C++98 does not support the â€˜z’ gnu_printf length modifier.
3146         PR middle-end/78703
3147         * gimple-ssa-sprintf.c (adjust_for_width_or_precision): Change
3148         to accept adjustment as an array.
3149         (get_int_range): New function.
3150         (struct directive): Make width and prec arrays.
3151         (directive::set_width, directive::set_precision): Call get_int_range.
3152         (format_integer, format_floating): Handle width and precision ranges.
3153         (format_string, parse_directive): Same.
3155 2017-01-26  Jakub Jelinek  <jakub@redhat.com>
3157         PR debug/79129
3158         * dwarf2out.c (generate_skeleton_bottom_up): For children with
3159         comdat_type_p set, just clone them, but keep the children in the
3160         original DIE.
3162         PR debug/78835
3163         * dwarf2out.c (prune_unused_types): Mark all functions with DIEs
3164         which have direct callers with -fvar-tracking-assignments enabled
3165         in the current TU.
3166         (resolve_addr): Avoid adding skeleton DIEs for DW_AT_call_origin
3167         inside of type units.
3169 2017-01-26  Martin Sebor  <msebor@redhat.com>
3171         PR middle-end/78703
3172         * gimple-ssa-sprintf.c (struct result_range): Add likely and
3173         unlikely counters.
3174         (struct format_result): Replace number_chars, number_chars_min,
3175         and number_chars_max with a single member of struct result_range.
3176         Remove bounded.
3177         (format_result::operator+=): Adjust.
3178         (struct fmtresult): Remove bounded.  Handle likely and unlikely
3179         counters.
3180         (fmtresult::adjust_for_width_or_precision): New function.
3181         (fmtresult:type_max_digits): New function.
3182         (bytes_remaining): Handle likely and unlikely counters.
3183         (min_bytes_remaining): Remove.
3184         (format_percent): Simplify.
3185         (format_integer, format_floating): Set likely and unlikely counters.
3186         (get_string_length, format_character, format_string): Same.
3187         (format_plain, should_warn_p): New function.
3188         (maybe_warn): Call should_warn_p.  Update diagnostic messages
3189         and handle those for all directives, including plain strings.
3190         (format_directive): Handle likely and unlikely counters.
3191         Remove unnecessary quoting from diagnostics.  Add an informational
3192         note.
3193         (add_bytes): Remove.
3194         (pass_sprintf_length::compute_format_length): Simplify.
3195         (try_substitute_return_value): Handle likely and unlikely counters.
3197 2017-01-26  Carl Love  <cel@us.ibm.com>
3199         * config/rs6000/rs6000-c (altivec_overloaded_builtins): Remove
3200         bogus entries for the P8V_BUILTIN_VEC_VGBBD built-ins
3202 2017-01-26  Vladimir Makarov  <vmakarov@redhat.com>
3204         PR target/79131
3205         * lra-assigns.c (setup_live_pseudos_and_spill_after_risky): Take
3206         endianess for subregs into account.
3207         * lra-constraints.c (lra_constraints): Do risky transformations
3208         always on the first iteration.
3209         * lra-lives.c (check_pseudos_live_through_calls): Add arg
3210         last_call_used_reg_set.
3211         (process_bb_lives): Define and use last_call_used_reg_set.
3212         * lra.c (lra): Always continue after lra_constraints on the first
3213         iteration.
3215 2017-01-26  Kirill Yukhin  <kirill.yukhin@gmail.com>
3217         * gcc.target/i386/avx512bw-kshiftlq-2.c: Use unsigned long long
3218         constant.
3219         * gcc.target/i386/avx512bw-kshiftrq-2.c: Ditto.
3221 2017-01-26  Jakub Jelinek  <jakub@redhat.com>
3223         * config/i386/avx512fintrin.h (_ktest_mask16_u8,
3224         _ktestz_mask16_u8, _ktestc_mask16_u8, _kadd_mask16): Move to ...
3225         * config/i386/avx512dqintrin.h (_ktest_mask16_u8,
3226         _ktestz_mask16_u8, _ktestc_mask16_u8, _kadd_mask16): ... here.
3227         * config/i386/i386-builtin.def (__builtin_ia32_ktestchi,
3228         __builtin_ia32_ktestzhi, __builtin_ia32_kaddhi): Use
3229         OPTION_MASK_ISA_AVX512DQ instead of OPTION_MASK_ISA_AVX512F.
3230         * config/i386/sse.md (SWI1248_AVX512BWDQ2): New mode iterator.
3231         (kadd<mode>, ktest<mode>): Use it instead of SWI1248_AVX512BWDQ.
3233 2017-01-26  Marek Polacek  <polacek@redhat.com>
3235         PR c/79199
3236         * fold-const.c (operand_equal_p) [COND_EXPR]: Use OP_SAME_WITH_NULL
3237         for the third operand.
3239 2017-01-26  Jakub Jelinek  <jakub@redhat.com>
3241         PR middle-end/79236
3242         * omp-low.c (struct omp_context): Add simt_stmt field.
3243         (scan_omp_for): Return omp_context *.
3244         (scan_omp_simd): Set simt_stmt on the non-_simt_ SIMD
3245         context to the _simt_ SIMD stmt.
3246         (lower_omp_for): For combined SIMD with sibling _simt_
3247         SIMD, make sure to use the same decls in _looptemp_
3248         clauses as in the sibling.
3250 2017-01-26  David Sherwood  <david.sherwood@arm.com>
3252         PR middle-end/79212
3253         * gimplify.c (omp_notice_variable): Add GOVD_SEEN flag to variables in
3254         all contexts.
3256 2017-01-26  Jakub Jelinek  <jakub@redhat.com>
3258         PR target/70465
3259         * reg-stack.c (emit_swap_insn): Instead of fld a; fld b; fxchg %st(1);
3260         emit fld b; fld a; if possible.
3262         * brig-builtins.def: Update copyright years.
3263         * config/arm/arm_acle_builtins.def: Update copyright years.
3265 2017-01-25  Michael Meissner  <meissner@linux.vnet.ibm.com>
3267         PR target/79179
3268         * config/rs6000/vsx.md (vsx_extract_<mode>_store): Use wY
3269         constraint instead of o for the stxsd instruction.
3271 2017-01-25  Carl Love  <cel@us.ibm.com>
3273         * config/rs6000/rs6000-c (altivec_overloaded_builtins): Fix order
3274         of entries for ALTIVEC_BUILTIN_VEC_PACKS and P8V_BUILTIN_VEC_VGBBD.
3276 2017-01-25  Jonathan Wakely  <jwakely@redhat.com>
3278         * doc/invoke.texi (C++ Dialect Options): Fix typo.
3280 2017-01-25  Richard Biener  <rguenther@suse.de>
3282         PR tree-optimization/69264
3283         * target.def (vector_alignment_reachable): Improve documentation.
3284         * doc/tm.texi: Regenerate.
3285         * targhooks.c (default_builtin_vector_alignment_reachable): Simplify
3286         and add a comment.
3287         * tree-vect-data-refs.c (vect_supportable_dr_alignment): Revert
3288         earlier changes with respect to TYPE_USER_ALIGN.
3289         (vector_alignment_reachable_p): Likewise.  Improve dumping.
3291 2016-01-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3293         PR target/79145
3294         * config/arm/arm.md (xordi3): Force constant operand into a register
3295         for TARGET_IWMMXT.
3297 2016-01-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3299         * doc/invoke.texi (-fstore-merging): Correct default optimization
3300         levels at which it is enabled.
3301         (-O): Move -fstore-merging from list to...
3302         (-O2): ... Here.
3304 2017-01-25  Richard Biener  <rguenther@suse.de>
3306         PR debug/78363
3307         * omp-expand.c: Include debug.h.
3308         (expand_omp_taskreg): Make sure to generate early debug before
3309         outlining anything from a function.
3310         (expand_omp_target): Likewise.
3311         (grid_expand_target_grid_body): Likewise.
3313 2017-01-25  Maxim Ostapenko  <m.ostapenko@samsung.com>
3315         PR lto/79061
3316         * asan.c (get_translation_unit_decl): New function.
3317         (asan_add_global): Extract modules file name from globals
3318         TRANSLATION_UNIT_DECL name.
3320 2017-01-24  Eric Botcazou  <ebotcazou@adacore.com>
3322         PR target/77439
3323         * config/arm/arm.c (arm_function_ok_for_sibcall): Add back restriction
3324         for long calls with APCS frame and VFP.
3326 2017-01-24  David Malcolm  <dmalcolm@redhat.com>
3328         * cfg.c (original_copy_tables_initialized_p): New function.
3329         * cfg.h (original_copy_tables_initialized_p): New decl.
3330         * cfgrtl.c (relink_block_chain): Guard the call to
3331         free_original_copy_tables with a call to
3332         original_copy_tables_initialized_p.
3333         * cgraph.h (symtab_node::native_rtl_p): New decl.
3334         * cgraphunit.c (symtab_node::native_rtl_p): New function.
3335         (symtab_node::needed_p): Don't assert for early assembly output
3336         for __RTL functions.
3337         (cgraph_node::finalize_function): Set "force_output" for __RTL
3338         functions.
3339         (cgraph_node::analyze): Bail out early for __RTL functions.
3340         (analyze_functions): Update assertion to support __RTL functions.
3341         (cgraph_node::expand): Bail out early for __RTL functions.
3342         * final.c (rest_of_clean_state): Don't call delete_tree_ssa for
3343         __RTL functions.
3344         * function.h (struct function): Update comment for field
3345         "pass_startwith".
3346         * gimple-expr.c: Include "tree-pass.h".
3347         (gimple_has_body_p): Return false for __RTL functions.
3348         * Makefile.in (OBJS): Add run-rtl-passes.o.
3349         * pass_manager.h (gcc::pass_manager::get_rest_of_compilation): New
3350         accessor.
3351         (gcc::pass_manager::get_clean_slate): New accessor.
3352         * passes.c: Include "insn-addr.h".
3353         (should_skip_pass_p): Add logging.  Update logic for running
3354         "expand" to be compatible with both __GIMPLE and __RTL.  Guard
3355         property-provider override so it is only done for gimple passes.
3356         Don't skip dfinit.
3357         (skip_pass): New function.
3358         (execute_one_pass): Call skip_pass when skipping passes.
3359         * read-md.c (md_reader::read_char): Support filtering
3360         the input to a subset of line numbers.
3361         (md_reader::md_reader): Initialize fields
3362         m_first_line and m_last_line.
3363         (md_reader::read_file_fragment): New function.
3364         * read-md.h (md_reader::read_file_fragment): New decl.
3365         (md_reader::m_first_line): New field.
3366         (md_reader::m_last_line): New field.
3367         * read-rtl-function.c (function_reader::create_function): Only
3368         create cfun if it doesn't already exist.  Set PROP_rtl on cfun's
3369         curr_properties.  Set DECL_INITIAL to a dummy block.
3370         (read_rtl_function_body_from_file_range): New function.
3371         * read-rtl-function.h (read_rtl_function_body_from_file_range):
3372         New decl.
3373         * run-rtl-passes.c: New file.
3374         * run-rtl-passes.h: New file.
3376 2017-01-24 Jeff Law  <law@redhat.com>
3378         * config/microblaze/microblaze.h (ASM_FORMAT_PRIVATE_NAME): Increase
3379         buffer size.
3381 2017-01-24  Bin Cheng  <bin.cheng@arm.com>
3383         PR tree-optimization/79159
3384         * tree-ssa-loop-niter.c (get_cst_init_from_scev): New function.
3385         (record_nonwrapping_iv): Improve boundary using above function if no
3386         value range information.
3388 2017-01-24  Pekka Jääskeläinen  <pekka@parmance.com>
3389             Martin Jambor  <mjambor@suse.cz>
3391         * brig-builtins.def: New file.
3392         * builtins.def (DEF_HSAIL_BUILTIN): New macro.
3393         (DEF_HSAIL_ATOMIC_BUILTIN): Likewise.
3394         (DEF_HSAIL_SAT_BUILTIN): Likewise.
3395         (DEF_HSAIL_INTR_BUILTIN): Likewise.
3396         (DEF_HSAIL_CVT_ZEROI_SAT_BUILTIN): Likewise.
3397         * builtin-types.def (BT_INT8): New.
3398         (BT_INT16): Likewise.
3399         (BT_UINT8): Likewise.
3400         (BT_UINT16): Likewise.
3401         (BT_FN_ULONG): Likewise.
3402         (BT_FN_UINT_INT): Likewise.
3403         (BT_FN_UINT_ULONG): Likewise.
3404         (BT_FN_UINT_LONG): Likewise.
3405         (BT_FN_UINT_PTR): Likewise.
3406         (BT_FN_ULONG_PTR): Likewise.
3407         (BT_FN_INT8_FLOAT): Likewise.
3408         (BT_FN_INT16_FLOAT): Likewise.
3409         (BT_FN_UINT32_FLOAT): Likewise.
3410         (BT_FN_UINT16_FLOAT): Likewise.
3411         (BT_FN_UINT8_FLOAT): Likewise.
3412         (BT_FN_UINT64_FLOAT): Likewise.
3413         (BT_FN_UINT16_UINT32): Likewise.
3414         (BT_FN_UINT32_UINT16): Likewise.
3415         (BT_FN_UINT16_UINT16_UINT16): Likewise.
3416         (BT_FN_INT_PTR_INT): Likewise.
3417         (BT_FN_UINT_PTR_UINT): Likewise.
3418         (BT_FN_LONG_PTR_LONG): Likewise.
3419         (BT_FN_ULONG_PTR_ULONG): Likewise.
3420         (BT_FN_VOID_UINT64_UINT64): Likewise.
3421         (BT_FN_UINT8_UINT8_UINT8): Likewise.
3422         (BT_FN_INT8_INT8_INT8): Likewise.
3423         (BT_FN_INT16_INT16_INT16): Likewise.
3424         (BT_FN_INT_INT_INT): Likewise.
3425         (BT_FN_UINT_FLOAT_UINT): Likewise.
3426         (BT_FN_FLOAT_UINT_UINT): Likewise.
3427         (BT_FN_ULONG_UINT_UINT): Likewise.
3428         (BT_FN_ULONG_UINT_PTR): Likewise.
3429         (BT_FN_ULONG_ULONG_ULONG): Likewise.
3430         (BT_FN_UINT_UINT_UINT): Likewise.
3431         (BT_FN_VOID_UINT_PTR): Likewise.
3432         (BT_FN_UINT_UINT_PTR: Likewise.
3433         (BT_FN_UINT32_UINT64_PTR): Likewise.
3434         (BT_FN_INT_INT_UINT_UINT): Likewise.
3435         (BT_FN_UINT_UINT_UINT_UINT): Likewise.
3436         (BT_FN_UINT_UINT_UINT_PTR): Likewise.
3437         (BT_FN_UINT_ULONG_ULONG_UINT): Likewise.
3438         (BT_FN_ULONG_ULONG_ULONG_ULONG): Likewise.
3439         (BT_FN_LONG_LONG_UINT_UINT): Likewise.
3440         (BT_FN_ULONG_ULONG_UINT_UINT): Likewise.
3441         (BT_FN_VOID_UINT32_UINT64_PTR): Likewise.
3442         (BT_FN_VOID_UINT32_UINT32_PTR): Likewise.
3443         (BT_FN_UINT_UINT_UINT_UINT_UINT): Likewise.
3444         (BT_FN_UINT_FLOAT_FLOAT_FLOAT_FLOAT): Likewise.
3445         (BT_FN_ULONG_ULONG_ULONG_UINT_UINT): Likewise.
3446         * doc/frontends.texi: List BRIG FE.
3447         * doc/install.texi (Testing): Add BRIG tesring requirements.
3448         * doc/invoke.texi (Overall Options): Mention BRIG.
3449         * doc/standards.texi (Standards): Doucment BRIG HSA version.
3451 2017-01-24  Richard Biener  <rguenther@suse.de>
3453         PR translation/79208
3454         * ipa-devirt.c (odr_types_equivalent_p): Fix typo in diagnostic.
3456 2017-01-24  Martin Jambor  <mjambor@suse.cz>
3458         PR bootstrap/79198
3459         * ipa-prop.c (ipa_free_all_node_params): Call summary destructor.
3460         * ipa-prop.c (ipa_node_params_t::insert): Initialize fields known_csts
3461         and known_contexts.
3463 2017-01-24  Aldy Hernandez  <aldyh@redhat.com>
3465         PR middle-end/79123
3466         * gimple-ssa-warn-alloca.c (alloca_call_type): Make sure
3467         casts from signed to unsigned really don't have a range.
3469 2017-01-24  Markus Trippelsdorf  <markus@trippelsdorf.de>
3471         * gimple-ssa-sprintf.c (format_floating): Change MPFR_RNDx to
3472         GMP_RNDx for compatiblity.
3474 2017-01-24  Martin Liska  <mliska@suse.cz>
3476         PR bootstrap/79132
3477         * tree-ssa-reassoc.c (rewrite_expr_tree_parallel): Insert assert
3478         that would prevent us to call alloca with -1 as argument.
3480 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
3482         * dwarf2out.c (output_compilation_unit_header, output_file_names):
3483         Avoid -Wformat-security warning.
3485 2017-01-23  Andrew Pinski  <apinski@cavium.com>
3487         * config/aarch64/aarch64.c (thunderx2t99_addrcost_table): Improve
3488         cost table.
3490 2017-01-23  Martin Sebor  <msebor@redhat.com>
3492         PR middle-end/78703
3493         * gimple-ssa-sprintf.c (warn_level): New global.
3494         (format_integer): Use it here and throughout the rest of the file.
3495         Use the same switch to compute sign as base.
3496         (maybe_warn): New function.
3497         (format_directive): Factor out warnings into maybe_warn.
3498         Add debugging output.  Use warn_level.
3499         (add_bytes): Use warn_level.
3500         (pass_sprintf_length::compute_format_length): Add debugging output.
3501         (try_substitute_return_value): Same.
3502         (pass_sprintf_length::handle_gimple_call): Set and use warn_level.
3504         PR middle-end/78703
3505         * gimple-ssa-sprintf.c (struct format_result): Remove constant member.
3506         (struct fmtresult, format_integer, format_floating): Adjust.
3507         (fmtresult::fmtresult): Set max correctly in two argument ctor.
3508         (get_string_length, format_string,format_directive): Same.
3509         (pass_sprintf_length::compute_format_length): Same.
3510         (try_substitute_return_value): Simplify slightly.
3512         PR middle-end/78703
3513         * gimple-ssa-sprintf.c (pass_sprintf_length::gate): Adjust formatting.
3514         (fmtresult::operator+=): Outlined.
3515         (struct fmtresult): Add ctors.
3516         (struct conversion_spec): Rename...
3517         (struct directive): ...to this.  Add and remove data members.
3518         (directive::set_width, directive::set_precision): New functions.
3519         (format_percent): Use fmtresult ctor.
3520         (get_width_and_precision): Remove.
3521         (format_integer): Make naming changes.  Avoid computing width and
3522         precision.
3523         (format_floating): Same.  Adjust indentation.
3524         (format_character, format_none): New functions.
3525         (format_string): Moved character handling to format_character.
3526         (format_directive): Remove arguments, change return type.
3527         (parse_directive): New function.
3528         (pass_sprintf_length::compute_format_length): Move directive
3529         parsing to parse_directive.
3531 2017-01-23  Jakub Jelinek  <jakub@redhat.com>
3533         * tree.h (assign_assembler_name_if_neeeded): Rename to ...
3534         (assign_assembler_name_if_needed): ... this.
3535         * tree.c (assign_assembler_name_if_neeeded): Rename to ...
3536         (assign_assembler_name_if_needed): ... this.
3537         (free_lang_data_in_cgraph): Adjust callers.
3538         * cgraphunit.c (cgraph_node::analyze): Likewise.
3539         * omp-expand.c (expand_omp_taskreg, expand_omp_target):
3540         Likewise.
3542 2017-01-23  Richard Biener  <rguenther@suse.de>
3544         PR tree-optimization/79088
3545         PR tree-optimization/79188
3546         * tree-ssa-threadupdate.c (mark_threaded_blocks): Move code
3547         resetting loop bounds after last path deletion.  Reset loop
3548         bounds of the target loop, make code match the comments.
3549         * tree-ssa-threadbackwards.c (pass_early_thread_jumps::execute):
3550         Make sure loops need no fixups.
3552 2017-01-23  Kelvin Nilsen  <kelvin@gcc.gnu.org>
3554         * config/rs6000/rs6000-builtin.def (VSIEDPF): Add scalar insert
3555         exponent support with double type for first argument.
3556         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Changed
3557         type returned by __builtin_vec_extract_sig,
3558         __builtin_vec_extract_sig_sp, and __builtin_vec_extract_sig_dp
3559         functions from "vector int" to "vector unsigned int" or from
3560         "vector long long int" to "vector unsigned long long int".
3561         Changed type returned by __builtin_vec_extract_exp,
3562         __builtin_vec_extract_exp_sp, and __builtin_vec_extract_exp_dp
3563         functions from "vector int" to "vector unsigned int" or from
3564         "vector long long int" to "vector unsigned long long int".
3565         Changed return type of __builtin_vec_test_data_class,
3566         __builtin_vec_test_data_class_sp, and
3567         __builtin_vec_test_data_class_dp from "vector int" to
3568         "vector bool int" or from "vector long long int" to "vector bool
3569         long long int" and changed second argument type from "unsigned
3570         int" to "int".  Added new overloaded function forms "vector float
3571         __builtin_vec_insert_exp (vector float, vector unsigned int)" and
3572         "vector float __builtin_vec_insert_exp_sp (vector float, vector
3573         unsigned int)" and "vector double __builtin_vec_insert_exp (vector
3574         double, vector unsigned long long int)" and "vector double
3575         __builtin_vec_insert_exp_dp (vector double, vector unsigned long
3576         long int)".  Changed return type of
3577         __builtin_scalar_test_data_class and
3578         __builtin_scalar_test_data_class_sp and
3579         __builtin_scalar_test_data_class_dp from "unsigned int" to "bool
3580         int" and changed second argument from "unsigned int" to "int".
3581         Changed type returned by __builtin_scalar_test_neg,
3582         __builtin_scalar_test_neg_sp, and __builtin_scalar_test_neg_dp
3583         from "int" to "bool int".  Added new overloaded function form
3584         "double __builtin_scalar_insert_exp (double, unsigned long long int)".
3585         * config/rs6000/vsx.md (xsiexpdpf): New insn for scalar insert
3586         exponent double-precision with floating point first argument.
3587         * doc/extend.texi (PowerPC AltiVec Built-in Functions): Adjust
3588         documentation of scalar_test_data_class, scalar_test_neg,
3589         scalar_extract_sig, scalar_extract_exp, scalar_insert_exp,
3590         vector_extract_exp, vec_extract_sig, vec_insert_exp, and
3591         vec_test_data_class built-in functions to reflect refinements in
3592         their type signatures.
3594 2017-01-23  Andreas Tobler  <andreast@gcc.gnu.org>
3596         * config/aarch64/aarch64.c (aarch64_elf_asm_constructor): Increase
3597         size of buf.
3598         (aarch64_elf_asm_destructor): Likewise.
3600 2017-01-23  Bernd Schmidt  <bschmidt@redhat.com>
3602         PR rtl-optimization/78634
3603         * config/i386/i386.c (ix86_max_noce_ifcvt_seq_cost): New function.
3604         (TARGET_MAX_NOCE_IFCVT_SEQ_COST): Define.
3605         * ifcvt.c (noce_try_cmove): Add missing cost check.
3607         PR rtl-optimization/71724
3608         * combine.c (if_then_else_cond): Look for situations where it is
3609         beneficial to undo the work of one of the recursive calls.
3611 2017-01-23  Bin Cheng  <bin.cheng@arm.com>
3613         PR tree-optimization/70754
3614         * tree-predcom.c (stmt_combining_refs): New parameter INSERT_BEFORE.
3615         (reassociate_to_the_same_stmt): New parameter INSERT_BEFORE.  Insert
3616         combined stmt before it if not NULL.
3617         (combine_chains): Process refs reversely and compute dominance point
3618         for root ref.
3620 2017-01-23  Martin Liska  <mliska@suse.cz>
3622         PR tree-optimization/79196
3623         * tree-ssa-strlen.c (fold_strstr_to_memcmp): Rename to ...
3624         (fold_strstr_to_strncmp): ... this.  Fold the pattern to strncmp
3625         instead of memcmp.
3626         (strlen_optimize_stmt): Call the renamed function.
3628 2017-01-23  Michael Matz  <matz@suse.de>
3630         PR tree-optimization/78384
3631         * tree-ssa-loop-split.c (patch_loop_exit): Use correct edge.
3633 2017-01-23  Richard Biener  <rguenther@suse.de>
3635         PR tree-optimization/79186
3636         * tree-vrp.c (register_new_assert_for): Make sure we've seen
3637         both incoming edges before moving an assert.
3639 2017-01-23  Martin Jambor  <mjambor@suse.cz>
3641         * ipa-prop.c (load_from_param_1): Removed.
3642         (load_from_unmodified_param): Bits from load_from_param_1 put back
3643         here.
3644         (load_from_param): Removed.
3645         (compute_complex_assign_jump_func): Removed stmt2 and just replaced it
3646         with stmt.  Reverted back to use of load_from_unmodified_param.
3648 2017-01-23  Martin Jambor  <mjambor@suse.cz>
3650         PR ipa/79108
3651         * ipa-prop.h (ipa_param_descriptor): Anotate with with GTY(()).
3652         (ipa_node_params): Annotate with GTY((for_user)).  Make descriptors
3653         field a pointer to garbage collected vector, mark lattices and
3654         ipcp_orig_node with GTY((skip)).
3655         (ipa_get_param_count): Adjust to descriptors being a pointer.
3656         (ipa_get_param): Likewise.
3657         (ipa_get_type): Likewise.
3658         (ipa_get_param_move_cost): Likewise.
3659         (ipa_set_param_used): Likewise.
3660         (ipa_get_controlled_uses): Likewise.
3661         (ipa_set_controlled_uses): Likewise.
3662         (ipa_is_param_used): Likewise.
3663         (ipa_node_params_t): Move into garbage collector.  New methods insert
3664         and remove.
3665         (ipa_node_params_sum): Annotate wth GTY(()).
3666         (ipa_check_create_node_params): Adjust to ipa_node_params_sum being
3667         garbage collected.
3668         (ipa_load_from_parm_agg): Adjust declaration.
3669         * ipa-icf.c (param_used_p): Adjust to descriptors being a pointer.
3670         * ipa-profile.c (ipa_profile): Likewise.
3671         * ipa-prop.c (ipa_get_param_decl_index_1): Likewise.
3672         (ipa_populate_param_decls): Make descriptors parameter garbage
3673         collected.
3674         (ipa_dump_param): Adjust to descriptors being a pointer.
3675         (ipa_alloc_node_params): Likewise.
3676         (ipa_initialize_node_params): Likewise.
3677         (load_from_param_1): Make descriptors parameter garbage collected.
3678         (load_from_unmodified_param): Likewise.
3679         (load_from_param): Likewise.
3680         (ipa_load_from_parm_agg): Likewise.
3681         (ipa_node_params::~ipa_node_params): Removed.
3682         (ipa_free_all_node_params): Remove call to delete operator.
3683         (ipa_node_params_t::insert): New.
3684         (ipa_node_params_t::remove): Likewise.
3685         (ipa_node_params_t::duplicate): Adjust to descriptors being a pointer,
3686         copy known_csts and known_contexts vectors.
3687         (ipa_read_node_info): Adjust to descriptors being a pointer.
3688         (ipcp_modif_dom_walker): Make m_descriptors field garbage
3689         collected.
3690         (ipcp_transform_function): Make descriptors variable garbage
3691         collected.
3693 2017-01-23  Andrew Senkevich  <andrew.senkevich@intel.com>
3695         * config/i386/avx512bwintrin.h: Add k-mask test, kortest intrinsics.
3696         * config/i386/avx512dqintrin.h: Ditto.
3697         * config/i386/avx512fintrin.h: Ditto.
3698         * gcc/config/i386/i386.c: Handle new builtins.
3699         * config/i386/i386-builtin.def: Add new builtins.
3700         * config/i386/sse.md (ktest<mode>, kortest<mode>): New.
3701         (UNSPEC_KORTEST, UNSPEC_KTEST): New.
3703 2017-01-23  Jakub Jelinek  <jakub@redhat.com>
3704             Martin Liska  <mliska@suse.cz>
3706         * asan.h: Define ASAN_USE_AFTER_SCOPE_ATTRIBUTE.
3707         * asan.c (asan_expand_poison_ifn): Support stores and use
3708         appropriate ASAN report function.
3709         * internal-fn.c (expand_ASAN_POISON_USE): New function.
3710         * internal-fn.def (ASAN_POISON_USE): Declare.
3711         * tree-into-ssa.c (maybe_add_asan_poison_write): New function.
3712         (maybe_register_def): Create ASAN_POISON_USE when sanitizing.
3713         * tree-ssa-dce.c (eliminate_unnecessary_stmts): Remove
3714         ASAN_POISON calls w/o LHS.
3715         * tree-ssa.c (execute_update_addresses_taken): Create clobber
3716         for ASAN_MARK (UNPOISON, &x, ...) in order to prevent usage of a LHS
3717         from ASAN_MARK (POISON, &x, ...) coming to a PHI node.
3718         * gimplify.c (asan_poison_variables): Add attribute
3719         use_after_scope_memory to variables that really needs to live
3720         in memory.
3721         * tree-ssa.c (is_asan_mark_p): Do not rewrite into SSA when
3722         having the attribute.
3724 2017-01-23  Martin Liska  <mliska@suse.cz>
3726         * asan.c (create_asan_shadow_var): New function.
3727         (asan_expand_poison_ifn): Likewise.
3728         * asan.h (asan_expand_poison_ifn): New declaration.
3729         * internal-fn.c (expand_ASAN_POISON): Likewise.
3730         * internal-fn.def (ASAN_POISON): New builtin.
3731         * sanopt.c (pass_sanopt::execute): Expand
3732         asan_expand_poison_ifn.
3733         * tree-inline.c (copy_decl_for_dup_finish): Make function
3734         external.
3735         * tree-inline.h (copy_decl_for_dup_finish): Likewise.
3736         * tree-ssa.c (is_asan_mark_p): New function.
3737         (execute_update_addresses_taken): Rewrite local variables
3738         (identified just by use-after-scope as addressable) into SSA.
3740 2017-01-22  Gerald Pfeifer  <gerald@pfeifer.com>
3742         * doc/install.texi (Specific): opensource.apple.com uses https
3743         now. Remove trailing slash.
3745 2017-01-22  Gerald Pfeifer  <gerald@pfeifer.com>
3747         * README.Portability: Remove note on an Irix compatibility issue.
3749 2017-01-22  Dimitry Andric <dim@FreeBSD.org>
3751         * gcov.c (INCLUDE_ALGORITHM): Define.
3752         (INCLUDE_VECTOR): Define.
3753         No longer include <vector> and <algorithm> directly.
3755 2017-01-21  Gerald Pfeifer  <gerald@pfeifer.com>
3757         * doc/extend.texi (Thread-Local): Change www.akkadia.org reference
3758         to https.
3759         * doc/invoke.texi (Code Gen Options): Ditto.
3761 2017-01-21  Jan Hubicka  <hubicka@ucw.cz>
3763         PR lto/78407
3764         * cfg.c (update_bb_profile_for_threading): Fix updating of probablity.
3766 2017-01-21  Bernd Schmidt  <bschmidt@redhat.com>
3768         rtl-optimization/79125
3769         * cprop.c (local_cprop_pass): Handle cases where we make an
3770         unconditional trap.
3772 2017-01-20  Segher Boessenkool  <segher@kernel.crashing.org>
3774         PR target/61729
3775         PR target/77850
3776         * config/rs6000/rs6000.c (rs6000_gimplify_va_arg): Adjust address to
3777         read from, for big endian.
3779 2017-01-20  Jiong Wang  <jiong.wang@arm.com>
3781         * config/aarch64/aarch64-builtins.c (aarch64_init_builtins): Register
3782         register pauth builtins for LP64 only.
3784 2017-01-20  Marek Polacek  <polacek@redhat.com>
3786         PR c/79152
3787         * gimplify.c (should_warn_for_implicit_fallthrough): Handle consecutive
3788         non-case labels.
3790 2017-01-20  Alexander Monakov  <amonakov@ispras.ru>
3792         * omp-expand.c (expand_omp_simd): Clear PROP_gimple_lomp_dev regardless
3793         of safelen status.
3794         * omp-offload.c (pass_omp_device_lower::gate): Use PROP_gimple_lomp_dev.
3795         * passes.c (dump_properties): Handle PROP_gimple_lomp_dev.
3796         * tree-inline.c (expand_call_inline): Propagate PROP_gimple_lomp_dev.
3798 2017-01-20  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
3800         PR target/71270
3801         * config/arm/arm.c (neon_valid_immediate): Reject vector constants
3802         in big-endian mode when they are not a single duplicated value.
3804 2017-01-20  Richard Biener  <rguenther@suse.de>
3806         * BASE-VER: Bump to 7.0.1.
3808 2017-01-20  Alexander Monakov  <amonakov@ispras.ru>
3810         * omp-low.c (omplow_simd_context): New struct.  Use it...
3811         (lower_rec_simd_input_clauses): ...here and...
3812         (lower_rec_input_clauses): ...here to hold common data.  Adjust all
3813         references to idx, lane, max_vf, is_simt.
3815 2017-01-20  Graham Markall  <graham.markall@embecosm.com>
3817         * config/arc/arc.h (LINK_SPEC): Use arclinux_nps emulation when
3818         mcpu=nps400.
3820 2017-01-20  Martin Jambor  <mjambor@suse.cz>
3822         * hsa.h: Renaed to hsa-common.h.  Adjusted a comment.
3823         * hsa.c: Renaed to hsa-common.c.  Change include of gt-hsa.h to
3824         gt-hsa-common.h.
3825         * Makefile.in (OBJS): Rename hsa.o to hsa-common.o.
3826         (GTFILES): Rename hsa.c to hsa-common.c.
3827         * hsa-brig.c: Change include of hsa.h to hsa-common.h.
3828         * hsa-dump.c: Likewise.
3829         * hsa-gen.c: Likewise.
3830         * hsa-regalloc.c: Likewise.
3831         * ipa-hsa.c: Likewise.
3832         * omp-expand.c: Likewise.
3833         * omp-low.c: Likewise.
3834         * toplev.c: Likewise.
3836 2017-01-20  Marek Polacek  <polacek@redhat.com>
3838         PR c/64279
3839         * doc/invoke.texi: Document -Wduplicated-branches.
3840         * fold-const.c (operand_equal_p): Handle MODIFY_EXPR, INIT_EXPR,
3841         COMPOUND_EXPR, PREDECREMENT_EXPR, PREINCREMENT_EXPR,
3842         POSTDECREMENT_EXPR, POSTINCREMENT_EXPR, CLEANUP_POINT_EXPR, EXPR_STMT,
3843         STATEMENT_LIST, and RETURN_EXPR.  For non-pure non-const functions
3844         return 0 only when not OEP_LEXICOGRAPHIC.
3845         (fold_build_cleanup_point_expr): Use the expression
3846         location when building CLEANUP_POINT_EXPR.
3847         * tree-core.h (enum operand_equal_flag): Add OEP_LEXICOGRAPHIC.
3848         * tree.c (add_expr): Handle error_mark_node.
3850 2017-01-20  Martin Liska  <mliska@suse.cz>
3852         PR lto/69188
3853         * tree-profile.c (init_ic_make_global_vars): Do not call
3854         finalize_decl.
3855         (gimple_init_gcov_profiler): Likewise.
3857 2017-01-20  Martin Liska  <mliska@suse.cz>
3859         PR ipa/71190
3860         * cgraph.h (maybe_create_reference): Remove argument and
3861         update comment.
3862         * cgraphclones.c (cgraph_node::create_virtual_clone): Remove one
3863         argument.
3864         * ipa-cp.c (create_specialized_node): Likewise.
3865         * symtab.c (symtab_node::maybe_create_reference): Handle
3866         VAR_DECLs and ADDR_EXPRs and select ipa_ref_use type.
3868 2017-01-20  Martin Liska  <mliska@suse.cz>
3870         * read-rtl-function.c (function_reader::create_function): Use
3871         build_decl instread of build_decl_stat.
3873 2017-01-20  Andrew Senkevich  <andrew.senkevich@intel.com>
3875         * config/i386/avx512bwintrin.h: Add k-mask registers shift intrinsics.
3876         * config/i386/avx512dqintrin.h: Ditto.
3877         * config/i386/avx512fintrin.h: Ditto.
3878         * config/i386/i386-builtin-types.def: Add new types.
3879         * gcc/config/i386/i386.c: Handle new types.
3880         * config/i386/i386-builtin.def (__builtin_ia32_kshiftliqi)
3881         (__builtin_ia32_kshiftlihi, __builtin_ia32_kshiftlisi)
3882         (__builtin_ia32_kshiftlidi, __builtin_ia32_kshiftriqi)
3883         (__builtin_ia32_kshiftrihi, __builtin_ia32_kshiftrisi)
3884         (__builtin_ia32_kshiftridi): New.
3885         * config/i386/sse.md (k<code><mode>): Rename *k<code><mode>.
3887 2017-01-19  Segher Boessenkool  <segher@kernel.crashing.org>
3889         PR target/78875
3890         PR target/79140
3891         * config/rs6000/rs6000.c (TARGET_STACK_PROTECT_GUARD): Unconditionally
3892         define to rs6000_init_stack_protect_guard.
3893         (rs6000_init_stack_protect_guard): New function.
3895 2017-01-19  Matthew Fortune  <matthew.fortune@imgtec.com>
3896             Yunqiang Su  <yunqiang.su@imgtec.com>
3898         * config.gcc (supported_defaults): Add madd4.
3899         (with_madd4): Add validation.
3900         (all_defaults): Add madd4.
3901         * config/mips/mips.opt (mmadd4): New option.
3902         * gcc/config/mips/mips.h (OPTION_DEFAULT_SPECS): Add a default for
3903         mmadd4.
3904         (TARGET_CPU_CPP_BUILTINS): Add builtin_define for
3905         __mips_no_madd4.
3906         (ISA_HAS_UNFUSED_MADD4): Gate with mips_madd4.
3907         (ISA_HAS_FUSED_MADD4): Likewise.
3908         * gcc/doc/invoke.texi (-mmadd4): Document the new option.
3909         * gcc/doc/install.texi (--with-madd4): Document the new option.
3911 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
3913         * config/aarch64/aarch64-builtins.c (enum aarch64_builtins): New
3914         entries for AARCH64_PAUTH_BUILTIN_XPACLRI,
3915         AARCH64_PAUTH_BUILTIN_PACIA1716, AARCH64_PAUTH_BUILTIN_AUTIA1716.
3916         (aarch64_init_pauth_hint_builtins): New.
3917         (aarch64_init_builtins): Call aarch64_init_pauth_hint_builtins.
3918         (aarch64_expand_builtin): Expand new builtins.
3920 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
3922         * reg-notes.def (CFA_TOGGLE_RA_MANGLE): New reg-note.
3923         * combine-stack-adj.c (no_unhandled_cfa): Handle
3924         REG_CFA_TOGGLE_RA_MANGLE.
3925         * dwarf2cfi.c (dwarf2out_frame_debug): Handle REG_CFA_TOGGLE_RA_MANGLE.
3926         * config/aarch64/aarch64.c (aarch64_expand_prologue): Generates DWARF
3927         info for return address signing.
3928         (aarch64_expand_epilogue): Likewise.
3930 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
3932         * config/aarch64/aarch64-opts.h (aarch64_function_type): New enum.
3933         * config/aarch64/aarch64-protos.h
3934         (aarch64_return_address_signing_enabled): New declaration.
3935         * config/aarch64/aarch64.c (aarch64_return_address_signing_enabled):
3936         New function.
3937         (aarch64_expand_prologue): Sign return address before it's pushed onto
3938         stack.
3939         (aarch64_expand_epilogue): Authenticate return address fetched from
3940         stack.
3941         (aarch64_override_options): Sanity check for ILP32 and ISA level.
3942         (aarch64_attributes): New function attributes for "sign-return-address".
3943         * config/aarch64/aarch64.md (UNSPEC_AUTI1716, UNSPEC_AUTISP,
3944         UNSPEC_PACI1716, UNSPEC_PACISP, UNSPEC_XPACLRI): New unspecs.
3945         ("*do_return"): Generate combined instructions according to key index.
3946         ("<pauth_mnem_prefix>sp", "<pauth_mnem_prefix1716", "xpaclri"): New.
3947         * config/aarch64/iterators.md (PAUTH_LR_SP, PAUTH_17_16): New integer
3948         iterators.
3949         (pauth_mnem_prefix, pauth_hint_num_a): New integer attributes.
3950         * config/aarch64/aarch64.opt (msign-return-address=): New.
3951         * doc/extend.texi (AArch64 Function Attributes): Documents
3952         "sign-return-address=".
3953         * doc/invoke.texi (AArch64 Options): Documents "-msign-return-address=".
3955 2017-01-19  Matthew Fortune  <matthew.fortune@imgtec.com>
3957         * doc/invoke.texi: Add missing -mlxc1-sxc1 options to
3958         overall option summary.
3960 2017-01-19  Jiong Wang  <jiong.wang@arm.com>
3962         * config/aarch64/aarch64-arches.def: New entry for "armv8.3-a".
3963         * config/aarch64/aarch64.h (AARCH64_FL_V8_3, AARCH64_FL_FOR_ARCH8_3,
3964         AARCH64_ISA_V8_3, TARGET_ARMV8_3): New.
3965         * doc/invoke.texi (AArch64 Options): Document "armv8.3-a".
3967 2017-01-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
3969         * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Enable
3970         -mpower9-minmax by default for -mcpu=power9.
3971         (ISA_3_MASKS_IEEE): Require -mvsx-small-integer to enable IEEE
3972         128-bit floating point.
3974 2017-01-20  Alan Modra  <amodra@gmail.com>
3976         * config/rs6000/rs6000.md (cmpstrnsi, cmpstrsi): Fail if
3977         optimizing for size.
3979 2017-01-20  Alan Modra  <amodra@gmail.com>
3981         PR target/79144
3982         * config/rs6000/rs6000.c (expand_strn_compare): Get the asm name
3983         for strcmp and strncmp from corresponding builtin decl.
3985 2017-01-19  Uros Bizjak  <ubizjak@gmail.com>
3987         * config.gcc (x86_64-*-rtems*): Use i386/rtemself.h
3988         instead of i386/rtems-64.h.
3989         * config/i386/rtems-64.h: Remove.
3991 2017-01-19  Uros Bizjak  <ubizjak@gmail.com>
3993         PR target/78478
3994         Revert:
3995         2013-11-05  Uros Bizjak  <ubizjak@gmail.com>
3997         * config/i386/rtemself.h (LONG_DOUBLE_TYPE_SIZE): New define.
3999 2017-01-19  Tamar Christina  <tamar.christina@arm.com>
4001         * config/aarch64/aarch64.c (aarch64_simd_gen_const_vector_dup):
4002         Change int to HOST_WIDE_INT.
4003         * config/aarch64/aarch64-protos.h
4004         (aarch64_simd_gen_const_vector_dup): Likewise.
4005         * config/aarch64/aarch64-simd.md: Add copysign<mode>3.
4007 2017-01-19  David Malcolm  <dmalcolm@redhat.com>
4009         * langhooks-def.h (lhd_type_for_size): New decl.
4010         (LANG_HOOKS_TYPE_FOR_SIZE): Define as lhd_type_for_size.
4011         * langhooks.c (lhd_type_for_size): New function, taken from
4012         lto_type_for_size.
4014 2017-01-19  Pat Haugen  <pthaugen@us.ibm.com>
4016         * config/rs6000/power9.md (power9-alu): Remove 'cmp' type and add
4017         define_bypass for CR latency.
4018         (power9-cracked-alu): Update bypass latency and remove power9-branch.
4019         (power9-alu2): Add define_bypass for CR latency.
4020         (power9-cmp): New.
4021         (power9-mul): Update insn latency.
4022         (power9-mul-compare): Update insn latency, bypass latency and remove
4023         power9-branch.
4025 2016-01-19  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
4027         * config/aarch64/aarch64-protos.h (aarch64_nopcrelative_literal_loads):
4028         Delete.
4029         * config/aarch64/aarch64.md
4030         (aarch64_reload_movcp<GPF_TF:mode><P:mode>): Delete reference to
4031         aarch64_nopcrelative_literal_loads.
4032         (aarch64_reload_movcp<VALL:mode><P:mode>): Likewise.
4034 2017-01-19  Chenghua Xu  <paul.hua.gm@gmail.com>
4036         * config/mips/mips.h (ISA_HAS_FUSED_MADD4): Enable for
4037         TARGET_LOONGSON_3A.
4038         (ISA_HAS_UNFUSED_MADD4): Exclude TARGET_LOONGSON_3A.
4040 2017-01-19  Doug Gilmore  <doug.gilmore@imgtec.com>
4042         PR target/78176
4043         * config.gcc (supported_defaults): Add lxc1-sxc1.
4044         (with_lxc1_sxc1): Add validation.
4045         (all_defaults): Add lxc1-sxc1.
4046         * config/mips/mips.opt (mlxc1-sxc1): New option.
4047         * gcc/config/mips/mips.h (OPTION_DEFAULT_SPECS): Add a default for
4048         mlxc1-sxc1.
4049         (TARGET_CPU_CPP_BUILTINS): Add builtin_define for
4050         __mips_no_lxc1_sxc1.
4051         (ISA_HAS_LXC1_SXC1): Gate with mips_lxc1_sxc1.
4052         * gcc/doc/invoke.texi (-mlxc1-sxc1): Document the new option.
4053         * doc/install.texi (--with-lxc1-sxc1): Document the new option.
4055 2017-01-19  Richard Biener  <rguenther@suse.de>
4057         PR tree-optimization/72488
4058         * tree-ssa-sccvn.c (run_scc_vn): When we abort the VN make
4059         sure to restore SSA info.
4060         * tree-ssa.c (verify_ssa): Verify SSA info is not shared.
4062 2017-01-19  Richard Earnshaw  <rearnsha@arm.com>
4064         PR rtl-optimization/79121
4065         * expr.c (expand_expr_real_2, case LSHIFT_EXPR): Look at the signedness
4066         of the inner type when shifting an extended value.
4068 2017-01-17  Jan Hubicka  <hubicka@ucw.cz>
4070         PR lto/78407
4071         * symtab.c (symtab_node::equal_address_to): Fix comparing of
4072         interposable aliases.
4074 2017-01-18  Peter Bergner  <bergner@vnet.ibm.com>
4076         PR target/78516
4077         * config/rs6000/spe.md (mov_si<mode>_e500_subreg0): Fix constraints.
4078         Use the evmergelohi instruction.
4079         (mov_si<mode>_e500_subreg4_2_le): Likewise.
4080         (mov_sitf_e500_subreg8_2_be): Likewise.
4081         (mov_sitf_e500_subreg12_2_le): Likewise.
4082         (mov_si<mode>_e500_subreg0_2_le): Fix constraints.
4083         (mov_si<mode>_e500_subreg4_2_be): Likewise.
4084         (mov_sitf_e500_subreg8_2_le): Likewise.
4085         (mov_sitf_e500_subreg12_2_be): Likewise.
4087 2017-01-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4089         * config/rs6000/altivec.md (altivec_vbpermq): Change "type"
4090         attribute from vecsimple to vecperm.
4091         (altivec_vbpermq2): Likewise.
4093 2017-01-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4095         PR target/79040
4096         * config/rs6000/altivec.h: Fix typo of vec_cntlz to vec_cnttz.
4098 2017-01-18  Aaron Sawdey  <acsawdey@linux.vnet.ibm.com>
4099         * config/rs6000/rs6000-protos.h (expand_strn_compare): Add arg.
4100         * config/rs6000/rs6000.c (expand_strn_compare): Add ability to expand
4101         strcmp. Fix bug where comparison didn't stop with zero byte. Fix
4102         case where N arg is SIZE_MAX.
4103         * config/rs6000/rs6000.md (cmpstrnsi): Args to expand_strn_compare.
4104         (cmpstrsi): Add pattern.
4106 2017-01-18  Michael Meissner  <meissner@linux.vnet.ibm.com>
4108         * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Add
4109         __builtin_vec_revb builtins.
4110         * config/rs6000/rs6000-builtins.def (P9V_BUILTIN_XXBRQ_V16QI): Add
4111         built-in functions to support generation of the ISA 3.0 XXBR<x>
4112         vector byte reverse instructions.
4113         (P9V_BUILTIN_XXBRQ_V1TI): Likewise.
4114         (P9V_BUILTIN_XXBRD_V2DI): Likewise.
4115         (P9V_BUILTIN_XXBRD_V2DF): Likewise.
4116         (P9V_BUILTIN_XXBGW_V4SI): Likewise.
4117         (P9V_BUILTIN_XXBGW_V4SF): Likewise.
4118         (P9V_BUILTIN_XXBGH_V8HI): Likewise.
4119         (P9V_BUILTIN_VEC_REVB): Likewise.
4120         * config/rs6000/vsx.md (p9_xxbrq_v1ti): New insns/expanders to
4121         generate the ISA 3.0 XXBR<x> vector byte reverse instructions.
4122         (p9_xxbrq_v16qi): Likewise.
4123         (p9_xxbrd_<mode>, VSX_D iterator): Likewise.
4124         (p9_xxbrw_<mode>, VSX_W iterator): Likewise.
4125         (p9_xxbrh_v8hi): Likewise.
4126         * config/rs6000/altivec.h (vec_revb): Define if ISA 3.0.
4127         * doc/extend.texi (RS/6000 Altivec Built-ins): Document the
4128         vec_revb built-in functions.
4130 2017-01-18  Uros Bizjak  <ubizjak@gmail.com>
4132         PR rtl-optimization/78952
4133         * config/i386/i386.md (any_extract): New code iterator.
4134         (*insvqi_2): Use any_extract for source operand.
4135         (*insvqi_3): Use any_shiftrt for source operand.
4137 2017-01-18  Wilco Dijkstra  <wdijkstr@arm.com>
4139         * config/aarch64/aarch64.c (aarch64_sched_adjust_priority)
4140         New function.
4141         (TARGET_SCHED_ADJUST_PRIORITY): Define target hook.
4143 2017-01-18  Matthias Klose  <doko@ubuntu.com>
4145         * doc/install.texi: Allow default for --with-target-bdw-gc-include.
4147 2016-01-18  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4149         * config/rs6000/altivec.h (vec_bperm): Change #define.
4150         * config/rs6000/altivec.md (UNSPEC_VBPERMD): New enum constant.
4151         (altivec_vbpermq2): New define_insn.
4152         (altivec_vbpermd): Likewise.
4153         * config/rs6000/rs6000-builtin.def (VBPERMQ2): New monomorphic
4154         function interface.
4155         (VBPERMD): Likewise.
4156         (VBPERM): New polymorphic function interface.
4157         * config/rs6000/r6000-c.c (altivec_overloaded_builtins_table):
4158         Add entries for P9V_BUILTIN_VEC_VBPERM.
4159         * doc/extend.texi: Add interfaces for vec_bperm.
4161 2017-01-18  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
4163         * config/s390/s390-c.c (s390_expand_overloaded_builtin): Downcase
4164         first letter of error messages.
4165         (s390_resolve_overloaded_builtin): Likewise.
4166         * config/s390/s390.c (s390_expand_builtin): Likewise.
4167         (s390_invalid_arg_for_unprototyped_fn): Likewise.
4168         (s390_valid_target_attribute_inner_p): Likewise.
4169         * config/s390/s390.md ("tabort"): Likewise.
4171 2017-01-18  Toma Tabacu  <toma.tabacu@imgtec.com>
4173         * config/mips/mips.h (ISA_HAS_DIV3): Remove unused macro.
4174         (ISA_AVOID_DIV_HILO): New macro.
4175         (ISA_HAS_DIV): Use new ISA_AVOID_DIV_HILO macro.
4176         (ISA_HAS_DDIV): Likewise.
4178 2017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
4180         * doc/invoke.texi (fabi-version): Correct number of occurrences.
4182 2017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
4184         * doc/invoke.texi (fabi-version): Spelling fix.
4186 2017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
4188         PR c++/70182
4189         * doc/invoke.texi (fabi-version): Mention mangling fix for
4190         operator names.
4192 2017-01-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
4194         PR c++/77489
4195         * doc/invoke.texi (fabi-version): Document discriminator mangling.
4197 2017-01-17  Segher Boessenkool  <segher@kernel.crashing.org>
4199         PR target/78875
4200         * config/rs6000/rs6000-opts.h (stack_protector_guard): New enum.
4201         * config/rs6000/rs6000.c (rs6000_option_override_internal): Handle
4202         the new options.
4203         * config/rs6000/rs6000.md (stack_protect_set): Handle the new more
4204         flexible settings.
4205         (stack_protect_test): Ditto.
4206         * config/rs6000/rs6000.opt (mstack-protector-guard=,
4207         mstack-protector-guard-reg=, mstack-protector-guard-offset=): New
4208         options.
4209         * doc/invoke.texi (Option Summary) [RS/6000 and PowerPC Options]:
4210         Add -mstack-protector-guard=, -mstack-protector-guard-reg=, and
4211         -mstack-protector-guard-offset=.
4212         (RS/6000 and PowerPC Options): Ditto.
4214 2017-01-17  Uros Bizjak  <ubizjak@gmail.com>
4216         * config/i386/i386.h (MASK_CLASS_P): New define.
4217         * config/i386/i386.c (inline_secondary_memory_needed): Ensure that
4218         there are no registers from different register sets also when
4219         mask registers are used.  Update function comment.
4220         * config/i386/i386.md (*movsi_internal): Split (*k/*krm) alternative
4221         to (*k/*r) and (*k/*km) alternatives.
4223 2017-01-17  Wilco Dijkstra  <wdijkstr@arm.com>
4225         * config/aarch64/aarch64.md (eh_return): Remove pattern and splitter.
4226         * config/aarch64/aarch64.h (AARCH64_EH_STACKADJ_REGNUM): Remove.
4227         (EH_RETURN_HANDLER_RTX): New define.
4228         * config/aarch64/aarch64.c (aarch64_frame_pointer_required):
4229         Force frame pointer in EH return functions.
4230         (aarch64_expand_epilogue): Add barrier for eh_return.
4231         (aarch64_final_eh_return_addr): Remove.
4232         (aarch64_eh_return_handler_rtx): New function.
4233         * config/aarch64/aarch64-protos.h (aarch64_final_eh_return_addr):
4234         Remove.
4235         (aarch64_eh_return_handler_rtx): New prototype.
4237 2017-01-17  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4239         * config/rs6000/altivec.h (vec_rlmi): New #define.
4240         (vec_vrlnm): Likewise.
4241         (vec_rlnm): Likewise.
4242         * config/rs6000/altivec.md (UNSPEC_VRLMI): New UNSPEC enum value.
4243         (UNSPEC_VRLNM): Likewise.
4244         (VIlong): New mode iterator.
4245         (altivec_vrl<VI_char>mi): New define_insn.
4246         (altivec_vrl<VI_char>nm): Likewise.
4247         * config/rs6000/rs6000-builtin.def (VRLWNM): New monomorphic
4248         function entry.
4249         (VRLDNM): Likewise.
4250         (RLNM): New polymorphic function entry.
4251         (VRLWMI): New monomorphic function entry.
4252         (VRLDMI): Likewise.
4253         (RLMI): New polymorphic function entry.
4254         * config/rs6000/r6000-c.c (altivec_overloaded_builtin_table): Add
4255         new entries for P9V_BUILTIN_VEC_RLMI and P9V_BUILTIN_VEC_RLNM.
4256         * doc/extend.texi: Add description of vec_rlmi, vec_rlnm, and
4257         vec_vrlnm.
4259 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4261         PR debug/78839
4262         * dwarf2out.c (field_byte_offset): Restore the
4263         PCC_BITFIELD_TYPE_MATTERS behavior for INTEGER_CST DECL_FIELD_OFFSET
4264         and DECL_FIELD_BIT_OFFSET.  Use fold_build2 instead of build2 + fold.
4265         (analyze_variants_discr, gen_variant_part): Use fold_build2 instead
4266         of build2 + fold.
4268 2017-01-17  Eric Botcazou  <ebotcazou@adacore.com>
4270         PR ada/67205
4271         * config/aarch64/aarch64.c (TARGET_CUSTOM_FUNCTION_DESCRIPTORS): Define
4273 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4275         PR debug/71669
4276         * dwarf2out.c (add_data_member_location_attribute): For constant
4277         offset bitfield emit for -gdwarf-5 DW_AT_data_bit_offset attribute
4278         instead of DW_AT_data_member_location, DW_AT_bit_offset and
4279         DW_AT_byte_size attributes.
4281 2017-01-17  Eric Botcazou  <ebotcazou@adacore.com>
4283         * config/rs6000/rs6000.c (rs6000_emit_move): Also use a TOC reference
4284         after forcing to constant memory when the code model is medium.
4286 2017-01-17  Julia Koval  <julia.koval@intel.com>
4288         PR target/76731
4289         * config/i386/avx512fintrin.h
4290         (_mm512_i32gather_ps): Change __addr type to void const*.
4291         (_mm512_mask_i32gather_ps): Ditto.
4292         (_mm512_i32gather_pd): Ditto.
4293         (_mm512_mask_i32gather_pd): Ditto.
4294         (_mm512_i64gather_ps): Ditto.
4295         (_mm512_mask_i64gather_ps): Ditto.
4296         (_mm512_i64gather_pd): Ditto.
4297         (_mm512_mask_i64gather_pd): Ditto.
4298         (_mm512_i32gather_epi32): Ditto.
4299         (_mm512_mask_i32gather_epi32): Ditto.
4300         (_mm512_i32gather_epi64): Ditto.
4301         (_mm512_mask_i32gather_epi64): Ditto.
4302         (_mm512_i64gather_epi32): Ditto.
4303         (_mm512_mask_i64gather_epi32): Ditto.
4304         (_mm512_i64gather_epi64): Ditto.
4305         (_mm512_mask_i64gather_epi64): Ditto.
4306         (_mm512_i32scatter_ps): Change __addr type to void*.
4307         (_mm512_mask_i32scatter_ps): Ditto.
4308         (_mm512_i32scatter_pd): Ditto.
4309         (_mm512_mask_i32scatter_pd): Ditto.
4310         (_mm512_i64scatter_ps): Ditto.
4311         (_mm512_mask_i64scatter_ps): Ditto.
4312         (_mm512_i64scatter_pd): Ditto.
4313         (_mm512_mask_i64scatter_pd): Ditto.
4314         (_mm512_i32scatter_epi32): Ditto.
4315         (_mm512_mask_i32scatter_epi32): Ditto.
4316         (_mm512_i32scatter_epi64): Ditto.
4317         (_mm512_mask_i32scatter_epi64): Ditto.
4318         (_mm512_i64scatter_epi32): Ditto.
4319         (_mm512_mask_i64scatter_epi32): Ditto.
4320         (_mm512_i64scatter_epi64): Ditto.
4321         (_mm512_mask_i64scatter_epi64): Ditto.
4322         * config/i386/avx512pfintrin.h
4323         (_mm512_mask_prefetch_i32gather_pd): Change __addr type to void const*.
4324         (_mm512_mask_prefetch_i32gather_ps): Ditto.
4325         (_mm512_mask_prefetch_i64gather_pd): Ditto.
4326         (_mm512_mask_prefetch_i64gather_ps): Ditto.
4327         (_mm512_prefetch_i32scatter_pd): Change __addr type to void*.
4328         (_mm512_prefetch_i32scatter_ps): Ditto.
4329         (_mm512_mask_prefetch_i32scatter_pd): Ditto.
4330         (_mm512_mask_prefetch_i32scatter_ps): Ditto.
4331         (_mm512_prefetch_i64scatter_pd): Ditto.
4332         (_mm512_prefetch_i64scatter_ps): Ditto.
4333         (_mm512_mask_prefetch_i64scatter_pd): Ditto.
4334         (_mm512_mask_prefetch_i64scatter_ps): Ditto.
4335         * config/i386/avx512vlintrin.h
4336         (_mm256_mmask_i32gather_ps): Change __addr type to void const*.
4337         (_mm_mmask_i32gather_ps): Ditto.
4338         (_mm256_mmask_i32gather_pd): Ditto.
4339         (_mm_mmask_i32gather_pd): Ditto.
4340         (_mm256_mmask_i64gather_ps): Ditto.
4341         (_mm_mmask_i64gather_ps): Ditto.
4342         (_mm256_mmask_i64gather_pd): Ditto.
4343         (_mm_mmask_i64gather_pd): Ditto.
4344         (_mm256_mmask_i32gather_epi32): Ditto.
4345         (_mm_mmask_i32gather_epi32): Ditto.
4346         (_mm256_mmask_i32gather_epi64): Ditto.
4347         (_mm_mmask_i32gather_epi64): Ditto.
4348         (_mm256_mmask_i64gather_epi32): Ditto.
4349         (_mm_mmask_i64gather_epi32): Ditto.
4350         (_mm256_mmask_i64gather_epi64): Ditto.
4351         (_mm_mmask_i64gather_epi64): Ditto.
4352         (_mm256_i32scatter_ps): Change __addr type to void*.
4353         (_mm256_mask_i32scatter_ps): Ditto.
4354         (_mm_i32scatter_ps): Ditto.
4355         (_mm_mask_i32scatter_ps): Ditto.
4356         (_mm256_i32scatter_pd): Ditto.
4357         (_mm256_mask_i32scatter_pd): Ditto.
4358         (_mm_i32scatter_pd): Ditto.
4359         (_mm_mask_i32scatter_pd): Ditto.
4360         (_mm256_i64scatter_ps): Ditto.
4361         (_mm256_mask_i64scatter_ps): Ditto.
4362         (_mm_i64scatter_ps): Ditto.
4363         (_mm_mask_i64scatter_ps): Ditto.
4364         (_mm256_i64scatter_pd): Ditto.
4365         (_mm256_mask_i64scatter_pd): Ditto.
4366         (_mm_i64scatter_pd): Ditto.
4367         (_mm_mask_i64scatter_pd): Ditto.
4368         (_mm256_i32scatter_epi32): Ditto.
4369         (_mm256_mask_i32scatter_epi32): Ditto.
4370         (_mm_i32scatter_epi32): Ditto.
4371         (_mm_mask_i32scatter_epi32): Ditto.
4372         (_mm256_i32scatter_epi64): Ditto.
4373         (_mm256_mask_i32scatter_epi64): Ditto.
4374         (_mm_i32scatter_epi64): Ditto.
4375         (_mm_mask_i32scatter_epi64): Ditto.
4376         (_mm256_i64scatter_epi32): Ditto.
4377         (_mm256_mask_i64scatter_epi32): Ditto.
4378         (_mm_i64scatter_epi32): Ditto.
4379         (_mm_mask_i64scatter_epi32): Ditto.
4380         (_mm256_i64scatter_epi64): Ditto.
4381         (_mm256_mask_i64scatter_epi64): Ditto.
4382         (_mm_i64scatter_epi64): Ditto.
4383         (_mm_mask_i64scatter_epi64): Ditto.
4384         * config/i386/i386-builtin-types.def (V16SF_V16SF_PCFLOAT_V16SI_HI_INT)
4385         (V8DF_V8DF_PCDOUBLE_V8SI_QI_INT, V8SF_V8SF_PCFLOAT_V8DI_QI_INT)
4386         (V8DF_V8DF_PCDOUBLE_V8DI_QI_INT, V16SI_V16SI_PCINT_V16SI_HI_INT)
4387         (V8DI_V8DI_PCINT64_V8SI_QI_INT, V8SI_V8SI_PCINT_V8DI_QI_INT)
4388         (V8DI_V8DI_PCINT64_V8DI_QI_INT, V2DF_V2DF_PCDOUBLE_V4SI_QI_INT)
4389         (V4DF_V4DF_PCDOUBLE_V4SI_QI_INT, V2DF_V2DF_PCDOUBLE_V2DI_QI_INT)
4390         (V4DF_V4DF_PCDOUBLE_V4DI_QI_INT, V4SF_V4SF_PCFLOAT_V4SI_QI_INT)
4391         (V8SF_V8SF_PCFLOAT_V8SI_QI_INT, V4SF_V4SF_PCFLOAT_V2DI_QI_INT)
4392         (V4SF_V4SF_PCFLOAT_V4DI_QI_INT, V2DI_V2DI_PCINT64_V4SI_QI_INT)
4393         (V4DI_V4DI_PCINT64_V4SI_QI_INT, V2DI_V2DI_PCINT64_V2DI_QI_INT)
4394         (V4DI_V4DI_PCINT64_V4DI_QI_INT, V4SI_V4SI_PCINT_V4SI_QI_INT)
4395         (V8SI_V8SI_PCINT_V8SI_QI_INT, V4SI_V4SI_PCINT_V2DI_QI_INT)
4396         (V4SI_V4SI_PCINT_V4DI_QI_INT, VOID_PFLOAT_HI_V16SI_V16SF_INT)
4397         (VOID_PFLOAT_QI_V8SI_V8SF_INT, VOID_PFLOAT_QI_V4SI_V4SF_INT)
4398         (VOID_PDOUBLE_QI_V8SI_V8DF_INT, VOID_PDOUBLE_QI_V4SI_V4DF_INT)
4399         (VOID_PDOUBLE_QI_V4SI_V2DF_INT, VOID_PFLOAT_QI_V8DI_V8SF_INT)
4400         (VOID_PFLOAT_QI_V4DI_V4SF_INT, VOID_PFLOAT_QI_V2DI_V4SF_INT)
4401         (VOID_PDOUBLE_QI_V8DI_V8DF_INT, VOID_PDOUBLE_QI_V4DI_V4DF_INT)
4402         (VOID_PDOUBLE_QI_V2DI_V2DF_INT, VOID_PINT_HI_V16SI_V16SI_INT)
4403         (VOID_PINT_QI_V8SI_V8SI_INT, VOID_PINT_QI_V4SI_V4SI_INT)
4404         (VOID_PLONGLONG_QI_V8SI_V8DI_INT, VOID_PLONGLONG_QI_V4SI_V4DI_INT)
4405         (VOID_PLONGLONG_QI_V4SI_V2DI_INT, VOID_PINT_QI_V8DI_V8SI_INT)
4406         (VOID_PINT_QI_V4DI_V4SI_INT, VOID_PINT_QI_V2DI_V4SI_INT)
4407         (VOID_PLONGLONG_QI_V8DI_V8DI_INT, VOID_QI_V8SI_PCINT64_INT_INT)
4408         (VOID_PLONGLONG_QI_V4DI_V4DI_INT, VOID_PLONGLONG_QI_V2DI_V2DI_INT)
4409         (VOID_HI_V16SI_PCINT_INT_INT, VOID_QI_V8DI_PCINT64_INT_INT)
4410         (VOID_QI_V8DI_PCINT_INT_INT): Remove.
4411         (V16SF_V16SF_PCVOID_V16SI_HI_INT,  V8DF_V8DF_PCVOID_V8SI_QI_INT)
4412         (V8SF_V8SF_PCVOID_V8DI_QI_INT, V8DF_V8DF_PCVOID_V8DI_QI_INT)
4413         (V16SI_V16SI_PCVOID_V16SI_HI_INT, V8DI_V8DI_PCVOID_V8SI_QI_INT)
4414         (V8SI_V8SI_PCVOID_V8DI_QI_INT, V8DI_V8DI_PCVOID_V8DI_QI_INT)
4415         (VOID_PVOID_HI_V16SI_V16SF_INT, VOID_PVOID_QI_V8SI_V8DF_INT)
4416         (VOID_PVOID_QI_V8DI_V8SF_INT, VOID_PVOID_QI_V8DI_V8DF_INT)
4417         (VOID_PVOID_HI_V16SI_V16SI_INT, VOID_PVOID_QI_V8SI_V8DI_INT)
4418         (VOID_PVOID_QI_V8DI_V8SI_INT, VOID_PVOID_QI_V8DI_V8DI_INT)
4419         (V2DF_V2DF_PCVOID_V4SI_QI_INT, V4DF_V4DF_PCVOID_V4SI_QI_INT)
4420         (V2DF_V2DF_PCVOID_V2DI_QI_INT, V4DF_V4DF_PCVOID_V4DI_QI_INT
4421         (V4SF_V4SF_PCVOID_V4SI_QI_INT, V8SF_V8SF_PCVOID_V8SI_QI_INT)
4422         (V4SF_V4SF_PCVOID_V2DI_QI_INT, V4SF_V4SF_PCVOID_V4DI_QI_INT)
4423         (V2DI_V2DI_PCVOID_V4SI_QI_INT, V4DI_V4DI_PCVOID_V4SI_QI_INT)
4424         (V2DI_V2DI_PCVOID_V2DI_QI_INT, V4DI_V4DI_PCVOID_V4DI_QI_INT)
4425         (V4SI_V4SI_PCVOID_V4SI_QI_INT, V8SI_V8SI_PCVOID_V8SI_QI_INT)
4426         (V4SI_V4SI_PCVOID_V2DI_QI_INT, V4SI_V4SI_PCVOID_V4DI_QI_INT)
4427         (VOID_PVOID_QI_V8SI_V8SF_INT, VOID_PVOID_QI_V4SI_V4SF_INT)
4428         (VOID_PVOID_QI_V4SI_V4DF_INT, VOID_PVOID_QI_V4SI_V2DF_INT)
4429         (VOID_PVOID_QI_V4DI_V4SF_INT, VOID_PVOID_QI_V2DI_V4SF_INT)
4430         (VOID_PVOID_QI_V4DI_V4DF_INT, VOID_PVOID_QI_V2DI_V2DF_INT)
4431         (VOID_PVOID_QI_V8SI_V8SI_INT, VOID_PVOID_QI_V4SI_V4SI_INT)
4432         (VOID_PVOID_QI_V4SI_V4DI_INT, VOID_PVOID_QI_V4SI_V2DI_INT)
4433         (VOID_PVOID_QI_V4DI_V4SI_INT, VOID_PVOID_QI_V2DI_V4SI_INT)
4434         (VOID_PVOID_QI_V4DI_V4DI_INT, VOID_PVOID_QI_V2DI_V2DI_INT)
4435         (VOID_QI_V8SI_PCVOID_INT_INT, VOID_HI_V16SI_PCVOID_INT_INT)
4436         (VOID_QI_V8DI_PCVOID_INT_INT): Add.
4437         * config/i386/i386.c (ix86_init_mmx_sse_builtins): Adjust builtin
4438         definitions accordingly.
4440 2017-01-17  Kito Cheng  <kito.cheng@gmail.com>
4441             Kuan-Lin Chen  <kuanlinchentw@gmail.com>
4443         PR target/79079
4444         * internal-fn.c (expand_mul_overflow): Use convert_modes instead of
4445         gen_lowpart.
4447 2017-01-17  Vladimir Makarov  <vmakarov@redhat.com>
4449         PR target/79058
4450         * ira-conflicts.c (ira_build_conflicts): Update total conflict
4451         hard regs for inner regno.
4453 2017-01-17  Martin Liska  <mliska@suse.cz>
4455         PR ipa/71207
4456         * ipa-polymorphic-call.c (contains_type_p): Fix wrong
4457         assumption and add comment.
4459 2017-01-17  Nathan Sidwell  <nathan@acm.org>
4461         * ipa-visibility.c (localize_node): New function, broken out of ...
4462         (function_and_variable_visibility): ... here. Call it.
4464 2017-01-17  Jan Hubicka  <hubicka@ucw.cz>
4466         PR middle-end/77445
4467         * tree-ssa-threadupdate.c (remove_ctrl_stmt_and_useless_edges):
4468         correctly set frequency of oudgoing edge.
4469         (duplicate_thread_path): Fix profile updating.
4471 2017-01-17  Jakub Jelinek  <jakub@redhat.com>
4473         PR other/79046
4474         * configure.ac: Add GCC_BASE_VER.
4475         * Makefile.in (version): Use @get_gcc_base_ver@ instead of cat to get
4476         version from BASE-VER file.
4477         (CFLAGS-gcc.o): Add -DBASEVER=$(BASEVER_s).
4478         (gcc.o): Depend on $(BASEVER).
4479         * common.opt (dumpfullversion): New option.
4480         * gcc.c (driver_handle_option): Handle OPT_dumpfullversion.
4481         * doc/invoke.texi: Document -dumpfullversion.
4482         * doc/install.texi: Document --with-gcc-major-version-only.
4483         * configure: Regenerated.
4485 2017-01-17  Richard Biener  <rguenther@suse.de>
4487         PR tree-optimization/71433
4488         * tree-vrp.c (register_new_assert_for): Merge same asserts
4489         on all incoming edges.
4490         (process_assert_insertions_for): Handle insertions at the
4491         beginning of BBs.
4493 2017-01-17  Gerald Pfeifer  <gerald@pfeifer.com>
4495         * config/i386/cygwin.h (LIBGCJ_SONAME): Remove.
4496         * config/i386/mingw32.h (LIBGCJ_SONAME): Remove.
4498 2017-01-17  Kaz Kojima  <kkojima@gcc.gnu.org>
4500         PR target/78633
4501         * config/sh/sh.md (cmpeqsi_t+1): Call copy_rtx to avoid invalid
4502         RTL sharing.
4504 2017-01-17  Alan Modra  <amodra@gmail.com>
4506         PR target/79066
4507         * config/rs6000/rs6000.md (elf_high, elf_low): Disable when pic.
4508         * config/rs6000/rs6000.c (rs6000_emit_allocate_stack): Don't allow
4509         symbolic stack limit when pic.
4511 2017-01-16  Martin Sebor  <msebor@redhat.com>
4513         PR tree-optimization/78608
4514         * gimple-ssa-sprintf.c (tree_digits): Avoid negating TYPE_MIN.
4516 2017-01-16  Jeff Law  <law@redhat.com>
4518         Revert:
4519         2016-12-02  Tadek Kijkowski  <tkijkowski@gmail.com>
4520         * Makefile.in (PREPROCESSOR_DEFINES): Add a level of indirection
4521         for several include directories that may be relative to sysroot.
4522         * config/i386/x-mingw32 (gplus_includedir): Define.
4523         (gplus_tool_includedir, gplus_backward_include_dir): Likewise.
4524         (native_system_includedir): Likewise.
4525         * config/i386/mingw32.h (STANDARD_STARTFILE_PREFIX_1): Do not
4526         override if TARGET_SYSTEM_ROOT is defined.
4527         (NATIVE_SYSTEM_HEADER_DIR): Likewise.
4529         PR tree-optimization/79090
4530         PR tree-optimization/33562
4531         PR tree-optimization/61912
4532         PR tree-optimization/77485
4533         * tree-ssa-dse.c (compute_trims): Accept STMT argument.  Dump STMT
4534         and computed trims into the dump file.
4536 2017-01-17  Uros Bizjak  <ubizjak@gmail.com>
4538         * config/i386/i386.h (LIMIT_RELOAD_CLASS): Remove.
4540 2017-01-16  Jakub Jelinek  <jakub@redhat.com>
4542         PR c/79089
4543         * gimplify.c (gimplify_init_constructor): If want_value and
4544         object == lhs, unshare lhs to avoid invalid tree sharing.  Formatting
4545         fix.
4547         PR target/79080
4548         * loop-doloop.c (doloop_modify): Call unshare_all_rtl_in_chain on
4549         sequence.  Formatting fixes.
4550         (doloop_optimize): Formatting fixes.
4552         PR driver/49726
4553         * gcc.c (debug_level_greater_than_spec_func): New function.
4554         (static_spec_functions): Add debug-level-gt spec function.
4555         (ASM_DEBUG_SPEC, cpp_options): Use %:debug-level-gt(0) instead of
4556         !g0.
4557         * config/darwin.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
4558         * config/darwin9.h (DSYMUTIL_SPEC, ASM_DEBUG_SPEC): Likewise.
4559         * common.opt (g, gcoff, gdwarf, gdwarf-, ggdb, gno-pubnames,
4560         gpubnames, ggnu-pubnames, gno-record-gcc-switches,
4561         grecord-gcc-switches, gno-strict-dwarf, gstrict-dwarf, gstabs,
4562         gstabs+, gtoggle, gvms, gxcoff, gxcoff+): Add Driver flag.
4564 2017-01-16  Uros Bizjak  <ubizjak@gmail.com>
4566         * config/i386/i386.h (HARD_REGNO_CALLER_SAVE_MODE): Apply HImode and
4567         QImode fixups to general and mask registers only.
4569 2017-01-16  Carl Love  <cel@us.ibm.com>
4571         * config/rs6000/rs6000-c (altivec_overloaded_builtins): Add support
4572         for built-in functions
4573         vector signed char vec_nabs (vector signed char)
4574         vector signed short vec_nabs (vector signed short)
4575         vector signed int vec_nabs (vector signed int)
4576         vector signed long long vec_nabs (vector signed long long)
4577         vector float vec_nabs (vector float)
4578         vector double vec_nabs (vector double)
4579         * config/rs6000/rs6000-builtin.def: Add definitions for NABS functions
4580         and NABS overload.
4581         * config/rs6000/altivec.md: New define_expand nabs<mode>2 types
4582         * config/rs6000/altivec.h: New define for vec_nabs built-in function.
4583         * doc/extend.texi: Update the documentation file for the new built-in
4584         functions.
4586 2017-01-16  Martin Sebor  <msebor@redhat.com>
4588         * gimple-ssa-sprintf.c (format_directive): Correct a typo in a warning
4589         message.
4591 2017-01-16  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4593         * config/rs6000/rs6000.c (rtx_is_swappable_p): Change
4594         UNSPEC_VSX__XXSPLTD to require special splat handling.
4596 2017-01-16  David Malcolm  <dmalcolm@redhat.com>
4598         PR bootstrap/78616
4599         * system.h: Poison strndup.
4601 2017-01-16  Alan Modra  <amodra@gmail.com>
4603         PR target/79098
4604         * config/rs6000/rs6000.c (rs6000_legitimate_combined_insn): Don't
4605         use a switch.
4607 2017-01-16  Georg-Johann Lay  <avr@gjlay.de>
4609         * config/avr/avr.h (BRANCH_COST) [reload_completed]: Increase by 4.
4611 2017-01-15  Uros Bizjak  <ubizjak@gmail.com>
4613         * config/i386/i386.c (ix86_legitimate_combined_insn): Do not
4614         call recog here.  Assert that INSN_CODE (insn) is non-negative.
4616 2017-01-15  Segher Boessenkool  <segher@kernel.crashing.org>
4618         PR target/72749
4619         * cfgrtl.c (rtl_split_edge): Also patch jump insns that jump to the
4620         fallthrough.
4621         * haifa-sched.c (dump_insn_stream): Don't crash if there is a label
4622         in the currently scheduled RTL fragment.
4624 2017-01-15  Segher Boessenkool  <segher@kernel.crashing.org>
4626         PR rtl-optimization/78751
4627         * ifcvt.c (find_cond_trap): If we generated a non-existing insn,
4628         give up.
4630 2017-01-14  Jeff Law  <law@redhat.com>
4632         PR tree-optimization/79090
4633         * tree-ssa-dse.c (valid_ao_ref_for_dse): Reject zero length and
4634         variable length stores.
4635         (compute_trims): Delete dead assignment to *trim_tail.
4636         (dse_dom_walker::dse_optimize_stmt): Optimize mem* calls with
4637         zero length.
4639 2017-01-14  Bernd Schmidt  <bschmidt@redhat.com>
4641         PR rtl-optimization/78626
4642         PR rtl-optimization/78727
4643         * cprop.c (one_cprop_pass): Collect unconditional traps in the middle
4644         of a block, and split such blocks after everything else is finished.
4646 2017-01-14  Alan Modra  <amodra@gmail.com>
4648         PR target/72749
4649         * combine.c (recog_for_combine_1): Set INSN_CODE before calling
4650         target legitimate_combined_insn.
4651         * config/rs6000/rs6000.c (TARGET_LEGITIMATE_COMBINED_INSN): Define.
4652         (rs6000_legitimate_combined_insn): New function.
4653         * config/rs6000/rs6000.md (UNSPEC_DOLOOP): Delete, and remove
4654         all uses.
4655         (ctr<mode>_internal3): Rename from *ctr<mode>_internal5.
4656         (ctr<mode>_internal4): Rename from *ctr<mode>_internal6.
4657         (ctr<mode>_internal1, ctr<mode>_internal2): Remove '*' from name.
4659 2017-01-14  Gerald Pfeifer  <gerald@pfeifer.com>
4661         * doc/frontends.texi (G++ and GCC): Remove references to Java.
4663 2017-01-13  Jeff Law  <law@redhat.com>
4665         PR tree-optimization/33562
4666         PR tree-optimization/61912
4667         PR tree-optimization/77485
4668         * tree-ssa-dse.c (delete_dead_call): Accept gsi rather than
4669         a statement.
4670         (delete_dead_assignment): Likewise.
4671         (dse_dom_walker::dse_optimize_stmt): Pass in the gsi rather than
4672         statement to delete_dead_call and delete_dead_assignment.
4674 2017-01-13  David Malcolm  <dmalcolm@redhat.com>
4676         PR c/78304
4677         * substring-locations.c (format_warning_va): Strengthen case 1 so
4678         that both endpoints of the substring must be within the format
4679         range for just the substring to be printed.
4681 2017-01-13  Uros Bizjak  <ubizjak@gmail.com>
4683         * config/i386/i386.opt (msgx): Use ix86_isa_flags2 variable.
4684         * config/i386/i386.c (ix86_target_string): Add missing options
4685         to isa_opts and reorder options by implied ISAs.  Rename isa_opts2 to
4686         isa2_opts, ix86_flag_opts to flag2_opts, ix86_target_other to
4687         flags_other and ix86_target_other to flags2_other.  Display unknown
4688         isa2 options.
4689         (ix86_valid_target_attribute_inner_p): Add missing options and
4690         reorder options by implied ISAs, as in ix86_target_string.
4692 2017-01-13  Richard Sandiford  <richard.sandiford@arm.com>
4694         * hash-table.h (hash_table::too_empty_p): New function.
4695         (hash_table::expand): Use it.
4696         (hash_table::traverse): Likewise.
4697         (hash_table::empty_slot): Use sizeof (value_type) instead of
4698         sizeof (PTR) to convert bytes to elements.  Shrink the table
4699         if the current size is excessive for the current number of
4700         elements.
4702 2017-01-13  Richard Sandiford  <richard.sandiford@arm.com>
4704         * ira-costs.c (record_reg_classes): Break from the inner loop
4705         early once alt_fail is known to be true.  Update outer loop
4706         handling accordingly.
4708 2017-01-13  Jeff Law  <law@redhat.com>
4710         * tree-ssa-dse.c (decrement_count): New function.
4711         (increment_start_addr, maybe_trim_memstar_call): Likewise.
4712         (dse_dom_walker::optimize_stmt): Call maybe_trim_memstar_call directly
4713         when we know the partially dead statement is a mem* function.
4715         PR tree-optimization/61912
4716         PR tree-optimization/77485
4717         * tree-ssa-dse.c: Include expr.h.
4718         (maybe_trim_constructor_store): New function.
4719         (maybe_trim_partially_dead_store): Call maybe_trim_constructor_store.
4721         PR tree-optimization/33562
4722         PR tree-optimization/61912
4723         PR tree-optimization/77485
4724         * doc/invoke.texi: Document new dse-max-object-size param.
4725         * params.def (PARM_DSE_MAX_OBJECT_SIZE): New PARAM.
4726         * tree-ssa-dse.c: Include params.h.
4727         (dse_store_status): New enum.
4728         (initialize_ao_ref_for_dse): New, partially extracted from
4729         dse_optimize_stmt.
4730         (valid_ao_ref_for_dse, normalize_ref): New.
4731         (setup_live_bytes_from_ref, compute_trims): Likewise.
4732         (clear_bytes_written_by, maybe_trim_complex_store): Likewise.
4733         (maybe_trim_partially_dead_store): Likewise.
4734         (maybe_trim_complex_store): Likewise.
4735         (dse_classify_store): Renamed from dse_possibly_dead_store_p.
4736         Track what bytes live from the original store.  Return tri-state
4737         for dead, partially dead or live.
4738         (dse_dom_walker): Add constructor, destructor and new private members.
4739         (delete_dead_call, delete_dead_assignment): New extracted from
4740         dse_optimize_stmt.
4741         (dse_optimize_stmt): Make a member of dse_dom_walker.
4742         Use initialize_ao_ref_for_dse.
4744         PR tree-optimization/33562
4745         PR tree-optimization/61912
4746         PR tree-optimization/77485
4747         * sbitmap.h (bitmap_count_bits): Prototype.
4748         (bitmap_clear_range, bitmap_set_range): Likewise.
4749         * sbitmap.c (bitmap_clear_range): New function.
4750         (bitmap_set_range, sbitmap_popcount, bitmap_count_bits): Likewise.
4752 2017-01-13  Martin Liska  <mliska@suse.cz>
4754         PR ipa/79043
4755         * function.c (set_cfun): Add new argument force.
4756         * function.h (set_cfun): Likewise.
4757         * ipa-inline-transform.c (inline_call): Use the function when
4758         strict alising from is dropped for function we inline to.
4760 2017-01-13  Richard Biener  <rguenther@suse.de>
4762         * tree-pretty-print.c (dump_generic_node): Fix inverted condition
4763         for dumping GIMPLE INTEGER_CSTs.
4765 2017-01-13  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4767         * config/sol2.h (TARGET_OS_CPP_BUILTINS): Define __STDC_VERSION__
4768         to 201112L since C++17.
4770 2017-01-13  Maxim Ostapenko  <m.ostapenko@samsung.com>
4772         PR sanitizer/78887
4773         * asan.c (asan_needs_odr_indicator_p): Don't emit ODR indicators
4774         if -fsanitize=kernel-address is present.
4776 2017-01-13  Richard Biener  <rguenther@suse.de>
4778         * tree-pretty-print.c (dump_generic_node): Dump INTEGER_CSTs
4779         as _Literal ( type ) number in case usual suffixes do not
4780         preserve all information.
4782 2017-01-13  Richard Biener  <rguenther@suse.de>
4784         PR tree-optimization/77283
4785         * gimple-ssa-split-paths.c: Include gimple-ssa.h, tree-phinodes.h
4786         and ssa-iterators.h.
4787         (is_feasible_trace): Implement a cost model based on joiner
4788         PHI node uses.
4790 2017-01-12  Michael Meissner  <meissner@linux.vnet.ibm.com>
4792         PR target/79004
4793         * config/rs6000/rs6000.md (FP_ISA3): Do not optimize converting
4794         char or short to __float128/_Float128 directly.
4796 2017-01-12  Martin Sebor  <msebor@redhat.com>
4798         to -Wformat-overflow.
4799         * gimple-ssa-sprintf.c (pass_sprintf_length::gate): Adjust.
4800         (min_bytes_remaining): Same.
4801         (get_string_length): Same.
4802         (format_string): Same.
4803         (format_directive): Same.
4804         (add_bytes): Same.
4805         (pass_sprintf_length::handle_gimple_call): Same.
4807 2017-01-12  Jakub Jelinek  <jakub@redhat.com>
4809         * gimple-ssa-sprintf.c (try_substitute_return_value): Remove
4810         info.nowrite calls with no lhs that can't throw.  Return bool
4811         whether gsi_remove has been called or not.
4812         (pass_sprintf_length::handle_gimple_call): Return bool whether
4813         try_substitute_return_value called gsi_remove.  Formatting fix.
4814         (pass_sprintf_length::execute): Don't use gsi_remove if
4815         handle_gimple_call returned true.
4817         PR bootstrap/79069
4818         * cfgrtl.c (rtl_tidy_fallthru_edge): For any_uncondjump_p that can't
4819         be removed due to side-effects, don't remove following barrier nor
4820         turn the successor edge into fallthru edge.
4822 2017-01-12  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
4824         PR target/79044
4825         * config/rs6000/rs6000.c (insn_is_swappable_p): Mark
4826         element-reversing loads and stores as not swappable.
4828 2017-01-12  Nathan Sidwell  <nathan@acm.org>
4829             Nicolai Stange  <nicstange@gmail.com>
4831         * combine.c (try_combine): Don't ignore result of overlap checking
4832         loop.  Combine overlap & asm check into single loop.
4834 2017-01-12  Richard Biener  <rguenther@suse.de>
4836         * tree-pretty-print.c (dump_generic_node): Provide -gimple
4837         variant for MEM_REF.  Sanitize INTEGER_CST for -gimple.
4839 2017-01-12  Richard Biener  <rguenther@suse.de>
4841         * tree.c (initialize_tree_contains_struct): Make TS_OPTIMIZATION
4842         and TS_TARGET_OPTION directly derive from TS_BASE.
4843         * tree-core.h (tree_optimization_option): Derive from tree_base.
4844         (tree_target_option): Likewise.
4846 2017-01-11  Uros Bizjak  <ubizjak@gmail.com>
4848         * config/i386/i386.c (memory_address_length): Increase len
4849         only when rip_relative_addr_p returns false.
4851 2017-01-11  Julia Koval  <julia.koval@intel.com>
4853         * common/config/i386/i386-common.c (OPTION_MASK_ISA_SGX_UNSET): New.
4854         (OPTION_MASK_ISA_SGX_SET): New.
4855         (ix86_handle_option): Handle OPT_msgx.
4856         * config.gcc: Added sgxintrin.h.
4857         * config/i386/driver-i386.c (host_detect_local_cpu): Detect sgx.
4858         * config/i386/i386-c.c (ix86_target_macros_internal): Define __SGX__.
4859         * config/i386/i386.c (ix86_target_string): Add -msgx.
4860         (PTA_SGX): New.
4861         (ix86_option_override_internal): Handle new options.
4862         (ix86_valid_target_attribute_inner_p): Add sgx.
4863         * config/i386/i386.h (TARGET_SGX, TARGET_SGX_P): New.
4864         * config/i386/i386.opt: Add msgx.
4865         * config/i386/sgxintrin.h: New file.
4866         * config/i386/x86intrin.h: Add sgxintrin.h.
4868 2017-01-11  Jakub Jelinek  <jakub@redhat.com>
4870         PR c++/71537
4871         * fold-const.c (maybe_nonzero_address): Return 1 for function
4872         local objects.
4873         (tree_single_nonzero_warnv_p): Don't handle function local objects
4874         here.
4876         PR c++/72813
4877         * gcc.c (default_compilers): Don't add -o %g.s for -S -save-temps
4878         of c-header.
4880 2017-01-11  David Malcolm  <dmalcolm@redhat.com>
4882         PR driver/78877
4883         * opts.c: Include "spellcheck.h"
4884         (struct string_fragment): New struct.
4885         (struct edit_distance_traits<const string_fragment &>): New
4886         struct.
4887         (get_closest_sanitizer_option): New function.
4888         (parse_sanitizer_options): Offer suggestions for unrecognized arguments.
4890 2017-01-11  Jakub Jelinek  <jakub@redhat.com>
4892         * dwarf2out.c (DWARF_COMPILE_UNIT_HEADER_SIZE): For DWARF5 decrease
4893         by 12.
4894         (DWARF_COMDAT_TYPE_UNIT_HEADER_SIZE): Always
4895         DWARF_COMPILE_UNIT_HEADER_SIZE plus 12.
4896         (DWARF_COMPILE_UNIT_SKELETON_HEADER_SIZE): Define.
4897         (calc_base_type_die_sizes): Use DWARF_COMPILE_UNIT_SKELETON_HEADER_SIZE
4898         for initial die_offset if dwarf_split_debug_info.
4899         (output_comp_unit): Use DWARF_COMPILE_UNIT_SKELETON_HEADER_SIZE for
4900         initial next_die_offset if dwo_id is non-NULL.  Don't emit padding
4901         fields.
4902         (output_skeleton_debug_sections): Formatting fix.  Use
4903         DWARF_COMPILE_UNIT_SKELETON_HEADER_SIZE instead of
4904         DWARF_COMPILE_UNIT_HEADER_SIZE.  Don't emit padding.
4906 2017-01-11  Wilco Dijkstra  <wdijkstr@arm.com>
4908         * config/arm/cortex-a53.md: Add bypasses for
4909         cortex_a53_r2f_cvt.
4910         (cortex_a53_r2f): Only use for transfers.
4911         (cortex_a53_f2r): Likewise.
4912         (cortex_a53_r2f_cvt): Add reservation for conversions.
4913         (cortex_a53_f2r_cvt): Likewise.
4915 2017-01-11  Tamar Christina  <tamar.christina@arm.com>
4917         * config/arm/arm_neon.h: Add __artificial__ and gnu_inline
4918         to all inlined functions, change static to extern.
4920 2017-01-11  Christophe Lyon  <christophe.lyon@linaro.org>
4922         PR target/78253
4923         * config/arm/arm.c (legitimize_pic_address): Handle reference to
4924         weak symbol.
4925         (arm_assemble_integer): Likewise.
4927 2017-01-11  Richard Earnshaw  <rearnsha@arm.com>
4929         * config.gcc: Use new awk script to check CPU, FPU and architecture
4930         parameters for --with-... options.
4931         * config/arm/parsecpu.awk: New file
4932         * config/arm/arm-cpus.in: New file.
4933         * config/arm/arm-opts.h: Include arm-cpu.h instead of processing .def
4934         files.
4935         * config/arm/arm.c: Include arm-cpu-data.h instead of processing .def
4936         files.
4937         * config/arm/t-arm: Update dependency rules.
4938         * common/config/arm/arm-common.c: Include arm-cpu-cdata.h instead
4939         of processing .def files.
4940         * config/arm/genopt.sh: Deleted.
4941         * config/arm/gentune.sh: Deleted.
4942         * config/arm/arm-cores.def: Deleted.
4943         * config/arm/arm-arches.def: Deleted.
4944         * config/arm/arm-fpus.def: Deleted.
4945         * config/arm/arm-tune.md: Regenerated.
4946         * config/arm/arm-tables.opt: Regenerated.
4947         * config/arm/arm-cpu.h: New generated file.
4948         * config/arm/arm-cpu-data.h: New generated file.
4949         * config/arm/arm-cpu-cdata.h: New generated file.
4951 2017-01-11  Maxim Ostapenko  <m.ostapenko@samsung.com>
4953         PR lto/79042
4954         * lto-cgraph.c (lto_output_varpool_node): Pack dynamically_initialized
4955         bit.
4956         (input_varpool_node): Unpack dynamically_initialized bit.
4958 2017-01-11  Eric Botcazou  <ebotcazou@adacore.com>
4960         PR rtl-optimization/79032
4961         * lra-constraints.c (simplify_operand_subreg): In the MEM case, test
4962         the alignment of the adjusted memory reference against that of MODE,
4963         instead of the alignment of the original memory reference.
4965 2017-01-11  Martin Jambor  <mjambor@suse.cz>
4967         * hsa.c (hsa_callable_function_p): Revert addition of DECL_ARTIFICIAL
4968         test.
4969         * ipa-hsa.c (process_hsa_functions): Only duplicate non-artificial
4970         decorated functions.
4972 2017-01-11  Richard Biener  <rguenther@suse.de>
4974         * tree-vrp.c (evrp_dom_walker::before_dom_children): Also
4975         set range/nonnull info for PHI results.  Do not set it on
4976         stmts marked for removal.
4978 2017-01-10  Eric Botcazou  <ebotcazou@adacore.com>
4980         * expr.c (store_field): In the bitfield case, fetch the return value
4981         from the registers before applying a single big-endian adjustment.
4982         Always do a final load for a BLKmode value not larger than a word.
4984 2017-01-10  David Malcolm  <dmalcolm@redhat.com>
4986         PR c++/77949
4987         * input.c (selftest::test_accessing_ordinary_linemaps): Verify
4988         that we correctly handle column numbers greater than
4989         LINE_MAP_MAX_COLUMN_NUMBER.
4991 2017-01-10  Martin Sebor  <msebor@redhat.com>
4993         PR middle-end/78245
4994         * gimple-ssa-sprintf.c (get_destination_size): Call
4995         {init,fini}object_sizes.
4996         * tree-object-size.c (addr_object_size): Adjust.
4997         (pass_through_call): Adjust.
4998         (pass_object_sizes::execute): Adjust.
4999         * tree-object-size.h (fini_object_sizes): Declare.
5001 2017-01-10  Martin Sebor  <msebor@redhat.com>
5003         PR tree-optimization/78775
5004         * builtins.c (get_size_range): Move...
5005         * calls.c: ...to here.
5006         (alloc_max_size): Accept zero argument.
5007         (operand_signed_p): Remove.
5008         (maybe_warn_alloc_args_overflow): Call get_size_range.
5009         * calls.h (get_size_range): Declare.
5011 2017-01-10  Joe Seymour  <joe.s@somniumtech.com>
5013         * config/msp430/driver-msp430.c (msp430_mcu_data): Sync with data
5014         from TI's devices.csv file as of September 2016.
5015         * config/msp430/msp430.c (msp430_mcu_data): Likewise.
5017 2017-01-10  Sandra Loosemore  <sandra@codesourcery.com>
5019         * doc/extend.texi: Tweak formatting to fix overfull hbox warnings.
5020         * doc/invoke.texi: Likewise.
5021         * doc/md.texi: Likewise.
5022         * doc/objc.texi: Likewise.
5024 2017-01-10  Joshua Conner  <joshconner@google.com>
5026         * config/arm/fuchsia-elf.h: New file.
5027         * config/fuchsia.h: New file.
5028         * config.gcc (*-*-fuchsia*): Set native_system_header_dir.
5029         (aarch64*-*-fuchsia*, arm*-*-fuchsia*, x86_64-*-fuchsia*): Add to
5030         targets.
5031         * config.host: (aarch64*-*-fuchsia*, arm*-*-fuchsia*): Add to hosts.
5033 2016-01-10  Richard Biener  <rguenther@suse.de>
5035         PR tree-optimization/79034
5036         * tree-call-cdce.c (shrink_wrap_one_built_in_call_with_conds):
5037         Propagate out degenerate PHIs in the joiner.
5039 2017-01-10  Martin Liska  <mliska@suse.cz>
5041         * ipa-icf.c (sort_sem_items_by_decl_uid): New function.
5042         (sort_congruence_classes_by_decl_uid): Likewise.
5043         (sort_congruence_class_groups_by_decl_uid): Likewise.
5044         (sem_item_optimizer::merge_classes): Sort class, groups in these
5045         classes and members in the groups by DECL_UID of declarations.
5046         This would make merge operations stable.
5048 2017-01-10  Martin Liska  <mliska@suse.cz>
5050         * ipa-icf.c (sem_item_optimizer::sem_item_optimizer): Remove
5051         usage of m_classes_vec.
5052         (sem_item_optimizer::~sem_item_optimizer):  Likewise.
5053         (sem_item_optimizer::get_group_by_hash): Likewise.
5054         (sem_item_optimizer::subdivide_classes_by_equality): Likewise.
5055         (sem_item_optimizer::subdivide_classes_by_sensitive_refs): Likewise.
5056         (sem_item_optimizer::verify_classes): Likewise.
5057         (sem_item_optimizer::process_cong_reduction): Likewise.
5058         (sem_item_optimizer::dump_cong_classes): Likewise.
5059         (sem_item_optimizer::merge_classes): Likewise.
5060         * ipa-icf.h (congruence_class_hash): Rename from
5061         congruence_class_group_hash.  Remove declaration of m_classes_vec.
5063 2017-01-10  Andrew Senkevich  <andrew.senkevich@intel.com>
5065         * common/config/i386/i386-common.c (OPTION_MASK_ISA_AVX512VPOPCNTDQ_SET,
5066         OPTION_MASK_ISA_AVX512VPOPCNTDQ_UNSET): New.
5067         * config.gcc: Add avx512vpopcntdqintrin.h.
5068         * config/i386/avx512vpopcntdqintrin.h: New.
5069         * config/i386/cpuid.h (bit_AVX512VPOPCNTDQ): New.
5070         * config/i386/i386-builtin-types.def: Add new types.
5071         * config/i386/i386-builtin.def (__builtin_ia32_vpopcountd_v16si,
5072         __builtin_ia32_vpopcountd_v16si_mask, __builtin_ia32_vpopcountq_v8di,
5073         __builtin_ia32_vpopcountq_v8di_mask): New.
5074         * config/i386/i386-c.c (ix86_target_macros_internal): Define
5075         __AVX512VPOPCNTDQ__.
5076         * config/i386/i386.c (ix86_target_string): Add -mavx512vpopcntdq.
5077         (PTA_AVX512VPOPCNTDQ): Define.
5078         * config/i386/i386.h (TARGET_AVX512VPOPCNTDQ,
5079         TARGET_AVX512VPOPCNTDQ_P): Define.
5080         * config/i386/i386.opt: Add mavx512vpopcntdq.
5081         * config/i386/immintrin.h: Include avx512vpopcntdqintrin.h.
5082         * config/i386/sse.md (define_insn "vpopcount<mode><mask_name>"): New.
5084 2017-01-01  Jan Hubicka  <hubicka@ucw.cz>
5086         PR middle-end/77484
5087         * predict.def (PRED_CALL): Set to 67.
5089 2017-01-09  Eric Botcazou  <ebotcazou@adacore.com>
5091         * expr.c (store_field): In the bitfield case, if the value comes from
5092         a function call and is of an aggregate type returned in registers, do
5093         not modify the field mode; extract the value in all cases if the mode
5094         is BLKmode and the size is not larger than a word.
5096 2017-01-09  Dominique d'Humieres  <dominiq@lps.ens.fr>
5098         PR target/71017
5099         * config/i386/cpuid.h: Fix undefined behavior.
5101 2017-01-04  Jeff Law  <law@redhat.com>
5103         PR tree-optimization/79007
5104         PR tree-optimization/67955
5105         * tree-ssa-alias.c (same_addr_size_stores_p): Only need to be
5106         conservative for pt.null when flag_non_call_exceptions is on.
5108 2017-01-09  Jakub Jelinek  <jakub@redhat.com>
5110         PR translation/79019
5111         PR translation/79020
5112         * params.def (PARAM_INLINE_MIN_SPEEDUP,
5113         PARAM_IPA_CP_SINGLE_CALL_PENALTY,
5114         PARAM_USE_AFTER_SCOPE_DIRECT_EMISSION_THRESHOLD): Fix typos
5115         in descriptions.
5116         * config/avr/avr.opt (maccumulate-args): Likewise.
5117         * config/msp430/msp430.opt (mwarn-mcu): Likewise.
5118         * common.opt (freport-bug): Likewise.
5119         * cif-code.def (CIF_FINAL_ERROR): Likewise.
5120         * doc/invoke.texi (ipa-cp-single-call-penalty): Likewise.
5121         * config/s390/s390.c (s390_invalid_binary_op): Fix spelling in
5122         translatable string.
5123         * config/i386/i386.c (function_value_32): Likewise.
5124         * config/nios2/nios2.c (nios2_valid_target_attribute_rec): Likewise.
5125         * config/msp430/msp430.c (msp430_option_override, msp430_attr):
5126         Likewise.
5127         * config/msp430/driver-msp430.c (msp430_select_hwmult_lib): Likewise.
5128         * common/config/msp430/msp430-common.c (msp430_handle_option):
5129         Likewise.
5130         * symtab.c (symtab_node::verify_base): Likewise.
5131         * opts.c (set_debug_level): Likewise.
5132         * tree.c (verify_type_variant): Likewise.  Fix typo in comment.
5133         * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin): Add
5134         missing whitespace to translatable strings.
5135         * config/avr/avr.md (bswapsi2): Fix typo in comment.
5136         * config/sh/superh.h: Likewise.
5137         * config/i386/xopintrin.h: Likewise.
5138         * config/i386/znver1.md: Likewise.
5139         * config/rs6000/rs6000.c (struct rs6000_opt_mask): Likewise.
5140         * ipa-inline-analysis.c (compute_inline_parameters): Likewise.
5141         * double-int.h (struct double_int): Likewise.
5142         * double-int.c (div_and_round_double): Likewise.
5143         * wide-int.cc: Likewise.
5144         * tree-ssa.c (non_rewritable_mem_ref_base): Likewise.
5145         * tree-ssa-sccvn.c (vn_reference_lookup_3): Likewise.
5146         * cfgcleanup.c (crossjumps_occured): Renamed to ...
5147         (crossjumps_occurred): ... this.
5148         (try_crossjump_bb, try_head_merge_bb, try_optimize_cfg, cleanup_cfg):
5149         Adjust all uses.
5151         PR tree-optimization/78899
5152         * tree-if-conv.c (version_loop_for_if_conversion): Instead of
5153         returning bool return struct loop *, NULL for failure and the new
5154         loop on success.
5155         (versionable_outer_loop_p): Don't version outer loop if it has
5156         dont_vectorized bit set.
5157         (tree_if_conversion): When versioning outer loop, ensure
5158         tree_if_conversion is performed also on the inner loop of the
5159         non-vectorizable outer loop copy.
5160         * tree-vectorizer.c (set_uid_loop_bbs): Formatting fix.  Fold
5161         LOOP_VECTORIZED in inner loop of the scalar outer loop and
5162         prevent vectorization of it.
5163         (vectorize_loops): For outer + inner LOOP_VECTORIZED, ensure
5164         the outer loop vectorization of the non-scalar version is attempted
5165         before vectorization of the inner loop in scalar version.  If
5166         outer LOOP_VECTORIZED guarded loop is not vectorized, prevent
5167         vectorization of its inner loop.
5168         * tree-vect-loop-manip.c (rename_variables_in_bb): If outer_loop
5169         has 2 inner loops, rename also on edges from bb whose single pred
5170         is outer_loop->header.  Fix typo in function comment.
5172 2017-01-09  Martin Sebor  <msebor@redhat.com>
5174         PR bootstrap/79033
5175         * asan.c (asan_emit_stack_protection): Increase local buffer size
5176         to avoid snprintf truncation warning.
5178 2017-01-09  Andrew Pinski  <apinski@cavium.com>
5180         * config/aarch64/aarch64-cores.def: Add thunderx2t99.  Change vulcan
5181         to reference thunderx2t99 for the tuning structure
5182         * config/aarch64/aarch64-cost-tables.h (vulcan_extra_costs):
5183         Rename to ...
5184         (thunderx2t99_extra_costs): This.
5185         * config/aarch64/aarch64-tune.md: Regenerate.
5186         * config/aarch64/aarch64.c (vulcan_addrcost_table): Rename to ...
5187         (vulcan_addrcost_table): This.
5188         (vulcan_regmove_cost): Rename to ...
5189         (thunderx2t99_regmove_cost): This.
5190         (vulcan_vector_cost): Rename to ...
5191         (thunderx2t99_vector_cost): this.
5192         (vulcan_branch_cost): Rename to ...
5193         (thunderx2t99_branch_cost): This.
5194         (vulcan_tunings): Rename to ...
5195         (thunderx2t99_tunings): This and s/vulcan/thunderx2t99 .
5196         * doc/invoke.texi (AARCH64/mtune): Add thunderx2t99.
5198 2017-01-09  Martin Jambor  <mjambor@suse.cz>
5200         PR ipa/78365
5201         PR ipa/78599
5202         * ipa-prop.h (ipa_jump_func): Swap positions of vr_known and m_vr.
5203         * ipa-cp.c (ipa_vr_operation_and_type_effects): New function.
5204         (propagate_vr_accross_jump_function): Use the above function for all
5205         value range computations for pass-through jump functions and type
5206         converasion from explicit value range values.
5207         (ipcp_propagate_stage): Do not attempt to deduce types of formal
5208         parameters from TYPE_ARG_TYPES.
5209         * ipa-prop.c (ipa_write_jump_function): Remove trailing whitespace.
5210         (ipa_write_node_info): Stream type of the actual argument.
5211         (ipa_read_node_info): Likewise. Also remove trailing whitespace.
5213 2017-01-09  Martin Liska  <mliska@suse.cz>
5215         PR pch/78970
5216         * gcc.c (driver_handle_option): Handle OPT_E and set have_E.
5217         (lookup_compiler): Do not show error message with have_E.
5219 2017-01-09  Jakub Jelinek  <jakub@redhat.com>
5221         PR tree-optimization/78938
5222         * tree-vect-stmts.c (vectorizable_condition): For non-masked COND_EXPR
5223         where comp_vectype is VECTOR_BOOLEAN_TYPE_P, use
5224         BIT_{NOT,XOR,AND,IOR}_EXPR on the comparison operands instead of
5225         {EQ,NE,GE,GT,LE,LT}_EXPR directly inside of VEC_COND_EXPR.  Formatting
5226         fixes.
5228 2017-01-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
5230         * tree-ssa-address.c (gen_addr_rtx): Don't handle index if it
5231         is const0_rtx.
5233 2017-01-09  Richard Biener  <rguenther@suse.de>
5235         PR tree-optimization/78997
5236         * tree-vect-slp.c (vect_mask_constant_operand_p): Handle SSA
5237         name condition properly.
5239 2017-01-09  Richard Biener  <rguenther@suse.de>
5241         PR debug/79000
5242         * dwarf2out.c (is_cxx): New overload with context.
5243         (is_naming_typedef_decl): Use it.
5245 2017-01-08  Sandra Loosemore  <sandra@codesourcery.com>
5247         * invoke.texi (Option Summary): Correct spacing in option lists
5248         and add line breaks to fix over-long lines.
5250 2017-01-08  Sandra Loosemore  <sandra@codesourcery.com>
5252         PR middle-end/17660
5254         * extend.texi (Common Variable Attributes): Add xref to GCC
5255         Internals manual to explain mode attribute keywords.
5257 2017-01-08  Sandra Loosemore  <sandra@codesourcery.com>
5259         PR other/16519
5260         * doc/invoke.texi (Option Summary): Move -pthread to Linker Options
5261         and Preprocessor Options.
5262         (Options for Linking): Document -pthread here....
5263         (RS/6000 and PowerPC Options): ...not here.
5264         (Solaris 2 Options): ...or here.
5265         * doc/cppopts.texi: Document -pthread.
5267 2017-01-08  Martin Sebor  <msebor@redhat.com>
5269         PR middle-end/77708
5270         * doc/invoke.texi (Warning Options): Document -Wformat-truncation.
5271         * gimple-ssa-sprintf.c (call_info::reval_used, call_info::warnopt):
5272         New member functions.
5273         (format_directive): Used them.
5274         (add_bytes): Same.
5275         (pass_sprintf_length::handle_gimple_call): Same.
5276         * graphite-sese-to-poly.c (tree_int_to_gmp): Increase buffer size
5277         to avoid truncation for any argument.
5278         (extract_affine_mul): Same.
5279         * tree.c (get_file_function_name): Same.
5281 2017-01-01  Jan Hubicka  <hubicka@ucw.cz>
5283         PR middle-end/77484
5284         * predict.def (PRED_INDIR_CALL): Set to 86.
5286 2017-01-07  Sandra Loosemore  <sandra@codesourcery.com>
5288         PR preprocessor/54124
5289         * doc/cppopts.texi: Reformat -d subtable to list the full name
5290         of the options.  Add cross-reference to the docs for the general
5291         compiler -d options.
5292         * doc/invoke.texi (Developer Options): Add cross-reference to the
5293         preprocessor-specific -d option documentation.
5295 2017-01-07  Sandra Loosemore  <sandra@codesourcery.com>
5297         PR preprocessor/13498
5298         * doc/cpp.texi (Search Path): Rewrite to remove obsolete and
5299         redudant material, and reflect new command-line options.
5300         (System Headers): Likewise.
5302 2017-01-07  Sandra Loosemore  <sandra@codesourcery.com>
5304         * doc/cppdiropts.texi: Merge documentation of -I, -iquote,
5305         -isystem, and -idirafter.  Copy-edit.
5306         * doc/cppopts.texi: Copy-edit.  Remove contradiction about
5307         default for -ftrack-macro-expansion.  Delete obsolete and
5308         badly-formatted implementation details about -fdebug-cpp output.
5309         * doc/cppwarnopts.texi: Copy-edit.
5311 2017-01-07  David Malcolm  <dmalcolm@redhat.com>
5313         PR c++/72803
5314         * input.c (selftest::test_accessing_ordinary_linemaps): Verify
5315         that the transition from a max line width >= 1<<10 to narrower
5316         lines works correctly.
5318 2017-01-07  Alexandre Oliva <aoliva@redhat.com>
5320         * doc/options.texi (PerFunction): New.
5321         * opt-functions.awk (switch_flags): Map both Optimization and
5322         PerFunction to CL_OPTIMIZATION.
5323         * opth-gen.awk: Test for PerFunction flag along with
5324         Optimization.
5325         * optc-save-gen.awk: Likewise.  Introduce var_opt_hash and set
5326         it only when the latter is present.  Skip those that don't in
5327         the hash function generator.
5328         * common.opt (fvar-tracking): Mark as PerFunction instead of
5329         Optimization.
5330         (fvar-tracking-assignments): Likewise.
5331         (fvar-tracking-assignments-toggle): Likewise.
5332         (fvar-tracking-uninit): Likewise.
5334 2017-01-07  Jakub Jelinek  <jakub@redhat.com>
5336         PR translation/79018
5337         * params.def (PARAM_MAX_STORES_TO_MERGE): Add missing space between
5338         the and store.
5340 2017-01-06  Mikael Pettersson  <mikpelinux@gmail.com>
5342         PR target/57583
5343         * config/m68k/m68k.opt (LONG_JUMP_TABLE_OFFSETS): New option.
5344         * config/m68k/linux.h (ASM_RETURN_CASE_JUMP): Handle
5345         TARGET_LONG_JUMP_TABLE_OFFSETS.
5346         * config/m68k/m68kelf.h (ASM_RETURN_CASE_JUMP): Likewise.
5347         * config/m68k/netbsd-elf.h (ASM_RETURN_CASE_JUMP): Likewise.
5348         * config/m68k/m68k.h (CASE_VECTOR_MODE): Likewise.
5349         (ASM_OUTPUT_ADDR_DIFF_ELF): Likewise.
5350         * config/m68k/m68k.md (tablejump expander): Likewise.
5351         (*tablejump_pcrel_hi): Renamed from unnamed insn, reject
5352         TARGET_LONG_JUMP_TABLE_OFFSETS.
5353         (*tablejump_pcrel_si): New insn, handle TARGET_LONG_JUMP_TABLE_OFFSETS.
5354         * doc/invoke.texi (M68K options): Add -mlong-jump-table-offsets.
5356 2017-01-06  Edgar E. Iglesias <edgar.iglesias@xilinx.com>
5357             David Holsgrove <david.holsgrove@xilinx.com>
5359         * common/config/microblaze/microblaze-common.c
5360         (TARGET_EXCEPT_UNWIND_INFO): Remove.
5361         * config/microblaze/microblaze-protos.h (microblaze_eh_return):
5362         New prototype.
5363         * config/microblaze/microblaze.c (microblaze_must_save_register)
5364         (microblaze_expand_epilogue, microblaze_return_addr): Handle
5365         calls_eh_return.
5366         (microblaze_eh_return): New function.
5367         * config/microblaze/microblaze.h (RETURN_ADDR_OFFSET)
5368         (EH_RETURN_DATA_REGNO, MB_EH_STACKADJ_REGNUM)
5369         (EH_RETURN_STACKADJ_RTX, ASM_PREFERRED_EH_DATA_FORMAT): New macros.
5370         * config/microblaze/microblaze.md (eh_return): New pattern.
5372 2017-01-06  Jakub Jelinek  <jakub@redhat.com>
5374         * system.h (GCC_DIAGNOSTIC_PUSH_IGNORED, GCC_DIAGNOSTIC_POP,
5375         GCC_DIAGNOSTIC_STRINGIFY): Define.
5377         * read-rtl.c (rtx_reader::read_rtx_code): Avoid -Wsign-compare warning.
5379 2017-01-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5381         * config/arm/arm.md (<mcrr>): New.
5382         (<mrrc>): New.
5383         * config/arm/arm.c (arm_arch5te): New.
5384         (arm_option_override): Set arm_arch5te.
5385         (arm_coproc_builtin_available): Add support for mcrr, mcrr2, mrrc
5386         and mrrc2.
5387         * config/arm/arm-builtins.c (MCRR_QUALIFIERS): Define to...
5388         (arm_mcrr_qualifiers): ... this. New.
5389         (MRRC_QUALIFIERS): Define to...
5390         (arm_mrrc_qualifiers): ... this. New.
5391         * config/arm/arm_acle.h (__arm_mcrr, __arm_mcrr2, __arm_mrrc,
5392         __arm_mrrc2): New.
5393         * config/arm/arm_acle_builtins.def (mcrr, mcrr2, mrrc, mrrc2): New.
5394         * config/arm/iterators.md (MCRRI, mcrr, MCRR): New.
5395         (MRRCI, mrrc, MRRC): New.
5396         * config/arm/unspecs.md (VUNSPEC_MCRR, VUNSPEC_MCRR2, VUNSPEC_MRRC,
5397         VUNSPEC_MRRC2): New.
5399 2017-01-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5401         * config/arm/arm.md (<mcr>): New.
5402         (<mrc>): New.
5403         * config/arm/arm.c (arm_coproc_builtin_available): Add
5404         support for mcr, mrc, mcr2 and mrc2.
5405         * config/arm/arm-builtins.c (MCR_QUALIFIERS): Define to...
5406         (arm_mcr_qualifiers): ... this. New.
5407         (MRC_QUALIFIERS): Define to ...
5408         (arm_mrc_qualifiers): ... this. New.
5409         (MCR_QUALIFIERS): Define to ...
5410         (arm_mcr_qualifiers): ... this. New.
5411         * config/arm/arm_acle.h (__arm_mcr, __arm_mrc, __arm_mcr2,
5412         __arm_mrc2): New.
5413         * config/arm/arm_acle_builtins.def (mcr, mcr2, mrc, mrc2): New.
5414         * config/arm/iterators.md (MCRI, mcr, MCR, MRCI, mrc, MRC): New.
5415         * config/arm/unspecs.md (VUNSPEC_MCR, VUNSPEC_MCR2, VUNSPEC_MRC,
5416         VUNSPEC_MRC2): New.
5418 2017-01-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5420         * config/arm/arm.md (*ldc): New.
5421         (*stc): New.
5422         (<ldc>): New.
5423         (<stc>): New.
5424         * config/arm/arm.c (arm_coproc_builtin_available): Add
5425         support for ldc,ldcl,stc,stcl,ldc2,ldc2l,stc2 and stc2l.
5426         (arm_coproc_ldc_stc_legitimate_address): New.
5427         * config/arm/arm-builtins.c (arm_type_qualifiers): Add
5428         'qualifier_const_pointer'.
5429         (LDC_QUALIFIERS): Define to...
5430         (arm_ldc_qualifiers): ... this. New.
5431         (STC_QUALIFIERS): Define to...
5432         (arm_stc_qualifiers): ... this. New.
5433         * config/arm/arm-protos.h
5434         (arm_coproc_ldc_stc_legitimate_address): New.
5435         * config/arm/arm_acle.h (__arm_ldc, __arm_ldcl, __arm_stc,
5436         __arm_stcl, __arm_ldc2, __arm_ldc2l, __arm_stc2, __arm_stc2l): New.
5437         * config/arm/arm_acle_builtins.def (ldc, ldc2, ldcl, ldc2l, stc,
5438         stc2, stcl, stc2l): New.
5439         * config/arm/constraints.md (Uz): New.
5440         * config/arm/iterators.md (LDCI, STCI, ldc, stc, LDC STC): New.
5441         * config/arm/unspecs.md (VUNSPEC_LDC, VUNSPEC_LDC2, VUNSPEC_LDCL,
5442         VUNSPEC_LDC2L, VUNSPEC_STC, VUNSPEC_STC2, VUNSPEC_STCL,
5443         VUNSPEC_STC2L): New.
5445 2017-01-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5447         * config/arm/arm.md (<cdp>): New.
5448         * config/arm/arm.c (neon_const_bounds): Rename this ...
5449         (arm_const_bounds): ... this.
5450         (arm_coproc_builtin_available): New.
5451         * config/arm/arm-builtins.c (SIMD_MAX_BUILTIN_ARGS): Increase.
5452         (arm_type_qualifiers): Add 'qualifier_unsigned_immediate'.
5453         (CDP_QUALIFIERS): Define to...
5454         (arm_cdp_qualifiers): ... this. New.
5455         (void_UP): Define.
5456         (arm_expand_builtin_args): Add case for 6 arguments.
5457         * config/arm/arm-protos.h (neon_const_bounds): Rename this ...
5458         (arm_const_bounds): ... this.
5459         (arm_coproc_builtin_available): New.
5460         * config/arm/arm_acle.h (__arm_cdp): New.
5461         (__arm_cdp2): New.
5462         * config/arm/arm_acle_builtins.def (cdp): New.
5463         (cdp2): New.
5464         * config/arm/iterators.md (CDPI,CDP,cdp): New.
5465         * config/arm/neon.md: Rename all 'neon_const_bounds' to
5466         'arm_const_bounds'.
5467         * config/arm/types.md (coproc): New.
5468         * config/arm/unspecs.md (VUNSPEC_CDP, VUNSPEC_CDP2): New.
5469         * gcc/doc/extend.texi (ACLE): Add a mention of Coprocessor intrinsics.
5470         * gcc/doc/sourcebuild.texi (arm_coproc1_ok, arm_coproc2_ok,
5471         arm_coproc3_ok, arm_coproc4_ok): Document new effective targets.
5473 2017-01-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5475         * config/arm/arm-builtins.c (arm_unsigned_binop_qualifiers): New.
5476         (UBINOP_QUALIFIERS): New.
5477         (si_UP): Define.
5478         (acle_builtin_data): New. Change comment.
5479         (arm_builtins): Remove ARM_BUILTIN_CRC32B, ARM_BUILTIN_CRC32H,
5480         ARM_BUILTIN_CRC32W, ARM_BUILTIN_CRC32CB, ARM_BUILTIN_CRC32CH,
5481         ARM_BUILTIN_CRC32CW. Add ARM_BUILTIN_ACLE_BASE and include
5482         arm_acle_builtins.def.
5483         (ARM_BUILTIN_ACLE_PATTERN_START): Define.
5484         (arm_init_acle_builtins): New.
5485         (CRC32_BUILTIN): Remove.
5486         (bdesc_2arg): Remove entries for crc32b, crc32h, crc32w,
5487         crc32cb, crc32ch and crc32cw.
5488         (arm_init_crc32_builtins): Remove.
5489         (arm_init_builtins): Use arm_init_acle_builtins rather
5490         than arm_init_crc32_builtins.
5491         (arm_expand_acle_builtin): New.
5492         (arm_expand_builtin): Use 'arm_expand_acle_builtin'.
5493         * config/arm/arm_acle_builtins.def: New.
5495 2017-01-06  Andre Vieira  <andre.simoesdiasvieira@arm.com>
5497         * config/arm/arm-builtins.c (neon_builtin_datum): Rename to ..
5498         (arm_builtin_datum): ... this.
5499         (arm_init_neon_builtin): Rename to ...
5500         (arm_init_builtin): ... this. Add a new parameters PREFIX
5501         and USE_SIG_IN_NAME.
5502         (arm_init_neon_builtins): Replace 'arm_init_neon_builtin' with
5503         'arm_init_builtin'. Replace type 'neon_builtin_datum' with
5504         'arm_builtin_datum'.
5505         (arm_init_vfp_builtins): Likewise.
5506         (builtin_arg): Rename enum's replacing 'NEON_ARG' with
5507         'ARG_BUILTIN' and add a 'ARG_BUILTIN_NEON_MEMORY.
5508         (arm_expand_neon_args): Rename to ...
5509         (arm_expand_builtin_args): ... this. Rename builtin_arg
5510         enum values and differentiate between ARG_BUILTIN_MEMORY
5511         and ARG_BUILTIN_NEON_MEMORY.
5512         (arm_expand_neon_builtin_1): Rename to ...
5513         (arm_expand_builtin_1): ... this. Rename builtin_arg enum
5514         values, arm_expand_builtin_args and add bool parameter NEON.
5515         (arm_expand_neon_builtin): Use arm_expand_builtin_1.
5516         (arm_expand_vfp_builtin): Likewise.
5517         (NEON_MAX_BUILTIN_ARGS): Remove, it was unused.
5519 2017-01-01  Jan Hubicka  <hubicka@ucw.cz>
5521         PR middle-end/77484
5522         * predict.def (PRED_POLYMORPHIC_CALL): Set to 59.
5523         * predict.c (tree_estimate_probability_bb): Reverse direction of
5524         polymorphic call predictor.
5526 2017-01-06  David Malcolm  <dmalcolm@redhat.com>
5528         * passes.c (execute_one_pass): Split out pass-skipping logic into...
5529         (determine_pass_name_match): ...this new function and...
5530         (should_skip_pass_p): ...this new function.
5532 2017-01-06  Nathan Sidwell  <nathan@acm.org>
5534         * ipa-visibility.c (function_and_variable_visibility): Reformat
5535         comments and long lines.  Remove extrneous if.
5536         * symtab.c (symtab_node::make_decl_local): Fix code format.
5537         (symtab_node::set_section_for_node): Fix comment typo.
5539 2017-01-06  Martin Liska  <mliska@suse.cz>
5541         PR bootstrap/79003
5542         * lra-constraints.c: Rename invariant to lra_invariant.
5543         * predict.c (set_even_probabilities): Initialize e to NULL.
5545 2017-01-05  Martin Sebor  <msebor@redhat.com>
5547         PR tree-optimization/78910
5548         * gimple-ssa-sprintf.c (tree_digits): Add an argument.
5549         (format_integer): Correct off-by-one error in the handling
5550         of precision with negative numbers in signed conversions..
5552 2017-01-05  Eric Botcazou  <ebotcazou@adacore.com>
5554         * doc/invoke.texi (C Dialect Options): Adjust -fsso-struct entry.
5556 2017-01-05  Jakub Jelinek  <jakub@redhat.com>
5558         PR tree-optimization/71016
5559         * tree-ssa-phiopt.c (tree_ssa_phiopt_worker): Pass cond_stmt to
5560         factor_out_conditional_conversion.  Formatting fix.
5561         (factor_out_conditional_conversion): Add cond_stmt argument.
5562         If arg1 is INTEGER_CST, punt if new_arg0 is not any operand of
5563         cond_stmt and if arg0_def_stmt is not the only stmt in its bb.
5564         Formatting fix.
5566 2017-01-05  David Malcolm  <dmalcolm@redhat.com>
5568         * Makefile.in (OBJS): Add read-md.o, read-rtl.o,
5569         read-rtl-function.o, and selftest-rtl.o.
5570         * config/aarch64/aarch64.c: Include selftest.h and selftest-rtl.h.
5571         (selftest::aarch64_test_loading_full_dump): New function.
5572         (selftest::aarch64_run_selftests): New function.
5573         (TARGET_RUN_TARGET_SELFTESTS): Wire it up to
5574         selftest::aarch64_run_selftests.
5575         * config/i386/i386.c
5576         (selftest::ix86_test_loading_dump_fragment_1): New function.
5577         (selftest::ix86_test_loading_call_insn): New function.
5578         (selftest::ix86_test_loading_full_dump): New function.
5579         (selftest::ix86_test_loading_unspec): New function.
5580         (selftest::ix86_run_selftests): Call the new functions.
5581         * emit-rtl.c (maybe_set_max_label_num): New function.
5582         * emit-rtl.h (maybe_set_max_label_num): New decl.
5583         * function.c (instantiate_decls): Guard call to
5584         instantiate_decls_1 with if (DECL_INITIAL (fndecl)).
5585         * function-tests.c (selftest::verify_three_block_rtl_cfg): Remove
5586         "static".
5587         * gensupport.c (gen_reader::gen_reader): Pass "false"
5588         for new "compact" param of rtx_reader.
5589         * print-rtl.c (rtx_writer::print_rtx_operand): Print "(nil)"
5590         rather than an empty string for NULL strings.
5591         * read-md.c: Potentially include config.h rather than bconfig.h.
5592         Wrap include of errors.h with #ifdef GENERATOR_FILE.
5593         (have_error): New global, copied from errors.c.
5594         (md_reader::read_name): Rename to...
5595         (md_reader::read_name_1): ...this, adding "out_loc" param,
5596         and converting "missing name or number" to returning false, rather
5597         than failing.
5598         (md_reader::read_name): Reimplement in terms of read_name_1.
5599         (md_reader::read_name_or_nil): New function.
5600         (md_reader::read_string): Handle "(nil)" by returning NULL.
5601         (md_reader::md_reader): Add new param "compact".
5602         (md_reader::read_md_files): Wrap with #ifdef GENERATOR_FILE.
5603         (md_reader::read_file): New method.
5604         * read-md.h (md_reader::md_reader): Add new param "compact".
5605         (md_reader::read_file): New method.
5606         (md_reader::is_compact): New accessor.
5607         (md_reader::read_name): Convert return type from void to file_location.
5608         (md_reader::read_name_or_nil): New decl.
5609         (md_reader::read_name_1): New decl.
5610         (md_reader::m_compact): New field.
5611         (noop_reader::noop_reader): Pass "false" for new "compact" param
5612         of rtx_reader.
5613         (rtx_reader::rtx_reader): Add new "compact" param.
5614         (rtx_reader::read_rtx_operand): Make virtual and convert return
5615         type from void to rtx.
5616         (rtx_reader::read_until): New decl.
5617         (rtx_reader::handle_any_trailing_information): New virtual function.
5618         (rtx_reader::postprocess): New virtual function.
5619         (rtx_reader::finalize_string): New virtual function.
5620         (rtx_reader::m_in_call_function_usage): New field.
5621         (rtx_reader::m_reuse_rtx_by_id): New field.
5622         * read-rtl-function.c: New file.
5623         * selftest-rtl.c (selftest::assert_rtx_ptr_eq_at): New function.
5624         * selftest-rtl.h (ASSERT_RTX_PTR_EQ): New macro.
5625         (selftest::verify_three_block_rtl_cfg): New decl.
5626         * read-rtl-function.h: New file.
5627         * read-rtl.c: Potentially include config.h rather than bconfig.h.
5628         For host, include function.h, memmodel.h, and emit-rtl.h.
5629         (one_time_initialization): New function.
5630         (struct compact_insn_name): New struct.
5631         (compact_insn_names): New array.
5632         (find_code): Handle insn codes in compact dumps.
5633         (apply_subst_iterator): Wrap with #ifdef GENERATOR_FILE.
5634         (bind_subst_iter_and_attr): Likewise.
5635         (add_condition_to_string): Likewise.
5636         (add_condition_to_rtx): Likewise.
5637         (apply_attribute_uses): Likewise.
5638         (add_current_iterators): Likewise.
5639         (apply_iterators): Likewise.
5640         (initialize_iterators): Guard usage of apply_subst_iterator with
5641         #ifdef GENERATOR_FILE.
5642         (read_conditions): Wrap with #ifdef GENERATOR_FILE.
5643         (md_reader::read_mapping): Likewise.
5644         (add_define_attr_for_define_subst): Likewise.
5645         (add_define_subst_attr): Likewise.
5646         (read_subst_mapping): Likewise.
5647         (check_code_iterator): Likewise.
5648         (rtx_reader::read_rtx): Likewise.  Move one-time initialization
5649         logic to...
5650         (one_time_initialization): New function.
5651         (rtx_reader::read_until): New method.
5652         (read_flags): New function.
5653         (parse_reg_note_name): New function.
5654         (rtx_reader::read_rtx_code): Initialize "iterator" to NULL.
5655         Handle reuse_rtx ids.
5656         Wrap iterator lookup within #ifdef GENERATOR_FILE.
5657         Add parsing support for RTL dumps, mirroring the special-cases in
5658         print_rtx, by calling read_flags, reading REG_NOTE names, INSN_UID
5659         values, and calling handle_any_trailing_information.
5660         (rtx_reader::read_rtx_operand): Convert return type from void
5661         to rtx, returning return_rtx.  Handle case 'e'.  Call
5662         finalize_string on XSTR and XTMPL fields.
5663         (rtx_reader::read_nested_rtx):  Handle dumps in which trailing
5664          "(nil)" values were omitted.  Call the postprocess vfunc on the
5665         return_rtx.
5666         (rtx_reader::rtx_reader): Add new "compact" param and pass to base
5667         class ctor.  Initialize m_in_call_function_usage.  Call
5668         one_time_initialization.
5669         * rtl-tests.c (selftest::test_uncond_jump): Call
5670         set_new_first_and_last_insn.
5671         * rtl.h (read_rtx): Wrap decl with #ifdef GENERATOR_FILE.
5672         * selftest-rtl.c: New file.
5673         * selftest-rtl.h (class selftest::rtl_dump_test): New class.
5674         (selftest::get_insn_by_uid): New decl.
5675         * selftest-run-tests.c (selftest::run_tests): Call
5676         read_rtl_function_c_tests.
5677         * selftest.h  (selftest::read_rtl_function_c_tests): New decl.
5678         * tree-dfa.c (ssa_default_def): Return NULL_TREE for rtl function
5679         dumps.
5681 2017-01-05  Uros Bizjak  <ubizjak@gmail.com>
5683         * config/i386/i386.md (*testqi_ext_3): No need to handle memory
5684         operands in a special way.  Assert that pos+len <= mode precision.
5686 2017-01-05  Jakub Jelinek  <jakub@redhat.com>
5688         * common.opt (fvect-cost-model): Remove RejectNegative flag, use
5689         3 argument Alias with unlimited for the negative form.
5690         (fno-vect-cost-model): Removed.
5692 2017-01-05  Martin Liska  <mliska@suse.cz>
5694         * hsa-gen.c (gen_hsa_divmod): New function.
5695         (gen_hsa_insn_for_internal_fn_call): Use the function for IFN_DIVMOD.
5697 2017-01-05  Martin Liska  <mliska@suse.cz>
5699         PR pch/78970
5700         * gcc.c (lookup_compiler): Reject '-' filename for a precompiled
5701         header.
5703 2017-01-05  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
5705         * config/s390/s390.c (s390_expand_setmem): Unroll the loop for
5706         small constant length operands.
5708 2017-01-05  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
5710         * config/s390/s390.c (s390_expand_setmem): Avoid overlapping bytes
5711         between loop iterations.
5713 2017-01-05  Martin Liska  <mliska@suse.cz>
5715         PR sanitizer/78815
5716         * gimplify.c (gimplify_decl_expr): Compare to
5717         asan_poisoned_variables instread of checking flags.
5718         (gimplify_target_expr): Likewise.
5719         (gimplify_expr): Likewise.
5720         (gimplify_function_tree): Conditionally initialize
5721         asan_poisoned_variables.
5723 2017-01-04  Jeff Law  <law@redhat.com>
5725         PR tree-optimizatin/78812
5726         * rtl.h (contains_mem_rtx_p): Prototype.
5727         * ifcvt.c (containts_mem_rtx_p): Move from here to...
5728         * rtlanal.c (contains_mem_rtx_p): Here and remove static linkage.
5729         * gcse.c (prune_expressions): Use contains_mem_rtx_p to discover
5730         and prune MEMs that are not at the toplevel of a SET_SRC rtx.  Look
5731         through ZERO_EXTEND and SIGN_EXTEND when trying to avoid pruning MEMs.
5733 2017-01-04  Alexandre Oliva <aoliva@redhat.com>
5735         * input.c (assert_char_at_range): Default-initialize actual_range.
5737 2017-01-04  Alexandre Oliva <aoliva@redhat.com>
5739         * df-scan.c (df_ref_create_structure): Make regno unsigned,
5740         to match the caller.
5742 2017-01-04  Alexandre Oliva <aoliva@redhat.com>
5744         * cfgexpand.c (expand_gimple_basic_block): Disregard debug
5745         insns after final jump in test to emit dummy move.
5747 2017-01-04  Alexandre Oliva <aoliva@redhat.com>
5749         * gimple-iterator.h (gsi_one_nondebug_before_end_p): New.
5750         * tree-eh.c (cleanup_empty_eh): Skip more debug stmts.
5752 2017-01-04  Alexandre Oliva <aoliva@redhat.com>
5754         * multiple_target.c (create_dispatcher_calls): Init e_next.
5755         * tree-ssa-loop-split.c (split_loop): Init border.
5756         * tree-vect-loop.c (vect_determine_vectorization_factor): Init
5757         scalar_type.
5759 2017-01-04  Michael Meissner  <meissner@linux.vnet.ibm.com>
5761         PR target/71977
5762         PR target/70568
5763         PR target/78823
5764         * config/rs6000/predicates.md (sf_subreg_operand): New predicate.
5765         (altivec_register_operand): Do not return true if the operand
5766         contains a SUBREG mixing SImode and SFmode.
5767         (vsx_register_operand): Likewise.
5768         (vsx_reg_sfsubreg_ok): New predicate.
5769         (vfloat_operand): Do not return true if the operand contains a
5770         SUBREG mixing SImode and SFmode.
5771         (vint_operand): Likewise.
5772         (vlogical_operand): Likewise.
5773         (gpc_reg_operand): Likewise.
5774         (int_reg_operand): Likewise.
5775         * config/rs6000/rs6000-protos.h (valid_sf_si_move): Add declaration.
5776         * config/rs6000/rs6000.c (valid_sf_si_move): New function to
5777         determine if a MOVSI or MOVSF operation contains SUBREGs that mix
5778         SImode and SFmode.
5779         (rs6000_emit_move_si_sf_subreg): New helper function.
5780         (rs6000_emit_move): Call rs6000_emit_move_si_sf_subreg to possbily
5781         fixup SUBREGs involving SImode and SFmode.
5782         * config/rs6000/vsx.md (SFBOOL_*): New constants that are operand
5783         numbers for the new peephole2 optimization.
5784         (peephole2 for SFmode unions): New peephole2 to optimize cases in
5785         the GLIBC math library that do AND/IOR/XOR operations on single
5786         precision floating point.
5787         * config/rs6000/rs6000.h (TARGET_NO_SF_SUBREG): New internal
5788         target macros to say whether we need to avoid SUBREGs mixing
5789         SImode and SFmode.
5790         (TARGET_ALLOW_SF_SUBREG): Likewise.
5791         * config/rs6000/rs6000.md (UNSPEC_SF_FROM_SI): New unspecs.
5792         (UNSPEC_SI_FROM_SF): Likewise.
5793         (iorxor): Change spacing.
5794         (and_ior_xor): New iterator for AND, IOR, and XOR.
5795         (movsi_from_sf): New insns for SImode/SFmode SUBREG support.
5796         (movdi_from_sf_zero_ext): Likewise.
5797         (mov<mode>_hardfloat, FMOVE32 iterator): Use register_operand
5798         instead of gpc_reg_operand.  Add SImode/SFmode SUBREG support.
5799         (movsf_from_si): New insn for SImode/SFmode SUBREG support.
5800         (fma<mode>4): Use gpc_reg_operand instead of register_operand.
5801         (fms<mode>4): Likewise.
5802         (fnma<mode>4): Likewise.
5803         (fnms<mode>4): Likewise.
5804         (nfma<mode>4): Likewise.
5805         (nfms<mode>4): Likewise.
5807 2017-01-04  Marek Polacek  <polacek@redhat.com>
5809         PR c++/64767
5810         * doc/invoke.texi: Document -Wpointer-compare.
5812 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
5814         * optc-gen.awk: Emit #error for -W*/-f*/-m* Enum without
5815         RejectNegative.
5817         * dwarf2out.c (output_loc_list): Don't throw away 64K+ location
5818         descriptions for -gdwarf-5 and emit them as uleb128 instead of
5819         2-byte data.
5821 2017-01-04  Kelvin Nilsen  <kelvin@gcc.gnu.org>
5823         PR target/78056
5824         * doc/sourcebuild.texi (PowerPC-specific attributes): Add
5825         documentation of the powerpc_popcntb_ok attribute.
5826         * config/rs6000/rs6000.c (rs6000_option_override_internal): Add
5827         code to issue warning messages if a requested CPU configuration is
5828         not supported by the binary (assembler and loader) toolchain.
5829         (spe_init_builtins): Add two assertions to prevent ICE if attempt is
5830         made to define a built-in function that has been disabled.
5831         (paired_init_builtins): Add assertion to prevent ICE if attempt is
5832         made to define a built-in function that has been disabled.
5833         (altivec_init_builtins): Add comment explaining why definition
5834         of the DST built-in functions is not preceded by an assertion
5835         check.  Add assertions to prevent ICE if attempts are made to
5836         define an altivec predicate or an abs* built-in function that has
5837         been disabled.
5838         (htm_init_builtins): Add comment explaining why definition of the
5839         htm built-in functions is not preceded by an assertion check.
5841 2017-01-04  Jeff Law  <law@redhat.com>
5843         PR tree-optimizatin/67955
5844         * tree-ssa-alias.c (same_addr_size_stores_p): Check offsets first.
5845         Allow any SSA_VAR_P as the base objects.  Use integer_zerop.  Verify
5846         the points-to solution does not include pt_null.  Use DECL_PT_UID
5847         unconditionally.
5849 2017-01-04  Uros Bizjak  <ubizjak@gmail.com>
5851         * config/i386/i386.md (HI/SImode test with imm to QImode splitters):
5852         Use gen_int_mode instead of gen_lopwart for const_int operands.
5854 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
5856         PR tree-optimization/71563
5857         * match.pd: Simplify X << Y into X if Y is known to be 0 or
5858         out of range value - has low bits known to be zero.
5860 2017-01-04  Alan Modra  <amodra@gmail.com>
5862         * Makefile.in (aclocal_deps): Update and order as per aclocal.m4.
5863         * configure: Regenerate.
5864         * config.in: Regenerate.
5866 2017-01-04  Jakub Jelinek  <jakub@redhat.com>
5868         PR bootstrap/77569
5869         * input.c (ebcdic_execution_charset::on_error): Don't use strstr for
5870         a substring of the message, but strcmp with the whole message.  Ifdef
5871         ENABLE_NLS, translate the message first using dgettext.
5873 2017-01-03  Jeff Law  <law@redhat.com>
5875         PR tree-optimizatin/78856
5876         * tree-ssa-threadupdate.c: Include tree-vectorizer.h.
5877         (mark_threaded_blocks): Remove code to truncate thread paths that
5878         cross multiple loop headers.  Instead invalidate the cached loop
5879         iteration information and handle case of a thread path walking
5880         into an irreducible region.
5882 2017-01-03  Michael Meissner  <meissner@linux.vnet.ibm.com>
5884         PR target/78900
5885         * config/rs6000/rs6000.c (rs6000_split_signbit): Change some
5886         assertions.  Add support for doing the signbit if the IEEE 128-bit
5887         floating point value is in a GPR.
5888         * config/rs6000/rs6000.md (Fsignbit): Delete.
5889         (signbit<mode>2_dm): Delete using <Fsignbit> and just use "wa".
5890         Update the length attribute if the value is in a GPR.
5891         (signbit<mode>2_dm_<su>ext): Add combiner pattern to eliminate
5892         the sign or zero extension instruction, since the value is always 0/1.
5893         (signbit<mode>2_dm2): Delete using <Fsignbit>.
5895         PR target/78953
5896         * config/rs6000/vsx.md (vsx_extract_<mode>_store_p9): If we are
5897         extracting SImode to a GPR register so that we can generate a
5898         store, limit the vector to be in a traditional Altivec register
5899         for the vextuwrx instruction.
5901 2017-01-03  Ian Lance Taylor  <iant@google.com>
5903         * godump.c (go_format_type): Treat ENUMERAL_TYPE like INTEGER_TYPE.
5905 2017-01-03  Martin Sebor  <msebor@redhat.com>
5907         PR tree-optimization/78696
5908         * gimple-ssa-sprintf.c (format_floating): Correct handling of
5909         precision.  Use MPFR for %f for greater fidelity.  Correct handling
5910         of %g.
5911         (pass_sprintf_length::compute_format_length): Set width and precision
5912         specified by asrerisk to void_node for vararg functions.
5913         (try_substitute_return_value): Adjust dump output.
5915 2017-01-03  David Edelsohn  <dje.gcc@gmail.com>
5917         * doc/invoke.texi (RS6000 options): LRA is enabled by default.
5919 2017-01-03  Eric Botcazou  <ebotcazou@adacore.com>
5921         * doc/invoke.texi (SPARC options): Document -mlra as the default.
5922         * config/sparc/sparc.c (sparc_option_override): Force LRA unless
5923         -mlra/-mno-lra was passed to the compiler.
5925 2017-01-03  James Cowgill  <James.Cowgill@imgtec.com>
5927         PR rtl-optimization/65618
5928         * emit-rtl.c (try_split): Move initialization of "before" and
5929         "after" to just before the call to emit_insn_after_setloc.
5931 2017-01-03  Gerald Pfeifer  <gerald@pfeifer.com>
5933         * doc/md.texi (Standard Names): Remove reference to Java frontend.
5935 2017-01-03  Pierre-Marie de Rodat  <derodat@adacore.com>
5937         * dwarf2out.c (gen_enumeration_type_die): When
5938         -gno-strict-dwarf, add a DW_AT_encoding attribute.
5940 2017-01-03  Jakub Jelinek  <jakub@redhat.com>
5942         PR tree-optimization/78965
5943         * gimple-ssa-sprintf.c (pass_sprintf_length::compute_format_length):
5944         Change first argument from const call_info & to call_info &.  For %n
5945         set info.nowrite to false.
5947         PR middle-end/78901
5948         * gimple-ssa-sprintf.c (try_substitute_return_value): Don't change
5949         possibly throwing calls.
5951         * genmatch.c (dt_node::gen_kids_1): If generic_exprs include SSA_NAME
5952         and exprs_len || fns_len, emit the code for SSA_NAME next to the exprs
5953         and fns handling, rather than in a separate case SSA_NAME.
5955 2017-01-02  Jeff Law  <law@redhat.com>
5957         * config/darwin-driver.c (darwin_driver_init): Const-correctness
5958         fixes for first_period and second_period variables.
5960 2017-01-02  Uros Bizjak  <ubizjak@gmail.com>
5962         PR target/78967
5963         * config/i386/i386.md (UNSPEC_NOREX_MEM): New unspec.
5964         (*insvqi_1): New insn pattern.
5965         (*insvqi_1_mem_rex64): Ditto.
5966         (*insvqi_2): Ditto.
5967         (*insvqi_3): Rename from *insvqi.
5969         (*extzvqi_mem_rex64): Add UNSPEC_NOREX_MEM tag.
5971 2017-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
5973         * doc/cfg.texi (Edges): Remove reference to Java.
5974         (Maintaining the CFG): Ditto.
5976 2017-01-01  Jan Hubicka  <hubicka@ucw.cz>
5978         PR middle-end/77674
5979         * symtab.c (symtab_node::binds_to_current_def_p): Fix handling of
5980         transparent aliases.
5982 2017-01-01  Jan Hubicka  <hubicka@ucw.cz>
5984         PR middle-end/77484
5985         * predict.def (PRED_CALL): Update hitrate.
5986         (PRED_INDIR_CALL, PRED_POLYMORPHIC_CALL): New predictors.
5987         * predict.c (tree_estimate_probability_bb): Split CALL predictor
5988         into direct/indirect/polymorphic variants.
5990 2017-01-01  Jakub Jelinek  <jakub@redhat.com>
5992         Update copyright years.
5994         * gcc.c (process_command): Update copyright notice dates.
5995         * gcov-dump.c (print_version): Ditto.
5996         * gcov.c (print_version): Ditto.
5997         * gcov-tool.c (print_version): Ditto.
5998         * gengtype.c (create_file): Ditto.
5999         * doc/cpp.texi: Bump @copying's copyright year.
6000         * doc/cppinternals.texi: Ditto.
6001         * doc/gcc.texi: Ditto.
6002         * doc/gccint.texi: Ditto.
6003         * doc/gcov.texi: Ditto.
6004         * doc/install.texi: Ditto.
6005         * doc/invoke.texi: Ditto.
6007 Copyright (C) 2017 Free Software Foundation, Inc.
6009 Copying and distribution of this file, with or without modification,
6010 are permitted in any medium without royalty provided the copyright
6011 notice and this notice are preserved.