[Bug middle-end/79753] [7 Regression][CHKP] ICE in ix86_expand_builtin, at config/i386/i386.c:36869

jakub at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Wed Mar 1 14:09:00 GMT 2017


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

--- Comment #4 from Jakub Jelinek <jakub at gcc dot gnu.org> ---
Simplified testcase:

int
foo (void)
{
  return 0;
}

void
bar (int **p)
{
  *p = (int *) (__UINTPTR_TYPE__) foo ();
}

Now, if foo returns int *, then the bndret is transformed during inlining into
__chkp_none_bounds, but not when it is not a pointer.


More information about the Gcc-bugs mailing list