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

            Bug ID: 95539
           Summary: Vectorizer ICE in dr_misalignment, at
                    tree-vectorizer.h:1433
           Product: gcc
           Version: unknown
            Status: UNCONFIRMED
          Severity: normal
          Priority: P3
         Component: tree-optimization
          Assignee: unassigned at gcc dot gnu.org
          Reporter: hubicka at gcc dot gnu.org
  Target Milestone: ---

Created attachment 48675
  --> https://gcc.gnu.org/bugzilla/attachment.cgi?id=48675&action=edit
testcase

Building the testcase with -O3 leads to:
/aux/hubicka/firefox-2019-3/security/nss/lib/freebl/gcm-x86.c:35:1: internal
compiler error: in dr_misalignment, at tree-vectorizer.h:1433
   35 | gcm_HashMult_hw(gcmHashContext *ghash, const unsigned char *buf,
      | ^~~~~~~~~~~~~~~
0xccc57e dr_misalignment(dr_vec_info*) [clone .isra.0]
        ../../gcc/tree-vectorizer.h:1433
0xb5ea92 aligned_access_p
        ../../gcc/tree-vectorizer.h:1451
0xb5ea92 vect_supportable_dr_alignment(vec_info*, dr_vec_info*, bool)
        ../../gcc/tree-vect-data-refs.c:6512
0x933803 vect_get_load_cost(vec_info*, _stmt_vec_info*, int, bool, unsigned
int*, unsigned int*, vec<stmt_info_for_cost, va_heap, vl_ptr>*,
vec<stmt_info_for_cost, va_heap, vl_ptr>*, bool)
        ../../gcc/tree-vect-stmts.c:1211
0x950966 vect_model_load_cost
        ../../gcc/tree-vect-stmts.c:1185
0x950966 vectorizable_load
        ../../gcc/tree-vect-stmts.c:8877
0x964260 vect_analyze_stmt(vec_info*, _stmt_vec_info*, bool*, _slp_tree*,
_slp_instance*, vec<stmt_info_for_cost, va_heap, vl_ptr>*)
        ../../gcc/tree-vect-stmts.c:11126
0x972af1 vect_slp_analyze_node_operations_1
        ../../gcc/tree-vect-slp.c:2697
0x972af1 vect_slp_analyze_node_operations
        ../../gcc/tree-vect-slp.c:2858
0x9728fe vect_slp_analyze_node_operations
        ../../gcc/tree-vect-slp.c:2816
0x9728fe vect_slp_analyze_node_operations
        ../../gcc/tree-vect-slp.c:2816
0x9728fe vect_slp_analyze_node_operations
        ../../gcc/tree-vect-slp.c:2816
0x972f76 vect_slp_analyze_operations(vec_info*)
        ../../gcc/tree-vect-slp.c:2937
0x9812e4 vect_slp_analyze_bb_1
        ../../gcc/tree-vect-slp.c:3264
0x9812e4 vect_slp_bb_region
        ../../gcc/tree-vect-slp.c:3325
0x9812e4 vect_slp_bb(basic_block_def*)
        ../../gcc/tree-vect-slp.c:3460
0x981c32 execute
        ../../gcc/tree-vectorizer.c:1320

Reply via email to