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