This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/50836] [4.7 regression] bootstrap fails due to error: no previous prototype for 'find_all_hard_reg_sets'
- From: "mikpe at it dot uu.se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: Mon, 24 Oct 2011 13:07:25 +0000
- Subject: [Bug bootstrap/50836] [4.7 regression] bootstrap fails due to error: no previous prototype for 'find_all_hard_reg_sets'
- Auto-submitted: auto-generated
- References: <bug-50836-4@http.gcc.gnu.org/bugzilla/>
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=50836
Mikael Pettersson <mikpe at it dot uu.se> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|UNCONFIRMED |RESOLVED
Resolution| |FIXED
--- Comment #3 from Mikael Pettersson <mikpe at it dot uu.se> 2011-10-24 13:07:25 UTC ---
Fixed.
To clarify, the problem occured because the C and C++ front-ends differ with
regard to -Wmissing-prototypes (the C++ FE doesn't have it). People building
stage2/3 in C++ mode won't see the error (but will see a warning in stage1),
but people building in proper C mode (--disable-build-poststage1-with-cxx) will
see the error.