This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Getting GCC output of OpenMP before compilation?
- From: Ian Lance Taylor <iant at google dot com>
- To: Amittai Aviram <amittai dot aviram at yale dot edu>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Thu, 02 Dec 2010 11:59:23 -0800
- Subject: Re: Getting GCC output of OpenMP before compilation?
- References: <57633C96-E0ED-47DB-818D-03EFB7A6F2F4@yale.edu>
Amittai Aviram <amittai.aviram@yale.edu> writes:
> But is there any way that I can get GCC to give me as output some C
> code that represents its refactoring before it generates the assembly
> code?
No, sorry. You can get a very rough approximation of the C code by
using -fdump-tree-ompexp and looking at the generated FILE.*.ompexp dump
file. It's not really C code, though, it's a dump of the internal
intermediate representation in a form which looks something like C.
Ian