------- Comment #7 from danglin at gcc dot gnu dot org  2010-07-28 15:33 -------
   0x00317ea8 <find_simple_exit+5636>:  ldw -cc(sp),r19
   0x00317eac <find_simple_exit+5640>:  copy ret0,r23
   0x00317eb0 <find_simple_exit+5644>:  stw r19,-34(sp)
   0x00317eb4 <find_simple_exit+5648>:  copy r5,r24
   0x00317eb8 <find_simple_exit+5652>:  ldi 50,r26
   0x00317ebc <find_simple_exit+5656>:  b,l 0x30d394,rp
   0x00317ec0 <find_simple_exit+5660>:  ldi 7,r25

The op1 value is loaded from the stack frame at -0xcc.  The
frame value appears to be set here:

   0x00317e48 <find_simple_exit+5540>:  stw r19,-cc(sp)

Breakpoint 3, 0x00317e48 in iv_number_of_iterations (loop=0x40296580, 
    desc=0x9b62d8) at ../../gcc/gcc/loop-iv.c:2605
2605          bound = GEN_INT (((unsigned HOST_WIDEST_INT) 1 << (size - 1 ) <<
1) - 1);
(gdb) p/x $r19
$10 = 0x0
(gdb) p size
$11 = 31


-- 


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

Reply via email to