build of binutils 2.24 with gcc 4.9 (gcc version 4.9.0 20140506 (Red Hat 4.9.0-3)) fails with ... gcc -DHAVE_CONFIG_H -I. -I../../gas -I. -I../../gas -I../bfd -I../../gas/config -I../../gas/../include -I../../gas/.. -I../../gas/../bfd -DLOCALEDIR="\"/usr/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Wshadow -Werror -O2 -g -pipe -Wall -Werror=format-security -Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong --param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic -MT tc-m68k.o -MD -MP -MF .deps/tc-m68k.Tpo -c -o tc-m68k.o `test -f 'config/tc-m68k.c' || echo '../../gas/'`config/tc-m68k.c ../../gas/config/tc-m68k.c: In function 'md_assemble': ../../gas/config/tc-m68k.c:4516:36: error: array subscript is below array bounds [-Werror=array-bounds] n = (the_ins.numo - the_ins.fragb[n - 1].fragoff); ^ cc1: all warnings being treated as errors make[4]: *** [tc-m68k.o] Error 1
This is a gcc bug.