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