Re: string constant of the constant pool entry..

2015-03-04 Thread Umesh Kalappa
Thank you richard for the inputs . ~Umesh On Wed, Mar 4, 2015 at 3:29 AM, Richard Sandiford wrote: > Umesh Kalappa writes: >> Hi All, >> >> I'm trying to fetch the string constant from the constant pool entry >> for the symbol_ref rtx like >> >> c sample >> >> int i; >> int main() >> { >> pri

Re: string constant of the constant pool entry..

2015-03-03 Thread Richard Sandiford
Umesh Kalappa writes: > Hi All, > > I'm trying to fetch the string constant from the constant pool entry > for the symbol_ref rtx like > > c sample > > int i; > int main() > { > printf("%d",i); > } > > rtl is > > (gdb) p debug_rtx(val) > (symbol_ref/f:SI ("*.LC0") [flags 0x2] ) The SYMBOL_REF_D

string constant of the constant pool entry..

2015-03-02 Thread Umesh Kalappa
Hi All, I'm trying to fetch the string constant from the constant pool entry for the symbol_ref rtx like c sample int i; int main() { printf("%d",i); } rtl is (gdb) p debug_rtx(val) (symbol_ref/f:SI ("*.LC0") [flags 0x2] ) corresponding asm .section.rodata,code .alig

string constant of the constant pool entry..

2015-03-02 Thread Umesh Kalappa
Hi All, I'm trying to fetch the string constant from the constant pool entry for the symbol_ref rtx like c sample int i; int main() { printf("%d",i); } rtl is (gdb) p debug_rtx(val) (0xb7da4da0) (symbol_ref/f:SI ("*.LC0") [flags 0x2] ) corresponding asm .section.rodata,code