"Rohit Arul Raj" <[EMAIL PROTECTED]> writes: > 1. In DIE for fun, with 3.4.6, the frame base is taken in terms of > Frame Pointer (DW_OP_reg14), where is in 4.1.1, it is taken in terms > of Stack Pointer (DW_OP_reg15). > > (For my backend, reg-no 14 is Frame Pointer and reg-no 15 is Stack Pointer) > > Is this the expected behavior?
It's correct if it matches the generated code. It is possible that gcc 4.1.1 was able to eliminate the frame pointer in a case where gcc 3.4.6 was not. > 2. For the variable, const char *raj, the DIE for 3.4.6 has the > location mentioned as (fbreg + 4 [offset] ) whereas for 4.1.1, > location is mentioned as (fbreg + 0). > > Any specific reason for this behavior in GCC 4.1.1 Again, it is presumably reflecting the generated code. Ian