1. 04 Jul, 2009 4 commits
    • jason's avatar
      PR c++/40619 · 32d008d9
      jason authored
      	* cp-tree.h (struct lang_decl_parm): New.
      	(struct lang_decl): Add it.
      	(LANG_DECL_PARM_CHECK): New.
      	(DECL_PARM_INDEX): New.
      	* decl2.c (parm_index): Remove.
      	* lex.c (retrofit_lang_decl): Handle parms.
      	(cxx_dup_lang_specific_decl): Likewise.
      	* mangle.c (write_expression): Adjust.
      	* tree.c (cp_tree_equal): Adjust.
      	(decl_linkage): Only check DECL_COMDAT for functions and variables.
      	* parser.c (cp_parser_parameter_declaration_list): Set
      	DECL_PARM_INDEX.
      	* pt.c (iterative_hash_template_arg): Hash it.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149223 138bc75d-0d04-0410-961f-82ee72b054a4
      32d008d9
    • jvdelisle's avatar
      2009-07-03 Jerry DeLisle <jvdelisle@gcc.gnu.org> · 9612ce4d
      jvdelisle authored
      	PR fortran/40638
      	* gfortran.dg/unit_1.f90: New test.
      
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149222 138bc75d-0d04-0410-961f-82ee72b054a4
      9612ce4d
    • jason's avatar
      * cp-tree.h (struct lang_decl): Overhaul. · 39e70cbf
      jason authored
      	(struct lang_decl_flags): Remove.
      	(struct lang_decl_base): New.
      	(struct lang_decl_min): New.
      	(struct lang_decl_fn): New.
      	(struct lang_decl_ns): New.
      	(CAN_HAVE_FULL_LANG_DECL_P): Replace with LANG_DECL_HAS_MIN.
      	(LANG_DECL_MIN_CHECK): New.
      	(LANG_DECL_FN_CHECK): New.
      	(LANG_DECL_NS_CHECK): New.
      	(STRIP_TEMPLATE): New.
      	(NON_THUNK_FUNCTION_CHECK): Remove.
      	(DECL_DECLARES_FUNCTION_P): New.
      	(lots): Adjust.
      	* lex.c (retrofit_lang_decl, cxx_dup_lang_specific_decl): Adjust.
      	* decl.c (push_local_name, duplicate_decls): Adjust.
      	* decl2.c (start_objects): Don't set u2sel.
      	* semantics.c (finish_omp_threadprivate): Adjust.
      	* class.c (build_clone): Don't do much on TEMPLATE_DECLs.
      	(decl_cloned_function_p): Out-of-line implementation of macros.
      	(clone_function_decl, adjust_clone_args): Use DECL_CLONED_FUNCTION_P.
      	* mangle.c (write_unqualified_name): Don't check function flags
      	on non-functions.
      	* method.c (make_alias_for): Don't set DECL_CLONED_FUNCTION.
      	* pt.c (build_template_decl): Don't set function flags.
      	(check_default_tmpl_args): Check that it's a function.
      	(instantiate_template): Use DECL_ABSTRACT_ORIGIN to find the
      	cloned template.
      
      	* pt.c (tsubst_decl) [FUNCTION_DECL]: Don't tsubst
      	DECL_CLONED_FUNCTION.
      
      	* cp-tree.h (struct lang_type_class): Move sorted_fields here.
      	* class.c (finish_struct_1): Adjust.
      	* ptree.c (cxx_print_decl, cxx_print_type): Adjust.
      	* search.c (lookup_field_1): Adjust.
      
      	* cp-tree.h (CLASSTYPE_INLINE_FRIENDS): Remove.
      	* decl.c (finish_method): Don't add to it.
      	* class.c (fixup_pending_inline): Remove.
      	(fixup_inline_methods): Remove.
      	(finish_struct_1): Don't call it.
      
      	* error.c (dump_function_name): Handle null name.
      
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149217 138bc75d-0d04-0410-961f-82ee72b054a4
      39e70cbf
    • gccadmin's avatar
      Daily bump. · cdfea15d
      gccadmin authored
      git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@149216 138bc75d-0d04-0410-961f-82ee72b054a4
      cdfea15d
  2. 03 Jul, 2009 7 commits
  3. 02 Jul, 2009 16 commits
  4. 01 Jul, 2009 13 commits