https://gcc.gnu.org/bugzilla/show_bug.cgi?id=108375
Richard Biener <rguenth at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Known to work| |13.0 Priority|P3 |P4 Summary|[10/11/12/13 Regression] |[10/11/12 Regression] Some |Some variably modified |variably modified types not |types not detected as such |detected as such --- Comment #10 from Richard Biener <rguenth at gcc dot gnu.org> --- I assume this is now fixed for C on trunk. Since langhooks are a no-go when doing LTO it would be nice to have this bit in the middle-end - it should be possible to set it when laying out the type via the langhook. Of course what the C frontend calls "variably modified" (and the reasons it tests that) might not be the same as what the middle-end thinks (and why _it_ tests for it).