Skip to content

[SPEC2006]### Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:1530: ### Get_arg_by_name: get argument m failed #41

Description

@zqb-all

spec2k6 462.libquantum build fail.
one of the errors can be reproduce by the following code:

struct x_struct {
  int y;
  int z;
};

typedef struct x_struct x;

void foo(x m)
{
  printf("%d\n", m.y);
}

cmd

xcalcc -c a.c

error

2023-10-28 16:04:34,571 - xcalcc - ERROR - !!! Log: (null) :Translating foo(0)


### Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:1530:
### Get_arg_by_name: get argument m failed
### For a.O in foo (xcalcc:583)

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