https://gcc.gnu.org/bugzilla/show_bug.cgi?id=94377
--- Comment #4 from Fred Krogh <siteg at mathalacarte dot com> --- Same error with GNU Fortran (GCC) 10.0.1 20200328 (Red Hat 10.0.1-0.11) Error says internal compiler error: in gimplify_var_or_parm_decl, at gimplify.c:2830 This one is at a different place in gimplify, but the same error. See comment 2 for the correct code to try.