https://gcc.gnu.org/bugzilla/show_bug.cgi?id=56337

Andrew Pinski <pinskia at gcc dot gnu.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
          Component|c                           |middle-end
             Target|                            |x86_64-linux-gnu

--- Comment #3 from Andrew Pinski <pinskia at gcc dot gnu.org> ---
x86_64:
[apinski@xeond2 gcc]$ ~/upstream-gcc/bin/gcc t.c -O2 -S -o -   -fcommon
        .file   "t.c"
        .text
        .comm   d,512,4026531840
        .comm   c,512,134217728
        .comm   b,512,67108864
        .comm   a,512,33554432
        .ident  "GCC: (GNU) 12.0.0 20210710 (experimental) [master revision
783ce7c191d:c9543701c18:eaa5225c686d496244a6614ba2aacbf02e0f4daa]"
        .section        .note.GNU-stack,"",@progbits

aarch64:
ubuntu@ubuntu:~/src/upstream-gcc-aarch64/gcc/objdir/gcc\# gcc  t.c -o -
-fcommon -S
        .arch armv8-a
        .file   "t.c"
        .text
        .comm   a,512,33554432
        .comm   b,512,67108864
        .comm   c,512,134217728
        .comm   d,512,268435456
        .ident  "GCC: (GNU) 12.0.0 20210721 (experimental) [master revision
ccf3e245d4e:8edb685b0dd:a50b951c25631b9c3a5dbfa89488e84117961be1]"
        .section        .note.GNU-stack,"",@progbits


----- CUT -----
So it looks like the problem is in the printing out the alignment for x86_64.

Reply via email to