1. 20 Dec, 2010 1 commit
  2. 19 Dec, 2010 33 commits
  3. 18 Dec, 2010 6 commits
    • re PR tree-optimization/46969 (-fcompare-debug failure with -O -ftree-vectorize… · 5d1fd1de
      re PR tree-optimization/46969 (-fcompare-debug failure with -O -ftree-vectorize -ftree-parallelize-loops=2)
      
      	PR tree-optimization/46969
      	* tree-parloops.c (struct reduction_info): Add reduc_version.
      	(reduction_info_hash): Return reduc_version field.
      	(reduction_phi): Set reduc_version to gimple_uid (phi).
      	(build_new_reduction): Set reduc_version to SSA_NAME_VERSION of
      	phi result.
      	(set_reduc_phi_uids): New function.
      	(gather_scalar_reductions): Call it at the end through htab_traverse.
      
      	* gcc.dg/autopar/pr46969.c: New test.
      
      From-SVN: r168034
      Jakub Jelinek committed
    • In gcc/: 2010-12-18 Nicola Pero <nicola.pero@meta-innovation.com> · 46270f14
      In gcc/:
      2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* c-parser.c (c_parser_objc_try_catch_finally_statement): Call
      	objc_maybe_warn_exceptions.
      	(c_parser_objc_synchronized_statement): Call
      	objc_maybe_warn_exceptions.
      	
      In gcc/cp/:
      2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* parser.c (cp_parser_objc_try_catch_finally_statement): Call
      	objc_maybe_warn_exceptions.
      	(cp_parser_objc_synchronized_statement): Same change.
      
      In gcc/c-family/:
      2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* c-objc.h (objc_maybe_warn_exceptions): New.
      	* stub-objc.c (objc_maybe_warn_exceptions): New.	
      	
      In gcc/objc/:
      2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc-act.c (objc_init): Call using_eh_for_cleanups.
      	(objc_init_exceptions): Renamed to objc_maybe_warn_exceptions.  Do
      	not call using_eh_for_cleanups.
      	(objc_begin_try_stmt): Do not call objc_init_exceptions.
      	(objc_build_throw_stmt): Updated call to
      	objc_maybe_warn_exceptions.
      
      In gcc/testsuite/:
      2010-12-18  Nicola Pero  <nicola.pero@meta-innovation.com>
      
      	* objc.dg/fobjc-exceptions-1.m: Updated.
      	* objc.dg/fobjc-exceptions-2.m: New.
      	* objc.dg/fobjc-exceptions-3.m: New.
      	* obj-c++.dg/fobjc-exceptions-1.mm: New.
      	* obj-c++.dg/fobjc-exceptions-2.mm: New.
      	* obj-c++.dg/fobjc-exceptions-3.mm: New.
      
      From-SVN: r168032
      Nicola Pero committed
    • re PR fortran/46974 (ICE with TRANSFER using a C_PTR entity) · b5dca6ea
      2010-12-18  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46974
              * target-memory.c (gfc_interpret_derived): Handle
              * C_PTR/C_FUNPTR.
              * trans-expr.c (gfc_trans_structure_assign): Ditto.
              (gfc_conv_expr): Avoid crashes using non-C_NULL_(FUN)PTR const expr.
      
      2010-12-18  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/46974
              * gfortran.dg/c_ptr_tests_16.f90: New.
      
      From-SVN: r168031
      Tobias Burnus committed
    • * gcc.pot: Regenerate. · a93bb2bc
      From-SVN: r168030
      Joseph Myers committed
    • pt.c (most_specialized_class): Use ngettext to determine "candidates are:" /… · d0a64ec1
      pt.c (most_specialized_class): Use ngettext to determine "candidates are:" / "candidate is" message.
      
      	* pt.c (most_specialized_class): Use ngettext to determine
      	"candidates are:" / "candidate is" message.
      
      From-SVN: r168029
      Joseph Myers committed
    • re PR tree-optimization/46985 (ICE: SIGSEGV in is_gimple_min_invariant… · 81fada9a
      re PR tree-optimization/46985 (ICE: SIGSEGV in is_gimple_min_invariant (gimple.c:2742) with -fno-tree-ccp -fno-tree-dominator-opts -fno-tree-fre)
      
      	PR tree-optimization/46985
      	* tree-scalar-evolution.c (instantiate_scev_r): If chrec is NULL,
      	return it immediately.
      
      	* gfortran.dg/pr46985.f90: New test.
      
      From-SVN: r168027
      Jakub Jelinek committed