2016-01-15 Vladimir Makarov <vmakarov@redhat.com>
[official-gcc.git] / gcc / ChangeLog
blobe3dc3280a957db9085411175fd6a435aaa766d28
1 2016-01-15  Vladimir Makarov  <vmakarov@redhat.com>
3         PR rtl-optimization/69030
4         * lra-spills.c (remove_pseudos): Check nrefs and make the function
5         returning bool.
6         (spill_pseudos): Delete debug insn for dead pseudo.
7         (lra_spill): Initiate spill_hard_reg and slots memory separately.
9 2016-01-15  Jiong Wang  <jiong.wang@arm.com>
11         * config/aarch64/aarch64-builtins.c (aarch64_types_unopus_qualifiers):
12         New.
13         (TYPES_UNOPUS): Likewise.
14         * config/aarch64/aarch64-simd-builtins.def (lbtruncuv2sf): Correct
15         builtin type, from UNOP to UNOPUS.
16         (lbtruncuv4sf): Likewise.
17         (lbtruncuv2df): Likewise.
18         (lrounduv2sf): Likewise.
19         (lrounduv4sf): Likewise.
20         (lrounduv2df): Likewise.
21         (lroundusf): Likewise.
22         (lroundusf): Likewise.
23         (lceiluv2sf): Likewise.
24         (lceiluv4sf): Likewise.
25         (lceiluv2df): Likewise.
26         (lceilusf): Likewise.
27         (lceiludf): Likewise.
28         (lflooruv2sf): Likewise.
29         (lflooruv4sf): Likewise.
30         (lflooruv2df): Likewise.
31         (lfloorusf): Likewise.
32         (lfloorudf): Likewise.
33         (lfrintnuv2sf): Likewise.
34         (lfrintnuv4sf): Likewise.
35         (lfrintnuv2df): Likewise.
36         (lfrintnusf): Likewise.
37         (lfrintnudf): Likewise.
38         * config/aarch64/arm_neon.h (vcvt_u32_f32): Remove unncessary type
39         conversion.
40         (vcvtq_u32_f32): Likewise.
41         (vcvtq_u64_f64): Likewise.
42         (vcvta_u32_f32): Likewise.
43         (vcvtaq_u32_f32): Likewise.
44         (vcvtaq_u64_f64): Likewise.
45         (vcvtm_u32_f32): Likewise.
46         (vcvtmq_u32_f32): Likewise.
47         (vcvtmq_u64_f64): Likewise.
48         (vcvtn_u32_f32): Likwise.
49         (vcvtnq_u32_f32): Likewise.
50         (vcvtnq_u64_f64): Likewise.
51         (vcvtp_u32_f32): Likewise.
52         (vcvtpq_u32_f32): Likewise.
53         (vcvtpq_u64_f64): Likewise.
54         (vcvtmd_u64_f64): Likewise.
55         (vcvtms_u32_f32): Likewise.
56         (vcvtad_u64_f64): Likewise.
57         (vcvtas_u32_f32): Likewise.
58         (vcvtnd_u64_f64): Likewise.
59         (vcvtns_u32_f32): Likewise.
60         (vcvtpd_u64_f64): Likewise.
61         (vcvtps_u32_f32): Likewise.
63 2016-01-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
65         * config/aarch64/aarch64.c (aarch64_if_then_else_costs): Handle
66         CSEL of zero_extended registers.
68 2016-01-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
70         * config/aarch64/aarch64.c (aarch64_rtx_costs, COMPARE case):
71         Handle COMPARE of ZERO_EXTRACT against zero form of TST-immediate.
73 2016-01-15  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
75         * config/aarch64/aarch64.c (aarch64_process_one_target_attr): Return
76         false when argument string is not found in the attributes table
77         at all.
79 2016-01-15  David Edelsohn  <dje.gcc@gmail.com>
81         PR target/68609
82         * config/rs6000/rs6000.c (rs6000_emit_msub): Delete.
83         (rs6000_emit_swsqrt): Convert to Goldschmidt's Algorithm
84         * config/rs6000/rs6000.md (sqrt<mode>2): Limit swsqrt to high
85         precision estimate.
87 2016-01-15  Richard Biener  <rguenther@suse.de>
89         PR tree-optimization/66856
90         * tree-vect-loop.c (vect_transform_loop): Free SLP instances here.
91         * tree-vect-slp.c (vect_free_slp_tree): Decrement stmt reference count.
92         (vect_create_new_slp_node): Increment stmt reference count.
93         (vect_get_and_check_slp_defs): Make sure stmts are nor already in
94         an SLP tree before swapping operands.
95         (vect_build_slp_tree): Likewise.
96         (destroy_bb_vec_info): Free stmt info after SLP instances.
97         * tree-vect-stmts.c (new_stmt_vec_info): Initialize reference count.
98         * tree-vectorizer.h (struct _stmt_vec_info): Add num_slp_uses field.
99         (STMT_VINFO_NUM_SLP_USES): New macro.
101 2016-01-15  Richard Biener  <rguenther@suse.de>
103         PR debug/69137
104         * dwarf2out.c (add_linkage_name_raw): New function split out from ...
105         (add_linkage_name): ... here.
106         (gen_typedef_die): Use add_linkage_name_raw instead of
107         add_linkage_attr to delay DECL_ASSEMBLER_NAME computation
108         if necessary.
110 2016-01-15  Cesar Philippidis  <cesar@codesourcery.com>
112         * gimplify.c (oacc_default_clause): Decode reference and pointer
113         types for both kernels and parallel regions.
115 2016-01-15  Richard Sandiford  <richard.sandiford@arm.com>
117         PR middle-end/69246
118         * calls.c (emit_call_1): Force n_popped to zero for sibcalls.
120 2016-01-15  Ilya Enkovich  <enkovich.gnu@gmail.com>
122         * config/i386/i386.c (scalar_chain::compute_convert_gain): Fix typo.
123         (convert_scalars_to_vector): Likewise.
125 2016-01-15  Jonathan Wakely  <jwakely@redhat.com>
127         * doc/extend.texi (Type Traits): Fix grammar.
129 2016-01-15  Martin Jambor  <mjambor@suse.cz>
131         * tree-inline.c (remap_decl): Use existing dclarations if
132         remapping a type and prevent_decl_creation_for_types.
133         (replace_locals_stmt): Do an initial remapping of non-VLA typed
134         decls first.  Do real remapping with
135         prevent_decl_creation_for_types set.
136         * tree-inline.h (copy_body_data): New field
137         prevent_decl_creation_for_types, moved remap_var_for_cilk to avoid
138         padding.
140 2016-01-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
142         * config/s390/s390.opt (mmvcle): More verbose help text.
144 2016-01-15  Dominik Vogt  <vogt@linux.vnet.ibm.com>
146         * config/s390/s390.opt: Add period to -mzvector option text.
148 2016-01-15  Richard Biener  <rguenther@suse.de>
150         PR tree-optimization/68961
151         * tree-vect-slp.c (vect_analyze_slp_cost_1): Consider cost
152         of invariants in stores again.
154 2016-01-15  Sebastian Huber  <sebastian.huber@embedded-brains.de>
156         * config/arm/t-rtems: Add cortex-m7/fpv5-d16 multilib.
158 2016-01-15  Ilya Enkovich  <enkovich.gnu@gmail.com>
160         * config/i386/i386.c (ix86_expand_branch): Don't split
161         DI mode xor instruction to SI mode.
163 2016-01-15  Jan Hubicka  <hubicka@ucw.cz>
165         PR ipa/68148
166         * ipa-icf.c (sem_function::merge): Virtual functions may become
167         reachable even if they address is not taken and there are no
168         idrect calls.
170 2016-01-15  Jan Hubicka  <hubicka@ucw.cz>
172         * lto-streamer-out.c (subtract_estimated_size): New function.
173         (get_symbol_initial_value): Use it.
175 2016-01-15  Christian Bruel  <christian.bruel@st.com>
177         PR target/65837
178         * config/arm/arm-builtins.c (ARM_BUILTIN_CRYPTO_BASE): New enum tag.
179         (arm_init_neon_builtins_internal): Rename arm_init_neon_builtins,
180         (arm_init_crypto_builtins_internal): Rename arm_init_crypto_builtins.
181         use add_builtin_function_ext_scope instead of add_builtin_function.
182         (neon_set_p, neon_crypto_set_p): Remove.
183         (arm_init_builtins): Always call arm_init_neon_builtins and
184         arm_init_crypto_builtins.
185         (arm_expand_builtin): Check that builtins are allowed for the arch.
186         * config/arm/arm-protos.h (arm_init_neon_builtins): Remove prototype.
187         * config/arm/arm.c (arm_valid_target_attribute_tree): Remove
188         arm_init_neon_builtins call.
190 2016-01-15  Richard Biener  <rguenther@suse.de>
192         PR tree-optimization/69117
193         * tree-ssa-sccvn.h (struct vn_ssa_aux): Add info member.
194         * tree-ssa-sccvn.c (set_ssa_val_to): Save and adjust SSA name info
195         of the leader conservatively.
196         (free_scc_vn): Restore original SSA name infos.
198 2016-01-14  Jeff Law  <law@redhat.com>
200         PR tree-optimization/69270
201         * tree-ssa-dom.c (ssa_name_has_boolean_range): If the type has a
202         single bit of precision, verify it's also unsigned.
203         (record_edge_info): Use constant_boolean_node rather than fold_convert
204         to convert boolean_true/boolean_false to the right type.
206 2016-01-14  Richard Henderson  <rth@redhat.com>
208         PR rtl-opt/69014
209         * loop-doloop.c (record_reg_sets): New.
210         (doloop_optimize): Reject the transform if the sequence
211         clobbers registers live at the end of the loop block.
212         (doloop_optimize_loops): Enable df_live if needed. 
214 2016-01-14  Michael Meissner  <meissner@linux.vnet.ibm.com>
216         * config/rs6000/rs6000-builtin.def: Revert 2016-01-13 change.
217         * gcc/config/rs6000/rs6000.c: Likewise.
218         * gcc/config/rs6000/rs6000.h: Likewise.
219         * gcc/config/rs6000/rs6000.md: Likewise.
220         * gcc/doc/extend.texi: Likewsie.
222 2016-01-14  Jeff Law  <law@redhat.com>
224         * tree-ssa-dom.c (ssa_name_has_boolean_range): Fix comment
225         typo.
227 2016-01-14  Richard Henderson  <rth@redhat.com>
229         PR c/69272
230         PR tree-opt/68964
231         * trans-mem.c (tm_log_emit_stmt): Fix unit size to bit size.
232         * tree.c (build_tm_vector_builtins): Use builtin_decl_explicit_p
233         instead of builtin_decl_declared_p to test for declaration.
235 2016-01-14  Nicklas Bo Jensen  <nbjensen@gmail.com>
237         * doc/loop.texi (Loop Analysis and Representation): Document
238         loop_depth function.
240 2016-01-14  Tom de Vries  <tom@codesourcery.com>
242         PR tree-optimization/68773
243         * omp-low.c (expand_omp_target): Don't set force_output.
244         * varpool.c (varpool_node::get_create): Same.
245         * lto-cgraph.c (input_offload_tables): Mark entries in offload_vars and
246         offload_funcs with force_output.
248 2016-01-14  Jakub Jelinek  <jakub@redhat.com>
250         PR debug/69244
251         * lra-eliminations.c (move_plus_up): Don't change anything if either
252         the outer or inner subreg mode is not MODE_INT.
253         * dwarf2out.c (mem_loc_descriptor): For SUBREG, if outer mode is
254         integral <= DWARF2_ADDR_SIZE, convert to untyped afterwards.
256 2016-01-14  Alan Lawrence  <alan.lawrence@arm.com>
258         * doc/md.texi (reduc_smin_@var{m}, reduc_smax_@var{m},
259         reduc_umin_@var{m}, reduc_umax_@var{m}, reduc_splus_@var{m},
260         reduc_uplus_@var{m}): Remove.
261         * expr.c (expand_expr_real_2): Remove expansion path for
262         reduc_[us](min|max|plus) optabs.
263         * optabs-tree.c (scalar_reduc_to_vector): Remove.
264         * optabs-tree.h (scalar_reduc_to_vector): Remove.
265         * optabs.def (reduc_smax_optab, reduc_smin_optab, reduc_splus_optab,
266         reduc_umax_optab, reduc_umin_optab, reduc_uplus_optab): Remove.
267         * tree-vect-loop.c (vectorizable_reduction): Remove test for
268         reduc_[us](min|max|plus) optabs.
270 2016-01-14  Alan Lawrence  <alan.lawrence@arm.com>
272         * config/mips/mips-ps-3d.md (reduc_splus_v2sf): Remove.
273         (reduc_plus_scal_v2sf): New.
274         (reduc_smax_v2sf): Rename to...
275         (reduc_smax_scal_v2sf): ...here, make result SFmode, add vec_extract.
276         (reduc_smin_v2sf): Rename to...
277         (reduc_smin_scal_v2sf): ...here, make result SFmode, add vec_extract.
279 2016-01-14  Jan Hubicka  <hubicka@ucw.cz>
281         * alias.c (compare_base_symbol_refs): New function.
282         (rtx_equal_for_memref_p, base_alias_check, memrefs_conflict_p): Use
283         it.
285 2016-01-14  Jakub Jelinek  <jakub@redhat.com>
287         PR middle-end/68146
288         PR tree-optimization/69155
289         * tree-complex.c: Include cfganal.h.
290         (phis_to_revisit): New variable.
291         (extract_component): Add phiarg_p argument.  Assert that returned
292         SSA_NAME has non-NULL SSA_NAME_DEF_STMT unless phiarg_p is true.
293         (update_phi_components): Partly rewrite to use loop over real/imag
294         components instead of code duplication.  If extract_component returns
295         SSA_NAME with NULL SSA_NAME_DEF_STMT, store SSA_NAME_VAR or
296         create_tmp_reg into the PHI node instead, and mention the phi triplet
297         in phis_to_revisit.
298         (tree_lower_complex): Walk bbs in rpo order.  Adjust phis recorded
299         in phis_to_revisit at the end.
301 2016-01-14  Richard Biener  <rguenther@suse.de>
303         PR tree-optimization/68060
304         * tree-vect-loop.c (vect_is_simple_reduction): Check the
305         outer loop reduction is only used in the inner loop before
306         detecting a double reduction.
308 2016-01-14  Jakub Jelinek  <jakub@redhat.com>
310         PR target/68269
311         * combine.c (expand_field_assignment): Punt if compute_mode is
312         unsupported scalar mode.
314 2016-01-14  Richard Biener  <rguenther@suse.de>
316         PR tree-optimization/66856
317         * tree-vect-slp.c (vect_build_slp_tree): Refactor to build
318         SLP node only if it built successfully.
319         (vect_analyze_slp_instance): Adjust.
321 2016-01-14  Jeff Law  <law@redhat.com>
323         PR tree-optimization/69270
324         * tree-ssa-dom.c (ssa_name_has_boolean_range): New function.
325         (record_edge_info): Use it.  Convert boolean_{true,false}_node
326         to the type of op0.
328 2016-01-13  Jan Hubicka  <hubicka@ucw.cz>
330         PR ipa/66487
331         * ipa-polymorphic-call.c (inlined_polymorphic_ctor_dtor_block_p):
332         use block_ultimate_origin
333         (noncall-stmt_may_be_vtbl_ptr_store): Likewise.
335 2016-01-13  Sandra Loosemore <sandra@codesourcery.com>
337         * doc/invoke.texi (Submodel Options): Rename section to
338         "Machine-Dependent Options" to better reflect its content.
339         Rewrite introductory text to remove archaic CPU names.
340         Update references.
342 2016-01-13  Sandra Loosemore <sandra@codesourcery.com>
344         * doc/invoke.texi (Code Gen Options): Move section up in file,
345         before target-specific options.  Update menu and option summary
346         to reflect the new section ordering.
348 2016-01-13  Jonathan Wakely  <jwakely@redhat.com>
350         * doc/invoke.texi (C Dialect Options): Adjust -std default for C++.
351         (C++ Dialect Options): Add cross-reference to -std option.
352         * doc/standards.texi (C++ Language): Document C++14 support.
354 2016-01-13  Michael Meissner  <meissner@linux.vnet.ibm.com>
356         * config/rs6000/rs6000-builtin.def (BU_FLOAT128_2): Add support
357         for pack/unpack functions for __ibm128.
358         (PACK_IF): Likewise.
359         (UNPACK_IF): Likewise.
361         * config/rs6000/rs6000.c (rs6000_builtin_mask_calculate): Add
362         support for __ibm128 pack/unpack functions.
363         (rs6000_invalid_builtin): Likewise.
364         (rs6000_init_builtins): Likewise.
365         (rs6000_opt_masks): Likewise.
367         * config/rs6000/rs6000.h (MASK_FLOAT128): Add short name.
368         (RS6000_BTM_FLOAT128): Add support for __ibm128 pack/unpack
369         functions
370         (RS6000_BTM_COMMON): Likewise.
372         * config/rs6000/rs6000.md (f128_vsx): New mode attribute.
373         (unpack<mode>): Use FMOVE128_FPR iterator instead of FMOVE128, to
374         disallow __builtin_{pack,unpack}_longdouble if long double is IEEE
375         128-bit floating point.  Add support for the double values to be
376         in Altivec registers for TF/IF packing and unpacking, but restrict
377         TD packing sub-fields to be FPR registers.  Don't allow overlapped
378         register support for packing.  Allow pack inputs to be memory
379         locations.  Don't build generator functions for unpack<mode>_dm
380         and unpack<mode>_nodm.
381         (unpack<mode>_dm): Likewise.
382         (unpack<mode>_nodm): Likewise.
383         (pack<mode>): Likewise.
385         * config/rs6000/rs6000-builtin.def (__builtin_pack_ibm128): Add
386         built-in functions to pack/unpack explicit __ibm128 values.
387         (__builtin_unpack_ibm128): Likewise.
389         * doc/extend.texi (PowerPC Built-in Functions): Document
390         __builtin_pack_ibm128 and __builtin_unpack_ibm128.
392 2016-01-13  Bernd Schmidt  <bschmidt@redhat.com>
394         PR c/66208
395         * c-common.c (check_function_nonnull): Remove unnecessary declaration.
396         Add new arg loc and pass it down as context.
397         (check_nonnull_arg): Don't mark ctx arg as unused. Use it as a pointer
398         to the location to use for the warning.
399         (check_function_arguments): New arg loc.  All callers changed.  Pass
400         it to check_function_nonnull.
401         * c-common.h (check_function_arguments): Adjust declaration.
403 2016-01-13  Jakub Jelinek  <jakub@redhat.com>
405         PR tree-optimization/69156
406         * gimple.c (validate_type): Removed.
407         (gimple_builtin_call_types_compatible_p): Use
408         useless_type_conversion_p instead of validate_type.
409         * value-prof.c (gimple_stringop_fixed_value): Fold
410         icall_size to correct type.
412 2016-01-13  Jonathan Wakely  <jwakely@redhat.com>
414         * doc/extend.texi (__atomic Builtins): Clarify compare_exchange
415         effects.
417 2016-01-13  Richard Henderson  <rth@redhat.com>
419         PR tree-opt/68964
420         * target.def (builtin_tm_load, builtin_tm_store): Remove.
421         * config/i386/i386.c (ix86_builtin_tm_load): Remove.
422         (ix86_builtin_tm_store): Remove.
423         (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
424         (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
425         * doc/tm.texi.in (TARGET_VECTORIZE_BUILTIN_TM_LOAD): Remove.
426         (TARGET_VECTORIZE_BUILTIN_TM_STORE): Remove.
427         * doc/tm.texi: Rebuild.
429         * gtm-builtins.def (BUILT_IN_TM_MEMCPY_RNWT): New.
430         (BUILT_IN_TM_MEMCPY_RTWN): New.
431         * trans-mem.c (tm_log_emit_stmt): Rearrange code for better
432         fallback from vector to integer helpers.
433         (build_tm_load): Handle vector types directly, instead of
434         via target hook.
435         (build_tm_store): Likewise.
436         (expand_assign_tm): Prepare for register types not handled by
437         the above.  Copy them to memory and use memcpy.
438         * tree.c (tm_define_builtin): New.
439         (find_tm_vector_type): New.
440         (build_tm_vector_builtins): New.
441         (build_common_builtin_nodes): Call it.
443 2016-01-13  Uros Bizjak  <ubizjak@gmail.com>
445         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Return -1 for
446         TARGET_SSE_MATH without TARGET_SSE2.  Rewrite.
448 2016-01-13  Tom de Vries  <tom@codesourcery.com>
450         PR tree-optimization/69169
451         * tree-ssa-structalias.c (create_variable_info_for_1): Add and handle
452         handled_struct_type param.
453         (create_variable_info_for, intra_create_variable_infos): Call
454         create_variable_info_for_1 with extra arg.
456 2016-01-13  Yvan Roux  <yvan.roux@linaro.org>
458         * config/arm/arm-arches.def: Remove spurious whitespace in "armv8.1-a"
459         and "armv8.1-a+crc" entries.
461 2016-01-13  Alexander Fomin  <alexander.fomin@intel.com>
463         PR target/69228
464         * config/i386/sse.md (define_expand "avx512pf_gatherpf<mode>sf"):
465         Change first operand predicate from register_or_constm1_operand
466         to register_operand.
467         (define_expand "avx512pf_gatherpf<mode>df"): Likewise.
468         (define_expand "avx512pf_scatterpf<mode>sf"): Likewise.
469         (define_expand "avx512pf_scatterpf<mode>df"): Likewise.
470         (define_insn "*avx512pf_gatherpf<mode>sf"): Remove.
471         (define_insn "*avx512pf_gatherpf<mode>df"): Likewise.
472         (define_insn "*avx512pf_scatterpf<mode>sf"): Likewise.
473         (define_insn "*avx512pf_scatterpf<mode>df"): Likewise.
474         * config/i386/i386.c (ix86_expand_builtin): Remove first operand
475         comparison with constm1_rtx from vec_prefetch_gen part.
477 2016-01-13  Richard Biener  <rguenther@suse.de>
479         PR tree-optimization/69013
480         * tree-ssa-uninit.c (prune_uninit_phi_opnds_in_unrealizable_paths):
481         Exchange assert for a test.
483 2016-01-13  Andreas Krebbel  <krebbel@linux.vnet.ibm.com>
485         PR target/69247
486         * config/s390/s390.md (bswaphi splitter): Use simplify_gen_subreg.
488 2016-01-13  Richard Biener  <rguenther@suse.de>
490         PR tree-optimization/69242
491         * tree-ssa-sccvn.c (visit_reference_op_load): Replace bogus
492         assert with a check.
494 2016-01-13  Richard Biener  <rguenther@suse.de>
496         PR tree-optimization/69186
497         * tree-vect-data-refs.c (vect_enhance_data_refs_alignment):
498         Properly guard vect_update_misalignment_for_peel call.
500 2016-01-12  Jeff Law  <law@redhat.com>
502         PR tree-optimization/pr67755
503         * tree-ssa-threadupdate.c (struct ssa_local_info_t): Add new field
504         "need_profile_correction".
505         (thread_block_1): Initialize new field to false by default.  If we
506         have multiple thread paths through a common joiner to different
507         final targets, then set new field to true.
508         (compute_path_counts): Only do count adjustment when it's really
509         needed.
511 2016-01-12  Sandra Loosemore  <sandra@codesourcery.com>
513         * doc/invoke.texi (Spec Files): Move section down in file, past
514         all command-line option descriptions.
516 2016-01-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
518         PR middle-end/54809
519         * doc/gty.texi: Remove documentation of mark_hook.
520         * gengtype.c (struct write_types_data): Remove code to support
521         mark_hook attribute.
522         (walk_type): Likewise.
523         (write_func_for_structure): Likewise.
525 2016-01-12  Sandra Loosemore  <sandra@codesourcery.com>
527         * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
528         Directory Options, and -specs= to Overall Options.
529         (Overall Options): Adjust similarly.  Reorder to group related
530         options together.  Make -specs= cross-reference the spec file details.
531         (Directory Options): Adjust similarly.
533 2016-01-12  Jeff Law  <law@redhat.com>
535         * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
537 2016-01-12  Olivier Hainque  <hainque@adacore.com>
539         * gcc.c (spec_undefvar_allowed): New global.
540         (process_command): Set to true when running for --version or --help,
541         alone or together.
542         (getenv_spec_function): When the variable is not defined, use the
543         variable name as the variable value if we're allowed not to issue
544         a fatal error.
546 2016-01-12  Bin Cheng  <bin.cheng@arm.com>
548         PR tree-optimization/68911
549         * tree-vrp.c (adjust_range_with_scev): Check overflow in range
550         information computed for expression "init + nit * step".
552 2016-01-12  Sandra Loosemore  <sandra@codesourcery.com>
554         * doc/invoke.texi (Invoking GCC): Copy-edit.  Incorporate information
555         about name of GCC executable.  Remove deleted node from menu.
556         (Directory Options) <-B>: Remove cross-reference to deleted node.
557         (Target Options): Delete section.
559 2016-01-12  Christian Bruel  <christian.bruel@st.com>
561         PR target/69180
562         * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
563         for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
565 2016-01-12  Jakub Jelinek  <jakub@redhat.com>
567         PR target/69198
568         * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
569         aligned_mem is properly set for AVX512-VL floating point masked
570         stores.
572         PR target/69175
573         * ifcvt.c (cond_exec_process_if_block): When removing the last
574         insn from then_bb, remove also any possible barriers that follow it.
576 2016-01-12  H.J. Lu  <hongjiu.lu@intel.com>
578         PR target/68456
579         PR target/69226
580         * config/i386/iamcu.h (SIZE_TYPE): New macro.
581         (PTRDIFF_TYPE): Likewise.
582         (WCHAR_TYPE): Likewise.
583         (WCHAR_TYPE_SIZE): Likewise.
584         (STDINT_LONG32): Likewise.
586 2016-01-12  Richard Biener  <rguenther@suse.de>
588         PR tree-optimization/69053
589         * tree-vect-loop.c (get_initial_def_for_reduction): Properly
590         convert initial value for cond reductions.
592 2016-01-12  Richard Biener  <rguenther@suse.de>
594         PR tree-optimization/69007
595         * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
596         widen_sum after dot_prod and sad.
598 2016-01-12  Richard Biener  <rguenther@suse.de>
600         PR tree-optimization/69168
601         * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
602         pattern stmt SLP type.
603         * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
604         end up unused so cope with that case.
606 2016-01-12  Richard Biener  <rguenther@suse.de>
608         PR tree-optimization/69157
609         * tree-vect-stmts.c (vectorizable_mask_load_store): Check
610         stmts def type only during analyze phase.
611         (vectorizable_call): Likewise.
612         (vectorizable_simd_clone_call): Likewise.
613         (vectorizable_conversion): Likewise.
614         (vectorizable_assignment): Likewise.
615         (vectorizable_shift): Likewise.
616         (vectorizable_operation): Likewise.
617         (vectorizable_store): Likewise.
618         (vectorizable_load): Likewise.
620 2016-01-12  Richard Biener  <rguenther@suse.de>
622         PR tree-optimization/69174
623         * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
624         space.
625         (vectorizable_load): Properly compute the number of loads needed
626         for permuted strided SLP loads and do not spuriously assign
627         to SLP_TREE_VEC_STMTS.
629 2016-01-12  Andris Pavenis  <andris.pavenis@iki.fi>
631         * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
632         (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
633         (MD_EXEC_PREFIX): Remove.
634         (MD_STARTFILE_PREFIX) Removee.
635         (FILE_NAME_ABSOLUTE_P): Remove.
636         (CPP_SPEC): Do not read macros from sys/version.h.
637         (LINK_COMMAND_SPEC): Remove.
638         (LOCAL_INCLUDE_DIR): Remove.
639         (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
640         (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
641         (POST_LINK_SPEC): Define to invoke stubify after linker
642         (LIBSTDCXX): Remove define
643         (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
644         (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
645         (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
646         (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
647         (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
648         (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
649         (i386_djgpp_asm_named_section): Add propotype of new procedure
651         * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
652         (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
653         (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX in config/i386/djgpp.h).
654         (STANDARD_STARTFILE_PREFIX_2): Define identical to STANDARD_STARTFILE_PREFIX_1.
655         (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
656         (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal installation errors.
657         (MAX_OFILE_ALIGNMENT): Define to 128.
658         (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
660         * config/i386/djgpp.c: New file. Add implementation of i386_djgpp_asm_named_section.
662         * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
664         * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
665         Add rule for building djgpp.o.
667 2016-01-11  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
669         * config/rs6000/rs6000.c (v2df_reduction_p): New function.
670         (rtx_is_swappable_p): Reductions are swappable.
671         (insn_is_swappable_p): V2DF reductions are swappable.
673 2016-01-11  John David Anglin  <danglin@gcc.gnu.org>
675         * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
676         reloads for other unsupported memory operands.
678 2016-01-12  Kugan Vivekanandarajah  <kuganv@linaro.org>
679             Jim Wilson  <jim.wilson@linaro.org>
681         PR target/69194
682         * config/arm/arm-builtins.c (arm_expand_neon_args): Call
683         copy_to_mode_reg instead of force_reg.
685 2016-01-11  H.J. Lu  <hongjiu.lu@intel.com>
687         PR target/69225
688         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
689         TARGET_80387 is true.
691 2016-01-11  Jakub Jelinek  <jakub@redhat.com>
693         PR target/69071
694         * lra-eliminations.c (move_plus_up): Only move plus up
695         if subreg of the constant can be simplified into constant
696         and use the simplified subreg of the constant instead of
697         the original constant.
699         * fold-const.c (fold_convertible_p): Don't return true
700         for conversion of VECTOR_TYPE to same sized integral type.
701         (fold_convert_loc): Fix up formatting.  Fold conversion of
702         VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
703         instead of NOP_EXPR.
705         PR tree-optimization/69214
706         * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
707         innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
708         Formatting fix.
710         PR tree-optimization/69207
711         * tree-vect-slp.c (vect_get_constant_vectors): For
712         VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
713         fold_convertible_p to vector_type's element type, and always
714         use VCE for non-VECTOR_BOOLEAN_TYPE_P.
716 2016-01-11  Richard Biener  <rguenther@suse.de>
718         PR tree-optimization/69173
719         * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
720         fixup the cycle if all stmts are in a pattern.
722 2016-01-11  Uros Bizjak  <ubizjak@gmail.com>
724         PR middle-end/68999
725         * alias.c (base_alias_check): Move check for addresses with
726         alignment ANDs before the call for compare_base_decls.
727         (memrefs_conflict_p): Return -1 for different decls
728         that went through alignment adjustments.
730 2016-01-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
732         PR rtl-optimization/68796
733         * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
734         * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
735         and QImode comparisons against zero with CC_NZmode.
736         * config/aarch64/iterators.md (short_mask): New mode_attr.
738 2016-01-11  H.J. Lu  <hongjiu.lu@intel.com>
740         * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
741         (<avx512>_store<mode>_mask): Likewise.
743 2016-01-11  Bernd Schmidt  <bschmidt@redhat.com>
744             Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
746         PR rtl-optimization/68841
747         * ifcvt.c (struct noce_if_info): Add orig_x field.
748         (bbs_ok_for_cmove_arith): Add to_rename parameter.
749         Don't record conflicts on to_rename if it's present.
750         Allow memory destinations in sets.
751         (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
752         blocks, passing orig_x to the checks.
753         (noce_process_if_block): Set if_info->orig_x appropriately.
755 2016-01-11  Tom de Vries  <tom@codesourcery.com>
757         PR tree-optimization/69069
758         * tree-parloops.c (create_parallel_loop): Add missing phi args.
760 2016-01-11  Yuri Rumyantsev  <ysrumyan@gmail.com>
762         PR rtl-optimization/68920
763         * config/i386/i386.c (ix86_option_override_internal): Restrict number
764         of conditional moves for  RTL if-conversion to 1 for
765         TARGET_ONE_IF_CONV_INSN.
766         * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
767         * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
768         * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
769         parameter to restirct number of conditional moves for
770         RTL if-conversion.
771         * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
772         * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
773         conditionl moves.
775 2016-01-11  Alexandre Oliva  <aoliva@redhat.com>
777         PR bootstrap/69123
778         * var-tracking.c (drop_overlapping_mem_locs): Operate on all
779         onepart vars.  Fix typo in comment.  Fix reversed condition in
780         unshare test.
781         (dataflow_set_remove_mem_locs): Operate on all onepart vars.
783         PR bootstrap/69123
784         * var-tracking.c (dump_onepart_variable_differences): New.
785         (dataflow_set_different): If a detailed dump is requested,
786         delay early returns and dump differences between onepart
787         variables present before and after, and added variables.
789 2016-01-11  Ilya Enkovich  <enkovich.gnu@gmail.com>
791         PR target/69010
792         * expr.c (expand_expr_real_1): For boolean vector constants
793         with a scalar mode use const_scalar_mask_from_tree.
794         (const_scalar_mask_from_tree): New.
795         * optabs.c (expand_vec_cond_mask_expr): Use mask mode
796         assigned to a mask type to handle constants.
798 2016-01-11  Martin Jambor  <mjambor@suse.cz>
800         PR ipa/69044
801         * ipa-cp.c (estimate_local_effects): Do not clone for removal of
802         useless parameters if we cannot change function signature.
804 2016-01-11  Martin Jambor  <mjambor@suse.cz>
806         PR ipa/66616
807         * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
808         flag.
810 2016-01-11  Tom de Vries  <tom@codesourcery.com>
812         PR tree-optimization/69109
813         * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
814         latch with phi.
816 2016-01-11  Tom de Vries  <tom@codesourcery.com>
818         PR tree-optimization/69108
819         * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
820         res is not used in a phi.
822 2016-01-11  Yury Gribov  <y.gribov@samsung.com>
824         PR 67425
825         * common.opt (frandom-seed): Fix parameter name.
826         * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
828 2016-01-11  Tom de Vries  <tom@codesourcery.com>
830         PR tree-optimization/69058
831         * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
832         not supported.
834 2016-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
836         * config/arc/arc.opt (mdiv-rem): Add period to the end.
837         (mcode-density): Likewise.
839 2016-01-10  Tom de Vries  <tom@codesourcery.com>
841         PR tree-optimization/69062
842         * tree-parloops.c (loop_has_phi_with_address_arg): New function.
843         (parallelize_loops): Don't paralelize loop that has phi with address
844         arg.
846 2016-01-10  Tom de Vries  <tom@codesourcery.com>
848         PR tree-optimization/69039
849         * tree-parloops.c (try_create_reduction_list): Only allow single exit
850         phi for reduction.
852 2016-01-09  John David Anglin  <danglin@gcc.gnu.org>
854         PR middle-end/68743
855         * match.pd: Require target has function_c99_misc before doing
856         truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
857         
858 2016-01-09  Gerald Pfeifer  <gerald@pfeifer.com>
860         * configure.ac (isl_options_set_schedule_serialize_sccs): Also 
861         use GMPINC.
862         * configure: Regenerate.
864 2016-01-09  Jakub Jelinek  <jakub@redhat.com>
866         PR middle-end/50865
867         PR tree-optimization/69097
868         * fold-const.h (expr_not_equal_to): New prototype.
869         * fold-const.c: Include stringpool.h and tree-ssanames.h.
870         (expr_not_equal_to): New function.
871         * match.pd (X % -Y is the same as X % Y): Don't optimize
872         unless X is known not to be equal to minimum or Y is known
873         not to be equal to -1.
874         * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
875         fold TRUNC_MOD_EXPR if the second argument is not a power of two.
876         (simplify_stmt_using_ranges): Adjust caller.
877         (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
878         substitute_and_fold.
880 2016-01-09  Jan Hubicka  <hubicka@ucw.cz>
882         * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
883         w/o DECL_NAME.
885 2016-01-08  Jakub Jelinek  <jakub@redhat.com>
887         PR tree-optimization/69167
888         * gimple-fold.c (replace_stmt_with_simplification): Also punt if
889         new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
890         ops[0] comparison.
891         * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
893 2016-01-08  Alan Lawrence  <alan.lawrence@arm.com>
894             Richard Biener  <rguenther@suse.de>
896         PR tree-optimization/68707
897         * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
898         instances that can be handled via vect_load_lanes.
900 2016-01-08  Uros Bizjak  <ubizjak@gmail.com>
902         * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
903         if we can't determine address equivalence.
904         * alias.c (compare_base_decl): Update for changed return value of
905         symtab_node::equal_address_to.
907 2016-01-08  Jason Merrill  <jason@redhat.com>
909         PR c++/68983
910         PR c++/67557
911         * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
912         * expr.c (store_field): Not here.
913         * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
914         call with TREE_ADDRESSABLE type.
915         * tree-cfg.c (verify_gimple_call): Adjust.
917 2016-01-08  Olivier Hainque  <hainque@adacore.com>
919         * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
920         libc_internal.
922 2016-01-08  Alan Lawrence  <alan.lawrence@arm.com>
924         * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
925         (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
926         (reduc_smin_v2sf): Rename to...
927         (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
928         (reduc_splus_v2sf): Rename to...
929         (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
931 2016-01-08  Jakub Jelinek  <jakub@redhat.com>
933         PR tree-optimization/69162
934         * gimplify.c (gimplify_va_arg_expr): Encode original type of
935         valist argument in another argument.
936         (gimplify_modify_expr): Adjust for the above change.  Cleanup.
937         * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
938         to determine the va_list type, build a MEM_REF instead of
939         build_fold_indirect_ref.
941         PR tree-optimization/69172
942         * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
943         gimple_build.
945 2016-01-08  Thomas Preud'homme  <thomas.preudhomme@arm.com>
947         PR tree-optimization/67781
948         * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
949         and cmpnop in two steps: first the ones not accessed in original
950         gimple expression in a endian independent way and then the ones not
951         accessed in the final result in an endian-specific way.
953 2016-01-08  Jakub Jelinek  <jakub@redhat.com>
955         PR tree-optimization/69083
956         * tree-vect-slp.c (vect_get_constant_vectors): For
957         VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
958         element type.  If op is fold_convertible_p to vector_type's element
959         type, use NOP_EXPR instead of VCE.
961 2016-01-08  Segher Boessenkool  <segher@kernel.crashing.org>
963         PR rtl-optimization/67778
964         PR rtl-optimization/68634
965         PR rtl-optimization/68909
966         * shrink-wrap.c (try_shrink_wrapping): Add comment.  Don't pop
967         block from the stack until done with it.  Remove a superfluous
968         bitmap set.  Remove a superfluous bitmap test.
970 2016-01-07  Martin Sebor  <msebor@redhat.com>
972         PR c/68966
973         * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
974         constraint on the type of arguments.
976 2016-01-07  Andreas Tobler  <andreast@gcc.gnu.org>
978         * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
979         SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
980         unaligned_access on the gcc_options set.
981         * config/arm/arm.c (arm_option_override_internal): Use
982         SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
984 2016-01-07  Uros Bizjak  <ubizjak@gmail.com>
986         PR target/69140
987         * config/i386/i386.c (ix86_frame_pointer_required): Enable
988         frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
990 2016-01-07  Uros Bizjak  <ubizjak@gmail.com>
992         Revert
993         2016-01-06  Uros Bizjak  <ubizjak@gmail.com>
995         PR target/69140
996         * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
997         depending on frame_pointer_needed before remaining integer and SSE
998         registers are saved.
1000 2016-01-07  Sandra Loosemore  <sandra@codesourcery.com>
1002         PR 1078
1003         * doc/extend.texi (Nvidia PDX Function Attributes): New section.
1005 2016-01-07  H.J. Lu  <hongjiu.lu@intel.com>
1007         PR target/69171
1008         * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
1009         Use the "xBm" constraint.
1010         (float<sseintvecmodelower><mode>2<mask_name><round_name):
1011         Likewise.
1012         (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
1013         (sse_cvtsi2ssq<round_name>): Likewise.
1014         (sse_cvtss2si<round_name>): Likewise.
1015         (sse_cvtss2siq<round_name>): Likewise.
1016         (sse2_cvtsi2sdq<round_name>): Likewise.
1017         (sse2_cvtsd2si<round_name>): Likewise.
1018         (sse2_cvtsd2siq<round_name>): Likewise.
1019         * config/i386/subst.md (round_nimm_scalar_predicate): New
1020         predicate.
1022 2015-12-15  Bernd Schmidt  <bschmidt@redhat.com>
1024         PR middle-end/67639
1025         * varasm.c (make_decl_rtl): Mark invalid register vars as
1026         DECL_EXTERNAL.
1028         PR rtl-optimization/66206
1029         * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
1030         All callers changed.
1032 2016-01-07  Jakub Jelinek  <jakub@redhat.com>
1034         PR tree-optimization/69141
1035         * tree-ssa-pre.c: Include langhooks.h.
1036         (eliminate_dom_walker::before_dom_children): Use
1037         lang_hooks.decl_printable_name instead of
1038         cgraph_node::get ()->name ().
1040         PR middle-end/68960
1041         * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
1042         it and DECL_ALIGN too.
1044 2016-01-06  Robert Suchanek  <robert.suchanek@imgtec.com>
1046         * config/mips/mips-ftypes.def: Sort to lexicographical order.
1048 2016-01-06  Uros Bizjak  <ubizjak@gmail.com>
1050         PR target/69140
1051         * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
1052         depending on frame_pointer_needed before remaining integer and SSE
1053         registers are saved.
1055 2015-01-06  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1057         * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
1058         mode iterator with VSX_M2.
1059         (*p9_vecstore_<mode>): Likewise.
1060         (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
1061         (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
1062         (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
1063         (define_split for VSX_LE128 stores): Likewise.
1064         (define_peephole2 for TImode LE swaps): Likewise.
1065         (define_split for VSX_LE128 post-reload stores): Likewise.
1067 2016-01-06  Marek Polacek  <polacek@redhat.com>
1069         PR sanitizer/69099
1070         * convert.c (convert_to_integer_1): Adjust call to
1071         ubsan_instrument_float_cast.  Use NULL_TREE instead of NULL.
1072         * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter.  Use
1073         EXPR instead of ARG.
1074         * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
1076 2016-01-05  Sandra Loosemore  <sandra@codesourcery.com>
1078         PR 1078
1079         * doc/extend.texi (RL78 Variable Attributes): New section.
1081 2016-01-05  Marek Polacek  <polacek@redhat.com>
1083         PR c/69104
1084         * builtins.c (get_memmodel): Use expansion point location rather than
1085         the input location.  Call warning_at rather than warning.
1086         (expand_builtin_atomic_compare_exchange): Likewise.
1087         (expand_builtin_atomic_load): Likewise.
1088         (expand_builtin_atomic_store): Likewise.
1089         (expand_builtin_atomic_clear): Likewise.
1091 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1093         PR target/68991
1094         * config/i386/i386.c (ix86_expand_vector_logical_operator):
1095         Replace nonimmediate_operand with vector_operand.
1096         * config/i386/predicates.md (vector_operand): New predicate.
1097         (general_vector_operand): Replace nonimmediate_operand with
1098         vector_operand.
1099         * config/i386/sse.md: Replace nonimmediate_operand with
1100         vector_operand and m constraint with Bm constraint on SSE
1101         patterns with 16-byte memory operand.
1102         * config/i386/subst.md (round_nimm_predicate): Replace
1103         nonimmediate_operand with vector_operand.
1104         (round_saeonly_nimm_predicate): Likewise.
1105         (round_saeonly_nimm_scalar_predicate): New.
1107 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
1109         PR target/68991
1110         * config/i386/constraints.md (Bm): New constraint.
1111         * config/i386/predicates.md (vector_memory_operand): New
1112         predicate.
1113         * config/i386/sse.md: Replace xm with xBm in plusminus and
1114         any_logic patterns.
1116 2016-01-05  Sandra Loosemore  <sandra@codesourcery.com>
1118         PR 1078
1119         * doc/extend.texi (V850 Function Attributes): New section.
1120         (V850 Variable Attributes): New section.
1122 2016-01-05  Sandra Loosemore  <sandra@codesourcery.com>
1124         PR 1078
1125         * doc/extend.texi (MicroBlaze Function Attributes): Document
1126         interrupt_handler and fast_interrupt attributes.
1128 2016-01-05  Sergei Trofimovich  <siarheit@google.com>
1130         PR other/60465
1131         * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
1132         for local symbolic operands.
1133         * config/ia64/predicates.md (local_symbolic_operand64): New
1134         predicate.
1136 2016-01-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1138         PR rtl-optimization/68651
1139         * combine.c (combine_simplify_rtx): Canonicalize x + x into
1140         x << 1.
1142 2016-01-05  Nathan Sidwell  <nathan@acm.org>
1144         * alias.c (compare_base_decls): Use symtab_node::get.
1146 2016-01-05  Nick Clifton  <nickc@redhat.com>
1148         PR target/68770
1149         * ira-costs.c (copy_cost): Initialise the t_icode field of the
1150         secondary_reload_info structure.
1152         PR target/66655
1153         * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
1154         decls if weak support is available.
1156 2016-01-04  Martin Sebor  <msebor@redhat.com>
1158         * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
1160 2016-01-04  Michael Meissner  <meissner@linux.vnet.ibm.com>
1162         * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
1163         OPTION_MASK_P9_DFORM.
1165         * config/rs6000/constraints.md (wo constraint): New constraint for
1166         ISA 3.0 (power9).
1168         * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
1169         for wo constraint.
1170         (rs6000_init_hard_regno_mode_ok): Likewise.
1172         * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
1173         wo constraint.
1175         * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
1176         expanders not to have constraints.  Add support for ISA 3.0 xxperm
1177         instruction.  Add support for fusing xxlor with xxperm.
1178         (altivec_vperm_<mode>_internal): Likewise.
1179         (altivec_vperm_v8hiv16qi): Likewise.
1180         (altivec_vperm_<mode>v16q): Likewise.
1181         (altivec_vperm_<mode>_uns): Likewise.
1182         (vperm_v8hiv4si): Likewise.
1183         (vperm_v16qiv8hi): Likewise.
1185         * doc/md.texi (RS/6000 constraints): Document wo constraint.
1187 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
1189         Update copyright years.
1191         * gcc.c (process_command): Update copyright notice dates.
1192         * gcov-dump.c (print_version): Ditto.
1193         * gcov.c (print_version): Ditto.
1194         * gcov-tool.c (print_version): Ditto.
1195         * gengtype.c (create_file): Ditto.
1196         * doc/cpp.texi: Bump @copying's copyright year.
1197         * doc/cppinternals.texi: Ditto.
1198         * doc/gcc.texi: Ditto.
1199         * doc/gccint.texi: Ditto.
1200         * doc/gcov.texi: Ditto.
1201         * doc/install.texi: Ditto.
1202         * doc/invoke.texi: Ditto.
1204 2016-01-04  Eric Botcazou  <ebotcazou@adacore.com>
1206         * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
1207         modes larger than TImode as TImode if NEON is not enabled.
1209 2016-01-04  Eric Botcazou  <ebotcazou@adacore.com>
1211         PR target/69100
1212         * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
1213         mode for %f0-%f31 only if TARGET_FPU.
1215 2016-01-04  Eric Botcazou  <ebotcazou@adacore.com>
1217         PR target/69072
1218         * config/sparc/sparc.c (scan_record_type): Take into account subfields
1219         to compute the PACKED_P predicate.
1220         (function_arg_record_value): Minor tweaks.
1222 2016-01-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
1224         * doc/install.texi (--with-multilib-list): Describe the meaning of the
1225         option for arm*-*-* targets.
1227 2016-01-03  Sandra Loosemore  <sandra@codesourcery.com>
1229         * doc/extend.texi (Common Function Attributes): Move docs for
1230         MSP430-specific attributes to....
1231         (MSP430 Function Attributes): ...here.  Delete the redundant
1232         entries and copy-edit the remaining text.
1233         (MSP430 Variable Attributes): Use uniform format for index
1234         entries and add a cross-reference to the corresponding function
1235         attribute docs.
1237 2016-01-03  Vladimír Čunát  <vcunat@gmail.com>
1239         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
1240         -finite-math typo.
1241         (x86 Options): Likewise.
1243 2016-01-01  Sandra Loosemore  <sandra@codesourcery.com>
1245         PR 1078
1247         * extend.texi (Common Function Attributes) <no_stack_limit>: New.
1248         * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
1249         to corresponding attribute.
1251 2016-01-01  Sandra Loosemore  <sandra@codesourcery.com>
1253         * doc/extend.texi (Common Function Attributes) <noplt>: Move
1254         to correct alphabetization of table.  Copy-edit and correct
1255         markup.
1256         <stack_protect>: Likewise.
1257         <target_clones>: Likewise.
1258         <simd>: Likewise.
1259         * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
1260         Correct punctuation.
1261         (Code Gen Options) <-fno-plt>: Copy-edit.
1263 2016-01-01  Bernd Edlinger  <bernd.edlinger@hotmail.de>
1265         PR target/68917
1266         * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
1267         SI values.  Explicitly convert SI to DI and vice-versa.
1269 2016-01-01  Jakub Jelinek  <jakub@redhat.com>
1271         PR tree-optimization/69070
1272         * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
1273         REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
1275         PR sanitizer/69055
1276         * ubsan.c (ubsan_instrument_float_cast): Call
1277         initialize_sanitizer_builtins.
1279         PR target/69015
1280         * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
1282 Copyright (C) 2016 Free Software Foundation, Inc.
1284 Copying and distribution of this file, with or without modification,
1285 are permitted in any medium without royalty provided the copyright
1286 notice and this notice are preserved.