most likely the changes of 155302 are the cause. ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘objc_substitute_decl’: ../../gcc-4-5-libwork/gcc/objc/objc-act.c:3118:14: error: incompatible type for argument 3 of ‘build_indirect_ref’ ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but argument is of type ‘const char *’ ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘build_ivar_reference’: ../../gcc-4-5-libwork/gcc/objc/objc-act.c:6826:14: error: incompatible type for argument 3 of ‘build_indirect_ref’ ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but argument is of type ‘const char *’ ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘get_super_receiver’: ../../gcc-4-5-libwork/gcc/objc/objc-act.c:8844:10: error: incompatible type for argument 3 of ‘build_indirect_ref’ ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but argument is of type ‘const char *’ cc1: warnings being treated as errors ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘build_ivar_reference’: ../../gcc-4-5-libwork/gcc/objc/objc-act.c:6827:1: error: control reaches end of non-void function make[3]: *** [objcp/objcp-act.o] Error 1 make[2]: *** [all-stage2-gcc] Error 2 make[1]: *** [stage2-bubble] Error 2 make: *** [bootstrap] Error 2
(In reply to comment #0) > most likely the changes of 155302 are the cause. > > ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘objc_substitute_decl’: > ../../gcc-4-5-libwork/gcc/objc/objc-act.c:3118:14: error: incompatible type for > argument 3 of ‘build_indirect_ref’ > ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but > argument is of type ‘const char *’ > ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘build_ivar_reference’: > ../../gcc-4-5-libwork/gcc/objc/objc-act.c:6826:14: error: incompatible type for > argument 3 of ‘build_indirect_ref’ > ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but > argument is of type ‘const char *’ > ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘get_super_receiver’: > ../../gcc-4-5-libwork/gcc/objc/objc-act.c:8844:10: error: incompatible type for > argument 3 of ‘build_indirect_ref’ > ../../gcc-4-5-libwork/gcc/c-common.h:465:13: note: expected ‘ref_operator’ but > argument is of type ‘const char *’ > cc1: warnings being treated as errors > ../../gcc-4-5-libwork/gcc/objc/objc-act.c: In function ‘build_ivar_reference’: > ../../gcc-4-5-libwork/gcc/objc/objc-act.c:6827:1: error: control reaches end of > non-void function > make[3]: *** [objcp/objcp-act.o] Error 1 > make[2]: *** [all-stage2-gcc] Error 2 > make[1]: *** [stage2-bubble] Error 2 > make: *** [bootstrap] Error 2 > Confirmed for x86_64-unknown-linux-gnu. It's caused by r155302 see http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00446.html and PR40885.
Created attachment 19337 [details] apply the new ref_operator to objc-act.c this is a mechanical change to the file, bootstrapped and checked on i686-apple-darwin9
Fixed with: http://gcc.gnu.org/ml/gcc-cvs/2009-12/msg00455.html
confirmed! Today my gcc 4.5 bootstrap also failed :(