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

--- Comment #5 from Martin Liška <marxin at gcc dot gnu.org> ---
Created attachment 40937
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=40937&action=edit
Untested patch draft

I'm sending patch for that. Problem is that we return false
__builtin_ia32_bndret (_1), where _1 is SSA NAME. False is returned because
BNDRET builtin accepts void *, which is not compatible to TREE_TYPE(_2), which
is int type.

With my patch, return_bounds variable is properly assigned at
tree-inline.c:4660.

Thoughts?

Reply via email to