http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50836
Mikael Pettersson <mikpe at it dot uu.se> changed: What |Removed |Added ---------------------------------------------------------------------------- CC| |bernds at gcc dot gnu.org --- Comment #1 from Mikael Pettersson <mikpe at it dot uu.se> 2011-10-23 12:34:09 UTC --- The same error also occurs on sparc64-linux and arm-linux-gnueabi. It's caused by r180302: http://gcc.gnu.org/ml/gcc-cvs/2011-10/msg00898.html find_all_hard_reg_sets does have a prototype in rtl.h, but it's conditional on #ifdef HARD_CONST. Deleting the #ifdef causes build errors, but changing the include order in rtlanal.c so that hard-reg-set.h is included before rtl.h solves the bootstrap problem.