https://gcc.gnu.org/bugzilla/show_bug.cgi?id=90500

Martin Liška <marxin at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |ASSIGNED
   Last reconfirmed|                            |2019-05-16
           Assignee|unassigned at gcc dot gnu.org      |marxin at gcc dot 
gnu.org
     Ever confirmed|0                           |1

--- Comment #4 from Martin Liška <marxin at gcc dot gnu.org> ---
(In reply to Richard Biener from comment #3)
> We're not really expecting to call
> tree_versionable_function_p/copy_forbidden for a function without a body. 
> So this is an error in the target cloning pass
> somehow looking at the wrong cgraph-node/function?

Issue is that we have an alias with copy attribute, which leads to have
target_clone on an alias. It's invalid. I've got a patch for it.

Reply via email to