open64-compiler / open64

open64 compiler
78 stars 29 forks source link

[SPEC2006]### Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:5298: ### WHIRL2llvm::EXPR2llvm, operator OPR_LAND not handled #42

Closed zqb-all closed 12 months ago

zqb-all commented 1 year ago

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

float _Complex x;
int foo()
{
    if(x)
        return 1;
    return 0;
}

cmd

xcalcc -c a.c

error:

2023-10-28 16:22:40,137 - xcalcc - ERROR - !!! Log: (null) :Translating foo(0)

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

### Assertion failure ../../../../osprey/ir_tools/whirl2llvm.cxx:5298:
### WHIRL2llvm::EXPR2llvm, operator OPR_LAND not handled
### For a.O in foo (xcalcc:583)
shinmingliu commented 12 months ago

Added the support for LAND/LIOR operators with commit d3527dd175b57478b14589250319c20b417c1a6a