This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug libffi/64779] [5 Regression] libffi/src/x86/sysv.S:864: Error: junk at end of line, first unrecognized character is `@'


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

--- Comment #10 from Richard Henderson <rth at gcc dot gnu.org> ---
(In reply to H.J. Lu from comment #6)

That will probably break small structure return.

See

    case FFI_TYPE_STRUCT:
#ifndef X86
      /* ??? This should be a different ABI rather than an ifdef.  */
      if (cif->rtype->size == 1)
        flags = X86_RET_STRUCT_1B;
      else if (cif->rtype->size == 2)
        flags = X86_RET_STRUCT_2B;
      else if (cif->rtype->size == 4)
        flags = X86_RET_INT32;
      else if (cif->rtype->size == 8)
        flags = X86_RET_INT64;
      else
#endif


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]