This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug bootstrap/45321] [4.6 regression] ARM bootstrap failure due to stdarg_p change
- From: "mikpe at it dot uu dot se" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 18 Aug 2010 15:43:21 -0000
- Subject: [Bug bootstrap/45321] [4.6 regression] ARM bootstrap failure due to stdarg_p change
- References: <bug-45321-7665@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #1 from mikpe at it dot uu dot se 2010-08-18 15:43 -------
Created an attachment (id=21511)
--> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21511&action=view)
proposed fix
The issue is that stdarg_p has a non-const parameter but the call site in the
ARM backend has a const value it wants to pass. The right solution seems to be
to make stdarg_p accept a const parameter, but then the problem is that the
parameter is stored in the iterator's fntype field. Nothing uses that field,
so removing it and then making the parameter const fixes the issue.
ARM bootstrap still fails for me with comparison failures, however.
(I'm in an email black hole at the moment so can't easily submit this to
gcc-patches.)
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=45321