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