OSDN Git Service

PR target/34709
[pf3gnuchains/gcc-fork.git] / gcc / ChangeLog
index 08cc05c..a3b360f 100644 (file)
@@ -1,3 +1,193 @@
+2008-01-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/34709
+       Revert:
+
+       2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
+       * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
+       for TARGET_RECIP.       
+       
+2008-01-08  Jan Sjodin  <jan.sjodin@amd.com>
+       
+       * config/i386/i386.c (k8_cost, amdfam10_cost): Branch costs
+       for vectorization tuned.
+       
+2008-01-08  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/34683
+       * tree-ssa-operands.c (operand_build_cmp): Export.
+       * tree-ssa-operands.h (operand_build_cmp): Declare.
+       * tree-vn.c (vuses_compare): Remove.
+       (sort_vuses): Use operand_build_cmp.
+       (sort_vuses_heap): Likewise.
+       * tree-ssa-sccvn.c (vuses_to_vec): Use VEC_reserve, not VEC_alloc
+       to re-use old VEC if available.  Do not sort already sorted VUSEs.
+       (vdefs_to_vec): Do not sort already sorted VDEFs.
+
+2008-01-08  Jakub Jelinek  <jakub@redhat.com>
+
+       PR middle-end/34694
+       * omp-low.c (copy_var_decl): Copy also DECL_SOURCE_LOCATION.
+
+2008-01-08  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/34702
+       * doc/invoke.texi (i386 and x86-64 Options) [mrecip]: Document
+       limitations of reciprocal sequences on x86 targets.
+
+2008-01-08  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/34683
+       * tree-flow-inline.h (var_ann): Remove overzealous asserts.
+
+2008-01-07  Jakub Jelinek  <jakub@redhat.com>
+
+       PR target/34622
+       * config/darwin.c (darwin_mergeable_string_section): Don't use
+       .cstring if int_size_in_bytes != TREE_STRING_LENGTH.
+
+2008-01-07  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/34682
+       * config/i386/i386.md (neg<mode>2): Rename from negsf2, negdf2 and
+       negxf2.  Macroize expander using X87MODEF mode iterator.  Change
+       predicates of op0 and op1 to register_operand.
+       (abs<mode>2): Rename from abssf2, absdf2 and negxf2.  Macroize
+       expander using X87MODEF mode iterator.  Change predicates of
+       op0 and op1 to register_operand.
+       ("*absneg<mode>2_mixed", "*absneg<mode>2_sse"): Rename from
+       corresponding patterns and macroize using MODEF macro.  Change
+       predicates of op0 and op1 to register_operand and remove
+       "m" constraint. Disparage "r" alternative with "!".
+       ("*absneg<mode>2_i387"): Rename from corresponding patterns and
+       macroize using X87MODEF macro.  Change predicates of op0 and op1
+       to register_operand and remove "m" constraint.  Disparage "r"
+       alternative with "!".
+       (absneg splitter with memory operands): Remove.
+       ("*neg<mode>2_1", "*abs<mode>2_1"): Rename from corresponding
+       patterns and macroize using X87MODEF mode iterator.
+       * config/i386/sse.md (negv4sf2, absv4sf2, neg2vdf2, absv2df2):
+       Change predicate of op1 to register_operand.
+       * config/i386/i386.c (ix86_expand_fp_absneg_operator): Remove support
+       for memory operands.
+
+2008-01-07  Nathan Froyd  <froydnj@codesourcery.com>
+
+       * config/rs6000/rs6000.h (ASM_CPU_SPEC): Add clause for mcpu=8548.
+
+2008-01-07  Richard Guenther  <rguenther@suse.de>
+
+       * basic-block.h (struct edge_def): Pair dest_idx with goto_locus
+       fields.
+
+2008-01-07  Richard Guenther  <rguenther@suse.de>
+
+       PR tree-optimization/34683
+       * tree-ssa-sccvn.c (vuses_to_vec): Pre-allocate the vector of
+       VOPs of the needed size to save memory.  Use VEC_quick_push
+       to save compile-time.
+       (vdefs_to_vec): Likewise.
+
+2008-01-07  Sa Liu  <saliu@de.ibm.com>
+
+       * config/spu/spu.md (divdf3): Genetate inline code for double
+       division.  The implementation doesn't handle INF or NAN, therefore it
+       only applies when -ffinite-math-only is given.
+
+2008-01-06  Paolo Carlini  <pcarlini@suse.de>
+
+       PR libstdc++/34680
+       * c-cppbuiltin.c (c_cpp_builtins): Define __GXX_RTTI, if appropriate.
+       * doc/cpp.texi ([Common Predefined Macros]): Document.
+
+2008-01-06  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_emit_swsqrtsf): Use negative constants in
+       order to use commutative addition instead of subtraction.
+
+2008-01-06  Andrew Pinski  <andrew_pinski@playstation.sony.com>
+           Mircea Namolaru  <namolaru@il.ibm.com>
+           Vladimir Yanovsky  <yanov@il.ibm.com>
+           Revital Eres  <eres@il.ibm.com>
+
+       PR tree-optimization/34263
+       * tree-outof-ssa.c (process_single_block_loop_latch,
+       contains_tree_r): New functions.
+       (analyze_edges_for_bb): Call process_single_block_loop_latch
+       function to empty single-basic-block latch block if possible.
+
+2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       * config/i386/i386.c (ix86_builtin_reciprocal): Remove check
+       for TARGET_RECIP.
+       (ix86_emit_swsqrtsf): Do not filter out infinity for rsqrt expansion.
+
+2008-01-05  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * c-omp.c (check_omp_for_incr_expr): Handle CONVERT_EXPR.
+
+2008-01-05  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * config/mips/mips.c (mips_in_small_data_p): Reinstate size > 0 check.
+
+2008-01-05  Jakub Jelinek  <jakub@redhat.com>
+
+       PR tree-optimization/34618
+       * tree-outof-ssa.c (create_temp): Copy over DECL_GIMPLE_REG_P
+       flag from T.
+
+2008-01-05  Uros Bizjak  <ubizjak@gmail.com>
+
+       PR target/34673
+       * config/i386/i386.c (ix86_emit_swsqrtsf): Swap input operands
+       in the call to gen_rtx_NE.  Remove unneeded VECTOR_MODE_P check.
+       Update copyright year.
+
+       * config/i386/i386.md (rsqrtsf2): Enable for TARGET_SSE_MATH.
+       Update copyright year.
+       * config/i386/sse.md (rsqrtv4sf2): Ditto. Unconditionally expand
+       using NR fixup.
+
+2008-01-05  Zhouyi Zhou  <zhouzhouyi@FreeBSD.org>
+
+       * tree-vrp.c (find_conditional_asserts): Remove redundant check that
+       edge does not point to current bb before changing need_assert.
+
+2008-01-04  Richard Guenther  <rguenther@suse.de>
+
+       PR middle-end/34029
+       * tree-cfg.c (verify_expr): Do not look inside ADDR_EXPRs
+       for verifying purposes if they are is_gimple_min_invariant.
+
+2008-01-04  Aldy Hernandez  <aldyh@redhat.com>
+
+       PR tree-optimization/34448
+       PR tree-optimization/34465
+       * gimplify.c (gimplify_init_constructor): Add new parameter
+       notify_temp_creation.  Use it.
+       (gimplify_modify_expr_rhs): Take volatiles into account when
+       optimizing constructors.
+       Do not optimize constructors if gimplify_init_constructor will dump to
+       memory.
+       * gcc.dg/tree-ssa/pr32901.c: Tests const volatiles.
+       * gcc.c-torture/compile/pr34448.c: New.
+
+2008-01-04  Jakub Jelinek  <jakub@redhat.com>
+
+       PR gcov-profile/34609
+       * tree-inline.c (declare_return_variable): Set TREE_ADDRESSABLE on
+       return_slot if result is TREE_ADDRESSABLE.
+
+2008-01-04  Richard Sandiford  <rsandifo@nildram.co.uk>
+
+       * config/mips/mips.md (sqrt_condition): Tweak comment.
+       (recip_condition): Likewise.  Require TARGET_FLOAT64 for DFmode.
+
+2008-01-03  Tom Tromey  <tromey@redhat.com>
+
+       PR c/34457
+       * c-common.c (c_type_hash): Handle VLAs.
+
 2008-01-03  Jan Hubicka  <jh@suse.cz>
 
        PR tree-optimization/31081
        * doc/extend.texi (Labels as Values): Document &&foo behaviour
        vs. inlining.
 
-2007-12-19  Sebastian Pop  <sebastian.pop@amd.com>
+2008-01-03  Sebastian Pop  <sebastian.pop@amd.com>
 
        PR tree-optimization/34635
        * tree-data-ref.c (add_other_self_distances): Make sure that the
 2008-01-03  Jakub Jelinek  <jakub@redhat.com>
 
        PR middle-end/34608
-       * omp-low.c (expand_omp_parallel): Purge dead EH edges in the
-       child fn.
+       * omp-low.c (expand_omp_parallel): Purge dead EH edges in the child fn.
 
 2008-01-02  Richard Sandiford  <rsandifo@nildram.co.uk>
 
 
 2008-01-02  Arthur Norman <acn1@cam.ac.uk>
 
-       PR 34013
-       * gcc/config/i386/i386.c: (ix86_expand_prologue): Save red-zone
+       PR target/34013
+       * gcc/config/i386/i386.c (ix86_expand_prologue): Save red-zone
        while stack probing.
 
 2008-01-01  Douglas Gregor  <doug.gregor@gmail.com>
 
        * c-opts.c (sanitize_cpp_opts): Don't warn about "long long" when
-       in C++0x mode.
+       in C++0x mode.
 
 2008-01-01  Volker Reichelt  <v.reichelt@netcologne.de>
 
 
 2007-12-06  Tom Tromey  <tromey@redhat.com>
 
-       PR c/29172:
+       PR c/29172
        * c-opts.c (c_common_parse_file): Call cpp_clear_file_cache.
 
 2007-12-06  Richard Sandiford  <rsandifo@nildram.co.uk>
 
 2007-11-06  Tom Tromey  <tromey@redhat.com>
 
-       PR c++/32256, PR c++/32368:
+       PR c++/32256
+       PR c++/32368
        * function.c (saved_in_system_header): New global.
        (push_cfun): Save in_system_header.
        (pop_cfun): Restore in_system_header.
 
 2007-03-13  David Taylor  <taylor@candd.org>
 
-       PR driver/12448:
+       PR driver/12448
        * gcc.c (cpp_unique_options): If -MT or -MQ is seen, don't pass
        default -MQ.
 
 
 2007-01-11  Tom Tromey  <tromey@redhat.com>
 
-       PR preprocessor/15185, PR preprocessor/20989:
+       PR preprocessor/15185
+       PR preprocessor/20989
        * doc/cppopts.texi <-MT>: Update description of algorithm for
        computing default target.
        <-M, -MD>: Reword "basename" text.