r142042 - in /branches/diagnostics-branch/gcc: ...

aldyh@gcc.gnu.org aldyh@gcc.gnu.org
Thu Nov 20 13:18:00 GMT 2008


Author: aldyh
Date: Thu Nov 20 13:18:20 2008
New Revision: 142042

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142042
Log:
	* dwarf2asm.c, targhooks.c, optabs.c, tree.c, tree.h, target.h,
	builtins.c, omp-low.c, cgraphunit.c, tree-call-cdce.c,
	tree-ssa-alias.c, gimple-low.c, c-tree.h, expr.c, tree-parloops.c,
	c-decl.c, tree-eh.c, langhooks.c, function.c, stor-layout.c,
	c-typeck.c, gimplify.c, c-pragma.c, expmed.c, except.c, coverage.c,
	emit-rtl.c, cfgexpand.c, tree-mudflap.c, varasm.c, tree-nested.c,
	rtl.h, tree-inline.c, tree-profile.c, c-common.c, c-common.h,
	tree-switch-conversion.c, tree-cfg.c, ipa-struct-reorg.c, c-parser.c,
	config/i386/i386.c, stmt.c:
	Add location argument to the following function definitions and/or
	function calls: build_decl, objcp_start_struct, objcp_finish_struct,
	start_struct, finish_struct, PUSH_FIELD, create_artificial_label,
	cp_make_fname_decl, pushtag, implicitly_declare, c_make_fname_decl,
	build_compound_literal, parser_xref_tag, resolve_overloaded_builtin,
	do_case, c_finish_bc_stmt, build_compound_literal,
	build_function_call.
	* c-decl.c (build_compound_literal): Add location argument.
	Make all diagnostic calls use location.
	(start_struct): Same.
	(finish_struct): Same.
	(start_enum): Same.
	(build_enumerator): Same.
	(start_function): Same.
	(grokdeclarator): Make all diagnostic calls use location.
	(store_parm_decls_oldstyle): Same.
	* c-typeck.c (build_function_call): Add location argument.
	Make all diagnostic calls use location.
	(do_case): Same.
	(c_finish_bc_stmt): Same.
	* tree-nested.c (get_trampoline_type): Add argument.
	Pass location to build_decl.
	(lookup_tramp_for_decl): Pass location to get_trampoline_type.
	* rtl.h (RTL_LOCATION): New.
	* c-common.c (c_add_case_label): Add location argument.
	Make all diagnostic calls use location.
	* c-common.h: Add location argument to make_fname_decl, do_case,
	c_add_case_label, build_function_call, resolve_overloaded_builtin.
	* c-parser.c (c_parser_enum_specifier): Rename ident_loc to enum_loc.
	Set it appropriately for every case.  Pass enum_loc to start_enum
	call.  Pass value_loc first to build_enumerator.  Pass enum_loc to
	parser_xref_tag.
	(c_parser_struct_or_union_specifier): Save location.  Use it for
	start_struct, finish_struct, and parser_xref_tag.
java/
	* typeck.c: Add location to build_decl or PUSH_FIELD calls.
	* class.c: Same.
	* decl.c: Same.
	* jcf-parse.c: Same.
	* constants.c: Same.
	* resource.c: Same.
	* except.c: Same.
	* builtins.c: Same.
	* expr.c: Same.
	* java-tree.h (PUSH_FIELD): Add location field.
objc/
	* objc-act.c: Add location to all calls to start_struct, build_decl,
	finish_struct.
testsuite/
	* gcc.dg/old-style-prom-3.c: Check for error on the correct line.
	* gcc.dg/enum-compat-1.c: Same.
	* gcc.dg/dremf-type-compat-2.c: Same.
	* gcc.dg/old-style-prom-2.c: Same.
	* gcc.dg/pr15698-1.c: Same.
	* gcc.dg/pr20368-1.c: Same.
	* gcc.dg/dremf-type-compat-3.c: Same.
	* gcc.dg/builtins-30.c: Same.  Test for columns.
objcp/
	* objcp-decl.c (objcp_start_struct): Add argument.
	(objcp_finish_struct): Same.
cp/
	* typeck.c (build_function_call): Add location argument.
	* init.c: Add location argument to all build_decl calls.
	* class.c: Same.
	* method.c: Same.
	* rtti.c: Same.
	* tree.c: Same.
	* pt.c: Same.
	* semantics.c: Same.
	* lex.c: Same.
	* decl2.c: Same.
	* cp-gimplify.c: Same.
	* decl.c: Same.
	(cp_make_fname_decl): Add location argument.  Pass location ot
	build_decl.
	(finish_case_label): Same.
	* cp-tree.h (finish_case_label): Add location argument.
	* parser.c (cp_parser_label_for_labeled_statement): Pass location to
	finish_case_label.

Added:
    branches/diagnostics-branch/gcc/ChangeLog.diagnostics
    branches/diagnostics-branch/gcc/cp/ChangeLog.diagnostics
    branches/diagnostics-branch/gcc/fortran/ChangeLog.diagnostics
    branches/diagnostics-branch/gcc/java/ChangeLog.diagnostics
    branches/diagnostics-branch/gcc/objc/ChangeLog.diagnostics
    branches/diagnostics-branch/gcc/objcp/ChangeLog.diagnostics
    branches/diagnostics-branch/gcc/testsuite/ChangeLog.diagnostics
Modified:
    branches/diagnostics-branch/gcc/builtins.c
    branches/diagnostics-branch/gcc/c-common.c
    branches/diagnostics-branch/gcc/c-common.h
    branches/diagnostics-branch/gcc/c-decl.c
    branches/diagnostics-branch/gcc/c-parser.c
    branches/diagnostics-branch/gcc/c-pragma.c
    branches/diagnostics-branch/gcc/c-tree.h
    branches/diagnostics-branch/gcc/c-typeck.c
    branches/diagnostics-branch/gcc/cfgexpand.c
    branches/diagnostics-branch/gcc/cgraphunit.c
    branches/diagnostics-branch/gcc/config/i386/i386.c
    branches/diagnostics-branch/gcc/coverage.c
    branches/diagnostics-branch/gcc/cp/class.c
    branches/diagnostics-branch/gcc/cp/cp-gimplify.c
    branches/diagnostics-branch/gcc/cp/cp-tree.h
    branches/diagnostics-branch/gcc/cp/decl.c
    branches/diagnostics-branch/gcc/cp/decl2.c
    branches/diagnostics-branch/gcc/cp/init.c
    branches/diagnostics-branch/gcc/cp/lex.c
    branches/diagnostics-branch/gcc/cp/method.c
    branches/diagnostics-branch/gcc/cp/parser.c
    branches/diagnostics-branch/gcc/cp/pt.c
    branches/diagnostics-branch/gcc/cp/rtti.c
    branches/diagnostics-branch/gcc/cp/semantics.c
    branches/diagnostics-branch/gcc/cp/tree.c
    branches/diagnostics-branch/gcc/cp/typeck.c
    branches/diagnostics-branch/gcc/dwarf2asm.c
    branches/diagnostics-branch/gcc/emit-rtl.c
    branches/diagnostics-branch/gcc/except.c
    branches/diagnostics-branch/gcc/expmed.c
    branches/diagnostics-branch/gcc/expr.c
    branches/diagnostics-branch/gcc/fortran/trans-common.c
    branches/diagnostics-branch/gcc/fortran/trans-decl.c
    branches/diagnostics-branch/gcc/fortran/trans-expr.c
    branches/diagnostics-branch/gcc/fortran/trans-intrinsic.c
    branches/diagnostics-branch/gcc/fortran/trans-types.c
    branches/diagnostics-branch/gcc/fortran/trans.c
    branches/diagnostics-branch/gcc/function.c
    branches/diagnostics-branch/gcc/gimple-low.c
    branches/diagnostics-branch/gcc/gimplify.c
    branches/diagnostics-branch/gcc/ipa-struct-reorg.c
    branches/diagnostics-branch/gcc/java/builtins.c
    branches/diagnostics-branch/gcc/java/class.c
    branches/diagnostics-branch/gcc/java/constants.c
    branches/diagnostics-branch/gcc/java/decl.c
    branches/diagnostics-branch/gcc/java/except.c
    branches/diagnostics-branch/gcc/java/expr.c
    branches/diagnostics-branch/gcc/java/java-tree.h
    branches/diagnostics-branch/gcc/java/jcf-parse.c
    branches/diagnostics-branch/gcc/java/resource.c
    branches/diagnostics-branch/gcc/java/typeck.c
    branches/diagnostics-branch/gcc/langhooks.c
    branches/diagnostics-branch/gcc/objc/objc-act.c
    branches/diagnostics-branch/gcc/objcp/objcp-decl.c
    branches/diagnostics-branch/gcc/objcp/objcp-decl.h
    branches/diagnostics-branch/gcc/omp-low.c
    branches/diagnostics-branch/gcc/optabs.c
    branches/diagnostics-branch/gcc/rtl.h
    branches/diagnostics-branch/gcc/stmt.c
    branches/diagnostics-branch/gcc/stor-layout.c
    branches/diagnostics-branch/gcc/target.h
    branches/diagnostics-branch/gcc/targhooks.c
    branches/diagnostics-branch/gcc/testsuite/gcc.dg/builtins-30.c
    branches/diagnostics-branch/gcc/testsuite/gcc.dg/dremf-type-compat-2.c
    branches/diagnostics-branch/gcc/testsuite/gcc.dg/dremf-type-compat-3.c
    branches/diagnostics-branch/gcc/testsuite/gcc.dg/enum-compat-1.c
    branches/diagnostics-branch/gcc/testsuite/gcc.dg/old-style-prom-2.c
    branches/diagnostics-branch/gcc/testsuite/gcc.dg/old-style-prom-3.c
    branches/diagnostics-branch/gcc/testsuite/gcc.dg/pr15698-1.c
    branches/diagnostics-branch/gcc/testsuite/gcc.dg/pr20368-1.c
    branches/diagnostics-branch/gcc/tree-call-cdce.c
    branches/diagnostics-branch/gcc/tree-cfg.c
    branches/diagnostics-branch/gcc/tree-eh.c
    branches/diagnostics-branch/gcc/tree-inline.c
    branches/diagnostics-branch/gcc/tree-mudflap.c
    branches/diagnostics-branch/gcc/tree-nested.c
    branches/diagnostics-branch/gcc/tree-parloops.c
    branches/diagnostics-branch/gcc/tree-profile.c
    branches/diagnostics-branch/gcc/tree-ssa-alias.c
    branches/diagnostics-branch/gcc/tree-switch-conversion.c
    branches/diagnostics-branch/gcc/tree.c
    branches/diagnostics-branch/gcc/tree.h
    branches/diagnostics-branch/gcc/varasm.c



More information about the Gcc-cvs mailing list