https://gcc.gnu.org/bugzilla/show_bug.cgi?id=122483
--- Comment #19 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to H.J. Lu from comment #18) > C++ has been always behaving this way: > > [hjl@gnu-tgl-3 gcc]$ cat x.c > extern void foo(void) __attribute__ ((ms_abi)); > extern void foo(void); > [hjl@gnu-tgl-3 gcc]$ /usr/gcc-14.2.1-x32/bin/c++ -S -O2 x.c > [hjl@gnu-tgl-3 gcc]$ FWIW, clang behaves the same: [hjl@gnu-tgl-3 gcc]$ clang -S -O2 x.c [hjl@gnu-tgl-3 gcc]$
