The only remaining user of is_same_frag() was the function recursively calling itself. Different from earlier gcc versions, gcc 4.3 detects and warns about this fact, which leads due to -Werror to the following build error: <-- snip --> ... gcc -DHAVE_CONFIG_H -I. -I/TMP/binutils-2.18.50.0.5/gas -I. -I. -I/TMP/binutils-2.18.50.0.5/gas -I../bfd -I/TMP/binutils-2.18.50.0.5/gas/config -I/TMP/binutils-2.18.50.0.5/gas/../include -I/TMP/binutils-2.18.50.0.5/gas/.. -I/TMP/binutils-2.18.50.0.5/gas/../bfd -DLOCALEDIR="\"/usr/local/DIR/binutils-hppa-2.18.50.0.5/share/locale\"" -W -Wall -Wstrict-prototypes -Wmissing-prototypes -Werror -O2 -march=k8 -c /TMP/binutils-2.18.50.0.5/gas/config/tc-hppa.c cc1: warnings being treated as errors /TMP/binutils-2.18.50.0.5/gas/config/tc-hppa.c:5905: error: ‘is_same_frag’ defined but not used make[4]: *** [tc-hppa.o] Error 1 <-- snip -->
Created attachment 2328 [details] patch removing is_same_frag()
patch applied