The following avoids allocating stmt_vec_info for labels.
* tree-vect-loop.cc (_loop_vec_info::_loop_vec_info): Also
skip labels.
* tree-vect-slp.cc (_bb_vec_info::_bb_vec_info): Likewise.
* tree-vect-data-refs.cc (vect_analyze_early_break_dependences):
Skip labels.
{
gimple *stmt = gsi_stmt (gsi);
gsi_prev (&gsi);
- if (is_gimple_debug (stmt))
+ if (is_gimple_debug (stmt) || is_a <glabel *> (stmt))
continue;
stmt_vec_info orig_stmt_vinfo = loop_vinfo->lookup_stmt (stmt);
{
gimple *stmt = gsi_stmt (si);
gimple_set_uid (stmt, 0);
- if (is_gimple_debug (stmt))
+ if (is_gimple_debug (stmt) || is_a <glabel *> (stmt))
continue;
add_stmt (stmt);
/* If .GOMP_SIMD_LANE call for the current loop has 3 arguments, the
{
gimple *stmt = gsi_stmt (gsi);
gimple_set_uid (stmt, 0);
- if (is_gimple_debug (stmt))
+ if (is_gimple_debug (stmt) || is_a <glabel *> (stmt))
continue;
add_stmt (stmt);
}