Fix minor bug in emit-rtl.c

Lars Brinkhoff lars.spam@nocrew.org
Tue Nov 13 15:03:00 GMT 2001


kenner@vlsi1.ultra.nyu.edu (Richard Kenner) writes:
>       = get_mem_attrs (MEM_ALIAS_SET (memref), 0, 0,
>   		     mmode == BLKmode ? 0 : GEN_INT (GET_MODE_SIZE (mmode)),
> ! 		     (mmode == BLKmode ? 1
> ! 		      : GET_MODE_ALIGNMENT (mmode) / BITS_PER_UNIT),
> --- 1863,1867 ----
>       = get_mem_attrs (MEM_ALIAS_SET (memref), 0, 0,
>   		     mmode == BLKmode ? 0 : GEN_INT (GET_MODE_SIZE (mmode)),
> ! 		     mmode == BLKmode ? 1 : GET_MODE_ALIGNMENT (mmode),

Shouldn't "1" be "BITS_PER_UNIT"?

-- 
Lars Brinkhoff          http://lars.nocrew.org/     Linux, GCC, PDP-10
Brinkhoff Consulting    http://www.brinkhoff.se/    programming



More information about the Gcc-patches mailing list