99 err = clBuildProgram(clProgram[0], 0, NULL, NULL, NULL, NULL);
(gdb)

Program received signal EXC_BAD_ACCESS, Could not access memory.
Reason: KERN_INVALID_ADDRESS at address: 0x0000000000000028
0x0000000111af5bac in clhFenceEnqueue ()

This kernel causes the above message:
Code :
for( ... )
{
  // Do work
}

This kernel does not
Code :
for(...)
{
  // Do work
  break;
}

Why would a break statement (lack of) cause the build to segfault?