ef099b1a5c21689102cb46d6df1f08a0ad4de19c
[gcc.git] / gcc / ChangeLog
1 2014-01-20 Jakub Jelinek <jakub@redhat.com>
2
3 PR target/59880
4 * config/i386/i386.c (ix86_avoid_lea_for_addr): Return false
5 if operands[1] is a REG or ZERO_EXTEND of a REG.
6
7 2014-01-19 Jan Hubicka <jh@suse.cz>
8
9 * varasm.c (compute_reloc_for_constant): Use targetm.binds_local_p.
10
11 2014-01-19 John David Anglin <danglin@gcc.gnu.org>
12
13 * config/pa/pa.c (pa_attr_length_millicode_call): Correct length of
14 long non-pic millicode calls.
15
16 2014-01-19 Jan-Benedict Glaw <jbglaw@lug-owl.de>
17
18 * config/vax/vax.h (FUNCTION_ARG_REGNO_P): Fix unused variable warning.
19
20 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
21 H.J. Lu <hongjiu.lu@intel.com>
22
23 PR target/59379
24 * config/i386/i386.md (*lea<mode>): Zero-extend return register
25 to DImode for zero-extended addresses.
26
27 2014-01-19 Jakub Jelinek <jakub@redhat.com>
28
29 PR rtl-optimization/57763
30 * bb-reorder.c (fix_crossing_unconditional_branches): Set JUMP_LABEL
31 on the new indirect jump_insn and increment LABEL_NUSES (label).
32
33 2014-01-18 H.J. Lu <hongjiu.lu@intel.com>
34
35 PR bootstrap/59580
36 PR bootstrap/59583
37 * config.gcc (x86_archs): New variable.
38 (x86_64_archs): Likewise.
39 (x86_cpus): Likewise.
40 Use $x86_archs, $x86_64_archs and $x86_cpus to check valid
41 --with-arch/--with-cpu= options.
42 Support --with-arch=/--with-cpu={nehalem,westmere,
43 sandybridge,ivybridge,haswell,broadwell,bonnell,silvermont}.
44
45 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
46
47 * config/i386/i386.c (ix86_adjust_cost): Reorder PROCESSOR_K8
48 and PROCESSOR_ATHLON to simplify code. Move "memory" calculation.
49
50 2014-01-18 Uros Bizjak <ubizjak@gmail.com>
51
52 * config/i386/i386.md (*swap<mode>): Rename from swap<mode>.
53
54 2014-01-18 Jakub Jelinek <jakub@redhat.com>
55
56 PR target/58944
57 * config/i386/i386-c.c (ix86_pragma_target_parse): Temporarily
58 clear cpp_get_options (parse_in)->warn_unused_macros for
59 ix86_target_macros_internal with cpp_define.
60
61 2014-01-18 Richard Sandiford <rdsandiford@googlemail.com>
62
63 * jump.c (delete_related_insns): Keep (use (insn))s.
64 * reorg.c (redundant_insn): Check for barriers too.
65
66 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
67
68 * config/i386/i386.c (ix86_split_lea_for_addr): Fix a comment typo.
69
70 2014-01-17 John David Anglin <danglin@gcc.gnu.org>
71
72 * config/pa/pa.c (pa_attr_length_indirect_call): Don't output a short
73 call to $$dyncall when TARGET_LONG_CALLS is true.
74
75 2014-01-17 Jeff Law <law@redhat.com>
76
77 * ree.c (combine_set_extension): Temporarily disable test for
78 changing number of hard registers.
79
80 2014-01-17 Jan Hubicka <jh@suse.cz>
81
82 PR middle-end/58125
83 * ipa-inline-analysis.c (inline_free_summary):
84 Do not free summary of aliases.
85
86 2014-01-17 Jakub Jelinek <jakub@redhat.com>
87
88 PR middle-end/59706
89 * gimplify.c (gimplify_expr): Use create_tmp_var
90 instead of create_tmp_var_raw. If cond doesn't have
91 integral type, don't add the IFN_ANNOTATE builtin at all.
92
93 2014-01-17 Martin Jambor <mjambor@suse.cz>
94
95 PR ipa/59736
96 * ipa-cp.c (prev_edge_clone): New variable.
97 (grow_next_edge_clone_vector): Renamed to grow_edge_clone_vectors.
98 Also resize prev_edge_clone vector.
99 (ipcp_edge_duplication_hook): Also update prev_edge_clone.
100 (ipcp_edge_removal_hook): New function.
101 (ipcp_driver): Register ipcp_edge_removal_hook.
102
103 2014-01-17 Andrew Pinski <apinski@cavium.com>
104 Steve Ellcey <sellcey@mips.com>
105
106 PR target/59462
107 * config/mips/mips.c (mips_print_operand): Check operand mode instead
108 of operator mode.
109
110 2014-01-17 Jeff Law <law@redhat.com>
111
112 PR middle-end/57904
113 * passes.def: Reorder pass_copy_prop, pass_unrolli, pass_ccp sequence
114 so that pass_ccp runs first.
115
116 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
117
118 * config/i386/i386.c (ix86_lea_outperforms): Use TARGET_XXX.
119 (ix86_adjust_cost): Use !TARGET_XXX.
120 (do_reorder_for_imul): Likewise.
121 (swap_top_of_ready_list): Likewise.
122 (ix86_sched_reorder): Likewise.
123
124 2014-01-17 H.J. Lu <hongjiu.lu@intel.com>
125
126 * config/i386/i386-c.c (ix86_target_macros_internal): Handle
127 PROCESSOR_INTEL. Treat like PROCESSOR_GENERIC.
128 * config/i386/i386.c (intel_memcpy): New. Duplicate slm_memcpy.
129 (intel_memset): New. Duplicate slm_memset.
130 (intel_cost): New. Duplicate slm_cost.
131 (m_INTEL): New macro.
132 (processor_target_table): Add "intel".
133 (ix86_option_override_internal): Replace PROCESSOR_SILVERMONT
134 with PROCESSOR_INTEL for "intel".
135 (ix86_lea_outperforms): Support PROCESSOR_INTEL. Duplicate
136 PROCESSOR_SILVERMONT.
137 (ix86_issue_rate): Likewise.
138 (ix86_adjust_cost): Likewise.
139 (ia32_multipass_dfa_lookahead): Likewise.
140 (swap_top_of_ready_list): Likewise.
141 (ix86_sched_reorder): Likewise.
142 (ix86_avoid_lea_for_addr): Check TARGET_AVOID_LEA_FOR_ADDR
143 instead of TARGET_OPT_AGU.
144 * config/i386/i386.h (TARGET_INTEL): New.
145 (TARGET_AVOID_LEA_FOR_ADDR): Likewise.
146 (processor_type): Add PROCESSOR_INTEL.
147 * config/i386/x86-tune.def: Support m_INTEL. Duplicate m_SILVERMONT.
148 Add X86_TUNE_AVOID_LEA_FOR_ADDR.
149
150 2014-01-17 Marek Polacek <polacek@redhat.com>
151
152 PR c/58346
153 * gimple-fold.c (fold_array_ctor_reference): Don't fold if element
154 size is zero.
155
156 2014-01-17 Richard Biener <rguenther@suse.de>
157
158 PR tree-optimization/46590
159 * opts.c (default_options_table): Add entries for
160 OPT_fbranch_count_reg, OPT_fmove_loop_invariants and OPT_ftree_pta,
161 all enabled at -O1 but not for -Og.
162 * common.opt (fbranch-count-reg): Remove Init(1).
163 (fmove-loop-invariants): Likewise.
164 (ftree-pta): Likewise.
165
166 2014-01-17 Jakub Jelinek <jakub@redhat.com>
167
168 * config/i386/i386.c (ix86_data_alignment): For compatibility with
169 (incorrect) GCC 4.8 and earlier alignment assumptions ensure we align
170 decls to at least the GCC 4.8 used alignments.
171
172 PR fortran/59440
173 * tree-nested.c (convert_nonlocal_reference_stmt,
174 convert_local_reference_stmt): For NAMELIST_DECLs in gimple_bind_vars
175 of GIMPLE_BIND stmts, adjust associated decls.
176
177 2014-01-17 Richard Biener <rguenther@suse.de>
178
179 PR tree-optimization/46590
180 * vec.h (vec<>::bseach): New member function implementing
181 binary search according to C89 bsearch.
182 (vec<>::qsort): Avoid calling ::qsort for vectors with sizes 0 or 1.
183 * tree-ssa-loop-im.c (struct mem_ref): Make stored member a
184 bitmap pointer again. Make accesses_in_loop a flat array.
185 (mem_ref_obstack): New global.
186 (outermost_indep_loop): Adjust for mem_ref->stored changes.
187 (mark_ref_stored): Likewise.
188 (ref_indep_loop_p_2): Likewise.
189 (set_ref_stored_in_loop): New helper function.
190 (mem_ref_alloc): Allocate mem_refs on the mem_ref_obstack obstack.
191 (memref_free): Adjust.
192 (record_mem_ref_loc): Simplify.
193 (gather_mem_refs_stmt): Adjust.
194 (sort_locs_in_loop_postorder_cmp): New function.
195 (analyze_memory_references): Sort accesses_in_loop after
196 loop postorder number.
197 (find_ref_loc_in_loop_cmp): New function.
198 (for_all_locs_in_loop): Find relevant cluster of locs in
199 accesses_in_loop and iterate without recursion.
200 (execute_sm): Avoid uninit warning.
201 (struct ref_always_accessed): Simplify.
202 (ref_always_accessed::operator ()): Likewise.
203 (ref_always_accessed_p): Likewise.
204 (tree_ssa_lim_initialize): Initialize mem_ref_obstack, compute
205 loop postorder numbers here.
206 (tree_ssa_lim_finalize): Free mem_ref_obstack and loop postorder
207 numbers.
208
209 2014-01-17 Jan Hubicka <hubicka@ucw.cz>
210
211 PR c++/57945
212 * passes.c (rest_of_decl_compilation): Don't call varpool_finalize_decl
213 on decls for which assemble_alias has been called.
214
215 2014-01-17 Nick Clifton <nickc@redhat.com>
216
217 * config/msp430/msp430.opt: (mcpu): New option.
218 * config/msp430/msp430.c (msp430_mcu_name): Use target_mcu.
219 (msp430_option_override): Parse target_cpu. If the MCU name
220 matches a generic string, clear target_mcu.
221 (msp430_attr): Allow numeric interrupt values up to 63.
222 (msp430_expand_epilogue): No longer invert operand 1 of gen_popm.
223 * config/msp430/msp430.h (ASM_SPEC): Convert -mcpu into a -mmcu
224 option.
225 * config/msp430/t-msp430: (MULTILIB_MATCHES): Remove mcu matches.
226 Add mcpu matches.
227 * config/msp430/msp430.md (popm): Use %J rather than %I.
228 (addsi3): Use msp430_nonimmediate_operand for operand 2.
229 (addhi_cy_i): Use immediate_operand for operand 2.
230 * doc/invoke.texi: Document -mcpu option.
231
232 2014-01-17 Richard Biener <rguenther@suse.de>
233
234 PR rtl-optimization/38518
235 * df.h (df_analyze_loop): Declare.
236 * df-core.c: Include cfgloop.h.
237 (df_analyze_1): Split out main part of df_analyze.
238 (df_analyze): Adjust.
239 (loop_inverted_post_order_compute): New function.
240 (loop_post_order_compute): Likewise.
241 (df_analyze_loop): New function avoiding whole-function
242 postorder computes.
243 * loop-invariant.c (find_defs): Use df_analyze_loop.
244 (find_invariants): Adjust.
245 * loop-iv.c (iv_analysis_loop_init): Use df_analyze_loop.
246
247 2014-01-17 Zhenqiang Chen <zhenqiang.chen@arm.com>
248
249 * config/arm/arm.c (arm_v7m_tune): Set max_insns_skipped to 2.
250 (thumb2_final_prescan_insn): Set max to MAX_INSN_PER_IT_BLOCK.
251
252 2014-01-16 Ilya Enkovich <ilya.enkovich@intel.com>
253
254 * ipa-ref.c (ipa_remove_stmt_references): Fix references
255 traversal when removing references.
256
257 2014-01-16 Jan Hubicka <jh@suse.cz>
258
259 PR ipa/59775
260 * tree.c (get_binfo_at_offset): Look harder for virtual bases.
261
262 2014-01-16 Bernd Schmidt <bernds@codesourcery.com>
263
264 PR middle-end/56791
265 * reload.c (find_reloads_address_1): Do not use RELOAD_OTHER when
266 pushing a reload for an autoinc when we had previously reloaded an
267 inner part of the address.
268
269 2014-01-16 Jakub Jelinek <jakub@redhat.com>
270
271 * tree-vectorizer.h (struct _loop_vec_info): Add no_data_dependencies
272 field.
273 (LOOP_VINFO_NO_DATA_DEPENDENCIES): Define.
274 * tree-vect-data-refs.c (vect_analyze_data_ref_dependence): Clear it
275 when not giving up or versioning for alias only because of
276 loop->safelen.
277 (vect_analyze_data_ref_dependences): Set to true.
278 * tree-vect-stmts.c (hoist_defs_of_uses): Return false if def_stmt
279 is a GIMPLE_PHI.
280 (vectorizable_load): Use LOOP_VINFO_NO_DATA_DEPENDENCIES instead of
281 LOOP_REQUIRES_VERSIONING_FOR_ALIAS, add && !nested_in_vect_loop
282 to the condition.
283
284 PR middle-end/58344
285 * expr.c (expand_expr_real_1): Handle init == NULL_TREE.
286
287 PR target/59839
288 * config/i386/i386.c (ix86_expand_builtin): If target doesn't satisfy
289 operand 0 predicate for gathers, use a new pseudo as subtarget.
290
291 2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
292
293 PR middle-end/59609
294 * lra-constraints.c (process_alt_operands): Add printing debug info.
295 Check absence of input/output reloads for matched operands too.
296
297 2014-01-16 Vladimir Makarov <vmakarov@redhat.com>
298
299 PR rtl-optimization/59835
300 * ira.c (ira_init_register_move_cost): Increase cost for
301 impossible modes.
302
303 2014-01-16 Alan Lawrence <alan.lawrence@arm.com>
304
305 * config/arm/arm.opt (mcpu, march, mtune): Make case-insensitive.
306
307 2014-01-16 Richard Earnshaw <rearnsha@arm.com>
308
309 PR target/59780
310 * aarch64.c (aarch64_split_128bit_move): Don't lookup REGNO on
311 non-register objects. Use gen_(high/low)part more consistently.
312 Fix assertions.
313
314 2014-01-16 Michael Meissner <meissner@linux.vnet.ibm.com>
315
316 PR target/59844
317 * config/rs6000/rs6000.md (reload_vsx_from_gprsf): Add little
318 endian support, remove tests for WORDS_BIG_ENDIAN.
319 (p8_mfvsrd_3_<mode>): Likewise.
320 (reload_gpr_from_vsx<mode>): Likewise.
321 (reload_gpr_from_vsxsf): Likewise.
322 (p8_mfvsrd_4_disf): Likewise.
323
324 2014-01-16 Richard Biener <rguenther@suse.de>
325
326 PR rtl-optimization/46590
327 * lcm.c (compute_antinout_edge): Use postorder iteration.
328 (compute_laterin): Use inverted postorder iteration.
329
330 2014-01-16 Nick Clifton <nickc@redhat.com>
331
332 PR middle-end/28865
333 * varasm.c (output_constant): Return the number of bytes actually
334 emitted.
335 (output_constructor_array_range): Update the field size with the
336 number of bytes emitted by output_constant.
337 (output_constructor_regular_field): Likewise. Also do not
338 complain if the total number of bytes emitted is now greater
339 than the expected fieldpos.
340 * output.h (output_constant): Update prototype and descriptive comment.
341
342 2014-01-16 Marek Polacek <polacek@redhat.com>
343
344 PR middle-end/59827
345 * cgraph.c (gimple_check_call_args): Don't use DECL_ARG_TYPE if
346 it is error_mark_node.
347
348 2014-01-15 Uros Bizjak <ubizjak@gmail.com>
349
350 * config/i386/i386.c (ix86_hard_regno_mode_ok): Use
351 VALID_AVX256_REG_OR_OI_MODE.
352
353 2014-01-15 Pat Haugen <pthaugen@us.ibm.com>
354
355 * config/rs6000/rs6000.c (rs6000_output_function_prologue): Check if
356 current procedure should be profiled.
357
358 2014-01-15 Andrew Pinski <apinski@cavium.com>
359
360 * config/aarch64/aarch64.c (aarch64_register_move_cost): Correct cost
361 of moving from/to the STACK_REG register class.
362
363 2014-01-15 Richard Henderson <rth@redhat.com>
364
365 PR debug/54694
366 * reginfo.c (global_regs_decl): Globalize.
367 * rtl.h (global_regs_decl): Declare.
368 * ira.c (do_reload): Diagnose frame_pointer_needed and it
369 reserved via global_regs.
370
371 2014-01-15 Teresa Johnson <tejohnson@google.com>
372
373 * tree-ssa-sccvn.c (visit_reference_op_call): Handle NULL vdef.
374
375 2014-01-15 Bill Schmidt <wschmidt@vnet.linux.ibm.com>
376
377 * config/rs6000/altivec.md (mulv8hi3): Explicitly generate vmulesh
378 and vmulosh rather than call gen_vec_widen_smult_*.
379 (vec_widen_umult_even_v16qi): Test VECTOR_ELT_ORDER_BIG rather
380 than BYTES_BIG_ENDIAN to determine use of even or odd instruction.
381 (vec_widen_smult_even_v16qi): Likewise.
382 (vec_widen_umult_even_v8hi): Likewise.
383 (vec_widen_smult_even_v8hi): Likewise.
384 (vec_widen_umult_odd_v16qi): Likewise.
385 (vec_widen_smult_odd_v16qi): Likewise.
386 (vec_widen_umult_odd_v8hi): Likewise.
387 (vec_widen_smult_odd_v8hi): Likewise.
388 (vec_widen_umult_hi_v16qi): Explicitly generate vmuleub and
389 vmuloub rather than call gen_vec_widen_umult_*.
390 (vec_widen_umult_lo_v16qi): Likewise.
391 (vec_widen_smult_hi_v16qi): Explicitly generate vmulesb and
392 vmulosb rather than call gen_vec_widen_smult_*.
393 (vec_widen_smult_lo_v16qi): Likewise.
394 (vec_widen_umult_hi_v8hi): Explicitly generate vmuleuh and vmulouh
395 rather than call gen_vec_widen_umult_*.
396 (vec_widen_umult_lo_v8hi): Likewise.
397 (vec_widen_smult_hi_v8hi): Explicitly gnerate vmulesh and vmulosh
398 rather than call gen_vec_widen_smult_*.
399 (vec_widen_smult_lo_v8hi): Likewise.
400
401 2014-01-15 Jeff Law <law@redhat.com>
402
403 PR tree-optimization/59747
404 * ree.c (find_and_remove_re): Properly handle case where a second
405 eliminated extension requires widening a copy created for elimination
406 of a prior extension.
407 (combine_set_extension): Ensure that the number of hard regs needed
408 for a destination register does not change when we widen it.
409
410 2014-01-15 Sebastian Huber <sebastian.huber@embedded-brains.de>
411
412 * config.gcc (*-*-rtems*): Add t-rtems to tmake_file.
413 (arm*-*-uclinux*eabi*): Do not override an existing tmake_file.
414 (arm*-*-eabi* | arm*-*-symbianelf* | arm*-*-rtems*): Likwise.
415 (arm*-*-rtems*): Use t-rtems from existing tmake_file.
416 (avr-*-rtems*): Likewise.
417 (bfin*-rtems*): Likewise.
418 (moxie-*-rtems*): Likewise.
419 (h8300-*-rtems*): Likewise.
420 (i[34567]86-*-rtems*): Likewise.
421 (lm32-*-rtems*): Likewise.
422 (m32r-*-rtems*): Likewise.
423 (m68k-*-rtems*): Likewise.
424 (microblaze*-*-rtems*): Likewise.
425 (mips*-*-rtems*): Likewise.
426 (powerpc-*-rtems*): Likewise.
427 (sh-*-rtems*): Likewise.
428 (sparc-*-rtems*): Likewise.
429 (sparc64-*-rtems*): Likewise.
430 (v850-*-rtems*): Likewise.
431 (m32c-*-rtems*): Likewise.
432
433 2014-01-15 Vladimir Makarov <vmakarov@redhat.com>
434
435 PR rtl-optimization/59511
436 * ira.c (ira_init_register_move_cost): Use memory costs for some
437 cases of register move cost calculations.
438 * lra-constraints.c (lra_constraints): Use REG_FREQ_FROM_BB
439 instead of BB frequency.
440 * lra-coalesce.c (move_freq_compare_func, lra_coalesce): Ditto.
441 * lra-assigns.c (find_hard_regno_for): Ditto.
442
443 2014-01-15 Richard Biener <rguenther@suse.de>
444
445 PR tree-optimization/59822
446 * tree-vect-stmts.c (hoist_defs_of_uses): New function.
447 (vectorizable_load): Use it to hoist defs of uses of invariant
448 loads out of the loop.
449
450 2014-01-15 Matthew Gretton-Dann <matthew.gretton-dann@linaro.org>
451 Kugan Vivekanandarajah <kuganv@linaro.org>
452
453 PR target/59695
454 * config/aarch64/aarch64.c (aarch64_build_constant): Fix incorrect
455 truncation.
456
457 2014-01-15 Richard Biener <rguenther@suse.de>
458
459 PR rtl-optimization/59802
460 * lcm.c (compute_available): Use inverted postorder to seed
461 the initial worklist.
462
463 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
464
465 PR target/59803
466 * config/s390/s390.c (s390_preferred_reload_class): Don't return
467 ADDR_REGS for invalid symrefs in non-PIC code.
468
469 2014-01-15 Jakub Jelinek <jakub@redhat.com>
470
471 PR other/58712
472 * builtins.c (determine_block_size): Initialize *probable_max_size
473 even if len_rtx is CONST_INT.
474
475 2014-01-14 Andrew Pinski <apinski@cavium.com>
476
477 * config/aarch64/aarch64-protos.h (tune_params): Add issue_rate.
478 * config/aarch64/aarch64.c (generic_tunings): Add issue rate of 2.
479 (cortexa53_tunings): Likewise.
480 (aarch64_sched_issue_rate): New function.
481 (TARGET_SCHED_ISSUE_RATE): Define.
482
483 2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
484
485 * ira-costs.c (find_costs_and_classes): Add missed
486 ira_init_register_move_cost_if_necessary.
487
488 2014-01-14 Vladimir Makarov <vmakarov@redhat.com>
489
490 PR target/59787
491 * config/arm/arm.c (arm_coproc_mem_operand): Add lra_in_progress.
492
493 2014-01-14 H.J. Lu <hongjiu.lu@intel.com>
494
495 PR target/59794
496 * config/i386/i386.c (type_natural_mode): Add a bool parameter
497 to indicate if type is used for function return value. Warn ABI
498 change if the vector mode isn't available for function return value.
499 (ix86_function_arg_advance): Pass false to type_natural_mode.
500 (ix86_function_arg): Likewise.
501 (ix86_gimplify_va_arg): Likewise.
502 (function_arg_32): Don't warn ABI change.
503 (ix86_function_value): Pass true to type_natural_mode.
504 (ix86_return_in_memory): Likewise.
505 (ix86_struct_value_rtx): Removed.
506 (TARGET_STRUCT_VALUE_RTX): Likewise.
507
508 2014-01-14 Richard Sandiford <rsandifo@linux.vnet.ibm.com>
509
510 * jump.c (redirect_jump_2): Remove REG_CROSSING_JUMP notes when
511 converting a conditional jump into a conditional return.
512
513 2014-01-14 Richard Biener <rguenther@suse.de>
514
515 PR tree-optimization/58921
516 PR tree-optimization/59006
517 * tree-vect-loop-manip.c (vect_loop_versioning): Remove code
518 hoisting invariant stmts.
519 * tree-vect-stmts.c (vectorizable_load): Insert the splat of
520 invariant loads on the preheader edge if possible.
521
522 2014-01-14 Joey Ye <joey.ye@arm.com>
523
524 * doc/plugin.texi (Building GCC plugins): Update to C++.
525
526 2014-01-14 Kirill Yukhin <kirill.yukhin@intel.com>
527
528 * config/i386/avx512erintrin.h (_mm_rcp28_round_sd): New.
529 (_mm_rcp28_round_ss): Ditto.
530 (_mm_rsqrt28_round_sd): Ditto.
531 (_mm_rsqrt28_round_ss): Ditto.
532 (_mm_rcp28_sd): Ditto.
533 (_mm_rcp28_ss): Ditto.
534 (_mm_rsqrt28_sd): Ditto.
535 (_mm_rsqrt28_ss): Ditto.
536 * config/i386/avx512fintrin.h (_mm512_stream_load_si512): Ditto.
537 * config/i386/i386-builtin-types.def (V8DI_FTYPE_PV8DI): Ditto.
538 * config/i386/i386.c (IX86_BUILTIN_MOVNTDQA512): Ditto.
539 (IX86_BUILTIN_RCP28SD): Ditto.
540 (IX86_BUILTIN_RCP28SS): Ditto.
541 (IX86_BUILTIN_RSQRT28SD): Ditto.
542 (IX86_BUILTIN_RSQRT28SS): Ditto.
543 (bdesc_special_args): Define __builtin_ia32_movntdqa512,
544 __builtin_ia32_rcp28sd_round, __builtin_ia32_rcp28ss_round,
545 __builtin_ia32_rsqrt28sd_round, __builtin_ia32_rsqrt28ss_round.
546 (ix86_expand_special_args_builtin): Expand new FTYPE.
547 * config/i386/sse.md (define_mode_attr "sse4_1_avx2"): Expand to V8DI.
548 (srcp14<mode>): Make insn unary.
549 (avx512f_vmscalef<mode><round_name>): Use substed predicate.
550 (avx512f_sgetexp<mode><round_saeonly_name>): Ditto.
551 (avx512f_rndscale<mode><round_saeonly_name>): Ditto.
552 (<sse4_1_avx2>_movntdqa): Extend to 512 bits.
553 (avx512er_exp2<mode><mask_name><round_saeonly_name>):
554 Fix rounding: make it SAE only.
555 (<mask_codefor>avx512er_rcp28<mode><mask_name><round_saeonly_name>):
556 Ditto.
557 (<mask_codefor>avx512er_rsqrt28<mode><mask_name><round_saeonly_name>):
558 Ditto.
559 (avx512er_vmrcp28<mode><round_saeonly_name>): Ditto.
560 (avx512er_vmrsqrt28<mode><round_saeonly_name>): Ditto.
561 (avx512f_getmant<mode><mask_name><round_saeonly_name>): Ditto.
562 * config/i386/subst.md (round_saeonly_mask_scalar_operand3): Remove.
563 (round_saeonly_mask_scalar_operand4): Ditto.
564 (round_saeonly_mask_scalar_op3): Ditto.
565 (round_saeonly_mask_scalar_op4): Ditto.
566
567 2014-01-13 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
568
569 * config/rs6000/rs6000-c.c (altivec_resolve_overloaded_builtin):
570 Implement -maltivec=be for vec_insert and vec_extract.
571
572 2014-01-10 DJ Delorie <dj@redhat.com>
573
574 * config/msp430/msp430.md (call_internal): Don't allow memory
575 references with SP as the base register.
576 (call_value_internal): Likewise.
577 * config/msp430/constraints.md (Yc): New. For memory references
578 that don't use SP as a base register.
579
580 * config/msp430/msp430.c (msp430_print_operand): Add 'J' to mean
581 "an integer without a # prefix"
582 * config/msp430/msp430.md (epilogue_helper): Use it.
583
584 2014-01-13 Jakub Jelinek <jakub@redhat.com>
585
586 PR target/59617
587 * config/i386/i386.c (ix86_vectorize_builtin_gather): Uncomment
588 AVX512F gather builtins.
589 * tree-vect-stmts.c (vectorizable_mask_load_store): For now punt
590 on gather decls with INTEGER_TYPE masktype.
591 (vectorizable_load): For INTEGER_TYPE masktype, put the INTEGER_CST
592 directly into the builtin rather than hoisting it before loop.
593
594 PR tree-optimization/59387
595 * tree-scalar-evolution.c: Include gimple-fold.h and gimplify-me.h.
596 (scev_const_prop): If folded_casts and type has undefined overflow,
597 use force_gimple_operand instead of force_gimple_operand_gsi and
598 for each added stmt if it is assign with
599 arith_code_with_undefined_signed_overflow, call
600 rewrite_to_defined_overflow.
601 * tree-ssa-loop-im.c: Don't include gimplify-me.h, include
602 gimple-fold.h instead.
603 (arith_code_with_undefined_signed_overflow,
604 rewrite_to_defined_overflow): Moved to ...
605 * gimple-fold.c (arith_code_with_undefined_signed_overflow,
606 rewrite_to_defined_overflow): ... here. No longer static.
607 Include gimplify-me.h.
608 * gimple-fold.h (arith_code_with_undefined_signed_overflow,
609 rewrite_to_defined_overflow): New prototypes.
610
611 2014-01-13 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
612
613 * config/arm/arm.h (MAX_CONDITIONAL_EXECUTE): Fix typo in description.
614
615 2014-01-13 Eric Botcazou <ebotcazou@adacore.com>
616
617 * builtins.c (get_object_alignment_2): Minor tweak.
618 * tree-ssa-loop-ivopts.c (may_be_unaligned_p): Rewrite.
619
620 2014-01-13 Christian Bruel <christian.bruel@st.com>
621
622 * config/sh/sh-mem.cc (sh_expand_cmpnstr): Unroll small sizes and
623 optimized non constant lengths.
624
625 2014-01-13 Jakub Jelinek <jakub@redhat.com>
626
627 PR libgomp/59194
628 * omp-low.c (expand_omp_atomic_pipeline): Expand the initial
629 load as __atomic_load_N if possible.
630
631 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
632
633 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): Remove
634 target parameter.
635 (rs6000_expand_builtin): Adjust call.
636
637 2014-01-11 David Edelsohn <dje.gcc@gmail.com>
638
639 PR target/58115
640 * config/rs6000/rs6000.h (SWITCHABLE_TARGET): Define.
641 * config/rs6000/rs6000.c: Include target-globals.h.
642 (rs6000_set_current_function): Instead of doing target_reinit
643 unconditionally, use save_target_globals_default_opts and
644 restore_target_globals.
645
646 * config/rs6000/rs6000-builtin.def (mffs, mtfsf): Add builtins for
647 FPSCR.
648 * config/rs6000/rs6000.c (rs6000_expand_mtfsf_builtin): New.
649 (rs6000_expand_builtin): Handle mffs and mtfsf.
650 (rs6000_init_builtins): Define mffs and mtfsf.
651 * config/rs6000/rs6000.md (UNSPECV_MFFS, UNSPECV_MTFSF): New constants.
652 (rs6000_mffs): New pattern.
653 (rs6000_mtfsf): New pattern.
654
655 2014-01-11 Bin Cheng <bin.cheng@arm.com>
656
657 * tree-ssa-loop-ivopts.c (iv_ca_narrow): New parameter.
658 Start narrowing with START. Apply candidate-use pair
659 and check overall cost in narrowing.
660 (iv_ca_prune): Pass new argument.
661
662 2014-01-10 Jeff Law <law@redhat.com>
663
664 PR middle-end/59743
665 * ree.c (combine_reaching_defs): Ensure the defining statement
666 occurs before the extension when optimizing extensions with
667 different source and destination hard registers.
668
669 2014-01-10 Jan Hubicka <jh@suse.cz>
670
671 PR ipa/58585
672 * ipa-devirt.c (build_type_inheritance_graph): Also add types of
673 vtables into the type inheritance graph.
674
675 2014-01-10 Jakub Jelinek <jakub@redhat.com>
676
677 PR rtl-optimization/59754
678 * ree.c (combine_reaching_defs): Disallow !SCALAR_INT_MODE_P
679 modes in the REGNO != REGNO case.
680
681 2014-01-10 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
682
683 * config/rs6000/rs6000-builtin.def: Fix pasto for VPKSDUS.
684
685 2014-01-10 Jakub Jelinek <jakub@redhat.com>
686
687 PR tree-optimization/59745
688 * tree-predcom.c (tree_predictive_commoning_loop): Call
689 free_affine_expand_cache if giving up because components is NULL.
690
691 * target-globals.c (save_target_globals): Allocate < 4KB structs using
692 GC in payload of target_globals struct instead of allocating them on
693 the heap and the larger structs separately using GC.
694 * target-globals.h (struct target_globals): Make regs, hard_regs,
695 reload, expmed, ira, ira_int and lra_fields GTY((atomic)) instead
696 of GTY((skip)) and change type to void *.
697 (reset_target_globals): Cast loads from those fields to corresponding
698 types.
699
700 2014-01-10 Steve Ellcey <sellcey@mips.com>
701
702 PR plugins/59335
703 * Makefile.in (PLUGIN_HEADERS): Add gimplify.h, gimple-iterator.h,
704 gimple-ssa.h, fold-const.h, tree-cfg.h, tree-into-ssa.h,
705 tree-ssanames.h, print-tree.h, varasm.h, and context.h.
706
707 2014-01-10 Richard Earnshaw <rearnsha@arm.com>
708
709 PR target/59744
710 * aarch64-modes.def (CC_Zmode): New flags mode.
711 * aarch64.c (aarch64_select_cc_mode): Only allow NEG when the condition
712 represents an equality.
713 (aarch64_get_condition_code): Handle CC_Zmode.
714 * aarch64.md (compare_neg<mode>): Restrict to equality operations.
715
716 2014-01-10 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
717
718 * config/s390/s390.c (s390_expand_tbegin): Remove jump over CC
719 extraction in good case.
720
721 2014-01-10 Richard Biener <rguenther@suse.de>
722
723 PR tree-optimization/59374
724 * tree-vect-slp.c (vect_slp_analyze_bb_1): Move dependence
725 checking after SLP discovery. Mark stmts not participating
726 in any SLP instance properly.
727
728 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
729
730 * config/arm/arm.c (arm_new_rtx_costs): Use destination mode
731 when handling a SET rtx.
732
733 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
734
735 * config/arm/arm-cores.def (cortex-a53): Specify FL_CRC32.
736 (cortex-a57): Likewise.
737 (cortex-a57.cortex-a53): Likewise. Remove redundant flags.
738
739 2014-01-10 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
740
741 * config/arm/arm.c (arm_init_iwmmxt_builtins): Skip
742 non-iwmmxt builtins.
743
744 2014-01-10 Jan Hubicka <hubicka@ucw.cz>
745
746 PR ipa/58252
747 PR ipa/59226
748 * ipa-devirt.c record_target_from_binfo): Take as argument
749 stack of binfos and lookup matching one for virtual inheritance.
750 (possible_polymorphic_call_targets_1): Update.
751
752 2014-01-10 Huacai Chen <chenhc@lemote.com>
753
754 * config/mips/driver-native.c (host_detect_local_cpu): Handle new
755 kernel strings for Loongson-2E/2F/3A.
756
757 2014-01-10 Jakub Jelinek <jakub@redhat.com>
758
759 PR middle-end/59670
760 * tree-vect-data-refs.c (vect_analyze_data_refs): Check
761 is_gimple_call before calling gimple_call_internal_p.
762
763 2014-01-09 Steve Ellcey <sellcey@mips.com>
764
765 * Makefile.in (TREE_FLOW_H): Remove.
766 (TREE_SSA_H): Add file names from tree-flow.h.
767 * doc/tree-ssa.texi (Annotations): Remove reference to tree-flow.h
768 * tree.h: Remove tree-flow.h reference.
769 * hash-table.h: Remove tree-flow.h reference.
770 * tree-ssa-loop-niter.c (dump_affine_iv): Replace tree-flow.h
771 reference with tree-ssa-loop.h.
772
773 2014-01-09 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
774
775 * doc/invoke.texi: Add -maltivec={be,le} options, and document
776 default element-order behavior for -maltivec.
777 * config/rs6000/rs6000.opt: Add -maltivec={be,le} options.
778 * config/rs6000/rs6000.c (rs6000_option_override_internal): Ensure
779 that -maltivec={le,be} implies -maltivec; disallow -maltivec=le
780 when targeting big endian, at least for now.
781 * config/rs6000/rs6000.h: Add #define of VECTOR_ELT_ORDER_BIG.
782
783 2014-01-09 Jakub Jelinek <jakub@redhat.com>
784
785 PR middle-end/47735
786 * cfgexpand.c (expand_one_var): For SSA_NAMEs, if the underlying
787 var satisfies use_register_for_decl, just take into account type
788 alignment, rather than decl alignment.
789
790 PR tree-optimization/59622
791 * gimple-fold.c (gimple_fold_call): Fix a typo in message. For
792 __builtin_unreachable replace the OBJ_TYPE_REF call with a call to
793 __builtin_unreachable and add if needed a setter of the lhs SSA_NAME.
794 Don't devirtualize for inplace at all. For targets.length () == 1,
795 if the call is noreturn and cfun isn't in SSA form yet, clear lhs.
796
797 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
798
799 * config/i386/i386.md (cpu): Remove the unused btver1.
800
801 2014-01-09 H.J. Lu <hongjiu.lu@intel.com>
802
803 * gdbasan.in: Put a breakpoint on __sanitizer::Report.
804
805 2014-01-09 Jakub Jelinek <jakub@redhat.com>
806
807 PR target/58115
808 * tree-core.h (struct target_globals): New forward declaration.
809 (struct tree_target_option): Add globals field.
810 * tree.h (TREE_TARGET_GLOBALS): Define.
811 (prepare_target_option_nodes_for_pch): New prototype.
812 * target-globals.h (struct target_globals): Define even if
813 !SWITCHABLE_TARGET.
814 * tree.c (prepare_target_option_node_for_pch,
815 prepare_target_option_nodes_for_pch): New functions.
816 * config/i386/i386.h (SWITCHABLE_TARGET): Define.
817 * config/i386/i386.c: Include target-globals.h.
818 (ix86_set_current_function): Instead of doing target_reinit
819 unconditionally, use save_target_globals_default_opts and
820 restore_target_globals.
821
822 2014-01-09 Richard Biener <rguenther@suse.de>
823
824 PR tree-optimization/59715
825 * tree-cfg.h (split_critical_edges): Declare.
826 * tree-cfg.c (split_critical_edges): Export.
827 * tree-ssa-sink.c (execute_sink_code): Split critical edges.
828
829 2014-01-09 Max Ostapenko <m.ostapenko@partner.samsung.com>
830
831 * cfgexpand.c (expand_stack_vars): Optionally disable
832 asan stack protection.
833 (expand_used_vars): Likewise.
834 (partition_stack_vars): Likewise.
835 * asan.c (asan_emit_stack_protection): Optionally disable
836 after return stack usage.
837 (instrument_derefs): Optionally disable memory access instrumentation.
838 (instrument_builtin_call): Likewise.
839 (instrument_strlen_call): Likewise.
840 (asan_protect_global): Optionally disable global variables protection.
841 * doc/invoke.texi: Added doc for new options.
842 * params.def: Added new options.
843 * params.h: Likewise.
844
845 2014-01-09 Jakub Jelinek <jakub@redhat.com>
846
847 PR rtl-optimization/59724
848 * ifcvt.c (cond_exec_process_if_block): Don't call
849 flow_find_head_matching_sequence with 0 longest_match.
850 * cfgcleanup.c (flow_find_head_matching_sequence): Count even
851 non-active insns if !stop_after.
852 (try_head_merge_bb): Revert 2014-01-07 changes.
853
854 2014-01-08 Jeff Law <law@redhat.com>
855
856 * ree.c (get_sub_rtx): New function, extracted from...
857 (merge_def_and_ext): Here.
858 (combine_reaching_defs): Use get_sub_rtx.
859
860 2014-01-08 Eric Botcazou <ebotcazou@adacore.com>
861
862 * cgraph.h (varpool_variable_node): Do not choke on null node.
863
864 2014-01-08 Catherine Moore <clm@codesourcery.com>
865
866 * config/mips/mips.md (simple_return): Attempt to use JRC
867 for microMIPS.
868 * config/mips/mips.h (MIPS_CALL): Attempt to use JALS for microMIPS.
869
870 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
871
872 PR rtl-optimization/59137
873 * reorg.c (steal_delay_list_from_target): Call update_block for
874 elided insns.
875 (steal_delay_list_from_fallthrough, relax_delay_slots): Likewise.
876
877 2014-01-08 Bill Schmidt <wschmidt@linux.vnet.ibm.com>
878
879 * config/rs6000/rs6000-c.c (altivec_overloaded_builtins): Remove
880 two duplicate entries.
881
882 2014-01-08 Richard Sandiford <rdsandiford@googlemail.com>
883
884 Revert:
885 2012-10-07 Richard Sandiford <rdsandiford@googlemail.com>
886
887 * config/mips/mips.c (mips_truncated_op_cost): New function.
888 (mips_rtx_costs): Adjust test for BADDU.
889 * config/mips/mips.md (*baddu_di<mode>): Push truncates to operands.
890
891 2012-10-02 Richard Sandiford <rdsandiford@googlemail.com>
892
893 * config/mips/mips.md (*baddu_si_eb, *baddu_si_el): Merge into...
894 (*baddu_si): ...this new pattern.
895
896 2014-01-08 Jakub Jelinek <jakub@redhat.com>
897
898 PR ipa/59722
899 * ipa-prop.c (ipa_analyze_params_uses): Ignore uses in debug stmts.
900
901 2014-01-08 Bernd Edlinger <bernd.edlinger@hotmail.de>
902
903 PR middle-end/57748
904 * expr.h (expand_expr_real, expand_expr_real_1): Add new parameter
905 inner_reference_p.
906 (expand_expr, expand_normal): Adjust.
907 * expr.c (expand_expr_real, expand_expr_real_1): Add new parameter
908 inner_reference_p. Use inner_reference_p to expand inner references.
909 (store_expr): Adjust.
910 * cfgexpand.c (expand_call_stmt): Adjust.
911
912 2014-01-08 Rong Xu <xur@google.com>
913
914 * gcov-io.c (gcov_var): Move from gcov-io.h.
915 (gcov_position): Ditto.
916 (gcov_is_error): Ditto.
917 (gcov_rewrite): Ditto.
918 * gcov-io.h: Refactor. Move gcov_var to gcov-io.h, and libgcov
919 only part to libgcc/libgcov.h.
920
921 2014-01-08 Marek Polacek <polacek@redhat.com>
922
923 PR middle-end/59669
924 * omp-low.c (simd_clone_adjust): Don't crash if def is NULL.
925
926 2014-01-08 Marek Polacek <polacek@redhat.com>
927
928 PR sanitizer/59667
929 * ubsan.c (ubsan_type_descriptor): Call strip_array_types on type2.
930
931 2014-01-08 Jakub Jelinek <jakub@redhat.com>
932
933 PR rtl-optimization/59649
934 * stor-layout.c (get_mode_bounds): For BImode return
935 0 and STORE_FLAG_VALUE.
936
937 2014-01-08 Richard Biener <rguenther@suse.de>
938
939 PR middle-end/59630
940 * gimple.h (is_gimple_builtin_call): Remove.
941 (gimple_builtin_call_types_compatible_p): New.
942 (gimple_call_builtin_p): New overload.
943 * gimple.c (is_gimple_builtin_call): Remove.
944 (validate_call): Rename to ...
945 (gimple_builtin_call_types_compatible_p): ... this and export. Also
946 check return types.
947 (validate_type): New static function.
948 (gimple_call_builtin_p): New overload and adjust.
949 * gimple-fold.c (gimple_fold_builtin): Fold the return value.
950 (gimple_fold_call): Likewise. Use gimple_call_builtin_p.
951 (gimple_fold_stmt_to_constant_1): Likewise.
952 * tsan.c (instrument_gimple): Use gimple_call_builtin_p.
953
954 2014-01-08 Richard Biener <rguenther@suse.de>
955
956 PR middle-end/59471
957 * gimplify.c (gimplify_expr): Gimplify register-register type
958 VIEW_CONVERT_EXPRs to separate stmts.
959
960 2014-01-07 Jeff Law <law@redhat.com>
961
962 PR middle-end/53623
963 * ree.c (combine_set_extension): Handle case where source
964 and destination registers in an extension insn are different.
965 (combine_reaching_defs): Allow source and destination registers
966 in extension to be different under limited circumstances.
967 (add_removable_extension): Remove restriction that the
968 source and destination registers in the extension are the same.
969 (find_and_remove_re): Emit a copy from the extension's
970 destination to its source after the defining insn if
971 the source and destination registers are different.
972
973 PR middle-end/59285
974 * ifcvt.c (merge_if_block): If we are merging a block with more than
975 one successor with a block with no successors, remove any BARRIER
976 after the second block.
977
978 2014-01-07 Dan Xio Qiang <ziyan01@163.com>
979
980 * hw-doloop.c (reorg_loops): Release the bitmap obstack.
981
982 2014-01-07 John David Anglin <danglin@gcc.gnu.org>
983
984 PR target/59652
985 * config/pa/pa.c (pa_legitimate_address_p): Return false before reload
986 for 14-bit register offsets when INT14_OK_STRICT is false.
987
988 2014-01-07 Roland Stigge <stigge@antcom.de>
989 Michael Meissner <meissner@linux.vnet.ibm.com>
990
991 PR 57386/target
992 * config/rs6000/rs6000.c (rs6000_legitimate_offset_address_p):
993 Only check TFmode for SPE constants. Don't check TImode or TDmode.
994
995 2014-01-07 James Greenhalgh <james.greenhalgh@arm.com>
996
997 * config/aarch64/aarch64-elf.h (ASM_SPEC): Remove identity spec for
998 -mcpu.
999
1000 2014-01-07 Yufeng Zhang <yufeng.zhang@arm.com>
1001
1002 * config/arm/arm.c (arm_expand_neon_args): Call expand_expr
1003 with EXPAND_MEMORY for NEON_ARG_MEMORY; check if the returned
1004 rtx is const0_rtx or not.
1005
1006 2014-01-07 Richard Sandiford <rdsandiford@googlemail.com>
1007
1008 PR target/58115
1009 * target-globals.c (save_target_globals): Remove this_fn_optab
1010 handling.
1011 * toplev.c: Include optabs.h.
1012 (target_reinit): Temporarily restore the global options if another
1013 set of options are in force.
1014
1015 2014-01-07 Jakub Jelinek <jakub@redhat.com>
1016
1017 PR rtl-optimization/58668
1018 * cfgcleanup.c (flow_find_cross_jump): Don't count
1019 any jumps if dir_p is NULL. Remove p1 variable, use active_insn_p
1020 to determine what is counted.
1021 (flow_find_head_matching_sequence): Use active_insn_p to determine
1022 what is counted.
1023 (try_head_merge_bb): Adjust for the flow_find_head_matching_sequence
1024 counting change.
1025 * ifcvt.c (count_bb_insns): Use active_insn_p && !JUMP_P to
1026 determine what is counted.
1027
1028 PR tree-optimization/59643
1029 * tree-predcom.c (split_data_refs_to_components): If one dr is
1030 read and one write, determine_offset fails and the write isn't
1031 in the bad component, just put the read into the bad component.
1032
1033 2014-01-07 Mike Stump <mikestump@comcast.net>
1034 Jakub Jelinek <jakub@redhat.com>
1035
1036 PR pch/59436
1037 * tree-core.h (struct tree_optimization_option): Change optabs
1038 type from unsigned char * to void *.
1039 * optabs.c (init_tree_optimization_optabs): Adjust
1040 TREE_OPTIMIZATION_OPTABS initialization.
1041
1042 2014-01-06 Jakub Jelinek <jakub@redhat.com>
1043
1044 PR target/59644
1045 * config/i386/i386.h (struct machine_function): Add
1046 no_drap_save_restore field.
1047 * config/i386/i386.c (ix86_save_reg): Use
1048 !cfun->machine->no_drap_save_restore instead of
1049 crtl->stack_realign_needed.
1050 (ix86_finalize_stack_realign_flags): Don't clear drap_reg unless
1051 this function clears frame_pointer_needed. Set
1052 cfun->machine->no_drap_save_restore if clearing frame_pointer_needed
1053 and DRAP reg is needed.
1054
1055 2014-01-06 Marek Polacek <polacek@redhat.com>
1056
1057 PR c/57773
1058 * doc/implement-c.texi: Mention that other integer types are
1059 permitted as bit-field types in strictly conforming mode.
1060
1061 2014-01-06 Felix Yang <fei.yang0953@gmail.com>
1062
1063 * modulo-sched.c (schedule_reg_moves): Clear distance1_uses if it
1064 is newly allocated.
1065
1066 2014-01-06 Richard Earnshaw <rearnsha@arm.com>
1067
1068 * aarch64.c (aarch64_rtx_costs): Fix cost calculation for MADD.
1069
1070 2014-01-06 Martin Jambor <mjambor@suse.cz>
1071
1072 PR ipa/59008
1073 * ipa-cp.c (ipcp_discover_new_direct_edges): Changed param_index type
1074 to int.
1075 * ipa-prop.c (ipa_print_node_params): Fix indentation.
1076
1077 2014-01-06 Eric Botcazou <ebotcazou@adacore.com>
1078
1079 PR debug/59350
1080 PR debug/59510
1081 * var-tracking.c (add_stores): Preserve the value of the source even if
1082 we don't record the store.
1083
1084 2014-01-06 Terry Guo <terry.guo@arm.com>
1085
1086 * config.gcc (arm*-*-*): Check --with-arch against arm-arches.def.
1087
1088 2014-01-05 Iain Sandoe <iain@codesourcery.com>
1089
1090 PR bootstrap/59541
1091 * config/darwin.c (darwin_function_section): Adjust return values to
1092 correspond to optimisation changes made in r206070.
1093
1094 2014-01-05 Uros Bizjak <ubizjak@gmail.com>
1095
1096 * config/i386/i386.c (ix86_data_alignment): Calculate max_align
1097 from prefetch_block tune setting.
1098 (nocona_cost): Correct size of prefetch block to 64.
1099
1100 2014-01-04 Eric Botcazou <ebotcazou@adacore.com>
1101
1102 * config/arm/arm.c (arm_get_frame_offsets): Revamp long lines.
1103 (arm_expand_epilogue_apcs_frame): Take into account the number of bytes
1104 used to save the static chain register in the computation of the offset
1105 from which the FP registers need to be restored.
1106
1107 2014-01-04 Jakub Jelinek <jakub@redhat.com>
1108
1109 PR tree-optimization/59519
1110 * tree-vect-loop-manip.c (slpeel_update_phi_nodes_for_guard1): Don't
1111 ICE if get_current_def (current_new_name) is already non-NULL, as long
1112 as it is a phi result of some other phi in *new_exit_bb that has
1113 the same argument.
1114
1115 * config/i386/sse.md (avx512f_load<mode>_mask): Emit vmovup{s,d}
1116 or vmovdqu* for misaligned_operand.
1117 (<sse>_loadu<ssemodesuffix><avxsizesuffix><mask_name>,
1118 <sse2_avx_avx512f>_loaddqu<mode><mask_name>): Handle <mask_applied>.
1119 * config/i386/i386.c (ix86_expand_special_args_builtin): Set
1120 aligned_mem for AVX512F masked aligned load and store builtins and for
1121 non-temporal moves.
1122
1123 2014-01-03 Bingfeng Mei <bmei@broadcom.com>
1124
1125 PR tree-optimization/59651
1126 * tree-vect-loop-manip.c (vect_create_cond_for_alias_checks):
1127 Address range for negative step should be added by TYPE_SIZE_UNIT.
1128
1129 2014-01-03 Andreas Schwab <schwab@linux-m68k.org>
1130
1131 * config/m68k/m68k.c (handle_move_double): Handle pushes with
1132 overlapping registers also for registers other than the stack pointer.
1133
1134 2014-01-03 Marek Polacek <polacek@redhat.com>
1135
1136 PR other/59661
1137 * doc/extend.texi: Fix the return value of __builtin_FUNCTION and
1138 __builtin_FILE.
1139
1140 2014-01-03 Jakub Jelinek <jakub@redhat.com>
1141
1142 PR target/59625
1143 * config/i386/i386.c (ix86_avoid_jump_mispredicts): Don't consider
1144 asm goto as jump.
1145
1146 * config/i386/i386.md (MODE_SIZE): New mode attribute.
1147 (push splitter): Use <P:MODE_SIZE> instead of
1148 GET_MODE_SIZE (<P:MODE>mode).
1149 (lea splitter): Use <MODE_SIZE> instead of GET_MODE_SIZE (<MODE>mode).
1150 (mov -1, reg peephole2): Likewise.
1151 * config/i386/sse.md (*mov<mode>_internal,
1152 <sse>_storeu<ssemodesuffix><avxsizesuffix>,
1153 <sse2_avx_avx512f>_storedqu<mode>, <sse>_andnot<mode>3,
1154 *<code><mode>3, *andnot<mode>3<mask_name>,
1155 <mask_codefor><code><mode>3<mask_name>): Likewise.
1156 * config/i386/subst.md (mask_mode512bit_condition,
1157 sd_mask_mode512bit_condition): Likewise.
1158
1159 2014-01-02 Xinliang David Li <davidxl@google.com>
1160
1161 PR tree-optimization/59303
1162 * tree-ssa-uninit.c (is_use_properly_guarded): Main cleanup.
1163 (dump_predicates): Better output format.
1164 (pred_equal_p): New function.
1165 (is_neq_relop_p): Ditto.
1166 (is_neq_zero_form_p): Ditto.
1167 (pred_expr_equal_p): Ditto.
1168 (pred_neg_p): Ditto.
1169 (simplify_pred): Ditto.
1170 (simplify_preds_2): Ditto.
1171 (simplify_preds_3): Ditto.
1172 (simplify_preds_4): Ditto.
1173 (simplify_preds): Ditto.
1174 (push_pred): Ditto.
1175 (push_to_worklist): Ditto.
1176 (get_pred_info_from_cmp): Ditto.
1177 (is_degenerated_phi): Ditto.
1178 (normalize_one_pred_1): Ditto.
1179 (normalize_one_pred): Ditto.
1180 (normalize_one_pred_chain): Ditto.
1181 (normalize_preds): Ditto.
1182 (normalize_cond_1): Remove function.
1183 (normalize_cond): Ditto.
1184 (is_gcond_subset_of): Ditto.
1185 (is_subset_of_any): Ditto.
1186 (is_or_set_subset_of): Ditto.
1187 (is_and_set_subset_of): Ditto.
1188 (is_norm_cond_subset_of): Ditto.
1189 (pred_chain_length_cmp): Ditto.
1190 (convert_control_dep_chain_into_preds): Type change.
1191 (find_predicates): Ditto.
1192 (find_def_preds): Ditto.
1193 (destroy_predicates_vecs): Ditto.
1194 (find_matching_predicates_in_rest_chains): Ditto.
1195 (use_pred_not_overlap_with_undef_path_pred): Ditto.
1196 (is_pred_expr_subset): Ditto.
1197 (is_pred_chain_subset_of): Ditto.
1198 (is_included_in): Ditto.
1199 (is_superset_of): Ditto.
1200
1201 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1202
1203 Update copyright years.
1204
1205 2014-01-02 Richard Sandiford <rdsandiford@googlemail.com>
1206
1207 * common/config/arc/arc-common.c, config/arc/arc-modes.def,
1208 config/arc/arc-protos.h, config/arc/arc.c, config/arc/arc.h,
1209 config/arc/arc.md, config/arc/arc.opt,
1210 config/arm/arm_neon_builtins.def, config/arm/crypto.def,
1211 config/i386/avx512cdintrin.h, config/i386/avx512erintrin.h,
1212 config/i386/avx512fintrin.h, config/i386/avx512pfintrin.h,
1213 config/i386/btver2.md, config/i386/shaintrin.h, config/i386/slm.md,
1214 config/linux-protos.h, config/linux.c, config/winnt-c.c,
1215 diagnostic-color.c, diagnostic-color.h, gimple-ssa-isolate-paths.c,
1216 vtable-verify.c, vtable-verify.h: Use the standard form for the
1217 copyright notice.
1218
1219 2014-01-02 Tobias Burnus <burnus@net-b.de>
1220
1221 * gcc.c (process_command): Update copyright notice dates.
1222 * gcov-dump.c: Ditto.
1223 * gcov.c: Ditto.
1224 * doc/cpp.texi: Bump @copying's copyright year.
1225 * doc/cppinternals.texi: Ditto.
1226 * doc/gcc.texi: Ditto.
1227 * doc/gccint.texi: Ditto.
1228 * doc/gcov.texi: Ditto.
1229 * doc/install.texi: Ditto.
1230 * doc/invoke.texi: Ditto.
1231
1232 2014-01-01 Jan-Benedict Glaw <jbglaw@lug-owl.de>
1233
1234 * config/nios2/nios2.h (BITS_PER_UNIT): Don't define it.
1235
1236 2014-01-01 Jakub Jelinek <jakub@redhat.com>
1237
1238 * config/i386/sse.md (*mov<mode>_internal): Guard
1239 EXT_REX_SSE_REGNO_P (REGNO ()) uses with REG_P.
1240
1241 PR rtl-optimization/59647
1242 * cse.c (cse_process_notes_1): Don't substitute negative VOIDmode
1243 new_rtx into UNSIGNED_FLOAT rtxes.
1244 \f
1245 Copyright (C) 2014 Free Software Foundation, Inc.
1246
1247 Copying and distribution of this file, with or without modification,
1248 are permitted in any medium without royalty provided the copyright
1249 notice and this notice are preserved.