intermediate representations of a C program

Andrew Haley aph@redhat.com
Fri Feb 16 21:41:00 GMT 2007


ranjith kumar writes:

 >     What are the options to get intermediate
 > representations(like GENERIC, GIMPLE, RTL,ASSEMBLY)
 > of a C program.
 > 
 >  Note: I want intermediate representation of program
 > including the functions/definitions.. defined in
 > header files (included in my C program)also.
 > 
 > I know that -S gives assembly equal-ant, -da gives rtl
 > equal-ant, -fdump-tree-all gives GENERIC and GIMPLE
 > equal-ant. But I want them for the functions defied in
 > header files also.

-fdump-tree-gimple includes functions defined in headers.

Andrew.



More information about the Gcc-help mailing list