https://gcc.gnu.org/bugzilla/show_bug.cgi?id=88112
--- Comment #5 from Eric Botcazou <ebotcazou at gcc dot gnu.org> --- > I am not sure I fully understand the problem here, but > why we end up streaming ungimplified type at first place? Because you cannot gimplify a type declared at file scope.