1. 02 Apr, 2013 25 commits
  2. 01 Apr, 2013 14 commits
    • jason's avatar
      * semantics.c (maybe_constant_value): Check · 13c27ebc
      jason authored
      	* pt.c (build_non_dependent_expr): Don't check it here.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197327 138bc75d-0d04-0410-961f-82ee72b054a4
    • jason's avatar
      PR c++/56772 · 74ca083e
      jason authored
      	* init.c (build_new): Don't try to process an array initializer
      	at template definition time.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197326 138bc75d-0d04-0410-961f-82ee72b054a4
    • jason's avatar
      PR c++/56793 · 942d930c
      jason authored
      	* typeck.c (finish_class_member_access_expr): Handle enum scope.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197325 138bc75d-0d04-0410-961f-82ee72b054a4
    • jason's avatar
      PR c++/56794 · d949ba85
      jason authored
      	* parser.c (cp_parser_range_for): Don't try to do auto deduction
      	in a template if the type of the range is incomplete.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197324 138bc75d-0d04-0410-961f-82ee72b054a4
    • jvdelisle's avatar
      2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> · e9845e3f
      jvdelisle authored
      	PR fortran/56660
      	* gfortran.dg/namelist_82.f90:  New test.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197322 138bc75d-0d04-0410-961f-82ee72b054a4
    • jvdelisle's avatar
      2013-04-01 Jerry DeLisle <jvdelisle@gcc.gnu.org> · aa8d5fc7
      jvdelisle authored
      	PR libfortran/56660
      	* io/list_read.c (nml_read_obj): Do not reset the read error flag
      	inside nml_read_obj. If the read error flag is found set just exit.
      	Fix some whitespace on comments.
      	(nml_read_obj_data): Reset the read error flag before the first call
      	to nml_read_object.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197321 138bc75d-0d04-0410-961f-82ee72b054a4
    • jason's avatar
      * call.c (add_function_candidate): Take the address of 'this' here. · 18619da5
      jason authored
      	(build_over_call): And here.
      	(build_new_method_call_1, build_op_call_1): Not here.
      	(build_user_type_conversion_1): Or here.
      	(add_candidates): Adjust.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197317 138bc75d-0d04-0410-961f-82ee72b054a4
    • jason's avatar
      * cxx-pretty-print.h (pp_cxx_cv_qualifiers): New. · f7e6f42a
      jason authored
      	* class.c (same_signature_p): Use type_memfn_quals.
      	* cp-tree.h (TYPE_RAISES_EXCEPTIONS): Use
      	* error.c (dump_type_suffix): Add padding before cv-qualifiers.
      	* pt.c (unify): Use static_fn_type.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197316 138bc75d-0d04-0410-961f-82ee72b054a4
    • jason's avatar
      Implement N2439 (ref-qualifiers for 'this') · e116411c
      jason authored
      	* cp-tree.h (FUNCTION_REF_QUALIFIED): New.
      	(cpp0x_warn_str): Add CPP0X_REF_QUALIFIER.
      	(cp_ref_qualifier): New enum.
      	(cp_declarator): Add ref_qualifier.
      	* parser.c (cp_parser_ref_qualifier_seq_opt): New.
      	(cp_parser_direct_declarator): Use it.
      	(make_call_declarator): Adjust.
      	(cp_parser_lambda_declarator_opt): Adjust.
      	* call.c (add_function_candidate): Handle ref-qualifier overload
      	resolution semantics.
      	(standard_conversion): Adjust.
      	* class.c (add_method, same_signature_p): Compare ref-qualifiers.
      	* decl.c (grokdeclarator): Handle ref-qualifiers.
      	(grokfndecl): Check for invalid ref-qualifiers.
      	(static_fn_type, revert_static_member_fn): Adjust.
      	* decl2.c (build_memfn_type): Handle ref-qualifiers.
      	(check_classfn): Check them.
      	(cp_reconstruct_complex_type): Retain them.
      	* error.c (dump_ref_qualifier): New.
      	(dump_type_suffix, dump_function_decl): Use it.
      	(maybe_warn_cpp0x): Handle CPP0X_REF_QUALIFIER.
      	* pt.c (tsubst, tsubst_function_type): Instantiate ref-quals.
      	(unify): Retain them.
      	* tree.c (cp_check_qualified_type): New.
      	(cp_build_qualified_type_real): Keep exception spec and ref-qual.
      	(build_ref_qualified_type): New.
      	(strip_typedefs, build_exception_variant): Keep ref-qualifier.
      	(cp_build_type_attribute_variant): Keep ref-qualifier.
      	* typeck.c (merge_types): Keep ref-qualifier.
      	(structural_comptypes): Compare ref-qualifier.
      	(type_memfn_rqual): New.
      	(apply_memfn_quals): Take ref-qual argument.
      	* typeck2.c (build_m_component_ref): Check ref-qualifier.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197315 138bc75d-0d04-0410-961f-82ee72b054a4
    • paolo's avatar
      2013-04-01 Paolo Carlini <paolo.carlini@oracle.com> · 1a05e335
      paolo authored
      	* cp-tree.h (DECL_UNBOUND_CLASS_TEMPLATE_P): Remove.
      	* cxx-pretty-print.c (pp_cxx_nested_name_specifier,
      	pp_cxx_qualified_id): Use get_containing_scope.
      	* parser.c (cp_parser_class_head): Likewise.
      	* pt.c (push_template_decl_real): Likewise.
      	* decl2.c (import_export_decl): Use DECL_TEMPLOID_INSTANTIATION.
      	* pt.c (unify): Use CP_INTEGRAL_TYPE_P.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197309 138bc75d-0d04-0410-961f-82ee72b054a4
    • wmi's avatar
      2013-04-01 Wei Mi <wmi@google.com> · 8089c750
      wmi authored
              * config/i386/i386.md (*ashl<mode>3_mask): Rewrite as define_insn.
              Truncate operand 2 using %b asm operand modifier.
              (*<shift_insn><mode>3_mask): Ditto.
              (*<rotate_insn><mode>3_mask): Ditto.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197308 138bc75d-0d04-0410-961f-82ee72b054a4
    • steven's avatar
      · 53859f1c
      steven authored
      	PR middle-end/56798
      	* cfgbuild.c (inside_basic_block_p): Restore check broken at r197234.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197307 138bc75d-0d04-0410-961f-82ee72b054a4
    • janus's avatar
      2013-04-01 Janus Weil <janus@gcc.gnu.org> · 0397fcdb
      janus authored
      	PR fortran/56500
      	* symbol.c (gfc_set_default_type): Build class container for
      2013-04-01  Janus Weil  <janus@gcc.gnu.org>
      	PR fortran/56500
      	* gfortran.dg/implicit_class_1.f90: New.
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197306 138bc75d-0d04-0410-961f-82ee72b054a4
    • gccadmin's avatar
      Daily bump. · 24a9eac8
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@197295 138bc75d-0d04-0410-961f-82ee72b054a4
  3. 31 Mar, 2013 1 commit