re PR target/80880 (internal compiler error: in ix86_expand_builtin)

2017-05-31  Richard Biener  <rguenther@suse.de>

	PR target/80880
	* config/i386/i386.c (ix86_expand_builtin): Remove assert
	for arg being an SSA name when expanding IX86_BUILTIN_BNDRET.

	* gcc.target/i386/pr80880.c: New testcase.

From-SVN: r248731
This commit is contained in:
Richard Biener 2017-05-31 12:09:51 +00:00 committed by Richard Biener
parent 748bbe7202
commit 89c88990a8
4 changed files with 21 additions and 1 deletions

View file

@ -1,3 +1,9 @@
2017-05-31 Richard Biener <rguenther@suse.de>
PR target/80880
* config/i386/i386.c (ix86_expand_builtin): Remove assert
for arg being an SSA name when expanding IX86_BUILTIN_BNDRET.
2017-05-31 Richard Sandiford <richard.sandiford@linaro.org>
* tree-vect-data-refs.c (vect_find_same_alignment_drs): Remove

View file

@ -37584,7 +37584,6 @@ ix86_expand_builtin (tree exp, rtx target, rtx subtarget,
case IX86_BUILTIN_BNDRET:
arg0 = CALL_EXPR_ARG (exp, 0);
gcc_assert (TREE_CODE (arg0) == SSA_NAME);
target = chkp_get_rtl_bounds (arg0);
/* If no bounds were specified for returned value,

View file

@ -1,3 +1,8 @@
2017-05-31 Richard Biener <rguenther@suse.de>
PR target/80880
* gcc.target/i386/pr80880.c: New testcase.
2017-05-31 Richard Sandiford <richard.sandiford@linaro.org>
* gcc.dg/vect/vect-103.c: Update wording of dump message.

View file

@ -0,0 +1,10 @@
/* PR target/65523 */
/* { dg-do compile { target { ! x32 } } } */
/* { dg-options "-O -fcheck-pointer-bounds -mmpx" } */
int *fn1()
{
int *r = fn1();
if (r == (void *)0)
return r;
}