public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Problem with Label Constant (LC0) in RTL
@ 2003-05-21  5:55 nitin jain
  0 siblings, 0 replies; 2+ messages in thread
From: nitin jain @ 2003-05-21  5:55 UTC (permalink / raw)
  To: gcc-help; +Cc: nitinj

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Problem with Label Constant (LC0) in RTL
@ 2003-05-21  5:55 nitin jain
  0 siblings, 0 replies; 2+ messages in thread
From: nitin jain @ 2003-05-21  5:55 UTC (permalink / raw)
  To: gcc-help; +Cc: nitinj

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2003-05-21  5:55 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-05-21  5:55 Problem with Label Constant (LC0) in RTL nitin jain
  -- strict thread matches above, loose matches on Subject: below --
2003-05-21  5:55 nitin jain

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).