1. 20 Aug, 2008 24 commits
  2. 19 Aug, 2008 11 commits
    • fp-int-convert-float.c: Reenable test on SPU. · 0861615e
      testsuite/ChangeLog:
      
      	* gcc.dg/torture/fp-int-convert-float.c: Reenable test on SPU.
      	* gcc.dg/torture/fp-int-convert-timode.c: Reenable "float" test on SPU.
      
      From-SVN: r139239
      Ulrich Weigand committed
    • passes.c (init_optimization_passes): Exchange store-ccp with a ccp pass. · a4b8a65f
      2008-08-19  Richard Guenther  <rguenther@suse.de>
      
      	* passes.c (init_optimization_passes): Exchange store-ccp
      	with a ccp pass.
      
      	* gcc.dg/tree-ssa/ssa-ccp-14.c: XFAIL.
      
      From-SVN: r139234
      Richard Guenther committed
    • varasm.c (weak_decls): Move earlier in the file. · 21fe7edc
      2008-08-19  Rafael Espindola  <espindola@google.com>
      
            * varasm.c (weak_decls): Move earlier in the file.
            (assemble_external): Add weak decls to the weak_decls list.
            (declare_weak): Don't add decls to the weak_decls list.
      
      From-SVN: r139233
      Rafael Avila de Espindola committed
    • re PR target/37157 (Wrong insn for _mm_unpackhi_epi64) · b8aaf506
      gcc/
      
      2008-08-19  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/37157
      	* config/i386/sse.md (sse2_punpckhqdq, sse2_punpcklqdq): Moved
      	before (sse2_shufpd_<mode>).
      
      gcc/testsuite/
      
      2008-08-19  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/37157
      	* gcc.target/i386/sse2-unpack-1.c: New.
      
      From-SVN: r139232
      H.J. Lu committed
    • re PR debug/37156 (Hang with -g -O2 (or higher) (discovered with malloc.c in sqlite3)) · e92cbe3a
      	PR debug/37156
      	* pretty-print.c (pp_base_format): Deal with recursive BLOCK trees.
      	* tree.c (block_nonartificial_location): Likewise.
      
      	* error.c (cp_print_error_function): Deal with recursive BLOCK trees.
      
      	* gcc.dg/pr37156.c: New test.
      
      From-SVN: r139230
      Jakub Jelinek committed
    • re PR tree-optimization/35972 (load-PRE missed opportunities without SFTs) · 53f3815c
      2008-08-19  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/35972
      	PR tree-optimization/23094
      	* tree-ssa-sccvn.h (vn_reference_lookup_pieces): Add maywalk
      	parameter.
      	* tree-ssa-sccvn.c (copy_reference_ops_from_ref): Properly
      	handle MISALIGNED_INDIRECT_REF.
      	(get_ref_from_reference_ops): New helper.
      	(vn_reference_lookup_pieces): Walk the use-def chain using the
      	alias-oracle if requested.
      	* tree-ssa-pre.c (phi_translate_1): Do reference lookup with
      	walking the use-def chain.
      	(compute_avail): But not here.
      	(create_component_ref_by_pieces_1): Properly handle
      	MISALIGNED_INDIRECT_REF.
      	(do_regular_insertion): Handle fully redundant
      	expressions after PHI-translation also for SSA_NAME values, not
      	only constants.  Correctly use edoubleprime for that.
      
      	* gcc.dg/tree-ssa/ssa-pre-19.c: New testcase.
      	* gcc.dg/autopar/reduc-1.c: Move constant initialized arrays to
      	global memory.
      	* gcc.dg/autopar/reduc-1char.c: Likewise.
      	* gcc.dg/autopar/reduc-1short.c: Likewise.
      	* gcc.dg/autopar/reduc-2.c: Likewise.
      	* gcc.dg/autopar/reduc-2char.c: Likewise.
      	* gcc.dg/autopar/reduc-2short.c: Likewise.
      	* gcc.dg/autopar/reduc-3.c: Likewise.
      	* gcc.dg/tree-ssa/ifc-20040816-1.c: Likewise.
      	* gcc.dg/vect/costmodel/i386/costmodel-vect-reduc-1char.c: Likewise.
      	* gcc.dg/vect/costmodel/x86_64/costmodel-vect-reduc-1char.c: Likewise.
      	* gcc.dg/vect/fast-math-vect-reduc-5.c: Likewise.
      	* gcc.dg/vect/fast-math-vect-reduc-7.c: Likewise.
      	* gcc.dg/vect/no-trapping-math-2.c: Likewise.
      	* gcc.dg/vect/no-trapping-math-vect-111.c: Likewise.
      	* gcc.dg/vect/no-trapping-math-vect-ifcvt-11.c: Likewise.
      	* gcc.dg/vect/no-trapping-math-vect-ifcvt-12.c: Likewise.
      	* gcc.dg/vect/no-trapping-math-vect-ifcvt-13.c: Likewise.
      	* gcc.dg/vect/no-trapping-math-vect-ifcvt-14.c: Likewise.
      	* gcc.dg/vect/no-trapping-math-vect-ifcvt-15.c: Likewise.
      	* gcc.dg/vect/no-vfa-vect-37.c: Likewise.
      	* gcc.dg/vect/no-vfa-vect-depend-1.c: Likewise.
      	* gcc.dg/vect/pr18400.c: Likewise.
      	* gcc.dg/vect/slp-12b.c: Likewise.
      	* gcc.dg/vect/slp-14.c: Likewise.
      	* gcc.dg/vect/slp-7.c: Likewise.
      	* gcc.dg/vect/slp-15.c: Likewise.
      	* gcc.dg/vect/slp-16.c: Likewise.
      	* gcc.dg/vect/slp-17.c: Likewise.
      	* gcc.dg/vect/slp-24.c: Likewise.
      	* gcc.dg/vect/slp-28.c: Likewise.
      	* gcc.dg/vect/slp-3.c: Likewise.
      	* gcc.dg/vect/slp-34.c: Likewise.
      	* gcc.dg/vect/slp-6.c: Likewise.
      	* gcc.dg/vect/slp-8.c: Likewise.
      	* gcc.dg/vect/vect-107.c: Likewise.
      	* gcc.dg/vect/vect-108.c: Likewise.
      	* gcc.dg/vect/vect-11.c: Likewise.
      	* gcc.dg/vect/vect-112.c: Likewise.
      	* gcc.dg/vect/vect-115.c: Likewise.
      	* gcc.dg/vect/vect-11a.c: Likewise.
      	* gcc.dg/vect/vect-34.c: Likewise.
      	* gcc.dg/vect/vect-9.c: Likewise.
      	* gcc.dg/vect/vect-97.c: Likewise.
      	* gcc.dg/vect/vect-align-1.c: Likewise.
      	* gcc.dg/vect/vect-float-extend-1.c: Likewise.
      	* gcc.dg/vect/vect-floatint-conversion-1.c: Likewise.
      	* gcc.dg/vect/vect-ifcvt-16.c: Likewise.
      	* gcc.dg/vect/vect-ifcvt-17.c: Likewise.
      	* gcc.dg/vect/vect-ifcvt-2.c: Likewise.
      	* gcc.dg/vect/vect-ifcvt-3.c: Likewise.
      	* gcc.dg/vect/vect-ifcvt-4.c: Likewise.
      	* gcc.dg/vect/vect-ifcvt-5.c: Likewise.
      	* gcc.dg/vect/vect-ifcvt-6.c: Likewise.
      	* gcc.dg/vect/vect-ifcvt-7.c: Likewise.
      	* gcc.dg/vect/vect-intfloat-conversion-1.c: Likewise.
      	* gcc.dg/vect/vect-intfloat-conversion-2.c: Likewise.
      	* gcc.dg/vect/vect-intfloat-conversion-3.c: Likewise.
      	* gcc.dg/vect/vect-intfloat-conversion-4a.c: Likewise.
      	* gcc.dg/vect/vect-intfloat-conversion-4b.c: Likewise.
      	* gcc.dg/vect/vect-multitypes-2.c: Likewise.
      	* gcc.dg/vect/vect-multitypes-5.c: Likewise.
      	* gcc.dg/vect/vect-reduc-1.c: Likewise.
      	* gcc.dg/vect/vect-reduc-1char.c: Likewise.
      	* gcc.dg/vect/vect-reduc-1short.c: Likewise.
      	* gcc.dg/vect/vect-reduc-2.c: Likewise.
      	* gcc.dg/vect/vect-reduc-3.c: Likewise.
      	* gcc.dg/vect/vect-shift-1.c: Likewise.
      	* gcc.dg/vect/vect-strided-float.c: Likewise.
      	* gcc.dg/vect/vect-strided-store-u32-i2.c: Likewise.
      	* gcc.dg/vect/wrapv-vect-reduc-2char.c: Likewise.
      	* gcc.dg/vect/wrapv-vect-reduc-2short.c: Likewise.
      	* gcc.dg/tree-ssa/gen-vect-11.c: Likewise.
      	* gcc.dg/tree-ssa/gen-vect-11a.c: Likewise.
      	* gcc.dg/tree-ssa/gen-vect-2.c: Likewise.
      	* gcc.dg/vect/costmodel/ppc/costmodel-vect-76c.c: Likewise.
      
      From-SVN: r139226
      Richard Guenther committed
    • tree-vectorizer.c (supportable_widening_operation): Support multi-step conversion... · 5d593372
      	* tree-vectorizer.c (supportable_widening_operation): Support
      	multi-step conversion, return the number of steps in such conversion
      	and the required intermediate types.
      	(supportable_narrowing_operation): Likewise.
      	* tree-vectorizer.h (vect_pow2): New function.
      	(supportable_widening_operation): Change argument types.
      	(supportable_narrowing_operation): Likewise.
      	(vectorizable_type_promotion): Add an argument.
      	(vectorizable_type_demotion): Likewise.
      	* tree-vect-analyze.c (vect_analyze_operations): Call 
      	vectorizable_type_promotion and vectorizable_type_demotion with
      	additional argument.
      	(vect_get_and_check_slp_defs): Detect patterns.
      	(vect_build_slp_tree): Add an argument, don't fail in case of multiple
      	types. 
      	(vect_analyze_slp_instance): Don't fail in case of multiple types. Call
      	vect_build_slp_tree with correct arguments. Calculate unrolling factor
      	according to the smallest type in the loop.
      	(vect_detect_hybrid_slp_stmts): Include statements from patterns.
      	* tree-vect-patterns.c (vect_recog_widen_mult_pattern): Call 
      	supportable_widening_operation with correct arguments. 
      	* tree-vect-transform.c (vect_get_slp_defs): Allocate output vector 
      	operands lists according to the number of vector statements in left
      	or right node, if exists.
      	(vect_gen_widened_results_half): Remove unused argument.
      	(vectorizable_conversion): Call supportable_widening_operation, 
      	supportable_narrowing_operation, and vect_gen_widened_results_half
      	with correct arguments. 
      	(vectorizable_assignment): Change documentation, support multiple
      	types in SLP. 
      	(vectorizable_operation): Likewise.
      	(vect_get_loop_based_defs): New function.
      	(vect_create_vectorized_demotion_stmts): Likewise.
      	(vectorizable_type_demotion): Support loop-aware SLP and general
      	multi-step conversion. Call vect_get_loop_based_defs and
      	vect_create_vectorized_demotion_stmts for transformation.
      	(vect_create_vectorized_promotion_stmts): New function.
      	(vectorizable_type_promotion): Support loop-aware SLP and general
      	multi-step conversion. Call vect_create_vectorized_promotion_stmts
      	for transformation.	
      	(vectorizable_store): Change documentation, support multiple
      	types in SLP. 
      	(vectorizable_load): Likewise.
      	(vect_transform_stmt): Pass SLP_NODE to 
      	vectorizable_type_promotion and vectorizable_type_demotion.
      	(vect_schedule_slp_instance): Move here the calculation of number
      	of vectorized statements for each node from...
      	(vect_schedule_slp): ... here.
      	(vect_transform_loop): Call vect_schedule_slp without the last
      	argument.
      
      From-SVN: r139225
      Ira Rosen committed
    • re PR bootstrap/37152 (tree-vect-transform.c: use of "=" where "==" may have been intended) · 45ea82c1
              PR bootstrap/37152
              * tree-vect-transform.c (vect_create_epilog_for_reduction): Change =
              to == in assert statement.
              (vectorizable_reduction): Fix typo.
      
      From-SVN: r139224
      Dorit Nuzman committed
    • re PR libfortran/35863 ([F2003] Implement ENCODING="UTF-8") · cfd648ca
      2008-08-19  Tobias Burnus  <burnus@net-b.de>
      
             PR libfortran/35863
             * io/write.c (write_a_char4): Add missing variable declaration
             in HAVE_CRLF block.
      
      From-SVN: r139223
      Tobias Burnus committed
    • Daily bump. · 8b9d2005
      From-SVN: r139221
      GCC Administrator committed
    • * gcc.target/mips/ext-1.c: Add -mgp64 to dg-mips-options. · 956a82a1
      From-SVN: r139218
      Adam Nemet committed
  3. 18 Aug, 2008 5 commits