This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Problem with Label Constant
- From: nitin jain <nitin_mbm at yahoo dot com>
- To: gcc-help at gcc dot gnu dot org
- Date: Tue, 20 May 2003 09:19:38 -0700 (PDT)
- Subject: Problem with Label Constant
Hi,
I just starts understanding the RTL format. I have a
problem with "Label Constant" ex.(LC0)
When i give the following c program as input to gcc
with the command 'gcc -dr test.c'.
----------------------------------------------------
main(){
int x,y;
float m,n,a,b;
x=y=9;
if(x==y){
x=6;
m=x;
}
else{
y=3;
n=y;
}
a=b=6.5;
if(x<56);
if(x>56);
m=n=6.5;
}
---------------------------------------------------
This is the RTL output
;; Function main
-
-
-
(insn 45 42 47 (set (reg:SF 45)
(mem/u/f:SF (symbol_ref/u:SI ("*.LC0")) 0)) -1
(nil)(nil))
-
-
-
-
(insn 60 57 62 (set (reg:SF 46)
(mem/u/f:SF (symbol_ref/u:SI ("*.LC0")) 0)) -1
(nil)(nil))
-
-----------------------------------------------------
So in this output what is the meaning of ("*.LC0") and
why the same thing is repeated at both places.
So reply the solution or give some URL which gives the
detail.
Thanks in advance.
Nitin Jain
-
=====
-------------------------------------------------------------------
Nitin Jain,
H-8 ,Room No: 24
I.I.T.Bombay, Powai, Mumbai.
Mail-id: nitin-mbm@yahoo.com
nitinj@cse.iitb.ac.in
-------------------------------------------------------------------
__________________________________
Do you Yahoo!?
The New Yahoo! Search - Faster. Easier. Bingo.
http://search.yahoo.com