<table border="1" cellspacing="0" cellpadding="8">
<tr>
<th>Issue</th>
<td>
<a href=https://github.com/llvm/llvm-project/issues/63807>63807</a>
</td>
</tr>
<tr>
<th>Summary</th>
<td>
[PowerPC] Attributes 'zeroext and signext' are incompatible! ptr @omp_get_proc_bind fatal error: error in backend: Broken module found, compilation aborted!
</td>
</tr>
<tr>
<th>Labels</th>
<td>
new issue
</td>
</tr>
<tr>
<th>Assignees</th>
<td>
</td>
</tr>
<tr>
<th>Reporter</th>
<td>
pkubaj
</td>
</tr>
</table>
<pre>
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!
```
</pre>
<img width="1px" height="1px" alt="" src="http://email.email.llvm.org/o/eJysU02PozoQ_DXm0gKBTSAcOOTj5fjeKG_3HPmjSTwxtmXMZGZ__QoSZT52Zg-rlaJgV1nddlUXHwZ9tIgtWazJYpvwMZ5caP15FPwxEU69tLuAuP5_C0WZ5enm-37_z7_fSL4l-cq7CwYvq5LQDdw3Bq-sMU99qvAJDRR1lmeK5pTlFaWH4nrg-r9HH5waJQbCbhCp8ttv3g4xjDLCxvU9t2rDjcEApF5f2fc4oUtCG8JuJKm39zU-RwwWCKUbQulrgfjiUWEHaMd-RustuN4ffHDyILRVh3iv8QGfzx0xvmKf9J8X7y_JVoStPrn31P43NeFe7oNC9x5eG4SLjqe3WkrD7ZHQNaHrmx-plAWkMWhv8K1x6WjP1l1s2gVEMajJckix1zF14hHS_wpIO-fR9v697GnVLRXjmfT-w6X2OIwmfmXtKsagxRhxAELrHxgcPkfgVsE8ls-R0Bp4QNBWut7zqIVBQm8D5GMAUua_CjazHY_cAIbgJsGvC9AWBJdntGrC1sGd0ULv1GgQOjdOYm9AzkLyqJ0FLlyIqO497w9IVMtUwxqeYFtUyyZv6KIpk1PbKbZYclGxJSsk4xI70cly0QipqhwLluh2TkJdFEVFWcGyrmwWfOJks8xLUZEyx55rk00Rylw4JnoYRmwrtszrxHCBZpgDS6nFC8wkoXTKb2jn2InxOJAyN3qIw2uVqKOZk_4wWf6wIYst_KkD8JX48Ld1T8Zg2lOMfpimiO4I3R11PI0ik64ndDc97_ZJfXCPKCOhu1mUgdDdLNrPAAAA__9-wYY8">