open64-compiler / open64

open64 compiler
78 stars 29 forks source link

[SPEC2006] Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:5815: ### WHIRL2llvm::STMT2llvm, intrinsic(521) not handled #33

Open zqb-all opened 1 year ago

zqb-all commented 1 year ago

spec2k6 456.hmmer build fail. one of the errors can be reproduce by the following code:

char buf[100];
void foo()
{
  strncpy(buf, buf+10, 10);
}

cmd

xcalcc -c a.c

error:

2023-10-28 10:40:55,053 - xcalcc - ERROR - !!! Log: (null) :Translating foo(0)

!!! DevWarn: foo :Stmt2llvm: ingore PRAGMA stmt now

### Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:5815:
### WHIRL2llvm::STMT2llvm, intrinsic(521) not handled
### For a.O in foo (xcalcc:583)