https://gcc.gnu.org/bugzilla/show_bug.cgi?id=41227
--- Comment #11 from Richard Biener <rguenth at gcc dot gnu.org> --- I think there is no good way apart from treating single-element structs equal to its single element in LTO with regarding to TYPE_CANONICAL. At least not if you want to inter-operate with both int i; and struct { int i; }. Otherwise I'd lean towards not using a struct in Fortran for single-element commons. That should be an implementation detail anyways. > Unfortunately, the idiom "use a single variable common block, say common/x/y, > access it via the name of the common block, followed by an underscore, say x_" > is also common. At least in my workplace it's the way everybody uses. But then simply name the symbol of the variable without a struct in that way, no?