This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug c++/13511] Problem with compiler optimization -o2


------- Additional Comments From osoentgen at lucent dot com  2004-01-05 13:29 -------
We are not using any special loader.
This is what the objectfile generated by the linker contains
plus a register dump (see R10 and R11).
There is no obvious displacement regarding 'Frameptr' or 'buffer'.


Sections:
Idx Name          Size      VMA       LMA       File off  Algn
  0 .text         00000034  00100000  00100000  00000074  2**2
                  CONTENTS, ALLOC, LOAD, CODE
  1 .sdata2       00000000  00100034  00100034  000000a8  2**2
                  CONTENTS, ALLOC, LOAD, READONLY, DATA
  2 .data         00000000  00100034  00100034  000000a8  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  3 .sdata        00000000  00100034  00100034  000000a8  2**2
                  CONTENTS, ALLOC, LOAD, DATA
  4 .sbss         00000000  00100034  00100034  000000a8  2**0
                  CONTENTS
  5 .bss          000000c8  00100034  00100034  000000a8  2**2
                  ALLOC
  6 .stab         00000210  00000000  00000000  000000a8  2**2
                  CONTENTS, READONLY, DEBUGGING
  7 .stabstr      0000049b  00000000  00000000  000002b8  2**0
                  CONTENTS, READONLY, DEBUGGING
  8 .comment      00000026  00000000  00000000  00000753  2**0
                  CONTENTS, READONLY


SYMBOL TABLE:
00100000 l    d  .text  00000000 
00100034 l    d  .sdata2        00000000 
00100034 l    d  .data  00000000 
00100034 l    d  .sdata 00000000 
00100034 l    d  .sbss  00000000 
00100034 l    d  .bss   00000000 
00000000 l    d  .stab  00000000 
00000000 l    d  .stabstr       00000000 
00000000 l    d  .comment       00000000 
00000000 l    d  *ABS*  00000000 
00000000 l    d  *ABS*  00000000 
00000000 l    d  *ABS*  00000000 
00000000 l    df *ABS*  00000000 test4.cc
00100034 l       .text  00000000 Letext
00100098 g     O .bss   00000064 buffer2
001000fc g     O *ABS*  00000000 __end
00108034 g     O .sdata 00000000 _SDA_BASE_
00100034 g     O .bss   00000064 buffer
00100000 g     F .text  00000034 test__Fv
00100034 g     O *ABS*  00000000 __bss_start
00100034 g     O *ABS*  00000000 _edata
001000fc g     O *ABS*  00000000 _end
00108034 g     O .sdata2        00000000 _SDA2_BASE_


MCC::register
R0          4E  R8           0  R16          0  R24          0
R1           0  R9           0  R17          0  R25          0
R2           0  R10   00100098  R18          0  R26          0
R3           0  R11   00100034  R19          0  R27          0
R4           0  R12          0  R20          0  R28          0
R5           0  R13          0  R21          0  R29          0
R6           0  R14          0  R22          0  R30          0
R7           0  R15          0  R23          0  R31          0
--------------------------------------------------------------
TB           5  XER          0  CR           0  LR           0
TBU          0                  CTR          0  IP    00100020
--------------------------------------------------------------
SPRG0        0  SRR0         0  DSISR        0  MSR          0
SPRG1        0  SRR1         0  DAR          0  PVR          0
SPRG2        0                  EAR          0  DEC   FFFFFFFB
SPRG3        0
               POW _  TGPR_  ILE _  EE  _  PR  _  FP  _  ME  _
 FE0 _  SE  _  BE  _  FE1 _  IP  _  IR  _  DR  _  RI  _  LE  _

-- 
           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|RESOLVED                    |UNCONFIRMED
         Resolution|FIXED                       |


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=13511


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