https://gcc.gnu.org/bugzilla/show_bug.cgi?id=78098
--- Comment #8 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to Martin Liška from comment #7)
> > Can ICF turn foo1 into a tail call to foo2 when foo2 has an interrupt
> > attribute?
>
> Problem here is that comp_type_attributes returns 1 as
>
> $18 = {name = 0x19d357b "interrupt", min_length = 0, max_length = 0,
> decl_required = false, type_required = true, function_type_required = true,
> handler = 0x1195b30 <ix86_handle_interrupt_attribute(tree*, tree, tree, int,
> bool*)>, affects_type_identity = false}
>
> has set affects_type_identity == false. I would expect to have the flag set
> to true? Is it bug?
I have a patch for them.