re PR lto/44230 (Do not create need for multiple EH personalities)
authorEric Botcazou <ebotcazou@adacore.com>
Thu, 27 May 2010 14:11:35 +0000 (14:11 +0000)
committerEric Botcazou <ebotcazou@gcc.gnu.org>
Thu, 27 May 2010 14:11:35 +0000 (14:11 +0000)
commit7951d88a0c68059bc28a8fdd89390d0c315b7e34
treecbad29225d6336a230779ca3e818e4ac1ce219e6
parentfde9c428ca630b5e4fb4dc24fba6e59b95e48d4c
re PR lto/44230 (Do not create need for multiple EH personalities)

PR lto/44230
* dwarf2out.c (dwarf2out_begin_prologue): Fix nits in sorry message.
lto/
* lto.h (lto_eh_personality): New prototype.
* lto.c: Include debug.h.
(first_personality_decl): New static variable.
(lto_materialize_function): Set it to DECL_FUNCTION_PERSONALITY of the
first function for which it is non-null.
(lto_eh_personality_decl): New static variable.
(lto_eh_personality): New function.
* lto-lang.c (LANG_HOOKS_EH_PERSONALITY): Redefine to above function.
* Make-lang.in (lto/lto.o): Add dependency on debug.h.

From-SVN: r159921
gcc/ChangeLog
gcc/dwarf2out.c
gcc/lto/ChangeLog
gcc/lto/Make-lang.in
gcc/lto/lto-lang.c
gcc/lto/lto.c
gcc/lto/lto.h