1. 13 Sep, 2011 17 commits
  2. 12 Sep, 2011 16 commits
  3. 11 Sep, 2011 7 commits
    • re PR libstdc++/50159 ([C++0x] tuple_cat only accepts two arguments) · ac65b7d2
      2011-09-11  Daniel Krugler  <daniel.kruegler@googlemail.com>
      
      	PR libstdc++/50159
      	* include/std/tuple (tuple_cat): Reimplement according to the
      	resolution of LWG 1385.
      	* include/std/type_traits: Define __and_ and __or_ for zero
      	arguments too; minor tweaks.
      	* testsuite/20_util/tuple/creation_functions/tuple_cat.cc: New.
      	* testsuite/20_util/tuple/creation_functions/constexpr.cc: Disable
      	for now tuple_cat test.
      	* testsuite/20_util/declval/requirements/1_neg.cc: Adjust dg-error
      	line numbers.
      	* testsuite/20_util/make_signed/requirements/typedefs_neg.cc: Likewise.
      	* testsuite/20_util/make_unsigned/requirements/typedefs_neg.cc:
      	Likewise.
      	* doc/xml/manual/status_cxx200x.xml: Update.
      
      From-SVN: r178770
      Daniel Krugler committed
    • re PR fortran/50327 (Front-end optimization generates wrong code for BLAS's srotmg) · fa11ae6c
      2011-09-11  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/50327
      	* frontend-passes.c (dummy_expr_callback):  New function.
      	(convert_do_while):  New function.
      	(optimize_namespace):  Call code walker to convert do while loops.
      
      2011-09-11  Thomas Koenig  <tkoenig@gcc.gnu.org>
      
      	PR fortran/50327
      	* gfortran.dg/do_while_1.f90:  New test.
      
      From-SVN: r178768
      Thomas Koenig committed
    • re PR fortran/35831 ([F95] Shape mismatch check missing for dummy procedure argument) · 9795c594
      2011-09-11  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/35831
      	PR fortran/47978
      	* interface.c (check_dummy_characteristics): New function to check the
      	characteristics of dummy arguments.
      	(gfc_compare_interfaces,gfc_check_typebound_override): Call it here.
      
      
      2011-09-11  Janus Weil  <janus@gcc.gnu.org>
      
      	PR fortran/35831
      	PR fortran/47978
      	* gfortran.dg/dynamic_dispatch_5.f03: Fix invalid test case.
      	* gfortran.dg/proc_decl_26.f90: New.
      	* gfortran.dg/typebound_override_2.f90: New.
      	* gfortran.dg/typebound_proc_6.f03: Changed wording in error message.
      
      From-SVN: r178767
      Janus Weil committed
    • utils.c (maybe_unconstrained_array): In the reference to unconstrained array… · 7e169899
      utils.c (maybe_unconstrained_array): In the reference to unconstrained array case, deal with each branch of a COND_EXPR.
      
      	* gcc-interface/utils.c (maybe_unconstrained_array): In the reference
      	to unconstrained array case, deal with each branch of a COND_EXPR.
      	* gcc-interface/utils2.c (build_allocator): Deal with each branch of
      	a COND_EXPR in the initializer, if present.
      
      From-SVN: r178766
      Eric Botcazou committed
    • decl.c (maybe_pad_type): Do not try to change the form of an addressable type. · 819a653e
      	* gcc-interface/decl.c (maybe_pad_type): Do not try to change the form
      	of an addressable type.
      	* gcc-interface/trans.c (gnat_gimplify_expr) <VIEW_CONVERT_EXPR>: New.
      	Deal with those cases for which creating a temporary is mandatory.
      
      From-SVN: r178764
      Eric Botcazou committed
    • trans.c (call_to_gnu): Use local variable. · c946adde
      	* gcc-interface/trans.c (call_to_gnu): Use local variable.  Make sure
      	this is a real formal parameter before testing whether it is by ref.
      
      From-SVN: r178763
      Eric Botcazou committed
    • gigi.h (build_call_0_expr): Delete. · dddf8120
      	* gcc-interface/gigi.h (build_call_0_expr): Delete.
      	(build_call_1_expr): Likewise.
      	(build_call_2_expr): Likewise.
      	(build_call_n_expr): New prototype.
      	* gcc-interface/decl.c (gnat_to_gnu_entity): Use build_call_n_expr.
      	* gcc-interface/trans.c (establish_gnat_vms_condition_handler): Ditto.
      	(Handled_Sequence_Of_Statements_to_gnu): Likewise.
      	(Exception_Handler_to_gnu_zcx): Likewise.
      	(gnat_to_gnu): Likewise.
      	(build_binary_op_trapv): Likewise.
      	* gcc-interface/utils2.c (build_call_0_expr): Delete.
      	(build_call_1_expr): Likewise.
      	(build_call_2_expr): Likewise.
      	(build_call_n_expr): New function.
      	(build_call_raise): Use build_call_n_expr.
      	(build_call_raise_range): Likewise.
      	(build_call_raise_column): Likewise.
      	(build_call_alloc_dealloc_proc): Likewise.
      	(maybe_wrap_malloc): Likewise.
      	(maybe_wrap_free): Likewise.
      
      From-SVN: r178762
      Eric Botcazou committed