Issue 63807
Summary [PowerPC] Attributes 'zeroext and signext' are incompatible! ptr @omp_get_proc_bind fatal error: error in backend: Broken module found, compilation aborted!
Labels new issue
Assignees
Reporter pkubaj
    FreeBSD 14.0-CURRENT
powerpc64, powerpc64le
llvm-devel 17.0.d20230622_1

Reproducer:
```
struct CommandCaller {
 CommandCaller();
};
extern "C" {
typedef enum {} omp_proc_bind_t;
omp_proc_bind_t omp_get_proc_bind();
}
CommandCaller::CommandCaller() { omp_get_proc_bind(); }
```

Compile with:
`clang++-devel -cc1 -triple powerpc64le-unknown-freebsd14.0 -emit-obj -O1 -fopenmp CommandCaller-6f8d3a.cpp`

Result:
```
Attributes 'zeroext and signext' are incompatible!
ptr @omp_get_proc_bind
fatal error: error in backend: Broken module found, compilation aborted!
```
_______________________________________________
llvm-bugs mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs

Reply via email to