Index: fortran/trans-stmt.c =================================================================== --- fortran/trans-stmt.c (Revision 259222) +++ fortran/trans-stmt.c (Arbeitskopie) @@ -3642,7 +3642,10 @@ gfc_trans_forall_loop (forall_info *forall_tmp, tr /* The exit condition. */ cond = fold_build2_loc (input_location, LE_EXPR, logical_type_node, count, build_int_cst (TREE_TYPE (count), 0)); - if (forall_tmp->do_concurrent) + + /* PR 83064 means that we cannot use the annotation if the + autoparallelizer is active. */ + if (forall_tmp->do_concurrent && ! flag_tree_parallelize_loops) cond = build3 (ANNOTATE_EXPR, TREE_TYPE (cond), cond, build_int_cst (integer_type_node, annot_expr_parallel_kind), Index: testsuite/gfortran.dg/vect/vect-do-concurrent-1.f90 =================================================================== --- testsuite/gfortran.dg/vect/vect-do-concurrent-1.f90 (Revision 259222) +++ testsuite/gfortran.dg/vect/vect-do-concurrent-1.f90 (Arbeitskopie) @@ -12,4 +12,3 @@ subroutine test(n, a, b, c) end subroutine test ! { dg-message "loop vectorized" "" { target *-*-* } 0 } -! { dg-bogus " version\[^\n\r]* alias" "" { target *-*-* } 0 }