Skip to content

C backend interoperability #1218

Description

@demoitem

I think this is a bug. With procedures returning non scalar types ie large structs the frontend adds an extra address parameter
as the last parameter to return the value. With the gcc and llvm backends this relationship is retained. The C backend has the
returned value as the first parameter meaning there is an abi mismatch between it and other backends. See test p169.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions