This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug bootstrap/50836] [4.7 regression] bootstrap fails due to error: no previous prototype for 'find_all_hard_reg_sets'


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]