https://gcc.gnu.org/bugzilla/show_bug.cgi?id=80304
Thomas Koenig <tkoenig at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |rguenth at gcc dot gnu.org
--- Comment #20 from Thomas Koenig <tkoenig at gcc dot gnu.org> ---
Hi Richard,
could you reclassify this bug? I have reset the priority to P3
because it appears to be a middle-end bug which just happens
to be exposed by the Fortran front end.
If it is not fixed in time for the release, we should disable the
ivdep annotation of DO CONCURRENT with the patch
Index: trans-stmt.c
===================================================================
--- trans-stmt.c (Revision 246743)
+++ trans-stmt.c (Arbeitskopie)
@@ -3397,11 +3397,7 @@ gfc_trans_forall_loop (forall_info *forall_tmp, tr
/* The exit condition. */
cond = fold_build2_loc (input_location, LE_EXPR, boolean_type_node,
count, build_int_cst (TREE_TYPE (count), 0));
- if (forall_tmp->do_concurrent)
- cond = build2 (ANNOTATE_EXPR, TREE_TYPE (cond), cond,
- build_int_cst (integer_type_node,
- annot_expr_ivdep_kind));
-
+
tmp = build1_v (GOTO_EXPR, exit_label);
tmp = fold_build3_loc (input_location, COND_EXPR, void_type_node,
cond, tmp, build_empty_stmt (input_location));