search for: bit_and

Displaying 1 result from an estimated 1 matches for "bit_and".

Did you mean: bit_addr
2010 Nov 10
2
[LLVMdev] Bug in DragonEgg or LLVM
The following code using OpenMP pragmas , when compiled with gcc 4.5 + LLVM 2.8 + DragonEgg 2.8 and ran, produces segmentation fault. //----------------------------------------------------------- #define LOOPCOUNT 10000 int main() { int bit_and = 1; int logics[LOOPCOUNT]; int i; for (i = 0; i < LOOPCOUNT; ++i) { logics[i] = 1; } #pragma omp parallel for schedule(dynamic,1) reduction(&:bit_and) for (i = 0; i < LOOPCOUNT; ++i) { bit_and = (bit_and & logics[i]); } } //------------------------------...