------- Comment #2 from pkambadu at gmail dot com 2006-02-24 01:52 ------- Sorry for the incomplete post. Here is the complete story:
I tried looking into what might be wrong and have the following thoughts: In gcc/cp/parser.c, line 17661, there is the following assertion assert(id >= PRAGMA_FIRST_EXTERNAL); This is infact the assertion which is failing. On looking up the enum for the OMP pragmas in gcc/c-pragma.h, I find that PRAGMA_FIRST_EXTERNAL is defined after all the OMP pragmas and hence this assertion will always fail. I was under the impression that the C++ front-end was also ready to be used. Is this something which has been done intentionally? I have never looked into gcc sources before, so if my question or comments seem stupid, please take it with a pinch of salt. Anju -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=26452