re PR rtl-optimization/55686 (ICE in assign_by_spills, at lra-assigns.c:1244)
[platform/upstream/gcc.git] / gcc / ChangeLog
1 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
2
3         PR target/55686
4         * config/i386/i386.md (UNSPEC_STOS): New.
5         (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
6         *strsetqi_1): Add UNSPEC_STOS.
7
8 2013-01-22  Paolo Carlini  <paolo.carlini@oracle.com>
9
10         PR c++/56067
11         * doc/invoke.texi: Remove left over -Wsynth example.
12
13 2013-01-21  Jakub Jelinek  <jakub@redhat.com>
14
15         PR tree-optimization/56051
16         * fold-const.c (fold_binary_loc): Don't fold
17         X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
18         a narrowing conversion, or widening conversion from signed
19         to unsigned.
20
21 2012-01-21  Uros Bizjak  <ubizjak@gmail.com>
22
23         PR rtl-optimization/56023
24         * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
25         dependent on debug instruction.
26
27 2013-01-21  Martin Jambor  <mjambor@suse.cz>
28
29         PR middle-end/56022
30         * function.c (allocate_struct_function): Call
31         invoke_set_current_function_hook earlier.
32
33 2013-01-21  Jakub Jelinek  <jakub@redhat.com>
34
35         * reload1.c (init_reload): Only initialize reload_obstack
36         during the first call.
37
38 2013-01-21  Marek Polacek  <polacek@redhat.com>
39
40         * cfgloop.c (verify_loop_structure): Fix up grammar.
41
42 2013-01-21  Yi-Hsiu Hsu  <ahsu@marvell.com>
43
44         * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
45         pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
46
47 2013-01-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
48
49         PR target/56058
50         * config/arm/marvell-pj4.md: Update copyright year.
51         Fix up use of alu to alu_reg and simple_alu_imm.
52
53 2012-01-21  Uros Bizjak  <ubizjak@gmail.com>
54
55         * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
56
57 2013-01-20  Vladimir Makarov  <vmakarov@redhat.com>
58
59         PR target/55433
60         * lra-constraints.c (curr_insn_transform): Don't reuse original
61         insn for secondary memory move when memory mode should be different.
62
63 2013-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
64
65         * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
66         atomic_storedi_1): New patterns.
67
68 2013-01-20  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
69
70         btver2 pipeline descriptions.
71         * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
72         descriptions.
73         * config/i386/i386.md (btver2_decode): New type attributes.
74         * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
75         type attributes.
76         * config/i386/btver2.md: New file describing btver2 pipelines.
77
78 2013-01-19  Andrew Pinski  <apinski@cavium.com>
79
80         PR tree-optimization/52631
81         * tree-ssa-sccvn (visit_use): Before looking up the original
82         statement, try looking up the simplified expression.
83
84 2013-01-19  Anthony Green  <green@moxielogic.com>
85
86         * config/moxie/moxie.c (moxie_expand_prologue): Set
87         current_function_static_stack_size.
88
89 2013-01-18  Jakub Jelinek  <jakub@redhat.com>
90
91         PR tree-optimization/56029
92         * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
93         gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
94
95 2013-01-18  Sharad Singhai  <singhai@google.com>
96
97         PR tree-optimization/55995
98         * dumpfile.c (dump_loc): Print location only if available.
99         * tree-vectorizer.c (increase_alignment): Intialize vect_location.
100
101 2013-01-18  Vladimir Makarov  <vmakarov@redhat.com>
102
103         PR target/55433
104         * lra-constraints.c (curr_insn_transform): Reuse original insn for
105         secondary memory move.
106         (inherit_reload_reg): Use rclass instead of cl for
107         check_secondary_memory_needed_p.
108
109 2013-01-18  Jakub Jelinek  <jakub@redhat.com>
110
111         PR middle-end/56015
112         * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
113         the case where writing real complex part of target modifies op1.
114
115 2013-01-18  James Greenhalgh  <james.greenhalgh@arm.com>
116
117         * config/aarch64/aarch64-simd.md
118         (aarch64_vcond_internal<mode>): Handle unordered cases.
119         * config/aarch64/iterators.md (v_cmp_result): New.
120
121 2013-01-18  Yi-Hsiu Hsu  <ahsu@marvell.com>
122             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
123
124         * config/arm/marvell-pj4.md: New file.
125         * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
126         * config/arm/arm.md (generic_sched): Add marvell_pj4.
127         (generic_vfp): Likewise.
128         * config/arm/arm-cores.def: Add marvell-pj4.
129         * config/arm/arm-tune.md: Regenerate.
130         * config/arm/arm-tables.opt: Regenerate.
131         * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
132         * doc/invoke.texi: Document marvell-pj4.
133
134 2013-01-18  Tejas Belagod  <tejas.belagod@arm.com>
135
136         * config/aarch64/arm_neon.h: Map scalar types to standard types.
137
138 2013-01-18  Alexandre Oliva <aoliva@redhat.com>
139
140         PR debug/54114
141         PR debug/54402
142         PR debug/49888
143         * var-tracking.c (negative_power_of_two_p): New.
144         (global_get_addr_cache, local_get_addr_cache): New.
145         (get_addr_from_global_cache, get_addr_from_local_cache): New.
146         (vt_canonicalize_addr): Rewrite using the above.  Adjust the
147         heading comment.
148         (vt_stack_offset_p): Remove.
149         (vt_canon_true_dep): Always canonicalize loc's address.
150         (clobber_overlapping_mems): Make sure we have a MEM.
151         (local_get_addr_clear_given_value): New.
152         (val_reset): Clear local cached entries.
153         (compute_bb_dataflow): Create and release the local cache.
154         Disable duplicate MEMs clobbering.
155         (emit_notes_in_bb): Clobber MEMs likewise.
156         (vt_emit_notes): Create and release the local cache.
157         (vt_initialize, vt_finalize): Create and release the global
158         cache, respectively.
159         * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
160
161 2013-01-18  Alexandre Oliva <aoliva@redhat.com>
162
163         PR libmudflap/53359
164         * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
165         not found in the symtab.
166
167 2013-01-18  Alexandre Oliva <aoliva@redhat.com>
168
169         PR debug/56006
170         PR rtl-optimization/55547
171         PR rtl-optimization/53827
172         PR debug/53671
173         PR debug/49888
174         * alias.c (offset_overlap_p): New, factored out of...
175         (memrefs_conflict_p): ... this.  Use absolute sizes.  Retain
176         the conservative special case for symbolic constants.  Don't
177         adjust zero sizes on alignment.
178
179 2013-01-18  Bernd Schmidt  <bernds@codesourcery.com>
180
181         PR rtl-optimization/52573
182         * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
183         REG_UNUSED for the same register.
184
185 2013-01-17  Richard Biener  <rguenther@suse.de>
186             Marek Polacek  <polacek@redhat.com>
187
188         PR rtl-optimization/55833
189         * loop-unswitch.c (unswitch_loops): Move loop verification...
190         (unswitch_single_loop): ...here.  Call mark_irreducible_loops.
191         * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
192         Set it to true when we're removing a loop from hierarchy tree in
193         an irreducible region.
194         (fix_bb_placements): Adjust caller.
195         (fix_loop_placements): Likewise.
196
197 2013-01-17  Georg-Johann Lay  <avr@gjlay.de>
198
199         * config/avr/builtins.def (DEF_BUILTIN): Factor out
200         "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
201         Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
202         Remove ID.  Adjust comments.
203         * config/avr/avr-c.c (avr_builtin_name): Remove.
204         (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
205         * config/avr/avr.c (avr_tolower): New static function.
206         (DEF_BUILTIN): Remove parameter ID.  Prefix ICODE by 'CODE_FOR_'.
207         Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
208         (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
209         default expansion.
210
211 2013-01-17  Jan Hubicka  <jh@suse.cz>
212
213         PR tree-optimization/55273
214         * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
215
216 2012-01-17  Uros Bizjak  <ubizjak@gmail.com>
217
218         PR target/55981
219         * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
220         store through atomic_store<mode>_1.
221         (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
222
223 2013-01-17  Martin Jambor  <mjambor@suse.cz>
224
225         PR tree-optimizations/55264
226         * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
227         for virtual methods.
228         * ipa.c (symtab_remove_unreachable_nodes): Never return true for
229         virtual methods before inlining is over.
230         * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
231         virtual functions.
232         * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
233         non-virtual.
234
235 2013-01-16  Vladimir Makarov  <vmakarov@redhat.com>
236
237         PR rtl-optimization/56005
238         * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
239         pending reads for prefetch.
240
241 2013-01-16  Ian Bolton  <ian.bolton@arm.com>
242
243         * gcc/config/aarch64/aarch64.md
244         (*cstoresi_neg_uxtw): New pattern.
245         (*cmovsi_insn_uxtw): New pattern.
246         (*<optab>si3_uxtw): New pattern.
247         (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
248         (*<optab>si3_insn_uxtw): New pattern.
249         (*bswapsi2_uxtw): New pattern.
250
251 2013-01-16  Richard Biener  <rguenther@suse.de>
252
253         * tree-inline.c (tree_function_versioning): Remove set but
254         never used variable.
255
256 2013-01-16  Richard Biener  <rguenther@suse.de>
257
258         PR tree-optimization/55964
259         * tree-flow.h (rename_variables_in_loop): Remove.
260         (rename_variables_in_bb): Likewise.
261         * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
262         (copy_loop_before): Adjust and delete update-ssa status.
263         * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
264         (rename_variables_in_bb): Likewise.  Properly walk over predecessors.
265         (rename_variables_in_loop): Remove.
266         (slpeel_update_phis_for_duplicate_loop): Likewise.
267         (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
268         use available cfg machinery instead of duplicating it.
269         Update PHI nodes and perform poor-mans SSA update here.
270         (slpeel_tree_peel_loop_to_edge): Adjust.
271
272 2013-01-16  Richard Biener  <rguenther@suse.de>
273
274         PR tree-optimization/54767
275         PR tree-optimization/53465
276         * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
277         (vrp_visit_phi_node): For PHI arguments coming via backedges
278         drop all symbolical range information.
279         (execute_vrp): Compute backedges.
280
281 2013-01-16  Richard Biener  <rguenther@suse.de>
282
283         * doc/install.texi: Update CLooG and ISL requirements to
284         0.18.0 and 0.11.1.
285
286 2013-01-16  Christian Bruel  <christian.bruel@st.com>
287
288         PR target/55301
289         * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
290         (broken_move): Handle UNSPECV_SP_SWITCH_B.
291         * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
292
293 2013-01-16  DJ Delorie  <dj@redhat.com>
294
295         * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
296         (UNSPECV_SP_SWITCH_E): New.
297         (sp_switch_1): Change to an unspec.
298         (sp_switch_2): Change to an unspec.  Don't use post-inc when we
299         replace $r15.
300
301 2013-01-16  Uros Bizjak  <ubizjak@gmail.com>
302
303         * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
304         with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
305         * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
306         (expand_mem_thread_fence): Ditto.
307         (expand_mem_signal_fence): Ditto.
308         (expand_atomic_load): Ditto.
309         (expand_atomic_store): Ditto.
310
311 2013-01-16  Alexandre Oliva <aoliva@redhat.com>
312
313         PR rtl-optimization/55547
314         PR rtl-optimization/53827
315         PR debug/53671
316         PR debug/49888
317         * alias.c (memrefs_conflict_p): Set sizes to negative after
318         AND adjustments.
319
320 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
321
322         PR target/55940
323         * function.c (thread_prologue_and_epilogue_insns): Always
324         add crtl->drap_reg to set_up_by_prologue.set, even if
325         stack_realign_drap is false.
326
327 2013-01-15  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
328
329         * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
330         and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
331         *call): Fix indention.
332
333 2013-01-15  Tom de Vries  <tom@codesourcery.com>
334
335         PR target/55876
336         * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
337         Update comment.
338
339 2013-01-15  Vladimir Makarov  <vmakarov@redhat.com>
340
341         PR rtl-optimization/55153
342         * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
343
344 2013-01-15  Martin Jambor  <mjambor@suse.cz>
345
346         PR tree-optimization/55920
347         * tree-sra.c (analyze_access_subtree): Do not mark non-removable
348         accesses as grp_to_be_debug_replaced.
349
350 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
351
352         PR tree-optimization/55920
353         * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
354         there is non-useless type conversion needed from debug rhs to lhs,
355         use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
356
357 2013-01-15  Joseph Myers  <joseph@codesourcery.com>
358             Mikael Pettersson  <mikpe@it.uu.se>
359
360         PR target/43961
361         * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
362         Thumb.
363         (ASM_OUTPUT_CASE_LABEL): Remove.
364         (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
365         * final.c (shorten_branches): Update alignment of labels before
366         jump tables if CASE_VECTOR_SHORTEN_MODE.
367
368 2013-01-15  Richard Biener  <rguenther@suse.de>
369
370         PR bootstrap/55961
371         * system.h: Do not include gmp.h for building host tools.
372
373 2013-01-15  Richard Biener  <rguenther@suse.de>
374
375         PR middle-end/55882
376         * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
377         account for bitpos when computing alignment.
378
379 2013-01-15  Vladimir Yakovlev  <vladimir.b.yakovlev@intel.com>
380
381         * config/i386/i386-c.c (ix86_target_macros_internal): New case.
382         (ix86_target_macros_internal): Likewise.
383
384         * config/i386/i386.c (m_CORE2I7): Removed.
385         (m_CORE_HASWELL): New macro.
386         (m_CORE_ALL): Likewise.
387         (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
388         (initial_ix86_arch_features): Likewise.
389         (processor_target_table): Initializations for Core avx2.
390         (cpu_names): New names "core-avx2".
391         (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
392         PROCESSOR_CORE_HASWELL.
393         (ix86_issue_rate): New case.
394         (ia32_multipass_dfa_lookahead): Likewise.
395         (ix86_sched_init_global): Likewise.
396
397         * config/i386/i386.h (TARGET_HASWELL): New macro.
398         (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
399         (processor_type): New PROCESSOR_HASWELL.
400
401 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
402
403         PR tree-optimization/55955
404         * tree-vect-loop.c (vectorizable_reduction): Give up early on
405         *SHIFT_EXPR and *ROTATE_EXPR codes.
406
407         PR tree-optimization/48766
408         * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
409         -ftrapv disable -fwrapv.
410
411 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
412
413         PR target/55974
414         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
415         etc. to 1 and not to __flash.
416         Use LL suffix for __INT24_MAX__ with -mint8.
417         Use ULL suffix for __UINT24_MAX__ with -mint8.
418
419 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
420
421         * config/avr/avr-arch.h
422         (struct base_arch_s): Use typedef avr_arch_t instead.
423         (struct arch_info_s): Use typedef avr_arch_info_t instead.
424         (struct mcu_type_s): Use typedef avr_mcu_t instead.
425         * config/avr/avr.c: Same.
426         * config/avr/avr-devices.c: Same.
427         * config/avr/driver-avr.c: Same.
428         * config/avr/gen-avr-mmcu-texi.c: Same.
429         * config/avr/avr-mcus.def: Adjust comment.
430
431 2013-01-14  Tejas Belagod  <tejas.belagod@arm.com>
432
433         * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
434         * config/aarch64/iterators.md (VALLDI): New.
435
436 2012-01-14  Uros Bizjak  <ubizjak@gmail.com>
437             Andi Kleen  <ak@linux.intel.com>
438
439         PR target/55948
440         * config/i386/sync.md (atomic_store<mode>_1): New pattern.
441         (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
442         memmodel flag.
443
444 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
445
446         * config/avr/avr-stdint.h: Remove trailing blanks.
447         * config/avr/avr-log.h: Same.
448         * config/avr/avr-arch.h: Same.
449         * config/avr/avr-devices.c: Same.
450         * config/avr/avr-dimode.md: Same.
451         * config/avr/predicates.md: Same.
452         * config/avr/avr-c.c: Same.  And fix typo.
453
454         * config/avr/avr-protos.h: Same.  And:
455         (function_arg_regno_p): Rename to avr_function_arg_regno_p.
456         (init_cumulative_args): Rename to avr_init_cumulative_args.
457         (expand_prologue): Rename to avr_expand_prologue.
458         (expand_epilogue): Rename to avr_expand_epilogue.
459         (adjust_insn_length): Rename to avr_adjust_insn_length.
460         (notice_update_cc): Rename to avr_notice_update_cc.
461         (final_prescan_insn): Rename to avr_final_prescan_insn.
462         * config/avr/avr.c: Same.
463         * config/avr/avr.h: Same.
464         * config/avr/avr.md: Remove trailing blanks.
465         (prologue): Use avr_expand_prologue.
466         (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
467
468 2013-01-14  Richard Biener  <rguenther@suse.de>
469
470         * tree-cfg.c (verify_expr_location, verify_expr_location_1,
471         verify_location, collect_subblocks): New functions.
472         (verify_gimple_in_cfg): Verify that locations only reference
473         BLOCKs in the functions BLOCK tree.
474
475 2013-01-14  Richard Biener  <rguenther@suse.de>
476
477         * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
478         PHI argument.
479         * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
480         unshare reference.
481         (insert_out_of_ssa_copy_on_edge): Likewise.
482         (rewrite_close_phi_out_of_ssa): Likewise.
483         * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
484         debug expressions.
485         * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
486         propagated constants.
487         * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
488         can not be shared.
489
490 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
491
492         * config/avr/avr-modes.def: Add GPL copyright notice.
493
494 2013-01-13  Uros Bizjak  <ubizjak@gmail.com>
495
496         * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
497         MEMMODEL_MASK to determine memory model.
498         (atomic_store<mode>): Ditto from operands[2].
499         * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
500
501 2013-01-13  Jakub Jelinek  <jakub@redhat.com>
502
503         PR fortran/55935
504         * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
505         (fold_gimple_assign): Don't call unshare_expr here.
506         (fold_ctor_reference): Call unshare_expr.
507
508 2013-01-13  Terry Guo  <terry.guo@arm.com>
509
510         * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
511         * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
512         * gcc/gcc.c (multilib_reuse): New internal spec.
513         (set_multilib_dir): Also search multilib from multilib_reuse.
514         * gcc/genmultilib (tmpmultilib3): Refactor code.
515         (tmpmultilib4): Ditto.
516         (multilib_reuse): New multilib argument.
517
518 2013-01-13  Richard Sandiford  <rdsandiford@googlemail.com>
519
520         * Makefile.in: Update copyright.
521
522 2013-01-12  Tom de Vries  <tom@codesourcery.com>
523
524         PR middle-end/55890
525         * calls.c (expand_call): Check if arg_nr is valid.
526
527 2013-01-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
528
529         * doc/extend.texi (X86 Built-in Functions): Add whitespace in
530         __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
531         documentation.  Add missing '__' in front of
532         __builtin_ia32_packssdw256.
533
534 2013-01-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
535
536         PR target/55719
537         * config/s390/s390.c (s390_preferred_reload_class): Do not return
538         NO_REGS for larl operands.
539         (s390_reload_larl_operand): Use s390_load_address instead of
540         emit_move_insn.
541
542 2013-01-11  Richard Biener  <rguenther@suse.de>
543
544         * tree-cfg.c (verify_node_sharing_1): Split out from ...
545         (verify_node_sharing): ... here.
546         (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
547
548 2013-01-11  Eric Botcazou  <ebotcazou@adacore.com>
549
550         * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
551         Substitute TREECHECKING.
552         * configure: Regenerate.
553         * Makefile.in (TREECHECKING): New.
554
555 2012-01-11  Richard Guenther  <rguenther@suse.de>
556
557         PR tree-optimization/44061
558         * tree-vrp.c (extract_range_basic): Compute zero as
559         value-range for __builtin_constant_p of function parameters.
560
561 2013-01-10  Richard Sandiford  <rdsandiford@googlemail.com>
562
563         Update copyright years.
564
565 2013-01-10  Vladimir Makarov  <vmakarov@redhat.com>
566
567         PR rtl-optimization/55672
568         * lra-eliminations.c (mark_not_eliminable): Permit addition with
569         const to be eliminable.
570
571 2013-01-10  David Edelsohn  <dje.gcc@gmail.com>
572
573         * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
574         * configure: Regenerate.
575
576 2013-01-10  Richard Biener  <rguenther@suse.de>
577
578         * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
579
580 2013-01-10  Richard Biener  <rguenther@suse.de>
581
582         PR bootstrap/55792
583         * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
584         locations for virtual PHI arguments.
585         (rewrite_update_phi_arguments): Likewise.
586
587 2013-01-10  Joel Sherrill  <joel.sherrill@OARcorp.com>
588
589         * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
590         on to assembler.
591
592 2013-01-10  Jakub Jelinek  <jakub@redhat.com>
593
594         PR tree-optimization/55921
595         * tree-complex.c (expand_complex_asm): New function.
596         (expand_complex_operations_1): Call it for GIMPLE_ASM.
597
598 2013-01-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
599
600         PR target/55718
601         * config/s390/s390.c (s390_symref_operand_p)
602         (s390_loadrelative_operand_p): Merge the two functions.
603         (s390_check_qrst_address, print_operand_address): Add parameters
604         to s390_loadrelative_operand_p invokation.
605         (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
606         (s390_reload_larl_operand, s390_secondary_reload): Use
607         s390_loadrelative_operand_p instead of s390_symref_operand_p.
608         (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
609
610 2013-01-09  Mike Stump  <mikestump@comcast.net>
611
612         * dse.c (record_store): Remove unnecessary assert.
613
614 2013-01-09  Jan Hubicka  <jh@suse.cz>
615
616         PR tree-optimization/55569
617         * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
618         * cfgloop.h (scale_loop_profile): Likewise.
619
620 2013-01-09  Jan Hubicka  <jh@suse.cz>
621
622         PR lto/45375
623         * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
624         functions.
625         * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
626
627 2013-01-09  Richard Sandiford  <rdsandiford@googlemail.com>
628
629         PR middle-end/55114
630         * expr.h (maybe_emit_group_store): Declare.
631         * expr.c (maybe_emit_group_store): New function.
632         * builtins.c (expand_builtin_int_roundingfn): Call it.
633         (expand_builtin_int_roundingfn_2): Likewise.
634
635 2013-01-09  Vladimir Makarov  <vmakarov@redhat.com>
636
637         PR rtl-optimization/55829
638         * lra-constraints.c (match_reload): Add code for absent output.
639         (curr_insn_transform): Add code for reloads of matched inputs
640         without output.
641
642 2013-01-09  Uros Bizjak  <ubizjak@gmail.com>
643
644         * config/i386/sse.md (*vec_interleave_highv2df): Change mode
645         attribute of movddup insn to DF.
646         (*vec_interleave_lowv2df): Ditto.
647         (vec_dupv2df): Ditto.
648
649 2013-01-09  Jan Hubicka  <jh@suse.cz>
650
651         PR tree-optimiation/55875
652         * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
653         EVERY_ITERATION parameter.
654         (number_of_iterations_exit): Check if exit is executed every iteration.
655         (idx_infer_loop_bounds): Similarly here.
656         (n_of_executions_at_most): Simplify
657         to only test for cases where statement is dominated by the
658         particular bound; handle correctly the "postdominance" test.
659         (scev_probably_wraps_p): Use max loop iterations info
660         as a global bound first.
661
662 2013-01-09  Nguyen Duy Dat  <dat.nguyen.yn@rvc.renesas.com>
663             Nick Clifton  <nickc@redhat.com>
664
665         * config/v850/v850.md (cbranchsf4): New pattern.
666         (cstoresf4): New pattern.
667         (cbranchdf4): New pattern.
668         (cstoredf4): New pattern.
669         (movsicc): Disallow floating point comparisons.
670         (cmpsf_le_insn): Fix order of operators.
671         (cmpsf_lt_insn): Likewise.
672         (cmpsf_eq_insn): Likewise.
673         (cmpdf_le_insn): Likewise.
674         (cmpdf_lt_insn): Likewise.
675         (cmpdf_eq_insn): Likewise.
676         (cmpsf_ge_insn): Use LE comparison.
677         (cmpdf_ge_insn): Likewise.
678         (cmpsf_gt_insn): Use LT comparison.
679         (cmpdf_gt_insn): Likewise.
680         (cmpsf_ne_insn): Delete pattern.
681         (cmpdf_ne_insn): Delete pattern.
682         * config/v850/v850.c (v850_gen_float_compare): Use
683         gen_cmpdf_eq_insn for NE comparison.
684         (v850_float_z_comparison_operator)
685         (v850_float_nz_comparison_operator): Move from here ...
686         * config/v850/predicates.md: ... to here.  Move GT and GE
687         comparisons into v850_float_z_comparison_operator.
688         * config/v850/v850-protos.h (v850_float_z_comparison_operator):
689         Delete prototype.
690         (v850_float_nz_comparison_operator): Likewise.
691
692 2013-01-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
693
694         * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
695         with calls to gen_insvsi/gen_insvdi.
696
697 2013-01-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
698
699         * config/i386/i386.c (initial_ix86_tune_features): Set up
700         X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
701
702 2013-01-09  Steven Bosscher  <steven@gcc.gnu.org>
703             Jakub Jelinek  <jakub@redhat.com>
704
705         PR tree-optimization/48189
706         * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
707         If nitercst is 0, don't predict the exit edge.
708
709 2013-01-08   Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
710
711         * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
712         in asm_fprintf with reg_names.
713         (aarch64_print_operand_address): Likewise.
714         (aarch64_return_addr): Likewise.
715         * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
716
717 2013-01-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
718
719         * config/pa/pa.h (VAL_U6_BITS_P): Define.
720         (INT_U6_BITS): Likewise.
721         * config/pa/predicates.md (uint6_operand): New predicate.
722         (shift5_operand, shift6_operand): Likewise.
723         * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
724         arith32_operand.
725         (lshrdi3): Use shift6_operand.
726         (shrpsi4, shrpdi4): New insn patterns.
727         (extzv): Delete expander.
728         (extzvsi, extzvdi): New expanders.  Use uint5_operand and uint6_operand
729         predicates in unamed zero extract patterns.  Tighten common constraint.
730         (extv): Delete expander.
731         (extvsi, extvdi): New expanders.  Use uint5_operand and uint6_operand
732         predicates in unamed sign extract patterns.  Tighten common constraint.
733         (insv): Delete expander.
734         (insvsi, insvdi): New expanders.  Use uint5_operand and uint6_operand
735         predicates in unamed insert patterns.  Tighten common constraint.
736         Change uint32_operand predicate to uint6_operand predicate in unamed
737         DImode pattern to insert constant values of type 1...1xxxx.
738
739 2013-01-04  Jan Hubicka  <jh@suse.cz>
740
741         PR tree-optimization/55823
742         * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
743         issue.
744
745 2012-01-08  Jakub Jelinek  <jakub@redhat.com>
746             Uros Bizjak  <ubizjak@gmail.com>
747
748         PR rtl-optimization/55845
749         * df-problems.c (can_move_insns_across): Stop scanning at
750         volatile_insn_p source instruction or give up if
751         across_from .. across_to range contains any volatile_insn_p
752         instructions.
753
754 2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
755
756         * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
757         * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
758         Declare.
759         * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
760         aarch64_simd_make_constant, aarch64_expand_vector_init): New.
761
762 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
763
764         PR fortran/55341
765         * asan.c (asan_clear_shadow): New function.
766         (asan_emit_stack_protection): Use it.
767
768 2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
769
770         * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
771         aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
772         with tab instead of space.
773
774 2013-01-08  Nick Clifton  <nickc@redhat.com>
775
776         * config/rl78/rl78.c (rl78_expand_prologue): Always select
777         register bank 0 at the start of an interrupt handler.
778         * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
779         MDBH registers.
780
781 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
782
783         * config/aarch64/aarch64-simd.md
784         (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
785         (aarch64_simd_bsl): Likewise.
786         (aarch64_vcond_internal<mode>): Likewise.
787         (vcond<mode><mode>): Likewise.
788         (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
789         * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
790
791 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
792
793         * config/aarch64/aarch64-builtins.c
794         (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
795
796 2013-01-08  Martin Jambor  <mjambor@suse.cz>
797
798         PR debug/55579
799         * tree-sra.c (analyze_access_subtree): Return true also after
800         potentially creating a debug-only replacement.
801
802 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
803
804         PR middle-end/55890
805         * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
806
807         PR tree-optimization/54120
808         * tree-vrp.c (range_fits_type_p): Don't allow
809         src_precision < precision from signed vr to unsigned_p
810         if vr->min or vr->max is negative.
811         (simplify_float_conversion_using_ranges): Test can_float_p
812         against CODE_FOR_nothing.
813
814 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
815             Richard Biener  <rguenther@suse.de>
816
817         PR middle-end/55851
818         * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
819         types instead of just INTEGER_TYPE types.
820
821 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
822
823         * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
824         TF_SIZE): Define.
825
826 2013-01-07  Steve Ellcey  <sellcey@mips.com>
827
828         PR target/42661
829         * config/mips/mips.opt: Change mad to mmad to match documentation.
830
831 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
832
833         PR target/55897
834         * doc/extend.texi (AVR Named Address Spaces): __memx goes into
835         .progmemx.data now.
836
837 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
838
839         PR target/55897
840         * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
841         (avr_addrspace_t): Add .section_name field.
842         * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
843         array size.
844         (avr_addrspace): Same.  Initialize .section_name.  Remove last
845         NULL entry.  Put __memx into .progmemx.data.
846         (progmem_section_prefix): Remove.
847         (avr_asm_init_sections): No need to initialize progmem_section.
848         (avr_asm_named_section): Use avr_addrspace[].section_name to get
849         section name prefix.
850         (avr_asm_select_section): Ditto.  And use get_unnamed_section to
851         retrieve the progmem section.
852         * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
853         boundary to run over avr_addrspace[].
854         (avr_register_target_pragmas): Ditto.
855
856 2013-01-06  Jakub Jelinek  <jakub@redhat.com>
857
858         * varasm.c (output_constant_def_contents): For asan_protect_global
859         protected strings, adjust DECL_ALIGN if needed, before testing for
860         anchored symbols.
861         (place_block_symbol): Adjust size for asan protected STRING_CSTs if
862         TREE_CONSTANT_POOL_ADDRESS_P.  Increase alignment for asan protected
863         normal decls.
864         (output_object_block): For asan protected decls, emit asan padding
865         after their contents.
866         * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
867         (asan_finish_file): Test it here instead.
868
869 2013-01-07   Nick Clifton  <nickc@redhat.com>
870              Matthias Klose <doko@debian.org>
871              Doug Kwan  <dougkwan@google.com>
872              H.J. Lu  <hongjiu.lu@intel.com>
873
874         PR driver/55470
875         * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
876
877         * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
878
879         * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
880
881         * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
882
883         * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
884
885 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
886
887         PR target/54461
888         * doc/install.texi (Cross-Compiler-Specific Options): Document
889         --with-avrlibc.
890
891 2013-01-07  Tejas Belagod  <tejas.belagod@arm.com>
892
893         * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
894         vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
895         vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
896         vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
897         vqmovun_high_s64): Fix source operand number and update copyright.
898
899 2013-01-07  Richard Biener  <rguenther@suse.de>
900
901         PR middle-end/55890
902         * gimple.h (gimple_call_builtin_p): New overload.
903         * gimple.c (validate_call): New function.
904         (gimple_call_builtin_p): Likewise.
905         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
906         Use gimple_call_builtin_p.
907         (find_func_clobbers): Likewise.
908         * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
909         (strlen_optimize_stmt): Likewise.
910
911 2013-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
912
913         * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
914         (vld1q_dup_*): Likewise.
915         (vld1_*): Likewise.
916         (vld1q_*): Likewise.
917         (vld1_lane_*): Likewise.
918         (vld1q_lane_*): Likewise.
919
920 2013-01-07  Richard Biener  <rguenther@suse.de>
921
922         * lto-streamer.h (LTO_minor_version): Bump to 2.
923
924 2013-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
925
926         * config/aarch64/aarch64-protos.h
927         (aarch64_const_double_zero_rtx_p): Rename to...
928         (aarch64_float_const_zero_rtx_p): ...this.
929         (aarch64_float_const_representable_p): New.
930         (aarch64_output_simd_mov_immediate): Likewise.
931         * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
932         move immediate case.
933         * config/aarch64/aarch64.c
934         (aarch64_const_double_zero_rtx_p): Rename to...
935         (aarch64_float_const_zero_rtx_p): ...this.
936         (aarch64_print_operand): Allow printing of new constants.
937         (aarch64_valid_floating_const): New.
938         (aarch64_legitimate_constant_p): Check for valid floating-point
939         constants.
940         (aarch64_simd_valid_immediate): Likewise.
941         (aarch64_vect_float_const_representable_p): New.
942         (aarch64_float_const_representable_p): Likewise.
943         (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
944         (aarch64_output_simd_mov_immediate): New.
945         * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
946         (*movdf_aarch64): Likewise.
947         * config/aarch64/constraints.md (Ufc): New.
948         (Y): call aarch64_float_const_zero_rtx.
949         * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
950
951 2013-01-07  Richard Biener  <rguenther@suse.de>
952
953         PR tree-optimization/55888
954         PR tree-optimization/55862
955         * tree-ssa-pre.c (phi_translate_1): Revert previous change.
956         (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
957         not if it is contained therein.
958
959 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
960
961         * config/avr/t-avr: Typo.
962
963 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
964
965         PR55243
966         * config/avr/t-avr: Don't automatically rebuild
967         $(srcdir)/config/avr/t-multilib
968         $(srcdir)/config/avr/avr-tables.opt
969         $(srcdir)/doc/avr-mmcu.texi
970         (avr-mcus): New phony target to build them on request.
971         (s-avr-mlib, s-avr-mmcu-texi): Remove.
972         * avr/avr-mcus.def: Adjust comments.
973
974 2013-01-07  Uros Bizjak  <ubizjak@gmail.com>
975
976         * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
977
978 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
979
980         * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
981
982 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
983
984         * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
985
986 2013-01-05  David Edelsohn  <dje.gcc@gmail.com>
987
988         * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
989         to generate profiling.
990         * config/rs6000/aix64.h (LIB_SPEC): Same.
991
992 2013-01-04  Andrew Pinski  <apinski@cavium.com>
993
994         * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
995         New function.
996         (TARGET_FIXED_CONDITION_CODE_REGS): Define.
997
998 2013-01-04  Uros Bizjak  <ubizjak@gmail.com>
999
1000         * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
1001         unconditionally.
1002         (ix86_expand_move): Ditto.
1003         (ix86_zero_extend_to_Pmode): Ditto.
1004         (ix86_expand_call): Ditto.
1005         (ix86_expand_special_args_builtin): Ditto.
1006         (ix86_expand_builtin): Ditto.
1007
1008 2013-01-04  Richard Biener  <rguenther@suse.de>
1009
1010         PR tree-optimization/55862
1011         * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
1012         translating them through PHI nodes.
1013
1014 2013-01-04  Martin Jambor  <mjambor@suse.cz>
1015
1016         PR tree-optimization/55755
1017         * tree-sra.c (sra_modify_assign): Do not check that an access has no
1018         children when trying to avoid producing a VIEW_CONVERT_EXPR.
1019
1020 2013-01-04  Marek Polacek  <polacek@redhat.com>
1021
1022         PR middle-end/55859
1023         * opts.c (default_options_optimization): Clarify error message.
1024
1025 2013-01-04  Richard Biener  <rguenther@suse.de>
1026
1027         PR middle-end/55863
1028         * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
1029         reassociation.
1030
1031 2013-01-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1032
1033         PR target/53789
1034         * config/pa/pa.md (movsi): Revert previous change.
1035         * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
1036         references.
1037
1038 2013-01-03  Richard Henderson  <rth@redhat.com>
1039
1040         * config/i386/i386.c (ix86_expand_move): Always assign to op1
1041         after eliminating TLS symbols.
1042
1043 2013-01-03  Marc Glisse  <marc.glisse@inria.fr>
1044
1045         PR bootstrap/50167
1046         * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
1047         * graphite-poly.c (debug_gmp_value): Likewise.
1048
1049 2013-01-03  Uros Bizjak  <ubizjak@gmail.com>
1050
1051         PR target/55712
1052         * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
1053         selected code model, define __code_mode_small__, __code_model_medium__,
1054         __code_model_large__, __code_model_32__ or __code_model_kernel__.
1055         * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
1056         xchg temporary register with %k.  Declare temporary register as
1057         early clobbered.
1058         [__x86_64__]: For medium and large code models, preserve %rbx register.
1059
1060 2013-01-03  Richard Biener  <rguenther@suse.de>
1061
1062         * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
1063         (dump_subscript): Adjust.
1064         (finalize_ddr_dependent): Do not dump redundant info.
1065         (analyze_siv_subscript): Adjust.
1066         (subscript_dependence_tester): Likewise.
1067         (compute_affine_dependence): Likewise.
1068
1069 2013-01-03  Richard Biener  <rguenther@suse.de>
1070
1071         Revert
1072         2013-01-03  Richard Biener  <rguenther@suse.de>
1073
1074         PR tree-optimization/55857
1075         * tree-vect-stmts.c (vectorizable_load): Do not setup
1076         re-alignment for invariant loads.
1077
1078         2013-01-02  Richard Biener  <rguenther@suse.de>
1079
1080         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1081         invariant load do not generate a vector load from the scalar location.
1082
1083 2013-01-03  Richard Biener  <rguenther@suse.de>
1084
1085         * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
1086         for not vectorizing.
1087         * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
1088         not build INDIRECT_REFs, call get_name once only.
1089         (vect_create_data_ref_ptr): Likewise.  Dump base object kind
1090         based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
1091
1092 2013-01-03  Richard Biener  <rguenther@suse.de>
1093
1094         PR tree-optimization/55857
1095         * tree-vect-stmts.c (vectorizable_load): Do not setup
1096         re-alignment for invariant loads.
1097
1098 2013-01-03  Richard Biener  <rguenther@suse.de>
1099
1100         PR lto/55848
1101         * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
1102         prefer a built-in decl.
1103
1104 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
1105
1106         * gcc.c (process_command): Update copyright notice dates.
1107         * gcov.c (print_version): Likewise.
1108         * gcov-dump.c (print_version): Likewise.
1109
1110         PR rtl-optimization/55838
1111         * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
1112         iv0.step, iv1.step and step.
1113
1114 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
1115             Marc Glisse  <marc.glisse@inria.fr>
1116
1117         PR tree-optimization/55832
1118         * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
1119         ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
1120         integer_{one,zero}_node.
1121
1122 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
1123
1124         PR debug/54402
1125         * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
1126         * var-tracking.c (reverse_op): Don't add reverse ops to
1127         VALUEs that have already
1128         PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
1129
1130 2013-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
1131
1132         * doc/contrib.texi: Note years as release manager for Mark Mitchell.
1133
1134 2013-01-02  Teresa Johnson  <tejohnson@google.com>
1135
1136         * dumpfile.c (dump_loc): Print filename with location.
1137         * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
1138         new location_t parameter to emit complete unroll message with
1139         new dump framework.
1140         (canonicalize_loop_induction_variables): Compute loops location
1141         and pass to try_unroll_loop_completely.
1142         * loop-unroll.c (report_unroll_peel): New function.
1143         (peel_loops_completely): Use new dump format with location
1144         for main dumpfile message, and invoke report_unroll_peel on success.
1145         (decide_unrolling_and_peeling): Ditto.
1146         (decide_peel_once_rolling): Remove old dumpfile message subsumed
1147         by report_unroll_peel.
1148         (decide_peel_completely): Ditto.
1149         (decide_unroll_constant_iterations): Ditto.
1150         (decide_unroll_runtime_iterations): Ditto.
1151         (decide_peel_simple): Ditto.
1152         (decide_unroll_stupid): Ditto.
1153         * cfgloop.c (get_loop_location): New function.
1154         * cfgloop.h (get_loop_location): Declare.
1155
1156 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
1157
1158         * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
1159         NULL.
1160
1161 2013-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1162
1163         PR middle-end/55198
1164         * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
1165         BLKmode objects when EXPAND_MEMORY is specified.
1166
1167 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
1168
1169         * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
1170         in loop predicate.
1171         (fold_builtin_cpu): Do not share cpu model decls across statements.
1172
1173 2013-01-02  Jason Merrill  <jason@redhat.com>
1174
1175         PR c++/55804
1176         * tree.c (build_array_type_1): Revert earlier change.
1177
1178 2013-01-02  Yufeng Zhang  <yufeng.zhang@arm.com>
1179
1180         * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
1181         "cortex-a57".
1182         * config/aarch64/aarch64-tune.md: Re-generate.
1183
1184 2013-01-02  Richard Biener  <rguenther@suse.de>
1185
1186         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1187         invariant load do not generate a vector load from the scalar location.
1188
1189 2013-01-02  Richard Biener  <rguenther@suse.de>
1190
1191         PR bootstrap/55784
1192         * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
1193         * configure: Regenerate.
1194
1195 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1196
1197         * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
1198         (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
1199         (expand_builtin_int_roundingfn_2): Keep the original target around
1200         for the fallback case.
1201
1202 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1203
1204         * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
1205         to be clear for sign changes.
1206
1207 2013-01-01  Jan Hubicka  <jh@suse.cz>
1208
1209         * ipa-inline-analysis.c: Fix formatting.
1210
1211 2013-01-01  Jakub Jelinek  <jakub@redhat.com>
1212
1213         PR tree-optimization/55831
1214         * tree-vect-loop.c (get_initial_def_for_induction): Use
1215         gsi_after_labels instead of gsi_start_bb.
1216 \f
1217 Copyright (C) 2013 Free Software Foundation, Inc.
1218
1219 Copying and distribution of this file, with or without modification,
1220 are permitted in any medium without royalty provided the copyright
1221 notice and this notice are preserved.