GCCPY: * README added
[official-gcc.git] / gcc / ChangeLog
blob611ed38dbdb23f807e8ed0f2bd936af9dd1f6dff
1 2013-09-27  Paulo Matos  <pmatos@broadcom.com>
3         Backport from mainline.
5         PR middle-end/58463
6         2013-03-27  Richard Biener  <rguenther@suse.de>
8         PR tree-optimization/56716
9         * tree-ssa-structalias.c (perform_var_substitution): Adjust
10         dumping for ref nodes.
12 2013-09-27  Paulo Matos  <pmatos@broadcom.com>
14         Backport from mainline.
16         2013-09-27  Paulo Matos  <pmatos@broadcom.com>
17         PR middle-end/58463
18         * gcc.dg/pr58463.c: New test.
20 2013-09-23  Eric Botcazou  <ebotcazou@adacore.com>
22         * tree-ssa-ccp.c (insert_clobber_before_stack_restore): Recurse on copy
23         assignment statements.
25 2013-09-23  Alan Modra  <amodra@gmail.com>
27         PR target/58330
28         * config/rs6000/rs6000.md (bswapdi2_64bit): Disable for volatile mems.
30 2013-09-23  Alan Modra  <amodra@gmail.com>
32         * config/rs6000/predicates.md (add_cint_operand): New.
33         (reg_or_add_cint_operand, small_toc_ref): Use add_cint_operand.
34         * config/rs6000/rs6000.md (largetoc_high_plus): Restrict offset
35         using add_cint_operand.
36         (largetoc_high_plus_aix): Likewise.
37         * config/rs6000/rs6000.c (toc_relative_expr_p): Use add_cint_operand.
39 2013-09-20  John David Anglin  <danglin@gcc.gnu.org>
41         PR middle-end/56791
42         * config/pa/pa.c (pa_option_override): Disable auto increment and
43         decrement instructions until reload is completed.
45         * config/pa/pa.md: In "scc" insn patterns, change output template to
46         handle const0_rtx in reg_or_0_operand operands.
48 2013-09-19  Jakub Jelinek  <jakub@redhat.com>
50         * omp-low.c (expand_omp_sections): Always pass len - 1 to
51         GOMP_sections_start, even if !exit_reachable.
53 2013-09-18  Richard Earnshaw  <rearnsha@arm.com>
55         * arm.c (arm_expand_prologue): Validate architecture supports
56         LDRD/STRD before accepting tuning preferences.
57         (arm_expand_epilogue): Likewise.
59 2013-09-18  Daniel Morris  <danielm@ecoscentric.com>
60             Paolo Carlini  <paolo.carlini@oracle.com>
62         PR c++/58458
63         * doc/implement-cxx.texi: Fix references to the C++ standards.
65 2013-09-17  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
67         PR tree-optimization/58088
68         * fold-const.c (mask_with_trailing_zeros): New function.
69         (fold_binary_loc): Make sure we don't recurse infinitely
70         when the X in (X & C1) | C2 is a tree of the form (Y * K1) & K2.
71         Use mask_with_trailing_zeros where appropriate.
73 2013-09-14  John David Anglin  <danglin@gcc.gnu.org>
75         PR target/58382
76         * config/pa/pa.c (pa_expand_prologue): Change mode in gen_rtx_POST_INC
77         calls to word_mode.
79 2013-09-13  Christian Bruel  <christian.bruel@st.com>
81         PR target/58314
82         * config/sh/sh.md (mov<mode>_reg_reg): Allow memory reloads.
84 2013-09-11  Andi Kleen  <ak@linux.intel.com>
86         Backport from mainline
87         * doc/extend.texi: Use __atomic_store_n instead of
88         __atomic_store in HLE example.
90 2013-09-11  Andi Kleen  <ak@linux.intel.com>
92         Backport from mainline
93         * doc/extend.texi: Dont use __atomic_clear in HLE
94         example.  Fix typo.
96 2013-09-11  Andi Kleen  <ak@linux.intel.com>
98         Backport from mainline
99         * doc/extend.texi: Document that __atomic_clear and
100           __atomic_test_and_set should only be used with bool.
102 2013-09-11  Richard Biener  <rguenther@suse.de>
104         PR middle-end/58377
105         * passes.c (init_optimization_passes): Split critical edges
106         before late uninit warning pass in the -Og pipeline.
108 2013-09-11  Jakub Jelinek  <jakub@redhat.com>
110         PR tree-optimization/58385
111         * fold-const.c (build_range_check): If both low and high are NULL,
112         use omit_one_operand_loc to preserve exp side-effects.
114 2013-09-10  Richard Earnshaw  <rearnsha@arm.com>
116         PR target/58361
117         * arm/vfp.md (combine_vcvt_f32_<FCVTI32typename>): Fix pattern to
118         support conditional execution.
119         (combine_vcvt_f64_<FCVTI32typename>): Likewise.
121 2013-09-10  Jakub Jelinek  <jakub@redhat.com>
123         PR rtl-optimization/58365
124         * cfgcleanup.c (merge_memattrs): Also clear MEM_READONLY_P
125         resp. MEM_NOTRAP_P if they differ, or set MEM_VOLATILE_P if
126         it differs.
128 2013-09-09  Jakub Jelinek  <jakub@redhat.com>
130         PR tree-optimization/58364
131         * tree-ssa-reassoc.c (init_range_entry): For BIT_NOT_EXPR on
132         BOOLEAN_TYPE, only invert in_p and continue with arg0 if
133         the current range can't be an unconditional true or false.
135 2013-09-09  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
137         PR target/57735
138         Backport from mainline
139         2013-04-30  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
141         * explow.c (plus_constant): Pass "mode" to immed_double_int_const.
142         Use gen_int_mode rather than GEN_INT.
144 2013-09-09  Richard Biener  <rguenther@suse.de>
146         Backport from mainline
147         2013-08-27  Richard Biener  <rguenther@suse.de>
149         PR tree-optimization/57521
150         * tree-if-conv.c (if_convertible_bb_p): Verify that at least
151         one edge is non-critical.
152         (find_phi_replacement_condition): Make sure to use a non-critical
153         edge.  Cleanup and remove old bug workarounds.
154         (bb_postdominates_preds): Remove.
155         (if_convertible_loop_p_1): Do not compute post-dominators.
156         (combine_blocks): Do not free post-dominators.
157         (main_tree_if_conversion): Likewise.
159 2013-09-09  Richard Biener  <rguenther@suse.de>
161         Backport from mainline
162         2013-09-03  Richard Biener  <rguenther@suse.de>
164         PR middle-end/57656
165         * fold-const.c (negate_expr_p): Fix division case.
166         (negate_expr): Likewise.
168 2013-09-09  Richard Biener  <rguenther@suse.de>
170         Backport from mainline
171         2013-08-29  Richard Biener  <rguenther@suse.de>
173         PR tree-optimization/57685
174         * tree-vrp.c (register_edge_assert_for_1): Recurse only for
175         single-use operands to avoid exponential complexity.
177 2013-09-09  Richard Biener  <rguenther@suse.de>
179         Backport from mainline
180         2013-08-30  Richard Biener  <rguenther@suse.de>
182         PR tree-optimization/58223
183         * tree-loop-distribution.c (has_anti_dependence): Rename to ...
184         (has_anti_or_output_dependence): ... this and adjust to also
185         look for output dependences.
186         (mark_nodes_having_upstream_mem_writes): Adjust.
187         (rdg_flag_uses): Likewise.
189 2013-09-03  Richard Biener  <rguenther@suse.de>
191         Backport from mainline
192         2013-08-29  Richard Biener  <rguenther@suse.de>
194         PR tree-optimization/58246
195         * tree-ssa-dce.c (mark_aliased_reaching_defs_necessary_1): Properly
196         handle the dominance check inside a basic-block.
198 2013-09-03  Richard Biener  <rguenther@suse.de>
200         Backport from mainline
201         2013-08-30  Richard Biener  <rguenther@suse.de>
203         PR tree-optimization/58228
204         * tree-vect-data-refs.c (vect_analyze_data_ref_access): Do not
205         allow invariant loads in nested loop vectorization.
207 2013-09-03  Richard Biener  <rguenther@suse.de>
209         Backport from mainline
210         2013-08-30  Richard Biener  <rguenther@suse.de>
212         PR tree-optimization/58010
213         * tree-vect-loop.c (vect_create_epilog_for_reduction): Remove
214         assert that we have a loop-closed PHI.
216 2013-09-01  Uros Bizjak  <ubizjak@gmail.com>
218         Backport from mainline
219         2013-08-31  Uros Bizjak  <ubizjak@gmail.com>
221         * config/alpha/alpha.c (alpha_emit_conditional_move): Update
222         "cmp" RTX before signed_comparison_operator check to account
223         for "code" changes.
225 2013-09-01  John David Anglin  <danglin@gcc.gnu.org>
227         * config/pa/pa.md: Allow "const 0" operand 1 in "scc" insns.
229 2013-08-30  Jakub Jelinek  <jakub@redhat.com>
231         PR tree-optimization/58277
232         * tree-ssa-strlen.c (strlen_enter_block): If do_invalidate gave up
233         after seeing too many stmts with vdef in between dombb and current
234         bb, invalidate everything.
236 2013-08-29  Oleg Endo  <olegendo@gcc.gnu.org>
238         Backport from mainline
239         2013-08-05  Oleg Endo  <olegendo@gcc.gnu.org>
241         PR other/12081
242         * recog.h (rtx (*insn_gen_fn) (rtx, ...)): Replace typedef with new
243         class insn_gen_fn.
244         * expr.c (move_by_pieces_1, store_by_pieces_2): Replace argument
245         rtx (*) (rtx, ...) with insn_gen_fn.
246         * genoutput.c (output_insn_data): Cast gen_? function pointers to
247         insn_gen_fn::stored_funcptr.  Add initializer braces.
249         Backport from mainline
250         2013-08-07  Oleg Endo  <olegendo@gcc.gnu.org>
252         PR other/12081
253         * config/rs6000/rs6000.c (gen_2arg_fn_t): Remove typedef.
254         (rs6000_emit_swdiv_high_precision, rs6000_emit_swdiv_low_precision,
255         rs6000_emit_swrsqrt): Don't cast result of GEN_FCN to gen_2arg_fn_t.
257 2013-08-29  Jakub Jelinek  <jakub@redhat.com>
259         Backported from mainline
260         2013-05-27  Richard Biener  <rguenther@suse.de>
262         PR middle-end/57381
263         PR tree-optimization/57417
264         * tree-ssa-sccvn.c (vn_reference_fold_indirect): Fix test
265         for unchanged base.
266         (set_ssa_val_to): Compare addresses using
267         get_addr_base_and_unit_offset.
269         PR tree-optimization/57396
270         * tree-affine.c (double_int_constant_multiple_p): Properly
271         return false for val == 0 and div != 0.
273         PR tree-optimization/57343
274         * tree-ssa-loop-niter.c (number_of_iterations_ne_max): Do not
275         use multiple_of_p if not TYPE_OVERFLOW_UNDEFINED.
276         (number_of_iterations_cond): Do not build the folded tree.
278 2013-08-28  Jakub Jelinek  <jakub@redhat.com>
280         PR middle-end/58257
281         * omp-low.c (copy_var_decl): Copy over TREE_NO_WARNING flag.
283 2013-08-28  Richard Biener  <rguenther@suse.de>
285         Backport from mainline
286         2013-06-24  Richard Biener  <rguenther@suse.de>
288         PR middle-end/56977
289         * passes.c (init_optimization_passes): Move pass_fold_builtins
290         and pass_dce earlier with -Og.
292 2013-08-28  Uros Bizjak  <ubizjak@gmail.com>
294         Backport from mainline
295         2013-08-27  H.J. Lu  <hongjiu.lu@intel.com>
297         * config/i386/driver-i386.c (host_detect_local_cpu): Update
298         Haswell processor detection.
300         Backport from mainline
301         2013-08-27  Christian Widmer  <shadow@umbrox.de>
303         PR target/57927
304         * config/i386/driver-i386.c (host_detect_local_cpu): Add detection
305         of Ivy Bridge and Haswell processors.  Assume core-avx2 for unknown
306         AVX2 capable processors.
308 2013-08-23  Jakub Jelinek  <jakub@redhat.com>
310         PR target/58218
311         * config/i386/x86-64.h (TARGET_SECTION_TYPE_FLAGS): Define.
312         * config/i386/i386.c (x86_64_elf_section_type_flags): New function.
314         PR tree-optimization/58209
315         * tree-tailcall.c (find_tail_calls): Give up for pointer result types
316         if m or a is non-NULL.
318 2013-08-21  Richard Earnshaw  <rearnsha@arm.com>
320         PR target/56979
321         * arm.c (aapcs_vfp_allocate): Decompose the argument if the
322         suggested mode for the assignment isn't compatible with the
323         registers required.
325 2013-08-20  Alan Modra  <amodra@gmail.com>
327         PR target/57865
328         * config/rs6000/rs6000.c (rs6000_emit_prologue): Correct ool_adjust.
329         (rs6000_emit_epilogue): Likewise.
331 2013-08-19  Peter Bergner  <bergner@vnet.ibm.com>
332             Jakub Jelinek  <jakub@redhat.com>
334         Backport from mainline
335         * config/rs6000/dfp.md (*negtd2_fpr): Handle non-overlapping
336         destination and source operands.
338 2013-08-18  Jakub Jelinek  <jakub@redhat.com>
340         PR tree-optimization/58006
341         * tree-parloops.c (take_address_of): Don't ICE if get_name
342         returns NULL.
343         (eliminate_local_variables_stmt): Remove clobber stmts.
345 2013-08-16  Jakub Jelinek  <jakub@redhat.com>
347         PR tree-optimization/58164
348         * gimple.c (walk_stmt_load_store_addr_ops): For visit_addr
349         walk gimple_goto_dest of GIMPLE_GOTO.
351         PR tree-optimization/58165
352         * tree-call-cdce.c (shrink_wrap_one_built_in_call): If
353         bi_call must be the last stmt in a bb, don't split_block, instead
354         use fallthru edge from it and give up if there is none.
355         Release conds vector when returning early.
357 2013-08-15  David Given  <dg@cowlark.com>
359         Backport from mainline
360         2013-04-26  Vladimir Makarov  <vmakarov@redhat.com>
362         * lra-constraints.c (process_alt_operands): Use #if HAVE_ATTR_enable
363         instead of #ifdef.
365 2013-08-14  Jakub Jelinek  <jakub@redhat.com>
367         PR tree-optimization/58145
368         * tree-sra.c (build_ref_for_offset): If prev_base has
369         TREE_THIS_VOLATILE or TREE_SIDE_EFFECTS, propagate it to MEM_REF.
371 2013-08-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
373         * config/s390/htmxlintrin.h: Add file missing from last commit.
374         * config/s390/htmintrin.h: Likewise.
375         * config/s390/s390intrin.h: Likewise.
377 2013-08-14  Uros Bizjak  <ubizjak@gmail.com>
379         Backport from mainline
380         2013-08-13  Uros Bizjak  <ubizjak@gmail.com>
382         * config/i386/sse.md (*sse2_maskmovdqu): Emit addr32 prefix
383         when Pmode != word_mode.  Add length_address attribute.
384         (sse3_monitor_<mode>): Merge from sse3_monitor and
385         sse3_monitor64_<mode> insn patterns.  Emit addr32 prefix when
386         Pmode != word_mode.  Update insn length attribute.
387         * config/i386/i386.c (ix86_option_override_internal): Update
388         ix86_gen_monitor selection for merged sse3_monitor insn.
390 2013-08-14  Jakub Jelinek  <jakub@redhat.com>
391             Alexandre Oliva  <aoliva@redhat.com>
393         PR target/58067
394         * config/i386/i386.c (ix86_delegitimize_address): For CM_MEDIUM_PIC
395         and CM_LARGE_PIC ix86_cmodel fall thru into the -m32 code, handle
396         there also UNSPEC_PLTOFF.
398 2013-08-13  Jakub Jelinek  <jakub@redhat.com>
400         PR sanitizer/56417
401         * asan.c (instrument_strlen_call): Fix typo in comment.
402         Use char * type even for the lhs of POINTER_PLUS_EXPR.
404 2013-08-13  Vladimir Makarov  <vmakarov@redhat.com>
406         Backport from mainline
407         2013-06-06  Vladimir Makarov  <vmakarov@redhat.com>
409         PR rtl-optimization/57459
410         * lra-constraints.c (update_ebb_live_info): Fix typo for operand
411         type when setting live regs.
413 2013-08-13  Marek Polacek  <polacek@redhat.com>
414             Jakub Jelinek  <jakub@redhat.com>
416         PR tree-optimization/57980
417         * tree-tailcall.c (process_assignment): Return false
418         when not dealing with integers or floats.
420 2013-08-12  Andrew Haley  <aph@redhat.com>
422         Backport from mainline:
423         * 2013-07-11  Andreas Schwab  <schwab@suse.de>
425         * config/aarch64/aarch64-linux.h (CPP_SPEC): Define.
427 2013-08-13  Uros Bizjak  <ubizjak@gmail.com>
429         Backport from mainline
430         2013-08-12  Perez Read  <netfirewall@gmail.com>
432         PR target/58132
433         * config/i386/i386.md (*movabs<mode>_1):  Add <ptrsize> PTR before
434         operand 0 for intel asm alternative.
435         (*movabs<mode>_2): Ditto for operand 1.
437 2013-08-09  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
439         Backport from mainline:
440         2013-08-09  Zhenqiang Chen  <zhenqiang.chen@linaro.org>
442         * config/arm/neon.md (vcond): Fix floating-point vector
443         comparisons against 0.
445 2013-08-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
447         Backport from mainline:
448         2013-08-08  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
450         * config/arm/neon.md (movmisalign<mode>): Disable when we
451         don't allow unaligned accesses.
452         (*movmisalign<mode>_neon_store): Likewise.
453         (*movmisalign<mode>_neon_load): Likewise.
454         (*movmisalign<mode>_neon_store): Likewise.
455         (*movmisalign<mode>_neon_load): Likewise.
457 2013-08-06  Martin Jambor  <mjambor@suse.cz>
459         PR middle-end/58041
460         * gimple-ssa-strength-reduction.c (replace_ref): Make sure built
461         MEM_REF has proper alignment information.
463 2013-08-05  Richard Earnshaw  <rearnsha@arm.com>
465         PR rtl-optimization/57708
466         * recog.c (peep2_find_free_register): Validate all regs in a
467         multi-reg mode.
469 2013-08-02  Eric Botcazou  <ebotcazou@adacore.com>
471         * config/sparc/sparc.c (sparc_emit_membar_for_model) <SMM_TSO>: Add
472         the implied StoreLoad barrier for atomic operations if before.
474 2013-08-02  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
476         Backports from mainline:
477         2013-06-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
479         * config/s390/s390.c: Rename UNSPEC_CCU_TO_INT to
480         UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to UNSPEC_CC_TO_INT.
481         (struct machine_function): Add tbegin_p.
482         (s390_canonicalize_comparison): Fold CC mode compares to
483         conditional jump if possible.
484         (s390_emit_jump): Return the emitted jump.
485         (s390_branch_condition_mask, s390_branch_condition_mnemonic):
486         Handle CCRAWmode compares.
487         (s390_option_override): Default to -mhtm if available.
488         (s390_reg_clobbered_rtx): Handle floating point regs as well.
489         (s390_regs_ever_clobbered): Use s390_regs_ever_clobbered also for
490         FPRs instead of df_regs_ever_live_p.
491         (s390_optimize_nonescaping_tx): New function.
492         (s390_init_frame_layout): Extend clobbered_regs array to cover
493         FPRs as well.
494         (s390_emit_prologue): Call s390_optimize_nonescaping_tx.
495         (s390_expand_tbegin): New function.
496         (enum s390_builtin): New enum definition.
497         (code_for_builtin): New array definition.
498         (s390_init_builtins): New function.
499         (s390_expand_builtin): New function.
500         (TARGET_INIT_BUILTINS): Define.
501         (TARGET_EXPAND_BUILTIN): Define.
502         * common/config/s390/s390-common.c (processor_flags_table): Add PF_TX.
503         * config/s390/predicates.md (s390_comparison): Handle CCRAWmode.
504         (s390_alc_comparison): Likewise.
505         * config/s390/s390-modes.def: Add CCRAWmode.
506         * config/s390/s390.h (processor_flags): Add PF_TX.
507         (TARGET_CPU_HTM): Define macro.
508         (TARGET_HTM): Define macro.
509         (TARGET_CPU_CPP_BUILTINS): Define __HTM__ for htm.
510         * config/s390/s390.md: Rename UNSPEC_CCU_TO_INT to
511         UNSPEC_STRCMPCC_TO_INT and UNSPEC_CCZ_TO_INT to UNSPEC_CC_TO_INT.
512         (UNSPECV_TBEGIN, UNSPECV_TBEGINC, UNSPECV_TEND, UNSPECV_TABORT)
513         (UNSPECV_ETND, UNSPECV_NTSTG, UNSPECV_PPA): New unspecv enum
514         values.
515         (TBEGIN_MASK, TBEGINC_MASK): New constants.
516         ("*cc_to_int"): Move up.
517         ("*mov<mode>cc", "*cjump_64", "*cjump_31"): Accept integer
518         constants other than 0.
519         ("*ccraw_to_int"): New insn and splitter definition.
520         ("tbegin", "tbegin_nofloat", "tbegin_retry")
521         ("tbegin_retry_nofloat", "tbeginc", "tend", "tabort")
522         ("tx_assist"): New expander.
523         ("tbegin_1", "tbegin_nofloat_1", "*tbeginc_1", "*tend_1")
524         ("*tabort_1", "etnd", "ntstg", "*ppa"): New insn definition.
525         * config/s390/s390.opt: Add -mhtm option.
526         * config/s390/s390-protos.h (s390_emit_jump): Add return type.
527         * config/s390/htmxlintrin.h: New file.
528         * config/s390/htmintrin.h: New file.
529         * config/s390/s390intrin.h: New file.
530         * doc/extend.texi: Document htm builtins.
531         * config.gcc: Add the new header files to extra_headers.
533         2013-07-17  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
535         * config/s390/s390.c: (s390_expand_builtin): Allow -mhtm to be
536         enabled without -march=zEC12.
537         * config/s390/s390.h (TARGET_HTM): Do not require EC12 machine
538         flags to be set.
540 2013-08-01  Ganesh Gopalasubramanian  <Ganesh.Gopalasubramanian@amd.com>
542         Backport from mainline
543         2013-05-13  Ganesh Gopalasubramanian
544                     <Ganesh.Gopalasubramanian@amd.com>
546         * config/i386/i386.c (processor_target_table): Modified default
547         alignment values for AMD BD and BT architectures.
549 2013-07-31  Sriraman Tallam  <tmsriram@google.com>
551         * config/i386/i386.c (dispatch_function_versions): Fix array
552         indexing of function_version_info to match actual_versions.
554 2013-07-31  Sebastian Huber  <sebastian.huber@embedded-brains.de>
556         * config.gcc (*-*-rtems*): Use __cxa_atexit by default.
557         * config/rs6000/rtems.h (TARGET_LIBGCC_SDATA_SECTION): Define.
559 2013-07-31  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
561         Backport from mainline
562         2013-03-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
564         * config/s390/s390.h (TARGET_FLT_EVAL_METHOD): Define.
566         2013-07-23  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
568         * config/s390/linux-unwind.h: Use the proper dwarf to hard reg
569         mapping for FPRs when creating the fallback framestate.
571         2013-07-29  Dominik Vogt  <vogt@linux.vnet.ibm.com>
573         * config/s390/s390.md ("movcc"): Swap load and store instructions.
575 2013-07-25  Terry Guo  <terry.guo@arm.com>
577         Backport from mainline:
578         2013-07-25  Terry Guo  <terry.guo@arm.com>
580         * config/arm/arm.c (thumb1_size_rtx_costs): Assign proper cost for
581         shift_add/shift_sub0/shift_sub1 RTXs.
583 2013-07-22  Iain Sandoe  <iain@codesourcery.com>
585         Backport from mainline:
586         2013-07-22  Uros Bizjak  <ubizjak@gmail.com>
588         * config/i386/i386.md (nonlocal_goto_receiver): Delete insn if
589         it is not needed after split.
591         2013-07-20  Iain Sandoe  <iain@codesourcery.com>
593         PR target/51784
594         * config/i386/i386.c (output_set_got) [TARGET_MACHO]: Adjust to emit a
595         second label for nonlocal goto receivers. Don't output pic base labels
596         unless we're producing PIC; mark that action unreachable().
597         (ix86_save_reg): If the function contains a nonlocal label, save the
598         PIC base reg.
599         * config/darwin-protos.h (machopic_should_output_picbase_label): New.
600         * gcc/config/darwin.c (emitted_pic_label_num): New GTY.
601         (update_pic_label_number_if_needed): New.
602         (machopic_output_function_base_name): Adjust for nonlocal receiver
603         case.
604         (machopic_should_output_picbase_label): New.
605         * config/i386/i386.md (enum unspecv): UNSPECV_NLGR: New.
606         (nonlocal_goto_receiver): New insn and split.
608 2013-07-19 Wei Mi  <wmi@google.com>
610         Backport from mainline:
611         2013-07-18  Vladimir Makarov  <vmakarov@redhat.com>
612                     Wei Mi  <wmi@google.com>
614         PR rtl-optimization/57878
615         * lra-assigns.c (assign_by_spills): Move non_reload_pseudos to the
616         top. Promote lra_assert to gcc_assert.
617         (reload_pseudo_compare_func): Check regs first for reload pseudos.
619 2013-07-11  Georg-Johann Lay  <avr@gjlay.de>
621         Backport from 2013-07-19 trunk r201051.
623         PR target/57516
624         * config/avr/avr-fixed.md (round<mode>3_const): Turn expander to insn.
625         * config/avr/avr.md (adjust_len): Add `round'.
626         * config/avr/avr-protos.h (avr_out_round): New prototype.
627         (avr_out_plus): Add `out_label' argument.
628         * config/avr/avr.c (avr_out_plus_1): Add `out_label' argument.
629         (avr_out_plus): Pass down `out_label' to avr_out_plus_1.
630         Handle the case where `insn' is just a pattern.
631         (avr_out_bitop): Handle the case where `insn' is just a pattern.
632         (avr_out_round): New function.
633         (avr_adjust_insn_length): Handle ADJUST_LEN_ROUND.
635 2013-07-19  Kirill Yukhin  <kirill.yukhin@intel.com>
637         * config/i386/bmiintrin.h (_bextr_u32): New.
638         (_bextr_u64): Ditto.
639         (_blsi_u32): New.
640         (_blsi_u64): Ditto.
641         (_blsr_u32): Ditto.
642         (_blsr_u64): Ditto.
643         (_blsmsk_u32): Ditto.
644         (_blsmsk_u64): Ditto.
645         (_tzcnt_u32): Ditto.
646         (_tzcnt_u64): Ditto.
648 2013-07-17  James Greenhalgh  <james.greenhalgh@arm.com>
650         Backport From mainline:
651         2013-07-03  James Greenhalgh  <james.greenhalgh@arm.com>
653         * config/aarch64/aarch64-builtins.c
654         (aarch64_simd_expand_builtin): Handle AARCH64_SIMD_STORE1.
655         * config/aarch64/aarch64-simd-builtins.def (ld1): New.
656         (st1): Likewise.
657         * config/aarch64/aarch64-simd.md
658         (aarch64_ld1<VALL:mode>): New.
659         (aarch64_st1<VALL:mode>): Likewise.
660         * config/aarch64/arm_neon.h
661         (vld1<q>_<fpsu><8, 16, 32, 64>): Convert to RTL builtins.
663 2013-07-11  Georg-Johann Lay  <avr@gjlay.de>
665         Backport from 2013-07-11 trunk r200901.
667         PR target/57631
668         * config/avr/avr.c (avr_set_current_function): Sanity-check signal
669         name seen by assembler/linker if available.
671 2013-07-10  Georg-Johann Lay  <avr@gjlay.de>
673         Backport from 2013-07-10 trunk r200872.
675         PR target/57844
676         * config/avr/avr.c (avr_prologue_setup_frame): Trunk -size to mode
677         of my_fp.
679 2013-07-10  Georg-Johann Lay  <avr@gjlay.de>
681         Backport from 2013-07-10 trunk r200870.
683         PR target/57506
684         * config/avr/avr-mcus.def (atmega16hva, atmega16hva2, atmega16hvb)
685         (atmega16m1, atmega16u4, atmega32a, atmega32c1, atmega32hvb)
686         (atmega32m1, atmega32u4, atmega32u6, atmega64c1, atmega64m1):
687         Remove duplicate devices.
688         * config/avr/gen-avr-mmcu-texi.c (print_mcus): Fail on duplicate MCUs.
689         * config/avr/t-multilib: Regenerate.
690         * config/avr/avr-tables.opt: Regenerate.
691         * doc/avr-mmcu.texi: Regenerate.
693 2013-07-10  Georg-Johann Lay  <avr@gjlay.de>
695         PR target/56987
696         * config/avr/avr.opt (Waddr-space-convert): Fix typo.
698 2013-07-09  Joseph Myers  <joseph@codesourcery.com>
700         * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): Only
701         adjust register size for TDmode and TFmode for VSX registers.
703 2013-07-08  Kai Tietz  <ktietz@redhat.com>
705         Backport from mainline
706         PR target/56892
707         * config/i386/i386.c (TARGET_FUNCTION_ATTRIBUTE_INLINABLE_P): Define as
708         hook_bool_const_tree_true.
710 2013-07-08  Uros Bizjak  <ubizjak@gmail.com>
712         Backport from mainline
713         2013-07-07  Uros Bizjak  <ubizjak@gmail.com>
715         * config/i386/driver-i386.c (host_detect_local_cpu): Do not check
716         signature_TM2_ebx, it interferes with signature_INTEL_ebx.
718         Backport from mainline
719         2013-07-06  Uros Bizjak  <ubizjak@gmail.com>
721         * config/i386/sse.md (sse_movlhps): Change alternative 3
722         of operand 2 to "m".
724 2013-07-08  Eric Botcazou  <ebotcazou@adacore.com>
726         * Makefile.in (tree-ssa-reassoc.o): Add dependency on $(PARAMS_H).
728 2013-07-08  Jakub Jelinek  <jakub@redhat.com>
730         PR rtl-optimization/57829
731         * simplify-rtx.c (simplify_binary_operation_1) <case IOR>: Ensure that
732         mask bits outside of mode are just sign-extension from mode to HWI.
734 2013-07-03  Jakub Jelinek  <jakub@redhat.com>
736         PR target/57777
737         * config/i386/predicates.md (vsib_address_operand): Disallow
738         SYMBOL_REF or LABEL_REF in parts.disp if TARGET_64BIT && flag_pic.
740 2013-06-30  Terry Guo  <terry.guo@arm.com>
742         Backport from mainline
743         2013-03-27  Bin Cheng  <bin.cheng@arm.com>
745         PR target/56102
746         * config/arm/arm.c (thumb1_rtx_costs, thumb1_size_rtx_costs): Fix
747         rtx costs for SET/ASHIFT/ASHIFTRT/LSHIFTRT/ROTATERT patterns with
748         mult-word mode.
750 2013-06-28  Jakub Jelinek  <jakub@redhat.com>
752         PR target/57736
753         * config/i386/i386.c (ix86_expand_builtin): If target == NULL
754         and mode is VOIDmode, don't create a VOIDmode pseudo to copy result
755         into.
757 2013-06-27  Jakub Jelinek  <jakub@redhat.com>
759         PR target/57623
760         * config/i386/i386.md (bmi_bextr_<mode>): Swap predicates and
761         constraints of operand 1 and 2.
763         PR target/57623
764         * config/i386/i386.md (bmi2_bzhi_<mode>3): Swap AND arguments
765         to match RTL canonicalization.  Swap predicates and
766         constraints of operand 1 and 2.
768         * tree-vect-stmts.c (vectorizable_store): Move ptr_incr var
769         decl before the loop, initialize to NULL.
770         (vectorizable_load): Initialize ptr_incr to NULL.
772 2013-06-24  Martin Jambor  <mjambor@suse.cz>
774         PR tree-optimization/57358
775         * ipa-prop.c (parm_ref_data_preserved_p): Always return true when
776         not optimizing.
778 2013-06-24  Alan Modra  <amodra@gmail.com>
780         * config/rs6000/rs6000.c (vspltis_constant): Correct for little-endian.
781         (gen_easy_altivec_constant): Likewise.
782         * config/rs6000/predicates.md (easy_vector_constant_add_self,
783         easy_vector_constant_msb): Likewise.
785 2013-06-21  Uros Bizjak  <ubizjak@gmail.com>
787         Backport from mainline
788         2013-06-20  Uros Bizjak  <ubizjak@gmail.com>
790         PR target/57655
791         * config/i386/i386.c (construct_container): Report error if
792         long double is used with disabled x87 float returns.
794 2013-06-20  Wei Mi  <wmi@google.com>
796         Backport from mainline
797         2013-06-19  Wei Mi  <wmi@google.com>
799         PR rtl-optimization/57518
800         * ira.c (set_paradoxical_subreg): Set pdx_subregs[regno]
801         if regno is used in paradoxical subreg.
802         (update_equiv_regs): Check pdx_subregs[regno] before
803         set a reg to be equivalent with a mem.
806 2013-06-20  David Edelsohn  <dje.gcc@gmail.com>
808         Backport from mainline
809         2013-06-19  David Edelsohn  <dje.gcc@gmail.com>
811         PR driver/57652
812         * collect2.c (collect_atexit): New.
813         (collect_exit): Delete.
814         (main): Register collect_atexit with atexit.
815         (collect_wait): Change collect_exit to exit.
816         (do_wait): Same.
817         * collect2.h (collect_exit): Delete.
818         * tlink.c (do_tlink): Rename exit to ret. Change collect_exit to exit.
820 2013-06-19  Matthias Klose  <doko@ubuntu.com>
822         PR driver/57651
823         * file-find.h (find_a_file): Add a mode parameter.
824         * file-find.c (find_a_file): Likewise.
825         * gcc-ar.c (main): Call find_a_file with R_OK for the plugin,
826         with X_OK for the executables.
827         * collect2.c (main): Call find_a_file with X_OK.
829 2013-06-19  Igor Zamyatin  <igor.zamyatin@intel.com>
831         * doc/invoke.texi (core-avx2): Document.
832         (atom): Updated with MOVBE.
834 2013-06-19  Jakub Jelinek  <jakub@redhat.com>
836         PR driver/57651
837         * gcc-ar.c (main): If not CROSS_DIRECTORY_STRUCTURE, look for
838         PERSONALITY in $PATH derived prefixes.
840 2013-06-19  Paolo Carlini  <paolo.carlini@oracle.com>
842         PR c++/56544
843         * doc/cpp.texi [Standard Predefined Macros, __cplusplus]: Document
844         that now in C++ the value is correct per the C++ standards.
846 2013-06-19  Alan Modra  <amodra@gmail.com>
848         Apply mainline patches
849         2013-06-13  Alan Modra  <amodra@gmail.com>
850         * config/rs6000/rs6000.h (LONG_DOUBLE_LARGE_FIRST): Define.
851         * config/rs6000/rs6000.md (signbittf2): New insn.
852         (extenddftf2_internal): Use LONG_DOUBLE_LARGE_FIRST.
853         (abstf2_internal, cmptf_internal2): Likewise.
854         * config/rs6000/spe.md (spe_abstf2_cmp, spe_abstf2_tst): Likewise.
856         2013-06-11  Anton Blanchard  <anton@samba.org>
857         * config/rs6000/rs6000.c (rs6000_adjust_atomic_subword): Calculate
858         correct shift value in little-endian mode.
860         2013-06-07  Alan Modra  <amodra@gmail.com>
861         * config/rs6000/rs6000.c (setup_incoming_varargs): Round up
862         va_list_gpr_size.
864         2013-06-04  Alan Modra  <amodra@gmail.com>
865         * config/rs6000/rs6000.c (output_toc): Correct little-endian float
866         constant output.
868         2013-05-10  Alan Modra  <amodra@gmail.com>
869         * configure.ac (HAVE_AS_TLS): Swap powerpc64 and powerpc cases.
870         (HAVE_LD_LARGE_TOC): Don't mention AIX in help text.
871         * configure: Regenerate.
873         2013-05-09  Alan Modra  <amodra@gmail.com>
874         * configure.ac (HAVE_AS_TLS): Enable tests for powerpcle and
875         powerpc64le.
876         * configure: Regenerate.
878         2013-05-07  Anton Blanchard  <anton@samba.org>
879         * configure.ac (HAVE_LD_LARGE_TOC): Use right linker emulation
880         for powerpc64 little endian.
881         * configure: Regenerate.
883         2013-05-06  Alan Modra  <amodra@gmail.com>
884         * config/rs6000/linux.h (DEFAULT_ASM_ENDIAN): Define.
885         (LINK_OS_LINUX_EMUL): Use ENDIAN_SELECT.
886         * config/rs6000/linux64.h (DEFAULT_ASM_ENDIAN): Define.
887         * config/rs6000/sysv4le.h (DEFAULT_ASM_ENDIAN): Define.
888         (LINK_TARGET_SPEC): Use ENDIAN_SELECT.
889         * config/rs6000/sysv4.h (DEFAULT_ASM_ENDIAN): Define as -mbig.
891         2013-05-06  Alan Modra  <amodra@gmail.com>
892         * config/rs6000/sysv4.h (ENDIAN_SELECT): Define, extracted from
893         (ASM_SPEC): ..here.  Emit DEFAULT_ASM_ENDIAN too.
894         (DEFAULT_ASM_ENDIAN): Define.
895         (CC1_SPEC, LINK_TARGET_SPEC): Use ENDIAN_SELECT.
896         * config/rs6000/linux64.h (ASM_SPEC32): Remove endian options.
897         Update -K PIC clause from sysv4.h.
898         (ASM_SPEC_COMMON): Use ENDIAN_SELECT.
899         (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Likewise.
901         2013-05-06  Alan Modra  <amodra@gmail.com>
902         * config/rs6000/rs6000.md (bswapdi 2nd splitter): Don't swap words
903         twice for little-endian.
904         (ashrdi3_no_power, ashrdi3): Support little-endian.
906         2013-04-25  Alan Modra  <amodra@gmail.com>
907         * config.gcc: Support little-endian powerpc-linux targets.
908         * config/rs6000/linux.h (LINK_OS_LINUX_EMUL): Define.
909         (LINK_OS_LINUX_SPEC): Define.
910         * config/rs6000/linuxspe.h (TARGET_DEFAULT):
911         Preserve MASK_LITTLE_ENDIAN.
912         * config/rs6000/default64.h (TARGET_DEFAULT): Likewise.
913         * config/rs6000/linuxaltivec.h (TARGET_DEFAULT): Likewise.
914         * config/rs6000/linux64.h (OPTION_LITTLE_ENDIAN): Don't zero.
915         (LINK_OS_LINUX_EMUL32, LINK_OS_LINUX_EMUL64): Define.
916         (LINK_OS_LINUX_SPEC32, LINK_OS_LINUX_SPEC64): Use above.
917         * config/rs6000/rs6000.c (output_toc): Don't use .tc for TARGET_ELF.
918         Correct fp word order for little-endian.  Don't shift toc entries
919         smaller than a word for little-endian.
920         * config/rs6000/rs6000.md (bswaphi2, bswapsi2 split): Comment.
921         (bswapdi2 splits): Correct low-part subreg for little-endian.
922         Remove wrong BYTES_BIG_ENDIAN tests, and rename vars to remove
923         low/high where such is correct only for be.
924         * config/rs6000/sysv4.h (SUBTARGET_OVERRIDE_OPTIONS): Allow
925         little-endian for -mcall-aixdesc.
927 2013-06-12  Martin Jambor  <mjambor@suse.cz>
929         * ipa-cp.c (ipa_get_indirect_edge_target_1): Check that param_index is
930         within bounds at the beginning of the function.
932 2013-06-12  Jakub Jelinek  <jakub@redhat.com>
934         PR tree-optimization/57537
935         * tree-vect-patterns.c (vect_recog_widen_mult_pattern): If
936         vect_handle_widen_op_by_const, convert oprnd1 to half_type1.
938 2013-06-10  Uros Bizjak  <ubizjak@gmail.com>
940         Backport from mainline
941         2013-06-10  Uros Bizjak  <ubizjak@gmail.com>
943         * config/alpha/alpha.c (alpha_emit_xfloating_compare): Also use
944         cmp_code to construct REG_EQUAL note.
946 2013-06-10  Oleg Endo  <olegendo@gcc.gnu.org>
948         Backport from mainline
949         2013-05-20  Oleg Endo  <olegendo@gcc.gnu.org>
951         PR target/56547
952         * config/sh/sh.md (fmasf4): Remove empty constraints strings.
953         (*fmasf4, *fmasf4_media): New insns.
955 2013-06-09  Jakub Jelinek  <jakub@redhat.com>
957         PR target/57568
958         * config/i386/i386.md (TARGET_READ_MODIFY_WRITE peepholes): Ensure
959         that operands[2] doesn't overlap with operands[0].
961 2013-06-07  Richard Sandiford  <rsandifo@linux.vnet.ibm.com>
963         * recog.c (offsettable_address_addr_space_p): Fix calculation of
964         address mode.  Move pointer mode initialization to the same place.
966 2013-06-07  Sofiane Naci  <sofiane.naci@arm.com>
968         Backport from mainline
969         * config/aarch64/aarch64.md (*movdi_aarch64): Define "simd" attribute.
971 2013-06-07  Uros Bizjak  <ubizjak@gmail.com>
973         Backport from mainline
974         2013-06-05  Uros Bizjak  <ubizjak@gmail.com>
976         * config/alpha/alpha.c (alpha_emit_conditional_move): Swap all
977         GE, GT, GEU and GTU compares, modulo DImode compares with zero.
979         Backport from mainline
980         2013-05-23  Uros Bizjak  <ubizjak@gmail.com>
982         PR target/57379
983         * config/alpha/alpha.md (unspec): Add UNSPEC_XFLT_COMPARE.
984         * config/alpha/alpha.c (alpha_emit_xfloating_compare): Construct
985         REG_EQUAL note as UNSPEC_XFLT_COMPARE unspec.
987 2013-06-04  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
989         Backport from mainline.
990         2013-05-22  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
992         * config/rs6000/rs6000.h (MALLOC_ABI_ALIGNMENT): New #define.
994 2013-06-03  James Greenhalgh  <james.greenhalgh@arm.com>
996         Backport from mainline.
997         2013-04-25  James Greenhalgh  <james.greenhalgh@arm.com>
999         * config/aarch64/aarch64.c (aarch64_print_operand): Fix asm_fprintf
1000         format specifier in 'X' case.
1002 2013-05-31  Richard Henderson  <rth@redhat.com>
1004         PR target/56742
1005         * config/i386/i386.c (ix86_seh_fixup_eh_fallthru): New.
1006         (ix86_reorg): Call it.
1008 2012-05-31  Jakub Jelinek  <jakub@redhat.com>
1010         * BASE-VER: Set to 4.8.2.
1011         * DEV-PHASE: Set to prerelease.
1013 2013-05-31  Release Manager
1015         * GCC 4.8.1 released.
1017 2013-05-24  Greta Yorsh  <Greta.Yorsh@arm.com>
1019         Backport from mainline
1020         2013-05-02  Greta Yorsh  <Greta.Yorsh@arm.com>
1022         PR target/56732
1023         * config/arm/arm.c (arm_expand_epilogue): Check really_return before
1024         generating simple_return for naked functions.
1026 2013-05-24  Alexander Ivchenko  <alexander.ivchenko@intel.com>
1028         PR tree-ssa/57385
1029         * tree-ssa-sccvn.c (fully_constant_vn_reference_p): Check
1030         that index is not negative.
1032 2013-05-23  Martin Jambor  <mjambor@suse.cz>
1034         PR middle-end/57347
1035         * tree.h (contains_bitfld_component_ref_p): Declare.
1036         * tree-sra.c (contains_bitfld_comp_ref_p): Move...
1037         * tree.c (contains_bitfld_component_ref_p): ...here.  Adjust its caller.
1038         * ipa-prop.c (determine_known_aggregate_parts): Check that LHS does
1039         not access a bit-field.  Assert all final offsets are byte-aligned.
1041 2013-05-23  Richard Biener  <rguenther@suse.de>
1043         PR rtl-optimization/57341
1044         * ira.c (validate_equiv_mem_from_store): Use anti_dependence
1045         instead of true_dependence.
1047 2013-05-23  Jakub Jelinek  <jakub@redhat.com>
1049         PR middle-end/57344
1050         * expmed.c (store_split_bit_field): If op0 is a REG or
1051         SUBREG of a REG, don't lower unit.  Handle unit not being
1052         always BITS_PER_WORD.
1054 2013-05-22  Uros Bizjak  <ubizjak@gmail.com>
1056         PR target/57356
1057         * config/i386/i386.md (*movti_internal_rex64): Emit movaps/movups
1058         for non-sse2 targets.
1059         (*movti_internal): Simplify mode attribute calculation.
1061 2013-05-22  Richard Biener  <rguenther@suse.de>
1063         Backport from mainline
1064         2013-05-21  Richard Biener  <rguenther@suse.de>
1066         PR tree-optimization/57318
1067         * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Do not
1068         estimate stmts with side-effects as likely eliminated.
1070         2013-05-21  Richard Biener  <rguenther@suse.de>
1072         PR tree-optimization/57330
1073         * cgraph.c (cgraph_redirect_edge_call_stmt_to_callee): Properly
1074         preserve the call stmts fntype.
1076         2013-05-21  Richard Biener  <rguenther@suse.de>
1078         PR tree-optimization/57303
1079         * tree-ssa-sink.c (statement_sink_location): Properly handle
1080         self-assignments.
1082 2013-05-21  Magnus Granberg  <baldrick@free.fr>
1084         PR plugins/56754
1085         * Makefile.in (PLUGIN_HEADERS): Add $(TARGET_H).
1087 2013-05-21  Eric Botcazou  <ebotcazou@adacore.com>
1089         Backport from mainline
1090         2013-05-14  Eric Botcazou  <ebotcazou@adacore.com>
1092         * config/sparc/sp64-elf.h (CPP_SUBTARGET_SPEC): Delete.
1093         * config/sparc/openbsd64.h (CPP_SUBTARGET_SPEC): Likewise.
1095 2013-05-17  Jakub Jelinek  <jakub@redhat.com>
1097         PR rtl-optimization/57281
1098         PR rtl-optimization/57300
1099         * config/i386/i386.md (extendsidi2_1 dead reg splitter): Remove.
1100         (extendsidi2_1 peephole2s): Add instead 2 new peephole2s, that undo
1101         what the other splitter did if the registers are dead.
1103 2013-05-17  Uros Bizjak  <ubizjak@gmail.com>
1105         Backport from mainline
1106         2013-05-16  Uros Bizjak  <ubizjak@gmail.com>
1108         * config/i386/driver-i386.c (host_detect_local_cpu): Determine
1109         cache parameters using detect_caches_amd also for CYRIX,
1110         NSC and TM2 signatures.
1112         2013-05-16  Uros Bizjak  <ubizjak@gmail.com>
1113                     Dzianis Kahanovich  <mahatma@eu.by>
1115         PR target/45359
1116         PR target/46396
1117         * config/i386/driver-i386.c (host_detect_local_cpu): Detect
1118         VIA/Centaur processors and determine their cache parameters
1119         using detect_caches_amd.
1121         2013-05-15  Uros Bizjak  <ubizjak@gmail.com>
1123         * config/i386/i386.c (ix86_option_override_internal): Update
1124         processor_alias_table for missing PTA_PRFCHW and PTA_FXSR flags.  Add
1125         PTA_POPCNT to corei7 entry. Do not enable SSE prefetch on
1126         non-SSE 3dNow! targets.  Enable TARGET_PRFCHW for TARGET_3DNOW targets.
1127         * config/i386/i386.md (prefetch): Enable for TARGET_PRFCHW instead
1128         of TARGET_3DNOW.
1129         (*prefetch_3dnow): Enable for TARGET_PRFCHW only.
1131 2013-05-17  Jakub Jelinek  <jakub@redhat.com>
1133         * gcc.c (SANITIZER_SPEC): Reject -fsanitize=address -fsanitize=thread
1134         linking.
1136         PR tree-optimization/57051
1137         * fold-const.c (const_binop) <case VEC_LSHIFT_EXPR,
1138         case VEC_RSHIFT_EXPR>: Fix BYTES_BIG_ENDIAN handling.
1140 2013-05-16  Jakub Jelinek  <jakub@redhat.com>
1142         * omp-low.c (extract_omp_for_data): For collapsed loops,
1143         if at least one of the loops is known at compile time to
1144         iterate zero times, set count to 0.
1145         (expand_omp_regimplify_p): New function.
1146         (expand_omp_for_generic): For collapsed loops, if at least
1147         one of the loops isn't known to iterate at least once,
1148         add runtime check with setting count to 0.
1149         (expand_omp_for_static_nochunk, expand_omp_for_static_chunk):
1150         For unsigned types if it isn't known at compile time that
1151         the loop will iterate at least once, add runtime check to bypass
1152         the whole loop if initial condition isn't true.
1154 2013-05-14  Jakub Jelinek  <jakub@redhat.com>
1156         PR middle-end/57251
1157         * expr.c (expand_expr_real_2) <case WIDEN_MULT_EXPR>: Handle
1158         the case when both op0 and op1 have VOIDmode.
1160 2013-05-13  Jakub Jelinek  <jakub@redhat.com>
1162         PR tree-optimization/57230
1163         * tree-ssa-strlen.c (handle_char_store): Add missing integer_zerop
1164         check.
1166 2013-05-12  Joern Rennecke  <joern.rennecke@embecosm.com>
1168         * config/epiphany/epiphany.c (epiphany_init): Check size of
1169         NUM_MODES_FOR_MODE_SWITCHING.
1170         (epiphany_expand_prologue):
1171         Remove CONFIG_REGNUM initial value handling code.
1172         (epiphany_optimize_mode_switching): Handle EPIPHANY_MSW_ENTITY_CONFIG.
1173         (epiphany_mode_needed, epiphany_mode_entry_exit): Likewise.
1174         (emit_set_fp_mode, epiphany_mode_after): Likewise.
1175         (epiphany_mode_needed) <Handle EPIPHANY_MSW_ENTITY_AND>:
1176         Don't return 1 for FP_MODE_NONE.
1177         * config/epiphany/epiphany.h (NUM_MODES_FOR_MODE_SWITCHING):
1178         Add value for EPIPHANY_MSW_ENTITY_CONFIG.
1179         (EPIPHANY_MSW_ENTITY_CONFIG, EPIPHANY_MSW_ENTITY_NUM): Define.
1180         * config/epiphany/epiphany.md (save_config): New pattern.
1182 2013-05-10  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1184         * config/arm/t-rtems-eabi: Remove mthumb/march=armv7 multilib.
1185         Add mthumb/march=armv7-a multilib.
1186         Add mthumb/march=armv7-r multilib.
1187         Add mthumb/march=armv7-a/mfpu=neon/mfloat-abi=hard multilib.
1189 2013-05-10  Ralf Corsépius  <ralf.corsepius@rtems.org>
1191         PR target/57237
1192         * config/v850/t-rtems: Add more multilibs.
1194 2013-05-10  Richard Biener  <rguenther@suse.de>
1196         PR tree-optimization/57214
1197         * tree-ssa-loop-ivcanon.c (propagate_constants_for_unrolling): Do
1198         not propagate from SSA names that occur in abnormal PHI nodes.
1200 2013-05-10  Alan Modra  <amodra@gmail.com>
1202         PR target/55033
1203         * varasm.c (default_elf_select_section): Move !DECL_P check..
1204         (get_named_section): ..to here before calling get_section_name.
1205         Adjust assertion.
1206         (default_section_type_flags): Add DECL_P check.
1207         * config/i386/winnt.c (i386_pe_section_type_flags): Likewise.
1208         * config/rs6000/rs6000.c (rs6000_xcoff_section_type_flags): Likewise.
1210 2013-05-09  Joern Rennecke  <joern.rennecke@embecosm.com>
1212         * config/epiphany/epiphany.c (epiphany_expand_prologue):
1213         When using gen_stack_adjust_str with a register offset, add a
1214         REG_FRAME_RELATED_EXPR note.
1216 2013-05-09  Martin Jambor  <mjambor@suse.cz>
1218         PR middle-end/56988
1219         * ipa-prop.h (ipa_agg_replacement_value): New flag by_ref.
1220         * ipa-cp.c (find_aggregate_values_for_callers_subset): Fill in the
1221         by_ref flag of ipa_agg_replacement_value structures.
1222         (known_aggs_to_agg_replacement_list): Likewise.
1223         * ipa-prop.c (write_agg_replacement_chain): Stream by_ref flag.
1224         (read_agg_replacement_chain): Likewise.
1225         (ipcp_transform_function): Also check that by_ref flags match.
1227 2013-05-08  Diego Novillo  <dnovillo@google.com>
1229         PR bootstrap/54659
1231         Revert:
1233         2012-08-17  Diego Novillo  <dnovillo@google.com>
1235                 PR bootstrap/54281
1236                 * configure.ac: Add libintl.h to AC_CHECK_HEADERS list.
1237                 * config.in: Regenerate.
1238                 * configure: Regenerate.
1239                 * intl.h: Always include libintl.h if HAVE_LIBINTL_H is
1240                 set.
1242 2013-05-08  Paolo Carlini  <paolo.carlini@oracle.com>
1244         PR tree-optimization/57200
1245         * tree-ssa-loop-niter.c (do_warn_aggressive_loop_optimizations):
1246         Only call inform if the preceding warning_at returns true.
1248 2013-05-07  Jakub Jelinek  <jakub@redhat.com>
1250         PR tree-optimization/57149
1251         * tree-ssa-uninit.c (uninit_undefined_value_p): New inline.
1252         (can_skip_redundant_opnd, compute_uninit_opnds_pos,
1253         collect_phi_def_edges, execute_late_warn_uninitialized): Use
1254         uninit_undefined_value_p instead of ssa_undefined_value_p.
1256         PR debug/57184
1257         * expr.c (expand_expr_addr_expr_1): Handle COMPOUND_LITERAL_EXPR
1258         for modifier == EXPAND_INITIALIZER.
1260 2013-05-07  Richard Biener  <rguenther@suse.de>
1262         Backport from mainline
1263         2013-05-06  Richard Biener  <rguenther@suse.de>
1265         PR tree-optimization/57185
1266         * tree-parloops.c (add_field_for_reduction): Handle anonymous
1267         SSA names properly.
1269         2013-04-19  Richard Biener  <rguenther@suse.de>
1271         PR tree-optimization/57000
1272         * tree-ssa-reassoc.c (pass_reassoc): Add TODO_update_ssa_only_virtuals.
1274 2013-05-06  Michael Meissner  <meissner@linux.vnet.ibm.com>
1276         Backport from trunk
1277         2013-05-03  Michael Meissner  <meissner@linux.vnet.ibm.com>
1279         PR target/57150
1280         * config/rs6000/rs6000.h (HARD_REGNO_CALLER_SAVE_MODE): Use DFmode
1281         to save TFmode registers and DImode to save TImode registers for
1282         caller save operations.
1283         (HARD_REGNO_CALL_PART_CLOBBERED): TFmode and TDmode do not need to
1284         mark being partially clobbered since they only use the first
1285         double word.
1287         * config/rs6000/rs6000.c (rs6000_init_hard_regno_mode_ok): TFmode
1288         and TDmode only use the upper 64-bits of each VSX register.
1290 2013-05-06  Oleg Endo  <olegendo@gcc.gnu.org>
1292         PR target/57108
1293         * config/sh/sh.md (tstsi_t_zero_extract_eq): Use QIHISIDI mode iterator.
1295 2013-05-06  Uros Bizjak  <ubizjak@gmail.com>
1297         Backport from mainline
1298         2013-05-06  Uros Bizjak  <ubizjak@gmail.com>
1300         PR target/57106
1301         * config/i386/i386.c (add_parameter_dependencies): Add dependence
1302         between "first_arg" and "insn", not "last" and "insn".
1304 2013-05-03  Jakub Jelinek  <jakub@redhat.com>
1306         PR rtl-optimization/57130
1307         * combine.c (make_compound_operation) <case SUBREG>: Pass
1308         SET instead of COMPARE as in_code to the recursive call
1309         if needed.
1311         Backported from mainline
1312         2013-04-26  Jakub Jelinek  <jakub@redhat.com>
1314         PR tree-optimization/57051
1315         * fold-const.c (const_binop): Handle VEC_LSHIFT_EXPR
1316         and VEC_RSHIFT_EXPR if shift count is a multiple of element
1317         bitsize.
1319         2013-04-12  Marc Glisse  <marc.glisse@inria.fr>
1321         * fold-const.c (fold_binary_loc): Call const_binop also for mixed
1322         vector-scalar operations.
1324 2013-05-03  Marek Polacek  <polacek@redhat.com>
1326         Backport from mainline
1327         2013-04-25  Marek Polacek  <polacek@redhat.com>
1329         PR tree-optimization/57066
1330         * builtins.c (fold_builtin_logb): Return +Inf for -Inf.
1332 2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>
1334         Backport from mainline
1335         2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>
1337         * lra-constraints.c (process_alt_operands): Add checking alt
1338         number to choose the best alternative.
1340         2013-05-01  Vladimir Makarov  <vmakarov@redhat.com>
1342         PR target/57091
1343         * lra-constraints.c (best_small_class_operands_num): Remove.
1344         (process_alt_operands): Remove small_class_operands_num.  Take
1345         small classes operands into losers and only if the operand is not
1346         matched.  Modify debugging output.
1347         (curr_insn_transform): Remove best_small_class_operands_num.
1348         Print insn name.
1350 2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>
1352         Backport from mainline
1353         2013-04-29  Vladimir Makarov  <vmakarov@redhat.com>
1355         PR target/57097
1356         * lra-constraints.c (process_alt_operands): Discourage a bit more
1357         using memory for pseudos.  Print cost dump for alternatives.
1358         Modify cost values for conflicts with early clobbers.
1359         (curr_insn_transform): Spill pseudos reassigned to NO_REGS.
1361 2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>
1363         Backport from mainline
1364         2013-04-24  Vladimir Makarov  <vmakarov@redhat.com>
1366         PR rtl-optimizations/57046
1367         * lra-constraints (split_reg): Set up lra_risky_transformations_p
1368         for multi-reg splits.
1370 2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>
1372         Backport from mainline
1373         2013-04-22  Vladimir Makarov  <vmakarov@redhat.com>
1375         PR target/57018
1376         * lra-eliminations.c (mark_not_eliminable): Prevent elimination of
1377         a set sp if no stack realignment.
1379 2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>
1381         Backport from mainline
1382         2013-04-18  Vladimir Makarov  <vmakarov@redhat.com>
1384         PR rtl-optimization/56999
1385         * lra-coalesce.c (coalescable_pseudo_p): Remove 2nd parameter and
1386         related code.
1387         (lra_coalesce): Remove split_origin_bitmap and related code.
1388         * lra.c (lra): Coalesce after undoing inheritance. Recreate live
1389         ranges if necessary.
1391 2013-05-02  Vladimir Makarov  <vmakarov@redhat.com>
1393         Backport from mainline
1394         2013-04-19  Vladimir Makarov  <vmakarov@redhat.com>
1396         PR rtl-optimization/56847
1397         * lra-constraints.c (process_alt_operands): Discourage alternative
1398         with non-matche doffsettable memory constraint fro memory with
1399         known offset.
1401 2013-05-02  Ian Bolton  <ian.bolton@arm.com>
1403         Backport from mainline
1404         2013-03-28  Ian Bolton  <ian.bolton@arm.com>
1406         * config/aarch64/aarch64.md (aarch64_can_eliminate): Keep frame
1407         record only when desired or required.
1409 2013-04-30  Jakub Jelinek  <jakub@redhat.com>
1411         PR tree-optimization/57104
1412         * tsan.c (instrument_expr): Don't instrument accesses to
1413         DECL_HARD_REGISTER VAR_DECLs.
1415 2013-04-30  Uros Bizjak  <ubizjak@gmail.com>
1417         Backport from mainline
1418         2013-04-29  Uros Bizjak  <ubizjak@gmail.com>
1420         PR target/44578
1421         * config/i386/i386.md (*zero_extendsidi2_rex64): Add "!" to m->?*y
1422         alternative.
1423         (*zero_extendsidi2): Ditto.
1425         Backport from mainline
1426         2013-04-29  Uros Bizjak  <ubizjak@gmail.com>
1428         PR target/57098
1429         * config/i386/i386.c (ix86_expand_vec_perm): Validize constant memory.
1431 2013-04-29  Richard Biener  <rguenther@suse.de>
1433         PR middle-end/57103
1434         * tree-cfg.c (move_stmt_op): Fix condition under which to update
1435         TREE_BLOCK.
1436         (move_stmt_r): Remove redundant checking.
1438 2013-04-29  Christian Bruel  <christian.bruel@st.com>
1440         PR target/57108
1441         * sh.md (tstsi_t_zero_extract_eq): Set mode for operand 0.
1443 2013-04-29  Jakub Jelinek  <jakub@redhat.com>
1445         PR tree-optimization/57083
1446         * tree-vrp.c (extract_range_from_binary_expr_1): For LSHIFT_EXPR with
1447         non-singleton shift count range, zero extend low_bound for uns case.
1449 2013-04-28  Eric Botcazou  <ebotcazou@gcc.gnu.org>
1451         * stor-layout.c (finalize_size_functions): Allocate a structure and
1452         reset cfun before dumping the functions.
1454 2013-04-27  Jakub Jelinek  <jakub@redhat.com>
1456         PR target/56866
1457         * config/i386/i386.c (ix86_expand_mul_widen_evenodd): Don't
1458         use xop_pmacsdqh if uns_p.
1459         * config/i386/sse.md (xop_rotr<mode>3): Fix up computation of
1460         the immediate rotate count.
1462 2013-04-25  Jakub Jelinek  <jakub@redhat.com>
1464         PR rtl-optimization/57003
1465         * regcprop.c (copyprop_hardreg_forward_1): If ksvd.ignore_set_reg,
1466         call note_stores with kill_clobbered_value callback again after
1467         killing regs_invalidated_by_call.
1469 2013-04-25  Ian Bolton  <ian.bolton@arm.com>
1471         Backported from mainline.
1472         2013-03-22  Ian Bolton  <ian.bolton@arm.com>
1474         * config/aarch64/aarch64.c (aarch64_print_operand): New
1475         format specifier for printing a constant in hex.
1476         * config/aarch64/aarch64.md (insv_imm<mode>): Use the X
1477         format specifier for printing second operand.
1479 2013-04-24  James Greenhalgh  <james.greenhalgh@arm.com>
1481         Backported from mainline.
1482         2013-04-24  James Greenhalgh  <james.greenhalgh@arm.com>
1484         * config/aarch64/arm_neon.h (vld1<q>_lane*): Fix constraints.
1485         (vld1<q>_dup_<sufp><8, 16, 32, 64>): Likewise.
1486         (vld1<q>_<sufp><8, 16, 32, 64>): Likewise.
1488 2013-04-24  Greta Yorsh  <Greta.Yorsh@arm.com>
1490         Backported from mainline.
1491         PR target/56797
1492         * config/arm/arm.c (load_multiple_sequence): Require SP
1493         as base register for loads if SP is in the register list.
1495 2013-04-23  Bill Schmidt  <wschmidt@linux.vnet.ibm.com>
1496             Steven Bosscher <steven@gcc.gnu.org>
1498         Backported from mainline.
1499         PR rtl-optimization/56605
1500         * loop-iv.c (implies_p): Handle equal RTXs and subregs.
1502 2013-04-22  Marek Polacek  <polacek@redhat.com>
1504         Backported from mainline.
1505         2013-04-22  Marek Polacek  <polacek@redhat.com>
1507         PR sanitizer/56990
1508         * tsan.c (instrument_expr): Don't instrument expression
1509         in case its size is zero.
1511 2013-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
1513         Backported from mainline.
1514         2013-04-10  Yufeng Zhang  <yufeng.zhang@arm.com>
1515         * config/aarch64/aarch64.c (aarch64_print_extension): New function.
1516         (aarch64_start_file): Use the new function.
1518 2013-04-18  Jakub Jelinek  <jakub@redhat.com>
1520         PR tree-optimization/56984
1521         * tree-vrp.c (register_edge_assert_for_2): For (x >> M) < N
1522         and (x >> M) >= N don't register any assertion if N << M is the
1523         minimum value.
1525 2013-04-17  David Edelsohn  <dje.gcc@gmail.com>
1527         PR target/56948
1528         * config/rs6000/vsx.md (vsx_mov<mode>): Add j->r alternative.
1530 2013-04-15  Jakub Jelinek  <jakub@redhat.com>
1532         PR tree-optimization/56962
1533         * gimple-ssa-strength-reduction.c (record_increment): Only set
1534         initializer if gimple_assign_rhs_code is {,POINTER_}PLUS_EXPR and
1535         either rhs1 or rhs2 is equal to c->base_expr.
1537 2013-04-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1539         * emit-rtl.c (reset_all_used_flags): New function.
1540         (verify_rtl_sharing): Call reset_all_used_flags before and after
1541         performing the checks.
1543 2013-04-15  Eric Botcazou  <ebotcazou@adacore.com>
1545         PR target/56890
1546         * config/sparc/sparc.c (enum sparc_mode_class): Add H_MODE value.
1547         (S_MODES): Set H_MODE bit.
1548         (SF_MODES): Set only S_MODE and SF_MODE bits.
1549         (DF_MODES): Set SF_MODES and only D_MODE and DF_MODE bits.
1550         (sparc_init_modes) <MODE_INT>: Set H_MODE bit for sub-word modes.
1551         <MODE_VECTOR_INT>: Do not set SF_MODE for sub-word modes.
1552         <MODE_FLOAT>: Likewise.
1554 2013-04-12  Vladimir Makarov  <vmakarov@redhat.com>
1556         PR target/56903
1557         * config/i386/i386.c (ix86_hard_regno_mode_ok): Add
1558         lra_in_progress for return.
1560 2013-04-12  Jakub Jelinek  <jakub@redhat.com>
1562         PR tree-optimization/56918
1563         PR tree-optimization/56920
1564         * fold-const.c (int_const_binop_1): Use op1.mul_with_sign (op2, ...)
1565         instead of op1 - op2.  Pass 2 * TYPE_PRECISION (type) as second
1566         argument to rshift method.
1568 2013-04-12  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1570         * ifcvt.c (end_ifcvt_sequence): Mark a and b for unsharing as
1571         well.
1573 2013-04-11  Marek Polacek  <polacek@redhat.com>
1575         PR tree-optimization/48184
1576         * params.def (PARAM_ALIGN_THRESHOLD): Increase the minimum
1577         value to 1.
1579 2013-04-11  James Greenhalgh  <james.greenhalgh@arm.com>
1581         Backported from mainline.
1582         2013-04-11  James Greenhalgh  <james.greenhalgh@arm.com>
1584         * config/aarch64/aarch64-simd.md (aarch64_vcond_internal): Fix
1585         floating-point vector comparisons against 0.
1587 2013-04-11  Jakub Jelinek  <jakub@redhat.com>
1589         PR tree-optimization/56899
1590         * fold-const.c (extract_muldiv_1): Apply distributive law
1591         only if TYPE_OVERFLOW_WRAPS (ctype).
1593 2013-04-10  David S. Miller  <davem@davemloft.net>
1595         * config/sparc/sparc.h (ASM_CPU_SPEC): Pass -Av8 if -mcpu=supersparc
1596         or -mcpu=hypersparc.
1598 2013-04-10  Jakub Jelinek  <jakub@redhat.com>
1600         Backported from mainline
1601         2013-04-09  Jakub Jelinek  <jakub@redhat.com>
1603         PR middle-end/56883
1604         * omp-low.c (expand_omp_for_generic, expand_omp_for_static_nochunk,
1605         expand_omp_for_static_chunk): Use simple_p = true in
1606         force_gimple_operand_gsi calls when assigning to addressable decls.
1608 2013-04-09  Marek Polacek  <polacek@redhat.com>
1610         PR tree-optimization/48762
1611         * params.def (PARAM_MAX_CSE_INSNS): Increase the minimum
1612         value to 1.
1614 2013-04-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1616         * config/s390/s390.c (s390_expand_insv): Only accept insertions
1617         within mode size.
1619 2013-04-08  Marek Polacek  <polacek@redhat.com>
1621         PR rtl-optimization/48182
1622         * params.def (PARAM_MIN_CROSSJUMP_INSNS): Increase the minimum
1623         value to 1.
1625 2013-04-06  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
1627         PR target/55487
1628         * config/pa/pa.c (legitimize_pic_address): Before incrementing label
1629         nuses, make sure we have a label.
1631 2013-04-04  Ian Lance Taylor  <iant@google.com>
1633         Backport from mainline:
1634         * doc/standards.texi (Standards): The Go frontend supports the Go
1635         1 language standard.
1637 2013-04-04  Marek Polacek  <polacek@redhat.com>
1639         Backport from mainline:
1640         2013-04-04  Marek Polacek  <polacek@redhat.com>
1642         PR tree-optimization/48186
1643         * predict.c (maybe_hot_frequency_p): Return false if
1644         HOT_BB_FREQUENCY_FRACTION is 0.
1645         (cgraph_maybe_hot_edge_p): Likewise.
1647 2013-04-04  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1649         Backport from mainline:
1650         2013-03-25  Kyrylo Tkachov  <kyrylo.tkachov@arm.com>
1652         PR target/56720
1653         * config/arm/iterators.md (v_cmp_result): New mode attribute.
1654         * config/arm/neon.md (vcond<mode><mode>): Handle unordered cases.
1656 2013-04-04  Richard Biener  <rguenther@suse.de>
1658         PR tree-optimization/56837
1659         * tree-loop-distribution.c (classify_partition): For non-zero
1660         values require that the value has the same precision as its
1661         mode to be useful as memset value.
1663 2013-04-03  Roland McGrath  <mcgrathr@google.com>
1665         Backport from mainline:
1666         2013-03-26  Roland McGrath  <mcgrathr@google.com>
1668         * config/arm/arm.c (arm_print_operand: case 'w'): Use fputs rather
1669         than fprintf with a non-constant, non-format string.
1671 2013-04-03  Marek Polacek  <polacek@redhat.com>
1673         Backport from mainline:
1674         2013-04-03  Marek Polacek  <polacek@redhat.com>
1676         PR sanitizer/55702
1677         * tsan.c (instrument_func_exit): Allow BUILT_IN_RETURN
1678         functions.
1680 2013-04-03  Richard Biener  <rguenther@suse.de>
1682         PR tree-optimization/56817
1683         * tree-ssa-loop-ivcanon.c (tree_unroll_loops_completely):
1684         Split out ...
1685         (tree_unroll_loops_completely_1): ... new function to manually
1686         walk the loop tree, properly defering outer loops of unrolled
1687         loops to later iterations.
1689 2013-04-02  Jakub Jelinek  <jakub@redhat.com>
1691         PR rtl-optimization/56745
1692         * ifcvt.c (cond_exec_find_if_block): Don't try to optimize
1693         if then_bb has no successors and else_bb is EXIT_BLOCK_PTR.
1695 2013-04-02  Wei Mi  <wmi@google.com>
1697         * config/i386/i386.c (ix86_rtx_costs): Set proper rtx cost for
1698         ashl<mode>3_mask, *<shift_insn><mode>3_mask and
1699         *<rotate_insn><mode>3_mask in i386.md.
1701 2013-04-01  Wei Mi  <wmi@google.com>
1703         * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn.
1704         Truncate operand 2 using %b asm operand modifier.
1705         (*<shift_insn><mode>3_mask): Ditto.
1706         (*<rotate_insn><mode>3_mask): Ditto.
1708 2013-04-01  Uros Bizjak  <ubizjak@gmail.com>
1710         * config/i386/i386.md (*movsf_internal): Change type of
1711         alternatives 3,4 to imov.
1713 2013-03-29  Paolo Carlini  <paolo.carlini@oracle.com>
1715         PR lto/56777
1716         * doc/invoke.texi ([-fwhole-program]): Fix typo.
1718 2013-03-29  Kirill Yukhin  <kirill.yukhin@intel.com>
1720         * config/i386/avx2intrin.h (_mm256_broadcastsi128_si256):
1721         Fix declaration name.
1723 2013-03-28  Gerald Pfeifer  <gerald@pfeifer.com>
1725         * doc/invoke.texi (AVR Options): Tweak link for AVR-LibC user manual.
1726         * doc/extend.texi (Named Address Spaces): Ditto.
1727         (Variable Attributes): Ditto.
1729 2013-03-28  Eric Botcazou  <ebotcazou@adacore.com>
1731         * toplev.c (process_options): Do not disable -fomit-frame-pointer on a
1732         general basis if unwind info is requested and ACCUMULATE_OUTGOING_ARGS
1733         is not enabled.
1735 2013-03-27  Walter Lee  <walt@tilera.com>
1737         Backport from mainline:
1738         2013-03-27  Walter Lee  <walt@tilera.com>
1740         * config/tilegx/tilegx.c (tilegx_expand_prologue): Avoid
1741         double-decrement of next_scratch_regno.
1743 2013-03-27  Walter Lee  <walt@tilera.com>
1745         Backport from mainline:
1746         2013-03-27  Walter Lee  <walt@tilera.com>
1748         * config/tilegx/tilegx.md (insn_v1mulu): Fix predicates on
1749         input operands.
1750         (insn_v1mulus): Ditto.
1751         (insn_v2muls): Ditto.
1753 2013-03-27  Walter Lee  <walt@tilera.com>
1755         Backport from mainline:
1756         2013-03-27  Walter Lee  <walt@tilera.com>
1758         * config/tilegx/tilegx.h (ASM_OUTPUT_ADDR_VEC_ELT): Delete
1759         extra tab.
1760         (ASM_OUTPUT_ADDR_DIFF_ELT): Ditto.
1762 2013-03-27  Walter Lee  <walt@tilera.com>
1764         Backport from mainline:
1765         2013-03-27  Walter Lee  <walt@tilera.com>
1767         * config/tilegx/tilegx.md (*sibcall_insn): Fix type atribute for jr.
1768         (*sibcall_value): Ditto.
1770 2013-03-27  Walter Lee  <walt@tilera.com>
1772         Backport from mainline:
1773         2013-03-27  Walter Lee  <walt@tilera.com>
1775         * config/tilegx/tilegx.md (insn_mnz_<mode>): Replaced by ...
1776         (insn_mnz_v8qi): ... this ...
1777         (insn_mnz_v4hi): ... and this.  Replace (const_int 0) with the
1778         vector equivalent.
1779         (insn_v<n>mnz): Replaced by ...
1780         (insn_v1mnz): ... this ...
1781         (insn_v2mnz): ... and this.  Replace (const_int 0) with the vector
1782         equivalent.
1783         (insn_mz_<mode>): Replaced by ...
1784         (insn_mz_v8qi): ... this ...
1785         (insn_mz_v4hi): ... and this.  Replace (const_int 0) with the
1786         vector equivalent.
1787         (insn_v<n>mz): Replaced by ...
1788         (insn_v1mz): ... this ...
1789         (insn_v2mz): ... and this.  Replace (const_int 0) with the vector
1790         equivalent.
1792 2013-03-26  Eric Botcazou  <ebotcazou@adacore.com>
1794         * doc/invoke.texi (SPARC options): Remove -mlittle-endian.
1796 2013-03-26  Sebastian Huber  <sebastian.huber@embedded-brains.de>
1798         * config/rtems.opt: Add -pthread option.
1800 2013-03-26  Sofiane Naci  <sofiane.naci@arm.com>
1802         * config/aarch64/aarch64.c (aarch64_classify_address): Support
1803         PC-relative load in SI modes and above only.
1805 2013-03-26  Walter Lee  <walt@tilera.com>
1807         Backport from mainline:
1808         2013-03-26  Walter Lee  <walt@tilera.com>
1810         * config/tilegx/tilegx.h (PROFILE_BEFORE_PROLOGUE): Define.
1811         * config/tilegx/tilepro.h (PROFILE_BEFORE_PROLOGUE): Define.
1813 2013-03-26  Walter Lee  <walt@tilera.com>
1815         Backport from mainline:
1816         2013-03-25  Walter Lee  <walt@tilera.com>
1818         * config/tilegx/tilegx-builtins.h (enum tilegx_builtin): Add
1819         TILEGX_INSN_SHUFFLEBYTES1.
1820         * config/tilegx/tilegx.c (tilegx_builtin_info): Add entry for
1821         shufflebytes1.
1822         (tilegx_builtins): Ditto.
1823         * config/tilegx/tilegx.md (insn_shufflebytes1): New pattern.
1825 2013-03-26  Walter Lee  <walt@tilera.com>
1827         Backport from mainline:
1828         2013-03-25  Walter Lee  <walt@tilera.com>
1830         * config/tilegx/tilegx.c (expand_set_cint64_one_inst): Inline
1831         tests for constraint J, K, N, P.
1833 2013-03-26  Walter Lee  <walt@tilera.com>
1835         Backport from mainline:
1836         2013-03-25  Walter Lee  <walt@tilera.com>
1838         * config/tilegx/tilegx.c (tilegx_asm_preferred_eh_data_format):
1839         Use indirect/pcrel encoding.
1840         * config/tilepro/tilepro.c (tilepro_asm_preferred_eh_data_format):
1841         Ditto.
1843 2013-03-25  Richard Biener  <rguenther@suse.de>
1845         PR middle-end/56694
1846         * tree-eh.c (lower_eh_must_not_throw): Strip BLOCKs from the
1847         must-not-throw stmt location.
1849 2012-03-22  Jakub Jelinek  <jakub@redhat.com>
1851         * BASE-VER: Set to 4.8.1.
1852         * DEV-PHASE: Set to prerelease.
1854 2013-03-22  Release Manager
1856         * GCC 4.8.0 released.
1858 2013-03-21  Walter Lee  <walt@tilera.com>
1860         * config/tilegx/sync.md (atomic_test_and_set): New pattern.
1862 2013-03-21  Mark Wielaard  <mjw@redhat.com>
1864         * dwarf2out.c (size_of_aranges): Skip DECL_IGNORED_P functions.
1866 2013-03-20  Richard Biener  <rguenther@suse.de>
1868         PR tree-optimization/56661
1869         * tree-ssa-sccvn.c (visit_use): Only value-number calls if
1870         the result does not have to be distinct.
1872 2013-03-20  Jakub Jelinek  <jakub@redhat.com>
1874         PR tree-optimization/56635
1875         * tree-ssa-phiopt.c (cond_if_else_store_replacement_1): Give up
1876         if lhs of then_assign and else_assign don't have compatible types.
1878 2013-03-17  Jakub Jelinek  <jakub@redhat.com>
1880         PR target/56640
1881         * config/arm/arm.h (REG_CLASS_NAMES): Add "SFP_REG" and "AFP_REG"
1882         class names.  Remove trailing comma after "ALL_REGS".
1884 2013-03-16  Jakub Jelinek  <jakub@redhat.com>
1886         * DEV-PHASE: Set to prerelease.
1888 2013-03-14  Andi Kleen  <ak@linux.intel.com>
1890         PR target/56619
1891         * doc/extend.texi: Document __ATOMIC_HLE_ACQUIRE,
1892         __ATOMIC_HLE_RELEASE. Document __builtin_ia32 TSX intrincs.
1893         Document _x* TSX intrinsics.
1895 2013-03-14  Edgar E. Iglesias <edgar.iglesias@xilinx.com>
1896             David Holsgrove <david.holsgrove@xilinx.com>
1898         * configure.ac: Add MicroBlaze TLS support detection.
1899         * configure: Regenerate.
1900         * config/microblaze/microblaze-protos.h
1901         (microblaze_cannot_force_const_mem, microblaze_tls_referenced_p,
1902         symbol_mentioned_p, label_mentioned_p): Add prototypes.
1903         * config/microblaze/microblaze.c (microblaze_address_type): Add
1904         ADDRESS_TLS and tls_reloc address types.
1905         (microblaze_address_info): Add tls_reloc.
1906         (TARGET_HAVE_TLS): Define.
1907         (get_tls_get_addr, microblaze_tls_symbol_p, microblaze_tls_operand_p_1,
1908         microblaze_tls_referenced_p, microblaze_cannot_force_const_mem,
1909         symbol_mentioned_p, label_mentioned_p, tls_mentioned_p,
1910         load_tls_operand, microblaze_call_tls_get_addr,
1911         microblaze_legitimize_tls_address): New functions.
1912         (microblaze_classify_unspec): Handle UNSPEC_TLS.
1913         (get_base_reg): Use microblaze_tls_symbol_p.
1914         (microblaze_classify_address): Handle TLS.
1915         (microblaze_legitimate_pic_operand): Use symbol_mentioned_p,
1916         label_mentioned_p and microblaze_tls_referenced_p.
1917         (microblaze_legitimize_address): Handle TLS.
1918         (microblaze_address_insns): Handle ADDRESS_TLS.
1919         (pic_address_needs_scratch): Handle TLS.
1920         (print_operand_address): Handle TLS.
1921         (microblaze_expand_prologue): Check TLS_NEEDS_GOT.
1922         (microblaze_expand_move): Handle TLS.
1923         (microblaze_legitimate_constant_p): Check
1924         microblaze_cannot_force_const_mem and microblaze_tls_symbol_p.
1925         (TARGET_CANNOT_FORCE_CONST_MEM): Define.
1926         * config/microblaze/microblaze.h (TLS_NEEDS_GOT): Define
1927         (PIC_OFFSET_TABLE_REGNUM): Set.
1928         * config/microblaze/linux.h (TLS_NEEDS_GOT): Define.
1929         * config/microblaze/microblaze.md (UNSPEC_TLS): Define.
1930         (addsi3, movsi_internal2, movdf_internal): Update constraints
1931         * config/microblaze/predicates.md (arith_plus_operand): Define
1932         (move_operand): Redefine as move_src_operand, check
1933         microblaze_tls_referenced_p.
1935 2013-03-14  Ian Bolton  <ian.bolton@arm.com>
1937         * config/aarch64/aarch64.md: (*and<mode>3nr_compare0): Use CC_NZ.
1938         (*and_<SHIFT:optab><mode>3nr_compare0): Likewise.
1940 2013-03-14  Ian Bolton  <ian.bolton@arm.com>
1942         * config/aarch64/aarch64.c (aarch64_select_cc_mode): Return correct
1943         CC mode for AND.
1945 2013-03-14  Jakub Jelinek  <jakub@redhat.com>
1947         PR tree-optimization/53265
1948         * common.opt (Waggressive-loop-optimizations): New option.
1949         * tree-ssa-loop-niter.c: Include tree-pass.h.
1950         (do_warn_aggressive_loop_optimizations): New function.
1951         (record_estimate): Call it.  Don't add !is_exit bounds to loop->bounds
1952         if number_of_latch_executions returned constant.
1953         (estimate_numbers_of_iterations_loop): Call number_of_latch_executions
1954         early.  If number_of_latch_executions returned constant, set
1955         nb_iterations_upper_bound back to it.
1956         * cfgloop.h (struct loop): Add warned_aggressive_loop_optimizations
1957         field.
1958         * Makefile.in (tree-ssa-loop-niter.o): Depend on $(TREE_PASS_H).
1959         * doc/invoke.texi (-Wno-aggressive-loop-optimizations): Document.
1961         * config/aarch64/t-aarch64-linux (MULTARCH_DIRNAME): Remove.
1962         (MULTILIB_OSDIRNAMES): Set.
1963         * genmultilib: If defaultosdirname doesn't start with :: , set
1964         defaultosdirname2 instead, clear it and emit two . multilib_raw
1965         entries instead of just one.
1967 2013-03-14  Kaz Kojima  <kkojima@gcc.gnu.org>
1969         * config/sh/linux.h (TARGET_DEFAULT): Remove MASK_USERMODE.
1970         (SUBTARGET_OVERRIDE_OPTIONS): Set TARGET_USERMODE as default.
1971         * config/sh/netbsd-elf.h (TARGET_DEFAULT): Remove MASK_USERMODE.
1972         (SUBTARGET_OVERRIDE_OPTIONS): New.
1974 2013-03-13  Oleg Endo  <olegendo@gcc.gnu.org>
1976         PR target/49880
1977         * config/sh/sh.opt (FPU_SINGLE_ONLY): New mask.
1978         (musermode): Convert to Var(TARGET_USERMODE).
1979         * config/sh/sh.h (SELECT_SH2A_SINGLE_ONLY, SELECT_SH4_SINGLE_ONLY,
1980         MASK_ARCH): Add MASK_FPU_SINGLE_ONLY.
1981         * config/sh/sh.c (sh_option_override): Use
1982         TARGET_FPU_DOUBLE || TARGET_FPU_SINGLE_ONLY for call-fp case.
1983         * config/sh/sh.md (udivsi3_i1, divsi3_i1): Remove ! TARGET_SH4
1984         condition.
1985         (udivsi3_i4, divsi3_i4): Use TARGET_FPU_DOUBLE condition instead of
1986         TARGET_SH4.
1987         (udivsi3_i4_single, divsi3_i4_single): Use
1988         TARGET_FPU_SINGLE_ONLY || TARGET_FPU_DOUBLE instead of TARGET_HARD_SH4.
1990 2013-03-13  Dave Korn  <dave.korn.cygwin@....>
1992         * config/i386/cygwin.h (SHARED_LIBGCC_SPEC): Make shared libgcc the
1993         default setting.
1995 2013-03-13  Richard Biener  <rguenther@suse.de>
1997         PR tree-optimization/56608
1998         * tree-vect-slp.c (vect_schedule_slp): Do not remove scalar
1999         calls when vectorizing basic-blocks.
2001 2013-03-13  Jakub Jelinek  <jakub@redhat.com>
2003         PR plugins/45078
2004         * config.gcc: On arm, mips, sh and sparc add vxworks-dummy.h to
2005         tm_file.
2007 2013-03-12  Jakub Jelinek  <jakub@redhat.com>
2009         * doc/invoke.texi (-Waddr-space-convert): Move into the table earlier.
2011 2013-03-11  Jan Hubicka  <jh@suse.cz>
2013         PR lto/56557
2014         * lto-streamer-out.c (output_symbol_p): Skip references from
2015         constructors of external variables.
2017 2013-03-11  Jan Hubicka  <jh@suse.cz>
2019         PR middle-end/56571
2020         * valtrack.c (cleanup_auto_inc_dec): Unshare clobbers originating
2021         from pseudos.
2022         * emit-rtl.c (verify_rtx_sharing): Likewise.
2023         (copy_insn_1): Likewise.
2024         * rtl.c (copy_rtx): Likewise.
2026 2013-03-11  Georg-Johann Lay  <avr@gjlay.de>
2028         PR target/56591
2029         * config/avr/avr.c (avr_print_operand): Add space after '%c' in
2030         output_operand_lossage message.
2032 2013-03-11  Richard Earnshaw  <rearnsha@arm.com>
2034         PR target/56470
2035         * arm.c (shift_op): Validate RTL pattern on the fly.
2036         (arm_print_operand, case 'S'): Don't use shift_operator to validate
2037         the RTL.
2039 2013-03-10  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
2041         PR target/56347
2042         * config/pa/pa.md (call_value): Check for calls to powf and direct to
2043         new call patterns that clobber %fr12.
2044         (call_val_powf, call_val_powf_pic, call_val_powf_64bit): New insn,
2045         split and postreload patterns.
2046         * config/pa/pa.c (pa_conditional_register_usage): Revert marking
2047         registers %fr12 and %fr12R as call used.
2049 2013-03-09  Steven Bosscher  <steven@gcc.gnu.org>
2051         * dse.c (delete_dead_store_insn): Respect TDF_DETAILS.
2052         (canon_address, record_store, replace_read, check_mem_read_rtx,
2053         scan_insn, dse_step1, dse_step2_init, dse_step2_spill,
2054         dse_step4, dse_step5_nospill, dse_step5_spill, dse_step6,
2055         rest_of_handle_dse): Likewise.
2057 2013-03-09  Richard Sandiford  <rdsandiford@googlemail.com>
2059         PR middle-end/56524
2060         * tree.h (tree_optimization_option): Rename target_optabs to optabs.
2061         Add base_optabs.
2062         (TREE_OPTIMIZATION_OPTABS): Update after previous field change.
2063         (TREE_OPTIMIZATION_BASE_OPTABS): New macro.
2064         (save_optabs_if_changed): Replace with...
2065         (init_tree_optimization_optabs): ...this.
2066         * optabs.c (save_optabs_if_changed): Rename to...
2067         (init_tree_optimization_optabs): ...this.  Take the optimization node
2068         as argument.  Do nothing if the base optabs are already correct.
2069         Reuse the existing TREE_OPTIMIZATION_OPTABS memory if we need
2070         to recompute optabs.
2071         * function.h (function): Remove optabs field.
2072         * function.c (invoke_set_current_function_hook): Call
2073         init_tree_optimization_optabs.  Use the result to initialize
2074         this_fn_optabs.
2076 2013-02-27  Aldy Hernandez  <aldyh@redhat.com>
2078         * trans-mem.c (expand_transaction): Do not set PR_INSTRUMENTEDCODE
2079         if GTMA_HAS_NO_INSTRUMENTATION.
2080         (generate_tm_state): Keep GTMA_HAS_NO_INSTRUMENTATION bit.
2081         (ipa_tm_transform_transaction): Set GTMA_HAS_NO_INSTRUMENTATION.
2082         * gimple.h (GTMA_HAS_NO_INSTRUMENTATION): Define.
2083         * gimple-pretty-print.c (dump_gimple_transaction): Handle
2084         GTMA_HAS_NO_INSTRUMENTATION.
2086 2013-03-08  Jakub Jelinek  <jakub@redhat.com>
2088         * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Don't link against
2089         libasan_preinit.o.
2091 2013-03-08  Marek Polacek  <polacek@redhat.com>
2092             Jakub Jelinek  <jakub@redhat.com>
2094         PR tree-optimization/56478
2095         * predict.c (is_comparison_with_loop_invariant_p): Change the
2096         type of loop_step to tree.
2097         (predict_loops): Adjust.
2098         (predict_iv_comparison): Perform the computations on double_ints.
2100 2013-03-08  Richard Biener  <rguenther@suse.de>
2102         PR tree-optimization/56570
2103         * tree-cfg.c (verify_expr_location_1): Verify locations for
2104         DECL_DEBUG_EXPR.
2105         * tree-sra.c (create_access_replacement): Strip locations
2106         from DECL_DEBUG_EXPRs.
2108 2013-03-08  Richard Biener  <rguenther@suse.de>
2110         * tree-inline.c (expand_call_inline): Do not associate
2111         a BLOCK with the location in BLOCK_SOURCE_LOCATION.
2112         * tree-cfg.c (verify_location): Verify BLOCK_SOURCE_LOCATION.
2114 2013-03-08  Richard Biener  <rguenther@suse.de>
2116         * tree-ssa-ter.c (is_replaceable_p): Do not TER across location
2117         or block changes with -Og.  Fix for location / block encoding
2118         changes and PHI arguments with locations.
2120 2013-03-07  Steven Bosscher  <steven@gcc.gnu.org>
2122         * bitmap.c (struct bitmap_descriptor_d): Use unsigned HOST_WIDEST_INT
2123         for all counters.
2124         (struct output_info): Likewise.
2125         (register_overhead): Remove bad gcc_assert.
2126         (bitmap_find_bit): If there is only a single bitmap element, do not
2127         count a miss as a search.
2128         (print_statistics): Update for counter type changes.
2129         (dump_bitmap_statistics): Likewise.  Print headers such that they
2130         are properly lined up with the printed counters.
2132 2013-03-07  Jakub Jelinek  <jakub@redhat.com>
2134         PR tree-optimization/56559
2135         * tree-ssa-reassoc.c (zero_one_operation): When looking at rhs2,
2136         check that it has only a single use.
2138 2013-03-07  Richard Biener  <rguenther@suse.de>
2140         * doc/invoke.texi (fwhole-program): Discourage use in combination
2141         with -flto.
2143 2013-03-06  Jakub Jelinek  <jakub@redhat.com>
2145         * config/arm/t-arm (TM_H, OPTIONS_H_EXTRA): Add arm-cores.def.
2147         PR tree-optimization/56539
2148         * tree-tailcall.c (adjust_return_value_with_ops): Use GSI_SAME_STMT
2149         instead of GSI_CONTINUE_LINKING as last argument to
2150         force_gimple_operand_gsi.  Adjust function comment.
2152         * config/aarch64/t-aarch64 (TM_H, OPTIONS_H_EXTRA): Add
2153         aarch64-cores.def.
2155         PR middle-end/56548
2156         * expr.c (expand_cond_expr_using_cmove): When expanding cmove in
2157         promoted mode, convert the result back to the original mode.
2159 2013-03-06  Richard Biener  <rguenther@suse.de>
2161         PR middle-end/56294
2162         * tree-into-ssa.c (insert_phi_nodes_for): Add dumping.
2163         (insert_updated_phi_nodes_compare_uids): New function.
2164         (update_ssa): Sort symbols_to_rename after UID before
2165         traversing it to insert PHI nodes.
2167 2013-03-06  Richard Biener  <rguenther@suse.de>
2169         PR middle-end/50494
2170         * tree-vect-data-refs.c (vect_can_force_dr_alignment_p):
2171         Do not adjust alignment of DECL_IN_CONSTANT_POOL decls.
2173         Revert
2174         2013-02-13  Richard Biener  <rguenther@suse.de>
2176         PR lto/50494
2177         * varasm.c (output_constant_def_1): Get the decl representing
2178         the constant as argument.
2179         (output_constant_def): Wrap output_constant_def_1.
2180         (make_decl_rtl): Use output_constant_def_1 with the decl
2181         representing the constant.
2182         (build_constant_desc): Optionally re-use a decl already
2183         representing the constant.
2184         (tree_output_constant_def): Adjust.
2186 2013-03-06  Joey Ye  <joey.ye@arm.com>
2188         PR lto/50293
2189         * gcc.c (convert_white_space): New function.
2190         (main): Handles white space in function name.
2192 2013-03-06  Oleg Endo  <olegendo@gcc.gnu.org>
2194         PR target/56529
2195         * config/sh/sh.c (sh_option_override): Check for TARGET_DYNSHIFT
2196         instead of TARGET_SH2 for call-table case.  Do not set sh_div_strategy
2197         to SH_DIV_CALL_TABLE for TARGET_SH2.
2198         * config.gcc (sh_multilibs): Add m2 and m2a to sh*-*-linux* multilib
2199         list.
2200         * doc/invoke.texi (SH options): Document mdiv= call-div1, call-fp,
2201         call-table options.
2203 2013-03-05  Sterling Augustine  <saugustine@google.com>
2204             Cary Coutant  <ccoutant@google.com>
2206         PR debug/55364
2207         * dwarf2out.c (resolve_addr): Don't call
2208         remove_loc_list_addr_table_entries a second time for the same
2209         expression.
2211 2013-03-05  Jakub Jelinek  <jakub@redhat.com>
2213         PR debug/56510
2214         * cfgexpand.c (expand_debug_parm_decl): Call copy_rtx on incoming.
2215         (avoid_complex_debug_insns): New function.
2216         (expand_debug_locations): Call it.
2218         PR rtl-optimization/56484
2219         * ifcvt.c (noce_process_if_block): If else_bb is NULL, avoid extending
2220         lifetimes of hard registers on small register class machines.
2222 2013-03-05  David Holsgrove  <david.holsgrove@xilinx.com>
2224         * config/microblaze/microblaze-protos.h: Rename
2225         microblaze_is_interrupt_handler to microblaze_is_interrupt_variant.
2226         * config/microblaze/microblaze.c (microblaze_attribute_table): Add
2227         fast_interrupt.
2228         (microblaze_fast_interrupt_function_p): New function.
2229         (microblaze_is_interrupt_handler): Rename to
2230         microblaze_is_interrupt_variant and add fast_interrupt check.
2231         (microblaze_must_save_register): Use microblaze_is_interrupt_variant.
2232         (save_restore_insns): Likewise.
2233         (compute_frame_size): Likewise.
2234         (microblaze_function_prologue): Add FAST_INTERRUPT_NAME.
2235         (microblaze_globalize_label): Likewise.
2236         * config/microblaze/microblaze.h: Define FAST_INTERRUPT_NAME.
2237         * config/microblaze/microblaze.md: Use wrapper
2238         microblaze_is_interrupt_variant.
2240 2013-03-05  Kai Tietz  <ktietz@redhat.com>
2242         * sdbout.c (sdbout_one_type): Switch to current function's section
2243         supporting cold/hot.
2245 2013-03-05  David Holsgrove  <david.holsgrove@xilinx.com>
2247         * doc/invoke.texi (MicroBlaze): Add -mbig-endian, -mlittle-endian,
2248         -mxl-reorder.
2250 2013-03-05  Jakub Jelinek  <jakub@redhat.com>
2252         PR middle-end/56461
2253         * ggc-common.c (gt_pch_save): For ENABLE_VALGRIND_CHECKING,
2254         if VALGRIND_GET_VBITS is defined, temporarily make object
2255         memory all defined, and restore previous valgrind addressability
2256         and definability afterwards.  Free this_object at the end.
2258         PR middle-end/56461
2259         * lra.c (lra): Call lra_clear_live_ranges if live_p,
2260         right before calling lra_create_live_ranges, also call it
2261         when clearing live_p.  Only call lra_clear_live_ranges
2262         at the end if live_p.
2264         PR middle-end/56461
2265         * sched-deps.c (delete_dep_node): Free DEP_REPLACE.
2267 2013-03-05  Richard Biener  <rguenther@suse.de>
2269         PR tree-optimization/56521
2270         * tree-ssa-sccvn.c (set_value_id_for_result): Always initialize
2271         value-id.
2273 2013-03-05  Steven Bosscher  <steven@gcc.gnu.org>
2275         PR c++/55135
2276         * except.h (remove_unreachable_eh_regions): New prototype.
2277         * except.c (remove_eh_handler_splicer): New function, split out
2278         of remove_eh_handler.
2279         (remove_eh_handler): Use remove_eh_handler_splicer.  Add comment
2280         warning about running it on many EH regions one at a time.
2281         (remove_unreachable_eh_regions_worker): New function, walk the
2282         EH tree in depth-first order and remove non-marked regions.
2283         (remove_unreachable_eh_regions): New function.
2284         * tree-eh.c (mark_reachable_handlers): New function, split out
2285         from remove_unreachable_handlers.
2286         (remove_unreachable_handlers): Use mark_reachable_handlers and
2287         remove_unreachable_eh_regions.
2288         (remove_unreachable_handlers_no_lp): Use mark_reachable_handlers
2289         and remove_unreachable_eh_regions.
2291 2013-03-05  Richard Biener  <rguenther@suse.de>
2293         PR middle-end/56525
2294         * loop-init.c (fix_loop_structure): Remove loops in two stages,
2295         not freeing them until the end.
2297 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
2299         * config/s390/s390.h: Define DWARF2_ASM_LINE_DEBUG_INFO.
2301 2013-03-05  Richard Biener  <rguenther@suse.de>
2303         PR tree-optimization/56270
2304         * tree-vect-slp.c (vect_schedule_slp): Clear vectorized stmts
2305         of loads after scheduling an SLP instance.
2307 2013-03-05  Jakub Jelinek  <jakub@redhat.com>
2309         * Makefile.in (dg_target_exps): Add aarch64.exp, epiphany.exp and
2310         tic6x.exp.
2311         (check_gcc_parallelize): Run guality.exp as a separate job from
2312         vect.exp with unsorted.exp and $(dg_target_exps) separately from
2313         struct-layout-1.exp with stackalign.exp.
2315         * alias.c (init_alias_analysis): Clear reg_known_equiv_p bitmap.
2317         PR middle-end/56461
2318         * tree-vect-slp.c (vect_supported_load_permutation_p): Free
2319         load_index sbitmap even if some bit in it isn't set.
2321         PR middle-end/56461
2322         * tree-ssa-loop-niter.c (bb_queue): Remove typedef.
2323         (discover_iteration_bound_by_body_walk): Change queues to
2324         vec<vec<basic_block> > and queue to vec<basic_block>.  Fix up
2325         spelling in comment.  Call safe_push on queues[bound_index] directly.
2326         Release queues[queue_index] in every iteration unconditionally.
2327         Release bounds vector.
2329         PR middle-end/56461
2330         * tree-vect-stmts.c (free_stmt_vec_info_vec): Call
2331         free_stmt_vec_info on any left-over stmt_vec_info in the vector.
2332         * tree-vect-loop.c (vect_create_epilog_for_reduction): Release
2333         inner_phis vector.
2335 2013-03-05  Richard Biener  <rguenther@suse.de>
2337         PR lto/56515
2338         * tree-inline.c (remap_blocks_to_null): New function.
2339         (expand_call_inline): When expanding a call stmt without
2340         an associated block inline remap all callee blocks to NULL.
2342 2013-03-05  Jakub Jelinek  <jakub@redhat.com>
2344         PR rtl-optimization/56494
2345         * simplify-rtx.c (simplify_truncation): If C is narrower than A,
2346         optimize (truncate:A (subreg:B (truncate:C X) 0)) into
2347         (subreg:A (truncate:C X) 0) instead of (truncate:A X).
2349         PR middle-end/56461
2350         * sel-sched-ir.c (free_sched_pools): Release
2351         succs_info_pool.stack[succs_info_pool.max_top] vectors too
2352         if succs_info_pool.max_top isn't -1.
2354         PR bootstrap/56509
2355         * opts.c (opts_obstack, opts_concat): Moved to...
2356         * opts-common.c (opts_obstack, opts_concat): ... here.
2358 2013-03-04  Jakub Jelinek  <jakub@redhat.com>
2360         PR middle-end/56461
2361         * diagnostic.c (diagnostic_append_note): Save and restore old prefix.
2363 2013-03-04  Martin Jambor  <mjambor@suse.cz>
2365         * tree-dfa.c (get_or_create_ssa_default_def): Use parameter fn in
2366         all appropriate places.
2368 2013-01-04  Eric Botcazou  <ebotcazou@adacore.com>
2370         PR tree-optimization/56424
2371         * ipa-split.c (split_function): Do not set the RSO flag if result is
2372         not by reference and its type is a register type.
2374 2013-03-04  David Holsgrove  <david.holsgrove@xilinx.com>
2376         * config/microblaze/microblaze.c (microblaze_valid_pic_const): New.
2377         (microblaze_legitimate_pic_operand): Likewise.
2378         * config/microblaze/microblaze.h (LEGITIMATE_PIC_OPERAND_P): Call
2379         new function microblaze_legitimate_pic_operand.
2380         * config/microblaze/microblaze-protos.h
2381         (microblaze_legitimate_pic_operand): Declare.
2383 2013-03-04  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2385         * config/microblaze/predicates.md (call_insn_simple_operand):
2386         New predicate for supported rtx code types.
2387         * config/microblaze/microblaze.md (call_internal1): Use
2388         call_insn_simple_operand predicate.
2390 2013-03-04  Jakub Jelinek  <jakub@redhat.com>
2392         PR middle-end/56461
2393         * tree-loop-distribution.c (ldist_gen): Call partition_free after each
2394         partitions.ordered_remove.
2396         PR middle-end/56461
2397         * tree-vect-stmts.c (vectorizable_conversion): Don't call
2398         vec_oprnds0.create (1) for modifier == NONE.
2400         PR middle-end/56461
2401         * tree-vect-stmts.c (vectorizable_shift): Don't call create methods
2402         on vec_oprnds0 or vec_oprnds1 before loop, only call it on
2403         vec_oprnds1 right before pushing anything to it for
2404         scalar_shift_arg.
2406         PR middle-end/56461
2407         * tree-vect-loop.c (destroy_loop_vec_info): For !clean_stmts, just
2408         set nbbs to 0 instead of having separate code path.
2409         (vect_analyze_loop_form): Call destroy_loop_vec_info with true
2410         instead of false as last argument if returning NULL.
2412 2013-03-03  Sandra Loosemore  <sandra@codesourcery.com>
2414         * target.def (TARGET_OPTION_VALID_ATTRIBUTE_P): Update comments;
2415         the attribute is now called "target" instead of "option".
2416         (TARGET_OPTION_PRAGMA_PARSE): Likewise, for the pragma.
2417         * doc/tm.texi.in (Target Attributes):  Likewise document the correct
2418         attribute/pragma name for TARGET_OPTION_VALID_P and
2419         TARGET_OPTION_PRAGMA_PARSE.  Also copy-edit and correct markup.
2420         * doc/tm.texi: Regenerated.
2422 2013-03-02  David Holsgrove  <david.holsgrove@xilinx.com>
2424         * config/microblaze/microblaze.c:
2425         Check mcpu, pcmp requirement and set TARGET_REORDER to 0 if not met.
2426         * config/microblaze/microblaze.h: Add -mxl-reorder to
2427         DRIVER_SELF_SPECS.
2428         * config/microblaze/microblaze.md: New bswapsi2 and bswaphi2.
2429         instructions emitted if TARGET_REORDER.
2430         * config/microblaze/microblaze.opt: New option -mxl-reorder set to 1
2431         or 0 for -m/-mno case, but initialises as 2 to detect default use case
2432         separately.
2434 2013-03-01  Xinliang David Li  <davidxl@google.com>
2436         * tree-ssa-uninit.c (compute_control_dep_chain): Limit post-dom
2437         walk length.
2439 2013-03-01  Jakub Jelinek  <jakub@redhat.com>
2441         PR middle-end/56461
2442         * tree-ssa-loop-ivcanon.c (tree_estimate_loop_size): Release path
2443         vector even when returning true.  Fix up function comment formatting.
2445         PR middle-end/56461
2446         * ira-build.c (ira_loop_nodes_count): New variable.
2447         (create_loop_tree_nodes): Initialize it.
2448         (finish_loop_tree_nodes): Use it instead of looking at current_loops.
2450         PR middle-end/56461
2451         * tree-vect-data-refs.c (vect_permute_store_chain): Avoid using copy
2452         method on dr_chain and result_chain.
2453         * tree-vect-stmts.c (vectorizable_store): Only call
2454         result_chain.create if j == 0.
2456         PR middle-end/56461
2457         * tree-vect-stmts.c (vect_create_vectorized_promotion_stmts): Call
2458         vec_oprnds0->release (); rather than vec_oprnds0->truncate (0)
2459         before overwriting it.
2461 2013-03-01  Tobias Burnus  <burnus@net-b.de>
2463         * doc/extended.texi (C Extensions): Change order in @menu
2464         to match @node.
2465         (Other MIPS Built-in Functions): Move last MIPS entry before
2466         "picoChip Built-in Functions".
2467         (SH Built-in Functions): Move after RX Built-in Functions.
2468         * doc/gcc.texi (Introduction): Change order in @menu to match @node.
2469         * doc/md.texi (Constraints): Ditto.
2470         * gty.texi (Type Information): Ditto.
2471         (User-provided marking routines for template types): Make subsection.
2472         * doc/invoke.texi (AArch64 Options): Move before
2473         "Adapteva Epiphany Options".
2475 2013-02-28  Konstantin Serebryany  <konstantin.s.serebryany@gmail.com>
2476             Jakub Jelinek  <jakub@redhat.com>
2478         PR sanitizer/56454
2479         * asan.c (gate_asan): Lookup no_sanitize_address instead of
2480         no_address_safety_analysis attribute.
2481         * doc/extend.texi (no_address_safety_attribute): Rename to
2482         no_sanitize_address attribute, mention no_address_safety_analysis
2483         attribute as deprecated alias.
2485 2013-02-28  Jakub Jelinek  <jakub@redhat.com>
2487         PR middle-end/56461
2488         * tree-vectorizer.h (vect_get_slp_defs): Change 3rd argument
2489         type to vec<vec<tree> > *.
2490         * tree-vect-slp.c (vect_get_slp_defs): Likewise.  Change vec_defs
2491         to be vec<tree> instead of vec<tree> *, set vec_defs
2492         to vNULL and call vec_defs.create (number_of_vects), adjust other
2493         uses of vec_defs.
2494         * tree-vect-stmts.c (vect_get_vec_defs, vectorizable_call,
2495         vectorizable_condition): Adjust vect_get_slp_defs callers.
2497 2013-02-28  James Greenhalgh  <james.greenhalgh@arm.com>
2499         * config/aarch64/aarch64.c
2500         (aarch64_float_const_representable): Remove unused variable.
2502 2013-02-28  James Greenhalgh  <james.greenhalgh@arm.com>
2504         * config/aarch64/aarch64.c (aarch64_mangle_type): Make static.
2506 2013-02-28  James Greenhalgh  <james.greenhalgh@arm.com>
2508         * config/aarch64/aarch64-builtins.c
2509         (aarch64_init_simd_builtins): Make static.
2511 2013-02-28  James Greenhalgh  <james.greenhalgh@arm.com>
2513         * config/aarch64/aarch64.c
2514         (aarch64_simd_make_constant): Make static.
2516 2013-02-28  Martin Jambor  <mjambor@suse.cz>
2518         * tree-sra.c (load_assign_lhs_subreplacements): Do not put replacements
2519         with no initialization to the RHS of debug statements.
2521 2013-02-28  Martin Jambor  <mjambor@suse.cz>
2523         PR tree-optimization/56294
2524         * tree-sra.c (analyze_access_subtree): Create replacement declarations.
2525         Adjust dumping.
2526         (get_access_replacement): Do not call create_access_replacement.
2527         Assert a replacement exists.
2528         (get_repl_default_def_ssa_name): Create the replacement declaration
2529         itself.
2531 2013-02-28  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
2533         * config/arm/arm.c (arm_output_mi_thunk): Call final_start_function and
2534         final_end_function.
2536 2013-02-28  Marek Polacek  <polacek@redhat.com>
2538         PR rtl-optimization/56466
2539         * loop-unroll.c (unroll_and_peel_loops): Call fix_loop_structure
2540         if we're changing a loop.
2541         (peel_loops_completely): Likewise.
2543 2013-02-28  Paolo Carlini  <paolo.carlini@oracle.com>
2545         PR c++/55813
2546         * doc/invoke.texi ([-Wctor-dtor-privacy]): Complete.
2548 2013-02-28  Georg-Johann Lay  <avr@gjlay.de>
2550         PR target/56445
2551         * config/avr/avr.c (avr_init_builtins): Use 'n' instead of empty
2552         macro parameters with: FX_FTYPE_FX, FX_FTYPE_FX_INT, INT_FTYPE_FX,
2553         INTX_FTYPE_FX, FX_FTYPE_INTX.
2554         * config/avr/builtins.def: Adjust respective DEF_BUILTIN.
2556 2013-02-28  Georg-Johann Lay  <avr@gjlay.de>
2558         * avr/avr-mcus.def (ata5272, ata5505, attiny1634, ata6285)
2559         (ata6286, atmega8a, atmega48pa, ata5790, ata5790n, ata5795)
2560         (atmega164pa, atmega165pa, atmega168pa, atmega16hva, atmega16hvb)
2561         (atmega16hvbrevb, atmega16m1, atmega16u4, atmega26hvg, atmega32a)
2562         (atmega32a, atmega3250pa, atmega3290pa, atmega32c1, atmega32m1)
2563         (atmega32u4, atmega32u6, atmega64a, atmega6490a, atmega6490p)
2564         (atmega64c1, atmega64m1, atmega64rfa2, atmega64rfr2, atmega32hvb)
2565         (atmega32hvbrevb, atmega16hva2, atmega48hvf, at90pwm161)
2566         (atmega128a, atmega1284, atmxt112sl, atmxt224, atmxt224e)
2567         (atmxt336s, atxmega16a4u, atxmega16c4, atxmega32a4u, atxmega32c4)
2568         (atxmega32e5, atxmega64a3u, atxmega64a4u, atxmega64b1, atxmega64b3)
2569         (atxmega64c3, atxmega64d4, atxmega128a3u, atxmega128b1)
2570         (atxmega128b3, atxmega128c3, atxmega128d4, atmxt540s, atmxt540sreva)
2571         (atxmega192a3u, atxmega192c3, atxmega256a3u, atxmega256c3)
2572         (atxmega384c3, atxmega384d3, atxmega128a4u): New AVR_MCU.
2573         (avrxmega6): Increase max flash segments from 5 to 6.
2574         * config/avr/t-multilib: Regenerate.
2575         * config/avr/avr-tables.opt: Regenerate.
2576         * doc/avr-mmcu.texi: Regenerate.
2578 2013-02-28  Georg-Johann Lay  <avr@gjlay.de>
2580         * config/avr/avr.h (device_to_arch): Rename to device_to_ld.
2581         (avr_device_to_arch): Rename to avr_device_to_ld.
2582         (avr_device_to_as): New prototype.
2583         (EXTRA_SPEC_FUNCTIONS): Add device_to_as.
2584         (ASM_SPEC): Use device_to_as to get -mmcu= and -mno-skip-bug=.
2585         * config/avr/driver-avr.c (avr_device_to_as): New.
2586         (avr_device_to_arch): Rename to avr_device_to_ld.
2588 2013-02-27  Jakub Jelinek  <jakub@redhat.com>
2590         PR middle-end/56461
2591         * tree-vect-data-refs.c (vect_permute_load_chain): Avoid using copy
2592         method on dr_chain and result_chain.
2594         PR middle-end/56461
2595         * tree-ssa-loop-niter.c (maybe_lower_iteration_bound): Call
2596         pointer_set_destroy on not_executed_last_iteration.
2598         PR middle-end/56461
2599         * tree-vect-loop.c (vectorizable_reduction): Release vect_defs vector.
2601         PR middle-end/56461
2602         * ipa-pure-const.c (propagate): Use FOR_EACH_FUNCTION instead of
2603         FOR_EACH_DEFINED_FUNCTION when freeing state.
2605         PR middle-end/56461
2606         * df-scan.c (df_insn_delete): Use df_scan_free_mws_vec before
2607         pool_free.
2608         (df_insn_rescan_debug_internal): Use df_scan_free_mws_vec before
2609         overwriting it.
2611         PR middle-end/56461
2612         * ipa-cp.c (decide_whether_version_node): Call vec_free on
2613         known_aggs[i].items and release known_aggs vector.
2615         PR middle-end/56461
2616         * ipa-reference.c (propagate): Free node_info even for alias nodes.
2618 2013-02-27  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
2620         * config/microblaze/microblaze.c (microblaze_emit_compare):
2621         Use xor for EQ/NE comparisions.
2622         * config/microblaze/microblaze.md (cstoresf4): Add constraints
2623         (cbranchsf4): Adjust operator to comparison_operator.
2625 2013-02-27  Jakub Jelinek  <jakub@redhat.com>
2627         PR middle-end/56461
2628         * tree-flow.h (edge_var_map_vector): Change into va_heap, vl_embed
2629         vector.
2630         * tree-ssa.c (redirect_edge_var_map_add): Use vec_safe_reserve and
2631         vec_safe_push, always update *slot.
2632         (redirect_edge_var_map_clear): Use vec_free.
2633         (redirect_edge_var_map_dup): Use vec_safe_copy and vec_safe_reserve.
2634         (free_var_map_entry): Use vec_free.
2635         * tree-cfgcleanup.c (remove_forwarder_block_with_phi): Use
2636         FOR_EACH_VEC_SAFE_ELT instead of FOR_EACH_VEC_ELT.
2638 2013-02-27  Andrey Belevantsev  <abel@ispras.ru>
2640         PR middle-end/45472
2641         * sel-sched-ir.c (merge_expr): Also change vinsn of merged expr
2642         when the may_trap_p bit of the exprs being merged differs.
2643         Reorder tests for speculativeness in the logical and operator.
2645 2013-02-27  Jakub Jelinek  <jakub@redhat.com>
2647         * incpath.c (add_standard_paths): Use reconcat instead of concat
2648         where appropriate and avoid leaking memory.
2650         * opts.h: Include obstack.h.
2651         (opts_concat): New prototype.
2652         (opts_obstack): New declaration.
2653         * opts.c (opts_concat): New function.
2654         (opts_obstack): New variable.
2655         (init_options_struct): Call gcc_init_obstack on opts_obstack.
2656         (finish_options): Use opts_concat instead of concat
2657         and XOBNEWVEC instead of XNEWVEC.
2658         * opts-common.c (generate_canonical_option, decode_cmdline_option,
2659         generate_option): Likewise.
2660         * Makefile.in (OPTS_H): Depend on $(OBSTACK_H).
2661         * lto-wrapper.c (main): Call gcc_init_obstack on opts_obstack.
2663         PR target/56455
2664         * stmt.c (expand_switch_as_decision_tree_p): If flag_pic
2665         and ASM_OUTPUT_ADDR_DIFF_ELT isn't defined, return true.
2667 2013-02-26  Jakub Jelinek  <jakub@redhat.com>
2669         PR middle-end/56461
2670         * lra-spills.c (lra_spill): Free spill_hard_reg at the end.
2672 2013-02-26  Joern Rennecke  <joern.rennecke@embecosm.com>
2674         * config/arm/arm.c (const_ok_for_dimode_op): Back out last change.
2675         (arm_block_move_unaligned_straight): Likewise.
2676         (arm_adjust_block_mem): Likewise.
2678 2013-02-26  Joern Rennecke  <joern.rennecke@embecosm.com>
2680         PR target/48901
2681         * config/lm32/lm32.c (gen_int_relational): Remove unused variables
2682         temp, cond and label.
2683         * config/lm32/lm32.md (ashlsi3): Remove unused variable one.
2685         PR target/52500
2686         * config/c6x/c6x.c (dbx_register_map): Change to unsigned.
2687         * config/c6x/c6x.h (dbx_register_map): Update declaration.
2689         PR target/52501
2690         * config/cr16/cr16-protos.h: Move end of RTX_CODE guard below end
2691         of prologue/epilogue functions.
2693         PR target/52550
2694         * config/tilegx/tilegx.c (tilegx_expand_prologue):
2695         Remove unused variable cfa_offset.
2696         * config/tilepro/tilepro.c (tilepro_expand_prologue): Likewise.
2698         PR target/54639
2699         * config/mn10300/mn10300.c (mn10300_expand_epilogue): Avoid offset
2700         type promotion to unsigned.
2702         PR target/54640
2703         * config/arm/arm.c (const_ok_for_dimode_op): Make code consistent
2704         for HOST_WIDE_INT of 32 bit / same size as int.
2705         (arm_block_move_unaligned_straight): Likewise.
2706         (arm_adjust_block_mem): Likewise.
2708         PR target/54662
2709         * config/mep/t-mep (mep-pragma.o): Use ALL_COMPILERFLAGS instead of
2710         ALL_CFLAGS.
2712 2013-02-26  Marek Polacek  <polacek@redhat.com>
2714         PR tree-optimization/56426
2715         * tree-ssa-loop.c (tree_ssa_loop_init): Always call
2716         scev_initialize.
2718 2013-02-26  Richard Biener  <rguenther@suse.de>
2720         PR target/56444
2721         * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc): Remove
2722         unused variable loops.
2724 2013-02-26  Jakub Jelinek  <jakub@redhat.com>
2726         PR tree-optimization/56448
2727         * fold-const.c (operand_equal_p) <case tcc_reference>: Don't look at
2728         TREE_SIDE_EFFECTS if flags contain OEP_CONSTANT_ADDRESS_OF.
2729         Clear OEP_CONSTANT_ADDRESS_OF from flags before recursing on second or
2730         later operands of the references, or even first operand for
2731         INDIRECT_REF, TARGET_MEM_REF or MEM_REF.
2733         PR tree-optimization/56443
2734         * tree-vect-stmts.c (get_vectype_for_scalar_type_and_size): For
2735         overaligned types, pass TYPE_UNSIGNED (scalar_type) as second argument
2736         to type_for_mode langhook.
2738 2013-02-25  Matt Turner  <mattst88@gmail.com>
2740         * doc/invoke.texi: Document r4700.
2742 2013-02-25  Richard Biener  <rguenther@suse.de>
2744         PR tree-optimization/56175
2745         * tree-ssa-forwprop.c (hoist_conversion_for_bitop_p): New predicate,
2746         split out from ...
2747         (simplify_bitwise_binary): ... here.  Also guard the conversion
2748         of (type) X op CST to (type) (X op ((type-x) CST)) with it.
2750 2013-02-25  Catherine Moore  <clm@codesourcery.com>
2752         Revert:
2753         2013-02-24  Catherine Moore  <clm@codesourcery.com>
2754             Maciej W. Rozycki  <macro@codesourcery.com>
2755             Tom de Vries  <tom@codesourcery.com>
2756             Nathan Sidwell  <nathan@codesourcery.com>
2757             Iain Sandoe  <iain@codesourcery.com>
2758             Nathan Froyd  <froydnj@codesourcery.com>
2759             Chao-ying Fu  <fu@mips.com>
2761         * doc/extend.texi (micromips, nomicromips, nocompression):
2762         Document new function attributes.
2763         * doc/invoke.texi (minterlink-compressed, mmicromips,
2764         m14k, m14ke, m14kec): Document new options.
2765         (minterlink-mips16): Update documentation.
2766         * doc/md.texi (ZC, ZD): Document new constraints.
2767         * configure.ac (gcc_cv_as_micromips): Check if linker
2768         supports the .set micromips directive.
2769         * configure: Regenerate.
2770         * config.in: Regenerate.
2771         * config/mips/mips-tables.opt: Regenerate.
2772         * config/mips/micromips.md: New file.
2773         * constraints.md (ZC, AD): New constraints.
2774         * config/mips/predicates.md (movep_src_register): New predicate.
2775         (movep_src_operand): New predicate.
2776         (non_volatile_mem_operand): New predicate.
2777         * config/mips/mips.md (multimem): New type.
2778         (length): Differentiate between 17-bit and 18-bit branch offsets.
2779         (MOVEP1, MOVEP2): New mode iterator.
2780         (mov_<load>l): Use ZC constraint.
2781         (mov_<load>r): Likewise.
2782         (mov_<store>l): Likewise.
2783         (mov_<store>r): Likewise.
2784         (*branch_equality<mode>_inverted): Add microMIPS support.
2785         (*branch_equality<mode>): Likewise.
2786         (*jump_absolute): Likewise.
2787         (indirect_jump_<mode>): Likewise.
2788         (tablejump_<mode>): Likewise.
2789         (<optab>_internal): Likewise.
2790         (sibcall_internal): Likewise.
2791         (sibcall_value_internal): Likewise.
2792         (prefetch): Use constraint ZD.
2793         * config/mips/mips.opt (minterlink-compressed): New option.
2794         (minterlink-mips16): Now an alias for minterlink-compressed.
2795         (mmicromips): New option.
2796         * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
2797         (compare_and_swap_12): Likewise.
2798         (sync_add<mode>): Likewise.
2799         (sync_<optab>_12): Likewise.
2800         (sync_old_<optab>_12): Likewise.
2801         (sync_new_<optab>_12): Likewise.
2802         (sync_nand_12): Likewise.
2803         (sync_old_nand_12): Likewise.
2804         (sync_new_nand_12): Likewise.
2805         (sync_sub<mode>): Likewise.
2806         (sync_old_add<mode>): Likewise.
2807         (sync_old_sub<mode>): Likewise.
2808         (sync_new_add<mode>): Likewise.
2809         (sync_new_sub<mode>): Likewise.
2810         (sync_<optab><mode>): Likewise.
2811         (sync_old_<optab><mode>): Likewise.
2812         (sync_new_<optab><mode>): Likewise.
2813         (sync_nand<mode>): Likewise.
2814         (sync_old_nand<mode>): Likewise.
2815         (sync_new_nand<mode>): Likewise.
2816         (sync_lock_test_and_set<mode>): Likewise.
2817         (test_and_set_12): Likewise.
2818         (atomic_compare_and_swap<mode>): Likewise.
2819         (atomic_exchange<mode>_llsc): Likewise.
2820         (atomic_fetch_add<mode>_llsc): Likewise.
2821         * config/mips/mips-cpus.def (m14kc, m14k): New processors.
2822         * config/mips/mips-protos.h (umips_output_save_restore): New prototype.
2823         (umips_save_restore_pattern_p): Likewise.
2824         (umips_load_store_pair_p): Likewise.
2825         (umips_output_load_store_pair): Likewise.
2826         (umips_movep_target_p): Likewise.
2827         (umips_12bit_offset_address_p): Likewise.
2828         * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
2829         (mips_base_mips16): Rename this...
2830         (mips_base_compression_flags): ...to this. Update all uses.
2831         (mips_attribute_table): Add micromips, nomicromips and nocompression.
2832         (mips_mips16_decl_p): Delete.
2833         (mips_nomips16_decl_p): Delete.
2834         (mips_get_compress_on_flags): New function.
2835         (mips_get_compress_off_flags): New function.
2836         (mips_get_compress_mode): New function.
2837         (mips_get_compress_on_name): New function.
2838         (mips_get_compress_off_name): New function.
2839         (mips_insert_attributes): Support multiple compression types.
2840         (mips_merge_decl_attributes): Likewise.
2841         (umips_12bit_offset_address_p): New function.
2842         (mips_start_function_definition): Emit .set micromips directive.
2843         (mips_call_may_need_jalx_p): New function.
2844         (mips_function_ok_for_sibcall): Add microMIPS support.
2845         (mips_print_operand_punctuation): Support short delay slots and
2846         compact jumps.
2847         (umips_swm_mask, umips_swm_encoding): New.
2848         (umips_build_save_restore): New function.
2849         (mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
2850         (was_mips16_p): Remove.
2851         (old_compression_mode): New.
2852         (mips_set_compression_mode): New function.
2853         (mips_set_current_function): Add microMIPS support.
2854         (mips_option_override): Likewise.
2855         (umips_save_restore_pattern_p): New function.
2856         (umips_output_save_restore): New function.
2857         (umips_load_store_pair_p_1): New function.
2858         (umips_load_store_pair_p): New function.
2859         (umips_output_load_store_pair_1): New function.
2860         (umips_output_load_store_pair): New function.
2861         (umips_movep_target_p) New function.
2862         (mips_prepare_pch_save): Add microMIPS support.
2863         * config/mips/mips.h (TARGET_COMPRESSION): New.
2864         (TARGET_CPU_CPP_BUILTINS): Update macro
2865         to use new compression flags and to support microMIPS.
2866         (MIPS_ISA_LEVEL_SPEC): Add m14k processors.
2867         (MIPS_ARCH_FLOAT_SPEC): Likewise.
2868         (ISA_HAS_LWXS): Include TARGET_MICROMIPS.
2869         (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
2870         (ASM_SPEC): Support mmicromips and mno-micromips.
2871         (M16STORE_REG_P): New macro.
2872         (MIPS_CALL): Support TARGET_MICROMIPS.
2873         (MICROMIPS_J): New macro.
2874         (mips_base_mips16): Rename this...
2875         (mips_base_compression_flags): ...to this.
2876         (UMIPS_12BIT_OFFSET_P): New macro.
2877         * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
2878         (MULTILIB_DIRNAMES): Likewise.
2880 2013-02-25  Tom de Vries  <tom@codesourcery.com>
2882         PR rtl-optimization/56131
2883         * insn-notes.def (INSN_NOTE_BASIC_BLOCK): Update comment.
2884         * cfgrtl.c (delete_insn): Don't reorder NOTE_INSN_DELETED_LABEL and
2885         NOTE_INSN_BASIC_BLOCK if BLOCK_FOR_INSN == NULL.
2887 2013-02-25  Tobias Burnus  <burnus@net-b.de>
2889         * doc/invoke.texi (-fsanitize=): Move from optimization
2890         to debugging options.
2892 2013-02-25  Andrey Belevantsev  <abel@ispras.ru>
2894         * sched-deps.c (sched_analyze_insn): Fix typo in comment.
2896 2013-02-25  Andrey Belevantsev  <abel@ispras.ru>
2897             Alexander Monakov  <amonakov@ispras.ru>
2899         PR middle-end/56077
2900         * sched-deps.c (sched_analyze_insn): When reg_pending_barrier,
2901         flush pending lists also on non-jumps.  Adjust comment.
2903 2013-02-24  Catherine Moore  <clm@codesourcery.com>
2904             Maciej W. Rozycki  <macro@codesourcery.com>
2905             Tom de Vries  <tom@codesourcery.com>
2906             Nathan Sidwell  <nathan@codesourcery.com>
2907             Iain Sandoe  <iain@codesourcery.com>
2908             Nathan Froyd  <froydnj@codesourcery.com>
2909             Chao-ying Fu  <fu@mips.com>
2911         * doc/extend.texi (micromips, nomicromips, nocompression):
2912         Document new function attributes.
2913         * doc/invoke.texi (minterlink-compressed, mmicromips,
2914         m14k, m14ke, m14kec): Document new options.
2915         (minterlink-mips16): Update documentation.
2916         * doc/md.texi (ZC, ZD): Document new constraints.
2917         * configure.ac (gcc_cv_as_micromips): Check if linker
2918         supports the .set micromips directive.
2919         * configure: Regenerate.
2920         * config.in: Regenerate.
2921         * config/mips/mips-tables.opt: Regenerate.
2922         * config/mips/micromips.md: New file.
2923         * constraints.md (ZC, AD): New constraints.
2924         * config/mips/predicates.md (movep_src_register): New predicate.
2925         (movep_src_operand): New predicate.
2926         (non_volatile_mem_operand): New predicate.
2927         * config/mips/mips.md (multimem): New type.
2928         (length): Differentiate between 17-bit and 18-bit branch offsets.
2929         (MOVEP1, MOVEP2): New mode iterator.
2930         (mov_<load>l): Use ZC constraint.
2931         (mov_<load>r): Likewise.
2932         (mov_<store>l): Likewise.
2933         (mov_<store>r): Likewise.
2934         (*branch_equality<mode>_inverted): Add microMIPS support.
2935         (*branch_equality<mode>): Likewise.
2936         (*jump_absolute): Likewise.
2937         (indirect_jump_<mode>): Likewise.
2938         (tablejump_<mode>): Likewise.
2939         (<optab>_internal): Likewise.
2940         (sibcall_internal): Likewise.
2941         (sibcall_value_internal): Likewise.
2942         (prefetch): Use constraint ZD.
2943         * config/mips/mips.opt (minterlink-compressed): New option.
2944         (minterlink-mips16): Now an alias for minterlink-compressed.
2945         (mmicromips): New option.
2946         * config/mips/sync.md (sync_compare_and_swap<mode>): Use ZR constraint.
2947         (compare_and_swap_12): Likewise.
2948         (sync_add<mode>): Likewise.
2949         (sync_<optab>_12): Likewise.
2950         (sync_old_<optab>_12): Likewise.
2951         (sync_new_<optab>_12): Likewise.
2952         (sync_nand_12): Likewise.
2953         (sync_old_nand_12): Likewise.
2954         (sync_new_nand_12): Likewise.
2955         (sync_sub<mode>): Likewise.
2956         (sync_old_add<mode>): Likewise.
2957         (sync_old_sub<mode>): Likewise.
2958         (sync_new_add<mode>): Likewise.
2959         (sync_new_sub<mode>): Likewise.
2960         (sync_<optab><mode>): Likewise.
2961         (sync_old_<optab><mode>): Likewise.
2962         (sync_new_<optab><mode>): Likewise.
2963         (sync_nand<mode>): Likewise.
2964         (sync_old_nand<mode>): Likewise.
2965         (sync_new_nand<mode>): Likewise.
2966         (sync_lock_test_and_set<mode>): Likewise.
2967         (test_and_set_12): Likewise.
2968         (atomic_compare_and_swap<mode>): Likewise.
2969         (atomic_exchange<mode>_llsc): Likewise.
2970         (atomic_fetch_add<mode>_llsc): Likewise.
2971         * config/mips/mips-cpus.def (m14kc, m14k): New processors.
2972         * config/mips/mips-protos.h (umips_output_save_restore): New prototype.
2973         (umips_save_restore_pattern_p): Likewise.
2974         (umips_load_store_pair_p): Likewise.
2975         (umips_output_load_store_pair): Likewise.
2976         (umips_movep_target_p): Likewise.
2977         (umips_12bit_offset_address_p): Likewise.
2978         * config/mips/mips.c (MIPS_MAX_FIRST_STEP): Update for microMIPS.
2979         (mips_base_mips16): Rename this...
2980         (mips_base_compression_flags): ...to this. Update all uses.
2981         (mips_attribute_table): Add micromips, nomicromips and nocompression.
2982         (mips_mips16_decl_p): Delete.
2983         (mips_nomips16_decl_p): Delete.
2984         (mips_get_compress_on_flags): New function.
2985         (mips_get_compress_off_flags): New function.
2986         (mips_get_compress_mode): New function.
2987         (mips_get_compress_on_name): New function.
2988         (mips_get_compress_off_name): New function.
2989         (mips_insert_attributes): Support multiple compression types.
2990         (mips_merge_decl_attributes): Likewise.
2991         (umips_12bit_offset_address_p): New function.
2992         (mips_start_function_definition): Emit .set micromips directive.
2993         (mips_call_may_need_jalx_p): New function.
2994         (mips_function_ok_for_sibcall): Add microMIPS support.
2995         (mips_print_operand_punctuation): Support short delay slots and
2996         compact jumps.
2997         (umips_swm_mask, umips_swm_encoding): New.
2998         (umips_build_save_restore): New function.
2999         (mips_for_each_saved_gpr_and_fpr): Add microMIPS support.
3000         (was_mips16_p): Remove.
3001         (old_compression_mode): New.
3002         (mips_set_compression_mode): New function.
3003         (mips_set_current_function): Add microMIPS support.
3004         (mips_option_override): Likewise.
3005         (umips_save_restore_pattern_p): New function.
3006         (umips_output_save_restore): New function.
3007         (umips_load_store_pair_p_1): New function.
3008         (umips_load_store_pair_p): New function.
3009         (umips_output_load_store_pair_1): New function.
3010         (umips_output_load_store_pair): New function.
3011         (umips_movep_target_p) New function.
3012         (mips_prepare_pch_save): Add microMIPS support.
3013         * config/mips/mips.h (TARGET_COMPRESSION): New.
3014         (TARGET_CPU_CPP_BUILTINS): Update macro
3015         to use new compression flags and to support microMIPS.
3016         (MIPS_ISA_LEVEL_SPEC): Add m14k processors.
3017         (MIPS_ARCH_FLOAT_SPEC): Likewise.
3018         (ISA_HAS_LWXS): Include TARGET_MICROMIPS.
3019         (ISA_HAS_LOAD_DELAY): Exclude TARGET_MICROMIPS.
3020         (ASM_SPEC): Support mmicromips and mno-micromips.
3021         (M16STORE_REG_P): New macro.
3022         (MIPS_CALL): Support TARGET_MICROMIPS.
3023         (MICROMIPS_J): New macro.
3024         (mips_base_mips16): Rename this...
3025         (mips_base_compression_flags): ...to this.
3026         (UMIPS_12BIT_OFFSET_P): New macro.
3027         * config/mips/t-sde: (MULTILIB_OPTIONS): Add microMIPS.
3028         (MULTILIB_DIRNAMES): Likewise.
3030 2013-02-24  Jakub Jelinek  <jakub@redhat.com>
3032         PR target/52555
3033         * target-globals.c (save_target_globals): For init_reg_sets and
3034         target_reinit remporarily set this_fn_optabs to this_target_optabs.
3036 2013-02-22  James Grennahlgh  <james.greenhalgh@arm.com>
3038         * config/aarch64/aarch64-simd-builtins.def: Add copyright header.
3039         * config/aarch64/t-aarch64
3040         (aarch64-builtins.o): Depend on aarch64-simd-builtins.def.
3042 2013-02-22  Vladimir Makarov  <vmakarov@redhat.com>
3044         PR inline-asm/56148
3045         * lra-constraints.c (process_alt_operands): Reload operand
3046         conflicting with earlier clobber only if no more other conflicting
3047         operands.
3049 2013-02-22  Jakub Jelinek  <jakub@redhat.com>
3051         PR sanitizer/56393
3052         * config/gnu-user.h (LIBASAN_EARLY_SPEC): Link in libasan_preinit.o
3053         if not linking a shared library.
3055 2013-02-22  Seth LaForge  <sethml@google.com>
3057         * config.gcc (arm*-*-eabi*): Treat arm*eb as big-endian.
3059 2013-02-22  Greta Yorsh  <Greta.Yorsh@arm.com>
3061         * config/arm/arm.md (split for extendsidi): Update condition.
3062         (zero_extend<mode>di2,extend<mode>di2): Add an alternative.
3063         * config/arm/iterators.md (qhs_extenddi_cstr): Likewise.
3064         (qhs_zextenddi_cstr): Likewise.
3066 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
3068         PR middle-end/56420
3069         * expmed.c (EXACT_POWER_OF_2_OR_ZERO_P): Do subtraction in uhwi, to
3070         avoid signed wrapping.
3071         (expand_mult): Handle properly multiplication by
3072         ((dword_type) -1) << (BITS_PER_WORD - 1).  Improve multiplication by
3073         ((dword_type) 1) << (BITS_PER_WORD - 1).  Avoid undefined behavior
3074         in the compiler if coeff is HOST_WIDE_INT_MIN.
3075         (expand_divmod): Don't make ext_op1 static, change it's type to uhwi.
3076         Avoid undefined behavior in -INTVAL (op1).
3078         PR rtl-optimization/50339
3079         * lower-subreg.h (struct lower_subreg_choices): Add splitting_ashiftrt
3080         field.
3081         * lower-subreg.c (compute_splitting_shift): Handle ASHIFTRT.
3082         (compute_costs): Call compute_splitting_shift also for ASHIFTRT
3083         into splitting_ashiftrt field.
3084         (find_decomposable_shift_zext, resolve_shift_zext): Handle also
3085         ASHIFTRT.
3086         (dump_choices): Fix up printing LSHIFTRT choices, print ASHIFTRT
3087         choices.
3089 2013-02-20  Aldy Hernandez  <aldyh@redhat.com>
3091         PR middle-end/56108
3092         * trans-mem.c (execute_tm_mark): Do not expand transactions that
3093         are sure to go irrevocable.
3095 2013-02-21  Hans-Peter Nilsson  <hp@axis.com>
3097         * doc/rtl.texi (vec_concat, vec_duplicate): Mention that
3098         scalars are valid operands.
3100 2013-02-21  Martin Jambor  <mjambor@suse.cz>
3102         PR tree-optimization/56310
3103         * ipa-cp.c (agg_replacements_to_vector): New parameter index, copy
3104         only matching indices and non-negative final offsets.
3105         (intersect_aggregates_with_edge): Pass src_idx to
3106         agg_replacements_to_vector.  Pass src_idx insstead of index to
3107         intersect_with_agg_replacements.
3109 2013-02-21  Martin Jambor  <mjambor@suse.cz>
3111         * ipa-cp.c (good_cloning_opportunity_p): Dump the real threshold
3112         instead of hard-wired defaults.
3114 2013-02-21  Maciej W. Rozycki  <macro@codesourcery.com>
3116         * doc/invoke.texi (MIPS Options): Update documentation of the
3117         floating-point multiply-accumulate instruction restrictions.
3119 2013-02-21  Kostya Serebryany  <kcc@google.com>
3121         * config/i386/i386.c (ix86_asan_shadow_offset): Use 0x7fff8000 as
3122         asan_shadow_offset on x86_64 linux.
3124 2013-02-21  Richard Biener  <rguenther@suse.de>
3126         PR tree-optimization/56415
3127         Revert
3128         2013-02-11  Richard Biener  <rguenther@suse.de>
3130         PR tree-optimization/56273
3131         * tree-vrp.c (simplify_cond_using_ranges): Disable for the
3132         first VRP run.
3134 2013-02-21  Jakub Jelinek  <jakub@redhat.com>
3136         PR bootstrap/56258
3137         * doc/invoke.texi (-fdump-rtl-pro_and_epilogue): Use @item
3138         instead of @itemx.
3140         PR inline-asm/56405
3141         * expr.c (expand_expr_real_1) <case TARGET_MEM_REF, MEM_REF>: Don't
3142         use movmisalign or extract_bit_field for EXPAND_MEMORY modifier.
3144 2013-02-20  Jan Hubicka  <jh@suse.cz>
3146         PR tree-optimization/56265
3147         * ipa-prop.c (ipa_make_edge_direct_to_target): Fixup callgraph when
3148         target is referenced for first time.
3150 2013-02-20  Richard Biener  <rguenther@suse.de>
3152         * tree-call-cdce.c (tree_call_cdce): Do not remove unused locals.
3153         * tree-ssa-forwprop.c (ssa_forward_propagate_and_combine): Likewise.
3154         * tree-ssa-dce.c (perform_tree_ssa_dce): Likewise.
3155         * tree-ssa-copyrename.c (copy_rename_partition_coalesce): Do
3156         not return anything.
3157         (rename_ssa_copies): Do not remove unused locals.
3158         * tree-ssa-ccp.c (do_ssa_ccp): Likewise.
3159         * tree-ssanames.c (pass_release_ssa_names): Remove unused locals first.
3160         * passes.c (execute_function_todo): Do not schedule unused locals
3161         removal if cleanup_tree_cfg did something.
3162         * tree-ssa-live.c (remove_unused_locals): Dump statistics
3163         about the number of removed locals.
3165 2013-02-20  Richard Biener  <rguenther@suse.de>
3167         PR tree-optimization/56398
3168         * tree-vect-loop-manip.c (adjust_debug_stmts): Skip
3169         SSA default defs.
3171 2013-02-20  Martin Jambor  <mjambor@suse.cz>
3173         PR tree-optimization/55334
3174         * ipa-cp.c (initialize_node_lattices): Disable IPA-CP through and to
3175         restricted pointers to arrays.
3177 2013-02-20  Richard Biener  <rguenther@suse.de>
3178         Jakub Jelinek  <jakub@redhat.com>
3180         PR tree-optimization/56396
3181         * tree-ssa-ccp.c (n_const_val): New static variable.
3182         (get_value): Return NULL for SSA names we don't have a lattice
3183         entry for.
3184         (ccp_initialize): Initialize n_const_val.
3185         * tree-ssa-copy.c (n_copy_of): New static variable.
3186         (init_copy_prop): Initialize n_copy_of.
3187         (get_value): Return NULL_TREE for SSA names we don't have a
3188         lattice entry for.
3190 2013-02-20  Martin Jambor  <mjambor@suse.cz>
3192         * ipa-cp.c (initialize_node_lattices): Fix dumping condition.
3194 2013-02-20  Richard Biener  <rguenther@suse.de>
3196         * genpreds.c (write_lookup_constraint): Do not compare first
3197         letter of the constraint again.
3199 2013-02-20  Richard Biener  <rguenther@suse.de>
3201         * tree-ssa-loop-ivopts.c (alloc_use_cost_map): Use bitmap_count_bits
3202         and ceil_log2.
3203         (get_use_iv_cost): Terminate hashtable walk when coming across
3204         an empty entry.
3206 2013-02-20  Igor Zamyatin  <igor.zamyatin@intel.com>
3208         * config/i386/i386.c (initial_ix86_tune_features): Turn on fp
3209         reassociation for avx2 targets.
3211 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3213         * config/microblaze/microblaze.c: microblaze_has_clz = 0
3214         Add version check for v8.10.a to enable microblaze_has_clz
3215         * config/microblaze/microblaze.h: Add TARGET_HAS_CLZ as combined
3216         version and TARGET_PATTERN_COMPARE check
3217         * config/microblaze/microblaze.md: New clzsi2 instruction
3219 2012-02-19  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3221         * config/microblaze/microblaze.md (call_value_intern): Check symbol is
3222         function before branching.
3224 2012-02-19  Andrey Belevantsev  <abel@ispras.ru>
3226         * sel-sched-dump.c (dump_insn_rtx_flags): Explicitly set
3227         DUMP_INSN_RTX_UID.
3228         (dump_insn_rtx_1): Pass PATTERN (insn) to str_pattern_slim.
3230 2012-02-19  Andrey Belevantsev  <abel@ispras.ru>
3232         PR middle-end/55889
3233         * sel-sched.c: Include ira.h.
3234         (implicit_clobber_conflict_p): New function.
3235         (moveup_expr): Use it.
3236         * Makefile.in (sel-sched.o): Depend on ira.h.
3238 2013-02-19  Richard Biener  <rguenther@suse.de>
3240         PR tree-optimization/56384
3241         * tree-ssa-sccvn.h (struct vn_phi_s): Add type member.
3242         (vn_hash_type): Split out from ...
3243         (vn_hash_constant_with_type): ... here.
3244         * tree-ssa-sccvn.c (vn_phi_compute_hash): Use vn_hash_type.
3245         (vn_phi_eq): Compare types from vn_phi_s structure.
3246         (vn_phi_lookup): Populate vn_phi_s type.
3247         (vn_phi_insert): Likewise.
3249 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
3251         PR tree-optimization/56350
3252         * tree-vect-loop.c (vectorizable_reduction): If orig_stmt, return false
3253         if haven't found reduction or nested cycle operand, rather than
3254         asserting we must find it.
3256         PR tree-optimization/56381
3257         * tree-ssa-pre.c (create_expression_by_pieces): Fix up last argument
3258         to fold_build3.
3260 2013-02-18  Aldy Hernandez  <aldyh@redhat.com>
3261             Jakub Jelinek  <jakub@redhat.com>
3263         PR target/52555
3264         * genopinit.c (raw_optab_handler): Use this_fn_optabs.
3265         (swap_optab_enable): Same.
3266         (init_all_optabs): Use argument instead of global.
3267         * tree.h (struct tree_optimization_option): New field target_optabs.
3268         * expr.h (init_all_optabs): Add argument to prototype.
3269         (TREE_OPTIMIZATION_OPTABS): New.
3270         (save_optabs_if_changed): Protoize.
3271         * optabs.h: Declare this_fn_optabs.
3272         * optabs.c (save_optabs_if_changed): New.
3273         Declare this_fn_optabs.
3274         (init_optabs): Add argument to init_all_optabs() call.
3275         * function.c (invoke_set_current_function_hook): Handle per
3276         function optabs.
3277         * function.h (struct function): New field optabs.
3278         * config/mips/mips.c (mips_set_mips16_mode): Handle when
3279         optimization_current_node has changed.
3280         * target-globals.h (save_target_globals_default_opts): Protoize.
3281         * target-globals.c (save_target_globals_default_opts): New.
3283 2013-02-18  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3285         PR target/56347
3286         * config/pa/pa.c (pa_conditional_register_usage): On HP-UX, mark
3287         registers %fr12 and %fr12R as call used.
3289         PR target/56214
3290         * config/pa/predicates.md (base14_operand): Except for BLKmode, QImode
3291         and HImode, require all displacements to be an integer multiple of
3292         their mode size.
3293         * config/pa/pa.c (pa_legitimate_address_p): For REG+BASE addresses,
3294         only allow QImode and HImode when reload is in progress and strict is
3295         true.  Likewise for symbolic addresses.  Use base14_operand to check
3296         displacements in REG+BASE addresses.
3298 2013-02-18  Richard Biener  <rguenther@suse.de>
3300         PR tree-optimization/56366
3301         * tree-vect-loop.c (get_initial_def_for_induction): Properly
3302         handle sign-conversion of outer-loop initial induction value.
3304 2013-02-18  Richard Biener  <rguenther@suse.de>
3306         PR middle-end/56349
3307         * cfghooks.c (merge_blocks): If we merge a latch into another
3308         block adjust references to it.
3309         * cfgloop.c (flow_loops_find): Reset latch before recomputing it.
3310         (verify_loop_structure): Verify that a recorded latch is in fact
3311         a latch.
3313 2013-02-18  Richard Biener  <rguenther@suse.de>
3315         PR tree-optimization/56321
3316         * tree-ssa-reassoc.c (propagate_op_to_single_use): Properly
3317         order SSA name release and virtual operand unlinking.
3319 2013-02-17  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3321         * config/microblaze/microblaze.md (save_stack_block): Define.
3322         (restore_stack_block): Likewise.
3324 2013-02-16  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3326         * config/microblaze/linux.h (TARGET_SUPPORTS_PIC): Define as 1.
3327         * config/microblaze/microblaze.h (TARGET_SUPPORTS_PIC): Define as 1.
3328         * config/microblaze/microblaze.c (microblaze_option_override):
3329         Bail out early for PIC modes when target does not support PIC.
3331 2013-02-16  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3333         * config/microblaze/microblaze.c (microblaze_asm_trampoline_template):
3334         Replace with a microblaze version.
3335         (microblaze_trampoline_init): Adapt for microblaze.
3336         * config/microblaze/microblaze.h (TRAMPOLINE_SIZE): Adapt for
3337         microblaze.
3339 2013-02-16  Jakub Jelinek  <jakub@redhat.com>
3340             Dodji Seketeli  <dodji@redhat.com>
3342         PR asan/56330
3343         * asan.c (get_mem_refs_of_builtin_call): White space and style
3344         cleanup.
3345         (instrument_mem_region_access): Do not forget to always put
3346         instrumentation of the of 'base' and 'base + len' in a "if (len !=
3347         0) statement, even for cases where either 'base' or 'base + len'
3348         are not instrumented -- because they have been previously
3349         instrumented.  Simplify the logic by putting all the statements
3350         instrument 'base + len' inside a sequence, and then insert that
3351         sequence right before the current insertion point.  Then, to
3352         instrument 'base + len', just get an iterator on that statement.
3353         And do not forget to update the pointer to iterator the function
3354         received as argument.
3356 2013-02-15  Vladimir Makarov  <vmakarov@redhat.com>
3358         PR rtl-optimization/56348
3359         * lra-assigns.c (reload_pseudo_compare_func): Prefer bigger pseudos.
3361 2013-02-15  Steven Bosscher  <steven@gcc.gnu.org>
3363         * graph.c (start_graph_dump): Print dumpfile base as digraph label.
3364         (clean_graph_dump_file): Pass base to start_graph_dump.
3366 2013-02-14  Richard Henderson  <rth@redhat.com>
3368         PR target/55941
3369         * lower-subreg.c (simple_move): Check dest mode instead of src mode.
3371 2013-02-14  Steven Bosscher  <steven@gcc.gnu.org>
3373         * collect2-aix.h: Define F_LOADONLY.
3375 2013-02-14  Richard Biener  <rguenther@suse.de>
3377         PR lto/50494
3378         * varasm.c (output_constant_def_1): Get the decl representing
3379         the constant as argument.
3380         (output_constant_def): Wrap output_constant_def_1.
3381         (make_decl_rtl): Use output_constant_def_1 with the decl
3382         representing the constant.
3383         (build_constant_desc): Optionally re-use a decl already
3384         representing the constant.
3385         (tree_output_constant_def): Adjust.
3387 2013-02-14  Dodji Seketeli  <dodji@redhat.com>
3389         Fix an asan crash
3390         * asan.c (instrument_builtin_call):  Really put the length of the
3391         second source argument into src1_len.
3393 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
3395         * asan.c (create_cond_insert_point): Add create_then_fallthru_edge
3396         argument.  If it is false, don't create edge from then_bb to
3397         fallthru_bb.
3398         (insert_if_then_before_iter): Pass true to it.
3399         (build_check_stmt): Pass false to it.
3400         (transform_statements): Flush hash table only on extended basic
3401         block boundaries, rather than at the beginning of every bb.
3402         Don't flush hash table on nonfreeing_call_p calls.
3403         * tree-flow.h (nonfreeing_call_p): New prototype.
3404         * tree-ssa-phiopt.c (nonfreeing_call_p): No longer static.
3406 2013-02-13  David S. Miller  <davem@davemloft.net>
3408         * expmed.c (expand_shift_1): Only strip scalar integer subregs.
3410 2013-02-13  Vladimir Makarov  <vmakarov@redhat.com>
3412         PR target/56184
3413         * ira.c (max_regno_before_ira): Move from ...
3414         (ira): ... here.
3415         (fix_reg_equiv_init): Use max_regno_before_ira instead of
3416         vec_safe_length.
3418 2013-02-13  Jakub Jelinek  <jakub@redhat.com>
3420         * config/i386/i386.c (ix86_asan_shadow_offset): Revert last change.
3422 2013-02-13  Richard Biener  <rguenther@suse.de>
3424         PR lto/56295
3425         * gimple-streamer-out.c (output_gimple_stmt): Undo wrapping
3426         globals in MEM_REFs.
3428 2013-02-13  Richard Biener  <rguenther@suse.de>
3430         * loop-init.c (loop_optimizer_init): Clear loop state when
3431         re-initializing preserved loops.
3432         * loop-unswitch.c (unswitch_single_loop): Return whether
3433         we unswitched the loop.  Do not verify loop state here.
3434         (unswitch_loops): When we unswitched a loop discover new
3435         loops.
3437 2013-02-13  Kostya Serebryany  <kcc@google.com>
3439         * config/i386/i386.c: Use 0x7fff8000 as asan_shadow_offset on x86_64
3440         linux.
3441         * sanitizer.def: Rename __asan_init to __asan_init_v1.
3443 2013-02-12  Dodji Seketeli  <dodji@redhat.com>
3445         Avoid instrumenting duplicated memory access in the same basic block
3446         * Makefile.in (asan.o): Add new dependency on hash-table.h
3447         * asan.c (struct asan_mem_ref, struct mem_ref_hasher): New types.
3448         (asan_mem_ref_init, asan_mem_ref_get_end, get_mem_ref_hash_table)
3449         (has_stmt_been_instrumented_p, empty_mem_ref_hash_table)
3450         (free_mem_ref_resources, has_mem_ref_been_instrumented)
3451         (has_stmt_been_instrumented_p, update_mem_ref_hash_table)
3452         (get_mem_ref_of_assignment): New functions.
3453         (get_mem_refs_of_builtin_call): Extract from
3454         instrument_builtin_call and tweak a little bit to make it fit with
3455         the new signature.
3456         (instrument_builtin_call): Use the new
3457         get_mem_refs_of_builtin_call.  Use gimple_call_builtin_p instead
3458         of is_gimple_builtin_call.
3459         (instrument_derefs, instrument_mem_region_access): Insert the
3460         instrumented memory reference into the hash table.
3461         (maybe_instrument_assignment): Renamed instrument_assignment into
3462         this, and change it to advance the iterator when instrumentation
3463         actually happened and return true in that case.  This makes it
3464         homogeneous with maybe_instrument_assignment, and thus give a
3465         chance to callers to be more 'regular'.
3466         (transform_statements): Clear the memory reference hash table
3467         whenever we enter a new BB, when we cross a function call, or when
3468         we are done transforming statements.  Use
3469         maybe_instrument_assignment instead of instrumentation.  No more
3470         need to special case maybe_instrument_assignment and advance the
3471         iterator after calling it; it's now handled just like
3472         maybe_instrument_call.  Update comment.
3474 2013-02-13  Richard Biener  <rguenther@suse.de>
3476         * config/mn10300/mn10300.c (mn10300_scan_for_setlb_lcc):
3477         Fix loop discovery code.
3479 2013-02-12  Vladimir Makarov  <vmakarov@redhat.com>
3481         PR inline-asm/56148
3482         * lra-constraints.c (process_alt_operands): Match early clobber
3483         operand with itself.  Check conflicts with earlyclobber only if
3484         the operand is not reloaded.  Prefer to reload conflicting operand
3485         if earlyclobber and matching operands are the same.
3487 2013-02-12  Richard Biener  <rguenther@suse.de>
3489         PR lto/56297
3490         * lto-streamer-out.c (write_symbol): Do not output symbols
3491         for hard register variables.
3493 2013-02-12  Georg-Johann Lay  <avr@gjlay.de>
3495         PR target/54222
3496         * config/avr/avr-dimode.md (umulsidi3, mulsidi3): New expanders.
3497         (umulsidi3_insn, mulsidi3_insn): New insns.
3499 2013-02-12  Christophe Lyon  <christophe.lyon@linaro.org>
3501         * config/arm/arm-protos.h (struct cpu_vec_costs): New struct type.
3502         (struct tune_params): Add vec_costs field.
3503         * config/arm/arm.c (arm_builtin_vectorization_cost)
3504         (arm_add_stmt_cost): New functions.
3505         (TARGET_VECTORIZE_BUILTIN_VECTORIZATION_COST)
3506         (TARGET_VECTORIZE_ADD_STMT_COST): Define.
3507         (arm_default_vec_cost): New struct of type cpu_vec_costs.
3508         (arm_slowmul_tune, arm_fastmul_tune, arm_strongarm_tune)
3509         (arm_xscale_tune, arm_9e_tune, arm_v6t2_tune, arm_cortex_tune)
3510         (arm_cortex_a15_tune, arm_cortex_a5_tune, arm_cortex_a9_tune)
3511         (arm_v6m_tune, arm_fa726te_tune): Define new vec_costs field.
3513 2013-02-12  Richard Biener  <rguenther@suse.de>
3515         PR lto/56295
3516         * gimple-streamer-in.c (input_gimple_stmt): Strip MEM_REFs off
3517         decls again if possible.
3519 2013-02-12  Richard Biener  <rguenther@suse.de>
3521         PR middle-end/56288
3522         * tree-ssa.c (verify_ssa_name): Fix check, move
3523         SSA_NAME_IN_FREE_LIST check up.
3525 2013-02-12  Jakub Jelinek  <jakub@redhat.com>
3526             Steven Bosscher   <steven@gcc.gnu.org>
3528         PR rtl-optimization/56151
3529         * optabs.c (add_equal_note): Don't return 0 if target is a MEM,
3530         equal to op0 or op1, and last_insn pattern is CODE operation
3531         with MEM dest and one of the operands matches that MEM.
3533 2013-02-11  Sriraman Tallam  <tmsriramgoogle.com>
3535         * doc/extend.texi: Document Function Multiversioning and "default"
3536         parameter string to target attribute.
3537         * config/i386/i386.c (get_builtin_code_for_version): Return 0 if
3538         target attribute parameter is "default".
3539         (ix86_compare_version_priority): Remove checks for target attribute.
3540         (ix86_mangle_function_version_assembler_name): Change error to sorry.
3541         Remove check for target attribute equal to NULL. Add assert.
3542         (ix86_generate_version_dispatcher_body): Change error to sorry.
3544 2013-02-11  Iain Sandoe  <iain@codesourcery.com>
3545             Jack Howarth  <howarth@bromo.med.uc.edu>
3546             Patrick Marlier  <patrick.marlier@gmail.com>
3548         PR libitm/55693
3549         * config/darwin.h: Replace ENDFILE_SPEC with TM_DESTRUCTOR and
3550         define ENDFILE_SPEC as TM_DESTRUCTOR.
3551         * config/i386/darwin.h (ENDFILE_SPEC): Use TM_DESTRUCTOR.
3553 2013-02-11  Alexander Potapenko  <glider@google.com>
3554             Jack Howarth  <howarth@bromo.med.uc.edu>
3555             Jakub Jelinek  <jakub@redhat.com>
3557         PR sanitizer/55617
3558         * config/darwin.c (cdtor_record): Rename ctor_record.
3559         (sort_cdtor_records): Rename sort_ctor_records.
3560         (finalize_dtors): New routine to sort destructors by
3561         priority before use in assemble_integer.
3562         (machopic_asm_out_destructor): Use finalize_dtors if needed.
3564 2013-02-11  Uros Bizjak  <ubizjak@gmail.com>
3566         PR rtl-optimization/56275
3567         * simplify-rtx.c (avoid_constant_pool_reference): Check that
3568         offset is non-negative and less than cmode size before
3569         calling simplify_subreg.
3571 2013-02-11  Richard Biener  <rguenther@suse.de>
3573         PR tree-optimization/56264
3574         * cfgloop.h (fix_loop_structure): Adjust prototype.
3575         * loop-init.c (fix_loop_structure): Return the number of
3576         newly discovered loops.
3577         * tree-cfgcleanup.c (repair_loop_structures): When new loops
3578         are discovered, do a full loop-closed SSA rewrite.
3580 2013-02-11  Richard Biener  <rguenther@suse.de>
3582         PR tree-optimization/56273
3583         * tree-vrp.c (simplify_cond_using_ranges): Disable for the
3584         first VRP run.
3585         (check_array_ref): Fix missing newline in dumps.
3586         (search_for_addr_array): Likewise.
3588 2013-02-09  David Edelsohn  <dje.gcc@gmail.com>
3590         * config/rs6000/aix61.h (OS_MISSING_ALTIVEC): Undefine.
3592 2013-02-09  Jakub Jelinek  <jakub@redhat.com>
3594         PR target/56256
3595         * config/rs6000/rs6000.h (ASSEMBLER_DIALECT): Define.
3597 2013-02-08  Vladimir Makarov  <vmakarov@redhat.com>
3599         PR rtl-optimization/56246
3600         * lra-constraints.c (simplify_operand_subreg): Try to reuse
3601         reload pseudo.
3602         * lra.c (lra): Clear lra_optional_reload_pseudos only when all
3603         constraints are satisfied.
3605 2013-02-08  Jeff Law  <law@redhat.com>
3607         PR debug/53948
3608         * emit-rtl.c (reg_is_parm_p): New function.
3609         * regs.h (reg_is_parm_p): New prototype.
3610         * ira-conflicts.c (ira_build_conflicts): Allow parameters in
3611         callee-clobbered registers.
3613 2013-02-08  Michael Meissner  <meissner@linux.vnet.ibm.com>
3615         PR target/56043
3616         * config/rs6000/rs6000.c (rs6000_builtin_vectorized_libmass):
3617         If there is no implicit builtin declaration, just return NULL.
3619 2013-02-08  Uros Bizjak  <ubizjak@gmail.com>
3621         * config/i386/sse.md (FMAMODEM): New mode iterator.
3622         (fma<mode>4, fms<mode>4, fnma<mode>4, fnms<mode>4): Use FMAMODEM
3623         mode iterator. Do not use TARGET_SSE_MATH in insn constraint.
3625 2013-02-08  Uros Bizjak  <ubizjak@gmail.com>
3627         * config/i386/gnu-user.h (TARGET_CAN_SPLIT_STACK): Define only
3628         when HAVE_GAS_CFI_PERSONALITY_DIRECTIVE is set.
3629         * config/i386/gnu-user64.h (TARGET_CAN_SPLIT_STACK): Ditto.
3631 2013-02-08  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
3633         * config.gcc (microblaze*-linux*): Add TARGET_BIG_ENDIAN_DEFAULT.
3634         (microblaze*-*-elf): Likewise.
3635         * config/microblaze/linux.h: Add -mbig-endian / -mlittle-endian to
3636         LINK_SPEC.
3637         * config/microblaze/microblaze-c.c: Add builtin defines for
3638         _LITTLE_ENDIAN and _BIG_ENDIAN.
3639         * config/microblaze/microblaze.h: Add TARGET_ENDIAN_DEFAULT and
3640         add to TARGET_DEFAULT flags.
3641         Expand ASM_SPEC and LINK_SPEC.
3642         Update BYTES_BIG_ENDIAN and WORDS_BIG_ENDIAN.
3643         * config/microblaze/microblaze.md: Update extendsidi2 and
3644         movdi_internal instructions to use low-order / high-order reg
3645         print_operands.
3646         * config/microblaze/microblaze.opt: Add mbig-endian and mlittle-endian
3647         options and inversemask / mask of LITTLE_ENDIAN.
3648         * config/microblaze/t-microblaze: Expand multilib options to
3649         include mlittle-endian (le) and update exceptions patterns.
3651 2013-02-08  Jakub Jelinek  <jakub@redhat.com>
3653         PR rtl-optimization/56195
3654         * lra-constraints.c (get_reload_reg): Don't reuse regs
3655         if they have smaller mode than requested, if they have
3656         wider mode than requested, try to return a SUBREG.
3658         PR tree-optimization/56250
3659         * fold-const.c (extract_muldiv_1) <case NEGATE_EXPR>: Don't optimize
3660         if type is unsigned and code isn't MULT_EXPR.
3662 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
3664         PR tree-optimization/56064
3665         * fixed-value.c (fixed_from_double_int): Sign/zero extend payload
3666         bits according to mode.
3667         * fixed-value.h (fixed_from_double_int)
3668         (const_fixed_from_double_int): Adjust comments.
3670 2013-02-08  Richard Biener  <rguenther@suse.de>
3672         PR lto/56231
3673         * lto-streamer.h (struct data_in): Remove current_file, current_line
3674         and current_col members.
3675         * lto-streamer-out.c (lto_output_location): Stream changed bits
3676         en-block for efficiency.
3677         * lto-streamer-in.c (clear_line_info): Remove.
3678         (lto_input_location): Cache current file, line and column
3679         globally via local statics.  Read changed bits en-block.
3680         (input_function): Do not call clear_line_info.
3681         (lto_read_body): Likewise.
3682         (lto_input_toplevel_asms): Likewise.
3684 2013-02-08  Michael Matz  <matz@suse.de>
3686         PR tree-optimization/52448
3687         * tree-ssa-phiopt.c (struct name_to_bb): Add phase member.
3688         (nt_call_phase): New static.
3689         (add_or_mark_expr): Only mark accesses with newer phase than any
3690         call seen.
3691         (nonfreeing_call_p): New.
3692         (nt_init_block): Update nt_call_phase, mark blocks as visited.
3693         (nt_fini_block): Keep blocks marked as visited.
3694         (get_non_trapping): Initialize nt_call_phase, and reset aux pointer.
3696 2013-02-08  Richard Biener  <rguenther@suse.de>
3698         * ira.c (ira): Free broken dominator information.
3700 2013-02-08  Uros Bizjak  <ubizjak@gmail.com>
3702         * config/i386/i386.c (ix86_spill_class): Use INTEGER_CLASS_P macro.
3704 2013-02-08  Marek Polacek  <polacek@redhat.com>
3706         * cfgloop.c (verify_loop_structure): Add more checking of headers.
3708 2013-02-08  Richard Biener  <rguenther@suse.de>
3710         PR middle-end/56181
3711         * cfgloop.h (flow_loops_find): Adjust.
3712         (bb_loop_header_p): Declare.
3713         * cfgloop.c (bb_loop_header_p): New function split out from ...
3714         (flow_loops_find): ... here.  Adjust function signature,
3715         support incremental loop structure update.
3716         (verify_loop_structure): Cleanup.  Verify a loop is a loop.
3717         * cfgloopmanip.c (fix_loop_structure): Move ...
3718         * loop-init.c (fix_loop_structure): ... here.
3719         (apply_loop_flags): Split out from ...
3720         (loop_optimizer_init): ... here.
3721         (fix_loop_structure): Use apply_loop_flags.  Use flow_loops_find
3722         in incremental mode, only remove dead loops here.
3724 2013-02-08  Georg-Johann Lay  <avr@gjlay.de>
3726         PR target/54222
3727         * config/avr/avr.md (unspec) <UNSPEC_ROUND>: Add.
3728         * config/avr/avr-fixed.md (ALL4QA, ALL124QA): New mode iterators.
3729         (round<mode>3, round<mode>3_const): New expanders for fixed-mode.
3730         (*round<mode>3.libgcc): New insns for fixed-modes.
3731         * config/avr/builtins.def (ABSxx): Use a non-NULL LIBNAME.
3732         (ROUNDxx, COUNTLSxx, BITSxx, xxBITS): New DEF_BUILTINs.
3733         (ROUNDFX, COUNTLSFX, ABSFX): New DEF_BUILTINs.
3734         * config/avr/stdfix.h (absFX, bitsFX, FXbits): Remove inline
3735         implementations.  Define to __builtin_avr_absFX,
3736         __builtin_avr_bitsFX, __builtin_avr_FXbits, respectively.
3737         (roundFX, countlsFX): Define to __builtin_avr_roundFX,
3738         __builtin_avr_countlsFX, respectively.
3739         * config/avr/avr-c.c (target.h): Include it.
3740         (enum avr_builtin_id): New enum.
3741         (avr_resolve_overloaded_builtin): New static function.
3742         (avr_register_target_pragmas): Use it to set
3743         targetm.resolve_overloaded_builtin.
3744         * config/avr/avr.c (avr_init_builtins): Supply myriads of local
3745         tree nodes used by DEF_BUILTIN.
3746         (avr_expand_builtin) <AVR_BUILTIN_ROUNDxx>: Sanity-check them.
3747         (avr_fold_builtin) <AVR_BUILTIN_BITSxx>: Fold to VIEW_COVERT_EXPR.
3748         <AVR_BUILTIN_xxBITS>: Same.
3750 2013-02-08  Richard Biener  <rguenther@suse.de>
3752         * cfgloop.c (verify_loop_structure): Properly handle
3753         a loop exiting to another loop header.
3754         * ira-int.h (ira_loops): Remove.
3755         * ira.c (ira_loops): Remove.
3756         (ira): Use loop_optimizer_init and loop_optimizer_finalize.
3757         (do_reload): Use loop_optimizer_finalize.
3758         * ira-build.c (create_loop_tree_nodes): Use get_loops and
3759         number_of_loops to access the loop tree.
3760         (more_one_region_p): Likewise.
3761         (finish_loop_tree_nodes): Likewise.
3762         (rebuild_regno_allocno_maps): Likewise.
3763         (mark_loops_for_removal): Likewise.
3764         (mark_all_loops_for_removal): Likewise.
3765         (remove_unnecessary_regions): Likewise.
3766         (ira_build): Likewise.
3767         * ira-emit.c (setup_entered_from_non_parent_p): Likewise.
3769 2013-02-08  Richard Biener  <rguenther@suse.de>
3771         * Makefile.in (tree-tailcall.o): Add $(CFGLOOP_H) dependency.
3772         * ipa-pure-const.c (analyze_function): Avoid calling
3773         mark_irreducible_loops twice.
3774         * tree-tailcall.c (tree_optimize_tail_calls_1): Mark loops for fixup.
3776 2013-02-07  David S. Miller  <davem@davemloft.net>
3778         * dwarf2out.c (based_loc_descr): Perform leaf register remapping
3779         on 'reg'.
3780         * var-tracking.c (vt_add_function_parameter): Test the presence of
3781         HAVE_window_save properly and do not remap argument registers when
3782         we have a leaf function.
3784 2013-02-07  Uros Bizjak  <ubizjak@gmail.com>
3786         PR bootstrap/56227
3787         * ggc-page.c (ggc_print_statistics): Use HOST_LONG_LONG_FORMAT
3788         instead of "ll".
3789         * config/i386/i386.c (ix86_print_operand): Ditto.
3791 2013-02-07  Vladimir Makarov  <vmakarov@redhat.com>
3793         * lra-constraints.c (process_alt_operands): Fix recently added comment.
3795 2013-02-07  Vladimir Makarov  <vmakarov@redhat.com>
3797         PR rtl-optimization/56225
3798         * lra-constraints.c (process_alt_operands): Check that reload hard
3799         reg can hold value for strict_low_part.
3801 2013-02-07  Jakub Jelinek  <jakub@redhat.com>
3803         PR debug/56154
3804         * dwarf2out.c (dwarf2_debug_hooks): Set end_function hook to
3805         dwarf2out_end_function.
3806         (in_first_function_p, maybe_at_text_label_p,
3807         first_loclabel_num_not_at_text_label): New variables.
3808         (dwarf2out_var_location): In the first function find out
3809         lowest loclabel_num N where .LVLN is known not to be equal to .Ltext0.
3810         (find_empty_loc_ranges_at_text_label, dwarf2out_end_function): New
3811         functions.
3813 2013-02-07  Eric Botcazou  <ebotcazou@adacore.com>
3815         PR rtl-optimization/56178
3816         * cse.c (cse_insn): Do not create a REG_EQUAL note if the source is a
3817         SUBREG of a register.  Tidy up related block of code.
3818         * fwprop.c (forward_propagate_and_simplify): Do not create a REG_EQUAL
3819         note if the source is a register or a SUBREG of a register.
3821 2013-02-07  Jakub Jelinek  <jakub@redhat.com>
3823         PR target/56228
3824         * config/rs6000/rs6000.md (ptrm): New mode attr.
3825         (call_indirect_aix<ptrsize>, call_indirect_aix<ptrsize>_nor11,
3826         call_value_indirect_aix<pttrsize>,
3827         call_value_indirect_aix<pttrsize>_nor11): Use <ptrm> instead of
3828         m in constraints.
3830 2013-02-07  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
3832         * collect2.c (main): Set aix64_flag for -G and -bsvr4 too, disable
3833         if -bnortl. Convert to strcmp and strncmp.
3835 2013-02-07  Alan Modra  <amodra@gmail.com>
3837         PR target/54009
3838         * config/rs6000/rs6000.c (mem_operand_gpr): Check that LO_SUM
3839         addresses won't wrap when offsetting.
3840         (rs6000_secondary_reload): Provide secondary reloads needed for
3841         wrapping LO_SUM addresses.
3843 2013-02-06  Thomas Schwinge  <thomas@codesourcery.com>
3845         * config/gnu.h (GNU_USER_TARGET_OS_CPP_BUILTINS): Never define
3846         MACH, just __MACH__.
3848 2013-02-06  Richard Biener  <rguenther@suse.de>
3850         * tracer.c (tracer): Mark loops with LOOPS_NEED_FIXUP
3851         instead of calling fix_loop_structure.
3853 2013-02-06  Jakub Jelinek  <jakub@redhat.com>
3855         PR middle-end/56217
3856         * omp-low.c (use_pointer_for_field): Return false if
3857         lower_send_shared_vars doesn't generate any copy-out code.
3859 2013-02-06  Tom de Vries  <tom@codesourcery.com>
3861         PR rtl-optimization/56131
3862         * cfgrtl.c (delete_insn): Use NOTE_BASIC_BLOCK instead of BLOCK_FOR_INSN
3863         to get the bb of a NOTE_INSN_BASIC_BLOCK.  Handle the case that the bb
3864         of the label is NULL.  Add comment.
3866 2013-02-05  Jakub Jelinek  <jakub@redhat.com>
3868         * tree.h (struct tree_decl_with_vis): Remove thread_local field.
3870         PR sanitizer/55374
3871         * config/gnu-user.h (LIBTSAN_EARLY_SPEC): Define.
3872         (STATIC_LIBTSAN_LIBS): Likewise.
3873         * gcc.c (ADD_STATIC_LIBTSAN_LIBS, LIBTSAN_EARLY_SPEC): Define.
3874         (LIBTSAN_SPEC): Add ADD_STATIC_LIBTSAN_LIBS, if LIBTSAN_EARLY_SPEC
3875         is defined, don't add anything else beyond that.
3876         (SANITIZER_EARLY_SPEC, SANITIZER_SPEC): Define.
3877         (LINK_COMMAND_SPEC): Use them.
3879         PR tree-optimization/56205
3880         * tree-stdarg.c (check_all_va_list_escapes): Return true if
3881         there are any PHI nodes that set non-va_list_escape_vars SSA_NAME
3882         and some va_list_escape_vars SSA_NAME appears in some PHI argument.
3884 2013-02-05  Richard Biener  <rguenther@suse.de>
3886         PR tree-optimization/53342
3887         PR tree-optimization/53185
3888         * tree-vectorizer.h (vect_check_strided_load): Remove.
3889         * tree-vect-data-refs.c (vect_enhance_data_refs_alignment): Do
3890         not disallow peeling for vectorized strided loads.
3891         (vect_check_strided_load): Make static and simplify.
3892         (vect_analyze_data_refs): Adjust.
3893         * tree-vect-stmts.c (vectorizable_load): Handle peeled loops
3894         correctly when vectorizing strided loads.
3896 2013-02-05  Richard Biener  <rguenther@suse.de>
3898         * doc/install.texi: Refer to ISL, not PPL.
3900 2013-02-05  Jan Hubicka  <jh@suse.cz>
3902         PR tree-optimization/55789
3903         * params.def (PARAM_EARLY_INLINER_MAX_ITERATIONS): Drop to 1.
3905 2013-02-05  Jan Hubicka  <jh@suse.cz>
3907         PR tree-optimization/55789
3908         * cgraphclones.c (cgraph_remove_node_and_inline_clones): Remove
3909         the dead call anyway.
3911 2013-02-05  Eric Botcazou  <ebotcazou@adacore.com>
3913         PR sanitizer/55374
3914         * config/gnu-user.h (LIBASAN_EARLY_SPEC): Add missing guard.
3916 2013-02-04  Alexander Potapenko  <glider@google.com>
3917             Jack Howarth  <howarth@bromo.med.uc.edu>
3918             Jakub Jelinek  <jakub@redhat.com>
3920         PR sanitizer/55617
3921         * config/darwin.c (sort_ctor_records): Stabilized qsort
3922         on constructor priority by using original position.
3923         (finalize_ctors): New routine to sort constructors by
3924         priority before use in assemble_integer.
3925         (machopic_asm_out_constructor): Use finalize_ctors if needed.
3927 2013-02-04  Jakub Jelinek  <jakub@redhat.com>
3929         PR libstdc++/54314
3930         * config/i386/winnt.c (i386_pe_assemble_visibility): Don't warn
3931         about visibility on artificial decls.
3932         * config/sol2.c (solaris_assemble_visibility): Likewise.
3934 2013-02-04  Kai Tietz  <ktietz@redhat.com>
3936         PR target/56186
3937         * config/i386/i386.c (function_value_ms_64): Add additional valtype
3938         argument and improve checking of return-argument types for 16-byte
3939         modes.
3940         (ix86_function_value_1): Add additional valtype argument on call
3941         of function_value_64.
3942         (return_in_memory_ms_64): Sync 16-byte sized mode handling with
3943         handling infunction_value_64 function.
3945 2013-02-04  Matthew Gretton-Dann  <matthew.gretton-dann@linaro.org>
3947         * reload.c (subst_reloads): Fix DEBUG_RELOAD build issue.
3949 2013-02-04  Richard Biener  <rguenther@suse.de>
3951         PR tree-optimization/56188
3952         * tree-ssa-structalias.c (label_visit): Consider case with
3953         initially non-empty points-to set.
3954         (perform_var_substitution): Dump node mapping and clean up.
3956 2013-02-04  Richard Guenther  <rguenther@suse.de>
3958         PR lto/56168
3959         * lto-symtab.c (lto_symtab_merge_decls_1): Make non-builtin
3960         node prevail as last resort.
3961         (lto_symtab_merge_decls): Remove guard on LTRANS here.
3962         (lto_symtab_prevailing_decl): Builtins are their own prevailing decl.
3964 2013-02-04  Richard Biener  <rguenther@suse.de>
3966         PR tree-optimization/56113
3967         * tree-ssa-structalias.c (equiv_class_lookup, equiv_class_add):
3968         Merge into ...
3969         (equiv_class_lookup_or_add): ... this.
3970         (label_visit): Adjust and fix error in previous patch.
3971         (perform_var_substitution): Adjust.
3973 2013-02-03  Oleg Endo  <olegendo@gcc.gnu.org>
3975         * config/sh/divtab.c: Fix formatting and comments throughout the file.
3976         * config/sh/sh4-300.md: Likewise.
3977         * config/sh/sh4a.md: Likewise.
3978         * config/sh/constraints.md: Likewise.
3979         * config/sh/sh.md: Likewise.
3980         * config/sh/netbsd-elf.h: Likewise.
3981         * config/sh/predicates.md: Likewise.
3982         * config/sh/sh-protos.h: Likewise.
3983         * config/sh/ushmedia.h: Likewise.
3984         * config/sh/linux.h: Likewise.
3985         * config/sh/sh.c: Likewise.
3986         * config/sh/superh.h: Likewise.
3987         * config/sh/elf.h: Likewise.
3988         * config/sh/sh4.md: Likewise.
3989         * config/sh/sh.h: Likewise.
3991 2013-02-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
3993         * config/pa/constraints.md: Adjust unused letters.  Change "T"
3994         constraint to match_test floating_point_store_memory_operand().
3995         * config/pa/predicates.md (reg_plus_base_memory_operand): New.
3996         (base14_operand): New.
3997         (floating_point_store_memory_operand): New.
3998         (integer_store_memory_operand): Revise to use base14_operand and
3999         reg_plus_base_memory_operand.
4000         (move_dest_operand): Allow symbolic_memory_operands.
4001         (symbolic_memory_operand): Check for LO_SOM.
4002         (symbolic_operand): Change default case to break.
4003         * config/pa/pa.md: Remove unamed DFmode and SFmode patterns to force
4004         CONST_DOUBLE values to be reloaded by putting them into memory when
4005         the destination is a floating point register.
4006         (movdf): Remove code to handle CONST_DOUBLE.
4007         (movsf): Likewise.
4008         (reload_indf_r1): New.
4009         (reload_insf_r1): New.
4010         Consistently use "Q" and "T" constraints with integer and floating
4011         point move instructions, respectively.
4012         (movdi): Remove FAIL.
4013         Change predicate for source operand unamed DImode move from
4014         general_operand to move_src_operand.
4015         (umulsidi3): Change predicate for destination operand to
4016         register_operand.
4017         Likewise for similar unamed patterns.
4018         * config/pa/pa-protos.h (pa_legitimize_reload_address): Declare.
4019         * config/pa/pa.c (pa_symbolic_expression_p): Remove extra parenthesis.
4020         (hppa_legitimize_address): Simplify mask calculation.
4021         (pa_emit_move_sequence): Revised handling of secondary reloads from
4022         REG+D addresses for floating point loads and stores.  Directly handle
4023         loading CONST0_RTX (mode) to a floating point register.
4024         (pa_secondary_reload): Handle reloading DF and SFmode constant values
4025         to floating point registers.  Don't restrict secondary reloads to
4026         floating point registers to integer modes.  Revise some comments and
4027         cleanup some code.
4028         (TARGET_LEGITIMATE_ADDRESS_P): Define.
4029         (pa_legitimate_address_p): New.
4030         (pa_legitimize_reload_address): New.
4031         * config/pa/pa.h (STRICT_REG_OK_FOR_INDEX_P): New.
4032         (STRICT_REG_OK_FOR_BASE_P): New.
4033         (GO_IF_LEGITIMATE_ADDRESS): Delete.  Update some related comments.
4034         (LEGITIMIZE_RELOAD_ADDRESS): Revise to use pa_legitimize_reload_address.
4036 2013-02-03  David Edelsohn  <dje.gcc@gmail.com>
4037             Andrew Dixie  <andrewd@gentrack.com>
4039         * collect2.c (GCC_CHECK_HDR): Do not scan objects with F_LOADONLY
4040         flag set.
4042 2013-02-03  Richard Sandiford  <rdsandiford@googlemail.com>
4044         * expmed.c (extract_bit_field_1): Pass the full width of the
4045         structure to get_best_reg_extraction_insn.
4047 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4049         PR target/54601
4050         * configure.ac (use_cxa_atexit): Add AIX.
4051         * configure: Regenerate.
4053         * config/rs6000/aix61.h (STARTFILE_SPEC): Add crtcxa.o.
4055 2013-02-01  Jakub Jelinek  <jakub@redhat.com>
4057         PR debug/54793
4058         * final.c (need_profile_function): New variable.
4059         (final_start_function): Drop ATTRIBUTE_UNUSED from first argument.
4060         If first of NOTE_INSN_BASIC_BLOCK or NOTE_INSN_FUNCTION_BEG
4061         is only preceeded by NOTE_INSN_VAR_LOCATION or NOTE_INSN_DELETED
4062         notes, targetm.asm_out.function_prologue doesn't emit anything,
4063         HAVE_prologue and profiler should be emitted before prologue,
4064         set need_profile_function instead of emitting it.
4065         (final_scan_insn): If need_profile_function, emit
4066         profile_function on the first NOTE_INSN_BASIC_BLOCK or
4067         NOTE_INSN_FUNCTION_BEG note.
4069 2013-02-01  Richard Henderson  <rth@redhat.com>
4071         * config/rs6000/rs6000.md (smulditi3): New.
4072         (umulditi3): New.
4074         * config/alpha/alpha.md (umulditi3): New.
4076 2013-02-01  David Edelsohn  <dje.gcc@gmail.com>
4078         * config/rs6000/xcoff.h (ASM_OUTPUT_ALIGNED_COMMON): Use floor_log2.
4079         (ASM_OUTPUT_ALIGNED_LOCAL): New.
4081 2013-02-01  Richard Biener  <rguenther@suse.de>
4083         PR tree-optimization/56113
4084         * tree-ssa-structalias.c (label_visit): Reduce work for
4085         single-predecessor nodes.
4087 2013-02-01  Eric Botcazou  <ebotcazou@adacore.com>
4089         * fold-const.c (make_range_step) <TRUTH_NOT_EXPR>: Bail out if the
4090         range isn't testing for zero.
4092 2013-01-31  Steven Bosscher  <steven@gcc.gnu.org>
4094         PR middle-end/56113
4095         * fwprop.c (fwprop_init): Set up loops without CFG modifications.
4097 2013-01-31  Hiroyuki Ono  <hiroyuki.ono.jc@renesas.com>
4098             Nick Clifton  <nickc@redhat.com>
4100         * config/v850/constraints.md (Q): Define as a memory constraint.
4101         * config/v850/predicates.md (label_ref_operand): New predicate.
4102         (e3v5_shift_operand): New predicate.
4103         (ior_operator): New predicate.
4104         * config/v850/t-v850: Add e3v5 multilib.
4105         * config/v850/v850-protos.h (v850_adjust_insn_length): Prototype.
4106         (v850_gen_movdi): Prototype.
4107         * config/v850/v850.c: Add support for e3v5 architecture.
4108         Rename all uses of TARGET_V850E || TARGET_V850E2_ALL to
4109         TARGET_V850E_UP.
4110         (construct_save_jarl): Add e3v5 long JARL support.
4111         (v850_adjust_insn_length): New function.  Adjust length of call
4112         insns when using e3v5 instructions.
4113         (v850_gen_movdi): New function: Generate instructions to move a
4114         DImode value.
4115         * config/v850/v850.h (TARGET_CPU_v850e3v5): Define.
4116         (CPP_SPEC): Define __v850e3v5__ as appropriate.
4117         (TARGET_USE_FPU): Enable for e3v5.
4118         (CONST_OK_FOR_W): New macro.
4119         (ADJUST_INSN_LENGTH): Define.
4120         * config/v850/v850.md (UNSPEC_LOOP): Define.
4121         (attr cpu): Add v850e3v5.
4122         Rename all uses of TARGET_V850E2 to TARGET_V850E2V3_UP.
4123         (movdi): New pattern.
4124         (movdi_internal): New pattern.
4125         (cbranchsf4): Conditionalize on TARGET_USE_FPU.
4126         (cbranchdf4): Conditionalize on TARGET_USE_FPU.
4127         (cstoresf4): Likewise.
4128         (cstoredf4): Likewise.
4129         (insv): New pattern.
4130         (rotlso3_a): New pattern.
4131         (rotlsi3_b): New pattern
4132         (rotlsi3_v850e3v5): New pattern.
4133         (doloop_begin): New pattern.
4134         (fix_loop_counter): New pattern.
4135         (doloop_end): New pattern.
4136         (branch_normal): Add e3v5 long branch support.
4137         (branch_invert): Likewise.
4138         (branch_z_normal): Likewise.
4139         (branch_z_invert): Likewise.
4140         (branch_nz_normal): Likewise.
4141         (branch_nz_invert): Likewise.
4142         (call_internal_short): Add e3v5 register-indirect JARL support.
4143         (call_internal_long): Likewise.
4144         (call_value_internal_short): Likewise.
4145         (call_value_internal_long): Likewise.
4146         * config/v850/v850.opt (mv850e3v5, mv850e2v4): New options.
4147         (mloop): New option.
4148         * config.gcc: Add support for configuring v840e3v5 target.
4149         * doc/invoke.texi: Document new v850 specific command line options.
4151 2013-01-31  Paul Koning  <ni1d@arrl.net>
4153         PR debug/55059
4154         PR debug/54508
4155         * dwarf2out.c (prune_unused_types_mark): Mark all of parent's
4156         children if parent is a class.
4157         (prune_unused_types_prune): Don't add DW_AT_declaration.
4159 2013-01-31  Richard Biener  <rguenther@suse.de>
4161         PR tree-optimization/56157
4162         * tree-vect-slp.c (vect_get_slp_defs): More thoroughly try to
4163         match up operand with SLP child.
4165 2013-01-31  Jason Merrill  <jason@redhat.com>
4167         PR debug/54410
4168         * dwarf2out.c (gen_struct_or_union_type_die): Always schedule template
4169         parameters the first time.
4170         (gen_scheduled_generic_parms_dies): Check completeness here.
4172 2013-01-31  Richard Biener  <rguenther@suse.de>
4174         PR middle-end/53073
4175         * common.opt (faggressive-loop-optimizations): New flag,
4176         enabled by default.
4177         * doc/invoke.texi (faggressive-loop-optimizations): Document.
4178         * tree-ssa-loop-niter.c (estimate_numbers_of_iterations_loop): Guard
4179         infer_loop_bounds_from_undefined by it.
4181 2013-01-31  Richard Biener  <rguenther@suse.de>
4183         PR tree-optimization/56150
4184         * tree-ssa-loop-manip.c (find_uses_to_rename_stmt): Do not
4185         visit virtual operands.
4186         (find_uses_to_rename_bb): Likewise.
4188 2013-01-31  Richard Biener  <rguenther@suse.de>
4190         PR tree-optimization/56150
4191         * tree-ssa-tail-merge.c (gimple_equal_p): Properly handle
4192         mixed store non-store stmts.
4194 2013-01-30  Jakub Jelinek  <jakub@redhat.com>
4196         PR sanitizer/55374
4197         * gcc.c (LIBASAN_SPEC): Define just to ADD_STATIC_LIBASAN_LIBS if
4198         LIBASAN_EARLY_SPEC is defined.
4199         (LIBASAN_EARLY_SPEC): Define to empty string if not already defined.
4200         (LINK_COMMAND_SPEC): Add LIBASAN_EARLY_SPEC for -fsanitize=address,
4201         before %o.
4202         * config/gnu-user.h (LIBASAN_EARLY_SPEC): Define.
4204         PR c++/55742
4205         * config/i386/i386.c (ix86_valid_target_attribute_inner_p): Diagnose
4206         invalid args instead of ICEing on it.
4207         (ix86_valid_target_attribute_tree): Return error_mark_node if
4208         ix86_valid_target_attribute_inner_p failed.
4209         (ix86_valid_target_attribute_p): Return false only if
4210         ix86_valid_target_attribute_tree returned error_mark_node.  Allow
4211         target("default") attribute.
4212         (sorted_attr_string): Change argument from const char * to tree,
4213         merge in all target attribute arguments rather than just one.
4214         Formatting fix.  Use XNEWVEC instead of xmalloc and XDELETEVEC
4215         instead of free.  Avoid using strcat.
4216         (ix86_mangle_function_version_assembler_name): Mangle
4217         target("default") as if no target attribute is present.  Adjust
4218         sorted_attr_string caller.  Avoid leaking memory.  Use XNEWVEC
4219         instead of xmalloc and XDELETEVEC instead of free.
4220         (ix86_function_versions): Don't return true if one of the decls
4221         doesn't have target attribute.  If they don't and one of the decls
4222         is DECL_FUNCTION_VERSIONED, report an error.  Adjust
4223         sorted_attr_string caller.  Use XDELETEVEC instead of free.
4224         (ix86_supports_function_versions): Remove.
4225         (make_name): Fix up formatting.
4226         (make_dispatcher_decl): Remove resolver_name and its initialization.
4227         Avoid leaking memory.
4228         (is_function_default_version): Return true if there is
4229         target("default") attribute rather than no target attribute at all.
4230         (make_resolver_func): Avoid leaking memory.
4231         (ix86_generate_version_dispatcher_body): Likewise.
4232         (TARGET_OPTION_SUPPORTS_FUNCTION_VERSIONS): Remove.
4233         * target.def (supports_function_versions): Remove.
4234         * doc/tm.texi.in (SUPPORTS_FUNCTION_VERSIONS): Remove.
4235         * doc/tm.texi: Regenerated.
4237 2013-01-30  Vladimir Makarov  <vmakarov@redhat.com>
4239         PR rtl-optimization/56144
4240         * lra-constraints.c (get_reload_reg): Don't reuse reload pseudo
4241         for values with side effects.
4243 2013-01-30  Richard Biener  <rguenther@suse.de>
4245         * sparseset.h (sparseset_bit_p): Use gcc_checking_assert.
4246         (sparseset_pop): Likewise.
4247         * cfganal.c (compute_idf): Likewise.  Increase work-stack size
4248         to be able to use quick_push in the worker loop.
4250 2013-01-30  Marek Polacek  <polacek@redhat.com>
4252         * cfgcleanup.c (cleanup_cfg): Don't mark affected BBs.
4254 2013-01-30  Richard Biener  <rguenther@suse.de>
4256         PR lto/56147
4257         * lto-symtab.c (lto_symtab_merge_decls_1): Guard DECL_BUILT_IN check.
4259 2013-01-30  Georg-Johann Lay  <avr@gjlay.de>
4261         PR tree-optimization/56064
4262         * fixed-value.c (fixed_from_double_int): New function.
4263         * fixed-value.h (fixed_from_double_int): New prototype.
4264         (const_fixed_from_double_int): New static inline function.
4265         * fold-const.c (native_interpret_fixed): New static function.
4266         (native_interpret_expr) <FIXED_POINT_TYPE>: Use it.
4267         (can_native_interpret_type_p) <FIXED_POINT_TYPE>: Return true.
4268         (native_encode_fixed): New static function.
4269         (native_encode_expr) <FIXED_CST>: Use it.
4270         (native_interpret_int): Move double_int worker code to...
4271         * double-int.c (double_int::from_buffer): ...this new static method.
4272         * double-int.h (double_int::from_buffer): Prototype it.
4274 2013-01-30  Richard Biener  <rguenther@suse.de>
4276         * tree-ssa-structalias.c (final_solutions, final_solutions_obstack):
4277         New pointer-map and obstack.
4278         (init_alias_vars): Allocate pointer-map and obstack.
4279         (delete_points_to_sets): Free them.
4280         (find_what_var_points_to): Cache result.
4281         (find_what_p_points_to): Adjust for changed interface of
4282         find_what_var_points_to.
4283         (compute_points_to_sets): Likewise.
4284         (ipa_pta_execute): Likewise.
4286 2013-01-30  Rainer Orth  <ro@CeBiTec.Uni-Bielefeld.DE>
4288         * configure.ac (HAVE_AS_SPARC_NOBITS): New test.
4289         * configure: Regenerate.
4290         * config.in: Regenerate.
4291         * config/sparc/sparc.c (sparc_solaris_elf_asm_named_section): Emit
4292         #nobits/#progbits if supported.
4294 2013-01-29  Oleg Endo  <olegendo@gcc.gnu.org>
4296         PR target/56121
4297         * config/sh/sh.md (bclr_m2a, bset_m2a, bst_m2a, bld_m2a, bldsign_m2a,
4298         bld_reg, *bld_regqi, band_m2a, bandreg_m2a, bor_m2a, borreg_m2a,
4299         bxor_m2a, bxorreg_m2a): Add satisfies_constraint_K03 condition.
4301 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
4303         * config/arm/cortex-a7.md (cortex_a7_neon, cortex_a7_all): Remove.
4304         (cortex_a7_idiv): Use cortex_a7_both instead of cortex_a7_all.
4306 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
4308         * config/arm/arm.c (cortexa7_younger): Return true for TYPE_CALL.
4309         * config/arm/cortex-a7.md (cortex_a7_call): Update required units.
4311 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
4313         * config/arm/arm-protos.h (arm_mac_accumulator_is_result): New
4314         declaration.
4315         * config/arm/arm.c (arm_mac_accumulator_is_result): New function.
4316         * config/arm/cortex-a7.md: New bypasses using
4317         arm_mac_accumulator_is_result.
4319 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
4321         * config/arm/cortex-a7.md (cortex_a7_neon_mul):  New reservation.
4322         (cortex_a7_neon_mla): Likewise.
4323         (cortex_a7_fpfmad): New reservation.
4324         (cortex_a7_fpmacs): Use ffmas and update required units.
4325         (cortex_a7_fpmuld): Update required units and latency.
4326         (cortex_a7_fpmacd): Likewise.
4327         (cortex_a7_fdivs, cortex_a7_fdivd): Likewise.
4328         (cortex_a7_neon). Likewise.
4329         (bypass) Update participating units.
4331 2013-01-29  Greta Yorsh  <Greta.Yorsh@arm.com>
4333         * config/arm/arm.md (type): Add ffmas and ffmad to "type" attribute.
4334         * config/arm/vfp.md (fma,fmsub,fnmsub,fnmadd): Change type
4335         from fmac to ffma.
4336         * config/arm/vfp11.md (vfp_farith): Use ffmas.
4337         (vfp_fmul): Use ffmad.
4338         * config/arm/cortex-r4f.md (cortex_r4_fmacs): Use ffmas.
4339         (cortex_r4_fmacd): Use ffmad.
4340         * config/arm/cortex-m4-fpu.md (cortex_m4_fmacs): Use ffmas.
4341         * config/arm/cortex-a9.md (cortex_a9_fmacs):  Use ffmas.
4342         (cortex_a9_fmacd): Use ffmad.
4343         * config/arm/cortex-a8-neon.md (cortex_a8_vfp_macs): Use ffmas.
4344         (cortex_a8_vfp_macd): Use ffmad.
4345         * config/arm/cortex-a5.md (cortex_a5_fpmacs): Use ffmas.
4346         (cortex_a5_fpmacd): Use ffmad.
4347         * config/arm/cortex-a15-neon.md (cortex_a15_vfp_macs) Use ffmas.
4348         (cortex_a15_vfp_macd): Use ffmad.
4349         * config/arm/arm1020e.md (v10_fmul): Use ffmas and ffmad.
4351 2013-01-29  Jason Merrill  <jason@redhat.com>
4353         PR libstdc++/54314
4354         * varasm.c (default_assemble_visibility): Don't warn about
4355         visibility on artificial decls.
4357 2013-01-29  Richard Biener  <rguenther@suse.de>
4359         PR tree-optimization/56113
4360         * tree-ssa-structalias.c (equiv_class_lookup): Also return
4361         the bitmap leader.
4362         (label_visit): Free duplicate bitmaps and record the leader instead.
4363         (perform_var_substitution): Adjust.
4365 2013-01-29  Richard Biener  <rguenther@suse.de>
4367         PR tree-optimization/55270
4368         * tree-ssa-dom.c (eliminate_degenerate_phis): If we changed
4369         the CFG, schedule loops for fixup.
4371 2013-01-29  Nick Clifton  <nickc@redhat.com>
4373         * config/rl78/rl78.c (rl78_regno_mode_code_ok_for_base_p): Allow
4374         SP_REG.
4376 2013-01-28  Leif Ekblad  <leif@rdos.net>
4378         * config.gcc (i[34567]86-*-rdos*, x86_64-*-rdos*): New targets.
4379         * config/i386/i386.h (TARGET_RDOS): New macro.
4380         (DEFAULT_LARGE_SECTION_THRESHOLD): New macro.
4381         * config/i386/i386.c (ix86_option_override_internal): For 64bit
4382         TARGET_RDOS, set ix86_cmodel to CM_MEDIUM_PIC and flag_pic to 1.
4383         * config/i386/i386.opt (mlarge-data-threshold): Initialize to
4384         DEFAULT_LARGE_SECTION_THRESHOLD.
4385         * config/i386/i386.md (R14_REG, R15_REG): New constants.
4386         * config/i386/rdos.h: New file.
4387         * config/i386/rdos64.h: New file.
4389 2013-01-28  Bernd Schmidt  <bernds@codesourcery.com>
4391         PR other/54814
4392         * reload.c (find_valid_class_1): Use in_hard_reg_set_p instead of
4393         TEST_HARD_REG_BIT.
4395 2013-01-28  Jakub Jelinek  <jakub@redhat.com>
4397         PR rtl-optimization/56117
4398         * sched-deps.c (sched_analyze_2) <case PREFETCH>: For use_cselib
4399         call cselib_lookup_from_insn on the MEM before calling
4400         add_insn_mem_dependence.
4402 2013-01-28  Richard Biener  <rguenther@suse.de>
4404         * tree-inline.c (remap_gimple_stmt): Do not assing a BLOCK
4405         to a stmt that didn't have one.
4406         (copy_phis_for_bb): Likewise for PHI arguments.
4407         (copy_debug_stmt): Likewise for debug stmts.
4409 2013-01-28  Richard Biener  <rguenther@suse.de>
4411         PR tree-optimization/56034
4412         * tree-loop-distribution.c (enum partition_kind): Add PKIND_REDUCTION.
4413         (partition_builtin_p): Adjust.
4414         (generate_code_for_partition): Handle PKIND_REDUCTION.  Assert
4415         it is the last partition.
4416         (rdg_flag_uses): Check SSA_NAME_IS_DEFAULT_DEF before looking
4417         up the vertex for the definition.
4418         (classify_partition): Classify whether a partition is a
4419         PKIND_REDUCTION, thus has uses outside of the loop.
4420         (ldist_gen): Inherit PKIND_REDUCTION when merging partitions.
4421         Merge all PKIND_REDUCTION partitions into the last partition.
4422         (tree_loop_distribution): Seed partitions from reductions as well.
4424 2013-01-28  Jakub Jelinek  <jakub@redhat.com>
4426         PR tree-optimization/56125
4427         * tree-ssa-math-opts.c (gimple_expand_builtin_pow): Don't optimize
4428         pow(x,c) into sqrt(x) * powi(x, n/2) or
4429         1.0 / (sqrt(x) * powi(x, abs(n/2))) if c is an integer or when
4430         optimizing for size.
4431         Don't optimize pow(x,c) into powi(x, n/3) * powi(cbrt(x), n%3) or
4432         1.0 / (powi(x, abs(n)/3) * powi(cbrt(x), abs(n)%3)) if 2c is an
4433         integer.
4435         PR tree-optimization/56094
4436         * gimplify.c (force_gimple_operand_1): Temporarily set input_location
4437         to UNKNOWN_LOCATION while gimplifying expr.
4439 2013-01-27  Uros Bizjak  <ubizjak@gmail.com>
4441         PR target/56114
4442         * config/i386/i386.md (*movabs<mode>_1): Add square brackets around
4443         operand 0 in movabs insn template for -masm=intel asm alternative.
4444         (*movabs<mode>_2): Ditto for operand 1.
4446 2013-01-26  David Holsgrove  <david.holsgrove@xilinx.com>
4448         PR target/54663
4449         * config.gcc (microblaze*-linux*): Add tmake_file to allow building
4450         of microblaze-c.o
4452 2013-01-26  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4454         * config.gcc (microblaze*-*-*): Rename microblaze*-*-elf, update
4455         tm_file.
4457 2013-01-25  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
4459         * config/aarch64/aarch64.c (TARGET_FIXED_CONDITION_CODE_REGS):
4460         Undef to avoid warning.
4462 2013-01-25  Michael Haubenwallner  <michael.haubenwallner@salomon.at>
4464         * configure.ac (gcc_cv_ld_static_dynamic): Define for AIX native ld.
4465         * configure: Regenerate.
4467 2013-01-25  Jakub Jelinek  <jakub@redhat.com>
4469         PR tree-optimization/56098
4470         * tree-ssa-phiopt.c (nt_init_block): Don't call add_or_mark_expr
4471         for stmts with volatile ops.
4472         (cond_store_replacement): Don't optimize if assign has volatile ops.
4473         (cond_if_else_store_replacement_1): Don't optimize if either
4474         then_assign or else_assign have volatile ops.
4475         (hoist_adjacent_loads): Don't optimize if either def1 or def2 have
4476         volatile ops.
4478 2013-01-25  Georg-Johann Lay  <avr@gjlay.de>
4480         * doc/invoke.texi (AVR Built-in Macros): Document __XMEGA__.
4482 2013-01-25  Georg-Johann Lay  <avr@gjlay.de>
4484         * doc/extend.texi (Example of asm with clobbered asm reg): Fix
4485         missing ':' in asm example.
4487 2013-01-25  Tejas Belagod  <tejas.belagod@arm.com>
4489         * config/aarch64/aarch64-simd-builtins.def: Separate sq<r>dmulh_lane
4490         entries into lane and laneq entries.
4491         * config/aarch64/aarch64-simd.md (aarch64_sq<r>dmulh_lane<mode>):
4492         Remove AdvSIMD scalar modes.
4493         (aarch64_sq<r>dmulh_laneq<mode>): New.
4494         (aarch64_sq<r>dmulh_lane<mode>): New RTL pattern for Scalar AdvSIMD
4495         modes.
4496         * config/aarch64/arm_neon.h: Fix all the vq<r>dmulh_lane* intrinsics'
4497         builtin implementations to relfect changes in RTL in aarch64-simd.md.
4498         * config/aarch64/iterators.md (VCOND): New.
4499         (VCONQ): New.
4501 2013-01-25  Georg-Johann Lay  <avr@gjlay.de>
4503         PR target/54222
4504         * config/avr/builtins.def (DEF_BUILTIN): Add LIBNAME argument.
4505         Add NULL LIBNAME argument to existing definitions.
4506         (ABSHR, ABSR, ABSLR, ABSLLR, ABSHK, ABSK, ABSLK, ABSLLK): New.
4507         * config/avr/avr-c.c (DEF_BUILTIN): Add LIBNAME argument.
4508         * config/avr/avr.c (DEF_BUILTIN): Same.
4509         (avr_init_builtins): Pass down LIBNAME to add_builtin_function.
4510         (avr_expand_builtin): Expand to a vanilla call if a libgcc
4511         implementation is available (DECL_ASSEMBLER_NAME is set).
4512         (avr_fold_absfx): New static function.
4513         (avr_fold_builtin): Use it to handle: AVR_BUILTIN_ABSHR,
4514         AVR_BUILTIN_ABSR, AVR_BUILTIN_ABSLR, AVR_BUILTIN_ABSLLR,
4515         AVR_BUILTIN_ABSHK, AVR_BUILTIN_ABSK, AVR_BUILTIN_ABSLK,
4516         AVR_BUILTIN_ABSLLK.
4517         * config/avr/stdfix.h (abshr, absr, abslr, absllr)
4518         (abshk, absk, abslk, absllk): Provide as static inline functions.
4520 2013-01-25  Marek Polacek  <polacek@redhat.com>
4522         PR tree-optimization/56035
4523         * cfgloopmanip.c (fix_loop_structure): Remove redundant condition.
4525 2012-01-24  Uros Bizjak  <ubizjak@gmail.com>
4527         * config/i386/i386.md (*movti_internal_rex64): Add (o,e) alternative.
4528         (*movtf_internal_rex64): Add (!o,C) alternative
4529         (*movxf_internal_rex64): Ditto.
4530         (*movdf_internal_rex64): Add (?r,C) and (?m,C) alternatives.
4532 2013-01-24  Shenghou Ma  <minux.ma@gmail.com>
4534         * doc/invoke.texi: fix typo.
4535         * doc/objc.texi: fix typo.
4537 2013-01-24  Richard Sandiford  <rdsandiford@googlemail.com>
4539         * config/mips/mips.md (*and<mode>3_mips16): Use the "W" constraint
4540         for the first two alternatives.
4542 2013-01-24  Diego Novillo  <dnovillo@google.com>
4544         * Makefile.in (GGC): Remove.  Replace all instances with ggc-page.o.
4545         (ggc-zone.o): Remove.
4546         * configure.ac: Remove option --with-gc.
4547         * configure: Re-generate.
4548         * doc/install.texi: Remove documentation for --with-gc.
4549         * gengtype.c (write_enum_defn): Remove.  Update all users.
4550         (write_Types_process_field): Remove generation of gt_e_* argument.
4551         (output_type_enum): Remove.  Update all users.
4552         (write_enum_defn): Remove.  Update all users.
4553         (enum alloc_zone): Remove.  Update all users.
4554         (write_splay_tree_allocator_def): Remove generation of gt_e_* argument.
4555         * ggc-common.c (ggc_splay_alloc): Remove first argument.
4556         Update all callers.
4557         (struct ptr_data): Remove field TYPE.  Update all users.
4558         (gt_pch_note_object): Remove argument TYPE.  Update all users.
4559         * ggc-internal.h (ggc_pch_alloc_object): Remove last argument.
4560         Update all users.
4561         * ggc-none.c (ggc_alloc_typed_stat): Remove.
4562         (struct alloc_zone): Remove.
4563         (ggc_internal_alloc_zone_stat): Remove.
4564         (ggc_internal_cleared_alloc_zone_stat): Remove.
4565         * ggc-page.c (ggc_alloc_typed_stat): Remove.
4566         (ggc_pch_count_object): Remove last argument.  Update all users.
4567         (ggc_pch_alloc_object): Remove last argument.  Update all users.
4568         (struct alloc_zone): Remove.
4569         * ggc-zone.c: Remove.
4570         * ggc.h (gt_pch_note_object): Remove last argument.  Update all users.
4571         (struct alloc_zone): Remove.
4572         (ggc_alloc_typed_stat): Remove.
4573         (ggc_alloc_typed): Remove.
4574         (ggc_splay_alloc): Remove first argument.
4575         (rtl_zone): Remove.  Update all users.
4576         (tree_zone): Remove.  Update all users.
4577         (tree_id_zone): Remove.  Update all users.
4578         (ggc_internal_zone_alloc_stat): Remove.  Update all users.
4579         (ggc_internal_zone_cleared_alloc_stat): Remove.  Update all users.
4580         (ggc_internal_zone_vec_alloc_stat): Remove.  Update all users.
4581         * tree-ssanames.c: Remove references to zone allocator in comments.
4583 2013-01-24  Georg-Johann Lay  <avr@gjlay.de>
4585         * config/avr/avr.c (avr_out_fract): Make register numbers that
4586         might be outside of source operand signed.
4588 2013-01-24  Uros Bizjak  <ubizjak@gmail.com>
4590         * config/i386/constraints.md (Yf): New constraint.
4591         * config/i386/i386.md (*movdf_internal_rex64): Use Yf*f instead
4592         of f constraint to conditionaly disable x87 register preferences.
4593         (*movdf_internal): Ditto.
4594         (*movsf_internal): Ditto.
4596 2013-01-24  Steven Bosscher  <steven@gcc.gnu.org>
4598         PR inline-asm/55934
4599         * lra-assigns.c (assign_by_spills): Throw away the pattern of asms
4600         that have operands with impossible constraints.
4601         Add a FIXME for a speed-up opportunity.
4602         * lra-constraints.c (process_alt_operands): Verify that a class
4603         selected from constraints on asms is valid for the operand mode.
4604         (curr_insn_transform): Remove incorrect comment.
4606 2013-01-23  David Edelsohn  <dje.gcc@gmail.com>
4608         * config/rs6000/rs6000.c (rs6000_delegitimize_address): Check that
4609         TOC operand is a valid symbol ref in the constant pool.
4611 2013-01-23  Edgar E. Iglesias  <edgar.iglesias@gmail.com>
4613         * config/microblaze/linux.h: Add TARGET_OS_CPP_BUILTINS
4615 2013-01-23  Georg-Johann Lay  <avr@gjlay.de>
4617         PR target/54222
4618         * config/avr/stdfix.h: New file.
4619         * t-avr (stdfix-gcc.h): New rule to build it.
4620         (EXTRA_HEADERS): Set it to install stdfix.h, stdfix-gcc.h.
4622 2013-01-23  Kostya Serebryany  <kcc@google.com>
4624         * config/darwin.h: remove dependency on
4625         CoreFoundation (asan on Mac OS).
4627 2013-01-23  Jakub Jelinek  <jakub@redhat.com>
4629         PR target/49069
4630         * config/arm/arm.md (cbranchdi4, cstoredi4): Use s_register_operand
4631         instead of cmpdi_operand for first comparison operand.
4632         Don't assert that comparison operands aren't both constants.
4634 2013-01-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
4636         * doc/install.texi (Downloading the Source): Update references to
4637         downloading separate components.
4639 2013-01-22  Jonathan Wakely  <jwakely.gcc@gmail.com>
4641         * doc/extend.texi (__int128): Improve grammar.
4643 2013-01-22  Uros Bizjak  <ubizjak@gmail.com>
4645         PR target/56028
4646         * config/i386/i386.md (*movti_internal_rex64): Change (o,riF)
4647         alternative to (o,r).
4648         (*movdi_internal_rex64): Remove (!o,n) alternative.
4649         (DImode immediate->memory splitter): Remove.
4650         (DImode immediate->memory peephole2): Remove.
4651         (movtf): Enable for TARGET_64BIT || TARGET_SSE.
4652         (*movtf_internal_rex64): Rename from *movtf_internal. Change (!o,F*r)
4653         alternative to (!o,*r).
4654         (*movtf_internal_sse): New pattern.
4655         (*movxf_internal_rex64): New pattern.
4656         (*movxf_internal): Disable for TARGET_64BIT.
4657         (*movdf_internal_rex64): Remove (!o,F) alternative.
4659 2013-01-22  Jakub Jelinek  <jakub@redhat.com>
4661         PR middle-end/56074
4662         * dumpfile.c (dump_loc): Only print loc if LOCATION_LOCUS (loc)
4663         isn't UNKNOWN_LOCATION nor BUILTINS_LOCATION.
4664         * tree-vect-loop-manip.c (find_loop_location): Also ignore
4665         stmt locations where LOCATION_LOCUS of the stmt location is
4666         UNKNOWN_LOCATION or BUILTINS_LOCATION.
4668         PR target/55686
4669         * config/i386/i386.md (UNSPEC_STOS): New.
4670         (strset_singleop, *strsetdi_rex_1, *strsetsi_1, *strsethi_1,
4671         *strsetqi_1): Add UNSPEC_STOS.
4673 2013-01-22  Paolo Carlini  <paolo.carlini@oracle.com>
4675         PR c++/56067
4676         * doc/invoke.texi: Remove left over -Wsynth example.
4678 2013-01-21  Jakub Jelinek  <jakub@redhat.com>
4680         PR tree-optimization/56051
4681         * fold-const.c (fold_binary_loc): Don't fold
4682         X < (cast) (1 << Y) into (X >> Y) != 0 if cast is either
4683         a narrowing conversion, or widening conversion from signed
4684         to unsigned.
4686 2013-01-21  Uros Bizjak  <ubizjak@gmail.com>
4688         PR rtl-optimization/56023
4689         * haifa-sched.c (fix_inter_tick): Do not update ticks of instructions,
4690         dependent on debug instruction.
4692 2013-01-21  Martin Jambor  <mjambor@suse.cz>
4694         PR middle-end/56022
4695         * function.c (allocate_struct_function): Call
4696         invoke_set_current_function_hook earlier.
4698 2013-01-21  Jakub Jelinek  <jakub@redhat.com>
4700         * reload1.c (init_reload): Only initialize reload_obstack
4701         during the first call.
4703 2013-01-21  Marek Polacek  <polacek@redhat.com>
4705         * cfgloop.c (verify_loop_structure): Fix up grammar.
4707 2013-01-21  Yi-Hsiu Hsu  <ahsu@marvell.com>
4709         * config/arm/marvell-pj4.md (pj4_shift_conds, pj4_alu_shift,
4710         pj4_alu_shift_conds, pj4_shift): Handle simple_alu_shift.
4712 2013-01-21  Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4714         PR target/56058
4715         * config/arm/marvell-pj4.md: Update copyright year.
4716         Fix up use of alu to alu_reg and simple_alu_imm.
4718 2013-01-21  Uros Bizjak  <ubizjak@gmail.com>
4720         * config/i386/i386.md (enabled): Do not disable fma4 for TARGET_FMA.
4722 2013-01-20  Vladimir Makarov  <vmakarov@redhat.com>
4724         PR target/55433
4725         * lra-constraints.c (curr_insn_transform): Don't reuse original
4726         insn for secondary memory move when memory mode should be different.
4728 2013-01-20  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
4730         * config/pa/pa.md (atomic_loaddi, atomic_loaddi_1, atomic_storedi,
4731         atomic_storedi_1): New patterns.
4733 2013-01-20  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
4735         btver2 pipeline descriptions.
4736         * config/i386/i386.c: Enable CPU_BTVER2 to use btver2 pipeline
4737         descriptions.
4738         * config/i386/i386.md (btver2_decode): New type attributes.
4739         * config/i386/sse.md (btver2_decode, btver2_sse_attr): New
4740         type attributes.
4741         * config/i386/btver2.md: New file describing btver2 pipelines.
4743 2013-01-19  Andrew Pinski  <apinski@cavium.com>
4745         PR tree-optimization/52631
4746         * tree-ssa-sccvn (visit_use): Before looking up the original
4747         statement, try looking up the simplified expression.
4749 2013-01-19  Anthony Green  <green@moxielogic.com>
4751         * config/moxie/moxie.c (moxie_expand_prologue): Set
4752         current_function_static_stack_size.
4754 2013-01-18  Jakub Jelinek  <jakub@redhat.com>
4756         PR tree-optimization/56029
4757         * tree-phinodes.c (reserve_phi_args_for_new_edge): Set
4758         gimple_phi_arg_location for the new arg to UNKNOWN_LOCATION.
4760 2013-01-18  Sharad Singhai  <singhai@google.com>
4762         PR tree-optimization/55995
4763         * dumpfile.c (dump_loc): Print location only if available.
4764         * tree-vectorizer.c (increase_alignment): Intialize vect_location.
4766 2013-01-18  Vladimir Makarov  <vmakarov@redhat.com>
4768         PR target/55433
4769         * lra-constraints.c (curr_insn_transform): Reuse original insn for
4770         secondary memory move.
4771         (inherit_reload_reg): Use rclass instead of cl for
4772         check_secondary_memory_needed_p.
4774 2013-01-18  Jakub Jelinek  <jakub@redhat.com>
4776         PR middle-end/56015
4777         * expr.c (expand_expr_real_2) <case COMPLEX_EXPR>: Handle
4778         the case where writing real complex part of target modifies op1.
4780 2013-01-18  James Greenhalgh  <james.greenhalgh@arm.com>
4782         * config/aarch64/aarch64-simd.md
4783         (aarch64_vcond_internal<mode>): Handle unordered cases.
4784         * config/aarch64/iterators.md (v_cmp_result): New.
4786 2013-01-18  Yi-Hsiu Hsu  <ahsu@marvell.com>
4787             Ramana Radhakrishnan  <ramana.radhakrishnan@arm.com>
4789         * config/arm/marvell-pj4.md: New file.
4790         * config/arm/arm.c (arm_issue_rate): Add marvell_pj4.
4791         * config/arm/arm.md (generic_sched): Add marvell_pj4.
4792         (generic_vfp): Likewise.
4793         * config/arm/arm-cores.def: Add marvell-pj4.
4794         * config/arm/arm-tune.md: Regenerate.
4795         * config/arm/arm-tables.opt: Regenerate.
4796         * config/arm/bpabi.h (BE8_LINK_SPEC): Add marvell_pj4.
4797         * doc/invoke.texi: Document marvell-pj4.
4799 2013-01-18  Tejas Belagod  <tejas.belagod@arm.com>
4801         * config/aarch64/arm_neon.h: Map scalar types to standard types.
4803 2013-01-18  Alexandre Oliva  <aoliva@redhat.com>
4805         PR debug/54114
4806         PR debug/54402
4807         PR debug/49888
4808         * var-tracking.c (negative_power_of_two_p): New.
4809         (global_get_addr_cache, local_get_addr_cache): New.
4810         (get_addr_from_global_cache, get_addr_from_local_cache): New.
4811         (vt_canonicalize_addr): Rewrite using the above.  Adjust the
4812         heading comment.
4813         (vt_stack_offset_p): Remove.
4814         (vt_canon_true_dep): Always canonicalize loc's address.
4815         (clobber_overlapping_mems): Make sure we have a MEM.
4816         (local_get_addr_clear_given_value): New.
4817         (val_reset): Clear local cached entries.
4818         (compute_bb_dataflow): Create and release the local cache.
4819         Disable duplicate MEMs clobbering.
4820         (emit_notes_in_bb): Clobber MEMs likewise.
4821         (vt_emit_notes): Create and release the local cache.
4822         (vt_initialize, vt_finalize): Create and release the global
4823         cache, respectively.
4824         * alias.c (rtx_equal_for_memref_p): Compare operands of ENTRY_VALUEs.
4826 2013-01-18  Alexandre Oliva  <aoliva@redhat.com>
4828         PR libmudflap/53359
4829         * tree-mudflap.c (mudflap_finish_file): Skip deferred decls
4830         not found in the symtab.
4832 2013-01-18  Alexandre Oliva  <aoliva@redhat.com>
4834         PR debug/56006
4835         PR rtl-optimization/55547
4836         PR rtl-optimization/53827
4837         PR debug/53671
4838         PR debug/49888
4839         * alias.c (offset_overlap_p): New, factored out of...
4840         (memrefs_conflict_p): ... this.  Use absolute sizes.  Retain
4841         the conservative special case for symbolic constants.  Don't
4842         adjust zero sizes on alignment.
4844 2013-01-18  Bernd Schmidt  <bernds@codesourcery.com>
4846         PR rtl-optimization/52573
4847         * regrename.c (build_def_use): Ignore REG_DEAD notes if there is a
4848         REG_UNUSED for the same register.
4850 2013-01-17  Richard Biener  <rguenther@suse.de>
4851             Marek Polacek  <polacek@redhat.com>
4853         PR rtl-optimization/55833
4854         * loop-unswitch.c (unswitch_loops): Move loop verification...
4855         (unswitch_single_loop): ...here.  Call mark_irreducible_loops.
4856         * cfgloopmanip.c (fix_loop_placement): Add IRRED_INVALIDATED parameter.
4857         Set it to true when we're removing a loop from hierarchy tree in
4858         an irreducible region.
4859         (fix_bb_placements): Adjust caller.
4860         (fix_loop_placements): Likewise.
4862 2013-01-17  Georg-Johann Lay  <avr@gjlay.de>
4864         * config/avr/builtins.def (DEF_BUILTIN): Factor out
4865         "__builtin_avr_" from NAME, turn NAME to an uppercase identifier.
4866         Factor out 'CODE_FOR_' from ICODE, use 'nothing' instead of '-1'.
4867         Remove ID.  Adjust comments.
4868         * config/avr/avr-c.c (avr_builtin_name): Remove.
4869         (avr_cpu_cpp_builtins): Use DEF_BUILTIN instead of for-loop.
4870         * config/avr/avr.c (avr_tolower): New static function.
4871         (DEF_BUILTIN): Remove parameter ID.  Prefix ICODE by 'CODE_FOR_'.
4872         Stringify NAME, prefix it with "__builtin_avr_" and lowercase it.
4873         (avr_expand_builtin): Assert insn_code != CODE_FOR_nothing for
4874         default expansion.
4876 2013-01-17  Jan Hubicka  <jh@suse.cz>
4878         PR tree-optimization/55273
4879         * loop-iv.c (iv_number_of_iterations): Consider zero iteration case.
4881 2013-01-17  Uros Bizjak  <ubizjak@gmail.com>
4883         PR target/55981
4884         * config/i386/sync.md (atomic_store<mode>): Always generate SWImode
4885         store through atomic_store<mode>_1.
4886         (atomic_store<mode>_1): Macroize insn using SWI mode iterator.
4888 2013-01-17  Martin Jambor  <mjambor@suse.cz>
4890         PR tree-optimizations/55264
4891         * ipa-inline-transform.c (can_remove_node_now_p_1): Never return true
4892         for virtual methods.
4893         * ipa.c (symtab_remove_unreachable_nodes): Never return true for
4894         virtual methods before inlining is over.
4895         * cgraph.h (cgraph_only_called_directly_or_aliased_p): Return false for
4896         virtual functions.
4897         * cgraphclones.c (cgraph_create_virtual_clone): Mark clones as
4898         non-virtual.
4900 2013-01-16  Vladimir Makarov  <vmakarov@redhat.com>
4902         PR rtl-optimization/56005
4903         * sched-deps.c (sched_analyze_2): Check deps->readonly for adding
4904         pending reads for prefetch.
4906 2013-01-16  Ian Bolton  <ian.bolton@arm.com>
4908         * config/aarch64/aarch64.md
4909         (*cstoresi_neg_uxtw): New pattern.
4910         (*cmovsi_insn_uxtw): New pattern.
4911         (*<optab>si3_uxtw): New pattern.
4912         (*<LOGICAL:optab>_<SHIFT:optab>si3_uxtw): New pattern.
4913         (*<optab>si3_insn_uxtw): New pattern.
4914         (*bswapsi2_uxtw): New pattern.
4916 2013-01-16  Richard Biener  <rguenther@suse.de>
4918         * tree-inline.c (tree_function_versioning): Remove set but
4919         never used variable.
4921 2013-01-16  Richard Biener  <rguenther@suse.de>
4923         PR tree-optimization/55964
4924         * tree-flow.h (rename_variables_in_loop): Remove.
4925         (rename_variables_in_bb): Likewise.
4926         * tree-loop-distribution.c (update_phis_for_loop_copy): Remove.
4927         (copy_loop_before): Adjust and delete update-ssa status.
4928         * tree-vect-loop-manip.c (rename_variables_in_bb): Make static.
4929         (rename_variables_in_bb): Likewise.  Properly walk over predecessors.
4930         (rename_variables_in_loop): Remove.
4931         (slpeel_update_phis_for_duplicate_loop): Likewise.
4932         (slpeel_tree_duplicate_loop_to_edge_cfg): Handle nested loops,
4933         use available cfg machinery instead of duplicating it.
4934         Update PHI nodes and perform poor-mans SSA update here.
4935         (slpeel_tree_peel_loop_to_edge): Adjust.
4937 2013-01-16  Richard Biener  <rguenther@suse.de>
4939         PR tree-optimization/54767
4940         PR tree-optimization/53465
4941         * tree-vrp.c (vrp_meet_1): Revert original fix for PR53465.
4942         (vrp_visit_phi_node): For PHI arguments coming via backedges
4943         drop all symbolical range information.
4944         (execute_vrp): Compute backedges.
4946 2013-01-16  Richard Biener  <rguenther@suse.de>
4948         * doc/install.texi: Update CLooG and ISL requirements to
4949         0.18.0 and 0.11.1.
4951 2013-01-16  Christian Bruel  <christian.bruel@st.com>
4953         PR target/55301
4954         * config/sh/sh.c (sh_expand_prologue): Postpone new_stack mem symbol.
4955         (broken_move): Handle UNSPECV_SP_SWITCH_B.
4956         * config/sh/sh.md (sp_switch_1): Use set (reg:SI SP_REG).
4958 2013-01-16  DJ Delorie  <dj@redhat.com>
4960         * config/sh/sh.md (UNSPECV_SP_SWITCH_B): New.
4961         (UNSPECV_SP_SWITCH_E): New.
4962         (sp_switch_1): Change to an unspec.
4963         (sp_switch_2): Change to an unspec.  Don't use post-inc when we
4964         replace $r15.
4966 2013-01-16  Uros Bizjak  <ubizjak@gmail.com>
4968         * emit-rtl.c (need_atomic_barrier_p): Mask memory model argument
4969         with MEMMODEL_MASK before comparing with MEMMODEL_* memory types.
4970         * optabs.c (maybe_emit_sync_lock_test_and_set): Ditto.
4971         (expand_mem_thread_fence): Ditto.
4972         (expand_mem_signal_fence): Ditto.
4973         (expand_atomic_load): Ditto.
4974         (expand_atomic_store): Ditto.
4976 2013-01-16  Alexandre Oliva  <aoliva@redhat.com>
4978         PR rtl-optimization/55547
4979         PR rtl-optimization/53827
4980         PR debug/53671
4981         PR debug/49888
4982         * alias.c (memrefs_conflict_p): Set sizes to negative after
4983         AND adjustments.
4985 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
4987         PR target/55940
4988         * function.c (thread_prologue_and_epilogue_insns): Always
4989         add crtl->drap_reg to set_up_by_prologue.set, even if
4990         stack_realign_drap is false.
4992 2013-01-15  Jan-Benedict Glaw  <jbglaw@lug-owl.de>
4994         * config/vax/vax.md (add<mode>3, sub<mode>3, mul<mode>3, div<mode>3,
4995         and<mode>3, *and<mode>_const_int, ior<mode>3, xor<mode>3, ashrsi3,
4996         *call): Fix indention.
4998 2013-01-15  Tom de Vries  <tom@codesourcery.com>
5000         PR target/55876
5001         * optabs.c (widen_operand): Use gen_lowpart instead of gen_rtx_SUBREG.
5002         Update comment.
5004 2013-01-15  Vladimir Makarov  <vmakarov@redhat.com>
5006         PR rtl-optimization/55153
5007         * sched-deps.c (sched_analyze_2): Add pending reads for prefetch.
5009 2013-01-15  Martin Jambor  <mjambor@suse.cz>
5011         PR tree-optimization/55920
5012         * tree-sra.c (analyze_access_subtree): Do not mark non-removable
5013         accesses as grp_to_be_debug_replaced.
5015 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
5017         PR tree-optimization/55920
5018         * tree-sra.c (sra_modify_assign): If for lacc->grp_to_be_debug_replaced
5019         there is non-useless type conversion needed from debug rhs to lhs,
5020         use build_debug_ref_for_model and/or VIEW_CONVERT_EXPR.
5022 2013-01-15  Joseph Myers  <joseph@codesourcery.com>
5023             Mikael Pettersson  <mikpe@it.uu.se>
5025         PR target/43961
5026         * config/arm/arm.h (ADDR_VEC_ALIGN): Align SImode jump tables for
5027         Thumb.
5028         (ASM_OUTPUT_CASE_LABEL): Remove.
5029         (ASM_OUTPUT_BEFORE_CASE_LABEL): Define to empty.
5030         * final.c (shorten_branches): Update alignment of labels before
5031         jump tables if CASE_VECTOR_SHORTEN_MODE.
5033 2013-01-15  Richard Biener  <rguenther@suse.de>
5035         PR bootstrap/55961
5036         * system.h: Do not include gmp.h for building host tools.
5038 2013-01-15  Richard Biener  <rguenther@suse.de>
5040         PR middle-end/55882
5041         * emit-rtl.c (set_mem_attributes_minus_bitpos): Correctly
5042         account for bitpos when computing alignment.
5044 2013-01-15  Vladimir Yakovlev  <vladimir.b.yakovlev@intel.com>
5046         * config/i386/i386-c.c (ix86_target_macros_internal): New case.
5047         (ix86_target_macros_internal): Likewise.
5049         * config/i386/i386.c (m_CORE2I7): Removed.
5050         (m_CORE_HASWELL): New macro.
5051         (m_CORE_ALL): Likewise.
5052         (initial_ix86_tune_features): m_CORE2I7 is replaced by m_CORE_ALL.
5053         (initial_ix86_arch_features): Likewise.
5054         (processor_target_table): Initializations for Core avx2.
5055         (cpu_names): New names "core-avx2".
5056         (ix86_option_override_internal): Changed PROCESSOR_COREI7 by
5057         PROCESSOR_CORE_HASWELL.
5058         (ix86_issue_rate): New case.
5059         (ia32_multipass_dfa_lookahead): Likewise.
5060         (ix86_sched_init_global): Likewise.
5062         * config/i386/i386.h (TARGET_HASWELL): New macro.
5063         (target_cpu_default): New TARGET_CPU_DEFAULT_haswell.
5064         (processor_type): New PROCESSOR_HASWELL.
5066 2013-01-15  Jakub Jelinek  <jakub@redhat.com>
5068         PR tree-optimization/55955
5069         * tree-vect-loop.c (vectorizable_reduction): Give up early on
5070         *SHIFT_EXPR and *ROTATE_EXPR codes.
5072         PR tree-optimization/48766
5073         * opts.c (common_handle_option): For -fwrapv disable -ftrapv, for
5074         -ftrapv disable -fwrapv.
5076 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5078         PR target/55974
5079         * config/avr/avr-c.c (avr_cpu_cpp_builtins): Define __FLASH
5080         etc. to 1 and not to __flash.
5081         Use LL suffix for __INT24_MAX__ with -mint8.
5082         Use ULL suffix for __UINT24_MAX__ with -mint8.
5084 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5086         * config/avr/avr-arch.h
5087         (struct base_arch_s): Use typedef avr_arch_t instead.
5088         (struct arch_info_s): Use typedef avr_arch_info_t instead.
5089         (struct mcu_type_s): Use typedef avr_mcu_t instead.
5090         * config/avr/avr.c: Same.
5091         * config/avr/avr-devices.c: Same.
5092         * config/avr/driver-avr.c: Same.
5093         * config/avr/gen-avr-mmcu-texi.c: Same.
5094         * config/avr/avr-mcus.def: Adjust comment.
5096 2013-01-14  Tejas Belagod  <tejas.belagod@arm.com>
5098         * config/aarch64/aarch64-simd.md (*aarch64_simd_ld1r<mode>): New.
5099         * config/aarch64/iterators.md (VALLDI): New.
5101 2013-01-14  Uros Bizjak  <ubizjak@gmail.com>
5102             Andi Kleen  <ak@linux.intel.com>
5104         PR target/55948
5105         * config/i386/sync.md (atomic_store<mode>_1): New pattern.
5106         (atomic_store<mode>): Call atomic_store<mode>_1 for IX86_HLE_RELEASE
5107         memmodel flag.
5109 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5111         * config/avr/avr-stdint.h: Remove trailing blanks.
5112         * config/avr/avr-log.h: Same.
5113         * config/avr/avr-arch.h: Same.
5114         * config/avr/avr-devices.c: Same.
5115         * config/avr/avr-dimode.md: Same.
5116         * config/avr/predicates.md: Same.
5117         * config/avr/avr-c.c: Same.  And fix typo.
5119         * config/avr/avr-protos.h: Same.  And:
5120         (function_arg_regno_p): Rename to avr_function_arg_regno_p.
5121         (init_cumulative_args): Rename to avr_init_cumulative_args.
5122         (expand_prologue): Rename to avr_expand_prologue.
5123         (expand_epilogue): Rename to avr_expand_epilogue.
5124         (adjust_insn_length): Rename to avr_adjust_insn_length.
5125         (notice_update_cc): Rename to avr_notice_update_cc.
5126         (final_prescan_insn): Rename to avr_final_prescan_insn.
5127         * config/avr/avr.c: Same.
5128         * config/avr/avr.h: Same.
5129         * config/avr/avr.md: Remove trailing blanks.
5130         (prologue): Use avr_expand_prologue.
5131         (epilogue, sibcall_epilogue): Use avr_expand_epilogue.
5133 2013-01-14  Richard Biener  <rguenther@suse.de>
5135         * tree-cfg.c (verify_expr_location, verify_expr_location_1,
5136         verify_location, collect_subblocks): New functions.
5137         (verify_gimple_in_cfg): Verify that locations only reference
5138         BLOCKs in the functions BLOCK tree.
5140 2013-01-14  Richard Biener  <rguenther@suse.de>
5142         * tree-cfgcleanup.c (remove_forwarder_block): Unshare propagated
5143         PHI argument.
5144         * graphite-sese-to-poly.c (insert_out_of_ssa_copy): Properly
5145         unshare reference.
5146         (insert_out_of_ssa_copy_on_edge): Likewise.
5147         (rewrite_close_phi_out_of_ssa): Likewise.
5148         * tree-ssa.c (insert_debug_temp_for_var_def): Properly unshare
5149         debug expressions.
5150         * tree-ssa-pre.c (insert_into_preds_of_block): Properly unshare
5151         propagated constants.
5152         * tree-cfg.c (tree_node_can_be_shared): Handled component-refs
5153         can not be shared.
5155 2013-01-14  Georg-Johann Lay  <avr@gjlay.de>
5157         * config/avr/avr-modes.def: Add GPL copyright notice.
5159 2013-01-13  Uros Bizjak  <ubizjak@gmail.com>
5161         * config/i386/sync.md (mem_thread_fence): Mask operands[0] with
5162         MEMMODEL_MASK to determine memory model.
5163         (atomic_store<mode>): Ditto from operands[2].
5164         * config/i386/i386.c (ix86_memmodel_check): Declare "strong" as bool.
5166 2013-01-13  Jakub Jelinek  <jakub@redhat.com>
5168         PR fortran/55935
5169         * gimple-fold.c (get_symbol_constant_value): Call unshare_expr.
5170         (fold_gimple_assign): Don't call unshare_expr here.
5171         (fold_ctor_reference): Call unshare_expr.
5173 2013-01-13  Terry Guo  <terry.guo@arm.com>
5175         * Makefile.in (s-mlib): New argument MULTILIB_REUSE.
5176         * doc/fragments.texi: Document MULTILIB_REUSE.
5177         * gcc.c (multilib_reuse): New internal spec.
5178         (set_multilib_dir): Also search multilib from multilib_reuse.
5179         * genmultilib (tmpmultilib3): Refactor code.
5180         (tmpmultilib4): Ditto.
5181         (multilib_reuse): New multilib argument.
5183 2013-01-13  Richard Sandiford  <rdsandiford@googlemail.com>
5185         * Makefile.in: Update copyright.
5187 2013-01-12  Tom de Vries  <tom@codesourcery.com>
5189         PR middle-end/55890
5190         * calls.c (expand_call): Check if arg_nr is valid.
5192 2013-01-11  Michael Meissner  <meissner@linux.vnet.ibm.com>
5194         * doc/extend.texi (X86 Built-in Functions): Add whitespace in
5195         __builtin_ia32_paddb256 and __builtin_ia32_pavgb256
5196         documentation.  Add missing '__' in front of
5197         __builtin_ia32_packssdw256.
5199 2013-01-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5201         PR target/55719
5202         * config/s390/s390.c (s390_preferred_reload_class): Do not return
5203         NO_REGS for larl operands.
5204         (s390_reload_larl_operand): Use s390_load_address instead of
5205         emit_move_insn.
5207 2013-01-11  Richard Biener  <rguenther@suse.de>
5209         * tree-cfg.c (verify_node_sharing_1): Split out from ...
5210         (verify_node_sharing): ... here.
5211         (verify_gimple_in_cfg): Use verify_node_sharing_1 for walk_tree.
5213 2013-01-11  Eric Botcazou  <ebotcazou@adacore.com>
5215         * configure.ac (Tree checking): Set TREECHECKING to yes if enabled.
5216         Substitute TREECHECKING.
5217         * configure: Regenerate.
5218         * Makefile.in (TREECHECKING): New.
5220 2013-01-11  Richard Guenther  <rguenther@suse.de>
5222         PR tree-optimization/44061
5223         * tree-vrp.c (extract_range_basic): Compute zero as
5224         value-range for __builtin_constant_p of function parameters.
5226 2013-01-10  Richard Sandiford  <rdsandiford@googlemail.com>
5228         Update copyright years.
5230 2013-01-10  Vladimir Makarov  <vmakarov@redhat.com>
5232         PR rtl-optimization/55672
5233         * lra-eliminations.c (mark_not_eliminable): Permit addition with
5234         const to be eliminable.
5236 2013-01-10  David Edelsohn  <dje.gcc@gmail.com>
5238         * configure.ac (HAVE_AS_TLS): Add check for powerpc-ibm-aix.
5239         * configure: Regenerate.
5241 2013-01-10  Richard Biener  <rguenther@suse.de>
5243         * builtins.c (expand_builtin_init_trampoline): Use set_mem_attributes.
5245 2013-01-10  Richard Biener  <rguenther@suse.de>
5247         PR bootstrap/55792
5248         * tree-into-ssa.c (rewrite_add_phi_arguments): Do not set
5249         locations for virtual PHI arguments.
5250         (rewrite_update_phi_arguments): Likewise.
5252 2013-01-10  Joel Sherrill  <joel.sherrill@OARcorp.com>
5254         * config/v850/rtems.h (ASM_SPEC): Pass -m8byte-align and -mgcc-abi
5255         on to assembler.
5257 2013-01-10  Jakub Jelinek  <jakub@redhat.com>
5259         PR tree-optimization/55921
5260         * tree-complex.c (expand_complex_asm): New function.
5261         (expand_complex_operations_1): Call it for GIMPLE_ASM.
5263 2013-01-10  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
5265         PR target/55718
5266         * config/s390/s390.c (s390_symref_operand_p)
5267         (s390_loadrelative_operand_p): Merge the two functions.
5268         (s390_check_qrst_address, print_operand_address): Add parameters
5269         to s390_loadrelative_operand_p invokation.
5270         (s390_check_symref_alignment): Use s390_loadrelative_operand_p.
5271         (s390_reload_larl_operand, s390_secondary_reload): Use
5272         s390_loadrelative_operand_p instead of s390_symref_operand_p.
5273         (legitimize_pic_address): Handle @GOTENT and @PLT + addend.
5275 2013-01-09  Mike Stump  <mikestump@comcast.net>
5277         * dse.c (record_store): Remove unnecessary assert.
5279 2013-01-09  Jan Hubicka  <jh@suse.cz>
5281         PR tree-optimization/55569
5282         * cfgloopmanip.c (scale_loop_profile): Make ITERATION_BOUND gcov_type.
5283         * cfgloop.h (scale_loop_profile): Likewise.
5285 2013-01-09  Jan Hubicka  <jh@suse.cz>
5287         PR lto/45375
5288         * ipa-inline.c (ipa_inline): Remove extern inlines and virtual
5289         functions.
5290         * cgraphclones.c (cgraph_clone_node): Cpoy also LTO file data.
5292 2013-01-09  Richard Sandiford  <rdsandiford@googlemail.com>
5294         PR middle-end/55114
5295         * expr.h (maybe_emit_group_store): Declare.
5296         * expr.c (maybe_emit_group_store): New function.
5297         * builtins.c (expand_builtin_int_roundingfn): Call it.
5298         (expand_builtin_int_roundingfn_2): Likewise.
5300 2013-01-09  Vladimir Makarov  <vmakarov@redhat.com>
5302         PR rtl-optimization/55829
5303         * lra-constraints.c (match_reload): Add code for absent output.
5304         (curr_insn_transform): Add code for reloads of matched inputs
5305         without output.
5307 2013-01-09  Uros Bizjak  <ubizjak@gmail.com>
5309         * config/i386/sse.md (*vec_interleave_highv2df): Change mode
5310         attribute of movddup insn to DF.
5311         (*vec_interleave_lowv2df): Ditto.
5312         (vec_dupv2df): Ditto.
5314 2013-01-09  Jan Hubicka  <jh@suse.cz>
5316         PR tree-optimiation/55875
5317         * tree-ssa-loop-niter.c (number_of_iterations_cond): Add
5318         EVERY_ITERATION parameter.
5319         (number_of_iterations_exit): Check if exit is executed every iteration.
5320         (idx_infer_loop_bounds): Similarly here.
5321         (n_of_executions_at_most): Simplify
5322         to only test for cases where statement is dominated by the
5323         particular bound; handle correctly the "postdominance" test.
5324         (scev_probably_wraps_p): Use max loop iterations info
5325         as a global bound first.
5327 2013-01-09  Nguyen Duy Dat  <dat.nguyen.yn@rvc.renesas.com>
5328             Nick Clifton  <nickc@redhat.com>
5330         * config/v850/v850.md (cbranchsf4): New pattern.
5331         (cstoresf4): New pattern.
5332         (cbranchdf4): New pattern.
5333         (cstoredf4): New pattern.
5334         (movsicc): Disallow floating point comparisons.
5335         (cmpsf_le_insn): Fix order of operators.
5336         (cmpsf_lt_insn): Likewise.
5337         (cmpsf_eq_insn): Likewise.
5338         (cmpdf_le_insn): Likewise.
5339         (cmpdf_lt_insn): Likewise.
5340         (cmpdf_eq_insn): Likewise.
5341         (cmpsf_ge_insn): Use LE comparison.
5342         (cmpdf_ge_insn): Likewise.
5343         (cmpsf_gt_insn): Use LT comparison.
5344         (cmpdf_gt_insn): Likewise.
5345         (cmpsf_ne_insn): Delete pattern.
5346         (cmpdf_ne_insn): Delete pattern.
5347         * config/v850/v850.c (v850_gen_float_compare): Use
5348         gen_cmpdf_eq_insn for NE comparison.
5349         (v850_float_z_comparison_operator)
5350         (v850_float_nz_comparison_operator): Move from here ...
5351         * config/v850/predicates.md: ... to here.  Move GT and GE
5352         comparisons into v850_float_z_comparison_operator.
5353         * config/v850/v850-protos.h (v850_float_z_comparison_operator):
5354         Delete prototype.
5355         (v850_float_nz_comparison_operator): Likewise.
5357 2013-01-09  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5359         * config/pa/pa.c (pa_emit_move_sequence): Replace calls to gen_insv
5360         with calls to gen_insvsi/gen_insvdi.
5362 2013-01-09  Venkataramanan Kumar  <venkataramanan.kumar@amd.com>
5364         * config/i386/i386.c (initial_ix86_tune_features): Set up
5365         X86_TUNE_AVX128_OPTIMAL for m_BTVER2.
5367 2013-01-09  Steven Bosscher  <steven@gcc.gnu.org>
5368             Jakub Jelinek  <jakub@redhat.com>
5370         PR tree-optimization/48189
5371         * predict.c (predict_loops): If max is 0, don't call compare_tree_int.
5372         If nitercst is 0, don't predict the exit edge.
5374 2013-01-08  Naveen H.S  <Naveen.Hurugalawadi@caviumnetworks.com>
5376         * config/aarch64/aarch64.c (aarch64_print_operand): Replace %r
5377         in asm_fprintf with reg_names.
5378         (aarch64_print_operand_address): Likewise.
5379         (aarch64_return_addr): Likewise.
5380         * config/aarch64/aarch64.h (ASM_FPRINTF_EXTENSIONS): Remove.
5382 2013-01-08  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5384         * config/pa/pa.h (VAL_U6_BITS_P): Define.
5385         (INT_U6_BITS): Likewise.
5386         * config/pa/predicates.md (uint6_operand): New predicate.
5387         (shift5_operand, shift6_operand): Likewise.
5388         * config/pa/pa.md (lshrsi3, rotrsi3): Use shift5_operand instead of
5389         arith32_operand.
5390         (lshrdi3): Use shift6_operand.
5391         (shrpsi4, shrpdi4): New insn patterns.
5392         (extzv): Delete expander.
5393         (extzvsi, extzvdi): New expanders.  Use uint5_operand and uint6_operand
5394         predicates in unamed zero extract patterns.  Tighten common constraint.
5395         (extv): Delete expander.
5396         (extvsi, extvdi): New expanders.  Use uint5_operand and uint6_operand
5397         predicates in unamed sign extract patterns.  Tighten common constraint.
5398         (insv): Delete expander.
5399         (insvsi, insvdi): New expanders.  Use uint5_operand and uint6_operand
5400         predicates in unamed insert patterns.  Tighten common constraint.
5401         Change uint32_operand predicate to uint6_operand predicate in unamed
5402         DImode pattern to insert constant values of type 1...1xxxx.
5404 2013-01-04  Jan Hubicka  <jh@suse.cz>
5406         PR tree-optimization/55823
5407         * ipa-prop.c (update_indirect_edges_after_inlining): Fix ordering
5408         issue.
5410 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
5411             Uros Bizjak  <ubizjak@gmail.com>
5413         PR rtl-optimization/55845
5414         * df-problems.c (can_move_insns_across): Stop scanning at
5415         volatile_insn_p source instruction or give up if
5416         across_from .. across_to range contains any volatile_insn_p
5417         instructions.
5419 2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
5421         * config/aarch64/aarch64-simd.md (vec_init<mode>): New.
5422         * config/aarch64/aarch64-protos.h (aarch64_expand_vector_init):
5423         Declare.
5424         * config/aarch64/aarch64.c (aarch64_simd_dup_constant,
5425         aarch64_simd_make_constant, aarch64_expand_vector_init): New.
5427 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
5429         PR fortran/55341
5430         * asan.c (asan_clear_shadow): New function.
5431         (asan_emit_stack_protection): Use it.
5433 2013-01-08  Tejas Belagod  <tejas.belagod@arm.com>
5435         * config/aarch64/aarch64-simd.md (aarch64_simd_vec_<su>mult_lo_<mode>,
5436         aarch64_simd_vec_<su>mult_hi_<mode>): Separate instruction and operand
5437         with tab instead of space.
5439 2013-01-08  Nick Clifton  <nickc@redhat.com>
5441         * config/rl78/rl78.c (rl78_expand_prologue): Always select
5442         register bank 0 at the start of an interrupt handler.
5443         * config/rl78/rl78.md (mulsi3_g13): Correct values for MDBL and
5444         MDBH registers.
5446 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
5448         * config/aarch64/aarch64-simd.md
5449         (aarch64_simd_bsl<mode>_internal): Add floating-point modes.
5450         (aarch64_simd_bsl): Likewise.
5451         (aarch64_vcond_internal<mode>): Likewise.
5452         (vcond<mode><mode>): Likewise.
5453         (aarch64_cm<cmp><mode>): Fix constraints, add new modes.
5454         * config/aarch64/iterators.md (V_cmp_result): Add V2DF.
5456 2013-01-08  James Greenhalgh  <james.greenhalgh@arm.com>
5458         * config/aarch64/aarch64-builtins.c
5459         (aarch64_builtin_vectorized_function): Handle sqrt, sqrtf.
5461 2013-01-08  Martin Jambor  <mjambor@suse.cz>
5463         PR debug/55579
5464         * tree-sra.c (analyze_access_subtree): Return true also after
5465         potentially creating a debug-only replacement.
5467 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
5469         PR middle-end/55890
5470         * tree-ssa-ccp.c (evaluate_stmt): Use gimple_call_builtin_p.
5472         PR tree-optimization/54120
5473         * tree-vrp.c (range_fits_type_p): Don't allow
5474         src_precision < precision from signed vr to unsigned_p
5475         if vr->min or vr->max is negative.
5476         (simplify_float_conversion_using_ranges): Test can_float_p
5477         against CODE_FOR_nothing.
5479 2013-01-08  Jakub Jelinek  <jakub@redhat.com>
5480             Richard Biener  <rguenther@suse.de>
5482         PR middle-end/55851
5483         * fold-const.c (int_binop_types_match_p): Allow all INTEGRAL_TYPE_P
5484         types instead of just INTEGER_TYPE types.
5486 2013-01-07  Mark Kettenis  <kettenis@openbsd.org>
5488         * config/i386/openbsdelf.h (LIBGCC2_HAS_TF_MODE, LIBGCC2_TF_CEXT,
5489         TF_SIZE): Define.
5491 2013-01-07  Steve Ellcey  <sellcey@mips.com>
5493         PR target/42661
5494         * config/mips/mips.opt: Change mad to mmad to match documentation.
5496 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
5498         PR target/55897
5499         * doc/extend.texi (AVR Named Address Spaces): __memx goes into
5500         .progmemx.data now.
5502 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
5504         PR target/55897
5505         * config/avr/avr.h (ADDR_SPACE_COUNT): New enum.
5506         (avr_addrspace_t): Add .section_name field.
5507         * config/avr/avr.c (progmem_section): Use ADDR_SPACE_COUNT as
5508         array size.
5509         (avr_addrspace): Same.  Initialize .section_name.  Remove last
5510         NULL entry.  Put __memx into .progmemx.data.
5511         (progmem_section_prefix): Remove.
5512         (avr_asm_init_sections): No need to initialize progmem_section.
5513         (avr_asm_named_section): Use avr_addrspace[].section_name to get
5514         section name prefix.
5515         (avr_asm_select_section): Ditto.  And use get_unnamed_section to
5516         retrieve the progmem section.
5517         * avr-c.c (avr_cpu_cpp_builtins): Use ADDR_SPACE_COUNT as loop
5518         boundary to run over avr_addrspace[].
5519         (avr_register_target_pragmas): Ditto.
5521 2013-01-06  Jakub Jelinek  <jakub@redhat.com>
5523         * varasm.c (output_constant_def_contents): For asan_protect_global
5524         protected strings, adjust DECL_ALIGN if needed, before testing for
5525         anchored symbols.
5526         (place_block_symbol): Adjust size for asan protected STRING_CSTs if
5527         TREE_CONSTANT_POOL_ADDRESS_P.  Increase alignment for asan protected
5528         normal decls.
5529         (output_object_block): For asan protected decls, emit asan padding
5530         after their contents.
5531         * asan.c (asan_protect_global): Don't check TREE_ASM_WRITTEN here.
5532         (asan_finish_file): Test it here instead.
5534 2013-01-07  Nick Clifton  <nickc@redhat.com>
5535             Matthias Klose  <doko@debian.org>
5536             Doug Kwan  <dougkwan@google.com>
5537             H.J. Lu  <hongjiu.lu@intel.com>
5539         PR driver/55470
5540         * collect2.c (main): Support -fuse-ld=bfd and -fuse-ld=gold.
5542         * common.opt: Add fuse-ld=bfd and fuse-ld=gold.
5544         * gcc.c (LINK_COMMAND_SPEC): Pass -fuse-ld=* to collect2.
5546         * opts.c (comman_handle_option): Ignore -fuse-ld=bfd and -fuse-ld=gold.
5548         * doc/invoke.texi: Document -fuse-ld=bfd and -fuse-ld=gold.
5550 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
5552         PR target/54461
5553         * doc/install.texi (Cross-Compiler-Specific Options): Document
5554         --with-avrlibc.
5556 2013-01-07  Tejas Belagod  <tejas.belagod@arm.com>
5558         * config/aarch64/arm_neon.h (vmovn_high_is16, vmovn_high_s32,
5559         vmovn_high_s64, vmovn_high_u16, vmovn_high_u32, vmovn_high_u64,
5560         vqmovn_high_s16, vqmovn_high_s32, vqmovn_high_s64, vqmovn_high_u16,
5561         vqmovn_high_u32, vqmovn_high_u64, vqmovun_high_s16, vqmovun_high_s32,
5562         vqmovun_high_s64): Fix source operand number and update copyright.
5564 2013-01-07  Richard Biener  <rguenther@suse.de>
5566         PR middle-end/55890
5567         * gimple.h (gimple_call_builtin_p): New overload.
5568         * gimple.c (validate_call): New function.
5569         (gimple_call_builtin_p): Likewise.
5570         * tree-ssa-structalias.c (find_func_aliases_for_builtin_call):
5571         Use gimple_call_builtin_p.
5572         (find_func_clobbers): Likewise.
5573         * tree-ssa-strlen.c (adjust_last_stmt): Likewise.
5574         (strlen_optimize_stmt): Likewise.
5576 2013-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
5578         * config/aarch64/arm_neon.h (vld1_dup_*): Make argument const.
5579         (vld1q_dup_*): Likewise.
5580         (vld1_*): Likewise.
5581         (vld1q_*): Likewise.
5582         (vld1_lane_*): Likewise.
5583         (vld1q_lane_*): Likewise.
5585 2013-01-07  Richard Biener  <rguenther@suse.de>
5587         * lto-streamer.h (LTO_minor_version): Bump to 2.
5589 2013-01-07  James Greenhalgh  <james.greenhalgh@arm.com>
5591         * config/aarch64/aarch64-protos.h
5592         (aarch64_const_double_zero_rtx_p): Rename to...
5593         (aarch64_float_const_zero_rtx_p): ...this.
5594         (aarch64_float_const_representable_p): New.
5595         (aarch64_output_simd_mov_immediate): Likewise.
5596         * config/aarch64/aarch64-simd.md (*aarch64_simd_mov<mode>): Refactor
5597         move immediate case.
5598         * config/aarch64/aarch64.c
5599         (aarch64_const_double_zero_rtx_p): Rename to...
5600         (aarch64_float_const_zero_rtx_p): ...this.
5601         (aarch64_print_operand): Allow printing of new constants.
5602         (aarch64_valid_floating_const): New.
5603         (aarch64_legitimate_constant_p): Check for valid floating-point
5604         constants.
5605         (aarch64_simd_valid_immediate): Likewise.
5606         (aarch64_vect_float_const_representable_p): New.
5607         (aarch64_float_const_representable_p): Likewise.
5608         (aarch64_simd_imm_zero_p): Also allow for floating-point 0.0.
5609         (aarch64_output_simd_mov_immediate): New.
5610         * config/aarch64/aarch64.md (*movsf_aarch64): Add new alternative.
5611         (*movdf_aarch64): Likewise.
5612         * config/aarch64/constraints.md (Ufc): New.
5613         (Y): call aarch64_float_const_zero_rtx.
5614         * config/aarch64/predicates.md (aarch64_fp_compare_operand): New.
5616 2013-01-07  Richard Biener  <rguenther@suse.de>
5618         PR tree-optimization/55888
5619         PR tree-optimization/55862
5620         * tree-ssa-pre.c (phi_translate_1): Revert previous change.
5621         (valid_in_sets): Check if a NAME has a leader in AVAIL_OUT,
5622         not if it is contained therein.
5624 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
5626         * config/avr/t-avr: Typo.
5628 2013-01-07  Georg-Johann Lay  <avr@gjlay.de>
5630         PR55243
5631         * config/avr/t-avr: Don't automatically rebuild
5632         $(srcdir)/config/avr/t-multilib
5633         $(srcdir)/config/avr/avr-tables.opt
5634         $(srcdir)/doc/avr-mmcu.texi
5635         (avr-mcus): New phony target to build them on request.
5636         (s-avr-mlib, s-avr-mmcu-texi): Remove.
5637         * avr/avr-mcus.def: Adjust comments.
5639 2013-01-07  Uros Bizjak  <ubizjak@gmail.com>
5641         * config/i386/i386.c (DEFAULT_PCC_STRUCT_RETURN): Remove.
5643 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
5645         * file-find.c, file-find.h, realmpfr.c: Add FSF as copyright holder.
5647 2013-01-06  Richard Sandiford  <rdsandiford@googlemail.com>
5649         * config/tilepro/gen-mul-tables.cc: Put copyright on one line.
5651 2013-01-05  David Edelsohn  <dje.gcc@gmail.com>
5653         * config/rs6000/aix53.h (LIB_SPEC): Add -lpthreads when compiling
5654         to generate profiling.
5655         * config/rs6000/aix64.h (LIB_SPEC): Same.
5657 2013-01-04  Andrew Pinski  <apinski@cavium.com>
5659         * config/aarch64/aarch64.c (aarch64_fixed_condition_code_regs):
5660         New function.
5661         (TARGET_FIXED_CONDITION_CODE_REGS): Define.
5663 2013-01-04  Uros Bizjak  <ubizjak@gmail.com>
5665         * config/i386/i386.c (ix86_legitimize_address): Call convert_to_mode
5666         unconditionally.
5667         (ix86_expand_move): Ditto.
5668         (ix86_zero_extend_to_Pmode): Ditto.
5669         (ix86_expand_call): Ditto.
5670         (ix86_expand_special_args_builtin): Ditto.
5671         (ix86_expand_builtin): Ditto.
5673 2013-01-04  Richard Biener  <rguenther@suse.de>
5675         PR tree-optimization/55862
5676         * tree-ssa-pre.c (phi_translate_1): Valueize SSA names after
5677         translating them through PHI nodes.
5679 2013-01-04  Martin Jambor  <mjambor@suse.cz>
5681         PR tree-optimization/55755
5682         * tree-sra.c (sra_modify_assign): Do not check that an access has no
5683         children when trying to avoid producing a VIEW_CONVERT_EXPR.
5685 2013-01-04  Marek Polacek  <polacek@redhat.com>
5687         PR middle-end/55859
5688         * opts.c (default_options_optimization): Clarify error message.
5690 2013-01-04  Richard Biener  <rguenther@suse.de>
5692         PR middle-end/55863
5693         * fold-const.c (split_tree): Undo -X - 1 to ~X folding for
5694         reassociation.
5696 2013-01-03  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5698         PR target/53789
5699         * config/pa/pa.md (movsi): Revert previous change.
5700         * config/pa/pa.c (pa_legitimate_constant_p): Reject all TLS symbol
5701         references.
5703 2013-01-03  Richard Henderson  <rth@redhat.com>
5705         * config/i386/i386.c (ix86_expand_move): Always assign to op1
5706         after eliminating TLS symbols.
5708 2013-01-03  Marc Glisse  <marc.glisse@inria.fr>
5710         PR bootstrap/50167
5711         * graphite-interchange.c (pdr_stride_in_loop): Use gmp_fprintf.
5712         * graphite-poly.c (debug_gmp_value): Likewise.
5714 2013-01-03  Uros Bizjak  <ubizjak@gmail.com>
5716         PR target/55712
5717         * config/i386/i386-c.c (ix86_target_macros_internal): Depending on
5718         selected code model, define __code_mode_small__, __code_model_medium__,
5719         __code_model_large__, __code_model_32__ or __code_model_kernel__.
5720         * config/i386/cpuid.h (__cpuid, __cpuid_count) [__i386__]: Prefix
5721         xchg temporary register with %k.  Declare temporary register as
5722         early clobbered.
5723         [__x86_64__]: For medium and large code models, preserve %rbx register.
5725 2013-01-03  Richard Biener  <rguenther@suse.de>
5727         * tree-data-ref.c (dump_conflict_function): Use less vertical spacing.
5728         (dump_subscript): Adjust.
5729         (finalize_ddr_dependent): Do not dump redundant info.
5730         (analyze_siv_subscript): Adjust.
5731         (subscript_dependence_tester): Likewise.
5732         (compute_affine_dependence): Likewise.
5734 2013-01-03  Richard Biener  <rguenther@suse.de>
5736         Revert
5737         2013-01-03  Richard Biener  <rguenther@suse.de>
5739         PR tree-optimization/55857
5740         * tree-vect-stmts.c (vectorizable_load): Do not setup
5741         re-alignment for invariant loads.
5743         2013-01-02  Richard Biener  <rguenther@suse.de>
5745         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
5746         invariant load do not generate a vector load from the scalar location.
5748 2013-01-03  Richard Biener  <rguenther@suse.de>
5750         * tree-vect-loop.c (vect_analyze_loop_form): Clarify reason
5751         for not vectorizing.
5752         * tree-vect-data-refs.c (vect_create_addr_base_for_vector_ref): Do
5753         not build INDIRECT_REFs, call get_name once only.
5754         (vect_create_data_ref_ptr): Likewise.  Dump base object kind
5755         based on DR_BASE_OBJECT, not DR_BASE_ADDRESS.
5757 2013-01-03  Richard Biener  <rguenther@suse.de>
5759         PR tree-optimization/55857
5760         * tree-vect-stmts.c (vectorizable_load): Do not setup
5761         re-alignment for invariant loads.
5763 2013-01-03  Richard Biener  <rguenther@suse.de>
5765         PR lto/55848
5766         * lto-symtab.c (lto_symtab_merge_decls_1): As last resort, always
5767         prefer a built-in decl.
5769 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
5771         * gcc.c (process_command): Update copyright notice dates.
5772         * gcov.c (print_version): Likewise.
5773         * gcov-dump.c (print_version): Likewise.
5775         PR rtl-optimization/55838
5776         * loop-iv.c (iv_number_of_iterations): Call lowpart_subreg on
5777         iv0.step, iv1.step and step.
5779 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
5780             Marc Glisse  <marc.glisse@inria.fr>
5782         PR tree-optimization/55832
5783         * fold-const.c (fold_binary_loc): For ABS_EXPR<x> >= 0 and
5784         ABS_EXPR<x> < 0 folding use constant_boolean_node instead of
5785         integer_{one,zero}_node.
5787 2013-01-03  Jakub Jelinek  <jakub@redhat.com>
5789         PR debug/54402
5790         * params.def (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE): New param.
5791         * var-tracking.c (reverse_op): Don't add reverse ops to
5792         VALUEs that have already
5793         PARAM_VALUE (PARAM_MAX_VARTRACK_REVERSE_OP_SIZE) or longer locs list.
5795 2013-01-02  Gerald Pfeifer  <gerald@pfeifer.com>
5797         * doc/contrib.texi: Note years as release manager for Mark Mitchell.
5799 2013-01-02  Teresa Johnson  <tejohnson@google.com>
5801         * dumpfile.c (dump_loc): Print filename with location.
5802         * tree-ssa-loop-ivcanon.c (try_unroll_loop_completely): Use
5803         new location_t parameter to emit complete unroll message with
5804         new dump framework.
5805         (canonicalize_loop_induction_variables): Compute loops location
5806         and pass to try_unroll_loop_completely.
5807         * loop-unroll.c (report_unroll_peel): New function.
5808         (peel_loops_completely): Use new dump format with location
5809         for main dumpfile message, and invoke report_unroll_peel on success.
5810         (decide_unrolling_and_peeling): Ditto.
5811         (decide_peel_once_rolling): Remove old dumpfile message subsumed
5812         by report_unroll_peel.
5813         (decide_peel_completely): Ditto.
5814         (decide_unroll_constant_iterations): Ditto.
5815         (decide_unroll_runtime_iterations): Ditto.
5816         (decide_peel_simple): Ditto.
5817         (decide_unroll_stupid): Ditto.
5818         * cfgloop.c (get_loop_location): New function.
5819         * cfgloop.h (get_loop_location): Declare.
5821 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
5823         * config/i386/i386.c (fold_builtin_cpu): Remove unnecessary checks for
5824         NULL.
5826 2013-01-02  John David Anglin  <dave.anglin@nrc-cnrc.gc.ca>
5828         PR middle-end/55198
5829         * expr.c (expand_expr_real_1): Don't use bitfield extraction for non
5830         BLKmode objects when EXPAND_MEMORY is specified.
5832 2013-01-02  Sriraman Tallam  <tmsriram@google.com>
5834         * config/i386/i386.c (ix86_get_function_versions_dispatcher): Fix bug
5835         in loop predicate.
5836         (fold_builtin_cpu): Do not share cpu model decls across statements.
5838 2013-01-02  Jason Merrill  <jason@redhat.com>
5840         PR c++/55804
5841         * tree.c (build_array_type_1): Revert earlier change.
5843 2013-01-02  Yufeng Zhang  <yufeng.zhang@arm.com>
5845         * config/aarch64/aarch64-cores.def: Add entries for "cortex-a53" and
5846         "cortex-a57".
5847         * config/aarch64/aarch64-tune.md: Re-generate.
5849 2013-01-02  Richard Biener  <rguenther@suse.de>
5851         * tree-vect-stmts.c (vectorizable_load): When vectorizing an
5852         invariant load do not generate a vector load from the scalar location.
5854 2013-01-02  Richard Biener  <rguenther@suse.de>
5856         PR bootstrap/55784
5857         * configure.ac: Add $GMPINC to CFLAGS/CXXFLAGS.
5858         * configure: Regenerate.
5860 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
5862         * builtins.c (expand_builtin_mathfn, expand_builtin_mathfn_2)
5863         (expand_builtin_mathfn_ternary, expand_builtin_mathfn_3)
5864         (expand_builtin_int_roundingfn_2): Keep the original target around
5865         for the fallback case.
5867 2013-01-02  Richard Sandiford  <rdsandiford@googlemail.com>
5869         * tree-vrp.c (range_fits_type_p): Require the MSB of the double_int
5870         to be clear for sign changes.
5872 2013-01-01  Jan Hubicka  <jh@suse.cz>
5874         * ipa-inline-analysis.c: Fix formatting.
5876 2013-01-01  Jakub Jelinek  <jakub@redhat.com>
5878         PR tree-optimization/55831
5879         * tree-vect-loop.c (get_initial_def_for_induction): Use
5880         gsi_after_labels instead of gsi_start_bb.
5882 Copyright (C) 2013 Free Software Foundation, Inc.
5884 Copying and distribution of this file, with or without modification,
5885 are permitted in any medium without royalty provided the copyright
5886 notice and this notice are preserved.