Dead code created

Toshiyasu Morita tm@netcom.com
Mon Nov 2 11:27:00 GMT 1998


I still see egcs creating dead code occasionally; here's one sample:

   file: ftp://shell14.ba.best.com/pub.t/tm2/surface.c
 target: sh-hms
options: -O2 -m3e-single-only -fwritable-strings -S -g

 789 03a8 3063                  cmp/ge  r6,r0
 790 03aa 8D03                  bt.s    L48
 791 03ac E740                  mov     #64,r7
 792 03ae AEC7                  bra     L51
 793 03b0 E140                  mov     #64,r1
 324:surface.c     ****                         }^M
 325:surface.c     ****                 }^M
 326:surface.c     ****
 327:surface.c     ****                 this_row+=row_increase;^M
 795 03b2 E740                  mov     #64,r7       <- unreachable
 796                    L48:

Toshi



More information about the Gcc-bugs mailing list