This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [lto][patch] Add the personality function to FUNCTION_DECLS


On Wed, Dec 17, 2008 at 10:51, Rafael Espindola <espindola@google.com> wrote:

> fails the assert in lto-section-out.c:988

Ah, yes.  It's never referenced anywhere else.  OK.

> We would have to call the hook from warf2out_do_cfi_asm (the FIXME
> site). Not sure if it wold be much cleaner than having a global, but I
> can change that if you want.

No, that's fine.  Just change the code to:

DECL_FUNCTION_PERSONALITY (t) = eh_personality_decl;

Add a 'FIXME lto' prefix in the comment so we remember to add the langhook.

Patch is OK, thanks.


Diego.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]