https://gcc.gnu.org/bugzilla/show_bug.cgi?id=117147
--- Comment #1 from Sam James <sjames at gcc dot gnu.org> --- ==2895651== Invalid read of size 1 ==2895651== at 0x23DD0DF: vect_build_slp_tree_1(vec_info*, unsigned char*, vec<_stmt_vec_info*, va_heap, vl_ptr>, unsigned int, poly_int<1u, unsigned long>*, bool*, bool*, tree_node**) [clone .constprop.0] (tree-vect-slp.cc:1459) ==2895651== by 0x2784F42: vect_build_slp_tree_2(vec_info*, _slp_tree*, vec<_stmt_vec_info*, va_heap, vl_ptr>, unsigned int, poly_int<1u, unsigned long>*, bool*, unsigned int*, unsigned int*, hash_map<vec<_stmt_vec_info*, va_heap, vl_ptr>, _slp_tree*, simple_hashmap_traits<bst_traits, _slp_tree*> >*) [clone .constprop.0] (tree-vect-slp.cc:1966) ==2895651== by 0x2781E61: vect_build_slp_tree(vec_info*, vec<_stmt_vec_info*, va_heap, vl_ptr>, unsigned int, poly_int<1u, unsigned long>*, bool*, unsigned int*, unsigned int*, hash_map<vec<_stmt_vec_info*, va_heap, vl_ptr>, _slp_tree*, simple_hashmap_traits<bst_traits, _slp_tree*> >*) [clone .lto_priv.0] (tree-vect-slp.cc:1793) ==2895651== by 0x27851AD: vect_build_slp_tree_2(vec_info*, _slp_tree*, vec<_stmt_vec_info*, va_heap, vl_ptr>, unsigned int, poly_int<1u, unsigned long>*, bool*, unsigned int*, unsigned int*, hash_map<vec<_stmt_vec_info*, va_heap, vl_ptr>, _slp_tree*, simple_hashmap_traits<bst_traits, _slp_tree*> >*) [clone .constprop.0] (tree-vect-slp.cc:2687) ==2895651== by 0x2781E61: vect_build_slp_tree(vec_info*, vec<_stmt_vec_info*, va_heap, vl_ptr>, unsigned int, poly_int<1u, unsigned long>*, bool*, unsigned int*, unsigned int*, hash_map<vec<_stmt_vec_info*, va_heap, vl_ptr>, _slp_tree*, simple_hashmap_traits<bst_traits, _slp_tree*> >*) [clone .lto_priv.0] (tree-vect-slp.cc:1793) ==2895651== by 0x27851AD: vect_build_slp_tree_2(vec_info*, _slp_tree*, vec<_stmt_vec_info*, va_heap, vl_ptr>, unsigned int, poly_int<1u, unsigned long>*, bool*, unsigned int*, unsigned int*, hash_map<vec<_stmt_vec_info*, va_heap, vl_ptr>, _slp_tree*, simple_hashmap_traits<bst_traits, _slp_tree*> >*) [clone .constprop.0] (tree-vect-slp.cc:2687) ==2895651== by 0x2781E61: vect_build_slp_tree(vec_info*, vec<_stmt_vec_info*, va_heap, vl_ptr>, unsigned int, poly_int<1u, unsigned long>*, bool*, unsigned int*, unsigned int*, hash_map<vec<_stmt_vec_info*, va_heap, vl_ptr>, _slp_tree*, simple_hashmap_traits<bst_traits, _slp_tree*> >*) [clone .lto_priv.0] (tree-vect-slp.cc:1793) ==2895651== by 0x2780B96: vect_build_slp_instance(vec_info*, slp_instance_kind, vec<_stmt_vec_info*, va_heap, vl_ptr>&, vec<_stmt_vec_info*, va_heap, vl_ptr>&, vec<tree_node*, va_heap, vl_ptr>&, unsigned int, unsigned int*, hash_map<vec<_stmt_vec_info*, va_heap, vl_ptr>, _slp_tree*, simple_hashmap_traits<bst_traits, _slp_tree*> >*, _stmt_vec_info*, bool) (tree-vect-slp.cc:3790) ==2895651== by 0x23CC56F: vect_analyze_slp(vec_info*, unsigned int, bool) (tree-vect-slp.cc:4781) ==2895651== by 0x27D4785: vect_analyze_loop_2(_loop_vec_info*, bool&, unsigned int*, unsigned int&) (tree-vect-loop.cc:2885) ==2895651== by 0x27D2EB6: vect_analyze_loop_1(loop*, vec_info_shared*, vect_loop_form_info const*, _loop_vec_info*, vec<machine_mode, va_heap, vl_ptr> const&, unsigned int&, machine_mode&, bool&) (tree-vect-loop.cc:3454) ==2895651== by 0x24F8C2A: vect_analyze_loop(loop*, gimple*, vec_info_shared*) (tree-vect-loop.cc:3614) ==2895651== Address 0x18 is not stack'd, malloc'd or (recently) free'd ==2895651== during GIMPLE pass: vect /var/tmp/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Filters/Statistics/vtkPCAStatistics.cxx: In member function ‘virtual void vtkPCAStatistics::Test(vtkTable*, vtkMultiBlockDataSet*, vtkTable*)’: /var/tmp/portage/sci-libs/vtk-9.3.0-r3/work/VTK-9.3.0/Filters/Statistics/vtkPCAStatistics.cxx:752:6: internal compiler error: Segmentation fault