diff options
author | Richard Biener <rguenther@suse.de> | 2018-01-29 18:00:49 +0000 |
---|---|---|
committer | Kelvin Nilsen <kelvin@gcc.gnu.org> | 2018-01-29 18:00:49 +0000 |
commit | 7672aa9bc19e2444c3effa2f12274d60022f7d3c (patch) | |
tree | a32bd0310b742db502d4b6d8d933902514445658 /gcc/tree-vect-stmts.c | |
parent | 676d626b0c7d19c7a27c10634ecd916352ec581c (diff) | |
download | gcc-7672aa9bc19e2444c3effa2f12274d60022f7d3c.zip gcc-7672aa9bc19e2444c3effa2f12274d60022f7d3c.tar.gz gcc-7672aa9bc19e2444c3effa2f12274d60022f7d3c.tar.bz2 |
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
Diffstat (limited to 'gcc/tree-vect-stmts.c')
-rw-r--r-- | gcc/tree-vect-stmts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/tree-vect-stmts.c b/gcc/tree-vect-stmts.c index da76572..0a5c4cb 100644 --- a/gcc/tree-vect-stmts.c +++ b/gcc/tree-vect-stmts.c @@ -3159,7 +3159,7 @@ vectorizable_call (gimple *gs, gimple_stmt_iterator *gsi, gimple **vec_stmt, if (cfn != CFN_LAST) fndecl = targetm.vectorize.builtin_vectorized_function (cfn, vectype_out, vectype_in); - else + else if (callee) fndecl = targetm.vectorize.builtin_md_vectorized_function (callee, vectype_out, vectype_in); } |