This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [LTO][PATCH] Fix ICE due to mismatched exception information of DECL and GIMPLE
Yes it knew that.
-Doug
2008/9/30 Rafael Espindola <espindola@google.com>:
>> * lto-symtab.c (lto_symtab_merge_decl): Handle exception attribute
>> merging.
>>
>
> I think you had a merge problem on this one. On the commit I see
>
> VEC_safe_push (tree, gc, lto_global_var_decls, new_decl);
> return new_decl;
> + if (TREE_NOTHROW (old_decl) != TREE_NOTHROW (new_decl))
> + {
> + TREE_NOTHROW (old_decl) = 1;
> + lto_mark_nothrow_fndecl (old_decl);
> + };
>
> Cheers,
> --
> Rafael Avila de Espindola
>
> Google | Gordon House | Barrow Street | Dublin 4 | Ireland
> Registered in Dublin, Ireland | Registration Number: 368047
>