2013-01-15 Paul Thomas <pault@gcc.gnu.org>
[official-gcc.git] / gcc / ChangeLog
blob975b878ae7a5cd8e09ea498e80339a3dc5f233b4
1 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
3         PR target/55974
4         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
5         etc. to 1 and not to __flash.
6         Use LL suffix for __INT24_MAX__ with -mint8.
7         Use ULL suffix for __UINT24_MAX__ with -mint8.
9 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
11         * config/avr/avr-arch.h
12         (struct base_arch_s): Use typedef avr_arch_t instead.
13         (struct arch_info_s): Use typedef avr_arch_info_t instead.
14         (struct mcu_type_s): Use typedef avr_mcu_t instead.
15         * config/avr/avr.c: Same.
16         * config/avr/avr-devices.c: Same.
17         * config/avr/driver-avr.c: Same.
18         * config/avr/gen-avr-mmcu-texi.c: Same.
19         * config/avr/avr-mcus.def: Adjust comment.
21 2013-01-14  Tejas Belagod  <tejas.belagod@arm.com>
23         * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New. 
24         * config/aarch64/iterators.md (VALLDI): New. 
26 2012-01-14  Uros Bizjak  <ubizjak@gmail.com>
27             Andi Kleen  <ak@linux.intel.com>
29         PR target/55948
30         * config/i386/sync.md (atomic_store<mode>_1): New pattern.
31         (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
32         memmodel flag.
34 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
36         * config/avr/avr-stdint.h: Remove trailing blanks.
37         * config/avr/avr-log.h: Same.
38         * config/avr/avr-arch.h: Same.
39         * config/avr/avr-devices.c: Same.
40         * config/avr/avr-dimode.md: Same.
41         * config/avr/predicates.md: Same.
42         * config/avr/avr-c.c: Same.  And fix typo.
44         * config/avr/avr-protos.h: Same.  And:
45         (function_arg_regno_p): Rename to avr_function_arg_regno_p.
46         (init_cumulative_args): Rename to avr_init_cumulative_args.
47         (expand_prologue): Rename to avr_expand_prologue.
48         (expand_epilogue): Rename to avr_expand_epilogue.
49         (adjust_insn_length): Rename to avr_adjust_insn_length.
50         (notice_update_cc): Rename to avr_notice_update_cc.
51         (final_prescan_insn): Rename to avr_final_prescan_insn.
52         * config/avr/avr.c: Same.
53         * config/avr/avr.h: Same.
54         * config/avr/avr.md: Remove trailing blanks.
55         (prologue): Use avr_expand_prologue.
56         (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
58 2013-01-14  Richard Biener  <rguenther@suse.de>
60         * tree-cfg.c (verify_expr_location, verify_expr_location_1,
61         verify_location, collect_subblocks): New functions.
62         (verify_gimple_in_cfg): Verify that locations only reference
63         BLOCKs in the functions BLOCK tree.
65 2013-01-14  Richard Biener  <rguenther@suse.de>
67         * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
68         PHI argument.
69         * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
70         unshare reference.
71         (insert_out_of_ssa_copy_on_edge): Likewise.
72         (rewrite_close_phi_out_of_ssa): Likewise.
73         * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
74         debug expressions.
75         * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
76         propagated constants.
77         * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
78         can not be shared.
80 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
82         * config/avr/avr-modes.def: Add GPL copyright notice.
84 2013-01-13  Uros Bizjak  <ubizjak@gmail.com>
86         * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
87         MEMMODEL_MASK to determine memory model.
88         (atomic_store<mode>): Ditto from operands[2].
89         * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
91 2013-01-13  Jakub Jelinek  <jakub@redhat.com>
93         PR fortran/55935
94         * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
95         (fold_gimple_assign): Don't call unshare_expr here.
96         (fold_ctor_reference): Call unshare_expr.
98 2013-01-13  Terry Guo  <terry.guo@arm.com>
100         * gcc/Makefile.in (s-mlib): New argument MULTILIB_REUSE.
101         * gcc/doc/fragments.texi: Document MULTILIB_REUSE.
102         * gcc/gcc.c (multilib_reuse): New internal spec.
103         (set_multilib_dir): Also search multilib from multilib_reuse.
104         * gcc/genmultilib (tmpmultilib3): Refactor code.
105         (tmpmultilib4): Ditto.
106         (multilib_reuse): New multilib argument.
108 2013-01-13  Richard Sandiford  <rdsandiford@googlemail.com>
110         * Makefile.in: Update copyright.
112 2013-01-12  Tom de Vries  <tom@codesourcery.com>
114         PR middle-end/55890
115         * calls.c (expand_call): Check if arg_nr is valid.
117 2013-01-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
119         * doc/extend.texi (X86 Built-in Functions): Add whitespace in
120         __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
121         documentation.  Add missing '__' in front of
122         __builtin_ia32_packssdw256.
124 2013-01-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
126         PR target/55719
127         * config/s390/s390.c (s390_preferred_reload_class): Do not return
128         NO_REGS for larl operands.
129         (s390_reload_larl_operand): Use s390_load_address instead of
130         emit_move_insn.
132 2013-01-11  Richard Biener  <rguenther@suse.de>
134         * tree-cfg.c (verify_node_sharing_1): Split out from ...
135         (verify_node_sharing): ... here.
136         (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
138 2013-01-11  Eric Botcazou  <ebotcazou@adacore.com>
140         * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
141         Substitute TREECHECKING.
142         * configure: Regenerate.
143         * Makefile.in (TREECHECKING): New.
145 2012-01-11  Richard Guenther  <rguenther@suse.de>
147         PR tree-optimization/44061
148         * tree-vrp.c (extract_range_basic): Compute zero as
149         value-range for __builtin_constant_p of function parameters.
151 2013-01-10  Richard Sandiford  <rdsandiford@googlemail.com>
153         Update copyright years.
155 2013-01-10  Vladimir Makarov  <vmakarov@redhat.com>
157         PR rtl-optimization/55672
158         * lra-eliminations.c (mark_not_eliminable): Permit addition with
159         const to be eliminable.
161 2013-01-10  David Edelsohn  <dje.gcc@gmail.com>
163         * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
164         * configure: Regenerate.
166 2013-01-10  Richard Biener  <rguenther@suse.de>
168         * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
170 2013-01-10  Richard Biener  <rguenther@suse.de>
172         PR bootstrap/55792
173         * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
174         locations for virtual PHI arguments.
175         (rewrite_update_phi_arguments): Likewise.
177 2013-01-10  Joel Sherrill  <joel.sherrill@OARcorp.com>
179         * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
180         on to assembler.
182 2013-01-10  Jakub Jelinek  <jakub@redhat.com>
184         PR tree-optimization/55921
185         * tree-complex.c (expand_complex_asm): New function.
186         (expand_complex_operations_1): Call it for GIMPLE_ASM.
188 2013-01-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
190         PR target/55718
191         * config/s390/s390.c (s390_symref_operand_p)
192         (s390_loadrelative_operand_p): Merge the two functions.
193         (s390_check_qrst_address, print_operand_address): Add parameters
194         to s390_loadrelative_operand_p invokation.
195         (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
196         (s390_reload_larl_operand, s390_secondary_reload): Use
197         s390_loadrelative_operand_p instead of s390_symref_operand_p.
198         (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
200 2013-01-09  Mike Stump  <mikestump@comcast.net>
202         * dse.c (record_store): Remove unnecessary assert.
204 2013-01-09  Jan Hubicka  <jh@suse.cz>
206         PR tree-optimization/55569
207         * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
208         * cfgloop.h (scale_loop_profile): Likewise.
210 2013-01-09  Jan Hubicka  <jh@suse.cz>
212         PR lto/45375
213         * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
214         functions.
215         * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
217 2013-01-09  Richard Sandiford  <rdsandiford@googlemail.com>
219         PR middle-end/55114
220         * expr.h (maybe_emit_group_store): Declare.
221         * expr.c (maybe_emit_group_store): New function.
222         * builtins.c (expand_builtin_int_roundingfn): Call it.
223         (expand_builtin_int_roundingfn_2): Likewise.
225 2013-01-09  Vladimir Makarov  <vmakarov@redhat.com>
227         PR rtl-optimization/55829
228         * lra-constraints.c (match_reload): Add code for absent output.
229         (curr_insn_transform): Add code for reloads of matched inputs
230         without output.
232 2013-01-09  Uros Bizjak  <ubizjak@gmail.com>
234         * config/i386/sse.md (*vec_interleave_highv2df): Change mode
235         attribute of movddup insn to DF.
236         (*vec_interleave_lowv2df): Ditto.
237         (vec_dupv2df): Ditto.
239 2013-01-09  Jan Hubicka  <jh@suse.cz>
241         PR tree-optimiation/55875
242         * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
243         EVERY_ITERATION parameter.
244         (number_of_iterations_exit): Check if exit is executed every iteration.
245         (idx_infer_loop_bounds): Similarly here.
246         (n_of_executions_at_most): Simplify
247         to only test for cases where statement is dominated by the
248         particular bound; handle correctly the "postdominance" test.
249         (scev_probably_wraps_p): Use max loop iterations info
250         as a global bound first.
252 2013-01-09  Nguyen Duy Dat  <dat.nguyen.yn@rvc.renesas.com>
253             Nick Clifton  <nickc@redhat.com>
255         * config/v850/v850.md (cbranchsf4): New pattern.
256         (cstoresf4): New pattern.
257         (cbranchdf4): New pattern.
258         (cstoredf4): New pattern.
259         (movsicc): Disallow floating point comparisons.
260         (cmpsf_le_insn): Fix order of operators.
261         (cmpsf_lt_insn): Likewise.
262         (cmpsf_eq_insn): Likewise.
263         (cmpdf_le_insn): Likewise.
264         (cmpdf_lt_insn): Likewise.
265         (cmpdf_eq_insn): Likewise.
266         (cmpsf_ge_insn): Use LE comparison.
267         (cmpdf_ge_insn): Likewise.
268         (cmpsf_gt_insn): Use LT comparison.
269         (cmpdf_gt_insn): Likewise.
270         (cmpsf_ne_insn): Delete pattern.
271         (cmpdf_ne_insn): Delete pattern.
272         * config/v850/v850.c (v850_gen_float_compare): Use
273         gen_cmpdf_eq_insn for NE comparison.
274         (v850_float_z_comparison_operator)
275         (v850_float_nz_comparison_operator): Move from here ...
276         * config/v850/predicates.md: ... to here.  Move GT and GE
277         comparisons into v850_float_z_comparison_operator.
278         * config/v850/v850-protos.h (v850_float_z_comparison_operator):
279         Delete prototype.
280         (v850_float_nz_comparison_operator): Likewise.
282 2013-01-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
284         * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
285         with calls to gen_insvsi/gen_insvdi.
287 2013-01-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
289         * config/i386/i386.c (initial_ix86_tune_features): Set up
290         X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
292 2013-01-09  Steven Bosscher  <steven@gcc.gnu.org>
293             Jakub Jelinek  <jakub@redhat.com>
295         PR tree-optimization/48189
296         * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
297         If nitercst is 0, don't predict the exit edge.
299 2013-01-08   Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
301         * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
302         in asm_fprintf with reg_names.
303         (aarch64_print_operand_address): Likewise.
304         (aarch64_return_addr): Likewise.
305         * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
307 2013-01-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
309         * config/pa/pa.h (VAL_U6_BITS_P): Define.
310         (INT_U6_BITS): Likewise.
311         * config/pa/predicates.md (uint6_operand): New predicate.
312         (shift5_operand, shift6_operand): Likewise.
313         * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
314         arith32_operand.
315         (lshrdi3): Use shift6_operand.
316         (shrpsi4, shrpdi4): New insn patterns.
317         (extzv): Delete expander.
318         (extzvsi, extzvdi): New expanders.  Use uint5_operand and uint6_operand
319         predicates in unamed zero extract patterns.  Tighten common constraint.
320         (extv): Delete expander.
321         (extvsi, extvdi): New expanders.  Use uint5_operand and uint6_operand
322         predicates in unamed sign extract patterns.  Tighten common constraint.
323         (insv): Delete expander.
324         (insvsi, insvdi): New expanders.  Use uint5_operand and uint6_operand
325         predicates in unamed insert patterns.  Tighten common constraint.
326         Change uint32_operand predicate to uint6_operand predicate in unamed
327         DImode pattern to insert constant values of type 1...1xxxx.
329 2013-01-04  Jan Hubicka  <jh@suse.cz>
331         PR tree-optimization/55823
332         * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
333         issue.
335 2012-01-08  Jakub Jelinek  <jakub@redhat.com>
336             Uros Bizjak  <ubizjak@gmail.com>
338         PR rtl-optimization/55845
339         * df-problems.c (can_move_insns_across): Stop scanning at
340         volatile_insn_p source instruction or give up if
341         across_from .. across_to range contains any volatile_insn_p
342         instructions.
344 2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
346         * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
347         * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
348         Declare.
349         * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
350         aarch64_simd_make_constant, aarch64_expand_vector_init): New.
352 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
354         PR fortran/55341
355         * asan.c (asan_clear_shadow): New function.
356         (asan_emit_stack_protection): Use it.
358 2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
360         * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
361         aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
362         with tab instead of space.
364 2013-01-08  Nick Clifton  <nickc@redhat.com>
366         * config/rl78/rl78.c (rl78_expand_prologue): Always select
367         register bank 0 at the start of an interrupt handler.
368         * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
369         MDBH registers.
371 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
373         * config/aarch64/aarch64-simd.md
374         (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
375         (aarch64_simd_bsl): Likewise.
376         (aarch64_vcond_internal<mode>): Likewise.
377         (vcond<mode><mode>): Likewise.
378         (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
379         * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
381 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
383         * config/aarch64/aarch64-builtins.c
384         (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
386 2013-01-08  Martin Jambor  <mjambor@suse.cz>
388         PR debug/55579
389         * tree-sra.c (analyze_access_subtree): Return true also after
390         potentially creating a debug-only replacement.
392 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
394         PR middle-end/55890
395         * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
397         PR tree-optimization/54120
398         * tree-vrp.c (range_fits_type_p): Don't allow
399         src_precision < precision from signed vr to unsigned_p
400         if vr->min or vr->max is negative.
401         (simplify_float_conversion_using_ranges): Test can_float_p
402         against CODE_FOR_nothing.
404 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
405             Richard Biener  <rguenther@suse.de>
407         PR middle-end/55851
408         * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
409         types instead of just INTEGER_TYPE types.
411 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
413         * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
414         TF_SIZE): Define.
416 2013-01-07  Steve Ellcey  <sellcey@mips.com>
418         PR target/42661
419         * config/mips/mips.opt: Change mad to mmad to match documentation.
421 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
423         PR target/55897
424         * doc/extend.texi (AVR Named Address Spaces): __memx goes into
425         .progmemx.data now.
427 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
429         PR target/55897
430         * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
431         (avr_addrspace_t): Add .section_name field.
432         * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
433         array size.
434         (avr_addrspace): Same.  Initialize .section_name.  Remove last
435         NULL entry.  Put __memx into .progmemx.data.
436         (progmem_section_prefix): Remove.
437         (avr_asm_init_sections): No need to initialize progmem_section.
438         (avr_asm_named_section): Use avr_addrspace[].section_name to get
439         section name prefix.
440         (avr_asm_select_section): Ditto.  And use get_unnamed_section to
441         retrieve the progmem section.
442         * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
443         boundary to run over avr_addrspace[].
444         (avr_register_target_pragmas): Ditto.
446 2013-01-06  Jakub Jelinek  <jakub@redhat.com>
448         * varasm.c (output_constant_def_contents): For asan_protect_global
449         protected strings, adjust DECL_ALIGN if needed, before testing for
450         anchored symbols.
451         (place_block_symbol): Adjust size for asan protected STRING_CSTs if
452         TREE_CONSTANT_POOL_ADDRESS_P.  Increase alignment for asan protected
453         normal decls.
454         (output_object_block): For asan protected decls, emit asan padding
455         after their contents.
456         * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
457         (asan_finish_file): Test it here instead.
459 2013-01-07   Nick Clifton  <nickc@redhat.com>
460              Matthias Klose <doko@debian.org>
461              Doug Kwan  <dougkwan@google.com>
462              H.J. Lu  <hongjiu.lu@intel.com>
464         PR driver/55470
465         * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
467         * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
469         * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
471         * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
473         * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
475 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
477         PR target/54461
478         * doc/install.texi (Cross-Compiler-Specific Options): Document
479         --with-avrlibc.
481 2013-01-07  Tejas Belagod  <tejas.belagod@arm.com>
483         * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
484         vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
485         vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
486         vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
487         vqmovun_high_s64): Fix source operand number and update copyright.
489 2013-01-07  Richard Biener  <rguenther@suse.de>
491         PR middle-end/55890
492         * gimple.h (gimple_call_builtin_p): New overload.
493         * gimple.c (validate_call): New function.
494         (gimple_call_builtin_p): Likewise.
495         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
496         Use gimple_call_builtin_p.
497         (find_func_clobbers): Likewise.
498         * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
499         (strlen_optimize_stmt): Likewise.
501 2013-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
503         * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
504         (vld1q_dup_*): Likewise.
505         (vld1_*): Likewise.
506         (vld1q_*): Likewise.
507         (vld1_lane_*): Likewise.
508         (vld1q_lane_*): Likewise.
510 2013-01-07  Richard Biener  <rguenther@suse.de>
512         * lto-streamer.h (LTO_minor_version): Bump to 2.
514 2013-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
516         * config/aarch64/aarch64-protos.h
517         (aarch64_const_double_zero_rtx_p): Rename to...
518         (aarch64_float_const_zero_rtx_p): ...this.
519         (aarch64_float_const_representable_p): New.
520         (aarch64_output_simd_mov_immediate): Likewise.
521         * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
522         move immediate case.
523         * config/aarch64/aarch64.c
524         (aarch64_const_double_zero_rtx_p): Rename to...
525         (aarch64_float_const_zero_rtx_p): ...this.
526         (aarch64_print_operand): Allow printing of new constants.
527         (aarch64_valid_floating_const): New.
528         (aarch64_legitimate_constant_p): Check for valid floating-point
529         constants.
530         (aarch64_simd_valid_immediate): Likewise.
531         (aarch64_vect_float_const_representable_p): New.
532         (aarch64_float_const_representable_p): Likewise.
533         (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
534         (aarch64_output_simd_mov_immediate): New.
535         * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
536         (*movdf_aarch64): Likewise.
537         * config/aarch64/constraints.md (Ufc): New.
538         (Y): call aarch64_float_const_zero_rtx.
539         * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
541 2013-01-07  Richard Biener  <rguenther@suse.de>
543         PR tree-optimization/55888
544         PR tree-optimization/55862
545         * tree-ssa-pre.c (phi_translate_1): Revert previous change.
546         (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
547         not if it is contained therein.
549 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
551         * config/avr/t-avr: Typo.
553 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
555         PR55243
556         * config/avr/t-avr: Don't automatically rebuild
557         $(srcdir)/config/avr/t-multilib
558         $(srcdir)/config/avr/avr-tables.opt
559         $(srcdir)/doc/avr-mmcu.texi
560         (avr-mcus): New phony target to build them on request.
561         (s-avr-mlib, s-avr-mmcu-texi): Remove.
562         * avr/avr-mcus.def: Adjust comments.
564 2013-01-07  Uros Bizjak  <ubizjak@gmail.com>
566         * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
568 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
570         * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
572 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
574         * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
576 2013-01-05  David Edelsohn  <dje.gcc@gmail.com>
578         * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
579         to generate profiling.
580         * config/rs6000/aix64.h (LIB_SPEC): Same.
582 2013-01-04  Andrew Pinski  <apinski@cavium.com>
584         * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
585         New function.
586         (TARGET_FIXED_CONDITION_CODE_REGS): Define.
588 2013-01-04  Uros Bizjak  <ubizjak@gmail.com>
590         * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
591         unconditionally.
592         (ix86_expand_move): Ditto.
593         (ix86_zero_extend_to_Pmode): Ditto.
594         (ix86_expand_call): Ditto.
595         (ix86_expand_special_args_builtin): Ditto.
596         (ix86_expand_builtin): Ditto.
598 2013-01-04  Richard Biener  <rguenther@suse.de>
600         PR tree-optimization/55862
601         * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
602         translating them through PHI nodes.
604 2013-01-04  Martin Jambor  <mjambor@suse.cz>
606         PR tree-optimization/55755
607         * tree-sra.c (sra_modify_assign): Do not check that an access has no
608         children when trying to avoid producing a VIEW_CONVERT_EXPR.
610 2013-01-04  Marek Polacek  <polacek@redhat.com>
612         PR middle-end/55859
613         * opts.c (default_options_optimization): Clarify error message.
615 2013-01-04  Richard Biener  <rguenther@suse.de>
617         PR middle-end/55863
618         * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
619         reassociation.
621 2013-01-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
623         PR target/53789
624         * config/pa/pa.md (movsi): Revert previous change.
625         * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
626         references.
628 2013-01-03  Richard Henderson  <rth@redhat.com>
630         * config/i386/i386.c (ix86_expand_move): Always assign to op1
631         after eliminating TLS symbols.
633 2013-01-03  Marc Glisse  <marc.glisse@inria.fr>
635         PR bootstrap/50167
636         * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
637         * graphite-poly.c (debug_gmp_value): Likewise.
639 2013-01-03  Uros Bizjak  <ubizjak@gmail.com>
641         PR target/55712
642         * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
643         selected code model, define __code_mode_small__, __code_model_medium__,
644         __code_model_large__, __code_model_32__ or __code_model_kernel__.
645         * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
646         xchg temporary register with %k.  Declare temporary register as
647         early clobbered.
648         [__x86_64__]: For medium and large code models, preserve %rbx register.
650 2013-01-03  Richard Biener  <rguenther@suse.de>
652         * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
653         (dump_subscript): Adjust.
654         (finalize_ddr_dependent): Do not dump redundant info.
655         (analyze_siv_subscript): Adjust.
656         (subscript_dependence_tester): Likewise.
657         (compute_affine_dependence): Likewise.
659 2013-01-03  Richard Biener  <rguenther@suse.de>
661         Revert
662         2013-01-03  Richard Biener  <rguenther@suse.de>
664         PR tree-optimization/55857
665         * tree-vect-stmts.c (vectorizable_load): Do not setup
666         re-alignment for invariant loads.
668         2013-01-02  Richard Biener  <rguenther@suse.de>
670         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
671         invariant load do not generate a vector load from the scalar location.
673 2013-01-03  Richard Biener  <rguenther@suse.de>
675         * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
676         for not vectorizing.
677         * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
678         not build INDIRECT_REFs, call get_name once only.
679         (vect_create_data_ref_ptr): Likewise.  Dump base object kind
680         based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
682 2013-01-03  Richard Biener  <rguenther@suse.de>
684         PR tree-optimization/55857
685         * tree-vect-stmts.c (vectorizable_load): Do not setup
686         re-alignment for invariant loads.
688 2013-01-03  Richard Biener  <rguenther@suse.de>
690         PR lto/55848
691         * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
692         prefer a built-in decl.
694 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
696         * gcc.c (process_command): Update copyright notice dates.
697         * gcov.c (print_version): Likewise.
698         * gcov-dump.c (print_version): Likewise.
700         PR rtl-optimization/55838
701         * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
702         iv0.step, iv1.step and step.
704 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
705             Marc Glisse  <marc.glisse@inria.fr>
707         PR tree-optimization/55832
708         * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
709         ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
710         integer_{one,zero}_node.
712 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
714         PR debug/54402
715         * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
716         * var-tracking.c (reverse_op): Don't add reverse ops to
717         VALUEs that have already
718         PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
720 2013-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
722         * doc/contrib.texi: Note years as release manager for Mark Mitchell.
724 2013-01-02  Teresa Johnson  <tejohnson@google.com>
726         * dumpfile.c (dump_loc): Print filename with location.
727         * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
728         new location_t parameter to emit complete unroll message with
729         new dump framework.
730         (canonicalize_loop_induction_variables): Compute loops location
731         and pass to try_unroll_loop_completely.
732         * loop-unroll.c (report_unroll_peel): New function.
733         (peel_loops_completely): Use new dump format with location
734         for main dumpfile message, and invoke report_unroll_peel on success.
735         (decide_unrolling_and_peeling): Ditto.
736         (decide_peel_once_rolling): Remove old dumpfile message subsumed
737         by report_unroll_peel.
738         (decide_peel_completely): Ditto.
739         (decide_unroll_constant_iterations): Ditto.
740         (decide_unroll_runtime_iterations): Ditto.
741         (decide_peel_simple): Ditto.
742         (decide_unroll_stupid): Ditto.
743         * cfgloop.c (get_loop_location): New function.
744         * cfgloop.h (get_loop_location): Declare.
746 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
748         * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
749         NULL.
751 2013-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
753         PR middle-end/55198
754         * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
755         BLKmode objects when EXPAND_MEMORY is specified.
757 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
759         * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
760         in loop predicate.
761         (fold_builtin_cpu): Do not share cpu model decls across statements.
763 2013-01-02  Jason Merrill  <jason@redhat.com>
765         PR c++/55804
766         * tree.c (build_array_type_1): Revert earlier change.
768 2013-01-02  Yufeng Zhang  <yufeng.zhang@arm.com>
770         * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
771         "cortex-a57".
772         * config/aarch64/aarch64-tune.md: Re-generate.
774 2013-01-02  Richard Biener  <rguenther@suse.de>
776         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
777         invariant load do not generate a vector load from the scalar location.
779 2013-01-02  Richard Biener  <rguenther@suse.de>
781         PR bootstrap/55784
782         * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
783         * configure: Regenerate.
785 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
787         * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
788         (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
789         (expand_builtin_int_roundingfn_2): Keep the original target around
790         for the fallback case.
792 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
794         * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
795         to be clear for sign changes.
797 2013-01-01  Jan Hubicka  <jh@suse.cz>
799         * ipa-inline-analysis.c: Fix formatting.
801 2013-01-01  Jakub Jelinek  <jakub@redhat.com>
803         PR tree-optimization/55831
804         * tree-vect-loop.c (get_initial_def_for_induction): Use
805         gsi_after_labels instead of gsi_start_bb.
807 Copyright (C) 2013 Free Software Foundation, Inc.
809 Copying and distribution of this file, with or without modification,
810 are permitted in any medium without royalty provided the copyright
811 notice and this notice are preserved.