http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55550
--- Comment #1 from Luc <lucjaulmes at free dot fr> 2012-11-30 17:25:28 UTC --- If I manually unfold the loop to 2 stages and use collapse(2), or if I unfold it to 1 stage and use just a "parallel for" it gives the same error. The whole loop works fine without this omp pragma line though. Furthermore, it might be worth mentioning that all these 2D-arrays are actually std::vector< std::vector<int> >'s