https://gcc.gnu.org/bugzilla/show_bug.cgi?id=106432
--- Comment #1 from David Binderman <dcb314 at hotmail dot com> --- Reduced C code is: typedef struct { double masses[0]; int species_offset[]; } LandauCtx; LandauCtx ProcessOptions_ctx; ProcessOptions_ctx_2; LandauCreateVelocitySpace_v0_grid[]; LandauCreateVelocitySpace() { int PetscOptionsObject_0 = 0; for (;;) for (int grid; ProcessOptions_ctx_2; grid++) LandauCreateVelocitySpace_v0_grid[grid] *= sqrt( ProcessOptions_ctx.masses[ProcessOptions_ctx.species_offset[grid]]); }