OpenMP directives processing

Ian Lance Taylor iant@google.com
Thu Feb 12 06:04:00 GMT 2009


Chenguang Sun <sun.newsgroup@gmail.com> 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



More information about the Gcc-help mailing list