https://gcc.gnu.org/bugzilla/show_bug.cgi?id=114532
Andrew Pinski <pinskia at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Last reconfirmed| |2024-03-30
Status|UNCONFIRMED |WAITING
Ever confirmed|0 |1
--- Comment #1 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
```
Rec_Pointer Ptr_Glob,
Next_Ptr_Glob;
int Int_Glob;
Boolean Bool_Glob;
char Ch_1_Glob,
Ch_2_Glob;
int Arr_1_Glob [50];
int Arr_2_Glob [50] [50];
```
Maybe the order of these changed in the layout of the final executable.
In the case of -fcommon, the layout of these are handled by the linker while
with -fno-common, they are handled by compiler into the assembly into the
specific section (and then the sections are combined/laid out by the linker).
So maybe look at the linker map and compare it to what GCC does with
-fno-common in the .s file.