https://gcc.gnu.org/bugzilla/show_bug.cgi?id=64409
H.J. Lu <hjl.tools at gmail dot com> changed: What |Removed |Added ---------------------------------------------------------------------------- Assignee|unassigned at gcc dot gnu.org |hjl.tools at gmail dot com --- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> --- (In reply to Markus Trippelsdorf from comment #2) > x32 doesn't handle the ms_abi attribute: > > markus@x4 tmp % cat getproc.i > int a; > int* __attribute__ ((ms_abi)) fn1 () { return &a; } > > markus@x4 tmp % gcc -mx32 -O2 -c getproc.i > getproc.i: In function ‘fn1’: > getproc.i:2:47: internal compiler error: in emit_move_insn, at expr.c:3583 There is no counter part of x32 in MS ABI. I can issue an error. How should the ms_abi attribute even work in x32?