hi, Thanks for ur response But I think it didn't work, because I tried it on a sample program tri1.c whose code is as below tri1.c *********************************** #include<stdio.h> main() { int a=3; int b=5; int c=a+b; printf ("%d",c); } *********************************** and then compiled it as ################################ gcc -d tri1.c ################################ and the output was tri1.s whose code is ************************************* .file "ccgkBfYE.s" .ident "GCC: (GNU) 3.2.2 20030222 (Red Hat Linux 3.2.2-5)" ************************************* but this is not the RTL code corresponding to tri1.c. Have I gone wrong anywhere ? plz help me out On 6 May 2004, saurabh verma wrote: > hi, > try the -d options of gcc for getting the rtl dumps at different stages > of optimization during compilation. > > regards > saurabh > --