open64-compiler / open64

open64 compiler
76 stars 29 forks source link

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

Open zqb-all opened 10 months ago

zqb-all commented 10 months ago

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)