r142795 - in /branches/lto/gcc: ChangeLog.lto a...

espindola@gcc.gnu.org espindola@gcc.gnu.org
Wed Dec 17 17:11:00 GMT 2008


Author: espindola
Date: Wed Dec 17 17:11:44 2008
New Revision: 142795

URL: http://gcc.gnu.org/viewcvs?root=gcc&view=rev&rev=142795
Log:
2008-12-17  Rafael Avila de Espindola  <espindola@google.com>

	* c-decl.c (c_maybe_initialize_eh): Init eh_personality_decl
	instead of eh_personality_libfunc.
	(finish_decl): Don't call c_maybe_initialize_eh.
	* c-parser.c (c_parse_file): Call c_maybe_initialize_eh.
	* dwarf2out.c (dwarf2out_do_cfi_asm): Use eh_personality_decl. Add a
	FIXME.
	(output_call_frame_info, dwarf2out_begin_prologue): Use personality
	from current_function_decl.
	* except.c (sjlj_emit_function_enter, output_function_exception_table):
	Use personality from current_function_decl.
	* expr.h (build_personality_function, get_personality_function): New.
	* libfuncs.h (libfunc_index): Remove LTI_eh_personality.
	(eh_personality_libfunc): Remove.
	* lto-function-in.c (lto_init_eh): Don't set eh_personality_libfunc.
	(input_function_decl): Read decl->function_decl.personality.
	* lto-function-out.c (output_function_decl): Write
	decl->function_decl.personality.
	* optabs.c (init_one_libfunc): Call build_personality_function.
	* toplev.c (eh_personality_decl): New.
	* tree.c (make_node_stat):  Set DECL_FUNCTION_PERSONALITY.
	* tree.h (DECL_FUNCTION_PERSONALITY): New.
	(tree_function_decl): Add personality.
	(eh_personality_decl): New.

2008-12-17  Rafael Avila de Espindola  <espindola@google.com>

	* lto.c (lto_fixup_function): New.
	(lto_fixup_tree): Call lto_fixup_function.

2008-12-17  Rafael Avila de Espindola  <espindola@google.com>

	* gcc-interface/misc.c (gnat_init_gcc_eh): Init eh_personality_decl
	instead of eh_personality_libfunc

2008-12-17  Rafael Avila de Espindola  <espindola@google.com>

	* except.c (init_exception_processing, choose_personality_routine):
	Init eh_personality_decl instead of eh_personality_libfunc.

2008-12-17  Rafael Avila de Espindola  <espindola@google.com>

	* decl.c (java_init_decl_processing): Init eh_personality_decl
	instead of eh_personality_libfunc.

2008-12-17  Rafael Avila de Espindola  <espindola@google.com>

	* gcc.dg/exceptions.c: New.

2008-12-17  Rafael Avila de Espindola  <espindola@google.com>

	* objc-act.c (objc_init_exceptions): Init eh_personality_decl
	instead of eh_personality_libfunc.


Added:
    branches/lto/gcc/java/ChangeLog.lto
    branches/lto/gcc/objc/ChangeLog.lto
    branches/lto/gcc/testsuite/gcc.dg/exceptions.c
Modified:
    branches/lto/gcc/ChangeLog.lto
    branches/lto/gcc/ada/ChangeLog.lto
    branches/lto/gcc/ada/gcc-interface/misc.c
    branches/lto/gcc/c-decl.c
    branches/lto/gcc/c-parser.c
    branches/lto/gcc/cp/ChangeLog.lto
    branches/lto/gcc/cp/except.c
    branches/lto/gcc/dwarf2out.c
    branches/lto/gcc/except.c
    branches/lto/gcc/expr.h
    branches/lto/gcc/java/decl.c
    branches/lto/gcc/libfuncs.h
    branches/lto/gcc/lto-function-in.c
    branches/lto/gcc/lto-function-out.c
    branches/lto/gcc/lto/ChangeLog
    branches/lto/gcc/lto/lto.c
    branches/lto/gcc/objc/objc-act.c
    branches/lto/gcc/optabs.c
    branches/lto/gcc/testsuite/ChangeLog.lto
    branches/lto/gcc/toplev.c
    branches/lto/gcc/tree.c
    branches/lto/gcc/tree.h



More information about the Gcc-cvs mailing list