https://gcc.gnu.org/bugzilla/show_bug.cgi?id=99519
--- Comment #1 from Tobias Burnus <burnus at gcc dot gnu.org> --- The patch was now committed as: commit r12-1016-g0e3b3b77e13cac764a135a7118613c47686e0a62 Author: Tobias Burnus <tob...@codesourcery.com> Date: Mon May 24 16:50:51 2021 +0200 OpenMP/Fortran: Handle polymorphic scalars in data-sharing FIRSTPRIVATE [PR86470] (The PR is the original PR instead of the one of this follow-up PR.) To be done: Missing: * PRIVATE - which causes still ICEs, even though not for PR86470. → use dynamic type of var, apply default initializers * Polymorphic arrays not supported by FIRSTPRIVATE patch * Check that for TYPE (the patch was for CLASS), the default initializer is applied - and what about the finalizer?