1. 06 Aug, 2009 1 commit
  2. 04 Aug, 2009 5 commits
  3. 01 Aug, 2009 3 commits
    • call.c (convert_class_to_reference): Binding an lvalue to an rvalue reference is bad. · e7f1930f
      	* call.c (convert_class_to_reference): Binding an lvalue to an
      	rvalue reference is bad.  If the user-defined conversion is bad,
      	set bad_p before merging conversions.
      	(maybe_handle_ref_bind): Don't push down bad_p.
      	(reference_binding): Binding an lvalue to an rvalue reference is bad.
      	(convert_like_real): Give a helpful error about binding lvalue
      	to rvalue reference.
      	(reference_related_p): No longer static.
      	* typeck.c (build_typed_address): New.
      	(build_static_cast_1): Add static_cast from lvalue to &&.
      	* cp-tree.h: Adjust.
      
      	* include/bits/move.h (forward): Implement as in N2835.
      	(move): Implement as in N2831.
      	* include/std/istream (rvalue stream operator>>): New.
      	* include/std/ostream (rvalue stream operator<<): New.
      
      Co-Authored-By: Douglas Gregor <doug.gregor@gmail.com>
      
      From-SVN: r150327
      Jason Merrill committed
    • call.c (reference_binding): Rename lvalue_p to is_lvalue. · 9771799c
      	* call.c (reference_binding): Rename lvalue_p to is_lvalue.
      	Do direct binding of "rvalues" in memory to rvalue references.
      	* tree.c (lvalue_p_1): Can't be both non-addressable lvalue and
      	"rvalue" in memory.
      	* typeck.c (build_static_cast_1): Do direct binding of memory
      	"rvalues" to rvalue references.
      	* cvt.c (cp_fold_convert): New.
      	* cp-tree.h: Declare it.
      
      From-SVN: r150325
      Jason Merrill committed
    • typeck.c (build_address): Do fold away ADDR_EXPR of INDIRECT_REF. · d3e1e89e
      	* typeck.c (build_address): Do fold away ADDR_EXPR of INDIRECT_REF.
      	* tree.c (rvalue): Use cp_build_qualified_type, not TYPE_MAIN_VARIANT.
      
      From-SVN: r150324
      Jason Merrill committed
  4. 29 Jul, 2009 2 commits
  5. 26 Jul, 2009 1 commit
  6. 25 Jul, 2009 1 commit
    • Core issue 901 · 67a6e816
      	Core issue 901
      	* libsupc++/vec.cc (__cxa_vec_new2, __cxa_vec_new3): Handle NULL
      	dealloc.
      	* call.c (build_op_delete_call): If this is for a new-expression
      	and the op delete is deleted, do nothing.
      
      From-SVN: r150073
      Jason Merrill committed
  7. 24 Jul, 2009 1 commit
  8. 22 Jul, 2009 4 commits
  9. 17 Jul, 2009 2 commits
    • re PR c/40401 (ICE: verify_gimple failed) · a406865a
      2009-07-17  Richard Guenther  <rguenther@suse.de>
      
      	PR c/40401
      	* tree-pass.h (pass_diagnose_omp_blocks): Declare.
      	(pass_warn_unused_result): Likewise.
      	(TODO_set_props): Remove.
      	* omp-low.c (diagnose_omp_structured_block_errors): Change to
      	run as a pass.
      	(pass_diagnose_omp_blocks): Define.
      	* c-decl.c (pop_file_scope): Do not finalize the CU here.
      	(c_gimple_diagnostics_recursively): Remove.
      	(finish_function): Do not call it.
      	(c_write_global_declarations): Continue after errors.
      	Finalize the CU here.
      	* c-gimplify.c (c_genericize): Do not gimplify here.
      	* c-common.c (c_warn_unused_result): Move ...
      	* tree-cfg.c (do_warn_unused_result): ... here.
      	(run_warn_unused_result): New function.
      	(gate_warn_unused_result): New function.
      	(pass_warn_unused_result): New pass.
      	* c-common.h (c_warn_unused_result): Remove.
      	* flags.h (flag_warn_unused_result): Declare.
      	* c-opts.c (c_common_init_options): Enable flag_warn_unused_result.
      	* opts.c (flag_warn_unused_result): Initialize to false.
      
      	* toplev.c (compile_file): Add comment.
      	* omp-low.c (create_omp_child_function): Do not register
      	the function with the frontend.
      	(diagnose_omp_structured_block_errors): Prepare to be
      	called as optimization pass.
      	(gate_diagnose_omp_blocks): New function.
      	(pass_diagnose_omp_blocks): New pass.
      	* cgraph.h (cgraph_optimize): Remove.
      	(cgraph_analyze_function): Likewise.
      	* cgraph.c (cgraph_add_new_function): Gimplify C++ thunks.
      	* cgraphunit.c (cgraph_lower_function): Lower nested functions
      	before their parents here.
      	(cgraph_finalize_function): Not here.
      	(cgraph_analyze_function): Gimplify functions here.
      	(cgraph_finalize_compilation_unit): Continue after errors.
      	Optimize the callgraph from here.
      	(cgraph_optimize): Make static.
      	* langhooks.c (write_global_declarations): Finalize the CU.
      	* gimplify.c (gimplify_asm_expr): Do not emit ASMs with errors.
      	(gimplify_function_tree): Assert we gimplify only once.
      	Set PROP_gimple_any property.
      	* tree-nested.c (gimplify_all_functions): New function.
      	(lower_nested_functions): Gimplify all nested functions.
      	* gimple.h (diagnose_omp_structured_block_errors): Remove.
      	* passes.c (init_optimization_passes): Add pass_warn_unused_result
      	and pass_diagnose_omp_blocks after gimplification.  Do not
      	set TODO_set_props on all_lowering_passes.
      	(execute_one_pass): Do not handle TODO_set_props.
      	* Makefile.in (cgraphunit.o): Add $(TREE_DUMP_H) dependency.
      	(gimplify.o): Add tree-pass.h dependency.
      	* tree-inline.c (copy_statement_list): Properly copy STATEMENT_LIST.
      	(copy_tree_body_r): Properly handle TARGET_EXPR like SAVE_EXPR.
      	(unsave_r): Likewise.
      	* c-omp.c (c_finish_omp_atomic): Set DECL_CONTEXT on the
      	temporary variable.
      
      	cp/
      	* decl.c (finish_function): Do not emit unused result warnings
      	from here.
      	* cp-objcp-common.h (LANG_HOOKS_POST_GIMPLIFY_PASS): Use
      	c_warn_unused_result_pass.
      	* semantics.c (expand_or_defer_fn): Adjust assertion about IL status.
      	* optimize.c (clone_body): Clone in GENERIC.
      	(maybe_clone_body): Do not clear DECL_SAVED_TREE.
      	* decl2.c (cp_write_global_declarations): Fix body test.
      	Do not call cgraph_optimize.
      	* Make-lang.in (optimize.o): Add tree-iterator.h dependency.
      	* method.c (use_thunk): Register thunk with
      	cgraph_finalize_function.
      	* error.c (function_category): Guard access of DECL_LANG_SPECIFIC.
      
      	java/
      	* java-gimplify.c (java_genericize): Do not gimplify here.
      	But replace all local references.
      	(java_gimplify_expr): Do not replace local references here.
      	(java_gimplify_modify_expr): Likewise.
      	* jcf-parse.c (java_parse_file): Do not finalize the CU or
      	optimize the cgraph here.
      	* decl.c (java_replace_reference): Make static.
      	(java_replace_references): New function.
      	(end_java_method): Clear base_decl_map.
      	* java-tree.h (java_replace_references): Declare.
      	(java_replace_reference): Remove.
      
      	ada/
      	* utils.c (end_subprog_body): Revert to pre-tuples state.  Remove
      	unused parameter.
      	(gnat_gimplify_function): Do not gimplify here.
      	Fold into its only caller and remove.
      	(gnat_builtin_function): Adjust for end_subprog_body signature change.
      	(gnat_write_global_declarations): Also finalize the CU.
      	* misc.c (gnat_parse_file): Do not finalize the CU here.
      	* trans.c (gigi): Revert to pre-tuples state.
      	(Subprogram_Body_to_gnu): Adjust for end_subprog_body signature
      	change.
      	* gigi.h (end_subprog_body): Remove unused parameter.
      
      	fortran/
      	* f95-lang.c (gfc_be_parse_file): Do not finalize the CU here.
      	* trans-decl.c (gfc_gimplify_function): Remove.
      	(build_entry_thunks): Do not gimplify here.
      	(create_main_function): Likewise.
      	(gfc_generate_function_code): Likewise.
      
      	* g++.dg/rtti/crash4.C: New testcase.
      	* g++.dg/torture/20090706-1.C: Likewise.
      	* gcc.dg/redecl-17.c: Likewise.
      
      	* gfortran.dg/missing_optional_dummy_5.f90: Adjust pattern.
      	* gcc.dg/declspec-9.c: Expect extra error.
      	* gcc.dg/declspec-10.c: Likewise.
      	* gcc.dg/declspec-11.c: Likewise.
      	* gcc.dg/redecl-10.c: Expect extra warnings.
      	* gcc.target/i386/pr39082-1.c: Adjust diagnostic location.
      	* gcc.target/i386/pr39545-1.c: Likewise.
      	* g++.dg/ext/asm3.C: Expect more errors.
      	* g++.dg/gomp/block-1.C: Likewise.
      	* g++.dg/gomp/block-2.C: Likewise.
      	* g++.dg/gomp/block-3.C: Likewise.
      	* g++.dg/gomp/block-5.C: Likewise.
      	* g++.old-deja/g++.jason/report.C: Expect extra warnings.
      	* g++.dg/warn/unused-result1.C: XFAIL.
      
      From-SVN: r149750
      Richard Guenther committed
    • init.c (build_vec_delete_1): Do not set DECL_REGISTER on the temporary pointer. · 182bf21f
      2009-07-17  Richard Guenther  <rguenther@suse.de>
      
      	* init.c (build_vec_delete_1): Do not set DECL_REGISTER on the
      	temporary pointer.
      
      From-SVN: r149736
      Richard Guenther committed
  10. 16 Jul, 2009 2 commits
    • re PR c/40435 (Revision 148442 caused many regressions on trunk) · db3927fb
      2009-07-17  Aldy Hernandez  <aldyh@redhat.com>
      	    Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR 40435 
      	* tree-complex.c, tree-loop-distribution.c,
      	tree.c, tree.h, builtins.c, fold-const.c, omp-low.c,
      	cgraphunit.c, tree-ssa-ccp.c, tree-ssa-dom.c,
      	gimple-low.c, expr.c, tree-ssa-ifcombine.c, c-decl.c,
      	stor-layout.c, tree-if-conv.c, c-typeck.c,
      	gimplify.c, calls.c, tree-sra.c, tree-mudflap.c,
      	tree-ssa-copy.c, tree-ssa-forwprop.c, c-convert.c, c-omp.c,
      	varasm.c, tree-inline.c, c-common.c,
      	c-common.h, gimple.c, tree-switch-conversion.c, gimple.h,
      	tree-cfg.c, c-parser.c, convert.c: Add location
      	argument to fold_{unary,binary,ternary}, fold_build[123],
      	build_call_expr, build_size_arg, build_fold_addr_expr,
      	build_call_array, non_lvalue, size_diffop,
      	fold_build1_initializer, fold_build2_initializer,
      	fold_build3_initializer, fold_build_call_array,
      	fold_build_call_array_initializer, fold_single_bit_test,
      	omit_one_operand, omit_two_operands, invert_truthvalue,
      	fold_truth_not_expr, build_fold_indirect_ref, fold_indirect_ref,
      	combine_comparisons, fold_builtin_*, fold_call_expr,
      	build_range_check, maybe_fold_offset_to_address, round_up,
      	round_down.
      objc/
      	* objc-act.c: Add location argument to all calls to
      	build_fold_addr_expr.
      testsuite/
      	* gcc.dg/pr36902.c: Add column info.
      	* g++.dg/gcov/gcov-2.C: Change count for definition.
      cp/
      	* typeck.c, init.c, class.c, method.c, rtti.c, except.c, error.c,
      	tree.c, cp-gimplify.c, cxx-pretty-print.c, pt.c, semantics.c,
      	call.c, cvt.c, mangle.c: Add location argument to
      	fold_{unary,binary,ternary}, fold_build[123], build_call_expr,
      	build_size_arg, build_fold_addr_expr, build_call_array,
      	non_lvalue, size_diffop, fold_build1_initializer,
      	fold_build2_initializer, fold_build3_initializer,
      	fold_build_call_array, fold_build_call_array_initializer,
      	fold_single_bit_test, omit_one_operand, omit_two_operands,
      	invert_truthvalue, fold_truth_not_expr, build_fold_indirect_ref,
      	fold_indirect_ref, combine_comparisons, fold_builtin_*,
      	fold_call_expr, build_range_check, maybe_fold_offset_to_address,
      	round_up, round_down.
      fortran/
      	* trans-expr.c, trans-array.c, trans-openmp.c, trans-stmt.c,
      	trans.c, trans-io.c, trans-decl.c, trans-intrinsic.c: Add location
      	argument to fold_{unary,binary,ternary}, fold_build[123],
      	build_call_expr, build_size_arg, build_fold_addr_expr,
      	build_call_array, non_lvalue, size_diffop,
      	fold_build1_initializer, fold_build2_initializer,
      	fold_build3_initializer, fold_build_call_array,
      	fold_build_call_array_initializer, fold_single_bit_test,
      	omit_one_operand, omit_two_operands, invert_truthvalue,
      	fold_truth_not_expr, build_fold_indirect_ref, fold_indirect_ref,
      	combine_comparisons, fold_builtin_*, fold_call_expr,
      	build_range_check, maybe_fold_offset_to_address, round_up,
      	round_down.
      
      Co-Authored-By: Manuel López-Ibáñez <manu@gcc.gnu.org>
      
      From-SVN: r149722
      Aldy Hernandez committed
    • re PR libstdc++/37907 ([c++0x] support for std::is_standard_layout) · c32097d8
      	PR libstdc++/37907
      	Support std::is_standard_layout and std::is_trivial traits,
      	change POD to C++0x version (except for layout).
      	* gcc/c-common.c (c_common_reswords): Add __is_standard_layout
      	and __is_trivial.
      	* gcc/c-common.h (enum rid): Add RID_IS_STD_LAYOUT and RID_IS_TRIVIAL.
      	* gcc/cp/cp-tree.h (enum cp_trait_kind): Add CPTK_IS_STD_LAYOUT,
      	CPTK_IS_TRIVIAL.
      	(struct lang_type_class): Add non_std_layout.
      	(CLASSTYPE_NON_STD_LAYOUT): New.
      	* gcc/cp/class.c (check_bases): Set it.
      	(check_field_decls): Likewise.
      	(check_bases_and_members): Likewise.
      	* gcc/cp/parser.c (cp_parser_primary_expression): Handle RID_IS_STD_LAYOUT,
      	RID_IS_TRIVIAL.
      	(cp_parser_trait_expr): Likewise.
      	* gcc/cp/semantics.c (trait_expr_value): Handle CPTK_IS_STD_LAYOUT,
      	CPTK_IS_TRIVIAL.
      	(finish_trait_expr): Likewise.
      	* gcc/cp/tree.c (scalarish_type_p, trivial_type_p, std_layout_type_p): New.
      	(pod_type_p): Use them.
      	* gcc/cp/typeck.c (build_class_member_access_expr): Check
      	CLASSTYPE_NON_STD_LAYOUT rather than CLASSTYPE_NON_POD_P.
      	* libstdc++-v3/include/std/type_traits: Add is_standard_layout, is_trivial.
      
      From-SVN: r149721
      Jason Merrill committed
  11. 14 Jul, 2009 6 commits
    • sourcebuild.texi: Document install-plugin target. · 2a4c0366
      2009-07-14  Taras Glek  <tglek@mozilla.com>
      	    Rafael Espindola  <espindola@google.com>
      
      	* doc/sourcebuild.texi: Document install-plugin target.
      	* configure.ac: Added install-plugin target to language makefiles.
      	* configure: Regenerate.
      	* Makefile.in: (install-plugin): Install more headers,
      	depend on lang.install-plugin.
      
      ada/ChangeLog
      
      	* gcc-interface/Make-lang.in (ada.install-plugin): New target for
      	installing plugin headers.
      
      cp/ChangeLog
      
      	* Make-lang.in: Added CP_PLUGIN_HEADERS and
      	c.install-target to export cp-tree.h cxx-pretty-print.h
      	name-lookup.h headers for plugins.
      
      fortran/ChangeLog
      
      	* Make-lang.in (fortran.install-plugin): New target for
      	installing plugin headers.
      
      java/ChangeLog
      
      	* Make-lang.in (java.install-plugin): New target for
      	installing plugin headers.
      
      objc/ChangeLog
      
      	* Make-lang.in (objc.install-plugin): New target for
      	installing plugin headers.
      
      objcp/ChangeLog
      
      	* Make-lang.in (obj-c.install-plugin): New target for
      	installing plugin headers.
      
      
      
      Co-Authored-By: Rafael Avila de Espindola <espindola@google.com>
      
      From-SVN: r149648
      Taras Glek committed
    • re PR c++/37276 (Trouble with some (C99?) math builtins and namespace std) · 8353dd9a
      	PR c++/37276
      	* decl.c (decls_match): A non-extern-C declaration doesn't match
      	a builtin extern-C declaration.
      
      From-SVN: r149638
      Jason Merrill committed
    • name-lookup.c (qualified_lookup_using_namespace): Don't stop looking in used… · 3deeb3ff
      name-lookup.c (qualified_lookup_using_namespace): Don't stop looking in used namespaces just because we found something on...
      
      	* name-lookup.c (qualified_lookup_using_namespace): Don't stop
      	looking in used namespaces just because we found something on
      	another branch.
      
      From-SVN: r149637
      Jason Merrill committed
    • re PR c++/40740 (template-id forgotten with arg-dep lookup) · 4e6a9725
      	PR c++/40740
      	* semantics.c (perform_koenig_lookup): Handle empty template args.
      
      From-SVN: r149636
      Jason Merrill committed
    • builtins.c (can_trust_pointer_alignment): New fn. · b35c8160
      	* builtins.c (can_trust_pointer_alignment): New fn.
      	(get_pointer_alignment): Factor it out from here.
      	* tree.h: Declare it.
      	* cp/call.c (build_over_call): Use it.
      
      From-SVN: r149635
      Jason Merrill committed
    • re PR debug/40705 (ICE in gen_type_die_with_usage, at dwarf2out.c:15117) · 4fdaccea
      2009-07-14  Dodji Seketeli  <dodji@redhat.com>
      
      gcc/ChangeLog:
      	PR debug/40705
      	PR c++/403057
      	* dwarf2.out.c (gen_type_die_with_usage): Added comment.
      
      gcc/cp/ChangeLog:
      	PR debug/40705
      	PR c++/403057
      	* decl2.c (grokfield): Don't call set_underlying_type on typedef
      	decls that are type names.
      
      gcc/testsuite/ChangeLog:
      	PR debug/40705
      	PR c++/403057
      	* g++.dg/debug/dwarf2/typedef1.C: New test.
      	* g++.dg/other/typedef3.C: Likewise.
      
      From-SVN: r149628
      Dodji Seketeli committed
  12. 13 Jul, 2009 1 commit
    • re PR c++/22154 ([DR 382] qualified names should allow typename keyword in front… · 84a900c9
      re PR c++/22154 ([DR 382] qualified names should allow typename keyword in front of it (even in non-templates))
      
      2009-07-13  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR C++/22154
              * parser.c (cp_parser_elaborated_type_specifier): Accept typename in
              front of qualified names.
      
      2009-07-13  Andrew Pinski  <andrew_pinski@playstation.sony.com>
      
              PR C++/22154
              * g++.old-deja/g++.pt/typename10.C: Update for DR 382, typename in
              front of qualified names are allowed.
              * g++.dg/parse/crash10.C: Likewise.
              * g++.dg/parse/error15.C: Likewise.
              * g++.dg/parse/typename9.C: Likewise.
              * g++.dg/parse/error8.C: Likewise.
      
      From-SVN: r149590
      Andrew Pinski committed
  13. 12 Jul, 2009 3 commits
  14. 10 Jul, 2009 1 commit
  15. 09 Jul, 2009 2 commits
    • pt.c (perform_typedefs_access_check, [...]): Use CLASS_TYPE_P. · 9dbed529
      gcc/cp/
      
      2008-07-08  Simon Martin  <simartin@users.sourceforge.net>
      	    Jason Merrill  <jason@redhat.com>
      
      	* pt.c (perform_typedefs_access_check, get_types_needing_access_check,
      	append_type_to_template_for_access_check_1): Use CLASS_TYPE_P.
      
      Co-Authored-By: Jason Merrill <jason@redhat.com>
      
      From-SVN: r149439
      Simon Martin committed
    • re PR c++/40684 (ICE in tsubst) · 8be2c871
      2009-07-09  Dodji Seketeli  <dodji@redhat.com>
      
      gcc/cp/ChangeLog:
      	PR c++/40684
      	* pt.c (type_unification_real): Use tsubst_template_arg instead
      	of tsubst to substitute default template arguments.
      
      gcc/testsuite/ChangeLog:
      	PR c++/40684
      	* g++.dg/template/unify11.C: New test.
      
      From-SVN: r149423
      Dodji Seketeli committed
  16. 07 Jul, 2009 5 commits
    • re PR c++/31246 (-Wunreachable-code warnings for compiler-generated code) · d665b6e5
      2009-07-08  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	PR c++/31246
      	* gimplify.c (gimplify_expr): Propagate no_warning flag when
      	gimplifying.
      	* gimple (gimple_build_call_from_tree): Likewise.
      	* tree-cfg.c (remove_useless_stmts_warn_notreached): Check
      	no_warning flag before warning.
      cp/
      	* init.c (build_new_1): Set TREE_NO_WARNING for compiler-generated
      	code.
      	* cp-gimplify.c (genericize_eh_spec_block): Likewise.
      	
      testsuite/	
      	* g++.dg/warn/pr31246.C: New.
      	* g++.dg/warn/pr31246-2.C: New.
      
      From-SVN: r149354
      Manuel López-Ibáñez committed
    • re PR c++/35828 ([C++0x] ICE on default template template parameter in template function) · 438c0fa8
      	PR c++/35828
      	* pt.c (tsubst_decl): Don't abort if we didn't change anything
      	in a TEMPLATE_DECL's args.
      
      From-SVN: r149351
      Jason Merrill committed
    • tree.c (set_expr_locus): Remove. · 5e278028
      2009-07-07  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	* tree.c (set_expr_locus): Remove.
      	* tree.h (EXPR_LOCUS,SET_EXPR_LOCUS,set_expr_locus): Remove.
      	* c-typeck.c (c_finish_stmt_expr):  Replace EXPR_LOCUS by
      	EXPR_LOCATION.
      	* gimplify.c (internal_get_tmp_var): Likewise.
      	(gimplify_call_expr): Likewise.
      	(gimplify_one_sizepos): Likewise.
      objc/
      	* objc-act.c (next_sjlj_build_catch_list): Replace EXPR_LOCUS by
      	EXPR_LOCATION.
      cp/	
      	* semantics.c (finalize_nrv_r): Replace EXPR_LOCUS by
      	EXPR_LOCATION.
      ada/
      	* gcc-interface/trans.c (gnat_gimplify_expr):  Replace EXPR_LOCUS by
      	EXPR_LOCATION.
      
      From-SVN: r149350
      Manuel López-Ibáñez committed
    • re PR c++/37816 ([c++0x] Invalid handling of scoped enums defined at class scope) · 60662d5f
      	PR c++/37816
      	* decl.c (build_enumerator): Don't add enumerators for a
      	scoped enum to the enclosing class.
      
      	PR c++/40639
      	* decl.c (start_enum): Allow dependent underlying type.
      
      	PR c++/40633
      	* decl.c (finish_enum): Finish scope even in a template.
      
      From-SVN: r149341
      Jason Merrill committed
    • cgraphunit.c: Replace %J by an explicit location. · c5d75364
      2009-07-07  Manuel López-Ibáñez  <manu@gcc.gnu.org>
      
      	* cgraphunit.c: Replace %J by an explicit location. Update all
      	calls.
      	* c-decl.c: Likewise.
      	* function.c: Likewise.
      	* varasm.c: Likewise.
      	* tree-ssa.c: Likewise.
      	* c-common.c: Likewise.
      	* tree-cfg.c: Likewise.
      	* config/spu/spu.c: Likewise.
      	* config/ia64/ia64.c: Likewise.
      	* config/v850/v850.c: Likewise.
      java/	
      	* class.c: Replace %J by an explicit location. Update all calls.
      objc/	
      	* objc-act.c: Replace %J by an explicit location. Update all
      	calls.
      cp/
      	* init.c: Replace %J by an explicit location. Update all calls.
      	* decl.c: Likewise.
      	* typeck2.c: Likewise.
      	* pt.c: Likewise.
      	* name-lookup.c: Likewise.
      
      From-SVN: r149312
      Manuel López-Ibáñez committed