OpenMP directives processing

Chenguang Sun sun.newsgroup@gmail.com
Thu Feb 12 18:17:00 GMT 2009


Ian Lance Taylor wrote:
> 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
>   

Thanks a lot. That's very helpful!

Chenguang



More information about the Gcc-help mailing list