Commit 7672aa9b by Richard Biener Committed by Kelvin Nilsen

re PR bootstrap/80867 (gnat bootstrap broken on powerpc64le-linux-gnu with -O3)

gcc/ChangeLog:

2018-01-29  Richard Biener <rguenther@suse.de>
	    Kelvin Nilsen  <kelvin@gcc.gnu.org>

	PR bootstrap/80867
	* tree-vect-stmts.c (vectorizable_call): Don't call
	targetm.vectorize_builtin_md_vectorized_function if callee is
	NULL.


Co-Authored-By: Kelvin Nilsen <kelvin@gcc.gnu.org>

From-SVN: r257158
parent 676d626b
2018-01-29 Richard Biener <rguenther@suse.de>
Kelvin Nilsen <kelvin@gcc.gnu.org>
PR bootstrap/80867
* tree-vect-stmts.c (vectorizable_call): Don't call
targetm.vectorize_builtin_md_vectorized_function if callee is
NULL.
2018-01-22 Carl Love <cel@us.ibm.com> 2018-01-22 Carl Love <cel@us.ibm.com>
* doc/extend.tex: Fix typo in second arg in * doc/extend.tex: Fix typo in second arg in
......
...@@ -3159,7 +3159,7 @@ vectorizable_call (gimple *gs, gimple_stmt_iterator *gsi, gimple **vec_stmt, ...@@ -3159,7 +3159,7 @@ vectorizable_call (gimple *gs, gimple_stmt_iterator *gsi, gimple **vec_stmt,
if (cfn != CFN_LAST) if (cfn != CFN_LAST)
fndecl = targetm.vectorize.builtin_vectorized_function fndecl = targetm.vectorize.builtin_vectorized_function
(cfn, vectype_out, vectype_in); (cfn, vectype_out, vectype_in);
else else if (callee)
fndecl = targetm.vectorize.builtin_md_vectorized_function fndecl = targetm.vectorize.builtin_md_vectorized_function
(callee, vectype_out, vectype_in); (callee, vectype_out, vectype_in);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment