align bug? in mips.c

Andreas Jaeger aj@oss.sgi.com
Thu Apr 6 20:04:00 GMT 2000


Bootstrapping the current gcc on mips-linux, I get:
/annie/home/aj/egcs/gcc/cppexp.c: In function `parse_number':
/annie/home/aj/egcs/gcc/cppexp.c:240: Internal compiler error in `move_by_pieces', at expr.c:1485

Looking at the code, I'm not sure whether the usage of align in
expand_block_move in mips.c is correct.
For example the function uses:
  else if (constp && bytes <= 2 * MAX_MOVE_BYTES
	   && align == UNITS_PER_WORD)
    move_by_pieces (orig_dest, orig_src, bytes, align);

I though the align parameter to move_by_pieces is in bits, isn't it?

Richard, could you check this function, please and tell me whether
it's correct - or patch it?

Thanks,
Andreas
-- 
 Andreas Jaeger
  SuSE Labs aj@suse.de
   private aj@arthur.rhein-neckar.de
    currently: aj@oss.sgi.com


More information about the Gcc-bugs mailing list