[Bug bootstrap/80867] gnat bootstrap broken on powerpc64le-linux-gnu with -O3

rguenth at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Fri Jan 26 15:24:00 GMT 2018


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

--- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> ---
I suggest the following (pre-approved if it works):

Index: tree-vect-stmts.c
===================================================================
--- tree-vect-stmts.c   (revision 257091)
+++ tree-vect-stmts.c   (working copy)
@@ -3159,7 +3159,7 @@ vectorizable_call (gimple *gs, gimple_st
       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);
     }


More information about the Gcc-bugs mailing list