This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug target/79753] [7 Regression][CHKP] ICE in ix86_expand_builtin, at config/i386/i386.c:36869
- From: "ubizjak at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Wed, 01 Mar 2017 09:11:12 +0000
- Subject: [Bug target/79753] [7 Regression][CHKP] ICE in ix86_expand_builtin, at config/i386/i386.c:36869
- Auto-submitted: auto-generated
- References: <bug-79753-4@http.gcc.gnu.org/bugzilla/>
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=79753
--- Comment #2 from Uroš Bizjak <ubizjak at gmail dot com> ---
Breaks at:
#2 0x0000000000e8c47d in ix86_expand_builtin (exp=0x2aaaae7b5f88,
target=0x2aaaae932528, subtarget=<optimized out>, mode=BND64mode, ignore=0)
at ../../git/gcc/gcc/config/i386/i386.c:36874
36874 gcc_assert (TREE_CODE (arg0) == SSA_NAME);
(gdb) list
36869 : gen_bnd32_cu (op1, op0));
36870 return 0;
36871
36872 case IX86_BUILTIN_BNDRET:
36873 arg0 = CALL_EXPR_ARG (exp, 0);
36874 gcc_assert (TREE_CODE (arg0) == SSA_NAME);
36875 target = chkp_get_rtl_bounds (arg0);
36876
36877 /* If no bounds were specified for returned value,
36878 then use INIT bounds. It usually happens when
(gdb) p debug_generic_expr (exp)
__builtin_ia32_bndret (0)