1. 21 Apr, 2007 6 commits
    • re PR c/30265 (Compound literal can cause invalid gimple) · c8a0a219
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR C/30265
              * c-gimplifier.c (gimplify_compound_literal_expr): Mark the
              decl as addressable if the compound literal was marked as
              addressable.
              Mark the decl as a gimple register if it is a complex or
              vector decl and does not live in memory.
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR C/30265
              * gcc.c-torture/compile/compound-literal-2.c: New testcase.
              * gcc.c-torture/compile/compound-literal-3.c: New testcase.
      
      From-SVN: r124024
      Andrew Pinski committed
    • re PR fortran/31495 (Is this continuation line legal?) · c284e499
      2007-04-21  Jerry DeLisle  <jvdelisle@gcc.gnu.org>
      
      	PR fortran/31495
      	* scanner.c (load_line):  Remove check for comment after ampersand and
      	adjust tracking of ampersand.
      
      From-SVN: r124022
      Jerry DeLisle committed
    • tree.h (GIMPLE_TUPLE_P): Also true for PHI_NODEs. · 3d95caa4
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * tree.h (GIMPLE_TUPLE_P): Also true for PHI_NODEs.
              (GENERIC_NEXT): New function macro.
              (PHI_CHAIN): Use phi_node's new chain variable.
              (tree_phi_node): Change tree_common to tree_base
              and add the chain field.
              * tree-phinodes.c (make_phi_node): Don't set
              TREE_TYPE on the new node.
              * c-decl.c (lang_tree_node): Use GENERIC_NEXT
              instead of checking GIMPLE_TUPLE_P in chain_next.
              * tree-vect-transform.c
              (get_initial_def_for_induction): Look at
              PHI_RESULT_TREE for the type of the phi node.
              (update_vuses_to_preheader): Use PHI_CHAIN
              instead of TREE_CHAIN on the phi node.
              * tree-ssa-structalias.c (compute_points_to_sets):
              Likewise.
              (ipa_pta_execute): Likewise.
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * cp-tree.h (lang_tree_node): Use GENERIC_NEXT
              instead of checking GIMPLE_STMT_P in chain_next.
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * ada-tree.h (lang_tree_node): Use GENERIC_NEXT
              instead of checking GIMPLE_STMT_P in chain_next.
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * f95-lang.c (lang_tree_node): Use GENERIC_NEXT
              instead of checking GIMPLE_STMT_P in chain_next.
      2007-04-21  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              * java-tree.h (lang_tree_node): Use GENERIC_NEXT
              instead of checking GIMPLE_STMT_P in chain_next.
      
      From-SVN: r124021
      Andrew Pinski committed
    • re PR tree-optimization/31136 (FRE ignores bit-field truncation (C and C++… · 84ece8ef
      re PR tree-optimization/31136 (FRE ignores bit-field truncation (C and C++ front-end don't produce bit-field truncation)
      
      2007-04-21  Richard Guenther  <rguenther@suse.de>
      
      	PR middle-end/31136
      	* fold-const.c (fold_unary): Call fold_convert_const on the
      	original tree.
      
      	* gcc.c-torture/execute/pr31136.c: New testcase.
      
      From-SVN: r124020
      Richard Guenther committed
    • * sv.po: Update. · fc52a144
      From-SVN: r124016
      Joseph Myers committed
    • gcse.c (store_killed_in_insn): Handle PARALLELs. · 1071bcbd
      gcc/ChangeLog:
      * gcse.c (store_killed_in_insn): Handle PARALLELs.
      (store_killed_in_pat): New.
      gcc/testsuite/ChangeLog:
      * gcc.target/i386/movsi-sm-1.c: New.
      
      From-SVN: r124015
      Alexandre Oliva committed
  2. 20 Apr, 2007 15 commits
  3. 19 Apr, 2007 12 commits
  4. 18 Apr, 2007 7 commits
    • Daily bump. · 5604bf10
      From-SVN: r123963
      GCC Administrator committed
    • darwin.md (load_macho_picbase): Use link register only. · 316fbf19
      2007-04-18  Eric Christopher  <echristo@apple.com>
      
              * config/rs6000/darwin.md (load_macho_picbase): Use link register
              only. Update operands.
              * config/rs6000/rs6000.c (rs6000_emit_prologue): Update caller.
              * config/rs6000/rs6000.md (builtin_setjmp_receiver): Ditto. Move from
              link register to pic register.
      
      From-SVN: r123960
      Eric Christopher committed
    • m68k.c (output_btst): Use `movew to ccr' when useful. · 5083912d
      2007-04-18  Philippe De Muyter  <phdm@macqel.be>
      
      	* config/m68k/m68k.c (output_btst): Use `movew to ccr' when useful.
      
      From-SVN: r123959
      Philippe De Muyter committed
    • re PR tree-optimization/31227 (-Warray-bounds doesn't play together with loop optimizations) · 05fb69e4
      2007-04-18  Dirk Mueller  <dmueller@suse.de>
      
             PR diagnostic/31227
             * tree-vrp.c (search_for_addr_array): New.
             (check_array_bounds): Suppress warning about
             address taken of array refs if its not de-referenced.
      
             * gcc.dg/Warray-bounds-3.c: New.
      
      From-SVN: r123958
      Dirk Mueller committed
    • tree-vectorizer.c (destroy_loop_vec_info): Set loop->aux to NULL. · 28e44f4f
              * tree-vectorizer.c (destroy_loop_vec_info): Set loop->aux to NULL.
              * tree-vect-analyze.c (vect_analyze_loop_form): Set loop->aux.
      
              * tree-vectorizer.h (NITERS_KNOWN_P): New.
              * tree-vect-analyze.c (vect_analyze_loop_form): Call NITERS_KNOWN_P
              instead of LOOP_VINFO_INT_NITERS to avoid having to geneate loop_info.
      
              * tree-vect-analyze.c (vect_determine_vectorization_factor): Add
              dump print.
              (vect_analyze_operations): Fix indenetation.  Fix a comment.  Fix a
              print message.
              (vect_analyze_scalar_cycles): Fix indentation.
              (vect_enhance_data_refs_alignment): Fix check in case of peeling.
              (vect_mark_relevant): Include phis in relevance analysis.
      
              * tree-vect-transform.c (vect_transform_loop): Add an assert.
      
      From-SVN: r123955
      Dorit Nuzman committed
    • natVMProxy.cc (ncode_closure): Add method_index. · f9d6deca
      2007-04-18  Andrew Haley  <aph@redhat.com>
      
              * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
              method_index.
              (generateProxyClass): Add field $Proxy0.m.  Store methods array in
              it.
              (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
              * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
              * java/lang/natClass.cc: Likewise.
              * headers.txt: Likewise.
              * java/lang/reflect/Method.h: Likewise.
      
      From-SVN: r123954
      Andrew Haley committed
    • natVMProxy.cc (ncode_closure): Add method_index. · 0df38d45
      2007-04-18  Andrew Haley  <aph@redhat.com>
      
              * java/lang/reflect/natVMProxy.cc (ncode_closure): Add
              method_index.
              (generateProxyClass): Add field $Proxy0.m.  Store methods array in
              it.
              (run_proxy): Retrieve the method to invoke from in $Proxy0.m.
              * java/lang/Class.h: Remove _Jv_LookupProxyMethod.
              * java/lang/natClass.cc: Likewise.
              * headers.txt: Likewise.
      
      From-SVN: r123953
      Andrew Haley committed