[gcc r11-5968] middle-end: Refactor and expose some vectorizer helper functions.

Maciej W. Rozycki macro@linux-mips.org
Mon Dec 21 01:22:09 GMT 2020


On Sun, 13 Dec 2020, Tamar Christina via Gcc-cvs wrote:

> https://gcc.gnu.org/g:10bbba9145700e2c3b4709c1041c66d8ff85c7f1
> 
> commit r11-5968-g10bbba9145700e2c3b4709c1041c66d8ff85c7f1
> Author: Tamar Christina <tamar.christina@arm.com>
> Date:   Sun Dec 13 13:53:48 2020 +0000
> 
>     middle-end: Refactor and expose some vectorizer helper functions.

 Umm, this commit does not build:

.../gcc/tree-vect-slp.c:197:1: error: '_slp_tree* vect_create_new_slp_node(vec<_stmt_vec_info*>, unsigned int)' was declared 'extern' and later 'static' [-fpermissive]
  197 | vect_create_new_slp_node (vec<stmt_vec_info> scalar_stmts, unsigned nops)
      | ^~~~~~~~~~~~~~~~~~~~~~~~
In file included from .../gcc/tree-vect-slp.c:39:
.../gcc/tree-vectorizer.h:2011:17: note: previous declaration of '_slp_tree* vect_create_new_slp_node(vec<_stmt_vec_info*>, unsigned int)'
 2011 | extern slp_tree vect_create_new_slp_node (vec<stmt_vec_info>, unsigned);      |                 ^~~~~~~~~~~~~~~~~~~~~~~~
make[2]: *** [Makefile:1122: tree-vect-slp.o] Error 1

due to swapped hunks with a subsequent change.  This disturbs bisection, 
requiring a manual intervention to proceed.  Please be more careful and 
always compile individual changes in a patch series.

  Maciej


More information about the Gcc-patches mailing list