On 11/08/11 12:56, Richard Sandiford wrote: > Trying to compile a certain embedded benchmark with -falign-loops=8 > or above fails due to out-of-range references to the literal pool. > This is because arm_reorg doesn't take label alignment into account. > > Fixed with the patch below. Tested on arm-linux-gnueabi. I also > tried compiling libav with and without the patch (not using -falign-loops > for either run). As hoped, there were no changes in assembly output. > OK to install? > > Richard > > > gcc/ > * config/arm/arm.c (get_label_padding): New function. > (create_fix_barrier, md_reorg): Likewise. >
OK. R.