2016-01-12 Sandra Loosemore <sandra@codesourcery.com>
[official-gcc.git] / gcc / ChangeLog
blob6423a37489c813f17fdbd957496d2cb00c470ce2
1 2016-01-12  Sandra Loosemore <sandra@codesourcery.com>
3         * doc/invoke.texi (Spec Files): Move section down in file, past
4         all command-line option descriptions.
6 2016-01-12  Trevor Saunders  <tbsaunde+gcc@tbsaunde.org>
8         PR middle-end/54809
9         * doc/gty.texi: Remove documentation of mark_hook.
10         * gengtype.c (struct write_types_data): Remove code to support
11         mark_hook attribute.
12         (walk_type): Likewise.
13         (write_func_for_structure): Likewise.
15 2016-01-12  Sandra Loosemore <sandra@codesourcery.com>
17         * doc/invoke.texi (Option Summary) Move -no-canonical-prefixes to
18         Directory Options, and -specs= to Overall Options.
19         (Overall Options): Adjust similarly.  Reorder to group related
20         options together.  Make -specs= cross-reference the spec file details.
21         (Directory Options): Adjust similarly.
23 2016-01-12  Jeff Law  <law@redhat.com>
25         * tree-ssa-threadupdate.c: Various whitespace and typo fixes.
27 2016-01-12  Olivier Hainque  <hainque@adacore.com>
29         * gcc.c (spec_undefvar_allowed): New global.
30         (process_command): Set to true when running for --version or --help,
31         alone or together.
32         (getenv_spec_function): When the variable is not defined, use the
33         variable name as the variable value if we're allowed not to issue
34         a fatal error.
36 2016-01-12  Bin Cheng  <bin.cheng@arm.com>
38         PR tree-optimization/68911
39         * tree-vrp.c (adjust_range_with_scev): Check overflow in range
40         information computed for expression "init + nit * step".
42 2016-01-12  Sandra Loosemore <sandra@codesourcery.com>
44         * doc/invoke.texi (Invoking GCC): Copy-edit.  Incorporate information
45         about name of GCC executable.  Remove deleted node from menu.
46         (Directory Options) <-B>: Remove cross-reference to deleted node.
47         (Target Options): Delete section.
49 2016-01-12  Christian Bruel  <christian.bruel@st.com>
51         PR target/69180
52         * config/arm/arm-c.c (arm_pragma_target_parse): Set NODE_CONDITIONAL
53         for __ARM_NEON_FP, __ARM_FP, _ARM_FEATURE_LDREX.
55 2016-01-12  Jakub Jelinek  <jakub@redhat.com>
57         PR target/69198
58         * config/i386/i386.c (ix86_expand_special_args_builtin): Ensure
59         aligned_mem is properly set for AVX512-VL floating point masked
60         stores.
62         PR target/69175
63         * ifcvt.c (cond_exec_process_if_block): When removing the last
64         insn from then_bb, remove also any possible barriers that follow it.
66 2016-01-12  H.J. Lu  <hongjiu.lu@intel.com>
68         PR target/68456
69         PR target/69226
70         * config/i386/iamcu.h (SIZE_TYPE): New macro.
71         (PTRDIFF_TYPE): Likewise.
72         (WCHAR_TYPE): Likewise.
73         (WCHAR_TYPE_SIZE): Likewise.
74         (STDINT_LONG32): Likewise.
76 2016-01-12  Richard Biener  <rguenther@suse.de>
78         PR tree-optimization/69053
79         * tree-vect-loop.c (get_initial_def_for_reduction): Properly
80         convert initial value for cond reductions.
82 2016-01-12  Richard Biener  <rguenther@suse.de>
84         PR tree-optimization/69007
85         * tree-vect-patterns.c (vect_vect_recog_func_ptrs): Move
86         widen_sum after dot_prod and sad.
88 2016-01-12  Richard Biener  <rguenther@suse.de>
90         PR tree-optimization/69168
91         * tree-vect-loop.c (vect_analyze_loop_2): Reset both main and
92         pattern stmt SLP type.
93         * tree-vect-slp.c (vect_detect_hybrid_slp_stmts): Patterns may
94         end up unused so cope with that case.
96 2016-01-12  Richard Biener  <rguenther@suse.de>
98         PR tree-optimization/69157
99         * tree-vect-stmts.c (vectorizable_mask_load_store): Check
100         stmts def type only during analyze phase.
101         (vectorizable_call): Likewise.
102         (vectorizable_simd_clone_call): Likewise.
103         (vectorizable_conversion): Likewise.
104         (vectorizable_assignment): Likewise.
105         (vectorizable_shift): Likewise.
106         (vectorizable_operation): Likewise.
107         (vectorizable_store): Likewise.
108         (vectorizable_load): Likewise.
110 2016-01-12  Richard Biener  <rguenther@suse.de>
112         PR tree-optimization/69174
113         * tree-vect-stmts.c (vect_mark_relevant): Remove excessive vertical
114         space.
115         (vectorizable_load): Properly compute the number of loads needed
116         for permuted strided SLP loads and do not spuriously assign
117         to SLP_TREE_VEC_STMTS.
119 2016-01-12  Andris Pavenis <andris.pavenis@iki.fi>
121         * config/i386/djgpp.h (PREFERRED_DEBUGGING_TYPE): Define to DWARF2
122         (TARGET_ASM_OUTPUT_IDENT): Define to default_asm_output_ident_directive
123         (MD_EXEC_PREFIX): Remove.
124         (MD_STARTFILE_PREFIX) Removee.
125         (FILE_NAME_ABSOLUTE_P): Remove.
126         (CPP_SPEC): Do not read macros from sys/version.h.
127         (LINK_COMMAND_SPEC): Remove.
128         (LOCAL_INCLUDE_DIR): Remove.
129         (TARGET_ASM_NAMED_SECTION): Define to i386_djgpp_asm_named_section
130         (TARGET_OS_CPP_BUILTINS): Add DJGPP (non ISO only), __DJGPP, __DJGPP__, unix.
131         (POST_LINK_SPEC): Define to invoke stubify after linker
132         (LIBSTDCXX): Remove define
133         (DBX_REGISTER_NUMBER): Define to svr4_dbx_register_map.
134         (DEFAULT_PCC_STRUCT_RETURN): Define to 1.
135         (SUBTARGET_OVERRIDE_OPTIONS): Remove warning about -mbnu2210.
136         (SUBTARGET_OVERRIDE_OPTIONS): Ignore -fPIC and generate message.
137         (SUBTARGET_OVERRIDE_OPTIONS): Default to DWARF2 debugging info.
138         (IX86_MAYBE_NO_LIBGCC_TFMODE): Remove.
139         (i386_djgpp_asm_named_section): Add propotype of new procedure
141         * config/i386/xm-djgpp.h (NATIVE_SYSTEM_HEADER_DIR): Define.
142         (MD_EXEC_PREFIX): Define (moved from config/i386/djgpp.h).
143         (STANDARD_STARTFILE_PREFIX_1): Define (moved from MD_STARTFILE_PREFIX in config/i386/djgpp.h).
144         (STANDARD_STARTFILE_PREFIX_2): Define identical to STANDARD_STARTFILE_PREFIX_1.
145         (LOCAL_INCLUDE_DIR): Define (moved from config/i386/djgpp.h).
146         (GCC_DRIVER_HOST_INITIALIZATION): Fix reporting fatal installation errors.
147         (MAX_OFILE_ALIGNMENT): Define to 128.
148         (HAVE_FTW_H): Undefine as DJGPP do not have nftw, but have ftw.h.
150         * config/i386/djgpp.c: New file. Add implementation of i386_djgpp_asm_named_section.
152         * config/i386/djgpp.opt: Remove obsolete option -mbnu210.
154         * config/i386/t-djgpp: New file. Add djgpp.o to EXTRA_OBJS.
155         Add rule for building djgpp.o.
157 2016-01-11  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
159         * config/rs6000/rs6000.c (v2df_reduction_p): New function.
160         (rtx_is_swappable_p): Reductions are swappable.
161         (insn_is_swappable_p): V2DF reductions are swappable.
163 2016-01-11  John David Anglin  <danglin@gcc.gnu.org>
165         * config/pa/pa.c (pa_emit_move_sequence): Handle floating point
166         reloads for other unsupported memory operands.
168 2016-01-12  Kugan Vivekanandarajah  <kuganv@linaro.org>
169             Jim Wilson  <jim.wilson@linaro.org>
171         PR target/69194
172         * config/arm/arm-builtins.c (arm_expand_neon_args): Call
173         copy_to_mode_reg instead of force_reg.
175 2016-01-11  H.J. Lu  <hongjiu.lu@intel.com>
177         PR target/69225
178         * config/i386/i386.h (TARGET_FLT_EVAL_METHOD): Set to 2 only if
179         TARGET_80387 is true.
181 2016-01-11  Jakub Jelinek  <jakub@redhat.com>
183         PR target/69071
184         * lra-eliminations.c (move_plus_up): Only move plus up
185         if subreg of the constant can be simplified into constant
186         and use the simplified subreg of the constant instead of
187         the original constant.
189         * fold-const.c (fold_convertible_p): Don't return true
190         for conversion of VECTOR_TYPE to same sized integral type.
191         (fold_convert_loc): Fix up formatting.  Fold conversion of
192         VECTOR_TYPE to same sized integral type using VIEW_CONVERT_EXPR
193         instead of NOP_EXPR.
195         PR tree-optimization/69214
196         * tree-vrp.c (simplify_cond_using_ranges): Don't propagate
197         innerop into a comparison if SSA_NAME_OCCURS_IN_ABNORMAL_PHI.
198         Formatting fix.
200         PR tree-optimization/69207
201         * tree-vect-slp.c (vect_get_constant_vectors): For
202         VECTOR_BOOLEAN_TYPE_P, assert op has integral type instead of
203         fold_convertible_p to vector_type's element type, and always
204         use VCE for non-VECTOR_BOOLEAN_TYPE_P.
206 2016-01-11  Richard Biener  <rguenther@suse.de>
208         PR tree-optimization/69173
209         * tree-vect-loop.c (vect_fixup_scalar_cycles_with_patterns): Only
210         fixup the cycle if all stmts are in a pattern.
212 2016-01-11  Uros Bizjak  <ubizjak@gmail.com>
214         PR middle-end/68999
215         * alias.c (base_alias_check): Move check for addresses with
216         alignment ANDs before the call for compare_base_decls.
217         (memrefs_conflict_p): Return -1 for different decls
218         that went through alignment adjustments.
220 2016-01-11  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
222         PR rtl-optimization/68796
223         * config/aarch64/aarch64.md (*and<mode>_compare0): New pattern.
224         * config/aarch64/aarch64.c (aarch64_select_cc_mode): Handle HImode
225         and QImode comparisons against zero with CC_NZmode.
226         * config/aarch64/iterators.md (short_mask): New mode_attr.
228 2016-01-11  H.J. Lu  <hongjiu.lu@intel.com>
230         * config/i386/sse.md (<avx512>_load<mode>_mask): Remove snprintf.
231         (<avx512>_store<mode>_mask): Likewise.
233 2016-01-11  Bernd Schmidt  <bschmidt@redhat.com>
234             Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
236         PR rtl-optimization/68841
237         * ifcvt.c (struct noce_if_info): Add orig_x field.
238         (bbs_ok_for_cmove_arith): Add to_rename parameter.
239         Don't record conflicts on to_rename if it's present.
240         Allow memory destinations in sets.
241         (noce_try_cmove_arith): Call bbs_ok_for_cmove_arith even on simple
242         blocks, passing orig_x to the checks.
243         (noce_process_if_block): Set if_info->orig_x appropriately.
245 2016-01-11  Tom de Vries  <tom@codesourcery.com>
247         PR tree-optimization/69069
248         * tree-parloops.c (create_parallel_loop): Add missing phi args.
250 2016-01-11  Yuri Rumyantsev  <ysrumyan@gmail.com>
252         PR rtl-optimization/68920
253         * config/i386/i386.c (ix86_option_override_internal): Restrict number
254         of conditional moves for  RTL if-conversion to 1 for
255         TARGET_ONE_IF_CONV_INSN.
256         * config/i386/i386.h (TARGET_ONE_IF_CONV_INSN): New macros.
257         * config/i386/x86-tune.def (X86_TUNE_ONE_IF_CONV_INSN): New macros.
258         * params.def (PARAM_MAX_RTL_IF_CONVERSION_INSNS) : Introduce new
259         parameter to restirct number of conditional moves for
260         RTL if-conversion.
261         * doc/invoke.texi (max-rtl-if-conversion-insns): Document it.
262         * ifcvt.c (bb_ok_for_noce_convert_multiple_sets): Limit number of
263         conditionl moves.
265 2016-01-11  Alexandre Oliva <aoliva@redhat.com>
267         PR bootstrap/69123
268         * var-tracking.c (drop_overlapping_mem_locs): Operate on all
269         onepart vars.  Fix typo in comment.  Fix reversed condition in
270         unshare test.
271         (dataflow_set_remove_mem_locs): Operate on all onepart vars.
273         PR bootstrap/69123
274         * var-tracking.c (dump_onepart_variable_differences): New.
275         (dataflow_set_different): If a detailed dump is requested,
276         delay early returns and dump differences between onepart
277         variables present before and after, and added variables.
279 2016-01-11  Ilya Enkovich  <enkovich.gnu@gmail.com>
281         PR target/69010
282         * expr.c (expand_expr_real_1): For boolean vector constants
283         with a scalar mode use const_scalar_mask_from_tree.
284         (const_scalar_mask_from_tree): New.
285         * optabs.c (expand_vec_cond_mask_expr): Use mask mode
286         assigned to a mask type to handle constants.
288 2016-01-11  Martin Jambor  <mjambor@suse.cz>
290         PR ipa/69044
291         * ipa-cp.c (estimate_local_effects): Do not clone for removal of
292         useless parameters if we cannot change function signature.
294 2016-01-11  Martin Jambor  <mjambor@suse.cz>
296         PR ipa/66616
297         * cgraphclones.c (duplicate_thunk_for_node): Copy can_change_signature
298         flag.
300 2016-01-11  Tom de Vries  <tom@codesourcery.com>
302         PR tree-optimization/69109
303         * tree-parloops.c (try_transform_to_exit_first_loop_alt): Don't allow
304         latch with phi.
306 2016-01-11  Tom de Vries  <tom@codesourcery.com>
308         PR tree-optimization/69108
309         * tree-parloops.c (gather_scalar_reductions): Handle case that outer phi
310         res is not used in a phi.
312 2016-01-11  Yury Gribov  <y.gribov@samsung.com>
314         PR 67425
315         * common.opt (frandom-seed): Fix parameter name.
316         * doc/invoke.texi (frandom-seed): Ditto and describe parameter.
318 2016-01-11  Tom de Vries  <tom@codesourcery.com>
320         PR tree-optimization/69058
321         * tree-parloops.c (pass_parallelize_loops::execute): Return 0 if libgomp
322         not supported.
324 2016-01-11  Andrew Burgess  <andrew.burgess@embecosm.com>
326         * config/arc/arc.opt (mdiv-rem): Add period to the end.
327         (mcode-density): Likewise.
329 2016-01-10  Tom de Vries  <tom@codesourcery.com>
331         PR tree-optimization/69062
332         * tree-parloops.c (loop_has_phi_with_address_arg): New function.
333         (parallelize_loops): Don't paralelize loop that has phi with address
334         arg.
336 2016-01-10  Tom de Vries  <tom@codesourcery.com>
338         PR tree-optimization/69039
339         * tree-parloops.c (try_create_reduction_list): Only allow single exit
340         phi for reduction.
342 2016-01-09  John David Anglin  <danglin@gcc.gnu.org>
344         PR middle-end/68743
345         * match.pd: Require target has function_c99_misc before doing
346         truncl(extend(x)) and trunc(extend(x)) -> extend(truncf(x)), etc.
347         
348 2016-01-09  Gerald Pfeifer  <gerald@pfeifer.com>
350         * configure.ac (isl_options_set_schedule_serialize_sccs): Also 
351         use GMPINC.
352         * configure: Regenerate.
354 2016-01-09  Jakub Jelinek  <jakub@redhat.com>
356         PR middle-end/50865
357         PR tree-optimization/69097
358         * fold-const.h (expr_not_equal_to): New prototype.
359         * fold-const.c: Include stringpool.h and tree-ssanames.h.
360         (expr_not_equal_to): New function.
361         * match.pd (X % -Y is the same as X % Y): Don't optimize
362         unless X is known not to be equal to minimum or Y is known
363         not to be equal to -1.
364         * tree-vrp.c (simplify_div_or_mod_using_ranges): Add GSI argument.
365         fold TRUNC_MOD_EXPR if the second argument is not a power of two.
366         (simplify_stmt_using_ranges): Adjust caller.
367         (vrp_finalize): Call set_value_range on SSA_NAMEs before calling
368         substitute_and_fold.
370 2016-01-09  Jan Hubicka  <hubicka@ucw.cz>
372         * ipa-icf.c (sem_item_optimizer::merge_classes): Do not ICE on VAR_DECL
373         w/o DECL_NAME.
375 2016-01-08  Jakub Jelinek  <jakub@redhat.com>
377         PR tree-optimization/69167
378         * gimple-fold.c (replace_stmt_with_simplification): Also punt if
379         new SSA_NAME_OCCURS_IN_ABNORMAL_PHI SSA_NAMEs appear in operands of
380         ops[0] comparison.
381         * gimple-match-head.c (maybe_push_res_to_seq): Likewise.
383 2016-01-08  Alan Lawrence  <alan.lawrence@arm.com>
384             Richard Biener  <rguenther@suse.de>
386         PR tree-optimization/68707
387         * tree-vect-slp.c (vect_analyze_slp_instance): Cancel permuted SLP
388         instances that can be handled via vect_load_lanes.
390 2016-01-08  Uros Bizjak  <ubizjak@gmail.com>
392         * symtab.c (symtab_node::equal_address_to): Return -1 instead of 2
393         if we can't determine address equivalence.
394         * alias.c (compare_base_decl): Update for changed return value of
395         symtab_node::equal_address_to.
397 2016-01-08  Jason Merrill  <jason@redhat.com>
399         PR c++/68983
400         PR c++/67557
401         * function.c (assign_temp): Guard against TREE_ADDRESSABLE types here.
402         * expr.c (store_field): Not here.
403         * tree-cfgcleanup.c (fixup_noreturn_call): Don't clear LHS of a
404         call with TREE_ADDRESSABLE type.
405         * tree-cfg.c (verify_gimple_call): Adjust.
407 2016-01-08  Olivier Hainque  <hainque@adacore.com>
409         * config/vxworks.h (VXWORKS_LIBGCC_SPEC): Don't link shared RTPs with
410         libc_internal.
412 2016-01-08  Alan Lawrence  <alan.lawrence@arm.com>
414         * gcc.target/rs6000/paired.md (reduc_smax_v2sf): Rename to...
415         (reduc_smax_scal_v2sf): ...here, make result SFmode, extract element.
416         (reduc_smin_v2sf): Rename to...
417         (reduc_smin_scal_v2sf): ...here, make result SFmode, extract element.
418         (reduc_splus_v2sf): Rename to...
419         (reduc_plus_scal_v2sf): ...here, make result SFmode, extract element.
421 2016-01-08  Jakub Jelinek  <jakub@redhat.com>
423         PR tree-optimization/69162
424         * gimplify.c (gimplify_va_arg_expr): Encode original type of
425         valist argument in another argument.
426         (gimplify_modify_expr): Adjust for the above change.  Cleanup.
427         * tree-stdarg.c (expand_ifn_va_arg_1): Use new 3rd argument
428         to determine the va_list type, build a MEM_REF instead of
429         build_fold_indirect_ref.
431         PR tree-optimization/69172
432         * gimple-fold.c (gimple_fold_builtin_memory_chk): Pass type to
433         gimple_build.
435 2016-01-08  Thomas Preud'homme  <thomas.preudhomme@arm.com>
437         PR tree-optimization/67781
438         * tree-ssa-math-opts.c (find_bswap_or_nop): Zero out bytes in cmpxchg
439         and cmpnop in two steps: first the ones not accessed in original
440         gimple expression in a endian independent way and then the ones not
441         accessed in the final result in an endian-specific way.
443 2016-01-08  Jakub Jelinek  <jakub@redhat.com>
445         PR tree-optimization/69083
446         * tree-vect-slp.c (vect_get_constant_vectors): For
447         VECTOR_BOOLEAN_TYPE_P assert op is fold_convertible_p to vector_type's
448         element type.  If op is fold_convertible_p to vector_type's element
449         type, use NOP_EXPR instead of VCE.
451 2016-01-08  Segher Boessenkool  <segher@kernel.crashing.org>
453         PR rtl-optimization/67778
454         PR rtl-optimization/68634
455         PR rtl-optimization/68909
456         * shrink-wrap.c (try_shrink_wrapping): Add comment.  Don't pop
457         block from the stack until done with it.  Remove a superfluous
458         bitmap set.  Remove a superfluous bitmap test.
460 2016-01-07  Martin Sebor  <msebor@redhat.com>
462         PR c/68966
463         * doc/extend.texi (__atomic Builtins, __sync Builtins): Document
464         constraint on the type of arguments.
466 2016-01-07  Andreas Tobler  <andreast@gcc.gnu.org>
468         * config/arm/freebsd.h: Rename SUBTARGET_OVERRIDE_OPTIONS to
469         SUBTARGET_OVERRIDE_INTERNAL_OPTIONS. Adjust to check
470         unaligned_access on the gcc_options set.
471         * config/arm/arm.c (arm_option_override_internal): Use
472         SUBTARGET_OVERRIDE_INTERNAL_OPTIONS.
474 2016-01-07  Uros Bizjak  <ubizjak@gmail.com>
476         PR target/69140
477         * config/i386/i386.c (ix86_frame_pointer_required): Enable
478         frame pointer for TARGET_64BIT_MS_ABI when stack is misaligned.
480 2016-01-07  Uros Bizjak  <ubizjak@gmail.com>
482         Revert
483         2016-01-06  Uros Bizjak  <ubizjak@gmail.com>
485         PR target/69140
486         * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
487         depending on frame_pointer_needed before remaining integer and SSE
488         registers are saved.
490 2016-01-07  Sandra Loosemore <sandra@codesourcery.com>
492         PR 1078
493         * doc/extend.texi (Nvidia PDX Function Attributes): New section.
495 2016-01-07  H.J. Lu  <hongjiu.lu@intel.com>
497         PR target/69171
498         * config/i386/sse.md (<sse>_sqrt<mode>2<mask_name><round_name>):
499         Use the "xBm" constraint.
500         (float<sseintvecmodelower><mode>2<mask_name><round_name):
501         Likewise.
502         (sse_cvtsi2ss<round_name>): Use round_nimm_scalar_predicate.
503         (sse_cvtsi2ssq<round_name>): Likewise.
504         (sse_cvtss2si<round_name>): Likewise.
505         (sse_cvtss2siq<round_name>): Likewise.
506         (sse2_cvtsi2sdq<round_name>): Likewise.
507         (sse2_cvtsd2si<round_name>): Likewise.
508         (sse2_cvtsd2siq<round_name>): Likewise.
509         * config/i386/subst.md (round_nimm_scalar_predicate): New
510         predicate.
512 2015-12-15  Bernd Schmidt  <bschmidt@redhat.com>
514         PR middle-end/67639
515         * varasm.c (make_decl_rtl): Mark invalid register vars as
516         DECL_EXTERNAL.
518         PR rtl-optimization/66206
519         * bt-load.c (find_btr_use): Change first arg to be a pointer to an rtx.
520         All callers changed.
522 2016-01-07  Jakub Jelinek  <jakub@redhat.com>
524         PR tree-optimization/69141
525         * tree-ssa-pre.c: Include langhooks.h.
526         (eliminate_dom_walker::before_dom_children): Use
527         lang_hooks.decl_printable_name instead of
528         cgraph_node::get ()->name ().
530         PR middle-end/68960
531         * gimple-expr.c (copy_var_decl): If var has DECL_USER_ALIGN set, copy
532         it and DECL_ALIGN too.
534 2016-01-06  Robert Suchanek  <robert.suchanek@imgtec.com>
536         * config/mips/mips-ftypes.def: Sort to lexicographical order.
538 2016-01-06  Uros Bizjak  <ubizjak@gmail.com>
540         PR target/69140
541         * config/i386/i386.c (ix86_expand_prologue): Declare fs.sp_valid
542         depending on frame_pointer_needed before remaining integer and SSE
543         registers are saved.
545 2015-01-06  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
547         * config/rs6000/vsx.md (*p9_vecload_<mode>): Replace VSX_M
548         mode iterator with VSX_M2.
549         (*p9_vecstore_<mode>): Likewise.
550         (*vsx_le_permute_<mode>): Restrict to !TARGET_P9_VECTOR.
551         (*vsx_le_perm_load_<mode> for VSX_LE_128): Likewise.
552         (*vsx_le_perm_store_<mode> for VSX_LE_128): Likewise.
553         (define_split for VSX_LE128 stores): Likewise.
554         (define_peephole2 for TImode LE swaps): Likewise.
555         (define_split for VSX_LE128 post-reload stores): Likewise.
557 2016-01-06  Marek Polacek  <polacek@redhat.com>
559         PR sanitizer/69099
560         * convert.c (convert_to_integer_1): Adjust call to
561         ubsan_instrument_float_cast.  Use NULL_TREE instead of NULL.
562         * ubsan.c (ubsan_instrument_float_cast): Drop the ARG parameter.  Use
563         EXPR instead of ARG.
564         * ubsan.h (ubsan_instrument_float_cast): Adjust declaration.
566 2016-01-05  Sandra Loosemore <sandra@codesourcery.com>
568         PR 1078
569         * doc/extend.texi (RL78 Variable Attributes): New section.
571 2016-01-05  Marek Polacek  <polacek@redhat.com>
573         PR c/69104
574         * builtins.c (get_memmodel): Use expansion point location rather than
575         the input location.  Call warning_at rather than warning.
576         (expand_builtin_atomic_compare_exchange): Likewise.
577         (expand_builtin_atomic_load): Likewise.
578         (expand_builtin_atomic_store): Likewise.
579         (expand_builtin_atomic_clear): Likewise.
581 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
583         PR target/68991
584         * config/i386/i386.c (ix86_expand_vector_logical_operator):
585         Replace nonimmediate_operand with vector_operand.
586         * config/i386/predicates.md (vector_operand): New predicate.
587         (general_vector_operand): Replace nonimmediate_operand with
588         vector_operand.
589         * config/i386/sse.md: Replace nonimmediate_operand with
590         vector_operand and m constraint with Bm constraint on SSE
591         patterns with 16-byte memory operand.
592         * config/i386/subst.md (round_nimm_predicate): Replace
593         nonimmediate_operand with vector_operand.
594         (round_saeonly_nimm_predicate): Likewise.
595         (round_saeonly_nimm_scalar_predicate): New.
597 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
599         PR target/68991
600         * config/i386/constraints.md (Bm): New constraint.
601         * config/i386/predicates.md (vector_memory_operand): New
602         predicate.
603         * config/i386/sse.md: Replace xm with xBm in plusminus and
604         any_logic patterns.
606 2016-01-05  Sandra Loosemore <sandra@codesourcery.com>
608         PR 1078
609         * doc/extend.texi (V850 Function Attributes): New section.
610         (V850 Variable Attributes): New section.
612 2016-01-05  Sandra Loosemore <sandra@codesourcery.com>
614         PR 1078
615         * doc/extend.texi (MicroBlaze Function Attributes): Document
616         interrupt_handler and fast_interrupt attributes.
618 2016-01-05  Sergei Trofimovich <siarheit@google.com>
620         PR other/60465
621         * config/ia64/ia64.c (ia64_expand_load_address): Use gprel64
622         for local symbolic operands.
623         * config/ia64/predicates.md (local_symbolic_operand64): New
624         predicate.
626 2016-01-05  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
628         PR rtl-optimization/68651
629         * combine.c (combine_simplify_rtx): Canonicalize x + x into
630         x << 1.
632 2016-01-05  Nathan Sidwell  <nathan@acm.org>
634         * alias.c (compare_base_decls): Use symtab_node::get.
636 2016-01-05  Nick Clifton  <nickc@redhat.com>
638         PR target/68770
639         * ira-costs.c (copy_cost): Initialise the t_icode field of the
640         secondary_reload_info structure.
642         PR target/66655
643         * config/i386/cygming.h (MAKE_DECL_ONE_ONLY): Define to use weak
644         decls if weak support is available.
646 2016-01-04  Martin Sebor  <msebor@redhat.com>
648         * doc/invoke.texi (Warning Options): Document -Winvalid-memory-model.
650 2016-01-04  Michael Meissner  <meissner@linux.vnet.ibm.com>
652         * config/rs6000/rs6000-cpus.def (ISA_3_0_MASKS_SERVER): Add
653         OPTION_MASK_P9_DFORM.
655         * config/rs6000/constraints.md (wo constraint): New constraint for
656         ISA 3.0 (power9).
658         * config/rs6000/rs6000.c (rs6000_debug_reg_global): Add support
659         for wo constraint.
660         (rs6000_init_hard_regno_mode_ok): Likewise.
662         * config/rs6000/rs6000.h (r6000_reg_class_enum): Add support for
663         wo constraint.
665         * config/rs6000/altivec.md (altivec_vperm_<mode>): Clean up vperm
666         expanders not to have constraints.  Add support for ISA 3.0 xxperm
667         instruction.  Add support for fusing xxlor with xxperm.
668         (altivec_vperm_<mode>_internal): Likewise.
669         (altivec_vperm_v8hiv16qi): Likewise.
670         (altivec_vperm_<mode>v16q): Likewise.
671         (altivec_vperm_<mode>_uns): Likewise.
672         (vperm_v8hiv4si): Likewise.
673         (vperm_v16qiv8hi): Likewise.
675         * doc/md.texi (RS/6000 constraints): Document wo constraint.
677 2016-01-04  Jakub Jelinek  <jakub@redhat.com>
679         Update copyright years.
681         * gcc.c (process_command): Update copyright notice dates.
682         * gcov-dump.c (print_version): Ditto.
683         * gcov.c (print_version): Ditto.
684         * gcov-tool.c (print_version): Ditto.
685         * gengtype.c (create_file): Ditto.
686         * doc/cpp.texi: Bump @copying's copyright year.
687         * doc/cppinternals.texi: Ditto.
688         * doc/gcc.texi: Ditto.
689         * doc/gccint.texi: Ditto.
690         * doc/gcov.texi: Ditto.
691         * doc/install.texi: Ditto.
692         * doc/invoke.texi: Ditto.
694 2016-01-04  Eric Botcazou  <ebotcazou@adacore.com>
696         * config/arm/arm.c (aapcs_vfp_allocate_return_reg): Treat all integer
697         modes larger than TImode as TImode if NEON is not enabled.
699 2016-01-04  Eric Botcazou  <ebotcazou@adacore.com>
701         PR target/69100
702         * config/sparc/sparc.h (FUNCTION_ARG_REGNO_P): Return true in 64-bit
703         mode for %f0-%f31 only if TARGET_FPU.
705 2016-01-04  Eric Botcazou  <ebotcazou@adacore.com>
707         PR target/69072
708         * config/sparc/sparc.c (scan_record_type): Take into account subfields
709         to compute the PACKED_P predicate.
710         (function_arg_record_value): Minor tweaks.
712 2016-01-04  Thomas Preud'homme  <thomas.preudhomme@arm.com>
714         * doc/install.texi (--with-multilib-list): Describe the meaning of the
715         option for arm*-*-* targets.
717 2016-01-03  Sandra Loosemore <sandra@codesourcery.com>
719         * doc/extend.texi (Common Function Attributes): Move docs for
720         MSP430-specific attributes to....
721         (MSP430 Function Attributes): ...here.  Delete the redundant
722         entries and copy-edit the remaining text.
723         (MSP430 Variable Attributes): Use uniform format for index
724         entries and add a cross-reference to the corresponding function
725         attribute docs.
727 2016-01-03  Vladimír Čunát <vcunat@gmail.com>
729         * doc/invoke.texi (RS/6000 and PowerPC Options): Fix
730         -finite-math typo.
731         (x86 Options): Likewise.
733 2016-01-01  Sandra Loosemore  <sandra@codesourcery.com>
735         PR 1078
737         * extend.texi (Common Function Attributes) <no_stack_limit>: New.
738         * invoke.texi (Code Gen Options) <-fno-stack-limit>: Add pointer
739         to corresponding attribute.
741 2016-01-01  Sandra Loosemore  <sandra@codesourcery.com>
743         * doc/extend.texi (Common Function Attributes) <noplt>: Move
744         to correct alphabetization of table.  Copy-edit and correct
745         markup.
746         <stack_protect>: Likewise.
747         <target_clones>: Likewise.
748         <simd>: Likewise.
749         * doc/invoke.texi (Optimize Options) <-fstack-protector-explicit>:
750         Correct punctuation.
751         (Code Gen Options) <-fno-plt>: Copy-edit.
753 2016-01-01  Bernd Edlinger  <bernd.edlinger@hotmail.de>
755         PR target/68917
756         * config/tilegx/tilegx.md (clzsi2): Don't create DI subregs of
757         SI values.  Explicitly convert SI to DI and vice-versa.
759 2016-01-01  Jakub Jelinek  <jakub@redhat.com>
761         PR tree-optimization/69070
762         * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Only test
763         REAL_VALUE_ISSIGNALING_NAN on arg0 if arg0 is a REAL_CST.
765         PR sanitizer/69055
766         * ubsan.c (ubsan_instrument_float_cast): Call
767         initialize_sanitizer_builtins.
769         PR target/69015
770         * ifcvt.c (find_cond_trap): Give up if returnjump_p (jump).
772 Copyright (C) 2016 Free Software Foundation, Inc.
774 Copying and distribution of this file, with or without modification,
775 are permitted in any medium without royalty provided the copyright
776 notice and this notice are preserved.