This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: intermediate representations of a C program
- From: Andrew Haley <aph at redhat dot com>
- To: ranjith kumar <ranjit_kumar_b4u at yahoo dot co dot uk>
- Cc: gcc-help at gcc dot gnu dot org
- Date: Fri, 16 Feb 2007 11:35:43 +0000
- Subject: Re: intermediate representations of a C program
- References: <20070216113057.12384.qmail@web27405.mail.ukl.yahoo.com>
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.