Problem with Label Constant (LC0) in RTL
nitin jain
nitin_mbm@yahoo.com
Wed May 21 05:55:00 GMT 2003
Hi,
I have a problem with "Label Constant" ex.(LC0) in
RTL.
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))
-
-
-----------------------------------------------------
In this output what is the meaning of ("*.LC0") and
why the same label is repeated at both places.
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
More information about the Gcc-help
mailing list