* Intermediate code dump needed.
@ 2004-05-05 12:19 EMPEROR
0 siblings, 0 replies; 4+ messages in thread
From: EMPEROR @ 2004-05-05 12:19 UTC (permalink / raw)
To: gcc-help mailing list
I need the intermediate code i.e RTL representation of gcc
like for example
gcc -S filename
generates assembly code
similarly is there a way to generate Intermediate code using gcc.If no why
? and is there any other way?
--
Do u know that a simple "hello" can be a sweet one?
The word HELLO means:
H = How r u ?
E = Everythig all right ?
L = Like to hear from u
L = Love to see u
O = Obviously, I miss u
So HELLO :)
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: Intermediate code dump needed.
2002-04-18 7:50 Naveen Sharma, Noida
@ 2002-04-18 9:55 ` Ashish Gupta
0 siblings, 0 replies; 4+ messages in thread
From: Ashish Gupta @ 2002-04-18 9:55 UTC (permalink / raw)
To: Naveen Sharma, Noida; +Cc: Jaswant, gcc, help-gcc
[-- Attachment #1: Type: text/plain, Size: 3157 bytes --]
The gcc/g++ has options to dump the output of the traslation at 2 statges
1) After preprocessing
2) After assembly
quote - gcc man page --
If you want only some of the four stages (preprocess, com-
pile, assemble, link), you can use `-x' (or filename suf-
fixes) to tell gcc where to start, and one of the options
`-c', `-S', or `-E' to say where gcc is to stop. Note
that some combinations (for example, `-x cpp-output -E')
instruct gcc to do nothing at all.
-S Stop after the stage of compilation proper; do not
assemble. The output is an assembler code file for
each non-assembler input file specified.
By default, GCC makes the assembler file name for a
source file by replacing the suffix `.c', `.i',
etc., with `.s'. Use -o to select another name.
GCC ignores any input files that don't require com-
pilation.
-E Stop after the preprocessing stage; do not run the
compiler proper. The output is preprocessed source
code, which is sent to the standard output.
GCC ignores input files which don't require prepro-
cessing.
Look for more stuff in the man page.. Hope this helps.....
Regards,
Naveen Sharma, Noida wrote:
> I think fdump-translation-unit should be useful for you.
>
>
>
> -fdump-translation-unit (C and C++ only)
>
-fdump-translation-unit- number (C and C++ only)
Dump a representation of the tree structure for the entire translation
unit to a file. The file name is made by appending `.tu' to the source
file name. If the `-number' form is used, number controls the details of
the dump as described for the `-fdump-tree' options.
Naveen.
-----Original Message-----
From: Jaswant [mailto:jaswant@msrvr.indofuji.soft.net]
Sent: Thursday, April 18, 2002 7:58 PM
To: gcc@gnu.org; help-gcc@gnu.org
Subject: Intermediate code dump needed.
Hi All,
I'm not sure what I'm asking makes sense, but just help me in it.
Is it possible to take dump of my 'C' program before RTL generation
or any optimisation during compilation using gcc.
[Theoretically speaking output of semantic analysis]
regards,
Jaswant
____________________________________________________
<http://www.incredimail.com/redir.asp?ad_id=309&lang=9>
IncrediMail - Email has finally evolved - Click Here
<http://www.incredimail.com/redir.asp?ad_id=309&lang=9>
------------------------------------------------------------------------
<cid:part2.00040808.07040305@netscape.com>
------------------------------------------------------------------------
<cid:part3.03020807.01080104@netscape.com>
--
/////
\\ - - //
( @ @ )
-------------oOOo--(_)-oOOo-----------
Sincerely yours,
Ashish Gupta
-----------------------Ooooo----------
( )
ooooO ) /
( ) (_/
\ (
\_)
[-- Attachment #2.1: Type: text/html, Size: 8736 bytes --]
[-- Attachment #2.2: gif&filename=ATT505224.gif --]
[-- Type: image/gif, Size: 494 bytes --]
[-- Attachment #2.3: jpeg&filename=ATT505225.jpg --]
[-- Type: Image/jpeg, Size: 1431 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* RE: Intermediate code dump needed.
@ 2002-04-18 7:50 Naveen Sharma, Noida
2002-04-18 9:55 ` Ashish Gupta
0 siblings, 1 reply; 4+ messages in thread
From: Naveen Sharma, Noida @ 2002-04-18 7:50 UTC (permalink / raw)
To: Jaswant, gcc, help-gcc
[-- Attachment #1.1: Type: text/plain, Size: 1137 bytes --]
I think fdump-translation-unit should be useful for you.
-fdump-translation-unit (C and C++ only)
-fdump-translation-unit-number (C and C++ only)
Dump a representation of the tree structure for the entire translation unit
to a file. The file name is made by appending `.tu' to the source file name.
If the `-number' form is used, number controls the details of the dump as
described for the `-fdump-tree' options.
Naveen.
-----Original Message-----
From: Jaswant [mailto:jaswant@msrvr.indofuji.soft.net]
Sent: Thursday, April 18, 2002 7:58 PM
To: gcc@gnu.org; help-gcc@gnu.org
Subject: Intermediate code dump needed.
Hi All,
I'm not sure what I'm asking makes sense, but just help me in it.
Is it possible to take dump of my 'C' program before RTL generation or any
optimisation during compilation using gcc.
[Theoretically speaking output of semantic analysis]
regards,
Jaswant
____________________________________________________
<http://www.incredimail.com/redir.asp?ad_id=309&lang=9> IncrediMail -
Email has finally evolved -
<http://www.incredimail.com/redir.asp?ad_id=309&lang=9> Click Here
[-- Attachment #1.2: Type: text/html, Size: 4874 bytes --]
[-- Attachment #2: ATT505224.gif --]
[-- Type: image/gif, Size: 494 bytes --]
[-- Attachment #3: ATT505225.jpg --]
[-- Type: Image/jpeg, Size: 1431 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
* Intermediate code dump needed.
2002-04-18 7:36 Cross compiling to hpux Vanessa Hughes
@ 2002-04-18 7:47 ` Jaswant
0 siblings, 0 replies; 4+ messages in thread
From: Jaswant @ 2002-04-18 7:47 UTC (permalink / raw)
To: gcc, help-gcc
[-- Attachment #1.1: Type: Text/Plain, Size: 287 bytes --]
Hi All,
I'm not sure what I'm asking makes sense, but just help me in it.
Is it possible to take dump of my 'C' program before RTL generation or any
optimisation during compilation using gcc.
[Theoretically speaking output of semantic analysis]
regards,
Jaswant
[-- Attachment #1.2: Type: Text/HTML, Size: 3267 bytes --]
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><html>
<head>
<meta name="GENERATOR" content="IncrediMail 1.0">
<!--IncrdiXMLRemarkStart>
<IncrdiX-Info>
<X-FID>BA285063-5BCE-11D4-AF8D-0050DAC67E11</X-FID>
<X-FVER></X-FVER>
<X-FIT></X-FIT>
<X-FCOL></X-FCOL>
<X-FCAT></X-FCAT>
<X-FDIS></X-FDIS>
<X-BG>D7D428DB-55D1-4B5E-8B20-29654B66D4B3</X-BG>
<X-BGT>repeat</X-BGT>
<X-BGC>#dce0e3</X-BGC>
<X-BGPX>0px</X-BGPX>
<X-BGPY>0px</X-BGPY>
<X-ASN>ANIM3D00-NONE-0000-0000-000000000000</X-ASN>
<X-ASNF>0</X-ASNF>
<X-ASH>ANIM3D00-NONE-0000-0000-000000000000</X-ASH>
<X-ASHF>1</X-ASHF>
<X-AN>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AN>
<X-ANF>0</X-ANF>
<X-AP>6486DDE0-3EFD-11D4-BA3D-0050DAC68030</X-AP>
<X-APF>1</X-APF>
<X-AD>C3C52140-4147-11D4-BA3D-0050DAC68030</X-AD>
<X-ADF>0</X-ADF>
<X-AUTO>X-ASN,X-ASH,X-AN,X-AP,X-AD</X-AUTO>
<X-CNT>;</X-CNT>
</IncrdiX-Info>
<IncrdiXMLRemarkEnd-->
</head>
<BODY style="BACKGROUND-POSITION: 0px 0px; FONT-SIZE: 12pt; MARGIN: 0px 10px 10px; BACKGROUND-REPEAT: repeat; FONT-FAMILY: Comic Sans MS" text=#000040 bgColor=#dce0e3 background=cid:D7D428DB-55D1-4B5E-8B20-29654B66D4B3 scroll="yes" X-FIT="Letter" X-FCAT="Elegant Paper" X-FCOL="Elegant Paper" X-FDIS="Rice Fields" X-FID="BA285063-5BCE-11D4-AF8D-0050DAC67E11" X-FVER="2.0" X-ASN="ANIM3D00-NONE-0000-0000-000000000000" X-ASNF="0" X-ASH ="ANIM3D00-NONE-0000-0000-000000000000" X-ASHF ="1" X-AN ="6486DDE0-3EFD-11D4-BA3D-0050DAC68030" X-ANF="0" X-AP="6486DDE0-3EFD-11D4-BA3D-0050DAC68030" X-APF="1" X-AD="C3C52140-4147-11D4-BA3D-0050DAC68030" X-ADF="0" SIGCOLOR="0" ORGYPOS="0"><TABLE id=INCREDIMAINTABLE cellSpacing=0 cellPadding=2 width="95%" border=0>
<TBODY>
<TR>
<TD id=INCREDITEXTREGION style="PADDING-RIGHT: 7px; PADDING-LEFT: 7px; FONT-SIZE: 10pt; FONT-FAMILY: Comic Sans MS"
width="100%">
<DIV> </DIV>
<DIV>Hi All,</DIV>
<DIV> </DIV>
<DIV>I'm not sure what I'm asking makes sense, but just help me in
it.</DIV>
<DIV> </DIV>
<DIV>Is it possible to take dump of my 'C' program before
RTL generation or any optimisation during compilation using gcc.</DIV>
<DIV> </DIV>
<DIV>[Theoretically speaking output of semantic analysis]</DIV>
<DIV> </DIV>
<DIV>regards,</DIV>
<DIV>Jaswant</DIV></TD></TR>
<TR>
<TD id=INCREDIFOOTER width="100%">
<TABLE cellSpacing=0 cellPadding=0 width="100%">
<TBODY>
<TR>
<TD width="100%"></TD>
<TD id=INCREDISOUND vAlign=bottom align=middle></TD>
<TD id=INCREDIANIM vAlign=bottom align=middle></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE><SPAN
id=IncrediStamp><SPAN dir=ltr><FONT face="Arial, Helvetica, sans-serif"
size=2>____________________________________________________<BR><FONT
face="Comic Sans MS" size=2><A
href="http://www.incredimail.com/redir.asp?ad_id=309&lang=9"><IMG alt=""
hspace=0 src="cid:76164C99-5FF1-4DEE-AF49-12726A4D38D0" align=baseline
border=0></A> <I>IncrediMail</I> - <B>Email has finally evolved</B> -
</FONT><A href="http://www.incredimail.com/redir.asp?ad_id=309&lang=9"><FONT
face="Times New Roman" size=3><B><U>Click
Here</U></B></FONT></A></SPAN></SPAN></FONT></BODY></html>
[-- Attachment #2: Type: image/gif, Size: 494 bytes --]
[-- Attachment #3: Type: Image/jpeg, Size: 1431 bytes --]
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2004-05-05 12:19 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2004-05-05 12:19 Intermediate code dump needed EMPEROR
-- strict thread matches above, loose matches on Subject: below --
2002-04-18 7:50 Naveen Sharma, Noida
2002-04-18 9:55 ` Ashish Gupta
2002-04-18 7:36 Cross compiling to hpux Vanessa Hughes
2002-04-18 7:47 ` Intermediate code dump needed Jaswant
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).