# gcc -c -g -O2 -DIN_GCC -DCROSS_COMPILE -W -Wall -Wwrite-strings -Wstrict-prototypes -Wmissing-prototypes -Wold-style-definition -fno-common -DHAVE_CONFIG_H -I. -I. -I../../gcc-4.0.0/gcc -I../../gcc-4.0.0/gcc/. -I../../gcc-4.0.0/gcc/../include -I../../gcc-4.0.0/gcc/../libcpp/include \ ../../gcc-4.0.0/gcc/config/sh/sh.c -o sh.o ../../gcc-4.0.0/gcc/config/sh/sh.c: In function `sh_output_mi_thunk': ../../gcc-4.0.0/gcc/config/sh/sh.c:9858: error: too many arguments to function `find_basic_blocks' make[1]: *** [sh.o] Error 1 make[1]: Leaving directory `/users/rtems/src/rpms/BUILD/rtems-4.7-sh-rtems4.7-gcc-newlib-gcc4.0.0newlib1.13.0/build/gcc' make: *** [all-gcc] Error 2
Presumable trigger of this breakdown is this patch: 2005-02-14 Kazu Hirata <[EMAIL PROTECTED]> * basic-block.h: Adjust the prototype for find_basic_blocks. -- Summary: error: too many arguments to function `find_basic_blocks Product: gcc Version: 4.0.0 Status: UNCONFIRMED Severity: normal Priority: P2 Component: target AssignedTo: unassigned at gcc dot gnu dot org ReportedBy: corsepiu at gcc dot gnu dot org CC: gcc-bugs at gcc dot gnu dot org,kazu at cs dot umass dot edu GCC target triplet: sh-* http://gcc.gnu.org/bugzilla/show_bug.cgi?id=20007