* config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2.
[official-gcc.git] / gcc / ChangeLog
blob8c37f919bb2ec1a6746018e8a3f0389ebb58e48e
1 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
3         * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2.
4         (ASM_OUTPUT_ALIGNED_LOCAL): New.
6 2013-02-01  Richard Biener  <rguenther@suse.de>
8         PR tree-optimization/56113
9         * tree-ssa-structalias.c (label_visit): Reduce work for
10         single-predecessor nodes.
12 2013-02-01  Eric Botcazou  <ebotcazou@adacore.com>
14         * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
15         range isn't testing for zero.
17 2013-01-31  Steven Bosscher  <steven@gcc.gnu.org>
19         PR middle-end/56113
20         * fwprop.c (fwprop_init): Set up loops without CFG modifications.
22 2013-01-31  Hiroyuki Ono  <hiroyuki.ono.jc@renesas.com>
23             Nick Clifton  <nickc@redhat.com>
25         * config/v850/constraints.md (Q): Define as a memory constraint.
26         * config/v850/predicates.md (label_ref_operand): New predicate.
27         (e3v5_shift_operand): New predicate.
28         (ior_operator): New predicate.
29         * config/v850/t-v850: Add e3v5 multilib.
30         * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
31         (v850_gen_movdi): Prototype.
32         * config/v850/v850.c: Add support for e3v5 architecture.
33         Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
34         TARGET_V850E_UP.
35         (construct_save_jarl): Add e3v5 long JARL support.
36         (v850_adjust_insn_length): New function.  Adjust length of call
37         insns when using e3v5 instructions.
38         (v850_gen_movdi): New function: Generate instructions to move a
39         DImode value.
40         * config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
41         (CPP_SPEC): Define __v850e3v5__ as appropriate.
42         (TARGET_USE_FPU): Enable for e3v5.
43         (CONST_OK_FOR_W): New macro.
44         (ADJUST_INSN_LENGTH): Define.
45         * config/v850/v850.md (UNSPEC_LOOP): Define.
46         (attr cpu): Add v850e3v5.
47         Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
48         (movdi): New pattern.
49         (movdi_internal): New pattern.
50         (cbranchsf4): Conditionalize on TARGET_USE_FPU.
51         (cbranchdf4): Conditionalize on TARGET_USE_FPU.
52         (cstoresf4): Likewise.
53         (cstoredf4): Likewise.
54         (insv): New pattern.
55         (rotlso3_a): New pattern.
56         (rotlsi3_b): New pattern
57         (rotlsi3_v850e3v5): New pattern.
58         (doloop_begin): New pattern.
59         (fix_loop_counter): New pattern.
60         (doloop_end): New pattern.
61         (branch_normal): Add e3v5 long branch support.
62         (branch_invert): Likewise.
63         (branch_z_normal): Likewise.
64         (branch_z_invert): Likewise.
65         (branch_nz_normal): Likewise.
66         (branch_nz_invert): Likewise.
67         (call_internal_short): Add e3v5 register-indirect JARL support.
68         (call_internal_long): Likewise.
69         (call_value_internal_short): Likewise.
70         (call_value_internal_long): Likewise.
71         * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
72         (mloop): New option.
73         * config.gcc: Add support for configuring v840e3v5 target.
74         * doc/invoke.texi: Document new v850 specific command line
75         options.
77 2013-01-31  Paul Koning  <ni1d@arrl.net>
79         PR debug/55059
80         PR debug/54508
81         * dwarf2out.c (prune_unused_types_mark): Mark all of parent's
82         children if parent is a class.
83         (prune_unused_types_prune): Don't add DW_AT_declaration.
85 2013-01-31  Richard Biener  <rguenther@suse.de>
87         PR tree-optimization/56157
88         * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to
89         match up operand with SLP child.
91 2013-01-31  Jason Merrill  <jason@redhat.com>
93         PR debug/54410
94         * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template
95         parameters the first time.
96         (gen_scheduled_generic_parms_dies): Check completeness here.
98 2013-01-31  Richard Biener  <rguenther@suse.de>
100         PR middle-end/53073
101         * common.opt (faggressive-loop-optimizations): New flag,
102         enabled by default.
103         * doc/invoke.texi (faggressive-loop-optimizations): Document.
104         * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
105         infer_loop_bounds_from_undefined by it.
107 2013-01-31  Richard Biener  <rguenther@suse.de>
109         PR tree-optimization/56150
110         * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not
111         visit virtual operands.
112         (find_uses_to_rename_bb): Likewise.
114 2013-01-31  Richard Biener  <rguenther@suse.de>
116         PR tree-optimization/56150
117         * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle
118         mixed store non-store stmts.
120 2013-01-30  Jakub Jelinek  <jakub@redhat.com>
122         PR sanitizer/55374
123         * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if
124         LIBASAN_EARLY_SPEC is defined.
125         (LIBASAN_EARLY_SPEC): Define to empty string if not already defined.
126         (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address,
127         before %o.
128         * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define.
130         PR c++/55742
131         * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
132         invalid args instead of ICEing on it.
133         (ix86_valid_target_attribute_tree): Return error_mark_node if
134         ix86_valid_target_attribute_inner_p failed.
135         (ix86_valid_target_attribute_p): Return false only if
136         ix86_valid_target_attribute_tree returned error_mark_node.  Allow
137         target("default") attribute.
138         (sorted_attr_string): Change argument from const char * to tree,
139         merge in all target attribute arguments rather than just one.
140         Formatting fix.  Use XNEWVEC instead of xmalloc and XDELETEVEC
141         instead of free.  Avoid using strcat.
142         (ix86_mangle_function_version_assembler_name): Mangle
143         target("default") as if no target attribute is present.  Adjust
144         sorted_attr_string caller.  Avoid leaking memory.  Use XNEWVEC
145         instead of xmalloc and XDELETEVEC instead of free.
146         (ix86_function_versions): Don't return true if one of the decls
147         doesn't have target attribute.  If they don't and one of the decls
148         is DECL_FUNCTION_VERSIONED, report an error.  Adjust
149         sorted_attr_string caller.  Use XDELETEVEC instead of free.
150         (ix86_supports_function_versions): Remove.
151         (make_name): Fix up formatting.
152         (make_dispatcher_decl): Remove resolver_name and its initialization.
153         Avoid leaking memory.
154         (is_function_default_version): Return true if there is
155         target("default") attribute rather than no target attribute at all.
156         (make_resolver_func): Avoid leaking memory.
157         (ix86_generate_version_dispatcher_body): Likewise.
158         (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
159         * target.def (supports_function_versions): Remove.
160         * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
161         * doc/tm.texi: Regenerated.
163 2013-01-30  Vladimir Makarov  <vmakarov@redhat.com>
165         PR rtl-optimization/56144
166         * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo
167         for values with side effects.
169 2013-01-30  Richard Biener  <rguenther@suse.de>
171         * sparseset.h (sparseset_bit_p): Use gcc_checking_assert.
172         (sparseset_pop): Likewise.
173         * cfganal.c (compute_idf): Likewise.  Increase work-stack size
174         to be able to use quick_push in the worker loop.
176 2013-01-30  Marek Polacek  <polacek@redhat.com>
178         * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs.
180 2013-01-30  Richard Biener  <rguenther@suse.de>
182         PR lto/56147
183         * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN
184         check.
186 2013-01-30  Georg-Johann Lay  <avr@gjlay.de>
188         PR tree-optimization/56064
189         * fixed-value.c (fixed_from_double_int): New function.
190         * fixed-value.h (fixed_from_double_int): New prototype.
191         (const_fixed_from_double_int): New static inline function.
192         * fold-const.c (native_interpret_fixed): New static function.
193         (native_interpret_expr) <FIXED_POINT_TYPE>: Use it.
194         (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true.
195         (native_encode_fixed): New static function.
196         (native_encode_expr) <FIXED_CST>: Use it.
197         (native_interpret_int): Move double_int worker code to...
198         * double-int.c (double_int::from_buffer): ...this new static method.
199         * double-int.h (double_int::from_buffer): Prototype it.
201 2013-01-30  Richard Biener  <rguenther@suse.de>
203         * tree-ssa-structalias.c (final_solutions, final_solutions_obstack):
204         New pointer-map and obstack.
205         (init_alias_vars): Allocate pointer-map and obstack.
206         (delete_points_to_sets): Free them.
207         (find_what_var_points_to): Cache result.
208         (find_what_p_points_to): Adjust for changed interface of
209         find_what_var_points_to.
210         (compute_points_to_sets): Likewise.
211         (ipa_pta_execute): Likewise.
213 2013-01-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
215         * configure.ac (HAVE_AS_SPARC_NOBITS): New test.
216         * configure: Regenerate.
217         * config.in: Regenerate.
218         * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit
219         #nobits/#progbits if supported.
221 2013-01-29  Oleg Endo  <olegendo@gcc.gnu.org>
223         PR target/56121
224         * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a,
225         bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a,
226         bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition.
228 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
230         * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove.
231         (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.
233 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
235         * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL.
236         * config/arm/cortex-a7.md (cortex_a7_call): Update required units.
238 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
240         * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New
241         declaration.
242         * config/arm/arm.c (arm_mac_accumulator_is_result): New function.
243         * config/arm/cortex-a7.md: New bypasses using
244         arm_mac_accumulator_is_result.
246 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
248         * config/arm/cortex-a7.md (cortex_a7_neon_mul):  New reservation.
249         (cortex_a7_neon_mla): Likewise.
250         (cortex_a7_fpfmad): New reservation.
251         (cortex_a7_fpmacs): Use ffmas and update required units.
252         (cortex_a7_fpmuld): Update required units and latency.
253         (cortex_a7_fpmacd): Likewise.
254         (cortex_a7_fdivs, cortex_a7_fdivd): Likewise.
255         (cortex_a7_neon). Likewise.
256         (bypass) Update participating units.
258 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
260         * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute.
261         * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type
262         from fmac to ffma.
263         * config/arm/vfp11.md (vfp_farith): Use ffmas.
264         (vfp_fmul): Use ffmad.
265         * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas.
266         (cortex_r4_fmacd): Use ffmad.
267         * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas.
268         * config/arm/cortex-a9.md (cortex_a9_fmacs):  Use ffmas.
269         (cortex_a9_fmacd): Use ffmad.
270         * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas.
271         (cortex_a8_vfp_macd): Use ffmad.
272         * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas.
273         (cortex_a5_fpmacd): Use ffmad.
274         * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas.
275         (cortex_a15_vfp_macd): Use ffmad.
276         * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad.
278 2013-01-29  Jason Merrill  <jason@redhat.com>
280         PR libstdc++/54314
281         * varasm.c (default_assemble_visibility): Don't warn about
282         visibility on artificial decls.
284 2013-01-29  Richard Biener  <rguenther@suse.de>
286         PR tree-optimization/56113
287         * tree-ssa-structalias.c (equiv_class_lookup): Also return
288         the bitmap leader.
289         (label_visit): Free duplicate bitmaps and record the leader instead.
290         (perform_var_substitution): Adjust.
292 2013-01-29  Richard Biener  <rguenther@suse.de>
294         PR tree-optimization/55270
295         * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed
296         the CFG, schedule loops for fixup.
298 2013-01-29  Nick Clifton  <nickc@redhat.com>
300         * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow
301         SP_REG.
303 2013-01-28  Leif Ekblad  <leif@rdos.net>
305         * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
306         * config/i386/i386.h (TARGET_RDOS): New macro.
307         (DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
308         * config/i386/i386.c (ix86_option_override_internal): For 64bit
309         TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
310         * config/i386/i386.opt (mlarge-data-threshold): Initialize to
311         DEFAULT_LARGE_SECTION_THRESHOLD.
312         * config/i386/i386.md (R14_REG, R15_REG): New constants.
313         * config/i386/rdos.h: New file.
314         * config/i386/rdos64.h: New file.
316 2013-01-28  Bernd Schmidt  <bernds@codesourcery.com>
318         PR other/54814
319         * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of
320         TEST_HARD_REG_BIT.
322 2013-01-28  Jakub Jelinek  <jakub@redhat.com>
324         PR rtl-optimization/56117
325         * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib
326         call cselib_lookup_from_insn on the MEM before calling
327         add_insn_mem_dependence.
329 2013-01-28  Richard Biener  <rguenther@suse.de>
331         * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK
332         to a stmt that didn't have one.
333         (copy_phis_for_bb): Likewise for PHI arguments.
334         (copy_debug_stmt): Likewise for debug stmts.
336 2013-01-28  Richard Biener  <rguenther@suse.de>
338         PR tree-optimization/56034
339         * tree-loop-distribution.c (enum partition_kind): Add
340         PKIND_REDUCTION.
341         (partition_builtin_p): Adjust.
342         (generate_code_for_partition): Handle PKIND_REDUCTION.  Assert
343         it is the last partition.
344         (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
345         up the vertex for the definition.
346         (classify_partition): Classify whether a partition is a
347         PKIND_REDUCTION, thus has uses outside of the loop.
348         (ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
349         Merge all PKIND_REDUCTION partitions into the last partition.
350         (tree_loop_distribution): Seed partitions from reductions as well.
352 2013-01-28  Jakub Jelinek  <jakub@redhat.com>
354         PR tree-optimization/56125
355         * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
356         pow(x,c) into sqrt(x) * powi(x, n/2) or
357         1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
358         optimizing for size.
359         Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
360         1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
361         integer.
363         PR tree-optimization/56094
364         * gimplify.c (force_gimple_operand_1): Temporarily set input_location
365         to UNKNOWN_LOCATION while gimplifying expr.
367 2013-01-27  Uros Bizjak  <ubizjak@gmail.com>
369         PR target/56114
370         * config/i386/i386.md (*movabs<mode>_1): Add square brackets around
371         operand 0 in movabs insn template for -masm=intel asm alternative.
372         (*movabs<mode>_2): Ditto for operand 1.
374 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
376         PR target/54663
377         * config.gcc (microblaze*-linux*): Add tmake_file to allow building
378         of microblaze-c.o
380 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
382         * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
383         tm_file.
385 2013-01-25  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
387         * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS):
388         Undef to avoid warning.
390 2013-01-25  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
392         * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
393         * configure: Regenerate.
395 2013-01-25  Jakub Jelinek  <jakub@redhat.com>
397         PR tree-optimization/56098
398         * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
399         for stmts with volatile ops.
400         (cond_store_replacement): Don't optimize if assign has volatile ops.
401         (cond_if_else_store_replacement_1): Don't optimize if either
402         then_assign or else_assign have volatile ops.
403         (hoist_adjacent_loads): Don't optimize if either def1 or def2 have
404         volatile ops.
406 2013-01-25  Georg-Johann Lay  <avr@gjlay.de>
408         * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.
410 2013-01-25  Georg-Johann Lay  <avr@gjlay.de>
412         * doc/extend.texi (Example of asm with clobbered asm reg): Fix
413         missing ':' in asm example.
415 2013-01-25  Tejas Belagod  <tejas.belagod@arm.com>
417         * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
418         entries into lane and laneq entries.
419         * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>):
420         Remove AdvSIMD scalar modes.
421         (aarch64_sq<r>dmulh_laneq<mode>): New.
422         (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
423         modes.
424         * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
425         builtin implementations to relfect changes in RTL in aarch64-simd.md.
426         * config/aarch64/iterators.md (VCOND): New.
427         (VCONQ): New.
429 2013-01-25  Georg-Johann Lay  <avr@gjlay.de>
431         PR target/54222
432         * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
433         Add NULL LIBNAME argument to existing definitions.
434         (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
435         * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
436         * config/avr/avr.c (DEF_BUILTIN): Same.
437         (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
438         (avr_expand_builtin): Expand to a vanilla call if a libgcc
439         implementation is available (DECL_ASSEMBLER_NAME is set).
440         (avr_fold_absfx): New static function.
441         (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
442         AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
443         AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
444         AVR_BUILTIN_ABSLLK.
445         * config/avr/stdfix.h (abshr, absr, abslr, absllr)
446         (abshk, absk, abslk, absllk): Provide as static inline functions.
448 2013-01-25  Marek Polacek  <polacek@redhat.com>
450         PR tree-optimization/56035
451         * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
453 2012-01-24  Uros Bizjak  <ubizjak@gmail.com>
455         * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
456         (*movtf_internal_rex64): Add (!o,C) alternative
457         (*movxf_internal_rex64): Ditto.
458         (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
460 2013-01-24  Shenghou Ma  <minux.ma@gmail.com>
462         * doc/invoke.texi: fix typo.
463         * doc/objc.texi: fix typo.
465 2013-01-24  Richard Sandiford  <rdsandiford@googlemail.com>
467         * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
468         for the first two alternatives.
470 2013-01-24  Diego Novillo  <dnovillo@google.com>
472         * Makefile.in (GGC): Remove.  Replace all instances with ggc-page.o.
473         (ggc-zone.o): Remove.
474         * configure.ac: Remove option --with-gc.
475         * configure: Re-generate.
476         * doc/install.texi: Remove documentation for --with-gc.
477         * gengtype.c (write_enum_defn): Remove.  Update all users.
478         (write_Types_process_field): Remove generation of gt_e_* argument.
479         (output_type_enum): Remove.  Update all users.
480         (write_enum_defn): Remove.  Update all users.
481         (enum alloc_zone): Remove.  Update all users.
482         (write_splay_tree_allocator_def): Remove generation of gt_e_* argument.
483         * ggc-common.c (ggc_splay_alloc): Remove first argument.
484         Update all callers.
485         (struct ptr_data): Remove field TYPE.  Update all users.
486         (gt_pch_note_object): Remove argument TYPE.  Update all users.
487         * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
488         Update all users.
489         * ggc-none.c (ggc_alloc_typed_stat): Remove.
490         (struct alloc_zone): Remove.
491         (ggc_internal_alloc_zone_stat): Remove.
492         (ggc_internal_cleared_alloc_zone_stat): Remove.
493         * ggc-page.c (ggc_alloc_typed_stat): Remove.
494         (ggc_pch_count_object): Remove last argument.  Update all users.
495         (ggc_pch_alloc_object): Remove last argument.  Update all users.
496         (struct alloc_zone): Remove.
497         * ggc-zone.c: Remove.
498         * ggc.h (gt_pch_note_object): Remove last argument.  Update all users.
499         (struct alloc_zone): Remove.
500         (ggc_alloc_typed_stat): Remove.
501         (ggc_alloc_typed): Remove.
502         (ggc_splay_alloc): Remove first argument.
503         (rtl_zone): Remove.  Update all users.
504         (tree_zone): Remove.  Update all users.
505         (tree_id_zone): Remove.  Update all users.
506         (ggc_internal_zone_alloc_stat): Remove.  Update all users.
507         (ggc_internal_zone_cleared_alloc_stat): Remove.  Update all users.
508         (ggc_internal_zone_vec_alloc_stat): Remove.  Update all users.
509         * tree-ssanames.c: Remove references to zone allocator in comments.
511 2013-01-24  Georg-Johann Lay  <avr@gjlay.de>
513         * config/avr/avr.c (avr_out_fract): Make register numbers that
514         might be outside of source operand signed.
516 2013-01-24  Uros Bizjak  <ubizjak@gmail.com>
518         * config/i386/constraints.md (Yf): New constraint.
519         * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
520         of f constraint to conditionaly disable x87 register preferences.
521         (*movdf_internal): Ditto.
522         (*movsf_internal): Ditto.
524 2013-01-24  Steven Bosscher  <steven@gcc.gnu.org>
526         PR inline-asm/55934
527         * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
528         that have operands with impossible constraints.
529         Add a FIXME for a speed-up opportunity.
530         * lra-constraints.c (process_alt_operands): Verify that a class
531         selected from constraints on asms is valid for the operand mode.
532         (curr_insn_transform): Remove incorrect comment.
534 2013-01-23  David Edelsohn  <dje.gcc@gmail.com>
536         * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
537         TOC operand is a valid symbol ref in the constant pool.
539 2013-01-23  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
541         * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
543 2013-01-23  Georg-Johann Lay  <avr@gjlay.de>
545         PR target/54222
546         * config/avr/stdfix.h: New file.
547         * t-avr (stdfix-gcc.h): New rule to build it.
548         (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
550 2013-01-23  Kostya Serebryany  <kcc@google.com>
552         * config/darwin.h: remove dependency on
553         CoreFoundation (asan on Mac OS).
555 2013-01-23  Jakub Jelinek  <jakub@redhat.com>
557         PR target/49069
558         * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
559         instead of cmpdi_operand for first comparison operand.
560         Don't assert that comparison operands aren't both constants.
562 2013-01-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
564         * doc/install.texi (Downloading the Source): Update references to
565         downloading separate components.
567 2013-01-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
569         * doc/extend.texi (__int128): Improve grammar.
571 2013-01-22  Uros Bizjak  <ubizjak@gmail.com>
573         PR target/56028
574         * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
575         alternative to (o,r).
576         (*movdi_internal_rex64): Remove (!o,n) alternative.
577         (DImode immediate->memory splitter): Remove.
578         (DImode immediate->memory peephole2): Remove.
579         (movtf): Enable for TARGET_64BIT || TARGET_SSE.
580         (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
581         alternative to (!o,*r).
582         (*movtf_internal_sse): New pattern.
583         (*movxf_internal_rex64): New pattern.
584         (*movxf_internal): Disable for TARGET_64BIT.
585         (*movdf_internal_rex64): Remove (!o,F) alternative.
587 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
589         PR middle-end/56074
590         * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
591         isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
592         * tree-vect-loop-manip.c (find_loop_location): Also ignore
593         stmt locations where LOCATION_LOCUS of the stmt location is
594         UNKNOWN_LOCATION or BUILTINS_LOCATION.
596         PR target/55686
597         * config/i386/i386.md (UNSPEC_STOS): New.
598         (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
599         *strsetqi_1): Add UNSPEC_STOS.
601 2013-01-22  Paolo Carlini  <paolo.carlini@oracle.com>
603         PR c++/56067
604         * doc/invoke.texi: Remove left over -Wsynth example.
606 2013-01-21  Jakub Jelinek  <jakub@redhat.com>
608         PR tree-optimization/56051
609         * fold-const.c (fold_binary_loc): Don't fold
610         X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
611         a narrowing conversion, or widening conversion from signed
612         to unsigned.
614 2013-01-21  Uros Bizjak  <ubizjak@gmail.com>
616         PR rtl-optimization/56023
617         * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
618         dependent on debug instruction.
620 2013-01-21  Martin Jambor  <mjambor@suse.cz>
622         PR middle-end/56022
623         * function.c (allocate_struct_function): Call
624         invoke_set_current_function_hook earlier.
626 2013-01-21  Jakub Jelinek  <jakub@redhat.com>
628         * reload1.c (init_reload): Only initialize reload_obstack
629         during the first call.
631 2013-01-21  Marek Polacek  <polacek@redhat.com>
633         * cfgloop.c (verify_loop_structure): Fix up grammar.
635 2013-01-21  Yi-Hsiu Hsu  <ahsu@marvell.com>
637         * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
638         pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
640 2013-01-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
642         PR target/56058
643         * config/arm/marvell-pj4.md: Update copyright year.
644         Fix up use of alu to alu_reg and simple_alu_imm.
646 2013-01-21  Uros Bizjak  <ubizjak@gmail.com>
648         * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
650 2013-01-20  Vladimir Makarov  <vmakarov@redhat.com>
652         PR target/55433
653         * lra-constraints.c (curr_insn_transform): Don't reuse original
654         insn for secondary memory move when memory mode should be different.
656 2013-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
658         * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
659         atomic_storedi_1): New patterns.
661 2013-01-20  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
663         btver2 pipeline descriptions.
664         * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
665         descriptions.
666         * config/i386/i386.md (btver2_decode): New type attributes.
667         * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
668         type attributes.
669         * config/i386/btver2.md: New file describing btver2 pipelines.
671 2013-01-19  Andrew Pinski  <apinski@cavium.com>
673         PR tree-optimization/52631
674         * tree-ssa-sccvn (visit_use): Before looking up the original
675         statement, try looking up the simplified expression.
677 2013-01-19  Anthony Green  <green@moxielogic.com>
679         * config/moxie/moxie.c (moxie_expand_prologue): Set
680         current_function_static_stack_size.
682 2013-01-18  Jakub Jelinek  <jakub@redhat.com>
684         PR tree-optimization/56029
685         * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
686         gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
688 2013-01-18  Sharad Singhai  <singhai@google.com>
690         PR tree-optimization/55995
691         * dumpfile.c (dump_loc): Print location only if available.
692         * tree-vectorizer.c (increase_alignment): Intialize vect_location.
694 2013-01-18  Vladimir Makarov  <vmakarov@redhat.com>
696         PR target/55433
697         * lra-constraints.c (curr_insn_transform): Reuse original insn for
698         secondary memory move.
699         (inherit_reload_reg): Use rclass instead of cl for
700         check_secondary_memory_needed_p.
702 2013-01-18  Jakub Jelinek  <jakub@redhat.com>
704         PR middle-end/56015
705         * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
706         the case where writing real complex part of target modifies op1.
708 2013-01-18  James Greenhalgh  <james.greenhalgh@arm.com>
710         * config/aarch64/aarch64-simd.md
711         (aarch64_vcond_internal<mode>): Handle unordered cases.
712         * config/aarch64/iterators.md (v_cmp_result): New.
714 2013-01-18  Yi-Hsiu Hsu  <ahsu@marvell.com>
715             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
717         * config/arm/marvell-pj4.md: New file.
718         * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
719         * config/arm/arm.md (generic_sched): Add marvell_pj4.
720         (generic_vfp): Likewise.
721         * config/arm/arm-cores.def: Add marvell-pj4.
722         * config/arm/arm-tune.md: Regenerate.
723         * config/arm/arm-tables.opt: Regenerate.
724         * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
725         * doc/invoke.texi: Document marvell-pj4.
727 2013-01-18  Tejas Belagod  <tejas.belagod@arm.com>
729         * config/aarch64/arm_neon.h: Map scalar types to standard types.
731 2013-01-18  Alexandre Oliva  <aoliva@redhat.com>
733         PR debug/54114
734         PR debug/54402
735         PR debug/49888
736         * var-tracking.c (negative_power_of_two_p): New.
737         (global_get_addr_cache, local_get_addr_cache): New.
738         (get_addr_from_global_cache, get_addr_from_local_cache): New.
739         (vt_canonicalize_addr): Rewrite using the above.  Adjust the
740         heading comment.
741         (vt_stack_offset_p): Remove.
742         (vt_canon_true_dep): Always canonicalize loc's address.
743         (clobber_overlapping_mems): Make sure we have a MEM.
744         (local_get_addr_clear_given_value): New.
745         (val_reset): Clear local cached entries.
746         (compute_bb_dataflow): Create and release the local cache.
747         Disable duplicate MEMs clobbering.
748         (emit_notes_in_bb): Clobber MEMs likewise.
749         (vt_emit_notes): Create and release the local cache.
750         (vt_initialize, vt_finalize): Create and release the global
751         cache, respectively.
752         * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
754 2013-01-18  Alexandre Oliva  <aoliva@redhat.com>
756         PR libmudflap/53359
757         * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
758         not found in the symtab.
760 2013-01-18  Alexandre Oliva  <aoliva@redhat.com>
762         PR debug/56006
763         PR rtl-optimization/55547
764         PR rtl-optimization/53827
765         PR debug/53671
766         PR debug/49888
767         * alias.c (offset_overlap_p): New, factored out of...
768         (memrefs_conflict_p): ... this.  Use absolute sizes.  Retain
769         the conservative special case for symbolic constants.  Don't
770         adjust zero sizes on alignment.
772 2013-01-18  Bernd Schmidt  <bernds@codesourcery.com>
774         PR rtl-optimization/52573
775         * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
776         REG_UNUSED for the same register.
778 2013-01-17  Richard Biener  <rguenther@suse.de>
779             Marek Polacek  <polacek@redhat.com>
781         PR rtl-optimization/55833
782         * loop-unswitch.c (unswitch_loops): Move loop verification...
783         (unswitch_single_loop): ...here.  Call mark_irreducible_loops.
784         * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
785         Set it to true when we're removing a loop from hierarchy tree in
786         an irreducible region.
787         (fix_bb_placements): Adjust caller.
788         (fix_loop_placements): Likewise.
790 2013-01-17  Georg-Johann Lay  <avr@gjlay.de>
792         * config/avr/builtins.def (DEF_BUILTIN): Factor out
793         "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
794         Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
795         Remove ID.  Adjust comments.
796         * config/avr/avr-c.c (avr_builtin_name): Remove.
797         (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
798         * config/avr/avr.c (avr_tolower): New static function.
799         (DEF_BUILTIN): Remove parameter ID.  Prefix ICODE by 'CODE_FOR_'.
800         Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
801         (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
802         default expansion.
804 2013-01-17  Jan Hubicka  <jh@suse.cz>
806         PR tree-optimization/55273
807         * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
809 2013-01-17  Uros Bizjak  <ubizjak@gmail.com>
811         PR target/55981
812         * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
813         store through atomic_store<mode>_1.
814         (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
816 2013-01-17  Martin Jambor  <mjambor@suse.cz>
818         PR tree-optimizations/55264
819         * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
820         for virtual methods.
821         * ipa.c (symtab_remove_unreachable_nodes): Never return true for
822         virtual methods before inlining is over.
823         * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
824         virtual functions.
825         * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
826         non-virtual.
828 2013-01-16  Vladimir Makarov  <vmakarov@redhat.com>
830         PR rtl-optimization/56005
831         * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
832         pending reads for prefetch.
834 2013-01-16  Ian Bolton  <ian.bolton@arm.com>
836         * config/aarch64/aarch64.md
837         (*cstoresi_neg_uxtw): New pattern.
838         (*cmovsi_insn_uxtw): New pattern.
839         (*<optab>si3_uxtw): New pattern.
840         (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
841         (*<optab>si3_insn_uxtw): New pattern.
842         (*bswapsi2_uxtw): New pattern.
844 2013-01-16  Richard Biener  <rguenther@suse.de>
846         * tree-inline.c (tree_function_versioning): Remove set but
847         never used variable.
849 2013-01-16  Richard Biener  <rguenther@suse.de>
851         PR tree-optimization/55964
852         * tree-flow.h (rename_variables_in_loop): Remove.
853         (rename_variables_in_bb): Likewise.
854         * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
855         (copy_loop_before): Adjust and delete update-ssa status.
856         * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
857         (rename_variables_in_bb): Likewise.  Properly walk over predecessors.
858         (rename_variables_in_loop): Remove.
859         (slpeel_update_phis_for_duplicate_loop): Likewise.
860         (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
861         use available cfg machinery instead of duplicating it.
862         Update PHI nodes and perform poor-mans SSA update here.
863         (slpeel_tree_peel_loop_to_edge): Adjust.
865 2013-01-16  Richard Biener  <rguenther@suse.de>
867         PR tree-optimization/54767
868         PR tree-optimization/53465
869         * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
870         (vrp_visit_phi_node): For PHI arguments coming via backedges
871         drop all symbolical range information.
872         (execute_vrp): Compute backedges.
874 2013-01-16  Richard Biener  <rguenther@suse.de>
876         * doc/install.texi: Update CLooG and ISL requirements to
877         0.18.0 and 0.11.1.
879 2013-01-16  Christian Bruel  <christian.bruel@st.com>
881         PR target/55301
882         * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
883         (broken_move): Handle UNSPECV_SP_SWITCH_B.
884         * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
886 2013-01-16  DJ Delorie  <dj@redhat.com>
888         * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
889         (UNSPECV_SP_SWITCH_E): New.
890         (sp_switch_1): Change to an unspec.
891         (sp_switch_2): Change to an unspec.  Don't use post-inc when we
892         replace $r15.
894 2013-01-16  Uros Bizjak  <ubizjak@gmail.com>
896         * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
897         with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
898         * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
899         (expand_mem_thread_fence): Ditto.
900         (expand_mem_signal_fence): Ditto.
901         (expand_atomic_load): Ditto.
902         (expand_atomic_store): Ditto.
904 2013-01-16  Alexandre Oliva  <aoliva@redhat.com>
906         PR rtl-optimization/55547
907         PR rtl-optimization/53827
908         PR debug/53671
909         PR debug/49888
910         * alias.c (memrefs_conflict_p): Set sizes to negative after
911         AND adjustments.
913 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
915         PR target/55940
916         * function.c (thread_prologue_and_epilogue_insns): Always
917         add crtl->drap_reg to set_up_by_prologue.set, even if
918         stack_realign_drap is false.
920 2013-01-15  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
922         * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
923         and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
924         *call): Fix indention.
926 2013-01-15  Tom de Vries  <tom@codesourcery.com>
928         PR target/55876
929         * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
930         Update comment.
932 2013-01-15  Vladimir Makarov  <vmakarov@redhat.com>
934         PR rtl-optimization/55153
935         * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
937 2013-01-15  Martin Jambor  <mjambor@suse.cz>
939         PR tree-optimization/55920
940         * tree-sra.c (analyze_access_subtree): Do not mark non-removable
941         accesses as grp_to_be_debug_replaced.
943 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
945         PR tree-optimization/55920
946         * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
947         there is non-useless type conversion needed from debug rhs to lhs,
948         use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
950 2013-01-15  Joseph Myers  <joseph@codesourcery.com>
951             Mikael Pettersson  <mikpe@it.uu.se>
953         PR target/43961
954         * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
955         Thumb.
956         (ASM_OUTPUT_CASE_LABEL): Remove.
957         (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
958         * final.c (shorten_branches): Update alignment of labels before
959         jump tables if CASE_VECTOR_SHORTEN_MODE.
961 2013-01-15  Richard Biener  <rguenther@suse.de>
963         PR bootstrap/55961
964         * system.h: Do not include gmp.h for building host tools.
966 2013-01-15  Richard Biener  <rguenther@suse.de>
968         PR middle-end/55882
969         * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
970         account for bitpos when computing alignment.
972 2013-01-15  Vladimir Yakovlev  <vladimir.b.yakovlev@intel.com>
974         * config/i386/i386-c.c (ix86_target_macros_internal): New case.
975         (ix86_target_macros_internal): Likewise.
977         * config/i386/i386.c (m_CORE2I7): Removed.
978         (m_CORE_HASWELL): New macro.
979         (m_CORE_ALL): Likewise.
980         (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
981         (initial_ix86_arch_features): Likewise.
982         (processor_target_table): Initializations for Core avx2.
983         (cpu_names): New names "core-avx2".
984         (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
985         PROCESSOR_CORE_HASWELL.
986         (ix86_issue_rate): New case.
987         (ia32_multipass_dfa_lookahead): Likewise.
988         (ix86_sched_init_global): Likewise.
990         * config/i386/i386.h (TARGET_HASWELL): New macro.
991         (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
992         (processor_type): New PROCESSOR_HASWELL.
994 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
996         PR tree-optimization/55955
997         * tree-vect-loop.c (vectorizable_reduction): Give up early on
998         *SHIFT_EXPR and *ROTATE_EXPR codes.
1000         PR tree-optimization/48766
1001         * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
1002         -ftrapv disable -fwrapv.
1004 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1006         PR target/55974
1007         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
1008         etc. to 1 and not to __flash.
1009         Use LL suffix for __INT24_MAX__ with -mint8.
1010         Use ULL suffix for __UINT24_MAX__ with -mint8.
1012 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1014         * config/avr/avr-arch.h
1015         (struct base_arch_s): Use typedef avr_arch_t instead.
1016         (struct arch_info_s): Use typedef avr_arch_info_t instead.
1017         (struct mcu_type_s): Use typedef avr_mcu_t instead.
1018         * config/avr/avr.c: Same.
1019         * config/avr/avr-devices.c: Same.
1020         * config/avr/driver-avr.c: Same.
1021         * config/avr/gen-avr-mmcu-texi.c: Same.
1022         * config/avr/avr-mcus.def: Adjust comment.
1024 2013-01-14  Tejas Belagod  <tejas.belagod@arm.com>
1026         * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
1027         * config/aarch64/iterators.md (VALLDI): New.
1029 2013-01-14  Uros Bizjak  <ubizjak@gmail.com>
1030             Andi Kleen  <ak@linux.intel.com>
1032         PR target/55948
1033         * config/i386/sync.md (atomic_store<mode>_1): New pattern.
1034         (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
1035         memmodel flag.
1037 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1039         * config/avr/avr-stdint.h: Remove trailing blanks.
1040         * config/avr/avr-log.h: Same.
1041         * config/avr/avr-arch.h: Same.
1042         * config/avr/avr-devices.c: Same.
1043         * config/avr/avr-dimode.md: Same.
1044         * config/avr/predicates.md: Same.
1045         * config/avr/avr-c.c: Same.  And fix typo.
1047         * config/avr/avr-protos.h: Same.  And:
1048         (function_arg_regno_p): Rename to avr_function_arg_regno_p.
1049         (init_cumulative_args): Rename to avr_init_cumulative_args.
1050         (expand_prologue): Rename to avr_expand_prologue.
1051         (expand_epilogue): Rename to avr_expand_epilogue.
1052         (adjust_insn_length): Rename to avr_adjust_insn_length.
1053         (notice_update_cc): Rename to avr_notice_update_cc.
1054         (final_prescan_insn): Rename to avr_final_prescan_insn.
1055         * config/avr/avr.c: Same.
1056         * config/avr/avr.h: Same.
1057         * config/avr/avr.md: Remove trailing blanks.
1058         (prologue): Use avr_expand_prologue.
1059         (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
1061 2013-01-14  Richard Biener  <rguenther@suse.de>
1063         * tree-cfg.c (verify_expr_location, verify_expr_location_1,
1064         verify_location, collect_subblocks): New functions.
1065         (verify_gimple_in_cfg): Verify that locations only reference
1066         BLOCKs in the functions BLOCK tree.
1068 2013-01-14  Richard Biener  <rguenther@suse.de>
1070         * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
1071         PHI argument.
1072         * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
1073         unshare reference.
1074         (insert_out_of_ssa_copy_on_edge): Likewise.
1075         (rewrite_close_phi_out_of_ssa): Likewise.
1076         * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
1077         debug expressions.
1078         * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
1079         propagated constants.
1080         * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
1081         can not be shared.
1083 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
1085         * config/avr/avr-modes.def: Add GPL copyright notice.
1087 2013-01-13  Uros Bizjak  <ubizjak@gmail.com>
1089         * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
1090         MEMMODEL_MASK to determine memory model.
1091         (atomic_store<mode>): Ditto from operands[2].
1092         * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
1094 2013-01-13  Jakub Jelinek  <jakub@redhat.com>
1096         PR fortran/55935
1097         * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
1098         (fold_gimple_assign): Don't call unshare_expr here.
1099         (fold_ctor_reference): Call unshare_expr.
1101 2013-01-13  Terry Guo  <terry.guo@arm.com>
1103         * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
1104         * doc/fragments.texi: Document MULTILIB_REUSE.
1105         * gcc.c (multilib_reuse): New internal spec.
1106         (set_multilib_dir): Also search multilib from multilib_reuse.
1107         * genmultilib (tmpmultilib3): Refactor code.
1108         (tmpmultilib4): Ditto.
1109         (multilib_reuse): New multilib argument.
1111 2013-01-13  Richard Sandiford  <rdsandiford@googlemail.com>
1113         * Makefile.in: Update copyright.
1115 2013-01-12  Tom de Vries  <tom@codesourcery.com>
1117         PR middle-end/55890
1118         * calls.c (expand_call): Check if arg_nr is valid.
1120 2013-01-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
1122         * doc/extend.texi (X86 Built-in Functions): Add whitespace in
1123         __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
1124         documentation.  Add missing '__' in front of
1125         __builtin_ia32_packssdw256.
1127 2013-01-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1129         PR target/55719
1130         * config/s390/s390.c (s390_preferred_reload_class): Do not return
1131         NO_REGS for larl operands.
1132         (s390_reload_larl_operand): Use s390_load_address instead of
1133         emit_move_insn.
1135 2013-01-11  Richard Biener  <rguenther@suse.de>
1137         * tree-cfg.c (verify_node_sharing_1): Split out from ...
1138         (verify_node_sharing): ... here.
1139         (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
1141 2013-01-11  Eric Botcazou  <ebotcazou@adacore.com>
1143         * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
1144         Substitute TREECHECKING.
1145         * configure: Regenerate.
1146         * Makefile.in (TREECHECKING): New.
1148 2013-01-11  Richard Guenther  <rguenther@suse.de>
1150         PR tree-optimization/44061
1151         * tree-vrp.c (extract_range_basic): Compute zero as
1152         value-range for __builtin_constant_p of function parameters.
1154 2013-01-10  Richard Sandiford  <rdsandiford@googlemail.com>
1156         Update copyright years.
1158 2013-01-10  Vladimir Makarov  <vmakarov@redhat.com>
1160         PR rtl-optimization/55672
1161         * lra-eliminations.c (mark_not_eliminable): Permit addition with
1162         const to be eliminable.
1164 2013-01-10  David Edelsohn  <dje.gcc@gmail.com>
1166         * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
1167         * configure: Regenerate.
1169 2013-01-10  Richard Biener  <rguenther@suse.de>
1171         * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
1173 2013-01-10  Richard Biener  <rguenther@suse.de>
1175         PR bootstrap/55792
1176         * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
1177         locations for virtual PHI arguments.
1178         (rewrite_update_phi_arguments): Likewise.
1180 2013-01-10  Joel Sherrill  <joel.sherrill@OARcorp.com>
1182         * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
1183         on to assembler.
1185 2013-01-10  Jakub Jelinek  <jakub@redhat.com>
1187         PR tree-optimization/55921
1188         * tree-complex.c (expand_complex_asm): New function.
1189         (expand_complex_operations_1): Call it for GIMPLE_ASM.
1191 2013-01-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1193         PR target/55718
1194         * config/s390/s390.c (s390_symref_operand_p)
1195         (s390_loadrelative_operand_p): Merge the two functions.
1196         (s390_check_qrst_address, print_operand_address): Add parameters
1197         to s390_loadrelative_operand_p invokation.
1198         (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
1199         (s390_reload_larl_operand, s390_secondary_reload): Use
1200         s390_loadrelative_operand_p instead of s390_symref_operand_p.
1201         (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
1203 2013-01-09  Mike Stump  <mikestump@comcast.net>
1205         * dse.c (record_store): Remove unnecessary assert.
1207 2013-01-09  Jan Hubicka  <jh@suse.cz>
1209         PR tree-optimization/55569
1210         * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
1211         * cfgloop.h (scale_loop_profile): Likewise.
1213 2013-01-09  Jan Hubicka  <jh@suse.cz>
1215         PR lto/45375
1216         * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
1217         functions.
1218         * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
1220 2013-01-09  Richard Sandiford  <rdsandiford@googlemail.com>
1222         PR middle-end/55114
1223         * expr.h (maybe_emit_group_store): Declare.
1224         * expr.c (maybe_emit_group_store): New function.
1225         * builtins.c (expand_builtin_int_roundingfn): Call it.
1226         (expand_builtin_int_roundingfn_2): Likewise.
1228 2013-01-09  Vladimir Makarov  <vmakarov@redhat.com>
1230         PR rtl-optimization/55829
1231         * lra-constraints.c (match_reload): Add code for absent output.
1232         (curr_insn_transform): Add code for reloads of matched inputs
1233         without output.
1235 2013-01-09  Uros Bizjak  <ubizjak@gmail.com>
1237         * config/i386/sse.md (*vec_interleave_highv2df): Change mode
1238         attribute of movddup insn to DF.
1239         (*vec_interleave_lowv2df): Ditto.
1240         (vec_dupv2df): Ditto.
1242 2013-01-09  Jan Hubicka  <jh@suse.cz>
1244         PR tree-optimiation/55875
1245         * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
1246         EVERY_ITERATION parameter.
1247         (number_of_iterations_exit): Check if exit is executed every iteration.
1248         (idx_infer_loop_bounds): Similarly here.
1249         (n_of_executions_at_most): Simplify
1250         to only test for cases where statement is dominated by the
1251         particular bound; handle correctly the "postdominance" test.
1252         (scev_probably_wraps_p): Use max loop iterations info
1253         as a global bound first.
1255 2013-01-09  Nguyen Duy Dat  <dat.nguyen.yn@rvc.renesas.com>
1256             Nick Clifton  <nickc@redhat.com>
1258         * config/v850/v850.md (cbranchsf4): New pattern.
1259         (cstoresf4): New pattern.
1260         (cbranchdf4): New pattern.
1261         (cstoredf4): New pattern.
1262         (movsicc): Disallow floating point comparisons.
1263         (cmpsf_le_insn): Fix order of operators.
1264         (cmpsf_lt_insn): Likewise.
1265         (cmpsf_eq_insn): Likewise.
1266         (cmpdf_le_insn): Likewise.
1267         (cmpdf_lt_insn): Likewise.
1268         (cmpdf_eq_insn): Likewise.
1269         (cmpsf_ge_insn): Use LE comparison.
1270         (cmpdf_ge_insn): Likewise.
1271         (cmpsf_gt_insn): Use LT comparison.
1272         (cmpdf_gt_insn): Likewise.
1273         (cmpsf_ne_insn): Delete pattern.
1274         (cmpdf_ne_insn): Delete pattern.
1275         * config/v850/v850.c (v850_gen_float_compare): Use
1276         gen_cmpdf_eq_insn for NE comparison.
1277         (v850_float_z_comparison_operator)
1278         (v850_float_nz_comparison_operator): Move from here ...
1279         * config/v850/predicates.md: ... to here.  Move GT and GE
1280         comparisons into v850_float_z_comparison_operator.
1281         * config/v850/v850-protos.h (v850_float_z_comparison_operator):
1282         Delete prototype.
1283         (v850_float_nz_comparison_operator): Likewise.
1285 2013-01-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1287         * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
1288         with calls to gen_insvsi/gen_insvdi.
1290 2013-01-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
1292         * config/i386/i386.c (initial_ix86_tune_features): Set up
1293         X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
1295 2013-01-09  Steven Bosscher  <steven@gcc.gnu.org>
1296             Jakub Jelinek  <jakub@redhat.com>
1298         PR tree-optimization/48189
1299         * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
1300         If nitercst is 0, don't predict the exit edge.
1302 2013-01-08   Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
1304         * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
1305         in asm_fprintf with reg_names.
1306         (aarch64_print_operand_address): Likewise.
1307         (aarch64_return_addr): Likewise.
1308         * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
1310 2013-01-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1312         * config/pa/pa.h (VAL_U6_BITS_P): Define.
1313         (INT_U6_BITS): Likewise.
1314         * config/pa/predicates.md (uint6_operand): New predicate.
1315         (shift5_operand, shift6_operand): Likewise.
1316         * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
1317         arith32_operand.
1318         (lshrdi3): Use shift6_operand.
1319         (shrpsi4, shrpdi4): New insn patterns.
1320         (extzv): Delete expander.
1321         (extzvsi, extzvdi): New expanders.  Use uint5_operand and uint6_operand
1322         predicates in unamed zero extract patterns.  Tighten common constraint.
1323         (extv): Delete expander.
1324         (extvsi, extvdi): New expanders.  Use uint5_operand and uint6_operand
1325         predicates in unamed sign extract patterns.  Tighten common constraint.
1326         (insv): Delete expander.
1327         (insvsi, insvdi): New expanders.  Use uint5_operand and uint6_operand
1328         predicates in unamed insert patterns.  Tighten common constraint.
1329         Change uint32_operand predicate to uint6_operand predicate in unamed
1330         DImode pattern to insert constant values of type 1...1xxxx.
1332 2013-01-04  Jan Hubicka  <jh@suse.cz>
1334         PR tree-optimization/55823
1335         * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
1336         issue.
1338 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
1339             Uros Bizjak  <ubizjak@gmail.com>
1341         PR rtl-optimization/55845
1342         * df-problems.c (can_move_insns_across): Stop scanning at
1343         volatile_insn_p source instruction or give up if
1344         across_from .. across_to range contains any volatile_insn_p
1345         instructions.
1347 2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
1349         * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
1350         * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
1351         Declare.
1352         * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
1353         aarch64_simd_make_constant, aarch64_expand_vector_init): New.
1355 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
1357         PR fortran/55341
1358         * asan.c (asan_clear_shadow): New function.
1359         (asan_emit_stack_protection): Use it.
1361 2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
1363         * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
1364         aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
1365         with tab instead of space.
1367 2013-01-08  Nick Clifton  <nickc@redhat.com>
1369         * config/rl78/rl78.c (rl78_expand_prologue): Always select
1370         register bank 0 at the start of an interrupt handler.
1371         * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
1372         MDBH registers.
1374 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
1376         * config/aarch64/aarch64-simd.md
1377         (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
1378         (aarch64_simd_bsl): Likewise.
1379         (aarch64_vcond_internal<mode>): Likewise.
1380         (vcond<mode><mode>): Likewise.
1381         (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
1382         * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
1384 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
1386         * config/aarch64/aarch64-builtins.c
1387         (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
1389 2013-01-08  Martin Jambor  <mjambor@suse.cz>
1391         PR debug/55579
1392         * tree-sra.c (analyze_access_subtree): Return true also after
1393         potentially creating a debug-only replacement.
1395 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
1397         PR middle-end/55890
1398         * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
1400         PR tree-optimization/54120
1401         * tree-vrp.c (range_fits_type_p): Don't allow
1402         src_precision < precision from signed vr to unsigned_p
1403         if vr->min or vr->max is negative.
1404         (simplify_float_conversion_using_ranges): Test can_float_p
1405         against CODE_FOR_nothing.
1407 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
1408             Richard Biener  <rguenther@suse.de>
1410         PR middle-end/55851
1411         * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
1412         types instead of just INTEGER_TYPE types.
1414 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
1416         * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
1417         TF_SIZE): Define.
1419 2013-01-07  Steve Ellcey  <sellcey@mips.com>
1421         PR target/42661
1422         * config/mips/mips.opt: Change mad to mmad to match documentation.
1424 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
1426         PR target/55897
1427         * doc/extend.texi (AVR Named Address Spaces): __memx goes into
1428         .progmemx.data now.
1430 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
1432         PR target/55897
1433         * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
1434         (avr_addrspace_t): Add .section_name field.
1435         * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
1436         array size.
1437         (avr_addrspace): Same.  Initialize .section_name.  Remove last
1438         NULL entry.  Put __memx into .progmemx.data.
1439         (progmem_section_prefix): Remove.
1440         (avr_asm_init_sections): No need to initialize progmem_section.
1441         (avr_asm_named_section): Use avr_addrspace[].section_name to get
1442         section name prefix.
1443         (avr_asm_select_section): Ditto.  And use get_unnamed_section to
1444         retrieve the progmem section.
1445         * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
1446         boundary to run over avr_addrspace[].
1447         (avr_register_target_pragmas): Ditto.
1449 2013-01-06  Jakub Jelinek  <jakub@redhat.com>
1451         * varasm.c (output_constant_def_contents): For asan_protect_global
1452         protected strings, adjust DECL_ALIGN if needed, before testing for
1453         anchored symbols.
1454         (place_block_symbol): Adjust size for asan protected STRING_CSTs if
1455         TREE_CONSTANT_POOL_ADDRESS_P.  Increase alignment for asan protected
1456         normal decls.
1457         (output_object_block): For asan protected decls, emit asan padding
1458         after their contents.
1459         * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
1460         (asan_finish_file): Test it here instead.
1462 2013-01-07   Nick Clifton  <nickc@redhat.com>
1463              Matthias Klose  <doko@debian.org>
1464              Doug Kwan  <dougkwan@google.com>
1465              H.J. Lu  <hongjiu.lu@intel.com>
1467         PR driver/55470
1468         * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
1470         * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
1472         * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
1474         * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
1476         * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
1478 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
1480         PR target/54461
1481         * doc/install.texi (Cross-Compiler-Specific Options): Document
1482         --with-avrlibc.
1484 2013-01-07  Tejas Belagod  <tejas.belagod@arm.com>
1486         * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
1487         vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
1488         vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
1489         vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
1490         vqmovun_high_s64): Fix source operand number and update copyright.
1492 2013-01-07  Richard Biener  <rguenther@suse.de>
1494         PR middle-end/55890
1495         * gimple.h (gimple_call_builtin_p): New overload.
1496         * gimple.c (validate_call): New function.
1497         (gimple_call_builtin_p): Likewise.
1498         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
1499         Use gimple_call_builtin_p.
1500         (find_func_clobbers): Likewise.
1501         * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
1502         (strlen_optimize_stmt): Likewise.
1504 2013-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
1506         * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
1507         (vld1q_dup_*): Likewise.
1508         (vld1_*): Likewise.
1509         (vld1q_*): Likewise.
1510         (vld1_lane_*): Likewise.
1511         (vld1q_lane_*): Likewise.
1513 2013-01-07  Richard Biener  <rguenther@suse.de>
1515         * lto-streamer.h (LTO_minor_version): Bump to 2.
1517 2013-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
1519         * config/aarch64/aarch64-protos.h
1520         (aarch64_const_double_zero_rtx_p): Rename to...
1521         (aarch64_float_const_zero_rtx_p): ...this.
1522         (aarch64_float_const_representable_p): New.
1523         (aarch64_output_simd_mov_immediate): Likewise.
1524         * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
1525         move immediate case.
1526         * config/aarch64/aarch64.c
1527         (aarch64_const_double_zero_rtx_p): Rename to...
1528         (aarch64_float_const_zero_rtx_p): ...this.
1529         (aarch64_print_operand): Allow printing of new constants.
1530         (aarch64_valid_floating_const): New.
1531         (aarch64_legitimate_constant_p): Check for valid floating-point
1532         constants.
1533         (aarch64_simd_valid_immediate): Likewise.
1534         (aarch64_vect_float_const_representable_p): New.
1535         (aarch64_float_const_representable_p): Likewise.
1536         (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
1537         (aarch64_output_simd_mov_immediate): New.
1538         * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
1539         (*movdf_aarch64): Likewise.
1540         * config/aarch64/constraints.md (Ufc): New.
1541         (Y): call aarch64_float_const_zero_rtx.
1542         * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
1544 2013-01-07  Richard Biener  <rguenther@suse.de>
1546         PR tree-optimization/55888
1547         PR tree-optimization/55862
1548         * tree-ssa-pre.c (phi_translate_1): Revert previous change.
1549         (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
1550         not if it is contained therein.
1552 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
1554         * config/avr/t-avr: Typo.
1556 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
1558         PR55243
1559         * config/avr/t-avr: Don't automatically rebuild
1560         $(srcdir)/config/avr/t-multilib
1561         $(srcdir)/config/avr/avr-tables.opt
1562         $(srcdir)/doc/avr-mmcu.texi
1563         (avr-mcus): New phony target to build them on request.
1564         (s-avr-mlib, s-avr-mmcu-texi): Remove.
1565         * avr/avr-mcus.def: Adjust comments.
1567 2013-01-07  Uros Bizjak  <ubizjak@gmail.com>
1569         * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
1571 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
1573         * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
1575 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
1577         * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
1579 2013-01-05  David Edelsohn  <dje.gcc@gmail.com>
1581         * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
1582         to generate profiling.
1583         * config/rs6000/aix64.h (LIB_SPEC): Same.
1585 2013-01-04  Andrew Pinski  <apinski@cavium.com>
1587         * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
1588         New function.
1589         (TARGET_FIXED_CONDITION_CODE_REGS): Define.
1591 2013-01-04  Uros Bizjak  <ubizjak@gmail.com>
1593         * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
1594         unconditionally.
1595         (ix86_expand_move): Ditto.
1596         (ix86_zero_extend_to_Pmode): Ditto.
1597         (ix86_expand_call): Ditto.
1598         (ix86_expand_special_args_builtin): Ditto.
1599         (ix86_expand_builtin): Ditto.
1601 2013-01-04  Richard Biener  <rguenther@suse.de>
1603         PR tree-optimization/55862
1604         * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
1605         translating them through PHI nodes.
1607 2013-01-04  Martin Jambor  <mjambor@suse.cz>
1609         PR tree-optimization/55755
1610         * tree-sra.c (sra_modify_assign): Do not check that an access has no
1611         children when trying to avoid producing a VIEW_CONVERT_EXPR.
1613 2013-01-04  Marek Polacek  <polacek@redhat.com>
1615         PR middle-end/55859
1616         * opts.c (default_options_optimization): Clarify error message.
1618 2013-01-04  Richard Biener  <rguenther@suse.de>
1620         PR middle-end/55863
1621         * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
1622         reassociation.
1624 2013-01-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1626         PR target/53789
1627         * config/pa/pa.md (movsi): Revert previous change.
1628         * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
1629         references.
1631 2013-01-03  Richard Henderson  <rth@redhat.com>
1633         * config/i386/i386.c (ix86_expand_move): Always assign to op1
1634         after eliminating TLS symbols.
1636 2013-01-03  Marc Glisse  <marc.glisse@inria.fr>
1638         PR bootstrap/50167
1639         * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
1640         * graphite-poly.c (debug_gmp_value): Likewise.
1642 2013-01-03  Uros Bizjak  <ubizjak@gmail.com>
1644         PR target/55712
1645         * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
1646         selected code model, define __code_mode_small__, __code_model_medium__,
1647         __code_model_large__, __code_model_32__ or __code_model_kernel__.
1648         * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
1649         xchg temporary register with %k.  Declare temporary register as
1650         early clobbered.
1651         [__x86_64__]: For medium and large code models, preserve %rbx register.
1653 2013-01-03  Richard Biener  <rguenther@suse.de>
1655         * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
1656         (dump_subscript): Adjust.
1657         (finalize_ddr_dependent): Do not dump redundant info.
1658         (analyze_siv_subscript): Adjust.
1659         (subscript_dependence_tester): Likewise.
1660         (compute_affine_dependence): Likewise.
1662 2013-01-03  Richard Biener  <rguenther@suse.de>
1664         Revert
1665         2013-01-03  Richard Biener  <rguenther@suse.de>
1667         PR tree-optimization/55857
1668         * tree-vect-stmts.c (vectorizable_load): Do not setup
1669         re-alignment for invariant loads.
1671         2013-01-02  Richard Biener  <rguenther@suse.de>
1673         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1674         invariant load do not generate a vector load from the scalar location.
1676 2013-01-03  Richard Biener  <rguenther@suse.de>
1678         * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
1679         for not vectorizing.
1680         * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
1681         not build INDIRECT_REFs, call get_name once only.
1682         (vect_create_data_ref_ptr): Likewise.  Dump base object kind
1683         based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
1685 2013-01-03  Richard Biener  <rguenther@suse.de>
1687         PR tree-optimization/55857
1688         * tree-vect-stmts.c (vectorizable_load): Do not setup
1689         re-alignment for invariant loads.
1691 2013-01-03  Richard Biener  <rguenther@suse.de>
1693         PR lto/55848
1694         * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
1695         prefer a built-in decl.
1697 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
1699         * gcc.c (process_command): Update copyright notice dates.
1700         * gcov.c (print_version): Likewise.
1701         * gcov-dump.c (print_version): Likewise.
1703         PR rtl-optimization/55838
1704         * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
1705         iv0.step, iv1.step and step.
1707 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
1708             Marc Glisse  <marc.glisse@inria.fr>
1710         PR tree-optimization/55832
1711         * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
1712         ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
1713         integer_{one,zero}_node.
1715 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
1717         PR debug/54402
1718         * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
1719         * var-tracking.c (reverse_op): Don't add reverse ops to
1720         VALUEs that have already
1721         PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
1723 2013-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
1725         * doc/contrib.texi: Note years as release manager for Mark Mitchell.
1727 2013-01-02  Teresa Johnson  <tejohnson@google.com>
1729         * dumpfile.c (dump_loc): Print filename with location.
1730         * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
1731         new location_t parameter to emit complete unroll message with
1732         new dump framework.
1733         (canonicalize_loop_induction_variables): Compute loops location
1734         and pass to try_unroll_loop_completely.
1735         * loop-unroll.c (report_unroll_peel): New function.
1736         (peel_loops_completely): Use new dump format with location
1737         for main dumpfile message, and invoke report_unroll_peel on success.
1738         (decide_unrolling_and_peeling): Ditto.
1739         (decide_peel_once_rolling): Remove old dumpfile message subsumed
1740         by report_unroll_peel.
1741         (decide_peel_completely): Ditto.
1742         (decide_unroll_constant_iterations): Ditto.
1743         (decide_unroll_runtime_iterations): Ditto.
1744         (decide_peel_simple): Ditto.
1745         (decide_unroll_stupid): Ditto.
1746         * cfgloop.c (get_loop_location): New function.
1747         * cfgloop.h (get_loop_location): Declare.
1749 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
1751         * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
1752         NULL.
1754 2013-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1756         PR middle-end/55198
1757         * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
1758         BLKmode objects when EXPAND_MEMORY is specified.
1760 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
1762         * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
1763         in loop predicate.
1764         (fold_builtin_cpu): Do not share cpu model decls across statements.
1766 2013-01-02  Jason Merrill  <jason@redhat.com>
1768         PR c++/55804
1769         * tree.c (build_array_type_1): Revert earlier change.
1771 2013-01-02  Yufeng Zhang  <yufeng.zhang@arm.com>
1773         * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
1774         "cortex-a57".
1775         * config/aarch64/aarch64-tune.md: Re-generate.
1777 2013-01-02  Richard Biener  <rguenther@suse.de>
1779         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
1780         invariant load do not generate a vector load from the scalar location.
1782 2013-01-02  Richard Biener  <rguenther@suse.de>
1784         PR bootstrap/55784
1785         * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
1786         * configure: Regenerate.
1788 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1790         * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
1791         (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
1792         (expand_builtin_int_roundingfn_2): Keep the original target around
1793         for the fallback case.
1795 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
1797         * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
1798         to be clear for sign changes.
1800 2013-01-01  Jan Hubicka  <jh@suse.cz>
1802         * ipa-inline-analysis.c: Fix formatting.
1804 2013-01-01  Jakub Jelinek  <jakub@redhat.com>
1806         PR tree-optimization/55831
1807         * tree-vect-loop.c (get_initial_def_for_induction): Use
1808         gsi_after_labels instead of gsi_start_bb.
1810 Copyright (C) 2013 Free Software Foundation, Inc.
1812 Copying and distribution of this file, with or without modification,
1813 are permitted in any medium without royalty provided the copyright
1814 notice and this notice are preserved.