[Gimple] look for gcc command to start compiling from GIMPLE

Diego Novillo dnovillo@google.com
Thu Jan 28 14:31:00 GMT 2010


On Thu, Jan 28, 2010 at 04:20, charfi asma <charfiasma@yahoo.fr> wrote:

> i,e. How to tell compiler : do not run genericise.c nor gimplify.c
> for example, If we want compiler to stop just after preprocessing, we use -E coptions.
> So, is there an options that tells compiler: do not preprocess and start compiling from gimple IR.

With gcc 4.5 you'll be able to do it using the LTO machinery with the
-flto switch:

$ gcc -flto -c file.c

generates file.o which contains a mix of gimple IL and final assembly.
 The representation of gimple is not in text form, however.

Diego.



More information about the Gcc-help mailing list