1. 22 May, 2013 16 commits
  2. 21 May, 2013 17 commits
  3. 20 May, 2013 7 commits
    • re PR c++/57016 ([C++0x] ICE: unexpected expression '__is_final(hash<int>)' of kind trait_expr) · a31ed47c
      	PR c++/57016
      	* pt.c (instantiation_dependent_r) [TRAIT_EXPR]: Only check type2
      	if there is one.
      
      From-SVN: r199126
      Jason Merrill committed
    • re PR c++/57102 (ICE: SIGSEGV in fndecl_declared_return_type with -fdump-final-insns=...) · 6e5fba0e
      	PR c++/57102
      	* decl.c (fndecl_declared_return_type): Also look in
      	DECL_SAVED_FUNCTION_DATA.
      
      From-SVN: r199125
      Jason Merrill committed
    • re PR fortran/48858 (Incorrect error for same binding label on two generic interface specifics) · 77f8682b
      2013-05-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/48858
              PR fortran/55465
              * decl.c (add_global_entry): Add sym_name.
              * parse.c (add_global_procedure): Ditto.
              * resolve.c (resolve_bind_c_derived_types): Handle multiple decl for
              a procedure.
              (resolve_global_procedure): Handle gsym->ns pointing to a module.
              * trans-decl.c (gfc_get_extern_function_decl): Ditto.
      
      2013-05-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/48858
              PR fortran/55465
              * gfortran.dg/binding_label_tests_10_main.f03: Update dg-error.
              * gfortran.dg/binding_label_tests_11_main.f03: Ditto.
              * gfortran.dg/binding_label_tests_13_main.f03: Ditto.
              * gfortran.dg/binding_label_tests_3.f03: Ditto.
              * gfortran.dg/binding_label_tests_4.f03: Ditto.
              * gfortran.dg/binding_label_tests_5.f03: Ditto.
              * gfortran.dg/binding_label_tests_6.f03: Ditto.
              * gfortran.dg/binding_label_tests_7.f03: Ditto.
              * gfortran.dg/binding_label_tests_8.f03: Ditto.
              * gfortran.dg/c_loc_tests_12.f03: Fix test case.
              * gfortran.dg/binding_label_tests_24.f90: New.
              * gfortran.dg/binding_label_tests_25.f90: New.
      
      From-SVN: r199120
      Tobias Burnus committed
    • re PR fortran/48858 (Incorrect error for same binding label on two generic interface specifics) · f11de7c5
      2013-05-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/48858
              * decl.c (add_global_entry): Use nonbinding name
              only for F2003 or if no binding label exists.
              (gfc_match_entry): Update calls.
              * parse.c (gfc_global_used): Improve error message.
              (add_global_procedure): Use nonbinding name
              only for F2003 or if no binding label exists.
              (gfc_parse_file): Update call.
              * resolve.c (resolve_global_procedure): Use binding
              name when available.
              * trans-decl.c (gfc_get_extern_function_decl): Ditto.
      
      2013-05-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/48858
              * gfortran.dg/binding_label_tests_17.f90: New.
              * gfortran.dg/binding_label_tests_18.f90: New.
              * gfortran.dg/binding_label_tests_19.f90: New.
              * gfortran.dg/binding_label_tests_20.f90: New.
              * gfortran.dg/binding_label_tests_21.f90: New.
              * gfortran.dg/binding_label_tests_22.f90: New.
              * gfortran.dg/binding_label_tests_23.f90: New.
      
      From-SVN: r199119
      Tobias Burnus committed
    • re PR fortran/48858 (Incorrect error for same binding label on two generic interface specifics) · 878cdb7b
      2013-05-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/48858
              * decl.c (gfc_match_bind_c_stmt): Add gfc_notify_std.
              * match.c (gfc_match_common): Don't add commons to gsym.
              * resolve.c (resolve_common_blocks): Add to gsym and
              add checks.
              (resolve_bind_c_comms): Remove.
              (resolve_types): Remove call to the latter.
              * trans-common.c (gfc_common_ns): Remove static var.
              (gfc_map_of_all_commons): Add static var.
              (build_common_decl): Correctly handle binding label.
      
      2013-05-20  Tobias Burnus  <burnus@net-b.de>
      
              PR fortran/48858
              * gfortran.dg/test_common_binding_labels.f03: Update dg-error.
              * gfortran.dg/test_common_binding_labels_2_main.f03: Ditto.
              * gfortran.dg/test_common_binding_labels_3_main.f03: Ditto.
              * gfortran.dg/common_18.f90: New.
              * gfortran.dg/common_19.f90: New.
              * gfortran.dg/common_20.f90: New.
              * gfortran.dg/common_21.f90: New.
      
      From-SVN: r199118
      Tobias Burnus committed
    • re PR c++/12288 (unintelligible error message for constructor declaration with misspelled type) · 9bbc9565
      /cp
      2013-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/12288
      	* parser.c (cp_parser_parameter_declaration): Check return value
      	of cp_parser_parse_and_diagnose_invalid_type_name.
      
      /testsuite
      2013-05-20  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/12288
      	* g++.dg/parse/error52.C: New.
      	* g++.dg/parse/error3.C: Adjust.
      	* g++.dg/parse/error36.C: Likewise.
      
      From-SVN: r199115
      Paolo Carlini committed
    • re PR c++/57319 (bogus "defaulted move assignment for ... calls a non-trivial… · 32bfcf80
      re PR c++/57319 (bogus "defaulted move assignment for ... calls a non-trivial move assignment operator for virtual base ...")
      
      	PR c++/57319
      	* class.c (vbase_has_user_provided_move_assign): New.
      	* method.c (synthesized_method_walk): Check it.
      	* cp-tree.h: Declare it.
      
      From-SVN: r199114
      Jason Merrill committed