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

--- Comment #4 from Marek Polacek <mpolacek at gcc dot gnu.org> ---
I wonder if something like this would be appropriate:

--- a/gcc/gimplify.c
+++ b/gcc/gimplify.c
@@ -12003,6 +12003,10 @@ gimplify_expr (tree *expr_p, gimple_seq *pre_p,
gimple_seq *post_p,
                 gimple_test_f, fallback);
          break;

+       case LABEL_DECL:
+         /* A LABEL_DECL that is FORCED_LABEL.  Skip it.  */
+         break;
+
        default:
           /* Anything else with side-effects must be converted to
          a valid statement before we get here.  */

Reply via email to