Commit 2298b0b7 authored by BRAMAS Berenger's avatar BRAMAS Berenger

make utest passed

parent 0b8f7ce0
......@@ -73,8 +73,12 @@ class TestBlock : public FUTester<TestBlock> {
alloc.deleteObject(dl2);
}
for(int idx = 0 ; idx < NbAlloc ; ++idx){
for(int idxval = 0 ; idxval < SizeArray ; ++idxval){
// Just put on volatile to avoid loop unrolling (which leads to a bug with my gcc!)
volatile int volSizeArray = SizeArray;
volatile int volNbAlloc = NbAlloc;
for(int idx = 0 ; idx < volNbAlloc ; ++idx){
for(int idxval = 0 ; idxval < volSizeArray ; ++idxval){
ptr[idx]->array[idxval] += (idxval * idx);
}
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment