1. 08 Jan, 2010 3 commits
  2. 07 Jan, 2010 21 commits
    • re PR bootstrap/42424 (in-tree GMP/MPFR/MPC bootstrap fails) · 592c90ff
      	PR bootstrap/42424
      	* configure.ac: Include libtool m4 files.
              (_LT_CHECK_OBJDIR): Call it.
      	(extra_mpc_mpfr_configure_flags, extra_mpc_gmp_configure_flags,
      	gmplibs, ppllibs, clooglibs): Use $lt_cv_objdir.
      	
      	* configure: Regenerate.
      
      
      
      Co-Authored-By: Francois-Xavier Coudert <fxcoudert@gcc.gnu.org>
      
      From-SVN: r155712
      Kaveh R. Ghazi committed
    • Fix pathname. · d91ae0ab
      From-SVN: r155711
      H.J. Lu committed
    • re PR libffi/40701 (Many libffi tests fail to compile on Tru64 UNIX) · ec168029
      	PR libffi/40701
      	* testsuite/libffi.call/ffitest.h [__alpha__ && __osf__] (PRIdLL,
      	PRIuLL, PRId64, PRIu64, PRIuPTR): Define.
      	* testsuite/libffi.call/cls_align_sint64.c: Add -Wno-format on
      	alpha*-dec-osf*.
      	* testsuite/libffi.call/cls_align_uint64.c: Likewise.
      	* testsuite/libffi.call/cls_ulonglong.c: Likewise.
      	* testsuite/libffi.call/return_ll1.c: Likewise.
      	* testsuite/libffi.call/stret_medium2.c: Likewise.
      	* testsuite/libffi.special/ffitestcxx.h (allocate_mmap): Cast
      	MAP_FAILED to char *.
      
      From-SVN: r155710
      Rainer Orth committed
    • re PR bootstrap/41818 (Error building cross compiler caused by changing… · 60a2e213
      re PR bootstrap/41818 (Error building cross compiler caused by changing LD_LIBRARY_PATH environment variable in Makefile)
      
      Fix PR bootstrap/41818.
      
      /:
      	PR bootstrap/41818
      	* Makefile.tpl (BASE_TARGET_EXPORTS): Only add TARGET_LIB_PATH
      	to $(RPATH_ENVVAR) if bootstrapping.  Fix typo in comment.
      	* Makefile.in: Regenerate.
      
      From-SVN: r155706
      Ralf Wildenhues committed
    • re PR c++/40155 ([c++0x] variadic template pack problem) · c8f4e43a
      Fix PR c++/40155
      
      gcc/cp/ChangeLog:
      	c++/40155
      	* pt.c (unify_pack_expansion): In non-deduced contexts, re-use template
      	arguments that were previously deduced.
      
      gcc/testsuite/ChangeLog:
      	c++/40155
      	* g++.dg/cpp0x/variadic-unify-2.C: New test.
      
      From-SVN: r155705
      Dodji Seketeli committed
    • evolution.xml: Fix typos, update. · f52ac76f
      2010-01-07  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/xml/manual/evolution.xml: Fix typos, update.
      
      From-SVN: r155704
      Benjamin Kosnik committed
    • Update loop-block testcases. · 11d6ea5e
      2010-01-06  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-blocking.c (scop_do_block): Print "SCoP will be loop
      	blocked" only when both the strip mine and the interchange have
      	been applied.
      
      	* testsuite/gcc.dg/graphite/block-2.c: Removed.
      	* testsuite/gcc.dg/graphite/block-3.c: Add scan pattern.
      	* testsuite/gcc.dg/graphite/block-4.c: Same.
      	* testsuite/gcc.dg/graphite/block-5.c: Same.
      	* testsuite/gcc.dg/graphite/block-6.c: Same.
      
      From-SVN: r155703
      Sebastian Pop committed
    • Fix memory leaks. · 556afcdc
      2010-01-06  Sebastian Pop  <sebastian.pop@amd.com>
      
      	* graphite-clast-to-gimple.c (save_clast_name_index): Free slot
      	before allocating a new one.
      	(copy_renames): Check that slot is not NULL.
      	(mark_bb_with_pbb): Same.
      	(compute_cloog_iv_types_1): Same.
      	* graphite-interchange.c (lst_perfect_nestify): Free the before,
      	nest, and after LSTs.
      	(lst_try_interchange_loops): Same.
      
      From-SVN: r155702
      Sebastian Pop committed
    • re PR middle-end/42178 (Invalid memory access in graphite) · e68c3c6c
      Fix PR42178.
      
      2010-01-05  Sebastian Pop  <sebastian.pop@amd.com>
      
      	PR middle-end/42178
      	* graphite-interchange.c (lst_try_interchange_loops): Do not return
      	the before, nest, and after LSTs.
      	(lst_try_interchange): Removed.
      	(lst_interchange_select_inner): Do not iterate over the LSTs if they
      	were modified.
      	(lst_interchange_select_outer): Apply interchange on the outer loop
      	until there are no more changes in the inner loops.
      
      From-SVN: r155701
      Sebastian Pop committed
    • locale_facets_nonio.tcc (time_put<>::do_put): Avoid pointless __builtin_alloca use. · 3095eb8e
      2010-01-07  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	* include/bits/locale_facets_nonio.tcc (time_put<>::do_put): Avoid
      	pointless __builtin_alloca use.
      
      From-SVN: r155697
      Paolo Carlini committed
    • gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING. · f68a75df
      2010-01-07  Richard Guenther  <rguenther@suse.de>
      
      	* gimple.h (gss_for_code): Wrap gcc_assert in ENABLE_CHECKING.
      	(gimple_op): Likewise.
      	(gimple_op_ptr): Likewise.
      	(gimple_assign_set_lhs): Remove gcc_assert.
      	(gimple_assign_set_rhs1): Likewise.
      	(gimple_assign_set_rhs2): Likewise.
      	(gimple_call_set_lhs): Likewise.
      	(gimple_call_set_fn): Likewise.
      	(gimple_call_set_fndecl): Likewise.
      	(gimple_call_fndecl): Likewise.
      	(gimple_call_return_type): Likewise.
      	(gimple_call_set_chain): Likewise.
      	(gimple_call_num_args): Likewise.
      	(gimple_call_set_arg): Likewise.
      	(gimple_cond_set_code): Likewise.
      	(gimple_cond_set_lhs): Likewise.
      	(gimple_cond_set_rhs): Likewise.
      	(gimple_cond_set_true_label): Likewise.
      	(gimple_cond_set_false_label): Likewise.
      	(gimple_label_set_label): Likewise.
      	(gimple_goto_set_dest): Likewise.
      	(gimple_debug_bind_get_var): Wrap gcc_assert in ENABLE_CHECKING.
      	(gimple_debug_bind_get_value): Likewise.
      	(gimple_debug_bind_get_value_ptr): Likewise.
      	(gimple_debug_bind_set_var): Likewise.
      	(gimple_debug_bind_set_value): Likewise.
      	(gimple_debug_bind_reset_value): Likewise.
      	(gimple_debug_bind_has_value_p): Likewise.
      	(gimple_return_retval_ptr): Remove gcc_assert.
      	(gimple_return_retval): Likewise.
      	(gimple_return_set_retval): Likewise.
      	* tree-flow.h (struct gimple_df): Remove nonlocal_all member.
      	(safe_referenced_var_iterator): Remove.
      	(FOR_EACH_REFERENCED_VAR_SAFE): Likewise.
      	* tree-flow-inline.h (gimple_nonlocal_all): Remove.
      	(fill_referenced_var_vec): Remove.
      	(first_readonly_imm_use): Remove redundant gcc_assert.
      	(phi_arg_index_from_use): Combine gcc_asserts.
      	(move_use_after_head): Wrap gcc_assert in ENABLE_CHECKING.
      	(first_imm_use_stmt): Remove redundant gcc_assert.
      	* tree-cfg.c (verify_gimple_call): Verify function and chain
      	operands.  Verify arguments.
      	(verify_types_in_gimple_stmt): Verify condition code and labels.
      
      From-SVN: r155696
      Richard Guenther committed
    • re PR tree-optimization/42641 (Random code-generation differences with GRAPHITE) · 617531d9
      2010-01-07  Richard Guenther  <rguenther@suse.de>
      
      	PR tree-optimization/42641
      	* sese.c (rename_map_elt_info): Use the SSA name version, do
      	not hash pointers.
      
      From-SVN: r155695
      Richard Guenther committed
    • re PR tree-optimization/42625 (-fipa-sra can generate different destructors in… · 4139c7ef
      re PR tree-optimization/42625 (-fipa-sra can generate different destructors in different object files, binary breaks after linking)
      
      	PR tree-optimization/42625
      	* cgraph.c (cgraph_make_node_local): Clear DECL_COMDAT*,
      	TREE_PUBLIC, DECL_WEAK and DECL_EXTERNAL also for same_body
      	aliases.
      
      	* g++.dg/opt/dtor4.C: New test.
      	* g++.dg/opt/dtor4.h: New.
      	* g++.dg/opt/dtor4-aux.cc: New.
      
      From-SVN: r155694
      Jakub Jelinek committed
    • Add version.h to the list of plugin headers installed. · 01094033
      From-SVN: r155692
      Duncan Sands committed
    • re PR rtl-optimization/42511 (bootstrap error in stage3 on alpha-linux-gnu) · 4b9ed9aa
      	PR target/42511
      	* ifcvt.c (dead_or_predicable): Also remove REG_EQUAL note when
      	note itself is not function_invariant_p.
      
      From-SVN: r155691
      Uros Bizjak committed
    • gcse.c (execute_rtl_cprop, [...]): Do not add the DF_NOTE problem. · f50f5566
      	* gcse.c (execute_rtl_cprop, execute_rtl_pre, execute_rtl_hoist):
      	Do not add the DF_NOTE problem.
      	* store-motion.c (execute_rtl_store_motion): Likewise.
      
      From-SVN: r155690
      Steven Bosscher committed
    • re PR tree-optimization/42157 (ICE building stage 1 libgcc: SEGV in compare_access_positions) · d05fe940
      2010-01-07  Martin Jambor  <mjambor@suse.cz>
      
      	PR tree-optimization/42157
      	* tree-sra.c (compare_access_positions): Stabilize sort if both
      	accesses have integer types, return zero immediately if they are the
      	same.
      
      From-SVN: r155689
      Martin Jambor committed
    • re PR fortran/42597 (ICE with procedure pointer initialized to null()) · 2a3c437d
      2010-01-07  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/42597
              * trans-decl.c (get_proc_pointer_decl): Fix call to
              gfc_conv_initializer for array-valued proc-pointer funcs.
      
      2010-01-07  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/42597
              * gfortran.dg/proc_ptr_26.f90: New test.
      
      From-SVN: r155688
      Tobias Burnus committed
    • re PR fortran/41872 (wrong-code: Issues with allocatable scalars) · 64b33a7e
      2010-01-07  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41872
              * trans-decl.c (gfc_trans_deferred_vars): Don't initialize
              allocatable scalars with SAVE attribute.
      
      2010-01-07  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/41872
              * gfortran.dg/allocatable_scalar_7.f90: New test.
      
      From-SVN: r155687
      Tobias Burnus committed
    • re PR libstdc++/26701 (std::time_get parses only 2 digits of year, in en_GB locale.) · 2e8e6a99
      2010-01-06  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/26701
      	* include/bits/locale_facets_nonio.tcc (time_get<>::_M_extract_num):
      	Encode short two digits over four parsings to negative numbers.
      	(time_get<>::_M_extract_via_format): Adjust, accept both two digits
      	and four digits for both 'y' and 'Y'.
      	(time_get<>::do_get_year): Call time_get<>::_M_extract_num.
      	* doc/xml/manual/prerequisites.xml: Add en_GB.
      	* testsuite/lib/libstdc++.exp: Adjust
      	* testsuite/22_locale/time_get/get_date/char/26701.cc: New.
      	* testsuite/22_locale/time_get/get_date/wchar_t/26701.cc: Likewise.
      
      From-SVN: r155685
      Paolo Carlini committed
    • Daily bump. · 83c33229
      From-SVN: r155684
      GCC Administrator committed
  3. 06 Jan, 2010 11 commits
  4. 05 Jan, 2010 5 commits
    • Add smaxv2di3, umaxv2di3, sminv2di3 and uminv2di3 · fa1a4144
      gcc/
      
      2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/42542
      	* config/i386/sse.md (smaxv2di3): New.
      	(umaxv2di3): Likewise.
      	(sminv2di3): Likewise.
      	(uminv2di3): Likewise.
      
      gcc/testsuite/
      
      2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>
       
      	PR target/42542
      	* gcc.target/i386/pr42542-4.c: New.
      	* gcc.target/i386/pr42542-4a.c: Likewise.
      	* gcc.target/i386/pr42542-5.c: Likewise.
      	* gcc.target/i386/pr42542-5a.c: Likewise.
      
      From-SVN: r155666
      H.J. Lu committed
    • re PR target/42564 (unrecognizable insn with -O -fPIC) · 208384fd
      	PR target/42564
      	* config/sparc/sparc.h (SPARC_SYMBOL_REF_TLS_P): Delete.
      	* config/sparc/sparc-protos.h (legitimize_pic_address): Likewise.
      	(legitimize_tls_address): Likewise.
      	(sparc_tls_referenced_p): Likewise.
      	* config/sparc/sparc.c (sparc_expand_move): Use legitimize_tls_address
      	and adjust calls to legitimize_pic_address.
      	(legitimate_constant_p) Use sparc_tls_referenced_p.
      	(legitimate_pic_operand_p): Likewise.
      	(sparc_legitimate_address_p): Do not use SPARC_SYMBOL_REF_TLS_P.
      	(sparc_tls_symbol_ref_1): Delete.
      	(sparc_tls_referenced_p): Make static, recognize specific patterns.
      	(legitimize_tls_address): Make static, handle CONST patterns.
      	(legitimize_pic_address): Make static, remove unused parameter and
      	adjust recursive calls.
      	(sparc_legitimize_address): Make static, use sparc_tls_referenced_p
      	and adjust call to legitimize_pic_address.
      	(sparc_output_mi_thunk): Likewise.
      
      From-SVN: r155662
      Eric Botcazou committed
    • evolution.xml: Update for 4.4 and 4.5 releases. · 4396e063
      2010-01-05  Benjamin Kosnik  <bkoz@redhat.com>
      
      	* doc/xml/manual/evolution.xml: Update for 4.4 and 4.5 releases.
      	* doc/html: Regenerate.
      
      From-SVN: r155661
      Benjamin Kosnik committed
    • Properly convert GTU to GT for V4SI and V2DI · 43d4b97d
      gcc/
      
      2010-01-05  Paolo Bonzini  <bonzinI@gnu.rg>
      	    H.J. Lu  <hongjiu.lu@intel.com>
      
      	PR target/42542
      	* config/i386/i386.c (ix86_expand_int_vcond): Convert GTU to GT
      	for V4SI and V2DI by subtracting (-(INT MAX) - 1) from both
      	operands to make them signed.
      
      	* config/i386/sse.md (umaxv4si3): Revert the last change.
      	(umin<mode>3): Likewise.
      	(uminv8hi3): Removed.
      	(uminv4si3): Likewise.
      
      gcc/testsuite/
      
      2010-01-05  H.J. Lu  <hongjiu.lu@intel.com>
      
      	* gcc.target/i386/pr42542-1.c (res): Make it 8 elements.
      
      From-SVN: r155660
      H.J. Lu committed
    • re PR libstdc++/38081 (time_get<>::do_get_weekday does not always recognize full names of weekdays) · ac2bb437
      2010-01-05  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR libstdc++/38081
      	* include/bits/locale_facets_nonio.h (time_get<>::
      	_M_extract_wday_or_month): New, declare.
      	* include/bits/locale_facets_nonio.tcc (time_get<>::
      	_M_extract_wday_or_month): Define.
      	(time_get<>::do_get_weekday, time_get<>::do_get_monthname): Use it.
      	* config/abi/pre/gnu.ver: Export new symbols.
      	* doc/xml/manual/prerequisites.xml: Add ru_RU.UTF-8 and
      	ru_RU.ISO-8859-5.
      	* testsuite/lib/libstdc++.exp: Adjust.
      	* testsuite/22_locale/time_get/get_weekday/char/38081-1.cc: New.
      	* testsuite/22_locale/time_get/get_weekday/char/38081-2.cc: Likewise.
      
      From-SVN: r155659
      Paolo Carlini committed