Hi, Robin. /* { dg-final { scan-tree-dump-times "optimizing condition reduction with FOLD_EXTRACT_LAST" 4 "vect" { target { { vect_fold_extract_last } && { ! vect_pack_trunc } } } } } */ This check should be removed. Previously, I added it since we didn't enable vect_pack_trunc test. But I think we don't need it any more. Your fix looks more reasonable. juzhe.zhong@rivai.ai