- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I get the followinf error
main.c:107:2: internal compiler error: in extract_for_fields, at cilk-spawn.c:1857
}
and the relevant lines are:
cilk_for (index = 0; table_name[index]!=NULL; ++index )
{
/* some work*/
}
Line 107 corresponds to the closing braces of cilk_for loop.
Any help is appreciated!
main.c:107:2: internal compiler error: in extract_for_fields, at cilk-spawn.c:1857
}
and the relevant lines are:
cilk_for (index = 0; table_name[index]!=NULL; ++index )
{
/* some work*/
}
Line 107 corresponds to the closing braces of cilk_for loop.
Any help is appreciated!
링크가 복사됨
1 응답
- 신규로 표시
- 북마크
- 구독
- 소거
- RSS 피드 구독
- 강조
- 인쇄
- 부적절한 컨텐트 신고
I agree the compiler should not crash. We will look into it. If you can find a fix, please feel free to do so and send us a patch.
But, what you are trying to do is not a legal Cilk_for loop. The condition in Cilk_for must test the loop control variable. Also, one must be able to predict the number of iterations a cilk_for will run and the case you have does not satisfy that.
Thanks,
Balaji V. Iyer.
But, what you are trying to do is not a legal Cilk_for loop. The condition in Cilk_for must test the loop control variable. Also, one must be able to predict the number of iterations a cilk_for will run and the case you have does not satisfy that.
Thanks,
Balaji V. Iyer.