1. 07 Sep, 2010 1 commit
    • cp-tree.h (build_enumerator): Add new location_t parameter. · 4cc2a722
      	* cp-tree.h (build_enumerator): Add new location_t parameter.
      	(build_lang_decl_loc): New function.
      	* decl.c (build_enumerator): New parameter loc. Use it when calling
      	build_decl. Replace build_lang_decl with build_lang_decl_loc.
      	* pt.c (tsubst_enum): Adjust call to build_enumerator.
      	* parser.c (cp_parser_enumerator_definition): Ditto.
      	* lex.c (build_lang_decl_loc): New function.
      
      From-SVN: r163959
      Arnaud Charlet committed
  2. 06 Sep, 2010 1 commit
    • pt.c (fold_non_dependent_expr_sfinae): Split out from... · 40013af7
      	* pt.c (fold_non_dependent_expr_sfinae): Split out from...
      	(fold_non_dependent_expr): ...here.
      	(convert_nontype_argument): Use it.  Take complain parm.
      	Use perform_implicit_conversion	instead of ocp_convert.
      	Allow cv-qual changes.
      	(convert_template_argument): Pass complain down.
      	(tsubst_template_arg): Suppress constant expression warnings.
      	Don't fold here.
      
      From-SVN: r163895
      Jason Merrill committed
  3. 20 Aug, 2010 1 commit
    • vec.h (FOR_EACH_VEC_ELT): Define. · ac47786e
      gcc/
      	* vec.h (FOR_EACH_VEC_ELT): Define.
      	* c-decl.c: Use it.
      	* cfgloop.c: Likewise.
      	* cfgloopmanip.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* combine.c: Likewise.
      	* config/bfin/bfin.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* dbxout.c: Likewise.
      	* df-scan.c: Likewise.
      	* dominance.c: Likewise.
      	* dse.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* except.c: Likewise.
      	* expr.c: Likewise.
      	* function.c: Likewise.
      	* gcse.c: Likewise.
      	* genattr.c: Likewise.
      	* ggc-common.c: Likewise.
      	* gimplify.c: Likewise.
      	* graphite-blocking.c: Likewise.
      	* graphite-clast-to-gimple.c: Likewise.
      	* graphite-dependences.c: Likewise.
      	* graphite-interchange.c: Likewise.
      	* graphite-poly.c: Likewise.
      	* graphite-scop-detection.c: Likewise.
      	* graphite-sese-to-poly.c: Likewise.
      	* graphite.c: Likewise.
      	* haifa-sched.c: Likewise.
      	* ifcvt.c: Likewise.
      	* implicit-zee.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-struct-reorg.c: Likewise.
      	* ipa.c: Likewise.
      	* ira-build.c: Likewise.
      	* ira-color.c: Likewise.
      	* ira-emit.c: Likewise.
      	* lambda-code.c: Likewise.
      	* loop-invariant.c: Likewise.
      	* loop-unroll.c: Likewise.
      	* lower-subreg.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* lto-opts.c: Likewise.
      	* lto-streamer-in.c: Likewise.
      	* lto-streamer-out.c: Likewise.
      	* lto-streamer.c: Likewise.
      	* lto-symtab.c: Likewise.
      	* matrix-reorg.c: Likewise.
      	* opts.c: Likewise.
      	* predict.c: Likewise.
      	* print-tree.c: Likewise.
      	* sdbout.c: Likewise.
      	* sel-sched-dump.c: Likewise.
      	* sel-sched-ir.c: Likewise.
      	* sel-sched.c: Likewise.
      	* sese.c: Likewise.
      	* stor-layout.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-cfgcleanup.c: Likewise.
      	* tree-chrec.c: Likewise.
      	* tree-data-ref.c: Likewise.
      	* tree-emutls.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-into-ssa.c: Likewise.
      	* tree-loop-distribution.c: Likewise.
      	* tree-loop-linear.c: Likewise.
      	* tree-mudflap.c: Likewise.
      	* tree-outof-ssa.c: Likewise.
      	* tree-parloops.c: Likewise.
      	* tree-predcom.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-scalar-evolution.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-loop-im.c: Likewise.
      	* tree-ssa-loop-ivcanon.c: Likewise.
      	* tree-ssa-loop-ivopts.c: Likewise.
      	* tree-ssa-loop-manip.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-loop-prefetch.c: Likewise.
      	* tree-ssa-phiprop.c: Likewise.
      	* tree-ssa-pre.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* tree-vect-data-refs.c: Likewise.
      	* tree-vect-loop-manip.c: Likewise.
      	* tree-vect-loop.c: Likewise.
      	* tree-vect-patterns.c: Likewise.
      	* tree-vect-slp.c: Likewise.
      	* tree-vect-stmts.c: Likewise.
      	* tree-vrp.c: Likewise.
      	* tree.c: Likewise.
      	* value-prof.c: Likewise.
      	* var-tracking.c: Likewise.
      	* varasm.c: Likewise.
      	* vmsdbgout.c: Likewise.
      
      gcc/ada/
      	* gcc-interface/decl.c: Use FOR_EACH_VEC_ELT.
      	* gcc-interface/trans.c: Likewise.
      	* gcc-interface/utils.c: Likewise.
      
      gcc/c-family/
      	* c-common.c: Use FOR_EACH_VEC_ELT.
      	* c-gimplify.c: Likewise.
      	* c-pragma.c: Likewise.
      
      gcc/cp/
      	* call.c: Use FOR_EACH_VEC_ELT.
      	* class.c: Likewise.
      	* decl.c: Likewise.
      	* decl2.c: Likewise.
      	* error.c: Likewise.
      	* except.c: Likewise.
      	* mangle.c: Likewise.
      	* method.c: Likewise.
      	* name-lookup.c: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* repo.c: Likewise.
      	* semantics.c: Likewise.
      	* typeck2.c: Likewise.
      
      gcc/fortran/
      	* trans-openmp.c: Use FOR_EACH_VEC_ELT.
      
      gcc/java/
      	* class.c: Use FOR_EACH_VEC_ELT.
      	* expr.c: Likewise.
      	* jcf-parse.c: Likewise.
      	* resource.c: Likewise.
      
      gcc/lto/
      	* lto.c: Use FOR_EACH_VEC_ELT.
      
      From-SVN: r163401
      Nathan Froyd committed
  4. 09 Aug, 2010 1 commit
  5. 06 Aug, 2010 1 commit
    • typeck.c (complete_type_or_maybe_complain): Split out from... · 309714d4
      	* typeck.c (complete_type_or_maybe_complain): Split out from...
      	(complete_type_or_else): Here.
      	(build_class_member_access_expr): Call it.
      	(finish_class_member_access_expr): Likewise.
      	* call.c (build_special_member_call): Likewise.
      	* cvt.c (build_expr_type_conversion): Likewise.
      	* init.c (build_new): Likewise.
      	* typeck2.c (build_functional_cast): Likewise.
      	* cp-tree.h: Declare it.
      
      	* init.c (build_value_init): Add complain parm.
      	(build_value_init_noctor): Likewise.
      	(perform_member_init): Pass it.
      	(expand_aggr_init_1): Likewise.
      	(build_new_1): Likewise.
      	(build_vec_init): Likewise.
      	* pt.c (tsubst_expr): Likewise.
      	* typeck2.c (build_functional_cast): Likewise.
      	* cp-tree.h: Adjust.
      	* tree.c (build_target_expr_with_type): Handle error_mark_node.
      
      From-SVN: r162953
      Jason Merrill committed
  6. 27 Jul, 2010 1 commit
  7. 20 Jul, 2010 3 commits
  8. 19 Jul, 2010 1 commit
  9. 16 Jul, 2010 1 commit
  10. 15 Jul, 2010 1 commit
    • tree.h (DECL_CHAIN): Define. · 910ad8de
      gcc/
      	* tree.h (DECL_CHAIN): Define.
      	* alias.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
      	* c-decl.c: Likewise.
      	* c-parser.c: Likewise.
      	* c-typeck.c: Likewise.
      	* cfgexpand.c: Likewise.
      	* cgraph.c: Likewise.
      	* cgraphunit.c: Likewise.
      	* combine.c: Likewise.
      	* config/alpha/alpha.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/frv/frv.c: Likewise.
      	* config/i386/i386.c: Likewise.
      	* config/i386/winnt-cxx.c: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/iq2000/iq2000.c: Likewise.
      	* config/mep/mep.c: Likewise.
      	* config/mips/mips.c: Likewise.
      	* config/pa/som.h: Likewise.
      	* config/rs6000/rs6000.c: Likewise.
      	* config/s390/s390.c: Likewise.
      	* config/sh/sh.c: Likewise.
      	* config/sh/symbian-cxx.c: Likewise.
      	* config/sparc/sparc.c: Likewise.
      	* config/spu/spu.c: Likewise.
      	* config/stormy16/stormy16.c: Likewise.
      	* config/vxworks.c: Likewise.
      	* config/xtensa/xtensa.c: Likewise.
      	* coverage.c: Likewise.
      	* dbxout.c: Likewise.
      	* dwarf2out.c: Likewise.
      	* emit-rtl.c: Likewise.
      	* expr.c: Likewise.
      	* function.c: Likewise.
      	* gimple-low.c: Likewise.
      	* gimple-pretty-print.c: Likewise.
      	* gimplify.c: Likewise.
      	* integrate.c: Likewise.
      	* ipa-inline.c: Likewise.
      	* ipa-prop.c: Likewise.
      	* ipa-split.c: Likewise.
      	* ipa-struct-reorg.c: Likewise.
      	* ipa-type-escape.c: Likewise.
      	* langhooks.c: Likewise.
      	* lto-cgraph.c: Likewise.
      	* omp-low.c: Likewise.
      	* stor-layout.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* tree-complex.c: Likewise.
      	* tree-dfa.c: Likewise.
      	* tree-dump.c: Likewise.
      	* tree-inline.c: Likewise.
      	* tree-mudflap.c: Likewise.
      	* tree-nested.c: Likewise.
      	* tree-object-size.c: Likewise.
      	* tree-pretty-print.c: Likewise.
      	* tree-sra.c: Likewise.
      	* tree-ssa-live.c: Likewise.
      	* tree-ssa-loop-niter.c: Likewise.
      	* tree-ssa-math-opts.c: Likewise.
      	* tree-ssa-reassoc.c: Likewise.
      	* tree-ssa-sccvn.c: Likewise.
      	* tree-ssa-structalias.c: Likewise.
      	* tree-tailcall.c: Likewise.
      	* tree-vrp.c: Likewise.
      	* tree.c: Likewise.
      	* var-tracking.c: Likewise.
      	* varasm.c: Likewise.
      
      gcc/ada/
      	* gcc-interface/decl.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
      	* gcc-interface/trans.c: Likewise.
      	* gcc-interface/utils.c: Likewise.
      	* gcc-interface/utils2.c: Likewise.
      
      gcc/c-family/
      	* c-common.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
      	* c-format.c: Likewise.
      
      gcc/cp/
      	* cp-tree.h: Carefully replace TREE_CHAIN with DECL_CHAIN.
      	* call.c: Likewise.
      	* class.c: Likewise.
      	* cp-gimplify.c: Likewise.
      	* decl.c: Likewise.
      	* decl2.c: Likewise.
      	* init.c: Likewise.
      	* mangle.c: Likewise.
      	* name-lookup.c: Likewise.
      	* optimize.c: Likewise.
      	* parser.c: Likewise.
      	* pt.c: Likewise.
      	* rtti.c: Likewise.
      	* search.c: Likewise.
      	* semantics.c: Likewise.
      	* typeck.c: Likewise.
      	* typeck2.c: Likewise.
      
      gcc/fortran/
      	* f95-lang.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
      	* trans-common.c: Likewise.
      	* trans-decl.c: Likewise.
      	* trans-types.c: Likewise.
      	* trans.c: Likewise.
      
      gcc/java/
      	* java-tree.h: Carefully replace TREE_CHAIN with DECL_CHAIN.
      	* boehm.c: Likewise.
      	* class.c: Likewise.
      	* decl.c: Likewise.
      	* expr.c: Likewise.
      	* jcf-parse.c: Likewise.
      	* typeck.c: Likewise.
      	* verify-glue.c: Likewise.
      
      gcc/objc/
      	* objc-act.c: Carefully replace TREE_CHAIN with DECL_CHAIN.
      
      gcc/testsuite/
      	* g++.dg/plugin/attribute_plugin.c: Carefully replace TREE_CHAIN
      	with DECL_CHAIN.
      
      From-SVN: r162223
      Nathan Froyd committed
  11. 06 Jul, 2010 1 commit
  12. 05 Jul, 2010 1 commit
  13. 02 Jul, 2010 1 commit
  14. 30 Jun, 2010 1 commit
    • cp-tree.h (TYPE_HAS_ASSIGN_REF): Rename to TYPE_HAS_COPY_ASSIGN. · 066ec0a4
      	* cp-tree.h (TYPE_HAS_ASSIGN_REF): Rename to TYPE_HAS_COPY_ASSIGN.
      	(TYPE_HAS_CONST_ASSIGN_REF): Rename to TYPE_HAS_CONST_COPY_ASSIGN.
      	(TYPE_HAS_INIT_REF): Rename to TYPE_HAS_COPY_CTOR.
      	(TYPE_HAS_CONST_INIT_REF): Rename to TYPE_HAS_CONST_COPY_CTOR.
      	(TYPE_HAS_COMPLEX_ASSIGN_REF): Rename to TYPE_HAS_COMPLEX_COPY_ASSIGN.
      	(TYPE_HAS_COMPLEX_INIT_REF): Rename to TYPE_HAS_COMPLEX_COPY_CTOR.
      	(TYPE_HAS_TRIVIAL_ASSIGN_REF): Rename to TYPE_HAS_TRIVIAL_COPY_ASSIGN.
      	(TYPE_HAS_TRIVIAL_INIT_REF): Rename to TYPE_HAS_TRIVIAL_COPY_CTOR.
      	(CLASSTYPE_LAZY_ASSIGNMENT_OP): Rename to CLASSTYPE_LAZY_COPY_ASSIGN.
      	(sfk_assignment_operator): Rename to sfk_copy_assignment.
      	* decl.c, call.c, class.c, init.c, method.c, pt.c, ptree.c: Adjust.
      	* search.c, semantics.c, tree.c: Adjust.
      
      From-SVN: r161577
      Jason Merrill committed
  15. 29 Jun, 2010 2 commits
    • pt.c (dependent_scope_ref_p): Remove. · 2d660b7f
      	* pt.c (dependent_scope_ref_p): Remove.
      	(value_dependent_expression_p): Don't call it.
      	(type_dependent_expression_p): Here either.
      	* init.c (build_offset_ref): Set TREE_TYPE on a qualified-id
      	if the scope isn't dependent.
      
      	* pt.c (convert_nontype_argument): Use mark_lvalue_use if we want
      	a reference.
      
      From-SVN: r161560
      Jason Merrill committed
    • re PR c++/44587 (ICE in instantiate_decl) · d3a79fcc
      	PR c++/44587
      	* pt.c (has_value_dependent_address): New.
      	(value_dependent_expression_p): Check it.
      	(convert_nontype_argument): Likewise.  Call decay_conversion before
      	folding if we want a pointer.
      	* semantics.c (finish_id_expression): Don't add SCOPE_REF if the
      	scope is the current instantiation.
      
      From-SVN: r161559
      Jason Merrill committed
  16. 28 Jun, 2010 1 commit
    • system.h: Poison GCC_EXCEPT_H for front-end files. · 3b06d379
      gcc/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* system.h: Poison GCC_EXCEPT_H for front-end files.
      
      	* langhooks.h (struct lang_hooks): Add eh_protect_cleanup_actions
      	langhook.
      	* langhooks-def.h (LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS) New.
      	Define to NULL by default.
      	* except.h: Define GCC_EXCEPT_H.
      	(doing_eh): Remove prototype.
      	(init_eh, init_eh_for_function): Move prototypes to toplev.h.
      	(lang_protect_cleanup_actions): Remove.
      	* except.c (lang_protect_cleanup_actions): Remove.
      	(doing_eh): Remove.
      	(gen_eh_region): Don't check doing_eh here.
      	* toplev.h (init_eh, init_eh_for_function_): Moved from except.h.
      	* tree-eh.c (honor_protect_cleanup_actions): Use new langhook
      	instead of lang_protect_cleanup_actions.
      	* omp-low.c (maybe_catch_exception): Likewise.
      	* Makefile.in: Update dependencies.
      
      gcc/c-family/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* c-cppbuiltin.c: Do not include except.h.
      
      gcc/objc/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* objc-act.c: Do not include except.h.
      
      gcc/cp/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* init.c: Do not include except.h.
      	* decl.c: Likewise.
      	* expr.c: Likewise.
      	* cp-lang.c: Likewise.
      	* pt.c: Likewise.
      	* semantics.c: Likewise.
      	* decl2.c: Likewise.
      	* except.c: Likewise.
      	(init_exception_processing): Do not set the removed
      	lang_protect_cleanup_actions here.
      	(cp_protect_cleanup_actions): Make non-static and remove prototype.
      	(doing_eh): New, moved from except.c but removed the do_warning flag.
      	(expand_start_catch_block): Update doing_eh call.
      	(expand_end_catch_block): Likewise.
      	(build_throw): Likewise.
      	* cp-tree.h: Prototype cp_protect_cleanup_actions.
      	* cp-objcp-common.h: Set LANG_HOOKS_EH_PROTECT_CLEANUP_ACTIONS to
      	cp_protect_cleanup_actions.
      	* Make-lang.in: Update dependencies.
      
      gcc/objcp/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* objcp-lang.c: Do not include except.h.
      	* Make-lang.in: Update dependencies.
      
      gcc/java/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* lang.c: Do not include except.h
      	* except.c: Likewise.
      	(doing_eh): New, moved from except.c (in gcc/) but removed the
      	do_warning flag.
      	(maybe_start_try): Update doing_eh call.
      	* Make-lang.in: Update dependencies.
      
      gcc/ada/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* gcc-interface/misc.c: Do not include except.h.
      	* gcc-interface/Make-lang.in: Update dependencies.
      
      gcc/fortran/ChangeLog:
      2010-06-28  Steven Bosscher  <steven@gcc.gnu.org>
      
      	* Make-lang.in: Update dependencies.
      
      From-SVN: r161484
      Steven Bosscher committed
  17. 16 Jun, 2010 1 commit
    • c.opt: Add -Wnoexcept. · 59f9c2ed
      	* c.opt: Add -Wnoexcept.
      	* except.c (check_noexcept_r): Return the problematic function.
      	(finish_noexcept_expr): Give -Wnoexcept warning.  Add complain parm.
      	* pt.c (tsubst_copy_and_build): Pass it.
      	* parser.c (cp_parser_unary_expression): Likewise.
      	* cp-tree.h: Adjust prototype.
      
      From-SVN: r160842
      Jason Merrill committed
  18. 11 Jun, 2010 1 commit
    • cp-tree.h (expr_list_kind): New type. · 2f5b91f5
      2010-06-11  Shujing Zhao  <pearly.zhao@oracle.com>
      
              * cp-tree.h (expr_list_kind): New type.
              (impl_conv_rhs): New type.
              (build_x_compound_expr_from_list, convert_for_initialization): Adjust
              prototype.
              (typeck.c (convert_arguments): Use impl_conv_rhs and emit the
              diagnostics for easy translation. Change caller.
              (convert_for_initialization): Use impl_conv_rhs and change caller.
              (build_x_compound_expr_from_list): Use expr_list_kind and emit the
              diagnostics for easy translation. Change caller.
              * decl.c (bad_spec_place): New enum.
              (bad_specifiers): Use it and emit the diagnostics for easy
              translation. Change caller.
              * pt.c (coerce_template_parms): Put the diagnostics in full sentence.
      
      From-SVN: r160591
      Shujing Zhao committed
  19. 09 Jun, 2010 1 commit
    • call.c (build_call_n): Call XALLOCAVEC instead of alloca. · 86b8fed1
      	* call.c (build_call_n): Call XALLOCAVEC instead of alloca.
      	(build_op_delete_call): Likewise.
      	(build_over_call): Likewise.
      	* cp-gimplify.c (cxx_omp_clause_apply_fn): Likewise.
      	* pt.c (process_partial_specialization): Likewise.
      	(tsubst_template_args): Likewise.
      	* semantics.c (finish_asm_stmt): Likewise.
      
      From-SVN: r160485
      Nathan Froyd committed
  20. 08 Jun, 2010 1 commit
    • utils.c (init_gnat_to_gnu): Use typed GC allocation. · a9429e29
      gcc/ada:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* gcc-interface/utils.c (init_gnat_to_gnu): Use typed GC
      	allocation.
      	(init_dummy_type): Likewise.
      	(gnat_pushlevel): Likewise.
      
      	* gcc-interface/trans.c (Attribute_to_gnu): Likewise.
      	(Subprogram_Body_to_gnu): Likewise.
      	(Compilation_Unit_to_gnu): Likewise.
      	(start_stmt_group): Likewise.
      	(extract_encoding): Likewise.
      	(decode_name): Likewise.
      
      	* gcc-interface/misc.c (gnat_printable_name): Likewise.
      
      	* gcc-interface/decl.c (annotate_value): Likewise.
      
      	* gcc-interface/ada-tree.h (struct lang_type): Add variable_size
      	GTY option.
      	(struct lang_decl): Likewise.
      	(SET_TYPE_LANG_SPECIFIC): Use typed GC allocation.
      	(SET_DECL_LANG_SPECIFIC): Likewise.
      
      gcc/c-family:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* c-pragma.c (push_alignment): Use typed GC allocation.
      	(handle_pragma_push_options): Likewise.
      
      	* c-common.c (parse_optimize_options): Likewise.
      
      	* c-common.h (struct sorted_fields_type): Add variable_size GTY
      	option.
      
      gcc/cp:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* typeck2.c (abstract_virtuals_error): Likewise.
      
      	* pt.c (maybe_process_partial_specialization): Likewise.
      	(register_specialization): Likewise.
      	(add_pending_template): Likewise.
      	(lookup_template_class): Likewise.
      	(push_tinst_level): Likewise.
      
      	* parser.c (cp_lexer_new_main): Likewise.
      	(cp_lexer_new_from_tokens): Likewise.
      	(cp_token_cache_new): Likewise.
      	(cp_parser_context_new): Likewise.
      	(cp_parser_new): Likewise.
      	(cp_parser_nested_name_specifier_opt): Likewise.
      	(cp_parser_template_id): Likewise.
      
      	* name-lookup.c (binding_entry_make): Likewise.
      	(binding_table_construct): Likewise.
      	(binding_table_new): Likewise.
      	(cxx_binding_make): Likewise.
      	(pushdecl_maybe_friend): Likewise.
      	(begin_scope): Likewise.
      	(push_to_top_level): Likewise.
      
      	* lex.c (init_reswords): Likewise.
      	(retrofit_lang_decl): Likewise.
      	(cxx_dup_lang_specific_decl): Likewise.
      	(copy_lang_type): Likewise.
      	(cxx_make_type): Likewise.
      
      	* decl.c (make_label_decl): Likewise.
      	(check_goto): Likewise.
      	(start_preparsed_function): Likewise.
      	(save_function_data): Likewise.
      
      	* cp-tree.h (TYPE_SET_PTRMEMFUNC_TYPE): Likewise.
      
      	* cp-objcp-common.c (decl_shadowed_for_var_insert): Likewise.
      
      	* class.c (finish_struct_1): Likewise.
      
      	* cp-tree.h (struct lang_type): Add variable_size GTY option.
      	(struct lang_decl): Likewise.
      
      	* parser.c (cp_parser_new): Update comment to not reference
      	ggc_alloc.
      
      gcc/fortran:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* trans-types.c (gfc_get_nodesc_array_type): Use typed GC
      	allocation.
      	(gfc_get_array_type_bounds): Likewise.
      
      	* trans-decl.c (gfc_allocate_lang_decl): Likewise.
      	(gfc_find_module): Likewise.
      
      	* f95-lang.c (pushlevel): Likewise.
      
      	* trans.h (struct lang_type): Add variable_size GTY option.
      	(struct lang_decl): Likewise.
      
      gcc/java:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* jcf-reader.c (jcf_parse_constant_pool): Use typed GC allocation.
      
      	* jcf-parse.c (java_parse_file): Likewise.
      	(process_zip_dir): Likewise.
      
      	* java-tree.h (MAYBE_CREATE_VAR_LANG_DECL_SPECIFIC): Likewise.
      	(MAYBE_CREATE_TYPE_TYPE_LANG_SPECIFIC): Likewise.
      
      	* expr.c (add_type_assertion): Likewise.
      
      	* decl.c (make_binding_level): Likewise.
      	(java_dup_lang_specific_decl): Likewise.
      
      	* constants.c (set_constant_entry): Likewise.
      	(cpool_for_class): Likewise.
      
      	* class.c (add_method_1): Likewise.
      	(java_treetreehash_new): Likewise.
      
      	* java-tree.h (struct lang_type): Add variable_size GTY option.
      	(struct lang_decl): Likewise.
      
      	* jch.h (struct cpool_entry): Likewise.
      
      	* java-tree.h (java_treetreehash_create): Remove parameter ggc.
      
      	* except.c (prepare_eh_table_type): Update
      	java_treetreehash_create call.
      
      	* class.c (add_method_1): Update java_treetreehash_create call.
      	(java_treetreehash_create): Remove parameter gc.  Use
      	htab_create_ggc.
      
      gcc/lto:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* lto.c (lto_read_in_decl_state): Use typed GC allocation.
      	(lto_file_read): Likewise.
      	(new_partition): Likewise.
      	(read_cgraph_and_symbols): Likewise.
      
      gcc/objc:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* objc-act.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use typed GC
      	allocation.
      
      	* objc-act.c (objc_volatilize_decl): Likewise.
      	(objc_build_string_object): Likewise.
      	(hash_init): Likewise.
      	(hash_enter): Likewise.
      	(hash_add_attr): Likewise.
      	(add_class): Likewise.
      	(start_class): Likewise.
      
      gcc/objcp:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* objcp-decl.h (ALLOC_OBJC_TYPE_LANG_SPECIFIC): Use typed GC
      	allocation.
      
      gcc:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* doc/tm.texi (Per-Function Data): Do not reference ggc_alloc.
      
      	* doc/gty.texi (GTY Options): Document typed GC allocation and
      	variable_size GTY option.
      
      	* ggc-internal.h: New.
      
      	* ggc.h: Update copyright year.
      	(digit_string): Move to stringpool.c.
      	(ggc_mark_stringpool, ggc_purge_stringpool, ggc_mark_roots)
      	(gt_pch_save_stringpool, gt_pch_fixup_stringpool)
      	(gt_pach_restore_stringpool, gt_pch_p_S, gt_pch_note_object)
      	(init_ggc_pch, ggc_pch_count_object, ggc_pch_total_size)
      	(ggc_pch_this_base, ggc_pch_alloc_object, ggc_pch_prepare_write)
      	(ggc_pch_write_object, ggc_pch_finish, ggc_pch_read)
      	(ggc_force_collect, ggc_get_size, ggc_statistics)
      	(ggc_print_common_statistics): Move to ggc-internal.h.
      	(digit_vector, new_ggc_zone, destroy_ggc_zone, ggc_alloc_stat)
      	(ggc_alloc, ggc_alloc_cleared, ggc_realloc, ggc_calloc, GGC_NEW)
      	(GGC_CNEW, GGC_NEWVEC, GGC_CNEWVEC, GGC_NEWVAR, ggc_alloc_rtvec)
      	(ggc_alloc_tree, gt_pch_save, ggc_min_expand_heuristic)
      	(ggc_min_heapsize_heuristic, ggc_alloc_zone)
      	(ggc_alloc_zone_pass_stat): Remove.
      	(ggc_internal_alloc_stat, ggc_internal_alloc)
      	(ggc_internal_cleared_alloc_stat): New.
      	(GGC_RESIZEVEC, GGC_RESIZEVAR): Redefine.
      	(ggc_internal_vec_alloc_stat)
      	(ggc_internal_cleared_vec_alloc_stat)
      	(ggc_internal_vec_alloc_stat, ggc_internal_cleared_vec_alloc)
      	(ggc_alloc_atomic_stat, ggc_alloc_atomic)
      	(ggc_alloc_cleared_atomic, ggc_cleared_alloc_htab_ignore_args)
      	(ggc_cleared_alloc_ptr_array_two_args): New.
      	(htab_create_ggc, splay_tree_new_ggc): Redefine.
      	(ggc_splay_alloc): Change the type of the first argument to
      	enum gt_types_enum.
      	(ggc_alloc_string): Make macro.
      	(ggc_alloc_string_stat): New.
      	(ggc_strdup): Redefine.
      	(rtl_zone, tree_zone, tree_id_zone): Declare unconditionally.
      	(ggc_alloc_rtvec_sized): New.
      	(ggc_alloc_zone_stat): Rename to ggc_internal_alloc_zone_stat.
      	(ggc_internal_alloc_zone_pass_stat, ggc_internal_alloc_zone_stat)
      	(ggc_internal_cleared_alloc_zone_stat)
      	(ggc_internal_zone_alloc_stat)
      	(ggc_internal_zone_cleared_alloc_stat)
      	(ggc_internal_zone_vec_alloc_stat)
      	(ggc_alloc_zone_rtx_def_stat)
      	(ggc_alloc_zone_tree_node_stat)
      	(ggc_alloc_zone_cleared_tree_node_stat)
      	(ggc_alloc_cleared_gimple_statement_d_stat): New.
      
      	* ggc-common.c: Include ggc-internal.h.
      	(ggc_internal_cleared_alloc_stat): Rename from
      	ggc_alloc_cleared_stat.
      	(ggc_realloc_stat): Use ggc_internal_alloc_stat.
      	(ggc_calloc): Remove.
      	(ggc_cleared_alloc_htab_ignore_args): New.
      	(ggc_cleared_alloc_ptr_array_two_args): New.
      	(ggc_splay_alloc): Add obj_type parameter.
      	(init_ggc_heuristics): Formatting fixes.
      
      	* ggc-none.c: Update copyright year.
      	(ggc_alloc_stat): Rename to ggc_alloc_stat.
      	(ggc_alloc_cleared_stat): Rename to
      	ggc_internal_cleared_alloc_stat.
      	(struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New.
      
      	* ggc-page.c: Update copyright year.  Include ggc-internal.h.
      	Remove references to ggc_alloc in comments.
      	(ggc_alloc_typed_stat): Call ggc_internal_alloc_stat.
      	(ggc_alloc_stat): Rename to ggc_internal_alloc_stat.
      	(new_ggc_zone, destroy_ggc_zone): Remove.
      	(struct alloc_zone, rtl_zone, tree_zone, tree_id_zone): New.
      
      	* ggc-zone.c: Include ggc-internal.h.  Remove references to
      	ggc_alloc in comments.
      	(ggc_alloc_zone_stat): ggc_internal_alloc_zone_stat.
      	(ggc_internal_alloc_zone_pass_stat): New.
      	(ggc_internal_cleared_alloc_zone_stat): New.
      	(ggc_alloc_typed_stat): Use ggc_internal_alloc_zone_pass_stat.
      	(ggc_alloc_stat): Rename ggc_internal_alloc_stat.
      	(new_ggc_zone, destroy_ggc_zone): Remove.
      
      	* stringpool.c: Update copyright year.  Include ggc-internal.h
      	(digit_vector): Make static.
      	(digit_string): Moved from ggc.h.
      	(stringpool_ggc_alloc): Use ggc_alloc_atomic.
      	(ggc_alloc_string): Rename to ggc_alloc_string_stat.
      
      	* Makefile.in (GGC_INTERNAL_H): New.
      	(ggc_common.o, ggc-page.o, ggc-zone.o, stringpool.o): Add
      	$(GGC_INTERNAL_H) to dependencies.
      
      	* gentype.c: Update copyright year.
      	(walk_type): Accept variable_size GTY option.
      	(USED_BY_TYPED_GC_P): New macro.
      	(write_enum_defn): Use USED_BY_TYPED_GC_P.  Do not output
      	whitespace at the end of strings.
      	(get_type_specifier, variable_size_p): New functions.
      	(alloc_quantity, alloc_zone): New enums.
      	(write_typed_alloc_def): New function.
      	(write_typed_struct_alloc_def): Likewise.
      	(write_typed_typed_typedef_alloc_def): Likewise.
      	(write_typed_alloc_defns): Likewise.
      	(output_typename, write_splay_tree_allocator_def): Likewise.
      	(write_splay_tree_allocators): Likewise.
      	(main): Call write_typed_alloc_defns and
      	write_splay_tree_allocators.
      
      	* lto-streamer.h (lto_file_decl_data_ptr): New.
      
      	* passes.c (order): Define using cgraph_node_ptr.
      
      	* strinpool.c (struct string_pool_data): Declare nested_ptr using
      	ht_identifier_ptr.
      
      	* gimple.h (union gimple_statement_d): Likewise.
      
      	* rtl.h (struct rtx_def): Likewise.
      	(struct rtvec_def): Likewise.
      
      	* tree.h (union tree_node): Likewise.
      
      	* tree-ssa-operands.h (struct ssa_operand_memory_d): Likewise.
      
      	* cfgloop.c (record_loop_exits): Use htab_create_ggc.
      
      	* tree-scalar-evolution.c (scev_initialize): Likewise.
      
      	* alias.c (record_alias_subset): Update splay_tree_new_ggc call.
      
      	* dwarf2asm.c (dw2_force_const_mem): Likewise.
      
      	* omp-low.c (lower_omp_critical): Likewise.
      
      	* bitmap.h (struct bitmap_head_def): Update comment to not
      	reference ggc_alloc.
      
      	* config/pa/pa.c (get_deferred_label): Use GGC_RESIZEVEC.
      
      	* ira.c (fix_reg_equiv_init): Use GGC_RESIZEVEC.
      
      	* ipa-prop.c (duplicate_ggc_array): Rename to
      	duplicate_ipa_jump_func_array.  Use typed GC allocation.
      	(ipa_edge_duplication_hook): Call duplicate_ipa_jump_func_array.
      
      	* gimple.c (gimple_alloc_stat): Use
      	ggc_alloc_cleared_gimple_statement_d_stat.
      
      	* varasm.c (create_block_symbol): Use ggc_alloc_zone_rtx_def.
      
      	* tree.c (make_node_stat): Use
      	ggc_alloc_zone_cleared_tree_node_stat.
      	(make_tree_vec_stat): Likewise.
      	(build_vl_exp_stat): Likewise.
      	(copy_node_stat): Use ggc_alloc_zone_tree_node_stat.
      	(make_tree_binfo_stat): Likewise.
      	(tree_cons_stat): Likewise.
      
      	* rtl.c (rtx_alloc_stat): Use ggc_alloc_zone_rtx_def_stat.
      	(shallow_copy_rtx_stat): Likewise.
      	(make_node_stat): Likewise.
      
      	* lto-symtab.c: Fix comment.
      
      	* tree-cfg.c (create_bb): Update comment to not reference
      	ggc_alloc_cleared.
      	* tree-ssa-structalias.c (struct heapvar_for_stmt): Fix param_is
      	value.
      
      	* varpool.c (varpool_node): Use typed GC allocation.
      	(varpool_extra_name_alias): Likewise.
      
      	* varasm.c (emutls_decl): Likewise.
      	(get_unnamed_section): Likewise.
      	(get_noswitch_section): Likewise.
      	(get_section): Likewise.
      	(get_block_for_section): Likewise.
      	(build_constant_desc): Likewise.
      	(create_constant_pool): Likewise.
      	(force_const_mem): Likewise.
      
      	* tree.c (build_vl_exp_stat): Likewise.
      	(build_real): Likewise.
      	(build_string): Likewise.
      	(decl_debug_expr_insert): Likewise.
      	(decl_value_expr_insert): Likewise.
      	(type_hash_add): Likewise.
      	(build_omp_clause): Likewise.
      
      	* tree-ssanames.c (duplicate_ssa_name_ptr_info): Likewise.
      
      	* tree-ssa.c (init_tree_ssa): Likewise.
      
      	* tree-ssa-structalias.c (heapvar_insert): Likewise.
      
      	* tree-ssa-operands.c (ssa_operand_alloc): Likewise.
      
      	* tree-ssa-loop-niter.c (record_estimate): Likewise.
      
      	* tree-ssa-alias.c (get_ptr_info): Likewise.
      
      	* tree-scalar-evolution.c (new_scev_info_str): Likewise.
      
      	* tree-phinodes.c (allocate_phi_node): Likewise.
      
      	* tree-iterator.c (tsi_link_before): Likewise.
      	(tsi_link_after): Likewise.
      
      	* tree-eh.c (add_stmt_to_eh_lp_fn): Likewise.
      
      	* tree-dfa.c (create_var_ann): Likewise.
      
      	* tree-cfg.c (create_bb): Likewise.
      
      	* toplev.c (alloc_for_identifier_to_locale): Likewise.
      	(general_init): Likewise.
      
      	* stringpool.c (stringpool_ggc_alloc): Likewise.
      	(gt_pch_save_stringpool): Likewise.
      
      	* sese.c (if_region_set_false_region): Likewise.
      
      	* passes.c (do_per_function_toporder): Likewise.
      
      	* optabs.c (set_optab_libfunc): Likewise.
      	(set_conv_libfunc): Likewise.
      
      	* lto-symtab.c (lto_symtab_register_decl): Likewise.
      
      	* lto-streamer-in.c (lto_input_eh_catch_list): Likewise.
      	(input_eh_region): Likewise.
      	(input_eh_lp): Likewise.
      	(make_new_block): Likewise.
      	(unpack_ts_real_cst_value_fields): Likewise.
      
      	* lto-section-in.c (lto_new_in_decl_state): Likewise.
      
      	* lto-cgraph.c (input_node_opt_summary): Likewise.
      
      	* loop-init.c (loop_optimizer_init): Likewise.
      
      	* lambda.h (lambda_vector_new): Likewise.
      
      	* lambda-code.c (replace_uses_equiv_to_x_with_y): Likewise.
      
      	* ira.c (update_equiv_regs): Likewise.
      
      	* ipa.c (cgraph_node_set_new): Likewise.
      	(cgraph_node_set_add): Likewise.
      	(varpool_node_set_new): Likewise.
      	(varpool_node_set_add): Likewise.
      
      	* ipa-prop.c (ipa_compute_jump_functions_for_edge): Likewise.
      	(duplicate_ipa_jump_func_array): Likewise.
      	(ipa_read_node_info): Likewise.
      
      	* ipa-cp.c (ipcp_create_replace_map): Likewise.
      
      	* integrate.c (get_hard_reg_initial_val): Likewise.
      
      	* gimple.c (gimple_alloc_stat): Likewise.
      	(gimple_build_omp_for): Likewise.
      	(gimple_seq_alloc): Likewise.
      	(gimple_copy): Likewise.
      
      	* gimple-iterator.c (gsi_insert_before_without_update): Likewise.
      	(gsi_insert_after_without_update): Likewise.
      
      	* function.c (add_frame_space): Likewise.
      	(insert_temp_slot_address): Likewise.
      	(assign_stack_temp_for_type): Likewise.
      	(allocate_struct_function): Likewise.
      	(types_used_by_var_decl_insert): Likewise.
      
      	* except.c (init_eh_for_function): Likewise.
      	(gen_eh_region): Likewise.
      	(gen_eh_region_catch): Likewise.
      	(gen_eh_landing_pad): Likewise.
      	(add_call_site): Likewise.
      
      	* emit-rtl.c (get_mem_attrs): Likewise.
      	(get_reg_attrs): Likewise.
      	(start_sequence): Likewise.
      	(init_emit): Likewise.
      
      	* dwarf2out.c (new_cfi): Likewise.
      	(queue_reg_save): Likewise.
      	(dwarf2out_frame_init): Likewise.
      	(new_loc_descr): Likewise.
      	(find_AT_string): Likewise.
      	(new_die): Likewise.
      	(add_var_loc_to_decl): Likewise.
      	(clone_die): Likewise.
      	(clone_as_declaration): Likewise.
      	(break_out_comdat_types): Likewise.
      	(new_loc_list): Likewise.
      	(loc_descriptor): Likewise.
      	(add_loc_descr_to_each): Likewise.
      	(add_const_value_attribute): Likewise.
      	(tree_add_const_value_attribute): Likewise.
      	(add_comp_dir_attribute): Likewise.
      	(add_name_and_src_coords_attributes): Likewise.
      	(lookup_filename): Likewise.
      	(store_vcall_insn): Likewise.
      	(dwarf2out_init): Likewise.
      
      	* dbxout.c (dbxout_init): Likewise.
      
      	* config/xtensa/xtensa.c (xtensa_init_machine_status): Likewise.
      
      	* config/sparc/sparc.c (sparc_init_machine_status): Likewise.
      
      	* config/score/score7.c (score7_output_external): Likewise.
      
      	* config/score/score3.c (score3_output_external): Likewise.
      
      	* config/s390/s390.c (s390_init_machine_status): Likewise.
      
      	* config/rs6000/rs6000.c (builtin_function_type): Likewise.
      	(rs6000_init_machine_status): Likewise.
      	(output_toc): Likewise.
      
      	* config/pa/pa.c (pa_init_machine_status): Likewise.
      	(get_deferred_plabel): Likewise.
      
      	* config/moxie/moxie.c (moxie_init_machine_status): Likewise.
      
      	* config/mmix/mmix.c (mmix_init_machine_status): Likewise.
      
      	* config/mips/mips.c (mflip_mips16_use_mips16_p): Likewise.
      
      	* config/mep/mep.c (mep_init_machine_status): Likewise.
      	(mep_note_pragma_flag): Likewise.
      
      	* config/m32c/m32c.c (m32c_init_machine_status): Likewise.
      
      	* config/iq2000/iq2000.c (iq2000_init_machine_status): Likewise.
      
      	* config/ia64/ia64.c (ia64_init_machine_status): Likewise.
      
      	* config/i386/winnt.c (i386_pe_record_external_function): Likewise.
      	(i386_pe_maybe_record_exported_symbol): Likewise.
      
      	* config/i386/i386.c (get_dllimport_decl): Likewise.
      	(ix86_init_machine_status): Likewise.
      	(assign_386_stack_local): Likewise.
      
      	* config/frv/frv.c (frv_init_machine_status): Likewise.
      
      	* config/darwin.c (machopic_indirection_name): Likewise.
      
      	* config/cris/cris.c (cris_init_machine_status): Likewise.
      
      	* config/bfin/bfin.c (bfin_init_machine_status): Likewise.
      
      	* config/avr/avr.c (avr_init_machine_status): Likewise.
      
      	* config/arm/arm.c (arm_init_machine_status): Likewise.
      
      	* config/alpha/alpha.c (alpha_init_machine_status): Likewise.
      	(alpha_need_linkage): Likewise.
      	(alpha_use_linkage): Likewise.
      
      	* cgraph.c (cgraph_allocate_node): Likewise.
      	(cgraph_create_edge_1): Likewise.
      	(cgraph_create_indirect_edge): Likewise.
      	(cgraph_add_asm_node): Likewise.
      
      	* cfgrtl.c (init_rtl_bb_info): Likewise.
      
      	* cfgloop.c (alloc_loop): Likewise.
      	(rescan_loop_exit): Likewise.
      
      	* cfg.c (init_flow): Likewise.
      	(alloc_block): Likewise.
      	(unchecked_make_edge): Likewise.
      
      	* c-parser.c (c_parse_init): Likewise.
      	(c_parse_file): Likewise.
      
      	* c-decl.c (bind): Likewise.
      	(record_inline_static): Likewise.
      	(push_scope): Likewise.
      	(make_label): Likewise.
      	(lookup_label_for_goto): Likewise.
      	(finish_struct): Likewise.
      	(finish_enum): Likewise.
      	(c_push_function_context): Likewise.
      
      	* bitmap.c (bitmap_element_allocate): Likewise.
      	(bitmap_gc_alloc_stat): Likewise.
      
      	* alias.c (record_alias_subset): Likewise.
      	(init_alias_analysis): Likewise.
      
      include:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* splay-tree.h: Update copyright years.
      	(splay_tree_s): Document fields.
      	(splay_tree_new_typed_alloc): New.
      
      	* hashtab.h: Update copyright years.
      	(htab_create_typed_alloc): New.
      
      libcpp:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* include/symtab.h (ht_identifier_ptr): New.
      
      libiberty:
      
      2010-06-08  Laurynas Biveinis  <laurynas.biveinis@gmail.com>
      
      	* splay-tree.c: Update copyright years.
      	(splay_tree_new_typed_alloc): New.
      	(splay_tree_new_with_allocator): Use it.
      
      	* hashtab.c: Update copyright years.
      	(htab_create_typed_alloc): New.
      	(htab_create_alloc): Use it.
      
      	* functions.texi: Regenerate.
      
      From-SVN: r160425
      Laurynas Biveinis committed
  21. 07 Jun, 2010 3 commits
  22. 05 Jun, 2010 1 commit
    • c-common.c: Move to c-family/. · 39dabefd
      gcc/ChangeLog:
      	* c-common.c: Move to c-family/.
      	* c-common.def: Likewise.
      	* c-common.h: Likewise.
      	* c-cppbuiltin.c: Likewise.
      	* c-dump.c: Likewise.
      	* c-format.c: Likewise.
      	* c-format.h : Likewise.
      	* c-gimplify.c: Likewise.
      	* c-lex.c: Likewise.
      	* c-omp.c: Likewise.
      	* c.opt: Likewise.
      	* c-opts.c: Likewise.
      	* c-pch.c: Likewise.
      	* c-ppoutput.c: Likewise.
      	* c-pragma.c: Likewise.
      	* c-pragma.h: Likewise.
      	* c-pretty-print.c: Likewise.
      	* c-pretty-print.h: Likewise.
      	* c-semantics.c: Likewise.
      	* stub-objc.c: Likewise.
      
      	* gengtype.c (get_file_langdir): Special-case files in c-family/.
      	(get_output_file_with_visibility): Fix name for c-common.h.
      	* c-config-lang.in: Update paths in gtfiles for files in c-family/.
      
      	* c-tree.h: Update include path for moved files.
      	* c-lang.c: Likewise.
      	* c-lang.h: Likewise.
      	* c-parser.c: Likewise.
      	* c-convert.c: Likewise.
      	* c-decl.c: Likewise.
      	* c-objc-common.c: Likewise.
      	* configure.ac: Make sure c-family/ exists in the build directory.
      	* configure: Regenerate.
      	* Makefile.in: Update paths for moved files.  Regroup files per
      	location and update dependencies.  Move generated_files down after
      	ALL_GTFILES_H.
      
      	* config/spu/spu-c.c: Update paths for moved files.
      	* config/mep/mep-pragma.c: Likewise.
      	* config/darwin-c.c: Likewise.
      	* config/i386/msformat-c.c: Likewise.
      	* config/i386/i386-c.c: Likewise.
      	* config/avr/avr-c.c: Likewise.
      	* config/sol2-c.c: Likewise.
      	* config/ia64/ia64-c.c: Likewise.
      	* config/rs6000/rs6000-c.c: Likewise.
      	* config/arm/arm.c: Likewise.
      	* config/arm/arm-c.c: Likewise.
      	* config/h8300/h8300.c: Likewise.
      	* config/v850/v850-c.c: Likewise.
      
      	* config/t-darwin: Fix dependencies for moved files.
      	* config/t-sol2: Fix dependencies for moved files.
      	* config/mep/t-mep: Fix dependencies for moved files.
      	* config/ia64/t-ia64: Fix dependencies for moved files.
      	* config/rs6000/t-rs6000: Fix dependencies for moved files.
      	* config/v850/t-v850: Fix dependencies for moved files.
      	* config/v850/t-v850e: Fix dependencies for moved files.
      
      	* config/m32c/m32c-pragma.c
      
      	* po/exgettext: Look in c-family/ also.
      
      c-family/ChangeLog:
      	* c-common.c: Include gt-c-family-c-common.h.
      	* c-pragma.c: Include gt-c-family-c-pragma.h.
      
      objc/ChangeLog:
      	* objc-act.c: Update include path for moved files.
      	* objc-lang.c: Likewise.
      	* config-lang.in: Update paths in gtfiles for files in c-family/.
      
      objcp/ChangeLog:
      	* objcp-lang.c: Update include path for moved files.
      	* config-lang.in: Update paths in gtfiles for files in c-family/.
      
      cp/ChangeLog:
      	* typeck.c: Update include path for moved files.
      	* decl.c: Likewise.
      	* rtti.c: Likewise.
      	* cp-gimplify.c: Likewise.
      	* cp-lang.c: Likewise.
      	* pt.c: Likewise.
      	* semantics.c: Likewise.
      	* cxx-pretty-print.h: Likewise.
      	* decl2.c: Likewise.
      	* parser.c: Likewise.
      	* cp-objcp-common.c: Likewise.
      	* cp-tree.h: Likewise.
      	* name-lookup.c: Likewise.
      	* lex.c: Likewise.
      	* name-lookup.h: Likewise.
      	* config-lang.in: Update paths in gtfiles for files in c-family/.
      	* Make-lang.in: Likewise.
      
      From-SVN: r160330
      Steven Bosscher committed
  23. 04 Jun, 2010 3 commits
    • pt.c (value_dependent_expression_p): Avoid using an uninitialized variable. · aa3bf45c
      	* pt.c (value_dependent_expression_p) [NOEXCEPT_EXPR]: Avoid
      	using an uninitialized variable.
      
      From-SVN: r160300
      Jason Merrill committed
    • Implement noexcept-specification (15.4) · 3a55fb4c
      	Implement noexcept-specification (15.4)
      	* parser.c (cp_parser_exception_specification_opt): Parse it.
      	Give -Wdeprecated warning about throw() specs.
      	* pt.c (tsubst_exception_specification): Handle it.
      	* error.c (dump_exception_spec): Handle it.
      	* cxx-pretty-print.c (pp_cxx_exception_specification): Likewise.
      	* typeck.c (comp_except_specs): Handle compatibility rules.
      	Change exact parm to take an enum.
      	* typeck2.c (merge_exception_specifiers): Handle noexcept.
      	* except.c (nothrow_spec_p, type_noexcept_p): New fns.
      	(type_throw_all_p, build_noexcept_spec): New fns.
      	* cp-tree.h (TYPE_NOTHROW_P, TYPE_NOEXCEPT_P): Use them.
      	(comp_except_specs): Define ce_derived, ce_normal, ce_exact enums.
      	(cp_tree_index): Add CPTI_NOEXCEPT_TRUE_SPEC, CPTI_NOEXCEPT_FALSE_SPEC.
      	(noexcept_true_spec, noexcept_false_spec): New macros.
      	* name-lookup.c (pushdecl_maybe_friend): Adjust.
      	* search.c (check_final_overrider): Adjust.
      	* decl.c (check_redeclaration_exception_specification): Adjust.
      	(use_eh_spec_block): Use type_throw_all_p.
      	(cxx_init_decl_processing): Set noexcept_false_spec,noexcept_true_spec.
      	Give operator new a noexcept-specification in C++0x mode.
      	* tree.c (build_exception_variant, cxx_type_hash_eq): Adjust.
      	(cp_build_type_attribute_variant): Don't test TYPE_RAISES_EXCEPTIONS.
      
      From-SVN: r160298
      Jason Merrill committed
    • Implement noexcept operator (5.3.7) · 0a766368
      	Implement noexcept operator (5.3.7)
      	* c-common.c (c_common_reswords): Add noexcept.
      	* c-common.h (enum rid): Add RID_NOEXCEPT.
      cp/
      	* cp-tree.def (NOEXCEPT_EXPR): New.
      	* except.c (check_noexcept_r, finish_noexcept_expr): New.
      	* cp-tree.h: Declare finish_noexcept_expr.
      	* parser.c (cp_parser_unary_expression): Parse noexcept-expression.
      	* pt.c (tsubst_copy_and_build): And tsubst it.
      	(type_dependent_expression_p): Handle it.
      	(value_dependent_expression_p): Handle it.
      
      From-SVN: r160297
      Jason Merrill committed
  24. 28 May, 2010 1 commit
    • c-common.h (GCC_DIAG_STYLE): Define earlier in the file, before including diagnostic-core.h. · 59cc9210
      gcc/ChangeLog:
      	* c-common.h (GCC_DIAG_STYLE): Define earlier in the file,
      	before including diagnostic-core.h.
      	(c_cpp_error): New prototype moved from c-tree.h.
      	Use ATTRIBUTE_GCC_DIAG instead of ATTRIBUTE_GCC_CDIAG.
      	* c-tree.h (ATTRIBUTE_GCC_CDIAG): Remove define.
      	(pedwarn_c90, perwarn_c99): Use ATTRIBUTE_GCC_DIAG instead.
      	(c_cpp_error): Prototype moved to c-common.h.
      	* Makefile.in: Update dependency for C_COMMON_H.
      
      cp/ChangeLog:
      	* cp-tree.h (ATTRIBUTE_GCC_CXXDIAG): Remove.  Require that
      	this file is included before c-common.h.  Define GCC_DIAG_STYLE
      	before including diagnostic-core.h and toplev.h.
      	(pedwarn_cxx98): Use ATTRIBUTE_GCC_DIAG.
      	* pt.c: Include cp-tree.h before c-common.h.
      
      From-SVN: r160007
      Steven Bosscher committed
  25. 27 May, 2010 1 commit
    • diagnostic-core.h: New. · 1da2ed5f
      	* diagnostic-core.h: New.  Contents moved from diagnostic.h and
      	toplev.h.
      	* diagnostic.c: Don't include toplev.h.
      	(progname): Define.  Moved from toplev.c.
      	(seen_error): New function.
      	* diagnostic.h: Include diagnostic-core.h.
      	(diagnostic_t, emit_diagnostic): Don't declare here.
      	* toplev.c (progname): Move to toplev.c.
      	(emit_debug_global_declarations, compile_file, finalize,
      	do_compile, toplev_main): Use seen_error.
      	* toplev.h: Include diagnostic-core.h.
      	(trim_filename, GCC_DIAG_STYLE, ATTRIBUTE_GCC_DIAG,
      	internal_error, warning, warning_at, error, error_n, error_at,
      	fatal_error, pedwarn, permerror, sorry, inform, inform_n,
      	verbatim, fnotice, progname): Move to diagnostic-core.h.
      	* builtins.c: Include diagnostic-core.h instead of diagnostic.h.
      	(expand_builtin_expect): Use seen_error.
      	* c-decl.c: Include diagnostic-core.h instead of diagnostic.h.
      	(c_make_fname_decl, c_write_global_declarations): Use seen_error.
      	* c-format.c: Include diagnostic-core.h instead of diagnostic.h.
      	* c-gimplify.c: Include diagnostic-core.h instead of diagnostic.h.
      	* c-lang.c: Include diagnostic-core.h instead of diagnostic.h.
      	* c-lex.c (c_lex_with_flags, interpret_float): Don't increment
      	errorcount for errors.
      	* c-opts.c (c_common_finish): Use seen_error.
      	* cgraph.c: Include diagnostic-core.h instead of diagnostic.h.
      	* cgraphunit.c (verify_cgraph_node, verify_cgraph,
      	cgraph_output_pending_asms, cgraph_optimize): Use seen_error.
      	* coverage.c: Include diagnostic-core.h instead of diagnostic.h.
      	(get_coverage_counts): Use seen_error.
      	* dwarf2out.c (dwarf2out_finish): Use seen_error.
      	* gimplify.c (gimplify_var_or_parm_decl, gimple_push_cleanup,
      	gimplify_body): Use seen_error.
      	* ipa-inline.c (cgraph_early_inlining): Use seen_error.
      	* ipa-pure-const.c (gate_pure_const): Use seen_error.
      	* ipa-reference.c (gate_reference): Use seen_error.
      	* jump.c: Include diagnostic-core.h instead of diagnostic.h.
      	* lambda-code.c: Include diagnostic-core.h instead of
      	diagnostic.h.
      	* lto-cgraph.c: Include diagnostic-core.h instead of diagnostic.h.
      	* lto-compress.c: Include diagnostic-core.h instead of
      	diagnostic.h.
      	* lto-section-in.c: Include diagnostic-core.h instead of
      	diagnostic.h.
      	* lto-streamer-out.c: Include diagnostic-core.h instead of
      	diagnostic.h.
      	* lto-streamer.c: Include diagnostic-core.h instead of
      	diagnostic.h.
      	(gate_lto_out): Use seen_error.
      	* matrix-reorg.c: Include diagnostic-core.h instead of
      	diagnostic.h.
      	* omega.c: Include diagnostic-core.h instead of diagnostic.h.
      	* omp-low.c: Include diagnostic-core.h instead of diagnostic.h.
      	(gate_expand_omp, lower_omp_1): Use seen_error.
      	* passes.c: Include diagnostic-core.h instead of diagnostic.h.
      	(rest_of_decl_compilation, rest_of_type_compilation,
      	gate_rest_of_compilation, ipa_write_summaries): Use seen_error.
      	* tree-cfg.c (label_to_block_fn): Use seen_error.
      	* tree-inline.c (optimize_inline_calls): Use seen_error.
      	* tree-mudflap.c (mudflap_finish_file): Use
      	seen_error.
      	* tree-optimize.c (gate_all_optimizations,
      	gate_all_early_local_passes, gate_all_early_optimizations): Use
      	seen_error.
      	* tree-ssa-structalias.c (gate_ipa_pta): Use seen_error.
      	* varpool.c: Include diagnostic-core.h instead of diagnostic.h.
      	(varpool_remove_unreferenced_decls,
      	varpool_assemble_pending_decls): Use seen_error.
      	* Makefile.in (DIAGNOSTIC_CORE_H): Define.
      	(TOPLEV_H, DIAGNOSTIC_H): Update.
      	(c-decl.o, c-lang.o, c-format.o, lto-compress.o, lto-cgraph.o,
      	lto-streamer-out.o, lto-section-in.o, lto-streamer.o,
      	c-gimplify.o, omp-low.o, omega.o, diagnostic.o, passes.o,
      	builtins.o, jump.o, cgraph.o, varpool.o, matrix-reorg.o,
      	coverage.o, lambda-code.o): Update dependencies.
      
      cp:
      	* call.c: Include diagnostic-core.h instead of diagnostic.h.
      	* cp-lang.c: Don't include diagnostic.h
      	* name-lookup.c: Include diagnostic-core.h instead of
      	diagnostic.h.
      	(cp_emit_debug_info_for_using): Use seen_error.
      	* optimize.c: Include diagnostic-core.h instead of diagnostic.h.
      	* parser.c: Include diagnostic-core.h instead of diagnostic.h.
      	* pt.c (iterative_hash_template_arg): Use seen_error.
      	* repo.c: Include diagnostic-core.h instead of diagnostic.h.
      	* typeck2.c: Include diagnostic-core.h instead of diagnostic.h.
      	* Make-lang.in (cp/cp-lang.o, cp/typeck2.o, cp/call.o, cp/repo.o,
      	cp/optimize.o, cp/parser.o, cp/name-lookup.o): Update
      	dependencies.
      
      lto:
      	* lto.c: Include diagnostic-core.h instead of diagnostic.h.
      	(read_cgraph_and_symbols, lto_main): Use seen_error.
      	* Make-lang.in (lto/lto.o): Update dependencies.
      
      objc:
      	* objc-act.c: Include diagnostic-core.h instead of diagnostic.h.
      	* Make-lang.in (objc/objc-act.o): Update dependencies.
      
      From-SVN: r159947
      Joseph Myers committed
  26. 26 May, 2010 1 commit
  27. 25 May, 2010 1 commit
    • Makefile.in (EXCEPT_H): Fix typo. · 245763e3
      gcc/ChangeLog:
      	* Makefile.in (EXCEPT_H): Fix typo.
      
      objc/ChangeLog:
      	* objc-act.h: Do not include gimple.h.
      	* objc-act.c: Do not include rtl.h, expr.h, libfuncs.h, and tm_p.h.
      	Include gimple.h.  Explain why except.h has to be included.
      	* objc-lang.c: Do not include diagnostics.h.
      	* Make-lang.in: Update dependencies.
      
      objcp/ChangeLog:
      	* objcp-decl.c: Do not include tm.h, rtl.h, expr.h, c-common.h,
      	flags.h, input.h, except.h, output.h, toplev.h, cpplib.h, debug.h,
      	and target.h.
      	* objcp-lang.c: Do not include tm.h, toplev.h, diagnostics.h,
      	and debug.h.  Explain why except.h has to be included.
      	* Make-lang.in: Update dependencies.
      
      cp/ChangeLog:
      	* cp-tree.h: Do not include splay-tree.h.
      	(struct prtmem_cst): Remove unused field and false comment.
      	* typeck.c: Do not include rtl.h, expr.h, and tm_p.h.
      	* optimize.c: Do not inclde rtl.h, insn-config.h, and integrate.h.
      	* init.c: Do not include rtl.h and expr.h.
      	* class.c: Do not include rtl.h.  Include splay-tree.h.
      	(build_clone): Use plain NULL instead of NULL_RTX.
      	* decl.c: Do not include expr.h.  Explain why rtl.h has to be
      	included.  Include splay-tree.h.
      	* method.c: Do not include rtl.h and expr.h.
      	(use_thunk): Use plain NULL instead of NULL_RTX.
      	* except.c: Do not include rtl.h, expr.h, and libfuncs.h.
      	* tree.c: Do not include rtl.h, insn-config.h, integrate.h,
      	and target.h.  Include splay-tree.h.
      	* expr.c: Do not include rtl.h and expr.h.
      	* pt.c: Do not include obstack.h and rtl.h.
      	(tsubst_friend_function): Use plain NULL instead of NULL_RTX.
      	(tsubst_decl): Likewise.
      	(instantiate_decl): Likewise.
      	* semantics.c: Do not include exprt.h and debug.h.  Explain why
      	rtl.h has to be included.
      	* decl2.c: Do not include rtl.h and expr.h.  Include splay-tree.h.
      	* call.c: Do not include rtl.h and expr.h.
      	* search.c: Do not include obstack.h and rtl.h.
      	* friend.c: Do not include rtl.h and expr.h.
      	* Make-lang.in: Update dependencies.
      
      From-SVN: r159839
      Steven Bosscher committed
  28. 19 May, 2010 3 commits
    • call.c (reference_binding): Use cp_build_qualified_type_real and cp_type_quals consistently. · a3360e77
      	* call.c (reference_binding): Use cp_build_qualified_type_real
      	and cp_type_quals consistently.
      	(add_function_candidate): Likewise.
      	(build_conditional_expr): Likewise.
      	(convert_like_real): Likewise.
      	(type_passed_as): Likewise.
      	* class.c (add_method): Likewise.
      	(same_signature_p): Likewise.
      	(layout_class_type): Likewise.
      	* decl.c (cxx_init_decl_processing): Likewise.
      	(cp_fname_init): Likewise.
      	(grokdeclarator): Likewise.
      	* decl2.c (cp_reconstruct_complex_type): Likewise.
      	* init.c (build_new_1): Likewise.
      	* method.c (do_build_copy_constructor): Likewise.
      	(implicitly_declare_fn): Likewise.
      	* pt.c (tsubst_aggr_type): Likewise.
      	(tsubst): Likewise.
      	* rtti.c (init_rtti_processing): Likewise.
      	(build_headof): Likewise.
      	(build_dynamic_cast_1): Likewise.
      	(tinfo_base_init): Likewise.
      	(emit_support_tinfos): Likewise.
      	* semantics.c (capture_decltype): Likewise.
      	* tree.c (cv_unqualified): Likewise.
      	* typeck.c (composite_pointer_type): Likewise.
      	(string_conv_p): Likewise.
      
      	* mangle.c (write_CV_qualifiers_for_type): Tweak.
      
      	* call.c (initialize_reference): Use CP_TYPE_CONST_P.
      	* decl.c (start_decl): Likewise.
      	* semantics.c (finish_compound_literal): Likewise.
      	* typeck.c (check_return_expr): Use CP_TYPE_VOLATILE_P.
      	(cp_type_readonly): Remove.
      	* cp-tree.h: Remove declaration.
      
      From-SVN: r159599
      Jason Merrill committed
    • decl.c (grokdeclarator): Don't check quals on fn type. · 93e1ddcf
      	* decl.c (grokdeclarator): Don't check quals on fn type.
      	* typeck.c (cp_apply_type_quals_to_decl): Likewise.
      	* tree.c (cp_build_qualified_type_real): Simplify qualifier checking.
      
      From-SVN: r159597
      Jason Merrill committed
    • re PR c++/44193 (function types, cv-quals and typename) · 2872152c
      	PR c++/44193
      	* typeck.c (type_memfn_quals): New fn.
      	(apply_memfn_quals): New fn.
      	(cp_type_quals): Return TYPE_UNQUALIFIED for FUNCTION_TYPE.
      	(cp_type_readonly): Use cp_type_quals.
      	* cp-tree.h: Add declarations.
      	* tree.c (cp_build_qualified_type_real): Don't set, but do
      	preserve, quals on FUNCTION_TYPE.
      	(strip_typedefs): Use apply_memfn_quals and type_memfn_quals.
      	* decl.c (build_ptrmem_type): Likewise.
      	(grokdeclarator): Likewise.
      	(static_fn_type): Likewise.
      	* decl2.c (change_return_type): Likewise.
      	(cp_reconstruct_complex_type): Likewise.
      	* pt.c (tsubst_function_type): Likewise.
      	(unify): Likewise.
      	(tsubst): Likewise.  Drop special FUNCTION_TYPE substitution code.
      
      From-SVN: r159596
      Jason Merrill committed
  29. 15 May, 2010 1 commit
  30. 11 May, 2010 1 commit
    • re PR c++/34272 (ICE with invalid template specialization) · aac73a6d
      /cp
      2010-05-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/34272
      	PR c++/43630
      	PR c++/34491
      	* pt.c (process_partial_specialization): Return error_mark_node
      	in case of unused template parameters in partial specialization.
      
      /testsuite
      2010-05-11  Paolo Carlini  <paolo.carlini@oracle.com>
      
      	PR c++/34272
      	PR c++/43630
      	PR c++/34491
      	* g++.dg/template/crash97.C: New.
      	* g++.dg/template/crash98.C: Likewise.
      	* g++.dg/template/crash99.C: Likewise.
      	* g++.dg/cpp0x/pr31439.C: Adjust.
      	* g++.dg/template/crash95.C: Likewise.
      
      From-SVN: r159295
      Paolo Carlini committed
  31. 06 May, 2010 1 commit
    • C++ support for -Wunused-but-set-variable · 03a904b5
      gcc/cp/ChangeLog:
      	PR 18624
      	* cp-tree.h (mark_exp_read, mark_rvalue_use, mark_lvalue_use,
      	mark_type_use): Declare ...
      	* expr.c (mark_exp_read, mark_rvalue_use, mark_lvalue_use,
      	mark_type_use): ... new fns.
      	* typeck.c (cxx_sizeof_expr, cxx_alignof_expr): Call mark_type_use.
      	(perform_integral_promotions): Call mark_rvalue_use.
      	(cp_build_unary_op): Call mark_lvalue_use.
      	(decay_conversion): Update comment. Call mark_lvalue.
      	* decl.c (unused_but_set_errorcount): New variable.
      	(poplevel): Issue -Wunused-but-set-variable diagnostics.
      	(duplicate_decls): Merge DECL_READ_P flags.
      	(start_cleanup_fn): Set DECL_READ_P flag.
      	(finish_function): Issue -Wunused-but-set-parameter diagnostics.
      	* tree.c (rvalue): Call mark_rvalue_use.
      	* pt.c (convert_nontype_argument): Likewise.
      	* semantics.c (finish_typeof, finish_decltype_type): Call
      	mark_type_use.
      	(finish_asm_stmt): Call mark_lvalue_use.
      	(finish_expr_stmt): Call mark_exp_read.
      	* call.c (convert_like_real) <ck_identity, ck_user>: Call
      	mark_rvalue_use.
      	(build_x_va_arg): Call mark_lvalue_use.
      	(build_over_call): Call mark_type_use.
      	* init.c (build_new, build_delete): Call mark_value_use.
      	* rtti.c (build_typeid): Call mark_lvalue_use or mark_type_use.
      	(build_dynamic_cast_1): call mark_lvalue_use or mark_rvalue_use.
      
      gcc/testsuite/ChangeLog:
      	PR 18624
      	* g++.dg/warn/Wunused-7.C: Add dg-warning.
      	* g++.dg/template/sfinae16.C: Likewise.
      	* gcc.dg/Wunused-var-1.c: Moved to...
      	* c-c++-common/Wunused-var-1.c: ...here. New test.
      	* gcc.dg/Wunused-var-2.c: Moved to...
      	* c-c++-common/Wunused-var-2.c: ...here. New test.
      	* gcc.dg/Wunused-var-3.c: Moved to...
      	* c-c++-common/Wunused-var-3.c: ...here. New test.
      	* gcc.dg/Wunused-var-4.c: Moved to...
      	* gcc.dg/Wunused-var-1.c: ... here.
      	* gcc.dg/Wunused-var-5.c: Moved to...
      	* c-c++-common/Wunused-var-4.c: ...here. New test.
      	* gcc.dg/Wunused-var-7.c: Moved to...
      	* c-c++-common/Wunused-var-5.c: ...here. New test.
      	* gcc.dg/Wunused-var-6.c: Moved to...
      	* gcc.dg/Wunused-var-2.c: ... here.
      	* c-c++-common/Wunused-var-1.c: New test.
      	* c-c++-common/Wunused-var-2.c: New test.
      	* c-c++-common/Wunused-var-3.c: New test.
      	* c-c++-common/Wunused-var-4.c: New test.
      	* c-c++-common/Wunused-var-5.c: New test.
      	* g++.dg/warn/Wunused-var-1.C: New test.
      	* g++.dg/warn/Wunused-var-2.C: New test.
      	* g++.dg/warn/Wunused-var-3.C: New test.
      	* g++.dg/warn/Wunused-var-4.C: New test.
      	* g++.dg/warn/Wunused-var-5.C: New test.
      	* g++.dg/warn/Wunused-var-6.C: New test.
      	* g++.dg/warn/Wunused-var-7.C: New test.
      	* g++.dg/warn/Wunused-var-8.C: New test.
      	* g++.dg/warn/Wunused-parm-1.C: New test.
      	* g++.dg/warn/Wunused-parm-2.C: New test.
      	* g++.dg/warn/Wunused-parm-3.C: New test.
      
      Co-Authored-By: Dodji Seketeli <dodji@redhat.com>
      
      From-SVN: r159096
      Jakub Jelinek committed