Chenguang Sun <sun.newsgroup@xxxxxxxxx> writes: > I'm wondering is there any way to make gcc generate the source code > after those OpenMP directives (like "#pragma omp parallel") are > processed and expanded? Thanks a lot! gcc does not generate source code from the OpenMP pragmas. You can use the -fdump-tree options to see a dump of gcc's internal representation. It is presented in a C-like form, although you can't actually compile it. Ian