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]

Re: egcs-19990808 movstr bug for SuperH


  In message <19990810190435.11597.qmail@ifree.spa.is.uec.ac.jp>you write:
  > 
  >  I got a following error:
  > 
  >  >   /var/home/masanobu/compile/egcs-19990808/gcc/xgcc -B/var/home/masanobu
  > /compile/egcs-19990808/gcc/ -B/var/home/masanobu/test/sh-hitachi-coff/bin/ 
  > -I/var/home/masanobu/test/sh-hitachi-coff/include -O2  -DCROSS_COMPILE -DIN
  > _GCC     -g -O2 -I./include   -g1  -DIN_LIBGCC2 -D__GCC_FLOAT_NOT_NEEDED   
  > -I. -I. -I./config -I./../include -c -DL${name} libgcc1.S; \
  >  >   if [ $? -eq 0 ] ; then true; else exit 1; fi; \
  >  >   mv libgcc1.o ${name}.o; \
  >  >   sh-hitachi-coff-ar rc tmplibgcc1.a ${name}.o; \
  >  >   rm -f ${name}.o; \
  >  > done
  >  > _ashiftrt
  >  > _ashiftrt_n
  >  > _ashiftlt
  >  > _lshiftrt
  >  > _movstr
  >  > libgcc1.S: Assembler messages:
  >  > libgcc1.S:710: Error: excess operands: ',r0'
  >  > gmake[1]: *** [libgcc1-asm.a] Error 1
  > 
  > sh/lib1funcs.asm says:
  > 
  >  >         mov.l   @(4,r5),r0
  >  >         mov.l   r0,@(4,r4)
  >  >         .global ___movstrSI4
  >  > ___movstrSI4:
  >  >         mov.l   @(0,r5),r0
  >  >         mov.l   r0,@(0,r4)
  >  > ___movstrSI0:
  >  >         rts
  >  >         or      r0,r0,r0	<=========
  > 
  >  SuperH should take two operands.
This bugs was fixed in gcc-2.95.1.

jeff


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