https://gcc.gnu.org/bugzilla/show_bug.cgi?id=118612
Andrew Pinski <pinskia at gcc dot gnu.org> changed: What |Removed |Added ---------------------------------------------------------------------------- Resolution|--- |INVALID Status|UNCONFIRMED |RESOLVED Target| |x86_64 --- Comment #2 from Andrew Pinski <pinskia at gcc dot gnu.org> --- eax here is not the return value at all. BUT rather since error is a varargs function, it specifies how many floating point registers are in use.