This is the mail archive of the gcc@gcc.gnu.org mailing list for the EGCS project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Simple RTL question (was: New cfg code)


On Mon, Aug 02, 1999 at 11:05:16AM -0400, Jerry Quinn wrote:
> (subject changed because it's unrelated to the thread)
> 
> For fun I was trying to understand this example and had a quick question that
> I couldn't answer in the docs:
> 
> >> "jeff" == Jeffrey A Law <law@cygnus.com> writes:
> 
>  jeff> (code_label 80 79 81 15 "" [num uses: 2])
> 
> In the info docs, it says that (code_label) has two extra fields -
> CODE_LABEL_NUMBER and LABEL_NUSES.  The label number appears to be 15 and the
> number of uses is 2.  What is the empty string?  Is it actually part of the
> rtl expression or an artifact of printing?  I'm guessing it contains the
> string assigned to the code label, but wanted verification.

Read rtl.def and rtl.h. 
15 is CODE_LABEL_NUMBER, "" is the user assigned string (none in this case) and in
the two hidden fields are LABEL_NUSES and LABEL_REFS.

Cheers,
    Jakub
___________________________________________________________________
Jakub Jelinek | jj@sunsite.mff.cuni.cz | http://sunsite.mff.cuni.cz
Administrator of SunSITE Czech Republic, MFF, Charles University
___________________________________________________________________
UltraLinux  |  http://ultra.linux.cz/  |  http://ultra.penguin.cz/
Linux version 2.3.13 on a sparc64 machine (1343.49 BogoMips)
___________________________________________________________________

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]